decord/source/13797___exportStarResult31.js
2026-08-26 06:04:24 +00:00

26 lines
910 B
JavaScript

// Module ID: 13797
// Function ID: 13798
// Name: __exportStarResult31
// Dependencies: [13746, 13753, 13780]
// Module 13797 (__exportStarResult31)
import __exportStarResult32 from "__exportStarResult32" /* 13746 */;
import __exportStarResult4 from "__exportStarResult4" /* 13753 */;
import match from "match" /* 13780 */;
require = arg1;
const dependencyMap = arg6;
arg5.SupportedLocales = function SupportedLocales(arg0, arg1, arg2) {
let str = "best fit";
if (undefined !== arg2) {
const ToObjectResult = __exportStarResult32.ToObject(arg2);
str = __exportStarResult4.GetOption(ToObjectResult, "localeMatcher", "string", ["lookup", "best fit"], "best fit");
}
if ("best fit" === str) {
const _Array2 = Array;
return match.LookupSupportedLocales(Array.from(arg0), arg1);
} else {
const _Array = Array;
return match.LookupSupportedLocales(Array.from(arg0), arg1);
}
};