57 lines
2.3 KiB
React
57 lines
2.3 KiB
React
/* Metro module 3652; source: unknown; dependencies: [3236, 3240] */
|
|
function _fun27860(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#27860, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3779:6, offset: 0x00f638e6, size: 119 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = setDefaultOptions_27861;
|
|
const value = require(3236) /* metro dependency 3236 */;
|
|
const env0_2 = value && value.__esModule ? value : {default: value};
|
|
module.exports = exports.default;
|
|
}
|
|
|
|
function setDefaultOptions_27861(a0) { // fn#27861, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3779:102, offset: 0x00f6395d, size: 233 bytes, params: 2, frame: 24
|
|
var r6;
|
|
var propertyName;
|
|
var propertyName2;
|
|
var Object;
|
|
var prototype;
|
|
var hasOwnProperty;
|
|
var call;
|
|
var propertyName3;
|
|
(0, env0_2.default)(1, arguments);
|
|
const object2 = {};
|
|
const getDefaultOptions = (require(3240) /* metro dependency 3240 */).getDefaultOptions;
|
|
const defaultOptions = getDefaultOptions();
|
|
for (propertyName in defaultOptions) {
|
|
Object = global.Object;
|
|
prototype = Object.prototype;
|
|
hasOwnProperty = prototype.hasOwnProperty;
|
|
call = hasOwnProperty.call;
|
|
if (!Reflect.apply(call, hasOwnProperty, [defaultOptions, propertyName])) {
|
|
r6 = propertyName2;
|
|
continue;
|
|
}
|
|
object2[propertyName] = defaultOptions[propertyName];
|
|
r6 = propertyName2;
|
|
}
|
|
for (propertyName in a0) {
|
|
Object = global.Object;
|
|
prototype = Object.prototype;
|
|
hasOwnProperty = prototype.hasOwnProperty;
|
|
call = hasOwnProperty.call;
|
|
if (!Reflect.apply(call, hasOwnProperty, [a0, propertyName])) {
|
|
r6 = propertyName3;
|
|
continue;
|
|
}
|
|
if (a0[propertyName] === undefined) {
|
|
delete object2[propertyName];
|
|
r6 = propertyName3;
|
|
} else {
|
|
object2[propertyName] = a0[propertyName];
|
|
r6 = propertyName3;
|
|
}
|
|
}
|
|
(require(3240) /* metro dependency 3240 */).setDefaultOptions(object2);
|
|
}
|
|
|