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

76 lines
3.4 KiB
React

/* Metro module 7813; source: unknown; dependencies: [6, 7, 15, 17, 18, 31, 33, 7814, 7759, 7758] */
function _fun62467(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#62467, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7991:6, offset: 0x01b5e72e, size: 244 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(6) /* metro dependency 6 */;
const env0_4 = importDefault(7) /* metro dependency 7 */;
const env0_5 = importDefault(15) /* metro dependency 15 */;
const env0_6 = importDefault(17) /* metro dependency 17 */;
const env0_7 = importDefault(18) /* metro dependency 18 */;
importAll(31) /* metro dependency 31 */;
const env0_8 = (require(33) /* metro dependency 33 */).jsx;
let value = importDefault(7758) /* metro dependency 7758 */;
value = _fun62471(value);
value.displayName = 'ForeignObject';
value.defaultProps = {'x': '0%', 'y': '0%', 'width': '100%', 'height': '100%'};
exports.default = value;
}
function _isNativeReflectConstruct_62468() { // fn#62468, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7991:172, offset: 0x01b5e822, size: 94 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_62468_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun62471(a0) { // fn#62471, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7991:397, offset: 0x01b5e880, size: 68 bytes, params: 2, frame: 15
const closure = ForeignObject;
env0_7(closure, a0);
return env0_4(closure, [{key: 'render', value: value_62473}]);
}
function value_62473() { // fn#62473, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7991:688, offset: 0x01b5e8c4, size: 168 bytes, params: 1, frame: 24
var environment;
const props = this.props;
const x = props.x;
const y = props.y;
const width = props.width;
const height = props.height;
const children = props.children;
const object3 = {x: x, y: y, width: width, height: height};
let value = environment.__proto__;
const defaultImport = importDefault(7814) /* metro dependency 7814 */;
const Object = global.Object;
const assign = Object.assign;
const object4 = {ref: ref_62474};
value = require(7759) /* metro dependency 7759 */;
value = value.withoutXY(this, props);
return ((Component) => <Component {...Reflect.apply(assign, Object, [object4, value, object3,
{children: children}])} />)(defaultImport);
}