decord/source/modules/dismissible_content/DcfNewUserCooldownExperiment.tsx
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

29 lines
1.4 KiB
TypeScript

// Module ID: 4483
// Function ID: 4484
// Name: DcfNewUserCooldownExperiment
// Dependencies: [1434, 1091, 2]
// Exports: getDcfNewUserCooldown, useDcfNewUserCooldown
// Module 4483 (DcfNewUserCooldownExperiment)
import DurationsDefault from "Durations" /* 1091 */;
import ApexExperiment from "ApexExperiment" /* 1434 */;
import size from "module_2" /* 2 */;
const obj = { name: "2026-08-dcf-new-user-cooldown", kind: "user", defaultConfig: { newUserCooldownMs: DurationsDefault.Millis.DAY }, variations: null };
const obj3 = { 1: null, 2: null, 3: null };
const obj2 = { newUserCooldownMs: DurationsDefault.Millis.DAY };
obj3[1] = { newUserCooldownMs: 2 * DurationsDefault.Millis.DAY };
const obj4 = { newUserCooldownMs: 2 * DurationsDefault.Millis.DAY };
obj3[2] = { newUserCooldownMs: 3 * DurationsDefault.Millis.DAY };
const obj5 = { newUserCooldownMs: 3 * DurationsDefault.Millis.DAY };
obj3[3] = { newUserCooldownMs: 7 * DurationsDefault.Millis.DAY };
obj.variations = obj3;
let closure_0 = ApexExperiment.createApexExperiment(obj);
const result = size.fileFinishedImporting("modules/dismissible_content/DcfNewUserCooldownExperiment.tsx");
export const useDcfNewUserCooldown = function useDcfNewUserCooldown() {
return closure_0.useConfig({ location: "useDcfNewUserCooldown" }).newUserCooldownMs;
};
export const getDcfNewUserCooldown = function getDcfNewUserCooldown() {
return closure_0.getConfig({ location: "getDcfNewUserCooldown" }).newUserCooldownMs;
};