mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 04:11:02 +00:00
1 line
5.9 KiB
Plaintext
1 line
5.9 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}}],"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.BrowserRandomSource = void 0;\n var QUOTA = 65536;\n var BrowserRandomSource = /*#__PURE__*/function () {\n function BrowserRandomSource() {\n _classCallCheck(this, BrowserRandomSource);\n this.isAvailable = false;\n this.isInstantiated = false;\n var browserCrypto = typeof self !== 'undefined' ? self.crypto || self.msCrypto // IE11 has msCrypto\n : null;\n if (browserCrypto && browserCrypto.getRandomValues !== undefined) {\n this._crypto = browserCrypto;\n this.isAvailable = true;\n this.isInstantiated = true;\n }\n }\n return _createClass(BrowserRandomSource, [{\n key: \"randomBytes\",\n value: function randomBytes(length) {\n if (!this.isAvailable || !this._crypto) {\n throw new Error(\"Browser random byte generator is not available.\");\n }\n var out = new Uint8Array(length);\n for (var i = 0; i < out.length; i += QUOTA) {\n this._crypto.getRandomValues(out.subarray(i, i + Math.min(out.length - i, QUOTA)));\n }\n return out;\n }\n }]);\n }();\n exports.BrowserRandomSource = BrowserRandomSource;\n});","lineCount":41,"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,"BrowserRandomSource"],[11,29,5,27],[11,32,5,30],[11,37,5,35],[11,38,5,36],[12,2,6,0],[12,6,6,6,"QUOTA"],[12,11,6,11],[12,14,6,14],[12,19,6,19],[13,2,6,20],[13,6,7,6,"BrowserRandomSource"],[13,25,7,25],[14,4,8,4],[14,13,8,4,"BrowserRandomSource"],[14,33,8,4],[14,35,8,18],[15,6,8,18,"_classCallCheck"],[15,21,8,18],[15,28,8,18,"BrowserRandomSource"],[15,47,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,14,"browserCrypto"],[18,23,11,27],[18,26,11,30],[18,33,11,37,"self"],[18,37,11,41],[18,42,11,46],[18,53,11,57],[18,56,12,15,"self"],[18,60,12,19],[18,61,12,20,"crypto"],[18,67,12,26],[18,71,12,30,"self"],[18,75,12,34],[18,76,12,35,"msCrypto"],[18,84,12,43],[18,85,12,45],[19,6,12,45],[19,8,13,14],[19,12,13,18],[20,6,14,8],[20,10,14,12,"browserCrypto"],[20,23,14,25],[20,27,14,29,"browserCrypto"],[20,40,14,42],[20,41,14,43,"getRandomValues"],[20,56,14,58],[20,61,14,63,"undefined"],[20,70,14,72],[20,72,14,74],[21,8,15,12],[21,12,15,16],[21,13,15,17,"_crypto"],[21,20,15,24],[21,23,15,27,"browserCrypto"],[21,36,15,40],[22,8,16,12],[22,12,16,16],[22,13,16,17,"isAvailable"],[22,24,16,28],[22,27,16,31],[22,31,16,35],[23,8,17,12],[23,12,17,16],[23,13,17,17,"isInstantiated"],[23,27,17,31],[23,30,17,34],[23,34,17,38],[24,6,18,8],[25,4,19,4],[26,4,19,5],[26,11,19,5,"_createClass"],[26,23,19,5],[26,24,19,5,"BrowserRandomSource"],[26,43,19,5],[27,6,19,5,"key"],[27,9,19,5],[28,6,19,5,"value"],[28,11,19,5],[28,13,20,4],[28,22,20,4,"randomBytes"],[28,33,20,15,"randomBytes"],[28,34,20,16,"length"],[28,40,20,22],[28,42,20,24],[29,8,21,8],[29,12,21,12],[29,13,21,13],[29,17,21,17],[29,18,21,18,"isAvailable"],[29,29,21,29],[29,33,21,33],[29,34,21,34],[29,38,21,38],[29,39,21,39,"_crypto"],[29,46,21,46],[29,48,21,48],[30,10,22,12],[30,16,22,18],[30,20,22,22,"Error"],[30,25,22,27],[30,26,22,28],[30,75,22,77],[30,76,22,78],[31,8,23,8],[32,8,24,8],[32,12,24,14,"out"],[32,15,24,17],[32,18,24,20],[32,22,24,24,"Uint8Array"],[32,32,24,34],[32,33,24,35,"length"],[32,39,24,41],[32,40,24,42],[33,8,25,8],[33,13,25,13],[33,17,25,17,"i"],[33,18,25,18],[33,21,25,21],[33,22,25,22],[33,24,25,24,"i"],[33,25,25,25],[33,28,25,28,"out"],[33,31,25,31],[33,32,25,32,"length"],[33,38,25,38],[33,40,25,40,"i"],[33,41,25,41],[33,45,25,45,"QUOTA"],[33,50,25,50],[33,52,25,52],[34,10,26,12],[34,14,26,16],[34,15,26,17,"_crypto"],[34,22,26,24],[34,23,26,25,"getRandomValues"],[34,38,26,40],[34,39,26,41,"out"],[34,42,26,44],[34,43,26,45,"subarray"],[34,51,26,53],[34,52,26,54,"i"],[34,53,26,55],[34,55,26,57,"i"],[34,56,26,58],[34,59,26,61,"Math"],[34,63,26,65],[34,64,26,66,"min"],[34,67,26,69],[34,68,26,70,"out"],[34,71,26,73],[34,72,26,74,"length"],[34,78,26,80],[34,81,26,83,"i"],[34,82,26,84],[34,84,26,86,"QUOTA"],[34,89,26,91],[34,90,26,92],[34,91,26,93],[34,92,26,94],[35,8,27,8],[36,8,28,8],[36,15,28,15,"out"],[36,18,28,18],[37,6,29,4],[38,4,29,5],[39,2,29,5],[40,2,31,0,"exports"],[40,9,31,7],[40,10,31,8,"BrowserRandomSource"],[40,29,31,27],[40,32,31,30,"BrowserRandomSource"],[40,51,31,49],[41,0,31,50],[41,3]],"functionMap":{"names":["<global>","BrowserRandomSource","BrowserRandomSource#constructor","BrowserRandomSource#randomBytes"],"mappings":"AAA;ACM;ICC;KDW;IEC;KFS;CDC"},"hasCjsExports":true},"type":"js/module"}]} |