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

83 lines
3.8 KiB
React

/* Metro module 365; source: unknown; dependencies: [6, 7, 15, 17, 102, 18, 354, 357] */
function _fun5405(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#5405, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:406:6, offset: 0x00cdb296, size: 196 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(102) /* metro dependency 102 */;
const env0_7 = importDefault(18) /* metro dependency 18 */;
exports.default = _fun5411(importDefault(357) /* metro dependency 357 */);
}
function _isNativeReflectConstruct_5406() { // fn#5406, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:406:160, offset: 0x00cdb35a, 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_5406_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _superPropGet_5409(a0, a1, a2, a3) { // fn#5409, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:406:379, offset: 0x00cdb3b8, size: 99 bytes, params: 5, frame: 18
let value = a0;
const env0_0 = a2;
const binding = env0_6;
value = env0_5(1 & 3 ? value.prototype : value);
value = binding(value, a1, a2);
return 2 & 3 ? typeof value !== 'function' ? value : _fun5410 : value;
}
function _fun5411(a0) { // fn#5411, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:406:519, offset: 0x00cdb41b, size: 183 bytes, params: 2, frame: 16
const closure = AnimatedModulo;
env0_7(closure, a0);
return env0_3(closure, [{key: '__makeNative', value: value_5413}, {key: '__getValue', value: function() {
var value = this._a.__getValue();
value %= this._modulus;
value += this._modulus;
return value % this._modulus;
}}, {key: 'interpolate', value: value_5415}, {key: '__attach', value: value_5416}, {key: '__detach',
value: value_5417}, {key: '__getNativeConfig', value: function() {
var object = {type: 'modulus'};
object.input = this._a.__getNativeTag();
object.modulus = this._modulus;
object.debugID = this.__getDebugID();
return object;
}}]);
}
function AnimatedModulo(a0, a1, a2) { // fn#5412, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:406:531, offset: 0x00cdb4d2, size: 133 bytes, params: 4, frame: 19
let value = environment.__proto__;
env1_2(this, AnimatedModulo);
const items2 = [a2];
const value3 = env1_5(AnimatedModulo);
value = env1_4(this, _isNativeReflectConstruct_5406() ? global.Reflect.construct(value3, items2,
env1_5(this).constructor) : value3.apply(this, items2));
value._a = a0;
value._modulus = a1;
return value;
}