139 lines
5.7 KiB
React
139 lines
5.7 KiB
React
/* Metro module 329; source: unknown; dependencies: [29, 6, 7, 15, 17, 18, 31, 33, 147, 112, 319, 253] */
|
|
function _fun4906(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#4906, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:370:6, offset: 0x00cd065b, size: 243 bytes, params: 8, frame: 18
|
|
const env0_2 = ['children', 'style', 'imageStyle', 'imageRef', 'importantForAccessibility'];
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_3 = importDefault(29) /* metro dependency 29 */;
|
|
const env0_4 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_5 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_6 = importDefault(15) /* metro dependency 15 */;
|
|
const env0_7 = importDefault(17) /* metro dependency 17 */;
|
|
const env0_8 = importDefault(18) /* metro dependency 18 */;
|
|
const value = importAll(31) /* metro dependency 31 */;
|
|
const value2 = require(33) /* metro dependency 33 */;
|
|
const env0_9 = value2.jsx;
|
|
const env0_10 = value2.jsxs;
|
|
const Component = value.Component;
|
|
exports.default = _fun4910(Component);
|
|
}
|
|
|
|
function _isNativeReflectConstruct_4907() { // fn#4907, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:370:274, offset: 0x00cd074e, 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_4907_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun4910(a0) { // fn#4910, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:370:499, offset: 0x00cd07ac, size: 91 bytes, params: 2, frame: 16
|
|
const closure = ImageBackground;
|
|
env0_8(closure, a0);
|
|
return env0_5(closure, [{key: 'setNativeProps', value: function(a0) {
|
|
var _viewRef = this._viewRef;
|
|
if (_viewRef) {
|
|
_viewRef.setNativeProps(a0);
|
|
}
|
|
}}, {key: 'render', value: value_4914}]);
|
|
}
|
|
|
|
function ImageBackground() { // fn#4911, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:370:511, offset: 0x00cd0807, size: 212 bytes, params: 1, frame: 21
|
|
var environment;
|
|
var r2;
|
|
var r6;
|
|
var r0;
|
|
var value7;
|
|
var Reflect;
|
|
var construct;
|
|
let value = environment.__proto__;
|
|
let binding = env1_4;
|
|
binding(this, ImageBackground);
|
|
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_7(ImageBackground);
|
|
binding = env1_6;
|
|
if (_isNativeReflectConstruct_4907()) {
|
|
Reflect = global.Reflect;
|
|
construct = Reflect.construct;
|
|
reducibleJoin6: while (true) {
|
|
if (value8) {
|
|
r6 = value8;
|
|
break reducibleJoin6;
|
|
}
|
|
r6 = [];
|
|
break reducibleJoin6;
|
|
}
|
|
r0 = Reflect.apply(construct, Reflect, [value9, r6, env1_7(this).constructor]);
|
|
} else {
|
|
r0 = value9.apply(this, value8);
|
|
}
|
|
value = binding(this, r0);
|
|
value._viewRef = null;
|
|
value._captureRef = _captureRef;
|
|
return value;
|
|
}
|
|
|
|
function value_4914() { // fn#4914, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:370:1040, offset: 0x00cd090d, size: 281 bytes, params: 1, frame: 29
|
|
const props = this.props;
|
|
const children = props.children;
|
|
const style = props.style;
|
|
const imageStyle = props.imageStyle;
|
|
const imageRef = props.imageRef;
|
|
const importantForAccessibility = props.importantForAccessibility;
|
|
let value = environment.__proto__;
|
|
const binding = env1_3;
|
|
const value2 = undefined;
|
|
const value3 = binding(props, env1_2);
|
|
const value4 = (importDefault(147) /* metro dependency 147 */)(style);
|
|
const defaultImport = importDefault(112) /* metro dependency 112 */;
|
|
const _captureRef = this._captureRef;
|
|
value = importDefault(319) /* metro dependency 319 */;
|
|
const Object = global.Object;
|
|
const assign = Object.assign;
|
|
const object = {importantForAccessibility: importantForAccessibility};
|
|
const items2 = [(importDefault(253) /* metro dependency 253 */).absoluteFill];
|
|
items2[1] = {width: value4 == null ? value2 : value4.width, height: value4 == null ? value2 : value4.height};
|
|
items2[2] = imageStyle;
|
|
object.style = items2;
|
|
object.ref = imageRef;
|
|
value = ((Component) => <Component {...Reflect.apply(assign, Object, [{}, value3, object])} />)(value);
|
|
return ((Component) => <Component accessibilityIgnoresInvertColors importantForAccessibility={importantForAccessibility} style={style} ref={_captureRef}>{value}{children}</Component>)(defaultImport);
|
|
}
|
|
|