decord/source/modules/age_assurance/GoogleWalletExperiment.tsx
2026-08-05 07:35:12 +00:00

20 lines
898 B
TypeScript

// Module ID: 7742
// Function ID: 7743
// Name: useIsGoogleWalletEnabled
// Dependencies: [1452, 2]
// Exports: isGoogleWalletEnabled, useIsGoogleWalletEnabled
// Module 7742 (useIsGoogleWalletEnabled)
import ApexExperiment from "ApexExperiment";
const obj = { 1: null };
obj[1] = { enabled: true };
let closure_0 = ApexExperiment.createApexExperiment({ kind: "user", name: "2026-03-age-verification-google-wallet", defaultConfig: { enabled: false }, variations: obj });
const result = require("set").fileFinishedImporting("modules/age_assurance/GoogleWalletExperiment.tsx");
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;
};