Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
23 lines
975 B
TypeScript
23 lines
975 B
TypeScript
// Module ID: 8653
|
|
// Function ID: 8654
|
|
// Name: GoogleWalletExperiment
|
|
// Dependencies: [1433, 2]
|
|
// Exports: isGoogleWalletEnabled, useIsGoogleWalletEnabled
|
|
|
|
// Module 8653 (GoogleWalletExperiment)
|
|
import ApexExperiment from "ApexExperiment" /* 1433 */;
|
|
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;
|
|
};
|