decord/source/modules/age_assurance/AgeVerificationIncodeExperiment.tsx

20 lines
932 B
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 7556
// Function ID: 60473
2026-07-20 16:05:17 +00:00
// Name: useIsAgeVerificationIncodeEnabled
2026-07-23 10:11:24 +00:00
// Dependencies: [1428, 2]
2026-07-20 16:05:17 +00:00
// Exports: isAgeVerificationIncodeEnabled, useIsAgeVerificationIncodeEnabled
2026-07-23 10:11:24 +00:00
// Module 7556 (useIsAgeVerificationIncodeEnabled)
import ApexExperiment from "ApexExperiment";
const obj = { kind: "user", name: "2026-06-age-verification-incode", defaultConfig: { enabled: false }, variations: { [1]: { enabled: true } } };
let closure_0 = ApexExperiment.createApexExperiment(obj);
const result = require("set").fileFinishedImporting("modules/age_assurance/AgeVerificationIncodeExperiment.tsx");
2026-07-20 16:05:17 +00:00
export const useIsAgeVerificationIncodeEnabled = function useIsAgeVerificationIncodeEnabled(location) {
return closure_0.useConfig({ location }).enabled;
};
export const isAgeVerificationIncodeEnabled = function isAgeVerificationIncodeEnabled(entryPoint) {
return closure_0.getConfig({ location: entryPoint }).enabled;
};