41 lines
2.0 KiB
TypeScript
41 lines
2.0 KiB
TypeScript
/* Metro module 5476; source: modules/fast_image/FastImageFabricExperiment.tsx; dependencies: [1220, 1226, 1854, 2] */
|
|
function _fun48101(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#48101, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5654:6, offset: 0x011dc493, size: 210 bytes, params: 8, frame: 22
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const apexExperimentStore = importDefault(1220) /* metro dependency 1220: ApexExperimentStore */;
|
|
const authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */;
|
|
let value = require(1854) /* metro dependency 1854: apex */;
|
|
value = value.createApexExperiment({'name': '2026-06-ios-fastimage-fabric', 'kind': 'user',
|
|
defaultConfig: {useFabric: false}, variations: {[0]: {useFabric: false}, [1]: {useFabric: true}}});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/fast_image/FastImageFabricExperiment.tsx');
|
|
exports.default = value;
|
|
exports.getFastImageFabricEnabled = getFastImageFabricEnabled;
|
|
}
|
|
|
|
function getFastImageFabricEnabled() { // fn#48102, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5654:404, offset: 0x011dc565, size: 112 bytes, params: 1, frame: 14
|
|
var binding;
|
|
const id = AuthenticationStore.getId();
|
|
if (env0_1 === undefined) {
|
|
if (id == null) {
|
|
return false;
|
|
}
|
|
if (ApexExperimentStore.hasLoaded(id)) {
|
|
binding = env0_4;
|
|
return binding.getConfig({location: 'fast_image'}).useFabric;
|
|
}
|
|
} else {
|
|
if (env0_0 === id) {
|
|
return env0_1;
|
|
}
|
|
if (id == null) {
|
|
return false;
|
|
}
|
|
if (ApexExperimentStore.hasLoaded(id)) {
|
|
binding = env0_4;
|
|
return binding.getConfig({location: 'fast_image'}).useFabric;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|