decord/source/modules/media_engine/BrowserInvertedWantsExperiment.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

27 lines
984 B
TypeScript

// Module ID: 13731
// Function ID: 13732
// Name: getBrowserInvertedWantsConfig
// Dependencies: [1468, 1235, 2]
// Exports: getBrowserInvertedWantsConfig
// Module 13731 (getBrowserInvertedWantsConfig)
import set from "set" /* 2 */;
import PlatformTypes from "PlatformTypes" /* 1235 */;
import ApexExperiment from "ApexExperiment" /* 1468 */;
let obj = { 1: null };
obj[1] = { invertWants: true };
let closure_2 = ApexExperiment.createApexExperiment({ kind: "user", name: "2026-03-browser-inverted-wants", defaultConfig: { invertWants: false }, variations: obj });
const result = set.fileFinishedImporting("modules/media_engine/BrowserInvertedWantsExperiment.tsx");
export const getBrowserInvertedWantsConfig = function getBrowserInvertedWantsConfig(arg0) {
let config = PlatformTypes;
if (config.isDesktop()) {
config = { invertWants: false };
} else {
const obj = { location: null };
obj[0] = arg0;
config = config.getConfig(obj);
}
return config;
};