mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 04:11:02 +00:00
1 line
4.1 KiB
Plaintext
1 line
4.1 KiB
Plaintext
{"dependencies":[{"name":"./hmr","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}}],"key":"xHUDUSxbHEL38sHzu3T0dRzAEto=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n function _interopDefault(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n var _hmr = require(_dependencyMap[0], \"./hmr\");\n var HMRClient = _interopDefault(_hmr);\n if (typeof window !== 'undefined' &&\n // @ts-expect-error: Added via react-native-webview\n typeof window.$$EXPO_INITIAL_PROPS !== 'undefined') {\n // Sets up developer tools for web platforms when running in a webview. This ensures that logs are visible in the terminal.\n // We assume full control over the console and send JavaScript logs to Metro.\n const LEVELS = ['trace', 'info', 'warn', 'error', 'log', 'group', 'groupCollapsed', 'groupEnd', 'debug'];\n LEVELS.forEach(level => {\n const originalFunction = console[level];\n console[level] = function (...args) {\n HMRClient.default.log(level, args);\n originalFunction.apply(console, args);\n };\n });\n HMRClient.default.log('log', [`[webview] Logs will also appear in the Safari/Chrome debug console`]);\n } else {\n HMRClient.default.log('log', [`[web] Logs will appear in the browser console`]);\n }\n\n // This is called native on native platforms\n HMRClient.default.setup({\n isEnabled: true\n });\n});","lineCount":33,"map":[[9,2,1,0],[9,6,1,0,"_hmr"],[9,10,1,0],[9,13,1,0,"require"],[9,20,1,0],[9,21,1,0,"_dependencyMap"],[9,35,1,0],[10,2,1,0],[10,6,1,0,"HMRClient"],[10,15,1,0],[10,18,1,0,"_interopDefault"],[10,33,1,0],[10,34,1,0,"_hmr"],[10,38,1,0],[11,2,3,0],[11,6,4,2],[11,13,4,9,"window"],[11,19,4,15],[11,24,4,20],[11,35,4,31],[12,2,5,2],[13,2,6,2],[13,9,6,9,"window"],[13,15,6,15],[13,16,6,16,"$$EXPO_INITIAL_PROPS"],[13,36,6,36],[13,41,6,41],[13,52,6,52],[13,54,7,2],[14,4,8,2],[15,4,9,2],[16,4,10,2],[16,10,10,8,"LEVELS"],[16,16,10,14],[16,19,10,17],[16,20,11,4],[16,27,11,11],[16,29,12,4],[16,35,12,10],[16,37,13,4],[16,43,13,10],[16,45,14,4],[16,52,14,11],[16,54,15,4],[16,59,15,9],[16,61,16,4],[16,68,16,11],[16,70,17,4],[16,86,17,20],[16,88,18,4],[16,98,18,14],[16,100,19,4],[16,107,19,11],[16,108,20,12],[17,4,21,2,"LEVELS"],[17,10,21,8],[17,11,21,9,"forEach"],[17,18,21,16],[17,19,21,18,"level"],[17,24,21,23],[17,28,21,28],[18,6,22,4],[18,12,22,10,"originalFunction"],[18,28,22,26],[18,31,22,29,"console"],[18,38,22,36],[18,39,22,37,"level"],[18,44,22,42],[18,45,22,43],[19,6,23,4,"console"],[19,13,23,11],[19,14,23,12,"level"],[19,19,23,17],[19,20,23,18],[19,23,23,21],[19,33,23,31],[19,36,23,34,"args"],[19,40,23,45],[19,42,23,47],[20,8,24,6,"HMRClient"],[20,17,24,15],[20,18,24,15,"default"],[20,25,24,15],[20,26,24,16,"log"],[20,29,24,19],[20,30,24,20,"level"],[20,35,24,25],[20,37,24,27,"args"],[20,41,24,31],[20,42,24,32],[21,8,25,6,"originalFunction"],[21,24,25,22],[21,25,25,23,"apply"],[21,30,25,28],[21,31,25,29,"console"],[21,38,25,36],[21,40,25,38,"args"],[21,44,25,42],[21,45,25,43],[22,6,26,4],[22,7,26,5],[23,4,27,2],[23,5,27,3],[23,6,27,4],[24,4,28,2,"HMRClient"],[24,13,28,11],[24,14,28,11,"default"],[24,21,28,11],[24,22,28,12,"log"],[24,25,28,15],[24,26,28,16],[24,31,28,21],[24,33,28,23],[24,34,28,24],[24,102,28,92],[24,103,28,93],[24,104,28,94],[25,2,29,0],[25,3,29,1],[25,9,29,7],[26,4,30,2,"HMRClient"],[26,13,30,11],[26,14,30,11,"default"],[26,21,30,11],[26,22,30,12,"log"],[26,25,30,15],[26,26,30,16],[26,31,30,21],[26,33,30,23],[26,34,30,24],[26,81,30,71],[26,82,30,72],[26,83,30,73],[27,2,31,0],[29,2,33,0],[30,2,34,0,"HMRClient"],[30,11,34,9],[30,12,34,9,"default"],[30,19,34,9],[30,20,34,10,"setup"],[30,25,34,15],[30,26,34,16],[31,4,34,18,"isEnabled"],[31,13,34,27],[31,15,34,29],[32,2,34,34],[32,3,34,35],[32,4,34,36],[33,0,34,37],[33,3]],"functionMap":{"names":["<global>","LEVELS.forEach$argument_0","console.level"],"mappings":"AAA;iBCoB;qBCE;KDG;GDC"},"hasCjsExports":false},"type":"js/module"}]} |