30 lines
1.3 KiB
React
30 lines
1.3 KiB
React
/* Metro module 910; source: unknown; dependencies: [] */
|
|
function _fun9786(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#9786, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1037:6, offset: 0x00d72072, size: 75 bytes, params: 8, frame: 17
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
exports.addAutoIpAddressToSession = function(a0) {
|
|
var property;
|
|
var value;
|
|
if ('aggregates' in a0) {
|
|
property = a0.attrs;
|
|
value = undefined;
|
|
if (value === (property == null ? value : property.ip_address)) {
|
|
a0.attrs = global.Object.assign({}, a0.attrs, {ip_address: '{{auto}}'});
|
|
}
|
|
} else if (a0.ipAddress === undefined) {
|
|
a0.ipAddress = '{{auto}}';
|
|
}
|
|
};
|
|
exports.addAutoIpAddressToUser = function(a0) {
|
|
var property = a0.user;
|
|
var value = undefined;
|
|
if (value === (property == null ? value : property.ip_address)) {
|
|
a0.user = global.Object.assign({}, a0.user, {ip_address: '{{auto}}'});
|
|
}
|
|
return value;
|
|
};
|
|
}
|
|
|