Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/33/cd5cfad7fc18a2148b5be398fd61d20bea7765475b23b17aa2230345ee0cd6f51e1627
T
2025-11-08 18:17:03 +00:00

1 line
5.7 KiB
Plaintext

{"dependencies":[{"name":"react","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":15},"end":{"line":3,"column":31,"index":46}}],"key":"RtGiGa+/H7VrI7GDQDLhO1UbpU8=","exportNames":["*"],"imports":1}},{"name":"./useNavigation.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":47},"end":{"line":4,"column":51,"index":98}}],"key":"QYUBGacr5qSJ4R+u3laZK0wRG3s=","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.useIsFocused = useIsFocused;\n var _react = require(_dependencyMap[0], \"react\");\n var React = _interopNamespace(_react);\n var _useNavigationJs = require(_dependencyMap[1], \"./useNavigation.js\");\n /**\n * Hook to get the current focus state of the screen. Returns a `true` if screen is focused, otherwise `false`.\n * This can be used if a component needs to render something based on the focus state.\n */\n function useIsFocused() {\n var navigation = (0, _useNavigationJs.useNavigation)();\n var subscribe = React.useCallback(callback => {\n var unsubscribeFocus = navigation.addListener('focus', callback);\n var unsubscribeBlur = navigation.addListener('blur', callback);\n return () => {\n unsubscribeFocus();\n unsubscribeBlur();\n };\n }, [navigation]);\n var value = React.useSyncExternalStore(subscribe, navigation.isFocused, navigation.isFocused);\n return value;\n }\n});","lineCount":43,"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,10,0,"exports"],[22,9,10,0],[22,10,10,0,"useIsFocused"],[22,22,10,0],[22,25,10,0,"useIsFocused"],[22,37,10,0],[23,2,3,0],[23,6,3,0,"_react"],[23,12,3,0],[23,15,3,0,"require"],[23,22,3,0],[23,23,3,0,"_dependencyMap"],[23,37,3,0],[24,2,3,0],[24,6,3,0,"React"],[24,11,3,0],[24,14,3,0,"_interopNamespace"],[24,31,3,0],[24,32,3,0,"_react"],[24,38,3,0],[25,2,4,0],[25,6,4,0,"_useNavigationJs"],[25,22,4,0],[25,25,4,0,"require"],[25,32,4,0],[25,33,4,0,"_dependencyMap"],[25,47,4,0],[26,2,6,0],[27,0,7,0],[28,0,8,0],[29,0,9,0],[30,2,10,7],[30,11,10,16,"useIsFocused"],[30,23,10,28,"useIsFocused"],[30,24,10,28],[30,26,10,31],[31,4,11,2],[31,8,11,8,"navigation"],[31,18,11,18],[31,21,11,21],[31,25,11,21,"useNavigation"],[31,41,11,34],[31,42,11,34,"useNavigation"],[31,55,11,34],[31,57,11,35],[31,58,11,36],[32,4,12,2],[32,8,12,8,"subscribe"],[32,17,12,17],[32,20,12,20,"React"],[32,25,12,25],[32,26,12,26,"useCallback"],[32,37,12,37],[32,38,12,38,"callback"],[32,46,12,46],[32,50,12,50],[33,6,13,4],[33,10,13,10,"unsubscribeFocus"],[33,26,13,26],[33,29,13,29,"navigation"],[33,39,13,39],[33,40,13,40,"addListener"],[33,51,13,51],[33,52,13,52],[33,59,13,59],[33,61,13,61,"callback"],[33,69,13,69],[33,70,13,70],[34,6,14,4],[34,10,14,10,"unsubscribeBlur"],[34,25,14,25],[34,28,14,28,"navigation"],[34,38,14,38],[34,39,14,39,"addListener"],[34,50,14,50],[34,51,14,51],[34,57,14,57],[34,59,14,59,"callback"],[34,67,14,67],[34,68,14,68],[35,6,15,4],[35,13,15,11],[35,19,15,17],[36,8,16,6,"unsubscribeFocus"],[36,24,16,22],[36,25,16,23],[36,26,16,24],[37,8,17,6,"unsubscribeBlur"],[37,23,17,21],[37,24,17,22],[37,25,17,23],[38,6,18,4],[38,7,18,5],[39,4,19,2],[39,5,19,3],[39,7,19,5],[39,8,19,6,"navigation"],[39,18,19,16],[39,19,19,17],[39,20,19,18],[40,4,20,2],[40,8,20,8,"value"],[40,13,20,13],[40,16,20,16,"React"],[40,21,20,21],[40,22,20,22,"useSyncExternalStore"],[40,42,20,42],[40,43,20,43,"subscribe"],[40,52,20,52],[40,54,20,54,"navigation"],[40,64,20,64],[40,65,20,65,"isFocused"],[40,74,20,74],[40,76,20,76,"navigation"],[40,86,20,86],[40,87,20,87,"isFocused"],[40,96,20,96],[40,97,20,97],[41,4,21,2],[41,11,21,9,"value"],[41,16,21,14],[42,2,22,0],[43,0,22,1],[43,3]],"functionMap":{"names":["<global>","useIsFocused","subscribe","<anonymous>"],"mappings":"AAA;OCS;sCCE;WCG;KDG;GDC;CDG"},"hasCjsExports":false},"type":"js/module"}]}