decord/source/modules/media_engine/BrowserInvertedWantsExperiment.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

27 lines
984 B
TypeScript

// Module ID: 13809
// Function ID: 13810
// Name: getBrowserInvertedWantsConfig
// Dependencies: [1433, 1116, 2]
// Exports: getBrowserInvertedWantsConfig
// Module 13809 (getBrowserInvertedWantsConfig)
import set from "set" /* 2 */;
import PlatformTypes from "PlatformTypes" /* 1116 */;
import ApexExperiment from "ApexExperiment" /* 1433 */;
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;
};