mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 13:31:00 +00:00
1 line
6.6 KiB
Plaintext
1 line
6.6 KiB
Plaintext
{"dependencies":[{"name":"@react-navigation/core","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":15},"end":{"line":3,"column":75,"index":90}}],"key":"Wm75LgE4xYscVWo0KoLFlflJQCo=","exportNames":["*"],"imports":1}},{"name":"react","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":91},"end":{"line":4,"column":31,"index":122}}],"key":"RtGiGa+/H7VrI7GDQDLhO1UbpU8=","exportNames":["*"],"imports":1}},{"name":"./LinkingContext.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":5,"column":0,"index":123},"end":{"line":5,"column":53,"index":176}}],"key":"r/0Yvi+HouDAqn4vN4m4I6AMfEI=","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 _interopNamespace(e) {\n if (e && e.__esModule) return e;\n var n = {};\n if (e) Object.keys(e).forEach(function (k) {\n var d = Object.getOwnPropertyDescriptor(e, k);\n Object.defineProperty(n, k, d.get ? d : {\n enumerable: true,\n get: function () {\n return e[k];\n }\n });\n });\n n.default = e;\n return n;\n }\n exports.useRoutePath = useRoutePath;\n var _reactNavigationCore = require(_dependencyMap[0], \"@react-navigation/core\");\n var _react = require(_dependencyMap[1], \"react\");\n var React = _interopNamespace(_react);\n var _LinkingContextJs = require(_dependencyMap[2], \"./LinkingContext.js\");\n /**\n * Hook to get the path for the current route based on linking options.\n *\n * @returns Path for the current route.\n */\n function useRoutePath() {\n const {\n options\n } = React.useContext(_LinkingContextJs.LinkingContext);\n const state = (0, _reactNavigationCore.useStateForPath)();\n if (state === undefined) {\n throw new Error(\"Couldn't find a state for the route object. Is your component inside a screen in a navigator?\");\n }\n const getPathFromStateHelper = options?.getPathFromState ?? _reactNavigationCore.getPathFromState;\n const path = React.useMemo(() => {\n if (options?.enabled === false) {\n return undefined;\n }\n const path = getPathFromStateHelper(state, options?.config);\n return path;\n }, [options?.enabled, options?.config, state, getPathFromStateHelper]);\n return path;\n }\n});","lineCount":50,"map":[[2,2,1,0],[2,14,1,12],[4,2,1,13,"Object"],[4,8,1,13],[4,9,1,13,"defineProperty"],[4,23,1,13],[4,24,1,13,"exports"],[4,31,1,13],[5,4,1,13,"value"],[5,9,1,13],[6,2,1,13],[7,2,1,13],[7,11,1,13,"_interopNamespace"],[7,29,1,13,"e"],[7,30,1,13],[8,4,1,13],[8,8,1,13,"e"],[8,9,1,13],[8,13,1,13,"e"],[8,14,1,13],[8,15,1,13,"__esModule"],[8,25,1,13],[8,34,1,13,"e"],[8,35,1,13],[9,4,1,13],[9,8,1,13,"n"],[9,9,1,13],[10,4,1,13],[10,8,1,13,"e"],[10,9,1,13],[10,11,1,13,"Object"],[10,17,1,13],[10,18,1,13,"keys"],[10,22,1,13],[10,23,1,13,"e"],[10,24,1,13],[10,26,1,13,"forEach"],[10,33,1,13],[10,44,1,13,"k"],[10,45,1,13],[11,6,1,13],[11,10,1,13,"d"],[11,11,1,13],[11,14,1,13,"Object"],[11,20,1,13],[11,21,1,13,"getOwnPropertyDescriptor"],[11,45,1,13],[11,46,1,13,"e"],[11,47,1,13],[11,49,1,13,"k"],[11,50,1,13],[12,6,1,13,"Object"],[12,12,1,13],[12,13,1,13,"defineProperty"],[12,27,1,13],[12,28,1,13,"n"],[12,29,1,13],[12,31,1,13,"k"],[12,32,1,13],[12,34,1,13,"d"],[12,35,1,13],[12,36,1,13,"get"],[12,39,1,13],[12,42,1,13,"d"],[12,43,1,13],[13,8,1,13,"enumerable"],[13,18,1,13],[14,8,1,13,"get"],[14,11,1,13],[14,22,1,13,"get"],[14,23,1,13],[15,10,1,13],[15,17,1,13,"e"],[15,18,1,13],[15,19,1,13,"k"],[15,20,1,13],[16,8,1,13],[17,6,1,13],[18,4,1,13],[19,4,1,13,"n"],[19,5,1,13],[19,6,1,13,"default"],[19,13,1,13],[19,16,1,13,"e"],[19,17,1,13],[20,4,1,13],[20,11,1,13,"n"],[20,12,1,13],[21,2,1,13],[22,2,12,0,"exports"],[22,9,12,0],[22,10,12,0,"useRoutePath"],[22,22,12,0],[22,25,12,0,"useRoutePath"],[22,37,12,0],[23,2,3,0],[23,6,3,0,"_reactNavigationCore"],[23,26,3,0],[23,29,3,0,"require"],[23,36,3,0],[23,37,3,0,"_dependencyMap"],[23,51,3,0],[24,2,4,0],[24,6,4,0,"_react"],[24,12,4,0],[24,15,4,0,"require"],[24,22,4,0],[24,23,4,0,"_dependencyMap"],[24,37,4,0],[25,2,4,0],[25,6,4,0,"React"],[25,11,4,0],[25,14,4,0,"_interopNamespace"],[25,31,4,0],[25,32,4,0,"_react"],[25,38,4,0],[26,2,5,0],[26,6,5,0,"_LinkingContextJs"],[26,23,5,0],[26,26,5,0,"require"],[26,33,5,0],[26,34,5,0,"_dependencyMap"],[26,48,5,0],[27,2,7,0],[28,0,8,0],[29,0,9,0],[30,0,10,0],[31,0,11,0],[32,2,12,7],[32,11,12,16,"useRoutePath"],[32,23,12,28,"useRoutePath"],[32,24,12,28],[32,26,12,31],[33,4,13,2],[33,10,13,8],[34,6,14,4,"options"],[35,4,15,2],[35,5,15,3],[35,8,15,6,"React"],[35,13,15,11],[35,14,15,12,"useContext"],[35,24,15,22],[35,25,15,23,"LinkingContext"],[35,42,15,37],[35,43,15,37,"LinkingContext"],[35,57,15,37],[35,58,15,38],[36,4,16,2],[36,10,16,8,"state"],[36,15,16,13],[36,18,16,16],[36,22,16,16,"useStateForPath"],[36,42,16,31],[36,43,16,31,"useStateForPath"],[36,58,16,31],[36,60,16,32],[36,61,16,33],[37,4,17,2],[37,8,17,6,"state"],[37,13,17,11],[37,18,17,16,"undefined"],[37,27,17,25],[37,29,17,27],[38,6,18,4],[38,12,18,10],[38,16,18,14,"Error"],[38,21,18,19],[38,22,18,20],[38,117,18,115],[38,118,18,116],[39,4,19,2],[40,4,20,2],[40,10,20,8,"getPathFromStateHelper"],[40,32,20,30],[40,35,20,33,"options"],[40,42,20,40],[40,44,20,42,"getPathFromState"],[40,60,20,58],[40,64,20,62,"getPathFromState"],[40,84,20,78],[40,85,20,78,"getPathFromState"],[40,101,20,78],[41,4,21,2],[41,10,21,8,"path"],[41,14,21,12],[41,17,21,15,"React"],[41,22,21,20],[41,23,21,21,"useMemo"],[41,30,21,28],[41,31,21,29],[41,37,21,35],[42,6,22,4],[42,10,22,8,"options"],[42,17,22,15],[42,19,22,17,"enabled"],[42,26,22,24],[42,31,22,29],[42,36,22,34],[42,38,22,36],[43,8,23,6],[43,15,23,13,"undefined"],[43,24,23,22],[44,6,24,4],[45,6,25,4],[45,12,25,10,"path"],[45,16,25,14],[45,19,25,17,"getPathFromStateHelper"],[45,41,25,39],[45,42,25,40,"state"],[45,47,25,45],[45,49,25,47,"options"],[45,56,25,54],[45,58,25,56,"config"],[45,64,25,62],[45,65,25,63],[46,6,26,4],[46,13,26,11,"path"],[46,17,26,15],[47,4,27,2],[47,5,27,3],[47,7,27,5],[47,8,27,6,"options"],[47,15,27,13],[47,17,27,15,"enabled"],[47,24,27,22],[47,26,27,24,"options"],[47,33,27,31],[47,35,27,33,"config"],[47,41,27,39],[47,43,27,41,"state"],[47,48,27,46],[47,50,27,48,"getPathFromStateHelper"],[47,72,27,70],[47,73,27,71],[47,74,27,72],[48,4,28,2],[48,11,28,9,"path"],[48,15,28,13],[49,2,29,0],[50,0,29,1],[50,3]],"functionMap":{"names":["<global>","useRoutePath","React.useMemo$argument_0"],"mappings":"AAA;OCW;6BCS;GDM;CDE"},"hasCjsExports":false},"type":"js/module"}]} |