{"version":3,"file":"Negative_margin.DiPdcGe9.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/5OL86UqR2BYzq2x5OOSd/cbl6WwPttrOGvnDLeZfM/Negative_margin.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";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/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function NegativeMargin(){return{style:{marginTop:\"-65px\"}};}export function withRotate(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{rotate:90},transition:{duration:2}});});}export function withHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,whileHover:{scale:1.05}});});}export function withRandomColor(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});});}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withNegativeMargin(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...NegativeMargin(props)});};}withNegativeMargin.displayName=\"NegativeMargin\";\nexport const __FramerMetadata__ = {\"exports\":{\"withNegativeMargin\":{\"type\":\"reactHoc\",\"name\":\"withNegativeMargin\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NegativeMargin\":{\"type\":\"override\",\"name\":\"NegativeMargin\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Negative_margin.map"],"mappings":"+NACmD,SAAgB,GAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,OAAO,CAAC,CAAE,CAAiwB,SAAgB,EAAmB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,CAAuC,EAASC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAe,CAAK,CAAC,CAAC,EAAI,iBAD//B,IAA8B,IAAqE,IAAqE,IACoqB,EAAv2B,EAAY,CAAC,WAAW,SAAS,CAAC,EAAy/B,EAAmB,YAAY"}