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

25 lines
1.2 KiB
TypeScript

// Module ID: 8032
// Function ID: 8033
// Name: AgeVerificationExpressiveModalEverywhereExperiment
// Dependencies: [1435, 2]
// Exports: isAgeVerificationExpressiveModalEverywhereEnabled, useIsAgeVerificationExpressiveModalEverywhereEnabled
// Module 8032 (AgeVerificationExpressiveModalEverywhereExperiment)
import ApexExperiment from "ApexExperiment" /* 1435 */;
import size from "module_2" /* 2 */;
let obj2;
let obj = { kind: "user", name: "2025-11-age-verification-expressive-everywhere", defaultConfig: { enabled: false }, variations: obj2 };
obj2 = { 1: null };
obj2[1] = { enabled: true };
let closure_0 = ApexExperiment.createApexExperiment(obj);
const result = size.fileFinishedImporting("modules/age_assurance/AgeVerificationExpressiveModalEverywhereExperiment.tsx");
export const useIsAgeVerificationExpressiveModalEverywhereEnabled = function useIsAgeVerificationExpressiveModalEverywhereEnabled(location) {
const obj = { location };
return closure_0.useConfig(obj).enabled;
};
export const isAgeVerificationExpressiveModalEverywhereEnabled = function isAgeVerificationExpressiveModalEverywhereEnabled(entryPoint) {
const obj = { location: entryPoint };
return closure_0.getConfig(obj).enabled;
};