{"version":3,"file":"MonsterLabMotionSystem.Cdlu9eGA.mjs","names":[],"sources":["https:/framerusercontent.com/modules/g0skwy6eaVyjbEisXjev/TOFCljHgW8Coz7Rs4A1B/MonsterLabMotionSystem.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useIsStaticRenderer}from\"framer\";import{useReducedMotion}from\"framer-motion\";const EASE=[.22,1,.36,1];const VIEWPORT={once:true,amount:.18,margin:\"0px 0px -8% 0px\"};function useMotionEnabled(){const isStatic=useIsStaticRenderer();const reduce=useReducedMotion();return!isStatic&&!reduce;}function revealOverride(Component,options){return function MonsterLabReveal(props){const enabled=useMotionEnabled();const scale=options.scale??1;const motionProps=enabled?{initial:{opacity:0,y:options.y,scale},whileInView:{opacity:1,y:0,scale:1},viewport:{...VIEWPORT,amount:options.amount??VIEWPORT.amount},transition:{duration:options.duration,delay:options.delay??0,ease:EASE}}:{initial:false,animate:{opacity:1,y:0,scale:1},transition:{duration:0}};return /*#__PURE__*/_jsx(Component,{...props,...motionProps});};}export function withTitleReveal(Component){return revealOverride(Component,{y:16,duration:.56,amount:.3});}export function withTextReveal(Component){return revealOverride(Component,{y:12,duration:.48,delay:.05,amount:.3});}export function withProductReveal(Component){return revealOverride(Component,{y:18,scale:.992,duration:.62,amount:.12});}export function withMetricReveal(Component){return revealOverride(Component,{y:10,scale:.995,duration:.52,amount:.25});}export function withSectionReveal(Component){return revealOverride(Component,{y:14,duration:.58,amount:.08});}function cardOverride(Component,delay){return function MonsterLabCardMotion(props){const enabled=useMotionEnabled();const motionProps=enabled?{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},whileHover:{y:-2,scale:1.008},whileTap:{scale:.992},viewport:VIEWPORT,transition:{duration:.5,delay,ease:EASE}}:{initial:false,animate:{opacity:1,y:0,scale:1},transition:{duration:0}};return /*#__PURE__*/_jsx(Component,{...props,...motionProps});};}export function withCardReveal1(Component){return cardOverride(Component,0);}export function withCardReveal2(Component){return cardOverride(Component,.06);}export function withCardReveal3(Component){return cardOverride(Component,.12);}export function withCardReveal4(Component){return cardOverride(Component,.18);}export function withInteractiveFeedback(Component){return function MonsterLabInteractiveFeedback(props){const enabled=useMotionEnabled();const motionProps=enabled?{whileHover:{y:-1,scale:1.01},whileTap:{scale:.985},transition:{duration:.2,ease:EASE}}:undefined;return /*#__PURE__*/_jsx(Component,{...props,...motionProps});};}export function withPressFeedback(Component){return function MonsterLabPressFeedback(props){const enabled=useMotionEnabled();const motionProps=enabled?{whileTap:{scale:.985},transition:{duration:.18,ease:EASE}}:undefined;return /*#__PURE__*/_jsx(Component,{...props,...motionProps});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withCardReveal2\":{\"type\":\"reactHoc\",\"name\":\"withCardReveal2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCardReveal4\":{\"type\":\"reactHoc\",\"name\":\"withCardReveal4\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTextReveal\":{\"type\":\"reactHoc\",\"name\":\"withTextReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPressFeedback\":{\"type\":\"reactHoc\",\"name\":\"withPressFeedback\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMetricReveal\":{\"type\":\"reactHoc\",\"name\":\"withMetricReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCardReveal1\":{\"type\":\"reactHoc\",\"name\":\"withCardReveal1\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withProductReveal\":{\"type\":\"reactHoc\",\"name\":\"withProductReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSectionReveal\":{\"type\":\"reactHoc\",\"name\":\"withSectionReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCardReveal3\":{\"type\":\"reactHoc\",\"name\":\"withCardReveal3\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withInteractiveFeedback\":{\"type\":\"reactHoc\",\"name\":\"withInteractiveFeedback\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with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