42 lines
1.4 KiB
TypeScript
42 lines
1.4 KiB
TypeScript
// Module ID: 4829
|
|
// Function ID: 4830
|
|
// Name: GameModeExperiment
|
|
// Dependencies: [1441, 558, 576, 2]
|
|
// Exports: getGameModeExperimentConfig
|
|
|
|
// Module 4829 (GameModeExperiment)
|
|
import react from "react" /* 576 */;
|
|
import ApexExperiment from "ApexExperiment" /* 1441 */;
|
|
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
let obj2;
|
|
let obj = { name: "2026-08-game-mode", kind: "user", defaultConfig: { enabled: false }, variations: obj2 };
|
|
obj2 = { 1: null };
|
|
obj2[1] = { enabled: true };
|
|
let closure_2 = ApexExperiment.createApexExperiment(obj);
|
|
let tmp2 = ReactCompilerGating.isReactCompilerEnabled() ? ((location) => {
|
|
let tmp2;
|
|
const obj = react;
|
|
const cResult = obj.c(2);
|
|
const _location = location.location;
|
|
if (cResult[0] !== _location) {
|
|
const obj2 = { location: _location };
|
|
cResult[0] = _location;
|
|
cResult[1] = obj2;
|
|
tmp2 = obj2;
|
|
} else {
|
|
tmp2 = cResult[1];
|
|
}
|
|
return closure_2.useConfig(tmp2);
|
|
}) : ((location) => {
|
|
const obj = { location: location.location };
|
|
return closure_2.useConfig(obj);
|
|
});
|
|
const result = size.fileFinishedImporting("modules/game_mode/GameModeExperiment.tsx");
|
|
|
|
export const getGameModeExperimentConfig = function getGameModeExperimentConfig(location) {
|
|
const obj = { location: location.location };
|
|
return closure_2.getConfig(obj);
|
|
};
|
|
export const useGameModeExperimentConfig = tmp2;
|