decord/source/13747_supportedValuesOf.js
2026-08-25 06:04:03 +00:00

33 lines
1.4 KiB
JavaScript

// Module ID: 13747
// Function ID: 13748
// Name: supportedValuesOf
// Dependencies: [13748, 13750, 13752, 13754, 13756, 13758]
// Module 13747 (supportedValuesOf)
import getSupportedCalendars from "getSupportedCalendars" /* 13748 */;
import getSupportedCollations from "getSupportedCollations" /* 13750 */;
import isSupportedCurrency from "isSupportedCurrency" /* 13752 */;
import getSupportedNumberingSystems from "getSupportedNumberingSystems" /* 13754 */;
import getSupportedTimeZones from "getSupportedTimeZones" /* 13756 */;
import getSupportedUnits from "getSupportedUnits" /* 13758 */;
require = arg1;
const dependencyMap = arg6;
arg5.supportedValuesOf = function supportedValuesOf(collation, locale) {
if ("calendar" === collation) {
return getSupportedCalendars.getSupportedCalendars(locale);
} else if ("collation" === collation) {
return getSupportedCollations.getSupportedCollations(locale);
} else if ("currency" === collation) {
return isSupportedCurrency.getSupportedCurrencies(locale);
} else if ("numberingSystem" === collation) {
return getSupportedNumberingSystems.getSupportedNumberingSystems(locale);
} else if ("timeZone" === collation) {
return getSupportedTimeZones.getSupportedTimeZones(locale);
} else if ("unit" === collation) {
return getSupportedUnits.getSupportedUnits(locale);
} else {
const _RangeError = RangeError;
throw RangeError("Invalid key: " + collation);
}
};