19 lines
886 B
TypeScript
19 lines
886 B
TypeScript
// Module ID: 7628
|
|
// Function ID: 60744
|
|
// Name: useIsGoogleWalletEnabled
|
|
// Dependencies: [1428, 2]
|
|
// Exports: isGoogleWalletEnabled, useIsGoogleWalletEnabled
|
|
|
|
// Module 7628 (useIsGoogleWalletEnabled)
|
|
import ApexExperiment from "ApexExperiment";
|
|
|
|
const obj = { kind: "user", name: "2026-03-age-verification-google-wallet", defaultConfig: { enabled: false }, variations: { [1]: { enabled: true } } };
|
|
let closure_0 = ApexExperiment.createApexExperiment(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;
|
|
};
|