312 lines
12 KiB
JavaScript
312 lines
12 KiB
JavaScript
// Metro module 1727 (f1728).
|
|
import _classCallCheck from "./_classCallCheck";
|
|
import _createClass from "./_createClass";
|
|
import _possibleConstructorReturn from "./_possibleConstructorReturn";
|
|
import _getPrototypeOf from "./_getPrototypeOf";
|
|
import _inherits from "./_inherits";
|
|
import * as _Module1678 from "./Module1678";
|
|
import { ComplexAnimationBuilder } from "./Module1676";
|
|
let c1400_7, c1400_8, c1400_9, c1400_10;
|
|
let LightSpeedInRight;
|
|
let LightSpeedInLeft;
|
|
let LightSpeedOutRight;
|
|
let LightSpeedOutLeft;
|
|
let env1400 = {};
|
|
env1400[6] = function _isNativeReflectConstruct() {
|
|
let c13183_0;
|
|
try {
|
|
c13183_0 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
} catch ($e) {}
|
|
const _isNativeReflectConstruct2 = function _isNativeReflectConstruct() {
|
|
return !!c13183_0;
|
|
};
|
|
env1400[6] = _isNativeReflectConstruct2;
|
|
return _isNativeReflectConstruct2();
|
|
};
|
|
c1400_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};}"
|
|
};
|
|
LightSpeedInRight = function LightSpeedInRight(...args) {
|
|
_classCallCheck(this, LightSpeedInRight);
|
|
const r10 = [...args];
|
|
const r9 = _getPrototypeOf(LightSpeedInRight);
|
|
const _this = _possibleConstructorReturn(this, (0, env1400[6])() ? Reflect.construct(r9, r10, _getPrototypeOf(this).constructor) : r9.apply(this, r10));
|
|
_this.build = () => {
|
|
const delayFunction = _this.getDelayFunction();
|
|
const [animation, config] = _this.getAnimationAndConfig();
|
|
let c28977_1 = animation;
|
|
let c28977_2 = config;
|
|
const delay = _this.getDelay();
|
|
const duration = _this.getDuration();
|
|
const { callbackV, initialValues } = _this;
|
|
const r21 = function n(a0) {
|
|
return {
|
|
animations: {
|
|
opacity: delayFunction(delay, _Module1678.withTiming(1, {
|
|
duration
|
|
})),
|
|
transform: [{
|
|
translateX: delayFunction(delay, c28977_1(0, {
|
|
...c28977_2,
|
|
duration: 0.7 * duration
|
|
}))
|
|
}, {
|
|
skewX: delayFunction(delay, _Module1678.withSequence(_Module1678.withTiming("10deg", {
|
|
duration: 0.7 * duration
|
|
}), _Module1678.withTiming("-5deg", {
|
|
duration: 0.15 * duration
|
|
}), _Module1678.withTiming("0deg", {
|
|
duration: 0.15 * duration
|
|
})))
|
|
}]
|
|
},
|
|
initialValues: {
|
|
opacity: 0,
|
|
transform: [{
|
|
translateX: a0.windowWidth
|
|
}, {
|
|
skewX: "-45deg"
|
|
}],
|
|
...initialValues
|
|
},
|
|
callback: callbackV
|
|
};
|
|
};
|
|
r21.__closure = {
|
|
delayFunction,
|
|
delay,
|
|
withTiming: _Module1678.withTiming,
|
|
duration,
|
|
animation,
|
|
config,
|
|
withSequence: _Module1678.withSequence,
|
|
initialValues,
|
|
callback: callbackV
|
|
};
|
|
r21.__workletHash = 14533434616043;
|
|
r21.__initData = c1400_7;
|
|
return r21;
|
|
};
|
|
return _this;
|
|
};
|
|
_inherits(LightSpeedInRight, ComplexAnimationBuilder);
|
|
const r38 = _createClass(LightSpeedInRight, null, [{
|
|
key: "createInstance",
|
|
value: function createInstance() {
|
|
const r3 = {
|
|
__proto__: LightSpeedInRight.prototype
|
|
};
|
|
const r4 = LightSpeedInRight.call(r3);
|
|
return r4 instanceof Object ? r4 : r3;
|
|
}
|
|
}]);
|
|
r38.presetName = "LightSpeedInRight";
|
|
c1400_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};}"
|
|
};
|
|
LightSpeedInLeft = function LightSpeedInLeft(...args) {
|
|
_classCallCheck(this, LightSpeedInLeft);
|
|
const r10 = [...args];
|
|
const r9 = _getPrototypeOf(LightSpeedInLeft);
|
|
const _this2 = _possibleConstructorReturn(this, (0, env1400[6])() ? Reflect.construct(r9, r10, _getPrototypeOf(this).constructor) : r9.apply(this, r10));
|
|
_this2.build = () => {
|
|
const delayFunction2 = _this2.getDelayFunction();
|
|
const [animation, config] = _this2.getAnimationAndConfig();
|
|
let c28978_1 = animation;
|
|
let c28978_2 = config;
|
|
const delay2 = _this2.getDelay();
|
|
const duration2 = _this2.getDuration();
|
|
const { callbackV: callbackV2, initialValues: initialValues2 } = _this2;
|
|
const r21 = function n(a0) {
|
|
return {
|
|
animations: {
|
|
opacity: delayFunction2(delay2, _Module1678.withTiming(1, {
|
|
duration: duration2
|
|
})),
|
|
transform: [{
|
|
translateX: delayFunction2(delay2, c28978_1(0, {
|
|
...c28978_2,
|
|
duration: 0.7 * duration2
|
|
}))
|
|
}, {
|
|
skewX: delayFunction2(delay2, _Module1678.withSequence(_Module1678.withTiming("-10deg", {
|
|
duration: 0.7 * duration2
|
|
}), _Module1678.withTiming("5deg", {
|
|
duration: 0.15 * duration2
|
|
}), _Module1678.withTiming("0deg", {
|
|
duration: 0.15 * duration2
|
|
})))
|
|
}]
|
|
},
|
|
initialValues: {
|
|
opacity: 0,
|
|
transform: [{
|
|
translateX: -a0.windowWidth
|
|
}, {
|
|
skewX: "45deg"
|
|
}],
|
|
...initialValues2
|
|
},
|
|
callback: callbackV2
|
|
};
|
|
};
|
|
r21.__closure = {
|
|
delayFunction: delayFunction2,
|
|
delay: delay2,
|
|
withTiming: _Module1678.withTiming,
|
|
duration: duration2,
|
|
animation,
|
|
config,
|
|
withSequence: _Module1678.withSequence,
|
|
initialValues: initialValues2,
|
|
callback: callbackV2
|
|
};
|
|
r21.__workletHash = 7816705328872;
|
|
r21.__initData = c1400_8;
|
|
return r21;
|
|
};
|
|
return _this2;
|
|
};
|
|
_inherits(LightSpeedInLeft, ComplexAnimationBuilder);
|
|
const r49 = _createClass(LightSpeedInLeft, null, [{
|
|
key: "createInstance",
|
|
value: function createInstance() {
|
|
const r3 = {
|
|
__proto__: LightSpeedInLeft.prototype
|
|
};
|
|
const r4 = LightSpeedInLeft.call(r3);
|
|
return r4 instanceof Object ? r4 : r3;
|
|
}
|
|
}]);
|
|
r49.presetName = "LightSpeedInLeft";
|
|
c1400_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};}"
|
|
};
|
|
LightSpeedOutRight = function LightSpeedOutRight(...args) {
|
|
_classCallCheck(this, LightSpeedOutRight);
|
|
const r10 = [...args];
|
|
const r9 = _getPrototypeOf(LightSpeedOutRight);
|
|
const _this3 = _possibleConstructorReturn(this, (0, env1400[6])() ? Reflect.construct(r9, r10, _getPrototypeOf(this).constructor) : r9.apply(this, r10));
|
|
_this3.build = () => {
|
|
const delayFunction3 = _this3.getDelayFunction();
|
|
const [animation, config] = _this3.getAnimationAndConfig();
|
|
let c28979_1 = animation;
|
|
let c28979_2 = config;
|
|
const delay3 = _this3.getDelay();
|
|
const { callbackV: callbackV3, initialValues: initialValues3 } = _this3;
|
|
const r18 = function n(a0) {
|
|
return {
|
|
animations: {
|
|
opacity: delayFunction3(delay3, c28979_1(0, c28979_2)),
|
|
transform: [{
|
|
translateX: delayFunction3(delay3, c28979_1(a0.windowWidth, c28979_2))
|
|
}, {
|
|
skewX: delayFunction3(delay3, c28979_1("-45deg", c28979_2))
|
|
}]
|
|
},
|
|
initialValues: {
|
|
opacity: 1,
|
|
transform: [{
|
|
translateX: 0
|
|
}, {
|
|
skewX: "0deg"
|
|
}],
|
|
...initialValues3
|
|
},
|
|
callback: callbackV3
|
|
};
|
|
};
|
|
r18.__closure = {
|
|
delayFunction: delayFunction3,
|
|
delay: delay3,
|
|
animation,
|
|
config,
|
|
initialValues: initialValues3,
|
|
callback: callbackV3
|
|
};
|
|
r18.__workletHash = 222611120175;
|
|
r18.__initData = c1400_9;
|
|
return r18;
|
|
};
|
|
return _this3;
|
|
};
|
|
_inherits(LightSpeedOutRight, ComplexAnimationBuilder);
|
|
const r60 = _createClass(LightSpeedOutRight, null, [{
|
|
key: "createInstance",
|
|
value: function createInstance() {
|
|
const r3 = {
|
|
__proto__: LightSpeedOutRight.prototype
|
|
};
|
|
const r4 = LightSpeedOutRight.call(r3);
|
|
return r4 instanceof Object ? r4 : r3;
|
|
}
|
|
}]);
|
|
r60.presetName = "LightSpeedOutRight";
|
|
c1400_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};}"
|
|
};
|
|
LightSpeedOutLeft = function LightSpeedOutLeft(...args) {
|
|
_classCallCheck(this, LightSpeedOutLeft);
|
|
const r10 = [...args];
|
|
const r9 = _getPrototypeOf(LightSpeedOutLeft);
|
|
const _this4 = _possibleConstructorReturn(this, (0, env1400[6])() ? Reflect.construct(r9, r10, _getPrototypeOf(this).constructor) : r9.apply(this, r10));
|
|
_this4.build = () => {
|
|
const delayFunction4 = _this4.getDelayFunction();
|
|
const [animation, config] = _this4.getAnimationAndConfig();
|
|
let c28980_1 = animation;
|
|
let c28980_2 = config;
|
|
const delay4 = _this4.getDelay();
|
|
const { callbackV: callbackV4, initialValues: initialValues4 } = _this4;
|
|
const r18 = function n(a0) {
|
|
return {
|
|
animations: {
|
|
opacity: delayFunction4(delay4, c28980_1(0, c28980_2)),
|
|
transform: [{
|
|
translateX: delayFunction4(delay4, c28980_1(-a0.windowWidth, c28980_2))
|
|
}, {
|
|
skewX: delayFunction4(delay4, c28980_1("45deg", c28980_2))
|
|
}]
|
|
},
|
|
initialValues: {
|
|
opacity: 1,
|
|
transform: [{
|
|
translateX: 0
|
|
}, {
|
|
skewX: "0deg"
|
|
}],
|
|
...initialValues4
|
|
},
|
|
callback: callbackV4
|
|
};
|
|
};
|
|
r18.__closure = {
|
|
delayFunction: delayFunction4,
|
|
delay: delay4,
|
|
animation,
|
|
config,
|
|
initialValues: initialValues4,
|
|
callback: callbackV4
|
|
};
|
|
r18.__workletHash = 766058259752;
|
|
r18.__initData = c1400_10;
|
|
return r18;
|
|
};
|
|
return _this4;
|
|
};
|
|
_inherits(LightSpeedOutLeft, ComplexAnimationBuilder);
|
|
const r72 = _createClass(LightSpeedOutLeft, null, [{
|
|
key: "createInstance",
|
|
value: function createInstance() {
|
|
const r3 = {
|
|
__proto__: LightSpeedOutLeft.prototype
|
|
};
|
|
const r4 = LightSpeedOutLeft.call(r3);
|
|
return r4 instanceof Object ? r4 : r3;
|
|
}
|
|
}]);
|
|
r72.presetName = "LightSpeedOutLeft";
|
|
export { r38 as LightSpeedInRight };
|
|
export { r49 as LightSpeedInLeft };
|
|
export { r60 as LightSpeedOutRight };
|
|
export { r72 as LightSpeedOutLeft };
|