mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 16:51:02 +00:00
1 line
3.2 KiB
Plaintext
1 line
3.2 KiB
Plaintext
{"dependencies":[{"name":"./DeriveJunction.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":53,"index":53}}],"key":"GHbsIx9i0EkxvP2z8u5a54VkjYc=","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.keyExtractPath = keyExtractPath;\n var _DeriveJunctionJs = require(_dependencyMap[0], \"./DeriveJunction.js\");\n const RE_JUNCTION = /\\/(\\/?)([^/]+)/g;\n /**\n * @description Extract derivation junctions from the supplied path\n */\n function keyExtractPath(derivePath) {\n const parts = derivePath.match(RE_JUNCTION);\n const path = [];\n let constructed = '';\n if (parts) {\n constructed = parts.join('');\n for (const p of parts) {\n path.push(_DeriveJunctionJs.DeriveJunction.from(p.substring(1)));\n }\n }\n if (constructed !== derivePath) {\n throw new Error(`Re-constructed path \"${constructed}\" does not match input`);\n }\n return {\n parts,\n path\n };\n }\n});","lineCount":31,"map":[[7,2,6,0,"exports"],[7,9,6,0],[7,10,6,0,"keyExtractPath"],[7,24,6,0],[7,27,6,0,"keyExtractPath"],[7,41,6,0],[8,2,1,0],[8,6,1,0,"_DeriveJunctionJs"],[8,23,1,0],[8,26,1,0,"require"],[8,33,1,0],[8,34,1,0,"_dependencyMap"],[8,48,1,0],[9,2,2,0],[9,8,2,6,"RE_JUNCTION"],[9,19,2,17],[9,22,2,20],[9,39,2,37],[10,2,3,0],[11,0,4,0],[12,0,5,0],[13,2,6,7],[13,11,6,16,"keyExtractPath"],[13,25,6,30,"keyExtractPath"],[13,26,6,31,"derivePath"],[13,36,6,41],[13,38,6,43],[14,4,7,4],[14,10,7,10,"parts"],[14,15,7,15],[14,18,7,18,"derivePath"],[14,28,7,28],[14,29,7,29,"match"],[14,34,7,34],[14,35,7,35,"RE_JUNCTION"],[14,46,7,46],[14,47,7,47],[15,4,8,4],[15,10,8,10,"path"],[15,14,8,14],[15,17,8,17],[15,19,8,19],[16,4,9,4],[16,8,9,8,"constructed"],[16,19,9,19],[16,22,9,22],[16,24,9,24],[17,4,10,4],[17,8,10,8,"parts"],[17,13,10,13],[17,15,10,15],[18,6,11,8,"constructed"],[18,17,11,19],[18,20,11,22,"parts"],[18,25,11,27],[18,26,11,28,"join"],[18,30,11,32],[18,31,11,33],[18,33,11,35],[18,34,11,36],[19,6,12,8],[19,11,12,13],[19,17,12,19,"p"],[19,18,12,20],[19,22,12,24,"parts"],[19,27,12,29],[19,29,12,31],[20,8,13,12,"path"],[20,12,13,16],[20,13,13,17,"push"],[20,17,13,21],[20,18,13,22,"DeriveJunction"],[20,35,13,36],[20,36,13,36,"DeriveJunction"],[20,50,13,36],[20,51,13,37,"from"],[20,55,13,41],[20,56,13,42,"p"],[20,57,13,43],[20,58,13,44,"substring"],[20,67,13,53],[20,68,13,54],[20,69,13,55],[20,70,13,56],[20,71,13,57],[20,72,13,58],[21,6,14,8],[22,4,15,4],[23,4,16,4],[23,8,16,8,"constructed"],[23,19,16,19],[23,24,16,24,"derivePath"],[23,34,16,34],[23,36,16,36],[24,6,17,8],[24,12,17,14],[24,16,17,18,"Error"],[24,21,17,23],[24,22,17,24],[24,46,17,48,"constructed"],[24,57,17,59],[24,81,17,83],[24,82,17,84],[25,4,18,4],[26,4,19,4],[26,11,19,11],[27,6,20,8,"parts"],[27,11,20,13],[28,6,21,8,"path"],[29,4,22,4],[29,5,22,5],[30,2,23,0],[31,0,23,1],[31,3]],"functionMap":{"names":["<global>","keyExtractPath"],"mappings":"AAA;OCK;CDiB"},"hasCjsExports":false},"type":"js/module"}]} |