mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 08:51:01 +00:00
1 line
4.0 KiB
Plaintext
1 line
4.0 KiB
Plaintext
{"dependencies":[{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":15,"index":127},"end":{"line":4,"column":40,"index":152}}],"key":"u0mzEw2nilnHoUWtEdZl0JKHutA=","exportNames":["*"],"imports":1}},{"name":"../base64/index.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":19,"index":173},"end":{"line":5,"column":48,"index":202}}],"key":"qApgp0P5PG90q6q9ba/Lag0GrIQ=","exportNames":["*"],"imports":1}},{"name":"./decryptData.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":25,"index":229},"end":{"line":6,"column":52,"index":256}}],"key":"RAAkfmHeyrkKD1NTBIskt8uPxwc=","exportNames":["*"],"imports":1}}],"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.jsonDecrypt = jsonDecrypt;\n const util_1 = require(_dependencyMap[0], \"@polkadot/util\");\n const index_js_1 = require(_dependencyMap[1], \"../base64/index.js\");\n const decryptData_js_1 = require(_dependencyMap[2], \"./decryptData.js\");\n function jsonDecrypt({\n encoded,\n encoding\n }, passphrase) {\n if (!encoded) {\n throw new Error('No encrypted data available to decode');\n }\n return (0, decryptData_js_1.jsonDecryptData)((0, util_1.isHex)(encoded) ? (0, util_1.hexToU8a)(encoded) : (0, index_js_1.base64Decode)(encoded), passphrase, Array.isArray(encoding.type) ? encoding.type : [encoding.type]);\n }\n});","lineCount":20,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"jsonDecrypt"],[7,21,3,19],[7,24,3,22,"jsonDecrypt"],[7,35,3,33],[8,2,4,0],[8,8,4,6,"util_1"],[8,14,4,12],[8,17,4,15,"require"],[8,24,4,22],[8,25,4,22,"_dependencyMap"],[8,39,4,22],[8,60,4,39],[8,61,4,40],[9,2,5,0],[9,8,5,6,"index_js_1"],[9,18,5,16],[9,21,5,19,"require"],[9,28,5,26],[9,29,5,26,"_dependencyMap"],[9,43,5,26],[9,68,5,47],[9,69,5,48],[10,2,6,0],[10,8,6,6,"decryptData_js_1"],[10,24,6,22],[10,27,6,25,"require"],[10,34,6,32],[10,35,6,32,"_dependencyMap"],[10,49,6,32],[10,72,6,51],[10,73,6,52],[11,2,7,0],[11,11,7,9,"jsonDecrypt"],[11,22,7,20,"jsonDecrypt"],[11,23,7,21],[12,4,7,23,"encoded"],[12,11,7,30],[13,4,7,32,"encoding"],[14,2,7,41],[14,3,7,42],[14,5,7,44,"passphrase"],[14,15,7,54],[14,17,7,56],[15,4,8,4],[15,8,8,8],[15,9,8,9,"encoded"],[15,16,8,16],[15,18,8,18],[16,6,9,8],[16,12,9,14],[16,16,9,18,"Error"],[16,21,9,23],[16,22,9,24],[16,61,9,63],[16,62,9,64],[17,4,10,4],[18,4,11,4],[18,11,11,11],[18,12,11,12],[18,13,11,13],[18,15,11,15,"decryptData_js_1"],[18,31,11,31],[18,32,11,32,"jsonDecryptData"],[18,47,11,47],[18,49,11,49],[18,50,11,50],[18,51,11,51],[18,53,11,53,"util_1"],[18,59,11,59],[18,60,11,60,"isHex"],[18,65,11,65],[18,67,11,67,"encoded"],[18,74,11,74],[18,75,11,75],[18,78,12,10],[18,79,12,11],[18,80,12,12],[18,82,12,14,"util_1"],[18,88,12,20],[18,89,12,21,"hexToU8a"],[18,97,12,29],[18,99,12,31,"encoded"],[18,106,12,38],[18,107,12,39],[18,110,13,10],[18,111,13,11],[18,112,13,12],[18,114,13,14,"index_js_1"],[18,124,13,24],[18,125,13,25,"base64Decode"],[18,137,13,37],[18,139,13,39,"encoded"],[18,146,13,46],[18,147,13,47],[18,149,13,49,"passphrase"],[18,159,13,59],[18,161,13,61,"Array"],[18,166,13,66],[18,167,13,67,"isArray"],[18,174,13,74],[18,175,13,75,"encoding"],[18,183,13,83],[18,184,13,84,"type"],[18,188,13,88],[18,189,13,89],[18,192,14,10,"encoding"],[18,200,14,18],[18,201,14,19,"type"],[18,205,14,23],[18,208,15,10],[18,209,15,11,"encoding"],[18,217,15,19],[18,218,15,20,"type"],[18,222,15,24],[18,223,15,25],[18,224,15,26],[19,2,16,0],[20,0,16,1],[20,3]],"functionMap":{"names":["<global>","jsonDecrypt"],"mappings":"AAA;ACM;CDS"},"hasCjsExports":true},"type":"js/module"}]} |