decord/source/modules/age_assurance/AgeVerificationExpressiveModalEverywhereExperiment.tsx

22 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 6724
// Function ID: 6725
2026-07-20 16:05:17 +00:00
// Name: useIsAgeVerificationExpressiveModalEverywhereEnabled
2026-08-15 05:55:55 +00:00
// Dependencies: [1472, 2]
2026-07-20 16:05:17 +00:00
// Exports: isAgeVerificationExpressiveModalEverywhereEnabled, useIsAgeVerificationExpressiveModalEverywhereEnabled
2026-08-24 06:08:38 +00:00
// Module 6724 (useIsAgeVerificationExpressiveModalEverywhereEnabled)
import set from "set" /* 2 */;
import ApexExperiment from "ApexExperiment" /* 1472 */;
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
const obj = { 1: null };
obj[1] = { enabled: true };
let closure_0 = ApexExperiment.createApexExperiment({ kind: "user", name: "2025-11-age-verification-expressive-everywhere", defaultConfig: { enabled: false }, variations: obj });
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/age_assurance/AgeVerificationExpressiveModalEverywhereExperiment.tsx");
2026-07-20 16:05:17 +00:00
export const useIsAgeVerificationExpressiveModalEverywhereEnabled = function useIsAgeVerificationExpressiveModalEverywhereEnabled(location) {
return closure_0.useConfig({ location }).enabled;
};
export const isAgeVerificationExpressiveModalEverywhereEnabled = function isAgeVerificationExpressiveModalEverywhereEnabled(entryPoint) {
return closure_0.getConfig({ location: entryPoint }).enabled;
};