decord/source/1869_height.js

54 lines
1.5 KiB
JavaScript
Raw Normal View History

2026-08-06 08:05:19 +00:00
// Module ID: 1869
// Function ID: 1870
2026-07-29 08:29:29 +00:00
// Name: height
2026-08-06 08:05:19 +00:00
// Dependencies: [19, 17, 21, 1828, 1624]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-06 08:05:19 +00:00
// Module 1869 (height)
2026-07-29 08:29:29 +00:00
import "noop";
import { useMemo } from "noop";
2026-07-23 10:11:24 +00:00
import get_ActivityIndicator from "get ActivityIndicator";
import { jsx } from "jsxProd";
2026-07-20 16:05:17 +00:00
let Platform;
let StyleSheet;
2026-07-29 08:29:29 +00:00
let c3;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
({ Platform, StyleSheet, View: c3 } = get_ActivityIndicator);
2026-07-23 10:11:24 +00:00
const styles = StyleSheet.create({ absolute: { position: "absolute" }, stretch: { top: 0, bottom: 0, left: 0, right: 0 } });
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default function _default(visible) {
2026-07-20 16:05:17 +00:00
let children = visible.visible;
2026-07-23 10:11:24 +00:00
let obj = height(width[3]);
2026-07-20 16:05:17 +00:00
const size = obj.useWindowDimensions();
2026-07-23 10:11:24 +00:00
height = size.height;
width = size.width;
let items = [height, width];
2026-07-20 16:05:17 +00:00
const items1 = [useMemo(() => ({ height, width }), items)];
2026-07-29 08:29:29 +00:00
obj = { visible: children, children: null };
2026-07-20 16:05:17 +00:00
obj = {
collapsable: false,
style: useMemo(() => {
2026-07-29 08:29:29 +00:00
const items = [closure_5.absolute, undefined, closure_5.stretch];
2026-07-20 16:05:17 +00:00
return items;
2026-07-29 08:29:29 +00:00
}, items1),
children: null
2026-07-20 16:05:17 +00:00
};
if (children) {
children = visible.children;
}
2026-07-29 08:29:29 +00:00
obj[2] = children;
obj[1] = <closure_3 collapsable={false} style={useMemo(() => {
const items = [closure_5.absolute, undefined, closure_5.stretch];
2026-07-23 10:11:24 +00:00
return items;
2026-07-29 08:29:29 +00:00
}, items1)}>{null}</closure_3>;
2026-07-23 10:11:24 +00:00
return jsx(height(width[4]).RCTOverKeyboardView, {
collapsable: false,
style: useMemo(() => {
2026-07-29 08:29:29 +00:00
const items = [closure_5.absolute, undefined, closure_5.stretch];
2026-07-23 10:11:24 +00:00
return items;
2026-07-29 08:29:29 +00:00
}, items1),
children: null
2026-07-23 10:11:24 +00:00
});
2026-07-20 16:05:17 +00:00
};