decord/source/modules/activities/native/doesOrientationMatchLockState.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

34 lines
850 B
TypeScript

// Module ID: 9565
// Function ID: 9566
// Name: doesOrientationMatchLockState
// Dependencies: [4509, 2]
// Exports: default
// Module 9565 (doesOrientationMatchLockState)
import set from "set" /* 2 */;
import items3 from "items3" /* 4509 */;
const OrientationLockState = items3.OrientationLockState;
const result = set.fileFinishedImporting("modules/activities/native/doesOrientationMatchLockState.tsx");
export default function doesOrientationMatchLockState(arg0, arg1) {
let tmp = null == arg1;
if (!tmp) {
tmp = arg1 === OrientationLockState.UNLOCKED;
}
let tmp3 = arg0;
if (!tmp) {
let tmp4 = !tmp3;
if (!tmp3) {
tmp4 = arg1 === OrientationLockState.PORTRAIT;
}
tmp = tmp4;
}
if (!tmp) {
if (tmp3) {
tmp3 = arg1 === OrientationLockState.LANDSCAPE;
}
tmp = tmp3;
}
return tmp;
};