2026-07-27 11:26:19 +00:00
|
|
|
// Module ID: 15585
|
|
|
|
|
// Function ID: 120141
|
2026-07-21 06:55:02 +00:00
|
|
|
// Name: items
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [4046, 4043, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getHangoutWindowExperiment, useHangoutWindowExperiment
|
|
|
|
|
|
2026-07-27 11:26:19 +00:00
|
|
|
// Module 15585 (items)
|
2026-07-23 10:11:24 +00:00
|
|
|
import createExperiment from "createExperiment";
|
|
|
|
|
|
|
|
|
|
let obj = { kind: "guild", id: "2026-02_hangout_window", label: "Hangout Window", defaultConfig: { enableHangoutWindow: false }, commonTriggerPoint: require("ExperimentBuckets").CommonTriggerPoints.VOICE_CALL };
|
|
|
|
|
obj = { id: 1, label: "Enable Hangout Window", config: { enableHangoutWindow: true } };
|
|
|
|
|
const items = [obj];
|
2026-07-21 06:55:02 +00:00
|
|
|
obj.treatments = items;
|
2026-07-23 10:11:24 +00:00
|
|
|
const experiment = createExperiment.createExperiment(obj);
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/hangout_window/HangoutWindowExperiment.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
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 });
|
|
|
|
|
};
|