decord/source/5614_getInvertedMultiplier.js
2026-07-31 08:44:05 +00:00

29 lines
658 B
JavaScript

// Module ID: 5614
// Function ID: 5615
// Name: getInvertedMultiplier
// Dependencies: [17]
// Exports: default
// Module 5614 (getInvertedMultiplier)
import { I18nManager } from "get ActivityIndicator";
export default function getInvertedMultiplier(arg0) {
if ("vertical" === arg0) {
return 1;
} else if ("vertical-inverted" === arg0) {
return -1;
} else if ("horizontal" === arg0) {
let num2 = 1;
if (I18nManager.getConstants().isRTL) {
num2 = -1;
}
return num2;
} else if ("horizontal-inverted" === arg0) {
let num = -1;
if (I18nManager.getConstants().isRTL) {
num = 1;
}
return num;
}
};