Files
discord-decomp/sources/by-id/module-06419.jsx
T
2026-07-27 16:20:00 +03:00

28 lines
1.1 KiB
React

/* Metro module 6419; source: unknown; dependencies: [31] */
function _fun50353(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#50353, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6597:6, offset: 0x012172dd, size: 73 bytes, params: 8, frame: 16
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_0 = importDefault(31) /* metro dependency 31 */;
exports.getValidComponent = getValidComponent;
}
function getValidComponent(a0) { // fn#50354, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6597:126, offset: 0x01217326, size: 60 bytes, params: 2, frame: 14
var r1;
var r0;
let value = a0;
const binding = env0_0;
if (binding.isValidElement(value)) {
r0 = value;
} else {
if (typeof value !== 'function') {
r1 = null;
} else {
value = env0_0.createElement(value);
r1 = value;
}
r0 = r1;
}
return r0;
}