mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 04:11:02 +00:00
1 line
4.7 KiB
Plaintext
1 line
4.7 KiB
Plaintext
{"dependencies":[{"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 Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.SystemRandomSource = void 0;\n const browser_1 = require(_dependencyMap[0], \"./browser\");\n const node_1 = require(_dependencyMap[1], \"./node\");\n class SystemRandomSource {\n constructor() {\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 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 exports.SystemRandomSource = SystemRandomSource;\n});","lineCount":40,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0],[5,2,3,0],[6,2,4,0,"Object"],[6,8,4,6],[6,9,4,7,"defineProperty"],[6,23,4,21],[6,24,4,22,"exports"],[6,31,4,29],[6,33,4,31],[6,45,4,43],[6,47,4,45],[7,4,4,47,"value"],[7,9,4,52],[7,11,4,54],[8,2,4,59],[8,3,4,60],[8,4,4,61],[9,2,5,0,"exports"],[9,9,5,7],[9,10,5,8,"SystemRandomSource"],[9,28,5,26],[9,31,5,29],[9,36,5,34],[9,37,5,35],[10,2,6,0],[10,8,6,6,"browser_1"],[10,17,6,15],[10,20,6,18,"require"],[10,27,6,25],[10,28,6,25,"_dependencyMap"],[10,42,6,25],[10,58,6,37],[10,59,6,38],[11,2,7,0],[11,8,7,6,"node_1"],[11,14,7,12],[11,17,7,15,"require"],[11,24,7,22],[11,25,7,22,"_dependencyMap"],[11,39,7,22],[11,52,7,31],[11,53,7,32],[12,2,8,0],[12,8,8,6,"SystemRandomSource"],[12,26,8,24],[12,27,8,25],[13,4,9,4,"constructor"],[13,15,9,15,"constructor"],[13,16,9,15],[13,18,9,18],[14,6,10,8],[14,10,10,12],[14,11,10,13,"isAvailable"],[14,22,10,24],[14,25,10,27],[14,30,10,32],[15,6,11,8],[15,10,11,12],[15,11,11,13,"name"],[15,15,11,17],[15,18,11,20],[15,20,11,22],[16,6,12,8],[17,6,13,8],[17,10,13,12],[17,11,13,13,"_source"],[17,18,13,20],[17,21,13,23],[17,25,13,27,"browser_1"],[17,34,13,36],[17,35,13,37,"BrowserRandomSource"],[17,54,13,56],[17,55,13,57],[17,56,13,58],[18,6,14,8],[18,10,14,12],[18,14,14,16],[18,15,14,17,"_source"],[18,22,14,24],[18,23,14,25,"isAvailable"],[18,34,14,36],[18,36,14,38],[19,8,15,12],[19,12,15,16],[19,13,15,17,"isAvailable"],[19,24,15,28],[19,27,15,31],[19,31,15,35],[20,8,16,12],[20,12,16,16],[20,13,16,17,"name"],[20,17,16,21],[20,20,16,24],[20,29,16,33],[21,8,17,12],[22,6,18,8],[23,6,19,8],[24,6,20,8],[24,10,20,12],[24,11,20,13,"_source"],[24,18,20,20],[24,21,20,23],[24,25,20,27,"node_1"],[24,31,20,33],[24,32,20,34,"NodeRandomSource"],[24,48,20,50],[24,49,20,51],[24,50,20,52],[25,6,21,8],[25,10,21,12],[25,14,21,16],[25,15,21,17,"_source"],[25,22,21,24],[25,23,21,25,"isAvailable"],[25,34,21,36],[25,36,21,38],[26,8,22,12],[26,12,22,16],[26,13,22,17,"isAvailable"],[26,24,22,28],[26,27,22,31],[26,31,22,35],[27,8,23,12],[27,12,23,16],[27,13,23,17,"name"],[27,17,23,21],[27,20,23,24],[27,26,23,30],[28,8,24,12],[29,6,25,8],[30,6,26,8],[31,4,27,4],[32,4,28,4,"randomBytes"],[32,15,28,15,"randomBytes"],[32,16,28,16,"length"],[32,22,28,22],[32,24,28,24],[33,6,29,8],[33,10,29,12],[33,11,29,13],[33,15,29,17],[33,16,29,18,"isAvailable"],[33,27,29,29],[33,29,29,31],[34,8,30,12],[34,14,30,18],[34,18,30,22,"Error"],[34,23,30,27],[34,24,30,28],[34,72,30,76],[34,73,30,77],[35,6,31,8],[36,6,32,8],[36,13,32,15],[36,17,32,19],[36,18,32,20,"_source"],[36,25,32,27],[36,26,32,28,"randomBytes"],[36,37,32,39],[36,38,32,40,"length"],[36,44,32,46],[36,45,32,47],[37,4,33,4],[38,2,34,0],[39,2,35,0,"exports"],[39,9,35,7],[39,10,35,8,"SystemRandomSource"],[39,28,35,26],[39,31,35,29,"SystemRandomSource"],[39,49,35,47],[40,0,35,48],[40,3]],"functionMap":{"names":["<global>","SystemRandomSource","SystemRandomSource#constructor","SystemRandomSource#randomBytes"],"mappings":"AAA;ACO;ICC;KDkB;IEC;KFK;CDC"},"hasCjsExports":true},"type":"js/module"}]} |