74 lines
3.7 KiB
JavaScript
74 lines
3.7 KiB
JavaScript
/* Metro module 221; source: unknown; dependencies: [6, 7, 15, 17, 18, 201] */
|
|
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 */
|
|
|
|
function _fun3064(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#3064, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:246:6, offset: 0x00c904b5, size: 163 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = _fun3068(importDefault(201) /* metro dependency 201 */);
|
|
function _isNativeReflectConstruct_3065() { // fn#3065, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:246:148, offset: 0x00c90558, 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_3065_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun3068(a0) { // fn#3068, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:246:373, offset: 0x00c905b6, size: 114 bytes, params: 2, frame: 16
|
|
const CloseEvent2 = CloseEvent;
|
|
Inherits(CloseEvent2, a0);
|
|
return CreateClass(CloseEvent2, [{key: 'wasClean', get: function() {
|
|
return this._wasClean;
|
|
}}, {key: 'code', get: function() {
|
|
return this._code;
|
|
}}, {key: 'reason', get: function() {
|
|
return this._reason;
|
|
}}]);
|
|
function CloseEvent(a0, a1) { // fn#3069, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:246:385, offset: 0x00c90628, size: 243 bytes, params: 3, frame: 20
|
|
let value = environment.__proto__;
|
|
const binding = env1_0;
|
|
const value3 = undefined;
|
|
binding(this, CloseEvent);
|
|
const items2 = [a0, a1];
|
|
const value4 = env1_3(CloseEvent);
|
|
value = env1_2(this, _isNativeReflectConstruct_3065() ? global.Reflect.construct(value4, items2,
|
|
env1_3(this).constructor) : value4.apply(this, items2));
|
|
const Boolean = global.Boolean;
|
|
value._wasClean = Boolean(a1 == null ? value3 : a1.wasClean);
|
|
const Number = global.Number;
|
|
value._code = Number(a1 == null ? value3 : a1.code) || 0;
|
|
value._reason = (a1 == null ? value3 : a1.reason) != null ? global.String(a1.reason) : '';
|
|
return value;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun3064, 221, [6, 7, 15, 17, 18, 201]) /* metro module 221, dependencies: [6, 7, 15, 17, 18, 201] */;
|