84 lines
3.8 KiB
React
84 lines
3.8 KiB
React
/* Metro module 3407; source: unknown; dependencies: [3235, 3236] */
|
|
function _fun26504(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#26504, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3534:6, offset: 0x00f46223, size: 127 bytes, params: 8, frame: 19
|
|
const closure = function(a0) {
|
|
var value = a0;
|
|
return value && value.__esModule ? value : {default: value};
|
|
};
|
|
const _typeof_26506 = function(a0) {
|
|
var r2;
|
|
r2 = typeof global.Symbol !== 'function' ? _fun26508 : typeof global.Symbol.iterator === 'symbol' ? _fun26507 : _fun26508;
|
|
env0_2 = r2;
|
|
return r2(a0);
|
|
};
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = max_26509;
|
|
const env0_0 = closure(require(3235) /* metro dependency 3235 */);
|
|
const env0_1 = closure(require(3236) /* metro dependency 3236 */);
|
|
module.exports = exports.default;
|
|
}
|
|
|
|
function _typeof_26506(a0) { // fn#26506, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3534:546, offset: 0x00f462a2, size: 74 bytes, params: 2, frame: 12
|
|
const Symbol = global.Symbol;
|
|
return (typeof Symbol !== 'function' ? function(a0) {
|
|
return a0 ? typeof global.Symbol !== 'function' || a0.constructor !== global.Symbol ? typeof a0 : a0 !== global.Symbol.prototype ? 'symbol' : typeof a0 : typeof a0;
|
|
} : typeof global.Symbol.iterator === 'symbol' ? _typeof_26506_typeof : _typeof_26506_typeof_26508)(a0);
|
|
}
|
|
|
|
function max_26509(a0) { // fn#26509, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3534:102, offset: 0x00f462ec, size: 204 bytes, params: 2, frame: 16
|
|
var Date;
|
|
var NaN;
|
|
var date;
|
|
let value = a0;
|
|
(0, env0_1.default)(1, arguments);
|
|
if (value) {
|
|
if (typeof value.forEach === 'function') {
|
|
value.forEach(_fun26510);
|
|
return env0_0 || new global.Date();
|
|
}
|
|
if (_typeof_26506(value) !== 'object') {
|
|
Date = global.Date;
|
|
NaN = global.NaN;
|
|
value = Object.create(Date.prototype, {constructor: {value: Date}});
|
|
date = new Date();
|
|
return date instanceof Object ? date : value;
|
|
}
|
|
if (value === null) {
|
|
Date = global.Date;
|
|
NaN = global.NaN;
|
|
value = Object.create(Date.prototype, {constructor: {value: Date}});
|
|
date = new Date();
|
|
return date instanceof Object ? date : value;
|
|
}
|
|
value = global.Array.prototype.slice.call(value);
|
|
} else {
|
|
if (_typeof_26506(value) !== 'object') {
|
|
Date = global.Date;
|
|
NaN = global.NaN;
|
|
value = Object.create(Date.prototype, {constructor: {value: Date}});
|
|
date = new Date();
|
|
return date instanceof Object ? date : value;
|
|
}
|
|
if (value === null) {
|
|
Date = global.Date;
|
|
NaN = global.NaN;
|
|
value = Object.create(Date.prototype, {constructor: {value: Date}});
|
|
date = new Date();
|
|
return date instanceof Object ? date : value;
|
|
}
|
|
value = global.Array.prototype.slice.call(value);
|
|
}
|
|
value.forEach(_fun26510);
|
|
return env0_0 || new global.Date();
|
|
}
|
|
|
|
function _fun26510(a0) { // fn#26510, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3534:303, offset: 0x00f463b8, size: 80 bytes, params: 2, frame: 14
|
|
let value = environment.__proto__;
|
|
value = (0, env1_0.default)(a0);
|
|
let r3 = env0_0 === undefined || env0_0 < value;
|
|
r3 = !r3 ? global.isNaN(global.Number(value)) : r3;
|
|
if (r3) {
|
|
}
|
|
}
|
|
|