155 lines
8.3 KiB
React
155 lines
8.3 KiB
React
/* Metro module 201; source: unknown; dependencies: [6, 7, 202, 129] */
|
|
function _fun2856(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#2856, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:226:6, offset: 0x00c8b20d, size: 387 bytes, params: 8, frame: 21
|
|
const env0_0 = require;
|
|
let Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_3 = importDefault(7) /* metro dependency 7 */;
|
|
const value = _fun2857();
|
|
Object = global.Object;
|
|
Object.defineProperty(value, 'NONE', {'enumerable': true, 'value': 0});
|
|
Object = global.Object;
|
|
Object.defineProperty(value.prototype, 'NONE', {'enumerable': true, 'value': 0});
|
|
Object = global.Object;
|
|
Object.defineProperty(value, 'CAPTURING_PHASE', {'enumerable': true, 'value': 1});
|
|
Object = global.Object;
|
|
Object.defineProperty(value.prototype, 'CAPTURING_PHASE', {'enumerable': true, 'value': 1});
|
|
Object = global.Object;
|
|
Object.defineProperty(value, 'AT_TARGET', {'enumerable': true, 'value': 2});
|
|
Object = global.Object;
|
|
Object.defineProperty(value.prototype, 'AT_TARGET', {'enumerable': true, 'value': 2});
|
|
Object = global.Object;
|
|
Object.defineProperty(value, 'BUBBLING_PHASE', {'enumerable': true, 'value': 3});
|
|
Object = global.Object;
|
|
Object.defineProperty(value.prototype, 'BUBBLING_PHASE', {'enumerable': true, 'value': 3});
|
|
(require(129) /* metro dependency 129 */).setPlatformObject(value);
|
|
exports.default = value;
|
|
}
|
|
|
|
function _fun2857() { // fn#2857, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:226:118, offset: 0x00c8b390, size: 354 bytes, params: 1, frame: 15
|
|
return env0_3(Event, [{key: 'bubbles', get: function() {
|
|
return this._bubbles;
|
|
}}, {key: 'cancelable', get: function() {
|
|
return this._cancelable;
|
|
}}, {key: 'composed', get: function() {
|
|
return this._composed;
|
|
}}, {key: 'currentTarget', get: get_2862}, {key: 'defaultPrevented', get: function() {
|
|
return this._defaultPrevented;
|
|
}}, {key: 'eventPhase', get: get_2864}, {key: 'isTrusted', get: get_2865}, {key: 'target', get: get_2866},
|
|
{key: 'timeStamp', get: function() {
|
|
return this._timeStamp;
|
|
}}, {key: 'type', get: function() {
|
|
return this._type;
|
|
}}, {key: 'composedPath', value: value_2869}, {key: 'preventDefault', value: value_2870},
|
|
{key: 'stopImmediatePropagation', value: value_2871}, {key: 'stopPropagation', value: value_2872}]);
|
|
}
|
|
|
|
function Event(a0, a1) { // fn#2858, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:226:139, offset: 0x00c8b4f2, size: 458 bytes, params: 3, frame: 21
|
|
var Boolean;
|
|
const value = undefined;
|
|
env1_2(this, Event);
|
|
this._defaultPrevented = false;
|
|
const performance = global.performance;
|
|
this._timeStamp = performance.now();
|
|
const COMPOSED_PATH_KEY = (require(202) /* metro dependency 202 */).COMPOSED_PATH_KEY;
|
|
this[COMPOSED_PATH_KEY] = [];
|
|
const CURRENT_TARGET_KEY = (require(202) /* metro dependency 202 */).CURRENT_TARGET_KEY;
|
|
this[CURRENT_TARGET_KEY] = null;
|
|
const EVENT_PHASE_KEY = (require(202) /* metro dependency 202 */).EVENT_PHASE_KEY;
|
|
const NONE = Event.NONE;
|
|
this[EVENT_PHASE_KEY] = NONE;
|
|
const IN_PASSIVE_LISTENER_FLAG_KEY = (require(202) /* metro dependency 202 */).IN_PASSIVE_LISTENER_FLAG_KEY;
|
|
this[IN_PASSIVE_LISTENER_FLAG_KEY] = false;
|
|
const IS_TRUSTED_KEY = (require(202) /* metro dependency 202 */).IS_TRUSTED_KEY;
|
|
this[IS_TRUSTED_KEY] = false;
|
|
const STOP_IMMEDIATE_PROPAGATION_FLAG_KEY = (require(202) /* metro dependency 202 */).STOP_IMMEDIATE_PROPAGATION_FLAG_KEY;
|
|
this[STOP_IMMEDIATE_PROPAGATION_FLAG_KEY] = false;
|
|
const STOP_PROPAGATION_FLAG_KEY = (require(202) /* metro dependency 202 */).STOP_PROPAGATION_FLAG_KEY;
|
|
this[STOP_PROPAGATION_FLAG_KEY] = false;
|
|
const TARGET_KEY = (require(202) /* metro dependency 202 */).TARGET_KEY;
|
|
this[TARGET_KEY] = null;
|
|
if (arguments.length < 1) {
|
|
throw new global.TypeError("Failed to construct 'Event': 1 argument required, but only 0 present.");
|
|
}
|
|
const value4 = typeof a1;
|
|
if (a1 == null) {
|
|
this._type = global.String(a0);
|
|
} else {
|
|
if (value4 === 'object') {
|
|
this._type = global.String(a0);
|
|
Boolean = global.Boolean;
|
|
this._bubbles = Boolean(a1 == null ? value : a1.bubbles);
|
|
Boolean = global.Boolean;
|
|
this._cancelable = Boolean(a1 == null ? value : a1.cancelable);
|
|
Boolean = global.Boolean;
|
|
this._composed = Boolean(a1 == null ? value : a1.composed);
|
|
return value;
|
|
}
|
|
if (value4 !== 'function') {
|
|
throw new global.TypeError("Failed to construct 'Event': The provided value is not of type 'EventInit'.");
|
|
}
|
|
this._type = global.String(a0);
|
|
}
|
|
Boolean = global.Boolean;
|
|
this._bubbles = Boolean(a1 == null ? value : a1.bubbles);
|
|
Boolean = global.Boolean;
|
|
this._cancelable = Boolean(a1 == null ? value : a1.cancelable);
|
|
Boolean = global.Boolean;
|
|
this._composed = Boolean(a1 == null ? value : a1.composed);
|
|
return value;
|
|
}
|
|
|
|
function get_2862() { // fn#2862, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:226:1201, offset: 0x00c8b6dd, size: 41 bytes, params: 1, frame: 11
|
|
const value = environment.__proto__;
|
|
return (require(202) /* metro dependency 202 */).getCurrentTarget(this);
|
|
}
|
|
|
|
function get_2864() { // fn#2864, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:226:1353, offset: 0x00c8b711, size: 41 bytes, params: 1, frame: 11
|
|
const value = environment.__proto__;
|
|
return (require(202) /* metro dependency 202 */).getEventPhase(this);
|
|
}
|
|
|
|
function get_2865() { // fn#2865, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:226:1426, offset: 0x00c8b73a, size: 41 bytes, params: 1, frame: 11
|
|
const value = environment.__proto__;
|
|
return (require(202) /* metro dependency 202 */).getIsTrusted(this);
|
|
}
|
|
|
|
function get_2866() { // fn#2866, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:226:1495, offset: 0x00c8b763, size: 41 bytes, params: 1, frame: 11
|
|
const value = environment.__proto__;
|
|
return (require(202) /* metro dependency 202 */).getTarget(this);
|
|
}
|
|
|
|
function value_2869() { // fn#2869, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:226:1681, offset: 0x00c8b7a2, size: 50 bytes, params: 1, frame: 11
|
|
let value = environment.__proto__;
|
|
value = require(202) /* metro dependency 202 */;
|
|
value = value.getComposedPath(this);
|
|
return value.slice();
|
|
}
|
|
|
|
function value_2870() { // fn#2870, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:226:1780, offset: 0x00c8b7d4, size: 115 bytes, params: 1, frame: 13
|
|
var value;
|
|
var console;
|
|
if (this._cancelable) {
|
|
value = environment.__proto__;
|
|
value = require(202) /* metro dependency 202 */;
|
|
if (value.getInPassiveListenerFlag(this)) {
|
|
console = global.console;
|
|
console.error(new global.Error('Unable to preventDefault inside passive event listener invocation.'));
|
|
} else {
|
|
this._defaultPrevented = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
function value_2871() { // fn#2871, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:226:2026, offset: 0x00c8b847, size: 65 bytes, params: 1, frame: 17
|
|
const value = environment.__proto__;
|
|
(require(202) /* metro dependency 202 */).setStopPropagationFlag(this, true);
|
|
(require(202) /* metro dependency 202 */).setStopImmediatePropagationFlag(this, true);
|
|
}
|
|
|
|
function value_2872() { // fn#2872, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:226:2182, offset: 0x00c8b888, size: 44 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__;
|
|
(require(202) /* metro dependency 202 */).setStopPropagationFlag(this, true);
|
|
}
|
|
|