decord/source/modules/age_assurance/GoogleWalletExperiment.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

23 lines
975 B
TypeScript

// Module ID: 8718
// Function ID: 8719
// Name: GoogleWalletExperiment
// Dependencies: [1434, 2]
// Exports: isGoogleWalletEnabled, useIsGoogleWalletEnabled
// Module 8718 (GoogleWalletExperiment)
import ApexExperiment from "ApexExperiment" /* 1434 */;
import size from "module_2" /* 2 */;
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");
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;
};