// Metro module 9487 (f9488). import PremiumUtils from "../../../utils/PremiumUtils"; import { getPerkSource } from "../../premium/perks_state/PerksStateUtils"; import { Perk, PerkSource } from "../../../_bundle/Module1892"; import { getIsCrepeEnabled } from "../../croissant/crepe/CrepeExperiment"; const r12 = { UPSELL: "UPSELL", NITRO: "NITRO", CREPE: "CREPE", INELIGIBLE: "INELIGIBLE" }; let c6256_3 = { NITRO: "nitro", CREPE: "crepe" }; let c6256_4 = [r12.CREPE, r12.NITRO]; export { r12 as QuestOrbMultiplierEligibilityType }; export { c6256_3 as QuestOrbMultiplierSource }; export function shouldReceiveQuestOrbMultiplier(a0) { return c6256_4.includes(a0); } export function getQuestOrbMultiplierSource(a0) { if (PremiumUtils.canUseMoreQuestOrbs(a0)) { if (PremiumUtils.canUseQuestOrbMultiplier(a0)) { return c6256_3.NITRO; } const perkSource = getPerkSource(a0?.perks, Perk.MORE_QUEST_ORBS); return (perkSource == null ? void 0 : perkSource.includes(PerkSource.SOURCE_NITRO)) ? c6256_3.NITRO : getIsCrepeEnabled("getQuestOrbMultiplierSource") ? (perkSource == null ? void 0 : perkSource.includes(PerkSource.SOURCE_THIRDPARTY_CROISSANT)) ? c6256_3.CREPE : null : null; } return null; }