// Module ID: 14835 // Function ID: 14836 // Name: GatewayAltEndpointExperiment // Dependencies: [1438, 558, 568, 2, 14836] // Module 14835 (GatewayAltEndpointExperiment) import c from "c" /* 568 */; import GatewayAltEndpointCache from "GatewayAltEndpointCache" /* 14836 */; import ApexExperiment from "ApexExperiment" /* 1438 */; import ReactCompilerGating from "ReactCompilerGating" /* 558 */; import size from "module_2" /* 2 */; const obj = { name: "2026-07-aws-gateway", kind: "user", defaultConfig: { enableAltGateway: false }, variations: null }; let obj2 = { 1: null, 2: { enableAltGateway: false } }; obj2[2] = { enableAltGateway: true }; obj.variations = obj2; let closure_2 = 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 = ReactCompilerGating.isReactCompilerEnabled() ? ((location) => { const cResult = c.c(2); if (cResult[0] !== location) { const obj2 = { location }; cResult[0] = location; cResult[1] = obj2; let tmp2 = obj2; } else { tmp2 = cResult[1]; } return closure_2.useConfig(tmp2).enableAltGateway; }) : ((location) => closure_2.useConfig({ location }).enableAltGateway);