Files
2026-07-28 01:06:53 +03:00

44 lines
2.2 KiB
React

/* Metro module 5309; 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 _fun47030(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#47030, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5487:6, offset: 0x011b6a6a, 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;
function ResourceSavingScene(a0) { // fn#47031, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5487: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(_fun47030, 5309, [29, 31, 27, 33]) /* metro module 5309, dependencies: [29, 31, 27, 33] */;