decord/source/13747_supportedValuesOf.js

34 lines
1.4 KiB
JavaScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 13747
// Function ID: 13748
2026-08-24 06:08:38 +00:00
// Name: supportedValuesOf
2026-08-25 06:04:03 +00:00
// Dependencies: [13748, 13750, 13752, 13754, 13756, 13758]
2026-08-24 06:08:38 +00:00
2026-08-25 06:04:03 +00:00
// 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 */;
2026-08-24 06:08:38 +00:00
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);
}
};