decord/beta/source/modules/safety_flows/SafetyFlowsExperiment.tsx
2026-10-01 14:13:23 +00:00

24 lines
1.1 KiB
TypeScript

// Module ID: 17277
// Function ID: 17278
// Name: SafetyFlowsExperiment
// Dependencies: [1436, 2]
// Exports: isEligibleForSafetyFlowsExperiment, useIsEligibleForSafetyFlowsExperiment
// Module 17277 (SafetyFlowsExperiment)
import apex_ApexExperimentDefault from "apex/ApexExperiment" /* 1436 */;
import size from "module_2" /* 2 */;
let obj = { name: "2026-04-safety-flows", kind: "user", defaultConfig: { enabled: false }, variations: { 0: { enabled: false }, 1: { enabled: true } } };
const tmp2 = apex_ApexExperimentDefault(obj);
let closure_0 = tmp2;
const result = size.fileFinishedImporting("modules/safety_flows/SafetyFlowsExperiment.tsx");
export default tmp2;
export const isEligibleForSafetyFlowsExperiment = function isEligibleForSafetyFlowsExperiment(location) {
const obj = { location: location.location };
return closure_0.getConfig(obj).enabled;
};
export const useIsEligibleForSafetyFlowsExperiment = function useIsEligibleForSafetyFlowsExperiment(location) {
const obj = { location: location.location };
return closure_0.useConfig(obj).enabled;
};