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

35 lines
1.7 KiB
React

/* Metro module 1560; source: unknown; dependencies: [29, 31, 27, 1561] */
function _fun17514(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17514, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1687:6, offset: 0x00e6ea6b, size: 144 bytes, params: 8, frame: 18
const env0_2 = ['to', 'action'];
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(29) /* metro dependency 29 */;
const env0_4 = importAll(31) /* metro dependency 31 */;
const value = require(27) /* metro dependency 27 */;
value.Platform;
const env0_5 = value.Text;
exports.default = Link;
}
function Link(a0) { // fn#17515, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1687:183, offset: 0x00e6eafb, size: 141 bytes, params: 2, frame: 20
const to = a0.to;
const action = a0.action;
let binding = env0_3;
const value2 = binding(a0, env0_2);
const value3 = (importDefault(1561) /* metro dependency 1561 */)({to: to, action: action});
binding = env0_4;
const createElement = binding.createElement;
const Object = global.Object;
return Reflect.apply(createElement, binding, [Text, Object.assign({}, value3, value2, {onPress: onPress_17516})]);
}
function LinkOnPress(a0) { // fn#17516, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1687:313, owner: Link.onPress, offset: 0x00e6eb88, size: 68 bytes, params: 2, frame: 12
if ('onPress' in env0_0) {
if (env0_0.onPress != null) {
env0_0.onPress(a0);
}
}
env0_1.onPress(a0);
}