Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,26 @@
|
||||
/* Metro module 1702; source: unknown; dependencies: [1662] */
|
||||
function _fun18570(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#18570, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1829:6, offset: 0x00e906a0, size: 66 bytes, params: 8, frame: 16
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
exports.JumpingTransition = JumpingTransition;
|
||||
}
|
||||
|
||||
function JumpingTransition(a0, {translateX, translateY, scaleX, scaleY}) { // fn#18571, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1829:113, offset: 0x00e906e2, size: 381 bytes, params: 3, frame: 25
|
||||
const Math = global.Math;
|
||||
const max = Math.max;
|
||||
const Math2 = global.Math;
|
||||
let value = Math2.abs(translateX);
|
||||
const Math3 = global.Math;
|
||||
value = Reflect.apply(max, Math, [value, Math3.abs(translateY)]);
|
||||
value /= 2;
|
||||
const r11 = translateY <= 0 ? translateY - value : -translateY + value;
|
||||
const object = {};
|
||||
object.transform = [{translateX: '' + translateX + 'px', translateY: '' + translateY + 'px',
|
||||
scale: '' + scaleX + ',' + scaleY}];
|
||||
const Easing = (require(1662) /* metro dependency 1662 */).Easing;
|
||||
object.easing = Easing.exp;
|
||||
return {name: a0, style: {[0]: object,
|
||||
[50]: {transform: [{translateX: translateX / 2 + 'px', translateY: '' + r11 + 'px', scale: '' + scaleX + ',' + scaleY}]}, [100]: {transform: [{'translateX': '0px', 'translateY': '0px', 'scale': '1,1'}]}}, duration: 300};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user