mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 06:31:03 +00:00
1 line
5.3 KiB
Plaintext
1 line
5.3 KiB
Plaintext
{"dependencies":[{"name":"react","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}}],"key":"RtGiGa+/H7VrI7GDQDLhO1UbpU8=","exportNames":["*"],"imports":1}},{"name":"./LogBoxLog","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":28},"end":{"line":3,"column":40,"index":68}}],"key":"RwknKpSLDy9ayXhlPxw1CmbUPgg=","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 Object.defineProperty(exports, \"LogContext\", {\n enumerable: true,\n get: function () {\n return LogContext;\n }\n });\n exports.useLogs = useLogs;\n exports.useSelectedLog = useSelectedLog;\n var _react = require(_dependencyMap[0], \"react\");\n var React = _interopDefault(_react);\n var _LogBoxLog = require(_dependencyMap[1], \"./LogBoxLog\");\n // Context provider for Array<LogBoxLog>\n\n const LogContext = /*#__PURE__*/React.default.createContext(null);\n function useLogs() {\n const logs = React.default.useContext(LogContext);\n if (!logs) {\n if (true && typeof window !== 'undefined') {\n // Logbox data that is pre-fetched on the dev server and rendered here.\n const expoCliStaticErrorElement = document.getElementById('_expo-static-error');\n if (expoCliStaticErrorElement?.textContent) {\n const raw = JSON.parse(expoCliStaticErrorElement.textContent);\n return {\n ...raw,\n logs: raw.logs.map(raw => new _LogBoxLog.LogBoxLog(raw))\n };\n }\n }\n throw new Error('useLogs must be used within a LogProvider');\n }\n return logs;\n }\n function useSelectedLog() {\n const {\n selectedLogIndex,\n logs\n } = useLogs();\n return logs[selectedLogIndex];\n }\n});","lineCount":51,"map":[[12,2,7,0,"Object"],[12,8,7,0],[12,9,7,0,"defineProperty"],[12,23,7,0],[12,24,7,0,"exports"],[12,31,7,0],[13,4,7,0,"enumerable"],[13,14,7,0],[14,4,7,0,"get"],[14,7,7,0],[14,18,7,0,"get"],[14,19,7,0],[15,6,7,0],[15,13,7,0,"LogContext"],[15,23,7,0],[16,4,7,0],[17,2,7,0],[18,2,13,0,"exports"],[18,9,13,0],[18,10,13,0,"useLogs"],[18,17,13,0],[18,20,13,0,"useLogs"],[18,27,13,0],[19,2,37,0,"exports"],[19,9,37,0],[19,10,37,0,"useSelectedLog"],[19,24,37,0],[19,27,37,0,"useSelectedLog"],[19,41,37,0],[20,2,1,0],[20,6,1,0,"_react"],[20,12,1,0],[20,15,1,0,"require"],[20,22,1,0],[20,23,1,0,"_dependencyMap"],[20,37,1,0],[21,2,1,0],[21,6,1,0,"React"],[21,11,1,0],[21,14,1,0,"_interopDefault"],[21,29,1,0],[21,30,1,0,"_react"],[21,36,1,0],[22,2,3,0],[22,6,3,0,"_LogBoxLog"],[22,16,3,0],[22,19,3,0,"require"],[22,26,3,0],[22,27,3,0,"_dependencyMap"],[22,41,3,0],[23,2,5,0],[25,2,7,7],[25,8,7,13,"LogContext"],[25,18,7,23],[25,34,7,26,"React"],[25,39,7,31],[25,40,7,31,"default"],[25,47,7,31],[25,48,7,32,"createContext"],[25,61,7,45],[25,62,11,10],[25,66,11,14],[25,67,11,15],[26,2,13,7],[26,11,13,16,"useLogs"],[26,18,13,23,"useLogs"],[26,19,13,23],[26,21,17,2],[27,4,18,2],[27,10,18,8,"logs"],[27,14,18,12],[27,17,18,15,"React"],[27,22,18,20],[27,23,18,20,"default"],[27,30,18,20],[27,31,18,21,"useContext"],[27,41,18,31],[27,42,18,32,"LogContext"],[27,52,18,42],[27,53,18,43],[28,4,19,2],[28,8,19,6],[28,9,19,7,"logs"],[28,13,19,11],[28,15,19,13],[29,6,20,4],[29,10,20,8],[29,18,20,41],[29,25,20,48,"window"],[29,31,20,54],[29,36,20,59],[29,47,20,70],[29,49,20,72],[30,8,21,6],[31,8,22,6],[31,14,22,12,"expoCliStaticErrorElement"],[31,39,22,37],[31,42,22,40,"document"],[31,50,22,48],[31,51,22,49,"getElementById"],[31,65,22,63],[31,66,22,64],[31,86,22,84],[31,87,22,85],[32,8,23,6],[32,12,23,10,"expoCliStaticErrorElement"],[32,37,23,35],[32,39,23,37,"textContent"],[32,50,23,48],[32,52,23,50],[33,10,24,8],[33,16,24,14,"raw"],[33,19,24,17],[33,22,24,20,"JSON"],[33,26,24,24],[33,27,24,25,"parse"],[33,32,24,30],[33,33,24,31,"expoCliStaticErrorElement"],[33,58,24,56],[33,59,24,57,"textContent"],[33,70,24,68],[33,71,24,69],[34,10,25,8],[34,17,25,15],[35,12,26,10],[35,15,26,13,"raw"],[35,18,26,16],[36,12,27,10,"logs"],[36,16,27,14],[36,18,27,16,"raw"],[36,21,27,19],[36,22,27,20,"logs"],[36,26,27,24],[36,27,27,25,"map"],[36,30,27,28],[36,31,27,30,"raw"],[36,34,27,38],[36,38,27,43],[36,42,27,47,"LogBoxLog"],[36,52,27,56],[36,53,27,56,"LogBoxLog"],[36,62,27,56],[36,63,27,57,"raw"],[36,66,27,60],[36,67,27,61],[37,10,28,8],[37,11,28,9],[38,8,29,6],[39,6,30,4],[40,6,32,4],[40,12,32,10],[40,16,32,14,"Error"],[40,21,32,19],[40,22,32,20],[40,65,32,63],[40,66,32,64],[41,4,33,2],[42,4,34,2],[42,11,34,9,"logs"],[42,15,34,13],[43,2,35,0],[44,2,37,7],[44,11,37,16,"useSelectedLog"],[44,25,37,30,"useSelectedLog"],[44,26,37,30],[44,28,37,33],[45,4,38,2],[45,10,38,8],[46,6,38,10,"selectedLogIndex"],[46,22,38,26],[47,6,38,28,"logs"],[48,4,38,33],[48,5,38,34],[48,8,38,37,"useLogs"],[48,15,38,44],[48,16,38,45],[48,17,38,46],[49,4,39,2],[49,11,39,9,"logs"],[49,15,39,13],[49,16,39,14,"selectedLogIndex"],[49,32,39,30],[49,33,39,31],[50,2,40,0],[51,0,40,1],[51,3]],"functionMap":{"names":["<global>","useLogs","raw.logs.map$argument_0","useSelectedLog"],"mappings":"AAA;OCY;6BCc,gCD;CDQ;OGE;CHG"},"hasCjsExports":false},"type":"js/module"}]} |