decord/source/13558_getSupportedNumberingSystems.js

31 lines
1,022 B
JavaScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 13558
// Function ID: 13559
2026-07-29 08:29:29 +00:00
// Name: getSupportedNumberingSystems
2026-08-08 06:10:11 +00:00
// Dependencies: [13473, 13559]
2026-07-29 08:29:29 +00:00
2026-08-08 06:10:11 +00:00
// Module 13558 (getSupportedNumberingSystems)
2026-07-29 08:29:29 +00:00
const require = arg1;
const dependencyMap = arg6;
arg5.getSupportedNumberingSystems = function getSupportedNumberingSystems(locale) {
const _require = locale;
2026-08-08 06:10:11 +00:00
const numberingSystemNames = _require(13559).numberingSystemNames;
2026-07-29 08:29:29 +00:00
return numberingSystemNames.filter((arg0) => (function isSupportedNumberingSystem(arg0, closure_0) {
let str = closure_0;
if (undefined === closure_0) {
str = "en";
}
try {
const concat = "".concat;
const combined = "".concat(str, "-u-nu-");
const memoizedNumberFormat = callback(table[0]).createMemoizedNumberFormat(combined.concat(arg0));
if (memoizedNumberFormat.resolvedOptions().numberingSystem !== arg0) {
if ("123" === memoizedNumberFormat.format(123)) {
return false;
}
}
return true;
} catch (err) {
}
})(arg0, closure_0));
};