2026-10-01 06:55:13 +00:00
|
|
|
// Module ID: 8813
|
|
|
|
|
// Function ID: 8814
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: MobileStickerPickerUpsellRestyleExperiment
|
2026-10-01 06:55:13 +00:00
|
|
|
// Dependencies: [1435, 7447, 2]
|
2026-09-02 09:53:35 +00:00
|
|
|
// Exports: getMobileStickerPickerUpsellRestyleEnabled, getMobileStickerPickerUpsellRestyleEnabledForFeature, useMobileStickerPickerUpsellRestyleEnabled
|
|
|
|
|
|
2026-10-01 06:55:13 +00:00
|
|
|
// Module 8813 (MobileStickerPickerUpsellRestyleExperiment)
|
|
|
|
|
import EntitlementFeatureNames from "EntitlementFeatureNames" /* 7447 */;
|
2026-09-26 08:31:33 +00:00
|
|
|
import ApexExperiment from "ApexExperiment" /* 1435 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-09-02 09:53:35 +00:00
|
|
|
|
|
|
|
|
const apexExperiment = ApexExperiment.createApexExperiment({ name: "2026-09-mobile-sticker-picker-upsell-restyle", kind: "user", defaultConfig: false, variations: { 0: false, 1: true } });
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/premium/experiments/MobileStickerPickerUpsellRestyleExperiment.tsx");
|
2026-09-02 09:53:35 +00:00
|
|
|
|
|
|
|
|
export const MobileStickerPickerUpsellRestyleExperiment = apexExperiment;
|
|
|
|
|
export const useMobileStickerPickerUpsellRestyleEnabled = function useMobileStickerPickerUpsellRestyleEnabled(location) {
|
|
|
|
|
return apexExperiment.useConfig({ location });
|
|
|
|
|
};
|
|
|
|
|
export const getMobileStickerPickerUpsellRestyleEnabled = function getMobileStickerPickerUpsellRestyleEnabled(location) {
|
|
|
|
|
return apexExperiment.getConfig({ location });
|
|
|
|
|
};
|
2026-09-10 05:38:07 +00:00
|
|
|
export const getMobileStickerPickerUpsellRestyleEnabledForFeature = function getMobileStickerPickerUpsellRestyleEnabledForFeature(featureName, location) {
|
2026-09-02 09:53:35 +00:00
|
|
|
let config = featureName === EntitlementFeatureNames.EntitlementFeatureNames.STICKERS_EVERYWHERE;
|
|
|
|
|
if (config) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj = { location };
|
2026-09-02 09:53:35 +00:00
|
|
|
config = apexExperiment.getConfig(obj);
|
|
|
|
|
}
|
|
|
|
|
return config;
|
|
|
|
|
};
|