This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,38 @@
// Metro module 10881 (f10882).
import { BountiesVerticalScrollExperiment } from "./BountiesVerticalScrollExperiment";
import { BountiesStage1Experiment } from "./BountiesStage1Experiment";
import { QuestHomeBountiesExperiment } from "./QuestHomeBountiesExperiment";
export function useBountiesExperience(a0) {
const config = BountiesVerticalScrollExperiment.useConfig({
location: a0
});
const config2 = BountiesStage1Experiment.useConfig({
location: a0
});
const config3 = QuestHomeBountiesExperiment.useConfig({
location: a0
});
const orbAmount = config2.enabled ? config2.orbAmount : 50;
const rewardTimerSeconds = config2.enabled ? config2.rewardTimerSeconds : 15;
return config.enabled ? {
showBounties: true,
ownedByVerticalScrollExperiment: true,
verticalScrollEnabled: config.verticalScrollEnabled,
loopingEnabled: false,
ctaTimerMilliSeconds: config.ctaTimerMilliSeconds,
scrollAffordanceVariant: config.scrollAffordanceVariant,
stage1Enabled: config2.enabled,
orbAmount,
rewardTimerSeconds
} : {
showBounties: config3.enabled,
ownedByVerticalScrollExperiment: false,
verticalScrollEnabled: config2.verticalScrollEnabled,
loopingEnabled: config2.loopingEnabled,
ctaTimerMilliSeconds: config2.ctaTimerMilliSeconds,
scrollAffordanceVariant: "none",
stage1Enabled: config2.enabled,
orbAmount,
rewardTimerSeconds
};
}