97 lines
4.0 KiB
JavaScript
97 lines
4.0 KiB
JavaScript
/* Metro module 3541; source: unknown; dependencies: [3538] */
|
|
function _fun27012(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#27012, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3668:6, offset: 0x00f54713, size: 85 bytes, params: 8, frame: 16
|
|
let env0_0 = require;
|
|
const _defineProperties_27013 = function(a0, a1) {
|
|
var r5;
|
|
var r0;
|
|
var property;
|
|
var enumerable;
|
|
var Object;
|
|
var value = 0;
|
|
if (value < a1.length) {
|
|
r5 = value;
|
|
while (true) {
|
|
property = a1[r5];
|
|
enumerable = property.enumerable;
|
|
r0 = enumerable || false;
|
|
property.enumerable = r0;
|
|
property.configurable = true;
|
|
if (!('value' in property)) {
|
|
continue;
|
|
}
|
|
property.writable = true;
|
|
Object = global.Object;
|
|
Object.defineProperty(a0, property.key, property);
|
|
value = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1;
|
|
if (value < a1.length) {
|
|
r5 = value;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
};
|
|
let Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.Parser = undefined;
|
|
exports.Parser = (() => {
|
|
var closure = _fun27015;
|
|
var env0_0 = closure;
|
|
_defineProperties_27013(closure.prototype, [{key: 'run', value: _fun27016}, {key: 'validate',
|
|
value: _fun27017}]) /* class methods: run, validate */;
|
|
return closure;
|
|
})();
|
|
function _fun27014() { // fn#27014, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3668:297, offset: 0x00f54768, size: 83 bytes, params: 1, frame: 14
|
|
const Parser2 = Parser;
|
|
_defineProperties_27013(Parser2.prototype, [{key: 'run', value: value_27016}, {key: 'validate', value: function(a0,
|
|
a1, a2) {
|
|
return true;
|
|
}}]) /* class methods: run, validate */;
|
|
return Parser2;
|
|
function Parser() { // fn#27015, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3668:308, offset: 0x00f547bb, size: 57 bytes, params: 1, frame: 11
|
|
if (this instanceof Parser) {
|
|
return undefined;
|
|
}
|
|
const TypeError = global.TypeError;
|
|
throw new TypeError('Cannot call a class as a function');
|
|
}
|
|
|
|
function value_27016(a0, a1, a2, a3) { // fn#27016, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3668:582, offset: 0x00f547f4, size: 134 bytes, params: 5, frame: 22
|
|
var r0;
|
|
var value3;
|
|
var ValueSetter;
|
|
var value4;
|
|
var validate;
|
|
var set;
|
|
var priority;
|
|
var subPriority;
|
|
var value5;
|
|
var valueSetter;
|
|
const value = this.parse(a0, a1, a2, a3);
|
|
if (value) {
|
|
value3 = environment.__proto__;
|
|
ValueSetter = (require(3538) /* metro dependency 3538 */).ValueSetter;
|
|
value4 = value.value;
|
|
validate = this.validate;
|
|
set = this.set;
|
|
priority = this.priority;
|
|
subPriority = this.subPriority;
|
|
value5 = Object.create(ValueSetter.prototype, {constructor: {value: ValueSetter}});
|
|
valueSetter = new ValueSetter();
|
|
r0 = {setter: valueSetter instanceof Object ? valueSetter : value5, rest: value.rest};
|
|
} else {
|
|
r0 = null;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function value_27017(a0, a1, a2) { // fn#27017, offset: 0x00c4c231, size: 4 bytes, params: 4, frame: 1
|
|
return true;
|
|
}
|
|
|
|
global.__d(_fun27012, 3541, [3538]) /* metro module 3541, dependencies: [3538] */;
|