auto-commit for f8470fe1-4ce5-4123-a3e6-0b710ab3390a

This commit is contained in:
emergent-agent-e1
2025-11-08 07:19:17 +00:00
parent 92245c9124
commit dd2549e54a
1911 changed files with 1911 additions and 0 deletions
@@ -0,0 +1 @@
{"dependencies":[{"name":"./extractPath.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":25,"index":143},"end":{"line":4,"column":52,"index":170}}],"key":"M/x5i2tCq4z1S2kCVUuh5HHvWJw=","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.keyExtractSuri = keyExtractSuri;\n const extractPath_js_1 = require(_dependencyMap[0], \"./extractPath.js\");\n const RE_CAPTURE = /^((0x[a-fA-F0-9]+|[\\p{L}\\d]+(?: [\\p{L}\\d]+)*))((\\/\\/?[^/]+)*)(\\/\\/\\/(.*))?$/u;\n /**\n * @description Extracts the phrase, path and password from a SURI format for specifying secret keys `<secret>/<soft-key>//<hard-key>///<password>` (the `///password` may be omitted, and `/<soft-key>` and `//<hard-key>` maybe repeated and mixed).\n */\n function keyExtractSuri(suri) {\n // Normalize Unicode to NFC to avoid accent-related mismatches\n const normalizedSuri = suri.normalize('NFC');\n // eslint-disable-next-line @typescript-eslint/prefer-regexp-exec\n const matches = normalizedSuri.match(RE_CAPTURE);\n if (matches === null) {\n throw new Error('Unable to match provided value to a secret URI');\n }\n const [, phrase,, derivePath,,, password] = matches;\n const {\n path\n } = (0, extractPath_js_1.keyExtractPath)(derivePath);\n return {\n derivePath,\n password,\n path,\n phrase\n };\n }\n});","lineCount":32,"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,"keyExtractSuri"],[7,24,3,22],[7,27,3,25,"keyExtractSuri"],[7,41,3,39],[8,2,4,0],[8,8,4,6,"extractPath_js_1"],[8,24,4,22],[8,27,4,25,"require"],[8,34,4,32],[8,35,4,32,"_dependencyMap"],[8,49,4,32],[8,72,4,51],[8,73,4,52],[9,2,5,0],[9,8,5,6,"RE_CAPTURE"],[9,18,5,16],[9,21,5,19],[9,99,5,97],[10,2,6,0],[11,0,7,0],[12,0,8,0],[13,2,9,0],[13,11,9,9,"keyExtractSuri"],[13,25,9,23,"keyExtractSuri"],[13,26,9,24,"suri"],[13,30,9,28],[13,32,9,30],[14,4,10,4],[15,4,11,4],[15,10,11,10,"normalizedSuri"],[15,24,11,24],[15,27,11,27,"suri"],[15,31,11,31],[15,32,11,32,"normalize"],[15,41,11,41],[15,42,11,42],[15,47,11,47],[15,48,11,48],[16,4,12,4],[17,4,13,4],[17,10,13,10,"matches"],[17,17,13,17],[17,20,13,20,"normalizedSuri"],[17,34,13,34],[17,35,13,35,"match"],[17,40,13,40],[17,41,13,41,"RE_CAPTURE"],[17,51,13,51],[17,52,13,52],[18,4,14,4],[18,8,14,8,"matches"],[18,15,14,15],[18,20,14,20],[18,24,14,24],[18,26,14,26],[19,6,15,8],[19,12,15,14],[19,16,15,18,"Error"],[19,21,15,23],[19,22,15,24],[19,70,15,72],[19,71,15,73],[20,4,16,4],[21,4,17,4],[21,10,17,10],[21,13,17,13,"phrase"],[21,19,17,19],[21,22,17,23,"derivePath"],[21,32,17,33],[21,36,17,39,"password"],[21,44,17,47],[21,45,17,48],[21,48,17,51,"matches"],[21,55,17,58],[22,4,18,4],[22,10,18,10],[23,6,18,12,"path"],[24,4,18,17],[24,5,18,18],[24,8,18,21],[24,9,18,22],[24,10,18,23],[24,12,18,25,"extractPath_js_1"],[24,28,18,41],[24,29,18,42,"keyExtractPath"],[24,43,18,56],[24,45,18,58,"derivePath"],[24,55,18,68],[24,56,18,69],[25,4,19,4],[25,11,19,11],[26,6,20,8,"derivePath"],[26,16,20,18],[27,6,21,8,"password"],[27,14,21,16],[28,6,22,8,"path"],[28,10,22,12],[29,6,23,8,"phrase"],[30,4,24,4],[30,5,24,5],[31,2,25,0],[32,0,25,1],[32,3]],"functionMap":{"names":["<global>","keyExtractSuri"],"mappings":"AAA;ACQ;CDgB"},"hasCjsExports":true},"type":"js/module"}]}
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"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.typesToMap = typesToMap;\n function typesToMap(registry, [Types, keys]) {\n const result = {};\n for (let i = 0, count = keys.length; i < count; i++) {\n result[keys[i]] = registry.getClassName(Types[i]) || new Types[i](registry).toRawType();\n }\n return result;\n }\n});","lineCount":15,"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,"typesToMap"],[7,20,3,18],[7,23,3,21,"typesToMap"],[7,33,3,31],[8,2,4,0],[8,11,4,9,"typesToMap"],[8,21,4,19,"typesToMap"],[8,22,4,20,"registry"],[8,30,4,28],[8,32,4,30],[8,33,4,31,"Types"],[8,38,4,36],[8,40,4,38,"keys"],[8,44,4,42],[8,45,4,43],[8,47,4,45],[9,4,5,4],[9,10,5,10,"result"],[9,16,5,16],[9,19,5,19],[9,20,5,20],[9,21,5,21],[10,4,6,4],[10,9,6,9],[10,13,6,13,"i"],[10,14,6,14],[10,17,6,17],[10,18,6,18],[10,20,6,20,"count"],[10,25,6,25],[10,28,6,28,"keys"],[10,32,6,32],[10,33,6,33,"length"],[10,39,6,39],[10,41,6,41,"i"],[10,42,6,42],[10,45,6,45,"count"],[10,50,6,50],[10,52,6,52,"i"],[10,53,6,53],[10,55,6,55],[10,57,6,57],[11,6,7,8,"result"],[11,12,7,14],[11,13,7,15,"keys"],[11,17,7,19],[11,18,7,20,"i"],[11,19,7,21],[11,20,7,22],[11,21,7,23],[11,24,7,26,"registry"],[11,32,7,34],[11,33,7,35,"getClassName"],[11,45,7,47],[11,46,7,48,"Types"],[11,51,7,53],[11,52,7,54,"i"],[11,53,7,55],[11,54,7,56],[11,55,7,57],[11,59,7,61],[11,63,7,65,"Types"],[11,68,7,70],[11,69,7,71,"i"],[11,70,7,72],[11,71,7,73],[11,72,7,74,"registry"],[11,80,7,82],[11,81,7,83],[11,82,7,84,"toRawType"],[11,91,7,93],[11,92,7,94],[11,93,7,95],[12,4,8,4],[13,4,9,4],[13,11,9,11,"result"],[13,17,9,17],[14,2,10,0],[15,0,10,1],[15,3]],"functionMap":{"names":["<global>","typesToMap"],"mappings":"AAA;ACG;CDM"},"hasCjsExports":true},"type":"js/module"}]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"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});","lineCount":7,"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,0,2,62],[7,3]],"functionMap":{"names":["<global>"],"mappings":"AAA"},"hasCjsExports":false},"type":"js/module"}]}