auto-commit for 3a02b3dd-cebb-4882-bfc5-dbb637e71a6d

This commit is contained in:
emergent-agent-e1
2025-11-08 10:27:44 +00:00
parent 0a8c0df2e1
commit 7ae3a6d0ec
1906 changed files with 1906 additions and 0 deletions
@@ -0,0 +1 @@
{"dependencies":[{"name":"../base58/index.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":19,"index":133},"end":{"line":4,"column":48,"index":162}}],"key":"imkmv9NUxjLUGHzCBJMTMZYgb2g=","exportNames":["*"],"imports":1}},{"name":"./checksum.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":22,"index":186},"end":{"line":5,"column":46,"index":210}}],"key":"ECG1Fw1wjHMGRMdutRA60e9o9/U=","exportNames":["*"],"imports":1}},{"name":"./defaults.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":22,"index":234},"end":{"line":6,"column":46,"index":258}}],"key":"8zlNL/bdiu3zO8WGWvKdyGqOG5I=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.checkAddress = checkAddress;\n const index_js_1 = require(_dependencyMap[0], \"../base58/index.js\");\n const checksum_js_1 = require(_dependencyMap[1], \"./checksum.js\");\n const defaults_js_1 = require(_dependencyMap[2], \"./defaults.js\");\n /**\n * @name checkAddress\n * @summary Validates an ss58 address.\n * @description\n * From the provided input, validate that the address is a valid input.\n */\n function checkAddress(address, prefix) {\n let decoded;\n try {\n decoded = (0, index_js_1.base58Decode)(address);\n } catch (error) {\n return [false, error.message];\n }\n const [isValid,,, ss58Decoded] = (0, checksum_js_1.checkAddressChecksum)(decoded);\n if (ss58Decoded !== prefix) {\n return [false, `Prefix mismatch, expected ${prefix}, found ${ss58Decoded}`];\n } else if (!defaults_js_1.defaults.allowedEncodedLengths.includes(decoded.length)) {\n return [false, 'Invalid decoded address length'];\n }\n return [isValid, isValid ? null : 'Invalid decoded address checksum'];\n }\n});","lineCount":32,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"checkAddress"],[7,22,3,20],[7,25,3,23,"checkAddress"],[7,37,3,35],[8,2,4,0],[8,8,4,6,"index_js_1"],[8,18,4,16],[8,21,4,19,"require"],[8,28,4,26],[8,29,4,26,"_dependencyMap"],[8,43,4,26],[8,68,4,47],[8,69,4,48],[9,2,5,0],[9,8,5,6,"checksum_js_1"],[9,21,5,19],[9,24,5,22,"require"],[9,31,5,29],[9,32,5,29,"_dependencyMap"],[9,46,5,29],[9,66,5,45],[9,67,5,46],[10,2,6,0],[10,8,6,6,"defaults_js_1"],[10,21,6,19],[10,24,6,22,"require"],[10,31,6,29],[10,32,6,29,"_dependencyMap"],[10,46,6,29],[10,66,6,45],[10,67,6,46],[11,2,7,0],[12,0,8,0],[13,0,9,0],[14,0,10,0],[15,0,11,0],[16,0,12,0],[17,2,13,0],[17,11,13,9,"checkAddress"],[17,23,13,21,"checkAddress"],[17,24,13,22,"address"],[17,31,13,29],[17,33,13,31,"prefix"],[17,39,13,37],[17,41,13,39],[18,4,14,4],[18,8,14,8,"decoded"],[18,15,14,15],[19,4,15,4],[19,8,15,8],[20,6,16,8,"decoded"],[20,13,16,15],[20,16,16,18],[20,17,16,19],[20,18,16,20],[20,20,16,22,"index_js_1"],[20,30,16,32],[20,31,16,33,"base58Decode"],[20,43,16,45],[20,45,16,47,"address"],[20,52,16,54],[20,53,16,55],[21,4,17,4],[21,5,17,5],[21,6,18,4],[21,13,18,11,"error"],[21,18,18,16],[21,20,18,18],[22,6,19,8],[22,13,19,15],[22,14,19,16],[22,19,19,21],[22,21,19,23,"error"],[22,26,19,28],[22,27,19,29,"message"],[22,34,19,36],[22,35,19,37],[23,4,20,4],[24,4,21,4],[24,10,21,10],[24,11,21,11,"isValid"],[24,18,21,18],[24,22,21,24,"ss58Decoded"],[24,33,21,35],[24,34,21,36],[24,37,21,39],[24,38,21,40],[24,39,21,41],[24,41,21,43,"checksum_js_1"],[24,54,21,56],[24,55,21,57,"checkAddressChecksum"],[24,75,21,77],[24,77,21,79,"decoded"],[24,84,21,86],[24,85,21,87],[25,4,22,4],[25,8,22,8,"ss58Decoded"],[25,19,22,19],[25,24,22,24,"prefix"],[25,30,22,30],[25,32,22,32],[26,6,23,8],[26,13,23,15],[26,14,23,16],[26,19,23,21],[26,21,23,23],[26,50,23,52,"prefix"],[26,56,23,58],[26,67,23,69,"ss58Decoded"],[26,78,23,80],[26,80,23,82],[26,81,23,83],[27,4,24,4],[27,5,24,5],[27,11,25,9],[27,15,25,13],[27,16,25,14,"defaults_js_1"],[27,29,25,27],[27,30,25,28,"defaults"],[27,38,25,36],[27,39,25,37,"allowedEncodedLengths"],[27,60,25,58],[27,61,25,59,"includes"],[27,69,25,67],[27,70,25,68,"decoded"],[27,77,25,75],[27,78,25,76,"length"],[27,84,25,82],[27,85,25,83],[27,87,25,85],[28,6,26,8],[28,13,26,15],[28,14,26,16],[28,19,26,21],[28,21,26,23],[28,53,26,55],[28,54,26,56],[29,4,27,4],[30,4,28,4],[30,11,28,11],[30,12,28,12,"isValid"],[30,19,28,19],[30,21,28,21,"isValid"],[30,28,28,28],[30,31,28,31],[30,35,28,35],[30,38,28,38],[30,72,28,72],[30,73,28,73],[31,2,29,0],[32,0,29,1],[32,3]],"functionMap":{"names":["<global>","checkAddress"],"mappings":"AAA;ACY;CDgB"},"hasCjsExports":true},"type":"js/module"}]}
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"dependencies":[],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n Object.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return _default;\n }\n });\n var _default = (matrix, size) => {\n const cellSize = size / matrix.length;\n let path = '';\n matrix.forEach((row, i) => {\n let needDraw = false;\n row.forEach((column, j) => {\n if (column) {\n if (!needDraw) {\n path += `M${cellSize * j} ${cellSize / 2 + cellSize * i} `;\n needDraw = true;\n }\n if (needDraw && j === matrix.length - 1) {\n path += `L${cellSize * (j + 1)} ${cellSize / 2 + cellSize * i} `;\n }\n } else {\n if (needDraw) {\n path += `L${cellSize * j} ${cellSize / 2 + cellSize * i} `;\n needDraw = false;\n }\n }\n });\n });\n return {\n cellSize,\n path\n };\n };\n});","lineCount":40,"map":[[7,2,1,0,"Object"],[7,8,1,0],[7,9,1,0,"defineProperty"],[7,23,1,0],[7,24,1,0,"exports"],[7,31,1,0],[8,4,1,0,"enumerable"],[8,14,1,0],[9,4,1,0,"get"],[9,7,1,0],[9,18,1,0,"get"],[9,19,1,0],[10,6,1,0],[10,13,1,0,"_default"],[10,21,1,0],[11,4,1,0],[12,2,1,0],[13,2,1,0],[13,6,1,0,"_default"],[13,14,1,0],[13,17,1,15,"_default"],[13,18,1,16,"matrix"],[13,24,1,22],[13,26,1,24,"size"],[13,30,1,28],[13,35,1,33],[14,4,2,2],[14,10,2,8,"cellSize"],[14,18,2,16],[14,21,2,19,"size"],[14,25,2,23],[14,28,2,26,"matrix"],[14,34,2,32],[14,35,2,33,"length"],[14,41,2,39],[15,4,3,2],[15,8,3,6,"path"],[15,12,3,10],[15,15,3,13],[15,17,3,15],[16,4,4,2,"matrix"],[16,10,4,8],[16,11,4,9,"forEach"],[16,18,4,16],[16,19,4,17],[16,20,4,18,"row"],[16,23,4,21],[16,25,4,23,"i"],[16,26,4,24],[16,31,4,29],[17,6,5,4],[17,10,5,8,"needDraw"],[17,18,5,16],[17,21,5,19],[17,26,5,24],[18,6,6,4,"row"],[18,9,6,7],[18,10,6,8,"forEach"],[18,17,6,15],[18,18,6,16],[18,19,6,17,"column"],[18,25,6,23],[18,27,6,25,"j"],[18,28,6,26],[18,33,6,31],[19,8,7,6],[19,12,7,10,"column"],[19,18,7,16],[19,20,7,18],[20,10,8,8],[20,14,8,12],[20,15,8,13,"needDraw"],[20,23,8,21],[20,25,8,23],[21,12,9,10,"path"],[21,16,9,14],[21,20,9,18],[21,24,9,22,"cellSize"],[21,32,9,30],[21,35,9,33,"j"],[21,36,9,34],[21,40,9,38,"cellSize"],[21,48,9,46],[21,51,9,49],[21,52,9,50],[21,55,9,53,"cellSize"],[21,63,9,61],[21,66,9,64,"i"],[21,67,9,65],[21,70,9,68],[22,12,10,10,"needDraw"],[22,20,10,18],[22,23,10,21],[22,27,10,25],[23,10,11,8],[24,10,12,8],[24,14,12,12,"needDraw"],[24,22,12,20],[24,26,12,24,"j"],[24,27,12,25],[24,32,12,30,"matrix"],[24,38,12,36],[24,39,12,37,"length"],[24,45,12,43],[24,48,12,46],[24,49,12,47],[24,51,12,49],[25,12,13,10,"path"],[25,16,13,14],[25,20,13,18],[25,24,13,22,"cellSize"],[25,32,13,30],[25,36,13,34,"j"],[25,37,13,35],[25,40,13,38],[25,41,13,39],[25,42,13,40],[25,46,13,44,"cellSize"],[25,54,13,52],[25,57,13,55],[25,58,13,56],[25,61,13,59,"cellSize"],[25,69,13,67],[25,72,13,70,"i"],[25,73,13,71],[25,76,13,74],[26,10,14,8],[27,8,15,6],[27,9,15,7],[27,15,15,13],[28,10,16,8],[28,14,16,12,"needDraw"],[28,22,16,20],[28,24,16,22],[29,12,17,10,"path"],[29,16,17,14],[29,20,17,18],[29,24,17,22,"cellSize"],[29,32,17,30],[29,35,17,33,"j"],[29,36,17,34],[29,40,17,38,"cellSize"],[29,48,17,46],[29,51,17,49],[29,52,17,50],[29,55,17,53,"cellSize"],[29,63,17,61],[29,66,17,64,"i"],[29,67,17,65],[29,70,17,68],[30,12,18,10,"needDraw"],[30,20,18,18],[30,23,18,21],[30,28,18,26],[31,10,19,8],[32,8,20,6],[33,6,21,4],[33,7,21,5],[33,8,21,6],[34,4,22,2],[34,5,22,3],[34,6,22,4],[35,4,23,2],[35,11,23,9],[36,6,24,4,"cellSize"],[36,14,24,12],[37,6,25,4,"path"],[38,4,26,2],[38,5,26,3],[39,2,27,0],[39,3,27,1],[40,0,27,1],[40,3]],"functionMap":{"names":["<global>","default","matrix.forEach$argument_0","row.forEach$argument_0"],"mappings":"AAA,eC;iBCG;gBCE;KDe;GDC;CDK"},"hasCjsExports":false},"type":"js/module"}]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"dependencies":[{"name":"@polkadot/types-codec","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":22,"index":148},"end":{"line":4,"column":54,"index":180}}],"key":"fW1yxuTjZe66ggmM4ihNuGjKSV0=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.GenericExtrinsicPayloadUnknown = void 0;\n const types_codec_1 = require(_dependencyMap[0], \"@polkadot/types-codec\");\n /**\n * @name GenericExtrinsicPayloadUnknown\n * @description\n * A default handler for payloads where the version is not known (default throw)\n */\n class GenericExtrinsicPayloadUnknown extends types_codec_1.Struct {\n constructor(registry, _value, {\n version = 0\n } = {}) {\n super(registry, {});\n throw new Error(`Unsupported extrinsic payload version ${version}`);\n }\n }\n exports.GenericExtrinsicPayloadUnknown = GenericExtrinsicPayloadUnknown;\n});","lineCount":23,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"GenericExtrinsicPayloadUnknown"],[7,40,3,38],[7,43,3,41],[7,48,3,46],[7,49,3,47],[8,2,4,0],[8,8,4,6,"types_codec_1"],[8,21,4,19],[8,24,4,22,"require"],[8,31,4,29],[8,32,4,29,"_dependencyMap"],[8,46,4,29],[8,74,4,53],[8,75,4,54],[9,2,5,0],[10,0,6,0],[11,0,7,0],[12,0,8,0],[13,0,9,0],[14,2,10,0],[14,8,10,6,"GenericExtrinsicPayloadUnknown"],[14,38,10,36],[14,47,10,45,"types_codec_1"],[14,60,10,58],[14,61,10,59,"Struct"],[14,67,10,65],[14,68,10,66],[15,4,11,4,"constructor"],[15,15,11,15,"constructor"],[15,16,11,16,"registry"],[15,24,11,24],[15,26,11,26,"_value"],[15,32,11,32],[15,34,11,34],[16,6,11,36,"version"],[16,13,11,43],[16,16,11,46],[17,4,11,48],[17,5,11,49],[17,8,11,52],[17,9,11,53],[17,10,11,54],[17,12,11,56],[18,6,12,8],[18,11,12,13],[18,12,12,14,"registry"],[18,20,12,22],[18,22,12,24],[18,23,12,25],[18,24,12,26],[18,25,12,27],[19,6,13,8],[19,12,13,14],[19,16,13,18,"Error"],[19,21,13,23],[19,22,13,24],[19,63,13,65,"version"],[19,70,13,72],[19,72,13,74],[19,73,13,75],[20,4,14,4],[21,2,15,0],[22,2,16,0,"exports"],[22,9,16,7],[22,10,16,8,"GenericExtrinsicPayloadUnknown"],[22,40,16,38],[22,43,16,41,"GenericExtrinsicPayloadUnknown"],[22,73,16,71],[23,0,16,72],[23,3]],"functionMap":{"names":["<global>","GenericExtrinsicPayloadUnknown","GenericExtrinsicPayloadUnknown#constructor"],"mappings":"AAA;ACS;ICC;KDG;CDC"},"hasCjsExports":true},"type":"js/module"}]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"dependencies":[{"name":"./loadBundle","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":8,"column":0,"index":174},"end":{"line":8,"column":47,"index":221}}],"key":"jljeoWVQzF4LXjGM8Z03gUTHSCQ=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n exports.buildAsyncRequire = buildAsyncRequire;\n var _loadBundle = require(_dependencyMap[0], \"./loadBundle\");\n /**\n * Copyright © 2022 650 Industries.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n /**\n * Must satisfy the requirements of the Metro bundler.\n * https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0605-lazy-bundling.md#__loadbundleasync-in-metro\n */\n\n /** Create an `loadBundleAsync` function in the expected shape for Metro bundler. */\n function buildAsyncRequire() {\n const cache = new Map();\n return async function universal_loadBundleAsync(path) {\n if (cache.has(path)) {\n return cache.get(path);\n }\n const promise = (0, _loadBundle.loadBundleAsync)(path).catch(error => {\n cache.delete(path);\n throw error;\n });\n cache.set(path, promise);\n return promise;\n };\n }\n});","lineCount":36,"map":[[7,2,17,0,"exports"],[7,9,17,0],[7,10,17,0,"buildAsyncRequire"],[7,27,17,0],[7,30,17,0,"buildAsyncRequire"],[7,47,17,0],[8,2,8,0],[8,6,8,0,"_loadBundle"],[8,17,8,0],[8,20,8,0,"require"],[8,27,8,0],[8,28,8,0,"_dependencyMap"],[8,42,8,0],[9,2,1,0],[10,0,2,0],[11,0,3,0],[12,0,4,0],[13,0,5,0],[14,0,6,0],[16,2,10,0],[17,0,11,0],[18,0,12,0],[19,0,13,0],[21,2,16,0],[22,2,17,7],[22,11,17,16,"buildAsyncRequire"],[22,28,17,33,"buildAsyncRequire"],[22,29,17,33],[22,31,17,50],[23,4,18,2],[23,10,18,8,"cache"],[23,15,18,13],[23,18,18,16],[23,22,18,20,"Map"],[23,25,18,23],[23,26,18,47],[23,27,18,48],[24,4,20,2],[24,11,20,9],[24,26,20,24,"universal_loadBundleAsync"],[24,51,20,49,"universal_loadBundleAsync"],[24,52,20,50,"path"],[24,56,20,62],[24,58,20,79],[25,6,21,4],[25,10,21,8,"cache"],[25,15,21,13],[25,16,21,14,"has"],[25,19,21,17],[25,20,21,18,"path"],[25,24,21,22],[25,25,21,23],[25,27,21,25],[26,8,22,6],[26,15,22,13,"cache"],[26,20,22,18],[26,21,22,19,"get"],[26,24,22,22],[26,25,22,23,"path"],[26,29,22,27],[26,30,22,28],[27,6,23,4],[28,6,25,4],[28,12,25,10,"promise"],[28,19,25,17],[28,22,25,20],[28,26,25,20,"loadBundleAsync"],[28,37,25,35],[28,38,25,35,"loadBundleAsync"],[28,53,25,35],[28,55,25,36,"path"],[28,59,25,40],[28,60,25,41],[28,61,25,42,"catch"],[28,66,25,47],[28,67,25,49,"error"],[28,72,25,54],[28,76,25,59],[29,8,26,6,"cache"],[29,13,26,11],[29,14,26,12,"delete"],[29,20,26,18],[29,21,26,19,"path"],[29,25,26,23],[29,26,26,24],[30,8,27,6],[30,14,27,12,"error"],[30,19,27,17],[31,6,28,4],[31,7,28,5],[31,8,28,6],[32,6,30,4,"cache"],[32,11,30,9],[32,12,30,10,"set"],[32,15,30,13],[32,16,30,14,"path"],[32,20,30,18],[32,22,30,20,"promise"],[32,29,30,27],[32,30,30,28],[33,6,32,4],[33,13,32,11,"promise"],[33,20,32,18],[34,4,33,2],[34,5,33,3],[35,2,34,0],[36,0,34,1],[36,3]],"functionMap":{"names":["<global>","buildAsyncRequire","universal_loadBundleAsync","loadBundleAsync._catch$argument_0"],"mappings":"AAA;OCgB;SCG;gDCK;KDG;GDK;CDC"},"hasCjsExports":false},"type":"js/module"}]}