mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 05:21:02 +00:00
1 line
32 KiB
Plaintext
1 line
32 KiB
Plaintext
{"dependencies":[{"name":"@polkadot/types-codec","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":22,"index":179},"end":{"line":4,"column":54,"index":211}}],"key":"fW1yxuTjZe66ggmM4ihNuGjKSV0=","exportNames":["*"],"imports":1}},{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":15,"index":228},"end":{"line":5,"column":40,"index":253}}],"key":"u0mzEw2nilnHoUWtEdZl0JKHutA=","exportNames":["*"],"imports":1}},{"name":"./constants.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":23,"index":278},"end":{"line":6,"column":48,"index":303}}],"key":"GyCTB975X6u9hfNjUsMXB4zkCjA=","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.GenericExtrinsicEra = exports.MortalEra = exports.ImmortalEra = void 0;\n const types_codec_1 = require(_dependencyMap[0], \"@polkadot/types-codec\");\n const util_1 = require(_dependencyMap[1], \"@polkadot/util\");\n const constants_js_1 = require(_dependencyMap[2], \"./constants.js\");\n function getTrailingZeros(period) {\n const binary = period.toString(2);\n let index = 0;\n while (binary[binary.length - 1 - index] === '0') {\n index++;\n }\n return index;\n }\n /** @internal */\n function decodeMortalEra(registry, value) {\n if ((0, util_1.isU8a)(value) || (0, util_1.isHex)(value) || Array.isArray(value)) {\n return decodeMortalU8a(registry, (0, util_1.u8aToU8a)(value));\n } else if (!value) {\n return [new types_codec_1.U64(registry), new types_codec_1.U64(registry)];\n } else if ((0, util_1.isObject)(value)) {\n return decodeMortalObject(registry, value);\n }\n throw new Error('Invalid data passed to Mortal era');\n }\n /** @internal */\n function decodeMortalObject(registry, value) {\n const {\n current,\n period\n } = value;\n let calPeriod = Math.pow(2, Math.ceil(Math.log2(period)));\n calPeriod = Math.min(Math.max(calPeriod, 4), 1 << 16);\n const phase = current % calPeriod;\n const quantizeFactor = Math.max(calPeriod >> 12, 1);\n const quantizedPhase = phase / quantizeFactor * quantizeFactor;\n return [new types_codec_1.U64(registry, calPeriod), new types_codec_1.U64(registry, quantizedPhase)];\n }\n /** @internal */\n function decodeMortalU8a(registry, value) {\n if (value.length === 0) {\n return [new types_codec_1.U64(registry), new types_codec_1.U64(registry)];\n }\n const first = (0, util_1.u8aToBn)(value.subarray(0, 1)).toNumber();\n const second = (0, util_1.u8aToBn)(value.subarray(1, 2)).toNumber();\n const encoded = first + (second << 8);\n const period = 2 << encoded % (1 << 4);\n const quantizeFactor = Math.max(period >> 12, 1);\n const phase = (encoded >> 4) * quantizeFactor;\n if (period < 4 || phase >= period) {\n throw new Error('Invalid data passed to Mortal era');\n }\n return [new types_codec_1.U64(registry, period), new types_codec_1.U64(registry, phase)];\n }\n /** @internal */\n function decodeExtrinsicEra(value = new Uint8Array()) {\n if ((0, util_1.isU8a)(value)) {\n return !value.length || value[0] === 0 ? new Uint8Array([0]) : new Uint8Array([1, value[0], value[1]]);\n } else if (!value) {\n return new Uint8Array([0]);\n } else if (value instanceof GenericExtrinsicEra) {\n return decodeExtrinsicEra(value.toU8a());\n } else if ((0, util_1.isHex)(value)) {\n return decodeExtrinsicEra((0, util_1.hexToU8a)(value));\n } else if ((0, util_1.isObject)(value)) {\n const entries = Object.entries(value).map(([k, v]) => [k.toLowerCase(), v]);\n const mortal = entries.find(([k]) => k.toLowerCase() === 'mortalera');\n const immortal = entries.find(([k]) => k.toLowerCase() === 'immortalera');\n // this is to de-serialize from JSON\n return mortal ? {\n MortalEra: mortal[1]\n } : immortal ? {\n ImmortalEra: immortal[1]\n } : {\n MortalEra: value\n };\n }\n throw new Error('Invalid data passed to Era');\n }\n /**\n * @name ImmortalEra\n * @description\n * The ImmortalEra for an extrinsic\n */\n class ImmortalEra extends types_codec_1.Raw {\n constructor(registry, _value) {\n // For immortals, we always provide the known value (i.e. treated as a\n // constant no matter how it is constructed - it is a fixed structure)\n super(registry, constants_js_1.IMMORTAL_ERA);\n }\n }\n exports.ImmortalEra = ImmortalEra;\n /**\n * @name MortalEra\n * @description\n * The MortalEra for an extrinsic, indicating period and phase\n */\n class MortalEra extends types_codec_1.Tuple {\n constructor(registry, value) {\n super(registry, {\n period: types_codec_1.U64,\n phase: types_codec_1.U64\n }, decodeMortalEra(registry, value));\n }\n /**\n * @description Encoded length for mortals occupy 2 bytes, different from the actual Tuple since it is encoded. This is a shortcut fro `toU8a().length`\n */\n get encodedLength() {\n return 2 | 0;\n }\n /**\n * @description The period of this Mortal wraps as a [[U64]]\n */\n get period() {\n return this[0];\n }\n /**\n * @description The phase of this Mortal wraps as a [[U64]]\n */\n get phase() {\n return this[1];\n }\n /**\n * @description Converts the Object to to a human-friendly JSON, with additional fields, expansion and formatting of information\n */\n toHuman() {\n return {\n period: (0, util_1.formatNumber)(this.period),\n phase: (0, util_1.formatNumber)(this.phase)\n };\n }\n /**\n * @description Returns a JSON representation of the actual value\n */\n toJSON() {\n return this.toHex();\n }\n /**\n * @description Encodes the value as a Uint8Array as per the parity-codec specifications\n * @param isBare true when the value has none of the type-specific prefixes (internal)\n * Period and phase are encoded:\n * - The period of validity from the block hash found in the signing material.\n * - The phase in the period that this transaction's lifetime begins (and, importantly,\n * implies which block hash is included in the signature material). If the `period` is\n * greater than 1 << 12, then it will be a factor of the times greater than 1<<12 that\n * `period` is.\n */\n toU8a(_isBare) {\n const period = this.period.toNumber();\n const encoded = Math.min(15, Math.max(1, getTrailingZeros(period) - 1)) + (this.phase.toNumber() / Math.max(period >> 12, 1) << 4);\n return new Uint8Array([encoded & 0xff, encoded >> 8]);\n }\n /**\n * @description Get the block number of the start of the era whose properties this object describes that `current` belongs to.\n */\n birth(current) {\n const phase = this.phase.toNumber();\n const period = this.period.toNumber();\n // FIXME No toNumber() here\n return ~~((Math.max((0, util_1.bnToBn)(current).toNumber(), phase) - phase) / period) * period + phase;\n }\n /**\n * @description Get the block number of the first block at which the era has ended.\n */\n death(current) {\n // FIXME No toNumber() here\n return this.birth(current) + this.period.toNumber();\n }\n }\n exports.MortalEra = MortalEra;\n /**\n * @name GenericExtrinsicEra\n * @description\n * The era for an extrinsic, indicating either a mortal or immortal extrinsic\n */\n class GenericExtrinsicEra extends types_codec_1.Enum {\n constructor(registry, value) {\n super(registry, {\n ImmortalEra,\n MortalEra\n }, decodeExtrinsicEra(value));\n }\n /**\n * @description Override the encoded length method\n */\n get encodedLength() {\n return this.isImmortalEra ? this.asImmortalEra.encodedLength : this.asMortalEra.encodedLength;\n }\n /**\n * @description Returns the item as a [[ImmortalEra]]\n */\n get asImmortalEra() {\n if (!this.isImmortalEra) {\n throw new Error(`Cannot convert '${this.type}' via asImmortalEra`);\n }\n return this.inner;\n }\n /**\n * @description Returns the item as a [[MortalEra]]\n */\n get asMortalEra() {\n if (!this.isMortalEra) {\n throw new Error(`Cannot convert '${this.type}' via asMortalEra`);\n }\n return this.inner;\n }\n /**\n * @description `true` if Immortal\n */\n get isImmortalEra() {\n return this.index === 0;\n }\n /**\n * @description `true` if Mortal\n */\n get isMortalEra() {\n return this.index > 0;\n }\n /**\n * @description Encodes the value as a Uint8Array as per the parity-codec specifications\n * @param isBare true when the value has none of the type-specific prefixes (internal)\n */\n toU8a(isBare) {\n return this.isMortalEra ? this.asMortalEra.toU8a(isBare) : this.asImmortalEra.toU8a(isBare);\n }\n }\n exports.GenericExtrinsicEra = GenericExtrinsicEra;\n});","lineCount":232,"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,"GenericExtrinsicEra"],[7,29,3,27],[7,32,3,30,"exports"],[7,39,3,37],[7,40,3,38,"MortalEra"],[7,49,3,47],[7,52,3,50,"exports"],[7,59,3,57],[7,60,3,58,"ImmortalEra"],[7,71,3,69],[7,74,3,72],[7,79,3,77],[7,80,3,78],[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],[9,8,5,6,"util_1"],[9,14,5,12],[9,17,5,15,"require"],[9,24,5,22],[9,25,5,22,"_dependencyMap"],[9,39,5,22],[9,60,5,39],[9,61,5,40],[10,2,6,0],[10,8,6,6,"constants_js_1"],[10,22,6,20],[10,25,6,23,"require"],[10,32,6,30],[10,33,6,30,"_dependencyMap"],[10,47,6,30],[10,68,6,47],[10,69,6,48],[11,2,7,0],[11,11,7,9,"getTrailingZeros"],[11,27,7,25,"getTrailingZeros"],[11,28,7,26,"period"],[11,34,7,32],[11,36,7,34],[12,4,8,4],[12,10,8,10,"binary"],[12,16,8,16],[12,19,8,19,"period"],[12,25,8,25],[12,26,8,26,"toString"],[12,34,8,34],[12,35,8,35],[12,36,8,36],[12,37,8,37],[13,4,9,4],[13,8,9,8,"index"],[13,13,9,13],[13,16,9,16],[13,17,9,17],[14,4,10,4],[14,11,10,11,"binary"],[14,17,10,17],[14,18,10,18,"binary"],[14,24,10,24],[14,25,10,25,"length"],[14,31,10,31],[14,34,10,34],[14,35,10,35],[14,38,10,38,"index"],[14,43,10,43],[14,44,10,44],[14,49,10,49],[14,52,10,52],[14,54,10,54],[15,6,11,8,"index"],[15,11,11,13],[15,13,11,15],[16,4,12,4],[17,4,13,4],[17,11,13,11,"index"],[17,16,13,16],[18,2,14,0],[19,2,15,0],[20,2,16,0],[20,11,16,9,"decodeMortalEra"],[20,26,16,24,"decodeMortalEra"],[20,27,16,25,"registry"],[20,35,16,33],[20,37,16,35,"value"],[20,42,16,40],[20,44,16,42],[21,4,17,4],[21,8,17,8],[21,9,17,9],[21,10,17,10],[21,12,17,12,"util_1"],[21,18,17,18],[21,19,17,19,"isU8a"],[21,24,17,24],[21,26,17,26,"value"],[21,31,17,31],[21,32,17,32],[21,36,17,36],[21,37,17,37],[21,38,17,38],[21,40,17,40,"util_1"],[21,46,17,46],[21,47,17,47,"isHex"],[21,52,17,52],[21,54,17,54,"value"],[21,59,17,59],[21,60,17,60],[21,64,17,64,"Array"],[21,69,17,69],[21,70,17,70,"isArray"],[21,77,17,77],[21,78,17,78,"value"],[21,83,17,83],[21,84,17,84],[21,86,17,86],[22,6,18,8],[22,13,18,15,"decodeMortalU8a"],[22,28,18,30],[22,29,18,31,"registry"],[22,37,18,39],[22,39,18,41],[22,40,18,42],[22,41,18,43],[22,43,18,45,"util_1"],[22,49,18,51],[22,50,18,52,"u8aToU8a"],[22,58,18,60],[22,60,18,62,"value"],[22,65,18,67],[22,66,18,68],[22,67,18,69],[23,4,19,4],[23,5,19,5],[23,11,20,9],[23,15,20,13],[23,16,20,14,"value"],[23,21,20,19],[23,23,20,21],[24,6,21,8],[24,13,21,15],[24,14,21,16],[24,18,21,20,"types_codec_1"],[24,31,21,33],[24,32,21,34,"U64"],[24,35,21,37],[24,36,21,38,"registry"],[24,44,21,46],[24,45,21,47],[24,47,21,49],[24,51,21,53,"types_codec_1"],[24,64,21,66],[24,65,21,67,"U64"],[24,68,21,70],[24,69,21,71,"registry"],[24,77,21,79],[24,78,21,80],[24,79,21,81],[25,4,22,4],[25,5,22,5],[25,11,23,9],[25,15,23,13],[25,16,23,14],[25,17,23,15],[25,19,23,17,"util_1"],[25,25,23,23],[25,26,23,24,"isObject"],[25,34,23,32],[25,36,23,34,"value"],[25,41,23,39],[25,42,23,40],[25,44,23,42],[26,6,24,8],[26,13,24,15,"decodeMortalObject"],[26,31,24,33],[26,32,24,34,"registry"],[26,40,24,42],[26,42,24,44,"value"],[26,47,24,49],[26,48,24,50],[27,4,25,4],[28,4,26,4],[28,10,26,10],[28,14,26,14,"Error"],[28,19,26,19],[28,20,26,20],[28,55,26,55],[28,56,26,56],[29,2,27,0],[30,2,28,0],[31,2,29,0],[31,11,29,9,"decodeMortalObject"],[31,29,29,27,"decodeMortalObject"],[31,30,29,28,"registry"],[31,38,29,36],[31,40,29,38,"value"],[31,45,29,43],[31,47,29,45],[32,4,30,4],[32,10,30,10],[33,6,30,12,"current"],[33,13,30,19],[34,6,30,21,"period"],[35,4,30,28],[35,5,30,29],[35,8,30,32,"value"],[35,13,30,37],[36,4,31,4],[36,8,31,8,"calPeriod"],[36,17,31,17],[36,20,31,20,"Math"],[36,24,31,24],[36,25,31,25,"pow"],[36,28,31,28],[36,29,31,29],[36,30,31,30],[36,32,31,32,"Math"],[36,36,31,36],[36,37,31,37,"ceil"],[36,41,31,41],[36,42,31,42,"Math"],[36,46,31,46],[36,47,31,47,"log2"],[36,51,31,51],[36,52,31,52,"period"],[36,58,31,58],[36,59,31,59],[36,60,31,60],[36,61,31,61],[37,4,32,4,"calPeriod"],[37,13,32,13],[37,16,32,16,"Math"],[37,20,32,20],[37,21,32,21,"min"],[37,24,32,24],[37,25,32,25,"Math"],[37,29,32,29],[37,30,32,30,"max"],[37,33,32,33],[37,34,32,34,"calPeriod"],[37,43,32,43],[37,45,32,45],[37,46,32,46],[37,47,32,47],[37,49,32,49],[37,50,32,50],[37,54,32,54],[37,56,32,56],[37,57,32,57],[38,4,33,4],[38,10,33,10,"phase"],[38,15,33,15],[38,18,33,18,"current"],[38,25,33,25],[38,28,33,28,"calPeriod"],[38,37,33,37],[39,4,34,4],[39,10,34,10,"quantizeFactor"],[39,24,34,24],[39,27,34,27,"Math"],[39,31,34,31],[39,32,34,32,"max"],[39,35,34,35],[39,36,34,36,"calPeriod"],[39,45,34,45],[39,49,34,49],[39,51,34,51],[39,53,34,53],[39,54,34,54],[39,55,34,55],[40,4,35,4],[40,10,35,10,"quantizedPhase"],[40,24,35,24],[40,27,35,27,"phase"],[40,32,35,32],[40,35,35,35,"quantizeFactor"],[40,49,35,49],[40,52,35,52,"quantizeFactor"],[40,66,35,66],[41,4,36,4],[41,11,36,11],[41,12,36,12],[41,16,36,16,"types_codec_1"],[41,29,36,29],[41,30,36,30,"U64"],[41,33,36,33],[41,34,36,34,"registry"],[41,42,36,42],[41,44,36,44,"calPeriod"],[41,53,36,53],[41,54,36,54],[41,56,36,56],[41,60,36,60,"types_codec_1"],[41,73,36,73],[41,74,36,74,"U64"],[41,77,36,77],[41,78,36,78,"registry"],[41,86,36,86],[41,88,36,88,"quantizedPhase"],[41,102,36,102],[41,103,36,103],[41,104,36,104],[42,2,37,0],[43,2,38,0],[44,2,39,0],[44,11,39,9,"decodeMortalU8a"],[44,26,39,24,"decodeMortalU8a"],[44,27,39,25,"registry"],[44,35,39,33],[44,37,39,35,"value"],[44,42,39,40],[44,44,39,42],[45,4,40,4],[45,8,40,8,"value"],[45,13,40,13],[45,14,40,14,"length"],[45,20,40,20],[45,25,40,25],[45,26,40,26],[45,28,40,28],[46,6,41,8],[46,13,41,15],[46,14,41,16],[46,18,41,20,"types_codec_1"],[46,31,41,33],[46,32,41,34,"U64"],[46,35,41,37],[46,36,41,38,"registry"],[46,44,41,46],[46,45,41,47],[46,47,41,49],[46,51,41,53,"types_codec_1"],[46,64,41,66],[46,65,41,67,"U64"],[46,68,41,70],[46,69,41,71,"registry"],[46,77,41,79],[46,78,41,80],[46,79,41,81],[47,4,42,4],[48,4,43,4],[48,10,43,10,"first"],[48,15,43,15],[48,18,43,18],[48,19,43,19],[48,20,43,20],[48,22,43,22,"util_1"],[48,28,43,28],[48,29,43,29,"u8aToBn"],[48,36,43,36],[48,38,43,38,"value"],[48,43,43,43],[48,44,43,44,"subarray"],[48,52,43,52],[48,53,43,53],[48,54,43,54],[48,56,43,56],[48,57,43,57],[48,58,43,58],[48,59,43,59],[48,60,43,60,"toNumber"],[48,68,43,68],[48,69,43,69],[48,70,43,70],[49,4,44,4],[49,10,44,10,"second"],[49,16,44,16],[49,19,44,19],[49,20,44,20],[49,21,44,21],[49,23,44,23,"util_1"],[49,29,44,29],[49,30,44,30,"u8aToBn"],[49,37,44,37],[49,39,44,39,"value"],[49,44,44,44],[49,45,44,45,"subarray"],[49,53,44,53],[49,54,44,54],[49,55,44,55],[49,57,44,57],[49,58,44,58],[49,59,44,59],[49,60,44,60],[49,61,44,61,"toNumber"],[49,69,44,69],[49,70,44,70],[49,71,44,71],[50,4,45,4],[50,10,45,10,"encoded"],[50,17,45,17],[50,20,45,20,"first"],[50,25,45,25],[50,29,45,29,"second"],[50,35,45,35],[50,39,45,39],[50,40,45,40],[50,41,45,41],[51,4,46,4],[51,10,46,10,"period"],[51,16,46,16],[51,19,46,19],[51,20,46,20],[51,24,46,25,"encoded"],[51,31,46,32],[51,35,46,36],[51,36,46,37],[51,40,46,41],[51,41,46,42],[51,42,46,44],[52,4,47,4],[52,10,47,10,"quantizeFactor"],[52,24,47,24],[52,27,47,27,"Math"],[52,31,47,31],[52,32,47,32,"max"],[52,35,47,35],[52,36,47,36,"period"],[52,42,47,42],[52,46,47,46],[52,48,47,48],[52,50,47,50],[52,51,47,51],[52,52,47,52],[53,4,48,4],[53,10,48,10,"phase"],[53,15,48,15],[53,18,48,18],[53,19,48,19,"encoded"],[53,26,48,26],[53,30,48,30],[53,31,48,31],[53,35,48,35,"quantizeFactor"],[53,49,48,49],[54,4,49,4],[54,8,49,8,"period"],[54,14,49,14],[54,17,49,17],[54,18,49,18],[54,22,49,22,"phase"],[54,27,49,27],[54,31,49,31,"period"],[54,37,49,37],[54,39,49,39],[55,6,50,8],[55,12,50,14],[55,16,50,18,"Error"],[55,21,50,23],[55,22,50,24],[55,57,50,59],[55,58,50,60],[56,4,51,4],[57,4,52,4],[57,11,52,11],[57,12,52,12],[57,16,52,16,"types_codec_1"],[57,29,52,29],[57,30,52,30,"U64"],[57,33,52,33],[57,34,52,34,"registry"],[57,42,52,42],[57,44,52,44,"period"],[57,50,52,50],[57,51,52,51],[57,53,52,53],[57,57,52,57,"types_codec_1"],[57,70,52,70],[57,71,52,71,"U64"],[57,74,52,74],[57,75,52,75,"registry"],[57,83,52,83],[57,85,52,85,"phase"],[57,90,52,90],[57,91,52,91],[57,92,52,92],[58,2,53,0],[59,2,54,0],[60,2,55,0],[60,11,55,9,"decodeExtrinsicEra"],[60,29,55,27,"decodeExtrinsicEra"],[60,30,55,28,"value"],[60,35,55,33],[60,38,55,36],[60,42,55,40,"Uint8Array"],[60,52,55,50],[60,53,55,51],[60,54,55,52],[60,56,55,54],[61,4,56,4],[61,8,56,8],[61,9,56,9],[61,10,56,10],[61,12,56,12,"util_1"],[61,18,56,18],[61,19,56,19,"isU8a"],[61,24,56,24],[61,26,56,26,"value"],[61,31,56,31],[61,32,56,32],[61,34,56,34],[62,6,57,8],[62,13,57,16],[62,14,57,17,"value"],[62,19,57,22],[62,20,57,23,"length"],[62,26,57,29],[62,30,57,33,"value"],[62,35,57,38],[62,36,57,39],[62,37,57,40],[62,38,57,41],[62,43,57,46],[62,44,57,47],[62,47,58,14],[62,51,58,18,"Uint8Array"],[62,61,58,28],[62,62,58,29],[62,63,58,30],[62,64,58,31],[62,65,58,32],[62,66,58,33],[62,69,59,14],[62,73,59,18,"Uint8Array"],[62,83,59,28],[62,84,59,29],[62,85,59,30],[62,86,59,31],[62,88,59,33,"value"],[62,93,59,38],[62,94,59,39],[62,95,59,40],[62,96,59,41],[62,98,59,43,"value"],[62,103,59,48],[62,104,59,49],[62,105,59,50],[62,106,59,51],[62,107,59,52],[62,108,59,53],[63,4,60,4],[63,5,60,5],[63,11,61,9],[63,15,61,13],[63,16,61,14,"value"],[63,21,61,19],[63,23,61,21],[64,6,62,8],[64,13,62,15],[64,17,62,19,"Uint8Array"],[64,27,62,29],[64,28,62,30],[64,29,62,31],[64,30,62,32],[64,31,62,33],[64,32,62,34],[65,4,63,4],[65,5,63,5],[65,11,64,9],[65,15,64,13,"value"],[65,20,64,18],[65,32,64,30,"GenericExtrinsicEra"],[65,51,64,49],[65,53,64,51],[66,6,65,8],[66,13,65,15,"decodeExtrinsicEra"],[66,31,65,33],[66,32,65,34,"value"],[66,37,65,39],[66,38,65,40,"toU8a"],[66,43,65,45],[66,44,65,46],[66,45,65,47],[66,46,65,48],[67,4,66,4],[67,5,66,5],[67,11,67,9],[67,15,67,13],[67,16,67,14],[67,17,67,15],[67,19,67,17,"util_1"],[67,25,67,23],[67,26,67,24,"isHex"],[67,31,67,29],[67,33,67,31,"value"],[67,38,67,36],[67,39,67,37],[67,41,67,39],[68,6,68,8],[68,13,68,15,"decodeExtrinsicEra"],[68,31,68,33],[68,32,68,34],[68,33,68,35],[68,34,68,36],[68,36,68,38,"util_1"],[68,42,68,44],[68,43,68,45,"hexToU8a"],[68,51,68,53],[68,53,68,55,"value"],[68,58,68,60],[68,59,68,61],[68,60,68,62],[69,4,69,4],[69,5,69,5],[69,11,70,9],[69,15,70,13],[69,16,70,14],[69,17,70,15],[69,19,70,17,"util_1"],[69,25,70,23],[69,26,70,24,"isObject"],[69,34,70,32],[69,36,70,34,"value"],[69,41,70,39],[69,42,70,40],[69,44,70,42],[70,6,71,8],[70,12,71,14,"entries"],[70,19,71,21],[70,22,71,24,"Object"],[70,28,71,30],[70,29,71,31,"entries"],[70,36,71,38],[70,37,71,39,"value"],[70,42,71,44],[70,43,71,45],[70,44,71,46,"map"],[70,47,71,49],[70,48,71,50],[70,49,71,51],[70,50,71,52,"k"],[70,51,71,53],[70,53,71,55,"v"],[70,54,71,56],[70,55,71,57],[70,60,71,62],[70,61,71,63,"k"],[70,62,71,64],[70,63,71,65,"toLowerCase"],[70,74,71,76],[70,75,71,77],[70,76,71,78],[70,78,71,80,"v"],[70,79,71,81],[70,80,71,82],[70,81,71,83],[71,6,72,8],[71,12,72,14,"mortal"],[71,18,72,20],[71,21,72,23,"entries"],[71,28,72,30],[71,29,72,31,"find"],[71,33,72,35],[71,34,72,36],[71,35,72,37],[71,36,72,38,"k"],[71,37,72,39],[71,38,72,40],[71,43,72,45,"k"],[71,44,72,46],[71,45,72,47,"toLowerCase"],[71,56,72,58],[71,57,72,59],[71,58,72,60],[71,63,72,65],[71,74,72,76],[71,75,72,77],[72,6,73,8],[72,12,73,14,"immortal"],[72,20,73,22],[72,23,73,25,"entries"],[72,30,73,32],[72,31,73,33,"find"],[72,35,73,37],[72,36,73,38],[72,37,73,39],[72,38,73,40,"k"],[72,39,73,41],[72,40,73,42],[72,45,73,47,"k"],[72,46,73,48],[72,47,73,49,"toLowerCase"],[72,58,73,60],[72,59,73,61],[72,60,73,62],[72,65,73,67],[72,78,73,80],[72,79,73,81],[73,6,74,8],[74,6,75,8],[74,13,75,15,"mortal"],[74,19,75,21],[74,22,76,14],[75,8,76,16,"MortalEra"],[75,17,76,25],[75,19,76,27,"mortal"],[75,25,76,33],[75,26,76,34],[75,27,76,35],[76,6,76,37],[76,7,76,38],[76,10,77,14,"immortal"],[76,18,77,22],[76,21,78,18],[77,8,78,20,"ImmortalEra"],[77,19,78,31],[77,21,78,33,"immortal"],[77,29,78,41],[77,30,78,42],[77,31,78,43],[78,6,78,45],[78,7,78,46],[78,10,79,18],[79,8,79,20,"MortalEra"],[79,17,79,29],[79,19,79,31,"value"],[80,6,79,37],[80,7,79,38],[81,4,80,4],[82,4,81,4],[82,10,81,10],[82,14,81,14,"Error"],[82,19,81,19],[82,20,81,20],[82,48,81,48],[82,49,81,49],[83,2,82,0],[84,2,83,0],[85,0,84,0],[86,0,85,0],[87,0,86,0],[88,0,87,0],[89,2,88,0],[89,8,88,6,"ImmortalEra"],[89,19,88,17],[89,28,88,26,"types_codec_1"],[89,41,88,39],[89,42,88,40,"Raw"],[89,45,88,43],[89,46,88,44],[90,4,89,4,"constructor"],[90,15,89,15,"constructor"],[90,16,89,16,"registry"],[90,24,89,24],[90,26,89,26,"_value"],[90,32,89,32],[90,34,89,34],[91,6,90,8],[92,6,91,8],[93,6,92,8],[93,11,92,13],[93,12,92,14,"registry"],[93,20,92,22],[93,22,92,24,"constants_js_1"],[93,36,92,38],[93,37,92,39,"IMMORTAL_ERA"],[93,49,92,51],[93,50,92,52],[94,4,93,4],[95,2,94,0],[96,2,95,0,"exports"],[96,9,95,7],[96,10,95,8,"ImmortalEra"],[96,21,95,19],[96,24,95,22,"ImmortalEra"],[96,35,95,33],[97,2,96,0],[98,0,97,0],[99,0,98,0],[100,0,99,0],[101,0,100,0],[102,2,101,0],[102,8,101,6,"MortalEra"],[102,17,101,15],[102,26,101,24,"types_codec_1"],[102,39,101,37],[102,40,101,38,"Tuple"],[102,45,101,43],[102,46,101,44],[103,4,102,4,"constructor"],[103,15,102,15,"constructor"],[103,16,102,16,"registry"],[103,24,102,24],[103,26,102,26,"value"],[103,31,102,31],[103,33,102,33],[104,6,103,8],[104,11,103,13],[104,12,103,14,"registry"],[104,20,103,22],[104,22,103,24],[105,8,104,12,"period"],[105,14,104,18],[105,16,104,20,"types_codec_1"],[105,29,104,33],[105,30,104,34,"U64"],[105,33,104,37],[106,8,105,12,"phase"],[106,13,105,17],[106,15,105,19,"types_codec_1"],[106,28,105,32],[106,29,105,33,"U64"],[107,6,106,8],[107,7,106,9],[107,9,106,11,"decodeMortalEra"],[107,24,106,26],[107,25,106,27,"registry"],[107,33,106,35],[107,35,106,37,"value"],[107,40,106,42],[107,41,106,43],[107,42,106,44],[108,4,107,4],[109,4,108,4],[110,0,109,0],[111,0,110,0],[112,4,111,4],[112,8,111,8,"encodedLength"],[112,21,111,21,"encodedLength"],[112,22,111,21],[112,24,111,24],[113,6,112,8],[113,13,112,15],[113,14,112,16],[113,17,112,19],[113,18,112,20],[114,4,113,4],[115,4,114,4],[116,0,115,0],[117,0,116,0],[118,4,117,4],[118,8,117,8,"period"],[118,14,117,14,"period"],[118,15,117,14],[118,17,117,17],[119,6,118,8],[119,13,118,15],[119,17,118,19],[119,18,118,20],[119,19,118,21],[119,20,118,22],[120,4,119,4],[121,4,120,4],[122,0,121,0],[123,0,122,0],[124,4,123,4],[124,8,123,8,"phase"],[124,13,123,13,"phase"],[124,14,123,13],[124,16,123,16],[125,6,124,8],[125,13,124,15],[125,17,124,19],[125,18,124,20],[125,19,124,21],[125,20,124,22],[126,4,125,4],[127,4,126,4],[128,0,127,0],[129,0,128,0],[130,4,129,4,"toHuman"],[130,11,129,11,"toHuman"],[130,12,129,11],[130,14,129,14],[131,6,130,8],[131,13,130,15],[132,8,131,12,"period"],[132,14,131,18],[132,16,131,20],[132,17,131,21],[132,18,131,22],[132,20,131,24,"util_1"],[132,26,131,30],[132,27,131,31,"formatNumber"],[132,39,131,43],[132,41,131,45],[132,45,131,49],[132,46,131,50,"period"],[132,52,131,56],[132,53,131,57],[133,8,132,12,"phase"],[133,13,132,17],[133,15,132,19],[133,16,132,20],[133,17,132,21],[133,19,132,23,"util_1"],[133,25,132,29],[133,26,132,30,"formatNumber"],[133,38,132,42],[133,40,132,44],[133,44,132,48],[133,45,132,49,"phase"],[133,50,132,54],[134,6,133,8],[134,7,133,9],[135,4,134,4],[136,4,135,4],[137,0,136,0],[138,0,137,0],[139,4,138,4,"toJSON"],[139,10,138,10,"toJSON"],[139,11,138,10],[139,13,138,13],[140,6,139,8],[140,13,139,15],[140,17,139,19],[140,18,139,20,"toHex"],[140,23,139,25],[140,24,139,26],[140,25,139,27],[141,4,140,4],[142,4,141,4],[143,0,142,0],[144,0,143,0],[145,0,144,0],[146,0,145,0],[147,0,146,0],[148,0,147,0],[149,0,148,0],[150,0,149,0],[151,0,150,0],[152,4,151,4,"toU8a"],[152,9,151,9,"toU8a"],[152,10,151,10,"_isBare"],[152,17,151,17],[152,19,151,19],[153,6,152,8],[153,12,152,14,"period"],[153,18,152,20],[153,21,152,23],[153,25,152,27],[153,26,152,28,"period"],[153,32,152,34],[153,33,152,35,"toNumber"],[153,41,152,43],[153,42,152,44],[153,43,152,45],[154,6,153,8],[154,12,153,14,"encoded"],[154,19,153,21],[154,22,153,24,"Math"],[154,26,153,28],[154,27,153,29,"min"],[154,30,153,32],[154,31,153,33],[154,33,153,35],[154,35,153,37,"Math"],[154,39,153,41],[154,40,153,42,"max"],[154,43,153,45],[154,44,153,46],[154,45,153,47],[154,47,153,49,"getTrailingZeros"],[154,63,153,65],[154,64,153,66,"period"],[154,70,153,72],[154,71,153,73],[154,74,153,76],[154,75,153,77],[154,76,153,78],[154,77,153,79],[154,81,153,84],[154,85,153,88],[154,86,153,89,"phase"],[154,91,153,94],[154,92,153,95,"toNumber"],[154,100,153,103],[154,101,153,104],[154,102,153,105],[154,105,153,108,"Math"],[154,109,153,112],[154,110,153,113,"max"],[154,113,153,116],[154,114,153,117,"period"],[154,120,153,123],[154,124,153,127],[154,126,153,129],[154,128,153,131],[154,129,153,132],[154,130,153,133],[154,134,153,138],[154,135,153,139],[154,136,153,140],[155,6,154,8],[155,13,154,15],[155,17,154,19,"Uint8Array"],[155,27,154,29],[155,28,154,30],[155,29,155,12,"encoded"],[155,36,155,19],[155,39,155,22],[155,43,155,26],[155,45,156,12,"encoded"],[155,52,156,19],[155,56,156,23],[155,57,156,24],[155,58,157,9],[155,59,157,10],[156,4,158,4],[157,4,159,4],[158,0,160,0],[159,0,161,0],[160,4,162,4,"birth"],[160,9,162,9,"birth"],[160,10,162,10,"current"],[160,17,162,17],[160,19,162,19],[161,6,163,8],[161,12,163,14,"phase"],[161,17,163,19],[161,20,163,22],[161,24,163,26],[161,25,163,27,"phase"],[161,30,163,32],[161,31,163,33,"toNumber"],[161,39,163,41],[161,40,163,42],[161,41,163,43],[162,6,164,8],[162,12,164,14,"period"],[162,18,164,20],[162,21,164,23],[162,25,164,27],[162,26,164,28,"period"],[162,32,164,34],[162,33,164,35,"toNumber"],[162,41,164,43],[162,42,164,44],[162,43,164,45],[163,6,165,8],[164,6,166,8],[164,13,166,16],[164,14,166,17],[164,16,166,19],[164,17,166,20,"Math"],[164,21,166,24],[164,22,166,25,"max"],[164,25,166,28],[164,26,166,29],[164,27,166,30],[164,28,166,31],[164,30,166,33,"util_1"],[164,36,166,39],[164,37,166,40,"bnToBn"],[164,43,166,46],[164,45,166,48,"current"],[164,52,166,55],[164,53,166,56],[164,54,166,57,"toNumber"],[164,62,166,65],[164,63,166,66],[164,64,166,67],[164,66,166,69,"phase"],[164,71,166,74],[164,72,166,75],[164,75,166,78,"phase"],[164,80,166,83],[164,84,166,87,"period"],[164,90,166,93],[164,91,166,94],[164,94,166,97,"period"],[164,100,166,103],[164,103,166,107,"phase"],[164,108,166,112],[165,4,167,4],[166,4,168,4],[167,0,169,0],[168,0,170,0],[169,4,171,4,"death"],[169,9,171,9,"death"],[169,10,171,10,"current"],[169,17,171,17],[169,19,171,19],[170,6,172,8],[171,6,173,8],[171,13,173,15],[171,17,173,19],[171,18,173,20,"birth"],[171,23,173,25],[171,24,173,26,"current"],[171,31,173,33],[171,32,173,34],[171,35,173,37],[171,39,173,41],[171,40,173,42,"period"],[171,46,173,48],[171,47,173,49,"toNumber"],[171,55,173,57],[171,56,173,58],[171,57,173,59],[172,4,174,4],[173,2,175,0],[174,2,176,0,"exports"],[174,9,176,7],[174,10,176,8,"MortalEra"],[174,19,176,17],[174,22,176,20,"MortalEra"],[174,31,176,29],[175,2,177,0],[176,0,178,0],[177,0,179,0],[178,0,180,0],[179,0,181,0],[180,2,182,0],[180,8,182,6,"GenericExtrinsicEra"],[180,27,182,25],[180,36,182,34,"types_codec_1"],[180,49,182,47],[180,50,182,48,"Enum"],[180,54,182,52],[180,55,182,53],[181,4,183,4,"constructor"],[181,15,183,15,"constructor"],[181,16,183,16,"registry"],[181,24,183,24],[181,26,183,26,"value"],[181,31,183,31],[181,33,183,33],[182,6,184,8],[182,11,184,13],[182,12,184,14,"registry"],[182,20,184,22],[182,22,184,24],[183,8,185,12,"ImmortalEra"],[183,19,185,23],[184,8,186,12,"MortalEra"],[185,6,187,8],[185,7,187,9],[185,9,187,11,"decodeExtrinsicEra"],[185,27,187,29],[185,28,187,30,"value"],[185,33,187,35],[185,34,187,36],[185,35,187,37],[186,4,188,4],[187,4,189,4],[188,0,190,0],[189,0,191,0],[190,4,192,4],[190,8,192,8,"encodedLength"],[190,21,192,21,"encodedLength"],[190,22,192,21],[190,24,192,24],[191,6,193,8],[191,13,193,15],[191,17,193,19],[191,18,193,20,"isImmortalEra"],[191,31,193,33],[191,34,194,14],[191,38,194,18],[191,39,194,19,"asImmortalEra"],[191,52,194,32],[191,53,194,33,"encodedLength"],[191,66,194,46],[191,69,195,14],[191,73,195,18],[191,74,195,19,"asMortalEra"],[191,85,195,30],[191,86,195,31,"encodedLength"],[191,99,195,44],[192,4,196,4],[193,4,197,4],[194,0,198,0],[195,0,199,0],[196,4,200,4],[196,8,200,8,"asImmortalEra"],[196,21,200,21,"asImmortalEra"],[196,22,200,21],[196,24,200,24],[197,6,201,8],[197,10,201,12],[197,11,201,13],[197,15,201,17],[197,16,201,18,"isImmortalEra"],[197,29,201,31],[197,31,201,33],[198,8,202,12],[198,14,202,18],[198,18,202,22,"Error"],[198,23,202,27],[198,24,202,28],[198,43,202,47],[198,47,202,51],[198,48,202,52,"type"],[198,52,202,56],[198,73,202,77],[198,74,202,78],[199,6,203,8],[200,6,204,8],[200,13,204,15],[200,17,204,19],[200,18,204,20,"inner"],[200,23,204,25],[201,4,205,4],[202,4,206,4],[203,0,207,0],[204,0,208,0],[205,4,209,4],[205,8,209,8,"asMortalEra"],[205,19,209,19,"asMortalEra"],[205,20,209,19],[205,22,209,22],[206,6,210,8],[206,10,210,12],[206,11,210,13],[206,15,210,17],[206,16,210,18,"isMortalEra"],[206,27,210,29],[206,29,210,31],[207,8,211,12],[207,14,211,18],[207,18,211,22,"Error"],[207,23,211,27],[207,24,211,28],[207,43,211,47],[207,47,211,51],[207,48,211,52,"type"],[207,52,211,56],[207,71,211,75],[207,72,211,76],[208,6,212,8],[209,6,213,8],[209,13,213,15],[209,17,213,19],[209,18,213,20,"inner"],[209,23,213,25],[210,4,214,4],[211,4,215,4],[212,0,216,0],[213,0,217,0],[214,4,218,4],[214,8,218,8,"isImmortalEra"],[214,21,218,21,"isImmortalEra"],[214,22,218,21],[214,24,218,24],[215,6,219,8],[215,13,219,15],[215,17,219,19],[215,18,219,20,"index"],[215,23,219,25],[215,28,219,30],[215,29,219,31],[216,4,220,4],[217,4,221,4],[218,0,222,0],[219,0,223,0],[220,4,224,4],[220,8,224,8,"isMortalEra"],[220,19,224,19,"isMortalEra"],[220,20,224,19],[220,22,224,22],[221,6,225,8],[221,13,225,15],[221,17,225,19],[221,18,225,20,"index"],[221,23,225,25],[221,26,225,28],[221,27,225,29],[222,4,226,4],[223,4,227,4],[224,0,228,0],[225,0,229,0],[226,0,230,0],[227,4,231,4,"toU8a"],[227,9,231,9,"toU8a"],[227,10,231,10,"isBare"],[227,16,231,16],[227,18,231,18],[228,6,232,8],[228,13,232,15],[228,17,232,19],[228,18,232,20,"isMortalEra"],[228,29,232,31],[228,32,233,14],[228,36,233,18],[228,37,233,19,"asMortalEra"],[228,48,233,30],[228,49,233,31,"toU8a"],[228,54,233,36],[228,55,233,37,"isBare"],[228,61,233,43],[228,62,233,44],[228,65,234,14],[228,69,234,18],[228,70,234,19,"asImmortalEra"],[228,83,234,32],[228,84,234,33,"toU8a"],[228,89,234,38],[228,90,234,39,"isBare"],[228,96,234,45],[228,97,234,46],[229,4,235,4],[230,2,236,0],[231,2,237,0,"exports"],[231,9,237,7],[231,10,237,8,"GenericExtrinsicEra"],[231,29,237,27],[231,32,237,30,"GenericExtrinsicEra"],[231,51,237,49],[232,0,237,50],[232,3]],"functionMap":{"names":["<global>","getTrailingZeros","decodeMortalEra","decodeMortalObject","decodeMortalU8a","decodeExtrinsicEra","Object.entries.map$argument_0","entries.find$argument_0","ImmortalEra","ImmortalEra#constructor","MortalEra","MortalEra#constructor","MortalEra#get__encodedLength","MortalEra#get__period","MortalEra#get__phase","MortalEra#toHuman","MortalEra#toJSON","MortalEra#toU8a","MortalEra#birth","MortalEra#death","GenericExtrinsicEra","GenericExtrinsicEra#constructor","GenericExtrinsicEra#get__encodedLength","GenericExtrinsicEra#get__asImmortalEra","GenericExtrinsicEra#get__asMortalEra","GenericExtrinsicEra#get__isImmortalEra","GenericExtrinsicEra#get__isMortalEra","GenericExtrinsicEra#toU8a"],"mappings":"AAA;ACM;CDO;AEE;CFW;AGE;CHQ;AIE;CJc;AKE;kDCgB,gCD;oCEC,wCF;sCEC,0CF;CLS;AQM;ICC;KDI;CRC;AUO;ICC;KDK;IEI;KFE;IGI;KHE;III;KJE;IKI;KLK;IMI;KNE;IOW;KPO;IQI;KRK;ISI;KTG;CVC;AoBO;ICC;KDK;IEI;KFI;IGI;KHK;III;KJK;IKI;KLE;IMI;KNE;IOK;KPI;CpBC"},"hasCjsExports":true},"type":"js/module"}]} |