549 lines
27 KiB
React
549 lines
27 KiB
React
/* Metro module 1735; source: unknown; dependencies: [57, 6, 7, 15, 17, 18, 1680] */
|
|
function _fun19078(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#19078, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:6, offset: 0x00e9f0de, size: 622 bytes, params: 8, frame: 25
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_0 = importDefault(57) /* metro dependency 57 */;
|
|
const env0_1 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_2 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_3 = importDefault(15) /* metro dependency 15 */;
|
|
const env0_4 = importDefault(17) /* metro dependency 17 */;
|
|
const env0_5 = importDefault(18) /* metro dependency 18 */;
|
|
object = {code: 'function pnpm_SlideTs1(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originX:delayFunction(delay,animation(values.targetOriginX,config))},initialValues:{originX:values.targetOriginX+values.windowWidth,...initialValues},callback:callback};}'};
|
|
const ComplexAnimationBuilder = (require(1680) /* metro dependency 1680 */).ComplexAnimationBuilder;
|
|
const value = _fun19083(ComplexAnimationBuilder);
|
|
value.presetName = 'SlideInRight';
|
|
object = {code: 'function pnpm_SlideTs2(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originX:delayFunction(delay,animation(values.targetOriginX,config))},initialValues:{originX:values.targetOriginX-values.windowWidth,...initialValues},callback:callback};}'};
|
|
const value2 = _fun19088(ComplexAnimationBuilder);
|
|
value2.presetName = 'SlideInLeft';
|
|
object = {code: 'function pnpm_SlideTs3(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originX:delayFunction(delay,animation(Math.max(values.currentOriginX+values.windowWidth,values.windowWidth),config))},initialValues:{originX:values.currentOriginX,...initialValues},callback:callback};}'};
|
|
const value3 = _fun19093(ComplexAnimationBuilder);
|
|
value3.presetName = 'SlideOutRight';
|
|
object = {code: 'function pnpm_SlideTs4(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originX:delayFunction(delay,animation(Math.min(values.currentOriginX-values.windowWidth,-values.windowWidth),config))},initialValues:{originX:values.currentOriginX,...initialValues},callback:callback};}'};
|
|
const value4 = _fun19098(ComplexAnimationBuilder);
|
|
value4.presetName = 'SlideOutLeft';
|
|
object = {code: 'function pnpm_SlideTs5(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originY:delayFunction(delay,animation(values.targetOriginY,config))},initialValues:{originY:-values.windowHeight,...initialValues},callback:callback};}'};
|
|
const value5 = _fun19103(ComplexAnimationBuilder);
|
|
value5.presetName = 'SlideInUp';
|
|
object = {code: 'function pnpm_SlideTs6(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originY:delayFunction(delay,animation(values.targetOriginY,config))},initialValues:{originY:values.targetOriginY+values.windowHeight,...initialValues},callback:callback};}'};
|
|
const value6 = _fun19108(ComplexAnimationBuilder);
|
|
value6.presetName = 'SlideInDown';
|
|
object = {code: 'function pnpm_SlideTs7(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originY:delayFunction(delay,animation(Math.min(values.currentOriginY-values.windowHeight,-values.windowHeight),config))},initialValues:{originY:values.currentOriginY,...initialValues},callback:callback};}'};
|
|
const value7 = _fun19113(ComplexAnimationBuilder);
|
|
value7.presetName = 'SlideOutUp';
|
|
object = {code: 'function pnpm_SlideTs8(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{originY:delayFunction(delay,animation(Math.max(values.currentOriginY+values.windowHeight,values.windowHeight),config))},initialValues:{originY:values.currentOriginY,...initialValues},callback:callback};}'};
|
|
const value8 = _fun19118(ComplexAnimationBuilder);
|
|
value8.presetName = 'SlideOutDown';
|
|
exports.SlideInRight = value;
|
|
exports.SlideInLeft = value2;
|
|
exports.SlideOutRight = value3;
|
|
exports.SlideOutLeft = value4;
|
|
exports.SlideInUp = value5;
|
|
exports.SlideInDown = value6;
|
|
exports.SlideOutUp = value7;
|
|
exports.SlideOutDown = value8;
|
|
}
|
|
|
|
function _isNativeReflectConstruct_19080() { // fn#19080, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:289, offset: 0x00e9f34c, 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_19080_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun19083(a0) { // fn#19083, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:828, offset: 0x00e9f3aa, size: 71 bytes, params: 2, frame: 16
|
|
const closure = SlideInRight;
|
|
env0_5(closure, a0);
|
|
return env0_2(closure, null, [{key: 'createInstance', value: value_19087}]);
|
|
}
|
|
|
|
function _fun19088(a0) { // fn#19088, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:1978, offset: 0x00e9f5ad, size: 71 bytes, params: 2, frame: 16
|
|
const closure = SlideInLeft;
|
|
env0_5(closure, a0);
|
|
return env0_2(closure, null, [{key: 'createInstance', value: value_19092}]);
|
|
}
|
|
|
|
function _fun19093(a0) { // fn#19093, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:3152, offset: 0x00e9f7b0, size: 71 bytes, params: 2, frame: 16
|
|
const closure = SlideOutRight;
|
|
env0_5(closure, a0);
|
|
return env0_2(closure, null, [{key: 'createInstance', value: value_19097}]);
|
|
}
|
|
|
|
function _fun19098(a0) { // fn#19098, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:4367, offset: 0x00e9f9ca, size: 71 bytes, params: 2, frame: 16
|
|
const closure = SlideOutLeft;
|
|
env0_5(closure, a0);
|
|
return env0_2(closure, null, [{key: 'createInstance', value: value_19102}]);
|
|
}
|
|
|
|
function _fun19103(a0) { // fn#19103, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:5525, offset: 0x00e9fbe7, size: 71 bytes, params: 2, frame: 16
|
|
const closure = SlideInUp;
|
|
env0_5(closure, a0);
|
|
return env0_2(closure, null, [{key: 'createInstance', value: value_19107}]);
|
|
}
|
|
|
|
function _fun19108(a0) { // fn#19108, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:6641, offset: 0x00e9fde3, size: 71 bytes, params: 2, frame: 16
|
|
const closure = SlideInDown;
|
|
env0_5(closure, a0);
|
|
return env0_2(closure, null, [{key: 'createInstance', value: value_19112}]);
|
|
}
|
|
|
|
function _fun19113(a0) { // fn#19113, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:7819, offset: 0x00e9ffe6, size: 71 bytes, params: 2, frame: 16
|
|
const closure = SlideOutUp;
|
|
env0_5(closure, a0);
|
|
return env0_2(closure, null, [{key: 'createInstance', value: value_19117}]);
|
|
}
|
|
|
|
function _fun19118(a0) { // fn#19118, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:9017, offset: 0x00ea0203, size: 71 bytes, params: 2, frame: 16
|
|
const closure = SlideOutDown;
|
|
env0_5(closure, a0);
|
|
return env0_2(closure, null, [{key: 'createInstance', value: value_19122}]);
|
|
}
|
|
|
|
function SlideInRight() { // fn#19084, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:840, offset: 0x00e9f3f1, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, SlideInRight);
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value6 = 0;
|
|
if (value6 < length) {
|
|
for (r3 = value6; true; r3 = value7) {
|
|
array[r3] = arguments[r3];
|
|
value7 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (!(value7 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const _callSuper_19079Binding = _callSuper_19079;
|
|
const items2 = [];
|
|
value = _callSuper_19079Binding(this, SlideInRight, items2.concat(array));
|
|
value.build = build;
|
|
return value;
|
|
}
|
|
|
|
function SlideInLeft() { // fn#19089, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:1990, offset: 0x00e9f5f4, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, SlideInLeft);
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value6 = 0;
|
|
if (value6 < length) {
|
|
for (r3 = value6; true; r3 = value7) {
|
|
array[r3] = arguments[r3];
|
|
value7 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (!(value7 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const _callSuper_19079Binding = _callSuper_19079;
|
|
const items2 = [];
|
|
value = _callSuper_19079Binding(this, SlideInLeft, items2.concat(array));
|
|
value.build = build;
|
|
return value;
|
|
}
|
|
|
|
function SlideOutRight() { // fn#19094, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:3164, offset: 0x00e9f7f7, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, SlideOutRight);
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value6 = 0;
|
|
if (value6 < length) {
|
|
for (r3 = value6; true; r3 = value7) {
|
|
array[r3] = arguments[r3];
|
|
value7 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (!(value7 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const _callSuper_19079Binding = _callSuper_19079;
|
|
const items2 = [];
|
|
value = _callSuper_19079Binding(this, SlideOutRight, items2.concat(array));
|
|
value.build = build;
|
|
return value;
|
|
}
|
|
|
|
function SlideOutLeft() { // fn#19099, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:4379, offset: 0x00e9fa11, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, SlideOutLeft);
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value6 = 0;
|
|
if (value6 < length) {
|
|
for (r3 = value6; true; r3 = value7) {
|
|
array[r3] = arguments[r3];
|
|
value7 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (!(value7 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const _callSuper_19079Binding = _callSuper_19079;
|
|
const items2 = [];
|
|
value = _callSuper_19079Binding(this, SlideOutLeft, items2.concat(array));
|
|
value.build = build;
|
|
return value;
|
|
}
|
|
|
|
function SlideInUp() { // fn#19104, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:5537, offset: 0x00e9fc2e, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, SlideInUp);
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value6 = 0;
|
|
if (value6 < length) {
|
|
for (r3 = value6; true; r3 = value7) {
|
|
array[r3] = arguments[r3];
|
|
value7 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (!(value7 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const _callSuper_19079Binding = _callSuper_19079;
|
|
const items2 = [];
|
|
value = _callSuper_19079Binding(this, SlideInUp, items2.concat(array));
|
|
value.build = build;
|
|
return value;
|
|
}
|
|
|
|
function SlideInDown() { // fn#19109, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:6653, offset: 0x00e9fe2a, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, SlideInDown);
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value6 = 0;
|
|
if (value6 < length) {
|
|
for (r3 = value6; true; r3 = value7) {
|
|
array[r3] = arguments[r3];
|
|
value7 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (!(value7 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const _callSuper_19079Binding = _callSuper_19079;
|
|
const items2 = [];
|
|
value = _callSuper_19079Binding(this, SlideInDown, items2.concat(array));
|
|
value.build = build;
|
|
return value;
|
|
}
|
|
|
|
function SlideOutUp() { // fn#19114, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:7831, offset: 0x00ea002d, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, SlideOutUp);
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value6 = 0;
|
|
if (value6 < length) {
|
|
for (r3 = value6; true; r3 = value7) {
|
|
array[r3] = arguments[r3];
|
|
value7 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (!(value7 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const _callSuper_19079Binding = _callSuper_19079;
|
|
const items2 = [];
|
|
value = _callSuper_19079Binding(this, SlideOutUp, items2.concat(array));
|
|
value.build = build;
|
|
return value;
|
|
}
|
|
|
|
function SlideOutDown() { // fn#19119, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:9029, offset: 0x00ea024a, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, SlideOutDown);
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value6 = 0;
|
|
if (value6 < length) {
|
|
for (r3 = value6; true; r3 = value7) {
|
|
array[r3] = arguments[r3];
|
|
value7 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (!(value7 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const _callSuper_19079Binding = _callSuper_19079;
|
|
const items2 = [];
|
|
value = _callSuper_19079Binding(this, SlideOutDown, items2.concat(array));
|
|
value.build = build;
|
|
return value;
|
|
}
|
|
|
|
function SlideInRightBuild() { // fn#19085, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:1022, owner: SlideInRight.build, offset: 0x00e9f476, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = env0_0.getDelayFunction();
|
|
var env0_0 = delayFunction;
|
|
const value5 = env2_0(env0_0.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = env0_0.getDelay();
|
|
const callbackV = env0_0.callbackV;
|
|
const initialValues = env0_0.initialValues;
|
|
const closure = pnpm_SlideTs1;
|
|
closure.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
closure.__workletHash = 10760418577189;
|
|
closure.__initData = env2_6;
|
|
return closure;
|
|
}
|
|
|
|
function SlideInLeftBuild() { // fn#19090, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:2169, owner: SlideInLeft.build, offset: 0x00e9f679, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = env0_0.getDelayFunction();
|
|
var env0_0 = delayFunction;
|
|
const value5 = env2_0(env0_0.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = env0_0.getDelay();
|
|
const callbackV = env0_0.callbackV;
|
|
const initialValues = env0_0.initialValues;
|
|
const closure = pnpm_SlideTs2;
|
|
closure.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
closure.__workletHash = 2180499422144;
|
|
closure.__initData = env2_7;
|
|
return closure;
|
|
}
|
|
|
|
function SlideOutRightBuild() { // fn#19095, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:3349, owner: SlideOutRight.build, offset: 0x00e9f87c, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = env0_0.getDelayFunction();
|
|
var env0_0 = delayFunction;
|
|
const value5 = env2_0(env0_0.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = env0_0.getDelay();
|
|
const callbackV = env0_0.callbackV;
|
|
const initialValues = env0_0.initialValues;
|
|
const closure = pnpm_SlideTs3;
|
|
closure.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
closure.__workletHash = 12812296890492;
|
|
closure.__initData = env2_8;
|
|
return closure;
|
|
}
|
|
|
|
function SlideOutLeftBuild() { // fn#19100, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:4561, owner: SlideOutLeft.build, offset: 0x00e9fa96, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = env0_0.getDelayFunction();
|
|
var env0_0 = delayFunction;
|
|
const value5 = env2_0(env0_0.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = env0_0.getDelay();
|
|
const callbackV = env0_0.callbackV;
|
|
const initialValues = env0_0.initialValues;
|
|
const closure = pnpm_SlideTs4;
|
|
closure.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
closure.__workletHash = 6273927341006;
|
|
closure.__initData = env2_9;
|
|
return closure;
|
|
}
|
|
|
|
function SlideInUpBuild() { // fn#19105, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:5710, owner: SlideInUp.build, offset: 0x00e9fcb3, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = env0_0.getDelayFunction();
|
|
var env0_0 = delayFunction;
|
|
const value5 = env2_0(env0_0.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = env0_0.getDelay();
|
|
const callbackV = env0_0.callbackV;
|
|
const initialValues = env0_0.initialValues;
|
|
const closure = pnpm_SlideTs5;
|
|
closure.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
closure.__workletHash = 9846507393044;
|
|
closure.__initData = env2_10;
|
|
return closure;
|
|
}
|
|
|
|
function SlideInDownBuild() { // fn#19110, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:6832, owner: SlideInDown.build, offset: 0x00e9feaf, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = env0_0.getDelayFunction();
|
|
var env0_0 = delayFunction;
|
|
const value5 = env2_0(env0_0.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = env0_0.getDelay();
|
|
const callbackV = env0_0.callbackV;
|
|
const initialValues = env0_0.initialValues;
|
|
const closure = pnpm_SlideTs6;
|
|
closure.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
closure.__workletHash = 9348728185019;
|
|
closure.__initData = env2_11;
|
|
return closure;
|
|
}
|
|
|
|
function SlideOutUpBuild() { // fn#19115, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:8007, owner: SlideOutUp.build, offset: 0x00ea00b2, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = env0_0.getDelayFunction();
|
|
var env0_0 = delayFunction;
|
|
const value5 = env2_0(env0_0.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = env0_0.getDelay();
|
|
const callbackV = env0_0.callbackV;
|
|
const initialValues = env0_0.initialValues;
|
|
const closure = pnpm_SlideTs7;
|
|
closure.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
closure.__workletHash = 14850009730573;
|
|
closure.__initData = env2_12;
|
|
return closure;
|
|
}
|
|
|
|
function SlideOutDownBuild() { // fn#19120, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:9211, owner: SlideOutDown.build, offset: 0x00ea02cf, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = env0_0.getDelayFunction();
|
|
var env0_0 = delayFunction;
|
|
const value5 = env2_0(env0_0.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = env0_0.getDelay();
|
|
const callbackV = env0_0.callbackV;
|
|
const initialValues = env0_0.initialValues;
|
|
const closure = pnpm_SlideTs8;
|
|
closure.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
closure.__workletHash = 14065812257143;
|
|
closure.__initData = env2_13;
|
|
return closure;
|
|
}
|
|
|
|
function pnpm_SlideTs1(a0) { // fn#19086, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:1169, owner: SlideInRight.build.pnpm_SlideTs1, offset: 0x00e9f537, size: 118 bytes, params: 2, frame: 19
|
|
const object = {};
|
|
object.originX = env0_0(env0_3, env0_1(a0.targetOriginX, env0_2));
|
|
const Object = global.Object;
|
|
return {animations: object, initialValues: Object.assign({originX: a0.targetOriginX + a0.windowWidth},
|
|
initialValues), callback: callbackV};
|
|
}
|
|
|
|
function pnpm_SlideTs2(a0) { // fn#19091, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:2316, owner: SlideInLeft.build.pnpm_SlideTs2, offset: 0x00e9f73a, size: 118 bytes, params: 2, frame: 19
|
|
const object = {};
|
|
object.originX = env0_0(env0_3, env0_1(a0.targetOriginX, env0_2));
|
|
const Object = global.Object;
|
|
return {animations: object, initialValues: Object.assign({originX: a0.targetOriginX - a0.windowWidth},
|
|
initialValues), callback: callbackV};
|
|
}
|
|
|
|
function pnpm_SlideTs3(a0) { // fn#19096, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:3496, owner: SlideOutRight.build.pnpm_SlideTs3, offset: 0x00e9f93d, size: 141 bytes, params: 2, frame: 21
|
|
const object = {};
|
|
const binding = env0_0;
|
|
const binding2 = env0_3;
|
|
const binding3 = env0_1;
|
|
const Math = global.Math;
|
|
object.originX = binding(binding2, binding3(Math.max(a0.currentOriginX + a0.windowWidth, a0.windowWidth), env0_2));
|
|
const Object = global.Object;
|
|
return {animations: object, initialValues: Object.assign({originX: a0.currentOriginX}, initialValues),
|
|
callback: callbackV};
|
|
}
|
|
|
|
function pnpm_SlideTs4(a0) { // fn#19101, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:4708, owner: SlideOutLeft.build.pnpm_SlideTs4, offset: 0x00e9fb57, size: 144 bytes, params: 2, frame: 21
|
|
const object = {};
|
|
const binding = env0_0;
|
|
const binding2 = env0_3;
|
|
const binding3 = env0_1;
|
|
const Math = global.Math;
|
|
object.originX = binding(binding2, binding3(Math.min(a0.currentOriginX - a0.windowWidth, -a0.windowWidth), env0_2));
|
|
const Object = global.Object;
|
|
return {animations: object, initialValues: Object.assign({originX: a0.currentOriginX}, initialValues),
|
|
callback: callbackV};
|
|
}
|
|
|
|
function pnpm_SlideTs5({targetOriginY, windowHeight}) { // fn#19106, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:5857, owner: SlideInUp.build.pnpm_SlideTs5, offset: 0x00e9fd74, size: 111 bytes, params: 2, frame: 19
|
|
const object = {};
|
|
object.originY = env0_0(env0_3, env0_1(targetOriginY, env0_2));
|
|
const Object = global.Object;
|
|
return {animations: object, initialValues: Object.assign({originY: -windowHeight}, initialValues),
|
|
callback: callbackV};
|
|
}
|
|
|
|
function pnpm_SlideTs6(a0) { // fn#19111, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:6979, owner: SlideInDown.build.pnpm_SlideTs6, offset: 0x00e9ff70, size: 118 bytes, params: 2, frame: 19
|
|
const object = {};
|
|
object.originY = env0_0(env0_3, env0_1(a0.targetOriginY, env0_2));
|
|
const Object = global.Object;
|
|
return {animations: object, initialValues: Object.assign({originY: a0.targetOriginY + a0.windowHeight},
|
|
initialValues), callback: callbackV};
|
|
}
|
|
|
|
function pnpm_SlideTs7(a0) { // fn#19116, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:8154, owner: SlideOutUp.build.pnpm_SlideTs7, offset: 0x00ea0173, size: 144 bytes, params: 2, frame: 21
|
|
const object = {};
|
|
const binding = env0_0;
|
|
const binding2 = env0_3;
|
|
const binding3 = env0_1;
|
|
const Math = global.Math;
|
|
object.originY = binding(binding2, binding3(Math.min(a0.currentOriginY - a0.windowHeight, -a0.windowHeight),
|
|
env0_2));
|
|
const Object = global.Object;
|
|
return {animations: object, initialValues: Object.assign({originY: a0.currentOriginY}, initialValues),
|
|
callback: callbackV};
|
|
}
|
|
|
|
function pnpm_SlideTs8(a0) { // fn#19121, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1862:9358, owner: SlideOutDown.build.pnpm_SlideTs8, offset: 0x00ea0390, size: 141 bytes, params: 2, frame: 21
|
|
const object = {};
|
|
const binding = env0_0;
|
|
const binding2 = env0_3;
|
|
const binding3 = env0_1;
|
|
const Math = global.Math;
|
|
object.originY = binding(binding2, binding3(Math.max(a0.currentOriginY + a0.windowHeight, a0.windowHeight), env0_2));
|
|
const Object = global.Object;
|
|
return {animations: object, initialValues: Object.assign({originY: a0.currentOriginY}, initialValues),
|
|
callback: callbackV};
|
|
}
|
|
|