@bsv/sdk 1.1.10 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/compat/BIP39.js +272 -0
- package/dist/cjs/src/compat/BIP39.js.map +1 -0
- package/dist/cjs/src/compat/Utxo.js +1 -0
- package/dist/cjs/src/compat/Utxo.js.map +1 -1
- package/dist/cjs/src/index.js +5 -0
- package/dist/cjs/src/index.js.map +1 -0
- package/dist/cjs/src/transaction/Transaction.js +5 -2
- package/dist/cjs/src/transaction/Transaction.js.map +1 -1
- package/dist/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/esm/src/compat/BIP39.js +272 -0
- package/dist/esm/src/compat/BIP39.js.map +1 -0
- package/dist/esm/src/compat/Utxo.js +1 -0
- package/dist/esm/src/compat/Utxo.js.map +1 -1
- package/dist/esm/src/index.js +2 -0
- package/dist/esm/src/index.js.map +1 -0
- package/dist/esm/src/transaction/Transaction.js +5 -2
- package/dist/esm/src/transaction/Transaction.js.map +1 -1
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/types/src/compat/BIP39.d.ts +132 -0
- package/dist/types/src/compat/BIP39.d.ts.map +1 -0
- package/dist/types/src/compat/Utxo.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +2 -0
- package/dist/types/src/index.d.ts.map +1 -0
- package/dist/types/src/transaction/Transaction.d.ts.map +1 -1
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/compat/Utxo.ts +1 -0
- package/src/transaction/Transaction.ts +5 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../src/primitives/Mersenne.ts","../../src/primitives/K256.ts","../../src/primitives/ReductionContext.ts","../../src/primitives/BigNumber.ts","../../src/primitives/MontgomoryMethod.ts","../../src/primitives/BasePoint.ts","../../src/primitives/JacobianPoint.ts","../../src/primitives/Hash.ts","../../src/primitives/utils.ts","../../src/primitives/Point.ts","../../src/primitives/Curve.ts","../../src/primitives/DRBG.ts","../../src/primitives/ECDSA.ts","../../src/primitives/Signature.ts","../../src/primitives/Random.ts","../../src/primitives/PrivateKey.ts","../../src/primitives/PublicKey.ts","../../src/primitives/AESGCM.ts","../../src/primitives/SymmetricKey.ts","../../src/script/ScriptChunk.ts","../../src/script/OP.ts","../../src/script/Script.ts","../../src/script/UnlockingScript.ts","../../src/script/LockingScript.ts","../../src/transaction/TransactionOutput.ts","../../src/transaction/FeeModel.ts","../../src/transaction/fee-models/SatoshisPerKilobyte.ts","../../src/transaction/Broadcaster.ts","../../src/transaction/ChainTracker.ts","../../src/transaction/MerklePath.ts","../../src/script/Spend.ts","../../src/transaction/http/HttpClient.ts","../../src/transaction/http/NodejsHttpClient.ts","../../src/transaction/http/FetchHttpClient.ts","../../src/transaction/http/DefaultHttpClient.ts","../../src/transaction/broadcasters/ARC.ts","../../src/transaction/broadcasters/DefaultBroadcaster.ts","../../src/transaction/chaintrackers/WhatsOnChain.ts","../../src/transaction/chaintrackers/DefaultChainTracker.ts","../../src/transaction/Transaction.ts","../../src/transaction/TransactionInput.ts","../../src/primitives/TransactionSignature.ts","../../src/primitives/index.ts","../../src/script/ScriptTemplate.ts","../../src/script/templates/P2PKH.ts","../../src/script/templates/RPuzzle.ts","../../src/script/templates/index.ts","../../src/script/index.ts","../../src/transaction/index.ts","../../src/transaction/fee-models/index.ts","../../src/transaction/broadcasters/WhatsOnChainBroadcaster.ts","../../src/transaction/broadcasters/index.ts","../../src/transaction/chaintrackers/index.ts","../../src/transaction/http/index.ts","../../src/messages/SignedMessage.ts","../../src/messages/EncryptedMessage.ts","../../src/messages/index.ts","../../src/compat/BSM.ts","../../src/compat/HD.ts","../../src/compat/bip-39-wordlist-en.ts","../../src/compat/Mnemonic.ts","../../src/compat/ECIES.ts","../../src/compat/Utxo.ts","../../src/compat/index.ts","../../src/totp/totp.ts","../../src/totp/index.ts","../../mod.ts","../../node_modules/@babel/types/lib/index.d.ts","../../node_modules/@types/babel__generator/index.d.ts","../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/@types/babel__template/index.d.ts","../../node_modules/@types/babel__traverse/index.d.ts","../../node_modules/@types/babel__core/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/graceful-fs/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/@jest/expect-utils/build/index.d.ts","../../node_modules/chalk/index.d.ts","../../node_modules/@sinclair/typebox/typebox.d.ts","../../node_modules/@jest/schemas/build/index.d.ts","../../node_modules/pretty-format/build/index.d.ts","../../node_modules/jest-diff/build/index.d.ts","../../node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/expect/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/inc.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"2ac9cdcfb8f8875c18d14ec5796a8b029c426f73ad6dc3ffb580c228b58d1c44","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","bed7b7ba0eb5a160b69af72814b4dde371968e40b6c5e73d3a9f7bee407d158c",{"version":"0075fa5ceda385bcdf3488e37786b5a33be730e8bc4aa3cf1e78c63891752ce8","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"09226e53d1cfda217317074a97724da3e71e2c545e18774484b61562afc53cd2","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"8b41361862022eb72fcc8a7f34680ac842aca802cf4bc1f915e8c620c9ce4331","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"bc496ef4377553e461efcf7cc5a5a57cf59f9962aea06b5e722d54a36bf66ea1","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"930b0e15811f84e203d3c23508674d5ded88266df4b10abee7b31b2ac77632d2","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"65be38e881453e16f128a12a8d36f8b012aa279381bf3d4dc4332a4905ceec83","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"e1913f656c156a9e4245aa111fbb436d357d9e1fe0379b9a802da7fe3f03d736","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"f35a831e4f0fe3b3697f4a0fe0e3caa7624c92b78afbecaf142c0f93abfaf379","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"78f8232f29ca77721f9dd9798c3bef83599c9256fd1d5d541e652151c433e8af","6416da52b472e7716f6d73f113c2f0a6cb3e711ad426391e5da49b1d08f442f0","3e4458c644bbcd8326c7a68713649aa58aae5458718ba09b14a432d851be0c17","3332d6e010d88bb833013a6f0b44c44727723ea3748136255a2f4ca5154693cc","dfb041cdbc325167423bba5cbc2bafee4c8dfe9cf626cb2c26e093996cdd831a","7ed23712e507754ca8736d5fc03dbc63a361b9d3d86987a0c58997b01e5ee6c1","249db36e6cb9720a6637023c32a631bd51d1963632e81bf6dd916ebb56587068","80a9fb81cf0a16fcdcbd2b6071794504f4e3520c254ac13ec5dfc7f2abda92ac","4a37bbbd57d83eda137b161115805a3b45686f250631b620443bdf7cb32987ea","cea9678b9ca54f0993e85496473102730aa4192787199ad570778dcf832d96f6","6c66acf0025a9390a5d95c2ae91292012af1c981f473259698034ae0746121cb","96f15af13b5ccc67f59859419651a1a76758569a17d6049fef125b7325141f72","26cfff17491885f257da38b4344ed24b41f89beeb08eafa820401f49622e0650","1e2bec337a9560ae4ceda99f07caec72d6c7e099aa153b27d817d39fe204517a","1cf2798fa1fe373bddfc3cbe18c1fdb66cbc054b7c09d0354df6d02b1e684938","32eb82cff3b02a517eb4e8b92df93371795b2cc3d7dc93736be56c18a182a1fc","81d5d2982e9095ccef864732fde135dd5a88fdc41e60c5c180c46f26f48059f9","2dbde0b434cfe0ed92aea48342b9a85404d1c000e9fdcce942925da7b7e534eb","b2727cfc6afb1eb769535ab2a8b2c3bf418fc46141d7adb4fc1ee385f0239ac3","fbd8484c24a187875194878aeacfc32daef9d0ae4f1eb8ce31b355e2d3df8c66","b06d8ae2fad22f0d79191ef93a4f73bfec968ba13a26af6634866a489443863c","e656a88f9fe693512c0ef9e400f5bda4d3f738cc279a4492d980d9b74b67f8c9","a613c66badc56f604d3b1ce2cbb18e82b668d8d03850d182978234cd89084afb","079d6f434bf32684499d1dac9e7eb2dbb55b837a3560361a9c098828ae789f06","1212ecc67913ad47a321ee21b0522d88b8026cb269b28f7215984dd98f2bbb79","387ccdb4ba57cbe3081944a3c29ff1f20da0db3132a4c046f57682141107835d","5e7baebaf3b2a064fe9cb52d74be5d0c4709e4e5b3a5abff4594d92bb90242ed","5f01186d86d9902db14c8bf0624bac8254a3e554e9dbd5b106f921805cf265ad","6e6e78d8a49e1fedd8977995535b11eb7826cdc58bb3aa345cc0cfb0751178bd","75e5108775099cb8cee4fcb894a1c2642431b3cd78d8f1d22f27c06bc0945cc9","4c711d9b380a3c3d4968b9aa53912aab59c429bd9ea63f9c42b6f49da8b73cda","2f4c5c2c23d6b6a0c7d514ff83dcc9ecba94ec0ecfd880d7935baddc8d359b5f","22c7b7f4133c00e332ffdea39d5e9114e9246b28f28d8b5d004508f3a1cbdee4","c73d2fce75f3c5909336f3db9e635b9a724d5870c9dbc696b1f322eff364f51e","33c61c6494083324e320b55d5ec9e3a1a4e308ca6709f6853ef26fc0bad3589a","eb4a209f788d8d673dc81373e4380df281aacc6412559d8aa29695db45151570","cd9881bc13d6dca8d9e6c326990c13334c7e78807c612211158349b44d90f601","d2d4759176cc0d4232669885beaab823e71a6504435f149f6bcdc3a5b0f82cfa","3a000133f3b9b96effb3064765e817eb9d45ce155ddb2ec5b4073fc28ba19e60","2ecfdb54ecbfc0f124dfa53b87ac13626bab7cdf732b99031462d39752c98a4c","c59c9abbee35c374c0885c92c88340f361ffbd9892fcba86371ce0a8eb34feb2","56b6e108f71134bff1675b747afe24100662eda67c6eed367ac13e513d213487","0a7360a92456060fad9377aa0186c5af52600f1ef25f079c67317a4e2a371777","02b23d304708bf20639979a9b9f75327cc1c896b86099a9fef223a412df3d4ce","4b7e00befc9378ee0eb1526fe1a619342e286b2da1b454855cac9ac4afa0be74","f1ea032ce43f538d9839d593e1cdd2b0ad036d3185181fcfc120c2ac8212e0d7","b0a0340f70f627ca7b21f85556aab7656cf3c61b75f6abf6cce2f0ed2ec546ab","3999a66ef491e34e1a1d864920c4c45f2f189def5808fba1082a77a9c3f5f022","2c90531bfad97fc02b55939b73d22e9f6ce32320013ee7f6f69285600b1d0912","7a53dde9117e238bc8431695b98954836a3a4178239caba3874bea0d56563bad","f2dcc8b7ae58788aa33f36aabe98d05c1cdd18a6bfc914254e2fa953b26c8b72","3b4750c557bddc10951d328fc40a6f84ac99155891f3544c9b53fe49cf5dfe77","38de34ecf28af3f5e298c9f9c0d949f45f2f8467ec72220725a21e4ec883163b","86701c272fae8e2b14fd88cfa5bd190219fbd638f99600fe82c4ee487e33d308","0c5484b6012ff64658956901c1e0be5ff702d4fc63b9820e57a42e8259be19a7","9f242994e47e57870b9df723d69ed7abc5fc36c620d610edce99aff8f3536999","9f8fc8bb76f9e7afed282bfac56f836ed07fe8f2d34ccfeefa5021152d01944d","772f75fe08a0e352a42d8229647ee8a2219be9eb78cee420f44507eeb5d530b9","6e3a0da2c3499b200f1436e9f57ee681f4b0f9ca5842837bfe0f06603d65ebd3","497711bd7a49659b1294b17df5801ed3e939e33e0ee313d8373ee0aa11a9dc82","449a83d8d5cf6be87463b3a4db18a40bedf3c475f1c2f0193ea174f6f05dc151","6922401f50b3dea527d6ee473be4a2baf799337d7837f0422627390f10681802","1881b28dbb5781585dcf7c15338dfa6ba252c46ad50a4d170ad68da0e48b01b3","9614556d7b4b513dc0bd465c93cf7999878dc3ea45c04e4fbc9387455dfc548b","543b6ff013b9f4b02dab7d68dcfe61a6ad3200e3d9e2f951f0ca5707e2918062","d17ff4de645b0f574ddf7fbf33668d6c751594ffd185dee470758bff453bcdcc","f47f2ff71a491b089e421dfcc0dcbddc2f280fc2cb48dc3c95433554f7e40d00","f713064ca751dc588bc13832137c418cb70cf0446de92ade60ad631071558fca","dfefd34e8ab60f41d0c130527d5092d6ce662dc9fa85bc8c97682baf65830b51","96c23535f4f9dd15beb767e070559ea672f6a35f103152836a67100605136a96","b0f4dd1a825912da8f12fd3388d839ef4aa51165ea0e60e4869b50b7ccb4f6fc","9cb7c5f710dc84d2e9500831a3e9a27afd3c3710f5a1b8744a50473e565b41fc","cf6b2edde490f303918809bfab1da8b6d059b50c160bec72005ff4c248bdd079","09df3b4f1c937f02e7fee2836d4c4d7a63e66db70fd4d4e97126f4542cc21d9d","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419",{"version":"32465ea19404cb188e84cf08c6b1f6b12d739140436402cdbc184a3fd20a7d81","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"bb6872f39c58753205c19b9f89e1e07d61116ae5d82539cef0f3bde5e8fecb57","affectsGlobalScope":true},"546ab07e19116d935ad982e76a223275b53bff7771dab94f433b7ab04652936e","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"aefb5a4a209f756b580eb53ea771cca8aad411603926f307a5e5b8ec6b16dcf6","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","3a3b3310118e79c8d394171a87f4dc8fd562337a85e33f9fa9636040a2ec2fde","b86e1a45b29437f3a99bad4147cb9fe2357617e8008c0484568e5bb5138d6e13","b5b719a47968cd61a6f83f437236bb6fe22a39223b6620da81ef89f5d7a78fb7","42c431e7965b641106b5e25ab3283aa4865ca7bb9909610a2abfa6226e4348be","0b7e732af0a9599be28c091d6bd1cb22c856ec0d415d4749c087c3881ca07a56","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"738a0de235edb5caf581c5aa86f5dd48ee28b2d0da1e327cbc57cdabde116bda","affectsGlobalScope":true},"3b4c85eea12187de9929a76792b98406e8778ce575caca8c574f06da82622c54","f788131a39c81e0c9b9e463645dd7132b5bc1beb609b0e31e5c1ceaea378b4df","f4016bf7fd9b760162521f2f18fab4023095795e4fb34496d8c61c59acfd0a56","21894466693f64957b9bd4c80fa3ec7fdfd4efa9d1861e070aca23f10220c9b2","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","ad8848c289c0b633452e58179f46edccd14b5a0fe90ebce411f79ff040b803e0",{"version":"120285cc97da7b20b0cbf2c557a5db7d215ec17ee688165ac8aff7f8de035b75","affectsGlobalScope":true},"5ca4a9fb7c9ee4f60df6d3bb6460e2c7f3a9cd7b8f7ebae29110fac74de4e50c","42a7993edf3288c33755ec08faefb1a40fd9f5f0844f82e48ae152791e80c76a","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"f49fb15c4aa06b65b0dce4db4584bfd8a9f74644baef1511b404dc95be34af00","affectsGlobalScope":true},{"version":"d48009cbe8a30a504031cc82e1286f78fed33b7a42abf7602c23b5547b382563","affectsGlobalScope":true},"7aaeb5e62f90e1b2be0fc4844df78cdb1be15c22b427bc6c39d57308785b8f10","3ba30205a029ebc0c91d7b1ab4da73f6277d730ca1fc6692d5a9144c6772c76b","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","458b216959c231df388a5de9dcbcafd4b4ca563bc3784d706d0455467d7d4942","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","8258e69a3b0de494ea55eeea7a4d3216ac112c12006c74dfd381c0d5e42a2607","cdaaf046791d7d588f28f32197c5d6acc43343e62540a67eed194c9c20535fdc","831c22d257717bf2cbb03afe9c4bcffc5ccb8a2074344d4238bf16d3a857bb12",{"version":"e78290186ee23e5a4d067811dcc547973be09f4dc9564cfed6c7f1f0bdd89d24","affectsGlobalScope":true},{"version":"cbf046714f3a3ba2544957e1973ac94aa819fa8aa668846fa8de47eb1c41b0b2","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","eae74e3d50820f37c72c0679fed959cd1e63c98f6a146a55b8c4361582fa6a52","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"aed89e3c18f4c659ee8153a76560dffda23e2d801e1e60d7a67abd84bc555f8d","affectsGlobalScope":true},{"version":"290276bcec65d49eb152489c62845b28bed530258751c80d04d167b36b33be72","affectsGlobalScope":true},"e393915d3dc385e69c0e2390739c87b2d296a610662eb0b1cb85224e55992250","2f940651c2f30e6b29f8743fae3f40b7b1c03615184f837132b56ea75edad08b","5749c327c3f789f658072f8340786966c8b05ea124a56c1d8d60e04649495a4d",{"version":"c9d62b2a51b2ff166314d8be84f6881a7fcbccd37612442cf1c70d27d5352f50","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"16dcbd7095be9ba030b671ef982dc760e03d40a0f54f27f2a6f1fa00f5670fe7","6adaa01cba6e7bae17d8291089e9e38bfc3fffcd522e2161214cbaccab4c1b2b","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","c79bd2f3e5c05e7ad80dc82ce8d339cac23ac1f5e6cfab96c860bb70d5162873","e3328cedfe4d7fac23ba75d00bf5169269800ab949d0837cd88c4211a52c3762","cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec",{"version":"c8950367d1812758e9e354c695c60c3e6311bf2cd98b9f9eb469a19df8a9a486","affectsGlobalScope":true},"dd89872dd0647dfd63665f3d525c06d114310a2f7a5a9277e5982a152b31be2b","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","cc0700b1b97e18a3d5d9184470502d8762ec85158819d662730c3a8c5d702584","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","f77ff4cd234d3fd18ddd5aeadb6f94374511931976d41f4b9f594cb71f7ce6f3","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","4f18b4e6081e5e980ef53ddf57b9c959d36cffe1eb153865f512a01aeffb5e1e","7f17d4846a88eca5fe71c4474ef687ee89c4acf9b5372ab9b2ee68644b7e0fe0","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","58e0cee50add50d4b6d47a935e26aeb0080d98c9cf729f8af389511cdfa10526","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","75fa6a9be075402ea969c1fcec4bb1421f72efbc3e2f340032684cdd3115197c","c516a2b18ec68ce5281d7f90113f9be11c7800a859e52292ec7d6a5c13d0465b"],"root":[[65,131]],"options":{"downlevelIteration":false,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"outDir":"./","rootDir":"../..","skipLibCheck":true,"sourceMap":true,"strict":false,"strictNullChecks":false,"target":6},"fileIdsList":[[107,111,112,113,114,116,117,118,121,128,130,184],[132,184],[184],[184,198],[132,133,134,135,136,184],[132,134,184],[155,184,191],[184,193],[184,194],[184,200,203],[138,184],[141,184],[142,147,175,184],[143,154,155,162,172,183,184],[143,144,154,162,184],[145,184],[146,147,155,163,184],[147,172,180,184],[148,150,154,162,184],[149,184],[150,151,184],[154,184],[152,154,184],[154,155,156,172,183,184],[154,155,156,169,172,175,184],[184,188],[150,154,157,162,172,183,184],[154,155,157,158,162,172,180,183,184],[157,159,172,180,183,184],[138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190],[154,160,184],[161,183,184,188],[150,154,162,172,184],[163,184],[164,184],[141,165,184],[166,182,184,188],[167,184],[168,184],[154,169,170,184],[169,171,184,186],[142,154,172,173,174,175,184],[142,172,174,184],[172,173,184],[175,184],[176,184],[141,172,184],[154,178,179,184],[178,179,184],[147,162,172,180,184],[181,184],[162,182,184],[142,157,168,183,184],[147,184],[172,184,185],[161,184,186],[184,187],[142,147,154,156,165,172,183,184,186,188],[172,184,189],[184,207,246],[184,207,231,246],[184,246],[184,207],[184,207,232,246],[184,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245],[184,232,246],[184,248],[184,196,202],[184,200],[184,197,201],[184,199],[68,72,73,77,78,80,81,184],[72,73,74,79,80,81,184],[68,72,73,75,79,80,81,184],[72,73,79,124,184],[87,88,104,105,184],[122,123,125,126,127,184],[73,79,80,81,83,184],[73,75,78,79,80,81,184],[119,120,184],[75,184],[67,184],[67,68,69,73,74,184],[72,73,184],[68,74,75,76,78,184],[68,70,74,184],[65,68,184],[68,184],[67,68,184],[67,68,70,71,73,184],[68,72,73,74,75,77,78,79,81,184],[68,72,73,74,75,77,78,80,184],[65,66,68,184],[68,72,73,74,75,77,81,184],[68,73,79,82,184],[68,72,73,78,86,89,105,184],[68,72,73,74,75,77,78,79,80,81,83,106,184],[68,72,184],[86,184],[68,73,84,85,184],[87,88,104,184],[68,72,73,77,81,84,85,86,87,88,89,105,106,184],[85,86,87,88,95,108,111,184],[72,73,80,85,86,87,88,104,106,108,184],[68,72,80,84,85,87,88,104,106,108,184],[109,110,184],[129,184],[104,184],[68,104,184],[72,73,93,184],[72,73,87,88,89,90,91,92,93,94,95,101,103,105,184],[87,104,184],[68,88,184],[73,79,92,96,99,104,184],[92,100,184],[92,96,99,104,184],[100,101,115,184],[93,102,184],[93,96,99,184],[102,103,184],[68,90,104,184],[91,184],[96,97,98,184],[96,184],[96,97,98,99,184],[89,92,93,94,104,105,184]],"referencedMap":[[131,1],[134,2],[132,3],[196,3],[199,4],[198,3],[137,5],[133,2],[135,6],[136,2],[192,7],[193,3],[194,8],[195,9],[204,10],[205,3],[206,3],[138,11],[139,11],[141,12],[142,13],[143,14],[144,15],[145,16],[146,17],[147,18],[148,19],[149,20],[150,21],[151,21],[153,22],[152,23],[154,22],[155,24],[156,25],[140,26],[190,3],[157,27],[158,28],[159,29],[191,30],[160,31],[161,32],[162,33],[163,34],[164,35],[165,36],[166,37],[167,38],[168,39],[169,40],[170,40],[171,41],[172,42],[174,43],[173,44],[175,45],[176,46],[177,47],[178,48],[179,49],[180,50],[181,51],[182,52],[183,53],[184,54],[185,55],[186,56],[187,57],[188,58],[189,59],[231,60],[232,61],[207,62],[210,62],[229,60],[230,60],[220,60],[219,63],[217,60],[212,60],[225,60],[223,60],[227,60],[211,60],[224,60],[228,60],[213,60],[214,60],[226,60],[208,60],[215,60],[216,60],[218,60],[222,60],[233,64],[221,60],[209,60],[246,65],[245,3],[240,64],[242,66],[241,64],[234,64],[235,64],[237,64],[239,64],[243,66],[244,66],[236,66],[238,66],[247,3],[248,3],[249,67],[197,3],[203,68],[201,69],[202,70],[200,71],[63,3],[64,3],[12,3],[14,3],[13,3],[2,3],[15,3],[16,3],[17,3],[18,3],[19,3],[20,3],[21,3],[22,3],[3,3],[4,3],[23,3],[27,3],[24,3],[25,3],[26,3],[28,3],[29,3],[30,3],[5,3],[31,3],[32,3],[33,3],[34,3],[6,3],[38,3],[35,3],[36,3],[37,3],[39,3],[7,3],[40,3],[45,3],[46,3],[41,3],[42,3],[43,3],[44,3],[8,3],[50,3],[47,3],[48,3],[49,3],[51,3],[9,3],[52,3],[53,3],[54,3],[57,3],[55,3],[56,3],[58,3],[59,3],[10,3],[1,3],[11,3],[62,3],[61,3],[60,3],[122,72],[126,73],[123,74],[125,75],[127,76],[124,3],[128,77],[120,78],[119,79],[121,80],[82,3],[70,81],[68,82],[75,83],[76,84],[77,85],[72,3],[71,86],[66,87],[65,88],[69,89],[74,90],[80,91],[81,92],[79,3],[67,93],[78,94],[83,95],[106,96],[107,97],[73,98],[88,99],[85,3],[86,100],[84,3],[108,101],[95,102],[87,99],[112,103],[109,104],[110,105],[111,106],[130,107],[129,98],[92,108],[93,3],[90,109],[94,110],[104,111],[105,112],[89,113],[100,114],[101,115],[115,116],[116,117],[103,118],[102,119],[117,120],[91,121],[114,122],[99,123],[98,124],[96,3],[97,124],[118,125],[113,126]],"exportedModulesMap":[[131,1],[134,2],[132,3],[196,3],[199,4],[198,3],[137,5],[133,2],[135,6],[136,2],[192,7],[193,3],[194,8],[195,9],[204,10],[205,3],[206,3],[138,11],[139,11],[141,12],[142,13],[143,14],[144,15],[145,16],[146,17],[147,18],[148,19],[149,20],[150,21],[151,21],[153,22],[152,23],[154,22],[155,24],[156,25],[140,26],[190,3],[157,27],[158,28],[159,29],[191,30],[160,31],[161,32],[162,33],[163,34],[164,35],[165,36],[166,37],[167,38],[168,39],[169,40],[170,40],[171,41],[172,42],[174,43],[173,44],[175,45],[176,46],[177,47],[178,48],[179,49],[180,50],[181,51],[182,52],[183,53],[184,54],[185,55],[186,56],[187,57],[188,58],[189,59],[231,60],[232,61],[207,62],[210,62],[229,60],[230,60],[220,60],[219,63],[217,60],[212,60],[225,60],[223,60],[227,60],[211,60],[224,60],[228,60],[213,60],[214,60],[226,60],[208,60],[215,60],[216,60],[218,60],[222,60],[233,64],[221,60],[209,60],[246,65],[245,3],[240,64],[242,66],[241,64],[234,64],[235,64],[237,64],[239,64],[243,66],[244,66],[236,66],[238,66],[247,3],[248,3],[249,67],[197,3],[203,68],[201,69],[202,70],[200,71],[63,3],[64,3],[12,3],[14,3],[13,3],[2,3],[15,3],[16,3],[17,3],[18,3],[19,3],[20,3],[21,3],[22,3],[3,3],[4,3],[23,3],[27,3],[24,3],[25,3],[26,3],[28,3],[29,3],[30,3],[5,3],[31,3],[32,3],[33,3],[34,3],[6,3],[38,3],[35,3],[36,3],[37,3],[39,3],[7,3],[40,3],[45,3],[46,3],[41,3],[42,3],[43,3],[44,3],[8,3],[50,3],[47,3],[48,3],[49,3],[51,3],[9,3],[52,3],[53,3],[54,3],[57,3],[55,3],[56,3],[58,3],[59,3],[10,3],[1,3],[11,3],[62,3],[61,3],[60,3],[122,72],[126,73],[123,74],[125,75],[127,76],[124,3],[128,77],[120,78],[119,79],[121,80],[82,3],[70,81],[68,82],[75,83],[76,84],[77,85],[72,3],[71,86],[66,87],[65,88],[69,89],[74,90],[80,91],[81,92],[79,3],[67,93],[78,94],[83,95],[106,96],[107,97],[73,98],[88,99],[85,3],[86,100],[84,3],[108,101],[95,102],[87,99],[112,103],[109,104],[110,105],[111,106],[130,107],[129,98],[92,108],[93,3],[90,109],[94,110],[104,111],[105,112],[89,113],[100,114],[101,115],[115,116],[116,117],[103,118],[102,119],[117,120],[91,121],[114,122],[99,123],[98,124],[96,3],[97,124],[118,125],[113,126]],"semanticDiagnosticsPerFile":[131,134,132,196,199,198,137,133,135,136,192,193,194,195,204,205,206,138,139,141,142,143,144,145,146,147,148,149,150,151,153,152,154,155,156,140,190,157,158,159,191,160,161,162,163,164,165,166,167,168,169,170,171,172,174,173,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,231,232,207,210,229,230,220,219,217,212,225,223,227,211,224,228,213,214,226,208,215,216,218,222,233,221,209,246,245,240,242,241,234,235,237,239,243,244,236,238,247,248,249,197,203,201,202,200,63,64,12,14,13,2,15,16,17,18,19,20,21,22,3,4,23,27,24,25,26,28,29,30,5,31,32,33,34,6,38,35,36,37,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,57,55,56,58,59,10,1,11,62,61,60,122,126,123,125,127,124,128,120,119,121,82,70,68,75,76,77,72,71,66,65,69,74,80,81,79,67,78,83,106,107,73,88,85,86,84,108,95,87,112,109,110,111,130,129,92,93,90,94,104,105,89,100,101,115,116,103,102,117,91,114,99,98,96,97,118,113]},"version":"5.2.2"}
|
|
1
|
+
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../src/primitives/mersenne.ts","../../src/primitives/k256.ts","../../src/primitives/reductioncontext.ts","../../src/primitives/bignumber.ts","../../src/primitives/montgomorymethod.ts","../../src/primitives/basepoint.ts","../../src/primitives/jacobianpoint.ts","../../src/primitives/hash.ts","../../src/primitives/utils.ts","../../src/primitives/point.ts","../../src/primitives/curve.ts","../../src/primitives/drbg.ts","../../src/primitives/ecdsa.ts","../../src/primitives/signature.ts","../../src/primitives/random.ts","../../src/primitives/privatekey.ts","../../src/primitives/publickey.ts","../../src/primitives/aesgcm.ts","../../src/primitives/symmetrickey.ts","../../src/script/scriptchunk.ts","../../src/script/op.ts","../../src/script/script.ts","../../src/script/unlockingscript.ts","../../src/script/lockingscript.ts","../../src/transaction/transactionoutput.ts","../../src/transaction/feemodel.ts","../../src/transaction/fee-models/satoshisperkilobyte.ts","../../src/transaction/broadcaster.ts","../../src/transaction/chaintracker.ts","../../src/transaction/merklepath.ts","../../src/script/spend.ts","../../src/transaction/http/httpclient.ts","../../src/transaction/http/nodejshttpclient.ts","../../src/transaction/http/fetchhttpclient.ts","../../src/transaction/http/defaulthttpclient.ts","../../src/transaction/broadcasters/arc.ts","../../src/transaction/broadcasters/defaultbroadcaster.ts","../../src/transaction/chaintrackers/whatsonchain.ts","../../src/transaction/chaintrackers/defaultchaintracker.ts","../../src/transaction/transaction.ts","../../src/transaction/transactioninput.ts","../../src/primitives/transactionsignature.ts","../../src/primitives/index.ts","../../src/script/scripttemplate.ts","../../src/script/templates/p2pkh.ts","../../src/script/templates/rpuzzle.ts","../../src/script/templates/index.ts","../../src/script/index.ts","../../src/transaction/index.ts","../../src/transaction/fee-models/index.ts","../../src/transaction/broadcasters/whatsonchainbroadcaster.ts","../../src/transaction/broadcasters/index.ts","../../src/transaction/chaintrackers/index.ts","../../src/transaction/http/index.ts","../../src/messages/signedmessage.ts","../../src/messages/encryptedmessage.ts","../../src/messages/index.ts","../../src/compat/bsm.ts","../../src/compat/hd.ts","../../src/compat/bip-39-wordlist-en.ts","../../src/compat/mnemonic.ts","../../src/compat/ecies.ts","../../src/compat/utxo.ts","../../src/compat/index.ts","../../src/totp/totp.ts","../../src/totp/index.ts","../../mod.ts","../../node_modules/@babel/types/lib/index.d.ts","../../node_modules/@types/babel__generator/index.d.ts","../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/@types/babel__template/index.d.ts","../../node_modules/@types/babel__traverse/index.d.ts","../../node_modules/@types/babel__core/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/graceful-fs/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/@jest/expect-utils/build/index.d.ts","../../node_modules/chalk/index.d.ts","../../node_modules/@sinclair/typebox/typebox.d.ts","../../node_modules/@jest/schemas/build/index.d.ts","../../node_modules/pretty-format/build/index.d.ts","../../node_modules/jest-diff/build/index.d.ts","../../node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/expect/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/inc.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"2ac9cdcfb8f8875c18d14ec5796a8b029c426f73ad6dc3ffb580c228b58d1c44","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","bed7b7ba0eb5a160b69af72814b4dde371968e40b6c5e73d3a9f7bee407d158c",{"version":"0075fa5ceda385bcdf3488e37786b5a33be730e8bc4aa3cf1e78c63891752ce8","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"09226e53d1cfda217317074a97724da3e71e2c545e18774484b61562afc53cd2","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"8b41361862022eb72fcc8a7f34680ac842aca802cf4bc1f915e8c620c9ce4331","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"bc496ef4377553e461efcf7cc5a5a57cf59f9962aea06b5e722d54a36bf66ea1","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"930b0e15811f84e203d3c23508674d5ded88266df4b10abee7b31b2ac77632d2","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"65be38e881453e16f128a12a8d36f8b012aa279381bf3d4dc4332a4905ceec83","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"e1913f656c156a9e4245aa111fbb436d357d9e1fe0379b9a802da7fe3f03d736","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"f35a831e4f0fe3b3697f4a0fe0e3caa7624c92b78afbecaf142c0f93abfaf379","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"78f8232f29ca77721f9dd9798c3bef83599c9256fd1d5d541e652151c433e8af","6416da52b472e7716f6d73f113c2f0a6cb3e711ad426391e5da49b1d08f442f0","3e4458c644bbcd8326c7a68713649aa58aae5458718ba09b14a432d851be0c17",{"version":"3332d6e010d88bb833013a6f0b44c44727723ea3748136255a2f4ca5154693cc","signature":"7e579ec417c04af9841a76f87998113f0e26fe6d9764df9fc51848c6bdd095a9"},"dfb041cdbc325167423bba5cbc2bafee4c8dfe9cf626cb2c26e093996cdd831a","7ed23712e507754ca8736d5fc03dbc63a361b9d3d86987a0c58997b01e5ee6c1","249db36e6cb9720a6637023c32a631bd51d1963632e81bf6dd916ebb56587068",{"version":"80a9fb81cf0a16fcdcbd2b6071794504f4e3520c254ac13ec5dfc7f2abda92ac","signature":"6e245c837d3ef107d26e2592df5dc4fffd2a082935aee53a04ddb0a91a720e5e"},"4a37bbbd57d83eda137b161115805a3b45686f250631b620443bdf7cb32987ea","cea9678b9ca54f0993e85496473102730aa4192787199ad570778dcf832d96f6","6c66acf0025a9390a5d95c2ae91292012af1c981f473259698034ae0746121cb","96f15af13b5ccc67f59859419651a1a76758569a17d6049fef125b7325141f72","26cfff17491885f257da38b4344ed24b41f89beeb08eafa820401f49622e0650",{"version":"1e2bec337a9560ae4ceda99f07caec72d6c7e099aa153b27d817d39fe204517a","signature":"8e22be05eb64f03df7ed0f99a2341ba6793eff266c4522ae34d580c0317b730a"},{"version":"1cf2798fa1fe373bddfc3cbe18c1fdb66cbc054b7c09d0354df6d02b1e684938","signature":"d7520ad8621111bb484bd4fcf06ec19c8f5c2dcfa938d41a0288d59b15fd1930"},{"version":"32eb82cff3b02a517eb4e8b92df93371795b2cc3d7dc93736be56c18a182a1fc","signature":"d0aadb394d7466258ae73946f4e7477236883f33542f072c24ee70bdc4261b57"},{"version":"81d5d2982e9095ccef864732fde135dd5a88fdc41e60c5c180c46f26f48059f9","signature":"74bfc10e7c55ec502a30c042d5bda343290b94eb341286833fe090b600bf73bb"},{"version":"2dbde0b434cfe0ed92aea48342b9a85404d1c000e9fdcce942925da7b7e534eb","signature":"0992219a550bfdfd60098cd695d68b43f531e2bb24215281378c01a093d281d8"},"b2727cfc6afb1eb769535ab2a8b2c3bf418fc46141d7adb4fc1ee385f0239ac3",{"version":"fbd8484c24a187875194878aeacfc32daef9d0ae4f1eb8ce31b355e2d3df8c66","signature":"46c0230476c149252b9eddf0a97d521a5af223e497c76d349537a0fe84869cdc"},{"version":"b06d8ae2fad22f0d79191ef93a4f73bfec968ba13a26af6634866a489443863c","signature":"dbfc8224f4e3c3881c6bbf339bfc57e5977f5171d2ae2534fcf21c747e663587"},{"version":"e656a88f9fe693512c0ef9e400f5bda4d3f738cc279a4492d980d9b74b67f8c9","signature":"22a3b38628a77dd1023eba939b991357ccbc85ae67d31014cf5c0d7632b9f251"},"a613c66badc56f604d3b1ce2cbb18e82b668d8d03850d182978234cd89084afb","079d6f434bf32684499d1dac9e7eb2dbb55b837a3560361a9c098828ae789f06","1212ecc67913ad47a321ee21b0522d88b8026cb269b28f7215984dd98f2bbb79","387ccdb4ba57cbe3081944a3c29ff1f20da0db3132a4c046f57682141107835d","5e7baebaf3b2a064fe9cb52d74be5d0c4709e4e5b3a5abff4594d92bb90242ed",{"version":"5f01186d86d9902db14c8bf0624bac8254a3e554e9dbd5b106f921805cf265ad","signature":"d2050c672a30484d09318bffc6eb069d8e56e2de93cbbb9c0ee0f3b0bec2e9f8"},{"version":"6e6e78d8a49e1fedd8977995535b11eb7826cdc58bb3aa345cc0cfb0751178bd","signature":"7bc83750744e6d7924e4b16e8e8d9272b1dbad685e4463b6f39a7b7dd336e833"},{"version":"75e5108775099cb8cee4fcb894a1c2642431b3cd78d8f1d22f27c06bc0945cc9","signature":"9bce0c706010d35e4d0f1a312da62c4388989c445c159cdb369a62ca1debf667"},{"version":"4c711d9b380a3c3d4968b9aa53912aab59c429bd9ea63f9c42b6f49da8b73cda","signature":"af54a292d3c6f475caa487f428e1a8ff009bef631e27781fca60bd103e8e3df2"},{"version":"2f4c5c2c23d6b6a0c7d514ff83dcc9ecba94ec0ecfd880d7935baddc8d359b5f","signature":"9be232664a737988d9e4922d999cdfa3e6d6d5d00724654eae126fc2682e1eb5"},{"version":"22c7b7f4133c00e332ffdea39d5e9114e9246b28f28d8b5d004508f3a1cbdee4","signature":"fac7b2878ed137eba8692e0a1339bc402e3d8c2589bbffa51ba468a82c8dd057"},{"version":"c73d2fce75f3c5909336f3db9e635b9a724d5870c9dbc696b1f322eff364f51e","signature":"33edb2364d535fc4822bbe24bab4e66f297c2009a194fcaaeb21fe16161b4691"},{"version":"33c61c6494083324e320b55d5ec9e3a1a4e308ca6709f6853ef26fc0bad3589a","signature":"e830613a5d1073da8431ec7cb38fd6f4a0d1bbc1771e11528d8f90ba932d0531"},{"version":"eb4a209f788d8d673dc81373e4380df281aacc6412559d8aa29695db45151570","signature":"7260bdbd62fa3bc58fce0b115205d93c7a4a6f5db4c710f19d033089a89ea95a"},{"version":"cd9881bc13d6dca8d9e6c326990c13334c7e78807c612211158349b44d90f601","signature":"08efe32d9b4acfde1fbef91c1d70a91025a31de7d30b85b44c981a8a5c82ef75"},{"version":"d2d4759176cc0d4232669885beaab823e71a6504435f149f6bcdc3a5b0f82cfa","signature":"638ff52284702d6791f6677fa4c2bef78f4714b9f02f743fb0cdc5af1e1fdc0b"},{"version":"3a000133f3b9b96effb3064765e817eb9d45ce155ddb2ec5b4073fc28ba19e60","signature":"5b1e9f6f9c0506542754d6503a24db6700cdb15c06d07f691956113730f097c6"},{"version":"d87dbec254957f00cb357a6f51f862f8dd7dd5d59d6b57d420a6ddcdba19c76c","signature":"26f006581040284df44ad8c089064a0bd0460342159a4595412ae2c44863c25f"},"c59c9abbee35c374c0885c92c88340f361ffbd9892fcba86371ce0a8eb34feb2",{"version":"56b6e108f71134bff1675b747afe24100662eda67c6eed367ac13e513d213487","signature":"3c985fba23832986f09a0914938a1f242199c49cad3527d051bfbfb6fc6f74d5"},"0a7360a92456060fad9377aa0186c5af52600f1ef25f079c67317a4e2a371777",{"version":"02b23d304708bf20639979a9b9f75327cc1c896b86099a9fef223a412df3d4ce","signature":"60412be999ab2254a0b4105ff71c5899fd3448c4d8a0ff49fe759a2841792be7"},"4b7e00befc9378ee0eb1526fe1a619342e286b2da1b454855cac9ac4afa0be74","f1ea032ce43f538d9839d593e1cdd2b0ad036d3185181fcfc120c2ac8212e0d7","b0a0340f70f627ca7b21f85556aab7656cf3c61b75f6abf6cce2f0ed2ec546ab","3999a66ef491e34e1a1d864920c4c45f2f189def5808fba1082a77a9c3f5f022",{"version":"2c90531bfad97fc02b55939b73d22e9f6ce32320013ee7f6f69285600b1d0912","signature":"813fa24cb72cb338c5080cd0fee9363c9a054f93f834bddf16ce87c77d289ddc"},"7a53dde9117e238bc8431695b98954836a3a4178239caba3874bea0d56563bad",{"version":"f2dcc8b7ae58788aa33f36aabe98d05c1cdd18a6bfc914254e2fa953b26c8b72","signature":"7a9419c2754b13e262326c7d1b85d9422853226ff0fab2590a108253d40173fc"},{"version":"3b4750c557bddc10951d328fc40a6f84ac99155891f3544c9b53fe49cf5dfe77","signature":"369eed9c645a28bb207f83459a9fbfafbb832aad71e054b6f3cc08b4afa78fe9"},{"version":"38de34ecf28af3f5e298c9f9c0d949f45f2f8467ec72220725a21e4ec883163b","signature":"ee49aa9c43cce21295a86485d247bd08a3de0be08a4a1d8162711d57b9736c39"},"86701c272fae8e2b14fd88cfa5bd190219fbd638f99600fe82c4ee487e33d308","0c5484b6012ff64658956901c1e0be5ff702d4fc63b9820e57a42e8259be19a7","9f242994e47e57870b9df723d69ed7abc5fc36c620d610edce99aff8f3536999","9f8fc8bb76f9e7afed282bfac56f836ed07fe8f2d34ccfeefa5021152d01944d","772f75fe08a0e352a42d8229647ee8a2219be9eb78cee420f44507eeb5d530b9",{"version":"6e3a0da2c3499b200f1436e9f57ee681f4b0f9ca5842837bfe0f06603d65ebd3","signature":"8a00d98c38938ecd970d96073f7882f32031fef05f079531fed80ca80302d8ff"},{"version":"497711bd7a49659b1294b17df5801ed3e939e33e0ee313d8373ee0aa11a9dc82","signature":"323f533b672b96b572a4862a71a229b913df667e88cfd5b2328e01aab8097589"},"449a83d8d5cf6be87463b3a4db18a40bedf3c475f1c2f0193ea174f6f05dc151","6922401f50b3dea527d6ee473be4a2baf799337d7837f0422627390f10681802",{"version":"1f71ecc64cd4c1e728bb831e06542b25bc5c233f7a71a1dd9d2f97add0316801","signature":"5667520a47fee076d03d3ec3e6421b7ecc05e5c47150f4fc292ef241f67278e4"},{"version":"9614556d7b4b513dc0bd465c93cf7999878dc3ea45c04e4fbc9387455dfc548b","signature":"fb053400344daba92e3d53cc8832be6c960206f1a9397f362bf42879291d8071"},{"version":"543b6ff013b9f4b02dab7d68dcfe61a6ad3200e3d9e2f951f0ca5707e2918062","signature":"13237bb35de2b96847871b0cabf5a89be3fa7c8b26b230addbd70ddafc1e0080"},{"version":"d17ff4de645b0f574ddf7fbf33668d6c751594ffd185dee470758bff453bcdcc","signature":"00a267ebf3c84dcbf17771b21ab8ab1712571a947dd7065c33bea1af9e9bd9cc"},{"version":"f47f2ff71a491b089e421dfcc0dcbddc2f280fc2cb48dc3c95433554f7e40d00","signature":"6738ce889fdeba5c9c1eb89d774ed1e6613cb75c66ac1016c641671459a9468f"},"f713064ca751dc588bc13832137c418cb70cf0446de92ade60ad631071558fca","dfefd34e8ab60f41d0c130527d5092d6ce662dc9fa85bc8c97682baf65830b51","96c23535f4f9dd15beb767e070559ea672f6a35f103152836a67100605136a96","b0f4dd1a825912da8f12fd3388d839ef4aa51165ea0e60e4869b50b7ccb4f6fc","9cb7c5f710dc84d2e9500831a3e9a27afd3c3710f5a1b8744a50473e565b41fc","cf6b2edde490f303918809bfab1da8b6d059b50c160bec72005ff4c248bdd079","09df3b4f1c937f02e7fee2836d4c4d7a63e66db70fd4d4e97126f4542cc21d9d","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419",{"version":"32465ea19404cb188e84cf08c6b1f6b12d739140436402cdbc184a3fd20a7d81","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"bb6872f39c58753205c19b9f89e1e07d61116ae5d82539cef0f3bde5e8fecb57","affectsGlobalScope":true},"546ab07e19116d935ad982e76a223275b53bff7771dab94f433b7ab04652936e","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"aefb5a4a209f756b580eb53ea771cca8aad411603926f307a5e5b8ec6b16dcf6","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","3a3b3310118e79c8d394171a87f4dc8fd562337a85e33f9fa9636040a2ec2fde","b86e1a45b29437f3a99bad4147cb9fe2357617e8008c0484568e5bb5138d6e13","b5b719a47968cd61a6f83f437236bb6fe22a39223b6620da81ef89f5d7a78fb7","42c431e7965b641106b5e25ab3283aa4865ca7bb9909610a2abfa6226e4348be","0b7e732af0a9599be28c091d6bd1cb22c856ec0d415d4749c087c3881ca07a56","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"738a0de235edb5caf581c5aa86f5dd48ee28b2d0da1e327cbc57cdabde116bda","affectsGlobalScope":true},"3b4c85eea12187de9929a76792b98406e8778ce575caca8c574f06da82622c54","f788131a39c81e0c9b9e463645dd7132b5bc1beb609b0e31e5c1ceaea378b4df","f4016bf7fd9b760162521f2f18fab4023095795e4fb34496d8c61c59acfd0a56","21894466693f64957b9bd4c80fa3ec7fdfd4efa9d1861e070aca23f10220c9b2","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","ad8848c289c0b633452e58179f46edccd14b5a0fe90ebce411f79ff040b803e0",{"version":"120285cc97da7b20b0cbf2c557a5db7d215ec17ee688165ac8aff7f8de035b75","affectsGlobalScope":true},"5ca4a9fb7c9ee4f60df6d3bb6460e2c7f3a9cd7b8f7ebae29110fac74de4e50c","42a7993edf3288c33755ec08faefb1a40fd9f5f0844f82e48ae152791e80c76a","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"f49fb15c4aa06b65b0dce4db4584bfd8a9f74644baef1511b404dc95be34af00","affectsGlobalScope":true},{"version":"d48009cbe8a30a504031cc82e1286f78fed33b7a42abf7602c23b5547b382563","affectsGlobalScope":true},"7aaeb5e62f90e1b2be0fc4844df78cdb1be15c22b427bc6c39d57308785b8f10","3ba30205a029ebc0c91d7b1ab4da73f6277d730ca1fc6692d5a9144c6772c76b","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","458b216959c231df388a5de9dcbcafd4b4ca563bc3784d706d0455467d7d4942","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","8258e69a3b0de494ea55eeea7a4d3216ac112c12006c74dfd381c0d5e42a2607","cdaaf046791d7d588f28f32197c5d6acc43343e62540a67eed194c9c20535fdc","831c22d257717bf2cbb03afe9c4bcffc5ccb8a2074344d4238bf16d3a857bb12",{"version":"e78290186ee23e5a4d067811dcc547973be09f4dc9564cfed6c7f1f0bdd89d24","affectsGlobalScope":true},{"version":"cbf046714f3a3ba2544957e1973ac94aa819fa8aa668846fa8de47eb1c41b0b2","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","eae74e3d50820f37c72c0679fed959cd1e63c98f6a146a55b8c4361582fa6a52","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"aed89e3c18f4c659ee8153a76560dffda23e2d801e1e60d7a67abd84bc555f8d","affectsGlobalScope":true},{"version":"290276bcec65d49eb152489c62845b28bed530258751c80d04d167b36b33be72","affectsGlobalScope":true},"e393915d3dc385e69c0e2390739c87b2d296a610662eb0b1cb85224e55992250","2f940651c2f30e6b29f8743fae3f40b7b1c03615184f837132b56ea75edad08b","5749c327c3f789f658072f8340786966c8b05ea124a56c1d8d60e04649495a4d",{"version":"c9d62b2a51b2ff166314d8be84f6881a7fcbccd37612442cf1c70d27d5352f50","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"16dcbd7095be9ba030b671ef982dc760e03d40a0f54f27f2a6f1fa00f5670fe7","6adaa01cba6e7bae17d8291089e9e38bfc3fffcd522e2161214cbaccab4c1b2b","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","c79bd2f3e5c05e7ad80dc82ce8d339cac23ac1f5e6cfab96c860bb70d5162873","e3328cedfe4d7fac23ba75d00bf5169269800ab949d0837cd88c4211a52c3762","cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec",{"version":"c8950367d1812758e9e354c695c60c3e6311bf2cd98b9f9eb469a19df8a9a486","affectsGlobalScope":true},"dd89872dd0647dfd63665f3d525c06d114310a2f7a5a9277e5982a152b31be2b","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","cc0700b1b97e18a3d5d9184470502d8762ec85158819d662730c3a8c5d702584","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","f77ff4cd234d3fd18ddd5aeadb6f94374511931976d41f4b9f594cb71f7ce6f3","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","4f18b4e6081e5e980ef53ddf57b9c959d36cffe1eb153865f512a01aeffb5e1e","7f17d4846a88eca5fe71c4474ef687ee89c4acf9b5372ab9b2ee68644b7e0fe0","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","58e0cee50add50d4b6d47a935e26aeb0080d98c9cf729f8af389511cdfa10526","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","75fa6a9be075402ea969c1fcec4bb1421f72efbc3e2f340032684cdd3115197c","c516a2b18ec68ce5281d7f90113f9be11c7800a859e52292ec7d6a5c13d0465b"],"root":[[65,131]],"options":{"downlevelIteration":false,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"outDir":"./","rootDir":"../..","skipLibCheck":true,"sourceMap":true,"strict":false,"strictNullChecks":false,"target":6},"fileIdsList":[[107,111,112,113,114,116,117,118,121,128,130,184],[132,184],[184],[184,198],[132,133,134,135,136,184],[132,134,184],[155,184,191],[184,193],[184,194],[184,200,203],[138,184],[141,184],[142,147,175,184],[143,154,155,162,172,183,184],[143,144,154,162,184],[145,184],[146,147,155,163,184],[147,172,180,184],[148,150,154,162,184],[149,184],[150,151,184],[154,184],[152,154,184],[154,155,156,172,183,184],[154,155,156,169,172,175,184],[184,188],[150,154,157,162,172,183,184],[154,155,157,158,162,172,180,183,184],[157,159,172,180,183,184],[138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190],[154,160,184],[161,183,184,188],[150,154,162,172,184],[163,184],[164,184],[141,165,184],[166,182,184,188],[167,184],[168,184],[154,169,170,184],[169,171,184,186],[142,154,172,173,174,175,184],[142,172,174,184],[172,173,184],[175,184],[176,184],[141,172,184],[154,178,179,184],[178,179,184],[147,162,172,180,184],[181,184],[162,182,184],[142,157,168,183,184],[147,184],[172,184,185],[161,184,186],[184,187],[142,147,154,156,165,172,183,184,186,188],[172,184,189],[184,207,246],[184,207,231,246],[184,246],[184,207],[184,207,232,246],[184,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245],[184,232,246],[184,248],[184,196,202],[184,200],[184,197,201],[184,199],[68,72,73,77,78,80,81,184],[72,73,74,79,80,81,184],[68,72,73,75,79,80,81,184],[122,123,125,126,127,184],[72,73,79,124,184],[87,88,104,105,184],[73,79,80,81,83,184],[119,120,184],[73,75,78,79,80,81,184],[75,184],[67,184],[67,68,69,73,74,184],[72,73,184],[68,74,75,76,78,184],[68,72,73,74,75,77,78,79,80,81,83,106,184],[68,70,74,184],[65,68,184],[68,184],[67,68,184],[67,68,70,71,73,184],[68,72,73,74,75,77,78,79,81,184],[68,72,73,74,75,77,78,80,184],[65,66,68,184],[68,72,73,74,75,77,81,184],[68,73,79,82,184],[68,72,73,78,86,89,105,184],[68,72,184],[85,86,87,88,95,108,111,184],[86,184],[68,73,84,85,184],[87,88,104,184],[68,72,73,77,81,84,85,86,87,88,89,105,106,184],[109,110,184],[72,73,80,85,86,87,88,104,106,108,184],[68,72,80,84,85,87,88,104,106,108,184],[129,184],[104,184],[73,79,92,96,99,104,184],[92,100,184],[100,101,115,184],[92,96,99,104,184],[93,102,184],[102,103,184],[93,96,99,184],[91,184],[68,90,104,184],[68,104,184],[96,97,98,184],[96,184],[96,97,98,99,184],[89,92,93,94,104,105,184],[72,73,93,184],[72,73,87,88,89,90,91,92,93,94,95,101,103,105,184],[87,104,184],[68,88,184],[107,111,112,113,114,116,117,118,121,128,130],[80,81],[122,123,125,126,127],[87,104,105],[67],[68,74,78,81],[68,74,78,80],[68,81],[68,78,86,89,105],[68,84],[87,88,104],[87,88,89,105],[129],[104],[92,96,104],[92],[100,101,115],[93],[102,103],[93,96],[96],[96,97,98,99],[89,92,93,94,104,105],[73,93],[89,90,92,93,94,105]],"referencedMap":[[131,1],[134,2],[132,3],[196,3],[199,4],[198,3],[137,5],[133,2],[135,6],[136,2],[192,7],[193,3],[194,8],[195,9],[204,10],[205,3],[206,3],[138,11],[139,11],[141,12],[142,13],[143,14],[144,15],[145,16],[146,17],[147,18],[148,19],[149,20],[150,21],[151,21],[153,22],[152,23],[154,22],[155,24],[156,25],[140,26],[190,3],[157,27],[158,28],[159,29],[191,30],[160,31],[161,32],[162,33],[163,34],[164,35],[165,36],[166,37],[167,38],[168,39],[169,40],[170,40],[171,41],[172,42],[174,43],[173,44],[175,45],[176,46],[177,47],[178,48],[179,49],[180,50],[181,51],[182,52],[183,53],[184,54],[185,55],[186,56],[187,57],[188,58],[189,59],[231,60],[232,61],[207,62],[210,62],[229,60],[230,60],[220,60],[219,63],[217,60],[212,60],[225,60],[223,60],[227,60],[211,60],[224,60],[228,60],[213,60],[214,60],[226,60],[208,60],[215,60],[216,60],[218,60],[222,60],[233,64],[221,60],[209,60],[246,65],[245,3],[240,64],[242,66],[241,64],[234,64],[235,64],[237,64],[239,64],[243,66],[244,66],[236,66],[238,66],[247,3],[248,3],[249,67],[197,3],[203,68],[201,69],[202,70],[200,71],[63,3],[64,3],[12,3],[14,3],[13,3],[2,3],[15,3],[16,3],[17,3],[18,3],[19,3],[20,3],[21,3],[22,3],[3,3],[4,3],[23,3],[27,3],[24,3],[25,3],[26,3],[28,3],[29,3],[30,3],[5,3],[31,3],[32,3],[33,3],[34,3],[6,3],[38,3],[35,3],[36,3],[37,3],[39,3],[7,3],[40,3],[45,3],[46,3],[41,3],[42,3],[43,3],[44,3],[8,3],[50,3],[47,3],[48,3],[49,3],[51,3],[9,3],[52,3],[53,3],[54,3],[57,3],[55,3],[56,3],[58,3],[59,3],[10,3],[1,3],[11,3],[62,3],[61,3],[60,3],[124,3],[122,72],[126,73],[123,74],[128,75],[125,76],[127,77],[120,78],[121,79],[119,80],[82,3],[70,81],[68,82],[75,83],[76,84],[77,85],[72,3],[107,86],[71,87],[66,88],[65,89],[69,90],[74,91],[80,92],[81,93],[79,3],[67,94],[78,95],[83,96],[106,97],[73,98],[112,99],[88,100],[85,3],[86,101],[84,3],[108,102],[95,103],[111,104],[109,105],[110,106],[87,100],[130,107],[129,98],[92,108],[100,109],[101,110],[116,111],[115,112],[93,3],[103,113],[117,114],[102,115],[114,116],[91,117],[90,118],[99,119],[98,120],[96,3],[118,121],[97,120],[113,122],[94,123],[104,124],[105,125],[89,126]],"exportedModulesMap":[[131,127],[134,2],[132,3],[196,3],[199,4],[198,3],[137,5],[133,2],[135,6],[136,2],[192,7],[193,3],[194,8],[195,9],[204,10],[205,3],[206,3],[138,11],[139,11],[141,12],[142,13],[143,14],[144,15],[145,16],[146,17],[147,18],[148,19],[149,20],[150,21],[151,21],[153,22],[152,23],[154,22],[155,24],[156,25],[140,26],[190,3],[157,27],[158,28],[159,29],[191,30],[160,31],[161,32],[162,33],[163,34],[164,35],[165,36],[166,37],[167,38],[168,39],[169,40],[170,40],[171,41],[172,42],[174,43],[173,44],[175,45],[176,46],[177,47],[178,48],[179,49],[180,50],[181,51],[182,52],[183,53],[184,54],[185,55],[186,56],[187,57],[188,58],[189,59],[231,60],[232,61],[207,62],[210,62],[229,60],[230,60],[220,60],[219,63],[217,60],[212,60],[225,60],[223,60],[227,60],[211,60],[224,60],[228,60],[213,60],[214,60],[226,60],[208,60],[215,60],[216,60],[218,60],[222,60],[233,64],[221,60],[209,60],[246,65],[245,3],[240,64],[242,66],[241,64],[234,64],[235,64],[237,64],[239,64],[243,66],[244,66],[236,66],[238,66],[247,3],[248,3],[249,67],[197,3],[203,68],[201,69],[202,70],[200,71],[63,3],[64,3],[12,3],[14,3],[13,3],[2,3],[15,3],[16,3],[17,3],[18,3],[19,3],[20,3],[21,3],[22,3],[3,3],[4,3],[23,3],[27,3],[24,3],[25,3],[26,3],[28,3],[29,3],[30,3],[5,3],[31,3],[32,3],[33,3],[34,3],[6,3],[38,3],[35,3],[36,3],[37,3],[39,3],[7,3],[40,3],[45,3],[46,3],[41,3],[42,3],[43,3],[44,3],[8,3],[50,3],[47,3],[48,3],[49,3],[51,3],[9,3],[52,3],[53,3],[54,3],[57,3],[55,3],[56,3],[58,3],[59,3],[10,3],[1,3],[11,3],[62,3],[61,3],[60,3],[122,72],[126,73],[123,128],[128,129],[125,76],[127,130],[120,78],[121,79],[119,80],[70,81],[68,131],[75,83],[76,84],[77,85],[107,86],[71,87],[66,88],[65,89],[69,90],[74,91],[80,132],[81,133],[67,94],[78,134],[83,96],[106,135],[73,98],[112,99],[88,100],[86,136],[108,137],[95,138],[111,104],[109,105],[110,106],[87,100],[130,139],[92,140],[100,141],[101,142],[116,143],[115,141],[103,144],[117,145],[102,146],[114,116],[91,117],[90,118],[99,147],[98,147],[118,148],[97,147],[113,149],[94,150],[104,151],[105,125],[89,126]],"semanticDiagnosticsPerFile":[131,134,132,196,199,198,137,133,135,136,192,193,194,195,204,205,206,138,139,141,142,143,144,145,146,147,148,149,150,151,153,152,154,155,156,140,190,157,158,159,191,160,161,162,163,164,165,166,167,168,169,170,171,172,174,173,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,231,232,207,210,229,230,220,219,217,212,225,223,227,211,224,228,213,214,226,208,215,216,218,222,233,221,209,246,245,240,242,241,234,235,237,239,243,244,236,238,247,248,249,197,203,201,202,200,63,64,12,14,13,2,15,16,17,18,19,20,21,22,3,4,23,27,24,25,26,28,29,30,5,31,32,33,34,6,38,35,36,37,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,57,55,56,58,59,10,1,11,62,61,60,124,122,126,123,128,125,127,120,121,119,82,70,68,75,76,77,72,107,71,66,65,69,74,80,81,79,67,78,83,106,73,112,88,85,86,84,108,95,111,109,110,87,130,129,92,100,101,116,115,93,103,117,102,114,91,90,99,98,96,118,97,113,94,104,105,89]},"version":"5.2.2"}
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
import { wordList } from './bip-39-wordlist-en.js';
|
|
2
|
+
import { encode, toArray, Reader, Writer } from '../primitives/utils.js';
|
|
3
|
+
import * as Hash from '../primitives/Hash.js';
|
|
4
|
+
import Random from '../primitives/Random.js';
|
|
5
|
+
/**
|
|
6
|
+
* @class BIP39
|
|
7
|
+
*
|
|
8
|
+
* @description
|
|
9
|
+
* Class representing BIP39 functionality.
|
|
10
|
+
* This class provides methods for generating, converting, and validating mnemonic phrases
|
|
11
|
+
* according to the BIP39 standard. It supports creating mnemonics from random entropy,
|
|
12
|
+
* converting mnemonics to seeds, and validating mnemonic phrases.
|
|
13
|
+
*/
|
|
14
|
+
export default class BIP39 {
|
|
15
|
+
mnemonic;
|
|
16
|
+
seed;
|
|
17
|
+
Wordlist;
|
|
18
|
+
/**
|
|
19
|
+
* Constructs a BIP39 object.
|
|
20
|
+
* @param {string} [mnemonic] - An optional mnemonic phrase.
|
|
21
|
+
* @param {number[]} [seed] - An optional seed derived from the mnemonic.
|
|
22
|
+
* @param {object} [wordlist=wordList] - An object containing a list of words and space character used in the mnemonic.
|
|
23
|
+
*/
|
|
24
|
+
constructor(mnemonic, seed, wordlist = wordList) {
|
|
25
|
+
this.mnemonic = mnemonic;
|
|
26
|
+
this.seed = seed;
|
|
27
|
+
this.Wordlist = wordlist;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Converts the mnemonic and seed into a binary representation.
|
|
31
|
+
* @returns {number[]} The binary representation of the mnemonic and seed.
|
|
32
|
+
*/
|
|
33
|
+
toBinary() {
|
|
34
|
+
const bw = new Writer();
|
|
35
|
+
if (this.mnemonic) {
|
|
36
|
+
const buf = toArray(this.mnemonic, 'utf8');
|
|
37
|
+
bw.writeVarIntNum(buf.length);
|
|
38
|
+
bw.write(buf);
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
bw.writeVarIntNum(0);
|
|
42
|
+
}
|
|
43
|
+
if (this.seed) {
|
|
44
|
+
bw.writeVarIntNum(this.seed.length);
|
|
45
|
+
bw.write(this.seed);
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
bw.writeVarIntNum(0);
|
|
49
|
+
}
|
|
50
|
+
return bw.toArray();
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Loads a mnemonic and seed from a binary representation.
|
|
54
|
+
* @param {number[]} bin - The binary representation of a mnemonic and seed.
|
|
55
|
+
* @returns {this} The BIP39 instance with loaded mnemonic and seed.
|
|
56
|
+
*/
|
|
57
|
+
fromBinary(bin) {
|
|
58
|
+
const br = new Reader(bin);
|
|
59
|
+
const mnemoniclen = br.readVarIntNum();
|
|
60
|
+
if (mnemoniclen > 0) {
|
|
61
|
+
this.mnemonic = encode(br.read(mnemoniclen), 'utf8');
|
|
62
|
+
}
|
|
63
|
+
const seedlen = br.readVarIntNum();
|
|
64
|
+
if (seedlen > 0) {
|
|
65
|
+
this.seed = br.read(seedlen);
|
|
66
|
+
}
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Generates a random mnemonic from a given bit length.
|
|
71
|
+
* @param {number} [bits=128] - The bit length for the random mnemonic (must be a multiple of 32 and at least 128).
|
|
72
|
+
* @returns {this} The BIP39 instance with the new random mnemonic.
|
|
73
|
+
* @throws {Error} If the bit length is not a multiple of 32 or is less than 128.
|
|
74
|
+
*/
|
|
75
|
+
fromRandom(bits) {
|
|
76
|
+
if (!bits) {
|
|
77
|
+
bits = 128;
|
|
78
|
+
}
|
|
79
|
+
if (bits % 32 !== 0) {
|
|
80
|
+
throw new Error('bits must be multiple of 32');
|
|
81
|
+
}
|
|
82
|
+
if (bits < 128) {
|
|
83
|
+
throw new Error('bits must be at least 128');
|
|
84
|
+
}
|
|
85
|
+
const buf = Random(bits / 8);
|
|
86
|
+
this.entropy2Mnemonic(buf);
|
|
87
|
+
this.mnemonic2Seed();
|
|
88
|
+
return this;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Static method to generate a BIP39 instance with a random mnemonic.
|
|
92
|
+
* @param {number} [bits=128] - The bit length for the random mnemonic.
|
|
93
|
+
* @returns {BIP39} A new BIP39 instance.
|
|
94
|
+
*/
|
|
95
|
+
static fromRandom(bits) {
|
|
96
|
+
return new this().fromRandom(bits);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Converts given entropy into a mnemonic phrase.
|
|
100
|
+
* This method is used to generate a mnemonic from a specific entropy source.
|
|
101
|
+
* @param {number[]} buf - The entropy buffer, must be at least 128 bits.
|
|
102
|
+
* @returns {this} The BIP39 instance with the mnemonic set from the given entropy.
|
|
103
|
+
* @throws {Error} If the entropy is less than 128 bits.
|
|
104
|
+
*/
|
|
105
|
+
fromEntropy(buf) {
|
|
106
|
+
this.entropy2Mnemonic(buf);
|
|
107
|
+
return this;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Static method to create a BIP39 instance from a given entropy.
|
|
111
|
+
* @param {number[]} buf - The entropy buffer.
|
|
112
|
+
* @returns {BIP39} A new BIP39 instance.
|
|
113
|
+
*/
|
|
114
|
+
static fromEntropy(buf) {
|
|
115
|
+
return new this().fromEntropy(buf);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Sets the mnemonic for the instance from a string.
|
|
119
|
+
* @param {string} mnemonic - The mnemonic phrase as a string.
|
|
120
|
+
* @returns {this} The BIP39 instance with the set mnemonic.
|
|
121
|
+
*/
|
|
122
|
+
fromString(mnemonic) {
|
|
123
|
+
this.mnemonic = mnemonic;
|
|
124
|
+
return this;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Static method to create a BIP39 instance from a mnemonic string.
|
|
128
|
+
* @param {string} str - The mnemonic phrase.
|
|
129
|
+
* @returns {BIP39} A new BIP39 instance.
|
|
130
|
+
*/
|
|
131
|
+
static fromString(str) {
|
|
132
|
+
return new this().fromString(str);
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Converts the instance's mnemonic to a string representation.
|
|
136
|
+
* @returns {string} The mnemonic phrase as a string.
|
|
137
|
+
*/
|
|
138
|
+
toString() {
|
|
139
|
+
return this.mnemonic;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Converts the mnemonic to a seed.
|
|
143
|
+
* The mnemonic must pass the validity check before conversion.
|
|
144
|
+
* @param {string} [passphrase=''] - An optional passphrase for additional security.
|
|
145
|
+
* @returns {number[]} The generated seed.
|
|
146
|
+
* @throws {Error} If the mnemonic is invalid.
|
|
147
|
+
*/
|
|
148
|
+
toSeed(passphrase) {
|
|
149
|
+
this.mnemonic2Seed(passphrase);
|
|
150
|
+
return this.seed;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Converts entropy to a mnemonic phrase.
|
|
154
|
+
* This method takes a buffer of entropy and converts it into a corresponding
|
|
155
|
+
* mnemonic phrase based on the BIP39 wordlist. The entropy should be at least 128 bits.
|
|
156
|
+
* The method applies a checksum and maps the entropy to words in the wordlist.
|
|
157
|
+
* @param {number[]} buf - The entropy buffer to convert. Must be at least 128 bits.
|
|
158
|
+
* @returns {this} The BIP39 instance with the mnemonic set from the entropy.
|
|
159
|
+
* @throws {Error} If the entropy is less than 128 bits or if it's not an even multiple of 11 bits.
|
|
160
|
+
*/
|
|
161
|
+
entropy2Mnemonic(buf) {
|
|
162
|
+
if (buf.length < 128 / 8) {
|
|
163
|
+
throw new Error('Entropy is less than 128 bits. It must be 128 bits or more.');
|
|
164
|
+
}
|
|
165
|
+
const hash = Hash.sha256(buf);
|
|
166
|
+
let bin = '';
|
|
167
|
+
const bits = buf.length * 8;
|
|
168
|
+
for (let i = 0; i < buf.length; i++) {
|
|
169
|
+
bin = bin + ('00000000' + buf[i].toString(2)).slice(-8);
|
|
170
|
+
}
|
|
171
|
+
let hashbits = hash[0].toString(2);
|
|
172
|
+
hashbits = ('00000000' + hashbits).slice(-8).slice(0, bits / 32);
|
|
173
|
+
bin = bin + hashbits;
|
|
174
|
+
if (bin.length % 11 !== 0) {
|
|
175
|
+
throw new Error('internal error - entropy not an even multiple of 11 bits - ' + bin.length);
|
|
176
|
+
}
|
|
177
|
+
let mnemonic = '';
|
|
178
|
+
for (let i = 0; i < bin.length / 11; i++) {
|
|
179
|
+
if (mnemonic !== '') {
|
|
180
|
+
mnemonic = mnemonic + this.Wordlist.space;
|
|
181
|
+
}
|
|
182
|
+
const wi = parseInt(bin.slice(i * 11, (i + 1) * 11), 2);
|
|
183
|
+
mnemonic = mnemonic + this.Wordlist.value[wi];
|
|
184
|
+
}
|
|
185
|
+
this.mnemonic = mnemonic;
|
|
186
|
+
return this;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Validates the mnemonic phrase.
|
|
190
|
+
* Checks for correct length, absence of invalid words, and proper checksum.
|
|
191
|
+
* @returns {boolean} True if the mnemonic is valid, false otherwise.
|
|
192
|
+
* @throws {Error} If the mnemonic is not an even multiple of 11 bits.
|
|
193
|
+
*/
|
|
194
|
+
check() {
|
|
195
|
+
const mnemonic = this.mnemonic;
|
|
196
|
+
// confirm no invalid words
|
|
197
|
+
const words = mnemonic.split(this.Wordlist.space);
|
|
198
|
+
let bin = '';
|
|
199
|
+
for (let i = 0; i < words.length; i++) {
|
|
200
|
+
const ind = this.Wordlist.value.indexOf(words[i]);
|
|
201
|
+
if (ind < 0) {
|
|
202
|
+
return false;
|
|
203
|
+
}
|
|
204
|
+
bin = bin + ('00000000000' + ind.toString(2)).slice(-11);
|
|
205
|
+
}
|
|
206
|
+
if (bin.length % 11 !== 0) {
|
|
207
|
+
throw new Error('internal error - entropy not an even multiple of 11 bits - ' + bin.length);
|
|
208
|
+
}
|
|
209
|
+
// confirm checksum
|
|
210
|
+
const cs = bin.length / 33;
|
|
211
|
+
const hashBits = bin.slice(-cs);
|
|
212
|
+
const nonhashBits = bin.slice(0, bin.length - cs);
|
|
213
|
+
const buf = [];
|
|
214
|
+
for (let i = 0; i < nonhashBits.length / 8; i++) {
|
|
215
|
+
buf.push(parseInt(bin.slice(i * 8, (i + 1) * 8), 2));
|
|
216
|
+
}
|
|
217
|
+
const hash = Hash.sha256(buf.slice(0, nonhashBits.length / 8));
|
|
218
|
+
let expectedHashBits = hash[0].toString(2);
|
|
219
|
+
expectedHashBits = ('00000000' + expectedHashBits).slice(-8).slice(0, cs);
|
|
220
|
+
return expectedHashBits === hashBits;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Converts a mnemonic to a seed.
|
|
224
|
+
* This method takes the instance's mnemonic phrase, combines it with a passphrase (if provided),
|
|
225
|
+
* and uses PBKDF2 to generate a seed. It also validates the mnemonic before conversion.
|
|
226
|
+
* This seed can then be used for generating deterministic keys.
|
|
227
|
+
* @param {string} [passphrase=''] - An optional passphrase for added security.
|
|
228
|
+
* @returns {this} The BIP39 instance with the seed generated from the mnemonic.
|
|
229
|
+
* @throws {Error} If the mnemonic does not pass validation or if the passphrase is not a string.
|
|
230
|
+
*/
|
|
231
|
+
mnemonic2Seed(passphrase = '') {
|
|
232
|
+
let mnemonic = this.mnemonic;
|
|
233
|
+
if (!this.check()) {
|
|
234
|
+
throw new Error('Mnemonic does not pass the check - was the mnemonic typed incorrectly? Are there extra spaces?');
|
|
235
|
+
}
|
|
236
|
+
if (typeof passphrase !== 'string') {
|
|
237
|
+
throw new Error('passphrase must be a string or undefined');
|
|
238
|
+
}
|
|
239
|
+
mnemonic = mnemonic.normalize('NFKD');
|
|
240
|
+
passphrase = passphrase.normalize('NFKD');
|
|
241
|
+
const mbuf = toArray(mnemonic, 'utf8');
|
|
242
|
+
const pbuf = [...toArray('mnemonic', 'utf8'), ...toArray(passphrase, 'utf8')];
|
|
243
|
+
this.seed = Hash.pbkdf2(mbuf, pbuf, 2048, 64, 'sha512');
|
|
244
|
+
return this;
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Determines the validity of a given passphrase with the mnemonic.
|
|
248
|
+
* This method is useful for checking if a passphrase matches with the mnemonic.
|
|
249
|
+
* @param {string} [passphrase=''] - The passphrase to validate.
|
|
250
|
+
* @returns {boolean} True if the mnemonic and passphrase combination is valid, false otherwise.
|
|
251
|
+
*/
|
|
252
|
+
isValid(passphrase = '') {
|
|
253
|
+
let isValid;
|
|
254
|
+
try {
|
|
255
|
+
isValid = !!this.mnemonic2Seed(passphrase);
|
|
256
|
+
}
|
|
257
|
+
catch (err) {
|
|
258
|
+
isValid = false;
|
|
259
|
+
}
|
|
260
|
+
return isValid;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Static method to check the validity of a given mnemonic and passphrase combination.
|
|
264
|
+
* @param {string} mnemonic - The mnemonic phrase.
|
|
265
|
+
* @param {string} [passphrase=''] - The passphrase to validate.
|
|
266
|
+
* @returns {boolean} True if the combination is valid, false otherwise.
|
|
267
|
+
*/
|
|
268
|
+
static isValid(mnemonic, passphrase = '') {
|
|
269
|
+
return new BIP39(mnemonic).isValid(passphrase);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
//# sourceMappingURL=BIP39.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BIP39.js","sourceRoot":"","sources":["../../../../src/compat/BIP39.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Utxo.js","sourceRoot":"","sources":["../../../../src/compat/Utxo.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,+BAA+B,CAAA;AAEvD,OAAO,aAAa,MAAM,4BAA4B,CAAA;AAStD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAE,IAAc,EAAE,uBAGjD;IACC,MAAM,iBAAiB,GAAG,IAAI,WAAW,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,CAAA;IACvD,iBAAiB,CAAC,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC3D,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG;QACrC,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,aAAa,EAAE,aAAa,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;KAClD,CAAA;IACD,OAAO;QACL,iBAAiB;QACjB,iBAAiB,EAAE,IAAI,CAAC,IAAI;QAC5B,uBAAuB;QACvB,QAAQ,EAAE,UAAU;KACrB,CAAA;AACH,CAAC"}
|
|
1
|
+
{"version":3,"file":"Utxo.js","sourceRoot":"","sources":["../../../../src/compat/Utxo.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,+BAA+B,CAAA;AAEvD,OAAO,aAAa,MAAM,4BAA4B,CAAA;AAStD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAE,IAAc,EAAE,uBAGjD;IACC,MAAM,iBAAiB,GAAG,IAAI,WAAW,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,CAAA;IACvD,iBAAiB,CAAC,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC3D,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG;QACrC,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,aAAa,EAAE,aAAa,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;KAClD,CAAA;IACD,OAAO;QACL,iBAAiB;QACjB,UAAU,EAAE,IAAI,CAAC,IAAI;QACrB,iBAAiB,EAAE,IAAI,CAAC,IAAI;QAC5B,uBAAuB;QACvB,QAAQ,EAAE,UAAU;KACrB,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAA"}
|
|
@@ -452,7 +452,7 @@ export default class Transaction {
|
|
|
452
452
|
writer.writeUInt32LE(this.version);
|
|
453
453
|
writer.writeVarIntNum(this.inputs.length);
|
|
454
454
|
for (const i of this.inputs) {
|
|
455
|
-
if (typeof i.
|
|
455
|
+
if (typeof i.sourceTXID === 'undefined') {
|
|
456
456
|
writer.write(i.sourceTransaction.hash());
|
|
457
457
|
}
|
|
458
458
|
else {
|
|
@@ -619,8 +619,11 @@ export default class Transaction {
|
|
|
619
619
|
}
|
|
620
620
|
const otherInputs = [...this.inputs];
|
|
621
621
|
otherInputs.splice(i, 1);
|
|
622
|
+
if (typeof input.sourceTXID === 'undefined') {
|
|
623
|
+
input.sourceTXID = input.sourceTransaction.id('hex');
|
|
624
|
+
}
|
|
622
625
|
const spend = new Spend({
|
|
623
|
-
sourceTXID: input.
|
|
626
|
+
sourceTXID: input.sourceTXID,
|
|
624
627
|
sourceOutputIndex: input.sourceOutputIndex,
|
|
625
628
|
lockingScript: sourceOutput.lockingScript,
|
|
626
629
|
sourceSatoshis: sourceOutput.satoshis,
|