30 lines
1.8 KiB
TypeScript
30 lines
1.8 KiB
TypeScript
/* Metro module 8520; source: modules/custom_status/native/CustomStatusUtils.tsx; dependencies: [5176, 5080, 8521, 1962, 478, 2] */
|
|
function _fun67519(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67519, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8705:6, offset: 0x01c275d7, size: 103 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/custom_status/native/CustomStatusUtils.tsx');
|
|
exports.openEditCustomStatusModal = openEditCustomStatusModal;
|
|
}
|
|
|
|
function openEditCustomStatusModal({analyticsLocations, prompt}) { // fn#67520, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8705:204, offset: 0x01c2763e, size: 209 bytes, params: 2, frame: 21
|
|
var object2;
|
|
var r1;
|
|
var moduleValue;
|
|
const YouBarExperiment = require(dependencyMap[0]).YouBarExperiment;
|
|
const getConfig = YouBarExperiment.getConfig;
|
|
const enabled = Reflect.apply(getConfig, YouBarExperiment, [{location: 'open-edit-custom-status-modal'}]).enabled;
|
|
const defaultImport = importDefault(dependencyMap[1]);
|
|
const pushLazy = defaultImport.pushLazy;
|
|
const value3 = require(dependencyMap[3])(dependencyMap[2], dependencyMap.paths);
|
|
object2 = {analyticsLocations: analyticsLocations, prompt: prompt};
|
|
if (enabled) {
|
|
r1 = {presentation: 'modal'};
|
|
} else {
|
|
moduleValue = require(dependencyMap[4]);
|
|
r1 = moduleValue.isAndroid() ? {presentation: 'modal'} : undefined;
|
|
}
|
|
Reflect.apply(pushLazy, defaultImport, [value3, object2, undefined, r1]);
|
|
}
|
|
|