197 lines
9.4 KiB
React
197 lines
9.4 KiB
React
/* Metro module 1732; source: unknown; dependencies: [57, 6, 7, 15, 17, 18, 1680] */
|
|
function _fun18993(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#18993, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1859:6, offset: 0x00e9c710, size: 280 bytes, params: 8, frame: 19
|
|
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_PinwheelTs1(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(1,config)),transform:[{scale:delayFunction(delay,animation(1,config))},{rotate:delayFunction(delay,animation('0rad',config))}]},initialValues:{opacity:0,transform:[{scale:0},{rotate:'5rad'}],...initialValues},callback:callback};}"};
|
|
const ComplexAnimationBuilder = (require(1680) /* metro dependency 1680 */).ComplexAnimationBuilder;
|
|
const value = _fun18998(ComplexAnimationBuilder);
|
|
value.presetName = 'PinwheelIn';
|
|
object = {code: "function pnpm_PinwheelTs2(){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(0,config)),transform:[{scale:delayFunction(delay,animation(0,config))},{rotate:delayFunction(delay,animation('5rad',config))}]},initialValues:{opacity:1,transform:[{scale:1},{rotate:'0rad'}],...initialValues},callback:callback};}"};
|
|
const value2 = _fun19003(ComplexAnimationBuilder);
|
|
value2.presetName = 'PinwheelOut';
|
|
exports.PinwheelIn = value;
|
|
exports.PinwheelOut = value2;
|
|
}
|
|
|
|
function _callSuper_18994(a0, a1, a2) { // fn#18994, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1859:158, offset: 0x00e9c828, size: 100 bytes, params: 4, frame: 20
|
|
var r0;
|
|
var Reflect;
|
|
let value = a2;
|
|
const value3 = env0_4(a1);
|
|
const binding = env0_3;
|
|
if (_isNativeReflectConstruct_18995()) {
|
|
Reflect = global.Reflect;
|
|
value = Reflect.construct(value3, value || [], env0_4(a0).constructor);
|
|
r0 = value;
|
|
} else {
|
|
value = value3.apply(a0, value);
|
|
r0 = value;
|
|
}
|
|
return binding(a0, r0);
|
|
}
|
|
|
|
function _isNativeReflectConstruct_18995() { // fn#18995, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1859:289, offset: 0x00e9c88c, 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_18995_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun18998(a0) { // fn#18998, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1859:922, offset: 0x00e9c8ea, size: 71 bytes, params: 2, frame: 16
|
|
const closure = PinwheelIn;
|
|
env0_5(closure, a0);
|
|
return env0_2(closure, null, [{key: 'createInstance', value: value_19002}]);
|
|
}
|
|
|
|
function _fun19003(a0) { // fn#19003, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1859:2208, offset: 0x00e9cb37, size: 71 bytes, params: 2, frame: 16
|
|
const closure = PinwheelOut;
|
|
env0_5(closure, a0);
|
|
return env0_2(closure, null, [{key: 'createInstance', value: value_19007}]);
|
|
}
|
|
|
|
function PinwheelIn() { // fn#18999, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1859:934, offset: 0x00e9c931, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, PinwheelIn);
|
|
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_18994Binding = _callSuper_18994;
|
|
const items2 = [];
|
|
value = _callSuper_18994Binding(this, PinwheelIn, items2.concat(array));
|
|
value.build = build;
|
|
return value;
|
|
}
|
|
|
|
function PinwheelOut() { // fn#19004, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1859:2220, offset: 0x00e9cb7e, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, PinwheelOut);
|
|
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_18994Binding = _callSuper_18994;
|
|
const items2 = [];
|
|
value = _callSuper_18994Binding(this, PinwheelOut, items2.concat(array));
|
|
value.build = build;
|
|
return value;
|
|
}
|
|
|
|
function PinwheelInBuild() { // fn#19000, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1859:1110, owner: PinwheelIn.build, offset: 0x00e9c9b6, 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_PinwheelTs1;
|
|
closure.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
closure.__workletHash = 8890961567516;
|
|
closure.__initData = env2_6;
|
|
return closure;
|
|
}
|
|
|
|
function PinwheelOutBuild() { // fn#19005, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1859:2399, owner: PinwheelOut.build, offset: 0x00e9cc03, 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_PinwheelTs2;
|
|
closure.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
closure.__workletHash = 15028563671839;
|
|
closure.__initData = env2_7;
|
|
return closure;
|
|
}
|
|
|
|
function pnpm_PinwheelTs1() { // fn#19001, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1859:1257, owner: PinwheelIn.build.pnpm_PinwheelTs1, offset: 0x00e9ca77, size: 192 bytes, params: 1, frame: 20
|
|
const object = {};
|
|
const binding = env0_0;
|
|
const binding2 = env0_3;
|
|
const binding3 = env0_1;
|
|
const binding4 = env0_2;
|
|
object.opacity = binding(binding2, binding3(1, binding4));
|
|
const items2 = [{scale: binding(binding2, binding3(1, binding4))}];
|
|
items2[1] = {rotate: binding(binding2, binding3('0rad', binding4))};
|
|
object.transform = items2;
|
|
const Object = global.Object;
|
|
return {animations: object, initialValues: Object.assign({opacity: 0, transform: [{scale: 0}, {rotate: '5rad'}]},
|
|
initialValues), callback: callbackV};
|
|
}
|
|
|
|
function pnpm_PinwheelTs2() { // fn#19006, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1859:2546, owner: PinwheelOut.build.pnpm_PinwheelTs2, offset: 0x00e9ccc4, size: 192 bytes, params: 1, frame: 20
|
|
const object = {};
|
|
const binding = env0_0;
|
|
const binding2 = env0_3;
|
|
const binding3 = env0_1;
|
|
const binding4 = env0_2;
|
|
object.opacity = binding(binding2, binding3(0, binding4));
|
|
const items2 = [{scale: binding(binding2, binding3(0, binding4))}];
|
|
items2[1] = {rotate: binding(binding2, binding3('5rad', binding4))};
|
|
object.transform = items2;
|
|
const Object = global.Object;
|
|
return {animations: object, initialValues: Object.assign({opacity: 1, transform: [{scale: 1}, {rotate: '0rad'}]},
|
|
initialValues), callback: callbackV};
|
|
}
|
|
|