decord/source/modules/themes/experiments/MobileVisualRefreshExperiment.tsx

24 lines
1.5 KiB
TypeScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 1324
2026-07-21 22:01:30 +00:00
// Function ID: 15544
2026-07-20 16:05:17 +00:00
// Name: useIsMobileVisualRefreshExperimentEnabled
// Dependencies: []
// Exports: default, isMobileVisualRefreshEnabled, resolveRefreshToken, useMobileVisualRefreshConfig
// Module 1324 (useIsMobileVisualRefreshExperimentEnabled)
2026-07-21 22:01:30 +00:00
const tmp2 = importDefault(dependencyMap[0])({ defaultConfig: { height: "#ffa813", flex: "absolute", padding: null }, variations: { [0]: { height: "#ffa813", flex: "absolute", padding: null }, [1]: { height: true, flex: true, padding: true }, [2]: { height: "sm", flex: "Placeholder", padding: "Click" }, [3]: { height: "sm", flex: "Placeholder", padding: "Click" }, [4]: { height: "Small", flex: "sm", padding: "Placeholder" } } });
2026-07-20 16:05:17 +00:00
const result = arg1(dependencyMap[1]).fileFinishedImporting("modules/themes/experiments/MobileVisualRefreshExperiment.tsx");
export default function useIsMobileVisualRefreshExperimentEnabled(location) {
return tmp2.useConfig({ location }).enabled;
};
export const MobileVisualRefreshExperiment = tmp2;
export const useMobileVisualRefreshConfig = function useMobileVisualRefreshConfig(location) {
return tmp2.useConfig({ location: location.location });
};
export const isMobileVisualRefreshEnabled = function isMobileVisualRefreshEnabled(YouBannerDecorations) {
return tmp2.getConfig({ location: YouBannerDecorations }).enabled;
};
export const resolveRefreshToken = function resolveRefreshToken(CHANNEL_SAFE_AREA_BOTTOM_BACKGROUND, chatInputFloating) {
2026-07-21 22:01:30 +00:00
return CHANNEL_SAFE_AREA_BOTTOM_BACKGROUND.resolve({ enabledExperiments: [] });
2026-07-20 16:05:17 +00:00
};