/* Metro module 1694; source: unknown; dependencies: [6, 7, 15, 17, 18, 1682, 1681] */ function _fun18477(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#18477, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1821:6, offset: 0x00e8dde2, size: 180 bytes, params: 8, frame: 19 const env0_0 = require; 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 */; const BaseAnimationBuilder = (require(1681) /* metro dependency 1681 */).BaseAnimationBuilder; exports.ComplexAnimationBuilder = _fun18481(BaseAnimationBuilder); } function _isNativeReflectConstruct_18478() { // fn#18478, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1821:148, offset: 0x00e8de96, 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_18478_isNativeReflectConstruct = function() { return !!result; })(); } function _fun18481(a0) { // fn#18481, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1821:373, offset: 0x00e8def4, size: 535 bytes, params: 2, frame: 28 const closure = ComplexAnimationBuilder; env0_6(closure, a0); return env0_3(closure, [{key: 'easing', value: function(a0) { this.easingV = a0; return this; }}, {key: 'rotate', value: function(a0) { this.rotateV = a0; return this; }}, {key: 'springify', value: function(a0) { this.durationV = a0; this.type = require(dependencyMap[5]).withSpring; return this; }}, {key: 'dampingRatio', value: function(a0) { this.dampingRatioV = a0; return this; }}, {key: 'damping', value: function(a0) { this.dampingV = a0; return this; }}, {key: 'mass', value: function(a0) { this.massV = a0; return this; }}, {key: 'stiffness', value: function(a0) { this.stiffnessV = a0; return this; }}, {key: 'overshootClamping', value: function(a0) { this.overshootClampingV = a0; return this; }}, {key: 'restDisplacementThreshold', value: function(a0) { this.restDisplacementThresholdV = a0; return this; }}, {key: 'restSpeedThreshold', value: function(a0) { this.restSpeedThresholdV = a0; return this; }}, {key: 'withInitialValues', value: function(a0) { this.initialValues = a0; return this; }}, {key: 'getAnimationAndConfig', value: value_18494}], [{key: 'easing', value: function(a0) { return this.createInstance().easing(a0); }}, {key: 'rotate', value: function(a0) { return this.createInstance().rotate(a0); }}, {key: 'springify', value: function(a0) { return this.createInstance().springify(a0); }}, {key: 'dampingRatio', value: function(a0) { return this.createInstance().dampingRatio(a0); }}, {key: 'damping', value: function(a0) { return this.createInstance().damping(a0); }}, {key: 'mass', value: function(a0) { return this.createInstance().mass(a0); }}, {key: 'stiffness', value: function(a0) { return this.createInstance().stiffness(a0); }}, {key: 'overshootClamping', value: function(a0) { return this.createInstance().overshootClamping(a0); }}, {key: 'restDisplacementThreshold', value: function(a0) { return this.createInstance().restDisplacementThreshold(a0); }}, {key: 'restSpeedThreshold', value: function(a0) { return this.createInstance().restSpeedThreshold(a0); }}, {key: 'withInitialValues', value: function(a0) { return this.createInstance().withInitialValues(a0); }}]); } function value_18494() { // fn#18494, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1821:1692, offset: 0x00e8e1c9, size: 373 bytes, params: 1, frame: 26 const withTiming = (require(1682) /* metro dependency 1682 */).withTiming; const closure = maybeSetConfigValue; const durationV = this.durationV; const easingV = this.easingV; const rotateV = this.rotateV; const r2 = this.type || withTiming; const dampingV = this.dampingV; const dampingRatioV = this.dampingRatioV; const massV = this.massV; const stiffnessV = this.stiffnessV; const overshootClampingV = this.overshootClampingV; const restDisplacementThresholdV = this.restDisplacementThresholdV; const restSpeedThresholdV = this.restSpeedThresholdV; if (r2 === withTiming) { closure(easingV, 'easing'); } [{variableName: 'damping', value: dampingV}, {variableName: 'dampingRatio', value: dampingRatioV}, {variableName: 'mass', value: massV}, {variableName: 'stiffness', value: stiffnessV}, {variableName: 'overshootClamping', value: overshootClampingV}, {variableName: 'restDisplacementThreshold', value: restDisplacementThresholdV}, {variableName: 'restSpeedThreshold', value: restSpeedThresholdV}, {variableName: 'duration', value: durationV}, {variableName: 'rotate', value: rotateV}].forEach(function(a0) { maybeSetConfigValue(a0.value, a0.variableName); }); return [r2, {}]; } function maybeSetConfigValue(a0, a1) { // fn#18495, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1821:1981, owner: value_18494.maybeSetConfigValue, offset: 0x00e8e33e, size: 24 bytes, params: 3, frame: 3 if (a0) { env0_0[a1] = a0; } }