decord/alpha/source/modules/media/experiments/VideoBackgroundProfileFetchExperiment.tsx
2026-10-12 06:59:38 +00:00

33 lines
1.3 KiB
TypeScript

// Module ID: 8379
// Function ID: 8380
// Name: VideoBackgroundProfileFetchExperiment
// Dependencies: [1453, 558, 576, 2]
// Module 8379 (VideoBackgroundProfileFetchExperiment)
import react from "react" /* 576 */;
import ApexExperiment from "ApexExperiment" /* 1453 */;
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
let obj = { name: "2026-09-video-background-profile-fetch", kind: "user", defaultConfig: { enabled: false }, variations: { 0: { enabled: false }, 1: { enabled: true } } };
let closure_2 = ApexExperiment.createApexExperiment(obj);
let tmp2 = ReactCompilerGating.isReactCompilerEnabled() ? (function useIsVideoBackgroundProfileFetchEnabled(location) {
let tmp2;
const obj = react;
const cResult = obj.c(2);
if (cResult[0] !== location) {
const obj2 = { location };
cResult[0] = location;
cResult[1] = obj2;
tmp2 = obj2;
} else {
tmp2 = cResult[1];
}
return closure_2.useConfig(tmp2).enabled;
}) : (function useIsVideoBackgroundProfileFetchEnabled(location) {
const obj = { location };
return closure_2.useConfig(obj).enabled;
});
const result = size.fileFinishedImporting("modules/media/experiments/VideoBackgroundProfileFetchExperiment.tsx");
export const useIsVideoBackgroundProfileFetchEnabled = tmp2;