mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 20:21:01 +00:00
1 line
5.0 KiB
Plaintext
1 line
5.0 KiB
Plaintext
{"dependencies":[],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.formatProjectFilePath = formatProjectFilePath;\n exports.getStackFormattedLocation = getStackFormattedLocation;\n function formatProjectFilePath(projectRoot, file) {\n if (file == null) {\n return '<unknown>';\n }\n return pathRelativeToPath(file.replace(/\\\\/g, '/'), projectRoot.replace(/\\\\/g, '/')).replace(/\\?.*$/, '');\n }\n function pathRelativeToPath(path, relativeTo, sep = '/') {\n const relativeToParts = relativeTo.split(sep);\n const pathParts = path.split(sep);\n let i = 0;\n while (i < relativeToParts.length && i < pathParts.length) {\n if (relativeToParts[i] !== pathParts[i]) {\n break;\n }\n i++;\n }\n return pathParts.slice(i).join(sep);\n }\n function getStackFormattedLocation(projectRoot, frame) {\n const column = frame.column != null && parseInt(String(frame.column), 10);\n const location = formatProjectFilePath(projectRoot, frame.file) + (frame.lineNumber != null ? ':' + frame.lineNumber + (column && !isNaN(column) ? ':' + (column + 1) : '') : '');\n return location;\n }\n});","lineCount":30,"map":[[7,2,5,7],[7,11,5,16,"formatProjectFilePath"],[7,32,5,37,"formatProjectFilePath"],[7,33,5,38,"projectRoot"],[7,44,5,57],[7,46,5,59,"file"],[7,50,5,79],[7,52,5,89],[8,4,6,2],[8,8,6,6,"file"],[8,12,6,10],[8,16,6,14],[8,20,6,18],[8,22,6,20],[9,6,7,4],[9,13,7,11],[9,24,7,22],[10,4,8,2],[11,4,10,2],[11,11,10,9,"pathRelativeToPath"],[11,29,10,27],[11,30,10,28,"file"],[11,34,10,32],[11,35,10,33,"replace"],[11,42,10,40],[11,43,10,41],[11,48,10,46],[11,50,10,48],[11,53,10,51],[11,54,10,52],[11,56,10,54,"projectRoot"],[11,67,10,65],[11,68,10,66,"replace"],[11,75,10,73],[11,76,10,74],[11,81,10,79],[11,83,10,81],[11,86,10,84],[11,87,10,85],[11,88,10,86],[11,89,10,87,"replace"],[11,96,10,94],[11,97,11,4],[11,104,11,11],[11,106,12,4],[11,108,13,2],[11,109,13,3],[12,2,14,0],[13,2,16,0],[13,11,16,9,"pathRelativeToPath"],[13,29,16,27,"pathRelativeToPath"],[13,30,16,28,"path"],[13,34,16,40],[13,36,16,42,"relativeTo"],[13,46,16,60],[13,48,16,62,"sep"],[13,51,16,65],[13,54,16,68],[13,57,16,71],[13,59,16,73],[14,4,17,2],[14,10,17,8,"relativeToParts"],[14,25,17,23],[14,28,17,26,"relativeTo"],[14,38,17,36],[14,39,17,37,"split"],[14,44,17,42],[14,45,17,43,"sep"],[14,48,17,46],[14,49,17,47],[15,4,18,2],[15,10,18,8,"pathParts"],[15,19,18,17],[15,22,18,20,"path"],[15,26,18,24],[15,27,18,25,"split"],[15,32,18,30],[15,33,18,31,"sep"],[15,36,18,34],[15,37,18,35],[16,4,19,2],[16,8,19,6,"i"],[16,9,19,7],[16,12,19,10],[16,13,19,11],[17,4,20,2],[17,11,20,9,"i"],[17,12,20,10],[17,15,20,13,"relativeToParts"],[17,30,20,28],[17,31,20,29,"length"],[17,37,20,35],[17,41,20,39,"i"],[17,42,20,40],[17,45,20,43,"pathParts"],[17,54,20,52],[17,55,20,53,"length"],[17,61,20,59],[17,63,20,61],[18,6,21,4],[18,10,21,8,"relativeToParts"],[18,25,21,23],[18,26,21,24,"i"],[18,27,21,25],[18,28,21,26],[18,33,21,31,"pathParts"],[18,42,21,40],[18,43,21,41,"i"],[18,44,21,42],[18,45,21,43],[18,47,21,45],[19,8,22,6],[20,6,23,4],[21,6,24,4,"i"],[21,7,24,5],[21,9,24,7],[22,4,25,2],[23,4,26,2],[23,11,26,9,"pathParts"],[23,20,26,18],[23,21,26,19,"slice"],[23,26,26,24],[23,27,26,25,"i"],[23,28,26,26],[23,29,26,27],[23,30,26,28,"join"],[23,34,26,32],[23,35,26,33,"sep"],[23,38,26,36],[23,39,26,37],[24,2,27,0],[25,2,29,7],[25,11,29,16,"getStackFormattedLocation"],[25,36,29,41,"getStackFormattedLocation"],[25,37,29,42,"projectRoot"],[25,48,29,61],[25,50,29,63,"frame"],[25,55,29,85],[25,57,29,87],[26,4,30,2],[26,10,30,8,"column"],[26,16,30,14],[26,19,30,17,"frame"],[26,24,30,22],[26,25,30,23,"column"],[26,31,30,29],[26,35,30,33],[26,39,30,37],[26,43,30,41,"parseInt"],[26,51,30,49],[26,52,30,50,"String"],[26,58,30,56],[26,59,30,57,"frame"],[26,64,30,62],[26,65,30,63,"column"],[26,71,30,69],[26,72,30,70],[26,74,30,72],[26,76,30,74],[26,77,30,75],[27,4,31,2],[27,10,31,8,"location"],[27,18,31,16],[27,21,32,4,"formatProjectFilePath"],[27,42,32,25],[27,43,32,26,"projectRoot"],[27,54,32,37],[27,56,32,39,"frame"],[27,61,32,44],[27,62,32,45,"file"],[27,66,32,49],[27,67,32,50],[27,71,33,5,"frame"],[27,76,33,10],[27,77,33,11,"lineNumber"],[27,87,33,21],[27,91,33,25],[27,95,33,29],[27,98,34,8],[27,101,34,11],[27,104,34,14,"frame"],[27,109,34,19],[27,110,34,20,"lineNumber"],[27,120,34,30],[27,124,34,34,"column"],[27,130,34,40],[27,134,34,44],[27,135,34,45,"isNaN"],[27,140,34,50],[27,141,34,51,"column"],[27,147,34,57],[27,148,34,58],[27,151,34,61],[27,154,34,64],[27,158,34,68,"column"],[27,164,34,74],[27,167,34,77],[27,168,34,78],[27,169,34,79],[27,172,34,82],[27,174,34,84],[27,175,34,85],[27,178,35,8],[27,180,35,10],[27,181,35,11],[28,4,37,2],[28,11,37,9,"location"],[28,19,37,17],[29,2,38,0],[30,0,38,1],[30,3]],"functionMap":{"names":["<global>","formatProjectFilePath","pathRelativeToPath","getStackFormattedLocation"],"mappings":"AAA;OCI;CDS;AEE;CFW;OGE;CHS"}},"type":"js/module"}]} |