decord/source/1775__isNativeReflectConstruct.js

319 lines
14 KiB
JavaScript
Raw Normal View History

2026-08-11 06:20:06 +00:00
// Module ID: 1775
// Function ID: 1776
2026-07-29 08:29:29 +00:00
// Name: _isNativeReflectConstruct
2026-08-15 05:55:55 +00:00
// Dependencies: [32, 41, 42, 93, 95, 98, 1726, 1724]
2026-07-29 08:29:29 +00:00
2026-08-11 06:20:06 +00:00
// Module 1775 (_isNativeReflectConstruct)
2026-08-24 06:08:38 +00:00
import closure_2 from "_slicedToArray" /* 32 */;
import closure_3 from "_classCallCheck" /* 41 */;
import importDefaultResult from "_createClass" /* 42 */;
import closure_4 from "_possibleConstructorReturn" /* 93 */;
import closure_5 from "_getPrototypeOf" /* 95 */;
import importDefaultResult1 from "_inherits" /* 98 */;
2026-07-29 08:29:29 +00:00
2026-08-15 05:55:55 +00:00
let LightSpeedOutLeft = arg1;
2026-07-29 08:29:29 +00:00
function _isNativeReflectConstruct() {
try {
const _Boolean = Boolean;
const call = valueOf.call;
const _Reflect = Reflect;
const _Boolean2 = Boolean;
if (typeof call === "unknown") {
let callResult = valueOf();
} else {
callResult = call(constructResult);
}
2026-08-24 06:08:38 +00:00
closure_0 = !callResult;
_isNativeReflectConstruct = function _isNativeReflectConstruct() {
2026-07-29 08:29:29 +00:00
return closure_0;
2026-08-24 06:08:38 +00:00
};
2026-07-29 08:29:29 +00:00
return _isNativeReflectConstruct();
} catch (err) {
}
}
2026-08-15 05:55:55 +00:00
let closure_7 = { code: "function pnpm_LightspeedTs1(values){const{delayFunction,delay,withTiming,duration,animation,config,withSequence,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,withTiming(1,{duration:duration})),transform:[{translateX:delayFunction(delay,animation(0,{...config,duration:duration*0.7}))},{skewX:delayFunction(delay,withSequence(withTiming('10deg',{duration:duration*0.7}),withTiming('-5deg',{duration:duration*0.15}),withTiming('0deg',{duration:duration*0.15})))}]},initialValues:{opacity:0,transform:[{translateX:values.windowWidth},{skewX:'-45deg'}],...initialValues},callback:callback};}" };
class LightSpeedInRight {
2026-07-29 08:29:29 +00:00
constructor() {
self = this;
items = [...arguments];
2026-08-24 06:08:38 +00:00
closure_0 = undefined;
tmp = closure_3(this, closure_0);
2026-07-29 08:29:29 +00:00
items1 = [...items];
2026-08-24 06:08:38 +00:00
tmp2 = closure_5;
obj = closure_5(closure_0);
tmp3 = closure_4;
2026-07-29 08:29:29 +00:00
if (_isNativeReflectConstruct()) {
tmp5 = globalThis;
_Reflect = Reflect;
constructResult = Reflect.construct(obj, items1, tmp2(self).constructor);
} else {
constructResult = obj.apply(self, items1);
}
tmp3Result = tmp3(self, constructResult);
2026-08-24 06:08:38 +00:00
closure_0 = tmp3Result;
2026-07-29 08:29:29 +00:00
tmp3Result.build = () => {
delayFunction = delayFunction.getDelayFunction();
2026-08-24 06:08:38 +00:00
const tmp2 = closure_1_2(delayFunction.getAnimationAndConfig(), 2);
2026-07-29 08:29:29 +00:00
const first = tmp2[0];
2026-08-24 06:08:38 +00:00
closure_2 = tmp4;
2026-07-29 08:29:29 +00:00
const delay = delayFunction.getDelay();
2026-08-15 05:55:55 +00:00
const duration = delayFunction.getDuration();
2026-07-29 08:29:29 +00:00
const callbackV = delayFunction.callbackV;
const initialValues = delayFunction.initialValues;
2026-08-15 05:55:55 +00:00
const fn = function n(translateX) {
2026-07-29 08:29:29 +00:00
let obj = { animations: null, initialValues: null, callback: null };
2026-08-15 05:55:55 +00:00
obj = { opacity: null, transform: null };
let obj2 = delayFunction(first[6]);
obj = { duration };
obj[0] = delayFunction(delay, obj2.withTiming(1, obj));
2026-08-24 06:08:38 +00:00
obj1 = { translateX: null };
2026-08-15 05:55:55 +00:00
obj2 = {};
2026-08-24 06:08:38 +00:00
const merged = Object.assign(closure_2);
2026-08-15 05:55:55 +00:00
obj2.duration = 0.7 * duration;
obj1[0] = delayFunction(delay, first(0, obj2));
const items = [obj1, ];
const obj3 = { skewX: null };
let obj7 = delayFunction(first[6]);
let obj8 = delayFunction(first[6]);
const obj4 = { duration: 0.7 * duration };
const withTimingResult = obj8.withTiming("10deg", { duration: 0.7 * duration });
const obj11 = delayFunction(first[6]);
const obj5 = { duration: 0.15 * duration };
const withTimingResult1 = delayFunction(first[6]).withTiming("-5deg", { duration: 0.15 * duration });
obj3[0] = delayFunction(delay, obj7.withSequence(withTimingResult, withTimingResult1, delayFunction(first[6]).withTiming("0deg", { duration: 0.15 * duration })));
items[1] = obj3;
2026-07-29 08:29:29 +00:00
obj[1] = items;
obj[0] = obj;
2026-08-15 05:55:55 +00:00
obj7 = { opacity: 0, transform: items1 };
obj8 = { translateX: translateX.windowWidth };
items1 = [obj8, { skewX: "-45deg" }];
const merged1 = Object.assign(initialValues);
obj[1] = obj7;
2026-07-29 08:29:29 +00:00
obj[2] = callbackV;
return obj;
};
2026-08-24 06:08:38 +00:00
fn.__closure = { delayFunction, delay, withTiming: callback(closure_1_1[6]).withTiming, duration, animation: first, config: tmp2[1], withSequence: callback(closure_1_1[6]).withSequence, initialValues, callback: callbackV };
2026-08-15 05:55:55 +00:00
fn.__workletHash = 14533434616043;
2026-08-24 06:08:38 +00:00
fn.__initData = closure_1_7;
2026-07-29 08:29:29 +00:00
return fn;
};
return tmp3Result;
}
}
2026-08-15 05:55:55 +00:00
LightSpeedOutLeft = LightSpeedInRight;
importDefaultResult1(LightSpeedInRight, require("BaseAnimationBuilder").ComplexAnimationBuilder);
2026-07-29 08:29:29 +00:00
let obj = {
key: "createInstance",
value: function createInstance() {
2026-08-15 05:55:55 +00:00
return LightSpeedOutLeft();
2026-07-29 08:29:29 +00:00
}
};
let items = [obj];
2026-08-15 05:55:55 +00:00
const importDefaultResultResult = importDefaultResult(LightSpeedInRight, null, items);
importDefaultResultResult.presetName = "LightSpeedInRight";
let closure_8 = { code: "function pnpm_LightspeedTs2(values){const{delayFunction,delay,withTiming,duration,animation,config,withSequence,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,withTiming(1,{duration:duration})),transform:[{translateX:delayFunction(delay,animation(0,{...config,duration:duration*0.7}))},{skewX:delayFunction(delay,withSequence(withTiming('-10deg',{duration:duration*0.7}),withTiming('5deg',{duration:duration*0.15}),withTiming('0deg',{duration:duration*0.15})))}]},initialValues:{opacity:0,transform:[{translateX:-values.windowWidth},{skewX:'45deg'}],...initialValues},callback:callback};}" };
class LightSpeedInLeft {
constructor() {
self = this;
items = [...arguments];
2026-08-24 06:08:38 +00:00
closure_0 = undefined;
tmp = closure_3(this, closure_0);
2026-08-15 05:55:55 +00:00
items1 = [...items];
2026-08-24 06:08:38 +00:00
tmp2 = closure_5;
obj = closure_5(closure_0);
tmp3 = closure_4;
2026-08-15 05:55:55 +00:00
if (_isNativeReflectConstruct()) {
tmp5 = globalThis;
_Reflect = Reflect;
constructResult = Reflect.construct(obj, items1, tmp2(self).constructor);
} else {
constructResult = obj.apply(self, items1);
}
tmp3Result = tmp3(self, constructResult);
2026-08-24 06:08:38 +00:00
closure_0 = tmp3Result;
2026-08-15 05:55:55 +00:00
tmp3Result.build = () => {
delayFunction = delayFunction.getDelayFunction();
2026-08-24 06:08:38 +00:00
const tmp2 = closure_1_2(delayFunction.getAnimationAndConfig(), 2);
2026-08-15 05:55:55 +00:00
const first = tmp2[0];
2026-08-24 06:08:38 +00:00
closure_2 = tmp4;
2026-08-15 05:55:55 +00:00
const delay = delayFunction.getDelay();
const duration = delayFunction.getDuration();
const callbackV = delayFunction.callbackV;
const initialValues = delayFunction.initialValues;
const fn = function n(translateX) {
let obj = { animations: null, initialValues: null, callback: null };
obj = { opacity: null, transform: null };
let obj2 = delayFunction(first[6]);
obj = { duration };
obj[0] = delayFunction(delay, obj2.withTiming(1, obj));
2026-08-24 06:08:38 +00:00
obj1 = { translateX: null };
2026-08-15 05:55:55 +00:00
obj2 = {};
2026-08-24 06:08:38 +00:00
const merged = Object.assign(closure_2);
2026-08-15 05:55:55 +00:00
obj2.duration = 0.7 * duration;
obj1[0] = delayFunction(delay, first(0, obj2));
const items = [obj1, ];
const obj3 = { skewX: null };
let obj7 = delayFunction(first[6]);
let obj8 = delayFunction(first[6]);
const obj4 = { duration: 0.7 * duration };
const withTimingResult = obj8.withTiming("-10deg", { duration: 0.7 * duration });
const obj11 = delayFunction(first[6]);
const obj5 = { duration: 0.15 * duration };
const withTimingResult1 = delayFunction(first[6]).withTiming("5deg", { duration: 0.15 * duration });
obj3[0] = delayFunction(delay, obj7.withSequence(withTimingResult, withTimingResult1, delayFunction(first[6]).withTiming("0deg", { duration: 0.15 * duration })));
items[1] = obj3;
obj[1] = items;
obj[0] = obj;
obj7 = { opacity: 0, transform: items1 };
obj8 = { translateX: -translateX.windowWidth };
items1 = [obj8, { skewX: "45deg" }];
const merged1 = Object.assign(initialValues);
obj[1] = obj7;
obj[2] = callbackV;
return obj;
};
2026-08-24 06:08:38 +00:00
fn.__closure = { delayFunction, delay, withTiming: callback(closure_1_1[6]).withTiming, duration, animation: first, config: tmp2[1], withSequence: callback(closure_1_1[6]).withSequence, initialValues, callback: callbackV };
2026-08-15 05:55:55 +00:00
fn.__workletHash = 7816705328872;
2026-08-24 06:08:38 +00:00
fn.__initData = closure_1_8;
2026-08-15 05:55:55 +00:00
return fn;
};
return tmp3Result;
}
}
LightSpeedOutLeft = LightSpeedInLeft;
importDefaultResult1(LightSpeedInLeft, require("BaseAnimationBuilder").ComplexAnimationBuilder);
obj = {
key: "createInstance",
value: function createInstance() {
return LightSpeedOutLeft();
}
};
let items1 = [obj];
const importDefaultResultResult1 = importDefaultResult(LightSpeedInLeft, null, items1);
importDefaultResultResult1.presetName = "LightSpeedInLeft";
let closure_9 = { code: "function pnpm_LightspeedTs3(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(0,config)),transform:[{translateX:delayFunction(delay,animation(values.windowWidth,config))},{skewX:delayFunction(delay,animation('-45deg',config))}]},initialValues:{opacity:1,transform:[{translateX:0},{skewX:'0deg'}],...initialValues},callback:callback};}" };
class LightSpeedOutRight {
2026-07-29 08:29:29 +00:00
constructor() {
self = this;
items = [...arguments];
2026-08-24 06:08:38 +00:00
closure_0 = undefined;
tmp = closure_3(this, closure_0);
2026-07-29 08:29:29 +00:00
items1 = [...items];
2026-08-24 06:08:38 +00:00
tmp2 = closure_5;
obj = closure_5(closure_0);
tmp3 = closure_4;
2026-07-29 08:29:29 +00:00
if (_isNativeReflectConstruct()) {
tmp5 = globalThis;
_Reflect = Reflect;
constructResult = Reflect.construct(obj, items1, tmp2(self).constructor);
} else {
constructResult = obj.apply(self, items1);
}
tmp3Result = tmp3(self, constructResult);
2026-08-24 06:08:38 +00:00
closure_0 = tmp3Result;
2026-07-29 08:29:29 +00:00
tmp3Result.build = () => {
delayFunction = delayFunction.getDelayFunction();
2026-08-24 06:08:38 +00:00
const tmp2 = closure_1_2(delayFunction.getAnimationAndConfig(), 2);
2026-07-29 08:29:29 +00:00
const first = tmp2[0];
2026-08-24 06:08:38 +00:00
closure_2 = tmp4;
2026-07-29 08:29:29 +00:00
const delay = delayFunction.getDelay();
const callbackV = delayFunction.callbackV;
const initialValues = delayFunction.initialValues;
2026-08-15 05:55:55 +00:00
const fn = function n(windowWidth) {
2026-07-29 08:29:29 +00:00
let obj = { animations: null, initialValues: null, callback: null };
2026-08-24 06:08:38 +00:00
obj = { opacity: delayFunction(delay, first(0, closure_2)), transform: null };
obj = { translateX: delayFunction(delay, first(windowWidth.windowWidth, closure_2)) };
const items = [obj, { skewX: delayFunction(delay, first("-45deg", closure_2)) }];
2026-07-29 08:29:29 +00:00
obj[1] = items;
obj[0] = obj;
2026-08-15 05:55:55 +00:00
const items1 = [{ translateX: 0 }, { skewX: "0deg" }];
2026-07-29 08:29:29 +00:00
const merged = Object.assign(initialValues);
obj[1] = { opacity: 1, transform: items1 };
obj[2] = callbackV;
return obj;
};
fn.__closure = { delayFunction, delay, animation: first, config: tmp2[1], initialValues, callback: callbackV };
2026-08-15 05:55:55 +00:00
fn.__workletHash = 222611120175;
2026-08-24 06:08:38 +00:00
fn.__initData = closure_1_9;
2026-07-29 08:29:29 +00:00
return fn;
};
return tmp3Result;
}
}
2026-08-15 05:55:55 +00:00
LightSpeedOutLeft = LightSpeedOutRight;
importDefaultResult1(LightSpeedOutRight, require("BaseAnimationBuilder").ComplexAnimationBuilder);
2026-07-29 08:29:29 +00:00
obj = {
key: "createInstance",
value: function createInstance() {
2026-08-15 05:55:55 +00:00
return LightSpeedOutLeft();
2026-07-29 08:29:29 +00:00
}
};
2026-08-15 05:55:55 +00:00
const items2 = [obj];
const importDefaultResultResult2 = importDefaultResult(LightSpeedOutRight, null, items2);
importDefaultResultResult2.presetName = "LightSpeedOutRight";
let closure_10 = { code: "function pnpm_LightspeedTs4(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{opacity:delayFunction(delay,animation(0,config)),transform:[{translateX:delayFunction(delay,animation(-values.windowWidth,config))},{skewX:delayFunction(delay,animation('45deg',config))}]},initialValues:{opacity:1,transform:[{translateX:0},{skewX:'0deg'}],...initialValues},callback:callback};}" };
class LightSpeedOutLeft {
constructor() {
self = this;
items = [...arguments];
2026-08-24 06:08:38 +00:00
closure_0 = undefined;
tmp = closure_3(this, closure_0);
2026-08-15 05:55:55 +00:00
items1 = [...items];
2026-08-24 06:08:38 +00:00
tmp2 = closure_5;
obj = closure_5(closure_0);
tmp3 = closure_4;
2026-08-15 05:55:55 +00:00
if (_isNativeReflectConstruct()) {
tmp5 = globalThis;
_Reflect = Reflect;
constructResult = Reflect.construct(obj, items1, tmp2(self).constructor);
} else {
constructResult = obj.apply(self, items1);
}
tmp3Result = tmp3(self, constructResult);
2026-08-24 06:08:38 +00:00
closure_0 = tmp3Result;
2026-08-15 05:55:55 +00:00
tmp3Result.build = () => {
delayFunction = delayFunction.getDelayFunction();
2026-08-24 06:08:38 +00:00
const tmp2 = closure_1_2(delayFunction.getAnimationAndConfig(), 2);
2026-08-15 05:55:55 +00:00
const first = tmp2[0];
2026-08-24 06:08:38 +00:00
closure_2 = tmp4;
2026-08-15 05:55:55 +00:00
const delay = delayFunction.getDelay();
const callbackV = delayFunction.callbackV;
const initialValues = delayFunction.initialValues;
const fn = function n(windowWidth) {
let obj = { animations: null, initialValues: null, callback: null };
2026-08-24 06:08:38 +00:00
obj = { opacity: delayFunction(delay, first(0, closure_2)), transform: null };
obj = { translateX: delayFunction(delay, first(-windowWidth.windowWidth, closure_2)) };
const items = [obj, { skewX: delayFunction(delay, first("45deg", closure_2)) }];
2026-08-15 05:55:55 +00:00
obj[1] = items;
obj[0] = obj;
const items1 = [{ translateX: 0 }, { skewX: "0deg" }];
const merged = Object.assign(initialValues);
obj[1] = { opacity: 1, transform: items1 };
obj[2] = callbackV;
return obj;
};
fn.__closure = { delayFunction, delay, animation: first, config: tmp2[1], initialValues, callback: callbackV };
fn.__workletHash = 766058259752;
2026-08-24 06:08:38 +00:00
fn.__initData = closure_1_10;
2026-08-15 05:55:55 +00:00
return fn;
};
return tmp3Result;
}
}
importDefaultResult1(LightSpeedOutLeft, require("BaseAnimationBuilder").ComplexAnimationBuilder);
const items3 = [
{
key: "createInstance",
value: function createInstance() {
return LightSpeedOutLeft();
}
}
];
const importDefaultResultResult3 = importDefaultResult(LightSpeedOutLeft, null, items3);
importDefaultResultResult3.presetName = "LightSpeedOutLeft";
2026-07-29 08:29:29 +00:00
2026-08-15 05:55:55 +00:00
export const LightSpeedInRight = importDefaultResultResult;
export const LightSpeedInLeft = importDefaultResultResult1;
export const LightSpeedOutRight = importDefaultResultResult2;
export const LightSpeedOutLeft = importDefaultResultResult3;