mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 13:31:00 +00:00
1 line
2.4 KiB
Plaintext
1 line
2.4 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.buildUrlForBundle = buildUrlForBundle;\n /**\n * Copyright © 2022 650 Industries.\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\n /**\n * Given a path and some optional additional query parameters, create the dev server bundle URL.\n * @param bundlePath like `/foobar`\n * @param params like `{ platform: \"web\" }`\n * @returns a URL like \"/foobar.bundle?platform=android&modulesOnly=true&runModule=false&runtimeBytecodeVersion=null\"\n */\n function buildUrlForBundle(bundlePath) {\n if (bundlePath.match(/^https?:\\/\\//)) {\n return bundlePath;\n }\n if (\n // @ts-expect-error\n typeof window.ReactNativeWebView !== 'undefined') {\n // In a webview, you cannot read from an absolute path.\n return bundlePath;\n }\n // NOTE(EvanBacon): This must come from the window origin (at least in dev mode).\n // Otherwise Metro will crash from attempting to load a bundle that doesn't exist.\n return '/' + bundlePath.replace(/^\\/+/, '');\n }\n});","lineCount":33,"map":[[6,2,1,0],[7,0,2,0],[8,0,3,0],[9,0,4,0],[10,0,5,0],[11,0,6,0],[13,2,8,0],[14,0,9,0],[15,0,10,0],[16,0,11,0],[17,0,12,0],[18,0,13,0],[19,2,14,7],[19,11,14,16,"buildUrlForBundle"],[19,28,14,33,"buildUrlForBundle"],[19,29,14,34,"bundlePath"],[19,39,14,52],[19,41,14,62],[20,4,15,2],[20,8,15,6,"bundlePath"],[20,18,15,16],[20,19,15,17,"match"],[20,24,15,22],[20,25,15,23],[20,39,15,37],[20,40,15,38],[20,42,15,40],[21,6,16,4],[21,13,16,11,"bundlePath"],[21,23,16,21],[22,4,17,2],[23,4,19,2],[24,4,20,4],[25,4,21,4],[25,11,21,11,"window"],[25,17,21,17],[25,18,21,18,"ReactNativeWebView"],[25,36,21,36],[25,41,21,41],[25,52,21,52],[25,54,22,4],[26,6,23,4],[27,6,24,4],[27,13,24,11,"bundlePath"],[27,23,24,21],[28,4,25,2],[29,4,26,2],[30,4,27,2],[31,4,28,2],[31,11,28,9],[31,14,28,12],[31,17,28,15,"bundlePath"],[31,27,28,25],[31,28,28,26,"replace"],[31,35,28,33],[31,36,28,34],[31,42,28,40],[31,44,28,42],[31,46,28,44],[31,47,28,45],[32,2,29,0],[33,0,29,1],[33,3]],"functionMap":{"names":["<global>","buildUrlForBundle"],"mappings":"AAA;OCa;CDe"}},"type":"js/module"}]} |