{"version":3,"file":"Custom_attributes.PYLP0Ec2.mjs","names":[],"sources":["https:/framerusercontent.com/modules/xiBZaUo9I5BNYXrIi7zY/XhN0WqBSiFoSDL8jR2OZ/Custom_attributes.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/docs/guides/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,animate:{rotate:90},transition:{duration:2}});};}export function withHover(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,whileHover:{scale:1.05}});};}export function withRandomColor(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});};}export function withCustomAttributes(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,\"data-name\":\"tracker-sgmt\"});};}export function customCookieBanner(Component){return props=>{props.className+=\" test\"// Remember to add a space\n;return /*#__PURE__*/_jsx(\"div\",{id:\"cookie-banner-wrapper\",children:/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"customCookieBanner\":{\"type\":\"reactHoc\",\"name\":\"customCookieBanner\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCustomAttributes\":{\"type\":\"reactHoc\",\"name\":\"withCustomAttributes\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Custom_attributes.map"],"mappings":"mKAC2iB,SAAgB,EAAqB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,YAAY,cAAc,CAAC,CAAI,iBAD5oB,IAAqE,IAAqE,EACrK,EAAY,CAAC,WAAW,SAAS,CAAC"}