mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 16:51:02 +00:00
1 line
2.8 KiB
Plaintext
1 line
2.8 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 Object.defineProperty(exports, \"HARDENED\", {\n enumerable: true,\n get: function () {\n return HARDENED;\n }\n });\n exports.hdValidatePath = hdValidatePath;\n const HARDENED = 0x80000000;\n function hdValidatePath(path) {\n if (!path.startsWith('m/')) {\n return false;\n }\n const parts = path.split('/').slice(1);\n for (const p of parts) {\n const n = /^\\d+'?$/.test(p) ? parseInt(p.replace(/'$/, ''), 10) : Number.NaN;\n if (isNaN(n) || n >= HARDENED || n < 0) {\n return false;\n }\n }\n return true;\n }\n});","lineCount":28,"map":[[7,2,1,0,"Object"],[7,8,1,0],[7,9,1,0,"defineProperty"],[7,23,1,0],[7,24,1,0,"exports"],[7,31,1,0],[8,4,1,0,"enumerable"],[8,14,1,0],[9,4,1,0,"get"],[9,7,1,0],[9,18,1,0,"get"],[9,19,1,0],[10,6,1,0],[10,13,1,0,"HARDENED"],[10,21,1,0],[11,4,1,0],[12,2,1,0],[13,2,2,0,"exports"],[13,9,2,0],[13,10,2,0,"hdValidatePath"],[13,24,2,0],[13,27,2,0,"hdValidatePath"],[13,41,2,0],[14,2,1,7],[14,8,1,13,"HARDENED"],[14,16,1,21],[14,19,1,24],[14,29,1,34],[15,2,2,7],[15,11,2,16,"hdValidatePath"],[15,25,2,30,"hdValidatePath"],[15,26,2,31,"path"],[15,30,2,35],[15,32,2,37],[16,4,3,4],[16,8,3,8],[16,9,3,9,"path"],[16,13,3,13],[16,14,3,14,"startsWith"],[16,24,3,24],[16,25,3,25],[16,29,3,29],[16,30,3,30],[16,32,3,32],[17,6,4,8],[17,13,4,15],[17,18,4,20],[18,4,5,4],[19,4,6,4],[19,10,6,10,"parts"],[19,15,6,15],[19,18,6,18,"path"],[19,22,6,22],[19,23,6,23,"split"],[19,28,6,28],[19,29,6,29],[19,32,6,32],[19,33,6,33],[19,34,6,34,"slice"],[19,39,6,39],[19,40,6,40],[19,41,6,41],[19,42,6,42],[20,4,7,4],[20,9,7,9],[20,15,7,15,"p"],[20,16,7,16],[20,20,7,20,"parts"],[20,25,7,25],[20,27,7,27],[21,6,8,8],[21,12,8,14,"n"],[21,13,8,15],[21,16,8,18],[21,25,8,27],[21,26,8,28,"test"],[21,30,8,32],[21,31,8,33,"p"],[21,32,8,34],[21,33,8,35],[21,36,9,14,"parseInt"],[21,44,9,22],[21,45,9,23,"p"],[21,46,9,24],[21,47,9,25,"replace"],[21,54,9,32],[21,55,9,33],[21,59,9,37],[21,61,9,39],[21,63,9,41],[21,64,9,42],[21,66,9,44],[21,68,9,46],[21,69,9,47],[21,72,10,14,"Number"],[21,78,10,20],[21,79,10,21,"NaN"],[21,82,10,24],[22,6,11,8],[22,10,11,12,"isNaN"],[22,15,11,17],[22,16,11,18,"n"],[22,17,11,19],[22,18,11,20],[22,22,11,25,"n"],[22,23,11,26],[22,27,11,30,"HARDENED"],[22,35,11,39],[22,39,11,44,"n"],[22,40,11,45],[22,43,11,48],[22,44,11,50],[22,46,11,52],[23,8,12,12],[23,15,12,19],[23,20,12,24],[24,6,13,8],[25,4,14,4],[26,4,15,4],[26,11,15,11],[26,15,15,15],[27,2,16,0],[28,0,16,1],[28,3]],"functionMap":{"names":["<global>","hdValidatePath"],"mappings":"AAA;OCC;CDc"},"hasCjsExports":false},"type":"js/module"}]} |