// Metro module 1790 (f1791). import { configureProps } from "./configureProps"; import * as _createViewDescriptorPaper from "./createViewDescriptorPaper"; import * as _computeEasingProgress from "./computeEasingProgress"; let getLockAxis; configureProps(); export function startScreenTransition(a0) { const { stackTag, sharedEvent } = a0; sharedEvent.addListener(stackTag, () => { _createViewDescriptorPaper.applyStyle(a0, sharedEvent.value); }); } startScreenTransition.__closure = { applyStyle: _createViewDescriptorPaper.applyStyle }; startScreenTransition.__workletHash = 9428952089760; startScreenTransition.__initData = { code: "function startScreenTransition_Pnpm_animationManagerTs1(screenTransitionConfig){const{applyStyle}=this.__closure;const{stackTag:stackTag,sharedEvent:sharedEvent}=screenTransitionConfig;sharedEvent.addListener(stackTag,function(){applyStyle(screenTransitionConfig,sharedEvent.value);});}" }; const getLockAxis2 = function getLockAxis(a0) { return ["swipeRight", "swipeLeft", "horizontalSwipe"].includes(a0) ? "x" : ["swipeUp", "swipeDown", "verticalSwipe"].includes(a0) ? "y" : void 0; }; getLockAxis2.__closure = {}; getLockAxis2.__workletHash = 16916946798878; getLockAxis2.__initData = { code: "function getLockAxis_Pnpm_animationManagerTs2(goBackGesture){if(['swipeRight','swipeLeft','horizontalSwipe'].includes(goBackGesture)){return'x';}else if(['swipeUp','swipeDown','verticalSwipe'].includes(goBackGesture)){return'y';}return undefined;}" }; getLockAxis = getLockAxis2; export function finishScreenTransition(a0) { const { stackTag, sharedEvent: sharedEvent2, goBackGesture } = a0; sharedEvent2.removeListener(stackTag); _computeEasingProgress.getSwipeSimulator(sharedEvent2.value, a0, ["swipeRight", "swipeLeft", "horizontalSwipe"].includes(goBackGesture) ? "x" : ["swipeUp", "swipeDown", "verticalSwipe"].includes(goBackGesture) ? "y" : void 0)(); } finishScreenTransition.__closure = { getLockAxis, getSwipeSimulator: _computeEasingProgress.getSwipeSimulator }; finishScreenTransition.__workletHash = 6937010294861; finishScreenTransition.__initData = { code: "function finishScreenTransition_Pnpm_animationManagerTs3(screenTransitionConfig){const{getLockAxis,getSwipeSimulator}=this.__closure;const{stackTag:stackTag,sharedEvent:sharedEvent,goBackGesture:goBackGesture}=screenTransitionConfig;sharedEvent.removeListener(stackTag);const lockAxis=getLockAxis(goBackGesture);const step=getSwipeSimulator(sharedEvent.value,screenTransitionConfig,lockAxis);step();}" };