Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/bf/7f9a17748f75249e91cf2da044c9d1f8bd91f9e0d240c34778280f25b7f7701c230646
T
2025-10-24 02:46:57 +00:00

1 line
6.0 KiB
Plaintext

{"dependencies":[{"name":"@noble/hashes/blake2b","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":61,"index":61}}],"key":"QI6coIVrcKSIXrcZoCYAuc7ApUk=","exportNames":["*"],"imports":1}},{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":62},"end":{"line":2,"column":53,"index":115}}],"key":"ISHU1ovvPMrCldqRjtd1JhW9dyo=","exportNames":["*"],"imports":1}},{"name":"@polkadot/wasm-crypto","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":116},"end":{"line":3,"column":57,"index":173}}],"key":"2/wMT/y5UfnEdVow79e3G5+65jw=","exportNames":["*"],"imports":1}},{"name":"../helpers.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":174},"end":{"line":4,"column":44,"index":218}}],"key":"xGB1RU1bemGAHq3E44EIR7oSA2c=","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.blake2AsU8a = blake2AsU8a;\n Object.defineProperty(exports, \"blake2AsHex\", {\n enumerable: true,\n get: function () {\n return blake2AsHex;\n }\n });\n var _nobleHashesBlake2b = require(_dependencyMap[0], \"@noble/hashes/blake2b\");\n var _polkadotUtil = require(_dependencyMap[1], \"@polkadot/util\");\n var _polkadotWasmCrypto = require(_dependencyMap[2], \"@polkadot/wasm-crypto\");\n var _helpersJs = require(_dependencyMap[3], \"../helpers.js\");\n /**\n * @name blake2AsU8a\n * @summary Creates a blake2b u8a from the input.\n * @description\n * From a `Uint8Array` input, create the blake2b and return the result as a u8a with the specified `bitLength`.\n * @example\n * <BR>\n *\n * ```javascript\n * import { blake2AsU8a } from '@polkadot/util-crypto';\n *\n * blake2AsU8a('abc'); // => [0xba, 0x80, 0xa5, 0x3f, 0x98, 0x1c, 0x4d, 0x0d]\n * ```\n */\n function blake2AsU8a(data, bitLength = 256, key, onlyJs) {\n const byteLength = Math.ceil(bitLength / 8);\n const u8a = (0, _polkadotUtil.u8aToU8a)(data);\n return !_polkadotUtil.hasBigInt || !onlyJs && (0, _polkadotWasmCrypto.isReady)() ? (0, _polkadotWasmCrypto.blake2b)(u8a, (0, _polkadotUtil.u8aToU8a)(key), byteLength) : key ? (0, _nobleHashesBlake2b.blake2b)(u8a, {\n dkLen: byteLength,\n key\n }) : (0, _nobleHashesBlake2b.blake2b)(u8a, {\n dkLen: byteLength\n });\n }\n /**\n * @name blake2AsHex\n * @description Creates a blake2b hex from the input.\n */\n const blake2AsHex = /*#__PURE__*/(0, _helpersJs.createAsHex)(blake2AsU8a);\n});","lineCount":47,"map":[[7,2,19,0,"exports"],[7,9,19,0],[7,10,19,0,"blake2AsU8a"],[7,21,19,0],[7,24,19,0,"blake2AsU8a"],[7,35,19,0],[8,2,32,0,"Object"],[8,8,32,0],[8,9,32,0,"defineProperty"],[8,23,32,0],[8,24,32,0,"exports"],[8,31,32,0],[9,4,32,0,"enumerable"],[9,14,32,0],[10,4,32,0,"get"],[10,7,32,0],[10,18,32,0,"get"],[10,19,32,0],[11,6,32,0],[11,13,32,0,"blake2AsHex"],[11,24,32,0],[12,4,32,0],[13,2,32,0],[14,2,1,0],[14,6,1,0,"_nobleHashesBlake2b"],[14,25,1,0],[14,28,1,0,"require"],[14,35,1,0],[14,36,1,0,"_dependencyMap"],[14,50,1,0],[15,2,2,0],[15,6,2,0,"_polkadotUtil"],[15,19,2,0],[15,22,2,0,"require"],[15,29,2,0],[15,30,2,0,"_dependencyMap"],[15,44,2,0],[16,2,3,0],[16,6,3,0,"_polkadotWasmCrypto"],[16,25,3,0],[16,28,3,0,"require"],[16,35,3,0],[16,36,3,0,"_dependencyMap"],[16,50,3,0],[17,2,4,0],[17,6,4,0,"_helpersJs"],[17,16,4,0],[17,19,4,0,"require"],[17,26,4,0],[17,27,4,0,"_dependencyMap"],[17,41,4,0],[18,2,5,0],[19,0,6,0],[20,0,7,0],[21,0,8,0],[22,0,9,0],[23,0,10,0],[24,0,11,0],[25,0,12,0],[26,0,13,0],[27,0,14,0],[28,0,15,0],[29,0,16,0],[30,0,17,0],[31,0,18,0],[32,2,19,7],[32,11,19,16,"blake2AsU8a"],[32,22,19,27,"blake2AsU8a"],[32,23,19,28,"data"],[32,27,19,32],[32,29,19,34,"bitLength"],[32,38,19,43],[32,41,19,46],[32,44,19,49],[32,46,19,51,"key"],[32,49,19,54],[32,51,19,56,"onlyJs"],[32,57,19,62],[32,59,19,64],[33,4,20,4],[33,10,20,10,"byteLength"],[33,20,20,20],[33,23,20,23,"Math"],[33,27,20,27],[33,28,20,28,"ceil"],[33,32,20,32],[33,33,20,33,"bitLength"],[33,42,20,42],[33,45,20,45],[33,46,20,46],[33,47,20,47],[34,4,21,4],[34,10,21,10,"u8a"],[34,13,21,13],[34,16,21,16],[34,20,21,16,"u8aToU8a"],[34,33,21,24],[34,34,21,24,"u8aToU8a"],[34,42,21,24],[34,44,21,25,"data"],[34,48,21,29],[34,49,21,30],[35,4,22,4],[35,11,22,11],[35,12,22,12,"hasBigInt"],[35,25,22,21],[35,26,22,21,"hasBigInt"],[35,35,22,21],[35,39,22,26],[35,40,22,27,"onlyJs"],[35,46,22,33],[35,50,22,37],[35,54,22,37,"isReady"],[35,73,22,44],[35,74,22,44,"isReady"],[35,81,22,44],[35,83,22,45],[35,84,22,47],[35,87,23,10],[35,91,23,10,"blake2b"],[35,110,23,17],[35,111,23,17,"blake2b"],[35,118,23,17],[35,120,23,18,"u8a"],[35,123,23,21],[35,125,23,23],[35,129,23,23,"u8aToU8a"],[35,142,23,31],[35,143,23,31,"u8aToU8a"],[35,151,23,31],[35,153,23,32,"key"],[35,156,23,35],[35,157,23,36],[35,159,23,38,"byteLength"],[35,169,23,48],[35,170,23,49],[35,173,24,10,"key"],[35,176,24,13],[35,179,25,14],[35,183,25,14,"blake2bJs"],[35,202,25,23],[35,203,25,23,"blake2b"],[35,210,25,23],[35,212,25,24,"u8a"],[35,215,25,27],[35,217,25,29],[36,6,25,31,"dkLen"],[36,11,25,36],[36,13,25,38,"byteLength"],[36,23,25,48],[37,6,25,50,"key"],[38,4,25,54],[38,5,25,55],[38,6,25,56],[38,9,26,14],[38,13,26,14,"blake2bJs"],[38,32,26,23],[38,33,26,23,"blake2b"],[38,40,26,23],[38,42,26,24,"u8a"],[38,45,26,27],[38,47,26,29],[39,6,26,31,"dkLen"],[39,11,26,36],[39,13,26,38,"byteLength"],[40,4,26,49],[40,5,26,50],[40,6,26,51],[41,2,27,0],[42,2,28,0],[43,0,29,0],[44,0,30,0],[45,0,31,0],[46,2,32,7],[46,8,32,13,"blake2AsHex"],[46,19,32,24],[46,22,32,27],[46,35,32,41],[46,39,32,41,"createAsHex"],[46,49,32,52],[46,50,32,52,"createAsHex"],[46,61,32,52],[46,63,32,53,"blake2AsU8a"],[46,74,32,64],[46,75,32,65],[47,0,32,66],[47,3]],"functionMap":{"names":["<global>","blake2AsU8a"],"mappings":"AAA;OCkB;CDQ"},"hasCjsExports":false},"type":"js/module"}]}