2026-09-02 09:53:35 +00:00
|
|
|
// Module ID: 17327
|
|
|
|
|
// Function ID: 17328
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: isEligibleForSafetyFlowsExperiment
|
2026-09-02 09:53:35 +00:00
|
|
|
// Dependencies: [1468, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: isEligibleForSafetyFlowsExperiment, useIsEligibleForSafetyFlowsExperiment
|
|
|
|
|
|
2026-09-02 09:53:35 +00:00
|
|
|
// Module 17327 (isEligibleForSafetyFlowsExperiment)
|
|
|
|
|
import getUnitIdDefault from "getUnitId" /* 1468 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
|
|
|
|
const tmp2 = getUnitIdDefault({ name: "2026-04-safety-flows", kind: "user", defaultConfig: { enabled: false }, variations: { 0: { enabled: false }, 1: { enabled: true } } });
|
|
|
|
|
let closure_0 = tmp2;
|
2026-07-23 10:11:24 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/safety_flows/SafetyFlowsExperiment.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default tmp2;
|
|
|
|
|
export const isEligibleForSafetyFlowsExperiment = function isEligibleForSafetyFlowsExperiment(location) {
|
2026-08-24 06:08:38 +00:00
|
|
|
return closure_0.getConfig({ location: location.location }).enabled;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const useIsEligibleForSafetyFlowsExperiment = function useIsEligibleForSafetyFlowsExperiment(location) {
|
2026-08-24 06:08:38 +00:00
|
|
|
return closure_0.useConfig({ location: location.location }).enabled;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|