decord/source/1705__callSuper.js

209 lines
9.8 KiB
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 1705
2026-07-25 08:10:48 +00:00
// Function ID: 19012
2026-07-20 16:05:17 +00:00
// Name: _callSuper
2026-07-23 10:11:24 +00:00
// Dependencies: [57, 6, 7, 15, 17, 18, 1652]
2026-07-20 16:05:17 +00:00
// Module 1705 (_callSuper)
2026-07-23 10:11:24 +00:00
import _slicedToArray from "_slicedToArray";
import BaseAnimationBuilder from "BaseAnimationBuilder";
import _defineProperties from "_defineProperties";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
2026-07-20 16:05:17 +00:00
function _callSuper(arg0, arg1, arg2) {
let items = arg2;
const obj = callback2(arg1);
if (_isNativeReflectConstruct()) {
if (!items) {
items = [];
}
let constructResult = Reflect.construct(obj, items, callback2(arg0).constructor);
} else {
constructResult = obj.apply(arg0, items);
}
2026-07-23 10:11:24 +00:00
return _possibleConstructorReturn(arg0, constructResult);
2026-07-20 16:05:17 +00:00
}
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
let _slicedToArray = !valueOf.call(Reflect.construct(Boolean, [], () => {
2026-07-20 16:05:17 +00:00
}));
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
return _slicedToArray;
2026-07-20 16:05:17 +00:00
}
const result = _isNativeReflectConstruct();
}
let closure_6 = { 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};}" };
2026-07-23 10:11:24 +00:00
let tmp2 = ((ComplexAnimationBuilder) => {
2026-07-20 16:05:17 +00:00
class RollInLeft {
constructor() {
2026-07-23 10:11:24 +00:00
tmp = outer1_1(this, concat);
2026-07-20 16:05:17 +00:00
length = arguments.length;
array = new Array(length);
for (let num = 0; num < length; num = num + 1) {
array[num] = arguments[num];
}
items = [];
2026-07-23 10:11:24 +00:00
tmp3 = outer1_10(this, concat, items.concat(array));
concat = tmp3;
2026-07-20 16:05:17 +00:00
tmp3.build = () => {
2026-07-23 10:11:24 +00:00
delayFunction = delayFunction.getDelayFunction();
const tmp2 = RollInLeft(delayFunction.getAnimationAndConfig(), 2);
2026-07-20 16:05:17 +00:00
const first = tmp2[0];
2026-07-23 10:11:24 +00:00
let _defineProperties = tmp4;
const delay = delayFunction.getDelay();
const callbackV = delayFunction.callbackV;
const initialValues = delayFunction.initialValues;
2026-07-20 16:05:17 +00:00
/* worklet (recovered source) */ 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};}
2026-07-23 10:11:24 +00:00
pnpm_RollTs1.__closure = { delayFunction, delay, animation: first, config: tmp2[1], initialValues, callback: callbackV };
2026-07-20 16:05:17 +00:00
pnpm_RollTs1.__workletHash = 16303599954051;
2026-07-23 10:11:24 +00:00
pnpm_RollTs1.__initData = outer2_6;
2026-07-20 16:05:17 +00:00
return pnpm_RollTs1;
};
return tmp3;
}
}
callback3(RollInLeft, ComplexAnimationBuilder);
2026-07-23 10:11:24 +00:00
let items = [
2026-07-20 16:05:17 +00:00
{
key: "createInstance",
value: function createInstance() {
return new RollInLeft();
}
}
];
return callback(RollInLeft, null, items);
2026-07-23 10:11:24 +00:00
})(require("BaseAnimationBuilder").ComplexAnimationBuilder);
2026-07-20 16:05:17 +00:00
tmp2.presetName = "RollInLeft";
let closure_7 = { 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};}" };
2026-07-23 10:11:24 +00:00
let tmp3 = ((ComplexAnimationBuilder) => {
2026-07-20 16:05:17 +00:00
class RollInRight {
constructor() {
2026-07-23 10:11:24 +00:00
tmp = outer1_1(this, concat);
2026-07-20 16:05:17 +00:00
length = arguments.length;
array = new Array(length);
for (let num = 0; num < length; num = num + 1) {
array[num] = arguments[num];
}
items = [];
2026-07-23 10:11:24 +00:00
tmp3 = outer1_10(this, concat, items.concat(array));
concat = tmp3;
2026-07-20 16:05:17 +00:00
tmp3.build = () => {
2026-07-23 10:11:24 +00:00
delayFunction = delayFunction.getDelayFunction();
const tmp2 = RollInRight(delayFunction.getAnimationAndConfig(), 2);
2026-07-20 16:05:17 +00:00
const first = tmp2[0];
2026-07-23 10:11:24 +00:00
let _defineProperties = tmp4;
const delay = delayFunction.getDelay();
const callbackV = delayFunction.callbackV;
const initialValues = delayFunction.initialValues;
2026-07-20 16:05:17 +00:00
/* worklet (recovered source) */ 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};}
2026-07-23 10:11:24 +00:00
pnpm_RollTs2.__closure = { delayFunction, delay, animation: first, config: tmp2[1], initialValues, callback: callbackV };
2026-07-20 16:05:17 +00:00
pnpm_RollTs2.__workletHash = 514820713152;
2026-07-23 10:11:24 +00:00
pnpm_RollTs2.__initData = outer2_7;
2026-07-20 16:05:17 +00:00
return pnpm_RollTs2;
};
return tmp3;
}
}
callback3(RollInRight, ComplexAnimationBuilder);
2026-07-23 10:11:24 +00:00
let items = [
2026-07-20 16:05:17 +00:00
{
key: "createInstance",
value: function createInstance() {
return new RollInRight();
}
}
];
return callback(RollInRight, null, items);
2026-07-23 10:11:24 +00:00
})(require("BaseAnimationBuilder").ComplexAnimationBuilder);
2026-07-20 16:05:17 +00:00
tmp3.presetName = "RollInRight";
let closure_8 = { 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};}" };
2026-07-23 10:11:24 +00:00
const tmp4 = ((ComplexAnimationBuilder) => {
2026-07-20 16:05:17 +00:00
class RollOutLeft {
constructor() {
2026-07-23 10:11:24 +00:00
tmp = outer1_1(this, concat);
2026-07-20 16:05:17 +00:00
length = arguments.length;
array = new Array(length);
for (let num = 0; num < length; num = num + 1) {
array[num] = arguments[num];
}
items = [];
2026-07-23 10:11:24 +00:00
tmp3 = outer1_10(this, concat, items.concat(array));
concat = tmp3;
2026-07-20 16:05:17 +00:00
tmp3.build = () => {
2026-07-23 10:11:24 +00:00
delayFunction = delayFunction.getDelayFunction();
const tmp2 = RollOutLeft(delayFunction.getAnimationAndConfig(), 2);
2026-07-20 16:05:17 +00:00
const first = tmp2[0];
2026-07-23 10:11:24 +00:00
let _defineProperties = tmp4;
const delay = delayFunction.getDelay();
const callbackV = delayFunction.callbackV;
const initialValues = delayFunction.initialValues;
2026-07-20 16:05:17 +00:00
/* worklet (recovered source) */ 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};}
2026-07-23 10:11:24 +00:00
pnpm_RollTs3.__closure = { delayFunction, delay, animation: first, config: tmp2[1], initialValues, callback: callbackV };
2026-07-20 16:05:17 +00:00
pnpm_RollTs3.__workletHash = 1569061887041;
2026-07-23 10:11:24 +00:00
pnpm_RollTs3.__initData = outer2_8;
2026-07-20 16:05:17 +00:00
return pnpm_RollTs3;
};
return tmp3;
}
}
callback3(RollOutLeft, ComplexAnimationBuilder);
2026-07-23 10:11:24 +00:00
let items = [
2026-07-20 16:05:17 +00:00
{
key: "createInstance",
value: function createInstance() {
return new RollOutLeft();
}
}
];
return callback(RollOutLeft, null, items);
2026-07-23 10:11:24 +00:00
})(require("BaseAnimationBuilder").ComplexAnimationBuilder);
2026-07-20 16:05:17 +00:00
tmp4.presetName = "RollOutLeft";
let closure_9 = { 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};}" };
2026-07-23 10:11:24 +00:00
const tmp5 = ((ComplexAnimationBuilder) => {
2026-07-20 16:05:17 +00:00
class RollOutRight {
constructor() {
2026-07-23 10:11:24 +00:00
tmp = outer1_1(this, concat);
2026-07-20 16:05:17 +00:00
length = arguments.length;
array = new Array(length);
for (let num = 0; num < length; num = num + 1) {
array[num] = arguments[num];
}
items = [];
2026-07-23 10:11:24 +00:00
tmp3 = outer1_10(this, concat, items.concat(array));
concat = tmp3;
2026-07-20 16:05:17 +00:00
tmp3.build = () => {
2026-07-23 10:11:24 +00:00
delayFunction = delayFunction.getDelayFunction();
const tmp2 = RollOutRight(delayFunction.getAnimationAndConfig(), 2);
2026-07-20 16:05:17 +00:00
const first = tmp2[0];
2026-07-23 10:11:24 +00:00
let _defineProperties = tmp4;
const delay = delayFunction.getDelay();
const callbackV = delayFunction.callbackV;
const initialValues = delayFunction.initialValues;
2026-07-20 16:05:17 +00:00
/* worklet (recovered source) */ 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};}
2026-07-23 10:11:24 +00:00
pnpm_RollTs4.__closure = { delayFunction, delay, animation: first, config: tmp2[1], initialValues, callback: callbackV };
2026-07-20 16:05:17 +00:00
pnpm_RollTs4.__workletHash = 9663216530406;
2026-07-23 10:11:24 +00:00
pnpm_RollTs4.__initData = outer2_9;
2026-07-20 16:05:17 +00:00
return pnpm_RollTs4;
};
return tmp3;
}
}
callback3(RollOutRight, ComplexAnimationBuilder);
2026-07-23 10:11:24 +00:00
let items = [
2026-07-20 16:05:17 +00:00
{
key: "createInstance",
value: function createInstance() {
return new RollOutRight();
}
}
];
return callback(RollOutRight, null, items);
2026-07-23 10:11:24 +00:00
})(require("BaseAnimationBuilder").ComplexAnimationBuilder);
2026-07-20 16:05:17 +00:00
tmp5.presetName = "RollOutRight";
export const RollInLeft = tmp2;
export const RollInRight = tmp3;
export const RollOutLeft = tmp4;
export const RollOutRight = tmp5;