// Module ID: 16481 // Function ID: 16482 // Name: renderComponents // Dependencies: [19, 21, 1954, 16482, 15044, 16483, 15047, 15048, 16484, 16485, 16487, 16488, 16489, 2] // Module 16481 (renderComponents) import "noop"; import { jsx } from "jsxProd"; const require = arg1; function renderComponents(components) { return components.map((arg0, arg1) => callback(arg0, arg1.toString())); } function renderComponent(component, arg1) { const type = component.type; if (require(1954) /* PermissionOverwriteType */.ComponentType.ACTION_ROW === type) { let obj = {}; const merged = Object.assign(component); obj.renderComponents = renderComponents; return jsx(importDefault(16482), {}, arg1); } else if (tmp(1954).ComponentType.STRING_SELECT === type) { obj = {}; const merged1 = Object.assign(component); return jsx(importDefault(15044), {}, arg1); } else if (tmp(1954).ComponentType.TEXT_INPUT === type) { const obj1 = {}; const merged2 = Object.assign(component); return jsx(importDefault(16483), {}, arg1); } else { if (tmp(1954).ComponentType.USER_SELECT !== type) { if (tmp(1954).ComponentType.ROLE_SELECT !== type) { if (tmp(1954).ComponentType.MENTIONABLE_SELECT !== type) { if (tmp(1954).ComponentType.CHANNEL_SELECT !== type) { if (tmp(1954).ComponentType.TEXT_DISPLAY === type) { const obj2 = {}; const merged3 = Object.assign(component); return jsx(importDefault(15048), {}, arg1); } else if (tmp(1954).ComponentType.LABEL === type) { const obj3 = {}; const merged4 = Object.assign(component); obj3.renderComponent = renderComponent; return jsx(importDefault(16484), {}, arg1); } else if (tmp(1954).ComponentType.FILE_UPLOAD === type) { const obj4 = {}; const merged5 = Object.assign(component); return jsx(importDefault(16485), {}, arg1); } else if (tmp(1954).ComponentType.RADIO_GROUP === type) { const obj5 = {}; const merged6 = Object.assign(component); return jsx(importDefault(16487), {}, arg1); } else if (tmp(1954).ComponentType.CHECKBOX_GROUP === type) { const obj6 = {}; const merged7 = Object.assign(component); return jsx(importDefault(16488), {}, arg1); } else if (tmp(1954).ComponentType.CHECKBOX === type) { obj = {}; const merged8 = Object.assign(component); return jsx(importDefault(16489), {}, arg1); } } } } } const obj7 = {}; const merged9 = Object.assign(component); return jsx(importDefault(15047), {}, arg1); } } const result = require("PermissionOverwriteType").fileFinishedImporting("modules/interaction_components/native/renderComponents.tsx"); export { renderComponents };