95 lines
4.2 KiB
React
95 lines
4.2 KiB
React
/* Metro module 366; source: unknown; dependencies: [6, 7, 15, 17, 102, 18, 354, 357] */
|
|
function _fun5419(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#5419, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:407:6, offset: 0x00cdb6c1, 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 = _fun5425(importDefault(357) /* metro dependency 357 */);
|
|
}
|
|
|
|
function _isNativeReflectConstruct_5420() { // fn#5420, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:407:160, offset: 0x00cdb785, 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_5420_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _superPropGet_5423(a0, a1, a2, a3) { // fn#5423, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:407:379, offset: 0x00cdb7e3, 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 : _fun5424 : value;
|
|
}
|
|
|
|
function _fun5425(a0) { // fn#5425, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:407:519, offset: 0x00cdb846, size: 183 bytes, params: 2, frame: 16
|
|
const closure = AnimatedDiffClamp;
|
|
env0_7(closure, a0);
|
|
return env0_3(closure, [{key: '__makeNative', value: value_5427}, {key: 'interpolate', value: value_5428},
|
|
{key: '__getValue', value: function() {
|
|
var property = this._a;
|
|
var value = property.__getValue();
|
|
var value2 = value - this._lastValue;
|
|
this._lastValue = value;
|
|
property = global.Math;
|
|
var Math = global.Math;
|
|
value = this._value + value2;
|
|
value = Math.max(value, this._min);
|
|
this._value = property.min(value, this._max);
|
|
return this._value;
|
|
}}, {key: '__attach', value: value_5430}, {key: '__detach', value: value_5431}, {key: '__getNativeConfig',
|
|
value: function() {
|
|
var object = {type: 'diffclamp'};
|
|
object.input = this._a.__getNativeTag();
|
|
object.min = this._min;
|
|
object.max = this._max;
|
|
object.debugID = this.__getDebugID();
|
|
return object;
|
|
}}]);
|
|
}
|
|
|
|
function AnimatedDiffClamp(a0, a1, a2, a3) { // fn#5426, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:407:531, offset: 0x00cdb8fd, size: 170 bytes, params: 5, frame: 19
|
|
let value = environment.__proto__;
|
|
env1_2(this, AnimatedDiffClamp);
|
|
const items2 = [a3];
|
|
const value3 = env1_5(AnimatedDiffClamp);
|
|
value = env1_4(this, _isNativeReflectConstruct_5420() ? global.Reflect.construct(value3, items2,
|
|
env1_5(this).constructor) : value3.apply(this, items2));
|
|
value._a = a0;
|
|
value._min = a1;
|
|
value._max = a2;
|
|
const value4 = value._a.__getValue();
|
|
value._lastValue = value4;
|
|
value._value = value4;
|
|
return value;
|
|
}
|
|
|