mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 06:31:03 +00:00
1 line
7.0 KiB
Plaintext
1 line
7.0 KiB
Plaintext
{"dependencies":[{"name":"@babel/runtime/helpers/classCallCheck","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"yg7e6laZwmpbIvId5jovq9ugXp8=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/createClass","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"Z6pzkVZ2fvxBLkFTgVVOy4UDj30=","exportNames":["*"],"imports":1}},{"name":"@stablelib/wipe","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":15,"index":212},"end":{"line":6,"column":41,"index":238}}],"key":"TyIdzPP7juhR0JJ+s4X6EUIb7Vg=","exportNames":["*"],"imports":1}},{"name":"crypto","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":12,"column":31,"index":433},"end":{"line":12,"column":48,"index":450}}],"key":"qkQHogusroKbdlr5of4h1Mv5pUg=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n // Copyright (C) 2016 Dmitry Chestnykh\n // MIT License. See LICENSE file for details.\n var _classCallCheck = require(_dependencyMap[0], \"@babel/runtime/helpers/classCallCheck\").default;\n var _createClass = require(_dependencyMap[1], \"@babel/runtime/helpers/createClass\").default;\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.NodeRandomSource = void 0;\n var wipe_1 = require(_dependencyMap[2], \"@stablelib/wipe\");\n var NodeRandomSource = /*#__PURE__*/function () {\n function NodeRandomSource() {\n _classCallCheck(this, NodeRandomSource);\n this.isAvailable = false;\n this.isInstantiated = false;\n if (typeof require !== \"undefined\") {\n var nodeCrypto = require(_dependencyMap[3], \"crypto\");\n if (nodeCrypto && nodeCrypto.randomBytes) {\n this._crypto = nodeCrypto;\n this.isAvailable = true;\n this.isInstantiated = true;\n }\n }\n }\n return _createClass(NodeRandomSource, [{\n key: \"randomBytes\",\n value: function randomBytes(length) {\n if (!this.isAvailable || !this._crypto) {\n throw new Error(\"Node.js random byte generator is not available.\");\n }\n // Get random bytes (result is Buffer).\n var buffer = this._crypto.randomBytes(length);\n // Make sure we got the length that we requested.\n if (buffer.length !== length) {\n throw new Error(\"NodeRandomSource: got fewer bytes than requested\");\n }\n // Allocate output array.\n var out = new Uint8Array(length);\n // Copy bytes from buffer to output.\n for (var i = 0; i < out.length; i++) {\n out[i] = buffer[i];\n }\n // Cleanup.\n (0, wipe_1.wipe)(buffer);\n return out;\n }\n }]);\n }();\n exports.NodeRandomSource = NodeRandomSource;\n});","lineCount":52,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0],[5,2,3,0],[6,2,3,0],[6,6,3,0,"_classCallCheck"],[6,21,3,0],[6,24,3,0,"require"],[6,31,3,0],[6,32,3,0,"_dependencyMap"],[6,46,3,0],[6,92,3,0,"default"],[6,99,3,0],[7,2,3,0],[7,6,3,0,"_createClass"],[7,18,3,0],[7,21,3,0,"require"],[7,28,3,0],[7,29,3,0,"_dependencyMap"],[7,43,3,0],[7,86,3,0,"default"],[7,93,3,0],[8,2,4,0,"Object"],[8,8,4,6],[8,9,4,7,"defineProperty"],[8,23,4,21],[8,24,4,22,"exports"],[8,31,4,29],[8,33,4,31],[8,45,4,43],[8,47,4,45],[9,4,4,47,"value"],[9,9,4,52],[9,11,4,54],[10,2,4,59],[10,3,4,60],[10,4,4,61],[11,2,5,0,"exports"],[11,9,5,7],[11,10,5,8,"NodeRandomSource"],[11,26,5,24],[11,29,5,27],[11,34,5,32],[11,35,5,33],[12,2,6,0],[12,6,6,6,"wipe_1"],[12,12,6,12],[12,15,6,15,"require"],[12,22,6,22],[12,23,6,22,"_dependencyMap"],[12,37,6,22],[12,59,6,40],[12,60,6,41],[13,2,6,42],[13,6,7,6,"NodeRandomSource"],[13,22,7,22],[14,4,8,4],[14,13,8,4,"NodeRandomSource"],[14,30,8,4],[14,32,8,18],[15,6,8,18,"_classCallCheck"],[15,21,8,18],[15,28,8,18,"NodeRandomSource"],[15,44,8,18],[16,6,9,8],[16,10,9,12],[16,11,9,13,"isAvailable"],[16,22,9,24],[16,25,9,27],[16,30,9,32],[17,6,10,8],[17,10,10,12],[17,11,10,13,"isInstantiated"],[17,25,10,27],[17,28,10,30],[17,33,10,35],[18,6,11,8],[18,10,11,12],[18,17,11,19,"require"],[18,24,11,26],[18,29,11,31],[18,40,11,42],[18,42,11,44],[19,8,12,12],[19,12,12,18,"nodeCrypto"],[19,22,12,28],[19,25,12,31,"require"],[19,32,12,38],[19,33,12,38,"_dependencyMap"],[19,47,12,38],[19,60,12,47],[19,61,12,48],[20,8,13,12],[20,12,13,16,"nodeCrypto"],[20,22,13,26],[20,26,13,30,"nodeCrypto"],[20,36,13,40],[20,37,13,41,"randomBytes"],[20,48,13,52],[20,50,13,54],[21,10,14,16],[21,14,14,20],[21,15,14,21,"_crypto"],[21,22,14,28],[21,25,14,31,"nodeCrypto"],[21,35,14,41],[22,10,15,16],[22,14,15,20],[22,15,15,21,"isAvailable"],[22,26,15,32],[22,29,15,35],[22,33,15,39],[23,10,16,16],[23,14,16,20],[23,15,16,21,"isInstantiated"],[23,29,16,35],[23,32,16,38],[23,36,16,42],[24,8,17,12],[25,6,18,8],[26,4,19,4],[27,4,19,5],[27,11,19,5,"_createClass"],[27,23,19,5],[27,24,19,5,"NodeRandomSource"],[27,40,19,5],[28,6,19,5,"key"],[28,9,19,5],[29,6,19,5,"value"],[29,11,19,5],[29,13,20,4],[29,22,20,4,"randomBytes"],[29,33,20,15,"randomBytes"],[29,34,20,16,"length"],[29,40,20,22],[29,42,20,24],[30,8,21,8],[30,12,21,12],[30,13,21,13],[30,17,21,17],[30,18,21,18,"isAvailable"],[30,29,21,29],[30,33,21,33],[30,34,21,34],[30,38,21,38],[30,39,21,39,"_crypto"],[30,46,21,46],[30,48,21,48],[31,10,22,12],[31,16,22,18],[31,20,22,22,"Error"],[31,25,22,27],[31,26,22,28],[31,75,22,77],[31,76,22,78],[32,8,23,8],[33,8,24,8],[34,8,25,8],[34,12,25,12,"buffer"],[34,18,25,18],[34,21,25,21],[34,25,25,25],[34,26,25,26,"_crypto"],[34,33,25,33],[34,34,25,34,"randomBytes"],[34,45,25,45],[34,46,25,46,"length"],[34,52,25,52],[34,53,25,53],[35,8,26,8],[36,8,27,8],[36,12,27,12,"buffer"],[36,18,27,18],[36,19,27,19,"length"],[36,25,27,25],[36,30,27,30,"length"],[36,36,27,36],[36,38,27,38],[37,10,28,12],[37,16,28,18],[37,20,28,22,"Error"],[37,25,28,27],[37,26,28,28],[37,76,28,78],[37,77,28,79],[38,8,29,8],[39,8,30,8],[40,8,31,8],[40,12,31,14,"out"],[40,15,31,17],[40,18,31,20],[40,22,31,24,"Uint8Array"],[40,32,31,34],[40,33,31,35,"length"],[40,39,31,41],[40,40,31,42],[41,8,32,8],[42,8,33,8],[42,13,33,13],[42,17,33,17,"i"],[42,18,33,18],[42,21,33,21],[42,22,33,22],[42,24,33,24,"i"],[42,25,33,25],[42,28,33,28,"out"],[42,31,33,31],[42,32,33,32,"length"],[42,38,33,38],[42,40,33,40,"i"],[42,41,33,41],[42,43,33,43],[42,45,33,45],[43,10,34,12,"out"],[43,13,34,15],[43,14,34,16,"i"],[43,15,34,17],[43,16,34,18],[43,19,34,21,"buffer"],[43,25,34,27],[43,26,34,28,"i"],[43,27,34,29],[43,28,34,30],[44,8,35,8],[45,8,36,8],[46,8,37,8],[46,9,37,9],[46,10,37,10],[46,12,37,12,"wipe_1"],[46,18,37,18],[46,19,37,19,"wipe"],[46,23,37,23],[46,25,37,25,"buffer"],[46,31,37,31],[46,32,37,32],[47,8,38,8],[47,15,38,15,"out"],[47,18,38,18],[48,6,39,4],[49,4,39,5],[50,2,39,5],[51,2,41,0,"exports"],[51,9,41,7],[51,10,41,8,"NodeRandomSource"],[51,26,41,24],[51,29,41,27,"NodeRandomSource"],[51,45,41,43],[52,0,41,44],[52,3]],"functionMap":{"names":["<global>","NodeRandomSource","NodeRandomSource#constructor","NodeRandomSource#randomBytes"],"mappings":"AAA;ACM;ICC;KDW;IEC;KFmB;CDC"},"hasCjsExports":true},"type":"js/module"}]} |