auto-commit for 49610908-ca1e-46b7-8671-ad75c85b7aa2

This commit is contained in:
emergent-agent-e1
2025-11-08 11:08:44 +00:00
parent 0373b73c4f
commit 32d0877be4
340 changed files with 340 additions and 0 deletions
@@ -0,0 +1 @@
{"dependencies":[{"name":"./toU8a.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":76},"end":{"line":4,"column":41,"index":117}}],"key":"3bOyH77e/8Wc8K55bqHxvmXdM0A=","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 Object.defineProperty(exports, \"bufferToU8a\", {\n enumerable: true,\n get: function () {\n return _toU8aJs.bufferToU8a;\n }\n });\n var _toU8aJs = require(_dependencyMap[0], \"./toU8a.js\");\n});","lineCount":14,"map":[[7,2,4,0,"Object"],[7,8,4,0],[7,9,4,0,"defineProperty"],[7,23,4,0],[7,24,4,0,"exports"],[7,31,4,0],[8,4,4,0,"enumerable"],[8,14,4,0],[9,4,4,0,"get"],[9,7,4,0],[9,18,4,0,"get"],[9,19,4,0],[10,6,4,0],[10,13,4,0,"_toU8aJs"],[10,21,4,0],[10,22,4,0,"bufferToU8a"],[10,33,4,0],[11,4,4,0],[12,2,4,0],[13,2,4,0],[13,6,4,0,"_toU8aJs"],[13,14,4,0],[13,17,4,0,"require"],[13,24,4,0],[13,25,4,0,"_dependencyMap"],[13,39,4,0],[14,0,4,41],[14,3]],"functionMap":{"names":["<global>"],"mappings":"AAA"},"hasCjsExports":false},"type":"js/module"}]}
@@ -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 exports.arrayRange = arrayRange;\n /**\n * @name arrayRange\n * @summary Returns a range of numbers ith the size and the specified offset\n * @description\n * Returns a new array of numbers with the specific size. Optionally, when `startAt`, is provided, it generates the range to start at a specific value.\n * @example\n * <BR>\n *\n * ```javascript\n * import { arrayRange } from '@polkadot/util';\n *\n * arrayRange(5); // [0, 1, 2, 3, 4]\n * arrayRange(3, 5); // [5, 6, 7]\n * ```\n */\n function arrayRange(size, startAt = 0) {\n if (size <= 0) {\n throw new Error('Expected non-zero, positive number as a range size');\n }\n const result = new Array(size);\n for (let i = 0; i < size; i++) {\n result[i] = i + startAt;\n }\n return result;\n }\n});","lineCount":33,"map":[[7,2,16,0,"exports"],[7,9,16,0],[7,10,16,0,"arrayRange"],[7,20,16,0],[7,23,16,0,"arrayRange"],[7,33,16,0],[8,2,1,0],[9,0,2,0],[10,0,3,0],[11,0,4,0],[12,0,5,0],[13,0,6,0],[14,0,7,0],[15,0,8,0],[16,0,9,0],[17,0,10,0],[18,0,11,0],[19,0,12,0],[20,0,13,0],[21,0,14,0],[22,0,15,0],[23,2,16,7],[23,11,16,16,"arrayRange"],[23,21,16,26,"arrayRange"],[23,22,16,27,"size"],[23,26,16,31],[23,28,16,33,"startAt"],[23,35,16,40],[23,38,16,43],[23,39,16,44],[23,41,16,46],[24,4,17,4],[24,8,17,8,"size"],[24,12,17,12],[24,16,17,16],[24,17,17,17],[24,19,17,19],[25,6,18,8],[25,12,18,14],[25,16,18,18,"Error"],[25,21,18,23],[25,22,18,24],[25,74,18,76],[25,75,18,77],[26,4,19,4],[27,4,20,4],[27,10,20,10,"result"],[27,16,20,16],[27,19,20,19],[27,23,20,23,"Array"],[27,28,20,28],[27,29,20,29,"size"],[27,33,20,33],[27,34,20,34],[28,4,21,4],[28,9,21,9],[28,13,21,13,"i"],[28,14,21,14],[28,17,21,17],[28,18,21,18],[28,20,21,20,"i"],[28,21,21,21],[28,24,21,24,"size"],[28,28,21,28],[28,30,21,30,"i"],[28,31,21,31],[28,33,21,33],[28,35,21,35],[29,6,22,8,"result"],[29,12,22,14],[29,13,22,15,"i"],[29,14,22,16],[29,15,22,17],[29,18,22,20,"i"],[29,19,22,21],[29,22,22,24,"startAt"],[29,29,22,31],[30,4,23,4],[31,4,24,4],[31,11,24,11,"result"],[31,17,24,17],[32,2,25,0],[33,0,25,1],[33,3]],"functionMap":{"names":["<global>","arrayRange"],"mappings":"AAA;OCe;CDS"},"hasCjsExports":false},"type":"js/module"}]}
@@ -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, \"packageInfo\", {\n enumerable: true,\n get: function () {\n return packageInfo;\n }\n });\n const packageInfo = {\n name: '@polkadot/x-textencoder',\n path: globalThis.__ExpoImportMetaRegistry && globalThis.__ExpoImportMetaRegistry.url ? new URL(globalThis.__ExpoImportMetaRegistry.url).pathname.substring(0, new URL(globalThis.__ExpoImportMetaRegistry.url).pathname.lastIndexOf('/') + 1) : 'auto',\n type: 'esm',\n version: '13.5.7'\n };\n});","lineCount":19,"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,"packageInfo"],[10,24,1,0],[11,4,1,0],[12,2,1,0],[13,2,1,7],[13,8,1,13,"packageInfo"],[13,19,1,24],[13,22,1,27],[14,4,1,29,"name"],[14,8,1,33],[14,10,1,35],[14,35,1,60],[15,4,1,62,"path"],[15,8,1,66],[15,10,1,69,"globalThis"],[15,20,1,69],[15,21,1,69,"__ExpoImportMetaRegistry"],[15,45,1,69],[15,49,1,84,"globalThis"],[15,59,1,84],[15,60,1,84,"__ExpoImportMetaRegistry"],[15,84,1,84],[15,85,1,96,"url"],[15,88,1,99],[15,91,1,103],[15,95,1,107,"URL"],[15,98,1,110],[15,99,1,111,"globalThis"],[15,109,1,111],[15,110,1,111,"__ExpoImportMetaRegistry"],[15,134,1,111],[15,135,1,123,"url"],[15,138,1,126],[15,139,1,127],[15,140,1,128,"pathname"],[15,148,1,136],[15,149,1,137,"substring"],[15,158,1,146],[15,159,1,147],[15,160,1,148],[15,162,1,150],[15,166,1,154,"URL"],[15,169,1,157],[15,170,1,158,"globalThis"],[15,180,1,158],[15,181,1,158,"__ExpoImportMetaRegistry"],[15,205,1,158],[15,206,1,170,"url"],[15,209,1,173],[15,210,1,174],[15,211,1,175,"pathname"],[15,219,1,183],[15,220,1,184,"lastIndexOf"],[15,231,1,195],[15,232,1,196],[15,235,1,199],[15,236,1,200],[15,239,1,203],[15,240,1,204],[15,241,1,205],[15,244,1,208],[15,250,1,214],[16,4,1,216,"type"],[16,8,1,220],[16,10,1,222],[16,15,1,227],[17,4,1,229,"version"],[17,11,1,236],[17,13,1,238],[18,2,1,247],[18,3,1,248],[19,0,1,249],[19,3]],"functionMap":{"names":["<global>"],"mappings":"AAA"},"hasCjsExports":false},"type":"js/module"}]}
@@ -0,0 +1 @@
{"dependencies":[{"name":"./fromU8a.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":46,"index":46}}],"key":"iUkI7q+RA3L90x8A4JweQCfPTok=","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.compactStripLength = compactStripLength;\n var _fromU8aJs = require(_dependencyMap[0], \"./fromU8a.js\");\n /**\n * @name compactStripLength\n * @description Removes the length prefix, returning both the total length (including the value + compact encoding) and the decoded value with the correct length\n * @example\n * <BR>\n *\n * ```javascript\n * import { compactStripLength } from '@polkadot/util';\n *\n * console.log(compactStripLength(new Uint8Array([2 << 2, 0xde, 0xad]))); // [2, Uint8Array[0xde, 0xad]]\n * ```\n */\n function compactStripLength(input) {\n const [offset, length] = (0, _fromU8aJs.compactFromU8a)(input);\n const total = offset + length.toNumber();\n return [total, input.subarray(offset, total)];\n }\n});","lineCount":26,"map":[[7,2,14,0,"exports"],[7,9,14,0],[7,10,14,0,"compactStripLength"],[7,28,14,0],[7,31,14,0,"compactStripLength"],[7,49,14,0],[8,2,1,0],[8,6,1,0,"_fromU8aJs"],[8,16,1,0],[8,19,1,0,"require"],[8,26,1,0],[8,27,1,0,"_dependencyMap"],[8,41,1,0],[9,2,2,0],[10,0,3,0],[11,0,4,0],[12,0,5,0],[13,0,6,0],[14,0,7,0],[15,0,8,0],[16,0,9,0],[17,0,10,0],[18,0,11,0],[19,0,12,0],[20,0,13,0],[21,2,14,7],[21,11,14,16,"compactStripLength"],[21,29,14,34,"compactStripLength"],[21,30,14,35,"input"],[21,35,14,40],[21,37,14,42],[22,4,15,4],[22,10,15,10],[22,11,15,11,"offset"],[22,17,15,17],[22,19,15,19,"length"],[22,25,15,25],[22,26,15,26],[22,29,15,29],[22,33,15,29,"compactFromU8a"],[22,43,15,43],[22,44,15,43,"compactFromU8a"],[22,58,15,43],[22,60,15,44,"input"],[22,65,15,49],[22,66,15,50],[23,4,16,4],[23,10,16,10,"total"],[23,15,16,15],[23,18,16,18,"offset"],[23,24,16,24],[23,27,16,27,"length"],[23,33,16,33],[23,34,16,34,"toNumber"],[23,42,16,42],[23,43,16,43],[23,44,16,44],[24,4,17,4],[24,11,17,11],[24,12,18,8,"total"],[24,17,18,13],[24,19,19,8,"input"],[24,24,19,13],[24,25,19,14,"subarray"],[24,33,19,22],[24,34,19,23,"offset"],[24,40,19,29],[24,42,19,31,"total"],[24,47,19,36],[24,48,19,37],[24,49,20,5],[25,2,21,0],[26,0,21,1],[26,3]],"functionMap":{"names":["<global>","compactStripLength"],"mappings":"AAA;OCa;CDO"},"hasCjsExports":false},"type":"js/module"}]}