decord/source/modules/age_assurance/GoogleWalletExperiment.tsx

24 lines
975 B
TypeScript
Raw Normal View History

// Module ID: 8653
// Function ID: 8654
// Name: GoogleWalletExperiment
// Dependencies: [1433, 2]
2026-07-20 16:05:17 +00:00
// Exports: isGoogleWalletEnabled, useIsGoogleWalletEnabled
// Module 8653 (GoogleWalletExperiment)
import ApexExperiment from "ApexExperiment" /* 1433 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const obj = { kind: "user", name: "2026-03-age-verification-google-wallet", defaultConfig: { enabled: false }, variations: null };
const obj2 = { 1: null };
obj2[1] = { enabled: true };
obj.variations = obj2;
let closure_0 = ApexExperiment.createApexExperiment(obj);
const result = size.fileFinishedImporting("modules/age_assurance/GoogleWalletExperiment.tsx");
2026-07-20 16:05:17 +00:00
export const useIsGoogleWalletEnabled = function useIsGoogleWalletEnabled(location) {
return closure_0.useConfig({ location }).enabled;
};
export const isGoogleWalletEnabled = function isGoogleWalletEnabled(age_verification_methods) {
return closure_0.getConfig({ location: age_verification_methods }).enabled;
};