44 lines
2.2 KiB
React
44 lines
2.2 KiB
React
/* Metro module 5423; source: unknown; dependencies: [29, 31, 27, 33] */
|
|
import ObjectWithoutProperties from './module-00029-ObjectWithoutProperties.js'; /* Metro dependency 29 */
|
|
import * as ReactNativeModule from './module-00027-ReactNative.js'; /* Metro dependency 27 */
|
|
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as JsxRuntimeModule from './module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
|
|
function _fun47744(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#47744, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5601:6, offset: 0x011cb4e1, size: 223 bytes, params: 8, frame: 18
|
|
const env0_0 = ['visible', 'children', 'style'];
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
ReactNativeModule.Platform;
|
|
const StyleSheet = ReactNativeModule.StyleSheet;
|
|
const env0_4 = StyleSheet.create({container: {'flex': 1, 'overflow': 'hidden'}, attached: {flex: 1},
|
|
detached: {'flex': 1, 'top': 30000}});
|
|
exports.default = ResourceSavingScene_47745;
|
|
function ResourceSavingScene_47745(a0) { // fn#47745, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5601:323, offset: 0x011b6b49, size: 173 bytes, params: 2, frame: 21
|
|
const visible = a0.visible;
|
|
const children = a0.children;
|
|
const style = a0.style;
|
|
let binding = ObjectWithoutProperties;
|
|
binding(a0, env0_0);
|
|
const value2 = 'none';
|
|
const r4 = visible ? 'auto' : value2;
|
|
const r10 = visible ? 'auto' : value2;
|
|
binding = env0_4;
|
|
return (
|
|
<View style={[env0_4.container, style]} pointerEvents={r4}>
|
|
<View
|
|
collapsable={false}
|
|
removeClippedSubviews
|
|
pointerEvents={r10}
|
|
style={visible ? binding.attached : binding.detached}
|
|
>
|
|
{children}
|
|
</View>
|
|
</View>
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun47744, 5423, [29, 31, 27, 33]) /* metro module 5423, dependencies: [29, 31, 27, 33] */;
|