115 lines
6.3 KiB
JavaScript
115 lines
6.3 KiB
JavaScript
/* Metro module 365; source: unknown; dependencies: [6, 7, 15, 17, 102, 18, 354, 357] */
|
|
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 Module00102 from './module-00102.js'; /* Metro dependency 102 */
|
|
|
|
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});
|
|
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;
|
|
value = Module00017(1 & 3 ? value.prototype : value);
|
|
value = Module00102(value, a1, a2);
|
|
return 2 & 3 ? typeof value !== 'function' ? value : _fun5410 : value;
|
|
function _fun5410(a0) { // fn#5410, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:406:478, offset: 0x00c62408, size: 27 bytes, params: 2, frame: 13
|
|
return env0_1.apply(importDefault, a0);
|
|
}
|
|
|
|
}
|
|
|
|
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 AnimatedModulo2 = AnimatedModulo;
|
|
Inherits(AnimatedModulo2, a0);
|
|
return CreateClass(AnimatedModulo2, [{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;
|
|
}
|
|
|
|
function value_5413(a0) { // fn#5413, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:406:850, offset: 0x00cdb557, size: 70 bytes, params: 2, frame: 18
|
|
this._a.__makeNative(a0);
|
|
const value = environment.__proto__;
|
|
_superPropGet_5409(AnimatedModulo, '__makeNative', this, 3)([a0]);
|
|
}
|
|
|
|
function value_5415(a0) { // fn#5415, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:406:1102, offset: 0x00cdb5d0, size: 53 bytes, params: 2, frame: 13
|
|
let value = environment.__proto__;
|
|
value = importDefault(354) /* metro dependency 354 */;
|
|
const value2 = Object.create(value.prototype, {constructor: {value: value}});
|
|
value = new value(this, a0);
|
|
return value instanceof Object ? value : value2;
|
|
}
|
|
|
|
function value_5416() { // fn#5416, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:406:1178, offset: 0x00cdb605, size: 63 bytes, params: 1, frame: 17
|
|
this._a.__addChild(this);
|
|
const value = environment.__proto__;
|
|
_superPropGet_5409(AnimatedModulo, '__attach', this, 3)([]);
|
|
}
|
|
|
|
function value_5417() { // fn#5417, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:406:1299, offset: 0x00cdb644, size: 63 bytes, params: 1, frame: 17
|
|
this._a.__removeChild(this);
|
|
const value = environment.__proto__;
|
|
_superPropGet_5409(AnimatedModulo, '__detach', this, 3)([]);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun5405, 365, [6, 7, 15, 17, 102, 18, 354,
|
|
357]) /* metro module 365, dependencies: [6, 7, 15, 17, 102, 18, 354, 357] */;
|