{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/1mwEqGLoZFYKztrdQ940/zNb25n0qgCu7zUKlbp5A/Examples.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";export function withRandomRotation(Component){return props=>{// Fonction pour g\u00E9n\u00E9rer un angle de rotation al\u00E9atoire entre -180 et 180 degr\u00E9s\nconst getRandomRotation=()=>{return Math.random()*360-180;};// Valeur initiale de rotation\nconst initialRotation=getRandomRotation();return /*#__PURE__*/_jsx(Component,{...props,initial:{opacity:0,rotate:initialRotation},animate:{opacity:1,rotate:[initialRotation,initialRotation*-.7,initialRotation*.5,initialRotation*-.3,initialRotation]},transition:{opacity:{duration:.8,delay:.4},rotate:{duration:60+Math.random()*40,ease:\"easeInOut\",repeat:Infinity,repeatType:\"reverse\",delay:.4}}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withRandomRotation\":{\"type\":\"reactHoc\",\"name\":\"withRandomRotation\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map"],
  "mappings": "yCAAkD,SAASA,EAAmBC,EAAU,CAAC,OAAOC,GAAO,CAEvG,IAAMC,EAD8B,KAAK,OAAO,EAAE,IAAI,IACZ,OAAoBC,EAAKH,EAAU,CAAC,GAAGC,EAAM,QAAQ,CAAC,QAAQ,EAAE,OAAOC,CAAe,EAAE,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAACA,EAAgBA,EAAgB,IAAIA,EAAgB,GAAGA,EAAgB,IAAIA,CAAe,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,SAAS,GAAG,MAAM,EAAE,EAAE,OAAO,CAAC,SAAS,GAAG,KAAK,OAAO,EAAE,GAAG,KAAK,YAAY,OAAO,IAAS,WAAW,UAAU,MAAM,EAAE,CAAC,CAAC,CAAC,CAAE,CAAE",
  "names": ["withRandomRotation", "Component", "props", "initialRotation", "p"]
}
