@corellium/corellium-cli 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintrc.js +38 -0
- package/.gitlab-ci.yml +21 -0
- package/.husky/pre-commit +4 -0
- package/.nvmrc +1 -0
- package/.prettierrc.js +21 -0
- package/Jenkinsfile +3 -0
- package/README.md +46 -0
- package/docs/OVERVIEW.md +274 -0
- package/example/WebPlayerSample.js +263 -0
- package/index.js +21 -0
- package/index.sh +5 -0
- package/jenkinsbuild/build.sh +70 -0
- package/lint-staged.config.js +19 -0
- package/node_modules/@babel/cli/LICENSE +22 -0
- package/node_modules/@babel/cli/README.md +19 -0
- package/node_modules/@babel/cli/bin/babel-external-helpers.js +3 -0
- package/node_modules/@babel/cli/bin/babel.js +3 -0
- package/node_modules/@babel/cli/index.js +1 -0
- package/node_modules/@babel/cli/lib/babel/dir.js +285 -0
- package/node_modules/@babel/cli/lib/babel/file.js +273 -0
- package/node_modules/@babel/cli/lib/babel/index.js +20 -0
- package/node_modules/@babel/cli/lib/babel/options.js +285 -0
- package/node_modules/@babel/cli/lib/babel/util.js +181 -0
- package/node_modules/@babel/cli/lib/babel/watcher.js +162 -0
- package/node_modules/@babel/cli/lib/babel-external-helpers.js +43 -0
- package/node_modules/@babel/cli/node_modules/commander/CHANGELOG.md +436 -0
- package/node_modules/@babel/cli/node_modules/commander/LICENSE +22 -0
- package/node_modules/@babel/cli/node_modules/commander/Readme.md +713 -0
- package/node_modules/@babel/cli/node_modules/commander/index.js +1649 -0
- package/node_modules/@babel/cli/node_modules/commander/package.json +76 -0
- package/node_modules/@babel/cli/node_modules/commander/typings/index.d.ts +311 -0
- package/node_modules/@babel/cli/node_modules/make-dir/index.d.ts +39 -0
- package/node_modules/@babel/cli/node_modules/make-dir/index.js +139 -0
- package/node_modules/@babel/cli/node_modules/make-dir/license +9 -0
- package/node_modules/@babel/cli/node_modules/make-dir/package.json +94 -0
- package/node_modules/@babel/cli/node_modules/make-dir/readme.md +123 -0
- package/node_modules/@babel/cli/node_modules/pify/index.js +68 -0
- package/node_modules/@babel/cli/node_modules/pify/license +9 -0
- package/node_modules/@babel/cli/node_modules/pify/package.json +86 -0
- package/node_modules/@babel/cli/node_modules/pify/readme.md +145 -0
- package/node_modules/@babel/cli/node_modules/semver/CHANGELOG.md +39 -0
- package/node_modules/@babel/cli/node_modules/semver/LICENSE +15 -0
- package/node_modules/@babel/cli/node_modules/semver/README.md +412 -0
- package/node_modules/@babel/cli/node_modules/semver/bin/semver +160 -0
- package/node_modules/@babel/cli/node_modules/semver/package.json +63 -0
- package/node_modules/@babel/cli/node_modules/semver/range.bnf +16 -0
- package/node_modules/@babel/cli/node_modules/semver/semver.js +1483 -0
- package/node_modules/@babel/cli/node_modules/slash/index.js +11 -0
- package/node_modules/@babel/cli/node_modules/slash/license +9 -0
- package/node_modules/@babel/cli/node_modules/slash/package.json +69 -0
- package/node_modules/@babel/cli/node_modules/slash/readme.md +44 -0
- package/node_modules/@babel/cli/package.json +91 -0
- package/node_modules/@corellium/client-api/README.md +209 -0
- package/node_modules/@corellium/client-api/dist/ApiClient.js +780 -0
- package/node_modules/@corellium/client-api/dist/api/CorelliumApi.js +1744 -0
- package/node_modules/@corellium/client-api/dist/index.js +295 -0
- package/node_modules/@corellium/client-api/dist/model/ApiConflictError.js +114 -0
- package/node_modules/@corellium/client-api/dist/model/ApiError.js +101 -0
- package/node_modules/@corellium/client-api/dist/model/ApiNotFoundError.js +111 -0
- package/node_modules/@corellium/client-api/dist/model/ApiToken.js +78 -0
- package/node_modules/@corellium/client-api/dist/model/Bit.js +50 -0
- package/node_modules/@corellium/client-api/dist/model/Credentials.js +91 -0
- package/node_modules/@corellium/client-api/dist/model/Firmware.js +208 -0
- package/node_modules/@corellium/client-api/dist/model/GpioStateDefinition.js +93 -0
- package/node_modules/@corellium/client-api/dist/model/Image.js +249 -0
- package/node_modules/@corellium/client-api/dist/model/Instance.js +313 -0
- package/node_modules/@corellium/client-api/dist/model/InstanceBootOptions.js +134 -0
- package/node_modules/@corellium/client-api/dist/model/InstanceConsoleEndpoint.js +76 -0
- package/node_modules/@corellium/client-api/dist/model/InstanceCreateOptions.js +224 -0
- package/node_modules/@corellium/client-api/dist/model/InstanceNetmonState.js +75 -0
- package/node_modules/@corellium/client-api/dist/model/InstanceReturn.js +92 -0
- package/node_modules/@corellium/client-api/dist/model/InstanceServices.js +77 -0
- package/node_modules/@corellium/client-api/dist/model/InstanceStartOptions.js +76 -0
- package/node_modules/@corellium/client-api/dist/model/InstanceState.js +64 -0
- package/node_modules/@corellium/client-api/dist/model/InstanceStopOptions.js +76 -0
- package/node_modules/@corellium/client-api/dist/model/Model.js +165 -0
- package/node_modules/@corellium/client-api/dist/model/ModelSoftware.js +122 -0
- package/node_modules/@corellium/client-api/dist/model/PeripheralsData.js +147 -0
- package/node_modules/@corellium/client-api/dist/model/Project.js +122 -0
- package/node_modules/@corellium/client-api/dist/model/ProjectQuota.js +93 -0
- package/node_modules/@corellium/client-api/dist/model/ProjectSettings.js +93 -0
- package/node_modules/@corellium/client-api/dist/model/ProjectUsage.js +102 -0
- package/node_modules/@corellium/client-api/dist/model/Snapshot.js +145 -0
- package/node_modules/@corellium/client-api/dist/model/SnapshotCreationOptions.js +79 -0
- package/node_modules/@corellium/client-api/dist/model/SnapshotStatus.js +84 -0
- package/node_modules/@corellium/client-api/dist/model/Token.js +88 -0
- package/node_modules/@corellium/client-api/dist/model/UserError.js +114 -0
- package/node_modules/@corellium/client-api/dist/model/V1SetStateBody.js +80 -0
- package/node_modules/@corellium/client-api/dist/model/VolumeOptions.js +94 -0
- package/node_modules/@corellium/client-api/dist/model/VpnDefinition.js +84 -0
- package/node_modules/@corellium/client-api/package.json +75 -0
- package/node_modules/@corellium/corellium-api/README.md +1210 -0
- package/node_modules/@corellium/corellium-api/node_modules/form-data/License +19 -0
- package/node_modules/@corellium/corellium-api/node_modules/form-data/README.md.bak +356 -0
- package/node_modules/@corellium/corellium-api/node_modules/form-data/Readme.md +356 -0
- package/node_modules/@corellium/corellium-api/node_modules/form-data/index.d.ts +62 -0
- package/node_modules/@corellium/corellium-api/node_modules/form-data/lib/browser.js +2 -0
- package/node_modules/@corellium/corellium-api/node_modules/form-data/lib/form_data.js +498 -0
- package/node_modules/@corellium/corellium-api/node_modules/form-data/lib/populate.js +10 -0
- package/node_modules/@corellium/corellium-api/node_modules/form-data/package.json +104 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/AUTHORS +5 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/CHANGELOG.md +119 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/LICENSE.md +21 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/README.md +276 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/bin/uuid +65 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/index.js +8 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/lib/bytesToUuid.js +26 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/lib/md5-browser.js +216 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/lib/md5.js +25 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/lib/rng-browser.js +34 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/lib/rng.js +8 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/lib/sha1-browser.js +89 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/lib/sha1.js +25 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/lib/v35.js +57 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/package.json +103 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/v1.js +109 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/v3.js +4 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/v4.js +29 -0
- package/node_modules/@corellium/corellium-api/node_modules/uuid/v5.js +3 -0
- package/node_modules/@corellium/corellium-api/package.json +106 -0
- package/node_modules/@corellium/corellium-api/resumable.js +1312 -0
- package/node_modules/@corellium/corellium-api/src/agent.js +962 -0
- package/node_modules/@corellium/corellium-api/src/corellium.js +444 -0
- package/node_modules/@corellium/corellium-api/src/images.js +131 -0
- package/node_modules/@corellium/corellium-api/src/input.js +178 -0
- package/node_modules/@corellium/corellium-api/src/instance-updater.js +56 -0
- package/node_modules/@corellium/corellium-api/src/instance.js +1031 -0
- package/node_modules/@corellium/corellium-api/src/netmon.js +308 -0
- package/node_modules/@corellium/corellium-api/src/project.js +393 -0
- package/node_modules/@corellium/corellium-api/src/role.js +65 -0
- package/node_modules/@corellium/corellium-api/src/snapshot.js +77 -0
- package/node_modules/@corellium/corellium-api/src/team.js +29 -0
- package/node_modules/@corellium/corellium-api/src/user.js +51 -0
- package/node_modules/@corellium/corellium-api/src/util/fetch.js +62 -0
- package/node_modules/@corellium/corellium-api/src/util/sleep.js +7 -0
- package/node_modules/@corellium/corellium-api/test/integration-tests.js +1292 -0
- package/node_modules/@corellium/corellium-api/test/root-hook-set-flag-if-test-failed.js +7 -0
- package/node_modules/@jridgewell/resolve-uri/LICENSE +19 -0
- package/node_modules/@jridgewell/resolve-uri/README.md +40 -0
- package/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs +242 -0
- package/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +1 -0
- package/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js +250 -0
- package/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +1 -0
- package/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +4 -0
- package/node_modules/@jridgewell/resolve-uri/package.json +108 -0
- package/node_modules/@jridgewell/sourcemap-codec/LICENSE +21 -0
- package/node_modules/@jridgewell/sourcemap-codec/README.md +200 -0
- package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +164 -0
- package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
- package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +175 -0
- package/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
- package/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +6 -0
- package/node_modules/@jridgewell/sourcemap-codec/package.json +110 -0
- package/node_modules/@jridgewell/sourcemap-codec/src/sourcemap-codec.ts +198 -0
- package/node_modules/@jridgewell/trace-mapping/LICENSE +19 -0
- package/node_modules/@jridgewell/trace-mapping/README.md +252 -0
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +518 -0
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +532 -0
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts +8 -0
- package/node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts +32 -0
- package/node_modules/@jridgewell/trace-mapping/dist/types/by-source.d.ts +7 -0
- package/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts +1 -0
- package/node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts +2 -0
- package/node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +16 -0
- package/node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts +4 -0
- package/node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +74 -0
- package/node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts +85 -0
- package/node_modules/@jridgewell/trace-mapping/package.json +112 -0
- package/node_modules/@jridgewell/trace-mapping/src/any-map.ts +166 -0
- package/node_modules/@jridgewell/trace-mapping/src/binary-search.ts +115 -0
- package/node_modules/@jridgewell/trace-mapping/src/by-source.ts +64 -0
- package/node_modules/@jridgewell/trace-mapping/src/resolve.ts +10 -0
- package/node_modules/@jridgewell/trace-mapping/src/sort.ts +45 -0
- package/node_modules/@jridgewell/trace-mapping/src/sourcemap-segment.ts +23 -0
- package/node_modules/@jridgewell/trace-mapping/src/strip-filename.ts +8 -0
- package/node_modules/@jridgewell/trace-mapping/src/trace-mapping.ts +405 -0
- package/node_modules/@jridgewell/trace-mapping/src/types.ts +90 -0
- package/node_modules/@mapbox/node-pre-gyp/CHANGELOG.md +504 -0
- package/node_modules/@mapbox/node-pre-gyp/LICENSE +27 -0
- package/node_modules/@mapbox/node-pre-gyp/README.md +742 -0
- package/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp +4 -0
- package/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp.cmd +2 -0
- package/node_modules/@mapbox/node-pre-gyp/contributing.md +10 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/build.js +51 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/clean.js +31 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/configure.js +52 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/info.js +38 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/install.js +235 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/main.js +125 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/node-pre-gyp.js +309 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/package.js +73 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/pre-binding.js +34 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/publish.js +81 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/rebuild.js +20 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/reinstall.js +19 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/reveal.js +32 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/testbinary.js +79 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/testpackage.js +53 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/unpublish.js +41 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.json +2602 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js +93 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/util/handle_gyp_opts.js +102 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/util/napi.js +205 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html +26 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/package.json +9 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/util/s3_setup.js +163 -0
- package/node_modules/@mapbox/node-pre-gyp/lib/util/versioning.js +335 -0
- package/node_modules/@mapbox/node-pre-gyp/package.json +100 -0
- package/node_modules/@nicolo-ribaudo/chokidar-2/README.md +3 -0
- package/node_modules/@nicolo-ribaudo/chokidar-2/build-chokidar.sh +30 -0
- package/node_modules/@nicolo-ribaudo/chokidar-2/dist/main.js +2086 -0
- package/node_modules/@nicolo-ribaudo/chokidar-2/package.json +73 -0
- package/node_modules/@nicolo-ribaudo/chokidar-2/types.d.ts +191 -0
- package/node_modules/abbrev/LICENSE +46 -0
- package/node_modules/abbrev/README.md +23 -0
- package/node_modules/abbrev/abbrev.js +61 -0
- package/node_modules/abbrev/package.json +59 -0
- package/node_modules/agent-base/README.md +145 -0
- package/node_modules/agent-base/dist/src/index.d.ts +78 -0
- package/node_modules/agent-base/dist/src/index.js +203 -0
- package/node_modules/agent-base/dist/src/index.js.map +1 -0
- package/node_modules/agent-base/dist/src/promisify.d.ts +4 -0
- package/node_modules/agent-base/dist/src/promisify.js +18 -0
- package/node_modules/agent-base/dist/src/promisify.js.map +1 -0
- package/node_modules/agent-base/package.json +97 -0
- package/node_modules/agent-base/src/index.ts +345 -0
- package/node_modules/agent-base/src/promisify.ts +33 -0
- package/node_modules/ansi-regex/index.d.ts +37 -0
- package/node_modules/ansi-regex/index.js +10 -0
- package/node_modules/ansi-regex/license +9 -0
- package/node_modules/ansi-regex/package.json +90 -0
- package/node_modules/ansi-regex/readme.md +78 -0
- package/node_modules/ansi-styles/index.d.ts +345 -0
- package/node_modules/ansi-styles/index.js +163 -0
- package/node_modules/ansi-styles/license +9 -0
- package/node_modules/ansi-styles/package.json +96 -0
- package/node_modules/ansi-styles/readme.md +152 -0
- package/node_modules/anymatch/LICENSE +15 -0
- package/node_modules/anymatch/README.md +87 -0
- package/node_modules/anymatch/index.d.ts +19 -0
- package/node_modules/anymatch/index.js +104 -0
- package/node_modules/anymatch/package.json +80 -0
- package/node_modules/aproba/CHANGELOG.md +4 -0
- package/node_modules/aproba/LICENSE +14 -0
- package/node_modules/aproba/README.md +94 -0
- package/node_modules/aproba/index.js +105 -0
- package/node_modules/aproba/package.json +66 -0
- package/node_modules/are-we-there-yet/LICENSE.md +18 -0
- package/node_modules/are-we-there-yet/README.md +208 -0
- package/node_modules/are-we-there-yet/lib/index.js +4 -0
- package/node_modules/are-we-there-yet/lib/tracker-base.js +11 -0
- package/node_modules/are-we-there-yet/lib/tracker-group.js +116 -0
- package/node_modules/are-we-there-yet/lib/tracker-stream.js +36 -0
- package/node_modules/are-we-there-yet/lib/tracker.js +32 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/README.md +106 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/errors-browser.js +127 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/errors.js +116 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_duplex.js +139 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_passthrough.js +39 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_readable.js +1124 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_transform.js +201 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_writable.js +697 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/async_iterator.js +207 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/buffer_list.js +210 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/destroy.js +105 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +104 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/from.js +64 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/pipeline.js +97 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/state.js +27 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/package.json +100 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/readable-browser.js +9 -0
- package/node_modules/are-we-there-yet/node_modules/readable-stream/readable.js +16 -0
- package/node_modules/are-we-there-yet/package.json +87 -0
- package/node_modules/ascii-art/.travis.yml +19 -0
- package/node_modules/ascii-art/Fonts/Doom.flf +833 -0
- package/node_modules/ascii-art/Fonts/rusted.flf +302 -0
- package/node_modules/ascii-art/LICENSE +20 -0
- package/node_modules/ascii-art/README.md +654 -0
- package/node_modules/ascii-art/art-source.js +42 -0
- package/node_modules/ascii-art/art.js +579 -0
- package/node_modules/ascii-art/artwork.js +53 -0
- package/node_modules/ascii-art/bin/ascii-art +359 -0
- package/node_modules/ascii-art/color_profiles.json +20 -0
- package/node_modules/ascii-art/demo.js +151 -0
- package/node_modules/ascii-art/generate.js +83 -0
- package/node_modules/ascii-art/kaolin.js +140 -0
- package/node_modules/ascii-art/karma.conf.js +81 -0
- package/node_modules/ascii-art/package.json +123 -0
- package/node_modules/ascii-art/test/dev_setup.sh +16 -0
- package/node_modules/ascii-art/test/extras/kaolin-test.js +81 -0
- package/node_modules/ascii-art/test/images/animal_muppet.nfo +43 -0
- package/node_modules/ascii-art/test/images/beyonce-upgrade.nfo +21 -0
- package/node_modules/ascii-art/test/images/cernettes.nfo +31 -0
- package/node_modules/ascii-art/test/images/gir.nfo +40 -0
- package/node_modules/ascii-art/test/images/gob.nfo +40 -0
- package/node_modules/ascii-art/test/images/grendel.nfo +70 -0
- package/node_modules/ascii-art/test/images/initech.nfo +29 -0
- package/node_modules/ascii-art/test/images/metropolis.nfo +56 -0
- package/node_modules/ascii-art/test/images/mixed.nfo +15 -0
- package/node_modules/ascii-art/test/images/mucha-job.art.nfo +56 -0
- package/node_modules/ascii-art/test/images/mucha-job.nfo +56 -0
- package/node_modules/ascii-art/test/images/peewee.nfo +50 -0
- package/node_modules/ascii-art/test/images/peewee.poster.nfo +50 -0
- package/node_modules/ascii-art/test/images/rene-cigler.nfo +59 -0
- package/node_modules/ascii-art/test/images/serious-business.nfo +48 -0
- package/node_modules/ascii-art/test/images/seven-proxies.nfo +26 -0
- package/node_modules/ascii-art/test/images/sunburst.nfo +40 -0
- package/node_modules/ascii-art/test/images/sunburst_red.nfo +40 -0
- package/node_modules/ascii-art/test/images/zero-cool.nfo +60 -0
- package/node_modules/ascii-art/test/karma/init.js +34 -0
- package/node_modules/ascii-art/test/scripts/bbs.js +42 -0
- package/node_modules/ascii-art/test/test.js +459 -0
- package/node_modules/ascii-art-ansi/LICENSE +20 -0
- package/node_modules/ascii-art-ansi/README.md +287 -0
- package/node_modules/ascii-art-ansi/ansi.js +409 -0
- package/node_modules/ascii-art-ansi/color.js +623 -0
- package/node_modules/ascii-art-ansi/grid.js +129 -0
- package/node_modules/ascii-art-ansi/package.json +84 -0
- package/node_modules/ascii-art-ansi/test/test.js +251 -0
- package/node_modules/ascii-art-braille/README.md +6 -0
- package/node_modules/ascii-art-braille/braille.js +176 -0
- package/node_modules/ascii-art-braille/package.json +34 -0
- package/node_modules/ascii-art-font/Fonts/Doom.flf +833 -0
- package/node_modules/ascii-art-font/Fonts/rusted.flf +302 -0
- package/node_modules/ascii-art-font/LICENSE +22 -0
- package/node_modules/ascii-art-font/MIT-LICENSE.txt +20 -0
- package/node_modules/ascii-art-font/README.md +74 -0
- package/node_modules/ascii-art-font/font.js +152 -0
- package/node_modules/ascii-art-font/package.json +71 -0
- package/node_modules/ascii-art-font/test/test.js +59 -0
- package/node_modules/ascii-art-graph/README.md +142 -0
- package/node_modules/ascii-art-graph/d3.js +20 -0
- package/node_modules/ascii-art-graph/graph.js +1042 -0
- package/node_modules/ascii-art-graph/multi-series.png +0 -0
- package/node_modules/ascii-art-graph/package.json +45 -0
- package/node_modules/ascii-art-graph/simple-braille.png +0 -0
- package/node_modules/ascii-art-graph/test/data/binaryGrid.json +1725 -0
- package/node_modules/ascii-art-graph/test/data/multiLineGraph.json +21 -0
- package/node_modules/ascii-art-graph/test/data/simple-braille.ansi +20 -0
- package/node_modules/ascii-art-graph/test/data/simpleLineGraph.json +21 -0
- package/node_modules/ascii-art-graph/test/test.js +119 -0
- package/node_modules/ascii-art-image/README.md +93 -0
- package/node_modules/ascii-art-image/generate.js +80 -0
- package/node_modules/ascii-art-image/image.js +464 -0
- package/node_modules/ascii-art-image/node_modules/ascii-art-braille/README.md +6 -0
- package/node_modules/ascii-art-image/node_modules/ascii-art-braille/braille.js +249 -0
- package/node_modules/ascii-art-image/node_modules/ascii-art-braille/package.json +34 -0
- package/node_modules/ascii-art-image/package.json +47 -0
- package/node_modules/ascii-art-image/renderers/average.js +170 -0
- package/node_modules/ascii-art-image/test/images/animal_muppet.nfo +43 -0
- package/node_modules/ascii-art-image/test/images/beyonce-upgrade.nfo +21 -0
- package/node_modules/ascii-art-image/test/images/cernettes.nfo +31 -0
- package/node_modules/ascii-art-image/test/images/gir.nfo +40 -0
- package/node_modules/ascii-art-image/test/images/gob.nfo +40 -0
- package/node_modules/ascii-art-image/test/images/grendel.nfo +70 -0
- package/node_modules/ascii-art-image/test/images/initech.nfo +29 -0
- package/node_modules/ascii-art-image/test/images/metropolis.nfo +56 -0
- package/node_modules/ascii-art-image/test/images/mixed.nfo +15 -0
- package/node_modules/ascii-art-image/test/images/mucha-job.art.nfo +56 -0
- package/node_modules/ascii-art-image/test/images/mucha-job.json +1 -0
- package/node_modules/ascii-art-image/test/images/mucha-job.nfo +56 -0
- package/node_modules/ascii-art-image/test/images/peewee.nfo +50 -0
- package/node_modules/ascii-art-image/test/images/peewee.poster.nfo +50 -0
- package/node_modules/ascii-art-image/test/images/rene-cigler.nfo +59 -0
- package/node_modules/ascii-art-image/test/images/serious-business.nfo +48 -0
- package/node_modules/ascii-art-image/test/images/seven-proxies.nfo +26 -0
- package/node_modules/ascii-art-image/test/images/zero-cool.nfo +60 -0
- package/node_modules/ascii-art-image/test/test.js +334 -0
- package/node_modules/ascii-art-table/README.md +152 -0
- package/node_modules/ascii-art-table/package.json +42 -0
- package/node_modules/ascii-art-table/table.js +512 -0
- package/node_modules/ascii-art-table/test/test.js +133 -0
- package/node_modules/ascii-art-utf/README.md +23 -0
- package/node_modules/ascii-art-utf/package.json +70 -0
- package/node_modules/ascii-art-utf/run.js +5 -0
- package/node_modules/ascii-art-utf/utf.js +170 -0
- package/node_modules/async/CHANGELOG.md +278 -0
- package/node_modules/async/LICENSE +19 -0
- package/node_modules/async/README.md +56 -0
- package/node_modules/async/all.js +50 -0
- package/node_modules/async/allLimit.js +42 -0
- package/node_modules/async/allSeries.js +37 -0
- package/node_modules/async/any.js +52 -0
- package/node_modules/async/anyLimit.js +43 -0
- package/node_modules/async/anySeries.js +38 -0
- package/node_modules/async/apply.js +68 -0
- package/node_modules/async/applyEach.js +51 -0
- package/node_modules/async/applyEachSeries.js +37 -0
- package/node_modules/async/asyncify.js +110 -0
- package/node_modules/async/auto.js +289 -0
- package/node_modules/async/autoInject.js +170 -0
- package/node_modules/async/bower.json +17 -0
- package/node_modules/async/cargo.js +94 -0
- package/node_modules/async/compose.js +58 -0
- package/node_modules/async/concat.js +43 -0
- package/node_modules/async/concatLimit.js +65 -0
- package/node_modules/async/concatSeries.js +36 -0
- package/node_modules/async/constant.js +66 -0
- package/node_modules/async/detect.js +61 -0
- package/node_modules/async/detectLimit.js +48 -0
- package/node_modules/async/detectSeries.js +38 -0
- package/node_modules/async/dir.js +43 -0
- package/node_modules/async/dist/async.js +5612 -0
- package/node_modules/async/dist/async.min.js +2 -0
- package/node_modules/async/dist/async.min.map +1 -0
- package/node_modules/async/doDuring.js +66 -0
- package/node_modules/async/doUntil.js +39 -0
- package/node_modules/async/doWhilst.js +59 -0
- package/node_modules/async/during.js +76 -0
- package/node_modules/async/each.js +82 -0
- package/node_modules/async/eachLimit.js +45 -0
- package/node_modules/async/eachOf.js +111 -0
- package/node_modules/async/eachOfLimit.js +41 -0
- package/node_modules/async/eachOfSeries.js +35 -0
- package/node_modules/async/eachSeries.js +37 -0
- package/node_modules/async/ensureAsync.js +73 -0
- package/node_modules/async/every.js +50 -0
- package/node_modules/async/everyLimit.js +42 -0
- package/node_modules/async/everySeries.js +37 -0
- package/node_modules/async/filter.js +45 -0
- package/node_modules/async/filterLimit.js +37 -0
- package/node_modules/async/filterSeries.js +35 -0
- package/node_modules/async/find.js +61 -0
- package/node_modules/async/findLimit.js +48 -0
- package/node_modules/async/findSeries.js +38 -0
- package/node_modules/async/foldl.js +78 -0
- package/node_modules/async/foldr.js +44 -0
- package/node_modules/async/forEach.js +82 -0
- package/node_modules/async/forEachLimit.js +45 -0
- package/node_modules/async/forEachOf.js +111 -0
- package/node_modules/async/forEachOfLimit.js +41 -0
- package/node_modules/async/forEachOfSeries.js +35 -0
- package/node_modules/async/forEachSeries.js +37 -0
- package/node_modules/async/forever.js +65 -0
- package/node_modules/async/groupBy.js +54 -0
- package/node_modules/async/groupByLimit.js +71 -0
- package/node_modules/async/groupBySeries.js +37 -0
- package/node_modules/async/index.js +582 -0
- package/node_modules/async/inject.js +78 -0
- package/node_modules/async/internal/DoublyLinkedList.js +88 -0
- package/node_modules/async/internal/applyEach.js +38 -0
- package/node_modules/async/internal/breakLoop.js +9 -0
- package/node_modules/async/internal/consoleFunc.js +42 -0
- package/node_modules/async/internal/createTester.js +44 -0
- package/node_modules/async/internal/doLimit.js +12 -0
- package/node_modules/async/internal/doParallel.js +23 -0
- package/node_modules/async/internal/doParallelLimit.js +23 -0
- package/node_modules/async/internal/eachOfLimit.js +74 -0
- package/node_modules/async/internal/filter.js +75 -0
- package/node_modules/async/internal/findGetResult.js +10 -0
- package/node_modules/async/internal/getIterator.js +13 -0
- package/node_modules/async/internal/initialParams.js +21 -0
- package/node_modules/async/internal/iterator.js +61 -0
- package/node_modules/async/internal/map.js +35 -0
- package/node_modules/async/internal/notId.js +10 -0
- package/node_modules/async/internal/once.js +15 -0
- package/node_modules/async/internal/onlyOnce.js +15 -0
- package/node_modules/async/internal/parallel.js +42 -0
- package/node_modules/async/internal/queue.js +204 -0
- package/node_modules/async/internal/reject.js +21 -0
- package/node_modules/async/internal/setImmediate.js +42 -0
- package/node_modules/async/internal/slice.js +16 -0
- package/node_modules/async/internal/withoutIndex.js +12 -0
- package/node_modules/async/internal/wrapAsync.js +25 -0
- package/node_modules/async/log.js +41 -0
- package/node_modules/async/map.js +54 -0
- package/node_modules/async/mapLimit.js +37 -0
- package/node_modules/async/mapSeries.js +36 -0
- package/node_modules/async/mapValues.js +63 -0
- package/node_modules/async/mapValuesLimit.js +61 -0
- package/node_modules/async/mapValuesSeries.js +37 -0
- package/node_modules/async/memoize.js +101 -0
- package/node_modules/async/nextTick.js +51 -0
- package/node_modules/async/package.json +110 -0
- package/node_modules/async/parallel.js +90 -0
- package/node_modules/async/parallelLimit.js +40 -0
- package/node_modules/async/priorityQueue.js +98 -0
- package/node_modules/async/queue.js +130 -0
- package/node_modules/async/race.js +70 -0
- package/node_modules/async/reduce.js +78 -0
- package/node_modules/async/reduceRight.js +44 -0
- package/node_modules/async/reflect.js +81 -0
- package/node_modules/async/reflectAll.js +105 -0
- package/node_modules/async/reject.js +45 -0
- package/node_modules/async/rejectLimit.js +37 -0
- package/node_modules/async/rejectSeries.js +35 -0
- package/node_modules/async/retry.js +156 -0
- package/node_modules/async/retryable.js +65 -0
- package/node_modules/async/select.js +45 -0
- package/node_modules/async/selectLimit.js +37 -0
- package/node_modules/async/selectSeries.js +35 -0
- package/node_modules/async/seq.js +91 -0
- package/node_modules/async/series.js +85 -0
- package/node_modules/async/setImmediate.js +45 -0
- package/node_modules/async/some.js +52 -0
- package/node_modules/async/someLimit.js +43 -0
- package/node_modules/async/someSeries.js +38 -0
- package/node_modules/async/sortBy.js +91 -0
- package/node_modules/async/timeout.js +89 -0
- package/node_modules/async/times.js +50 -0
- package/node_modules/async/timesLimit.js +42 -0
- package/node_modules/async/timesSeries.js +32 -0
- package/node_modules/async/transform.js +87 -0
- package/node_modules/async/tryEach.js +81 -0
- package/node_modules/async/unmemoize.js +25 -0
- package/node_modules/async/until.js +41 -0
- package/node_modules/async/waterfall.js +113 -0
- package/node_modules/async/whilst.js +72 -0
- package/node_modules/async/wrapSync.js +110 -0
- package/node_modules/async-arrays/.travis.yml +6 -0
- package/node_modules/async-arrays/LICENSE +20 -0
- package/node_modules/async-arrays/README.md +133 -0
- package/node_modules/async-arrays/async-arrays.js +214 -0
- package/node_modules/async-arrays/package.json +64 -0
- package/node_modules/async-arrays/test.js +101 -0
- package/node_modules/async-limiter/.eslintignore +2 -0
- package/node_modules/async-limiter/.nycrc +10 -0
- package/node_modules/async-limiter/.travis.yml +9 -0
- package/node_modules/async-limiter/LICENSE +8 -0
- package/node_modules/async-limiter/index.js +67 -0
- package/node_modules/async-limiter/package.json +72 -0
- package/node_modules/async-limiter/readme.md +132 -0
- package/node_modules/asynckit/LICENSE +21 -0
- package/node_modules/asynckit/README.md +233 -0
- package/node_modules/asynckit/bench.js +76 -0
- package/node_modules/asynckit/index.js +6 -0
- package/node_modules/asynckit/lib/abort.js +29 -0
- package/node_modules/asynckit/lib/async.js +34 -0
- package/node_modules/asynckit/lib/defer.js +26 -0
- package/node_modules/asynckit/lib/iterate.js +75 -0
- package/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/node_modules/asynckit/lib/state.js +37 -0
- package/node_modules/asynckit/lib/streamify.js +141 -0
- package/node_modules/asynckit/lib/terminator.js +29 -0
- package/node_modules/asynckit/package.json +96 -0
- package/node_modules/asynckit/parallel.js +43 -0
- package/node_modules/asynckit/serial.js +17 -0
- package/node_modules/asynckit/serialOrdered.js +75 -0
- package/node_modules/asynckit/stream.js +21 -0
- package/node_modules/axios/CHANGELOG.md +943 -0
- package/node_modules/axios/LICENSE +19 -0
- package/node_modules/axios/README.md +991 -0
- package/node_modules/axios/SECURITY.md +5 -0
- package/node_modules/axios/UPGRADE_GUIDE.md +168 -0
- package/node_modules/axios/dist/axios.js +2595 -0
- package/node_modules/axios/dist/axios.map +1 -0
- package/node_modules/axios/dist/axios.min.js +3 -0
- package/node_modules/axios/dist/axios.min.map +1 -0
- package/node_modules/axios/index.d.ts +254 -0
- package/node_modules/axios/index.js +1 -0
- package/node_modules/axios/lib/adapters/README.md +37 -0
- package/node_modules/axios/lib/adapters/http.js +424 -0
- package/node_modules/axios/lib/adapters/xhr.js +222 -0
- package/node_modules/axios/lib/axios.js +64 -0
- package/node_modules/axios/lib/cancel/CancelToken.js +119 -0
- package/node_modules/axios/lib/cancel/CanceledError.js +22 -0
- package/node_modules/axios/lib/cancel/isCancel.js +5 -0
- package/node_modules/axios/lib/core/Axios.js +160 -0
- package/node_modules/axios/lib/core/AxiosError.js +86 -0
- package/node_modules/axios/lib/core/InterceptorManager.js +54 -0
- package/node_modules/axios/lib/core/README.md +8 -0
- package/node_modules/axios/lib/core/buildFullPath.js +20 -0
- package/node_modules/axios/lib/core/dispatchRequest.js +87 -0
- package/node_modules/axios/lib/core/mergeConfig.js +100 -0
- package/node_modules/axios/lib/core/settle.js +25 -0
- package/node_modules/axios/lib/core/transformData.js +22 -0
- package/node_modules/axios/lib/defaults/env/FormData.js +2 -0
- package/node_modules/axios/lib/defaults/index.js +146 -0
- package/node_modules/axios/lib/defaults/transitional.js +7 -0
- package/node_modules/axios/lib/env/README.md +3 -0
- package/node_modules/axios/lib/env/data.js +3 -0
- package/node_modules/axios/lib/helpers/README.md +7 -0
- package/node_modules/axios/lib/helpers/bind.js +11 -0
- package/node_modules/axios/lib/helpers/buildURL.js +70 -0
- package/node_modules/axios/lib/helpers/combineURLs.js +14 -0
- package/node_modules/axios/lib/helpers/cookies.js +53 -0
- package/node_modules/axios/lib/helpers/deprecatedMethod.js +24 -0
- package/node_modules/axios/lib/helpers/isAbsoluteURL.js +14 -0
- package/node_modules/axios/lib/helpers/isAxiosError.js +13 -0
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +68 -0
- package/node_modules/axios/lib/helpers/normalizeHeaderName.js +12 -0
- package/node_modules/axios/lib/helpers/null.js +2 -0
- package/node_modules/axios/lib/helpers/parseHeaders.js +53 -0
- package/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/node_modules/axios/lib/helpers/spread.js +27 -0
- package/node_modules/axios/lib/helpers/toFormData.js +72 -0
- package/node_modules/axios/lib/helpers/validator.js +86 -0
- package/node_modules/axios/lib/utils.js +470 -0
- package/node_modules/axios/package.json +117 -0
- package/node_modules/axios/tsconfig.json +14 -0
- package/node_modules/axios/tslint.json +6 -0
- package/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- package/node_modules/balanced-match/LICENSE.md +21 -0
- package/node_modules/balanced-match/README.md +97 -0
- package/node_modules/balanced-match/index.js +62 -0
- package/node_modules/balanced-match/package.json +79 -0
- package/node_modules/binary-extensions/binary-extensions.json +260 -0
- package/node_modules/binary-extensions/binary-extensions.json.d.ts +3 -0
- package/node_modules/binary-extensions/index.d.ts +14 -0
- package/node_modules/binary-extensions/index.js +1 -0
- package/node_modules/binary-extensions/license +9 -0
- package/node_modules/binary-extensions/package.json +74 -0
- package/node_modules/binary-extensions/readme.md +41 -0
- package/node_modules/brace-expansion/LICENSE +21 -0
- package/node_modules/brace-expansion/README.md +129 -0
- package/node_modules/brace-expansion/index.js +201 -0
- package/node_modules/brace-expansion/package.json +78 -0
- package/node_modules/braces/CHANGELOG.md +184 -0
- package/node_modules/braces/LICENSE +21 -0
- package/node_modules/braces/README.md +593 -0
- package/node_modules/braces/index.js +170 -0
- package/node_modules/braces/lib/compile.js +57 -0
- package/node_modules/braces/lib/constants.js +57 -0
- package/node_modules/braces/lib/expand.js +113 -0
- package/node_modules/braces/lib/parse.js +333 -0
- package/node_modules/braces/lib/stringify.js +32 -0
- package/node_modules/braces/lib/utils.js +112 -0
- package/node_modules/braces/package.json +127 -0
- package/node_modules/buffer-crc32/LICENSE +19 -0
- package/node_modules/buffer-crc32/README.md +47 -0
- package/node_modules/buffer-crc32/index.js +111 -0
- package/node_modules/buffer-crc32/package.json +72 -0
- package/node_modules/call-bind/.eslintignore +1 -0
- package/node_modules/call-bind/.eslintrc +17 -0
- package/node_modules/call-bind/.github/FUNDING.yml +12 -0
- package/node_modules/call-bind/.nycrc +13 -0
- package/node_modules/call-bind/CHANGELOG.md +42 -0
- package/node_modules/call-bind/LICENSE +21 -0
- package/node_modules/call-bind/README.md +2 -0
- package/node_modules/call-bind/callBound.js +15 -0
- package/node_modules/call-bind/index.js +47 -0
- package/node_modules/call-bind/package.json +126 -0
- package/node_modules/call-bind/test/callBound.js +55 -0
- package/node_modules/call-bind/test/index.js +66 -0
- package/node_modules/canvas/Readme.md +600 -0
- package/node_modules/canvas/binding.gyp +229 -0
- package/node_modules/canvas/browser.js +35 -0
- package/node_modules/canvas/build/Release/.deps/Release/canvas.node.d +1 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/Backends.o.d +392 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/Canvas.o.d +406 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/CanvasGradient.o.d +376 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/CanvasPattern.o.d +722 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/CanvasRenderingContext2d.o.d +733 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/Image.o.d +722 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/ImageData.o.d +64 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/Backend.o.d +72 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/ImageBackend.o.d +74 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/PdfBackend.o.d +391 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/SvgBackend.o.d +391 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/bmp/BMPParser.o.d +5 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/closure.o.d +386 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/color.o.d +4 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/init.o.d +758 -0
- package/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/register_font.o.d +349 -0
- package/node_modules/canvas/build/Release/canvas.node +0 -0
- package/node_modules/canvas/build/Release/libX11.6.dylib +0 -0
- package/node_modules/canvas/build/Release/libXau.6.dylib +0 -0
- package/node_modules/canvas/build/Release/libXdmcp.6.dylib +0 -0
- package/node_modules/canvas/build/Release/libXext.6.dylib +0 -0
- package/node_modules/canvas/build/Release/libXrender.1.dylib +0 -0
- package/node_modules/canvas/build/Release/libcairo-gobject.2.dylib +0 -0
- package/node_modules/canvas/build/Release/libcairo.2.dylib +0 -0
- package/node_modules/canvas/build/Release/libffi.8.dylib +0 -0
- package/node_modules/canvas/build/Release/libfontconfig.1.dylib +0 -0
- package/node_modules/canvas/build/Release/libfreetype.6.dylib +0 -0
- package/node_modules/canvas/build/Release/libfribidi.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libgdk_pixbuf-2.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libgif.7.2.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libgio-2.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libglib-2.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libgmodule-2.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libgobject-2.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libgraphite2.3.2.1.dylib +0 -0
- package/node_modules/canvas/build/Release/libharfbuzz.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libintl.8.dylib +0 -0
- package/node_modules/canvas/build/Release/libjpeg.9.dylib +0 -0
- package/node_modules/canvas/build/Release/libpango-1.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libpangocairo-1.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libpangoft2-1.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libpcre.1.dylib +0 -0
- package/node_modules/canvas/build/Release/libpixman-1.0.40.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libpng16.16.dylib +0 -0
- package/node_modules/canvas/build/Release/librsvg-2.2.dylib +0 -0
- package/node_modules/canvas/build/Release/libxcb-render.0.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libxcb-shm.0.0.0.dylib +0 -0
- package/node_modules/canvas/build/Release/libxcb.1.1.0.dylib +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/Backends.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/Canvas.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/CanvasGradient.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/CanvasPattern.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/CanvasRenderingContext2d.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/Image.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/ImageData.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/backend/Backend.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/backend/ImageBackend.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/backend/PdfBackend.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/backend/SvgBackend.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/bmp/BMPParser.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/closure.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/color.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/init.o +0 -0
- package/node_modules/canvas/build/Release/obj.target/canvas/src/register_font.o +0 -0
- package/node_modules/canvas/index.js +92 -0
- package/node_modules/canvas/lib/DOMMatrix.js +620 -0
- package/node_modules/canvas/lib/bindings.js +13 -0
- package/node_modules/canvas/lib/canvas.js +113 -0
- package/node_modules/canvas/lib/context2d.js +14 -0
- package/node_modules/canvas/lib/image.js +93 -0
- package/node_modules/canvas/lib/jpegstream.js +41 -0
- package/node_modules/canvas/lib/parse-font.js +101 -0
- package/node_modules/canvas/lib/pattern.js +17 -0
- package/node_modules/canvas/lib/pdfstream.js +35 -0
- package/node_modules/canvas/lib/pngstream.js +42 -0
- package/node_modules/canvas/package.json +116 -0
- package/node_modules/canvas/src/Backends.cc +18 -0
- package/node_modules/canvas/src/Backends.h +10 -0
- package/node_modules/canvas/src/Canvas.cc +951 -0
- package/node_modules/canvas/src/Canvas.h +82 -0
- package/node_modules/canvas/src/CanvasError.h +23 -0
- package/node_modules/canvas/src/CanvasGradient.cc +123 -0
- package/node_modules/canvas/src/CanvasGradient.h +22 -0
- package/node_modules/canvas/src/CanvasPattern.cc +136 -0
- package/node_modules/canvas/src/CanvasPattern.h +37 -0
- package/node_modules/canvas/src/CanvasRenderingContext2d.cc +3097 -0
- package/node_modules/canvas/src/CanvasRenderingContext2d.h +203 -0
- package/node_modules/canvas/src/Image.cc +1402 -0
- package/node_modules/canvas/src/Image.h +127 -0
- package/node_modules/canvas/src/ImageData.cc +140 -0
- package/node_modules/canvas/src/ImageData.h +27 -0
- package/node_modules/canvas/src/JPEGStream.h +167 -0
- package/node_modules/canvas/src/PNG.h +292 -0
- package/node_modules/canvas/src/Point.h +10 -0
- package/node_modules/canvas/src/Util.h +34 -0
- package/node_modules/canvas/src/backend/Backend.cc +112 -0
- package/node_modules/canvas/src/backend/Backend.h +69 -0
- package/node_modules/canvas/src/backend/ImageBackend.cc +74 -0
- package/node_modules/canvas/src/backend/ImageBackend.h +26 -0
- package/node_modules/canvas/src/backend/PdfBackend.cc +53 -0
- package/node_modules/canvas/src/backend/PdfBackend.h +24 -0
- package/node_modules/canvas/src/backend/SvgBackend.cc +61 -0
- package/node_modules/canvas/src/backend/SvgBackend.h +24 -0
- package/node_modules/canvas/src/bmp/BMPParser.cc +457 -0
- package/node_modules/canvas/src/bmp/BMPParser.h +60 -0
- package/node_modules/canvas/src/bmp/LICENSE.md +24 -0
- package/node_modules/canvas/src/closure.cc +26 -0
- package/node_modules/canvas/src/closure.h +81 -0
- package/node_modules/canvas/src/color.cc +775 -0
- package/node_modules/canvas/src/color.h +30 -0
- package/node_modules/canvas/src/dll_visibility.h +20 -0
- package/node_modules/canvas/src/init.cc +92 -0
- package/node_modules/canvas/src/register_font.cc +408 -0
- package/node_modules/canvas/src/register_font.h +7 -0
- package/node_modules/canvas/types/index.d.ts +335 -0
- package/node_modules/canvas/util/has_lib.js +119 -0
- package/node_modules/canvas/util/win_jpeg_lookup.js +21 -0
- package/node_modules/chokidar/LICENSE +21 -0
- package/node_modules/chokidar/README.md +308 -0
- package/node_modules/chokidar/index.js +973 -0
- package/node_modules/chokidar/lib/constants.js +65 -0
- package/node_modules/chokidar/lib/fsevents-handler.js +524 -0
- package/node_modules/chokidar/lib/nodefs-handler.js +654 -0
- package/node_modules/chokidar/package.json +123 -0
- package/node_modules/chokidar/types/index.d.ts +188 -0
- package/node_modules/chownr/LICENSE +15 -0
- package/node_modules/chownr/README.md +3 -0
- package/node_modules/chownr/chownr.js +167 -0
- package/node_modules/chownr/package.json +68 -0
- package/node_modules/cli/README.md +196 -0
- package/node_modules/cli/cli.js +1133 -0
- package/node_modules/cli/examples/cat.js +17 -0
- package/node_modules/cli/examples/command.js +16 -0
- package/node_modules/cli/examples/echo.js +54 -0
- package/node_modules/cli/examples/glob.js +6 -0
- package/node_modules/cli/examples/long_desc.js +20 -0
- package/node_modules/cli/examples/progress.js +11 -0
- package/node_modules/cli/examples/sort.js +18 -0
- package/node_modules/cli/examples/spinner.js +9 -0
- package/node_modules/cli/examples/static.coffee +27 -0
- package/node_modules/cli/examples/static.js +25 -0
- package/node_modules/cli/index.js +1 -0
- package/node_modules/cli/package.json +77 -0
- package/node_modules/cliui/CHANGELOG.md +121 -0
- package/node_modules/cliui/LICENSE.txt +14 -0
- package/node_modules/cliui/README.md +141 -0
- package/node_modules/cliui/build/index.cjs +302 -0
- package/node_modules/cliui/build/lib/index.js +287 -0
- package/node_modules/cliui/build/lib/string-utils.js +27 -0
- package/node_modules/cliui/index.mjs +13 -0
- package/node_modules/cliui/package.json +121 -0
- package/node_modules/color/LICENSE +21 -0
- package/node_modules/color/README.md +123 -0
- package/node_modules/color/index.js +482 -0
- package/node_modules/color/node_modules/color-convert/CHANGELOG.md +54 -0
- package/node_modules/color/node_modules/color-convert/LICENSE +21 -0
- package/node_modules/color/node_modules/color-convert/README.md +68 -0
- package/node_modules/color/node_modules/color-convert/conversions.js +868 -0
- package/node_modules/color/node_modules/color-convert/index.js +78 -0
- package/node_modules/color/node_modules/color-convert/package.json +84 -0
- package/node_modules/color/node_modules/color-convert/route.js +97 -0
- package/node_modules/color/node_modules/color-name/.eslintrc.json +43 -0
- package/node_modules/color/node_modules/color-name/.npmignore +107 -0
- package/node_modules/color/node_modules/color-name/LICENSE +8 -0
- package/node_modules/color/node_modules/color-name/README.md +11 -0
- package/node_modules/color/node_modules/color-name/index.js +152 -0
- package/node_modules/color/node_modules/color-name/package.json +56 -0
- package/node_modules/color/node_modules/color-name/test.js +7 -0
- package/node_modules/color/package.json +75 -0
- package/node_modules/color-convert/CHANGELOG.md +54 -0
- package/node_modules/color-convert/LICENSE +21 -0
- package/node_modules/color-convert/README.md +68 -0
- package/node_modules/color-convert/conversions.js +839 -0
- package/node_modules/color-convert/index.js +81 -0
- package/node_modules/color-convert/package.json +86 -0
- package/node_modules/color-convert/route.js +97 -0
- package/node_modules/color-difference/LICENSE +7 -0
- package/node_modules/color-difference/Makefile +29 -0
- package/node_modules/color-difference/README.md +12 -0
- package/node_modules/color-difference/bin/color-difference +3 -0
- package/node_modules/color-difference/index.js +4 -0
- package/node_modules/color-difference/lib/cli-runner.js +49 -0
- package/node_modules/color-difference/lib/compare.js +28 -0
- package/node_modules/color-difference/lib/index.js +7 -0
- package/node_modules/color-difference/lib/method/abstract.js +15 -0
- package/node_modules/color-difference/lib/method/cie-76-difference.js +33 -0
- package/node_modules/color-difference/lib/method/euclidean-distance.js +32 -0
- package/node_modules/color-difference/package.json +67 -0
- package/node_modules/color-difference/test/compare.js +40 -0
- package/node_modules/color-difference/test/method-absract.js +18 -0
- package/node_modules/color-model/Makefile +29 -0
- package/node_modules/color-model/index.js +5 -0
- package/node_modules/color-model/lib/abstract-model.js +92 -0
- package/node_modules/color-model/lib/component.js +59 -0
- package/node_modules/color-model/lib/hex-rgb.js +69 -0
- package/node_modules/color-model/lib/hsl.js +108 -0
- package/node_modules/color-model/lib/index.js +9 -0
- package/node_modules/color-model/lib/lab.js +46 -0
- package/node_modules/color-model/lib/rgb.js +154 -0
- package/node_modules/color-model/lib/xyz.js +117 -0
- package/node_modules/color-model/package.json +63 -0
- package/node_modules/color-model/test/abstract-model.js +82 -0
- package/node_modules/color-model/test/component.js +104 -0
- package/node_modules/color-model/test/hex-rgb.js +56 -0
- package/node_modules/color-model/test/hsl.js +33 -0
- package/node_modules/color-model/test/lab.js +37 -0
- package/node_modules/color-model/test/rgb.js +74 -0
- package/node_modules/color-model/test/xyz.js +45 -0
- package/node_modules/color-name/LICENSE +8 -0
- package/node_modules/color-name/README.md +11 -0
- package/node_modules/color-name/index.js +152 -0
- package/node_modules/color-name/package.json +60 -0
- package/node_modules/color-string/LICENSE +21 -0
- package/node_modules/color-string/README.md +62 -0
- package/node_modules/color-string/index.js +242 -0
- package/node_modules/color-string/package.json +84 -0
- package/node_modules/color-support/LICENSE +15 -0
- package/node_modules/color-support/README.md +129 -0
- package/node_modules/color-support/bin.js +3 -0
- package/node_modules/color-support/browser.js +14 -0
- package/node_modules/color-support/index.js +134 -0
- package/node_modules/color-support/package.json +74 -0
- package/node_modules/combined-stream/License +19 -0
- package/node_modules/combined-stream/Readme.md +138 -0
- package/node_modules/combined-stream/lib/combined_stream.js +208 -0
- package/node_modules/combined-stream/package.json +62 -0
- package/node_modules/combined-stream/yarn.lock +17 -0
- package/node_modules/component-emitter/History.md +75 -0
- package/node_modules/component-emitter/LICENSE +24 -0
- package/node_modules/component-emitter/Readme.md +74 -0
- package/node_modules/component-emitter/index.js +175 -0
- package/node_modules/component-emitter/package.json +59 -0
- package/node_modules/concat-map/.travis.yml +4 -0
- package/node_modules/concat-map/LICENSE +18 -0
- package/node_modules/concat-map/README.markdown +62 -0
- package/node_modules/concat-map/example/map.js +6 -0
- package/node_modules/concat-map/index.js +13 -0
- package/node_modules/concat-map/package.json +91 -0
- package/node_modules/concat-map/test/map.js +39 -0
- package/node_modules/console-control-strings/LICENSE +13 -0
- package/node_modules/console-control-strings/README.md +145 -0
- package/node_modules/console-control-strings/README.md~ +140 -0
- package/node_modules/console-control-strings/index.js +125 -0
- package/node_modules/console-control-strings/package.json +64 -0
- package/node_modules/convert-source-map/LICENSE +23 -0
- package/node_modules/convert-source-map/README.md +120 -0
- package/node_modules/convert-source-map/index.js +136 -0
- package/node_modules/convert-source-map/package.json +75 -0
- package/node_modules/cookiejar/LICENSE +9 -0
- package/node_modules/cookiejar/cookiejar.js +276 -0
- package/node_modules/cookiejar/package.json +58 -0
- package/node_modules/cookiejar/readme.md +60 -0
- package/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/core-util-is/README.md +3 -0
- package/node_modules/core-util-is/lib/util.js +107 -0
- package/node_modules/core-util-is/package.json +72 -0
- package/node_modules/cross-fetch/LICENSE +21 -0
- package/node_modules/cross-fetch/README.md +169 -0
- package/node_modules/cross-fetch/dist/browser-polyfill.js +532 -0
- package/node_modules/cross-fetch/dist/browser-ponyfill.js +554 -0
- package/node_modules/cross-fetch/dist/cross-fetch.js +2 -0
- package/node_modules/cross-fetch/dist/cross-fetch.js.map +1 -0
- package/node_modules/cross-fetch/dist/node-polyfill.js +11 -0
- package/node_modules/cross-fetch/dist/node-ponyfill.js +22 -0
- package/node_modules/cross-fetch/dist/react-native-polyfill.js +12 -0
- package/node_modules/cross-fetch/dist/react-native-ponyfill.js +6 -0
- package/node_modules/cross-fetch/index.d.ts +14 -0
- package/node_modules/cross-fetch/package.json +160 -0
- package/node_modules/cross-fetch/polyfill/package.json +8 -0
- package/node_modules/d3/CHANGES.md +1409 -0
- package/node_modules/d3/LICENSE +27 -0
- package/node_modules/d3/README.md +57 -0
- package/node_modules/d3/dist/d3.js +18568 -0
- package/node_modules/d3/dist/d3.min.js +2 -0
- package/node_modules/d3/dist/d3.node.js +287 -0
- package/node_modules/d3/dist/package.js +16 -0
- package/node_modules/d3/index.js +32 -0
- package/node_modules/d3/package.json +109 -0
- package/node_modules/d3-array/.eslintrc.json +15 -0
- package/node_modules/d3-array/LICENSE +27 -0
- package/node_modules/d3-array/README.md +382 -0
- package/node_modules/d3-array/dist/d3-array.js +590 -0
- package/node_modules/d3-array/dist/d3-array.min.js +2 -0
- package/node_modules/d3-array/package.json +77 -0
- package/node_modules/d3-array/rollup.config.js +36 -0
- package/node_modules/d3-array/src/array.js +4 -0
- package/node_modules/d3-array/src/ascending.js +3 -0
- package/node_modules/d3-array/src/bisect.js +7 -0
- package/node_modules/d3-array/src/bisector.js +33 -0
- package/node_modules/d3-array/src/constant.js +5 -0
- package/node_modules/d3-array/src/cross.js +21 -0
- package/node_modules/d3-array/src/descending.js +3 -0
- package/node_modules/d3-array/src/deviation.js +6 -0
- package/node_modules/d3-array/src/extent.js +37 -0
- package/node_modules/d3-array/src/histogram.js +75 -0
- package/node_modules/d3-array/src/identity.js +3 -0
- package/node_modules/d3-array/src/index.js +27 -0
- package/node_modules/d3-array/src/max.js +34 -0
- package/node_modules/d3-array/src/mean.js +25 -0
- package/node_modules/d3-array/src/median.js +28 -0
- package/node_modules/d3-array/src/merge.js +21 -0
- package/node_modules/d3-array/src/min.js +34 -0
- package/node_modules/d3-array/src/number.js +3 -0
- package/node_modules/d3-array/src/pairs.js +10 -0
- package/node_modules/d3-array/src/permute.js +5 -0
- package/node_modules/d3-array/src/quantile.js +14 -0
- package/node_modules/d3-array/src/range.js +13 -0
- package/node_modules/d3-array/src/scan.js +20 -0
- package/node_modules/d3-array/src/shuffle.js +14 -0
- package/node_modules/d3-array/src/sum.js +20 -0
- package/node_modules/d3-array/src/threshold/freedmanDiaconis.js +9 -0
- package/node_modules/d3-array/src/threshold/scott.js +5 -0
- package/node_modules/d3-array/src/threshold/sturges.js +3 -0
- package/node_modules/d3-array/src/ticks.js +51 -0
- package/node_modules/d3-array/src/transpose.js +15 -0
- package/node_modules/d3-array/src/variance.js +33 -0
- package/node_modules/d3-array/src/zip.js +5 -0
- package/node_modules/d3-array/yarn.lock +939 -0
- package/node_modules/d3-axis/.eslintrc.json +15 -0
- package/node_modules/d3-axis/LICENSE +27 -0
- package/node_modules/d3-axis/README.md +192 -0
- package/node_modules/d3-axis/dist/d3-axis.js +193 -0
- package/node_modules/d3-axis/dist/d3-axis.min.js +2 -0
- package/node_modules/d3-axis/package.json +72 -0
- package/node_modules/d3-axis/rollup.config.js +36 -0
- package/node_modules/d3-axis/src/array.js +1 -0
- package/node_modules/d3-axis/src/axis.js +174 -0
- package/node_modules/d3-axis/src/identity.js +3 -0
- package/node_modules/d3-axis/src/index.js +6 -0
- package/node_modules/d3-axis/yarn.lock +1432 -0
- package/node_modules/d3-brush/LICENSE +27 -0
- package/node_modules/d3-brush/README.md +169 -0
- package/node_modules/d3-brush/dist/d3-brush.js +619 -0
- package/node_modules/d3-brush/dist/d3-brush.min.js +2 -0
- package/node_modules/d3-brush/package.json +79 -0
- package/node_modules/d3-brush/src/brush.js +591 -0
- package/node_modules/d3-brush/src/constant.js +5 -0
- package/node_modules/d3-brush/src/event.js +5 -0
- package/node_modules/d3-brush/src/index.js +6 -0
- package/node_modules/d3-brush/src/noevent.js +10 -0
- package/node_modules/d3-chord/.eslintrc.json +15 -0
- package/node_modules/d3-chord/LICENSE +27 -0
- package/node_modules/d3-chord/README.md +170 -0
- package/node_modules/d3-chord/dist/d3-chord.js +230 -0
- package/node_modules/d3-chord/dist/d3-chord.min.js +2 -0
- package/node_modules/d3-chord/package.json +74 -0
- package/node_modules/d3-chord/rollup.config.js +36 -0
- package/node_modules/d3-chord/src/array.js +1 -0
- package/node_modules/d3-chord/src/chord.js +121 -0
- package/node_modules/d3-chord/src/constant.js +5 -0
- package/node_modules/d3-chord/src/index.js +2 -0
- package/node_modules/d3-chord/src/math.js +6 -0
- package/node_modules/d3-chord/src/ribbon.js +87 -0
- package/node_modules/d3-chord/yarn.lock +943 -0
- package/node_modules/d3-collection/.eslintrc.json +15 -0
- package/node_modules/d3-collection/LICENSE +27 -0
- package/node_modules/d3-collection/README.md +271 -0
- package/node_modules/d3-collection/dist/d3-collection.js +217 -0
- package/node_modules/d3-collection/dist/d3-collection.min.js +2 -0
- package/node_modules/d3-collection/package.json +75 -0
- package/node_modules/d3-collection/rollup.config.js +36 -0
- package/node_modules/d3-collection/src/entries.js +5 -0
- package/node_modules/d3-collection/src/index.js +6 -0
- package/node_modules/d3-collection/src/keys.js +5 -0
- package/node_modules/d3-collection/src/map.js +75 -0
- package/node_modules/d3-collection/src/nest.js +73 -0
- package/node_modules/d3-collection/src/set.js +39 -0
- package/node_modules/d3-collection/src/values.js +5 -0
- package/node_modules/d3-collection/yarn-error.log +1049 -0
- package/node_modules/d3-collection/yarn.lock +939 -0
- package/node_modules/d3-color/LICENSE +27 -0
- package/node_modules/d3-color/README.md +177 -0
- package/node_modules/d3-color/dist/d3-color.js +581 -0
- package/node_modules/d3-color/dist/d3-color.min.js +2 -0
- package/node_modules/d3-color/package.json +81 -0
- package/node_modules/d3-color/src/color.js +371 -0
- package/node_modules/d3-color/src/cubehelix.js +61 -0
- package/node_modules/d3-color/src/define.js +10 -0
- package/node_modules/d3-color/src/index.js +3 -0
- package/node_modules/d3-color/src/lab.js +123 -0
- package/node_modules/d3-color/src/math.js +2 -0
- package/node_modules/d3-contour/.eslintrc.json +16 -0
- package/node_modules/d3-contour/LICENSE +27 -0
- package/node_modules/d3-contour/README.md +172 -0
- package/node_modules/d3-contour/dist/d3-contour.js +431 -0
- package/node_modules/d3-contour/dist/d3-contour.min.js +2 -0
- package/node_modules/d3-contour/package.json +71 -0
- package/node_modules/d3-contour/rollup.config.js +36 -0
- package/node_modules/d3-contour/src/area.js +5 -0
- package/node_modules/d3-contour/src/array.js +3 -0
- package/node_modules/d3-contour/src/ascending.js +3 -0
- package/node_modules/d3-contour/src/blur.js +43 -0
- package/node_modules/d3-contour/src/constant.js +5 -0
- package/node_modules/d3-contour/src/contains.js +27 -0
- package/node_modules/d3-contour/src/contours.js +203 -0
- package/node_modules/d3-contour/src/density.js +133 -0
- package/node_modules/d3-contour/src/index.js +2 -0
- package/node_modules/d3-contour/src/noop.js +1 -0
- package/node_modules/d3-contour/yarn.lock +939 -0
- package/node_modules/d3-dispatch/LICENSE +27 -0
- package/node_modules/d3-dispatch/README.md +82 -0
- package/node_modules/d3-dispatch/dist/d3-dispatch.js +95 -0
- package/node_modules/d3-dispatch/dist/d3-dispatch.min.js +2 -0
- package/node_modules/d3-dispatch/package.json +79 -0
- package/node_modules/d3-dispatch/src/dispatch.js +84 -0
- package/node_modules/d3-dispatch/src/index.js +1 -0
- package/node_modules/d3-drag/LICENSE +27 -0
- package/node_modules/d3-drag/README.md +235 -0
- package/node_modules/d3-drag/dist/d3-drag.js +234 -0
- package/node_modules/d3-drag/dist/d3-drag.min.js +2 -0
- package/node_modules/d3-drag/package.json +80 -0
- package/node_modules/d3-drag/src/constant.js +5 -0
- package/node_modules/d3-drag/src/drag.js +167 -0
- package/node_modules/d3-drag/src/event.js +17 -0
- package/node_modules/d3-drag/src/index.js +2 -0
- package/node_modules/d3-drag/src/nodrag.js +28 -0
- package/node_modules/d3-drag/src/noevent.js +10 -0
- package/node_modules/d3-dsv/LICENSE +27 -0
- package/node_modules/d3-dsv/README.md +473 -0
- package/node_modules/d3-dsv/bin/dsv2dsv +32 -0
- package/node_modules/d3-dsv/bin/dsv2json +33 -0
- package/node_modules/d3-dsv/bin/json2dsv +33 -0
- package/node_modules/d3-dsv/dist/d3-dsv.js +233 -0
- package/node_modules/d3-dsv/dist/d3-dsv.min.js +2 -0
- package/node_modules/d3-dsv/node_modules/commander/CHANGELOG.md +419 -0
- package/node_modules/d3-dsv/node_modules/commander/LICENSE +22 -0
- package/node_modules/d3-dsv/node_modules/commander/Readme.md +428 -0
- package/node_modules/d3-dsv/node_modules/commander/index.js +1224 -0
- package/node_modules/d3-dsv/node_modules/commander/package.json +73 -0
- package/node_modules/d3-dsv/node_modules/commander/typings/index.d.ts +310 -0
- package/node_modules/d3-dsv/package.json +93 -0
- package/node_modules/d3-dsv/src/autoType.js +20 -0
- package/node_modules/d3-dsv/src/csv.js +11 -0
- package/node_modules/d3-dsv/src/dsv.js +164 -0
- package/node_modules/d3-dsv/src/index.js +4 -0
- package/node_modules/d3-dsv/src/tsv.js +11 -0
- package/node_modules/d3-ease/LICENSE +28 -0
- package/node_modules/d3-ease/README.md +241 -0
- package/node_modules/d3-ease/dist/d3-ease.js +264 -0
- package/node_modules/d3-ease/dist/d3-ease.min.js +2 -0
- package/node_modules/d3-ease/package.json +76 -0
- package/node_modules/d3-ease/src/back.js +37 -0
- package/node_modules/d3-ease/src/bounce.js +22 -0
- package/node_modules/d3-ease/src/circle.js +11 -0
- package/node_modules/d3-ease/src/cubic.js +11 -0
- package/node_modules/d3-ease/src/elastic.js +46 -0
- package/node_modules/d3-ease/src/exp.js +13 -0
- package/node_modules/d3-ease/src/index.js +66 -0
- package/node_modules/d3-ease/src/linear.js +3 -0
- package/node_modules/d3-ease/src/math.js +4 -0
- package/node_modules/d3-ease/src/poly.js +37 -0
- package/node_modules/d3-ease/src/quad.js +11 -0
- package/node_modules/d3-ease/src/sin.js +14 -0
- package/node_modules/d3-fetch/LICENSE +27 -0
- package/node_modules/d3-fetch/README.md +104 -0
- package/node_modules/d3-fetch/dist/d3-fetch.js +103 -0
- package/node_modules/d3-fetch/dist/d3-fetch.min.js +2 -0
- package/node_modules/d3-fetch/package.json +77 -0
- package/node_modules/d3-fetch/src/blob.js +8 -0
- package/node_modules/d3-fetch/src/buffer.js +8 -0
- package/node_modules/d3-fetch/src/dsv.js +22 -0
- package/node_modules/d3-fetch/src/image.js +9 -0
- package/node_modules/d3-fetch/src/index.js +7 -0
- package/node_modules/d3-fetch/src/json.js +9 -0
- package/node_modules/d3-fetch/src/text.js +8 -0
- package/node_modules/d3-fetch/src/xml.js +15 -0
- package/node_modules/d3-force/.eslintrc.json +15 -0
- package/node_modules/d3-force/LICENSE +27 -0
- package/node_modules/d3-force/README.md +459 -0
- package/node_modules/d3-force/dist/d3-force.js +668 -0
- package/node_modules/d3-force/dist/d3-force.min.js +2 -0
- package/node_modules/d3-force/package.json +78 -0
- package/node_modules/d3-force/rollup.config.js +36 -0
- package/node_modules/d3-force/src/center.js +36 -0
- package/node_modules/d3-force/src/collide.js +98 -0
- package/node_modules/d3-force/src/constant.js +5 -0
- package/node_modules/d3-force/src/index.js +8 -0
- package/node_modules/d3-force/src/jiggle.js +3 -0
- package/node_modules/d3-force/src/link.js +116 -0
- package/node_modules/d3-force/src/manyBody.js +114 -0
- package/node_modules/d3-force/src/radial.js +57 -0
- package/node_modules/d3-force/src/simulation.js +151 -0
- package/node_modules/d3-force/src/x.js +41 -0
- package/node_modules/d3-force/src/y.js +41 -0
- package/node_modules/d3-force/yarn.lock +951 -0
- package/node_modules/d3-format/LICENSE +27 -0
- package/node_modules/d3-format/README.md +343 -0
- package/node_modules/d3-format/dist/d3-format.js +345 -0
- package/node_modules/d3-format/dist/d3-format.min.js +2 -0
- package/node_modules/d3-format/locale/ar-001.json +7 -0
- package/node_modules/d3-format/locale/ar-AE.json +7 -0
- package/node_modules/d3-format/locale/ar-BH.json +7 -0
- package/node_modules/d3-format/locale/ar-DJ.json +7 -0
- package/node_modules/d3-format/locale/ar-DZ.json +6 -0
- package/node_modules/d3-format/locale/ar-EG.json +7 -0
- package/node_modules/d3-format/locale/ar-EH.json +6 -0
- package/node_modules/d3-format/locale/ar-ER.json +7 -0
- package/node_modules/d3-format/locale/ar-IL.json +7 -0
- package/node_modules/d3-format/locale/ar-IQ.json +7 -0
- package/node_modules/d3-format/locale/ar-JO.json +7 -0
- package/node_modules/d3-format/locale/ar-KM.json +7 -0
- package/node_modules/d3-format/locale/ar-KW.json +7 -0
- package/node_modules/d3-format/locale/ar-LB.json +7 -0
- package/node_modules/d3-format/locale/ar-LY.json +6 -0
- package/node_modules/d3-format/locale/ar-MA.json +6 -0
- package/node_modules/d3-format/locale/ar-MR.json +7 -0
- package/node_modules/d3-format/locale/ar-OM.json +7 -0
- package/node_modules/d3-format/locale/ar-PS.json +7 -0
- package/node_modules/d3-format/locale/ar-QA.json +7 -0
- package/node_modules/d3-format/locale/ar-SA.json +7 -0
- package/node_modules/d3-format/locale/ar-SD.json +7 -0
- package/node_modules/d3-format/locale/ar-SO.json +7 -0
- package/node_modules/d3-format/locale/ar-SS.json +7 -0
- package/node_modules/d3-format/locale/ar-SY.json +7 -0
- package/node_modules/d3-format/locale/ar-TD.json +7 -0
- package/node_modules/d3-format/locale/ar-TN.json +6 -0
- package/node_modules/d3-format/locale/ar-YE.json +7 -0
- package/node_modules/d3-format/locale/ca-ES.json +6 -0
- package/node_modules/d3-format/locale/cs-CZ.json +6 -0
- package/node_modules/d3-format/locale/de-CH.json +6 -0
- package/node_modules/d3-format/locale/de-DE.json +6 -0
- package/node_modules/d3-format/locale/en-CA.json +6 -0
- package/node_modules/d3-format/locale/en-GB.json +6 -0
- package/node_modules/d3-format/locale/en-IE.json +6 -0
- package/node_modules/d3-format/locale/en-IN.json +6 -0
- package/node_modules/d3-format/locale/en-US.json +6 -0
- package/node_modules/d3-format/locale/es-BO.json +7 -0
- package/node_modules/d3-format/locale/es-ES.json +6 -0
- package/node_modules/d3-format/locale/es-MX.json +6 -0
- package/node_modules/d3-format/locale/fi-FI.json +6 -0
- package/node_modules/d3-format/locale/fr-CA.json +6 -0
- package/node_modules/d3-format/locale/fr-FR.json +7 -0
- package/node_modules/d3-format/locale/he-IL.json +6 -0
- package/node_modules/d3-format/locale/hu-HU.json +6 -0
- package/node_modules/d3-format/locale/it-IT.json +6 -0
- package/node_modules/d3-format/locale/ja-JP.json +6 -0
- package/node_modules/d3-format/locale/ko-KR.json +6 -0
- package/node_modules/d3-format/locale/mk-MK.json +6 -0
- package/node_modules/d3-format/locale/nl-NL.json +6 -0
- package/node_modules/d3-format/locale/pl-PL.json +6 -0
- package/node_modules/d3-format/locale/pt-BR.json +6 -0
- package/node_modules/d3-format/locale/ru-RU.json +6 -0
- package/node_modules/d3-format/locale/sv-SE.json +6 -0
- package/node_modules/d3-format/locale/uk-UA.json +6 -0
- package/node_modules/d3-format/locale/zh-CN.json +6 -0
- package/node_modules/d3-format/package.json +77 -0
- package/node_modules/d3-format/src/defaultLocale.js +20 -0
- package/node_modules/d3-format/src/exponent.js +5 -0
- package/node_modules/d3-format/src/formatDecimal.js +20 -0
- package/node_modules/d3-format/src/formatGroup.js +18 -0
- package/node_modules/d3-format/src/formatNumerals.js +7 -0
- package/node_modules/d3-format/src/formatPrefixAuto.js +16 -0
- package/node_modules/d3-format/src/formatRounded.js +11 -0
- package/node_modules/d3-format/src/formatSpecifier.js +47 -0
- package/node_modules/d3-format/src/formatTrim.js +11 -0
- package/node_modules/d3-format/src/formatTypes.js +19 -0
- package/node_modules/d3-format/src/identity.js +3 -0
- package/node_modules/d3-format/src/index.js +6 -0
- package/node_modules/d3-format/src/locale.js +148 -0
- package/node_modules/d3-format/src/precisionFixed.js +5 -0
- package/node_modules/d3-format/src/precisionPrefix.js +5 -0
- package/node_modules/d3-format/src/precisionRound.js +6 -0
- package/node_modules/d3-geo/LICENSE +48 -0
- package/node_modules/d3-geo/README.md +683 -0
- package/node_modules/d3-geo/dist/d3-geo.js +3165 -0
- package/node_modules/d3-geo/dist/d3-geo.min.js +2 -0
- package/node_modules/d3-geo/package.json +83 -0
- package/node_modules/d3-geo/src/adder.js +40 -0
- package/node_modules/d3-geo/src/area.js +74 -0
- package/node_modules/d3-geo/src/bounds.js +179 -0
- package/node_modules/d3-geo/src/cartesian.js +33 -0
- package/node_modules/d3-geo/src/centroid.js +140 -0
- package/node_modules/d3-geo/src/circle.js +72 -0
- package/node_modules/d3-geo/src/clip/antimeridian.js +92 -0
- package/node_modules/d3-geo/src/clip/buffer.js +24 -0
- package/node_modules/d3-geo/src/clip/circle.js +177 -0
- package/node_modules/d3-geo/src/clip/extent.js +20 -0
- package/node_modules/d3-geo/src/clip/index.js +131 -0
- package/node_modules/d3-geo/src/clip/line.js +59 -0
- package/node_modules/d3-geo/src/clip/rectangle.js +168 -0
- package/node_modules/d3-geo/src/clip/rejoin.js +103 -0
- package/node_modules/d3-geo/src/compose.js +12 -0
- package/node_modules/d3-geo/src/constant.js +5 -0
- package/node_modules/d3-geo/src/contains.js +97 -0
- package/node_modules/d3-geo/src/distance.js +10 -0
- package/node_modules/d3-geo/src/graticule.js +105 -0
- package/node_modules/d3-geo/src/identity.js +3 -0
- package/node_modules/d3-geo/src/index.js +34 -0
- package/node_modules/d3-geo/src/interpolate.js +36 -0
- package/node_modules/d3-geo/src/length.js +53 -0
- package/node_modules/d3-geo/src/math.js +35 -0
- package/node_modules/d3-geo/src/noop.js +1 -0
- package/node_modules/d3-geo/src/path/area.js +50 -0
- package/node_modules/d3-geo/src/path/bounds.js +28 -0
- package/node_modules/d3-geo/src/path/centroid.js +100 -0
- package/node_modules/d3-geo/src/path/context.js +45 -0
- package/node_modules/d3-geo/src/path/index.js +61 -0
- package/node_modules/d3-geo/src/path/measure.js +45 -0
- package/node_modules/d3-geo/src/path/string.js +59 -0
- package/node_modules/d3-geo/src/pointEqual.js +5 -0
- package/node_modules/d3-geo/src/polygonContains.js +79 -0
- package/node_modules/d3-geo/src/projection/albers.js +10 -0
- package/node_modules/d3-geo/src/projection/albersUsa.js +111 -0
- package/node_modules/d3-geo/src/projection/azimuthal.js +26 -0
- package/node_modules/d3-geo/src/projection/azimuthalEqualArea.js +17 -0
- package/node_modules/d3-geo/src/projection/azimuthalEquidistant.js +17 -0
- package/node_modules/d3-geo/src/projection/conic.js +15 -0
- package/node_modules/d3-geo/src/projection/conicConformal.js +38 -0
- package/node_modules/d3-geo/src/projection/conicEqualArea.js +33 -0
- package/node_modules/d3-geo/src/projection/conicEquidistant.js +32 -0
- package/node_modules/d3-geo/src/projection/cylindricalEqualArea.js +15 -0
- package/node_modules/d3-geo/src/projection/equalEarth.js +36 -0
- package/node_modules/d3-geo/src/projection/equirectangular.js +12 -0
- package/node_modules/d3-geo/src/projection/fit.js +47 -0
- package/node_modules/d3-geo/src/projection/gnomonic.js +16 -0
- package/node_modules/d3-geo/src/projection/identity.js +85 -0
- package/node_modules/d3-geo/src/projection/index.js +176 -0
- package/node_modules/d3-geo/src/projection/mercator.js +52 -0
- package/node_modules/d3-geo/src/projection/naturalEarth1.js +28 -0
- package/node_modules/d3-geo/src/projection/orthographic.js +15 -0
- package/node_modules/d3-geo/src/projection/resample.js +102 -0
- package/node_modules/d3-geo/src/projection/stereographic.js +18 -0
- package/node_modules/d3-geo/src/projection/transverseMercator.js +27 -0
- package/node_modules/d3-geo/src/rotation.js +76 -0
- package/node_modules/d3-geo/src/stream.js +69 -0
- package/node_modules/d3-geo/src/transform.js +26 -0
- package/node_modules/d3-hierarchy/LICENSE +27 -0
- package/node_modules/d3-hierarchy/README.md +548 -0
- package/node_modules/d3-hierarchy/dist/d3-hierarchy.js +1290 -0
- package/node_modules/d3-hierarchy/dist/d3-hierarchy.min.js +2 -0
- package/node_modules/d3-hierarchy/package.json +81 -0
- package/node_modules/d3-hierarchy/src/accessors.js +8 -0
- package/node_modules/d3-hierarchy/src/array.js +16 -0
- package/node_modules/d3-hierarchy/src/cluster.js +84 -0
- package/node_modules/d3-hierarchy/src/constant.js +9 -0
- package/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +7 -0
- package/node_modules/d3-hierarchy/src/hierarchy/count.js +12 -0
- package/node_modules/d3-hierarchy/src/hierarchy/descendants.js +7 -0
- package/node_modules/d3-hierarchy/src/hierarchy/each.js +13 -0
- package/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +13 -0
- package/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +10 -0
- package/node_modules/d3-hierarchy/src/hierarchy/index.js +79 -0
- package/node_modules/d3-hierarchy/src/hierarchy/leaves.js +9 -0
- package/node_modules/d3-hierarchy/src/hierarchy/links.js +9 -0
- package/node_modules/d3-hierarchy/src/hierarchy/path.js +30 -0
- package/node_modules/d3-hierarchy/src/hierarchy/sort.js +7 -0
- package/node_modules/d3-hierarchy/src/hierarchy/sum.js +9 -0
- package/node_modules/d3-hierarchy/src/index.js +15 -0
- package/node_modules/d3-hierarchy/src/pack/enclose.js +118 -0
- package/node_modules/d3-hierarchy/src/pack/index.js +79 -0
- package/node_modules/d3-hierarchy/src/pack/siblings.js +118 -0
- package/node_modules/d3-hierarchy/src/partition.js +52 -0
- package/node_modules/d3-hierarchy/src/stratify.js +73 -0
- package/node_modules/d3-hierarchy/src/tree.js +237 -0
- package/node_modules/d3-hierarchy/src/treemap/binary.js +46 -0
- package/node_modules/d3-hierarchy/src/treemap/dice.js +12 -0
- package/node_modules/d3-hierarchy/src/treemap/index.js +94 -0
- package/node_modules/d3-hierarchy/src/treemap/resquarify.js +36 -0
- package/node_modules/d3-hierarchy/src/treemap/round.js +6 -0
- package/node_modules/d3-hierarchy/src/treemap/slice.js +12 -0
- package/node_modules/d3-hierarchy/src/treemap/sliceDice.js +6 -0
- package/node_modules/d3-hierarchy/src/treemap/squarify.js +66 -0
- package/node_modules/d3-interpolate/LICENSE +27 -0
- package/node_modules/d3-interpolate/README.md +250 -0
- package/node_modules/d3-interpolate/dist/d3-interpolate.js +593 -0
- package/node_modules/d3-interpolate/dist/d3-interpolate.min.js +2 -0
- package/node_modules/d3-interpolate/package.json +82 -0
- package/node_modules/d3-interpolate/src/array.js +22 -0
- package/node_modules/d3-interpolate/src/basis.js +19 -0
- package/node_modules/d3-interpolate/src/basisClosed.js +13 -0
- package/node_modules/d3-interpolate/src/color.js +29 -0
- package/node_modules/d3-interpolate/src/constant.js +5 -0
- package/node_modules/d3-interpolate/src/cubehelix.js +29 -0
- package/node_modules/d3-interpolate/src/date.js +6 -0
- package/node_modules/d3-interpolate/src/discrete.js +6 -0
- package/node_modules/d3-interpolate/src/hcl.js +21 -0
- package/node_modules/d3-interpolate/src/hsl.js +21 -0
- package/node_modules/d3-interpolate/src/hue.js +9 -0
- package/node_modules/d3-interpolate/src/index.js +21 -0
- package/node_modules/d3-interpolate/src/lab.js +16 -0
- package/node_modules/d3-interpolate/src/number.js +5 -0
- package/node_modules/d3-interpolate/src/numberArray.js +14 -0
- package/node_modules/d3-interpolate/src/object.js +23 -0
- package/node_modules/d3-interpolate/src/piecewise.js +8 -0
- package/node_modules/d3-interpolate/src/quantize.js +5 -0
- package/node_modules/d3-interpolate/src/rgb.js +55 -0
- package/node_modules/d3-interpolate/src/round.js +5 -0
- package/node_modules/d3-interpolate/src/string.js +64 -0
- package/node_modules/d3-interpolate/src/transform/decompose.js +26 -0
- package/node_modules/d3-interpolate/src/transform/index.js +63 -0
- package/node_modules/d3-interpolate/src/transform/parse.js +25 -0
- package/node_modules/d3-interpolate/src/value.js +22 -0
- package/node_modules/d3-interpolate/src/zoom.js +64 -0
- package/node_modules/d3-path/LICENSE +27 -0
- package/node_modules/d3-path/README.md +78 -0
- package/node_modules/d3-path/dist/d3-path.js +141 -0
- package/node_modules/d3-path/dist/d3-path.min.js +2 -0
- package/node_modules/d3-path/package.json +80 -0
- package/node_modules/d3-path/src/index.js +1 -0
- package/node_modules/d3-path/src/path.js +130 -0
- package/node_modules/d3-polygon/LICENSE +27 -0
- package/node_modules/d3-polygon/README.md +40 -0
- package/node_modules/d3-polygon/dist/d3-polygon.js +150 -0
- package/node_modules/d3-polygon/dist/d3-polygon.min.js +2 -0
- package/node_modules/d3-polygon/package.json +75 -0
- package/node_modules/d3-polygon/src/area.js +15 -0
- package/node_modules/d3-polygon/src/centroid.js +20 -0
- package/node_modules/d3-polygon/src/contains.js +16 -0
- package/node_modules/d3-polygon/src/cross.js +7 -0
- package/node_modules/d3-polygon/src/hull.js +49 -0
- package/node_modules/d3-polygon/src/index.js +5 -0
- package/node_modules/d3-polygon/src/length.js +23 -0
- package/node_modules/d3-quadtree/LICENSE +27 -0
- package/node_modules/d3-quadtree/README.md +163 -0
- package/node_modules/d3-quadtree/dist/d3-quadtree.js +419 -0
- package/node_modules/d3-quadtree/dist/d3-quadtree.min.js +2 -0
- package/node_modules/d3-quadtree/package.json +74 -0
- package/node_modules/d3-quadtree/src/add.js +84 -0
- package/node_modules/d3-quadtree/src/cover.js +43 -0
- package/node_modules/d3-quadtree/src/data.js +7 -0
- package/node_modules/d3-quadtree/src/extent.js +5 -0
- package/node_modules/d3-quadtree/src/find.js +70 -0
- package/node_modules/d3-quadtree/src/index.js +1 -0
- package/node_modules/d3-quadtree/src/quad.js +7 -0
- package/node_modules/d3-quadtree/src/quadtree.js +73 -0
- package/node_modules/d3-quadtree/src/remove.js +62 -0
- package/node_modules/d3-quadtree/src/root.js +3 -0
- package/node_modules/d3-quadtree/src/size.js +7 -0
- package/node_modules/d3-quadtree/src/visit.js +16 -0
- package/node_modules/d3-quadtree/src/visitAfter.js +21 -0
- package/node_modules/d3-quadtree/src/x.js +7 -0
- package/node_modules/d3-quadtree/src/y.js +7 -0
- package/node_modules/d3-random/.eslintrc.json +15 -0
- package/node_modules/d3-random/LICENSE +27 -0
- package/node_modules/d3-random/README.md +63 -0
- package/node_modules/d3-random/dist/d3-random.js +115 -0
- package/node_modules/d3-random/dist/d3-random.min.js +2 -0
- package/node_modules/d3-random/package.json +70 -0
- package/node_modules/d3-random/rollup.config.js +36 -0
- package/node_modules/d3-random/src/bates.js +15 -0
- package/node_modules/d3-random/src/defaultSource.js +3 -0
- package/node_modules/d3-random/src/exponential.js +13 -0
- package/node_modules/d3-random/src/index.js +6 -0
- package/node_modules/d3-random/src/irwinHall.js +14 -0
- package/node_modules/d3-random/src/logNormal.js +15 -0
- package/node_modules/d3-random/src/normal.js +28 -0
- package/node_modules/d3-random/src/uniform.js +17 -0
- package/node_modules/d3-random/yarn.lock +943 -0
- package/node_modules/d3-scale/.eslintrc.json +15 -0
- package/node_modules/d3-scale/LICENSE +27 -0
- package/node_modules/d3-scale/README.md +952 -0
- package/node_modules/d3-scale/dist/d3-scale.js +1165 -0
- package/node_modules/d3-scale/dist/d3-scale.min.js +2 -0
- package/node_modules/d3-scale/package.json +77 -0
- package/node_modules/d3-scale/rollup.config.js +36 -0
- package/node_modules/d3-scale/src/array.js +4 -0
- package/node_modules/d3-scale/src/band.js +100 -0
- package/node_modules/d3-scale/src/colors.js +5 -0
- package/node_modules/d3-scale/src/constant.js +5 -0
- package/node_modules/d3-scale/src/continuous.js +124 -0
- package/node_modules/d3-scale/src/diverging.js +91 -0
- package/node_modules/d3-scale/src/identity.js +29 -0
- package/node_modules/d3-scale/src/index.js +74 -0
- package/node_modules/d3-scale/src/init.js +17 -0
- package/node_modules/d3-scale/src/linear.js +72 -0
- package/node_modules/d3-scale/src/log.js +145 -0
- package/node_modules/d3-scale/src/nice.js +18 -0
- package/node_modules/d3-scale/src/number.js +3 -0
- package/node_modules/d3-scale/src/ordinal.js +45 -0
- package/node_modules/d3-scale/src/pow.js +50 -0
- package/node_modules/d3-scale/src/quantile.js +58 -0
- package/node_modules/d3-scale/src/quantize.js +57 -0
- package/node_modules/d3-scale/src/sequential.js +95 -0
- package/node_modules/d3-scale/src/sequentialQuantile.js +30 -0
- package/node_modules/d3-scale/src/symlog.js +35 -0
- package/node_modules/d3-scale/src/threshold.js +40 -0
- package/node_modules/d3-scale/src/tickFormat.js +29 -0
- package/node_modules/d3-scale/src/time.js +135 -0
- package/node_modules/d3-scale/src/utcTime.js +8 -0
- package/node_modules/d3-scale/yarn.lock +967 -0
- package/node_modules/d3-scale-chromatic/LICENSE +44 -0
- package/node_modules/d3-scale-chromatic/README.md +386 -0
- package/node_modules/d3-scale-chromatic/dist/d3-scale-chromatic.js +521 -0
- package/node_modules/d3-scale-chromatic/dist/d3-scale-chromatic.min.js +2 -0
- package/node_modules/d3-scale-chromatic/package.json +79 -0
- package/node_modules/d3-scale-chromatic/src/categorical/Accent.js +3 -0
- package/node_modules/d3-scale-chromatic/src/categorical/Dark2.js +3 -0
- package/node_modules/d3-scale-chromatic/src/categorical/Paired.js +3 -0
- package/node_modules/d3-scale-chromatic/src/categorical/Pastel1.js +3 -0
- package/node_modules/d3-scale-chromatic/src/categorical/Pastel2.js +3 -0
- package/node_modules/d3-scale-chromatic/src/categorical/Set1.js +3 -0
- package/node_modules/d3-scale-chromatic/src/categorical/Set2.js +3 -0
- package/node_modules/d3-scale-chromatic/src/categorical/Set3.js +3 -0
- package/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +3 -0
- package/node_modules/d3-scale-chromatic/src/categorical/category10.js +3 -0
- package/node_modules/d3-scale-chromatic/src/colors.js +5 -0
- package/node_modules/d3-scale-chromatic/src/diverging/BrBG.js +16 -0
- package/node_modules/d3-scale-chromatic/src/diverging/PRGn.js +16 -0
- package/node_modules/d3-scale-chromatic/src/diverging/PiYG.js +16 -0
- package/node_modules/d3-scale-chromatic/src/diverging/PuOr.js +16 -0
- package/node_modules/d3-scale-chromatic/src/diverging/RdBu.js +16 -0
- package/node_modules/d3-scale-chromatic/src/diverging/RdGy.js +16 -0
- package/node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js +16 -0
- package/node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js +16 -0
- package/node_modules/d3-scale-chromatic/src/diverging/Spectral.js +16 -0
- package/node_modules/d3-scale-chromatic/src/index.js +43 -0
- package/node_modules/d3-scale-chromatic/src/ramp.js +5 -0
- package/node_modules/d3-scale-chromatic/src/rampClosed.js +9 -0
- package/node_modules/d3-scale-chromatic/src/scheme.js +11 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/cividis.js +8 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js +4 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js +17 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/turbo.js +8 -0
- package/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js +16 -0
- package/node_modules/d3-scale-chromatic/src/sequential-single/Blues.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-single/Greens.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-single/Greys.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-single/Purples.js +14 -0
- package/node_modules/d3-scale-chromatic/src/sequential-single/Reds.js +14 -0
- package/node_modules/d3-selection/LICENSE +26 -0
- package/node_modules/d3-selection/README.md +829 -0
- package/node_modules/d3-selection/dist/d3-selection.js +989 -0
- package/node_modules/d3-selection/dist/d3-selection.min.js +2 -0
- package/node_modules/d3-selection/package.json +79 -0
- package/node_modules/d3-selection/src/constant.js +5 -0
- package/node_modules/d3-selection/src/create.js +6 -0
- package/node_modules/d3-selection/src/creator.js +25 -0
- package/node_modules/d3-selection/src/identity.js +3 -0
- package/node_modules/d3-selection/src/index.js +18 -0
- package/node_modules/d3-selection/src/local.js +27 -0
- package/node_modules/d3-selection/src/matcher.js +5 -0
- package/node_modules/d3-selection/src/mouse.js +8 -0
- package/node_modules/d3-selection/src/namespace.js +7 -0
- package/node_modules/d3-selection/src/namespaces.js +9 -0
- package/node_modules/d3-selection/src/point.js +13 -0
- package/node_modules/d3-selection/src/select.js +7 -0
- package/node_modules/d3-selection/src/selectAll.js +7 -0
- package/node_modules/d3-selection/src/selection/append.js +8 -0
- package/node_modules/d3-selection/src/selection/attr.js +57 -0
- package/node_modules/d3-selection/src/selection/call.js +6 -0
- package/node_modules/d3-selection/src/selection/classed.js +75 -0
- package/node_modules/d3-selection/src/selection/clone.js +13 -0
- package/node_modules/d3-selection/src/selection/data.js +118 -0
- package/node_modules/d3-selection/src/selection/datum.js +5 -0
- package/node_modules/d3-selection/src/selection/dispatch.js +34 -0
- package/node_modules/d3-selection/src/selection/each.js +10 -0
- package/node_modules/d3-selection/src/selection/empty.js +3 -0
- package/node_modules/d3-selection/src/selection/enter.js +22 -0
- package/node_modules/d3-selection/src/selection/exit.js +6 -0
- package/node_modules/d3-selection/src/selection/filter.js +16 -0
- package/node_modules/d3-selection/src/selection/html.js +25 -0
- package/node_modules/d3-selection/src/selection/index.js +79 -0
- package/node_modules/d3-selection/src/selection/insert.js +14 -0
- package/node_modules/d3-selection/src/selection/join.js +7 -0
- package/node_modules/d3-selection/src/selection/lower.js +7 -0
- package/node_modules/d3-selection/src/selection/merge.js +18 -0
- package/node_modules/d3-selection/src/selection/node.js +11 -0
- package/node_modules/d3-selection/src/selection/nodes.js +5 -0
- package/node_modules/d3-selection/src/selection/on.js +107 -0
- package/node_modules/d3-selection/src/selection/order.js +13 -0
- package/node_modules/d3-selection/src/selection/property.js +28 -0
- package/node_modules/d3-selection/src/selection/raise.js +7 -0
- package/node_modules/d3-selection/src/selection/remove.js +8 -0
- package/node_modules/d3-selection/src/selection/select.js +17 -0
- package/node_modules/d3-selection/src/selection/selectAll.js +17 -0
- package/node_modules/d3-selection/src/selection/size.js +5 -0
- package/node_modules/d3-selection/src/selection/sort.js +24 -0
- package/node_modules/d3-selection/src/selection/sparse.js +3 -0
- package/node_modules/d3-selection/src/selection/style.js +35 -0
- package/node_modules/d3-selection/src/selection/text.js +25 -0
- package/node_modules/d3-selection/src/selector.js +7 -0
- package/node_modules/d3-selection/src/selectorAll.js +9 -0
- package/node_modules/d3-selection/src/sourceEvent.js +7 -0
- package/node_modules/d3-selection/src/touch.js +14 -0
- package/node_modules/d3-selection/src/touches.js +12 -0
- package/node_modules/d3-selection/src/window.js +5 -0
- package/node_modules/d3-shape/LICENSE +27 -0
- package/node_modules/d3-shape/README.md +1149 -0
- package/node_modules/d3-shape/dist/d3-shape.js +1949 -0
- package/node_modules/d3-shape/dist/d3-shape.min.js +2 -0
- package/node_modules/d3-shape/package.json +79 -0
- package/node_modules/d3-shape/src/arc.js +261 -0
- package/node_modules/d3-shape/src/area.js +109 -0
- package/node_modules/d3-shape/src/areaRadial.js +29 -0
- package/node_modules/d3-shape/src/array.js +1 -0
- package/node_modules/d3-shape/src/constant.js +5 -0
- package/node_modules/d3-shape/src/curve/basis.js +51 -0
- package/node_modules/d3-shape/src/curve/basisClosed.js +52 -0
- package/node_modules/d3-shape/src/curve/basisOpen.js +39 -0
- package/node_modules/d3-shape/src/curve/bundle.js +56 -0
- package/node_modules/d3-shape/src/curve/cardinal.js +61 -0
- package/node_modules/d3-shape/src/curve/cardinalClosed.js +61 -0
- package/node_modules/d3-shape/src/curve/cardinalOpen.js +49 -0
- package/node_modules/d3-shape/src/curve/catmullRom.js +88 -0
- package/node_modules/d3-shape/src/curve/catmullRomClosed.js +74 -0
- package/node_modules/d3-shape/src/curve/catmullRomOpen.js +62 -0
- package/node_modules/d3-shape/src/curve/linear.js +31 -0
- package/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
- package/node_modules/d3-shape/src/curve/monotone.js +104 -0
- package/node_modules/d3-shape/src/curve/natural.js +65 -0
- package/node_modules/d3-shape/src/curve/radial.js +36 -0
- package/node_modules/d3-shape/src/curve/step.js +53 -0
- package/node_modules/d3-shape/src/descending.js +3 -0
- package/node_modules/d3-shape/src/identity.js +3 -0
- package/node_modules/d3-shape/src/index.js +46 -0
- package/node_modules/d3-shape/src/line.js +55 -0
- package/node_modules/d3-shape/src/lineRadial.js +19 -0
- package/node_modules/d3-shape/src/link/index.js +84 -0
- package/node_modules/d3-shape/src/math.js +20 -0
- package/node_modules/d3-shape/src/noop.js +1 -0
- package/node_modules/d3-shape/src/offset/diverging.js +14 -0
- package/node_modules/d3-shape/src/offset/expand.js +10 -0
- package/node_modules/d3-shape/src/offset/none.js +9 -0
- package/node_modules/d3-shape/src/offset/silhouette.js +10 -0
- package/node_modules/d3-shape/src/offset/wiggle.js +24 -0
- package/node_modules/d3-shape/src/order/appearance.js +12 -0
- package/node_modules/d3-shape/src/order/ascending.js +12 -0
- package/node_modules/d3-shape/src/order/descending.js +5 -0
- package/node_modules/d3-shape/src/order/insideOut.js +27 -0
- package/node_modules/d3-shape/src/order/none.js +5 -0
- package/node_modules/d3-shape/src/order/reverse.js +5 -0
- package/node_modules/d3-shape/src/pie.js +79 -0
- package/node_modules/d3-shape/src/point.js +7 -0
- package/node_modules/d3-shape/src/pointRadial.js +3 -0
- package/node_modules/d3-shape/src/stack.js +57 -0
- package/node_modules/d3-shape/src/symbol/circle.js +9 -0
- package/node_modules/d3-shape/src/symbol/cross.js +18 -0
- package/node_modules/d3-shape/src/symbol/diamond.js +14 -0
- package/node_modules/d3-shape/src/symbol/square.js +7 -0
- package/node_modules/d3-shape/src/symbol/star.js +24 -0
- package/node_modules/d3-shape/src/symbol/triangle.js +11 -0
- package/node_modules/d3-shape/src/symbol/wye.js +26 -0
- package/node_modules/d3-shape/src/symbol.js +46 -0
- package/node_modules/d3-time/LICENSE +27 -0
- package/node_modules/d3-time/README.md +333 -0
- package/node_modules/d3-time/dist/d3-time.js +373 -0
- package/node_modules/d3-time/dist/d3-time.min.js +2 -0
- package/node_modules/d3-time/package.json +76 -0
- package/node_modules/d3-time/src/day.js +15 -0
- package/node_modules/d3-time/src/duration.js +5 -0
- package/node_modules/d3-time/src/hour.js +15 -0
- package/node_modules/d3-time/src/index.js +105 -0
- package/node_modules/d3-time/src/interval.js +70 -0
- package/node_modules/d3-time/src/millisecond.js +26 -0
- package/node_modules/d3-time/src/minute.js +15 -0
- package/node_modules/d3-time/src/month.js +15 -0
- package/node_modules/d3-time/src/second.js +15 -0
- package/node_modules/d3-time/src/utcDay.js +15 -0
- package/node_modules/d3-time/src/utcHour.js +15 -0
- package/node_modules/d3-time/src/utcMinute.js +15 -0
- package/node_modules/d3-time/src/utcMonth.js +15 -0
- package/node_modules/d3-time/src/utcWeek.js +29 -0
- package/node_modules/d3-time/src/utcYear.js +26 -0
- package/node_modules/d3-time/src/week.js +29 -0
- package/node_modules/d3-time/src/year.js +26 -0
- package/node_modules/d3-time-format/LICENSE +27 -0
- package/node_modules/d3-time-format/README.md +199 -0
- package/node_modules/d3-time-format/dist/d3-time-format.js +743 -0
- package/node_modules/d3-time-format/dist/d3-time-format.min.js +2 -0
- package/node_modules/d3-time-format/locale/ar-EG.json +10 -0
- package/node_modules/d3-time-format/locale/ca-ES.json +10 -0
- package/node_modules/d3-time-format/locale/cs-CZ.json +10 -0
- package/node_modules/d3-time-format/locale/da-DK.json +10 -0
- package/node_modules/d3-time-format/locale/de-CH.json +10 -0
- package/node_modules/d3-time-format/locale/de-DE.json +10 -0
- package/node_modules/d3-time-format/locale/en-CA.json +10 -0
- package/node_modules/d3-time-format/locale/en-GB.json +10 -0
- package/node_modules/d3-time-format/locale/en-US.json +10 -0
- package/node_modules/d3-time-format/locale/es-ES.json +10 -0
- package/node_modules/d3-time-format/locale/es-MX.json +10 -0
- package/node_modules/d3-time-format/locale/fa-IR.json +10 -0
- package/node_modules/d3-time-format/locale/fi-FI.json +10 -0
- package/node_modules/d3-time-format/locale/fr-CA.json +10 -0
- package/node_modules/d3-time-format/locale/fr-FR.json +10 -0
- package/node_modules/d3-time-format/locale/he-IL.json +10 -0
- package/node_modules/d3-time-format/locale/hu-HU.json +10 -0
- package/node_modules/d3-time-format/locale/it-IT.json +10 -0
- package/node_modules/d3-time-format/locale/ja-JP.json +10 -0
- package/node_modules/d3-time-format/locale/ko-KR.json +10 -0
- package/node_modules/d3-time-format/locale/mk-MK.json +10 -0
- package/node_modules/d3-time-format/locale/nb-NO.json +10 -0
- package/node_modules/d3-time-format/locale/nl-NL.json +10 -0
- package/node_modules/d3-time-format/locale/pl-PL.json +10 -0
- package/node_modules/d3-time-format/locale/pt-BR.json +10 -0
- package/node_modules/d3-time-format/locale/ru-RU.json +10 -0
- package/node_modules/d3-time-format/locale/sv-SE.json +10 -0
- package/node_modules/d3-time-format/locale/tr-TR.json +10 -0
- package/node_modules/d3-time-format/locale/uk-UA.json +10 -0
- package/node_modules/d3-time-format/locale/zh-CN.json +10 -0
- package/node_modules/d3-time-format/locale/zh-TW.json +10 -0
- package/node_modules/d3-time-format/package.json +83 -0
- package/node_modules/d3-time-format/src/defaultLocale.js +27 -0
- package/node_modules/d3-time-format/src/index.js +4 -0
- package/node_modules/d3-time-format/src/isoFormat.js +13 -0
- package/node_modules/d3-time-format/src/isoParse.js +13 -0
- package/node_modules/d3-time-format/src/locale.js +699 -0
- package/node_modules/d3-timer/LICENSE +27 -0
- package/node_modules/d3-timer/README.md +75 -0
- package/node_modules/d3-timer/dist/d3-timer.js +149 -0
- package/node_modules/d3-timer/dist/d3-timer.min.js +2 -0
- package/node_modules/d3-timer/package.json +79 -0
- package/node_modules/d3-timer/src/index.js +13 -0
- package/node_modules/d3-timer/src/interval.js +13 -0
- package/node_modules/d3-timer/src/timeout.js +11 -0
- package/node_modules/d3-timer/src/timer.js +110 -0
- package/node_modules/d3-transition/LICENSE +58 -0
- package/node_modules/d3-transition/README.md +448 -0
- package/node_modules/d3-transition/dist/d3-transition.js +880 -0
- package/node_modules/d3-transition/dist/d3-transition.min.js +2 -0
- package/node_modules/d3-transition/package.json +85 -0
- package/node_modules/d3-transition/src/active.js +21 -0
- package/node_modules/d3-transition/src/index.js +4 -0
- package/node_modules/d3-transition/src/interrupt.js +24 -0
- package/node_modules/d3-transition/src/selection/index.js +6 -0
- package/node_modules/d3-transition/src/selection/interrupt.js +7 -0
- package/node_modules/d3-transition/src/selection/transition.js +42 -0
- package/node_modules/d3-transition/src/transition/attr.js +78 -0
- package/node_modules/d3-transition/src/transition/attrTween.js +44 -0
- package/node_modules/d3-transition/src/transition/delay.js +23 -0
- package/node_modules/d3-transition/src/transition/duration.js +23 -0
- package/node_modules/d3-transition/src/transition/ease.js +16 -0
- package/node_modules/d3-transition/src/transition/end.js +26 -0
- package/node_modules/d3-transition/src/transition/filter.js +16 -0
- package/node_modules/d3-transition/src/transition/index.js +68 -0
- package/node_modules/d3-transition/src/transition/interpolate.js +10 -0
- package/node_modules/d3-transition/src/transition/merge.js +19 -0
- package/node_modules/d3-transition/src/transition/on.js +32 -0
- package/node_modules/d3-transition/src/transition/remove.js +11 -0
- package/node_modules/d3-transition/src/transition/schedule.js +153 -0
- package/node_modules/d3-transition/src/transition/select.js +22 -0
- package/node_modules/d3-transition/src/transition/selectAll.js +26 -0
- package/node_modules/d3-transition/src/transition/selection.js +7 -0
- package/node_modules/d3-transition/src/transition/style.js +80 -0
- package/node_modules/d3-transition/src/transition/styleTween.js +24 -0
- package/node_modules/d3-transition/src/transition/text.js +20 -0
- package/node_modules/d3-transition/src/transition/textTween.js +24 -0
- package/node_modules/d3-transition/src/transition/transition.js +24 -0
- package/node_modules/d3-transition/src/transition/tween.js +81 -0
- package/node_modules/d3-voronoi/.eslintrc.json +16 -0
- package/node_modules/d3-voronoi/LICENSE +50 -0
- package/node_modules/d3-voronoi/README.md +164 -0
- package/node_modules/d3-voronoi/dist/d3-voronoi.js +999 -0
- package/node_modules/d3-voronoi/dist/d3-voronoi.min.js +2 -0
- package/node_modules/d3-voronoi/package.json +68 -0
- package/node_modules/d3-voronoi/rollup.config.js +36 -0
- package/node_modules/d3-voronoi/src/Beach.js +193 -0
- package/node_modules/d3-voronoi/src/Cell.js +126 -0
- package/node_modules/d3-voronoi/src/Circle.js +78 -0
- package/node_modules/d3-voronoi/src/Diagram.js +142 -0
- package/node_modules/d3-voronoi/src/Edge.js +168 -0
- package/node_modules/d3-voronoi/src/RedBlackTree.js +237 -0
- package/node_modules/d3-voronoi/src/constant.js +5 -0
- package/node_modules/d3-voronoi/src/index.js +1 -0
- package/node_modules/d3-voronoi/src/point.js +7 -0
- package/node_modules/d3-voronoi/src/voronoi.js +48 -0
- package/node_modules/d3-voronoi/yarn.lock +935 -0
- package/node_modules/d3-zoom/LICENSE +27 -0
- package/node_modules/d3-zoom/README.md +398 -0
- package/node_modules/d3-zoom/dist/d3-zoom.js +497 -0
- package/node_modules/d3-zoom/dist/d3-zoom.min.js +2 -0
- package/node_modules/d3-zoom/package.json +80 -0
- package/node_modules/d3-zoom/src/constant.js +5 -0
- package/node_modules/d3-zoom/src/event.js +5 -0
- package/node_modules/d3-zoom/src/index.js +2 -0
- package/node_modules/d3-zoom/src/noevent.js +10 -0
- package/node_modules/d3-zoom/src/transform.js +51 -0
- package/node_modules/d3-zoom/src/zoom.js +419 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +113 -0
- package/node_modules/debug/src/browser.js +269 -0
- package/node_modules/debug/src/common.js +274 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/decompress-response/index.d.ts +29 -0
- package/node_modules/decompress-response/index.js +40 -0
- package/node_modules/decompress-response/license +9 -0
- package/node_modules/decompress-response/package.json +85 -0
- package/node_modules/decompress-response/readme.md +52 -0
- package/node_modules/delayed-stream/.npmignore +1 -0
- package/node_modules/delayed-stream/License +19 -0
- package/node_modules/delayed-stream/Makefile +7 -0
- package/node_modules/delayed-stream/Readme.md +141 -0
- package/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/node_modules/delayed-stream/package.json +65 -0
- package/node_modules/delegates/.npmignore +1 -0
- package/node_modules/delegates/History.md +22 -0
- package/node_modules/delegates/License +20 -0
- package/node_modules/delegates/Makefile +8 -0
- package/node_modules/delegates/Readme.md +94 -0
- package/node_modules/delegates/index.js +121 -0
- package/node_modules/delegates/package.json +51 -0
- package/node_modules/delegates/test/index.js +94 -0
- package/node_modules/detect-libc/LICENSE +201 -0
- package/node_modules/detect-libc/README.md +160 -0
- package/node_modules/detect-libc/index.d.ts +11 -0
- package/node_modules/detect-libc/lib/detect-libc.js +178 -0
- package/node_modules/detect-libc/lib/process.js +16 -0
- package/node_modules/detect-libc/package.json +74 -0
- package/node_modules/dirname-shim/LICENSE +20 -0
- package/node_modules/dirname-shim/README.md +11 -0
- package/node_modules/dirname-shim/package.json +62 -0
- package/node_modules/dirname-shim/shim.js +110 -0
- package/node_modules/dotenv/CHANGELOG.md +356 -0
- package/node_modules/dotenv/LICENSE +23 -0
- package/node_modules/dotenv/README.md +408 -0
- package/node_modules/dotenv/config.d.ts +1 -0
- package/node_modules/dotenv/config.js +9 -0
- package/node_modules/dotenv/lib/cli-options.js +11 -0
- package/node_modules/dotenv/lib/env-options.js +20 -0
- package/node_modules/dotenv/lib/main.d.ts +73 -0
- package/node_modules/dotenv/lib/main.js +109 -0
- package/node_modules/dotenv/package.json +87 -0
- package/node_modules/duplexer/.travis.yml +6 -0
- package/node_modules/duplexer/LICENCE +19 -0
- package/node_modules/duplexer/README.md +49 -0
- package/node_modules/duplexer/index.js +87 -0
- package/node_modules/duplexer/package.json +77 -0
- package/node_modules/duplexer/test/index.js +31 -0
- package/node_modules/duplexify/.travis.yml +6 -0
- package/node_modules/duplexify/LICENSE +21 -0
- package/node_modules/duplexify/README.md +97 -0
- package/node_modules/duplexify/example.js +21 -0
- package/node_modules/duplexify/index.js +234 -0
- package/node_modules/duplexify/package.json +69 -0
- package/node_modules/duplexify/test.js +295 -0
- package/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/node_modules/emoji-regex/README.md +73 -0
- package/node_modules/emoji-regex/es2015/index.js +6 -0
- package/node_modules/emoji-regex/es2015/text.js +6 -0
- package/node_modules/emoji-regex/index.d.ts +23 -0
- package/node_modules/emoji-regex/index.js +6 -0
- package/node_modules/emoji-regex/package.json +80 -0
- package/node_modules/emoji-regex/text.js +6 -0
- package/node_modules/end-of-stream/LICENSE +21 -0
- package/node_modules/end-of-stream/README.md +54 -0
- package/node_modules/end-of-stream/index.js +94 -0
- package/node_modules/end-of-stream/package.json +69 -0
- package/node_modules/escalade/dist/index.js +22 -0
- package/node_modules/escalade/dist/index.mjs +22 -0
- package/node_modules/escalade/index.d.ts +3 -0
- package/node_modules/escalade/license +9 -0
- package/node_modules/escalade/package.json +96 -0
- package/node_modules/escalade/readme.md +211 -0
- package/node_modules/escalade/sync/index.d.ts +2 -0
- package/node_modules/escalade/sync/index.js +18 -0
- package/node_modules/escalade/sync/index.mjs +18 -0
- package/node_modules/extended-emitter/.travis.yml +6 -0
- package/node_modules/extended-emitter/LICENSE +20 -0
- package/node_modules/extended-emitter/README.md +65 -0
- package/node_modules/extended-emitter/extended-emitter.js +115 -0
- package/node_modules/extended-emitter/package.json +67 -0
- package/node_modules/extended-emitter/test.js +156 -0
- package/node_modules/fast-safe-stringify/.travis.yml +8 -0
- package/node_modules/fast-safe-stringify/CHANGELOG.md +17 -0
- package/node_modules/fast-safe-stringify/LICENSE +23 -0
- package/node_modules/fast-safe-stringify/benchmark.js +137 -0
- package/node_modules/fast-safe-stringify/index.d.ts +23 -0
- package/node_modules/fast-safe-stringify/index.js +229 -0
- package/node_modules/fast-safe-stringify/package.json +90 -0
- package/node_modules/fast-safe-stringify/readme.md +170 -0
- package/node_modules/fast-safe-stringify/test-stable.js +404 -0
- package/node_modules/fast-safe-stringify/test.js +397 -0
- package/node_modules/fast-stable-stringify/.npmignore +4 -0
- package/node_modules/fast-stable-stringify/.travis.yml +10 -0
- package/node_modules/fast-stable-stringify/LICENSE +21 -0
- package/node_modules/fast-stable-stringify/README.md +81 -0
- package/node_modules/fast-stable-stringify/cli/files-to-comparison-results.js +67 -0
- package/node_modules/fast-stable-stringify/cli/format-table.js +70 -0
- package/node_modules/fast-stable-stringify/cli/index.js +19 -0
- package/node_modules/fast-stable-stringify/fixtures/index.js +5 -0
- package/node_modules/fast-stable-stringify/fixtures/input-data-types.js +191 -0
- package/node_modules/fast-stable-stringify/fixtures/log-result.json +22 -0
- package/node_modules/fast-stable-stringify/fixtures/log.txt +24 -0
- package/node_modules/fast-stable-stringify/index.js +73 -0
- package/node_modules/fast-stable-stringify/karma.conf.js +124 -0
- package/node_modules/fast-stable-stringify/karma.conf.travis.js +95 -0
- package/node_modules/fast-stable-stringify/package.json +77 -0
- package/node_modules/fast-stable-stringify/results/escape-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/Edge 14.14393.0 (Windows 10 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/Firefox 54.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/IE 10.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/IE 11.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/IE 9.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-long/Safari 10.0.1 (Mac OS X 10.12.1).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/Edge 14.14393.0 (Windows 10 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/Firefox 54.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/IE 10.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/IE 11.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/IE 9.0.0 (Windows 7 0.0.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape-short/Safari 10.0.1 (Mac OS X 10.12.1).json +57 -0
- package/node_modules/fast-stable-stringify/results/escape.md +20 -0
- package/node_modules/fast-stable-stringify/results/itar-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/Edge 14.14393.0 (Windows 10 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/Firefox 54.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/IE 10.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/IE 11.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/IE 9.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-long/Safari 10.0.1 (Mac OS X 10.12.1).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/Edge 14.14393.0 (Windows 10 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/Firefox 54.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/IE 10.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/IE 11.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/IE 9.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar-short/Safari 10.0.1 (Mac OS X 10.12.1).json +35 -0
- package/node_modules/fast-stable-stringify/results/itar.md +20 -0
- package/node_modules/fast-stable-stringify/results/iter/Chrome 60.0.3112 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 39.0.0 (Android 5.1.1).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 55.0.2883 (Android 6.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Edge 14.14393.0 (Windows 10 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Firefox 54.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/IE 10.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/IE 11.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/IE 9.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 10.0.0 (iOS 10.3.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 9.0.0 (iOS 9.2.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Safari 10.0.1 (Mac OS X 10.12.1).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter/Safari 9.1.2 (Mac OS X 10.11.6).json +35 -0
- package/node_modules/fast-stable-stringify/results/iter.md +14 -0
- package/node_modules/fast-stable-stringify/results/libs/Chrome 60.0.3112 (Windows 7 0.0.0).json +46 -0
- package/node_modules/fast-stable-stringify/results/libs/Chrome Mobile 55.0.2883 (Android 6.0.0).json +46 -0
- package/node_modules/fast-stable-stringify/results/libs/Edge 14.14393.0 (Windows 10 0.0.0).json +46 -0
- package/node_modules/fast-stable-stringify/results/libs/Firefox 54.0.0 (Windows 7 0.0.0).json +46 -0
- package/node_modules/fast-stable-stringify/results/libs/IE 10.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/libs/IE 11.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/libs/IE 9.0.0 (Windows 7 0.0.0).json +35 -0
- package/node_modules/fast-stable-stringify/results/libs/Mobile Safari 10.0.0 (iOS 10.3.0).json +46 -0
- package/node_modules/fast-stable-stringify/results/libs/Safari 10.0.1 (Mac OS X 10.12.1).json +46 -0
- package/node_modules/fast-stable-stringify/results/libs.md +15 -0
- package/node_modules/fast-stable-stringify/test/escape-long.js +147 -0
- package/node_modules/fast-stable-stringify/test/escape-short.js +147 -0
- package/node_modules/fast-stable-stringify/test/index.js +6 -0
- package/node_modules/fast-stable-stringify/test/itar-long.js +52 -0
- package/node_modules/fast-stable-stringify/test/itar-short.js +52 -0
- package/node_modules/fast-stable-stringify/test/iter.js +84 -0
- package/node_modules/fast-stable-stringify/test/libs.js +57 -0
- package/node_modules/fast-stable-stringify/test/travis.js +43 -0
- package/node_modules/fast-stable-stringify/test/validate.js +24 -0
- package/node_modules/fast-stable-stringify/util/eachRecursive.js +9 -0
- package/node_modules/fast-stable-stringify/util/get-git-hash-sync.js +21 -0
- package/node_modules/fast-stable-stringify/util/get-lib-info.js +22 -0
- package/node_modules/fast-stable-stringify/util/object-path.js +47 -0
- package/node_modules/fast-stable-stringify/v8-profile/bench.js +8 -0
- package/node_modules/fast-stable-stringify/v8-profile/run.sh +2 -0
- package/node_modules/fast-stable-stringify/zuul-local.sh +2 -0
- package/node_modules/fill-range/LICENSE +21 -0
- package/node_modules/fill-range/README.md +237 -0
- package/node_modules/fill-range/index.js +249 -0
- package/node_modules/fill-range/package.json +117 -0
- package/node_modules/follow-redirects/LICENSE +18 -0
- package/node_modules/follow-redirects/README.md +155 -0
- package/node_modules/follow-redirects/debug.js +15 -0
- package/node_modules/follow-redirects/http.js +1 -0
- package/node_modules/follow-redirects/https.js +1 -0
- package/node_modules/follow-redirects/index.js +598 -0
- package/node_modules/follow-redirects/package.json +98 -0
- package/node_modules/form-data/License +19 -0
- package/node_modules/form-data/README.md.bak +358 -0
- package/node_modules/form-data/Readme.md +358 -0
- package/node_modules/form-data/index.d.ts +62 -0
- package/node_modules/form-data/lib/browser.js +2 -0
- package/node_modules/form-data/lib/form_data.js +501 -0
- package/node_modules/form-data/lib/populate.js +10 -0
- package/node_modules/form-data/package.json +104 -0
- package/node_modules/formidable/LICENSE +7 -0
- package/node_modules/formidable/Readme.md +448 -0
- package/node_modules/formidable/lib/file.js +81 -0
- package/node_modules/formidable/lib/incoming_form.js +564 -0
- package/node_modules/formidable/lib/index.js +3 -0
- package/node_modules/formidable/lib/json_parser.js +30 -0
- package/node_modules/formidable/lib/multipart_parser.js +332 -0
- package/node_modules/formidable/lib/octet_parser.js +20 -0
- package/node_modules/formidable/lib/querystring_parser.js +27 -0
- package/node_modules/formidable/package.json +63 -0
- package/node_modules/fs-minipass/LICENSE +15 -0
- package/node_modules/fs-minipass/README.md +70 -0
- package/node_modules/fs-minipass/index.js +422 -0
- package/node_modules/fs-minipass/package.json +71 -0
- package/node_modules/fs-readdir-recursive/LICENSE +22 -0
- package/node_modules/fs-readdir-recursive/README.md +61 -0
- package/node_modules/fs-readdir-recursive/index.js +29 -0
- package/node_modules/fs-readdir-recursive/package.json +60 -0
- package/node_modules/fs.realpath/LICENSE +43 -0
- package/node_modules/fs.realpath/README.md +33 -0
- package/node_modules/fs.realpath/index.js +66 -0
- package/node_modules/fs.realpath/old.js +303 -0
- package/node_modules/fs.realpath/package.json +62 -0
- package/node_modules/fsevents/LICENSE +22 -0
- package/node_modules/fsevents/README.md +83 -0
- package/node_modules/fsevents/fsevents.d.ts +46 -0
- package/node_modules/fsevents/fsevents.js +82 -0
- package/node_modules/fsevents/fsevents.node +0 -0
- package/node_modules/fsevents/package.json +91 -0
- package/node_modules/ftp-response-parser/.README.md.un~ +0 -0
- package/node_modules/ftp-response-parser/.index.js.un~ +0 -0
- package/node_modules/ftp-response-parser/.package.json.un~ +0 -0
- package/node_modules/ftp-response-parser/.test.js.un~ +0 -0
- package/node_modules/ftp-response-parser/LICENSE +20 -0
- package/node_modules/ftp-response-parser/README.md +104 -0
- package/node_modules/ftp-response-parser/index.js +82 -0
- package/node_modules/ftp-response-parser/node_modules/isarray/README.md +54 -0
- package/node_modules/ftp-response-parser/node_modules/isarray/build/build.js +209 -0
- package/node_modules/ftp-response-parser/node_modules/isarray/component.json +19 -0
- package/node_modules/ftp-response-parser/node_modules/isarray/index.js +3 -0
- package/node_modules/ftp-response-parser/node_modules/isarray/package.json +61 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/.npmignore +5 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/LICENSE +18 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/README.md +15 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/float.patch +923 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_duplex.js +89 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_passthrough.js +46 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_readable.js +951 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_transform.js +209 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_writable.js +477 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/package.json +69 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/readable.js +10 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/writable.js +1 -0
- package/node_modules/ftp-response-parser/node_modules/string_decoder/.npmignore +2 -0
- package/node_modules/ftp-response-parser/node_modules/string_decoder/LICENSE +20 -0
- package/node_modules/ftp-response-parser/node_modules/string_decoder/README.md +7 -0
- package/node_modules/ftp-response-parser/node_modules/string_decoder/index.js +221 -0
- package/node_modules/ftp-response-parser/node_modules/string_decoder/package.json +57 -0
- package/node_modules/ftp-response-parser/package.json +80 -0
- package/node_modules/ftp-response-parser/test.js +149 -0
- package/node_modules/function-bind/.editorconfig +20 -0
- package/node_modules/function-bind/.eslintrc +15 -0
- package/node_modules/function-bind/.jscs.json +176 -0
- package/node_modules/function-bind/.npmignore +22 -0
- package/node_modules/function-bind/.travis.yml +168 -0
- package/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/function-bind/README.md +48 -0
- package/node_modules/function-bind/implementation.js +52 -0
- package/node_modules/function-bind/index.js +5 -0
- package/node_modules/function-bind/package.json +100 -0
- package/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/function-bind/test/index.js +252 -0
- package/node_modules/gauge/CHANGELOG.md +163 -0
- package/node_modules/gauge/LICENSE +13 -0
- package/node_modules/gauge/README.md +402 -0
- package/node_modules/gauge/base-theme.js +14 -0
- package/node_modules/gauge/error.js +24 -0
- package/node_modules/gauge/has-color.js +4 -0
- package/node_modules/gauge/index.js +233 -0
- package/node_modules/gauge/package.json +97 -0
- package/node_modules/gauge/plumbing.js +48 -0
- package/node_modules/gauge/process.js +3 -0
- package/node_modules/gauge/progress-bar.js +35 -0
- package/node_modules/gauge/render-template.js +178 -0
- package/node_modules/gauge/set-immediate.js +7 -0
- package/node_modules/gauge/set-interval.js +3 -0
- package/node_modules/gauge/spin.js +5 -0
- package/node_modules/gauge/template-item.js +72 -0
- package/node_modules/gauge/theme-set.js +114 -0
- package/node_modules/gauge/themes.js +56 -0
- package/node_modules/gauge/wide-truncate.js +25 -0
- package/node_modules/generate-password/.eslintrc.yml +18 -0
- package/node_modules/generate-password/.github/workflows/nodejs.yml +33 -0
- package/node_modules/generate-password/CHANGELOG.md +79 -0
- package/node_modules/generate-password/LICENSE +21 -0
- package/node_modules/generate-password/README.md +61 -0
- package/node_modules/generate-password/example.js +28 -0
- package/node_modules/generate-password/main.js +1 -0
- package/node_modules/generate-password/package.json +68 -0
- package/node_modules/generate-password/src/generate.d.ts +51 -0
- package/node_modules/generate-password/src/generate.js +152 -0
- package/node_modules/generate-password/test/coverage.sh +17 -0
- package/node_modules/generate-password/test/esm.mjs +13 -0
- package/node_modules/generate-password/test/generator.js +164 -0
- package/node_modules/get-caller-file/LICENSE.md +6 -0
- package/node_modules/get-caller-file/README.md +41 -0
- package/node_modules/get-caller-file/index.d.ts +2 -0
- package/node_modules/get-caller-file/index.js +22 -0
- package/node_modules/get-caller-file/index.js.map +1 -0
- package/node_modules/get-caller-file/package.json +72 -0
- package/node_modules/get-intrinsic/.eslintrc +37 -0
- package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/node_modules/get-intrinsic/.nycrc +9 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +91 -0
- package/node_modules/get-intrinsic/LICENSE +21 -0
- package/node_modules/get-intrinsic/README.md +71 -0
- package/node_modules/get-intrinsic/index.js +334 -0
- package/node_modules/get-intrinsic/package.json +125 -0
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/node_modules/glob/LICENSE +21 -0
- package/node_modules/glob/README.md +378 -0
- package/node_modules/glob/common.js +238 -0
- package/node_modules/glob/glob.js +790 -0
- package/node_modules/glob/package.json +93 -0
- package/node_modules/glob/sync.js +486 -0
- package/node_modules/glob-parent/CHANGELOG.md +110 -0
- package/node_modules/glob-parent/LICENSE +15 -0
- package/node_modules/glob-parent/README.md +137 -0
- package/node_modules/glob-parent/index.js +42 -0
- package/node_modules/glob-parent/package.json +95 -0
- package/node_modules/has/LICENSE-MIT +22 -0
- package/node_modules/has/README.md +18 -0
- package/node_modules/has/package.json +81 -0
- package/node_modules/has/src/index.js +5 -0
- package/node_modules/has/test/index.js +10 -0
- package/node_modules/has-symbols/.eslintrc +11 -0
- package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/node_modules/has-symbols/.nycrc +9 -0
- package/node_modules/has-symbols/CHANGELOG.md +75 -0
- package/node_modules/has-symbols/LICENSE +21 -0
- package/node_modules/has-symbols/README.md +46 -0
- package/node_modules/has-symbols/index.js +13 -0
- package/node_modules/has-symbols/package.json +134 -0
- package/node_modules/has-symbols/shams.js +42 -0
- package/node_modules/has-symbols/test/index.js +22 -0
- package/node_modules/has-symbols/test/shams/core-js.js +28 -0
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +28 -0
- package/node_modules/has-symbols/test/tests.js +56 -0
- package/node_modules/has-unicode/LICENSE +14 -0
- package/node_modules/has-unicode/README.md +43 -0
- package/node_modules/has-unicode/index.js +16 -0
- package/node_modules/has-unicode/package.json +61 -0
- package/node_modules/hkdf/.npmignore +2 -0
- package/node_modules/hkdf/README.md +23 -0
- package/node_modules/hkdf/hkdf.py +171 -0
- package/node_modules/hkdf/hkdf.pyc +0 -0
- package/node_modules/hkdf/index.js +1 -0
- package/node_modules/hkdf/lib/hkdf.js +55 -0
- package/node_modules/hkdf/package.json +55 -0
- package/node_modules/hkdf/scripts/run_all_tests.sh +19 -0
- package/node_modules/hkdf/test/all-test.js +79 -0
- package/node_modules/hkdf/test.py +11 -0
- package/node_modules/https-proxy-agent/README.md +137 -0
- package/node_modules/https-proxy-agent/dist/agent.d.ts +30 -0
- package/node_modules/https-proxy-agent/dist/agent.js +177 -0
- package/node_modules/https-proxy-agent/dist/agent.js.map +1 -0
- package/node_modules/https-proxy-agent/dist/index.d.ts +23 -0
- package/node_modules/https-proxy-agent/dist/index.js +14 -0
- package/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/node_modules/https-proxy-agent/package.json +89 -0
- package/node_modules/iconv-lite/Changelog.md +162 -0
- package/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/iconv-lite/README.md +156 -0
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +555 -0
- package/node_modules/iconv-lite/encodings/dbcs-data.js +176 -0
- package/node_modules/iconv-lite/encodings/index.js +22 -0
- package/node_modules/iconv-lite/encodings/internal.js +188 -0
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/iconv-lite/encodings/sbcs-data.js +174 -0
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/iconv-lite/encodings/utf16.js +177 -0
- package/node_modules/iconv-lite/encodings/utf7.js +290 -0
- package/node_modules/iconv-lite/lib/bom-handling.js +52 -0
- package/node_modules/iconv-lite/lib/extend-node.js +217 -0
- package/node_modules/iconv-lite/lib/index.d.ts +24 -0
- package/node_modules/iconv-lite/lib/index.js +153 -0
- package/node_modules/iconv-lite/lib/streams.js +121 -0
- package/node_modules/iconv-lite/package.json +79 -0
- package/node_modules/immediate/LICENSE.txt +20 -0
- package/node_modules/immediate/README.md +93 -0
- package/node_modules/immediate/dist/immediate.js +75 -0
- package/node_modules/immediate/dist/immediate.min.js +1 -0
- package/node_modules/immediate/lib/browser.js +69 -0
- package/node_modules/immediate/lib/index.js +73 -0
- package/node_modules/immediate/package.json +86 -0
- package/node_modules/inflight/LICENSE +15 -0
- package/node_modules/inflight/README.md +37 -0
- package/node_modules/inflight/inflight.js +54 -0
- package/node_modules/inflight/package.json +61 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +70 -0
- package/node_modules/is-binary-path/index.d.ts +17 -0
- package/node_modules/is-binary-path/index.js +7 -0
- package/node_modules/is-binary-path/license +9 -0
- package/node_modules/is-binary-path/package.json +76 -0
- package/node_modules/is-binary-path/readme.md +34 -0
- package/node_modules/is-extglob/LICENSE +21 -0
- package/node_modules/is-extglob/README.md +107 -0
- package/node_modules/is-extglob/index.js +20 -0
- package/node_modules/is-extglob/package.json +103 -0
- package/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/node_modules/is-fullwidth-code-point/license +9 -0
- package/node_modules/is-fullwidth-code-point/package.json +80 -0
- package/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/node_modules/is-glob/LICENSE +21 -0
- package/node_modules/is-glob/README.md +206 -0
- package/node_modules/is-glob/index.js +150 -0
- package/node_modules/is-glob/package.json +127 -0
- package/node_modules/is-number/LICENSE +21 -0
- package/node_modules/is-number/README.md +187 -0
- package/node_modules/is-number/index.js +18 -0
- package/node_modules/is-number/package.json +125 -0
- package/node_modules/isarray/.npmignore +1 -0
- package/node_modules/isarray/.travis.yml +4 -0
- package/node_modules/isarray/Makefile +6 -0
- package/node_modules/isarray/README.md +60 -0
- package/node_modules/isarray/component.json +19 -0
- package/node_modules/isarray/index.js +5 -0
- package/node_modules/isarray/package.json +77 -0
- package/node_modules/isarray/test.js +20 -0
- package/node_modules/jsftp/LICENSE +22 -0
- package/node_modules/jsftp/README.md +329 -0
- package/node_modules/jsftp/index.js +1 -0
- package/node_modules/jsftp/lib/jsftp.js +772 -0
- package/node_modules/jsftp/node_modules/debug/CHANGELOG.md +395 -0
- package/node_modules/jsftp/node_modules/debug/LICENSE +19 -0
- package/node_modules/jsftp/node_modules/debug/README.md +437 -0
- package/node_modules/jsftp/node_modules/debug/node.js +1 -0
- package/node_modules/jsftp/node_modules/debug/package.json +94 -0
- package/node_modules/jsftp/node_modules/debug/src/browser.js +180 -0
- package/node_modules/jsftp/node_modules/debug/src/common.js +249 -0
- package/node_modules/jsftp/node_modules/debug/src/index.js +12 -0
- package/node_modules/jsftp/node_modules/debug/src/node.js +177 -0
- package/node_modules/jsftp/package.json +84 -0
- package/node_modules/json2csv/.eslintrc +7 -0
- package/node_modules/json2csv/.gitattributes +3 -0
- package/node_modules/json2csv/CHANGELOG.md +522 -0
- package/node_modules/json2csv/LICENSE.md +14 -0
- package/node_modules/json2csv/README.md +852 -0
- package/node_modules/json2csv/bin/json2csv.js +239 -0
- package/node_modules/json2csv/bin/utils/TablePrinter.js +96 -0
- package/node_modules/json2csv/bin/utils/parseNdjson.js +11 -0
- package/node_modules/json2csv/dist/json2csv.cjs.js +2286 -0
- package/node_modules/json2csv/dist/json2csv.esm.js +2276 -0
- package/node_modules/json2csv/dist/json2csv.umd.js +7440 -0
- package/node_modules/json2csv/lib/JSON2CSVAsyncParser.js +53 -0
- package/node_modules/json2csv/lib/JSON2CSVBase.js +291 -0
- package/node_modules/json2csv/lib/JSON2CSVParser.js +83 -0
- package/node_modules/json2csv/lib/JSON2CSVTransform.js +204 -0
- package/node_modules/json2csv/lib/json2csv.js +37 -0
- package/node_modules/json2csv/lib/utils.js +46 -0
- package/node_modules/json2csv/node_modules/commander/CHANGELOG.md +419 -0
- package/node_modules/json2csv/node_modules/commander/LICENSE +22 -0
- package/node_modules/json2csv/node_modules/commander/Readme.md +428 -0
- package/node_modules/json2csv/node_modules/commander/index.js +1224 -0
- package/node_modules/json2csv/node_modules/commander/package.json +73 -0
- package/node_modules/json2csv/node_modules/commander/typings/index.d.ts +310 -0
- package/node_modules/json2csv/package.json +96 -0
- package/node_modules/json2csv/rollup.config.js +47 -0
- package/node_modules/jsonparse/.npmignore +1 -0
- package/node_modules/jsonparse/LICENSE +24 -0
- package/node_modules/jsonparse/README.markdown +11 -0
- package/node_modules/jsonparse/bench.js +26 -0
- package/node_modules/jsonparse/examples/twitterfeed.js +30 -0
- package/node_modules/jsonparse/jsonparse.js +413 -0
- package/node_modules/jsonparse/package.json +61 -0
- package/node_modules/jsonparse/samplejson/basic.json +167 -0
- package/node_modules/jsonparse/samplejson/basic2.json +180 -0
- package/node_modules/jsonparse/test/big-token.js +24 -0
- package/node_modules/jsonparse/test/boundary.js +110 -0
- package/node_modules/jsonparse/test/offset.js +67 -0
- package/node_modules/jsonparse/test/primitives.js +57 -0
- package/node_modules/jsonparse/test/surrogate.js +26 -0
- package/node_modules/jsonparse/test/unvalid.js +15 -0
- package/node_modules/jsonparse/test/utf8.js +38 -0
- package/node_modules/jszip/.codeclimate.yml +16 -0
- package/node_modules/jszip/.editorconfig +8 -0
- package/node_modules/jszip/.github/workflows/pr.yaml +41 -0
- package/node_modules/jszip/.jshintignore +1 -0
- package/node_modules/jszip/.jshintrc +21 -0
- package/node_modules/jszip/.travis.yml +17 -0
- package/node_modules/jszip/CHANGES.md +192 -0
- package/node_modules/jszip/LICENSE.markdown +651 -0
- package/node_modules/jszip/README.markdown +33 -0
- package/node_modules/jszip/dist/jszip.js +11583 -0
- package/node_modules/jszip/dist/jszip.min.js +13 -0
- package/node_modules/jszip/index.d.ts +335 -0
- package/node_modules/jszip/lib/base64.js +106 -0
- package/node_modules/jszip/lib/compressedObject.js +74 -0
- package/node_modules/jszip/lib/compressions.js +14 -0
- package/node_modules/jszip/lib/crc32.js +77 -0
- package/node_modules/jszip/lib/defaults.js +11 -0
- package/node_modules/jszip/lib/external.js +19 -0
- package/node_modules/jszip/lib/flate.js +85 -0
- package/node_modules/jszip/lib/generate/ZipFileWorker.js +540 -0
- package/node_modules/jszip/lib/generate/index.js +57 -0
- package/node_modules/jszip/lib/index.js +55 -0
- package/node_modules/jszip/lib/license_header.js +11 -0
- package/node_modules/jszip/lib/load.js +88 -0
- package/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
- package/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
- package/node_modules/jszip/lib/nodejsUtils.js +57 -0
- package/node_modules/jszip/lib/object.js +389 -0
- package/node_modules/jszip/lib/readable-stream-browser.js +9 -0
- package/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
- package/node_modules/jszip/lib/reader/DataReader.js +116 -0
- package/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
- package/node_modules/jszip/lib/reader/StringReader.js +38 -0
- package/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
- package/node_modules/jszip/lib/reader/readerFor.js +28 -0
- package/node_modules/jszip/lib/signature.js +7 -0
- package/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
- package/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
- package/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
- package/node_modules/jszip/lib/stream/DataWorker.js +116 -0
- package/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
- package/node_modules/jszip/lib/stream/StreamHelper.js +212 -0
- package/node_modules/jszip/lib/support.js +38 -0
- package/node_modules/jszip/lib/utf8.js +275 -0
- package/node_modules/jszip/lib/utils.js +501 -0
- package/node_modules/jszip/lib/zipEntries.js +262 -0
- package/node_modules/jszip/lib/zipEntry.js +294 -0
- package/node_modules/jszip/lib/zipObject.js +133 -0
- package/node_modules/jszip/package.json +99 -0
- package/node_modules/jszip/tsconfig.json +101 -0
- package/node_modules/jszip/vendor/FileSaver.js +247 -0
- package/node_modules/lie/README.md +62 -0
- package/node_modules/lie/dist/lie.js +350 -0
- package/node_modules/lie/dist/lie.min.js +1 -0
- package/node_modules/lie/dist/lie.polyfill.js +358 -0
- package/node_modules/lie/dist/lie.polyfill.min.js +1 -0
- package/node_modules/lie/lib/browser.js +273 -0
- package/node_modules/lie/lib/index.js +298 -0
- package/node_modules/lie/license.md +7 -0
- package/node_modules/lie/lie.d.ts +244 -0
- package/node_modules/lie/package.json +98 -0
- package/node_modules/lie/polyfill.js +4 -0
- package/node_modules/lodash/LICENSE +47 -0
- package/node_modules/lodash/README.md +39 -0
- package/node_modules/lodash/_DataView.js +7 -0
- package/node_modules/lodash/_Hash.js +32 -0
- package/node_modules/lodash/_LazyWrapper.js +28 -0
- package/node_modules/lodash/_ListCache.js +32 -0
- package/node_modules/lodash/_LodashWrapper.js +22 -0
- package/node_modules/lodash/_Map.js +7 -0
- package/node_modules/lodash/_MapCache.js +32 -0
- package/node_modules/lodash/_Promise.js +7 -0
- package/node_modules/lodash/_Set.js +7 -0
- package/node_modules/lodash/_SetCache.js +27 -0
- package/node_modules/lodash/_Stack.js +27 -0
- package/node_modules/lodash/_Symbol.js +6 -0
- package/node_modules/lodash/_Uint8Array.js +6 -0
- package/node_modules/lodash/_WeakMap.js +7 -0
- package/node_modules/lodash/_apply.js +21 -0
- package/node_modules/lodash/_arrayAggregator.js +22 -0
- package/node_modules/lodash/_arrayEach.js +22 -0
- package/node_modules/lodash/_arrayEachRight.js +21 -0
- package/node_modules/lodash/_arrayEvery.js +23 -0
- package/node_modules/lodash/_arrayFilter.js +25 -0
- package/node_modules/lodash/_arrayIncludes.js +17 -0
- package/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/node_modules/lodash/_arrayMap.js +21 -0
- package/node_modules/lodash/_arrayPush.js +20 -0
- package/node_modules/lodash/_arrayReduce.js +26 -0
- package/node_modules/lodash/_arrayReduceRight.js +24 -0
- package/node_modules/lodash/_arraySample.js +15 -0
- package/node_modules/lodash/_arraySampleSize.js +17 -0
- package/node_modules/lodash/_arrayShuffle.js +15 -0
- package/node_modules/lodash/_arraySome.js +23 -0
- package/node_modules/lodash/_asciiSize.js +12 -0
- package/node_modules/lodash/_asciiToArray.js +12 -0
- package/node_modules/lodash/_asciiWords.js +15 -0
- package/node_modules/lodash/_assignMergeValue.js +20 -0
- package/node_modules/lodash/_assignValue.js +28 -0
- package/node_modules/lodash/_assocIndexOf.js +21 -0
- package/node_modules/lodash/_baseAggregator.js +21 -0
- package/node_modules/lodash/_baseAssign.js +17 -0
- package/node_modules/lodash/_baseAssignIn.js +17 -0
- package/node_modules/lodash/_baseAssignValue.js +25 -0
- package/node_modules/lodash/_baseAt.js +23 -0
- package/node_modules/lodash/_baseClamp.js +22 -0
- package/node_modules/lodash/_baseClone.js +166 -0
- package/node_modules/lodash/_baseConforms.js +18 -0
- package/node_modules/lodash/_baseConformsTo.js +27 -0
- package/node_modules/lodash/_baseCreate.js +30 -0
- package/node_modules/lodash/_baseDelay.js +21 -0
- package/node_modules/lodash/_baseDifference.js +67 -0
- package/node_modules/lodash/_baseEach.js +14 -0
- package/node_modules/lodash/_baseEachRight.js +14 -0
- package/node_modules/lodash/_baseEvery.js +21 -0
- package/node_modules/lodash/_baseExtremum.js +32 -0
- package/node_modules/lodash/_baseFill.js +32 -0
- package/node_modules/lodash/_baseFilter.js +21 -0
- package/node_modules/lodash/_baseFindIndex.js +24 -0
- package/node_modules/lodash/_baseFindKey.js +23 -0
- package/node_modules/lodash/_baseFlatten.js +38 -0
- package/node_modules/lodash/_baseFor.js +16 -0
- package/node_modules/lodash/_baseForOwn.js +16 -0
- package/node_modules/lodash/_baseForOwnRight.js +16 -0
- package/node_modules/lodash/_baseForRight.js +15 -0
- package/node_modules/lodash/_baseFunctions.js +19 -0
- package/node_modules/lodash/_baseGet.js +24 -0
- package/node_modules/lodash/_baseGetAllKeys.js +20 -0
- package/node_modules/lodash/_baseGetTag.js +28 -0
- package/node_modules/lodash/_baseGt.js +14 -0
- package/node_modules/lodash/_baseHas.js +19 -0
- package/node_modules/lodash/_baseHasIn.js +13 -0
- package/node_modules/lodash/_baseInRange.js +18 -0
- package/node_modules/lodash/_baseIndexOf.js +20 -0
- package/node_modules/lodash/_baseIndexOfWith.js +23 -0
- package/node_modules/lodash/_baseIntersection.js +74 -0
- package/node_modules/lodash/_baseInverter.js +21 -0
- package/node_modules/lodash/_baseInvoke.js +24 -0
- package/node_modules/lodash/_baseIsArguments.js +18 -0
- package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- package/node_modules/lodash/_baseIsDate.js +18 -0
- package/node_modules/lodash/_baseIsEqual.js +28 -0
- package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- package/node_modules/lodash/_baseIsMap.js +18 -0
- package/node_modules/lodash/_baseIsMatch.js +62 -0
- package/node_modules/lodash/_baseIsNaN.js +12 -0
- package/node_modules/lodash/_baseIsNative.js +47 -0
- package/node_modules/lodash/_baseIsRegExp.js +18 -0
- package/node_modules/lodash/_baseIsSet.js +18 -0
- package/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/node_modules/lodash/_baseIteratee.js +31 -0
- package/node_modules/lodash/_baseKeys.js +30 -0
- package/node_modules/lodash/_baseKeysIn.js +33 -0
- package/node_modules/lodash/_baseLodash.js +10 -0
- package/node_modules/lodash/_baseLt.js +14 -0
- package/node_modules/lodash/_baseMap.js +22 -0
- package/node_modules/lodash/_baseMatches.js +22 -0
- package/node_modules/lodash/_baseMatchesProperty.js +33 -0
- package/node_modules/lodash/_baseMean.js +20 -0
- package/node_modules/lodash/_baseMerge.js +42 -0
- package/node_modules/lodash/_baseMergeDeep.js +94 -0
- package/node_modules/lodash/_baseNth.js +20 -0
- package/node_modules/lodash/_baseOrderBy.js +49 -0
- package/node_modules/lodash/_basePick.js +19 -0
- package/node_modules/lodash/_basePickBy.js +30 -0
- package/node_modules/lodash/_baseProperty.js +14 -0
- package/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/node_modules/lodash/_basePropertyOf.js +14 -0
- package/node_modules/lodash/_basePullAll.js +51 -0
- package/node_modules/lodash/_basePullAt.js +37 -0
- package/node_modules/lodash/_baseRandom.js +18 -0
- package/node_modules/lodash/_baseRange.js +28 -0
- package/node_modules/lodash/_baseReduce.js +23 -0
- package/node_modules/lodash/_baseRepeat.js +35 -0
- package/node_modules/lodash/_baseRest.js +17 -0
- package/node_modules/lodash/_baseSample.js +15 -0
- package/node_modules/lodash/_baseSampleSize.js +18 -0
- package/node_modules/lodash/_baseSet.js +51 -0
- package/node_modules/lodash/_baseSetData.js +17 -0
- package/node_modules/lodash/_baseSetToString.js +22 -0
- package/node_modules/lodash/_baseShuffle.js +15 -0
- package/node_modules/lodash/_baseSlice.js +31 -0
- package/node_modules/lodash/_baseSome.js +22 -0
- package/node_modules/lodash/_baseSortBy.js +21 -0
- package/node_modules/lodash/_baseSortedIndex.js +42 -0
- package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- package/node_modules/lodash/_baseSortedUniq.js +30 -0
- package/node_modules/lodash/_baseSum.js +24 -0
- package/node_modules/lodash/_baseTimes.js +20 -0
- package/node_modules/lodash/_baseToNumber.js +24 -0
- package/node_modules/lodash/_baseToPairs.js +18 -0
- package/node_modules/lodash/_baseToString.js +37 -0
- package/node_modules/lodash/_baseTrim.js +19 -0
- package/node_modules/lodash/_baseUnary.js +14 -0
- package/node_modules/lodash/_baseUniq.js +72 -0
- package/node_modules/lodash/_baseUnset.js +20 -0
- package/node_modules/lodash/_baseUpdate.js +18 -0
- package/node_modules/lodash/_baseValues.js +19 -0
- package/node_modules/lodash/_baseWhile.js +26 -0
- package/node_modules/lodash/_baseWrapperValue.js +25 -0
- package/node_modules/lodash/_baseXor.js +36 -0
- package/node_modules/lodash/_baseZipObject.js +23 -0
- package/node_modules/lodash/_cacheHas.js +13 -0
- package/node_modules/lodash/_castArrayLikeObject.js +14 -0
- package/node_modules/lodash/_castFunction.js +14 -0
- package/node_modules/lodash/_castPath.js +21 -0
- package/node_modules/lodash/_castRest.js +14 -0
- package/node_modules/lodash/_castSlice.js +18 -0
- package/node_modules/lodash/_charsEndIndex.js +19 -0
- package/node_modules/lodash/_charsStartIndex.js +20 -0
- package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/node_modules/lodash/_cloneBuffer.js +35 -0
- package/node_modules/lodash/_cloneDataView.js +16 -0
- package/node_modules/lodash/_cloneRegExp.js +17 -0
- package/node_modules/lodash/_cloneSymbol.js +18 -0
- package/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/node_modules/lodash/_compareAscending.js +41 -0
- package/node_modules/lodash/_compareMultiple.js +44 -0
- package/node_modules/lodash/_composeArgs.js +39 -0
- package/node_modules/lodash/_composeArgsRight.js +41 -0
- package/node_modules/lodash/_copyArray.js +20 -0
- package/node_modules/lodash/_copyObject.js +40 -0
- package/node_modules/lodash/_copySymbols.js +16 -0
- package/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/node_modules/lodash/_coreJsData.js +6 -0
- package/node_modules/lodash/_countHolders.js +21 -0
- package/node_modules/lodash/_createAggregator.js +23 -0
- package/node_modules/lodash/_createAssigner.js +37 -0
- package/node_modules/lodash/_createBaseEach.js +32 -0
- package/node_modules/lodash/_createBaseFor.js +25 -0
- package/node_modules/lodash/_createBind.js +28 -0
- package/node_modules/lodash/_createCaseFirst.js +33 -0
- package/node_modules/lodash/_createCompounder.js +24 -0
- package/node_modules/lodash/_createCtor.js +37 -0
- package/node_modules/lodash/_createCurry.js +46 -0
- package/node_modules/lodash/_createFind.js +25 -0
- package/node_modules/lodash/_createFlow.js +78 -0
- package/node_modules/lodash/_createHybrid.js +92 -0
- package/node_modules/lodash/_createInverter.js +17 -0
- package/node_modules/lodash/_createMathOperation.js +38 -0
- package/node_modules/lodash/_createOver.js +27 -0
- package/node_modules/lodash/_createPadding.js +33 -0
- package/node_modules/lodash/_createPartial.js +43 -0
- package/node_modules/lodash/_createRange.js +30 -0
- package/node_modules/lodash/_createRecurry.js +56 -0
- package/node_modules/lodash/_createRelationalOperation.js +20 -0
- package/node_modules/lodash/_createRound.js +35 -0
- package/node_modules/lodash/_createSet.js +19 -0
- package/node_modules/lodash/_createToPairs.js +30 -0
- package/node_modules/lodash/_createWrap.js +106 -0
- package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- package/node_modules/lodash/_customDefaultsMerge.js +28 -0
- package/node_modules/lodash/_customOmitClone.js +16 -0
- package/node_modules/lodash/_deburrLetter.js +71 -0
- package/node_modules/lodash/_defineProperty.js +11 -0
- package/node_modules/lodash/_equalArrays.js +84 -0
- package/node_modules/lodash/_equalByTag.js +112 -0
- package/node_modules/lodash/_equalObjects.js +90 -0
- package/node_modules/lodash/_escapeHtmlChar.js +21 -0
- package/node_modules/lodash/_escapeStringChar.js +22 -0
- package/node_modules/lodash/_flatRest.js +16 -0
- package/node_modules/lodash/_freeGlobal.js +4 -0
- package/node_modules/lodash/_getAllKeys.js +16 -0
- package/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/node_modules/lodash/_getData.js +15 -0
- package/node_modules/lodash/_getFuncName.js +31 -0
- package/node_modules/lodash/_getHolder.js +13 -0
- package/node_modules/lodash/_getMapData.js +18 -0
- package/node_modules/lodash/_getMatchData.js +24 -0
- package/node_modules/lodash/_getNative.js +17 -0
- package/node_modules/lodash/_getPrototype.js +6 -0
- package/node_modules/lodash/_getRawTag.js +46 -0
- package/node_modules/lodash/_getSymbols.js +30 -0
- package/node_modules/lodash/_getSymbolsIn.js +25 -0
- package/node_modules/lodash/_getTag.js +58 -0
- package/node_modules/lodash/_getValue.js +13 -0
- package/node_modules/lodash/_getView.js +33 -0
- package/node_modules/lodash/_getWrapDetails.js +17 -0
- package/node_modules/lodash/_hasPath.js +39 -0
- package/node_modules/lodash/_hasUnicode.js +26 -0
- package/node_modules/lodash/_hasUnicodeWord.js +15 -0
- package/node_modules/lodash/_hashClear.js +15 -0
- package/node_modules/lodash/_hashDelete.js +17 -0
- package/node_modules/lodash/_hashGet.js +30 -0
- package/node_modules/lodash/_hashHas.js +23 -0
- package/node_modules/lodash/_hashSet.js +23 -0
- package/node_modules/lodash/_initCloneArray.js +26 -0
- package/node_modules/lodash/_initCloneByTag.js +77 -0
- package/node_modules/lodash/_initCloneObject.js +18 -0
- package/node_modules/lodash/_insertWrapDetails.js +23 -0
- package/node_modules/lodash/_isFlattenable.js +20 -0
- package/node_modules/lodash/_isIndex.js +25 -0
- package/node_modules/lodash/_isIterateeCall.js +30 -0
- package/node_modules/lodash/_isKey.js +29 -0
- package/node_modules/lodash/_isKeyable.js +15 -0
- package/node_modules/lodash/_isLaziable.js +28 -0
- package/node_modules/lodash/_isMaskable.js +14 -0
- package/node_modules/lodash/_isMasked.js +20 -0
- package/node_modules/lodash/_isPrototype.js +18 -0
- package/node_modules/lodash/_isStrictComparable.js +15 -0
- package/node_modules/lodash/_iteratorToArray.js +18 -0
- package/node_modules/lodash/_lazyClone.js +23 -0
- package/node_modules/lodash/_lazyReverse.js +23 -0
- package/node_modules/lodash/_lazyValue.js +69 -0
- package/node_modules/lodash/_listCacheClear.js +13 -0
- package/node_modules/lodash/_listCacheDelete.js +35 -0
- package/node_modules/lodash/_listCacheGet.js +19 -0
- package/node_modules/lodash/_listCacheHas.js +16 -0
- package/node_modules/lodash/_listCacheSet.js +26 -0
- package/node_modules/lodash/_mapCacheClear.js +21 -0
- package/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/node_modules/lodash/_mapCacheGet.js +16 -0
- package/node_modules/lodash/_mapCacheHas.js +16 -0
- package/node_modules/lodash/_mapCacheSet.js +22 -0
- package/node_modules/lodash/_mapToArray.js +18 -0
- package/node_modules/lodash/_matchesStrictComparable.js +20 -0
- package/node_modules/lodash/_memoizeCapped.js +26 -0
- package/node_modules/lodash/_mergeData.js +90 -0
- package/node_modules/lodash/_metaMap.js +6 -0
- package/node_modules/lodash/_nativeCreate.js +6 -0
- package/node_modules/lodash/_nativeKeys.js +6 -0
- package/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/node_modules/lodash/_nodeUtil.js +30 -0
- package/node_modules/lodash/_objectToString.js +22 -0
- package/node_modules/lodash/_overArg.js +15 -0
- package/node_modules/lodash/_overRest.js +36 -0
- package/node_modules/lodash/_parent.js +16 -0
- package/node_modules/lodash/_reEscape.js +4 -0
- package/node_modules/lodash/_reEvaluate.js +4 -0
- package/node_modules/lodash/_reInterpolate.js +4 -0
- package/node_modules/lodash/_realNames.js +4 -0
- package/node_modules/lodash/_reorder.js +29 -0
- package/node_modules/lodash/_replaceHolders.js +29 -0
- package/node_modules/lodash/_root.js +9 -0
- package/node_modules/lodash/_safeGet.js +21 -0
- package/node_modules/lodash/_setCacheAdd.js +19 -0
- package/node_modules/lodash/_setCacheHas.js +14 -0
- package/node_modules/lodash/_setData.js +20 -0
- package/node_modules/lodash/_setToArray.js +18 -0
- package/node_modules/lodash/_setToPairs.js +18 -0
- package/node_modules/lodash/_setToString.js +14 -0
- package/node_modules/lodash/_setWrapToString.js +21 -0
- package/node_modules/lodash/_shortOut.js +37 -0
- package/node_modules/lodash/_shuffleSelf.js +28 -0
- package/node_modules/lodash/_stackClear.js +15 -0
- package/node_modules/lodash/_stackDelete.js +18 -0
- package/node_modules/lodash/_stackGet.js +14 -0
- package/node_modules/lodash/_stackHas.js +14 -0
- package/node_modules/lodash/_stackSet.js +34 -0
- package/node_modules/lodash/_strictIndexOf.js +23 -0
- package/node_modules/lodash/_strictLastIndexOf.js +21 -0
- package/node_modules/lodash/_stringSize.js +18 -0
- package/node_modules/lodash/_stringToArray.js +18 -0
- package/node_modules/lodash/_stringToPath.js +27 -0
- package/node_modules/lodash/_toKey.js +21 -0
- package/node_modules/lodash/_toSource.js +26 -0
- package/node_modules/lodash/_trimmedEndIndex.js +19 -0
- package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- package/node_modules/lodash/_unicodeSize.js +44 -0
- package/node_modules/lodash/_unicodeToArray.js +40 -0
- package/node_modules/lodash/_unicodeWords.js +69 -0
- package/node_modules/lodash/_updateWrapDetails.js +46 -0
- package/node_modules/lodash/_wrapperClone.js +23 -0
- package/node_modules/lodash/add.js +22 -0
- package/node_modules/lodash/after.js +42 -0
- package/node_modules/lodash/array.js +67 -0
- package/node_modules/lodash/ary.js +29 -0
- package/node_modules/lodash/assign.js +58 -0
- package/node_modules/lodash/assignIn.js +40 -0
- package/node_modules/lodash/assignInWith.js +38 -0
- package/node_modules/lodash/assignWith.js +37 -0
- package/node_modules/lodash/at.js +23 -0
- package/node_modules/lodash/attempt.js +35 -0
- package/node_modules/lodash/before.js +40 -0
- package/node_modules/lodash/bind.js +57 -0
- package/node_modules/lodash/bindAll.js +41 -0
- package/node_modules/lodash/bindKey.js +68 -0
- package/node_modules/lodash/camelCase.js +29 -0
- package/node_modules/lodash/capitalize.js +23 -0
- package/node_modules/lodash/castArray.js +44 -0
- package/node_modules/lodash/ceil.js +26 -0
- package/node_modules/lodash/chain.js +38 -0
- package/node_modules/lodash/chunk.js +50 -0
- package/node_modules/lodash/clamp.js +39 -0
- package/node_modules/lodash/clone.js +36 -0
- package/node_modules/lodash/cloneDeep.js +29 -0
- package/node_modules/lodash/cloneDeepWith.js +40 -0
- package/node_modules/lodash/cloneWith.js +42 -0
- package/node_modules/lodash/collection.js +30 -0
- package/node_modules/lodash/commit.js +33 -0
- package/node_modules/lodash/compact.js +31 -0
- package/node_modules/lodash/concat.js +43 -0
- package/node_modules/lodash/cond.js +60 -0
- package/node_modules/lodash/conforms.js +35 -0
- package/node_modules/lodash/conformsTo.js +32 -0
- package/node_modules/lodash/constant.js +26 -0
- package/node_modules/lodash/core.js +3877 -0
- package/node_modules/lodash/core.min.js +29 -0
- package/node_modules/lodash/countBy.js +40 -0
- package/node_modules/lodash/create.js +43 -0
- package/node_modules/lodash/curry.js +57 -0
- package/node_modules/lodash/curryRight.js +54 -0
- package/node_modules/lodash/date.js +3 -0
- package/node_modules/lodash/debounce.js +191 -0
- package/node_modules/lodash/deburr.js +45 -0
- package/node_modules/lodash/defaultTo.js +25 -0
- package/node_modules/lodash/defaults.js +64 -0
- package/node_modules/lodash/defaultsDeep.js +30 -0
- package/node_modules/lodash/defer.js +26 -0
- package/node_modules/lodash/delay.js +28 -0
- package/node_modules/lodash/difference.js +33 -0
- package/node_modules/lodash/differenceBy.js +44 -0
- package/node_modules/lodash/differenceWith.js +40 -0
- package/node_modules/lodash/divide.js +22 -0
- package/node_modules/lodash/drop.js +38 -0
- package/node_modules/lodash/dropRight.js +39 -0
- package/node_modules/lodash/dropRightWhile.js +45 -0
- package/node_modules/lodash/dropWhile.js +45 -0
- package/node_modules/lodash/each.js +1 -0
- package/node_modules/lodash/eachRight.js +1 -0
- package/node_modules/lodash/endsWith.js +43 -0
- package/node_modules/lodash/entries.js +1 -0
- package/node_modules/lodash/entriesIn.js +1 -0
- package/node_modules/lodash/eq.js +37 -0
- package/node_modules/lodash/escape.js +43 -0
- package/node_modules/lodash/escapeRegExp.js +32 -0
- package/node_modules/lodash/every.js +56 -0
- package/node_modules/lodash/extend.js +1 -0
- package/node_modules/lodash/extendWith.js +1 -0
- package/node_modules/lodash/fill.js +45 -0
- package/node_modules/lodash/filter.js +52 -0
- package/node_modules/lodash/find.js +42 -0
- package/node_modules/lodash/findIndex.js +55 -0
- package/node_modules/lodash/findKey.js +44 -0
- package/node_modules/lodash/findLast.js +25 -0
- package/node_modules/lodash/findLastIndex.js +59 -0
- package/node_modules/lodash/findLastKey.js +44 -0
- package/node_modules/lodash/first.js +1 -0
- package/node_modules/lodash/flake.lock +40 -0
- package/node_modules/lodash/flake.nix +20 -0
- package/node_modules/lodash/flatMap.js +29 -0
- package/node_modules/lodash/flatMapDeep.js +31 -0
- package/node_modules/lodash/flatMapDepth.js +31 -0
- package/node_modules/lodash/flatten.js +22 -0
- package/node_modules/lodash/flattenDeep.js +25 -0
- package/node_modules/lodash/flattenDepth.js +33 -0
- package/node_modules/lodash/flip.js +28 -0
- package/node_modules/lodash/floor.js +26 -0
- package/node_modules/lodash/flow.js +27 -0
- package/node_modules/lodash/flowRight.js +26 -0
- package/node_modules/lodash/forEach.js +41 -0
- package/node_modules/lodash/forEachRight.js +31 -0
- package/node_modules/lodash/forIn.js +39 -0
- package/node_modules/lodash/forInRight.js +37 -0
- package/node_modules/lodash/forOwn.js +36 -0
- package/node_modules/lodash/forOwnRight.js +34 -0
- package/node_modules/lodash/fp/F.js +1 -0
- package/node_modules/lodash/fp/T.js +1 -0
- package/node_modules/lodash/fp/__.js +1 -0
- package/node_modules/lodash/fp/_baseConvert.js +569 -0
- package/node_modules/lodash/fp/_convertBrowser.js +18 -0
- package/node_modules/lodash/fp/_falseOptions.js +7 -0
- package/node_modules/lodash/fp/_mapping.js +358 -0
- package/node_modules/lodash/fp/_util.js +16 -0
- package/node_modules/lodash/fp/add.js +5 -0
- package/node_modules/lodash/fp/after.js +5 -0
- package/node_modules/lodash/fp/all.js +1 -0
- package/node_modules/lodash/fp/allPass.js +1 -0
- package/node_modules/lodash/fp/always.js +1 -0
- package/node_modules/lodash/fp/any.js +1 -0
- package/node_modules/lodash/fp/anyPass.js +1 -0
- package/node_modules/lodash/fp/apply.js +1 -0
- package/node_modules/lodash/fp/array.js +2 -0
- package/node_modules/lodash/fp/ary.js +5 -0
- package/node_modules/lodash/fp/assign.js +5 -0
- package/node_modules/lodash/fp/assignAll.js +5 -0
- package/node_modules/lodash/fp/assignAllWith.js +5 -0
- package/node_modules/lodash/fp/assignIn.js +5 -0
- package/node_modules/lodash/fp/assignInAll.js +5 -0
- package/node_modules/lodash/fp/assignInAllWith.js +5 -0
- package/node_modules/lodash/fp/assignInWith.js +5 -0
- package/node_modules/lodash/fp/assignWith.js +5 -0
- package/node_modules/lodash/fp/assoc.js +1 -0
- package/node_modules/lodash/fp/assocPath.js +1 -0
- package/node_modules/lodash/fp/at.js +5 -0
- package/node_modules/lodash/fp/attempt.js +5 -0
- package/node_modules/lodash/fp/before.js +5 -0
- package/node_modules/lodash/fp/bind.js +5 -0
- package/node_modules/lodash/fp/bindAll.js +5 -0
- package/node_modules/lodash/fp/bindKey.js +5 -0
- package/node_modules/lodash/fp/camelCase.js +5 -0
- package/node_modules/lodash/fp/capitalize.js +5 -0
- package/node_modules/lodash/fp/castArray.js +5 -0
- package/node_modules/lodash/fp/ceil.js +5 -0
- package/node_modules/lodash/fp/chain.js +5 -0
- package/node_modules/lodash/fp/chunk.js +5 -0
- package/node_modules/lodash/fp/clamp.js +5 -0
- package/node_modules/lodash/fp/clone.js +5 -0
- package/node_modules/lodash/fp/cloneDeep.js +5 -0
- package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- package/node_modules/lodash/fp/cloneWith.js +5 -0
- package/node_modules/lodash/fp/collection.js +2 -0
- package/node_modules/lodash/fp/commit.js +5 -0
- package/node_modules/lodash/fp/compact.js +5 -0
- package/node_modules/lodash/fp/complement.js +1 -0
- package/node_modules/lodash/fp/compose.js +1 -0
- package/node_modules/lodash/fp/concat.js +5 -0
- package/node_modules/lodash/fp/cond.js +5 -0
- package/node_modules/lodash/fp/conforms.js +1 -0
- package/node_modules/lodash/fp/conformsTo.js +5 -0
- package/node_modules/lodash/fp/constant.js +5 -0
- package/node_modules/lodash/fp/contains.js +1 -0
- package/node_modules/lodash/fp/convert.js +18 -0
- package/node_modules/lodash/fp/countBy.js +5 -0
- package/node_modules/lodash/fp/create.js +5 -0
- package/node_modules/lodash/fp/curry.js +5 -0
- package/node_modules/lodash/fp/curryN.js +5 -0
- package/node_modules/lodash/fp/curryRight.js +5 -0
- package/node_modules/lodash/fp/curryRightN.js +5 -0
- package/node_modules/lodash/fp/date.js +2 -0
- package/node_modules/lodash/fp/debounce.js +5 -0
- package/node_modules/lodash/fp/deburr.js +5 -0
- package/node_modules/lodash/fp/defaultTo.js +5 -0
- package/node_modules/lodash/fp/defaults.js +5 -0
- package/node_modules/lodash/fp/defaultsAll.js +5 -0
- package/node_modules/lodash/fp/defaultsDeep.js +5 -0
- package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- package/node_modules/lodash/fp/defer.js +5 -0
- package/node_modules/lodash/fp/delay.js +5 -0
- package/node_modules/lodash/fp/difference.js +5 -0
- package/node_modules/lodash/fp/differenceBy.js +5 -0
- package/node_modules/lodash/fp/differenceWith.js +5 -0
- package/node_modules/lodash/fp/dissoc.js +1 -0
- package/node_modules/lodash/fp/dissocPath.js +1 -0
- package/node_modules/lodash/fp/divide.js +5 -0
- package/node_modules/lodash/fp/drop.js +5 -0
- package/node_modules/lodash/fp/dropLast.js +1 -0
- package/node_modules/lodash/fp/dropLastWhile.js +1 -0
- package/node_modules/lodash/fp/dropRight.js +5 -0
- package/node_modules/lodash/fp/dropRightWhile.js +5 -0
- package/node_modules/lodash/fp/dropWhile.js +5 -0
- package/node_modules/lodash/fp/each.js +1 -0
- package/node_modules/lodash/fp/eachRight.js +1 -0
- package/node_modules/lodash/fp/endsWith.js +5 -0
- package/node_modules/lodash/fp/entries.js +1 -0
- package/node_modules/lodash/fp/entriesIn.js +1 -0
- package/node_modules/lodash/fp/eq.js +5 -0
- package/node_modules/lodash/fp/equals.js +1 -0
- package/node_modules/lodash/fp/escape.js +5 -0
- package/node_modules/lodash/fp/escapeRegExp.js +5 -0
- package/node_modules/lodash/fp/every.js +5 -0
- package/node_modules/lodash/fp/extend.js +1 -0
- package/node_modules/lodash/fp/extendAll.js +1 -0
- package/node_modules/lodash/fp/extendAllWith.js +1 -0
- package/node_modules/lodash/fp/extendWith.js +1 -0
- package/node_modules/lodash/fp/fill.js +5 -0
- package/node_modules/lodash/fp/filter.js +5 -0
- package/node_modules/lodash/fp/find.js +5 -0
- package/node_modules/lodash/fp/findFrom.js +5 -0
- package/node_modules/lodash/fp/findIndex.js +5 -0
- package/node_modules/lodash/fp/findIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findKey.js +5 -0
- package/node_modules/lodash/fp/findLast.js +5 -0
- package/node_modules/lodash/fp/findLastFrom.js +5 -0
- package/node_modules/lodash/fp/findLastIndex.js +5 -0
- package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findLastKey.js +5 -0
- package/node_modules/lodash/fp/first.js +1 -0
- package/node_modules/lodash/fp/flatMap.js +5 -0
- package/node_modules/lodash/fp/flatMapDeep.js +5 -0
- package/node_modules/lodash/fp/flatMapDepth.js +5 -0
- package/node_modules/lodash/fp/flatten.js +5 -0
- package/node_modules/lodash/fp/flattenDeep.js +5 -0
- package/node_modules/lodash/fp/flattenDepth.js +5 -0
- package/node_modules/lodash/fp/flip.js +5 -0
- package/node_modules/lodash/fp/floor.js +5 -0
- package/node_modules/lodash/fp/flow.js +5 -0
- package/node_modules/lodash/fp/flowRight.js +5 -0
- package/node_modules/lodash/fp/forEach.js +5 -0
- package/node_modules/lodash/fp/forEachRight.js +5 -0
- package/node_modules/lodash/fp/forIn.js +5 -0
- package/node_modules/lodash/fp/forInRight.js +5 -0
- package/node_modules/lodash/fp/forOwn.js +5 -0
- package/node_modules/lodash/fp/forOwnRight.js +5 -0
- package/node_modules/lodash/fp/fromPairs.js +5 -0
- package/node_modules/lodash/fp/function.js +2 -0
- package/node_modules/lodash/fp/functions.js +5 -0
- package/node_modules/lodash/fp/functionsIn.js +5 -0
- package/node_modules/lodash/fp/get.js +5 -0
- package/node_modules/lodash/fp/getOr.js +5 -0
- package/node_modules/lodash/fp/groupBy.js +5 -0
- package/node_modules/lodash/fp/gt.js +5 -0
- package/node_modules/lodash/fp/gte.js +5 -0
- package/node_modules/lodash/fp/has.js +5 -0
- package/node_modules/lodash/fp/hasIn.js +5 -0
- package/node_modules/lodash/fp/head.js +5 -0
- package/node_modules/lodash/fp/identical.js +1 -0
- package/node_modules/lodash/fp/identity.js +5 -0
- package/node_modules/lodash/fp/inRange.js +5 -0
- package/node_modules/lodash/fp/includes.js +5 -0
- package/node_modules/lodash/fp/includesFrom.js +5 -0
- package/node_modules/lodash/fp/indexBy.js +1 -0
- package/node_modules/lodash/fp/indexOf.js +5 -0
- package/node_modules/lodash/fp/indexOfFrom.js +5 -0
- package/node_modules/lodash/fp/init.js +1 -0
- package/node_modules/lodash/fp/initial.js +5 -0
- package/node_modules/lodash/fp/intersection.js +5 -0
- package/node_modules/lodash/fp/intersectionBy.js +5 -0
- package/node_modules/lodash/fp/intersectionWith.js +5 -0
- package/node_modules/lodash/fp/invert.js +5 -0
- package/node_modules/lodash/fp/invertBy.js +5 -0
- package/node_modules/lodash/fp/invertObj.js +1 -0
- package/node_modules/lodash/fp/invoke.js +5 -0
- package/node_modules/lodash/fp/invokeArgs.js +5 -0
- package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- package/node_modules/lodash/fp/invokeMap.js +5 -0
- package/node_modules/lodash/fp/isArguments.js +5 -0
- package/node_modules/lodash/fp/isArray.js +5 -0
- package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- package/node_modules/lodash/fp/isArrayLike.js +5 -0
- package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- package/node_modules/lodash/fp/isBoolean.js +5 -0
- package/node_modules/lodash/fp/isBuffer.js +5 -0
- package/node_modules/lodash/fp/isDate.js +5 -0
- package/node_modules/lodash/fp/isElement.js +5 -0
- package/node_modules/lodash/fp/isEmpty.js +5 -0
- package/node_modules/lodash/fp/isEqual.js +5 -0
- package/node_modules/lodash/fp/isEqualWith.js +5 -0
- package/node_modules/lodash/fp/isError.js +5 -0
- package/node_modules/lodash/fp/isFinite.js +5 -0
- package/node_modules/lodash/fp/isFunction.js +5 -0
- package/node_modules/lodash/fp/isInteger.js +5 -0
- package/node_modules/lodash/fp/isLength.js +5 -0
- package/node_modules/lodash/fp/isMap.js +5 -0
- package/node_modules/lodash/fp/isMatch.js +5 -0
- package/node_modules/lodash/fp/isMatchWith.js +5 -0
- package/node_modules/lodash/fp/isNaN.js +5 -0
- package/node_modules/lodash/fp/isNative.js +5 -0
- package/node_modules/lodash/fp/isNil.js +5 -0
- package/node_modules/lodash/fp/isNull.js +5 -0
- package/node_modules/lodash/fp/isNumber.js +5 -0
- package/node_modules/lodash/fp/isObject.js +5 -0
- package/node_modules/lodash/fp/isObjectLike.js +5 -0
- package/node_modules/lodash/fp/isPlainObject.js +5 -0
- package/node_modules/lodash/fp/isRegExp.js +5 -0
- package/node_modules/lodash/fp/isSafeInteger.js +5 -0
- package/node_modules/lodash/fp/isSet.js +5 -0
- package/node_modules/lodash/fp/isString.js +5 -0
- package/node_modules/lodash/fp/isSymbol.js +5 -0
- package/node_modules/lodash/fp/isTypedArray.js +5 -0
- package/node_modules/lodash/fp/isUndefined.js +5 -0
- package/node_modules/lodash/fp/isWeakMap.js +5 -0
- package/node_modules/lodash/fp/isWeakSet.js +5 -0
- package/node_modules/lodash/fp/iteratee.js +5 -0
- package/node_modules/lodash/fp/join.js +5 -0
- package/node_modules/lodash/fp/juxt.js +1 -0
- package/node_modules/lodash/fp/kebabCase.js +5 -0
- package/node_modules/lodash/fp/keyBy.js +5 -0
- package/node_modules/lodash/fp/keys.js +5 -0
- package/node_modules/lodash/fp/keysIn.js +5 -0
- package/node_modules/lodash/fp/lang.js +2 -0
- package/node_modules/lodash/fp/last.js +5 -0
- package/node_modules/lodash/fp/lastIndexOf.js +5 -0
- package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- package/node_modules/lodash/fp/lowerCase.js +5 -0
- package/node_modules/lodash/fp/lowerFirst.js +5 -0
- package/node_modules/lodash/fp/lt.js +5 -0
- package/node_modules/lodash/fp/lte.js +5 -0
- package/node_modules/lodash/fp/map.js +5 -0
- package/node_modules/lodash/fp/mapKeys.js +5 -0
- package/node_modules/lodash/fp/mapValues.js +5 -0
- package/node_modules/lodash/fp/matches.js +1 -0
- package/node_modules/lodash/fp/matchesProperty.js +5 -0
- package/node_modules/lodash/fp/math.js +2 -0
- package/node_modules/lodash/fp/max.js +5 -0
- package/node_modules/lodash/fp/maxBy.js +5 -0
- package/node_modules/lodash/fp/mean.js +5 -0
- package/node_modules/lodash/fp/meanBy.js +5 -0
- package/node_modules/lodash/fp/memoize.js +5 -0
- package/node_modules/lodash/fp/merge.js +5 -0
- package/node_modules/lodash/fp/mergeAll.js +5 -0
- package/node_modules/lodash/fp/mergeAllWith.js +5 -0
- package/node_modules/lodash/fp/mergeWith.js +5 -0
- package/node_modules/lodash/fp/method.js +5 -0
- package/node_modules/lodash/fp/methodOf.js +5 -0
- package/node_modules/lodash/fp/min.js +5 -0
- package/node_modules/lodash/fp/minBy.js +5 -0
- package/node_modules/lodash/fp/mixin.js +5 -0
- package/node_modules/lodash/fp/multiply.js +5 -0
- package/node_modules/lodash/fp/nAry.js +1 -0
- package/node_modules/lodash/fp/negate.js +5 -0
- package/node_modules/lodash/fp/next.js +5 -0
- package/node_modules/lodash/fp/noop.js +5 -0
- package/node_modules/lodash/fp/now.js +5 -0
- package/node_modules/lodash/fp/nth.js +5 -0
- package/node_modules/lodash/fp/nthArg.js +5 -0
- package/node_modules/lodash/fp/number.js +2 -0
- package/node_modules/lodash/fp/object.js +2 -0
- package/node_modules/lodash/fp/omit.js +5 -0
- package/node_modules/lodash/fp/omitAll.js +1 -0
- package/node_modules/lodash/fp/omitBy.js +5 -0
- package/node_modules/lodash/fp/once.js +5 -0
- package/node_modules/lodash/fp/orderBy.js +5 -0
- package/node_modules/lodash/fp/over.js +5 -0
- package/node_modules/lodash/fp/overArgs.js +5 -0
- package/node_modules/lodash/fp/overEvery.js +5 -0
- package/node_modules/lodash/fp/overSome.js +5 -0
- package/node_modules/lodash/fp/pad.js +5 -0
- package/node_modules/lodash/fp/padChars.js +5 -0
- package/node_modules/lodash/fp/padCharsEnd.js +5 -0
- package/node_modules/lodash/fp/padCharsStart.js +5 -0
- package/node_modules/lodash/fp/padEnd.js +5 -0
- package/node_modules/lodash/fp/padStart.js +5 -0
- package/node_modules/lodash/fp/parseInt.js +5 -0
- package/node_modules/lodash/fp/partial.js +5 -0
- package/node_modules/lodash/fp/partialRight.js +5 -0
- package/node_modules/lodash/fp/partition.js +5 -0
- package/node_modules/lodash/fp/path.js +1 -0
- package/node_modules/lodash/fp/pathEq.js +1 -0
- package/node_modules/lodash/fp/pathOr.js +1 -0
- package/node_modules/lodash/fp/paths.js +1 -0
- package/node_modules/lodash/fp/pick.js +5 -0
- package/node_modules/lodash/fp/pickAll.js +1 -0
- package/node_modules/lodash/fp/pickBy.js +5 -0
- package/node_modules/lodash/fp/pipe.js +1 -0
- package/node_modules/lodash/fp/placeholder.js +6 -0
- package/node_modules/lodash/fp/plant.js +5 -0
- package/node_modules/lodash/fp/pluck.js +1 -0
- package/node_modules/lodash/fp/prop.js +1 -0
- package/node_modules/lodash/fp/propEq.js +1 -0
- package/node_modules/lodash/fp/propOr.js +1 -0
- package/node_modules/lodash/fp/property.js +1 -0
- package/node_modules/lodash/fp/propertyOf.js +5 -0
- package/node_modules/lodash/fp/props.js +1 -0
- package/node_modules/lodash/fp/pull.js +5 -0
- package/node_modules/lodash/fp/pullAll.js +5 -0
- package/node_modules/lodash/fp/pullAllBy.js +5 -0
- package/node_modules/lodash/fp/pullAllWith.js +5 -0
- package/node_modules/lodash/fp/pullAt.js +5 -0
- package/node_modules/lodash/fp/random.js +5 -0
- package/node_modules/lodash/fp/range.js +5 -0
- package/node_modules/lodash/fp/rangeRight.js +5 -0
- package/node_modules/lodash/fp/rangeStep.js +5 -0
- package/node_modules/lodash/fp/rangeStepRight.js +5 -0
- package/node_modules/lodash/fp/rearg.js +5 -0
- package/node_modules/lodash/fp/reduce.js +5 -0
- package/node_modules/lodash/fp/reduceRight.js +5 -0
- package/node_modules/lodash/fp/reject.js +5 -0
- package/node_modules/lodash/fp/remove.js +5 -0
- package/node_modules/lodash/fp/repeat.js +5 -0
- package/node_modules/lodash/fp/replace.js +5 -0
- package/node_modules/lodash/fp/rest.js +5 -0
- package/node_modules/lodash/fp/restFrom.js +5 -0
- package/node_modules/lodash/fp/result.js +5 -0
- package/node_modules/lodash/fp/reverse.js +5 -0
- package/node_modules/lodash/fp/round.js +5 -0
- package/node_modules/lodash/fp/sample.js +5 -0
- package/node_modules/lodash/fp/sampleSize.js +5 -0
- package/node_modules/lodash/fp/seq.js +2 -0
- package/node_modules/lodash/fp/set.js +5 -0
- package/node_modules/lodash/fp/setWith.js +5 -0
- package/node_modules/lodash/fp/shuffle.js +5 -0
- package/node_modules/lodash/fp/size.js +5 -0
- package/node_modules/lodash/fp/slice.js +5 -0
- package/node_modules/lodash/fp/snakeCase.js +5 -0
- package/node_modules/lodash/fp/some.js +5 -0
- package/node_modules/lodash/fp/sortBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndex.js +5 -0
- package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedUniq.js +5 -0
- package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- package/node_modules/lodash/fp/split.js +5 -0
- package/node_modules/lodash/fp/spread.js +5 -0
- package/node_modules/lodash/fp/spreadFrom.js +5 -0
- package/node_modules/lodash/fp/startCase.js +5 -0
- package/node_modules/lodash/fp/startsWith.js +5 -0
- package/node_modules/lodash/fp/string.js +2 -0
- package/node_modules/lodash/fp/stubArray.js +5 -0
- package/node_modules/lodash/fp/stubFalse.js +5 -0
- package/node_modules/lodash/fp/stubObject.js +5 -0
- package/node_modules/lodash/fp/stubString.js +5 -0
- package/node_modules/lodash/fp/stubTrue.js +5 -0
- package/node_modules/lodash/fp/subtract.js +5 -0
- package/node_modules/lodash/fp/sum.js +5 -0
- package/node_modules/lodash/fp/sumBy.js +5 -0
- package/node_modules/lodash/fp/symmetricDifference.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- package/node_modules/lodash/fp/tail.js +5 -0
- package/node_modules/lodash/fp/take.js +5 -0
- package/node_modules/lodash/fp/takeLast.js +1 -0
- package/node_modules/lodash/fp/takeLastWhile.js +1 -0
- package/node_modules/lodash/fp/takeRight.js +5 -0
- package/node_modules/lodash/fp/takeRightWhile.js +5 -0
- package/node_modules/lodash/fp/takeWhile.js +5 -0
- package/node_modules/lodash/fp/tap.js +5 -0
- package/node_modules/lodash/fp/template.js +5 -0
- package/node_modules/lodash/fp/templateSettings.js +5 -0
- package/node_modules/lodash/fp/throttle.js +5 -0
- package/node_modules/lodash/fp/thru.js +5 -0
- package/node_modules/lodash/fp/times.js +5 -0
- package/node_modules/lodash/fp/toArray.js +5 -0
- package/node_modules/lodash/fp/toFinite.js +5 -0
- package/node_modules/lodash/fp/toInteger.js +5 -0
- package/node_modules/lodash/fp/toIterator.js +5 -0
- package/node_modules/lodash/fp/toJSON.js +5 -0
- package/node_modules/lodash/fp/toLength.js +5 -0
- package/node_modules/lodash/fp/toLower.js +5 -0
- package/node_modules/lodash/fp/toNumber.js +5 -0
- package/node_modules/lodash/fp/toPairs.js +5 -0
- package/node_modules/lodash/fp/toPairsIn.js +5 -0
- package/node_modules/lodash/fp/toPath.js +5 -0
- package/node_modules/lodash/fp/toPlainObject.js +5 -0
- package/node_modules/lodash/fp/toSafeInteger.js +5 -0
- package/node_modules/lodash/fp/toString.js +5 -0
- package/node_modules/lodash/fp/toUpper.js +5 -0
- package/node_modules/lodash/fp/transform.js +5 -0
- package/node_modules/lodash/fp/trim.js +5 -0
- package/node_modules/lodash/fp/trimChars.js +5 -0
- package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- package/node_modules/lodash/fp/trimCharsStart.js +5 -0
- package/node_modules/lodash/fp/trimEnd.js +5 -0
- package/node_modules/lodash/fp/trimStart.js +5 -0
- package/node_modules/lodash/fp/truncate.js +5 -0
- package/node_modules/lodash/fp/unapply.js +1 -0
- package/node_modules/lodash/fp/unary.js +5 -0
- package/node_modules/lodash/fp/unescape.js +5 -0
- package/node_modules/lodash/fp/union.js +5 -0
- package/node_modules/lodash/fp/unionBy.js +5 -0
- package/node_modules/lodash/fp/unionWith.js +5 -0
- package/node_modules/lodash/fp/uniq.js +5 -0
- package/node_modules/lodash/fp/uniqBy.js +5 -0
- package/node_modules/lodash/fp/uniqWith.js +5 -0
- package/node_modules/lodash/fp/uniqueId.js +5 -0
- package/node_modules/lodash/fp/unnest.js +1 -0
- package/node_modules/lodash/fp/unset.js +5 -0
- package/node_modules/lodash/fp/unzip.js +5 -0
- package/node_modules/lodash/fp/unzipWith.js +5 -0
- package/node_modules/lodash/fp/update.js +5 -0
- package/node_modules/lodash/fp/updateWith.js +5 -0
- package/node_modules/lodash/fp/upperCase.js +5 -0
- package/node_modules/lodash/fp/upperFirst.js +5 -0
- package/node_modules/lodash/fp/useWith.js +1 -0
- package/node_modules/lodash/fp/util.js +2 -0
- package/node_modules/lodash/fp/value.js +5 -0
- package/node_modules/lodash/fp/valueOf.js +5 -0
- package/node_modules/lodash/fp/values.js +5 -0
- package/node_modules/lodash/fp/valuesIn.js +5 -0
- package/node_modules/lodash/fp/where.js +1 -0
- package/node_modules/lodash/fp/whereEq.js +1 -0
- package/node_modules/lodash/fp/without.js +5 -0
- package/node_modules/lodash/fp/words.js +5 -0
- package/node_modules/lodash/fp/wrap.js +5 -0
- package/node_modules/lodash/fp/wrapperAt.js +5 -0
- package/node_modules/lodash/fp/wrapperChain.js +5 -0
- package/node_modules/lodash/fp/wrapperLodash.js +5 -0
- package/node_modules/lodash/fp/wrapperReverse.js +5 -0
- package/node_modules/lodash/fp/wrapperValue.js +5 -0
- package/node_modules/lodash/fp/xor.js +5 -0
- package/node_modules/lodash/fp/xorBy.js +5 -0
- package/node_modules/lodash/fp/xorWith.js +5 -0
- package/node_modules/lodash/fp/zip.js +5 -0
- package/node_modules/lodash/fp/zipAll.js +5 -0
- package/node_modules/lodash/fp/zipObj.js +1 -0
- package/node_modules/lodash/fp/zipObject.js +5 -0
- package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- package/node_modules/lodash/fp/zipWith.js +5 -0
- package/node_modules/lodash/fp.js +2 -0
- package/node_modules/lodash/fromPairs.js +28 -0
- package/node_modules/lodash/function.js +25 -0
- package/node_modules/lodash/functions.js +31 -0
- package/node_modules/lodash/functionsIn.js +31 -0
- package/node_modules/lodash/get.js +33 -0
- package/node_modules/lodash/groupBy.js +41 -0
- package/node_modules/lodash/gt.js +29 -0
- package/node_modules/lodash/gte.js +30 -0
- package/node_modules/lodash/has.js +35 -0
- package/node_modules/lodash/hasIn.js +34 -0
- package/node_modules/lodash/head.js +23 -0
- package/node_modules/lodash/identity.js +21 -0
- package/node_modules/lodash/inRange.js +55 -0
- package/node_modules/lodash/includes.js +53 -0
- package/node_modules/lodash/index.js +1 -0
- package/node_modules/lodash/indexOf.js +42 -0
- package/node_modules/lodash/initial.js +22 -0
- package/node_modules/lodash/intersection.js +30 -0
- package/node_modules/lodash/intersectionBy.js +45 -0
- package/node_modules/lodash/intersectionWith.js +41 -0
- package/node_modules/lodash/invert.js +42 -0
- package/node_modules/lodash/invertBy.js +56 -0
- package/node_modules/lodash/invoke.js +24 -0
- package/node_modules/lodash/invokeMap.js +41 -0
- package/node_modules/lodash/isArguments.js +36 -0
- package/node_modules/lodash/isArray.js +26 -0
- package/node_modules/lodash/isArrayBuffer.js +27 -0
- package/node_modules/lodash/isArrayLike.js +33 -0
- package/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/node_modules/lodash/isBoolean.js +29 -0
- package/node_modules/lodash/isBuffer.js +38 -0
- package/node_modules/lodash/isDate.js +27 -0
- package/node_modules/lodash/isElement.js +25 -0
- package/node_modules/lodash/isEmpty.js +77 -0
- package/node_modules/lodash/isEqual.js +35 -0
- package/node_modules/lodash/isEqualWith.js +41 -0
- package/node_modules/lodash/isError.js +36 -0
- package/node_modules/lodash/isFinite.js +36 -0
- package/node_modules/lodash/isFunction.js +37 -0
- package/node_modules/lodash/isInteger.js +33 -0
- package/node_modules/lodash/isLength.js +35 -0
- package/node_modules/lodash/isMap.js +27 -0
- package/node_modules/lodash/isMatch.js +36 -0
- package/node_modules/lodash/isMatchWith.js +41 -0
- package/node_modules/lodash/isNaN.js +38 -0
- package/node_modules/lodash/isNative.js +40 -0
- package/node_modules/lodash/isNil.js +25 -0
- package/node_modules/lodash/isNull.js +22 -0
- package/node_modules/lodash/isNumber.js +38 -0
- package/node_modules/lodash/isObject.js +31 -0
- package/node_modules/lodash/isObjectLike.js +29 -0
- package/node_modules/lodash/isPlainObject.js +62 -0
- package/node_modules/lodash/isRegExp.js +27 -0
- package/node_modules/lodash/isSafeInteger.js +37 -0
- package/node_modules/lodash/isSet.js +27 -0
- package/node_modules/lodash/isString.js +30 -0
- package/node_modules/lodash/isSymbol.js +29 -0
- package/node_modules/lodash/isTypedArray.js +27 -0
- package/node_modules/lodash/isUndefined.js +22 -0
- package/node_modules/lodash/isWeakMap.js +28 -0
- package/node_modules/lodash/isWeakSet.js +28 -0
- package/node_modules/lodash/iteratee.js +53 -0
- package/node_modules/lodash/join.js +26 -0
- package/node_modules/lodash/kebabCase.js +28 -0
- package/node_modules/lodash/keyBy.js +36 -0
- package/node_modules/lodash/keys.js +37 -0
- package/node_modules/lodash/keysIn.js +32 -0
- package/node_modules/lodash/lang.js +58 -0
- package/node_modules/lodash/last.js +20 -0
- package/node_modules/lodash/lastIndexOf.js +46 -0
- package/node_modules/lodash/lodash.js +17209 -0
- package/node_modules/lodash/lodash.min.js +140 -0
- package/node_modules/lodash/lowerCase.js +27 -0
- package/node_modules/lodash/lowerFirst.js +22 -0
- package/node_modules/lodash/lt.js +29 -0
- package/node_modules/lodash/lte.js +30 -0
- package/node_modules/lodash/map.js +53 -0
- package/node_modules/lodash/mapKeys.js +36 -0
- package/node_modules/lodash/mapValues.js +43 -0
- package/node_modules/lodash/matches.js +46 -0
- package/node_modules/lodash/matchesProperty.js +44 -0
- package/node_modules/lodash/math.js +17 -0
- package/node_modules/lodash/max.js +29 -0
- package/node_modules/lodash/maxBy.js +34 -0
- package/node_modules/lodash/mean.js +22 -0
- package/node_modules/lodash/meanBy.js +31 -0
- package/node_modules/lodash/memoize.js +73 -0
- package/node_modules/lodash/merge.js +39 -0
- package/node_modules/lodash/mergeWith.js +39 -0
- package/node_modules/lodash/method.js +34 -0
- package/node_modules/lodash/methodOf.js +33 -0
- package/node_modules/lodash/min.js +29 -0
- package/node_modules/lodash/minBy.js +34 -0
- package/node_modules/lodash/mixin.js +74 -0
- package/node_modules/lodash/multiply.js +22 -0
- package/node_modules/lodash/negate.js +40 -0
- package/node_modules/lodash/next.js +35 -0
- package/node_modules/lodash/noop.js +17 -0
- package/node_modules/lodash/now.js +23 -0
- package/node_modules/lodash/nth.js +29 -0
- package/node_modules/lodash/nthArg.js +32 -0
- package/node_modules/lodash/number.js +5 -0
- package/node_modules/lodash/object.js +49 -0
- package/node_modules/lodash/omit.js +57 -0
- package/node_modules/lodash/omitBy.js +29 -0
- package/node_modules/lodash/once.js +25 -0
- package/node_modules/lodash/orderBy.js +47 -0
- package/node_modules/lodash/over.js +24 -0
- package/node_modules/lodash/overArgs.js +61 -0
- package/node_modules/lodash/overEvery.js +34 -0
- package/node_modules/lodash/overSome.js +37 -0
- package/node_modules/lodash/package.json +67 -0
- package/node_modules/lodash/pad.js +49 -0
- package/node_modules/lodash/padEnd.js +39 -0
- package/node_modules/lodash/padStart.js +39 -0
- package/node_modules/lodash/parseInt.js +43 -0
- package/node_modules/lodash/partial.js +50 -0
- package/node_modules/lodash/partialRight.js +49 -0
- package/node_modules/lodash/partition.js +43 -0
- package/node_modules/lodash/pick.js +25 -0
- package/node_modules/lodash/pickBy.js +37 -0
- package/node_modules/lodash/plant.js +48 -0
- package/node_modules/lodash/property.js +32 -0
- package/node_modules/lodash/propertyOf.js +30 -0
- package/node_modules/lodash/pull.js +29 -0
- package/node_modules/lodash/pullAll.js +29 -0
- package/node_modules/lodash/pullAllBy.js +33 -0
- package/node_modules/lodash/pullAllWith.js +32 -0
- package/node_modules/lodash/pullAt.js +43 -0
- package/node_modules/lodash/random.js +82 -0
- package/node_modules/lodash/range.js +46 -0
- package/node_modules/lodash/rangeRight.js +41 -0
- package/node_modules/lodash/rearg.js +33 -0
- package/node_modules/lodash/reduce.js +51 -0
- package/node_modules/lodash/reduceRight.js +36 -0
- package/node_modules/lodash/reject.js +46 -0
- package/node_modules/lodash/release.md +48 -0
- package/node_modules/lodash/remove.js +53 -0
- package/node_modules/lodash/repeat.js +37 -0
- package/node_modules/lodash/replace.js +29 -0
- package/node_modules/lodash/rest.js +40 -0
- package/node_modules/lodash/result.js +56 -0
- package/node_modules/lodash/reverse.js +34 -0
- package/node_modules/lodash/round.js +26 -0
- package/node_modules/lodash/sample.js +24 -0
- package/node_modules/lodash/sampleSize.js +37 -0
- package/node_modules/lodash/seq.js +16 -0
- package/node_modules/lodash/set.js +35 -0
- package/node_modules/lodash/setWith.js +32 -0
- package/node_modules/lodash/shuffle.js +25 -0
- package/node_modules/lodash/size.js +46 -0
- package/node_modules/lodash/slice.js +37 -0
- package/node_modules/lodash/snakeCase.js +28 -0
- package/node_modules/lodash/some.js +51 -0
- package/node_modules/lodash/sortBy.js +48 -0
- package/node_modules/lodash/sortedIndex.js +24 -0
- package/node_modules/lodash/sortedIndexBy.js +33 -0
- package/node_modules/lodash/sortedIndexOf.js +31 -0
- package/node_modules/lodash/sortedLastIndex.js +25 -0
- package/node_modules/lodash/sortedLastIndexBy.js +33 -0
- package/node_modules/lodash/sortedLastIndexOf.js +31 -0
- package/node_modules/lodash/sortedUniq.js +24 -0
- package/node_modules/lodash/sortedUniqBy.js +26 -0
- package/node_modules/lodash/split.js +52 -0
- package/node_modules/lodash/spread.js +63 -0
- package/node_modules/lodash/startCase.js +29 -0
- package/node_modules/lodash/startsWith.js +39 -0
- package/node_modules/lodash/string.js +33 -0
- package/node_modules/lodash/stubArray.js +23 -0
- package/node_modules/lodash/stubFalse.js +18 -0
- package/node_modules/lodash/stubObject.js +23 -0
- package/node_modules/lodash/stubString.js +18 -0
- package/node_modules/lodash/stubTrue.js +18 -0
- package/node_modules/lodash/subtract.js +22 -0
- package/node_modules/lodash/sum.js +24 -0
- package/node_modules/lodash/sumBy.js +33 -0
- package/node_modules/lodash/tail.js +22 -0
- package/node_modules/lodash/take.js +37 -0
- package/node_modules/lodash/takeRight.js +39 -0
- package/node_modules/lodash/takeRightWhile.js +45 -0
- package/node_modules/lodash/takeWhile.js +45 -0
- package/node_modules/lodash/tap.js +29 -0
- package/node_modules/lodash/template.js +272 -0
- package/node_modules/lodash/templateSettings.js +67 -0
- package/node_modules/lodash/throttle.js +69 -0
- package/node_modules/lodash/thru.js +28 -0
- package/node_modules/lodash/times.js +51 -0
- package/node_modules/lodash/toArray.js +58 -0
- package/node_modules/lodash/toFinite.js +42 -0
- package/node_modules/lodash/toInteger.js +36 -0
- package/node_modules/lodash/toIterator.js +23 -0
- package/node_modules/lodash/toJSON.js +1 -0
- package/node_modules/lodash/toLength.js +38 -0
- package/node_modules/lodash/toLower.js +28 -0
- package/node_modules/lodash/toNumber.js +64 -0
- package/node_modules/lodash/toPairs.js +30 -0
- package/node_modules/lodash/toPairsIn.js +30 -0
- package/node_modules/lodash/toPath.js +33 -0
- package/node_modules/lodash/toPlainObject.js +32 -0
- package/node_modules/lodash/toSafeInteger.js +37 -0
- package/node_modules/lodash/toString.js +28 -0
- package/node_modules/lodash/toUpper.js +28 -0
- package/node_modules/lodash/transform.js +65 -0
- package/node_modules/lodash/trim.js +47 -0
- package/node_modules/lodash/trimEnd.js +41 -0
- package/node_modules/lodash/trimStart.js +43 -0
- package/node_modules/lodash/truncate.js +111 -0
- package/node_modules/lodash/unary.js +22 -0
- package/node_modules/lodash/unescape.js +34 -0
- package/node_modules/lodash/union.js +26 -0
- package/node_modules/lodash/unionBy.js +39 -0
- package/node_modules/lodash/unionWith.js +34 -0
- package/node_modules/lodash/uniq.js +25 -0
- package/node_modules/lodash/uniqBy.js +31 -0
- package/node_modules/lodash/uniqWith.js +28 -0
- package/node_modules/lodash/uniqueId.js +28 -0
- package/node_modules/lodash/unset.js +34 -0
- package/node_modules/lodash/unzip.js +45 -0
- package/node_modules/lodash/unzipWith.js +39 -0
- package/node_modules/lodash/update.js +35 -0
- package/node_modules/lodash/updateWith.js +33 -0
- package/node_modules/lodash/upperCase.js +27 -0
- package/node_modules/lodash/upperFirst.js +22 -0
- package/node_modules/lodash/util.js +34 -0
- package/node_modules/lodash/value.js +1 -0
- package/node_modules/lodash/valueOf.js +1 -0
- package/node_modules/lodash/values.js +34 -0
- package/node_modules/lodash/valuesIn.js +32 -0
- package/node_modules/lodash/without.js +31 -0
- package/node_modules/lodash/words.js +35 -0
- package/node_modules/lodash/wrap.js +30 -0
- package/node_modules/lodash/wrapperAt.js +48 -0
- package/node_modules/lodash/wrapperChain.js +34 -0
- package/node_modules/lodash/wrapperLodash.js +147 -0
- package/node_modules/lodash/wrapperReverse.js +44 -0
- package/node_modules/lodash/wrapperValue.js +21 -0
- package/node_modules/lodash/xor.js +28 -0
- package/node_modules/lodash/xorBy.js +39 -0
- package/node_modules/lodash/xorWith.js +34 -0
- package/node_modules/lodash/zip.js +22 -0
- package/node_modules/lodash/zipObject.js +24 -0
- package/node_modules/lodash/zipObjectDeep.js +23 -0
- package/node_modules/lodash/zipWith.js +32 -0
- package/node_modules/lodash.get/LICENSE +47 -0
- package/node_modules/lodash.get/README.md +18 -0
- package/node_modules/lodash.get/index.js +931 -0
- package/node_modules/lodash.get/package.json +72 -0
- package/node_modules/lru-cache/LICENSE +15 -0
- package/node_modules/lru-cache/README.md +166 -0
- package/node_modules/lru-cache/index.js +334 -0
- package/node_modules/lru-cache/package.json +72 -0
- package/node_modules/make-dir/index.d.ts +66 -0
- package/node_modules/make-dir/index.js +156 -0
- package/node_modules/make-dir/license +9 -0
- package/node_modules/make-dir/node_modules/semver/CHANGELOG.md +70 -0
- package/node_modules/make-dir/node_modules/semver/LICENSE +15 -0
- package/node_modules/make-dir/node_modules/semver/README.md +443 -0
- package/node_modules/make-dir/node_modules/semver/bin/semver.js +174 -0
- package/node_modules/make-dir/node_modules/semver/package.json +63 -0
- package/node_modules/make-dir/node_modules/semver/range.bnf +16 -0
- package/node_modules/make-dir/node_modules/semver/semver.js +1596 -0
- package/node_modules/make-dir/package.json +94 -0
- package/node_modules/make-dir/readme.md +125 -0
- package/node_modules/maplex/README.md +31 -0
- package/node_modules/maplex/maplex.js +116 -0
- package/node_modules/maplex/package-lock.json.2349981881 +2125 -0
- package/node_modules/maplex/package.json +56 -0
- package/node_modules/maplex/test.js +43 -0
- package/node_modules/methods/HISTORY.md +29 -0
- package/node_modules/methods/LICENSE +24 -0
- package/node_modules/methods/README.md +51 -0
- package/node_modules/methods/index.js +69 -0
- package/node_modules/methods/package.json +82 -0
- package/node_modules/mime/CHANGELOG.md +296 -0
- package/node_modules/mime/LICENSE +21 -0
- package/node_modules/mime/Mime.js +97 -0
- package/node_modules/mime/README.md +187 -0
- package/node_modules/mime/cli.js +46 -0
- package/node_modules/mime/index.js +4 -0
- package/node_modules/mime/lite.js +4 -0
- package/node_modules/mime/package.json +84 -0
- package/node_modules/mime/types/other.js +1 -0
- package/node_modules/mime/types/standard.js +1 -0
- package/node_modules/mime-db/HISTORY.md +507 -0
- package/node_modules/mime-db/LICENSE +23 -0
- package/node_modules/mime-db/README.md +100 -0
- package/node_modules/mime-db/db.json +8519 -0
- package/node_modules/mime-db/index.js +12 -0
- package/node_modules/mime-db/package.json +106 -0
- package/node_modules/mime-types/HISTORY.md +397 -0
- package/node_modules/mime-types/LICENSE +23 -0
- package/node_modules/mime-types/README.md +113 -0
- package/node_modules/mime-types/index.js +188 -0
- package/node_modules/mime-types/package.json +92 -0
- package/node_modules/mimic-response/index.d.ts +17 -0
- package/node_modules/mimic-response/index.js +38 -0
- package/node_modules/mimic-response/license +9 -0
- package/node_modules/mimic-response/package.json +77 -0
- package/node_modules/mimic-response/readme.md +57 -0
- package/node_modules/minimatch/LICENSE +15 -0
- package/node_modules/minimatch/README.md +230 -0
- package/node_modules/minimatch/minimatch.js +947 -0
- package/node_modules/minimatch/package.json +73 -0
- package/node_modules/minipass/LICENSE +15 -0
- package/node_modules/minipass/README.md +728 -0
- package/node_modules/minipass/index.d.ts +149 -0
- package/node_modules/minipass/index.js +649 -0
- package/node_modules/minipass/package.json +93 -0
- package/node_modules/minizlib/LICENSE +26 -0
- package/node_modules/minizlib/README.md +60 -0
- package/node_modules/minizlib/constants.js +115 -0
- package/node_modules/minizlib/index.js +348 -0
- package/node_modules/minizlib/package.json +78 -0
- package/node_modules/mkdirp/CHANGELOG.md +15 -0
- package/node_modules/mkdirp/LICENSE +21 -0
- package/node_modules/mkdirp/bin/cmd.js +68 -0
- package/node_modules/mkdirp/index.js +31 -0
- package/node_modules/mkdirp/lib/find-made.js +29 -0
- package/node_modules/mkdirp/lib/mkdirp-manual.js +64 -0
- package/node_modules/mkdirp/lib/mkdirp-native.js +39 -0
- package/node_modules/mkdirp/lib/opts-arg.js +23 -0
- package/node_modules/mkdirp/lib/path-arg.js +29 -0
- package/node_modules/mkdirp/lib/use-native.js +10 -0
- package/node_modules/mkdirp/package.json +78 -0
- package/node_modules/mkdirp/readme.markdown +266 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +75 -0
- package/node_modules/ms/readme.md +60 -0
- package/node_modules/multi-progress/.gitattributes +17 -0
- package/node_modules/multi-progress/CHANGELOG.md +56 -0
- package/node_modules/multi-progress/LICENSE.txt +21 -0
- package/node_modules/multi-progress/multi-progress.js +98 -0
- package/node_modules/multi-progress/package.json +58 -0
- package/node_modules/multi-progress/readme.md +33 -0
- package/node_modules/nan/CHANGELOG.md +545 -0
- package/node_modules/nan/LICENSE.md +9 -0
- package/node_modules/nan/README.md +456 -0
- package/node_modules/nan/doc/asyncworker.md +146 -0
- package/node_modules/nan/doc/buffers.md +54 -0
- package/node_modules/nan/doc/callback.md +76 -0
- package/node_modules/nan/doc/converters.md +41 -0
- package/node_modules/nan/doc/errors.md +226 -0
- package/node_modules/nan/doc/json.md +62 -0
- package/node_modules/nan/doc/maybe_types.md +583 -0
- package/node_modules/nan/doc/methods.md +664 -0
- package/node_modules/nan/doc/new.md +147 -0
- package/node_modules/nan/doc/node_misc.md +123 -0
- package/node_modules/nan/doc/object_wrappers.md +263 -0
- package/node_modules/nan/doc/persistent.md +296 -0
- package/node_modules/nan/doc/scopes.md +73 -0
- package/node_modules/nan/doc/script.md +58 -0
- package/node_modules/nan/doc/string_bytes.md +62 -0
- package/node_modules/nan/doc/v8_internals.md +199 -0
- package/node_modules/nan/doc/v8_misc.md +85 -0
- package/node_modules/nan/include_dirs.js +1 -0
- package/node_modules/nan/nan.h +2909 -0
- package/node_modules/nan/nan_callbacks.h +88 -0
- package/node_modules/nan/nan_callbacks_12_inl.h +514 -0
- package/node_modules/nan/nan_callbacks_pre_12_inl.h +520 -0
- package/node_modules/nan/nan_converters.h +72 -0
- package/node_modules/nan/nan_converters_43_inl.h +68 -0
- package/node_modules/nan/nan_converters_pre_43_inl.h +42 -0
- package/node_modules/nan/nan_define_own_property_helper.h +29 -0
- package/node_modules/nan/nan_implementation_12_inl.h +430 -0
- package/node_modules/nan/nan_implementation_pre_12_inl.h +263 -0
- package/node_modules/nan/nan_json.h +166 -0
- package/node_modules/nan/nan_maybe_43_inl.h +356 -0
- package/node_modules/nan/nan_maybe_pre_43_inl.h +268 -0
- package/node_modules/nan/nan_new.h +340 -0
- package/node_modules/nan/nan_object_wrap.h +156 -0
- package/node_modules/nan/nan_persistent_12_inl.h +132 -0
- package/node_modules/nan/nan_persistent_pre_12_inl.h +242 -0
- package/node_modules/nan/nan_private.h +73 -0
- package/node_modules/nan/nan_scriptorigin.h +76 -0
- package/node_modules/nan/nan_string_bytes.h +305 -0
- package/node_modules/nan/nan_typedarray_contents.h +96 -0
- package/node_modules/nan/nan_weak.h +437 -0
- package/node_modules/nan/package.json +101 -0
- package/node_modules/nan/tools/1to2.js +412 -0
- package/node_modules/nan/tools/README.md +14 -0
- package/node_modules/nan/tools/package.json +19 -0
- package/node_modules/node-fetch/LICENSE.md +22 -0
- package/node_modules/node-fetch/README.md +590 -0
- package/node_modules/node-fetch/browser.js +25 -0
- package/node_modules/node-fetch/lib/index.es.js +1688 -0
- package/node_modules/node-fetch/lib/index.js +1697 -0
- package/node_modules/node-fetch/lib/index.mjs +1686 -0
- package/node_modules/node-fetch/package.json +107 -0
- package/node_modules/nopt/CHANGELOG.md +58 -0
- package/node_modules/nopt/LICENSE +15 -0
- package/node_modules/nopt/README.md +213 -0
- package/node_modules/nopt/bin/nopt.js +54 -0
- package/node_modules/nopt/lib/nopt.js +441 -0
- package/node_modules/nopt/package.json +70 -0
- package/node_modules/normalize-path/LICENSE +21 -0
- package/node_modules/normalize-path/README.md +127 -0
- package/node_modules/normalize-path/index.js +35 -0
- package/node_modules/normalize-path/package.json +119 -0
- package/node_modules/npmlog/LICENSE +15 -0
- package/node_modules/npmlog/README.md +216 -0
- package/node_modules/npmlog/log.js +403 -0
- package/node_modules/npmlog/package.json +69 -0
- package/node_modules/object-assign/index.js +90 -0
- package/node_modules/object-assign/license +21 -0
- package/node_modules/object-assign/package.json +77 -0
- package/node_modules/object-assign/readme.md +61 -0
- package/node_modules/object-inspect/.eslintrc +53 -0
- package/node_modules/object-inspect/.github/FUNDING.yml +12 -0
- package/node_modules/object-inspect/.nycrc +13 -0
- package/node_modules/object-inspect/CHANGELOG.md +360 -0
- package/node_modules/object-inspect/LICENSE +21 -0
- package/node_modules/object-inspect/example/all.js +23 -0
- package/node_modules/object-inspect/example/circular.js +6 -0
- package/node_modules/object-inspect/example/fn.js +5 -0
- package/node_modules/object-inspect/example/inspect.js +10 -0
- package/node_modules/object-inspect/index.js +512 -0
- package/node_modules/object-inspect/package-support.json +20 -0
- package/node_modules/object-inspect/package.json +126 -0
- package/node_modules/object-inspect/readme.markdown +86 -0
- package/node_modules/object-inspect/test/bigint.js +58 -0
- package/node_modules/object-inspect/test/browser/dom.js +15 -0
- package/node_modules/object-inspect/test/circular.js +16 -0
- package/node_modules/object-inspect/test/deep.js +12 -0
- package/node_modules/object-inspect/test/element.js +53 -0
- package/node_modules/object-inspect/test/err.js +48 -0
- package/node_modules/object-inspect/test/fakes.js +29 -0
- package/node_modules/object-inspect/test/fn.js +76 -0
- package/node_modules/object-inspect/test/has.js +15 -0
- package/node_modules/object-inspect/test/holes.js +15 -0
- package/node_modules/object-inspect/test/indent-option.js +271 -0
- package/node_modules/object-inspect/test/inspect.js +139 -0
- package/node_modules/object-inspect/test/lowbyte.js +12 -0
- package/node_modules/object-inspect/test/number.js +58 -0
- package/node_modules/object-inspect/test/quoteStyle.js +17 -0
- package/node_modules/object-inspect/test/toStringTag.js +40 -0
- package/node_modules/object-inspect/test/undef.js +12 -0
- package/node_modules/object-inspect/test/values.js +211 -0
- package/node_modules/object-inspect/test-core-js.js +26 -0
- package/node_modules/object-inspect/util.inspect.js +1 -0
- package/node_modules/once/LICENSE +15 -0
- package/node_modules/once/README.md +79 -0
- package/node_modules/once/once.js +42 -0
- package/node_modules/once/package.json +74 -0
- package/node_modules/p-finally/index.js +15 -0
- package/node_modules/p-finally/license +21 -0
- package/node_modules/p-finally/package.json +77 -0
- package/node_modules/p-finally/readme.md +47 -0
- package/node_modules/p-retry/index.js +52 -0
- package/node_modules/p-retry/license +9 -0
- package/node_modules/p-retry/package.json +83 -0
- package/node_modules/p-retry/readme.md +109 -0
- package/node_modules/p-timeout/index.d.ts +72 -0
- package/node_modules/p-timeout/index.js +57 -0
- package/node_modules/p-timeout/license +9 -0
- package/node_modules/p-timeout/package.json +80 -0
- package/node_modules/p-timeout/readme.md +87 -0
- package/node_modules/pako/CHANGELOG.md +164 -0
- package/node_modules/pako/LICENSE +21 -0
- package/node_modules/pako/README.md +191 -0
- package/node_modules/pako/dist/pako.js +6818 -0
- package/node_modules/pako/dist/pako.min.js +1 -0
- package/node_modules/pako/dist/pako_deflate.js +3997 -0
- package/node_modules/pako/dist/pako_deflate.min.js +1 -0
- package/node_modules/pako/dist/pako_inflate.js +3300 -0
- package/node_modules/pako/dist/pako_inflate.min.js +1 -0
- package/node_modules/pako/index.js +14 -0
- package/node_modules/pako/lib/deflate.js +400 -0
- package/node_modules/pako/lib/inflate.js +423 -0
- package/node_modules/pako/lib/utils/common.js +105 -0
- package/node_modules/pako/lib/utils/strings.js +187 -0
- package/node_modules/pako/lib/zlib/README +59 -0
- package/node_modules/pako/lib/zlib/adler32.js +51 -0
- package/node_modules/pako/lib/zlib/constants.js +68 -0
- package/node_modules/pako/lib/zlib/crc32.js +59 -0
- package/node_modules/pako/lib/zlib/deflate.js +1874 -0
- package/node_modules/pako/lib/zlib/gzheader.js +58 -0
- package/node_modules/pako/lib/zlib/inffast.js +345 -0
- package/node_modules/pako/lib/zlib/inflate.js +1556 -0
- package/node_modules/pako/lib/zlib/inftrees.js +343 -0
- package/node_modules/pako/lib/zlib/messages.js +32 -0
- package/node_modules/pako/lib/zlib/trees.js +1222 -0
- package/node_modules/pako/lib/zlib/zstream.js +47 -0
- package/node_modules/pako/package.json +94 -0
- package/node_modules/parse-listing/..gitignore.un~ +0 -0
- package/node_modules/parse-listing/..travis.yml.un~ +0 -0
- package/node_modules/parse-listing/.Makefile.un~ +0 -0
- package/node_modules/parse-listing/.README.md.un~ +0 -0
- package/node_modules/parse-listing/.npmignore +4 -0
- package/node_modules/parse-listing/.package.json.un~ +0 -0
- package/node_modules/parse-listing/.parser.js.un~ +0 -0
- package/node_modules/parse-listing/.parset_test.js.un~ +0 -0
- package/node_modules/parse-listing/.travis.yml +7 -0
- package/node_modules/parse-listing/Makefile +30 -0
- package/node_modules/parse-listing/README.md +115 -0
- package/node_modules/parse-listing/_site/Makefile +30 -0
- package/node_modules/parse-listing/_site/README.md +115 -0
- package/node_modules/parse-listing/_site/package.json +41 -0
- package/node_modules/parse-listing/_site/src/ftp-parser.js +456 -0
- package/node_modules/parse-listing/_site/src/parser.js +338 -0
- package/node_modules/parse-listing/_site/test/parser.test.js +707 -0
- package/node_modules/parse-listing/package.json +74 -0
- package/node_modules/parse-listing/src/.parser.js.un~ +0 -0
- package/node_modules/parse-listing/src/ftp-parser.js +456 -0
- package/node_modules/parse-listing/src/parser.js +339 -0
- package/node_modules/parse-listing/test/.parser.test.js.un~ +0 -0
- package/node_modules/parse-listing/test/.parser_test.js.un~ +0 -0
- package/node_modules/parse-listing/test/parser.test.js +714 -0
- package/node_modules/path-is-absolute/index.js +20 -0
- package/node_modules/path-is-absolute/license +21 -0
- package/node_modules/path-is-absolute/package.json +78 -0
- package/node_modules/path-is-absolute/readme.md +59 -0
- package/node_modules/picomatch/CHANGELOG.md +136 -0
- package/node_modules/picomatch/LICENSE +21 -0
- package/node_modules/picomatch/README.md +708 -0
- package/node_modules/picomatch/index.js +3 -0
- package/node_modules/picomatch/lib/constants.js +179 -0
- package/node_modules/picomatch/lib/parse.js +1091 -0
- package/node_modules/picomatch/lib/picomatch.js +342 -0
- package/node_modules/picomatch/lib/scan.js +391 -0
- package/node_modules/picomatch/lib/utils.js +64 -0
- package/node_modules/picomatch/package.json +117 -0
- package/node_modules/process-nextick-args/index.js +45 -0
- package/node_modules/process-nextick-args/license.md +19 -0
- package/node_modules/process-nextick-args/package.json +53 -0
- package/node_modules/process-nextick-args/readme.md +18 -0
- package/node_modules/progress/CHANGELOG.md +115 -0
- package/node_modules/progress/LICENSE +22 -0
- package/node_modules/progress/Makefile +8 -0
- package/node_modules/progress/Readme.md +146 -0
- package/node_modules/progress/index.js +1 -0
- package/node_modules/progress/lib/node-progress.js +236 -0
- package/node_modules/progress/package.json +74 -0
- package/node_modules/qs/.editorconfig +43 -0
- package/node_modules/qs/.eslintrc +38 -0
- package/node_modules/qs/.github/FUNDING.yml +12 -0
- package/node_modules/qs/.nycrc +13 -0
- package/node_modules/qs/CHANGELOG.md +546 -0
- package/node_modules/qs/LICENSE.md +29 -0
- package/node_modules/qs/README.md +625 -0
- package/node_modules/qs/dist/qs.js +2054 -0
- package/node_modules/qs/lib/formats.js +23 -0
- package/node_modules/qs/lib/index.js +11 -0
- package/node_modules/qs/lib/parse.js +263 -0
- package/node_modules/qs/lib/stringify.js +326 -0
- package/node_modules/qs/lib/utils.js +252 -0
- package/node_modules/qs/package.json +108 -0
- package/node_modules/qs/test/parse.js +855 -0
- package/node_modules/qs/test/stringify.js +909 -0
- package/node_modules/qs/test/utils.js +136 -0
- package/node_modules/readable-stream/.travis.yml +34 -0
- package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/readable-stream/README.md +58 -0
- package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/node_modules/readable-stream/duplex-browser.js +1 -0
- package/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
- package/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
- package/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
- package/node_modules/readable-stream/lib/_stream_transform.js +214 -0
- package/node_modules/readable-stream/lib/_stream_writable.js +687 -0
- package/node_modules/readable-stream/lib/internal/streams/BufferList.js +79 -0
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +74 -0
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/readable-stream/package.json +86 -0
- package/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/readable-stream/readable-browser.js +7 -0
- package/node_modules/readable-stream/readable.js +19 -0
- package/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/readable-stream/writable-browser.js +1 -0
- package/node_modules/readable-stream/writable.js +8 -0
- package/node_modules/readdirp/LICENSE +21 -0
- package/node_modules/readdirp/README.md +122 -0
- package/node_modules/readdirp/index.d.ts +43 -0
- package/node_modules/readdirp/index.js +287 -0
- package/node_modules/readdirp/package.json +162 -0
- package/node_modules/require-directory/.jshintrc +67 -0
- package/node_modules/require-directory/.npmignore +1 -0
- package/node_modules/require-directory/.travis.yml +3 -0
- package/node_modules/require-directory/LICENSE +22 -0
- package/node_modules/require-directory/README.markdown +184 -0
- package/node_modules/require-directory/index.js +86 -0
- package/node_modules/require-directory/package.json +72 -0
- package/node_modules/retry/.npmignore +3 -0
- package/node_modules/retry/.travis.yml +15 -0
- package/node_modules/retry/License +21 -0
- package/node_modules/retry/Makefile +18 -0
- package/node_modules/retry/README.md +227 -0
- package/node_modules/retry/equation.gif +0 -0
- package/node_modules/retry/example/dns.js +31 -0
- package/node_modules/retry/example/stop.js +40 -0
- package/node_modules/retry/index.js +1 -0
- package/node_modules/retry/lib/retry.js +100 -0
- package/node_modules/retry/lib/retry_operation.js +158 -0
- package/node_modules/retry/package.json +67 -0
- package/node_modules/retry/test/common.js +10 -0
- package/node_modules/retry/test/integration/test-forever.js +24 -0
- package/node_modules/retry/test/integration/test-retry-operation.js +258 -0
- package/node_modules/retry/test/integration/test-retry-wrap.js +101 -0
- package/node_modules/retry/test/integration/test-timeouts.js +69 -0
- package/node_modules/rimraf/CHANGELOG.md +65 -0
- package/node_modules/rimraf/LICENSE +15 -0
- package/node_modules/rimraf/README.md +101 -0
- package/node_modules/rimraf/bin.js +68 -0
- package/node_modules/rimraf/package.json +74 -0
- package/node_modules/rimraf/rimraf.js +360 -0
- package/node_modules/rw/.eslintrc +5 -0
- package/node_modules/rw/.npmignore +3 -0
- package/node_modules/rw/LICENSE +26 -0
- package/node_modules/rw/README.md +120 -0
- package/node_modules/rw/index.js +5 -0
- package/node_modules/rw/lib/rw/dash.js +14 -0
- package/node_modules/rw/lib/rw/decode.js +23 -0
- package/node_modules/rw/lib/rw/encode.js +7 -0
- package/node_modules/rw/lib/rw/read-file-sync.js +29 -0
- package/node_modules/rw/lib/rw/read-file.js +23 -0
- package/node_modules/rw/lib/rw/write-file-sync.js +32 -0
- package/node_modules/rw/lib/rw/write-file.js +22 -0
- package/node_modules/rw/package.json +63 -0
- package/node_modules/rw/test/cat-async +10 -0
- package/node_modules/rw/test/cat-sync +5 -0
- package/node_modules/rw/test/encode-object-async +7 -0
- package/node_modules/rw/test/encode-object-sync +5 -0
- package/node_modules/rw/test/encode-string-async +7 -0
- package/node_modules/rw/test/encode-string-sync +5 -0
- package/node_modules/rw/test/encoding-async +42 -0
- package/node_modules/rw/test/encoding-sync +20 -0
- package/node_modules/rw/test/run-tests +53 -0
- package/node_modules/rw/test/utf8.txt +1 -0
- package/node_modules/rw/test/wc-async +8 -0
- package/node_modules/rw/test/wc-sync +5 -0
- package/node_modules/rw/test/write-async +7 -0
- package/node_modules/rw/test/write-sync +5 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/safe-buffer/package.json +69 -0
- package/node_modules/safer-buffer/LICENSE +21 -0
- package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/node_modules/safer-buffer/Readme.md +156 -0
- package/node_modules/safer-buffer/dangerous.js +58 -0
- package/node_modules/safer-buffer/package.json +63 -0
- package/node_modules/safer-buffer/safer.js +77 -0
- package/node_modules/safer-buffer/tests.js +406 -0
- package/node_modules/semver/LICENSE +15 -0
- package/node_modules/semver/README.md +568 -0
- package/node_modules/semver/bin/semver.js +183 -0
- package/node_modules/semver/classes/comparator.js +136 -0
- package/node_modules/semver/classes/index.js +5 -0
- package/node_modules/semver/classes/range.js +519 -0
- package/node_modules/semver/classes/semver.js +287 -0
- package/node_modules/semver/functions/clean.js +6 -0
- package/node_modules/semver/functions/cmp.js +52 -0
- package/node_modules/semver/functions/coerce.js +52 -0
- package/node_modules/semver/functions/compare-build.js +7 -0
- package/node_modules/semver/functions/compare-loose.js +3 -0
- package/node_modules/semver/functions/compare.js +5 -0
- package/node_modules/semver/functions/diff.js +23 -0
- package/node_modules/semver/functions/eq.js +3 -0
- package/node_modules/semver/functions/gt.js +3 -0
- package/node_modules/semver/functions/gte.js +3 -0
- package/node_modules/semver/functions/inc.js +18 -0
- package/node_modules/semver/functions/lt.js +3 -0
- package/node_modules/semver/functions/lte.js +3 -0
- package/node_modules/semver/functions/major.js +3 -0
- package/node_modules/semver/functions/minor.js +3 -0
- package/node_modules/semver/functions/neq.js +3 -0
- package/node_modules/semver/functions/parse.js +33 -0
- package/node_modules/semver/functions/patch.js +3 -0
- package/node_modules/semver/functions/prerelease.js +6 -0
- package/node_modules/semver/functions/rcompare.js +3 -0
- package/node_modules/semver/functions/rsort.js +3 -0
- package/node_modules/semver/functions/satisfies.js +10 -0
- package/node_modules/semver/functions/sort.js +3 -0
- package/node_modules/semver/functions/valid.js +6 -0
- package/node_modules/semver/index.js +48 -0
- package/node_modules/semver/internal/constants.js +17 -0
- package/node_modules/semver/internal/debug.js +9 -0
- package/node_modules/semver/internal/identifiers.js +23 -0
- package/node_modules/semver/internal/parse-options.js +11 -0
- package/node_modules/semver/internal/re.js +182 -0
- package/node_modules/semver/package.json +113 -0
- package/node_modules/semver/preload.js +2 -0
- package/node_modules/semver/range.bnf +16 -0
- package/node_modules/semver/ranges/gtr.js +4 -0
- package/node_modules/semver/ranges/intersects.js +7 -0
- package/node_modules/semver/ranges/ltr.js +4 -0
- package/node_modules/semver/ranges/max-satisfying.js +25 -0
- package/node_modules/semver/ranges/min-satisfying.js +24 -0
- package/node_modules/semver/ranges/min-version.js +61 -0
- package/node_modules/semver/ranges/outside.js +80 -0
- package/node_modules/semver/ranges/simplify.js +47 -0
- package/node_modules/semver/ranges/subset.js +244 -0
- package/node_modules/semver/ranges/to-comparators.js +8 -0
- package/node_modules/semver/ranges/valid.js +11 -0
- package/node_modules/set-blocking/CHANGELOG.md +26 -0
- package/node_modules/set-blocking/LICENSE.txt +14 -0
- package/node_modules/set-blocking/README.md +31 -0
- package/node_modules/set-blocking/index.js +7 -0
- package/node_modules/set-blocking/package.json +73 -0
- package/node_modules/setimmediate/LICENSE.txt +20 -0
- package/node_modules/setimmediate/package.json +77 -0
- package/node_modules/setimmediate/setImmediate.js +186 -0
- package/node_modules/side-channel/.eslintignore +1 -0
- package/node_modules/side-channel/.eslintrc +11 -0
- package/node_modules/side-channel/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel/.nycrc +13 -0
- package/node_modules/side-channel/CHANGELOG.md +65 -0
- package/node_modules/side-channel/LICENSE +21 -0
- package/node_modules/side-channel/README.md +2 -0
- package/node_modules/side-channel/index.js +124 -0
- package/node_modules/side-channel/package.json +99 -0
- package/node_modules/side-channel/test/index.js +78 -0
- package/node_modules/sift/MIT-LICENSE.txt +20 -0
- package/node_modules/sift/README.md +465 -0
- package/node_modules/sift/es/index.js +626 -0
- package/node_modules/sift/es/index.js.map +1 -0
- package/node_modules/sift/es5m/index.js +729 -0
- package/node_modules/sift/es5m/index.js.map +1 -0
- package/node_modules/sift/index.d.ts +4 -0
- package/node_modules/sift/index.js +4 -0
- package/node_modules/sift/lib/core.d.ts +119 -0
- package/node_modules/sift/lib/index.d.ts +6 -0
- package/node_modules/sift/lib/index.js +766 -0
- package/node_modules/sift/lib/index.js.map +1 -0
- package/node_modules/sift/lib/operations.d.ts +88 -0
- package/node_modules/sift/lib/utils.d.ts +9 -0
- package/node_modules/sift/package.json +98 -0
- package/node_modules/sift/sift.csp.min.js +763 -0
- package/node_modules/sift/sift.csp.min.js.map +1 -0
- package/node_modules/sift/sift.min.js +16 -0
- package/node_modules/sift/sift.min.js.map +1 -0
- package/node_modules/sift/src/core.d.ts +123 -0
- package/node_modules/sift/src/core.js +270 -0
- package/node_modules/sift/src/core.js.map +1 -0
- package/node_modules/sift/src/core.ts +479 -0
- package/node_modules/sift/src/index.d.ts +6 -0
- package/node_modules/sift/src/index.js +35 -0
- package/node_modules/sift/src/index.js.map +1 -0
- package/node_modules/sift/src/index.ts +42 -0
- package/node_modules/sift/src/operations.d.ts +85 -0
- package/node_modules/sift/src/operations.js +276 -0
- package/node_modules/sift/src/operations.js.map +1 -0
- package/node_modules/sift/src/operations.ts +411 -0
- package/node_modules/sift/src/utils.d.ts +9 -0
- package/node_modules/sift/src/utils.js +70 -0
- package/node_modules/sift/src/utils.js.map +1 -0
- package/node_modules/sift/src/utils.ts +68 -0
- package/node_modules/signal-exit/LICENSE.txt +16 -0
- package/node_modules/signal-exit/README.md +39 -0
- package/node_modules/signal-exit/index.js +202 -0
- package/node_modules/signal-exit/package.json +71 -0
- package/node_modules/signal-exit/signals.js +53 -0
- package/node_modules/simple-concat/.travis.yml +3 -0
- package/node_modules/simple-concat/LICENSE +20 -0
- package/node_modules/simple-concat/README.md +44 -0
- package/node_modules/simple-concat/index.js +15 -0
- package/node_modules/simple-concat/package.json +75 -0
- package/node_modules/simple-concat/test/basic.js +41 -0
- package/node_modules/simple-get/LICENSE +20 -0
- package/node_modules/simple-get/README.md +319 -0
- package/node_modules/simple-get/index.js +107 -0
- package/node_modules/simple-get/package.json +81 -0
- package/node_modules/simple-swizzle/LICENSE +21 -0
- package/node_modules/simple-swizzle/README.md +39 -0
- package/node_modules/simple-swizzle/index.js +29 -0
- package/node_modules/simple-swizzle/node_modules/is-arrayish/LICENSE +21 -0
- package/node_modules/simple-swizzle/node_modules/is-arrayish/README.md +16 -0
- package/node_modules/simple-swizzle/node_modules/is-arrayish/index.js +9 -0
- package/node_modules/simple-swizzle/node_modules/is-arrayish/package.json +80 -0
- package/node_modules/simple-swizzle/node_modules/is-arrayish/yarn-error.log +1443 -0
- package/node_modules/simple-swizzle/package.json +74 -0
- package/node_modules/split/.npmignore +3 -0
- package/node_modules/split/.travis.yml +3 -0
- package/node_modules/split/LICENCE +22 -0
- package/node_modules/split/examples/pretty.js +26 -0
- package/node_modules/split/index.js +63 -0
- package/node_modules/split/package.json +65 -0
- package/node_modules/split/readme.markdown +72 -0
- package/node_modules/split/test/options.asynct.js +46 -0
- package/node_modules/split/test/partitioned_unicode.js +34 -0
- package/node_modules/split/test/split.asynct.js +137 -0
- package/node_modules/split/test/try_catch.asynct.js +51 -0
- package/node_modules/strangler/.travis.yml +21 -0
- package/node_modules/strangler/README.md +191 -0
- package/node_modules/strangler/package-lock.json.2408204802 +289 -0
- package/node_modules/strangler/package.json +69 -0
- package/node_modules/strangler/strangler.js +272 -0
- package/node_modules/strangler/test-utils.js +52 -0
- package/node_modules/strangler/test.js +186 -0
- package/node_modules/stream-combiner/.npmignore +3 -0
- package/node_modules/stream-combiner/.travis.yml +4 -0
- package/node_modules/stream-combiner/LICENSE +22 -0
- package/node_modules/stream-combiner/README.md +55 -0
- package/node_modules/stream-combiner/index.js +45 -0
- package/node_modules/stream-combiner/package.json +59 -0
- package/node_modules/stream-combiner/test/index.js +65 -0
- package/node_modules/stream-shift/.travis.yml +6 -0
- package/node_modules/stream-shift/LICENSE +21 -0
- package/node_modules/stream-shift/README.md +25 -0
- package/node_modules/stream-shift/index.js +20 -0
- package/node_modules/stream-shift/package.json +56 -0
- package/node_modules/stream-shift/test.js +48 -0
- package/node_modules/string-tools/.npmignore +2 -0
- package/node_modules/string-tools/.travis.yml +5 -0
- package/node_modules/string-tools/LICENSE +21 -0
- package/node_modules/string-tools/README.md +101 -0
- package/node_modules/string-tools/jsdoc2md/README.hbs +10 -0
- package/node_modules/string-tools/lib/string-tools.js +119 -0
- package/node_modules/string-tools/package.json +62 -0
- package/node_modules/string-tools/test/test.js +38 -0
- package/node_modules/string-width/index.d.ts +29 -0
- package/node_modules/string-width/index.js +47 -0
- package/node_modules/string-width/license +9 -0
- package/node_modules/string-width/package.json +98 -0
- package/node_modules/string-width/readme.md +50 -0
- package/node_modules/string_decoder/.travis.yml +50 -0
- package/node_modules/string_decoder/LICENSE +48 -0
- package/node_modules/string_decoder/README.md +47 -0
- package/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/string_decoder/package.json +64 -0
- package/node_modules/strip-ansi/index.d.ts +17 -0
- package/node_modules/strip-ansi/index.js +4 -0
- package/node_modules/strip-ansi/license +9 -0
- package/node_modules/strip-ansi/package.json +95 -0
- package/node_modules/strip-ansi/readme.md +46 -0
- package/node_modules/superagent/.browserslistrc +5 -0
- package/node_modules/superagent/.dist.babelrc +10 -0
- package/node_modules/superagent/.dist.eslintrc +35 -0
- package/node_modules/superagent/.editorconfig +9 -0
- package/node_modules/superagent/.gitattributes +1 -0
- package/node_modules/superagent/.lib.babelrc +11 -0
- package/node_modules/superagent/.lib.eslintrc +24 -0
- package/node_modules/superagent/.remarkignore +3 -0
- package/node_modules/superagent/.zuul.yml +16 -0
- package/node_modules/superagent/CONTRIBUTING.md +7 -0
- package/node_modules/superagent/HISTORY.md +692 -0
- package/node_modules/superagent/LICENSE +22 -0
- package/node_modules/superagent/Makefile +60 -0
- package/node_modules/superagent/README.md +266 -0
- package/node_modules/superagent/dist/superagent.js +2418 -0
- package/node_modules/superagent/dist/superagent.min.js +1 -0
- package/node_modules/superagent/docs/head.html +11 -0
- package/node_modules/superagent/docs/images/bg.png +0 -0
- package/node_modules/superagent/docs/index.md +736 -0
- package/node_modules/superagent/docs/style.css +87 -0
- package/node_modules/superagent/docs/tail.html +36 -0
- package/node_modules/superagent/docs/test.html +5072 -0
- package/node_modules/superagent/index.html +47 -0
- package/node_modules/superagent/lib/agent-base.js +42 -0
- package/node_modules/superagent/lib/client.js +1020 -0
- package/node_modules/superagent/lib/is-object.js +17 -0
- package/node_modules/superagent/lib/node/agent.js +113 -0
- package/node_modules/superagent/lib/node/http2wrapper.js +218 -0
- package/node_modules/superagent/lib/node/index.js +1376 -0
- package/node_modules/superagent/lib/node/parsers/image.js +13 -0
- package/node_modules/superagent/lib/node/parsers/index.js +12 -0
- package/node_modules/superagent/lib/node/parsers/json.js +26 -0
- package/node_modules/superagent/lib/node/parsers/text.js +11 -0
- package/node_modules/superagent/lib/node/parsers/urlencoded.js +22 -0
- package/node_modules/superagent/lib/node/response.js +126 -0
- package/node_modules/superagent/lib/node/unzip.js +72 -0
- package/node_modules/superagent/lib/request-base.js +757 -0
- package/node_modules/superagent/lib/response-base.js +131 -0
- package/node_modules/superagent/lib/utils.js +71 -0
- package/node_modules/superagent/node_modules/form-data/License +19 -0
- package/node_modules/superagent/node_modules/form-data/README.md.bak +356 -0
- package/node_modules/superagent/node_modules/form-data/Readme.md +356 -0
- package/node_modules/superagent/node_modules/form-data/index.d.ts +62 -0
- package/node_modules/superagent/node_modules/form-data/lib/browser.js +2 -0
- package/node_modules/superagent/node_modules/form-data/lib/form_data.js +498 -0
- package/node_modules/superagent/node_modules/form-data/lib/populate.js +10 -0
- package/node_modules/superagent/node_modules/form-data/package.json +104 -0
- package/node_modules/superagent/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/superagent/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/superagent/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/superagent/node_modules/readable-stream/README.md +106 -0
- package/node_modules/superagent/node_modules/readable-stream/errors-browser.js +127 -0
- package/node_modules/superagent/node_modules/readable-stream/errors.js +116 -0
- package/node_modules/superagent/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/node_modules/superagent/node_modules/readable-stream/lib/_stream_duplex.js +139 -0
- package/node_modules/superagent/node_modules/readable-stream/lib/_stream_passthrough.js +39 -0
- package/node_modules/superagent/node_modules/readable-stream/lib/_stream_readable.js +1124 -0
- package/node_modules/superagent/node_modules/readable-stream/lib/_stream_transform.js +201 -0
- package/node_modules/superagent/node_modules/readable-stream/lib/_stream_writable.js +697 -0
- package/node_modules/superagent/node_modules/readable-stream/lib/internal/streams/async_iterator.js +207 -0
- package/node_modules/superagent/node_modules/readable-stream/lib/internal/streams/buffer_list.js +210 -0
- package/node_modules/superagent/node_modules/readable-stream/lib/internal/streams/destroy.js +105 -0
- package/node_modules/superagent/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +104 -0
- package/node_modules/superagent/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/node_modules/superagent/node_modules/readable-stream/lib/internal/streams/from.js +64 -0
- package/node_modules/superagent/node_modules/readable-stream/lib/internal/streams/pipeline.js +97 -0
- package/node_modules/superagent/node_modules/readable-stream/lib/internal/streams/state.js +27 -0
- package/node_modules/superagent/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/superagent/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/superagent/node_modules/readable-stream/package.json +100 -0
- package/node_modules/superagent/node_modules/readable-stream/readable-browser.js +9 -0
- package/node_modules/superagent/node_modules/readable-stream/readable.js +16 -0
- package/node_modules/superagent/package.json +272 -0
- package/node_modules/tar/LICENSE +15 -0
- package/node_modules/tar/README.md +1042 -0
- package/node_modules/tar/index.js +18 -0
- package/node_modules/tar/lib/create.js +104 -0
- package/node_modules/tar/lib/extract.js +107 -0
- package/node_modules/tar/lib/get-write-flag.js +20 -0
- package/node_modules/tar/lib/header.js +288 -0
- package/node_modules/tar/lib/high-level-opt.js +29 -0
- package/node_modules/tar/lib/large-numbers.js +99 -0
- package/node_modules/tar/lib/list.js +132 -0
- package/node_modules/tar/lib/mkdir.js +213 -0
- package/node_modules/tar/lib/mode-fix.js +23 -0
- package/node_modules/tar/lib/normalize-unicode.js +11 -0
- package/node_modules/tar/lib/normalize-windows-path.js +8 -0
- package/node_modules/tar/lib/pack.js +397 -0
- package/node_modules/tar/lib/parse.js +481 -0
- package/node_modules/tar/lib/path-reservations.js +148 -0
- package/node_modules/tar/lib/pax.js +143 -0
- package/node_modules/tar/lib/read-entry.js +100 -0
- package/node_modules/tar/lib/replace.js +223 -0
- package/node_modules/tar/lib/strip-absolute-path.js +24 -0
- package/node_modules/tar/lib/strip-trailing-slashes.js +13 -0
- package/node_modules/tar/lib/types.js +44 -0
- package/node_modules/tar/lib/unpack.js +877 -0
- package/node_modules/tar/lib/update.js +36 -0
- package/node_modules/tar/lib/warn-mixin.js +21 -0
- package/node_modules/tar/lib/winchars.js +23 -0
- package/node_modules/tar/lib/write-entry.js +525 -0
- package/node_modules/tar/package.json +95 -0
- package/node_modules/through/.travis.yml +5 -0
- package/node_modules/through/LICENSE.APACHE2 +15 -0
- package/node_modules/through/LICENSE.MIT +24 -0
- package/node_modules/through/index.js +108 -0
- package/node_modules/through/package.json +73 -0
- package/node_modules/through/readme.markdown +64 -0
- package/node_modules/through/test/async.js +28 -0
- package/node_modules/through/test/auto-destroy.js +30 -0
- package/node_modules/through/test/buffering.js +71 -0
- package/node_modules/through/test/end.js +45 -0
- package/node_modules/through/test/index.js +133 -0
- package/node_modules/to-regex-range/LICENSE +21 -0
- package/node_modules/to-regex-range/README.md +305 -0
- package/node_modules/to-regex-range/index.js +288 -0
- package/node_modules/to-regex-range/package.json +128 -0
- package/node_modules/tr46/.npmignore +4 -0
- package/node_modules/tr46/index.js +193 -0
- package/node_modules/tr46/lib/.gitkeep +0 -0
- package/node_modules/tr46/lib/mappingTable.json +1 -0
- package/node_modules/tr46/package.json +62 -0
- package/node_modules/ultron/LICENSE +22 -0
- package/node_modules/ultron/README.md +113 -0
- package/node_modules/ultron/index.js +136 -0
- package/node_modules/ultron/package.json +71 -0
- package/node_modules/unorm/LICENSE.md +42 -0
- package/node_modules/unorm/README.md +118 -0
- package/node_modules/unorm/lib/unorm.js +452 -0
- package/node_modules/unorm/package.json +76 -0
- package/node_modules/util-deprecate/History.md +16 -0
- package/node_modules/util-deprecate/LICENSE +24 -0
- package/node_modules/util-deprecate/README.md +53 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +61 -0
- package/node_modules/uuid/CHANGELOG.md +229 -0
- package/node_modules/uuid/CONTRIBUTING.md +18 -0
- package/node_modules/uuid/LICENSE.md +9 -0
- package/node_modules/uuid/README.md +505 -0
- package/node_modules/uuid/dist/bin/uuid +2 -0
- package/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/node_modules/uuid/dist/esm-browser/rng.js +19 -0
- package/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
- package/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/node_modules/uuid/dist/esm-browser/v35.js +64 -0
- package/node_modules/uuid/dist/esm-browser/v4.js +24 -0
- package/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/node_modules/uuid/dist/esm-node/stringify.js +29 -0
- package/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/node_modules/uuid/dist/esm-node/v35.js +64 -0
- package/node_modules/uuid/dist/esm-node/v4.js +24 -0
- package/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/node_modules/uuid/dist/index.js +79 -0
- package/node_modules/uuid/dist/md5-browser.js +223 -0
- package/node_modules/uuid/dist/md5.js +23 -0
- package/node_modules/uuid/dist/nil.js +8 -0
- package/node_modules/uuid/dist/parse.js +45 -0
- package/node_modules/uuid/dist/regex.js +8 -0
- package/node_modules/uuid/dist/rng-browser.js +26 -0
- package/node_modules/uuid/dist/rng.js +24 -0
- package/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/node_modules/uuid/dist/sha1.js +23 -0
- package/node_modules/uuid/dist/stringify.js +39 -0
- package/node_modules/uuid/dist/umd/uuid.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
- package/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/node_modules/uuid/dist/v1.js +107 -0
- package/node_modules/uuid/dist/v3.js +16 -0
- package/node_modules/uuid/dist/v35.js +78 -0
- package/node_modules/uuid/dist/v4.js +37 -0
- package/node_modules/uuid/dist/v5.js +16 -0
- package/node_modules/uuid/dist/validate.js +17 -0
- package/node_modules/uuid/dist/version.js +21 -0
- package/node_modules/uuid/package.json +167 -0
- package/node_modules/uuid/wrapper.mjs +10 -0
- package/node_modules/webidl-conversions/LICENSE.md +12 -0
- package/node_modules/webidl-conversions/README.md +53 -0
- package/node_modules/webidl-conversions/lib/index.js +189 -0
- package/node_modules/webidl-conversions/package.json +62 -0
- package/node_modules/websocket-stream/LICENSE +8 -0
- package/node_modules/websocket-stream/collaborators.md +11 -0
- package/node_modules/websocket-stream/echo-server.js +51 -0
- package/node_modules/websocket-stream/index.d.ts +27 -0
- package/node_modules/websocket-stream/index.js +6 -0
- package/node_modules/websocket-stream/package.json +82 -0
- package/node_modules/websocket-stream/readme.md +148 -0
- package/node_modules/websocket-stream/server.js +29 -0
- package/node_modules/websocket-stream/stream.js +189 -0
- package/node_modules/websocket-stream/test-client.js +74 -0
- package/node_modules/websocket-stream/test-server.js +56 -0
- package/node_modules/websocket-stream/test.js +338 -0
- package/node_modules/websocket-stream/ts-tests.ts +69 -0
- package/node_modules/websocket-stream/ws-fallback.js +12 -0
- package/node_modules/whatwg-url/LICENSE.txt +21 -0
- package/node_modules/whatwg-url/README.md +67 -0
- package/node_modules/whatwg-url/lib/URL-impl.js +200 -0
- package/node_modules/whatwg-url/lib/URL.js +196 -0
- package/node_modules/whatwg-url/lib/public-api.js +11 -0
- package/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
- package/node_modules/whatwg-url/lib/utils.js +20 -0
- package/node_modules/whatwg-url/package.json +70 -0
- package/node_modules/wide-align/LICENSE +14 -0
- package/node_modules/wide-align/README.md +47 -0
- package/node_modules/wide-align/align.js +65 -0
- package/node_modules/wide-align/package.json +69 -0
- package/node_modules/wolfy87-eventemitter/CHANGES.md +47 -0
- package/node_modules/wolfy87-eventemitter/EventEmitter.d.ts +507 -0
- package/node_modules/wolfy87-eventemitter/EventEmitter.js +486 -0
- package/node_modules/wolfy87-eventemitter/EventEmitter.min.js +7 -0
- package/node_modules/wolfy87-eventemitter/README.md +80 -0
- package/node_modules/wolfy87-eventemitter/UNLICENSE +24 -0
- package/node_modules/wolfy87-eventemitter/bower.json +22 -0
- package/node_modules/wolfy87-eventemitter/component.json +10 -0
- package/node_modules/wolfy87-eventemitter/docs/api.dust +17 -0
- package/node_modules/wolfy87-eventemitter/docs/api.md +157 -0
- package/node_modules/wolfy87-eventemitter/docs/guide.md +301 -0
- package/node_modules/wolfy87-eventemitter/docs/render.js +48 -0
- package/node_modules/wolfy87-eventemitter/package.json +67 -0
- package/node_modules/wolfy87-eventemitter/tests/index.html +16 -0
- package/node_modules/wolfy87-eventemitter/tests/tests.js +845 -0
- package/node_modules/wolfy87-eventemitter/tools/dist.sh +6 -0
- package/node_modules/wolfy87-eventemitter/tools/doc.sh +4 -0
- package/node_modules/wolfy87-eventemitter/tools/server-python2.sh +2 -0
- package/node_modules/wolfy87-eventemitter/tools/server.sh +2 -0
- package/node_modules/wrap-ansi/index.js +216 -0
- package/node_modules/wrap-ansi/license +9 -0
- package/node_modules/wrap-ansi/package.json +98 -0
- package/node_modules/wrap-ansi/readme.md +91 -0
- package/node_modules/wrappy/LICENSE +15 -0
- package/node_modules/wrappy/README.md +36 -0
- package/node_modules/wrappy/package.json +62 -0
- package/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/ws/LICENSE +21 -0
- package/node_modules/ws/README.md +341 -0
- package/node_modules/ws/index.js +15 -0
- package/node_modules/ws/lib/.DS_Store +0 -0
- package/node_modules/ws/lib/BufferUtil.js +71 -0
- package/node_modules/ws/lib/Constants.js +10 -0
- package/node_modules/ws/lib/ErrorCodes.js +28 -0
- package/node_modules/ws/lib/EventTarget.js +151 -0
- package/node_modules/ws/lib/Extensions.js +203 -0
- package/node_modules/ws/lib/PerMessageDeflate.js +507 -0
- package/node_modules/ws/lib/Receiver.js +553 -0
- package/node_modules/ws/lib/Sender.js +412 -0
- package/node_modules/ws/lib/Validation.js +17 -0
- package/node_modules/ws/lib/WebSocket.js +717 -0
- package/node_modules/ws/lib/WebSocketServer.js +326 -0
- package/node_modules/ws/package.json +83 -0
- package/node_modules/xhr2/CONTRIBUTING.md +33 -0
- package/node_modules/xhr2/Cakefile +131 -0
- package/node_modules/xhr2/LICENSE.txt +19 -0
- package/node_modules/xhr2/README.md +142 -0
- package/node_modules/xhr2/lib/browser.js +1 -0
- package/node_modules/xhr2/lib/xhr2.js +1244 -0
- package/node_modules/xhr2/package.json +103 -0
- package/node_modules/xhr2/src/000-xml_http_request_event_target.coffee +89 -0
- package/node_modules/xhr2/src/001-xml_http_request.coffee +781 -0
- package/node_modules/xhr2/src/errors.coffee +31 -0
- package/node_modules/xhr2/src/progress_event.coffee +39 -0
- package/node_modules/xhr2/src/xml_http_request_upload.coffee +95 -0
- package/node_modules/xhr2/test/fixtures/hello.json +1 -0
- package/node_modules/xhr2/test/fixtures/hello.txt +1 -0
- package/node_modules/xhr2/test/fixtures/xhr2.png +0 -0
- package/node_modules/xhr2/test/html/browser_test.html +30 -0
- package/node_modules/xhr2/test/src/event_target_test.coffee +85 -0
- package/node_modules/xhr2/test/src/events_test.coffee +204 -0
- package/node_modules/xhr2/test/src/headers_test.coffee +168 -0
- package/node_modules/xhr2/test/src/helpers/browser_mocha_runner.coffee +10 -0
- package/node_modules/xhr2/test/src/helpers/browser_mocha_setup.coffee +1 -0
- package/node_modules/xhr2/test/src/helpers/setup.coffee +38 -0
- package/node_modules/xhr2/test/src/helpers/xhr_server.coffee +156 -0
- package/node_modules/xhr2/test/src/nodejs_set_test.coffee +162 -0
- package/node_modules/xhr2/test/src/redirect_test.coffee +57 -0
- package/node_modules/xhr2/test/src/response_type_test.coffee +88 -0
- package/node_modules/xhr2/test/src/responseurl_test.coffee +18 -0
- package/node_modules/xhr2/test/src/send_test.coffee +89 -0
- package/node_modules/xhr2/test/src/status_test.coffee +47 -0
- package/node_modules/xhr2/test/src/xhr_test.coffee +102 -0
- package/node_modules/xtend/.jshintrc +30 -0
- package/node_modules/xtend/LICENSE +20 -0
- package/node_modules/xtend/README.md +32 -0
- package/node_modules/xtend/immutable.js +19 -0
- package/node_modules/xtend/mutable.js +17 -0
- package/node_modules/xtend/package.json +89 -0
- package/node_modules/xtend/test.js +103 -0
- package/node_modules/y18n/CHANGELOG.md +100 -0
- package/node_modules/y18n/LICENSE +13 -0
- package/node_modules/y18n/README.md +127 -0
- package/node_modules/y18n/build/index.cjs +203 -0
- package/node_modules/y18n/build/lib/cjs.js +6 -0
- package/node_modules/y18n/build/lib/index.js +174 -0
- package/node_modules/y18n/build/lib/platform-shims/node.js +19 -0
- package/node_modules/y18n/index.mjs +8 -0
- package/node_modules/y18n/package.json +104 -0
- package/node_modules/yallist/LICENSE +15 -0
- package/node_modules/yallist/README.md +204 -0
- package/node_modules/yallist/iterator.js +8 -0
- package/node_modules/yallist/package.json +68 -0
- package/node_modules/yallist/yallist.js +426 -0
- package/node_modules/yargs/LICENSE +21 -0
- package/node_modules/yargs/README.md +204 -0
- package/node_modules/yargs/browser.mjs +7 -0
- package/node_modules/yargs/build/index.cjs +1 -0
- package/node_modules/yargs/build/lib/argsert.js +62 -0
- package/node_modules/yargs/build/lib/command.js +447 -0
- package/node_modules/yargs/build/lib/completion-templates.js +48 -0
- package/node_modules/yargs/build/lib/completion.js +236 -0
- package/node_modules/yargs/build/lib/middleware.js +88 -0
- package/node_modules/yargs/build/lib/parse-command.js +32 -0
- package/node_modules/yargs/build/lib/typings/common-types.js +9 -0
- package/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
- package/node_modules/yargs/build/lib/usage.js +579 -0
- package/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
- package/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
- package/node_modules/yargs/build/lib/utils/levenshtein.js +34 -0
- package/node_modules/yargs/build/lib/utils/maybe-async-result.js +17 -0
- package/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
- package/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
- package/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
- package/node_modules/yargs/build/lib/utils/which-module.js +10 -0
- package/node_modules/yargs/build/lib/validation.js +305 -0
- package/node_modules/yargs/build/lib/yargs-factory.js +1497 -0
- package/node_modules/yargs/build/lib/yerror.js +9 -0
- package/node_modules/yargs/helpers/helpers.mjs +10 -0
- package/node_modules/yargs/helpers/index.js +14 -0
- package/node_modules/yargs/helpers/package.json +3 -0
- package/node_modules/yargs/index.cjs +53 -0
- package/node_modules/yargs/index.mjs +8 -0
- package/node_modules/yargs/lib/platform-shims/browser.mjs +95 -0
- package/node_modules/yargs/lib/platform-shims/esm.mjs +73 -0
- package/node_modules/yargs/locales/be.json +46 -0
- package/node_modules/yargs/locales/de.json +46 -0
- package/node_modules/yargs/locales/en.json +51 -0
- package/node_modules/yargs/locales/es.json +46 -0
- package/node_modules/yargs/locales/fi.json +49 -0
- package/node_modules/yargs/locales/fr.json +53 -0
- package/node_modules/yargs/locales/hi.json +49 -0
- package/node_modules/yargs/locales/hu.json +46 -0
- package/node_modules/yargs/locales/id.json +50 -0
- package/node_modules/yargs/locales/it.json +46 -0
- package/node_modules/yargs/locales/ja.json +51 -0
- package/node_modules/yargs/locales/ko.json +49 -0
- package/node_modules/yargs/locales/nb.json +44 -0
- package/node_modules/yargs/locales/nl.json +49 -0
- package/node_modules/yargs/locales/nn.json +44 -0
- package/node_modules/yargs/locales/pirate.json +13 -0
- package/node_modules/yargs/locales/pl.json +49 -0
- package/node_modules/yargs/locales/pt.json +45 -0
- package/node_modules/yargs/locales/pt_BR.json +48 -0
- package/node_modules/yargs/locales/ru.json +51 -0
- package/node_modules/yargs/locales/th.json +46 -0
- package/node_modules/yargs/locales/tr.json +48 -0
- package/node_modules/yargs/locales/uk_UA.json +51 -0
- package/node_modules/yargs/locales/uz.json +52 -0
- package/node_modules/yargs/locales/zh_CN.json +48 -0
- package/node_modules/yargs/locales/zh_TW.json +51 -0
- package/node_modules/yargs/package.json +154 -0
- package/node_modules/yargs/yargs +9 -0
- package/node_modules/yargs/yargs.mjs +10 -0
- package/node_modules/yargs-parser/CHANGELOG.md +287 -0
- package/node_modules/yargs-parser/LICENSE.txt +14 -0
- package/node_modules/yargs-parser/README.md +518 -0
- package/node_modules/yargs-parser/browser.js +29 -0
- package/node_modules/yargs-parser/build/index.cjs +1048 -0
- package/node_modules/yargs-parser/build/lib/index.js +60 -0
- package/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
- package/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
- package/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
- package/node_modules/yargs-parser/build/lib/yargs-parser.js +1045 -0
- package/node_modules/yargs-parser/package.json +123 -0
- package/node_modules/yazl/LICENSE +21 -0
- package/node_modules/yazl/README.md +389 -0
- package/node_modules/yazl/index.js +749 -0
- package/node_modules/yazl/package.json +69 -0
- package/package.json +60 -0
- package/src/commands/Client.js +45 -0
- package/src/commands/CorelliumAPI.js +76 -0
- package/src/commands/agent/Agent.js +46 -0
- package/src/commands/agent/apps.js +54 -0
- package/src/commands/agent/file.js +48 -0
- package/src/commands/agent/index.js +26 -0
- package/src/commands/extensions/delete.js +52 -0
- package/src/commands/extensions/index.js +15 -0
- package/src/commands/extensions/list.js +46 -0
- package/src/commands/extensions/load.js +71 -0
- package/src/commands/extensions/validate.js +62 -0
- package/src/commands/firmware/index.js +13 -0
- package/src/commands/firmware/list.js +62 -0
- package/src/commands/firmware/load.js +57 -0
- package/src/commands/images/create.js +82 -0
- package/src/commands/images/delete.js +39 -0
- package/src/commands/images/index.js +14 -0
- package/src/commands/images/list.js +38 -0
- package/src/commands/index.js +12 -0
- package/src/commands/instances/create.js +66 -0
- package/src/commands/instances/delete.js +39 -0
- package/src/commands/instances/index.js +16 -0
- package/src/commands/instances/list.js +45 -0
- package/src/commands/instances/start.js +48 -0
- package/src/commands/instances/stop.js +48 -0
- package/src/commands/login.js +75 -0
- package/src/commands/logout.js +33 -0
- package/src/commands/projects/create.js +86 -0
- package/src/commands/projects/delete.js +52 -0
- package/src/commands/projects/index.js +14 -0
- package/src/commands/projects/list.js +37 -0
- package/src/commands/signup.js +100 -0
- package/src/commands/webplayer/WebPlayer.js +56 -0
- package/src/commands/webplayer/create.js +61 -0
- package/src/commands/webplayer/destroy.js +43 -0
- package/src/commands/webplayer/index.js +15 -0
- package/src/commands/webplayer/list.js +65 -0
- package/src/commands/webplayer/login.js +45 -0
- package/src/error.js +10 -0
- package/src/logging.js +28 -0
- package/src/profile.js +60 -0
- package/src/subscriberInvite.js +140 -0
- package/src/table.js +36 -0
- package/src/upload.js +34 -0
- package/src/utils.js +147 -0
@@ -0,0 +1,3165 @@
|
|
1
|
+
// https://d3js.org/d3-geo/ v1.12.1 Copyright 2020 Mike Bostock
|
2
|
+
(function (global, factory) {
|
3
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-array')) :
|
4
|
+
typeof define === 'function' && define.amd ? define(['exports', 'd3-array'], factory) :
|
5
|
+
(global = global || self, factory(global.d3 = global.d3 || {}, global.d3));
|
6
|
+
}(this, (function (exports, d3Array) { 'use strict';
|
7
|
+
|
8
|
+
// Adds floating point numbers with twice the normal precision.
|
9
|
+
// Reference: J. R. Shewchuk, Adaptive Precision Floating-Point Arithmetic and
|
10
|
+
// Fast Robust Geometric Predicates, Discrete & Computational Geometry 18(3)
|
11
|
+
// 305–363 (1997).
|
12
|
+
// Code adapted from GeographicLib by Charles F. F. Karney,
|
13
|
+
// http://geographiclib.sourceforge.net/
|
14
|
+
|
15
|
+
function adder() {
|
16
|
+
return new Adder;
|
17
|
+
}
|
18
|
+
|
19
|
+
function Adder() {
|
20
|
+
this.reset();
|
21
|
+
}
|
22
|
+
|
23
|
+
Adder.prototype = {
|
24
|
+
constructor: Adder,
|
25
|
+
reset: function() {
|
26
|
+
this.s = // rounded value
|
27
|
+
this.t = 0; // exact error
|
28
|
+
},
|
29
|
+
add: function(y) {
|
30
|
+
add(temp, y, this.t);
|
31
|
+
add(this, temp.s, this.s);
|
32
|
+
if (this.s) this.t += temp.t;
|
33
|
+
else this.s = temp.t;
|
34
|
+
},
|
35
|
+
valueOf: function() {
|
36
|
+
return this.s;
|
37
|
+
}
|
38
|
+
};
|
39
|
+
|
40
|
+
var temp = new Adder;
|
41
|
+
|
42
|
+
function add(adder, a, b) {
|
43
|
+
var x = adder.s = a + b,
|
44
|
+
bv = x - a,
|
45
|
+
av = x - bv;
|
46
|
+
adder.t = (a - av) + (b - bv);
|
47
|
+
}
|
48
|
+
|
49
|
+
var epsilon = 1e-6;
|
50
|
+
var epsilon2 = 1e-12;
|
51
|
+
var pi = Math.PI;
|
52
|
+
var halfPi = pi / 2;
|
53
|
+
var quarterPi = pi / 4;
|
54
|
+
var tau = pi * 2;
|
55
|
+
|
56
|
+
var degrees = 180 / pi;
|
57
|
+
var radians = pi / 180;
|
58
|
+
|
59
|
+
var abs = Math.abs;
|
60
|
+
var atan = Math.atan;
|
61
|
+
var atan2 = Math.atan2;
|
62
|
+
var cos = Math.cos;
|
63
|
+
var ceil = Math.ceil;
|
64
|
+
var exp = Math.exp;
|
65
|
+
var log = Math.log;
|
66
|
+
var pow = Math.pow;
|
67
|
+
var sin = Math.sin;
|
68
|
+
var sign = Math.sign || function(x) { return x > 0 ? 1 : x < 0 ? -1 : 0; };
|
69
|
+
var sqrt = Math.sqrt;
|
70
|
+
var tan = Math.tan;
|
71
|
+
|
72
|
+
function acos(x) {
|
73
|
+
return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);
|
74
|
+
}
|
75
|
+
|
76
|
+
function asin(x) {
|
77
|
+
return x > 1 ? halfPi : x < -1 ? -halfPi : Math.asin(x);
|
78
|
+
}
|
79
|
+
|
80
|
+
function haversin(x) {
|
81
|
+
return (x = sin(x / 2)) * x;
|
82
|
+
}
|
83
|
+
|
84
|
+
function noop() {}
|
85
|
+
|
86
|
+
function streamGeometry(geometry, stream) {
|
87
|
+
if (geometry && streamGeometryType.hasOwnProperty(geometry.type)) {
|
88
|
+
streamGeometryType[geometry.type](geometry, stream);
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
var streamObjectType = {
|
93
|
+
Feature: function(object, stream) {
|
94
|
+
streamGeometry(object.geometry, stream);
|
95
|
+
},
|
96
|
+
FeatureCollection: function(object, stream) {
|
97
|
+
var features = object.features, i = -1, n = features.length;
|
98
|
+
while (++i < n) streamGeometry(features[i].geometry, stream);
|
99
|
+
}
|
100
|
+
};
|
101
|
+
|
102
|
+
var streamGeometryType = {
|
103
|
+
Sphere: function(object, stream) {
|
104
|
+
stream.sphere();
|
105
|
+
},
|
106
|
+
Point: function(object, stream) {
|
107
|
+
object = object.coordinates;
|
108
|
+
stream.point(object[0], object[1], object[2]);
|
109
|
+
},
|
110
|
+
MultiPoint: function(object, stream) {
|
111
|
+
var coordinates = object.coordinates, i = -1, n = coordinates.length;
|
112
|
+
while (++i < n) object = coordinates[i], stream.point(object[0], object[1], object[2]);
|
113
|
+
},
|
114
|
+
LineString: function(object, stream) {
|
115
|
+
streamLine(object.coordinates, stream, 0);
|
116
|
+
},
|
117
|
+
MultiLineString: function(object, stream) {
|
118
|
+
var coordinates = object.coordinates, i = -1, n = coordinates.length;
|
119
|
+
while (++i < n) streamLine(coordinates[i], stream, 0);
|
120
|
+
},
|
121
|
+
Polygon: function(object, stream) {
|
122
|
+
streamPolygon(object.coordinates, stream);
|
123
|
+
},
|
124
|
+
MultiPolygon: function(object, stream) {
|
125
|
+
var coordinates = object.coordinates, i = -1, n = coordinates.length;
|
126
|
+
while (++i < n) streamPolygon(coordinates[i], stream);
|
127
|
+
},
|
128
|
+
GeometryCollection: function(object, stream) {
|
129
|
+
var geometries = object.geometries, i = -1, n = geometries.length;
|
130
|
+
while (++i < n) streamGeometry(geometries[i], stream);
|
131
|
+
}
|
132
|
+
};
|
133
|
+
|
134
|
+
function streamLine(coordinates, stream, closed) {
|
135
|
+
var i = -1, n = coordinates.length - closed, coordinate;
|
136
|
+
stream.lineStart();
|
137
|
+
while (++i < n) coordinate = coordinates[i], stream.point(coordinate[0], coordinate[1], coordinate[2]);
|
138
|
+
stream.lineEnd();
|
139
|
+
}
|
140
|
+
|
141
|
+
function streamPolygon(coordinates, stream) {
|
142
|
+
var i = -1, n = coordinates.length;
|
143
|
+
stream.polygonStart();
|
144
|
+
while (++i < n) streamLine(coordinates[i], stream, 1);
|
145
|
+
stream.polygonEnd();
|
146
|
+
}
|
147
|
+
|
148
|
+
function geoStream(object, stream) {
|
149
|
+
if (object && streamObjectType.hasOwnProperty(object.type)) {
|
150
|
+
streamObjectType[object.type](object, stream);
|
151
|
+
} else {
|
152
|
+
streamGeometry(object, stream);
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
var areaRingSum = adder();
|
157
|
+
|
158
|
+
var areaSum = adder(),
|
159
|
+
lambda00,
|
160
|
+
phi00,
|
161
|
+
lambda0,
|
162
|
+
cosPhi0,
|
163
|
+
sinPhi0;
|
164
|
+
|
165
|
+
var areaStream = {
|
166
|
+
point: noop,
|
167
|
+
lineStart: noop,
|
168
|
+
lineEnd: noop,
|
169
|
+
polygonStart: function() {
|
170
|
+
areaRingSum.reset();
|
171
|
+
areaStream.lineStart = areaRingStart;
|
172
|
+
areaStream.lineEnd = areaRingEnd;
|
173
|
+
},
|
174
|
+
polygonEnd: function() {
|
175
|
+
var areaRing = +areaRingSum;
|
176
|
+
areaSum.add(areaRing < 0 ? tau + areaRing : areaRing);
|
177
|
+
this.lineStart = this.lineEnd = this.point = noop;
|
178
|
+
},
|
179
|
+
sphere: function() {
|
180
|
+
areaSum.add(tau);
|
181
|
+
}
|
182
|
+
};
|
183
|
+
|
184
|
+
function areaRingStart() {
|
185
|
+
areaStream.point = areaPointFirst;
|
186
|
+
}
|
187
|
+
|
188
|
+
function areaRingEnd() {
|
189
|
+
areaPoint(lambda00, phi00);
|
190
|
+
}
|
191
|
+
|
192
|
+
function areaPointFirst(lambda, phi) {
|
193
|
+
areaStream.point = areaPoint;
|
194
|
+
lambda00 = lambda, phi00 = phi;
|
195
|
+
lambda *= radians, phi *= radians;
|
196
|
+
lambda0 = lambda, cosPhi0 = cos(phi = phi / 2 + quarterPi), sinPhi0 = sin(phi);
|
197
|
+
}
|
198
|
+
|
199
|
+
function areaPoint(lambda, phi) {
|
200
|
+
lambda *= radians, phi *= radians;
|
201
|
+
phi = phi / 2 + quarterPi; // half the angular distance from south pole
|
202
|
+
|
203
|
+
// Spherical excess E for a spherical triangle with vertices: south pole,
|
204
|
+
// previous point, current point. Uses a formula derived from Cagnoli’s
|
205
|
+
// theorem. See Todhunter, Spherical Trig. (1871), Sec. 103, Eq. (2).
|
206
|
+
var dLambda = lambda - lambda0,
|
207
|
+
sdLambda = dLambda >= 0 ? 1 : -1,
|
208
|
+
adLambda = sdLambda * dLambda,
|
209
|
+
cosPhi = cos(phi),
|
210
|
+
sinPhi = sin(phi),
|
211
|
+
k = sinPhi0 * sinPhi,
|
212
|
+
u = cosPhi0 * cosPhi + k * cos(adLambda),
|
213
|
+
v = k * sdLambda * sin(adLambda);
|
214
|
+
areaRingSum.add(atan2(v, u));
|
215
|
+
|
216
|
+
// Advance the previous points.
|
217
|
+
lambda0 = lambda, cosPhi0 = cosPhi, sinPhi0 = sinPhi;
|
218
|
+
}
|
219
|
+
|
220
|
+
function area(object) {
|
221
|
+
areaSum.reset();
|
222
|
+
geoStream(object, areaStream);
|
223
|
+
return areaSum * 2;
|
224
|
+
}
|
225
|
+
|
226
|
+
function spherical(cartesian) {
|
227
|
+
return [atan2(cartesian[1], cartesian[0]), asin(cartesian[2])];
|
228
|
+
}
|
229
|
+
|
230
|
+
function cartesian(spherical) {
|
231
|
+
var lambda = spherical[0], phi = spherical[1], cosPhi = cos(phi);
|
232
|
+
return [cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi)];
|
233
|
+
}
|
234
|
+
|
235
|
+
function cartesianDot(a, b) {
|
236
|
+
return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];
|
237
|
+
}
|
238
|
+
|
239
|
+
function cartesianCross(a, b) {
|
240
|
+
return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];
|
241
|
+
}
|
242
|
+
|
243
|
+
// TODO return a
|
244
|
+
function cartesianAddInPlace(a, b) {
|
245
|
+
a[0] += b[0], a[1] += b[1], a[2] += b[2];
|
246
|
+
}
|
247
|
+
|
248
|
+
function cartesianScale(vector, k) {
|
249
|
+
return [vector[0] * k, vector[1] * k, vector[2] * k];
|
250
|
+
}
|
251
|
+
|
252
|
+
// TODO return d
|
253
|
+
function cartesianNormalizeInPlace(d) {
|
254
|
+
var l = sqrt(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]);
|
255
|
+
d[0] /= l, d[1] /= l, d[2] /= l;
|
256
|
+
}
|
257
|
+
|
258
|
+
var lambda0$1, phi0, lambda1, phi1, // bounds
|
259
|
+
lambda2, // previous lambda-coordinate
|
260
|
+
lambda00$1, phi00$1, // first point
|
261
|
+
p0, // previous 3D point
|
262
|
+
deltaSum = adder(),
|
263
|
+
ranges,
|
264
|
+
range;
|
265
|
+
|
266
|
+
var boundsStream = {
|
267
|
+
point: boundsPoint,
|
268
|
+
lineStart: boundsLineStart,
|
269
|
+
lineEnd: boundsLineEnd,
|
270
|
+
polygonStart: function() {
|
271
|
+
boundsStream.point = boundsRingPoint;
|
272
|
+
boundsStream.lineStart = boundsRingStart;
|
273
|
+
boundsStream.lineEnd = boundsRingEnd;
|
274
|
+
deltaSum.reset();
|
275
|
+
areaStream.polygonStart();
|
276
|
+
},
|
277
|
+
polygonEnd: function() {
|
278
|
+
areaStream.polygonEnd();
|
279
|
+
boundsStream.point = boundsPoint;
|
280
|
+
boundsStream.lineStart = boundsLineStart;
|
281
|
+
boundsStream.lineEnd = boundsLineEnd;
|
282
|
+
if (areaRingSum < 0) lambda0$1 = -(lambda1 = 180), phi0 = -(phi1 = 90);
|
283
|
+
else if (deltaSum > epsilon) phi1 = 90;
|
284
|
+
else if (deltaSum < -epsilon) phi0 = -90;
|
285
|
+
range[0] = lambda0$1, range[1] = lambda1;
|
286
|
+
},
|
287
|
+
sphere: function() {
|
288
|
+
lambda0$1 = -(lambda1 = 180), phi0 = -(phi1 = 90);
|
289
|
+
}
|
290
|
+
};
|
291
|
+
|
292
|
+
function boundsPoint(lambda, phi) {
|
293
|
+
ranges.push(range = [lambda0$1 = lambda, lambda1 = lambda]);
|
294
|
+
if (phi < phi0) phi0 = phi;
|
295
|
+
if (phi > phi1) phi1 = phi;
|
296
|
+
}
|
297
|
+
|
298
|
+
function linePoint(lambda, phi) {
|
299
|
+
var p = cartesian([lambda * radians, phi * radians]);
|
300
|
+
if (p0) {
|
301
|
+
var normal = cartesianCross(p0, p),
|
302
|
+
equatorial = [normal[1], -normal[0], 0],
|
303
|
+
inflection = cartesianCross(equatorial, normal);
|
304
|
+
cartesianNormalizeInPlace(inflection);
|
305
|
+
inflection = spherical(inflection);
|
306
|
+
var delta = lambda - lambda2,
|
307
|
+
sign = delta > 0 ? 1 : -1,
|
308
|
+
lambdai = inflection[0] * degrees * sign,
|
309
|
+
phii,
|
310
|
+
antimeridian = abs(delta) > 180;
|
311
|
+
if (antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {
|
312
|
+
phii = inflection[1] * degrees;
|
313
|
+
if (phii > phi1) phi1 = phii;
|
314
|
+
} else if (lambdai = (lambdai + 360) % 360 - 180, antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {
|
315
|
+
phii = -inflection[1] * degrees;
|
316
|
+
if (phii < phi0) phi0 = phii;
|
317
|
+
} else {
|
318
|
+
if (phi < phi0) phi0 = phi;
|
319
|
+
if (phi > phi1) phi1 = phi;
|
320
|
+
}
|
321
|
+
if (antimeridian) {
|
322
|
+
if (lambda < lambda2) {
|
323
|
+
if (angle(lambda0$1, lambda) > angle(lambda0$1, lambda1)) lambda1 = lambda;
|
324
|
+
} else {
|
325
|
+
if (angle(lambda, lambda1) > angle(lambda0$1, lambda1)) lambda0$1 = lambda;
|
326
|
+
}
|
327
|
+
} else {
|
328
|
+
if (lambda1 >= lambda0$1) {
|
329
|
+
if (lambda < lambda0$1) lambda0$1 = lambda;
|
330
|
+
if (lambda > lambda1) lambda1 = lambda;
|
331
|
+
} else {
|
332
|
+
if (lambda > lambda2) {
|
333
|
+
if (angle(lambda0$1, lambda) > angle(lambda0$1, lambda1)) lambda1 = lambda;
|
334
|
+
} else {
|
335
|
+
if (angle(lambda, lambda1) > angle(lambda0$1, lambda1)) lambda0$1 = lambda;
|
336
|
+
}
|
337
|
+
}
|
338
|
+
}
|
339
|
+
} else {
|
340
|
+
ranges.push(range = [lambda0$1 = lambda, lambda1 = lambda]);
|
341
|
+
}
|
342
|
+
if (phi < phi0) phi0 = phi;
|
343
|
+
if (phi > phi1) phi1 = phi;
|
344
|
+
p0 = p, lambda2 = lambda;
|
345
|
+
}
|
346
|
+
|
347
|
+
function boundsLineStart() {
|
348
|
+
boundsStream.point = linePoint;
|
349
|
+
}
|
350
|
+
|
351
|
+
function boundsLineEnd() {
|
352
|
+
range[0] = lambda0$1, range[1] = lambda1;
|
353
|
+
boundsStream.point = boundsPoint;
|
354
|
+
p0 = null;
|
355
|
+
}
|
356
|
+
|
357
|
+
function boundsRingPoint(lambda, phi) {
|
358
|
+
if (p0) {
|
359
|
+
var delta = lambda - lambda2;
|
360
|
+
deltaSum.add(abs(delta) > 180 ? delta + (delta > 0 ? 360 : -360) : delta);
|
361
|
+
} else {
|
362
|
+
lambda00$1 = lambda, phi00$1 = phi;
|
363
|
+
}
|
364
|
+
areaStream.point(lambda, phi);
|
365
|
+
linePoint(lambda, phi);
|
366
|
+
}
|
367
|
+
|
368
|
+
function boundsRingStart() {
|
369
|
+
areaStream.lineStart();
|
370
|
+
}
|
371
|
+
|
372
|
+
function boundsRingEnd() {
|
373
|
+
boundsRingPoint(lambda00$1, phi00$1);
|
374
|
+
areaStream.lineEnd();
|
375
|
+
if (abs(deltaSum) > epsilon) lambda0$1 = -(lambda1 = 180);
|
376
|
+
range[0] = lambda0$1, range[1] = lambda1;
|
377
|
+
p0 = null;
|
378
|
+
}
|
379
|
+
|
380
|
+
// Finds the left-right distance between two longitudes.
|
381
|
+
// This is almost the same as (lambda1 - lambda0 + 360°) % 360°, except that we want
|
382
|
+
// the distance between ±180° to be 360°.
|
383
|
+
function angle(lambda0, lambda1) {
|
384
|
+
return (lambda1 -= lambda0) < 0 ? lambda1 + 360 : lambda1;
|
385
|
+
}
|
386
|
+
|
387
|
+
function rangeCompare(a, b) {
|
388
|
+
return a[0] - b[0];
|
389
|
+
}
|
390
|
+
|
391
|
+
function rangeContains(range, x) {
|
392
|
+
return range[0] <= range[1] ? range[0] <= x && x <= range[1] : x < range[0] || range[1] < x;
|
393
|
+
}
|
394
|
+
|
395
|
+
function bounds(feature) {
|
396
|
+
var i, n, a, b, merged, deltaMax, delta;
|
397
|
+
|
398
|
+
phi1 = lambda1 = -(lambda0$1 = phi0 = Infinity);
|
399
|
+
ranges = [];
|
400
|
+
geoStream(feature, boundsStream);
|
401
|
+
|
402
|
+
// First, sort ranges by their minimum longitudes.
|
403
|
+
if (n = ranges.length) {
|
404
|
+
ranges.sort(rangeCompare);
|
405
|
+
|
406
|
+
// Then, merge any ranges that overlap.
|
407
|
+
for (i = 1, a = ranges[0], merged = [a]; i < n; ++i) {
|
408
|
+
b = ranges[i];
|
409
|
+
if (rangeContains(a, b[0]) || rangeContains(a, b[1])) {
|
410
|
+
if (angle(a[0], b[1]) > angle(a[0], a[1])) a[1] = b[1];
|
411
|
+
if (angle(b[0], a[1]) > angle(a[0], a[1])) a[0] = b[0];
|
412
|
+
} else {
|
413
|
+
merged.push(a = b);
|
414
|
+
}
|
415
|
+
}
|
416
|
+
|
417
|
+
// Finally, find the largest gap between the merged ranges.
|
418
|
+
// The final bounding box will be the inverse of this gap.
|
419
|
+
for (deltaMax = -Infinity, n = merged.length - 1, i = 0, a = merged[n]; i <= n; a = b, ++i) {
|
420
|
+
b = merged[i];
|
421
|
+
if ((delta = angle(a[1], b[0])) > deltaMax) deltaMax = delta, lambda0$1 = b[0], lambda1 = a[1];
|
422
|
+
}
|
423
|
+
}
|
424
|
+
|
425
|
+
ranges = range = null;
|
426
|
+
|
427
|
+
return lambda0$1 === Infinity || phi0 === Infinity
|
428
|
+
? [[NaN, NaN], [NaN, NaN]]
|
429
|
+
: [[lambda0$1, phi0], [lambda1, phi1]];
|
430
|
+
}
|
431
|
+
|
432
|
+
var W0, W1,
|
433
|
+
X0, Y0, Z0,
|
434
|
+
X1, Y1, Z1,
|
435
|
+
X2, Y2, Z2,
|
436
|
+
lambda00$2, phi00$2, // first point
|
437
|
+
x0, y0, z0; // previous point
|
438
|
+
|
439
|
+
var centroidStream = {
|
440
|
+
sphere: noop,
|
441
|
+
point: centroidPoint,
|
442
|
+
lineStart: centroidLineStart,
|
443
|
+
lineEnd: centroidLineEnd,
|
444
|
+
polygonStart: function() {
|
445
|
+
centroidStream.lineStart = centroidRingStart;
|
446
|
+
centroidStream.lineEnd = centroidRingEnd;
|
447
|
+
},
|
448
|
+
polygonEnd: function() {
|
449
|
+
centroidStream.lineStart = centroidLineStart;
|
450
|
+
centroidStream.lineEnd = centroidLineEnd;
|
451
|
+
}
|
452
|
+
};
|
453
|
+
|
454
|
+
// Arithmetic mean of Cartesian vectors.
|
455
|
+
function centroidPoint(lambda, phi) {
|
456
|
+
lambda *= radians, phi *= radians;
|
457
|
+
var cosPhi = cos(phi);
|
458
|
+
centroidPointCartesian(cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi));
|
459
|
+
}
|
460
|
+
|
461
|
+
function centroidPointCartesian(x, y, z) {
|
462
|
+
++W0;
|
463
|
+
X0 += (x - X0) / W0;
|
464
|
+
Y0 += (y - Y0) / W0;
|
465
|
+
Z0 += (z - Z0) / W0;
|
466
|
+
}
|
467
|
+
|
468
|
+
function centroidLineStart() {
|
469
|
+
centroidStream.point = centroidLinePointFirst;
|
470
|
+
}
|
471
|
+
|
472
|
+
function centroidLinePointFirst(lambda, phi) {
|
473
|
+
lambda *= radians, phi *= radians;
|
474
|
+
var cosPhi = cos(phi);
|
475
|
+
x0 = cosPhi * cos(lambda);
|
476
|
+
y0 = cosPhi * sin(lambda);
|
477
|
+
z0 = sin(phi);
|
478
|
+
centroidStream.point = centroidLinePoint;
|
479
|
+
centroidPointCartesian(x0, y0, z0);
|
480
|
+
}
|
481
|
+
|
482
|
+
function centroidLinePoint(lambda, phi) {
|
483
|
+
lambda *= radians, phi *= radians;
|
484
|
+
var cosPhi = cos(phi),
|
485
|
+
x = cosPhi * cos(lambda),
|
486
|
+
y = cosPhi * sin(lambda),
|
487
|
+
z = sin(phi),
|
488
|
+
w = atan2(sqrt((w = y0 * z - z0 * y) * w + (w = z0 * x - x0 * z) * w + (w = x0 * y - y0 * x) * w), x0 * x + y0 * y + z0 * z);
|
489
|
+
W1 += w;
|
490
|
+
X1 += w * (x0 + (x0 = x));
|
491
|
+
Y1 += w * (y0 + (y0 = y));
|
492
|
+
Z1 += w * (z0 + (z0 = z));
|
493
|
+
centroidPointCartesian(x0, y0, z0);
|
494
|
+
}
|
495
|
+
|
496
|
+
function centroidLineEnd() {
|
497
|
+
centroidStream.point = centroidPoint;
|
498
|
+
}
|
499
|
+
|
500
|
+
// See J. E. Brock, The Inertia Tensor for a Spherical Triangle,
|
501
|
+
// J. Applied Mechanics 42, 239 (1975).
|
502
|
+
function centroidRingStart() {
|
503
|
+
centroidStream.point = centroidRingPointFirst;
|
504
|
+
}
|
505
|
+
|
506
|
+
function centroidRingEnd() {
|
507
|
+
centroidRingPoint(lambda00$2, phi00$2);
|
508
|
+
centroidStream.point = centroidPoint;
|
509
|
+
}
|
510
|
+
|
511
|
+
function centroidRingPointFirst(lambda, phi) {
|
512
|
+
lambda00$2 = lambda, phi00$2 = phi;
|
513
|
+
lambda *= radians, phi *= radians;
|
514
|
+
centroidStream.point = centroidRingPoint;
|
515
|
+
var cosPhi = cos(phi);
|
516
|
+
x0 = cosPhi * cos(lambda);
|
517
|
+
y0 = cosPhi * sin(lambda);
|
518
|
+
z0 = sin(phi);
|
519
|
+
centroidPointCartesian(x0, y0, z0);
|
520
|
+
}
|
521
|
+
|
522
|
+
function centroidRingPoint(lambda, phi) {
|
523
|
+
lambda *= radians, phi *= radians;
|
524
|
+
var cosPhi = cos(phi),
|
525
|
+
x = cosPhi * cos(lambda),
|
526
|
+
y = cosPhi * sin(lambda),
|
527
|
+
z = sin(phi),
|
528
|
+
cx = y0 * z - z0 * y,
|
529
|
+
cy = z0 * x - x0 * z,
|
530
|
+
cz = x0 * y - y0 * x,
|
531
|
+
m = sqrt(cx * cx + cy * cy + cz * cz),
|
532
|
+
w = asin(m), // line weight = angle
|
533
|
+
v = m && -w / m; // area weight multiplier
|
534
|
+
X2 += v * cx;
|
535
|
+
Y2 += v * cy;
|
536
|
+
Z2 += v * cz;
|
537
|
+
W1 += w;
|
538
|
+
X1 += w * (x0 + (x0 = x));
|
539
|
+
Y1 += w * (y0 + (y0 = y));
|
540
|
+
Z1 += w * (z0 + (z0 = z));
|
541
|
+
centroidPointCartesian(x0, y0, z0);
|
542
|
+
}
|
543
|
+
|
544
|
+
function centroid(object) {
|
545
|
+
W0 = W1 =
|
546
|
+
X0 = Y0 = Z0 =
|
547
|
+
X1 = Y1 = Z1 =
|
548
|
+
X2 = Y2 = Z2 = 0;
|
549
|
+
geoStream(object, centroidStream);
|
550
|
+
|
551
|
+
var x = X2,
|
552
|
+
y = Y2,
|
553
|
+
z = Z2,
|
554
|
+
m = x * x + y * y + z * z;
|
555
|
+
|
556
|
+
// If the area-weighted ccentroid is undefined, fall back to length-weighted ccentroid.
|
557
|
+
if (m < epsilon2) {
|
558
|
+
x = X1, y = Y1, z = Z1;
|
559
|
+
// If the feature has zero length, fall back to arithmetic mean of point vectors.
|
560
|
+
if (W1 < epsilon) x = X0, y = Y0, z = Z0;
|
561
|
+
m = x * x + y * y + z * z;
|
562
|
+
// If the feature still has an undefined ccentroid, then return.
|
563
|
+
if (m < epsilon2) return [NaN, NaN];
|
564
|
+
}
|
565
|
+
|
566
|
+
return [atan2(y, x) * degrees, asin(z / sqrt(m)) * degrees];
|
567
|
+
}
|
568
|
+
|
569
|
+
function constant(x) {
|
570
|
+
return function() {
|
571
|
+
return x;
|
572
|
+
};
|
573
|
+
}
|
574
|
+
|
575
|
+
function compose(a, b) {
|
576
|
+
|
577
|
+
function compose(x, y) {
|
578
|
+
return x = a(x, y), b(x[0], x[1]);
|
579
|
+
}
|
580
|
+
|
581
|
+
if (a.invert && b.invert) compose.invert = function(x, y) {
|
582
|
+
return x = b.invert(x, y), x && a.invert(x[0], x[1]);
|
583
|
+
};
|
584
|
+
|
585
|
+
return compose;
|
586
|
+
}
|
587
|
+
|
588
|
+
function rotationIdentity(lambda, phi) {
|
589
|
+
return [abs(lambda) > pi ? lambda + Math.round(-lambda / tau) * tau : lambda, phi];
|
590
|
+
}
|
591
|
+
|
592
|
+
rotationIdentity.invert = rotationIdentity;
|
593
|
+
|
594
|
+
function rotateRadians(deltaLambda, deltaPhi, deltaGamma) {
|
595
|
+
return (deltaLambda %= tau) ? (deltaPhi || deltaGamma ? compose(rotationLambda(deltaLambda), rotationPhiGamma(deltaPhi, deltaGamma))
|
596
|
+
: rotationLambda(deltaLambda))
|
597
|
+
: (deltaPhi || deltaGamma ? rotationPhiGamma(deltaPhi, deltaGamma)
|
598
|
+
: rotationIdentity);
|
599
|
+
}
|
600
|
+
|
601
|
+
function forwardRotationLambda(deltaLambda) {
|
602
|
+
return function(lambda, phi) {
|
603
|
+
return lambda += deltaLambda, [lambda > pi ? lambda - tau : lambda < -pi ? lambda + tau : lambda, phi];
|
604
|
+
};
|
605
|
+
}
|
606
|
+
|
607
|
+
function rotationLambda(deltaLambda) {
|
608
|
+
var rotation = forwardRotationLambda(deltaLambda);
|
609
|
+
rotation.invert = forwardRotationLambda(-deltaLambda);
|
610
|
+
return rotation;
|
611
|
+
}
|
612
|
+
|
613
|
+
function rotationPhiGamma(deltaPhi, deltaGamma) {
|
614
|
+
var cosDeltaPhi = cos(deltaPhi),
|
615
|
+
sinDeltaPhi = sin(deltaPhi),
|
616
|
+
cosDeltaGamma = cos(deltaGamma),
|
617
|
+
sinDeltaGamma = sin(deltaGamma);
|
618
|
+
|
619
|
+
function rotation(lambda, phi) {
|
620
|
+
var cosPhi = cos(phi),
|
621
|
+
x = cos(lambda) * cosPhi,
|
622
|
+
y = sin(lambda) * cosPhi,
|
623
|
+
z = sin(phi),
|
624
|
+
k = z * cosDeltaPhi + x * sinDeltaPhi;
|
625
|
+
return [
|
626
|
+
atan2(y * cosDeltaGamma - k * sinDeltaGamma, x * cosDeltaPhi - z * sinDeltaPhi),
|
627
|
+
asin(k * cosDeltaGamma + y * sinDeltaGamma)
|
628
|
+
];
|
629
|
+
}
|
630
|
+
|
631
|
+
rotation.invert = function(lambda, phi) {
|
632
|
+
var cosPhi = cos(phi),
|
633
|
+
x = cos(lambda) * cosPhi,
|
634
|
+
y = sin(lambda) * cosPhi,
|
635
|
+
z = sin(phi),
|
636
|
+
k = z * cosDeltaGamma - y * sinDeltaGamma;
|
637
|
+
return [
|
638
|
+
atan2(y * cosDeltaGamma + z * sinDeltaGamma, x * cosDeltaPhi + k * sinDeltaPhi),
|
639
|
+
asin(k * cosDeltaPhi - x * sinDeltaPhi)
|
640
|
+
];
|
641
|
+
};
|
642
|
+
|
643
|
+
return rotation;
|
644
|
+
}
|
645
|
+
|
646
|
+
function rotation(rotate) {
|
647
|
+
rotate = rotateRadians(rotate[0] * radians, rotate[1] * radians, rotate.length > 2 ? rotate[2] * radians : 0);
|
648
|
+
|
649
|
+
function forward(coordinates) {
|
650
|
+
coordinates = rotate(coordinates[0] * radians, coordinates[1] * radians);
|
651
|
+
return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;
|
652
|
+
}
|
653
|
+
|
654
|
+
forward.invert = function(coordinates) {
|
655
|
+
coordinates = rotate.invert(coordinates[0] * radians, coordinates[1] * radians);
|
656
|
+
return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;
|
657
|
+
};
|
658
|
+
|
659
|
+
return forward;
|
660
|
+
}
|
661
|
+
|
662
|
+
// Generates a circle centered at [0°, 0°], with a given radius and precision.
|
663
|
+
function circleStream(stream, radius, delta, direction, t0, t1) {
|
664
|
+
if (!delta) return;
|
665
|
+
var cosRadius = cos(radius),
|
666
|
+
sinRadius = sin(radius),
|
667
|
+
step = direction * delta;
|
668
|
+
if (t0 == null) {
|
669
|
+
t0 = radius + direction * tau;
|
670
|
+
t1 = radius - step / 2;
|
671
|
+
} else {
|
672
|
+
t0 = circleRadius(cosRadius, t0);
|
673
|
+
t1 = circleRadius(cosRadius, t1);
|
674
|
+
if (direction > 0 ? t0 < t1 : t0 > t1) t0 += direction * tau;
|
675
|
+
}
|
676
|
+
for (var point, t = t0; direction > 0 ? t > t1 : t < t1; t -= step) {
|
677
|
+
point = spherical([cosRadius, -sinRadius * cos(t), -sinRadius * sin(t)]);
|
678
|
+
stream.point(point[0], point[1]);
|
679
|
+
}
|
680
|
+
}
|
681
|
+
|
682
|
+
// Returns the signed angle of a cartesian point relative to [cosRadius, 0, 0].
|
683
|
+
function circleRadius(cosRadius, point) {
|
684
|
+
point = cartesian(point), point[0] -= cosRadius;
|
685
|
+
cartesianNormalizeInPlace(point);
|
686
|
+
var radius = acos(-point[1]);
|
687
|
+
return ((-point[2] < 0 ? -radius : radius) + tau - epsilon) % tau;
|
688
|
+
}
|
689
|
+
|
690
|
+
function circle() {
|
691
|
+
var center = constant([0, 0]),
|
692
|
+
radius = constant(90),
|
693
|
+
precision = constant(6),
|
694
|
+
ring,
|
695
|
+
rotate,
|
696
|
+
stream = {point: point};
|
697
|
+
|
698
|
+
function point(x, y) {
|
699
|
+
ring.push(x = rotate(x, y));
|
700
|
+
x[0] *= degrees, x[1] *= degrees;
|
701
|
+
}
|
702
|
+
|
703
|
+
function circle() {
|
704
|
+
var c = center.apply(this, arguments),
|
705
|
+
r = radius.apply(this, arguments) * radians,
|
706
|
+
p = precision.apply(this, arguments) * radians;
|
707
|
+
ring = [];
|
708
|
+
rotate = rotateRadians(-c[0] * radians, -c[1] * radians, 0).invert;
|
709
|
+
circleStream(stream, r, p, 1);
|
710
|
+
c = {type: "Polygon", coordinates: [ring]};
|
711
|
+
ring = rotate = null;
|
712
|
+
return c;
|
713
|
+
}
|
714
|
+
|
715
|
+
circle.center = function(_) {
|
716
|
+
return arguments.length ? (center = typeof _ === "function" ? _ : constant([+_[0], +_[1]]), circle) : center;
|
717
|
+
};
|
718
|
+
|
719
|
+
circle.radius = function(_) {
|
720
|
+
return arguments.length ? (radius = typeof _ === "function" ? _ : constant(+_), circle) : radius;
|
721
|
+
};
|
722
|
+
|
723
|
+
circle.precision = function(_) {
|
724
|
+
return arguments.length ? (precision = typeof _ === "function" ? _ : constant(+_), circle) : precision;
|
725
|
+
};
|
726
|
+
|
727
|
+
return circle;
|
728
|
+
}
|
729
|
+
|
730
|
+
function clipBuffer() {
|
731
|
+
var lines = [],
|
732
|
+
line;
|
733
|
+
return {
|
734
|
+
point: function(x, y, m) {
|
735
|
+
line.push([x, y, m]);
|
736
|
+
},
|
737
|
+
lineStart: function() {
|
738
|
+
lines.push(line = []);
|
739
|
+
},
|
740
|
+
lineEnd: noop,
|
741
|
+
rejoin: function() {
|
742
|
+
if (lines.length > 1) lines.push(lines.pop().concat(lines.shift()));
|
743
|
+
},
|
744
|
+
result: function() {
|
745
|
+
var result = lines;
|
746
|
+
lines = [];
|
747
|
+
line = null;
|
748
|
+
return result;
|
749
|
+
}
|
750
|
+
};
|
751
|
+
}
|
752
|
+
|
753
|
+
function pointEqual(a, b) {
|
754
|
+
return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;
|
755
|
+
}
|
756
|
+
|
757
|
+
function Intersection(point, points, other, entry) {
|
758
|
+
this.x = point;
|
759
|
+
this.z = points;
|
760
|
+
this.o = other; // another intersection
|
761
|
+
this.e = entry; // is an entry?
|
762
|
+
this.v = false; // visited
|
763
|
+
this.n = this.p = null; // next & previous
|
764
|
+
}
|
765
|
+
|
766
|
+
// A generalized polygon clipping algorithm: given a polygon that has been cut
|
767
|
+
// into its visible line segments, and rejoins the segments by interpolating
|
768
|
+
// along the clip edge.
|
769
|
+
function clipRejoin(segments, compareIntersection, startInside, interpolate, stream) {
|
770
|
+
var subject = [],
|
771
|
+
clip = [],
|
772
|
+
i,
|
773
|
+
n;
|
774
|
+
|
775
|
+
segments.forEach(function(segment) {
|
776
|
+
if ((n = segment.length - 1) <= 0) return;
|
777
|
+
var n, p0 = segment[0], p1 = segment[n], x;
|
778
|
+
|
779
|
+
if (pointEqual(p0, p1)) {
|
780
|
+
if (!p0[2] && !p1[2]) {
|
781
|
+
stream.lineStart();
|
782
|
+
for (i = 0; i < n; ++i) stream.point((p0 = segment[i])[0], p0[1]);
|
783
|
+
stream.lineEnd();
|
784
|
+
return;
|
785
|
+
}
|
786
|
+
// handle degenerate cases by moving the point
|
787
|
+
p1[0] += 2 * epsilon;
|
788
|
+
}
|
789
|
+
|
790
|
+
subject.push(x = new Intersection(p0, segment, null, true));
|
791
|
+
clip.push(x.o = new Intersection(p0, null, x, false));
|
792
|
+
subject.push(x = new Intersection(p1, segment, null, false));
|
793
|
+
clip.push(x.o = new Intersection(p1, null, x, true));
|
794
|
+
});
|
795
|
+
|
796
|
+
if (!subject.length) return;
|
797
|
+
|
798
|
+
clip.sort(compareIntersection);
|
799
|
+
link(subject);
|
800
|
+
link(clip);
|
801
|
+
|
802
|
+
for (i = 0, n = clip.length; i < n; ++i) {
|
803
|
+
clip[i].e = startInside = !startInside;
|
804
|
+
}
|
805
|
+
|
806
|
+
var start = subject[0],
|
807
|
+
points,
|
808
|
+
point;
|
809
|
+
|
810
|
+
while (1) {
|
811
|
+
// Find first unvisited intersection.
|
812
|
+
var current = start,
|
813
|
+
isSubject = true;
|
814
|
+
while (current.v) if ((current = current.n) === start) return;
|
815
|
+
points = current.z;
|
816
|
+
stream.lineStart();
|
817
|
+
do {
|
818
|
+
current.v = current.o.v = true;
|
819
|
+
if (current.e) {
|
820
|
+
if (isSubject) {
|
821
|
+
for (i = 0, n = points.length; i < n; ++i) stream.point((point = points[i])[0], point[1]);
|
822
|
+
} else {
|
823
|
+
interpolate(current.x, current.n.x, 1, stream);
|
824
|
+
}
|
825
|
+
current = current.n;
|
826
|
+
} else {
|
827
|
+
if (isSubject) {
|
828
|
+
points = current.p.z;
|
829
|
+
for (i = points.length - 1; i >= 0; --i) stream.point((point = points[i])[0], point[1]);
|
830
|
+
} else {
|
831
|
+
interpolate(current.x, current.p.x, -1, stream);
|
832
|
+
}
|
833
|
+
current = current.p;
|
834
|
+
}
|
835
|
+
current = current.o;
|
836
|
+
points = current.z;
|
837
|
+
isSubject = !isSubject;
|
838
|
+
} while (!current.v);
|
839
|
+
stream.lineEnd();
|
840
|
+
}
|
841
|
+
}
|
842
|
+
|
843
|
+
function link(array) {
|
844
|
+
if (!(n = array.length)) return;
|
845
|
+
var n,
|
846
|
+
i = 0,
|
847
|
+
a = array[0],
|
848
|
+
b;
|
849
|
+
while (++i < n) {
|
850
|
+
a.n = b = array[i];
|
851
|
+
b.p = a;
|
852
|
+
a = b;
|
853
|
+
}
|
854
|
+
a.n = b = array[0];
|
855
|
+
b.p = a;
|
856
|
+
}
|
857
|
+
|
858
|
+
var sum = adder();
|
859
|
+
|
860
|
+
function longitude(point) {
|
861
|
+
if (abs(point[0]) <= pi)
|
862
|
+
return point[0];
|
863
|
+
else
|
864
|
+
return sign(point[0]) * ((abs(point[0]) + pi) % tau - pi);
|
865
|
+
}
|
866
|
+
|
867
|
+
function polygonContains(polygon, point) {
|
868
|
+
var lambda = longitude(point),
|
869
|
+
phi = point[1],
|
870
|
+
sinPhi = sin(phi),
|
871
|
+
normal = [sin(lambda), -cos(lambda), 0],
|
872
|
+
angle = 0,
|
873
|
+
winding = 0;
|
874
|
+
|
875
|
+
sum.reset();
|
876
|
+
|
877
|
+
if (sinPhi === 1) phi = halfPi + epsilon;
|
878
|
+
else if (sinPhi === -1) phi = -halfPi - epsilon;
|
879
|
+
|
880
|
+
for (var i = 0, n = polygon.length; i < n; ++i) {
|
881
|
+
if (!(m = (ring = polygon[i]).length)) continue;
|
882
|
+
var ring,
|
883
|
+
m,
|
884
|
+
point0 = ring[m - 1],
|
885
|
+
lambda0 = longitude(point0),
|
886
|
+
phi0 = point0[1] / 2 + quarterPi,
|
887
|
+
sinPhi0 = sin(phi0),
|
888
|
+
cosPhi0 = cos(phi0);
|
889
|
+
|
890
|
+
for (var j = 0; j < m; ++j, lambda0 = lambda1, sinPhi0 = sinPhi1, cosPhi0 = cosPhi1, point0 = point1) {
|
891
|
+
var point1 = ring[j],
|
892
|
+
lambda1 = longitude(point1),
|
893
|
+
phi1 = point1[1] / 2 + quarterPi,
|
894
|
+
sinPhi1 = sin(phi1),
|
895
|
+
cosPhi1 = cos(phi1),
|
896
|
+
delta = lambda1 - lambda0,
|
897
|
+
sign = delta >= 0 ? 1 : -1,
|
898
|
+
absDelta = sign * delta,
|
899
|
+
antimeridian = absDelta > pi,
|
900
|
+
k = sinPhi0 * sinPhi1;
|
901
|
+
|
902
|
+
sum.add(atan2(k * sign * sin(absDelta), cosPhi0 * cosPhi1 + k * cos(absDelta)));
|
903
|
+
angle += antimeridian ? delta + sign * tau : delta;
|
904
|
+
|
905
|
+
// Are the longitudes either side of the point’s meridian (lambda),
|
906
|
+
// and are the latitudes smaller than the parallel (phi)?
|
907
|
+
if (antimeridian ^ lambda0 >= lambda ^ lambda1 >= lambda) {
|
908
|
+
var arc = cartesianCross(cartesian(point0), cartesian(point1));
|
909
|
+
cartesianNormalizeInPlace(arc);
|
910
|
+
var intersection = cartesianCross(normal, arc);
|
911
|
+
cartesianNormalizeInPlace(intersection);
|
912
|
+
var phiArc = (antimeridian ^ delta >= 0 ? -1 : 1) * asin(intersection[2]);
|
913
|
+
if (phi > phiArc || phi === phiArc && (arc[0] || arc[1])) {
|
914
|
+
winding += antimeridian ^ delta >= 0 ? 1 : -1;
|
915
|
+
}
|
916
|
+
}
|
917
|
+
}
|
918
|
+
}
|
919
|
+
|
920
|
+
// First, determine whether the South pole is inside or outside:
|
921
|
+
//
|
922
|
+
// It is inside if:
|
923
|
+
// * the polygon winds around it in a clockwise direction.
|
924
|
+
// * the polygon does not (cumulatively) wind around it, but has a negative
|
925
|
+
// (counter-clockwise) area.
|
926
|
+
//
|
927
|
+
// Second, count the (signed) number of times a segment crosses a lambda
|
928
|
+
// from the point to the South pole. If it is zero, then the point is the
|
929
|
+
// same side as the South pole.
|
930
|
+
|
931
|
+
return (angle < -epsilon || angle < epsilon && sum < -epsilon) ^ (winding & 1);
|
932
|
+
}
|
933
|
+
|
934
|
+
function clip(pointVisible, clipLine, interpolate, start) {
|
935
|
+
return function(sink) {
|
936
|
+
var line = clipLine(sink),
|
937
|
+
ringBuffer = clipBuffer(),
|
938
|
+
ringSink = clipLine(ringBuffer),
|
939
|
+
polygonStarted = false,
|
940
|
+
polygon,
|
941
|
+
segments,
|
942
|
+
ring;
|
943
|
+
|
944
|
+
var clip = {
|
945
|
+
point: point,
|
946
|
+
lineStart: lineStart,
|
947
|
+
lineEnd: lineEnd,
|
948
|
+
polygonStart: function() {
|
949
|
+
clip.point = pointRing;
|
950
|
+
clip.lineStart = ringStart;
|
951
|
+
clip.lineEnd = ringEnd;
|
952
|
+
segments = [];
|
953
|
+
polygon = [];
|
954
|
+
},
|
955
|
+
polygonEnd: function() {
|
956
|
+
clip.point = point;
|
957
|
+
clip.lineStart = lineStart;
|
958
|
+
clip.lineEnd = lineEnd;
|
959
|
+
segments = d3Array.merge(segments);
|
960
|
+
var startInside = polygonContains(polygon, start);
|
961
|
+
if (segments.length) {
|
962
|
+
if (!polygonStarted) sink.polygonStart(), polygonStarted = true;
|
963
|
+
clipRejoin(segments, compareIntersection, startInside, interpolate, sink);
|
964
|
+
} else if (startInside) {
|
965
|
+
if (!polygonStarted) sink.polygonStart(), polygonStarted = true;
|
966
|
+
sink.lineStart();
|
967
|
+
interpolate(null, null, 1, sink);
|
968
|
+
sink.lineEnd();
|
969
|
+
}
|
970
|
+
if (polygonStarted) sink.polygonEnd(), polygonStarted = false;
|
971
|
+
segments = polygon = null;
|
972
|
+
},
|
973
|
+
sphere: function() {
|
974
|
+
sink.polygonStart();
|
975
|
+
sink.lineStart();
|
976
|
+
interpolate(null, null, 1, sink);
|
977
|
+
sink.lineEnd();
|
978
|
+
sink.polygonEnd();
|
979
|
+
}
|
980
|
+
};
|
981
|
+
|
982
|
+
function point(lambda, phi) {
|
983
|
+
if (pointVisible(lambda, phi)) sink.point(lambda, phi);
|
984
|
+
}
|
985
|
+
|
986
|
+
function pointLine(lambda, phi) {
|
987
|
+
line.point(lambda, phi);
|
988
|
+
}
|
989
|
+
|
990
|
+
function lineStart() {
|
991
|
+
clip.point = pointLine;
|
992
|
+
line.lineStart();
|
993
|
+
}
|
994
|
+
|
995
|
+
function lineEnd() {
|
996
|
+
clip.point = point;
|
997
|
+
line.lineEnd();
|
998
|
+
}
|
999
|
+
|
1000
|
+
function pointRing(lambda, phi) {
|
1001
|
+
ring.push([lambda, phi]);
|
1002
|
+
ringSink.point(lambda, phi);
|
1003
|
+
}
|
1004
|
+
|
1005
|
+
function ringStart() {
|
1006
|
+
ringSink.lineStart();
|
1007
|
+
ring = [];
|
1008
|
+
}
|
1009
|
+
|
1010
|
+
function ringEnd() {
|
1011
|
+
pointRing(ring[0][0], ring[0][1]);
|
1012
|
+
ringSink.lineEnd();
|
1013
|
+
|
1014
|
+
var clean = ringSink.clean(),
|
1015
|
+
ringSegments = ringBuffer.result(),
|
1016
|
+
i, n = ringSegments.length, m,
|
1017
|
+
segment,
|
1018
|
+
point;
|
1019
|
+
|
1020
|
+
ring.pop();
|
1021
|
+
polygon.push(ring);
|
1022
|
+
ring = null;
|
1023
|
+
|
1024
|
+
if (!n) return;
|
1025
|
+
|
1026
|
+
// No intersections.
|
1027
|
+
if (clean & 1) {
|
1028
|
+
segment = ringSegments[0];
|
1029
|
+
if ((m = segment.length - 1) > 0) {
|
1030
|
+
if (!polygonStarted) sink.polygonStart(), polygonStarted = true;
|
1031
|
+
sink.lineStart();
|
1032
|
+
for (i = 0; i < m; ++i) sink.point((point = segment[i])[0], point[1]);
|
1033
|
+
sink.lineEnd();
|
1034
|
+
}
|
1035
|
+
return;
|
1036
|
+
}
|
1037
|
+
|
1038
|
+
// Rejoin connected segments.
|
1039
|
+
// TODO reuse ringBuffer.rejoin()?
|
1040
|
+
if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));
|
1041
|
+
|
1042
|
+
segments.push(ringSegments.filter(validSegment));
|
1043
|
+
}
|
1044
|
+
|
1045
|
+
return clip;
|
1046
|
+
};
|
1047
|
+
}
|
1048
|
+
|
1049
|
+
function validSegment(segment) {
|
1050
|
+
return segment.length > 1;
|
1051
|
+
}
|
1052
|
+
|
1053
|
+
// Intersections are sorted along the clip edge. For both antimeridian cutting
|
1054
|
+
// and circle clipping, the same comparison is used.
|
1055
|
+
function compareIntersection(a, b) {
|
1056
|
+
return ((a = a.x)[0] < 0 ? a[1] - halfPi - epsilon : halfPi - a[1])
|
1057
|
+
- ((b = b.x)[0] < 0 ? b[1] - halfPi - epsilon : halfPi - b[1]);
|
1058
|
+
}
|
1059
|
+
|
1060
|
+
var clipAntimeridian = clip(
|
1061
|
+
function() { return true; },
|
1062
|
+
clipAntimeridianLine,
|
1063
|
+
clipAntimeridianInterpolate,
|
1064
|
+
[-pi, -halfPi]
|
1065
|
+
);
|
1066
|
+
|
1067
|
+
// Takes a line and cuts into visible segments. Return values: 0 - there were
|
1068
|
+
// intersections or the line was empty; 1 - no intersections; 2 - there were
|
1069
|
+
// intersections, and the first and last segments should be rejoined.
|
1070
|
+
function clipAntimeridianLine(stream) {
|
1071
|
+
var lambda0 = NaN,
|
1072
|
+
phi0 = NaN,
|
1073
|
+
sign0 = NaN,
|
1074
|
+
clean; // no intersections
|
1075
|
+
|
1076
|
+
return {
|
1077
|
+
lineStart: function() {
|
1078
|
+
stream.lineStart();
|
1079
|
+
clean = 1;
|
1080
|
+
},
|
1081
|
+
point: function(lambda1, phi1) {
|
1082
|
+
var sign1 = lambda1 > 0 ? pi : -pi,
|
1083
|
+
delta = abs(lambda1 - lambda0);
|
1084
|
+
if (abs(delta - pi) < epsilon) { // line crosses a pole
|
1085
|
+
stream.point(lambda0, phi0 = (phi0 + phi1) / 2 > 0 ? halfPi : -halfPi);
|
1086
|
+
stream.point(sign0, phi0);
|
1087
|
+
stream.lineEnd();
|
1088
|
+
stream.lineStart();
|
1089
|
+
stream.point(sign1, phi0);
|
1090
|
+
stream.point(lambda1, phi0);
|
1091
|
+
clean = 0;
|
1092
|
+
} else if (sign0 !== sign1 && delta >= pi) { // line crosses antimeridian
|
1093
|
+
if (abs(lambda0 - sign0) < epsilon) lambda0 -= sign0 * epsilon; // handle degeneracies
|
1094
|
+
if (abs(lambda1 - sign1) < epsilon) lambda1 -= sign1 * epsilon;
|
1095
|
+
phi0 = clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1);
|
1096
|
+
stream.point(sign0, phi0);
|
1097
|
+
stream.lineEnd();
|
1098
|
+
stream.lineStart();
|
1099
|
+
stream.point(sign1, phi0);
|
1100
|
+
clean = 0;
|
1101
|
+
}
|
1102
|
+
stream.point(lambda0 = lambda1, phi0 = phi1);
|
1103
|
+
sign0 = sign1;
|
1104
|
+
},
|
1105
|
+
lineEnd: function() {
|
1106
|
+
stream.lineEnd();
|
1107
|
+
lambda0 = phi0 = NaN;
|
1108
|
+
},
|
1109
|
+
clean: function() {
|
1110
|
+
return 2 - clean; // if intersections, rejoin first and last segments
|
1111
|
+
}
|
1112
|
+
};
|
1113
|
+
}
|
1114
|
+
|
1115
|
+
function clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1) {
|
1116
|
+
var cosPhi0,
|
1117
|
+
cosPhi1,
|
1118
|
+
sinLambda0Lambda1 = sin(lambda0 - lambda1);
|
1119
|
+
return abs(sinLambda0Lambda1) > epsilon
|
1120
|
+
? atan((sin(phi0) * (cosPhi1 = cos(phi1)) * sin(lambda1)
|
1121
|
+
- sin(phi1) * (cosPhi0 = cos(phi0)) * sin(lambda0))
|
1122
|
+
/ (cosPhi0 * cosPhi1 * sinLambda0Lambda1))
|
1123
|
+
: (phi0 + phi1) / 2;
|
1124
|
+
}
|
1125
|
+
|
1126
|
+
function clipAntimeridianInterpolate(from, to, direction, stream) {
|
1127
|
+
var phi;
|
1128
|
+
if (from == null) {
|
1129
|
+
phi = direction * halfPi;
|
1130
|
+
stream.point(-pi, phi);
|
1131
|
+
stream.point(0, phi);
|
1132
|
+
stream.point(pi, phi);
|
1133
|
+
stream.point(pi, 0);
|
1134
|
+
stream.point(pi, -phi);
|
1135
|
+
stream.point(0, -phi);
|
1136
|
+
stream.point(-pi, -phi);
|
1137
|
+
stream.point(-pi, 0);
|
1138
|
+
stream.point(-pi, phi);
|
1139
|
+
} else if (abs(from[0] - to[0]) > epsilon) {
|
1140
|
+
var lambda = from[0] < to[0] ? pi : -pi;
|
1141
|
+
phi = direction * lambda / 2;
|
1142
|
+
stream.point(-lambda, phi);
|
1143
|
+
stream.point(0, phi);
|
1144
|
+
stream.point(lambda, phi);
|
1145
|
+
} else {
|
1146
|
+
stream.point(to[0], to[1]);
|
1147
|
+
}
|
1148
|
+
}
|
1149
|
+
|
1150
|
+
function clipCircle(radius) {
|
1151
|
+
var cr = cos(radius),
|
1152
|
+
delta = 6 * radians,
|
1153
|
+
smallRadius = cr > 0,
|
1154
|
+
notHemisphere = abs(cr) > epsilon; // TODO optimise for this common case
|
1155
|
+
|
1156
|
+
function interpolate(from, to, direction, stream) {
|
1157
|
+
circleStream(stream, radius, delta, direction, from, to);
|
1158
|
+
}
|
1159
|
+
|
1160
|
+
function visible(lambda, phi) {
|
1161
|
+
return cos(lambda) * cos(phi) > cr;
|
1162
|
+
}
|
1163
|
+
|
1164
|
+
// Takes a line and cuts into visible segments. Return values used for polygon
|
1165
|
+
// clipping: 0 - there were intersections or the line was empty; 1 - no
|
1166
|
+
// intersections 2 - there were intersections, and the first and last segments
|
1167
|
+
// should be rejoined.
|
1168
|
+
function clipLine(stream) {
|
1169
|
+
var point0, // previous point
|
1170
|
+
c0, // code for previous point
|
1171
|
+
v0, // visibility of previous point
|
1172
|
+
v00, // visibility of first point
|
1173
|
+
clean; // no intersections
|
1174
|
+
return {
|
1175
|
+
lineStart: function() {
|
1176
|
+
v00 = v0 = false;
|
1177
|
+
clean = 1;
|
1178
|
+
},
|
1179
|
+
point: function(lambda, phi) {
|
1180
|
+
var point1 = [lambda, phi],
|
1181
|
+
point2,
|
1182
|
+
v = visible(lambda, phi),
|
1183
|
+
c = smallRadius
|
1184
|
+
? v ? 0 : code(lambda, phi)
|
1185
|
+
: v ? code(lambda + (lambda < 0 ? pi : -pi), phi) : 0;
|
1186
|
+
if (!point0 && (v00 = v0 = v)) stream.lineStart();
|
1187
|
+
if (v !== v0) {
|
1188
|
+
point2 = intersect(point0, point1);
|
1189
|
+
if (!point2 || pointEqual(point0, point2) || pointEqual(point1, point2))
|
1190
|
+
point1[2] = 1;
|
1191
|
+
}
|
1192
|
+
if (v !== v0) {
|
1193
|
+
clean = 0;
|
1194
|
+
if (v) {
|
1195
|
+
// outside going in
|
1196
|
+
stream.lineStart();
|
1197
|
+
point2 = intersect(point1, point0);
|
1198
|
+
stream.point(point2[0], point2[1]);
|
1199
|
+
} else {
|
1200
|
+
// inside going out
|
1201
|
+
point2 = intersect(point0, point1);
|
1202
|
+
stream.point(point2[0], point2[1], 2);
|
1203
|
+
stream.lineEnd();
|
1204
|
+
}
|
1205
|
+
point0 = point2;
|
1206
|
+
} else if (notHemisphere && point0 && smallRadius ^ v) {
|
1207
|
+
var t;
|
1208
|
+
// If the codes for two points are different, or are both zero,
|
1209
|
+
// and there this segment intersects with the small circle.
|
1210
|
+
if (!(c & c0) && (t = intersect(point1, point0, true))) {
|
1211
|
+
clean = 0;
|
1212
|
+
if (smallRadius) {
|
1213
|
+
stream.lineStart();
|
1214
|
+
stream.point(t[0][0], t[0][1]);
|
1215
|
+
stream.point(t[1][0], t[1][1]);
|
1216
|
+
stream.lineEnd();
|
1217
|
+
} else {
|
1218
|
+
stream.point(t[1][0], t[1][1]);
|
1219
|
+
stream.lineEnd();
|
1220
|
+
stream.lineStart();
|
1221
|
+
stream.point(t[0][0], t[0][1], 3);
|
1222
|
+
}
|
1223
|
+
}
|
1224
|
+
}
|
1225
|
+
if (v && (!point0 || !pointEqual(point0, point1))) {
|
1226
|
+
stream.point(point1[0], point1[1]);
|
1227
|
+
}
|
1228
|
+
point0 = point1, v0 = v, c0 = c;
|
1229
|
+
},
|
1230
|
+
lineEnd: function() {
|
1231
|
+
if (v0) stream.lineEnd();
|
1232
|
+
point0 = null;
|
1233
|
+
},
|
1234
|
+
// Rejoin first and last segments if there were intersections and the first
|
1235
|
+
// and last points were visible.
|
1236
|
+
clean: function() {
|
1237
|
+
return clean | ((v00 && v0) << 1);
|
1238
|
+
}
|
1239
|
+
};
|
1240
|
+
}
|
1241
|
+
|
1242
|
+
// Intersects the great circle between a and b with the clip circle.
|
1243
|
+
function intersect(a, b, two) {
|
1244
|
+
var pa = cartesian(a),
|
1245
|
+
pb = cartesian(b);
|
1246
|
+
|
1247
|
+
// We have two planes, n1.p = d1 and n2.p = d2.
|
1248
|
+
// Find intersection line p(t) = c1 n1 + c2 n2 + t (n1 ⨯ n2).
|
1249
|
+
var n1 = [1, 0, 0], // normal
|
1250
|
+
n2 = cartesianCross(pa, pb),
|
1251
|
+
n2n2 = cartesianDot(n2, n2),
|
1252
|
+
n1n2 = n2[0], // cartesianDot(n1, n2),
|
1253
|
+
determinant = n2n2 - n1n2 * n1n2;
|
1254
|
+
|
1255
|
+
// Two polar points.
|
1256
|
+
if (!determinant) return !two && a;
|
1257
|
+
|
1258
|
+
var c1 = cr * n2n2 / determinant,
|
1259
|
+
c2 = -cr * n1n2 / determinant,
|
1260
|
+
n1xn2 = cartesianCross(n1, n2),
|
1261
|
+
A = cartesianScale(n1, c1),
|
1262
|
+
B = cartesianScale(n2, c2);
|
1263
|
+
cartesianAddInPlace(A, B);
|
1264
|
+
|
1265
|
+
// Solve |p(t)|^2 = 1.
|
1266
|
+
var u = n1xn2,
|
1267
|
+
w = cartesianDot(A, u),
|
1268
|
+
uu = cartesianDot(u, u),
|
1269
|
+
t2 = w * w - uu * (cartesianDot(A, A) - 1);
|
1270
|
+
|
1271
|
+
if (t2 < 0) return;
|
1272
|
+
|
1273
|
+
var t = sqrt(t2),
|
1274
|
+
q = cartesianScale(u, (-w - t) / uu);
|
1275
|
+
cartesianAddInPlace(q, A);
|
1276
|
+
q = spherical(q);
|
1277
|
+
|
1278
|
+
if (!two) return q;
|
1279
|
+
|
1280
|
+
// Two intersection points.
|
1281
|
+
var lambda0 = a[0],
|
1282
|
+
lambda1 = b[0],
|
1283
|
+
phi0 = a[1],
|
1284
|
+
phi1 = b[1],
|
1285
|
+
z;
|
1286
|
+
|
1287
|
+
if (lambda1 < lambda0) z = lambda0, lambda0 = lambda1, lambda1 = z;
|
1288
|
+
|
1289
|
+
var delta = lambda1 - lambda0,
|
1290
|
+
polar = abs(delta - pi) < epsilon,
|
1291
|
+
meridian = polar || delta < epsilon;
|
1292
|
+
|
1293
|
+
if (!polar && phi1 < phi0) z = phi0, phi0 = phi1, phi1 = z;
|
1294
|
+
|
1295
|
+
// Check that the first point is between a and b.
|
1296
|
+
if (meridian
|
1297
|
+
? polar
|
1298
|
+
? phi0 + phi1 > 0 ^ q[1] < (abs(q[0] - lambda0) < epsilon ? phi0 : phi1)
|
1299
|
+
: phi0 <= q[1] && q[1] <= phi1
|
1300
|
+
: delta > pi ^ (lambda0 <= q[0] && q[0] <= lambda1)) {
|
1301
|
+
var q1 = cartesianScale(u, (-w + t) / uu);
|
1302
|
+
cartesianAddInPlace(q1, A);
|
1303
|
+
return [q, spherical(q1)];
|
1304
|
+
}
|
1305
|
+
}
|
1306
|
+
|
1307
|
+
// Generates a 4-bit vector representing the location of a point relative to
|
1308
|
+
// the small circle's bounding box.
|
1309
|
+
function code(lambda, phi) {
|
1310
|
+
var r = smallRadius ? radius : pi - radius,
|
1311
|
+
code = 0;
|
1312
|
+
if (lambda < -r) code |= 1; // left
|
1313
|
+
else if (lambda > r) code |= 2; // right
|
1314
|
+
if (phi < -r) code |= 4; // below
|
1315
|
+
else if (phi > r) code |= 8; // above
|
1316
|
+
return code;
|
1317
|
+
}
|
1318
|
+
|
1319
|
+
return clip(visible, clipLine, interpolate, smallRadius ? [0, -radius] : [-pi, radius - pi]);
|
1320
|
+
}
|
1321
|
+
|
1322
|
+
function clipLine(a, b, x0, y0, x1, y1) {
|
1323
|
+
var ax = a[0],
|
1324
|
+
ay = a[1],
|
1325
|
+
bx = b[0],
|
1326
|
+
by = b[1],
|
1327
|
+
t0 = 0,
|
1328
|
+
t1 = 1,
|
1329
|
+
dx = bx - ax,
|
1330
|
+
dy = by - ay,
|
1331
|
+
r;
|
1332
|
+
|
1333
|
+
r = x0 - ax;
|
1334
|
+
if (!dx && r > 0) return;
|
1335
|
+
r /= dx;
|
1336
|
+
if (dx < 0) {
|
1337
|
+
if (r < t0) return;
|
1338
|
+
if (r < t1) t1 = r;
|
1339
|
+
} else if (dx > 0) {
|
1340
|
+
if (r > t1) return;
|
1341
|
+
if (r > t0) t0 = r;
|
1342
|
+
}
|
1343
|
+
|
1344
|
+
r = x1 - ax;
|
1345
|
+
if (!dx && r < 0) return;
|
1346
|
+
r /= dx;
|
1347
|
+
if (dx < 0) {
|
1348
|
+
if (r > t1) return;
|
1349
|
+
if (r > t0) t0 = r;
|
1350
|
+
} else if (dx > 0) {
|
1351
|
+
if (r < t0) return;
|
1352
|
+
if (r < t1) t1 = r;
|
1353
|
+
}
|
1354
|
+
|
1355
|
+
r = y0 - ay;
|
1356
|
+
if (!dy && r > 0) return;
|
1357
|
+
r /= dy;
|
1358
|
+
if (dy < 0) {
|
1359
|
+
if (r < t0) return;
|
1360
|
+
if (r < t1) t1 = r;
|
1361
|
+
} else if (dy > 0) {
|
1362
|
+
if (r > t1) return;
|
1363
|
+
if (r > t0) t0 = r;
|
1364
|
+
}
|
1365
|
+
|
1366
|
+
r = y1 - ay;
|
1367
|
+
if (!dy && r < 0) return;
|
1368
|
+
r /= dy;
|
1369
|
+
if (dy < 0) {
|
1370
|
+
if (r > t1) return;
|
1371
|
+
if (r > t0) t0 = r;
|
1372
|
+
} else if (dy > 0) {
|
1373
|
+
if (r < t0) return;
|
1374
|
+
if (r < t1) t1 = r;
|
1375
|
+
}
|
1376
|
+
|
1377
|
+
if (t0 > 0) a[0] = ax + t0 * dx, a[1] = ay + t0 * dy;
|
1378
|
+
if (t1 < 1) b[0] = ax + t1 * dx, b[1] = ay + t1 * dy;
|
1379
|
+
return true;
|
1380
|
+
}
|
1381
|
+
|
1382
|
+
var clipMax = 1e9, clipMin = -clipMax;
|
1383
|
+
|
1384
|
+
// TODO Use d3-polygon’s polygonContains here for the ring check?
|
1385
|
+
// TODO Eliminate duplicate buffering in clipBuffer and polygon.push?
|
1386
|
+
|
1387
|
+
function clipRectangle(x0, y0, x1, y1) {
|
1388
|
+
|
1389
|
+
function visible(x, y) {
|
1390
|
+
return x0 <= x && x <= x1 && y0 <= y && y <= y1;
|
1391
|
+
}
|
1392
|
+
|
1393
|
+
function interpolate(from, to, direction, stream) {
|
1394
|
+
var a = 0, a1 = 0;
|
1395
|
+
if (from == null
|
1396
|
+
|| (a = corner(from, direction)) !== (a1 = corner(to, direction))
|
1397
|
+
|| comparePoint(from, to) < 0 ^ direction > 0) {
|
1398
|
+
do stream.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0);
|
1399
|
+
while ((a = (a + direction + 4) % 4) !== a1);
|
1400
|
+
} else {
|
1401
|
+
stream.point(to[0], to[1]);
|
1402
|
+
}
|
1403
|
+
}
|
1404
|
+
|
1405
|
+
function corner(p, direction) {
|
1406
|
+
return abs(p[0] - x0) < epsilon ? direction > 0 ? 0 : 3
|
1407
|
+
: abs(p[0] - x1) < epsilon ? direction > 0 ? 2 : 1
|
1408
|
+
: abs(p[1] - y0) < epsilon ? direction > 0 ? 1 : 0
|
1409
|
+
: direction > 0 ? 3 : 2; // abs(p[1] - y1) < epsilon
|
1410
|
+
}
|
1411
|
+
|
1412
|
+
function compareIntersection(a, b) {
|
1413
|
+
return comparePoint(a.x, b.x);
|
1414
|
+
}
|
1415
|
+
|
1416
|
+
function comparePoint(a, b) {
|
1417
|
+
var ca = corner(a, 1),
|
1418
|
+
cb = corner(b, 1);
|
1419
|
+
return ca !== cb ? ca - cb
|
1420
|
+
: ca === 0 ? b[1] - a[1]
|
1421
|
+
: ca === 1 ? a[0] - b[0]
|
1422
|
+
: ca === 2 ? a[1] - b[1]
|
1423
|
+
: b[0] - a[0];
|
1424
|
+
}
|
1425
|
+
|
1426
|
+
return function(stream) {
|
1427
|
+
var activeStream = stream,
|
1428
|
+
bufferStream = clipBuffer(),
|
1429
|
+
segments,
|
1430
|
+
polygon,
|
1431
|
+
ring,
|
1432
|
+
x__, y__, v__, // first point
|
1433
|
+
x_, y_, v_, // previous point
|
1434
|
+
first,
|
1435
|
+
clean;
|
1436
|
+
|
1437
|
+
var clipStream = {
|
1438
|
+
point: point,
|
1439
|
+
lineStart: lineStart,
|
1440
|
+
lineEnd: lineEnd,
|
1441
|
+
polygonStart: polygonStart,
|
1442
|
+
polygonEnd: polygonEnd
|
1443
|
+
};
|
1444
|
+
|
1445
|
+
function point(x, y) {
|
1446
|
+
if (visible(x, y)) activeStream.point(x, y);
|
1447
|
+
}
|
1448
|
+
|
1449
|
+
function polygonInside() {
|
1450
|
+
var winding = 0;
|
1451
|
+
|
1452
|
+
for (var i = 0, n = polygon.length; i < n; ++i) {
|
1453
|
+
for (var ring = polygon[i], j = 1, m = ring.length, point = ring[0], a0, a1, b0 = point[0], b1 = point[1]; j < m; ++j) {
|
1454
|
+
a0 = b0, a1 = b1, point = ring[j], b0 = point[0], b1 = point[1];
|
1455
|
+
if (a1 <= y1) { if (b1 > y1 && (b0 - a0) * (y1 - a1) > (b1 - a1) * (x0 - a0)) ++winding; }
|
1456
|
+
else { if (b1 <= y1 && (b0 - a0) * (y1 - a1) < (b1 - a1) * (x0 - a0)) --winding; }
|
1457
|
+
}
|
1458
|
+
}
|
1459
|
+
|
1460
|
+
return winding;
|
1461
|
+
}
|
1462
|
+
|
1463
|
+
// Buffer geometry within a polygon and then clip it en masse.
|
1464
|
+
function polygonStart() {
|
1465
|
+
activeStream = bufferStream, segments = [], polygon = [], clean = true;
|
1466
|
+
}
|
1467
|
+
|
1468
|
+
function polygonEnd() {
|
1469
|
+
var startInside = polygonInside(),
|
1470
|
+
cleanInside = clean && startInside,
|
1471
|
+
visible = (segments = d3Array.merge(segments)).length;
|
1472
|
+
if (cleanInside || visible) {
|
1473
|
+
stream.polygonStart();
|
1474
|
+
if (cleanInside) {
|
1475
|
+
stream.lineStart();
|
1476
|
+
interpolate(null, null, 1, stream);
|
1477
|
+
stream.lineEnd();
|
1478
|
+
}
|
1479
|
+
if (visible) {
|
1480
|
+
clipRejoin(segments, compareIntersection, startInside, interpolate, stream);
|
1481
|
+
}
|
1482
|
+
stream.polygonEnd();
|
1483
|
+
}
|
1484
|
+
activeStream = stream, segments = polygon = ring = null;
|
1485
|
+
}
|
1486
|
+
|
1487
|
+
function lineStart() {
|
1488
|
+
clipStream.point = linePoint;
|
1489
|
+
if (polygon) polygon.push(ring = []);
|
1490
|
+
first = true;
|
1491
|
+
v_ = false;
|
1492
|
+
x_ = y_ = NaN;
|
1493
|
+
}
|
1494
|
+
|
1495
|
+
// TODO rather than special-case polygons, simply handle them separately.
|
1496
|
+
// Ideally, coincident intersection points should be jittered to avoid
|
1497
|
+
// clipping issues.
|
1498
|
+
function lineEnd() {
|
1499
|
+
if (segments) {
|
1500
|
+
linePoint(x__, y__);
|
1501
|
+
if (v__ && v_) bufferStream.rejoin();
|
1502
|
+
segments.push(bufferStream.result());
|
1503
|
+
}
|
1504
|
+
clipStream.point = point;
|
1505
|
+
if (v_) activeStream.lineEnd();
|
1506
|
+
}
|
1507
|
+
|
1508
|
+
function linePoint(x, y) {
|
1509
|
+
var v = visible(x, y);
|
1510
|
+
if (polygon) ring.push([x, y]);
|
1511
|
+
if (first) {
|
1512
|
+
x__ = x, y__ = y, v__ = v;
|
1513
|
+
first = false;
|
1514
|
+
if (v) {
|
1515
|
+
activeStream.lineStart();
|
1516
|
+
activeStream.point(x, y);
|
1517
|
+
}
|
1518
|
+
} else {
|
1519
|
+
if (v && v_) activeStream.point(x, y);
|
1520
|
+
else {
|
1521
|
+
var a = [x_ = Math.max(clipMin, Math.min(clipMax, x_)), y_ = Math.max(clipMin, Math.min(clipMax, y_))],
|
1522
|
+
b = [x = Math.max(clipMin, Math.min(clipMax, x)), y = Math.max(clipMin, Math.min(clipMax, y))];
|
1523
|
+
if (clipLine(a, b, x0, y0, x1, y1)) {
|
1524
|
+
if (!v_) {
|
1525
|
+
activeStream.lineStart();
|
1526
|
+
activeStream.point(a[0], a[1]);
|
1527
|
+
}
|
1528
|
+
activeStream.point(b[0], b[1]);
|
1529
|
+
if (!v) activeStream.lineEnd();
|
1530
|
+
clean = false;
|
1531
|
+
} else if (v) {
|
1532
|
+
activeStream.lineStart();
|
1533
|
+
activeStream.point(x, y);
|
1534
|
+
clean = false;
|
1535
|
+
}
|
1536
|
+
}
|
1537
|
+
}
|
1538
|
+
x_ = x, y_ = y, v_ = v;
|
1539
|
+
}
|
1540
|
+
|
1541
|
+
return clipStream;
|
1542
|
+
};
|
1543
|
+
}
|
1544
|
+
|
1545
|
+
function extent() {
|
1546
|
+
var x0 = 0,
|
1547
|
+
y0 = 0,
|
1548
|
+
x1 = 960,
|
1549
|
+
y1 = 500,
|
1550
|
+
cache,
|
1551
|
+
cacheStream,
|
1552
|
+
clip;
|
1553
|
+
|
1554
|
+
return clip = {
|
1555
|
+
stream: function(stream) {
|
1556
|
+
return cache && cacheStream === stream ? cache : cache = clipRectangle(x0, y0, x1, y1)(cacheStream = stream);
|
1557
|
+
},
|
1558
|
+
extent: function(_) {
|
1559
|
+
return arguments.length ? (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1], cache = cacheStream = null, clip) : [[x0, y0], [x1, y1]];
|
1560
|
+
}
|
1561
|
+
};
|
1562
|
+
}
|
1563
|
+
|
1564
|
+
var lengthSum = adder(),
|
1565
|
+
lambda0$2,
|
1566
|
+
sinPhi0$1,
|
1567
|
+
cosPhi0$1;
|
1568
|
+
|
1569
|
+
var lengthStream = {
|
1570
|
+
sphere: noop,
|
1571
|
+
point: noop,
|
1572
|
+
lineStart: lengthLineStart,
|
1573
|
+
lineEnd: noop,
|
1574
|
+
polygonStart: noop,
|
1575
|
+
polygonEnd: noop
|
1576
|
+
};
|
1577
|
+
|
1578
|
+
function lengthLineStart() {
|
1579
|
+
lengthStream.point = lengthPointFirst;
|
1580
|
+
lengthStream.lineEnd = lengthLineEnd;
|
1581
|
+
}
|
1582
|
+
|
1583
|
+
function lengthLineEnd() {
|
1584
|
+
lengthStream.point = lengthStream.lineEnd = noop;
|
1585
|
+
}
|
1586
|
+
|
1587
|
+
function lengthPointFirst(lambda, phi) {
|
1588
|
+
lambda *= radians, phi *= radians;
|
1589
|
+
lambda0$2 = lambda, sinPhi0$1 = sin(phi), cosPhi0$1 = cos(phi);
|
1590
|
+
lengthStream.point = lengthPoint;
|
1591
|
+
}
|
1592
|
+
|
1593
|
+
function lengthPoint(lambda, phi) {
|
1594
|
+
lambda *= radians, phi *= radians;
|
1595
|
+
var sinPhi = sin(phi),
|
1596
|
+
cosPhi = cos(phi),
|
1597
|
+
delta = abs(lambda - lambda0$2),
|
1598
|
+
cosDelta = cos(delta),
|
1599
|
+
sinDelta = sin(delta),
|
1600
|
+
x = cosPhi * sinDelta,
|
1601
|
+
y = cosPhi0$1 * sinPhi - sinPhi0$1 * cosPhi * cosDelta,
|
1602
|
+
z = sinPhi0$1 * sinPhi + cosPhi0$1 * cosPhi * cosDelta;
|
1603
|
+
lengthSum.add(atan2(sqrt(x * x + y * y), z));
|
1604
|
+
lambda0$2 = lambda, sinPhi0$1 = sinPhi, cosPhi0$1 = cosPhi;
|
1605
|
+
}
|
1606
|
+
|
1607
|
+
function length(object) {
|
1608
|
+
lengthSum.reset();
|
1609
|
+
geoStream(object, lengthStream);
|
1610
|
+
return +lengthSum;
|
1611
|
+
}
|
1612
|
+
|
1613
|
+
var coordinates = [null, null],
|
1614
|
+
object = {type: "LineString", coordinates: coordinates};
|
1615
|
+
|
1616
|
+
function distance(a, b) {
|
1617
|
+
coordinates[0] = a;
|
1618
|
+
coordinates[1] = b;
|
1619
|
+
return length(object);
|
1620
|
+
}
|
1621
|
+
|
1622
|
+
var containsObjectType = {
|
1623
|
+
Feature: function(object, point) {
|
1624
|
+
return containsGeometry(object.geometry, point);
|
1625
|
+
},
|
1626
|
+
FeatureCollection: function(object, point) {
|
1627
|
+
var features = object.features, i = -1, n = features.length;
|
1628
|
+
while (++i < n) if (containsGeometry(features[i].geometry, point)) return true;
|
1629
|
+
return false;
|
1630
|
+
}
|
1631
|
+
};
|
1632
|
+
|
1633
|
+
var containsGeometryType = {
|
1634
|
+
Sphere: function() {
|
1635
|
+
return true;
|
1636
|
+
},
|
1637
|
+
Point: function(object, point) {
|
1638
|
+
return containsPoint(object.coordinates, point);
|
1639
|
+
},
|
1640
|
+
MultiPoint: function(object, point) {
|
1641
|
+
var coordinates = object.coordinates, i = -1, n = coordinates.length;
|
1642
|
+
while (++i < n) if (containsPoint(coordinates[i], point)) return true;
|
1643
|
+
return false;
|
1644
|
+
},
|
1645
|
+
LineString: function(object, point) {
|
1646
|
+
return containsLine(object.coordinates, point);
|
1647
|
+
},
|
1648
|
+
MultiLineString: function(object, point) {
|
1649
|
+
var coordinates = object.coordinates, i = -1, n = coordinates.length;
|
1650
|
+
while (++i < n) if (containsLine(coordinates[i], point)) return true;
|
1651
|
+
return false;
|
1652
|
+
},
|
1653
|
+
Polygon: function(object, point) {
|
1654
|
+
return containsPolygon(object.coordinates, point);
|
1655
|
+
},
|
1656
|
+
MultiPolygon: function(object, point) {
|
1657
|
+
var coordinates = object.coordinates, i = -1, n = coordinates.length;
|
1658
|
+
while (++i < n) if (containsPolygon(coordinates[i], point)) return true;
|
1659
|
+
return false;
|
1660
|
+
},
|
1661
|
+
GeometryCollection: function(object, point) {
|
1662
|
+
var geometries = object.geometries, i = -1, n = geometries.length;
|
1663
|
+
while (++i < n) if (containsGeometry(geometries[i], point)) return true;
|
1664
|
+
return false;
|
1665
|
+
}
|
1666
|
+
};
|
1667
|
+
|
1668
|
+
function containsGeometry(geometry, point) {
|
1669
|
+
return geometry && containsGeometryType.hasOwnProperty(geometry.type)
|
1670
|
+
? containsGeometryType[geometry.type](geometry, point)
|
1671
|
+
: false;
|
1672
|
+
}
|
1673
|
+
|
1674
|
+
function containsPoint(coordinates, point) {
|
1675
|
+
return distance(coordinates, point) === 0;
|
1676
|
+
}
|
1677
|
+
|
1678
|
+
function containsLine(coordinates, point) {
|
1679
|
+
var ao, bo, ab;
|
1680
|
+
for (var i = 0, n = coordinates.length; i < n; i++) {
|
1681
|
+
bo = distance(coordinates[i], point);
|
1682
|
+
if (bo === 0) return true;
|
1683
|
+
if (i > 0) {
|
1684
|
+
ab = distance(coordinates[i], coordinates[i - 1]);
|
1685
|
+
if (
|
1686
|
+
ab > 0 &&
|
1687
|
+
ao <= ab &&
|
1688
|
+
bo <= ab &&
|
1689
|
+
(ao + bo - ab) * (1 - Math.pow((ao - bo) / ab, 2)) < epsilon2 * ab
|
1690
|
+
)
|
1691
|
+
return true;
|
1692
|
+
}
|
1693
|
+
ao = bo;
|
1694
|
+
}
|
1695
|
+
return false;
|
1696
|
+
}
|
1697
|
+
|
1698
|
+
function containsPolygon(coordinates, point) {
|
1699
|
+
return !!polygonContains(coordinates.map(ringRadians), pointRadians(point));
|
1700
|
+
}
|
1701
|
+
|
1702
|
+
function ringRadians(ring) {
|
1703
|
+
return ring = ring.map(pointRadians), ring.pop(), ring;
|
1704
|
+
}
|
1705
|
+
|
1706
|
+
function pointRadians(point) {
|
1707
|
+
return [point[0] * radians, point[1] * radians];
|
1708
|
+
}
|
1709
|
+
|
1710
|
+
function contains(object, point) {
|
1711
|
+
return (object && containsObjectType.hasOwnProperty(object.type)
|
1712
|
+
? containsObjectType[object.type]
|
1713
|
+
: containsGeometry)(object, point);
|
1714
|
+
}
|
1715
|
+
|
1716
|
+
function graticuleX(y0, y1, dy) {
|
1717
|
+
var y = d3Array.range(y0, y1 - epsilon, dy).concat(y1);
|
1718
|
+
return function(x) { return y.map(function(y) { return [x, y]; }); };
|
1719
|
+
}
|
1720
|
+
|
1721
|
+
function graticuleY(x0, x1, dx) {
|
1722
|
+
var x = d3Array.range(x0, x1 - epsilon, dx).concat(x1);
|
1723
|
+
return function(y) { return x.map(function(x) { return [x, y]; }); };
|
1724
|
+
}
|
1725
|
+
|
1726
|
+
function graticule() {
|
1727
|
+
var x1, x0, X1, X0,
|
1728
|
+
y1, y0, Y1, Y0,
|
1729
|
+
dx = 10, dy = dx, DX = 90, DY = 360,
|
1730
|
+
x, y, X, Y,
|
1731
|
+
precision = 2.5;
|
1732
|
+
|
1733
|
+
function graticule() {
|
1734
|
+
return {type: "MultiLineString", coordinates: lines()};
|
1735
|
+
}
|
1736
|
+
|
1737
|
+
function lines() {
|
1738
|
+
return d3Array.range(ceil(X0 / DX) * DX, X1, DX).map(X)
|
1739
|
+
.concat(d3Array.range(ceil(Y0 / DY) * DY, Y1, DY).map(Y))
|
1740
|
+
.concat(d3Array.range(ceil(x0 / dx) * dx, x1, dx).filter(function(x) { return abs(x % DX) > epsilon; }).map(x))
|
1741
|
+
.concat(d3Array.range(ceil(y0 / dy) * dy, y1, dy).filter(function(y) { return abs(y % DY) > epsilon; }).map(y));
|
1742
|
+
}
|
1743
|
+
|
1744
|
+
graticule.lines = function() {
|
1745
|
+
return lines().map(function(coordinates) { return {type: "LineString", coordinates: coordinates}; });
|
1746
|
+
};
|
1747
|
+
|
1748
|
+
graticule.outline = function() {
|
1749
|
+
return {
|
1750
|
+
type: "Polygon",
|
1751
|
+
coordinates: [
|
1752
|
+
X(X0).concat(
|
1753
|
+
Y(Y1).slice(1),
|
1754
|
+
X(X1).reverse().slice(1),
|
1755
|
+
Y(Y0).reverse().slice(1))
|
1756
|
+
]
|
1757
|
+
};
|
1758
|
+
};
|
1759
|
+
|
1760
|
+
graticule.extent = function(_) {
|
1761
|
+
if (!arguments.length) return graticule.extentMinor();
|
1762
|
+
return graticule.extentMajor(_).extentMinor(_);
|
1763
|
+
};
|
1764
|
+
|
1765
|
+
graticule.extentMajor = function(_) {
|
1766
|
+
if (!arguments.length) return [[X0, Y0], [X1, Y1]];
|
1767
|
+
X0 = +_[0][0], X1 = +_[1][0];
|
1768
|
+
Y0 = +_[0][1], Y1 = +_[1][1];
|
1769
|
+
if (X0 > X1) _ = X0, X0 = X1, X1 = _;
|
1770
|
+
if (Y0 > Y1) _ = Y0, Y0 = Y1, Y1 = _;
|
1771
|
+
return graticule.precision(precision);
|
1772
|
+
};
|
1773
|
+
|
1774
|
+
graticule.extentMinor = function(_) {
|
1775
|
+
if (!arguments.length) return [[x0, y0], [x1, y1]];
|
1776
|
+
x0 = +_[0][0], x1 = +_[1][0];
|
1777
|
+
y0 = +_[0][1], y1 = +_[1][1];
|
1778
|
+
if (x0 > x1) _ = x0, x0 = x1, x1 = _;
|
1779
|
+
if (y0 > y1) _ = y0, y0 = y1, y1 = _;
|
1780
|
+
return graticule.precision(precision);
|
1781
|
+
};
|
1782
|
+
|
1783
|
+
graticule.step = function(_) {
|
1784
|
+
if (!arguments.length) return graticule.stepMinor();
|
1785
|
+
return graticule.stepMajor(_).stepMinor(_);
|
1786
|
+
};
|
1787
|
+
|
1788
|
+
graticule.stepMajor = function(_) {
|
1789
|
+
if (!arguments.length) return [DX, DY];
|
1790
|
+
DX = +_[0], DY = +_[1];
|
1791
|
+
return graticule;
|
1792
|
+
};
|
1793
|
+
|
1794
|
+
graticule.stepMinor = function(_) {
|
1795
|
+
if (!arguments.length) return [dx, dy];
|
1796
|
+
dx = +_[0], dy = +_[1];
|
1797
|
+
return graticule;
|
1798
|
+
};
|
1799
|
+
|
1800
|
+
graticule.precision = function(_) {
|
1801
|
+
if (!arguments.length) return precision;
|
1802
|
+
precision = +_;
|
1803
|
+
x = graticuleX(y0, y1, 90);
|
1804
|
+
y = graticuleY(x0, x1, precision);
|
1805
|
+
X = graticuleX(Y0, Y1, 90);
|
1806
|
+
Y = graticuleY(X0, X1, precision);
|
1807
|
+
return graticule;
|
1808
|
+
};
|
1809
|
+
|
1810
|
+
return graticule
|
1811
|
+
.extentMajor([[-180, -90 + epsilon], [180, 90 - epsilon]])
|
1812
|
+
.extentMinor([[-180, -80 - epsilon], [180, 80 + epsilon]]);
|
1813
|
+
}
|
1814
|
+
|
1815
|
+
function graticule10() {
|
1816
|
+
return graticule()();
|
1817
|
+
}
|
1818
|
+
|
1819
|
+
function interpolate(a, b) {
|
1820
|
+
var x0 = a[0] * radians,
|
1821
|
+
y0 = a[1] * radians,
|
1822
|
+
x1 = b[0] * radians,
|
1823
|
+
y1 = b[1] * radians,
|
1824
|
+
cy0 = cos(y0),
|
1825
|
+
sy0 = sin(y0),
|
1826
|
+
cy1 = cos(y1),
|
1827
|
+
sy1 = sin(y1),
|
1828
|
+
kx0 = cy0 * cos(x0),
|
1829
|
+
ky0 = cy0 * sin(x0),
|
1830
|
+
kx1 = cy1 * cos(x1),
|
1831
|
+
ky1 = cy1 * sin(x1),
|
1832
|
+
d = 2 * asin(sqrt(haversin(y1 - y0) + cy0 * cy1 * haversin(x1 - x0))),
|
1833
|
+
k = sin(d);
|
1834
|
+
|
1835
|
+
var interpolate = d ? function(t) {
|
1836
|
+
var B = sin(t *= d) / k,
|
1837
|
+
A = sin(d - t) / k,
|
1838
|
+
x = A * kx0 + B * kx1,
|
1839
|
+
y = A * ky0 + B * ky1,
|
1840
|
+
z = A * sy0 + B * sy1;
|
1841
|
+
return [
|
1842
|
+
atan2(y, x) * degrees,
|
1843
|
+
atan2(z, sqrt(x * x + y * y)) * degrees
|
1844
|
+
];
|
1845
|
+
} : function() {
|
1846
|
+
return [x0 * degrees, y0 * degrees];
|
1847
|
+
};
|
1848
|
+
|
1849
|
+
interpolate.distance = d;
|
1850
|
+
|
1851
|
+
return interpolate;
|
1852
|
+
}
|
1853
|
+
|
1854
|
+
function identity(x) {
|
1855
|
+
return x;
|
1856
|
+
}
|
1857
|
+
|
1858
|
+
var areaSum$1 = adder(),
|
1859
|
+
areaRingSum$1 = adder(),
|
1860
|
+
x00,
|
1861
|
+
y00,
|
1862
|
+
x0$1,
|
1863
|
+
y0$1;
|
1864
|
+
|
1865
|
+
var areaStream$1 = {
|
1866
|
+
point: noop,
|
1867
|
+
lineStart: noop,
|
1868
|
+
lineEnd: noop,
|
1869
|
+
polygonStart: function() {
|
1870
|
+
areaStream$1.lineStart = areaRingStart$1;
|
1871
|
+
areaStream$1.lineEnd = areaRingEnd$1;
|
1872
|
+
},
|
1873
|
+
polygonEnd: function() {
|
1874
|
+
areaStream$1.lineStart = areaStream$1.lineEnd = areaStream$1.point = noop;
|
1875
|
+
areaSum$1.add(abs(areaRingSum$1));
|
1876
|
+
areaRingSum$1.reset();
|
1877
|
+
},
|
1878
|
+
result: function() {
|
1879
|
+
var area = areaSum$1 / 2;
|
1880
|
+
areaSum$1.reset();
|
1881
|
+
return area;
|
1882
|
+
}
|
1883
|
+
};
|
1884
|
+
|
1885
|
+
function areaRingStart$1() {
|
1886
|
+
areaStream$1.point = areaPointFirst$1;
|
1887
|
+
}
|
1888
|
+
|
1889
|
+
function areaPointFirst$1(x, y) {
|
1890
|
+
areaStream$1.point = areaPoint$1;
|
1891
|
+
x00 = x0$1 = x, y00 = y0$1 = y;
|
1892
|
+
}
|
1893
|
+
|
1894
|
+
function areaPoint$1(x, y) {
|
1895
|
+
areaRingSum$1.add(y0$1 * x - x0$1 * y);
|
1896
|
+
x0$1 = x, y0$1 = y;
|
1897
|
+
}
|
1898
|
+
|
1899
|
+
function areaRingEnd$1() {
|
1900
|
+
areaPoint$1(x00, y00);
|
1901
|
+
}
|
1902
|
+
|
1903
|
+
var x0$2 = Infinity,
|
1904
|
+
y0$2 = x0$2,
|
1905
|
+
x1 = -x0$2,
|
1906
|
+
y1 = x1;
|
1907
|
+
|
1908
|
+
var boundsStream$1 = {
|
1909
|
+
point: boundsPoint$1,
|
1910
|
+
lineStart: noop,
|
1911
|
+
lineEnd: noop,
|
1912
|
+
polygonStart: noop,
|
1913
|
+
polygonEnd: noop,
|
1914
|
+
result: function() {
|
1915
|
+
var bounds = [[x0$2, y0$2], [x1, y1]];
|
1916
|
+
x1 = y1 = -(y0$2 = x0$2 = Infinity);
|
1917
|
+
return bounds;
|
1918
|
+
}
|
1919
|
+
};
|
1920
|
+
|
1921
|
+
function boundsPoint$1(x, y) {
|
1922
|
+
if (x < x0$2) x0$2 = x;
|
1923
|
+
if (x > x1) x1 = x;
|
1924
|
+
if (y < y0$2) y0$2 = y;
|
1925
|
+
if (y > y1) y1 = y;
|
1926
|
+
}
|
1927
|
+
|
1928
|
+
// TODO Enforce positive area for exterior, negative area for interior?
|
1929
|
+
|
1930
|
+
var X0$1 = 0,
|
1931
|
+
Y0$1 = 0,
|
1932
|
+
Z0$1 = 0,
|
1933
|
+
X1$1 = 0,
|
1934
|
+
Y1$1 = 0,
|
1935
|
+
Z1$1 = 0,
|
1936
|
+
X2$1 = 0,
|
1937
|
+
Y2$1 = 0,
|
1938
|
+
Z2$1 = 0,
|
1939
|
+
x00$1,
|
1940
|
+
y00$1,
|
1941
|
+
x0$3,
|
1942
|
+
y0$3;
|
1943
|
+
|
1944
|
+
var centroidStream$1 = {
|
1945
|
+
point: centroidPoint$1,
|
1946
|
+
lineStart: centroidLineStart$1,
|
1947
|
+
lineEnd: centroidLineEnd$1,
|
1948
|
+
polygonStart: function() {
|
1949
|
+
centroidStream$1.lineStart = centroidRingStart$1;
|
1950
|
+
centroidStream$1.lineEnd = centroidRingEnd$1;
|
1951
|
+
},
|
1952
|
+
polygonEnd: function() {
|
1953
|
+
centroidStream$1.point = centroidPoint$1;
|
1954
|
+
centroidStream$1.lineStart = centroidLineStart$1;
|
1955
|
+
centroidStream$1.lineEnd = centroidLineEnd$1;
|
1956
|
+
},
|
1957
|
+
result: function() {
|
1958
|
+
var centroid = Z2$1 ? [X2$1 / Z2$1, Y2$1 / Z2$1]
|
1959
|
+
: Z1$1 ? [X1$1 / Z1$1, Y1$1 / Z1$1]
|
1960
|
+
: Z0$1 ? [X0$1 / Z0$1, Y0$1 / Z0$1]
|
1961
|
+
: [NaN, NaN];
|
1962
|
+
X0$1 = Y0$1 = Z0$1 =
|
1963
|
+
X1$1 = Y1$1 = Z1$1 =
|
1964
|
+
X2$1 = Y2$1 = Z2$1 = 0;
|
1965
|
+
return centroid;
|
1966
|
+
}
|
1967
|
+
};
|
1968
|
+
|
1969
|
+
function centroidPoint$1(x, y) {
|
1970
|
+
X0$1 += x;
|
1971
|
+
Y0$1 += y;
|
1972
|
+
++Z0$1;
|
1973
|
+
}
|
1974
|
+
|
1975
|
+
function centroidLineStart$1() {
|
1976
|
+
centroidStream$1.point = centroidPointFirstLine;
|
1977
|
+
}
|
1978
|
+
|
1979
|
+
function centroidPointFirstLine(x, y) {
|
1980
|
+
centroidStream$1.point = centroidPointLine;
|
1981
|
+
centroidPoint$1(x0$3 = x, y0$3 = y);
|
1982
|
+
}
|
1983
|
+
|
1984
|
+
function centroidPointLine(x, y) {
|
1985
|
+
var dx = x - x0$3, dy = y - y0$3, z = sqrt(dx * dx + dy * dy);
|
1986
|
+
X1$1 += z * (x0$3 + x) / 2;
|
1987
|
+
Y1$1 += z * (y0$3 + y) / 2;
|
1988
|
+
Z1$1 += z;
|
1989
|
+
centroidPoint$1(x0$3 = x, y0$3 = y);
|
1990
|
+
}
|
1991
|
+
|
1992
|
+
function centroidLineEnd$1() {
|
1993
|
+
centroidStream$1.point = centroidPoint$1;
|
1994
|
+
}
|
1995
|
+
|
1996
|
+
function centroidRingStart$1() {
|
1997
|
+
centroidStream$1.point = centroidPointFirstRing;
|
1998
|
+
}
|
1999
|
+
|
2000
|
+
function centroidRingEnd$1() {
|
2001
|
+
centroidPointRing(x00$1, y00$1);
|
2002
|
+
}
|
2003
|
+
|
2004
|
+
function centroidPointFirstRing(x, y) {
|
2005
|
+
centroidStream$1.point = centroidPointRing;
|
2006
|
+
centroidPoint$1(x00$1 = x0$3 = x, y00$1 = y0$3 = y);
|
2007
|
+
}
|
2008
|
+
|
2009
|
+
function centroidPointRing(x, y) {
|
2010
|
+
var dx = x - x0$3,
|
2011
|
+
dy = y - y0$3,
|
2012
|
+
z = sqrt(dx * dx + dy * dy);
|
2013
|
+
|
2014
|
+
X1$1 += z * (x0$3 + x) / 2;
|
2015
|
+
Y1$1 += z * (y0$3 + y) / 2;
|
2016
|
+
Z1$1 += z;
|
2017
|
+
|
2018
|
+
z = y0$3 * x - x0$3 * y;
|
2019
|
+
X2$1 += z * (x0$3 + x);
|
2020
|
+
Y2$1 += z * (y0$3 + y);
|
2021
|
+
Z2$1 += z * 3;
|
2022
|
+
centroidPoint$1(x0$3 = x, y0$3 = y);
|
2023
|
+
}
|
2024
|
+
|
2025
|
+
function PathContext(context) {
|
2026
|
+
this._context = context;
|
2027
|
+
}
|
2028
|
+
|
2029
|
+
PathContext.prototype = {
|
2030
|
+
_radius: 4.5,
|
2031
|
+
pointRadius: function(_) {
|
2032
|
+
return this._radius = _, this;
|
2033
|
+
},
|
2034
|
+
polygonStart: function() {
|
2035
|
+
this._line = 0;
|
2036
|
+
},
|
2037
|
+
polygonEnd: function() {
|
2038
|
+
this._line = NaN;
|
2039
|
+
},
|
2040
|
+
lineStart: function() {
|
2041
|
+
this._point = 0;
|
2042
|
+
},
|
2043
|
+
lineEnd: function() {
|
2044
|
+
if (this._line === 0) this._context.closePath();
|
2045
|
+
this._point = NaN;
|
2046
|
+
},
|
2047
|
+
point: function(x, y) {
|
2048
|
+
switch (this._point) {
|
2049
|
+
case 0: {
|
2050
|
+
this._context.moveTo(x, y);
|
2051
|
+
this._point = 1;
|
2052
|
+
break;
|
2053
|
+
}
|
2054
|
+
case 1: {
|
2055
|
+
this._context.lineTo(x, y);
|
2056
|
+
break;
|
2057
|
+
}
|
2058
|
+
default: {
|
2059
|
+
this._context.moveTo(x + this._radius, y);
|
2060
|
+
this._context.arc(x, y, this._radius, 0, tau);
|
2061
|
+
break;
|
2062
|
+
}
|
2063
|
+
}
|
2064
|
+
},
|
2065
|
+
result: noop
|
2066
|
+
};
|
2067
|
+
|
2068
|
+
var lengthSum$1 = adder(),
|
2069
|
+
lengthRing,
|
2070
|
+
x00$2,
|
2071
|
+
y00$2,
|
2072
|
+
x0$4,
|
2073
|
+
y0$4;
|
2074
|
+
|
2075
|
+
var lengthStream$1 = {
|
2076
|
+
point: noop,
|
2077
|
+
lineStart: function() {
|
2078
|
+
lengthStream$1.point = lengthPointFirst$1;
|
2079
|
+
},
|
2080
|
+
lineEnd: function() {
|
2081
|
+
if (lengthRing) lengthPoint$1(x00$2, y00$2);
|
2082
|
+
lengthStream$1.point = noop;
|
2083
|
+
},
|
2084
|
+
polygonStart: function() {
|
2085
|
+
lengthRing = true;
|
2086
|
+
},
|
2087
|
+
polygonEnd: function() {
|
2088
|
+
lengthRing = null;
|
2089
|
+
},
|
2090
|
+
result: function() {
|
2091
|
+
var length = +lengthSum$1;
|
2092
|
+
lengthSum$1.reset();
|
2093
|
+
return length;
|
2094
|
+
}
|
2095
|
+
};
|
2096
|
+
|
2097
|
+
function lengthPointFirst$1(x, y) {
|
2098
|
+
lengthStream$1.point = lengthPoint$1;
|
2099
|
+
x00$2 = x0$4 = x, y00$2 = y0$4 = y;
|
2100
|
+
}
|
2101
|
+
|
2102
|
+
function lengthPoint$1(x, y) {
|
2103
|
+
x0$4 -= x, y0$4 -= y;
|
2104
|
+
lengthSum$1.add(sqrt(x0$4 * x0$4 + y0$4 * y0$4));
|
2105
|
+
x0$4 = x, y0$4 = y;
|
2106
|
+
}
|
2107
|
+
|
2108
|
+
function PathString() {
|
2109
|
+
this._string = [];
|
2110
|
+
}
|
2111
|
+
|
2112
|
+
PathString.prototype = {
|
2113
|
+
_radius: 4.5,
|
2114
|
+
_circle: circle$1(4.5),
|
2115
|
+
pointRadius: function(_) {
|
2116
|
+
if ((_ = +_) !== this._radius) this._radius = _, this._circle = null;
|
2117
|
+
return this;
|
2118
|
+
},
|
2119
|
+
polygonStart: function() {
|
2120
|
+
this._line = 0;
|
2121
|
+
},
|
2122
|
+
polygonEnd: function() {
|
2123
|
+
this._line = NaN;
|
2124
|
+
},
|
2125
|
+
lineStart: function() {
|
2126
|
+
this._point = 0;
|
2127
|
+
},
|
2128
|
+
lineEnd: function() {
|
2129
|
+
if (this._line === 0) this._string.push("Z");
|
2130
|
+
this._point = NaN;
|
2131
|
+
},
|
2132
|
+
point: function(x, y) {
|
2133
|
+
switch (this._point) {
|
2134
|
+
case 0: {
|
2135
|
+
this._string.push("M", x, ",", y);
|
2136
|
+
this._point = 1;
|
2137
|
+
break;
|
2138
|
+
}
|
2139
|
+
case 1: {
|
2140
|
+
this._string.push("L", x, ",", y);
|
2141
|
+
break;
|
2142
|
+
}
|
2143
|
+
default: {
|
2144
|
+
if (this._circle == null) this._circle = circle$1(this._radius);
|
2145
|
+
this._string.push("M", x, ",", y, this._circle);
|
2146
|
+
break;
|
2147
|
+
}
|
2148
|
+
}
|
2149
|
+
},
|
2150
|
+
result: function() {
|
2151
|
+
if (this._string.length) {
|
2152
|
+
var result = this._string.join("");
|
2153
|
+
this._string = [];
|
2154
|
+
return result;
|
2155
|
+
} else {
|
2156
|
+
return null;
|
2157
|
+
}
|
2158
|
+
}
|
2159
|
+
};
|
2160
|
+
|
2161
|
+
function circle$1(radius) {
|
2162
|
+
return "m0," + radius
|
2163
|
+
+ "a" + radius + "," + radius + " 0 1,1 0," + -2 * radius
|
2164
|
+
+ "a" + radius + "," + radius + " 0 1,1 0," + 2 * radius
|
2165
|
+
+ "z";
|
2166
|
+
}
|
2167
|
+
|
2168
|
+
function index(projection, context) {
|
2169
|
+
var pointRadius = 4.5,
|
2170
|
+
projectionStream,
|
2171
|
+
contextStream;
|
2172
|
+
|
2173
|
+
function path(object) {
|
2174
|
+
if (object) {
|
2175
|
+
if (typeof pointRadius === "function") contextStream.pointRadius(+pointRadius.apply(this, arguments));
|
2176
|
+
geoStream(object, projectionStream(contextStream));
|
2177
|
+
}
|
2178
|
+
return contextStream.result();
|
2179
|
+
}
|
2180
|
+
|
2181
|
+
path.area = function(object) {
|
2182
|
+
geoStream(object, projectionStream(areaStream$1));
|
2183
|
+
return areaStream$1.result();
|
2184
|
+
};
|
2185
|
+
|
2186
|
+
path.measure = function(object) {
|
2187
|
+
geoStream(object, projectionStream(lengthStream$1));
|
2188
|
+
return lengthStream$1.result();
|
2189
|
+
};
|
2190
|
+
|
2191
|
+
path.bounds = function(object) {
|
2192
|
+
geoStream(object, projectionStream(boundsStream$1));
|
2193
|
+
return boundsStream$1.result();
|
2194
|
+
};
|
2195
|
+
|
2196
|
+
path.centroid = function(object) {
|
2197
|
+
geoStream(object, projectionStream(centroidStream$1));
|
2198
|
+
return centroidStream$1.result();
|
2199
|
+
};
|
2200
|
+
|
2201
|
+
path.projection = function(_) {
|
2202
|
+
return arguments.length ? (projectionStream = _ == null ? (projection = null, identity) : (projection = _).stream, path) : projection;
|
2203
|
+
};
|
2204
|
+
|
2205
|
+
path.context = function(_) {
|
2206
|
+
if (!arguments.length) return context;
|
2207
|
+
contextStream = _ == null ? (context = null, new PathString) : new PathContext(context = _);
|
2208
|
+
if (typeof pointRadius !== "function") contextStream.pointRadius(pointRadius);
|
2209
|
+
return path;
|
2210
|
+
};
|
2211
|
+
|
2212
|
+
path.pointRadius = function(_) {
|
2213
|
+
if (!arguments.length) return pointRadius;
|
2214
|
+
pointRadius = typeof _ === "function" ? _ : (contextStream.pointRadius(+_), +_);
|
2215
|
+
return path;
|
2216
|
+
};
|
2217
|
+
|
2218
|
+
return path.projection(projection).context(context);
|
2219
|
+
}
|
2220
|
+
|
2221
|
+
function transform(methods) {
|
2222
|
+
return {
|
2223
|
+
stream: transformer(methods)
|
2224
|
+
};
|
2225
|
+
}
|
2226
|
+
|
2227
|
+
function transformer(methods) {
|
2228
|
+
return function(stream) {
|
2229
|
+
var s = new TransformStream;
|
2230
|
+
for (var key in methods) s[key] = methods[key];
|
2231
|
+
s.stream = stream;
|
2232
|
+
return s;
|
2233
|
+
};
|
2234
|
+
}
|
2235
|
+
|
2236
|
+
function TransformStream() {}
|
2237
|
+
|
2238
|
+
TransformStream.prototype = {
|
2239
|
+
constructor: TransformStream,
|
2240
|
+
point: function(x, y) { this.stream.point(x, y); },
|
2241
|
+
sphere: function() { this.stream.sphere(); },
|
2242
|
+
lineStart: function() { this.stream.lineStart(); },
|
2243
|
+
lineEnd: function() { this.stream.lineEnd(); },
|
2244
|
+
polygonStart: function() { this.stream.polygonStart(); },
|
2245
|
+
polygonEnd: function() { this.stream.polygonEnd(); }
|
2246
|
+
};
|
2247
|
+
|
2248
|
+
function fit(projection, fitBounds, object) {
|
2249
|
+
var clip = projection.clipExtent && projection.clipExtent();
|
2250
|
+
projection.scale(150).translate([0, 0]);
|
2251
|
+
if (clip != null) projection.clipExtent(null);
|
2252
|
+
geoStream(object, projection.stream(boundsStream$1));
|
2253
|
+
fitBounds(boundsStream$1.result());
|
2254
|
+
if (clip != null) projection.clipExtent(clip);
|
2255
|
+
return projection;
|
2256
|
+
}
|
2257
|
+
|
2258
|
+
function fitExtent(projection, extent, object) {
|
2259
|
+
return fit(projection, function(b) {
|
2260
|
+
var w = extent[1][0] - extent[0][0],
|
2261
|
+
h = extent[1][1] - extent[0][1],
|
2262
|
+
k = Math.min(w / (b[1][0] - b[0][0]), h / (b[1][1] - b[0][1])),
|
2263
|
+
x = +extent[0][0] + (w - k * (b[1][0] + b[0][0])) / 2,
|
2264
|
+
y = +extent[0][1] + (h - k * (b[1][1] + b[0][1])) / 2;
|
2265
|
+
projection.scale(150 * k).translate([x, y]);
|
2266
|
+
}, object);
|
2267
|
+
}
|
2268
|
+
|
2269
|
+
function fitSize(projection, size, object) {
|
2270
|
+
return fitExtent(projection, [[0, 0], size], object);
|
2271
|
+
}
|
2272
|
+
|
2273
|
+
function fitWidth(projection, width, object) {
|
2274
|
+
return fit(projection, function(b) {
|
2275
|
+
var w = +width,
|
2276
|
+
k = w / (b[1][0] - b[0][0]),
|
2277
|
+
x = (w - k * (b[1][0] + b[0][0])) / 2,
|
2278
|
+
y = -k * b[0][1];
|
2279
|
+
projection.scale(150 * k).translate([x, y]);
|
2280
|
+
}, object);
|
2281
|
+
}
|
2282
|
+
|
2283
|
+
function fitHeight(projection, height, object) {
|
2284
|
+
return fit(projection, function(b) {
|
2285
|
+
var h = +height,
|
2286
|
+
k = h / (b[1][1] - b[0][1]),
|
2287
|
+
x = -k * b[0][0],
|
2288
|
+
y = (h - k * (b[1][1] + b[0][1])) / 2;
|
2289
|
+
projection.scale(150 * k).translate([x, y]);
|
2290
|
+
}, object);
|
2291
|
+
}
|
2292
|
+
|
2293
|
+
var maxDepth = 16, // maximum depth of subdivision
|
2294
|
+
cosMinDistance = cos(30 * radians); // cos(minimum angular distance)
|
2295
|
+
|
2296
|
+
function resample(project, delta2) {
|
2297
|
+
return +delta2 ? resample$1(project, delta2) : resampleNone(project);
|
2298
|
+
}
|
2299
|
+
|
2300
|
+
function resampleNone(project) {
|
2301
|
+
return transformer({
|
2302
|
+
point: function(x, y) {
|
2303
|
+
x = project(x, y);
|
2304
|
+
this.stream.point(x[0], x[1]);
|
2305
|
+
}
|
2306
|
+
});
|
2307
|
+
}
|
2308
|
+
|
2309
|
+
function resample$1(project, delta2) {
|
2310
|
+
|
2311
|
+
function resampleLineTo(x0, y0, lambda0, a0, b0, c0, x1, y1, lambda1, a1, b1, c1, depth, stream) {
|
2312
|
+
var dx = x1 - x0,
|
2313
|
+
dy = y1 - y0,
|
2314
|
+
d2 = dx * dx + dy * dy;
|
2315
|
+
if (d2 > 4 * delta2 && depth--) {
|
2316
|
+
var a = a0 + a1,
|
2317
|
+
b = b0 + b1,
|
2318
|
+
c = c0 + c1,
|
2319
|
+
m = sqrt(a * a + b * b + c * c),
|
2320
|
+
phi2 = asin(c /= m),
|
2321
|
+
lambda2 = abs(abs(c) - 1) < epsilon || abs(lambda0 - lambda1) < epsilon ? (lambda0 + lambda1) / 2 : atan2(b, a),
|
2322
|
+
p = project(lambda2, phi2),
|
2323
|
+
x2 = p[0],
|
2324
|
+
y2 = p[1],
|
2325
|
+
dx2 = x2 - x0,
|
2326
|
+
dy2 = y2 - y0,
|
2327
|
+
dz = dy * dx2 - dx * dy2;
|
2328
|
+
if (dz * dz / d2 > delta2 // perpendicular projected distance
|
2329
|
+
|| abs((dx * dx2 + dy * dy2) / d2 - 0.5) > 0.3 // midpoint close to an end
|
2330
|
+
|| a0 * a1 + b0 * b1 + c0 * c1 < cosMinDistance) { // angular distance
|
2331
|
+
resampleLineTo(x0, y0, lambda0, a0, b0, c0, x2, y2, lambda2, a /= m, b /= m, c, depth, stream);
|
2332
|
+
stream.point(x2, y2);
|
2333
|
+
resampleLineTo(x2, y2, lambda2, a, b, c, x1, y1, lambda1, a1, b1, c1, depth, stream);
|
2334
|
+
}
|
2335
|
+
}
|
2336
|
+
}
|
2337
|
+
return function(stream) {
|
2338
|
+
var lambda00, x00, y00, a00, b00, c00, // first point
|
2339
|
+
lambda0, x0, y0, a0, b0, c0; // previous point
|
2340
|
+
|
2341
|
+
var resampleStream = {
|
2342
|
+
point: point,
|
2343
|
+
lineStart: lineStart,
|
2344
|
+
lineEnd: lineEnd,
|
2345
|
+
polygonStart: function() { stream.polygonStart(); resampleStream.lineStart = ringStart; },
|
2346
|
+
polygonEnd: function() { stream.polygonEnd(); resampleStream.lineStart = lineStart; }
|
2347
|
+
};
|
2348
|
+
|
2349
|
+
function point(x, y) {
|
2350
|
+
x = project(x, y);
|
2351
|
+
stream.point(x[0], x[1]);
|
2352
|
+
}
|
2353
|
+
|
2354
|
+
function lineStart() {
|
2355
|
+
x0 = NaN;
|
2356
|
+
resampleStream.point = linePoint;
|
2357
|
+
stream.lineStart();
|
2358
|
+
}
|
2359
|
+
|
2360
|
+
function linePoint(lambda, phi) {
|
2361
|
+
var c = cartesian([lambda, phi]), p = project(lambda, phi);
|
2362
|
+
resampleLineTo(x0, y0, lambda0, a0, b0, c0, x0 = p[0], y0 = p[1], lambda0 = lambda, a0 = c[0], b0 = c[1], c0 = c[2], maxDepth, stream);
|
2363
|
+
stream.point(x0, y0);
|
2364
|
+
}
|
2365
|
+
|
2366
|
+
function lineEnd() {
|
2367
|
+
resampleStream.point = point;
|
2368
|
+
stream.lineEnd();
|
2369
|
+
}
|
2370
|
+
|
2371
|
+
function ringStart() {
|
2372
|
+
lineStart();
|
2373
|
+
resampleStream.point = ringPoint;
|
2374
|
+
resampleStream.lineEnd = ringEnd;
|
2375
|
+
}
|
2376
|
+
|
2377
|
+
function ringPoint(lambda, phi) {
|
2378
|
+
linePoint(lambda00 = lambda, phi), x00 = x0, y00 = y0, a00 = a0, b00 = b0, c00 = c0;
|
2379
|
+
resampleStream.point = linePoint;
|
2380
|
+
}
|
2381
|
+
|
2382
|
+
function ringEnd() {
|
2383
|
+
resampleLineTo(x0, y0, lambda0, a0, b0, c0, x00, y00, lambda00, a00, b00, c00, maxDepth, stream);
|
2384
|
+
resampleStream.lineEnd = lineEnd;
|
2385
|
+
lineEnd();
|
2386
|
+
}
|
2387
|
+
|
2388
|
+
return resampleStream;
|
2389
|
+
};
|
2390
|
+
}
|
2391
|
+
|
2392
|
+
var transformRadians = transformer({
|
2393
|
+
point: function(x, y) {
|
2394
|
+
this.stream.point(x * radians, y * radians);
|
2395
|
+
}
|
2396
|
+
});
|
2397
|
+
|
2398
|
+
function transformRotate(rotate) {
|
2399
|
+
return transformer({
|
2400
|
+
point: function(x, y) {
|
2401
|
+
var r = rotate(x, y);
|
2402
|
+
return this.stream.point(r[0], r[1]);
|
2403
|
+
}
|
2404
|
+
});
|
2405
|
+
}
|
2406
|
+
|
2407
|
+
function scaleTranslate(k, dx, dy, sx, sy) {
|
2408
|
+
function transform(x, y) {
|
2409
|
+
x *= sx; y *= sy;
|
2410
|
+
return [dx + k * x, dy - k * y];
|
2411
|
+
}
|
2412
|
+
transform.invert = function(x, y) {
|
2413
|
+
return [(x - dx) / k * sx, (dy - y) / k * sy];
|
2414
|
+
};
|
2415
|
+
return transform;
|
2416
|
+
}
|
2417
|
+
|
2418
|
+
function scaleTranslateRotate(k, dx, dy, sx, sy, alpha) {
|
2419
|
+
var cosAlpha = cos(alpha),
|
2420
|
+
sinAlpha = sin(alpha),
|
2421
|
+
a = cosAlpha * k,
|
2422
|
+
b = sinAlpha * k,
|
2423
|
+
ai = cosAlpha / k,
|
2424
|
+
bi = sinAlpha / k,
|
2425
|
+
ci = (sinAlpha * dy - cosAlpha * dx) / k,
|
2426
|
+
fi = (sinAlpha * dx + cosAlpha * dy) / k;
|
2427
|
+
function transform(x, y) {
|
2428
|
+
x *= sx; y *= sy;
|
2429
|
+
return [a * x - b * y + dx, dy - b * x - a * y];
|
2430
|
+
}
|
2431
|
+
transform.invert = function(x, y) {
|
2432
|
+
return [sx * (ai * x - bi * y + ci), sy * (fi - bi * x - ai * y)];
|
2433
|
+
};
|
2434
|
+
return transform;
|
2435
|
+
}
|
2436
|
+
|
2437
|
+
function projection(project) {
|
2438
|
+
return projectionMutator(function() { return project; })();
|
2439
|
+
}
|
2440
|
+
|
2441
|
+
function projectionMutator(projectAt) {
|
2442
|
+
var project,
|
2443
|
+
k = 150, // scale
|
2444
|
+
x = 480, y = 250, // translate
|
2445
|
+
lambda = 0, phi = 0, // center
|
2446
|
+
deltaLambda = 0, deltaPhi = 0, deltaGamma = 0, rotate, // pre-rotate
|
2447
|
+
alpha = 0, // post-rotate angle
|
2448
|
+
sx = 1, // reflectX
|
2449
|
+
sy = 1, // reflectX
|
2450
|
+
theta = null, preclip = clipAntimeridian, // pre-clip angle
|
2451
|
+
x0 = null, y0, x1, y1, postclip = identity, // post-clip extent
|
2452
|
+
delta2 = 0.5, // precision
|
2453
|
+
projectResample,
|
2454
|
+
projectTransform,
|
2455
|
+
projectRotateTransform,
|
2456
|
+
cache,
|
2457
|
+
cacheStream;
|
2458
|
+
|
2459
|
+
function projection(point) {
|
2460
|
+
return projectRotateTransform(point[0] * radians, point[1] * radians);
|
2461
|
+
}
|
2462
|
+
|
2463
|
+
function invert(point) {
|
2464
|
+
point = projectRotateTransform.invert(point[0], point[1]);
|
2465
|
+
return point && [point[0] * degrees, point[1] * degrees];
|
2466
|
+
}
|
2467
|
+
|
2468
|
+
projection.stream = function(stream) {
|
2469
|
+
return cache && cacheStream === stream ? cache : cache = transformRadians(transformRotate(rotate)(preclip(projectResample(postclip(cacheStream = stream)))));
|
2470
|
+
};
|
2471
|
+
|
2472
|
+
projection.preclip = function(_) {
|
2473
|
+
return arguments.length ? (preclip = _, theta = undefined, reset()) : preclip;
|
2474
|
+
};
|
2475
|
+
|
2476
|
+
projection.postclip = function(_) {
|
2477
|
+
return arguments.length ? (postclip = _, x0 = y0 = x1 = y1 = null, reset()) : postclip;
|
2478
|
+
};
|
2479
|
+
|
2480
|
+
projection.clipAngle = function(_) {
|
2481
|
+
return arguments.length ? (preclip = +_ ? clipCircle(theta = _ * radians) : (theta = null, clipAntimeridian), reset()) : theta * degrees;
|
2482
|
+
};
|
2483
|
+
|
2484
|
+
projection.clipExtent = function(_) {
|
2485
|
+
return arguments.length ? (postclip = _ == null ? (x0 = y0 = x1 = y1 = null, identity) : clipRectangle(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];
|
2486
|
+
};
|
2487
|
+
|
2488
|
+
projection.scale = function(_) {
|
2489
|
+
return arguments.length ? (k = +_, recenter()) : k;
|
2490
|
+
};
|
2491
|
+
|
2492
|
+
projection.translate = function(_) {
|
2493
|
+
return arguments.length ? (x = +_[0], y = +_[1], recenter()) : [x, y];
|
2494
|
+
};
|
2495
|
+
|
2496
|
+
projection.center = function(_) {
|
2497
|
+
return arguments.length ? (lambda = _[0] % 360 * radians, phi = _[1] % 360 * radians, recenter()) : [lambda * degrees, phi * degrees];
|
2498
|
+
};
|
2499
|
+
|
2500
|
+
projection.rotate = function(_) {
|
2501
|
+
return arguments.length ? (deltaLambda = _[0] % 360 * radians, deltaPhi = _[1] % 360 * radians, deltaGamma = _.length > 2 ? _[2] % 360 * radians : 0, recenter()) : [deltaLambda * degrees, deltaPhi * degrees, deltaGamma * degrees];
|
2502
|
+
};
|
2503
|
+
|
2504
|
+
projection.angle = function(_) {
|
2505
|
+
return arguments.length ? (alpha = _ % 360 * radians, recenter()) : alpha * degrees;
|
2506
|
+
};
|
2507
|
+
|
2508
|
+
projection.reflectX = function(_) {
|
2509
|
+
return arguments.length ? (sx = _ ? -1 : 1, recenter()) : sx < 0;
|
2510
|
+
};
|
2511
|
+
|
2512
|
+
projection.reflectY = function(_) {
|
2513
|
+
return arguments.length ? (sy = _ ? -1 : 1, recenter()) : sy < 0;
|
2514
|
+
};
|
2515
|
+
|
2516
|
+
projection.precision = function(_) {
|
2517
|
+
return arguments.length ? (projectResample = resample(projectTransform, delta2 = _ * _), reset()) : sqrt(delta2);
|
2518
|
+
};
|
2519
|
+
|
2520
|
+
projection.fitExtent = function(extent, object) {
|
2521
|
+
return fitExtent(projection, extent, object);
|
2522
|
+
};
|
2523
|
+
|
2524
|
+
projection.fitSize = function(size, object) {
|
2525
|
+
return fitSize(projection, size, object);
|
2526
|
+
};
|
2527
|
+
|
2528
|
+
projection.fitWidth = function(width, object) {
|
2529
|
+
return fitWidth(projection, width, object);
|
2530
|
+
};
|
2531
|
+
|
2532
|
+
projection.fitHeight = function(height, object) {
|
2533
|
+
return fitHeight(projection, height, object);
|
2534
|
+
};
|
2535
|
+
|
2536
|
+
function recenter() {
|
2537
|
+
var center = scaleTranslateRotate(k, 0, 0, sx, sy, alpha).apply(null, project(lambda, phi)),
|
2538
|
+
transform = (alpha ? scaleTranslateRotate : scaleTranslate)(k, x - center[0], y - center[1], sx, sy, alpha);
|
2539
|
+
rotate = rotateRadians(deltaLambda, deltaPhi, deltaGamma);
|
2540
|
+
projectTransform = compose(project, transform);
|
2541
|
+
projectRotateTransform = compose(rotate, projectTransform);
|
2542
|
+
projectResample = resample(projectTransform, delta2);
|
2543
|
+
return reset();
|
2544
|
+
}
|
2545
|
+
|
2546
|
+
function reset() {
|
2547
|
+
cache = cacheStream = null;
|
2548
|
+
return projection;
|
2549
|
+
}
|
2550
|
+
|
2551
|
+
return function() {
|
2552
|
+
project = projectAt.apply(this, arguments);
|
2553
|
+
projection.invert = project.invert && invert;
|
2554
|
+
return recenter();
|
2555
|
+
};
|
2556
|
+
}
|
2557
|
+
|
2558
|
+
function conicProjection(projectAt) {
|
2559
|
+
var phi0 = 0,
|
2560
|
+
phi1 = pi / 3,
|
2561
|
+
m = projectionMutator(projectAt),
|
2562
|
+
p = m(phi0, phi1);
|
2563
|
+
|
2564
|
+
p.parallels = function(_) {
|
2565
|
+
return arguments.length ? m(phi0 = _[0] * radians, phi1 = _[1] * radians) : [phi0 * degrees, phi1 * degrees];
|
2566
|
+
};
|
2567
|
+
|
2568
|
+
return p;
|
2569
|
+
}
|
2570
|
+
|
2571
|
+
function cylindricalEqualAreaRaw(phi0) {
|
2572
|
+
var cosPhi0 = cos(phi0);
|
2573
|
+
|
2574
|
+
function forward(lambda, phi) {
|
2575
|
+
return [lambda * cosPhi0, sin(phi) / cosPhi0];
|
2576
|
+
}
|
2577
|
+
|
2578
|
+
forward.invert = function(x, y) {
|
2579
|
+
return [x / cosPhi0, asin(y * cosPhi0)];
|
2580
|
+
};
|
2581
|
+
|
2582
|
+
return forward;
|
2583
|
+
}
|
2584
|
+
|
2585
|
+
function conicEqualAreaRaw(y0, y1) {
|
2586
|
+
var sy0 = sin(y0), n = (sy0 + sin(y1)) / 2;
|
2587
|
+
|
2588
|
+
// Are the parallels symmetrical around the Equator?
|
2589
|
+
if (abs(n) < epsilon) return cylindricalEqualAreaRaw(y0);
|
2590
|
+
|
2591
|
+
var c = 1 + sy0 * (2 * n - sy0), r0 = sqrt(c) / n;
|
2592
|
+
|
2593
|
+
function project(x, y) {
|
2594
|
+
var r = sqrt(c - 2 * n * sin(y)) / n;
|
2595
|
+
return [r * sin(x *= n), r0 - r * cos(x)];
|
2596
|
+
}
|
2597
|
+
|
2598
|
+
project.invert = function(x, y) {
|
2599
|
+
var r0y = r0 - y,
|
2600
|
+
l = atan2(x, abs(r0y)) * sign(r0y);
|
2601
|
+
if (r0y * n < 0)
|
2602
|
+
l -= pi * sign(x) * sign(r0y);
|
2603
|
+
return [l / n, asin((c - (x * x + r0y * r0y) * n * n) / (2 * n))];
|
2604
|
+
};
|
2605
|
+
|
2606
|
+
return project;
|
2607
|
+
}
|
2608
|
+
|
2609
|
+
function conicEqualArea() {
|
2610
|
+
return conicProjection(conicEqualAreaRaw)
|
2611
|
+
.scale(155.424)
|
2612
|
+
.center([0, 33.6442]);
|
2613
|
+
}
|
2614
|
+
|
2615
|
+
function albers() {
|
2616
|
+
return conicEqualArea()
|
2617
|
+
.parallels([29.5, 45.5])
|
2618
|
+
.scale(1070)
|
2619
|
+
.translate([480, 250])
|
2620
|
+
.rotate([96, 0])
|
2621
|
+
.center([-0.6, 38.7]);
|
2622
|
+
}
|
2623
|
+
|
2624
|
+
// The projections must have mutually exclusive clip regions on the sphere,
|
2625
|
+
// as this will avoid emitting interleaving lines and polygons.
|
2626
|
+
function multiplex(streams) {
|
2627
|
+
var n = streams.length;
|
2628
|
+
return {
|
2629
|
+
point: function(x, y) { var i = -1; while (++i < n) streams[i].point(x, y); },
|
2630
|
+
sphere: function() { var i = -1; while (++i < n) streams[i].sphere(); },
|
2631
|
+
lineStart: function() { var i = -1; while (++i < n) streams[i].lineStart(); },
|
2632
|
+
lineEnd: function() { var i = -1; while (++i < n) streams[i].lineEnd(); },
|
2633
|
+
polygonStart: function() { var i = -1; while (++i < n) streams[i].polygonStart(); },
|
2634
|
+
polygonEnd: function() { var i = -1; while (++i < n) streams[i].polygonEnd(); }
|
2635
|
+
};
|
2636
|
+
}
|
2637
|
+
|
2638
|
+
// A composite projection for the United States, configured by default for
|
2639
|
+
// 960×500. The projection also works quite well at 960×600 if you change the
|
2640
|
+
// scale to 1285 and adjust the translate accordingly. The set of standard
|
2641
|
+
// parallels for each region comes from USGS, which is published here:
|
2642
|
+
// http://egsc.usgs.gov/isb/pubs/MapProjections/projections.html#albers
|
2643
|
+
function albersUsa() {
|
2644
|
+
var cache,
|
2645
|
+
cacheStream,
|
2646
|
+
lower48 = albers(), lower48Point,
|
2647
|
+
alaska = conicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), alaskaPoint, // EPSG:3338
|
2648
|
+
hawaii = conicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), hawaiiPoint, // ESRI:102007
|
2649
|
+
point, pointStream = {point: function(x, y) { point = [x, y]; }};
|
2650
|
+
|
2651
|
+
function albersUsa(coordinates) {
|
2652
|
+
var x = coordinates[0], y = coordinates[1];
|
2653
|
+
return point = null,
|
2654
|
+
(lower48Point.point(x, y), point)
|
2655
|
+
|| (alaskaPoint.point(x, y), point)
|
2656
|
+
|| (hawaiiPoint.point(x, y), point);
|
2657
|
+
}
|
2658
|
+
|
2659
|
+
albersUsa.invert = function(coordinates) {
|
2660
|
+
var k = lower48.scale(),
|
2661
|
+
t = lower48.translate(),
|
2662
|
+
x = (coordinates[0] - t[0]) / k,
|
2663
|
+
y = (coordinates[1] - t[1]) / k;
|
2664
|
+
return (y >= 0.120 && y < 0.234 && x >= -0.425 && x < -0.214 ? alaska
|
2665
|
+
: y >= 0.166 && y < 0.234 && x >= -0.214 && x < -0.115 ? hawaii
|
2666
|
+
: lower48).invert(coordinates);
|
2667
|
+
};
|
2668
|
+
|
2669
|
+
albersUsa.stream = function(stream) {
|
2670
|
+
return cache && cacheStream === stream ? cache : cache = multiplex([lower48.stream(cacheStream = stream), alaska.stream(stream), hawaii.stream(stream)]);
|
2671
|
+
};
|
2672
|
+
|
2673
|
+
albersUsa.precision = function(_) {
|
2674
|
+
if (!arguments.length) return lower48.precision();
|
2675
|
+
lower48.precision(_), alaska.precision(_), hawaii.precision(_);
|
2676
|
+
return reset();
|
2677
|
+
};
|
2678
|
+
|
2679
|
+
albersUsa.scale = function(_) {
|
2680
|
+
if (!arguments.length) return lower48.scale();
|
2681
|
+
lower48.scale(_), alaska.scale(_ * 0.35), hawaii.scale(_);
|
2682
|
+
return albersUsa.translate(lower48.translate());
|
2683
|
+
};
|
2684
|
+
|
2685
|
+
albersUsa.translate = function(_) {
|
2686
|
+
if (!arguments.length) return lower48.translate();
|
2687
|
+
var k = lower48.scale(), x = +_[0], y = +_[1];
|
2688
|
+
|
2689
|
+
lower48Point = lower48
|
2690
|
+
.translate(_)
|
2691
|
+
.clipExtent([[x - 0.455 * k, y - 0.238 * k], [x + 0.455 * k, y + 0.238 * k]])
|
2692
|
+
.stream(pointStream);
|
2693
|
+
|
2694
|
+
alaskaPoint = alaska
|
2695
|
+
.translate([x - 0.307 * k, y + 0.201 * k])
|
2696
|
+
.clipExtent([[x - 0.425 * k + epsilon, y + 0.120 * k + epsilon], [x - 0.214 * k - epsilon, y + 0.234 * k - epsilon]])
|
2697
|
+
.stream(pointStream);
|
2698
|
+
|
2699
|
+
hawaiiPoint = hawaii
|
2700
|
+
.translate([x - 0.205 * k, y + 0.212 * k])
|
2701
|
+
.clipExtent([[x - 0.214 * k + epsilon, y + 0.166 * k + epsilon], [x - 0.115 * k - epsilon, y + 0.234 * k - epsilon]])
|
2702
|
+
.stream(pointStream);
|
2703
|
+
|
2704
|
+
return reset();
|
2705
|
+
};
|
2706
|
+
|
2707
|
+
albersUsa.fitExtent = function(extent, object) {
|
2708
|
+
return fitExtent(albersUsa, extent, object);
|
2709
|
+
};
|
2710
|
+
|
2711
|
+
albersUsa.fitSize = function(size, object) {
|
2712
|
+
return fitSize(albersUsa, size, object);
|
2713
|
+
};
|
2714
|
+
|
2715
|
+
albersUsa.fitWidth = function(width, object) {
|
2716
|
+
return fitWidth(albersUsa, width, object);
|
2717
|
+
};
|
2718
|
+
|
2719
|
+
albersUsa.fitHeight = function(height, object) {
|
2720
|
+
return fitHeight(albersUsa, height, object);
|
2721
|
+
};
|
2722
|
+
|
2723
|
+
function reset() {
|
2724
|
+
cache = cacheStream = null;
|
2725
|
+
return albersUsa;
|
2726
|
+
}
|
2727
|
+
|
2728
|
+
return albersUsa.scale(1070);
|
2729
|
+
}
|
2730
|
+
|
2731
|
+
function azimuthalRaw(scale) {
|
2732
|
+
return function(x, y) {
|
2733
|
+
var cx = cos(x),
|
2734
|
+
cy = cos(y),
|
2735
|
+
k = scale(cx * cy);
|
2736
|
+
return [
|
2737
|
+
k * cy * sin(x),
|
2738
|
+
k * sin(y)
|
2739
|
+
];
|
2740
|
+
}
|
2741
|
+
}
|
2742
|
+
|
2743
|
+
function azimuthalInvert(angle) {
|
2744
|
+
return function(x, y) {
|
2745
|
+
var z = sqrt(x * x + y * y),
|
2746
|
+
c = angle(z),
|
2747
|
+
sc = sin(c),
|
2748
|
+
cc = cos(c);
|
2749
|
+
return [
|
2750
|
+
atan2(x * sc, z * cc),
|
2751
|
+
asin(z && y * sc / z)
|
2752
|
+
];
|
2753
|
+
}
|
2754
|
+
}
|
2755
|
+
|
2756
|
+
var azimuthalEqualAreaRaw = azimuthalRaw(function(cxcy) {
|
2757
|
+
return sqrt(2 / (1 + cxcy));
|
2758
|
+
});
|
2759
|
+
|
2760
|
+
azimuthalEqualAreaRaw.invert = azimuthalInvert(function(z) {
|
2761
|
+
return 2 * asin(z / 2);
|
2762
|
+
});
|
2763
|
+
|
2764
|
+
function azimuthalEqualArea() {
|
2765
|
+
return projection(azimuthalEqualAreaRaw)
|
2766
|
+
.scale(124.75)
|
2767
|
+
.clipAngle(180 - 1e-3);
|
2768
|
+
}
|
2769
|
+
|
2770
|
+
var azimuthalEquidistantRaw = azimuthalRaw(function(c) {
|
2771
|
+
return (c = acos(c)) && c / sin(c);
|
2772
|
+
});
|
2773
|
+
|
2774
|
+
azimuthalEquidistantRaw.invert = azimuthalInvert(function(z) {
|
2775
|
+
return z;
|
2776
|
+
});
|
2777
|
+
|
2778
|
+
function azimuthalEquidistant() {
|
2779
|
+
return projection(azimuthalEquidistantRaw)
|
2780
|
+
.scale(79.4188)
|
2781
|
+
.clipAngle(180 - 1e-3);
|
2782
|
+
}
|
2783
|
+
|
2784
|
+
function mercatorRaw(lambda, phi) {
|
2785
|
+
return [lambda, log(tan((halfPi + phi) / 2))];
|
2786
|
+
}
|
2787
|
+
|
2788
|
+
mercatorRaw.invert = function(x, y) {
|
2789
|
+
return [x, 2 * atan(exp(y)) - halfPi];
|
2790
|
+
};
|
2791
|
+
|
2792
|
+
function mercator() {
|
2793
|
+
return mercatorProjection(mercatorRaw)
|
2794
|
+
.scale(961 / tau);
|
2795
|
+
}
|
2796
|
+
|
2797
|
+
function mercatorProjection(project) {
|
2798
|
+
var m = projection(project),
|
2799
|
+
center = m.center,
|
2800
|
+
scale = m.scale,
|
2801
|
+
translate = m.translate,
|
2802
|
+
clipExtent = m.clipExtent,
|
2803
|
+
x0 = null, y0, x1, y1; // clip extent
|
2804
|
+
|
2805
|
+
m.scale = function(_) {
|
2806
|
+
return arguments.length ? (scale(_), reclip()) : scale();
|
2807
|
+
};
|
2808
|
+
|
2809
|
+
m.translate = function(_) {
|
2810
|
+
return arguments.length ? (translate(_), reclip()) : translate();
|
2811
|
+
};
|
2812
|
+
|
2813
|
+
m.center = function(_) {
|
2814
|
+
return arguments.length ? (center(_), reclip()) : center();
|
2815
|
+
};
|
2816
|
+
|
2817
|
+
m.clipExtent = function(_) {
|
2818
|
+
return arguments.length ? ((_ == null ? x0 = y0 = x1 = y1 = null : (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1])), reclip()) : x0 == null ? null : [[x0, y0], [x1, y1]];
|
2819
|
+
};
|
2820
|
+
|
2821
|
+
function reclip() {
|
2822
|
+
var k = pi * scale(),
|
2823
|
+
t = m(rotation(m.rotate()).invert([0, 0]));
|
2824
|
+
return clipExtent(x0 == null
|
2825
|
+
? [[t[0] - k, t[1] - k], [t[0] + k, t[1] + k]] : project === mercatorRaw
|
2826
|
+
? [[Math.max(t[0] - k, x0), y0], [Math.min(t[0] + k, x1), y1]]
|
2827
|
+
: [[x0, Math.max(t[1] - k, y0)], [x1, Math.min(t[1] + k, y1)]]);
|
2828
|
+
}
|
2829
|
+
|
2830
|
+
return reclip();
|
2831
|
+
}
|
2832
|
+
|
2833
|
+
function tany(y) {
|
2834
|
+
return tan((halfPi + y) / 2);
|
2835
|
+
}
|
2836
|
+
|
2837
|
+
function conicConformalRaw(y0, y1) {
|
2838
|
+
var cy0 = cos(y0),
|
2839
|
+
n = y0 === y1 ? sin(y0) : log(cy0 / cos(y1)) / log(tany(y1) / tany(y0)),
|
2840
|
+
f = cy0 * pow(tany(y0), n) / n;
|
2841
|
+
|
2842
|
+
if (!n) return mercatorRaw;
|
2843
|
+
|
2844
|
+
function project(x, y) {
|
2845
|
+
if (f > 0) { if (y < -halfPi + epsilon) y = -halfPi + epsilon; }
|
2846
|
+
else { if (y > halfPi - epsilon) y = halfPi - epsilon; }
|
2847
|
+
var r = f / pow(tany(y), n);
|
2848
|
+
return [r * sin(n * x), f - r * cos(n * x)];
|
2849
|
+
}
|
2850
|
+
|
2851
|
+
project.invert = function(x, y) {
|
2852
|
+
var fy = f - y, r = sign(n) * sqrt(x * x + fy * fy),
|
2853
|
+
l = atan2(x, abs(fy)) * sign(fy);
|
2854
|
+
if (fy * n < 0)
|
2855
|
+
l -= pi * sign(x) * sign(fy);
|
2856
|
+
return [l / n, 2 * atan(pow(f / r, 1 / n)) - halfPi];
|
2857
|
+
};
|
2858
|
+
|
2859
|
+
return project;
|
2860
|
+
}
|
2861
|
+
|
2862
|
+
function conicConformal() {
|
2863
|
+
return conicProjection(conicConformalRaw)
|
2864
|
+
.scale(109.5)
|
2865
|
+
.parallels([30, 30]);
|
2866
|
+
}
|
2867
|
+
|
2868
|
+
function equirectangularRaw(lambda, phi) {
|
2869
|
+
return [lambda, phi];
|
2870
|
+
}
|
2871
|
+
|
2872
|
+
equirectangularRaw.invert = equirectangularRaw;
|
2873
|
+
|
2874
|
+
function equirectangular() {
|
2875
|
+
return projection(equirectangularRaw)
|
2876
|
+
.scale(152.63);
|
2877
|
+
}
|
2878
|
+
|
2879
|
+
function conicEquidistantRaw(y0, y1) {
|
2880
|
+
var cy0 = cos(y0),
|
2881
|
+
n = y0 === y1 ? sin(y0) : (cy0 - cos(y1)) / (y1 - y0),
|
2882
|
+
g = cy0 / n + y0;
|
2883
|
+
|
2884
|
+
if (abs(n) < epsilon) return equirectangularRaw;
|
2885
|
+
|
2886
|
+
function project(x, y) {
|
2887
|
+
var gy = g - y, nx = n * x;
|
2888
|
+
return [gy * sin(nx), g - gy * cos(nx)];
|
2889
|
+
}
|
2890
|
+
|
2891
|
+
project.invert = function(x, y) {
|
2892
|
+
var gy = g - y,
|
2893
|
+
l = atan2(x, abs(gy)) * sign(gy);
|
2894
|
+
if (gy * n < 0)
|
2895
|
+
l -= pi * sign(x) * sign(gy);
|
2896
|
+
return [l / n, g - sign(n) * sqrt(x * x + gy * gy)];
|
2897
|
+
};
|
2898
|
+
|
2899
|
+
return project;
|
2900
|
+
}
|
2901
|
+
|
2902
|
+
function conicEquidistant() {
|
2903
|
+
return conicProjection(conicEquidistantRaw)
|
2904
|
+
.scale(131.154)
|
2905
|
+
.center([0, 13.9389]);
|
2906
|
+
}
|
2907
|
+
|
2908
|
+
var A1 = 1.340264,
|
2909
|
+
A2 = -0.081106,
|
2910
|
+
A3 = 0.000893,
|
2911
|
+
A4 = 0.003796,
|
2912
|
+
M = sqrt(3) / 2,
|
2913
|
+
iterations = 12;
|
2914
|
+
|
2915
|
+
function equalEarthRaw(lambda, phi) {
|
2916
|
+
var l = asin(M * sin(phi)), l2 = l * l, l6 = l2 * l2 * l2;
|
2917
|
+
return [
|
2918
|
+
lambda * cos(l) / (M * (A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2))),
|
2919
|
+
l * (A1 + A2 * l2 + l6 * (A3 + A4 * l2))
|
2920
|
+
];
|
2921
|
+
}
|
2922
|
+
|
2923
|
+
equalEarthRaw.invert = function(x, y) {
|
2924
|
+
var l = y, l2 = l * l, l6 = l2 * l2 * l2;
|
2925
|
+
for (var i = 0, delta, fy, fpy; i < iterations; ++i) {
|
2926
|
+
fy = l * (A1 + A2 * l2 + l6 * (A3 + A4 * l2)) - y;
|
2927
|
+
fpy = A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2);
|
2928
|
+
l -= delta = fy / fpy, l2 = l * l, l6 = l2 * l2 * l2;
|
2929
|
+
if (abs(delta) < epsilon2) break;
|
2930
|
+
}
|
2931
|
+
return [
|
2932
|
+
M * x * (A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2)) / cos(l),
|
2933
|
+
asin(sin(l) / M)
|
2934
|
+
];
|
2935
|
+
};
|
2936
|
+
|
2937
|
+
function equalEarth() {
|
2938
|
+
return projection(equalEarthRaw)
|
2939
|
+
.scale(177.158);
|
2940
|
+
}
|
2941
|
+
|
2942
|
+
function gnomonicRaw(x, y) {
|
2943
|
+
var cy = cos(y), k = cos(x) * cy;
|
2944
|
+
return [cy * sin(x) / k, sin(y) / k];
|
2945
|
+
}
|
2946
|
+
|
2947
|
+
gnomonicRaw.invert = azimuthalInvert(atan);
|
2948
|
+
|
2949
|
+
function gnomonic() {
|
2950
|
+
return projection(gnomonicRaw)
|
2951
|
+
.scale(144.049)
|
2952
|
+
.clipAngle(60);
|
2953
|
+
}
|
2954
|
+
|
2955
|
+
function identity$1() {
|
2956
|
+
var k = 1, tx = 0, ty = 0, sx = 1, sy = 1, // scale, translate and reflect
|
2957
|
+
alpha = 0, ca, sa, // angle
|
2958
|
+
x0 = null, y0, x1, y1, // clip extent
|
2959
|
+
kx = 1, ky = 1,
|
2960
|
+
transform = transformer({
|
2961
|
+
point: function(x, y) {
|
2962
|
+
var p = projection([x, y]);
|
2963
|
+
this.stream.point(p[0], p[1]);
|
2964
|
+
}
|
2965
|
+
}),
|
2966
|
+
postclip = identity,
|
2967
|
+
cache,
|
2968
|
+
cacheStream;
|
2969
|
+
|
2970
|
+
function reset() {
|
2971
|
+
kx = k * sx;
|
2972
|
+
ky = k * sy;
|
2973
|
+
cache = cacheStream = null;
|
2974
|
+
return projection;
|
2975
|
+
}
|
2976
|
+
|
2977
|
+
function projection (p) {
|
2978
|
+
var x = p[0] * kx, y = p[1] * ky;
|
2979
|
+
if (alpha) {
|
2980
|
+
var t = y * ca - x * sa;
|
2981
|
+
x = x * ca + y * sa;
|
2982
|
+
y = t;
|
2983
|
+
}
|
2984
|
+
return [x + tx, y + ty];
|
2985
|
+
}
|
2986
|
+
projection.invert = function(p) {
|
2987
|
+
var x = p[0] - tx, y = p[1] - ty;
|
2988
|
+
if (alpha) {
|
2989
|
+
var t = y * ca + x * sa;
|
2990
|
+
x = x * ca - y * sa;
|
2991
|
+
y = t;
|
2992
|
+
}
|
2993
|
+
return [x / kx, y / ky];
|
2994
|
+
};
|
2995
|
+
projection.stream = function(stream) {
|
2996
|
+
return cache && cacheStream === stream ? cache : cache = transform(postclip(cacheStream = stream));
|
2997
|
+
};
|
2998
|
+
projection.postclip = function(_) {
|
2999
|
+
return arguments.length ? (postclip = _, x0 = y0 = x1 = y1 = null, reset()) : postclip;
|
3000
|
+
};
|
3001
|
+
projection.clipExtent = function(_) {
|
3002
|
+
return arguments.length ? (postclip = _ == null ? (x0 = y0 = x1 = y1 = null, identity) : clipRectangle(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];
|
3003
|
+
};
|
3004
|
+
projection.scale = function(_) {
|
3005
|
+
return arguments.length ? (k = +_, reset()) : k;
|
3006
|
+
};
|
3007
|
+
projection.translate = function(_) {
|
3008
|
+
return arguments.length ? (tx = +_[0], ty = +_[1], reset()) : [tx, ty];
|
3009
|
+
};
|
3010
|
+
projection.angle = function(_) {
|
3011
|
+
return arguments.length ? (alpha = _ % 360 * radians, sa = sin(alpha), ca = cos(alpha), reset()) : alpha * degrees;
|
3012
|
+
};
|
3013
|
+
projection.reflectX = function(_) {
|
3014
|
+
return arguments.length ? (sx = _ ? -1 : 1, reset()) : sx < 0;
|
3015
|
+
};
|
3016
|
+
projection.reflectY = function(_) {
|
3017
|
+
return arguments.length ? (sy = _ ? -1 : 1, reset()) : sy < 0;
|
3018
|
+
};
|
3019
|
+
projection.fitExtent = function(extent, object) {
|
3020
|
+
return fitExtent(projection, extent, object);
|
3021
|
+
};
|
3022
|
+
projection.fitSize = function(size, object) {
|
3023
|
+
return fitSize(projection, size, object);
|
3024
|
+
};
|
3025
|
+
projection.fitWidth = function(width, object) {
|
3026
|
+
return fitWidth(projection, width, object);
|
3027
|
+
};
|
3028
|
+
projection.fitHeight = function(height, object) {
|
3029
|
+
return fitHeight(projection, height, object);
|
3030
|
+
};
|
3031
|
+
|
3032
|
+
return projection;
|
3033
|
+
}
|
3034
|
+
|
3035
|
+
function naturalEarth1Raw(lambda, phi) {
|
3036
|
+
var phi2 = phi * phi, phi4 = phi2 * phi2;
|
3037
|
+
return [
|
3038
|
+
lambda * (0.8707 - 0.131979 * phi2 + phi4 * (-0.013791 + phi4 * (0.003971 * phi2 - 0.001529 * phi4))),
|
3039
|
+
phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4)))
|
3040
|
+
];
|
3041
|
+
}
|
3042
|
+
|
3043
|
+
naturalEarth1Raw.invert = function(x, y) {
|
3044
|
+
var phi = y, i = 25, delta;
|
3045
|
+
do {
|
3046
|
+
var phi2 = phi * phi, phi4 = phi2 * phi2;
|
3047
|
+
phi -= delta = (phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4))) - y) /
|
3048
|
+
(1.007226 + phi2 * (0.015085 * 3 + phi4 * (-0.044475 * 7 + 0.028874 * 9 * phi2 - 0.005916 * 11 * phi4)));
|
3049
|
+
} while (abs(delta) > epsilon && --i > 0);
|
3050
|
+
return [
|
3051
|
+
x / (0.8707 + (phi2 = phi * phi) * (-0.131979 + phi2 * (-0.013791 + phi2 * phi2 * phi2 * (0.003971 - 0.001529 * phi2)))),
|
3052
|
+
phi
|
3053
|
+
];
|
3054
|
+
};
|
3055
|
+
|
3056
|
+
function naturalEarth1() {
|
3057
|
+
return projection(naturalEarth1Raw)
|
3058
|
+
.scale(175.295);
|
3059
|
+
}
|
3060
|
+
|
3061
|
+
function orthographicRaw(x, y) {
|
3062
|
+
return [cos(y) * sin(x), sin(y)];
|
3063
|
+
}
|
3064
|
+
|
3065
|
+
orthographicRaw.invert = azimuthalInvert(asin);
|
3066
|
+
|
3067
|
+
function orthographic() {
|
3068
|
+
return projection(orthographicRaw)
|
3069
|
+
.scale(249.5)
|
3070
|
+
.clipAngle(90 + epsilon);
|
3071
|
+
}
|
3072
|
+
|
3073
|
+
function stereographicRaw(x, y) {
|
3074
|
+
var cy = cos(y), k = 1 + cos(x) * cy;
|
3075
|
+
return [cy * sin(x) / k, sin(y) / k];
|
3076
|
+
}
|
3077
|
+
|
3078
|
+
stereographicRaw.invert = azimuthalInvert(function(z) {
|
3079
|
+
return 2 * atan(z);
|
3080
|
+
});
|
3081
|
+
|
3082
|
+
function stereographic() {
|
3083
|
+
return projection(stereographicRaw)
|
3084
|
+
.scale(250)
|
3085
|
+
.clipAngle(142);
|
3086
|
+
}
|
3087
|
+
|
3088
|
+
function transverseMercatorRaw(lambda, phi) {
|
3089
|
+
return [log(tan((halfPi + phi) / 2)), -lambda];
|
3090
|
+
}
|
3091
|
+
|
3092
|
+
transverseMercatorRaw.invert = function(x, y) {
|
3093
|
+
return [-y, 2 * atan(exp(x)) - halfPi];
|
3094
|
+
};
|
3095
|
+
|
3096
|
+
function transverseMercator() {
|
3097
|
+
var m = mercatorProjection(transverseMercatorRaw),
|
3098
|
+
center = m.center,
|
3099
|
+
rotate = m.rotate;
|
3100
|
+
|
3101
|
+
m.center = function(_) {
|
3102
|
+
return arguments.length ? center([-_[1], _[0]]) : (_ = center(), [_[1], -_[0]]);
|
3103
|
+
};
|
3104
|
+
|
3105
|
+
m.rotate = function(_) {
|
3106
|
+
return arguments.length ? rotate([_[0], _[1], _.length > 2 ? _[2] + 90 : 90]) : (_ = rotate(), [_[0], _[1], _[2] - 90]);
|
3107
|
+
};
|
3108
|
+
|
3109
|
+
return rotate([0, 0, 90])
|
3110
|
+
.scale(159.155);
|
3111
|
+
}
|
3112
|
+
|
3113
|
+
exports.geoAlbers = albers;
|
3114
|
+
exports.geoAlbersUsa = albersUsa;
|
3115
|
+
exports.geoArea = area;
|
3116
|
+
exports.geoAzimuthalEqualArea = azimuthalEqualArea;
|
3117
|
+
exports.geoAzimuthalEqualAreaRaw = azimuthalEqualAreaRaw;
|
3118
|
+
exports.geoAzimuthalEquidistant = azimuthalEquidistant;
|
3119
|
+
exports.geoAzimuthalEquidistantRaw = azimuthalEquidistantRaw;
|
3120
|
+
exports.geoBounds = bounds;
|
3121
|
+
exports.geoCentroid = centroid;
|
3122
|
+
exports.geoCircle = circle;
|
3123
|
+
exports.geoClipAntimeridian = clipAntimeridian;
|
3124
|
+
exports.geoClipCircle = clipCircle;
|
3125
|
+
exports.geoClipExtent = extent;
|
3126
|
+
exports.geoClipRectangle = clipRectangle;
|
3127
|
+
exports.geoConicConformal = conicConformal;
|
3128
|
+
exports.geoConicConformalRaw = conicConformalRaw;
|
3129
|
+
exports.geoConicEqualArea = conicEqualArea;
|
3130
|
+
exports.geoConicEqualAreaRaw = conicEqualAreaRaw;
|
3131
|
+
exports.geoConicEquidistant = conicEquidistant;
|
3132
|
+
exports.geoConicEquidistantRaw = conicEquidistantRaw;
|
3133
|
+
exports.geoContains = contains;
|
3134
|
+
exports.geoDistance = distance;
|
3135
|
+
exports.geoEqualEarth = equalEarth;
|
3136
|
+
exports.geoEqualEarthRaw = equalEarthRaw;
|
3137
|
+
exports.geoEquirectangular = equirectangular;
|
3138
|
+
exports.geoEquirectangularRaw = equirectangularRaw;
|
3139
|
+
exports.geoGnomonic = gnomonic;
|
3140
|
+
exports.geoGnomonicRaw = gnomonicRaw;
|
3141
|
+
exports.geoGraticule = graticule;
|
3142
|
+
exports.geoGraticule10 = graticule10;
|
3143
|
+
exports.geoIdentity = identity$1;
|
3144
|
+
exports.geoInterpolate = interpolate;
|
3145
|
+
exports.geoLength = length;
|
3146
|
+
exports.geoMercator = mercator;
|
3147
|
+
exports.geoMercatorRaw = mercatorRaw;
|
3148
|
+
exports.geoNaturalEarth1 = naturalEarth1;
|
3149
|
+
exports.geoNaturalEarth1Raw = naturalEarth1Raw;
|
3150
|
+
exports.geoOrthographic = orthographic;
|
3151
|
+
exports.geoOrthographicRaw = orthographicRaw;
|
3152
|
+
exports.geoPath = index;
|
3153
|
+
exports.geoProjection = projection;
|
3154
|
+
exports.geoProjectionMutator = projectionMutator;
|
3155
|
+
exports.geoRotation = rotation;
|
3156
|
+
exports.geoStereographic = stereographic;
|
3157
|
+
exports.geoStereographicRaw = stereographicRaw;
|
3158
|
+
exports.geoStream = geoStream;
|
3159
|
+
exports.geoTransform = transform;
|
3160
|
+
exports.geoTransverseMercator = transverseMercator;
|
3161
|
+
exports.geoTransverseMercatorRaw = transverseMercatorRaw;
|
3162
|
+
|
3163
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
3164
|
+
|
3165
|
+
})));
|