decord/alpha/source/modules/tiny_bronco/TinyBroncoExperiment.tsx

39 lines
1.3 KiB
TypeScript
Raw Permalink Normal View History

2026-10-10 08:08:14 +00:00
// Module ID: 5928
// Function ID: 5929
// Name: TinyBroncoExperiment
2026-10-09 10:00:15 +00:00
// Dependencies: [1453, 558, 576, 2]
2026-10-03 08:58:59 +00:00
// Exports: isTinyBroncoEnabled
2026-10-10 08:08:14 +00:00
// Module 5928 (TinyBroncoExperiment)
2026-10-03 08:58:59 +00:00
import react from "react" /* 576 */;
2026-10-09 10:00:15 +00:00
import ApexExperiment from "ApexExperiment" /* 1453 */;
2026-10-03 08:58:59 +00:00
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
2026-10-03 08:58:59 +00:00
let obj = { name: "2026-08-tiny-bronco", kind: "user", defaultConfig: { enabled: false }, variations: { 0: { enabled: false }, 1: { enabled: true } } };
let closure_2 = ApexExperiment.createApexExperiment(obj);
2026-10-08 09:57:35 +00:00
let tmp2 = ReactCompilerGating.isReactCompilerEnabled() ? (function useIsTinyBroncoEnabled(location) {
2026-10-03 08:58:59 +00:00
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;
2026-10-08 09:57:35 +00:00
}) : (function useIsTinyBroncoEnabled(location) {
2026-10-03 08:58:59 +00:00
const obj = { location };
return closure_2.useConfig(obj).enabled;
});
const result = size.fileFinishedImporting("modules/tiny_bronco/TinyBroncoExperiment.tsx");
2026-10-03 08:58:59 +00:00
export const useIsTinyBroncoEnabled = tmp2;
export const isTinyBroncoEnabled = function isTinyBroncoEnabled(location) {
2026-10-03 08:58:59 +00:00
const obj = { location };
return closure_2.getConfig(obj).enabled;
};