mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-04-25 19:57:56 +00:00
1 line
9.1 KiB
Plaintext
1 line
9.1 KiB
Plaintext
{"dependencies":[{"name":"expo-asset","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}}],"key":"ZXJFWHziJpBZf3W7vl00wXf6fd8=","exportNames":["*"],"imports":1}},{"name":"expo-modules-core","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":36},"end":{"line":2,"column":47,"index":83}}],"key":"fU8WLIPqoAGygnPbZ/QJiQQfXEY=","exportNames":["*"],"imports":1}},{"name":"./ExpoFontLoader","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":84},"end":{"line":3,"column":46,"index":130}}],"key":"7dk3JQGwGYesJt8OOG3pkBz+dtE=","exportNames":["*"],"imports":1}},{"name":"./Font.types","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":131},"end":{"line":4,"column":43,"index":174}}],"key":"iwvcxaVgfIXdww6iPrKSgtcaZy8=","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 exports.getAssetForSource = getAssetForSource;\n exports.loadSingleFontAsync = loadSingleFontAsync;\n var _expoAsset = require(_dependencyMap[0], \"expo-asset\");\n var _expoModulesCore = require(_dependencyMap[1], \"expo-modules-core\");\n var _ExpoFontLoader = require(_dependencyMap[2], \"./ExpoFontLoader\");\n var ExpoFontLoader = _interopDefault(_ExpoFontLoader);\n var _FontTypes = require(_dependencyMap[3], \"./Font.types\");\n function uriFromFontSource(asset) {\n if (typeof asset === 'string') {\n return asset || null;\n } else if (typeof asset === 'number') {\n return uriFromFontSource(_expoAsset.Asset.fromModule(asset));\n } else if (typeof asset === 'object' && typeof asset.uri === 'number') {\n return uriFromFontSource(asset.uri);\n } else if (typeof asset === 'object') {\n return asset.uri || asset.localUri || asset.default || null;\n }\n return null;\n }\n function displayFromFontSource(asset) {\n if (typeof asset === 'object' && 'display' in asset) {\n return asset.display || _FontTypes.FontDisplay.AUTO;\n }\n return _FontTypes.FontDisplay.AUTO;\n }\n function getAssetForSource(source) {\n const uri = uriFromFontSource(source);\n const display = displayFromFontSource(source);\n if (!uri || typeof uri !== 'string') {\n throwInvalidSourceError(uri);\n }\n return {\n uri,\n display\n };\n }\n function throwInvalidSourceError(source) {\n let type = typeof source;\n if (type === 'object') type = JSON.stringify(source, null, 2);\n throw new _expoModulesCore.CodedError(`ERR_FONT_SOURCE`, `Expected font asset of type \\`string | FontResource | Asset\\` instead got: ${type}`);\n }\n // NOTE(EvanBacon): No async keyword!\n function loadSingleFontAsync(name, input) {\n if (typeof input !== 'object' || typeof input.uri !== 'string' || input.downloadAsync) {\n throwInvalidSourceError(input);\n }\n try {\n return ExpoFontLoader.default.loadAsync(name, input);\n } catch {\n // No-op.\n }\n return Promise.resolve();\n }\n});","lineCount":65,"map":[[12,2,26,0,"exports"],[12,9,26,0],[12,10,26,0,"getAssetForSource"],[12,27,26,0],[12,30,26,0,"getAssetForSource"],[12,47,26,0],[13,2,44,0,"exports"],[13,9,44,0],[13,10,44,0,"loadSingleFontAsync"],[13,29,44,0],[13,32,44,0,"loadSingleFontAsync"],[13,51,44,0],[14,2,1,0],[14,6,1,0,"_expoAsset"],[14,16,1,0],[14,19,1,0,"require"],[14,26,1,0],[14,27,1,0,"_dependencyMap"],[14,41,1,0],[15,2,2,0],[15,6,2,0,"_expoModulesCore"],[15,22,2,0],[15,25,2,0,"require"],[15,32,2,0],[15,33,2,0,"_dependencyMap"],[15,47,2,0],[16,2,3,0],[16,6,3,0,"_ExpoFontLoader"],[16,21,3,0],[16,24,3,0,"require"],[16,31,3,0],[16,32,3,0,"_dependencyMap"],[16,46,3,0],[17,2,3,0],[17,6,3,0,"ExpoFontLoader"],[17,20,3,0],[17,23,3,0,"_interopDefault"],[17,38,3,0],[17,39,3,0,"_ExpoFontLoader"],[17,54,3,0],[18,2,4,0],[18,6,4,0,"_FontTypes"],[18,16,4,0],[18,19,4,0,"require"],[18,26,4,0],[18,27,4,0,"_dependencyMap"],[18,41,4,0],[19,2,5,0],[19,11,5,9,"uriFromFontSource"],[19,28,5,26,"uriFromFontSource"],[19,29,5,27,"asset"],[19,34,5,32],[19,36,5,34],[20,4,6,4],[20,8,6,8],[20,15,6,15,"asset"],[20,20,6,20],[20,25,6,25],[20,33,6,33],[20,35,6,35],[21,6,7,8],[21,13,7,15,"asset"],[21,18,7,20],[21,22,7,24],[21,26,7,28],[22,4,8,4],[22,5,8,5],[22,11,9,9],[22,15,9,13],[22,22,9,20,"asset"],[22,27,9,25],[22,32,9,30],[22,40,9,38],[22,42,9,40],[23,6,10,8],[23,13,10,15,"uriFromFontSource"],[23,30,10,32],[23,31,10,33,"Asset"],[23,41,10,38],[23,42,10,38,"Asset"],[23,47,10,38],[23,48,10,39,"fromModule"],[23,58,10,49],[23,59,10,50,"asset"],[23,64,10,55],[23,65,10,56],[23,66,10,57],[24,4,11,4],[24,5,11,5],[24,11,12,9],[24,15,12,13],[24,22,12,20,"asset"],[24,27,12,25],[24,32,12,30],[24,40,12,38],[24,44,12,42],[24,51,12,49,"asset"],[24,56,12,54],[24,57,12,55,"uri"],[24,60,12,58],[24,65,12,63],[24,73,12,71],[24,75,12,73],[25,6,13,8],[25,13,13,15,"uriFromFontSource"],[25,30,13,32],[25,31,13,33,"asset"],[25,36,13,38],[25,37,13,39,"uri"],[25,40,13,42],[25,41,13,43],[26,4,14,4],[26,5,14,5],[26,11,15,9],[26,15,15,13],[26,22,15,20,"asset"],[26,27,15,25],[26,32,15,30],[26,40,15,38],[26,42,15,40],[27,6,16,8],[27,13,16,15,"asset"],[27,18,16,20],[27,19,16,21,"uri"],[27,22,16,24],[27,26,16,28,"asset"],[27,31,16,33],[27,32,16,34,"localUri"],[27,40,16,42],[27,44,16,46,"asset"],[27,49,16,51],[27,50,16,52,"default"],[27,57,16,59],[27,61,16,63],[27,65,16,67],[28,4,17,4],[29,4,18,4],[29,11,18,11],[29,15,18,15],[30,2,19,0],[31,2,20,0],[31,11,20,9,"displayFromFontSource"],[31,32,20,30,"displayFromFontSource"],[31,33,20,31,"asset"],[31,38,20,36],[31,40,20,38],[32,4,21,4],[32,8,21,8],[32,15,21,15,"asset"],[32,20,21,20],[32,25,21,25],[32,33,21,33],[32,37,21,37],[32,46,21,46],[32,50,21,50,"asset"],[32,55,21,55],[32,57,21,57],[33,6,22,8],[33,13,22,15,"asset"],[33,18,22,20],[33,19,22,21,"display"],[33,26,22,28],[33,30,22,32,"FontDisplay"],[33,40,22,43],[33,41,22,43,"FontDisplay"],[33,52,22,43],[33,53,22,44,"AUTO"],[33,57,22,48],[34,4,23,4],[35,4,24,4],[35,11,24,11,"FontDisplay"],[35,21,24,22],[35,22,24,22,"FontDisplay"],[35,33,24,22],[35,34,24,23,"AUTO"],[35,38,24,27],[36,2,25,0],[37,2,26,7],[37,11,26,16,"getAssetForSource"],[37,28,26,33,"getAssetForSource"],[37,29,26,34,"source"],[37,35,26,40],[37,37,26,42],[38,4,27,4],[38,10,27,10,"uri"],[38,13,27,13],[38,16,27,16,"uriFromFontSource"],[38,33,27,33],[38,34,27,34,"source"],[38,40,27,40],[38,41,27,41],[39,4,28,4],[39,10,28,10,"display"],[39,17,28,17],[39,20,28,20,"displayFromFontSource"],[39,41,28,41],[39,42,28,42,"source"],[39,48,28,48],[39,49,28,49],[40,4,29,4],[40,8,29,8],[40,9,29,9,"uri"],[40,12,29,12],[40,16,29,16],[40,23,29,23,"uri"],[40,26,29,26],[40,31,29,31],[40,39,29,39],[40,41,29,41],[41,6,30,8,"throwInvalidSourceError"],[41,29,30,31],[41,30,30,32,"uri"],[41,33,30,35],[41,34,30,36],[42,4,31,4],[43,4,32,4],[43,11,32,11],[44,6,33,8,"uri"],[44,9,33,11],[45,6,34,8,"display"],[46,4,35,4],[46,5,35,5],[47,2,36,0],[48,2,37,0],[48,11,37,9,"throwInvalidSourceError"],[48,34,37,32,"throwInvalidSourceError"],[48,35,37,33,"source"],[48,41,37,39],[48,43,37,41],[49,4,38,4],[49,8,38,8,"type"],[49,12,38,12],[49,15,38,15],[49,22,38,22,"source"],[49,28,38,28],[50,4,39,4],[50,8,39,8,"type"],[50,12,39,12],[50,17,39,17],[50,25,39,25],[50,27,40,8,"type"],[50,31,40,12],[50,34,40,15,"JSON"],[50,38,40,19],[50,39,40,20,"stringify"],[50,48,40,29],[50,49,40,30,"source"],[50,55,40,36],[50,57,40,38],[50,61,40,42],[50,63,40,44],[50,64,40,45],[50,65,40,46],[51,4,41,4],[51,10,41,10],[51,14,41,14,"CodedError"],[51,30,41,24],[51,31,41,24,"CodedError"],[51,41,41,24],[51,42,41,25],[51,59,41,42],[51,61,41,44],[51,139,41,122,"type"],[51,143,41,126],[51,145,41,128],[51,146,41,129],[52,2,42,0],[53,2,43,0],[54,2,44,7],[54,11,44,16,"loadSingleFontAsync"],[54,30,44,35,"loadSingleFontAsync"],[54,31,44,36,"name"],[54,35,44,40],[54,37,44,42,"input"],[54,42,44,47],[54,44,44,49],[55,4,45,4],[55,8,45,8],[55,15,45,15,"input"],[55,20,45,20],[55,25,45,25],[55,33,45,33],[55,37,45,37],[55,44,45,44,"input"],[55,49,45,49],[55,50,45,50,"uri"],[55,53,45,53],[55,58,45,58],[55,66,45,66],[55,70,45,70,"input"],[55,75,45,75],[55,76,45,76,"downloadAsync"],[55,89,45,89],[55,91,45,91],[56,6,46,8,"throwInvalidSourceError"],[56,29,46,31],[56,30,46,32,"input"],[56,35,46,37],[56,36,46,38],[57,4,47,4],[58,4,48,4],[58,8,48,8],[59,6,49,8],[59,13,49,15,"ExpoFontLoader"],[59,27,49,29],[59,28,49,29,"default"],[59,35,49,29],[59,36,49,30,"loadAsync"],[59,45,49,39],[59,46,49,40,"name"],[59,50,49,44],[59,52,49,46,"input"],[59,57,49,51],[59,58,49,52],[60,4,50,4],[60,5,50,5],[60,6,51,4],[60,12,51,10],[61,6,52,8],[62,4,52,8],[63,4,54,4],[63,11,54,11,"Promise"],[63,18,54,18],[63,19,54,19,"resolve"],[63,26,54,26],[63,27,54,27],[63,28,54,28],[64,2,55,0],[65,0,55,1],[65,3]],"functionMap":{"names":["<global>","uriFromFontSource","displayFromFontSource","getAssetForSource","throwInvalidSourceError","loadSingleFontAsync"],"mappings":"AAA;ACI;CDc;AEC;CFK;OGC;CHU;AIC;CJK;OKE;CLW"},"hasCjsExports":false},"type":"js/module"}]} |