decord/source/13091_getSupportedCollations.js
2026-07-21 06:55:02 +00:00

18 lines
526 B
JavaScript

// Module ID: 13091
// Function ID: 99413
// Name: getSupportedCollations
// Dependencies: []
// Module 13091 (getSupportedCollations)
arg5.getSupportedCollations = function getSupportedCollations(locale) {
const arg1 = locale;
const collations = arg1(arg6[0]).collations;
return collations.filter((arg0) => {
let str = arg0;
if (undefined === arg0) {
str = "en";
}
const combined = "".concat(str, "-u-co-");
Intl.Collator(combined.concat(arg0)).resolvedOptions().collation === arg0;
});
};