Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
41 lines
1.5 KiB
TypeScript
41 lines
1.5 KiB
TypeScript
// Module ID: 14713
|
|
// Function ID: 14714
|
|
// Name: TinyBroncoExperiment
|
|
// Dependencies: [1433, 14714, 4787, 2]
|
|
// Exports: isTinyBroncoEnabled, useIsTinyBroncoEnabled, useShouldShowTinyBroncoDismissibleContent
|
|
|
|
// Module 14713 (TinyBroncoExperiment)
|
|
import TinyBroncoGate from "TinyBroncoGate" /* 14714 */;
|
|
import ApexExperiment from "ApexExperiment" /* 1433 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
let closure_2 = ApexExperiment.createApexExperiment({ name: "2026-08-tiny-bronco", kind: "user", defaultConfig: { enabled: false }, variations: { 0: { enabled: false }, 1: { enabled: true } } });
|
|
const result = size.fileFinishedImporting("modules/tiny_bronco/TinyBroncoExperiment.tsx");
|
|
|
|
export const useIsTinyBroncoEnabled = function useIsTinyBroncoEnabled(location) {
|
|
let enabled = TinyBroncoGate.TINY_BRONCO_DEV_ONLY;
|
|
if (enabled) {
|
|
const obj = { location };
|
|
enabled = closure_2.useConfig(obj).enabled;
|
|
}
|
|
return enabled;
|
|
};
|
|
export const isTinyBroncoEnabled = function isTinyBroncoEnabled(stateFromStores) {
|
|
let enabled = TinyBroncoGate.TINY_BRONCO_DEV_ONLY;
|
|
if (enabled) {
|
|
const obj = { location: stateFromStores };
|
|
enabled = closure_2.getConfig(obj).enabled;
|
|
}
|
|
return enabled;
|
|
};
|
|
export const useShouldShowTinyBroncoDismissibleContent = function useShouldShowTinyBroncoDismissibleContent(location) {
|
|
let enabled = TinyBroncoGate.TINY_BRONCO_DEV_ONLY;
|
|
if (enabled) {
|
|
const obj = { location };
|
|
enabled = closure_2.useConfig(obj).enabled;
|
|
}
|
|
if (enabled) {
|
|
enabled = !tmpResult.useIsVerifiedAdult();
|
|
}
|
|
return enabled;
|
|
};
|