20 lines
1,004 B
TypeScript
20 lines
1,004 B
TypeScript
// Module ID: 5668
|
|
// Function ID: 48716
|
|
// Name: apexExperiment
|
|
// Dependencies: []
|
|
// Exports: isSensitiveContentSelfHarmEnabled, useIsSensitiveContentSelfHarmEnabled
|
|
|
|
// Module 5668 (apexExperiment)
|
|
const _module = require(dependencyMap[0]);
|
|
const obj = { 844175713: "Array", 1387159956: "isArray", defaultConfig: { enabled: false }, variations: { [1]: { enabled: true } } };
|
|
const apexExperiment = _module.createApexExperiment(obj);
|
|
const _module1 = require(dependencyMap[1]);
|
|
const result = _module1.fileFinishedImporting("modules/explicit_media_redaction/SensitiveContentSelfHarmExperiment.tsx");
|
|
|
|
export const SensitiveContentSelfHarmExperiment = apexExperiment;
|
|
export const useIsSensitiveContentSelfHarmEnabled = function useIsSensitiveContentSelfHarmEnabled(location) {
|
|
return apexExperiment.useConfig({ location }).enabled;
|
|
};
|
|
export const isSensitiveContentSelfHarmEnabled = function isSensitiveContentSelfHarmEnabled(location) {
|
|
return apexExperiment.getConfig({ location }).enabled;
|
|
};
|