This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+56
View File
@@ -0,0 +1,56 @@
// Metro module 387 (f388).
import createAnimatedPropsHook from "./createAnimatedPropsHook";
function $mk66489($env) {
return (a0) => {
const r3 = $env;
const r4 = $env.$parent;
let env23768 = {
$parent: r4
};
const { ref, ...rest } = a0;
env23768[0] = void 0;
env23768[1] = void 0;
const r18 = (0, r4[2])((0, r3[1])(rest), 2);
const r19 = r18[0];
const r20 = r18[1];
const ref2 = (0, r4[0])(r4[1][4])(r20, ref);
const { passthroughAnimatedPropExplicitValues, style } = r19;
env23768[0] = style;
const style2 = passthroughAnimatedPropExplicitValues?.style;
env23768[1] = style2;
return r4[4](r3[0], {
...r19,
...passthroughAnimatedPropExplicitValues,
style: (0, r4[3])(() => {
const r2 = env23768.$parent;
return (0, r2[0])(r2[1][5])(env23768[0], env23768[1]);
}, [style2, style]),
ref: ref2
});
};
}
let env418 = {};
export default function createAnimatedComponent(a0) {
let env12300;
const r2 = env12300 = {
$parent: env418
};
env12300[0] = a0;
env12300[1] = createAnimatedPropsHook(null);
const r6 = a0.displayName || "Anonymous";
const r11 = $mk66489(r2);
r11.displayName = `Animated(${r6})`;
return r11;
};
export function unstable_createAnimatedComponentWithAllowlist(a0, a1) {
let env12299;
const r1 = env12299 = {
$parent: env418
};
env12299[0] = a0;
env12299[1] = createAnimatedPropsHook(a1);
const r5 = a0.displayName || "Anonymous";
const r11 = $mk66489(r1);
r11.displayName = `Animated(${r5})`;
return r11;
}