Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
24 lines
1.3 KiB
TypeScript
24 lines
1.3 KiB
TypeScript
// Module ID: 16929
|
|
// Function ID: 16930
|
|
// Name: HangoutWindowExperiment
|
|
// Dependencies: [4522, 4519, 2]
|
|
// Exports: getHangoutWindowExperiment, useHangoutWindowExperiment
|
|
|
|
// Module 16929 (HangoutWindowExperiment)
|
|
import ExperimentConstants from "ExperimentConstants" /* 4522 */;
|
|
import createExperiment from "module_4519" /* 4519 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const obj = { kind: "guild", id: "2026-02_hangout_window", label: "Hangout Window", defaultConfig: { enableHangoutWindow: false }, commonTriggerPoint: ExperimentConstants.CommonTriggerPoints.VOICE_CALL, treatments: null };
|
|
const items = [{ id: 1, label: "Enable Hangout Window", config: { enableHangoutWindow: true } }];
|
|
obj.treatments = items;
|
|
const experiment = createExperiment.createExperiment(obj);
|
|
const result = size.fileFinishedImporting("modules/hangout_window/HangoutWindowExperiment.tsx");
|
|
|
|
export const HangoutWindowExperiment = experiment;
|
|
export const useHangoutWindowExperiment = function useHangoutWindowExperiment(guildId) {
|
|
return experiment.useExperiment({ guildId: guildId.guildId, location: guildId.location }, { autoTrackExposure: true });
|
|
};
|
|
export const getHangoutWindowExperiment = function getHangoutWindowExperiment(guildId) {
|
|
return experiment.getCurrentConfig({ guildId: guildId.guildId, location: guildId.location }, { autoTrackExposure: true });
|
|
};
|