Files
discord-decomp/sources/by-id/module-00450.jsx
T
2026-07-27 16:20:00 +03:00

108 lines
5.5 KiB
React

/* Metro module 450; source: unknown; dependencies: [6, 7, 15, 17, 18, 48, 451, 44, 209] */
function _fun6027(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#6027, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:491:6, offset: 0x00cecb5f, size: 191 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importDefault(6) /* metro dependency 6 */;
const env0_3 = importDefault(7) /* metro dependency 7 */;
const env0_4 = importDefault(15) /* metro dependency 15 */;
const env0_5 = importDefault(17) /* metro dependency 17 */;
const env0_6 = importDefault(18) /* metro dependency 18 */;
let value = importDefault(209) /* metro dependency 209 */;
value = _fun6031(value);
value = new value();
exports.default = value;
}
function _isNativeReflectConstruct_6028() { // fn#6028, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:491:148, offset: 0x00cecc1e, size: 94 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_6028_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun6031(a0) { // fn#6031, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:491:377, offset: 0x00cecc7c, size: 206 bytes, params: 2, frame: 16
const closure = LinkingImpl;
env0_6(closure, a0);
return env0_3(closure, [{key: 'addEventListener', value: function(a0, a1) {
return this.addListener(a0, a1);
}}, {key: 'openURL', value: value_6034}, {key: 'canOpenURL', value: value_6035}, {key: 'openSettings',
value: value_6036}, {key: 'getInitialURL', value: value_6037}, {key: 'sendIntent', value: value_6038},
{key: '_validateURL', value: value_6039}]);
}
function LinkingImpl() { // fn#6032, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:491:389, offset: 0x00cecd4a, size: 112 bytes, params: 1, frame: 19
const value = environment.__proto__;
env1_2(this, LinkingImpl);
const items2 = [undefined];
const value3 = env1_5(LinkingImpl);
return env1_4(this, _isNativeReflectConstruct_6028() ? global.Reflect.construct(value3, items2,
env1_5(this).constructor) : value3.apply(this, items2));
}
function value_6034(a0) { // fn#6034, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:491:750, offset: 0x00cecdd1, size: 72 bytes, params: 2, frame: 14
this._validateURL(a0);
let value = environment.__proto__;
value = importDefault(48) /* metro dependency 48 */;
value = value(importDefault(451) /* metro dependency 451 */);
return value.openURL(a0);
}
function value_6035(a0) { // fn#6035, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:491:852, offset: 0x00cece19, size: 72 bytes, params: 2, frame: 14
this._validateURL(a0);
let value = environment.__proto__;
value = importDefault(48) /* metro dependency 48 */;
value = value(importDefault(451) /* metro dependency 451 */);
return value.canOpenURL(a0);
}
function value_6036() { // fn#6036, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:491:962, offset: 0x00cece61, size: 54 bytes, params: 1, frame: 13
let value = environment.__proto__;
value = importDefault(48) /* metro dependency 48 */;
value = value(importDefault(451) /* metro dependency 451 */);
return value.openSettings();
}
function value_6037() { // fn#6037, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:491:1054, offset: 0x00cece97, size: 54 bytes, params: 1, frame: 13
let value = environment.__proto__;
value = importDefault(48) /* metro dependency 48 */;
value = value(importDefault(451) /* metro dependency 451 */);
return value.getInitialURL();
}
function value_6038(a0, a1) { // fn#6038, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:491:1145, offset: 0x00cececd, size: 62 bytes, params: 3, frame: 14
let value = environment.__proto__;
value = importDefault(48) /* metro dependency 48 */;
value = value(importDefault(451) /* metro dependency 451 */);
return value.sendIntent(a0, a1);
}
function value_6039(a0) { // fn#6039, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:491:1238, offset: 0x00cecf0b, size: 78 bytes, params: 2, frame: 18
const value = environment.__proto__;
(importDefault(44) /* metro dependency 44 */)(typeof a0 === 'string', 'Invalid URL: should be a string. Was: ' + a0);
(importDefault(44) /* metro dependency 44 */)(a0, 'Invalid URL: cannot be empty');
}