/* Metro module 6428; source: unknown; dependencies: [6374, 6375, 6396, 6398, 6401, 31] */ function _fun50458(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#50458, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6606:6, offset: 0x0121acee, size: 181 bytes, params: 8, frame: 19 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_0 = importDefault(6374) /* metro dependency 6374 */; const env0_1 = importDefault(6375) /* metro dependency 6375 */; const env0_2 = importDefault(6396) /* metro dependency 6396 */; const env0_3 = importDefault(6398) /* metro dependency 6398 */; const env0_4 = importDefault(6401) /* metro dependency 6401 */; const PureComponent = (importDefault(31) /* metro dependency 31 */).PureComponent; const value = _fun50462(PureComponent); value.defaultProps = {enabled: true}; exports.PureComponentWrapper = value; } function _isNativeReflectConstruct_50459() { // fn#50459, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6606:148, offset: 0x0121ada3, 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_50459_isNativeReflectConstruct = function() { return !!result; })(); } function _fun50462(a0) { // fn#50462, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6606:373, offset: 0x0121ae01, size: 91 bytes, params: 2, frame: 16 const closure = PureComponentWrapper; env0_4(closure, a0); return env0_1(closure, [{key: 'setEnabled', value: function(a0) { if (a0 !== this.overrideEnabled) { this.overrideEnabled = a0; this.forceUpdate(); } }}, {key: 'render', value: function() { var r0; var r1; if (this.overrideEnabled === undefined) { r1 = this.props.enabled && this.props.renderer(this.props.arg); r1 = !r1 ? null : r1; r0 = r1; } else { r0 = this.overrideEnabled && this.props.renderer(this.props.arg); r0 = !r0 ? null : r0; } return r0; }}]); } function PureComponentWrapper() { // fn#50463, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6606:385, offset: 0x0121ae5c, size: 193 bytes, params: 1, frame: 20 var r2; var r5; var r0; var value7; var Reflect; var construct; let value = environment.__proto__; let binding = env1_0; binding(this, PureComponentWrapper); const length = arguments.length; const Array = global.Array; const array = new Array(length); const value6 = 0; if (value6 < length) { r2 = value6; reducibleLoop1: while (true) { array[r2] = arguments[r2]; value7 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1; if (value7 < length) { r2 = value7; continue reducibleLoop1; } break reducibleLoop1; } } const value8 = [].concat(array); const value9 = env1_3(PureComponentWrapper); binding = env1_2; if (_isNativeReflectConstruct_50459()) { Reflect = global.Reflect; construct = Reflect.construct; reducibleJoin6: while (true) { if (value8) { r5 = value8; break reducibleJoin6; } r5 = []; break reducibleJoin6; } r0 = Reflect.apply(construct, Reflect, [value9, r5, env1_3(this).constructor]); } else { r0 = value9.apply(this, value8); } value = binding(this, r0); value.overrideEnabled = undefined; return value; }