Files
2026-07-28 01:06:53 +03:00

100 lines
5.1 KiB
JavaScript

/* Metro module 1303; source: unknown; dependencies: [] */
function _fun14410(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#14410, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1430:6, offset: 0x00e04919, size: 72 bytes, params: 8, frame: 16
const isMessagesProxy = function(a0) {
return a0[global.Symbol.toStringTag] === 'IntlMessagesProxy';
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.chainMessagesObjects = chainMessagesObjects;
exports.makeMessagesProxy = makeMessagesProxy;
function chainMessagesObjects(a0, a1) { // fn#14412, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1430:193, offset: 0x00e04982, size: 179 bytes, params: 3, frame: 18
var r0;
var $$loader;
const value = a0;
const isMessagesProxyBinding = isMessagesProxy;
const isMessagesProxy2 = isMessagesProxyBinding(value);
const isMessagesProxy3 = isMessagesProxyBinding(a1);
if (isMessagesProxy2) {
if (isMessagesProxy3) {
$$loader = value.$$loader;
$$loader.fallbackWith(a1.$$loader);
r0 = value;
} else {
r0 = isMessagesProxy2 || isMessagesProxy3 ? isMessagesProxy2 ? isMessagesProxy3 ? isMessagesProxy3 && !isMessagesProxy2 ? global.Object.assign(a1.$$baseObject,
value) : value : global.Object.assign(value.$$baseObject,
a1) : isMessagesProxy3 && !isMessagesProxy2 ? global.Object.assign(a1.$$baseObject,
value) : value : global.Object.assign(global.Object.assign({}, a1), value);
}
} else {
r0 = isMessagesProxy2 || isMessagesProxy3 ? isMessagesProxy2 ? isMessagesProxy3 ? isMessagesProxy3 && !isMessagesProxy2 ? global.Object.assign(a1.$$baseObject,
value) : value : global.Object.assign(value.$$baseObject,
a1) : isMessagesProxy3 && !isMessagesProxy2 ? global.Object.assign(a1.$$baseObject,
value) : value : global.Object.assign(global.Object.assign({}, a1), value);
}
return r0;
}
function makeMessagesProxy(a0) { // fn#14413, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1430:482, offset: 0x00e04a35, size: 163 bytes, params: 2, frame: 17
let env0_0 = a0;
const makeBind = function(a0) {
var env0_0 = a0;
return _fun14415;
};
const object = {};
const Proxy = global.Proxy;
const proxy = new Proxy(object, {ownKeys: function(a0) {
var Reflect = global.Reflect;
return Reflect.ownKeys(a0);
}, getOwnPropertyDescriptor: getOwnPropertyDescriptor, get: get_14418});
let Object = global.Object;
Object.defineProperty(proxy, '$$baseObject', {'value': null, 'enumerable': false, 'configurable': false,
'writable': false, value: object});
Object = global.Object;
Object.defineProperty(proxy, '$$loader', {'value': null, 'enumerable': false, 'configurable': false,
'writable': false, value: a0});
return proxy;
function makeBind(a0) { // fn#14414, owner: makeMessagesProxy.makeBind, offset: 0x00e04ad8, size: 16 bytes, params: 2, frame: 2
const env0_0 = a0;
return _fun14415;
function _fun14415(a0) { // fn#14415, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1430:540, offset: 0x00e04ae8, size: 30 bytes, params: 2, frame: 13
return env1_0.get(env0_0, a0);
}
}
function getOwnPropertyDescriptor(a0, a1) { // fn#14417, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1430:675, owner: makeMessagesProxy.getOwnPropertyDescriptor, offset: 0x00e04b1e, size: 53 bytes, params: 3, frame: 13
if (!a0[a1]) {
a0[a1] = makeBind(a1);
}
const Reflect = global.Reflect;
return Reflect.getOwnPropertyDescriptor(a0, a1);
}
function makeMessagesProxyGet(a0, a1) { // fn#14418, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1430:789, owner: makeMessagesProxy.get, offset: 0x00e04b53, size: 76 bytes, params: 3, frame: 14
var r1;
var r0;
if (a1 === '$$typeof') {
r0 = 'object';
} else {
if (a1 === global.Symbol.toStringTag) {
r1 = 'IntlMessagesProxy';
} else {
if (!a0[a1]) {
a0[a1] = makeBind(a1);
}
r1 = a0[a1];
}
r0 = r1;
}
return r0;
}
}
}
global.__d(_fun14410, 1303, []) /* metro module 1303 */;