/* Metro module 15737; source: modules/interaction_components/native/renderComponents.tsx; dependencies: [31, 33, 1909, 15738, 14254, 15739, 14257, 14258, 15740, 15741, 15743, 15744, 15745, 2] */
function _fun120854(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#120854, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15945:6, offset: 0x02538046, size: 153 bytes, params: 8, frame: 19
const env0_0 = require;
const closure = function(a0) {
return a0.map(_fun120856);
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/interaction_components/native/renderComponents.tsx');
exports.renderComponents = closure;
}
function renderComponents(a0) { // fn#120855, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15945:119, offset: 0x025380df, size: 24 bytes, params: 2, frame: 11
return a0.map(_fun120856);
}
function renderComponent(a0, a1) { // fn#120857, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15945:203, offset: 0x02538117, size: 961 bytes, params: 3, frame: 19
const type = a0.type;
const ComponentType = (require(1909) /* metro dependency 1909: Server */).ComponentType;
const ACTION_ROW = ComponentType.ACTION_ROW;
if (ACTION_ROW === type) {
return ((Component) => )(importDefault(15738) /* metro dependency 15738: ActionRowLayoutComponent */);
}
const STRING_SELECT = ComponentType.STRING_SELECT;
if (STRING_SELECT === type) {
return ((Component) => )(importDefault(14254) /* metro dependency 14254: StringSelectActionComponent */);
}
const TEXT_INPUT = ComponentType.TEXT_INPUT;
if (TEXT_INPUT === type) {
return ((Component) => )(importDefault(15739) /* metro dependency 15739: TextInputActionComponent */);
}
const USER_SELECT = ComponentType.USER_SELECT;
if (USER_SELECT === type) {
return ((Component) => )(importDefault(14257) /* metro dependency 14257: SearchableSelectActionComponent */);
}
const ROLE_SELECT = ComponentType.ROLE_SELECT;
if (ROLE_SELECT === type) {
return ((Component) => )(importDefault(14257) /* metro dependency 14257: SearchableSelectActionComponent */);
}
const MENTIONABLE_SELECT = ComponentType.MENTIONABLE_SELECT;
if (MENTIONABLE_SELECT === type) {
return ((Component) => )(importDefault(14257) /* metro dependency 14257: SearchableSelectActionComponent */);
}
const CHANNEL_SELECT = ComponentType.CHANNEL_SELECT;
if (CHANNEL_SELECT === type) {
return ((Component) => )(importDefault(14257) /* metro dependency 14257: SearchableSelectActionComponent */);
}
const TEXT_DISPLAY = ComponentType.TEXT_DISPLAY;
if (TEXT_DISPLAY === type) {
return ((Component) => )(importDefault(14258) /* metro dependency 14258: TextDisplayComponent */);
}
const LABEL = ComponentType.LABEL;
if (LABEL === type) {
return ((Component) => )(importDefault(15740) /* metro dependency 15740: LabelLayoutComponent */);
}
const FILE_UPLOAD = ComponentType.FILE_UPLOAD;
if (FILE_UPLOAD === type) {
return ((Component) => )(importDefault(15741) /* metro dependency 15741: FileUploadActionComponent */);
}
const RADIO_GROUP = ComponentType.RADIO_GROUP;
if (RADIO_GROUP === type) {
return ((Component) => )(importDefault(15743) /* metro dependency 15743: RadioGroupActionComponent */);
}
const CHECKBOX_GROUP = ComponentType.CHECKBOX_GROUP;
if (CHECKBOX_GROUP === type) {
return ((Component) => )(importDefault(15744) /* metro dependency 15744: CheckboxGroupActionComponent */);
}
const CHECKBOX = ComponentType.CHECKBOX;
if (CHECKBOX === type) {
return ((Component) => )(importDefault(15745) /* metro dependency 15745: CheckboxActionComponent */);
}
}
function _fun120856(a0, a1) { // fn#120856, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15945:162, offset: 0x025380f7, size: 32 bytes, params: 3, frame: 13
const value = environment.__proto__;
return renderComponent(a0, a1.toString());
}