decord/source/__polyfill/14xxx/module_14520.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

27 lines
986 B
JavaScript

// Module ID: 14520
// Function ID: 14521
// Dependencies: [17]
// Exports: default
// Module 14520
import get_ActivityIndicator from "module_17" /* 17 */;
export default function getReactNativePlatformConstants() {
const obj = { osRelease: "", model: "", serverHost: "", uiMode: "", serial: "", forceTouch: false, interfaceIdiom: "", systemName: "" };
if ("android" === get_ActivityIndicator.Platform.OS) {
const obj5 = {};
const merged = Object.assign(obj);
({ Release: obj3.osRelease, Model: obj3.model, ServerHost: obj3.serverHost, uiMode: obj3.uiMode, Serial: obj3.serial } = tmp.Platform.constants);
return obj5;
} else if ("ios" === tmp.Platform.OS) {
constants = tmp.Platform.constants;
const obj6 = {};
const merged1 = Object.assign(obj);
obj6.forceTouch = constants.forceTouchAvailable || false;
({ interfaceIdiom: obj2.interfaceIdiom, systemName: obj2.systemName } = constants);
return obj6;
} else {
return obj;
}
};