{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/w7BLXvBlyfbvhIZz5IVi/e3p3YlHzeK5eQGY62WOz/Levitate.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion,useAnimation}from\"framer-motion\";import{useEffect}from\"react\";// Control height of levitation\nconst maxHeight=-42// max height\n;const minHeight=-15// min height\n;// Animation Controls\nconst duration=5.5;const times=[0,.5,1];const ease=\"easeInOut\";const repeat=Infinity;// Float to a specific value\nexport function withSpecificValue(Component){return props=>{const controls=useAnimation();useEffect(()=>{controls.start({y:[0,maxHeight,0],transition:{duration:duration,times:times,ease:ease,repeat:repeat}});},[controls]);return /*#__PURE__*/_jsx(Component,{...props,as:motion.div,animate:controls});};}// Float to a random value\nexport function withRandomValue(Component){return props=>{const controls=useAnimation();useEffect(()=>{const randomHeight=Math.floor(Math.random()*(maxHeight-minHeight+2))+minHeight;controls.start({y:[0,randomHeight,0],transition:{duration:duration,times:times,ease:ease,repeat:repeat}});},[controls]);return /*#__PURE__*/_jsx(Component,{...props,as:motion.div,animate:controls});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withSpecificValue\":{\"type\":\"reactHoc\",\"name\":\"withSpecificValue\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomValue\":{\"type\":\"reactHoc\",\"name\":\"withRandomValue\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Levitate.map"],
  "mappings": "gGACA,IAAMA,EAAU,IACTC,EAAU,IAEXC,EAAS,IAAUC,EAAM,CAAC,EAAE,GAAG,CAAC,EAAQC,EAAK,YAAkBC,EAAO,IACrE,SAASC,EAAkBC,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAASC,EAAa,EAAE,OAAAC,EAAU,IAAI,CAACF,EAAS,MAAM,CAAC,EAAE,CAAC,EAAET,EAAU,CAAC,EAAE,WAAW,CAAC,SAASE,EAAS,MAAMC,EAAM,KAAKC,EAAK,OAAOC,CAAM,CAAC,CAAC,CAAE,EAAE,CAACI,CAAQ,CAAC,EAAsBG,EAAKL,EAAU,CAAC,GAAGC,EAAM,GAAGK,EAAO,IAAI,QAAQJ,CAAQ,CAAC,CAAE,CAAE,CACvS,SAASK,EAAgBP,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAASC,EAAa,EAAE,OAAAC,EAAU,IAAI,CAAC,IAAMI,EAAa,KAAK,MAAM,KAAK,OAAO,GAAGf,EAAUC,EAAU,EAAE,EAAEA,EAAUQ,EAAS,MAAM,CAAC,EAAE,CAAC,EAAEM,EAAa,CAAC,EAAE,WAAW,CAAC,SAASb,EAAS,MAAMC,EAAM,KAAKC,EAAK,OAAOC,CAAM,CAAC,CAAC,CAAE,EAAE,CAACI,CAAQ,CAAC,EAAsBG,EAAKL,EAAU,CAAC,GAAGC,EAAM,GAAGK,EAAO,IAAI,QAAQJ,CAAQ,CAAC,CAAE,CAAE",
  "names": ["maxHeight", "minHeight", "duration", "times", "ease", "repeat", "withSpecificValue", "Component", "props", "controls", "useAnimation", "ue", "p", "motion", "withRandomValue", "randomHeight"]
}
