{"version":3,"file":"Float.4IeUPJQG.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/AuGHrLvdKttw9kMTOfiY/kn7yEwM3N8E6xmZmV6TX/Float.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";// --- CONSTANTS FOR COLORS ---\nconst colorPurple=\"rgba(164, 53, 237, 0.9)\";const colorBlue=\"rgba(0, 255, 255, 0.8)\";// --- FUNCTION 1: FloatUpAndDown (Original) ---\nconst floatAnimation={y:[0,-10,0],transition:{duration:4,ease:\"easeInOut\",repeat:Infinity,repeatType:\"loop\"}};export function FloatUpAndDown(){return{animate:floatAnimation};}// --- FUNCTION 2: PulsingShell (Border/Radius Effect) ---\nexport function PulsingShell(){return{animate:{borderWidth:[2,6,2],borderColor:[colorBlue,colorPurple,colorBlue],borderRadius:[0,10,0],scale:[1,1.005,1]},transition:{duration:3,ease:\"easeInOut\",repeat:Infinity,repeatType:\"loop\"},initial:{borderStyle:\"solid\",borderColor:colorBlue,borderWidth:2,borderRadius:0}};}// --- NEW FUNCTION: FluidDrift (Background Position Animation) ---\n/**\n * [Function 3] Animates the background position to simulate slow, continuous smoke/fluid movement.\n * NOTE: This works best if the \"smoke image\" is the element's background-image/fill.\n */export function FluidDrift(){return{animate:{// Animate Background Position X (Simulates a very slow horizontal drift)\nbackgroundPositionX:[\"0%\",\"-50%\"],// Animate Background Position Y (Simulates a very slow vertical drift)\nbackgroundPositionY:[\"0%\",\"100%\"],// Still include transform animation as it often kicks in the motion engine\nscale:[1,1.002,1]},transition:{duration:40,ease:\"linear\",repeat:Infinity,repeatType:\"loop\"},// Ensure the element has a background image and correct CSS for background-position to work\nstyle:{backgroundSize:\"200% 200%\",willChange:\"background-position\"}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withFloatUpAndDown(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...FloatUpAndDown(props)});};}withFloatUpAndDown.displayName=\"FloatUpAndDown\";export function withPulsingShell(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...PulsingShell(props)});};}withPulsingShell.displayName=\"PulsingShell\";export function withFluidDrift(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...FluidDrift(props)});};}withFluidDrift.displayName=\"FluidDrift\";\nexport const __FramerMetadata__ = {\"exports\":{\"FloatUpAndDown\":{\"type\":\"override\",\"name\":\"FloatUpAndDown\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFloatUpAndDown\":{\"type\":\"reactHoc\",\"name\":\"withFloatUpAndDown\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FluidDrift\":{\"type\":\"override\",\"name\":\"FluidDrift\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPulsingShell\":{\"type\":\"reactHoc\",\"name\":\"withPulsingShell\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PulsingShell\":{\"type\":\"override\",\"name\":\"PulsingShell\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFluidDrift\":{\"type\":\"reactHoc\",\"name\":\"withFluidDrift\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Float.map"],"mappings":"iPAE8G,SAAgB,GAAgB,CAAC,MAAM,CAAC,QAAQ,EAAe,CAC7K,SAAgB,GAAc,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,EAAE,EAAE,CAAC,YAAY,CAAC,EAAU,EAAY,EAAU,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,EAAE,KAAK,YAAY,OAAO,IAAS,WAAW,OAAO,CAAC,QAAQ,CAAC,YAAY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