{"version":3,"file":"Negative_Gap.LJilU6db.mjs","names":["useRef","useState","__esmMin","de","ce","init_npm_react_18_3_1","init_jsx_runtime","c","_e","init_framer_CaDWdxiz","addPropertyControls","ControlType","Negative_Gap","qrRef","mounted","setMounted","props","init_Negative_Gap"],"sources":["https:/framerusercontent.com/modules/WDxawPvbWLs3cToKKGuC/e67OSSst0f2PQV41680Y/Negative_Gap.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useRef}from\"react\";import{useEffect,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */export default function Negative_Gap(props){const qrRef=useRef(null);const[mounted,setMounted]=useState(false);useEffect(()=>{setMounted(true);},[]);useEffect(()=>{if(!mounted||!qrRef.current)return;qrRef.current.parentElement.style.marginLeft=props.gap+props.unit;qrRef.current.parentElement.style.marginTop=props.gap+props.unit;},[mounted,props.gap,props.unit]);if(!mounted)return null;return /*#__PURE__*/_jsx(\"div\",{ref:qrRef});}Negative_Gap.displayName=\"Negative Gap\";addPropertyControls(Negative_Gap,{unit:{type:ControlType.Enum,defaultValue:\"px\",displaySegmentedControl:true,segmentedControlDirection:\"horizontal\",options:[\"px\",\"%\"],optionTitles:[\"Pixel\",\"Percent\"]},gap:{type:ControlType.Number,max:0,min:-1e3,defaultValue:-3,displayStepper:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Negative_Gap\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Negative_Gap.map"],"mappings":"A,wLAOG,SAAwBY,EAAa,EAAM,CAAC,IAAMC,EAAMb,EAAO,IAAI,EAAO,CAACc,EAAQC,GAAYd,EAAS,EAAK,EAAuR,OAArRG,MAAc,CAACW,EAAW,EAAI,CAAE,EAAE,CAAC,CAAC,EAAEX,MAAc,CAAKU,GAAUD,EAAM,UAAe,EAAM,QAAQ,cAAc,MAAM,WAAWG,EAAM,IAAIA,EAAM,KAAK,EAAM,QAAQ,cAAc,MAAM,UAAUA,EAAM,IAAIA,EAAM,KAAK,EAAE,CAACF,EAAQE,EAAM,IAAIA,EAAM,IAAI,CAAC,EAAMF,EAAwC,gBAAK,MAAM,CAAC,IAAID,CAAK,CAAC,EAA/C,IAAiD,C,0CAAC,EAAa,YAAY,eAAeH,EAAoBE,EAAa,CAAC,KAAK,CAAC,KAAKD,EAAY,KAAK,aAAa,KAAK,wBAAwB,GAAK,0BAA0B,aAAa,QAAQ,CAAC,KAAK,GAAG,EAAE,aAAa,CAAC,QAAQ,SAAS,CAAC,EAAE,IAAI,CAAC,KAAKA,EAAY,OAAO,IAAI,EAAE,IAAI,KAAK,aAAa,GAAG,eAAe,EAAI,CAAC,CAAC,C"}