74 lines
3.2 KiB
React
74 lines
3.2 KiB
React
/* Metro module 3647; source: unknown; dependencies: [3235, 3648, 3239, 3236] */
|
|
function _fun27842(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#27842, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3774:6, offset: 0x00f630d5, size: 169 bytes, params: 8, frame: 19
|
|
const closure = function(a0) {
|
|
var value = a0;
|
|
return value && value.__esModule ? value : {default: value};
|
|
};
|
|
const _typeof_27844 = function(a0) {
|
|
var r2;
|
|
r2 = typeof global.Symbol !== 'function' ? _fun27846 : typeof global.Symbol.iterator === 'symbol' ? _fun27845 : _fun27846;
|
|
env0_4 = r2;
|
|
return r2(a0);
|
|
};
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = set_27847;
|
|
const env0_0 = closure(require(3235) /* metro dependency 3235 */);
|
|
const env0_1 = closure(require(3648) /* metro dependency 3648 */);
|
|
const env0_2 = closure(require(3239) /* metro dependency 3239 */);
|
|
const env0_3 = closure(require(3236) /* metro dependency 3236 */);
|
|
module.exports = exports.default;
|
|
}
|
|
|
|
function _typeof_27844(a0) { // fn#27844, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3774:889, offset: 0x00f6317e, 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_27844_typeof : _typeof_27844_typeof_27846)(a0);
|
|
}
|
|
|
|
function set_27847(a0, a1) { // fn#27847, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3774:102, offset: 0x00f631c8, size: 446 bytes, params: 3, frame: 18
|
|
var date;
|
|
var Date;
|
|
var NaN;
|
|
var value;
|
|
(0, env0_3.default)(2, arguments);
|
|
if (_typeof_27844(a1) !== 'object') {
|
|
throw new global.RangeError('values parameter must be an object');
|
|
}
|
|
if (a1 === null) {
|
|
throw new global.RangeError('values parameter must be an object');
|
|
}
|
|
const value3 = (0, env0_0.default)(a0);
|
|
const isNaN = global.isNaN;
|
|
const getTime = value3.getTime;
|
|
if (isNaN(Reflect.apply(getTime, value3, []))) {
|
|
Date = global.Date;
|
|
NaN = global.NaN;
|
|
value = Object.create(Date.prototype, {constructor: {value: Date}});
|
|
date = new Date();
|
|
return date instanceof Object ? date : value;
|
|
}
|
|
if (a1.year != null) {
|
|
value3.setFullYear(a1.year);
|
|
}
|
|
const r1 = a1.month == null ? value3 : env0_1.default(value3, a1.month);
|
|
if (a1.date != null) {
|
|
r1.setDate(env0_2.default(a1.date));
|
|
}
|
|
if (a1.hours != null) {
|
|
r1.setHours(env0_2.default(a1.hours));
|
|
}
|
|
if (a1.minutes != null) {
|
|
r1.setMinutes(env0_2.default(a1.minutes));
|
|
}
|
|
if (a1.seconds != null) {
|
|
r1.setSeconds(env0_2.default(a1.seconds));
|
|
}
|
|
if (a1.milliseconds != null) {
|
|
r1.setMilliseconds(env0_2.default(a1.milliseconds));
|
|
}
|
|
return r1;
|
|
}
|
|
|