Files
discord-decomp/sources/by-id/module-07783.js
T
2026-07-28 01:06:53 +03:00

118 lines
5.4 KiB
JavaScript

/* Metro module 7783; source: unknown; dependencies: [7, 6, 15, 17, 18, 31] */
import ClassCallCheck from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
import CreateClass from './module-00007-CreateClass.js'; /* Metro dependency 7 */
import PossibleConstructorReturn from './module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
import Module00017 from './module-00017.js'; /* Metro dependency 17 */
import Inherits from './module-00018-Inherits.js'; /* Metro dependency 18 */
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
function _fun62274(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#62274, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7961:6, offset: 0x01b5b60c, size: 180 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const Component = (ReactModule).Component;
const value = _fun62278(Component);
value.defaultPrimitiveProps = {};
exports.default = value;
function _isNativeReflectConstruct_62275() { // fn#62275, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7961:148, offset: 0x01b5b6c0, 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_62275_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun62278(a0) { // fn#62278, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7961:373, offset: 0x01b5b71e, size: 40 bytes, params: 2, frame: 14
const FilterPrimitive2 = FilterPrimitive;
Inherits(FilterPrimitive2, a0);
return CreateClass(FilterPrimitive2);
function FilterPrimitive() { // fn#62279, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7961:385, offset: 0x01b5b746, size: 223 bytes, params: 1, frame: 21
var environment;
var r2;
var r6;
var r0;
var value7;
var Reflect;
var construct;
let value = environment.__proto__;
let binding = env1_1;
binding(this, FilterPrimitive);
const length = arguments.length;
const Array = global.Array;
const array = new Array(length);
const value6 = 0;
if (value6 < length) {
r2 = value6;
reducibleLoop1: while (true) {
array[r2] = arguments[r2];
value7 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
if (value7 < length) {
r2 = value7;
continue reducibleLoop1;
}
break reducibleLoop1;
}
}
const value8 = [].concat(array);
const value9 = env1_3(FilterPrimitive);
binding = env1_2;
if (_isNativeReflectConstruct_62275()) {
Reflect = global.Reflect;
construct = Reflect.construct;
reducibleJoin6: while (true) {
if (value8) {
r6 = value8;
break reducibleJoin6;
}
r6 = [];
break reducibleJoin6;
}
r0 = Reflect.apply(construct, Reflect, [value9, r6, env1_3(this).constructor]);
} else {
r0 = value9.apply(this, value8);
}
value = binding(this, r0);
value.root = null;
value.refMethod = refMethod_62280;
value.setNativeProps = setNativeProps_62281;
return value;
function FilterPrimitiveRefMethod(a0) { // fn#62280, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7961:713, owner: FilterPrimitive.refMethod, offset: 0x01b59aa1, size: 20 bytes, params: 2, frame: 2
CreateClass.root = a0;
}
function FilterPrimitiveSetNativeProps(a0) { // fn#62281, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7961:752, owner: FilterPrimitive.setNativeProps, offset: 0x01b5b825, size: 37 bytes, params: 2, frame: 11
const root = CreateClass.root;
if (root != null) {
root.setNativeProps(a0);
}
}
}
}
}
global.__d(_fun62274, 7783, [7, 6, 15, 17, 18, 31]) /* metro module 7783, dependencies: [7, 6, 15, 17, 18, 31] */;