mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 21:31:02 +00:00
1 line
10 KiB
Plaintext
1 line
10 KiB
Plaintext
{"dependencies":[{"name":"@babel/runtime/helpers/objectWithoutPropertiesLoose","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"HFkXuFcBAqfzGtqyPj8g62MKT0M=","exportNames":["*"],"imports":1}},{"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":"react-native-web/dist/exports/Platform","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"dV3bI3NOD8bfMzaIniMaFGy/nn8=","exportNames":["*"],"imports":1}},{"name":"react-native-web/dist/exports/StyleSheet","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"MK7+k1V+KnvCVW7Kj2k/ydtjmVU=","exportNames":["*"],"imports":1}},{"name":"react-native-web/dist/exports/View","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"4kYBDC6LJJXoH7P9rWDi3vkLVB0=","exportNames":["*"],"imports":1}},{"name":"react/jsx-runtime","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":5,"column":0,"index":106},"end":{"line":5,"column":48,"index":154}}],"key":"rKAWVuQOSSDHxC6IWcmkeWszaWg=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n const _excluded = [\"visible\", \"children\", \"style\"];\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 exports.ResourceSavingView = ResourceSavingView;\n var _babelRuntimeHelpersObjectWithoutPropertiesLoose = require(_dependencyMap[0], \"@babel/runtime/helpers/objectWithoutPropertiesLoose\");\n var _objectWithoutPropertiesLoose = _interopDefault(_babelRuntimeHelpersObjectWithoutPropertiesLoose);\n require(_dependencyMap[1], \"react\");\n var _reactNativeWebDistExportsPlatform = require(_dependencyMap[2], \"react-native-web/dist/exports/Platform\");\n var Platform = _interopDefault(_reactNativeWebDistExportsPlatform);\n var _reactNativeWebDistExportsStyleSheet = require(_dependencyMap[3], \"react-native-web/dist/exports/StyleSheet\");\n var StyleSheet = _interopDefault(_reactNativeWebDistExportsStyleSheet);\n var _reactNativeWebDistExportsView = require(_dependencyMap[4], \"react-native-web/dist/exports/View\");\n var View = _interopDefault(_reactNativeWebDistExportsView);\n var _reactJsxRuntime = require(_dependencyMap[5], \"react/jsx-runtime\");\n const FAR_FAR_AWAY = 30000; // this should be big enough to move the whole view out of its container\n\n function ResourceSavingView(_ref) {\n let {\n visible,\n children,\n style\n } = _ref,\n rest = (0, _objectWithoutPropertiesLoose.default)(_ref, _excluded);\n if (Platform.default.OS === 'web') {\n return /*#__PURE__*/(0, _reactJsxRuntime.jsx)(View.default // @ts-expect-error: hidden exists on web, but not in React Native\n , Object.assign({\n hidden: !visible,\n style: [{\n display: visible ? 'flex' : 'none'\n }, styles.container, style],\n pointerEvents: visible ? 'auto' : 'none'\n }, rest, {\n children: children\n }));\n }\n return /*#__PURE__*/(0, _reactJsxRuntime.jsx)(View.default, {\n style: [styles.container, style]\n // box-none doesn't seem to work properly on Android\n ,\n\n pointerEvents: visible ? 'auto' : 'none',\n children: /*#__PURE__*/(0, _reactJsxRuntime.jsx)(View.default, {\n collapsable: false,\n removeClippedSubviews:\n // On iOS & macOS, set removeClippedSubviews to true only when not focused\n // This is an workaround for a bug where the clipped view never re-appears\n Platform.default.OS === 'ios' || Platform.default.OS === 'macos' ? !visible : true,\n pointerEvents: visible ? 'auto' : 'none',\n style: visible ? styles.attached : styles.detached,\n children: children\n })\n });\n }\n const styles = StyleSheet.default.create({\n container: {\n flex: 1,\n overflow: 'hidden'\n },\n attached: {\n flex: 1\n },\n detached: {\n flex: 1,\n top: FAR_FAR_AWAY\n }\n });\n});","lineCount":76,"map":[[2,2,1,0],[2,14,1,12],[4,2,1,13],[4,8,1,13,"_excluded"],[4,17,1,13],[5,2,1,13,"Object"],[5,8,1,13],[5,9,1,13,"defineProperty"],[5,23,1,13],[5,24,1,13,"exports"],[5,31,1,13],[6,4,1,13,"value"],[6,9,1,13],[7,2,1,13],[8,2,1,13],[8,11,1,13,"_interopDefault"],[8,27,1,13,"e"],[8,28,1,13],[9,4,1,13],[9,11,1,13,"e"],[9,12,1,13],[9,16,1,13,"e"],[9,17,1,13],[9,18,1,13,"__esModule"],[9,28,1,13],[9,31,1,13,"e"],[9,32,1,13],[10,6,1,13,"default"],[10,13,1,13],[10,15,1,13,"e"],[11,4,1,13],[12,2,1,13],[13,2,8,0,"exports"],[13,9,8,0],[13,10,8,0,"ResourceSavingView"],[13,28,8,0],[13,31,8,0,"ResourceSavingView"],[13,49,8,0],[14,2,43,1],[14,6,43,1,"_babelRuntimeHelpersObjectWithoutPropertiesLoose"],[14,54,43,1],[14,57,43,1,"require"],[14,64,43,1],[14,65,43,1,"_dependencyMap"],[14,79,43,1],[15,2,43,1],[15,6,43,1,"_objectWithoutPropertiesLoose"],[15,35,43,1],[15,38,43,1,"_interopDefault"],[15,53,43,1],[15,54,43,1,"_babelRuntimeHelpersObjectWithoutPropertiesLoose"],[15,102,43,1],[16,2,3,0,"require"],[16,9,3,0],[16,10,3,0,"_dependencyMap"],[16,24,3,0],[17,2,3,31],[17,6,3,31,"_reactNativeWebDistExportsPlatform"],[17,40,3,31],[17,43,3,31,"require"],[17,50,3,31],[17,51,3,31,"_dependencyMap"],[17,65,3,31],[18,2,3,31],[18,6,3,31,"Platform"],[18,14,3,31],[18,17,3,31,"_interopDefault"],[18,32,3,31],[18,33,3,31,"_reactNativeWebDistExportsPlatform"],[18,67,3,31],[19,2,3,31],[19,6,3,31,"_reactNativeWebDistExportsStyleSheet"],[19,42,3,31],[19,45,3,31,"require"],[19,52,3,31],[19,53,3,31,"_dependencyMap"],[19,67,3,31],[20,2,3,31],[20,6,3,31,"StyleSheet"],[20,16,3,31],[20,19,3,31,"_interopDefault"],[20,34,3,31],[20,35,3,31,"_reactNativeWebDistExportsStyleSheet"],[20,71,3,31],[21,2,3,31],[21,6,3,31,"_reactNativeWebDistExportsView"],[21,36,3,31],[21,39,3,31,"require"],[21,46,3,31],[21,47,3,31,"_dependencyMap"],[21,61,3,31],[22,2,3,31],[22,6,3,31,"View"],[22,10,3,31],[22,13,3,31,"_interopDefault"],[22,28,3,31],[22,29,3,31,"_reactNativeWebDistExportsView"],[22,59,3,31],[23,2,5,0],[23,6,5,0,"_reactJsxRuntime"],[23,22,5,0],[23,25,5,0,"require"],[23,32,5,0],[23,33,5,0,"_dependencyMap"],[23,47,5,0],[24,2,6,0],[24,8,6,6,"FAR_FAR_AWAY"],[24,20,6,18],[24,23,6,21],[24,28,6,26],[24,29,6,27],[24,30,6,28],[26,2,8,7],[26,11,8,16,"ResourceSavingView"],[26,29,8,34,"ResourceSavingView"],[26,30,8,34,"_ref"],[26,34,8,34],[26,36,13,3],[27,4,13,3],[27,8,8,35],[28,8,9,2,"visible"],[28,15,9,9],[29,8,10,2,"children"],[29,16,10,10],[30,8,11,2,"style"],[31,6,13,0],[31,7,13,1],[31,10,13,1,"_ref"],[31,14,13,1],[32,6,12,5,"rest"],[32,10,12,9],[32,17,12,9,"_objectWithoutPropertiesLoose"],[32,46,12,9],[32,47,12,9,"default"],[32,54,12,9],[32,56,12,9,"_ref"],[32,60,12,9],[32,62,12,9,"_excluded"],[32,71,12,9],[33,4,14,2],[33,8,14,6,"Platform"],[33,16,14,14],[33,17,14,14,"default"],[33,24,14,14],[33,25,14,15,"OS"],[33,27,14,17],[33,32,14,22],[33,37,14,27],[33,39,14,29],[34,6,15,4],[34,13,15,11],[34,26,15,24],[34,30,15,24,"_jsx"],[34,46,15,28],[34,47,15,28,"jsx"],[34,50,15,28],[34,52,15,29,"View"],[34,56,15,33],[34,57,15,33,"default"],[34,64,15,33],[34,65,16,4],[35,6,16,4],[35,8,16,4,"Object"],[35,14,16,4],[35,15,16,4,"assign"],[35,21,16,4],[36,8,18,6,"hidden"],[36,14,18,12],[36,16,18,14],[36,17,18,15,"visible"],[36,24,18,22],[37,8,19,6,"style"],[37,13,19,11],[37,15,19,13],[37,16,19,14],[38,10,20,8,"display"],[38,17,20,15],[38,19,20,17,"visible"],[38,26,20,24],[38,29,20,27],[38,35,20,33],[38,38,20,36],[39,8,21,6],[39,9,21,7],[39,11,21,9,"styles"],[39,17,21,15],[39,18,21,16,"container"],[39,27,21,25],[39,29,21,27,"style"],[39,34,21,32],[39,35,21,33],[40,8,22,6,"pointerEvents"],[40,21,22,19],[40,23,22,21,"visible"],[40,30,22,28],[40,33,22,31],[40,39,22,37],[40,42,22,40],[41,6,22,46],[41,9,23,9,"rest"],[41,13,23,13],[42,8,24,6,"children"],[42,16,24,14],[42,18,24,16,"children"],[43,6,24,24],[43,8,25,5],[43,9,25,6],[44,4,26,2],[45,4,27,2],[45,11,27,9],[45,24,27,22],[45,28,27,22,"_jsx"],[45,44,27,26],[45,45,27,26,"jsx"],[45,48,27,26],[45,50,27,27,"View"],[45,54,27,31],[45,55,27,31,"default"],[45,62,27,31],[45,64,27,33],[46,6,28,4,"style"],[46,11,28,9],[46,13,28,11],[46,14,28,12,"styles"],[46,20,28,18],[46,21,28,19,"container"],[46,30,28,28],[46,32,28,30,"style"],[46,37,28,35],[47,6,29,4],[48,6,29,4],[50,6,31,4,"pointerEvents"],[50,19,31,17],[50,21,31,19,"visible"],[50,28,31,26],[50,31,31,29],[50,37,31,35],[50,40,31,38],[50,46,31,44],[51,6,32,4,"children"],[51,14,32,12],[51,16,32,14],[51,29,32,27],[51,33,32,27,"_jsx"],[51,49,32,31],[51,50,32,31,"jsx"],[51,53,32,31],[51,55,32,32,"View"],[51,59,32,36],[51,60,32,36,"default"],[51,67,32,36],[51,69,32,38],[52,8,33,6,"collapsable"],[52,19,33,17],[52,21,33,19],[52,26,33,24],[53,8,34,6,"removeClippedSubviews"],[53,29,34,27],[54,8,35,6],[55,8,36,6],[56,8,37,6,"Platform"],[56,16,37,14],[56,17,37,14,"default"],[56,24,37,14],[56,25,37,15,"OS"],[56,27,37,17],[56,32,37,22],[56,37,37,27],[56,41,37,31,"Platform"],[56,49,37,39],[56,50,37,39,"default"],[56,57,37,39],[56,58,37,40,"OS"],[56,60,37,42],[56,65,37,47],[56,72,37,54],[56,75,37,57],[56,76,37,58,"visible"],[56,83,37,65],[56,86,37,68],[56,90,37,72],[57,8,38,6,"pointerEvents"],[57,21,38,19],[57,23,38,21,"visible"],[57,30,38,28],[57,33,38,31],[57,39,38,37],[57,42,38,40],[57,48,38,46],[58,8,39,6,"style"],[58,13,39,11],[58,15,39,13,"visible"],[58,22,39,20],[58,25,39,23,"styles"],[58,31,39,29],[58,32,39,30,"attached"],[58,40,39,38],[58,43,39,41,"styles"],[58,49,39,47],[58,50,39,48,"detached"],[58,58,39,56],[59,8,40,6,"children"],[59,16,40,14],[59,18,40,16,"children"],[60,6,41,4],[60,7,41,5],[61,4,42,2],[61,5,42,3],[61,6,42,4],[62,2,43,0],[63,2,44,0],[63,8,44,6,"styles"],[63,14,44,12],[63,17,44,15,"StyleSheet"],[63,27,44,25],[63,28,44,25,"default"],[63,35,44,25],[63,36,44,26,"create"],[63,42,44,32],[63,43,44,33],[64,4,45,2,"container"],[64,13,45,11],[64,15,45,13],[65,6,46,4,"flex"],[65,10,46,8],[65,12,46,10],[65,13,46,11],[66,6,47,4,"overflow"],[66,14,47,12],[66,16,47,14],[67,4,48,2],[67,5,48,3],[68,4,49,2,"attached"],[68,12,49,10],[68,14,49,12],[69,6,50,4,"flex"],[69,10,50,8],[69,12,50,10],[70,4,51,2],[70,5,51,3],[71,4,52,2,"detached"],[71,12,52,10],[71,14,52,12],[72,6,53,4,"flex"],[72,10,53,8],[72,12,53,10],[72,13,53,11],[73,6,54,4,"top"],[73,9,54,7],[73,11,54,9,"FAR_FAR_AWAY"],[74,4,55,2],[75,2,56,0],[75,3,56,1],[75,4,56,2],[76,0,56,3],[76,3]],"functionMap":{"names":["<global>","ResourceSavingView"],"mappings":"AAA;OCO;CDmC"},"hasCjsExports":false},"type":"js/module"}]} |