{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/FqDclPJVhW3jT0waE3JX/kv8hbSFUmIV7OQu9Gtcl/NegativeGap.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";const negativeGapPrefix=\"Gap:\"// Prefix the layer name with this to set the gap size\n;export function NegativeGapVertical(Component){return props=>applyNegativeGap(Component,props,true);}export function NegativeGapHorizontal(Component){return props=>applyNegativeGap(Component,props,false);}// Function for applying negative gap to an element.\nfunction applyNegativeGap(Component,props,isVertical){const name=props[\"data-framer-name\"];if(name===null||name===void 0?void 0:name.startsWith(negativeGapPrefix)){const id=props.id||\"a\"+Math.floor(Math.random()*1e7).toString();const gap=name.replace(new RegExp(\"^\"+negativeGapPrefix),\"\").trim();return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"contents\"},children:[/*#__PURE__*/_jsx(Component,{...props,id:id,style:{...props.style,gap:0}}),/*#__PURE__*/_jsx(\"style\",{children:`#${id} > *:not(:first-child) { margin-${isVertical?\"top\":\"left\"}: ${gap}px; }`})]});}return /*#__PURE__*/_jsx(Component,{...props});}\nexport const __FramerMetadata__ = {\"exports\":{\"NegativeGapVertical\":{\"type\":\"reactHoc\",\"name\":\"NegativeGapVertical\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NegativeGapHorizontal\":{\"type\":\"reactHoc\",\"name\":\"NegativeGapHorizontal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NegativeGap.map"],
  "mappings": "gDAAyD,IAAMA,EAAkB,OACzE,SAASC,EAAoBC,EAAU,CAAC,OAAOC,GAAOC,EAAiBF,EAAUC,EAAM,EAAI,CAAE,CAAQ,SAASE,EAAsBH,EAAU,CAAC,OAAOC,GAAOC,EAAiBF,EAAUC,EAAM,EAAK,CAAE,CAC7M,SAASC,EAAiBF,EAAUC,EAAMG,EAAW,CAAC,IAAMC,EAAKJ,EAAM,kBAAkB,EAAE,GAAqCI,GAAK,WAAWP,CAAiB,EAAE,CAAC,IAAMQ,EAAGL,EAAM,IAAI,IAAI,KAAK,MAAM,KAAK,OAAO,EAAE,GAAG,EAAE,SAAS,EAAQM,EAAIF,EAAK,QAAQ,IAAI,OAAO,IAAIP,CAAiB,EAAE,EAAE,EAAE,KAAK,EAAE,OAAoBU,EAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,UAAU,EAAE,SAAS,CAAcC,EAAKT,EAAU,CAAC,GAAGC,EAAM,GAAGK,EAAG,MAAM,CAAC,GAAGL,EAAM,MAAM,IAAI,CAAC,CAAC,CAAC,EAAeQ,EAAK,QAAQ,CAAC,SAAS,IAAIH,CAAE,mCAAmCF,EAAW,MAAM,MAAM,KAAKG,CAAG,OAAO,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC,OAAoBE,EAAKT,EAAU,CAAC,GAAGC,CAAK,CAAC,CAAE",
  "names": ["negativeGapPrefix", "NegativeGapVertical", "Component", "props", "applyNegativeGap", "NegativeGapHorizontal", "isVertical", "name", "id", "gap", "u", "p"]
}
