mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 16:51:02 +00:00
1 line
10 KiB
Plaintext
1 line
10 KiB
Plaintext
{"dependencies":[{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":66,"index":66}}],"key":"ISHU1ovvPMrCldqRjtd1JhW9dyo=","exportNames":["*"],"imports":1}},{"name":"../abstract/Array.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":67},"end":{"line":2,"column":53,"index":120}}],"key":"+rrStDZXBVBeKkHtHTajAdhokwk=","exportNames":["*"],"imports":1}},{"name":"../utils/index.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":121},"end":{"line":3,"column":68,"index":189}}],"key":"yx9DX+1vet++JoKlU5V/nikNahM=","exportNames":["*"],"imports":1}},{"name":"./Vec.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":190},"end":{"line":4,"column":37,"index":227}}],"key":"JPgREAIlAiDOozIPmeEj3JowM/g=","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, \"VecFixed\", {\n enumerable: true,\n get: function () {\n return VecFixed;\n }\n });\n var _polkadotUtil = require(_dependencyMap[0], \"@polkadot/util\");\n var _abstractArrayJs = require(_dependencyMap[1], \"../abstract/Array.js\");\n var _utilsIndexJs = require(_dependencyMap[2], \"../utils/index.js\");\n var _VecJs = require(_dependencyMap[3], \"./Vec.js\");\n /**\n * @name VecFixed\n * @description\n * This manages codec arrays of a fixed length\n */\n class VecFixed extends _abstractArrayJs.AbstractArray {\n #Type;\n constructor(registry, Type, length, value = [], {\n definition,\n setDefinition = _polkadotUtil.identity\n } = {}) {\n super(registry, length);\n this.#Type = definition || setDefinition((0, _utilsIndexJs.typeToConstructor)(registry, Type));\n this.initialU8aLength = ((0, _polkadotUtil.isU8a)(value) ? (0, _utilsIndexJs.decodeU8aVec)(registry, this, value, 0, this.#Type) : (0, _VecJs.decodeVec)(registry, this, value, 0, this.#Type))[1];\n }\n static with(Type, length) {\n let definition;\n // eslint-disable-next-line no-return-assign\n const setDefinition = d => definition = d;\n return class extends VecFixed {\n constructor(registry, value) {\n super(registry, Type, length, value, {\n definition,\n setDefinition\n });\n }\n };\n }\n /**\n * @description The type for the items\n */\n get Type() {\n return new this.#Type(this.registry).toRawType();\n }\n /**\n * @description The length of the value when encoded as a Uint8Array\n */\n get encodedLength() {\n let total = 0;\n for (let i = 0, count = this.length; i < count; i++) {\n total += this[i].encodedLength;\n }\n return total;\n }\n /**\n * @description Returns a breakdown of the hex encoding for this Codec\n */\n inspect() {\n return {\n inner: this.inspectInner()\n };\n }\n toU8a() {\n // we override, we don't add the length prefix for ourselves, and at the same time we\n // ignore isBare on entries, since they should be properly encoded at all times\n const encoded = this.toU8aInner();\n return encoded.length ? (0, _polkadotUtil.u8aConcatStrict)(encoded) : new Uint8Array([]);\n }\n /**\n * @description Returns the base runtime type name for this instance\n */\n toRawType() {\n return `[${this.Type};${this.length}]`;\n }\n }\n});","lineCount":82,"map":[[7,2,10,0,"Object"],[7,8,10,0],[7,9,10,0,"defineProperty"],[7,23,10,0],[7,24,10,0,"exports"],[7,31,10,0],[8,4,10,0,"enumerable"],[8,14,10,0],[9,4,10,0,"get"],[9,7,10,0],[9,18,10,0,"get"],[9,19,10,0],[10,6,10,0],[10,13,10,0,"VecFixed"],[10,21,10,0],[11,4,10,0],[12,2,10,0],[13,2,1,0],[13,6,1,0,"_polkadotUtil"],[13,19,1,0],[13,22,1,0,"require"],[13,29,1,0],[13,30,1,0,"_dependencyMap"],[13,44,1,0],[14,2,2,0],[14,6,2,0,"_abstractArrayJs"],[14,22,2,0],[14,25,2,0,"require"],[14,32,2,0],[14,33,2,0,"_dependencyMap"],[14,47,2,0],[15,2,3,0],[15,6,3,0,"_utilsIndexJs"],[15,19,3,0],[15,22,3,0,"require"],[15,29,3,0],[15,30,3,0,"_dependencyMap"],[15,44,3,0],[16,2,4,0],[16,6,4,0,"_VecJs"],[16,12,4,0],[16,15,4,0,"require"],[16,22,4,0],[16,23,4,0,"_dependencyMap"],[16,37,4,0],[17,2,5,0],[18,0,6,0],[19,0,7,0],[20,0,8,0],[21,0,9,0],[22,2,10,7],[22,8,10,13,"VecFixed"],[22,16,10,21],[22,25,10,30,"AbstractArray"],[22,41,10,43],[22,42,10,43,"AbstractArray"],[22,55,10,43],[22,56,10,44],[23,4,11,4],[23,5,11,5,"Type"],[23,9,11,9],[24,4,12,4,"constructor"],[24,15,12,15,"constructor"],[24,16,12,16,"registry"],[24,24,12,24],[24,26,12,26,"Type"],[24,30,12,30],[24,32,12,32,"length"],[24,38,12,38],[24,40,12,40,"value"],[24,45,12,45],[24,48,12,48],[24,50,12,50],[24,52,12,52],[25,6,12,54,"definition"],[25,16,12,64],[26,6,12,66,"setDefinition"],[26,19,12,79],[26,22,12,82,"identity"],[26,35,12,90],[26,36,12,90,"identity"],[27,4,12,91],[27,5,12,92],[27,8,12,95],[27,9,12,96],[27,10,12,97],[27,12,12,99],[28,6,13,8],[28,11,13,13],[28,12,13,14,"registry"],[28,20,13,22],[28,22,13,24,"length"],[28,28,13,30],[28,29,13,31],[29,6,14,8],[29,10,14,12],[29,11,14,13],[29,12,14,14,"Type"],[29,16,14,18],[29,19,14,21,"definition"],[29,29,14,31],[29,33,14,35,"setDefinition"],[29,46,14,48],[29,47,14,49],[29,51,14,49,"typeToConstructor"],[29,64,14,66],[29,65,14,66,"typeToConstructor"],[29,82,14,66],[29,84,14,67,"registry"],[29,92,14,75],[29,94,14,77,"Type"],[29,98,14,81],[29,99,14,82],[29,100,14,83],[30,6,15,8],[30,10,15,12],[30,11,15,13,"initialU8aLength"],[30,27,15,29],[30,30,15,32],[30,31,15,33],[30,35,15,33,"isU8a"],[30,48,15,38],[30,49,15,38,"isU8a"],[30,54,15,38],[30,56,15,39,"value"],[30,61,15,44],[30,62,15,45],[30,65,16,14],[30,69,16,14,"decodeU8aVec"],[30,82,16,26],[30,83,16,26,"decodeU8aVec"],[30,95,16,26],[30,97,16,27,"registry"],[30,105,16,35],[30,107,16,37],[30,111,16,41],[30,113,16,43,"value"],[30,118,16,48],[30,120,16,50],[30,121,16,51],[30,123,16,53],[30,127,16,57],[30,128,16,58],[30,129,16,59,"Type"],[30,133,16,63],[30,134,16,64],[30,137,17,14],[30,141,17,14,"decodeVec"],[30,147,17,23],[30,148,17,23,"decodeVec"],[30,157,17,23],[30,159,17,24,"registry"],[30,167,17,32],[30,169,17,34],[30,173,17,38],[30,175,17,40,"value"],[30,180,17,45],[30,182,17,47],[30,183,17,48],[30,185,17,50],[30,189,17,54],[30,190,17,55],[30,191,17,56,"Type"],[30,195,17,60],[30,196,17,61],[30,198,17,63],[30,199,17,64],[30,200,17,65],[31,4,18,4],[32,4,19,4],[32,11,19,11,"with"],[32,15,19,15,"with"],[32,16,19,16,"Type"],[32,20,19,20],[32,22,19,22,"length"],[32,28,19,28],[32,30,19,30],[33,6,20,8],[33,10,20,12,"definition"],[33,20,20,22],[34,6,21,8],[35,6,22,8],[35,12,22,14,"setDefinition"],[35,25,22,27],[35,28,22,31,"d"],[35,29,22,32],[35,33,22,38,"definition"],[35,43,22,48],[35,46,22,51,"d"],[35,47,22,53],[36,6,23,8],[36,13,23,15],[36,27,23,29,"VecFixed"],[36,35,23,37],[36,36,23,38],[37,8,24,12,"constructor"],[37,19,24,23,"constructor"],[37,20,24,24,"registry"],[37,28,24,32],[37,30,24,34,"value"],[37,35,24,39],[37,37,24,41],[38,10,25,16],[38,15,25,21],[38,16,25,22,"registry"],[38,24,25,30],[38,26,25,32,"Type"],[38,30,25,36],[38,32,25,38,"length"],[38,38,25,44],[38,40,25,46,"value"],[38,45,25,51],[38,47,25,53],[39,12,25,55,"definition"],[39,22,25,65],[40,12,25,67,"setDefinition"],[41,10,25,81],[41,11,25,82],[41,12,25,83],[42,8,26,12],[43,6,27,8],[43,7,27,9],[44,4,28,4],[45,4,29,4],[46,0,30,0],[47,0,31,0],[48,4,32,4],[48,8,32,8,"Type"],[48,12,32,12,"Type"],[48,13,32,12],[48,15,32,15],[49,6,33,8],[49,13,33,15],[49,17,33,19],[49,21,33,23],[49,22,33,24],[49,23,33,25,"Type"],[49,27,33,29],[49,28,33,30],[49,32,33,34],[49,33,33,35,"registry"],[49,41,33,43],[49,42,33,44],[49,43,33,45,"toRawType"],[49,52,33,54],[49,53,33,55],[49,54,33,56],[50,4,34,4],[51,4,35,4],[52,0,36,0],[53,0,37,0],[54,4,38,4],[54,8,38,8,"encodedLength"],[54,21,38,21,"encodedLength"],[54,22,38,21],[54,24,38,24],[55,6,39,8],[55,10,39,12,"total"],[55,15,39,17],[55,18,39,20],[55,19,39,21],[56,6,40,8],[56,11,40,13],[56,15,40,17,"i"],[56,16,40,18],[56,19,40,21],[56,20,40,22],[56,22,40,24,"count"],[56,27,40,29],[56,30,40,32],[56,34,40,36],[56,35,40,37,"length"],[56,41,40,43],[56,43,40,45,"i"],[56,44,40,46],[56,47,40,49,"count"],[56,52,40,54],[56,54,40,56,"i"],[56,55,40,57],[56,57,40,59],[56,59,40,61],[57,8,41,12,"total"],[57,13,41,17],[57,17,41,21],[57,21,41,25],[57,22,41,26,"i"],[57,23,41,27],[57,24,41,28],[57,25,41,29,"encodedLength"],[57,38,41,42],[58,6,42,8],[59,6,43,8],[59,13,43,15,"total"],[59,18,43,20],[60,4,44,4],[61,4,45,4],[62,0,46,0],[63,0,47,0],[64,4,48,4,"inspect"],[64,11,48,11,"inspect"],[64,12,48,11],[64,14,48,14],[65,6,49,8],[65,13,49,15],[66,8,50,12,"inner"],[66,13,50,17],[66,15,50,19],[66,19,50,23],[66,20,50,24,"inspectInner"],[66,32,50,36],[66,33,50,37],[67,6,51,8],[67,7,51,9],[68,4,52,4],[69,4,53,4,"toU8a"],[69,9,53,9,"toU8a"],[69,10,53,9],[69,12,53,12],[70,6,54,8],[71,6,55,8],[72,6,56,8],[72,12,56,14,"encoded"],[72,19,56,21],[72,22,56,24],[72,26,56,28],[72,27,56,29,"toU8aInner"],[72,37,56,39],[72,38,56,40],[72,39,56,41],[73,6,57,8],[73,13,57,15,"encoded"],[73,20,57,22],[73,21,57,23,"length"],[73,27,57,29],[73,30,58,14],[73,34,58,14,"u8aConcatStrict"],[73,47,58,29],[73,48,58,29,"u8aConcatStrict"],[73,63,58,29],[73,65,58,30,"encoded"],[73,72,58,37],[73,73,58,38],[73,76,59,14],[73,80,59,18,"Uint8Array"],[73,90,59,28],[73,91,59,29],[73,93,59,31],[73,94,59,32],[74,4,60,4],[75,4,61,4],[76,0,62,0],[77,0,63,0],[78,4,64,4,"toRawType"],[78,13,64,13,"toRawType"],[78,14,64,13],[78,16,64,16],[79,6,65,8],[79,13,65,15],[79,17,65,19],[79,21,65,23],[79,22,65,24,"Type"],[79,26,65,28],[79,30,65,32],[79,34,65,36],[79,35,65,37,"length"],[79,41,65,43],[79,44,65,46],[80,4,66,4],[81,2,67,0],[82,0,67,1],[82,3]],"functionMap":{"names":["<global>","VecFixed","constructor","_with","setDefinition","<anonymous>","get__Type","get__encodedLength","inspect","toU8a","toRawType"],"mappings":"AAA;OCS;ICE;KDM;IEC;8BCG,uBD;eEC;YHC;aGE;SFC;KFC;IKI;KLE;IMI;KNM;IOI;KPI;IQC;KRO;ISI;KTE;CDC"},"hasCjsExports":false},"type":"js/module"}]} |