Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5012.js (118.4 MB)
22 lines
986 B
TypeScript
22 lines
986 B
TypeScript
// Module ID: 14918
|
|
// Function ID: 14919
|
|
// Name: GatewayAltEndpointExperiment
|
|
// Dependencies: [1434, 2, 14919]
|
|
// Exports: useShouldUseAltGateway
|
|
|
|
// Module 14918 (GatewayAltEndpointExperiment)
|
|
import GatewayAltEndpointCache from "GatewayAltEndpointCache" /* 14919 */;
|
|
import ApexExperiment from "ApexExperiment" /* 1434 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const obj = { name: "2026-07-aws-gateway", kind: "user", defaultConfig: { enableAltGateway: false }, variations: null };
|
|
const obj2 = { 1: null, 2: { enableAltGateway: false } };
|
|
obj2[2] = { enableAltGateway: true };
|
|
obj.variations = obj2;
|
|
let closure_0 = ApexExperiment.createApexExperiment(obj);
|
|
const result = size.fileFinishedImporting("modules/gateway/GatewayAltEndpointExperiment.tsx");
|
|
|
|
export const USE_ALT_GATEWAY_KEY = GatewayAltEndpointCache.USE_ALT_GATEWAY_KEY;
|
|
export const useShouldUseAltGateway = function useShouldUseAltGateway(App) {
|
|
return closure_0.useConfig({ location: App }).enableAltGateway;
|
|
};
|