{"version":3,"file":"Float_animation_1.CPC8VBUl.mjs","names":[],"sources":["https:/framerusercontent.com/modules/pK5uXAZDkfazdeB6gfck/5h15aCsDLtFKHHKdSZq5/Float_animation_1.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";function createFloat(Component,distance,duration,delay){return /*#__PURE__*/forwardRef(function FloatingElement(props,ref){return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{y:[0,-distance,0]},transition:{duration,delay,repeat:Infinity,ease:\"easeInOut\"},style:{...props.style,willChange:\"transform\"}});});}// حركات الطفو العادية\nexport function withFloat1(Component){return createFloat(Component,5,5.5,0);}export function withFloat2(Component){return createFloat(Component,7,6.5,.8);}export function withFloat3(Component){return createFloat(Component,4,5.8,1.6);}export function withFloat4(Component){return createFloat(Component,6,7,.4);}export function withFloat5(Component){return createFloat(Component,5,6.2,1.2);}export function withFloat6(Component){return createFloat(Component,7,7.5,2);}export function withFloat7(Component){return createFloat(Component,4,6.8,.6);}export function withFloat8(Component){return createFloat(Component,6,7.2,1.8);}// للمخدة: طفو فقط ويحافظ على ميلانها\nexport function withPillowFloat(Component){return createFloat(Component,5,6.5,.8);}// للقدر: طفو مع دوران بطيء\nexport function withPotFloat(Component){return /*#__PURE__*/forwardRef(function PotFloat(props,ref){return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{y:[0,-5,0],rotate:[0,360]},transition:{y:{duration:6,repeat:Infinity,ease:\"easeInOut\"},rotate:{duration:24,repeat:Infinity,ease:\"linear\"}},style:{...props.style,willChange:\"transform\"}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withFloat3\":{\"type\":\"reactHoc\",\"name\":\"withFloat3\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFloat8\":{\"type\":\"reactHoc\",\"name\":\"withFloat8\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFloat1\":{\"type\":\"reactHoc\",\"name\":\"withFloat1\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPotFloat\":{\"type\":\"reactHoc\",\"name\":\"withPotFloat\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFloat2\":{\"type\":\"reactHoc\",\"name\":\"withFloat2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFloat5\":{\"type\":\"reactHoc\",\"name\":\"withFloat5\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFloat4\":{\"type\":\"reactHoc\",\"name\":\"withFloat4\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFloat6\":{\"type\":\"reactHoc\",\"name\":\"withFloat6\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPillowFloat\":{\"type\":\"reactHoc\",\"name\":\"withPillowFloat\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFloat7\":{\"type\":\"reactHoc\",\"name\":\"withFloat7\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Float_animation_1.map"],"mappings":"kHAAyE,SAAS,EAAY,EAAU,EAAS,EAAS,EAAM,CAAC,OAAoB,EAAW,SAAyB,EAAM,EAAI,CAAC,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC,EAAS,CAAC,CAAC,EAAE,WAAW,CAAC,WAAS,QAAM,OAAO,IAAS,KAAK,WAAW,EAAE,MAAM,CAAC,GAAG,EAAM,MAAM,WAAW,WAAW,CAAC,CAAC,CAAE,CAAC,CAAE,CACrY,SAAgB,EAAW,EAAU,CAAC,OAAO,EAAY,EAAU,EAAE,IAAI,CAAC,CAAE,CAAC,SAAgB,EAAW,EAAU,CAAC,OAAO,EAAY,EAAU,EAAE,IAAI,EAAE,CAAE,CAAgF,SAAgB,EAAW,EAAU,CAAC,OAAO,EAAY,EAAU,EAAE,EAAE,EAAE,CAAE,CAAC,SAAgB,EAAW,EAAU,CAAC,OAAO,EAAY,EAAU,EAAE,IAAI,GAAG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