mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 13:31:00 +00:00
1 line
8.7 KiB
Plaintext
1 line
8.7 KiB
Plaintext
{"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.AbstractBase = void 0;\n /**\n * @name Base\n * @description A type extends the Base class, when it holds a value\n */\n class AbstractBase {\n #raw;\n constructor(registry, value, initialU8aLength) {\n this.initialU8aLength = initialU8aLength;\n this.#raw = value;\n this.registry = registry;\n }\n /**\n * @description The length of the value when encoded as a Uint8Array\n */\n get encodedLength() {\n return this.toU8a().length;\n }\n /**\n * @description returns a hash of the contents\n */\n get hash() {\n return this.registry.hash(this.toU8a());\n }\n /**\n * @description returns the inner (wrapped value)\n */\n get inner() {\n return this.#raw;\n }\n /**\n * @description Checks if the value is an empty value\n */\n get isEmpty() {\n return this.#raw.isEmpty;\n }\n /**\n * @description Compares the value of the input to see if there is a match\n */\n eq(other) {\n return this.#raw.eq(other);\n }\n /**\n * @description Returns a breakdown of the hex encoding for this Codec\n */\n inspect() {\n return this.#raw.inspect();\n }\n /**\n * @description Returns a hex string representation of the value. isLe returns a LE (number-only) representation\n */\n toHex(isLe) {\n return this.#raw.toHex(isLe);\n }\n /**\n * @description Converts the Object to to a human-friendly JSON, with additional fields, expansion and formatting of information\n */\n toHuman(isExtended, disableAscii) {\n return this.#raw.toHuman(isExtended, disableAscii);\n }\n /**\n * @description Converts the Object to JSON, typically used for RPC transfers\n */\n toJSON() {\n return this.#raw.toJSON();\n }\n /**\n * @description Converts the value in a best-fit primitive form\n */\n toPrimitive(disableAscii) {\n return this.#raw.toPrimitive(disableAscii);\n }\n /**\n * @description Returns the string representation of the value\n */\n toString() {\n return this.#raw.toString();\n }\n /**\n * @description Encodes the value as a Uint8Array as per the SCALE specifications\n * @param isBare true when the value has none of the type-specific prefixes (internal)\n */\n toU8a(isBare) {\n return this.#raw.toU8a(isBare);\n }\n /**\n * @description Returns the inner wrapped value (equivalent to valueOf)\n */\n unwrap() {\n return this.#raw;\n }\n /**\n * @description Returns the inner wrapped value\n */\n valueOf() {\n return this.#raw;\n }\n }\n exports.AbstractBase = AbstractBase;\n});","lineCount":106,"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,"AbstractBase"],[7,22,3,20],[7,25,3,23],[7,30,3,28],[7,31,3,29],[8,2,4,0],[9,0,5,0],[10,0,6,0],[11,0,7,0],[12,2,8,0],[12,8,8,6,"AbstractBase"],[12,20,8,18],[12,21,8,19],[13,4,13,4],[13,5,13,5,"raw"],[13,8,13,8],[14,4,14,4,"constructor"],[14,15,14,15,"constructor"],[14,16,14,16,"registry"],[14,24,14,24],[14,26,14,26,"value"],[14,31,14,31],[14,33,14,33,"initialU8aLength"],[14,49,14,49],[14,51,14,51],[15,6,15,8],[15,10,15,12],[15,11,15,13,"initialU8aLength"],[15,27,15,29],[15,30,15,32,"initialU8aLength"],[15,46,15,48],[16,6,16,8],[16,10,16,12],[16,11,16,13],[16,12,16,14,"raw"],[16,15,16,17],[16,18,16,20,"value"],[16,23,16,25],[17,6,17,8],[17,10,17,12],[17,11,17,13,"registry"],[17,19,17,21],[17,22,17,24,"registry"],[17,30,17,32],[18,4,18,4],[19,4,19,4],[20,0,20,0],[21,0,21,0],[22,4,22,4],[22,8,22,8,"encodedLength"],[22,21,22,21,"encodedLength"],[22,22,22,21],[22,24,22,24],[23,6,23,8],[23,13,23,15],[23,17,23,19],[23,18,23,20,"toU8a"],[23,23,23,25],[23,24,23,26],[23,25,23,27],[23,26,23,28,"length"],[23,32,23,34],[24,4,24,4],[25,4,25,4],[26,0,26,0],[27,0,27,0],[28,4,28,4],[28,8,28,8,"hash"],[28,12,28,12,"hash"],[28,13,28,12],[28,15,28,15],[29,6,29,8],[29,13,29,15],[29,17,29,19],[29,18,29,20,"registry"],[29,26,29,28],[29,27,29,29,"hash"],[29,31,29,33],[29,32,29,34],[29,36,29,38],[29,37,29,39,"toU8a"],[29,42,29,44],[29,43,29,45],[29,44,29,46],[29,45,29,47],[30,4,30,4],[31,4,31,4],[32,0,32,0],[33,0,33,0],[34,4,34,4],[34,8,34,8,"inner"],[34,13,34,13,"inner"],[34,14,34,13],[34,16,34,16],[35,6,35,8],[35,13,35,15],[35,17,35,19],[35,18,35,20],[35,19,35,21,"raw"],[35,22,35,24],[36,4,36,4],[37,4,37,4],[38,0,38,0],[39,0,39,0],[40,4,40,4],[40,8,40,8,"isEmpty"],[40,15,40,15,"isEmpty"],[40,16,40,15],[40,18,40,18],[41,6,41,8],[41,13,41,15],[41,17,41,19],[41,18,41,20],[41,19,41,21,"raw"],[41,22,41,24],[41,23,41,25,"isEmpty"],[41,30,41,32],[42,4,42,4],[43,4,43,4],[44,0,44,0],[45,0,45,0],[46,4,46,4,"eq"],[46,6,46,6,"eq"],[46,7,46,7,"other"],[46,12,46,12],[46,14,46,14],[47,6,47,8],[47,13,47,15],[47,17,47,19],[47,18,47,20],[47,19,47,21,"raw"],[47,22,47,24],[47,23,47,25,"eq"],[47,25,47,27],[47,26,47,28,"other"],[47,31,47,33],[47,32,47,34],[48,4,48,4],[49,4,49,4],[50,0,50,0],[51,0,51,0],[52,4,52,4,"inspect"],[52,11,52,11,"inspect"],[52,12,52,11],[52,14,52,14],[53,6,53,8],[53,13,53,15],[53,17,53,19],[53,18,53,20],[53,19,53,21,"raw"],[53,22,53,24],[53,23,53,25,"inspect"],[53,30,53,32],[53,31,53,33],[53,32,53,34],[54,4,54,4],[55,4,55,4],[56,0,56,0],[57,0,57,0],[58,4,58,4,"toHex"],[58,9,58,9,"toHex"],[58,10,58,10,"isLe"],[58,14,58,14],[58,16,58,16],[59,6,59,8],[59,13,59,15],[59,17,59,19],[59,18,59,20],[59,19,59,21,"raw"],[59,22,59,24],[59,23,59,25,"toHex"],[59,28,59,30],[59,29,59,31,"isLe"],[59,33,59,35],[59,34,59,36],[60,4,60,4],[61,4,61,4],[62,0,62,0],[63,0,63,0],[64,4,64,4,"toHuman"],[64,11,64,11,"toHuman"],[64,12,64,12,"isExtended"],[64,22,64,22],[64,24,64,24,"disableAscii"],[64,36,64,36],[64,38,64,38],[65,6,65,8],[65,13,65,15],[65,17,65,19],[65,18,65,20],[65,19,65,21,"raw"],[65,22,65,24],[65,23,65,25,"toHuman"],[65,30,65,32],[65,31,65,33,"isExtended"],[65,41,65,43],[65,43,65,45,"disableAscii"],[65,55,65,57],[65,56,65,58],[66,4,66,4],[67,4,67,4],[68,0,68,0],[69,0,69,0],[70,4,70,4,"toJSON"],[70,10,70,10,"toJSON"],[70,11,70,10],[70,13,70,13],[71,6,71,8],[71,13,71,15],[71,17,71,19],[71,18,71,20],[71,19,71,21,"raw"],[71,22,71,24],[71,23,71,25,"toJSON"],[71,29,71,31],[71,30,71,32],[71,31,71,33],[72,4,72,4],[73,4,73,4],[74,0,74,0],[75,0,75,0],[76,4,76,4,"toPrimitive"],[76,15,76,15,"toPrimitive"],[76,16,76,16,"disableAscii"],[76,28,76,28],[76,30,76,30],[77,6,77,8],[77,13,77,15],[77,17,77,19],[77,18,77,20],[77,19,77,21,"raw"],[77,22,77,24],[77,23,77,25,"toPrimitive"],[77,34,77,36],[77,35,77,37,"disableAscii"],[77,47,77,49],[77,48,77,50],[78,4,78,4],[79,4,79,4],[80,0,80,0],[81,0,81,0],[82,4,82,4,"toString"],[82,12,82,12,"toString"],[82,13,82,12],[82,15,82,15],[83,6,83,8],[83,13,83,15],[83,17,83,19],[83,18,83,20],[83,19,83,21,"raw"],[83,22,83,24],[83,23,83,25,"toString"],[83,31,83,33],[83,32,83,34],[83,33,83,35],[84,4,84,4],[85,4,85,4],[86,0,86,0],[87,0,87,0],[88,0,88,0],[89,4,89,4,"toU8a"],[89,9,89,9,"toU8a"],[89,10,89,10,"isBare"],[89,16,89,16],[89,18,89,18],[90,6,90,8],[90,13,90,15],[90,17,90,19],[90,18,90,20],[90,19,90,21,"raw"],[90,22,90,24],[90,23,90,25,"toU8a"],[90,28,90,30],[90,29,90,31,"isBare"],[90,35,90,37],[90,36,90,38],[91,4,91,4],[92,4,92,4],[93,0,93,0],[94,0,94,0],[95,4,95,4,"unwrap"],[95,10,95,10,"unwrap"],[95,11,95,10],[95,13,95,13],[96,6,96,8],[96,13,96,15],[96,17,96,19],[96,18,96,20],[96,19,96,21,"raw"],[96,22,96,24],[97,4,97,4],[98,4,98,4],[99,0,99,0],[100,0,100,0],[101,4,101,4,"valueOf"],[101,11,101,11,"valueOf"],[101,12,101,11],[101,14,101,14],[102,6,102,8],[102,13,102,15],[102,17,102,19],[102,18,102,20],[102,19,102,21,"raw"],[102,22,102,24],[103,4,103,4],[104,2,104,0],[105,2,105,0,"exports"],[105,9,105,7],[105,10,105,8,"AbstractBase"],[105,22,105,20],[105,25,105,23,"AbstractBase"],[105,37,105,35],[106,0,105,36],[106,3]],"functionMap":{"names":["<global>","AbstractBase","AbstractBase#constructor","AbstractBase#get__encodedLength","AbstractBase#get__hash","AbstractBase#get__inner","AbstractBase#get__isEmpty","AbstractBase#eq","AbstractBase#inspect","AbstractBase#toHex","AbstractBase#toHuman","AbstractBase#toJSON","AbstractBase#toPrimitive","AbstractBase#toString","AbstractBase#toU8a","AbstractBase#unwrap","AbstractBase#valueOf"],"mappings":"AAA;ACO;ICM;KDI;IEI;KFE;IGI;KHE;III;KJE;IKI;KLE;IMI;KNE;IOI;KPE;IQI;KRE;ISI;KTE;IUI;KVE;IWI;KXE;IYI;KZE;IaK;KbE;IcI;KdE;IeI;KfE;CDC"},"hasCjsExports":true},"type":"js/module"}]} |