mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 12:21:01 +00:00
1 line
2.5 KiB
Plaintext
1 line
2.5 KiB
Plaintext
{"dependencies":[],"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 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":35,"map":[[7,2,14,0,"exports"],[7,9,14,0],[7,10,14,0,"buildUrlForBundle"],[7,27,14,0],[7,30,14,0,"buildUrlForBundle"],[7,47,14,0],[8,2,1,0],[9,0,2,0],[10,0,3,0],[11,0,4,0],[12,0,5,0],[13,0,6,0],[15,2,8,0],[16,0,9,0],[17,0,10,0],[18,0,11,0],[19,0,12,0],[20,0,13,0],[21,2,14,7],[21,11,14,16,"buildUrlForBundle"],[21,28,14,33,"buildUrlForBundle"],[21,29,14,34,"bundlePath"],[21,39,14,52],[21,41,14,62],[22,4,15,2],[22,8,15,6,"bundlePath"],[22,18,15,16],[22,19,15,17,"match"],[22,24,15,22],[22,25,15,23],[22,39,15,37],[22,40,15,38],[22,42,15,40],[23,6,16,4],[23,13,16,11,"bundlePath"],[23,23,16,21],[24,4,17,2],[25,4,19,2],[26,4,20,4],[27,4,21,4],[27,11,21,11,"window"],[27,17,21,17],[27,18,21,18,"ReactNativeWebView"],[27,36,21,36],[27,41,21,41],[27,52,21,52],[27,54,22,4],[28,6,23,4],[29,6,24,4],[29,13,24,11,"bundlePath"],[29,23,24,21],[30,4,25,2],[31,4,26,2],[32,4,27,2],[33,4,28,2],[33,11,28,9],[33,14,28,12],[33,17,28,15,"bundlePath"],[33,27,28,25],[33,28,28,26,"replace"],[33,35,28,33],[33,36,28,34],[33,42,28,40],[33,44,28,42],[33,46,28,44],[33,47,28,45],[34,2,29,0],[35,0,29,1],[35,3]],"functionMap":{"names":["<global>","buildUrlForBundle"],"mappings":"AAA;OCa;CDe"},"hasCjsExports":false},"type":"js/module"}]} |