109 lines
5.2 KiB
JavaScript
109 lines
5.2 KiB
JavaScript
/* Metro module 5371; source: unknown; dependencies: [6, 7, 15, 17, 18, 31, 5325, 5328] */
|
|
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 React from './module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as ReanimatedModule from './module-05328-Reanimated.js'; /* Metro dependency 5328 */
|
|
|
|
function _fun47353(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#47353, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5549:6, offset: 0x011bffdd, size: 269 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const value = undefined;
|
|
const Component = (React).Component;
|
|
const value3 = _fun47357(Component);
|
|
const Reanimated = (ReanimatedModule).Reanimated;
|
|
const r1 = (Reanimated == null || Reanimated.default == null ? value : Reanimated.default.createAnimatedComponent(value3)) ?? value3;
|
|
exports.Wrap = value3;
|
|
exports.AnimatedWrap = r1;
|
|
return value;
|
|
function _isNativeReflectConstruct_47354() { // fn#47354, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5549:166, offset: 0x011c00ea, 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_47354_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun47357(a0) { // fn#47357, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5549:391, offset: 0x011c0148, size: 68 bytes, params: 2, frame: 15
|
|
const Wrap2 = Wrap;
|
|
Inherits(Wrap2, a0);
|
|
return CreateClass(Wrap2, [{key: 'render', value: value_47359}]);
|
|
function Wrap() { // fn#47358, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5549:403, offset: 0x00c6223c, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_2(this, Wrap);
|
|
const value3 = env1_5(Wrap);
|
|
return env1_4(this, _isNativeReflectConstruct_47354() ? global.Reflect.construct(value3, arguments,
|
|
env1_5(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
function value_47359() { // fn#47359, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5549:637, offset: 0x011c018c, size: 145 bytes, params: 1, frame: 15
|
|
var value;
|
|
var binding;
|
|
var Children;
|
|
var only;
|
|
var props;
|
|
var children;
|
|
var value2;
|
|
var cloneElement;
|
|
var value3;
|
|
var error;
|
|
var Error;
|
|
var prototype;
|
|
var value4;
|
|
try {
|
|
value = environment.__proto__;
|
|
binding = env1_7;
|
|
Children = binding.Children;
|
|
only = Children.only;
|
|
props = this.props;
|
|
children = props.children;
|
|
value2 = Reflect.apply(only, Children, [children]);
|
|
cloneElement = binding.cloneElement;
|
|
props = value2.props;
|
|
children = props.children;
|
|
value3 = Reflect.apply(cloneElement, binding, [value2, {collapsable: false}, children]);
|
|
} catch (error) {
|
|
Error = global.Error;
|
|
value = require(5325) /* metro dependency 5325 */;
|
|
value = value.tagMessage('GestureDetector got more than one view as a child. If you want the gesture to work on multiple views, wrap them with a common parent and attach the gesture to that view.');
|
|
prototype = Error.prototype;
|
|
value4 = Object.create(prototype, {constructor: {value: Error}});
|
|
error = new Error();
|
|
value = error instanceof Object ? error : value4;
|
|
throw value;
|
|
}
|
|
return value3;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun47353, 5371, [6, 7, 15, 17, 18, 31, 5325,
|
|
5328]) /* metro module 5371, dependencies: [6, 7, 15, 17, 18, 31, 5325, 5328] */;
|