decord/source/13065_SupportedLocales.js

21 lines
684 B
JavaScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 13065
// Function ID: 99341
2026-07-20 16:05:17 +00:00
// Name: SupportedLocales
2026-07-21 06:55:02 +00:00
// Dependencies: [0, 4294967295, 0]
2026-07-20 16:05:17 +00:00
2026-07-21 06:55:02 +00:00
// Module 13065 (SupportedLocales)
2026-07-20 16:05:17 +00:00
arg5.SupportedLocales = function SupportedLocales(arg0, arg1, arg2) {
let str = "best fit";
if (undefined !== arg2) {
const ToObjectResult = arg1(arg6[0]).ToObject(arg2);
2026-07-21 06:55:02 +00:00
str = arg1(arg6[1]).GetOption(ToObjectResult, "localeMatcher", "string", [-1806852539, 688836880], "best fit");
2026-07-20 16:05:17 +00:00
}
if ("best fit" === str) {
const _Array2 = Array;
return arg1(arg6[2]).LookupSupportedLocales(Array.from(arg0), arg1);
} else {
const _Array = Array;
return arg1(arg6[2]).LookupSupportedLocales(Array.from(arg0), arg1);
}
};