// Metro module 14932 (f14933). import { DM_WIDTH } from "../../../Constants"; import { createWithEqualityFn } from "../../../_bundle/identity_700"; import { makeMutable } from "../../reanimated/ReanimatedRexport"; import { shallow } from "../../../_bundle/Module3802"; const withEqualityFn = createWithEqualityFn((c21463_0, c21463_1) => ({ panelX: makeMutable(0), gestureState: makeMutable({ active: false, initialX: 0, initialY: 0, panelX: 0 }), maxX: 0, lastInteractionAt: { current: 0 }, isPanelTouchActive: makeMutable(false), setPanelX: (a0) => { const r11 = c21463_1(); const { panelX, gestureState, maxX } = r11; if (a0 === "open") { panelX.set(maxX); } else { panelX.set(0); } gestureState.set({ ...gestureState.get(), active: false }); }, updateMaxX: (a0, a1) => { c21463_0({ maxX: a0.width - a1.left - a1.right - DM_WIDTH - 8 + 8 }); }, noteInteraction: () => { c21463_1().lastInteractionAt.current = Date.now(); } }), shallow); export default withEqualityFn; export function computeMaxX(a0, a1) { return a0.width - a1.left - a1.right - DM_WIDTH - 8 + 8; }