2026-09-10 19:12:31 +00:00
|
|
|
// Module ID: 10066
|
|
|
|
|
// Function ID: 10067
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: WindowsEffectsExperiment
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [1236, 1433, 504, 2]
|
2026-07-29 08:29:29 +00:00
|
|
|
// Exports: getWindowsAudioEffectsExperimentConfig, useWindowsAudioEffectsExperimentConfig
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 19:12:31 +00:00
|
|
|
// Module 10066 (WindowsEffectsExperiment)
|
2026-09-10 05:38:07 +00:00
|
|
|
import ApexExperimentStore from "ApexExperimentStore" /* 1236 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const require = fn;
|
|
|
|
|
const obj = { preferSystemEffects: false };
|
|
|
|
|
const ApexExperiment = fn(1433);
|
|
|
|
|
const obj3 = { name: "2025-12-windows-audio-effects", kind: "user", defaultConfig: obj, variations: null };
|
|
|
|
|
const obj4 = { 1: null };
|
|
|
|
|
const obj5 = {};
|
2026-07-20 16:05:17 +00:00
|
|
|
const merged = Object.assign(obj);
|
2026-09-10 05:38:07 +00:00
|
|
|
obj5.preferSystemEffects = true;
|
|
|
|
|
obj4[1] = obj5;
|
|
|
|
|
obj3.variations = obj4;
|
|
|
|
|
const config = ApexExperiment.createApexExperiment(obj3);
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/noise_cancellation/WindowsEffectsExperiment.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
export const getWindowsAudioEffectsExperimentConfig = function getWindowsAudioEffectsExperimentConfig(location) {
|
|
|
|
|
return config.getConfig({ location: location.location });
|
|
|
|
|
};
|
2026-07-20 16:05:17 +00:00
|
|
|
export const useWindowsAudioEffectsExperimentConfig = function useWindowsAudioEffectsExperimentConfig(location) {
|
2026-07-23 10:11:24 +00:00
|
|
|
location = location.location;
|
2026-09-10 05:38:07 +00:00
|
|
|
const items = [ApexExperimentStore];
|
|
|
|
|
return location(504).useStateFromStores(items, () => config.getConfig({ location }));
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|