341 lines
21 KiB
JavaScript
341 lines
21 KiB
JavaScript
/* Metro module 1733; source: unknown; dependencies: [57, 6, 7, 15, 17, 18, 1680] */
|
|
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 Module00057 from './module-00057.js'; /* Metro dependency 57 */
|
|
import * as Module01680Module from './module-01680.js'; /* Metro dependency 1680 */
|
|
|
|
function _fun19008(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#19008, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:6, offset: 0x00e9cd84, size: 394 bytes, params: 8, frame: 21
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
object = {code: "function pnpm_RollTs1(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(0,config))},{rotate:delayFunction(delay,animation('0deg',config))}]},initialValues:{transform:[{translateX:-values.windowWidth},{rotate:'-180deg'}],...initialValues},callback:callback};}"};
|
|
const ComplexAnimationBuilder = (Module01680Module).ComplexAnimationBuilder;
|
|
const value = _fun19013(ComplexAnimationBuilder);
|
|
value.presetName = 'RollInLeft';
|
|
object = {code: "function pnpm_RollTs2(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(0,config))},{rotate:delayFunction(delay,animation('0deg',config))}]},initialValues:{transform:[{translateX:values.windowWidth},{rotate:'180deg'}],...initialValues},callback:callback};}"};
|
|
const value2 = _fun19018(ComplexAnimationBuilder);
|
|
value2.presetName = 'RollInRight';
|
|
object = {code: "function pnpm_RollTs3(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(-values.windowWidth,config))},{rotate:delayFunction(delay,animation('-180deg',config))}]},initialValues:{transform:[{translateX:0},{rotate:'0deg'}],...initialValues},callback:callback};}"};
|
|
const value3 = _fun19023(ComplexAnimationBuilder);
|
|
value3.presetName = 'RollOutLeft';
|
|
object = {code: "function pnpm_RollTs4(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(values.windowWidth,config))},{rotate:delayFunction(delay,animation('180deg',config))}]},initialValues:{transform:[{translateX:0},{rotate:'0deg'}],...initialValues},callback:callback};}"};
|
|
const value4 = _fun19028(ComplexAnimationBuilder);
|
|
value4.presetName = 'RollOutRight';
|
|
exports.RollInLeft = value;
|
|
exports.RollInRight = value2;
|
|
exports.RollOutLeft = value3;
|
|
exports.RollOutRight = value4;
|
|
function _callSuper_19009(a0, a1, a2) { // fn#19009, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:158, offset: 0x00e23cbe, size: 100 bytes, params: 4, frame: 20
|
|
var r0;
|
|
var Reflect;
|
|
let value = a2;
|
|
const value3 = Module00017(a1);
|
|
if (_isNativeReflectConstruct_19010()) {
|
|
Reflect = global.Reflect;
|
|
value = Reflect.construct(value3, value || [], Module00017(a0).constructor);
|
|
r0 = value;
|
|
} else {
|
|
value = value3.apply(a0, value);
|
|
r0 = value;
|
|
}
|
|
return PossibleConstructorReturn(a0, r0);
|
|
}
|
|
|
|
function _isNativeReflectConstruct_19010() { // fn#19010, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:289, offset: 0x00e9cf0e, 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_19010_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun19013(a0) { // fn#19013, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:896, offset: 0x00e9cf6c, size: 71 bytes, params: 2, frame: 16
|
|
const RollInLeft2 = RollInLeft;
|
|
Inherits(RollInLeft2, a0);
|
|
return CreateClass(RollInLeft2, null, [{key: 'createInstance', value: value_19017}]);
|
|
function RollInLeft() { // fn#19014, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:908, offset: 0x00e9cfb3, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, RollInLeft);
|
|
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_19009Binding = _callSuper_19009;
|
|
const items2 = [];
|
|
value = _callSuper_19009Binding(this, RollInLeft, items2.concat(array));
|
|
value.build = build_19015;
|
|
return value;
|
|
function RollInLeftBuild() { // fn#19015, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:1084, owner: RollInLeft.build, offset: 0x00e9d038, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = delayFunction2.getDelayFunction();
|
|
var delayFunction2 = delayFunction;
|
|
const value5 = env2_0(delayFunction2.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = delayFunction2.getDelay();
|
|
const callbackV = delayFunction2.callbackV;
|
|
const initialValues = delayFunction2.initialValues;
|
|
const pnpm_RollTs12 = pnpm_RollTs1;
|
|
pnpm_RollTs12.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
pnpm_RollTs12.__workletHash = 16303599954051;
|
|
pnpm_RollTs12.__initData = env2_6;
|
|
return pnpm_RollTs12;
|
|
function pnpm_RollTs1({windowWidth}) { // fn#19016, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:1231, owner: RollInLeft.build.pnpm_RollTs1, offset: 0x00e9d0f9, size: 181 bytes, params: 2, frame: 20
|
|
const object2 = {};
|
|
object2.translateX = Module00057(PossibleConstructorReturn, ClassCallCheck(0, CreateClass));
|
|
const items2 = [object2];
|
|
items2[1] = {rotate: Module00057(PossibleConstructorReturn, ClassCallCheck('0deg', CreateClass))};
|
|
const Object = global.Object;
|
|
return {animations: {transform: items2}, initialValues: Object.assign({transform: [{translateX: -windowWidth},
|
|
{rotate: '-180deg'}]}, initialValues), callback: callbackV};
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function value_19017() { // fn#19017, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:1649, offset: 0x00e9650d, size: 29 bytes, params: 1, frame: 9
|
|
const value = Object.create(RollInLeft.prototype, {constructor: {value: RollInLeft}});
|
|
const rollInLeft = new RollInLeft();
|
|
return rollInLeft instanceof Object ? rollInLeft : value;
|
|
}
|
|
|
|
}
|
|
|
|
function _fun19018(a0) { // fn#19018, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:2147, offset: 0x00e9d1ae, size: 71 bytes, params: 2, frame: 16
|
|
const RollInRight2 = RollInRight;
|
|
Inherits(RollInRight2, a0);
|
|
return CreateClass(RollInRight2, null, [{key: 'createInstance', value: value_19022}]);
|
|
function RollInRight() { // fn#19019, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:2159, offset: 0x00e9d1f5, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, RollInRight);
|
|
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_19009Binding = _callSuper_19009;
|
|
const items2 = [];
|
|
value = _callSuper_19009Binding(this, RollInRight, items2.concat(array));
|
|
value.build = build_19020;
|
|
return value;
|
|
function RollInRightBuild() { // fn#19020, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:2338, owner: RollInRight.build, offset: 0x00e9d27a, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = delayFunction2.getDelayFunction();
|
|
var delayFunction2 = delayFunction;
|
|
const value5 = env2_0(delayFunction2.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = delayFunction2.getDelay();
|
|
const callbackV = delayFunction2.callbackV;
|
|
const initialValues = delayFunction2.initialValues;
|
|
const pnpm_RollTs22 = pnpm_RollTs2;
|
|
pnpm_RollTs22.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
pnpm_RollTs22.__workletHash = 514820713152;
|
|
pnpm_RollTs22.__initData = env2_7;
|
|
return pnpm_RollTs22;
|
|
function pnpm_RollTs2({windowWidth}) { // fn#19021, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:2485, owner: RollInRight.build.pnpm_RollTs2, offset: 0x00e9d33b, size: 178 bytes, params: 2, frame: 20
|
|
const object2 = {};
|
|
object2.translateX = Module00057(PossibleConstructorReturn, ClassCallCheck(0, CreateClass));
|
|
const items2 = [object2];
|
|
items2[1] = {rotate: Module00057(PossibleConstructorReturn, ClassCallCheck('0deg', CreateClass))};
|
|
const Object = global.Object;
|
|
return {animations: {transform: items2}, initialValues: Object.assign({transform: [{translateX: windowWidth},
|
|
{rotate: '180deg'}]}, initialValues), callback: callbackV};
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function value_19022() { // fn#19022, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:2902, offset: 0x00e9650d, size: 29 bytes, params: 1, frame: 9
|
|
const value = Object.create(RollInRight.prototype, {constructor: {value: RollInRight}});
|
|
const rollInRight = new RollInRight();
|
|
return rollInRight instanceof Object ? rollInRight : value;
|
|
}
|
|
|
|
}
|
|
|
|
function _fun19023(a0) { // fn#19023, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:3404, offset: 0x00e9d3ed, size: 71 bytes, params: 2, frame: 16
|
|
const RollOutLeft2 = RollOutLeft;
|
|
Inherits(RollOutLeft2, a0);
|
|
return CreateClass(RollOutLeft2, null, [{key: 'createInstance', value: value_19027}]);
|
|
function RollOutLeft() { // fn#19024, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:3416, offset: 0x00e9d434, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, RollOutLeft);
|
|
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_19009Binding = _callSuper_19009;
|
|
const items2 = [];
|
|
value = _callSuper_19009Binding(this, RollOutLeft, items2.concat(array));
|
|
value.build = build_19025;
|
|
return value;
|
|
function RollOutLeftBuild() { // fn#19025, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:3595, owner: RollOutLeft.build, offset: 0x00e9d4b9, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = delayFunction2.getDelayFunction();
|
|
var delayFunction2 = delayFunction;
|
|
const value5 = env2_0(delayFunction2.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = delayFunction2.getDelay();
|
|
const callbackV = delayFunction2.callbackV;
|
|
const initialValues = delayFunction2.initialValues;
|
|
const pnpm_RollTs32 = pnpm_RollTs3;
|
|
pnpm_RollTs32.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
pnpm_RollTs32.__workletHash = 1569061887041;
|
|
pnpm_RollTs32.__initData = env2_8;
|
|
return pnpm_RollTs32;
|
|
function pnpm_RollTs3({windowWidth}) { // fn#19026, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:3742, owner: RollOutLeft.build.pnpm_RollTs3, offset: 0x00e9d57a, size: 181 bytes, params: 2, frame: 20
|
|
const object2 = {};
|
|
const value2 = -windowWidth;
|
|
object2.translateX = Module00057(PossibleConstructorReturn, ClassCallCheck(value2, CreateClass));
|
|
const items2 = [object2];
|
|
items2[1] = {rotate: Module00057(PossibleConstructorReturn, ClassCallCheck('-180deg', CreateClass))};
|
|
const Object = global.Object;
|
|
return {animations: {transform: items2}, initialValues: Object.assign({transform: [{translateX: 0},
|
|
{rotate: '0deg'}]}, initialValues), callback: callbackV};
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function value_19027() { // fn#19027, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:4162, offset: 0x00e9650d, size: 29 bytes, params: 1, frame: 9
|
|
const value = Object.create(RollOutLeft.prototype, {constructor: {value: RollOutLeft}});
|
|
const rollOutLeft = new RollOutLeft();
|
|
return rollOutLeft instanceof Object ? rollOutLeft : value;
|
|
}
|
|
|
|
}
|
|
|
|
function _fun19028(a0) { // fn#19028, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:4662, offset: 0x00e9d62f, size: 71 bytes, params: 2, frame: 16
|
|
const RollOutRight2 = RollOutRight;
|
|
Inherits(RollOutRight2, a0);
|
|
return CreateClass(RollOutRight2, null, [{key: 'createInstance', value: value_19032}]);
|
|
function RollOutRight() { // fn#19029, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:4674, offset: 0x00e9d676, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, RollOutRight);
|
|
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_19009Binding = _callSuper_19009;
|
|
const items2 = [];
|
|
value = _callSuper_19009Binding(this, RollOutRight, items2.concat(array));
|
|
value.build = build_19030;
|
|
return value;
|
|
function RollOutRightBuild() { // fn#19030, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:4856, owner: RollOutRight.build, offset: 0x00e9d6fb, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = delayFunction2.getDelayFunction();
|
|
var delayFunction2 = delayFunction;
|
|
const value5 = env2_0(delayFunction2.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = delayFunction2.getDelay();
|
|
const callbackV = delayFunction2.callbackV;
|
|
const initialValues = delayFunction2.initialValues;
|
|
const pnpm_RollTs42 = pnpm_RollTs4;
|
|
pnpm_RollTs42.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
pnpm_RollTs42.__workletHash = 9663216530406;
|
|
pnpm_RollTs42.__initData = env2_9;
|
|
return pnpm_RollTs42;
|
|
function pnpm_RollTs4({windowWidth}) { // fn#19031, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:5003, owner: RollOutRight.build.pnpm_RollTs4, offset: 0x00e9d7bc, size: 178 bytes, params: 2, frame: 20
|
|
const object2 = {};
|
|
object2.translateX = Module00057(PossibleConstructorReturn, ClassCallCheck(windowWidth, CreateClass));
|
|
const items2 = [object2];
|
|
items2[1] = {rotate: Module00057(PossibleConstructorReturn, ClassCallCheck('180deg', CreateClass))};
|
|
const Object = global.Object;
|
|
return {animations: {transform: items2}, initialValues: Object.assign({transform: [{translateX: 0},
|
|
{rotate: '0deg'}]}, initialValues), callback: callbackV};
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function value_19032() { // fn#19032, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:5423, offset: 0x00e9650d, size: 29 bytes, params: 1, frame: 9
|
|
const value = Object.create(RollOutRight.prototype, {constructor: {value: RollOutRight}});
|
|
const rollOutRight = new RollOutRight();
|
|
return rollOutRight instanceof Object ? rollOutRight : value;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun19008, 1733, [57, 6, 7, 15, 17, 18,
|
|
1680]) /* metro module 1733, dependencies: [57, 6, 7, 15, 17, 18, 1680] */;
|