mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 21:31:02 +00:00
1 line
6.0 KiB
Plaintext
1 line
6.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":"./browser","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":18,"index":217},"end":{"line":6,"column":38,"index":237}}],"key":"sLpyJP2KRtEbAMrOlhWlFFi9PRo=","exportNames":["*"],"imports":1}},{"name":"./node","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":7,"column":15,"index":254},"end":{"line":7,"column":32,"index":271}}],"key":"g8tD4FS5t/eNGZOhAJAJ9buJXHk=","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.SystemRandomSource = void 0;\n var browser_1 = require(_dependencyMap[2], \"./browser\");\n var node_1 = require(_dependencyMap[3], \"./node\");\n var SystemRandomSource = /*#__PURE__*/function () {\n function SystemRandomSource() {\n _classCallCheck(this, SystemRandomSource);\n this.isAvailable = false;\n this.name = \"\";\n // Try browser.\n this._source = new browser_1.BrowserRandomSource();\n if (this._source.isAvailable) {\n this.isAvailable = true;\n this.name = \"Browser\";\n return;\n }\n // If no browser source, try Node.\n this._source = new node_1.NodeRandomSource();\n if (this._source.isAvailable) {\n this.isAvailable = true;\n this.name = \"Node\";\n return;\n }\n // No sources, we're out of options.\n }\n return _createClass(SystemRandomSource, [{\n key: \"randomBytes\",\n value: function randomBytes(length) {\n if (!this.isAvailable) {\n throw new Error(\"System random byte generator is not available.\");\n }\n return this._source.randomBytes(length);\n }\n }]);\n }();\n exports.SystemRandomSource = SystemRandomSource;\n});","lineCount":46,"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,"SystemRandomSource"],[11,28,5,26],[11,31,5,29],[11,36,5,34],[11,37,5,35],[12,2,6,0],[12,6,6,6,"browser_1"],[12,15,6,15],[12,18,6,18,"require"],[12,25,6,25],[12,26,6,25,"_dependencyMap"],[12,40,6,25],[12,56,6,37],[12,57,6,38],[13,2,7,0],[13,6,7,6,"node_1"],[13,12,7,12],[13,15,7,15,"require"],[13,22,7,22],[13,23,7,22,"_dependencyMap"],[13,37,7,22],[13,50,7,31],[13,51,7,32],[14,2,7,33],[14,6,8,6,"SystemRandomSource"],[14,24,8,24],[15,4,9,4],[15,13,9,4,"SystemRandomSource"],[15,32,9,4],[15,34,9,18],[16,6,9,18,"_classCallCheck"],[16,21,9,18],[16,28,9,18,"SystemRandomSource"],[16,46,9,18],[17,6,10,8],[17,10,10,12],[17,11,10,13,"isAvailable"],[17,22,10,24],[17,25,10,27],[17,30,10,32],[18,6,11,8],[18,10,11,12],[18,11,11,13,"name"],[18,15,11,17],[18,18,11,20],[18,20,11,22],[19,6,12,8],[20,6,13,8],[20,10,13,12],[20,11,13,13,"_source"],[20,18,13,20],[20,21,13,23],[20,25,13,27,"browser_1"],[20,34,13,36],[20,35,13,37,"BrowserRandomSource"],[20,54,13,56],[20,55,13,57],[20,56,13,58],[21,6,14,8],[21,10,14,12],[21,14,14,16],[21,15,14,17,"_source"],[21,22,14,24],[21,23,14,25,"isAvailable"],[21,34,14,36],[21,36,14,38],[22,8,15,12],[22,12,15,16],[22,13,15,17,"isAvailable"],[22,24,15,28],[22,27,15,31],[22,31,15,35],[23,8,16,12],[23,12,16,16],[23,13,16,17,"name"],[23,17,16,21],[23,20,16,24],[23,29,16,33],[24,8,17,12],[25,6,18,8],[26,6,19,8],[27,6,20,8],[27,10,20,12],[27,11,20,13,"_source"],[27,18,20,20],[27,21,20,23],[27,25,20,27,"node_1"],[27,31,20,33],[27,32,20,34,"NodeRandomSource"],[27,48,20,50],[27,49,20,51],[27,50,20,52],[28,6,21,8],[28,10,21,12],[28,14,21,16],[28,15,21,17,"_source"],[28,22,21,24],[28,23,21,25,"isAvailable"],[28,34,21,36],[28,36,21,38],[29,8,22,12],[29,12,22,16],[29,13,22,17,"isAvailable"],[29,24,22,28],[29,27,22,31],[29,31,22,35],[30,8,23,12],[30,12,23,16],[30,13,23,17,"name"],[30,17,23,21],[30,20,23,24],[30,26,23,30],[31,8,24,12],[32,6,25,8],[33,6,26,8],[34,4,27,4],[35,4,27,5],[35,11,27,5,"_createClass"],[35,23,27,5],[35,24,27,5,"SystemRandomSource"],[35,42,27,5],[36,6,27,5,"key"],[36,9,27,5],[37,6,27,5,"value"],[37,11,27,5],[37,13,28,4],[37,22,28,4,"randomBytes"],[37,33,28,15,"randomBytes"],[37,34,28,16,"length"],[37,40,28,22],[37,42,28,24],[38,8,29,8],[38,12,29,12],[38,13,29,13],[38,17,29,17],[38,18,29,18,"isAvailable"],[38,29,29,29],[38,31,29,31],[39,10,30,12],[39,16,30,18],[39,20,30,22,"Error"],[39,25,30,27],[39,26,30,28],[39,74,30,76],[39,75,30,77],[40,8,31,8],[41,8,32,8],[41,15,32,15],[41,19,32,19],[41,20,32,20,"_source"],[41,27,32,27],[41,28,32,28,"randomBytes"],[41,39,32,39],[41,40,32,40,"length"],[41,46,32,46],[41,47,32,47],[42,6,33,4],[43,4,33,5],[44,2,33,5],[45,2,35,0,"exports"],[45,9,35,7],[45,10,35,8,"SystemRandomSource"],[45,28,35,26],[45,31,35,29,"SystemRandomSource"],[45,49,35,47],[46,0,35,48],[46,3]],"functionMap":{"names":["<global>","SystemRandomSource","SystemRandomSource#constructor","SystemRandomSource#randomBytes"],"mappings":"AAA;ACO;ICC;KDkB;IEC;KFK;CDC"},"hasCjsExports":true},"type":"js/module"}]} |