mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 20:21:01 +00:00
1 line
3.9 KiB
Plaintext
1 line
3.9 KiB
Plaintext
{"dependencies":[],"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.base64Decode = base64Decode;\n const CHR = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n const map = new Array(256);\n for (let i = 0, count = CHR.length; i < count; i++) {\n map[CHR.charCodeAt(i)] = i;\n }\n /**\n * @name base64Decode\n * @description\n * A base64 decoding function that operates in all environments. Unlike decoding\n * from Buffer (Node.js only) or atob (browser-only) this implementation is\n * slightly slower, but it is platform independent.\n *\n * For our usage, since we have access to the static final size, so we decode\n * to a specified output buffer. This also means we have applied a number of\n * optimizations based on this - checking output position instead of chars.\n */\n function base64Decode(data, out) {\n let byte = 0;\n let bits = 0;\n let pos = -1;\n for (let i = 0, last = out.length - 1; pos !== last; i++) {\n // each character represents 6 bits\n byte = byte << 6 | map[data.charCodeAt(i)];\n // each byte needs to contain 8 bits\n if ((bits += 6) >= 8) {\n out[++pos] = byte >>> (bits -= 8) & 0xff;\n }\n }\n return out;\n }\n});","lineCount":38,"map":[[7,2,17,0,"exports"],[7,9,17,0],[7,10,17,0,"base64Decode"],[7,22,17,0],[7,25,17,0,"base64Decode"],[7,37,17,0],[8,2,1,0],[8,8,1,6,"CHR"],[8,11,1,9],[8,14,1,12],[8,80,1,78],[9,2,2,0],[9,8,2,6,"map"],[9,11,2,9],[9,14,2,12],[9,18,2,16,"Array"],[9,23,2,21],[9,24,2,22],[9,27,2,25],[9,28,2,26],[10,2,3,0],[10,7,3,5],[10,11,3,9,"i"],[10,12,3,10],[10,15,3,13],[10,16,3,14],[10,18,3,16,"count"],[10,23,3,21],[10,26,3,24,"CHR"],[10,29,3,27],[10,30,3,28,"length"],[10,36,3,34],[10,38,3,36,"i"],[10,39,3,37],[10,42,3,40,"count"],[10,47,3,45],[10,49,3,47,"i"],[10,50,3,48],[10,52,3,50],[10,54,3,52],[11,4,4,4,"map"],[11,7,4,7],[11,8,4,8,"CHR"],[11,11,4,11],[11,12,4,12,"charCodeAt"],[11,22,4,22],[11,23,4,23,"i"],[11,24,4,24],[11,25,4,25],[11,26,4,26],[11,29,4,29,"i"],[11,30,4,30],[12,2,5,0],[13,2,6,0],[14,0,7,0],[15,0,8,0],[16,0,9,0],[17,0,10,0],[18,0,11,0],[19,0,12,0],[20,0,13,0],[21,0,14,0],[22,0,15,0],[23,0,16,0],[24,2,17,7],[24,11,17,16,"base64Decode"],[24,23,17,28,"base64Decode"],[24,24,17,29,"data"],[24,28,17,33],[24,30,17,35,"out"],[24,33,17,38],[24,35,17,40],[25,4,18,4],[25,8,18,8,"byte"],[25,12,18,12],[25,15,18,15],[25,16,18,16],[26,4,19,4],[26,8,19,8,"bits"],[26,12,19,12],[26,15,19,15],[26,16,19,16],[27,4,20,4],[27,8,20,8,"pos"],[27,11,20,11],[27,14,20,14],[27,15,20,15],[27,16,20,16],[28,4,21,4],[28,9,21,9],[28,13,21,13,"i"],[28,14,21,14],[28,17,21,17],[28,18,21,18],[28,20,21,20,"last"],[28,24,21,24],[28,27,21,27,"out"],[28,30,21,30],[28,31,21,31,"length"],[28,37,21,37],[28,40,21,40],[28,41,21,41],[28,43,21,43,"pos"],[28,46,21,46],[28,51,21,51,"last"],[28,55,21,55],[28,57,21,57,"i"],[28,58,21,58],[28,60,21,60],[28,62,21,62],[29,6,22,8],[30,6,23,8,"byte"],[30,10,23,12],[30,13,23,16,"byte"],[30,17,23,20],[30,21,23,24],[30,22,23,25],[30,25,23,29,"map"],[30,28,23,32],[30,29,23,33,"data"],[30,33,23,37],[30,34,23,38,"charCodeAt"],[30,44,23,48],[30,45,23,49,"i"],[30,46,23,50],[30,47,23,51],[30,48,23,52],[31,6,24,8],[32,6,25,8],[32,10,25,12],[32,11,25,13,"bits"],[32,15,25,17],[32,19,25,21],[32,20,25,22],[32,25,25,27],[32,26,25,28],[32,28,25,30],[33,8,26,12,"out"],[33,11,26,15],[33,12,26,16],[33,14,26,18,"pos"],[33,17,26,21],[33,18,26,22],[33,21,26,26,"byte"],[33,25,26,30],[33,31,26,36,"bits"],[33,35,26,40],[33,39,26,44],[33,40,26,45],[33,41,26,46],[33,44,26,50],[33,48,26,54],[34,6,27,8],[35,4,28,4],[36,4,29,4],[36,11,29,11,"out"],[36,14,29,14],[37,2,30,0],[38,0,30,1],[38,3]],"functionMap":{"names":["<global>","base64Decode"],"mappings":"AAA;OCgB;CDa"},"hasCjsExports":false},"type":"js/module"}]} |