mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 04:11:02 +00:00
1 line
10 KiB
Plaintext
1 line
10 KiB
Plaintext
{"dependencies":[{"name":"expo-modules-core","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}}],"key":"fU8WLIPqoAGygnPbZ/QJiQQfXEY=","exportNames":["*"],"imports":1}},{"name":"react-native-web/dist/exports/PixelRatio","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"5rdRioKC4qvLVlVTyxLOiQm3IeU=","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 function _interopDefault(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n Object.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return AssetSourceResolver;\n }\n });\n var _expoModulesCore = require(_dependencyMap[0], \"expo-modules-core\");\n var _reactNativeWebDistExportsPixelRatio = require(_dependencyMap[1], \"react-native-web/dist/exports/PixelRatio\");\n var PixelRatio = _interopDefault(_reactNativeWebDistExportsPixelRatio);\n // Returns the Metro dev server-specific asset location.\n function getScaledAssetPath(asset) {\n const scale = AssetSourceResolver.pickScale(asset.scales, PixelRatio.default.get());\n const scaleSuffix = scale === 1 ? '' : '@' + scale + 'x';\n const type = !asset.type ? '' : `.${asset.type}`;\n if (__DEV__) {\n return asset.httpServerLocation + '/' + asset.name + scaleSuffix + type;\n } else {\n return asset.httpServerLocation.replace(/\\.\\.\\//g, '_') + '/' + asset.name + scaleSuffix + type;\n }\n }\n class AssetSourceResolver {\n // where the jsbundle is being run from\n // NOTE(EvanBacon): Never defined on web.\n // @ts-expect-error: Never read locally\n\n // the asset to resolve\n\n constructor(serverUrl, jsbundleUrl, asset) {\n this.serverUrl = serverUrl || 'https://expo.dev';\n this.jsbundleUrl = null;\n this.asset = asset;\n }\n // Always true for web runtimes\n isLoadedFromServer() {\n return true;\n }\n // Always false for web runtimes\n isLoadedFromFileSystem() {\n return false;\n }\n defaultAsset() {\n return this.assetServerURL();\n }\n /**\n * @returns absolute remote URL for the hosted asset.\n */\n assetServerURL() {\n const fromUrl = new URL(getScaledAssetPath(this.asset), this.serverUrl);\n fromUrl.searchParams.set('platform', _expoModulesCore.Platform.OS);\n fromUrl.searchParams.set('hash', this.asset.hash);\n return this.fromSource(\n // Relative on web\n fromUrl.toString().replace(fromUrl.origin, ''));\n }\n fromSource(source) {\n return {\n __packager_asset: true,\n width: this.asset.width ?? undefined,\n height: this.asset.height ?? undefined,\n uri: source,\n scale: AssetSourceResolver.pickScale(this.asset.scales, PixelRatio.default.get())\n };\n }\n static pickScale(scales, deviceScale) {\n for (let i = 0; i < scales.length; i++) {\n if (scales[i] >= deviceScale) {\n return scales[i];\n }\n }\n return scales[scales.length - 1] || 1;\n }\n }\n});","lineCount":84,"map":[[12,2,15,15,"Object"],[12,8,15,15],[12,9,15,15,"defineProperty"],[12,23,15,15],[12,24,15,15,"exports"],[12,31,15,15],[13,4,15,15,"enumerable"],[13,14,15,15],[14,4,15,15,"get"],[14,7,15,15],[14,18,15,15,"get"],[14,19,15,15],[15,6,15,15],[15,13,15,15,"AssetSourceResolver"],[15,32,15,15],[16,4,15,15],[17,2,15,15],[18,2,1,0],[18,6,1,0,"_expoModulesCore"],[18,22,1,0],[18,25,1,0,"require"],[18,32,1,0],[18,33,1,0,"_dependencyMap"],[18,47,1,0],[19,2,1,45],[19,6,1,45,"_reactNativeWebDistExportsPixelRatio"],[19,42,1,45],[19,45,1,45,"require"],[19,52,1,45],[19,53,1,45,"_dependencyMap"],[19,67,1,45],[20,2,1,45],[20,6,1,45,"PixelRatio"],[20,16,1,45],[20,19,1,45,"_interopDefault"],[20,34,1,45],[20,35,1,45,"_reactNativeWebDistExportsPixelRatio"],[20,71,1,45],[21,2,3,0],[22,2,4,0],[22,11,4,9,"getScaledAssetPath"],[22,29,4,27,"getScaledAssetPath"],[22,30,4,28,"asset"],[22,35,4,33],[22,37,4,35],[23,4,5,4],[23,10,5,10,"scale"],[23,15,5,15],[23,18,5,18,"AssetSourceResolver"],[23,37,5,37],[23,38,5,38,"pickScale"],[23,47,5,47],[23,48,5,48,"asset"],[23,53,5,53],[23,54,5,54,"scales"],[23,60,5,60],[23,62,5,62,"PixelRatio"],[23,72,5,72],[23,73,5,72,"default"],[23,80,5,72],[23,81,5,73,"get"],[23,84,5,76],[23,85,5,77],[23,86,5,78],[23,87,5,79],[24,4,6,4],[24,10,6,10,"scaleSuffix"],[24,21,6,21],[24,24,6,24,"scale"],[24,29,6,29],[24,34,6,34],[24,35,6,35],[24,38,6,38],[24,40,6,40],[24,43,6,43],[24,46,6,46],[24,49,6,49,"scale"],[24,54,6,54],[24,57,6,57],[24,60,6,60],[25,4,7,4],[25,10,7,10,"type"],[25,14,7,14],[25,17,7,17],[25,18,7,18,"asset"],[25,23,7,23],[25,24,7,24,"type"],[25,28,7,28],[25,31,7,31],[25,33,7,33],[25,36,7,36],[25,40,7,40,"asset"],[25,45,7,45],[25,46,7,46,"type"],[25,50,7,50],[25,52,7,52],[26,4,8,4],[26,8,8,8,"__DEV__"],[26,15,8,15],[26,17,8,17],[27,6,9,8],[27,13,9,15,"asset"],[27,18,9,20],[27,19,9,21,"httpServerLocation"],[27,37,9,39],[27,40,9,42],[27,43,9,45],[27,46,9,48,"asset"],[27,51,9,53],[27,52,9,54,"name"],[27,56,9,58],[27,59,9,61,"scaleSuffix"],[27,70,9,72],[27,73,9,75,"type"],[27,77,9,79],[28,4,10,4],[28,5,10,5],[28,11,11,9],[29,6,12,8],[29,13,12,15,"asset"],[29,18,12,20],[29,19,12,21,"httpServerLocation"],[29,37,12,39],[29,38,12,40,"replace"],[29,45,12,47],[29,46,12,48],[29,55,12,57],[29,57,12,59],[29,60,12,62],[29,61,12,63],[29,64,12,66],[29,67,12,69],[29,70,12,72,"asset"],[29,75,12,77],[29,76,12,78,"name"],[29,80,12,82],[29,83,12,85,"scaleSuffix"],[29,94,12,96],[29,97,12,99,"type"],[29,101,12,103],[30,4,13,4],[31,2,14,0],[32,2,15,15],[32,8,15,21,"AssetSourceResolver"],[32,27,15,40],[32,28,15,41],[33,4,17,4],[34,4,18,4],[35,4,19,4],[37,4,21,4],[39,4,23,4,"constructor"],[39,15,23,15,"constructor"],[39,16,23,16,"serverUrl"],[39,25,23,25],[39,27,23,27,"jsbundleUrl"],[39,38,23,38],[39,40,23,40,"asset"],[39,45,23,45],[39,47,23,47],[40,6,24,8],[40,10,24,12],[40,11,24,13,"serverUrl"],[40,20,24,22],[40,23,24,25,"serverUrl"],[40,32,24,34],[40,36,24,38],[40,54,24,56],[41,6,25,8],[41,10,25,12],[41,11,25,13,"jsbundleUrl"],[41,22,25,24],[41,25,25,27],[41,29,25,31],[42,6,26,8],[42,10,26,12],[42,11,26,13,"asset"],[42,16,26,18],[42,19,26,21,"asset"],[42,24,26,26],[43,4,27,4],[44,4,28,4],[45,4,29,4,"isLoadedFromServer"],[45,22,29,22,"isLoadedFromServer"],[45,23,29,22],[45,25,29,25],[46,6,30,8],[46,13,30,15],[46,17,30,19],[47,4,31,4],[48,4,32,4],[49,4,33,4,"isLoadedFromFileSystem"],[49,26,33,26,"isLoadedFromFileSystem"],[49,27,33,26],[49,29,33,29],[50,6,34,8],[50,13,34,15],[50,18,34,20],[51,4,35,4],[52,4,36,4,"defaultAsset"],[52,16,36,16,"defaultAsset"],[52,17,36,16],[52,19,36,19],[53,6,37,8],[53,13,37,15],[53,17,37,19],[53,18,37,20,"assetServerURL"],[53,32,37,34],[53,33,37,35],[53,34,37,36],[54,4,38,4],[55,4,39,4],[56,0,40,0],[57,0,41,0],[58,4,42,4,"assetServerURL"],[58,18,42,18,"assetServerURL"],[58,19,42,18],[58,21,42,21],[59,6,43,8],[59,12,43,14,"fromUrl"],[59,19,43,21],[59,22,43,24],[59,26,43,28,"URL"],[59,29,43,31],[59,30,43,32,"getScaledAssetPath"],[59,48,43,50],[59,49,43,51],[59,53,43,55],[59,54,43,56,"asset"],[59,59,43,61],[59,60,43,62],[59,62,43,64],[59,66,43,68],[59,67,43,69,"serverUrl"],[59,76,43,78],[59,77,43,79],[60,6,44,8,"fromUrl"],[60,13,44,15],[60,14,44,16,"searchParams"],[60,26,44,28],[60,27,44,29,"set"],[60,30,44,32],[60,31,44,33],[60,41,44,43],[60,43,44,45,"Platform"],[60,59,44,53],[60,60,44,53,"Platform"],[60,68,44,53],[60,69,44,54,"OS"],[60,71,44,56],[60,72,44,57],[61,6,45,8,"fromUrl"],[61,13,45,15],[61,14,45,16,"searchParams"],[61,26,45,28],[61,27,45,29,"set"],[61,30,45,32],[61,31,45,33],[61,37,45,39],[61,39,45,41],[61,43,45,45],[61,44,45,46,"asset"],[61,49,45,51],[61,50,45,52,"hash"],[61,54,45,56],[61,55,45,57],[62,6,46,8],[62,13,46,15],[62,17,46,19],[62,18,46,20,"fromSource"],[62,28,46,30],[63,6,47,8],[64,6,48,8,"fromUrl"],[64,13,48,15],[64,14,48,16,"toString"],[64,22,48,24],[64,23,48,25],[64,24,48,26],[64,25,48,27,"replace"],[64,32,48,34],[64,33,48,35,"fromUrl"],[64,40,48,42],[64,41,48,43,"origin"],[64,47,48,49],[64,49,48,51],[64,51,48,53],[64,52,48,54],[64,53,48,55],[65,4,49,4],[66,4,50,4,"fromSource"],[66,14,50,14,"fromSource"],[66,15,50,15,"source"],[66,21,50,21],[66,23,50,23],[67,6,51,8],[67,13,51,15],[68,8,52,12,"__packager_asset"],[68,24,52,28],[68,26,52,30],[68,30,52,34],[69,8,53,12,"width"],[69,13,53,17],[69,15,53,19],[69,19,53,23],[69,20,53,24,"asset"],[69,25,53,29],[69,26,53,30,"width"],[69,31,53,35],[69,35,53,39,"undefined"],[69,44,53,48],[70,8,54,12,"height"],[70,14,54,18],[70,16,54,20],[70,20,54,24],[70,21,54,25,"asset"],[70,26,54,30],[70,27,54,31,"height"],[70,33,54,37],[70,37,54,41,"undefined"],[70,46,54,50],[71,8,55,12,"uri"],[71,11,55,15],[71,13,55,17,"source"],[71,19,55,23],[72,8,56,12,"scale"],[72,13,56,17],[72,15,56,19,"AssetSourceResolver"],[72,34,56,38],[72,35,56,39,"pickScale"],[72,44,56,48],[72,45,56,49],[72,49,56,53],[72,50,56,54,"asset"],[72,55,56,59],[72,56,56,60,"scales"],[72,62,56,66],[72,64,56,68,"PixelRatio"],[72,74,56,78],[72,75,56,78,"default"],[72,82,56,78],[72,83,56,79,"get"],[72,86,56,82],[72,87,56,83],[72,88,56,84],[73,6,57,8],[73,7,57,9],[74,4,58,4],[75,4,59,4],[75,11,59,11,"pickScale"],[75,20,59,20,"pickScale"],[75,21,59,21,"scales"],[75,27,59,27],[75,29,59,29,"deviceScale"],[75,40,59,40],[75,42,59,42],[76,6,60,8],[76,11,60,13],[76,15,60,17,"i"],[76,16,60,18],[76,19,60,21],[76,20,60,22],[76,22,60,24,"i"],[76,23,60,25],[76,26,60,28,"scales"],[76,32,60,34],[76,33,60,35,"length"],[76,39,60,41],[76,41,60,43,"i"],[76,42,60,44],[76,44,60,46],[76,46,60,48],[77,8,61,12],[77,12,61,16,"scales"],[77,18,61,22],[77,19,61,23,"i"],[77,20,61,24],[77,21,61,25],[77,25,61,29,"deviceScale"],[77,36,61,40],[77,38,61,42],[78,10,62,16],[78,17,62,23,"scales"],[78,23,62,29],[78,24,62,30,"i"],[78,25,62,31],[78,26,62,32],[79,8,63,12],[80,6,64,8],[81,6,65,8],[81,13,65,15,"scales"],[81,19,65,21],[81,20,65,22,"scales"],[81,26,65,28],[81,27,65,29,"length"],[81,33,65,35],[81,36,65,38],[81,37,65,39],[81,38,65,40],[81,42,65,44],[81,43,65,45],[82,4,66,4],[83,2,67,0],[84,0,67,1],[84,3]],"functionMap":{"names":["<global>","getScaledAssetPath","AssetSourceResolver","constructor","isLoadedFromServer","isLoadedFromFileSystem","defaultAsset","assetServerURL","fromSource","pickScale"],"mappings":"AAA;ACG;CDU;eEC;ICQ;KDI;IEE;KFE;IGE;KHE;IIC;KJE;IKI;KLO;IMC;KNQ;IOC;KPO;CFC"},"hasCjsExports":false},"type":"js/module"}]} |