decord/alpha/source/modules/age_assurance/AgeVerificationIncodeExperiment.tsx

42 lines
1.5 KiB
TypeScript
Raw Permalink Normal View History

2026-10-12 06:59:38 +00:00
// Module ID: 7534
// Function ID: 7535
// Name: AgeVerificationIncodeExperiment
2026-10-09 10:00:15 +00:00
// Dependencies: [1453, 558, 576, 2]
2026-10-03 08:58:59 +00:00
// Exports: isAgeVerificationIncodeEnabled
2026-07-20 16:05:17 +00:00
2026-10-12 06:59:38 +00:00
// Module 7534 (AgeVerificationIncodeExperiment)
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-07-23 10:11:24 +00:00
2026-10-03 08:58:59 +00:00
let obj2;
let obj = { kind: "user", name: "2026-06-age-verification-incode", defaultConfig: { enabled: false }, variations: obj2 };
obj2 = { 1: null };
obj2[1] = { enabled: true };
2026-10-03 08:58:59 +00:00
let closure_2 = ApexExperiment.createApexExperiment(obj);
2026-10-08 09:57:35 +00:00
let tmp2 = ReactCompilerGating.isReactCompilerEnabled() ? (function useIsAgeVerificationIncodeEnabled(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 useIsAgeVerificationIncodeEnabled(location) {
2026-10-03 08:58:59 +00:00
const obj = { location };
return closure_2.useConfig(obj).enabled;
});
const result = size.fileFinishedImporting("modules/age_assurance/AgeVerificationIncodeExperiment.tsx");
2026-07-20 16:05:17 +00:00
2026-10-03 08:58:59 +00:00
export const useIsAgeVerificationIncodeEnabled = tmp2;
2026-07-20 16:05:17 +00:00
export const isAgeVerificationIncodeEnabled = function isAgeVerificationIncodeEnabled(entryPoint) {
2026-10-03 08:58:59 +00:00
const obj = { location: entryPoint };
return closure_2.getConfig(obj).enabled;
2026-07-20 16:05:17 +00:00
};