decord/source/4713_ScreenContainer.js
2026-08-13 07:00:46 +00:00

41 lines
1.2 KiB
JavaScript

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