mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 01:51:03 +00:00
1 line
7.2 KiB
Plaintext
1 line
7.2 KiB
Plaintext
{"dependencies":[],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n /**\n * Copyright © 2025 650 Industries.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * This is added as `asyncRequireModulePath` in `@expo/metro-config`\n * Fork of https://github.com/facebook/metro/blob/b8e9e64f1de97a67234e223f5ee21524b160e8a5/packages/metro-runtime/src/modules/asyncRequire.js#L1\n * - Adds worker support.\n */\n\n function maybeLoadBundle(moduleID, paths) {\n const loadBundle = global[`${__METRO_GLOBAL_PREFIX__}__loadBundleAsync`];\n if (loadBundle != null) {\n const stringModuleID = String(moduleID);\n if (paths != null) {\n const bundlePath = paths[stringModuleID];\n if (bundlePath != null) {\n // NOTE: Errors will be swallowed by asyncRequire.prefetch\n return loadBundle(bundlePath);\n }\n }\n }\n return undefined;\n }\n function asyncRequireImpl(moduleID, paths) {\n const maybeLoadBundlePromise = maybeLoadBundle(moduleID, paths);\n const importAll = () => require.importAll(moduleID);\n if (maybeLoadBundlePromise != null) {\n return maybeLoadBundlePromise.then(importAll);\n }\n return importAll();\n }\n async function asyncRequire(moduleID, paths, moduleName) {\n return asyncRequireImpl(moduleID, paths);\n }\n\n // Synchronous version of asyncRequire, which can still return a promise\n // if the module is split.\n asyncRequire.unstable_importMaybeSync = function unstable_importMaybeSync(moduleID, paths) {\n return asyncRequireImpl(moduleID, paths);\n };\n asyncRequire.prefetch = function (moduleID, paths, moduleName) {\n maybeLoadBundle(moduleID, paths)?.then(() => {}, () => {});\n };\n asyncRequire.unstable_resolve = function unstable_resolve(moduleID, paths) {\n if (!paths) {\n throw new Error('Bundle splitting is required for Web Worker imports');\n }\n const id = paths[moduleID];\n if (!id) {\n throw new Error('Worker import is missing from split bundle paths: ' + id);\n }\n return id;\n };\n\n // TODO(@kitten): Missing metro type definitions\n\n module.exports = asyncRequire;\n});","lineCount":62,"map":[[2,2,1,0],[3,0,2,0],[4,0,3,0],[5,0,4,0],[6,0,5,0],[7,0,6,0],[8,0,7,0],[9,0,8,0],[10,0,9,0],[11,0,10,0],[12,0,11,0],[14,2,22,0],[14,11,22,9,"maybeLoadBundle"],[14,26,22,24,"maybeLoadBundle"],[14,27,22,25,"moduleID"],[14,35,22,41],[14,37,22,43,"paths"],[14,42,22,68],[14,44,22,92],[15,4,23,2],[15,10,23,8,"loadBundle"],[15,20,23,58],[15,23,23,62,"global"],[15,29,23,68],[15,30,24,4],[15,33,24,7,"__METRO_GLOBAL_PREFIX__"],[15,56,24,30],[15,75,24,49],[15,76,25,3],[16,4,27,2],[16,8,27,6,"loadBundle"],[16,18,27,16],[16,22,27,20],[16,26,27,24],[16,28,27,26],[17,6,28,4],[17,12,28,10,"stringModuleID"],[17,26,28,24],[17,29,28,27,"String"],[17,35,28,33],[17,36,28,34,"moduleID"],[17,44,28,42],[17,45,28,43],[18,6,29,4],[18,10,29,8,"paths"],[18,15,29,13],[18,19,29,17],[18,23,29,21],[18,25,29,23],[19,8,30,6],[19,14,30,12,"bundlePath"],[19,24,30,22],[19,27,30,25,"paths"],[19,32,30,30],[19,33,30,31,"stringModuleID"],[19,47,30,45],[19,48,30,46],[20,8,31,6],[20,12,31,10,"bundlePath"],[20,22,31,20],[20,26,31,24],[20,30,31,28],[20,32,31,30],[21,10,32,8],[22,10,33,8],[22,17,33,15,"loadBundle"],[22,27,33,25],[22,28,33,26,"bundlePath"],[22,38,33,36],[22,39,33,37],[23,8,34,6],[24,6,35,4],[25,4,36,2],[26,4,38,2],[26,11,38,9,"undefined"],[26,20,38,18],[27,2,39,0],[28,2,41,0],[28,11,41,9,"asyncRequireImpl"],[28,27,41,25,"asyncRequireImpl"],[28,28,41,29,"moduleID"],[28,36,41,45],[28,38,41,47,"paths"],[28,43,41,72],[28,45,41,90],[29,4,42,2],[29,10,42,8,"maybeLoadBundlePromise"],[29,32,42,30],[29,35,42,33,"maybeLoadBundle"],[29,50,42,48],[29,51,42,49,"moduleID"],[29,59,42,57],[29,61,42,59,"paths"],[29,66,42,64],[29,67,42,65],[30,4,43,2],[30,10,43,8,"importAll"],[30,19,43,17],[30,22,43,20,"importAll"],[30,23,43,20],[30,28,43,27,"require"],[30,35,43,34],[30,36,43,63,"importAll"],[30,45,43,72],[30,46,43,76,"moduleID"],[30,54,43,84],[30,55,43,85],[31,4,45,2],[31,8,45,6,"maybeLoadBundlePromise"],[31,30,45,28],[31,34,45,32],[31,38,45,36],[31,40,45,38],[32,6,46,4],[32,13,46,11,"maybeLoadBundlePromise"],[32,35,46,33],[32,36,46,34,"then"],[32,40,46,38],[32,41,46,39,"importAll"],[32,50,46,48],[32,51,46,49],[33,4,47,2],[34,4,49,2],[34,11,49,9,"importAll"],[34,20,49,18],[34,21,49,19],[34,22,49,20],[35,2,50,0],[36,2,52,0],[36,17,52,15,"asyncRequire"],[36,29,52,27,"asyncRequire"],[36,30,53,2,"moduleID"],[36,38,53,18],[36,40,54,2,"paths"],[36,45,54,27],[36,47,55,2,"moduleName"],[36,57,55,21],[36,59,56,14],[37,4,57,2],[37,11,57,9,"asyncRequireImpl"],[37,27,57,25],[37,28,57,29,"moduleID"],[37,36,57,37],[37,38,57,39,"paths"],[37,43,57,44],[37,44,57,45],[38,2,58,0],[40,2,60,0],[41,2,61,0],[42,2,62,0,"asyncRequire"],[42,14,62,12],[42,15,62,13,"unstable_importMaybeSync"],[42,39,62,37],[42,42,62,40],[42,51,62,49,"unstable_importMaybeSync"],[42,75,62,73,"unstable_importMaybeSync"],[42,76,63,2,"moduleID"],[42,84,63,18],[42,86,64,2,"paths"],[42,91,64,27],[42,93,65,18],[43,4,66,2],[43,11,66,9,"asyncRequireImpl"],[43,27,66,25],[43,28,66,26,"moduleID"],[43,36,66,34],[43,38,66,36,"paths"],[43,43,66,41],[43,44,66,42],[44,2,67,0],[44,3,67,1],[45,2,69,0,"asyncRequire"],[45,14,69,12],[45,15,69,13,"prefetch"],[45,23,69,21],[45,26,69,24],[45,36,70,2,"moduleID"],[45,44,70,18],[45,46,71,2,"paths"],[45,51,71,27],[45,53,72,2,"moduleName"],[45,63,72,21],[45,65,73,8],[46,4,74,2,"maybeLoadBundle"],[46,19,74,17],[46,20,74,18,"moduleID"],[46,28,74,26],[46,30,74,28,"paths"],[46,35,74,33],[46,36,74,34],[46,38,74,36,"then"],[46,42,74,40],[46,43,75,4],[46,49,75,10],[46,50,75,11],[46,51,75,12],[46,53,76,4],[46,59,76,10],[46,60,76,11],[46,61,77,2],[46,62,77,3],[47,2,78,0],[47,3,78,1],[48,2,80,0,"asyncRequire"],[48,14,80,12],[48,15,80,13,"unstable_resolve"],[48,31,80,29],[48,34,80,32],[48,43,80,41,"unstable_resolve"],[48,59,80,57,"unstable_resolve"],[48,60,81,2,"moduleID"],[48,68,81,18],[48,70,82,2,"paths"],[48,75,82,27],[48,77,83,2],[49,4,84,2],[49,8,84,6],[49,9,84,7,"paths"],[49,14,84,12],[49,16,84,14],[50,6,85,4],[50,12,85,10],[50,16,85,14,"Error"],[50,21,85,19],[50,22,85,20],[50,75,85,73],[50,76,85,74],[51,4,86,2],[52,4,87,2],[52,10,87,8,"id"],[52,12,87,10],[52,15,87,13,"paths"],[52,20,87,18],[52,21,87,19,"moduleID"],[52,29,87,27],[52,30,87,28],[53,4,88,2],[53,8,88,6],[53,9,88,7,"id"],[53,11,88,9],[53,13,88,11],[54,6,89,4],[54,12,89,10],[54,16,89,14,"Error"],[54,21,89,19],[54,22,89,20],[54,74,89,72],[54,77,89,75,"id"],[54,79,89,77],[54,80,89,78],[55,4,90,2],[56,4,91,2],[56,11,91,9,"id"],[56,13,91,11],[57,2,92,0],[57,3,92,1],[59,2,94,0],[61,2,97,0,"module"],[61,8,97,6],[61,9,97,7,"exports"],[61,16,97,14],[61,19,97,17,"asyncRequire"],[61,31,97,29],[62,0,97,30],[62,3]],"functionMap":{"names":["<global>","maybeLoadBundle","asyncRequireImpl","importAll","asyncRequire","unstable_importMaybeSync","asyncRequire.prefetch","maybeLoadBundle.then$argument_0","maybeLoadBundle.then$argument_1","unstable_resolve"],"mappings":"AAA;ACqB;CDiB;AEE;oBCE,iED;CFO;AIE;CJM;wCKI;CLK;wBME;ICM,QD;IEC,QF;CNE;gCSE;CTY"},"hasCjsExports":true},"type":"js/module"}]} |