155 lines
7.3 KiB
React
155 lines
7.3 KiB
React
/* Metro module 7843; source: unknown; dependencies: [6, 7, 15, 17, 18, 31, 33, 7752, 7759, 7760, 7766, 7844, 7768] */
|
|
import ClassCallCheck from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import CreateClass from './module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
import PossibleConstructorReturn from './module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
|
|
import Module00017 from './module-00017.js'; /* Metro dependency 17 */
|
|
import Inherits from './module-00018-Inherits.js'; /* Metro dependency 18 */
|
|
import Module07759 from './module-07759.js'; /* Metro dependency 7759 */
|
|
import Module07766 from './module-07766.jsx'; /* Metro dependency 7766 */
|
|
import Module07768 from './module-07768.js'; /* Metro dependency 7768 */
|
|
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as JsxRuntimeModule from './module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
import * as Module07759Module from './module-07759.js'; /* Metro dependency 7759 */
|
|
import * as moduleValue2 from './module-07760.js'; /* Metro dependency 7760 */
|
|
import * as Module07766Module from './module-07766.jsx'; /* Metro dependency 7766 */
|
|
|
|
function _fun62618(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#62618, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8021:6, offset: 0x01b61b7f, size: 247 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
let value = Module07768;
|
|
value = _fun62622(value);
|
|
value.displayName = 'TSpan';
|
|
(Module07766Module).setTSpan(value);
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_62619() { // fn#62619, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8021:172, offset: 0x01b61c76, 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_62619_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun62622(a0) { // fn#62622, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8021:397, offset: 0x01b61cd4, size: 68 bytes, params: 2, frame: 15
|
|
const TSpan2 = TSpan;
|
|
Inherits(TSpan2, a0);
|
|
return CreateClass(TSpan2, [{key: 'render', value: value_62625}]);
|
|
function TSpan() { // fn#62623, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8021:409, offset: 0x01b61d18, size: 204 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_3;
|
|
binding(this, TSpan);
|
|
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_6(TSpan);
|
|
binding = env1_5;
|
|
if (_isNativeReflectConstruct_62619()) {
|
|
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_6(this).constructor]);
|
|
} else {
|
|
r0 = value9.apply(this, value8);
|
|
}
|
|
value = binding(this, r0);
|
|
value.setNativeProps = setNativeProps_62624;
|
|
return value;
|
|
function TSpanSetNativeProps(a0) { // fn#62624, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8021:700, owner: TSpan.setNativeProps, offset: 0x01b61de4, size: 195 bytes, params: 2, frame: 18
|
|
var r0;
|
|
const matrix = a0.matrix;
|
|
let value = !matrix;
|
|
if (matrix) {
|
|
r0 = value;
|
|
} else {
|
|
value = environment.__proto__.__proto__;
|
|
value = (importDefault(7752) /* metro dependency 7752 */)(a0);
|
|
r0 = value;
|
|
}
|
|
if (r0) {
|
|
a0.matrix = r0;
|
|
}
|
|
value = environment.__proto__.__proto__;
|
|
const value2 = (Module07759Module).propsAndStyles(a0);
|
|
const Object = global.Object;
|
|
const assign = Object.assign;
|
|
Reflect.apply(assign, Object, [value2,
|
|
moduleValue2.pickNotNil((Module07766)(value2, false))]);
|
|
if (env0_0.root) {
|
|
env0_0.root.setNativeProps(value2);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function value_62625() { // fn#62625, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8021:923, offset: 0x01b61ea7, size: 187 bytes, params: 1, frame: 22
|
|
let value = environment.__proto__;
|
|
const value2 = Module07759Module.propsAndStyles(this.props);
|
|
const defaultImport = Module07759;
|
|
let Object = global.Object;
|
|
const value3 = defaultImport(Object.assign({}, value2, {'x': null, 'y': null}), this);
|
|
Object = global.Object;
|
|
Object.assign(value3, (Module07766)(value2, false));
|
|
value3.ref = this.refMethod;
|
|
value = importDefault(7844) /* metro dependency 7844 */;
|
|
Object = global.Object;
|
|
return ((Component) => <Component {...Object.assign({}, value3)} />)(value);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun62618, 7843, [6, 7, 15, 17, 18, 31, 33, 7752, 7759, 7760, 7766, 7844,
|
|
7768]) /* metro module 7843, dependencies: [6, 7, 15, 17, 18, 31, 33, 7752, 7759, 7760, 7766, 7844, 7768] */;
|