// Metro module 399 (f400). import AnimatedValue from "./AnimatedValue"; import AnimatedValueXY from "./AnimatedValueXY"; import processColor from "./processColor_374"; import mapStringToNumericComponents from "./mapStringToNumericComponents"; import AnimatedNode from "./AnimatedNode"; import maybeVectorAnim from "./maybeVectorAnim"; import createAnimatedComponent from "./createAnimatedComponent"; import { attachNativeEventImpl, AnimatedEvent } from "./AnimatedEvent"; function $mk66501($env) { return (a0) => { let env23774 = { $parent: $env.$parent }; let r2 = a0; env23774[0] = a0; const r5 = $env[0]; if (a0 != null) { r2 = function(...args) { const r2 = env23774.$parent; if (r2[0]) { console.warn("Ignoring recursive animation callback when running mock animations"); } else { r2[0] = true; try { env23774[0].apply(void 0, [...args]); } catch (r18) { r2[0] = false; throw r18; } r2[0] = false; } }; } r5(r2); }; } function $mk66502($env) { return (a0) => { $env[0].forEach((item) => item.start()); if (a0 != null) { a0({ finished: true }); } }; } let mockCompositeAnimation; let env426 = {}; const c426_0 = false; const c426_1 = { start: () => {}, stop: () => {}, reset: () => {}, _startNativeLoop: () => {}, _isUsingNativeDriver: () => false }; mockCompositeAnimation = (a0) => {}; export default { Value: AnimatedValue, ValueXY: AnimatedValueXY, Color: processColor, Interpolation: mapStringToNumericComponents, Node: AnimatedNode, decay: function decay(a0, a1) { return c426_1; }, timing: function timing(c12304_1, c12304_0) { let env12305; const r8 = env12305 = { $parent: env426 }; env12305[0] = (a0) => { c12304_1.setValue(c12304_0.toValue); if (a0 != null) { a0({ finished: true }); } }; return { ...c426_1, start: $mk66501(r8) }; }, spring: function spring(c12306_1, c12306_0) { let env12307; const r8 = env12307 = { $parent: env426 }; env12307[0] = (a0) => { c12306_1.setValue(c12306_0.toValue); if (a0 != null) { a0({ finished: true }); } }; return { ...c426_1, start: $mk66501(r8) }; }, add: maybeVectorAnim.add, subtract: maybeVectorAnim.subtract, divide: maybeVectorAnim.divide, multiply: maybeVectorAnim.multiply, modulo: maybeVectorAnim.modulo, diffClamp: maybeVectorAnim.diffClamp, delay: function delay(a0) { return c426_1; }, sequence: function sequence(a0) { let env12308; let env12309; const r2 = env12308 = {}; env12308[0] = a0; const r10 = env12309 = { $parent: env426 }; env12309[0] = $mk66502(r2); return { ...c426_1, start: $mk66501(r10) }; }, parallel: function parallel(a0, a1) { let env12310; let env12311; const r2 = env12310 = {}; env12310[0] = a0; const r10 = env12311 = { $parent: env426 }; env12311[0] = $mk66502(r2); return { ...c426_1, start: $mk66501(r10) }; }, stagger: function stagger(a0, a1) { let env12312; let env12313; const r2 = env12312 = {}; env12312[0] = a1; const r10 = env12313 = { $parent: env426 }; env12313[0] = $mk66502(r2); return { ...c426_1, start: $mk66501(r10) }; }, loop: function loop(a0, r2 = {}) { r2.iterations; return c426_1; }, event: maybeVectorAnim.event, createAnimatedComponent, attachNativeEvent: attachNativeEventImpl, forkEvent: maybeVectorAnim.forkEvent, unforkEvent: maybeVectorAnim.unforkEvent, Event: AnimatedEvent };