2026-10-01 06:55:13 +00:00
|
|
|
// Module ID: 11880
|
|
|
|
|
// Function ID: 11881
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: MobileVisualRefreshExperiment
|
2026-09-26 08:31:33 +00:00
|
|
|
// Dependencies: [1436, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default, isMobileVisualRefreshEnabled, resolveRefreshToken, useMobileVisualRefreshConfig
|
|
|
|
|
|
2026-10-01 06:55:13 +00:00
|
|
|
// Module 11880 (MobileVisualRefreshExperiment)
|
2026-09-26 08:31:33 +00:00
|
|
|
import apex_ApexExperimentDefault from "apex/ApexExperiment" /* 1436 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const tmp2 = apex_ApexExperimentDefault({ kind: "user", name: "2026-02-mobile-visual-refresh", defaultConfig: { enabled: false, chatInputFloating: false, chatInputLegacySendButton: false }, variations: { 0: { enabled: false, chatInputFloating: false, chatInputLegacySendButton: false }, 1: { enabled: true, chatInputFloating: false, chatInputLegacySendButton: false }, 2: { enabled: true, chatInputFloating: true, chatInputLegacySendButton: false }, 3: { enabled: true, chatInputFloating: true, chatInputLegacySendButton: false }, 4: { enabled: true, chatInputFloating: true, chatInputLegacySendButton: true } } });
|
2026-08-24 06:08:38 +00:00
|
|
|
let closure_0 = tmp2;
|
2026-09-10 05:38:07 +00:00
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/themes/experiments/MobileVisualRefreshExperiment.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function useIsMobileVisualRefreshExperimentEnabled(location) {
|
2026-08-24 06:08:38 +00:00
|
|
|
return closure_0.useConfig({ location }).enabled;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const MobileVisualRefreshExperiment = tmp2;
|
|
|
|
|
export const useMobileVisualRefreshConfig = function useMobileVisualRefreshConfig(location) {
|
2026-08-24 06:08:38 +00:00
|
|
|
return closure_0.useConfig({ location: location.location });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
2026-08-31 15:47:37 +00:00
|
|
|
export const isMobileVisualRefreshEnabled = function isMobileVisualRefreshEnabled(location) {
|
|
|
|
|
return closure_0.getConfig({ location }).enabled;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
2026-09-01 10:26:29 +00:00
|
|
|
export const resolveRefreshToken = function resolveRefreshToken(MESSAGES_HEADER_PADDING_BOTTOM) {
|
|
|
|
|
return MESSAGES_HEADER_PADDING_BOTTOM.resolve({ enabledExperiments: ["mobile-visual-refresh"] });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|