decord/source/4774_ScreenContainer.js
2026-08-25 06:04:03 +00:00

42 lines
1.3 KiB
JavaScript

// Module ID: 4774
// Function ID: 4775
// Name: ScreenContainer
// Dependencies: [109, 17, 19, 21, 4755, 4775]
// Exports: default
// Module 4774 (ScreenContainer)
import noopDefault from "noop" /* 19 */;
import isNativePlatformSupported from "isNativePlatformSupported" /* 4755 */;
import __INTERNAL_VIEW_CONFIGDefault from "__INTERNAL_VIEW_CONFIG" /* 4775 */;
import closure_4 from "_objectWithoutProperties" /* 109 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import { jsx } from "jsxProd" /* 21 */;
require = arg1;
let closure_3 = ["enabled", "hasTwoStates"];
({ Platform, View: c5 } = get_ActivityIndicator);
noopDefault;
export default function ScreenContainer(enabled) {
enabled = enabled.enabled;
if (undefined === enabled) {
let obj = isNativePlatformSupported;
enabled = obj.screensEnabled();
}
const tmp3 = callback(enabled, closure_3);
if (enabled) {
if (isNativePlatformSupported.isNativePlatformSupported) {
if (enabled.hasTwoStates) {
obj = {};
const merged = Object.assign(tmp3);
return jsx(__INTERNAL_VIEW_CONFIGDefault, {});
} else {
obj = {};
const merged1 = Object.assign(tmp3);
return jsx(__INTERNAL_VIEW_CONFIGDefault, {});
}
}
}
const merged2 = Object.assign(tmp3);
return <closure_5 />;
};