43 lines
3.1 KiB
TypeScript
43 lines
3.1 KiB
TypeScript
/* Metro module 1357; source: modules/themes/experiments/MobileVisualRefreshExperiment.tsx; dependencies: [1358, 2] */
|
|
import ApexExperiment from '../../experiments/apex/ApexExperiment.tsx'; /* Metro dependency 1358 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun15570(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#15570, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1484:6, offset: 0x00e363dd, size: 254 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = ApexExperiment;
|
|
value = value({'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}}});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/themes/experiments/MobileVisualRefreshExperiment.tsx');
|
|
exports.default = useIsMobileVisualRefreshExperimentEnabled;
|
|
exports.MobileVisualRefreshExperiment = value;
|
|
exports.useMobileVisualRefreshConfig = useMobileVisualRefreshConfig;
|
|
exports.isMobileVisualRefreshEnabled = isMobileVisualRefreshEnabled;
|
|
exports.resolveRefreshToken = function(a0, a1) {
|
|
return a0.resolve({enabledExperiments: a1 ? ['mobile-visual-refresh'] : []});
|
|
};
|
|
function useIsMobileVisualRefreshExperimentEnabled(a0) { // fn#15571, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1484:677, offset: 0x00e364db, size: 34 bytes, params: 2, frame: 12
|
|
const binding = env0_0;
|
|
const useConfig = binding.useConfig;
|
|
return Reflect.apply(useConfig, binding, [{location: a0}]).enabled;
|
|
}
|
|
|
|
function useMobileVisualRefreshConfig({location}) { // fn#15572, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1484:838, offset: 0x00e364fd, size: 34 bytes, params: 2, frame: 12
|
|
return env0_0.useConfig({location: location});
|
|
}
|
|
|
|
function isMobileVisualRefreshEnabled(a0) { // fn#15573, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1484:955, offset: 0x00e3651f, size: 34 bytes, params: 2, frame: 12
|
|
const binding = env0_0;
|
|
const getConfig = binding.getConfig;
|
|
return Reflect.apply(getConfig, binding, [{location: a0}]).enabled;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun15570, 1357, [1358, 2]) /* metro module 1357, dependencies: [1358, 2] */;
|