{"version":3,"file":"AutoSVG.CaAx5UBu.mjs","names":["useId"],"sources":["https:/framerusercontent.com/modules/LBOSv5uTyilqj9HXVGyP/2T9dYea2WLwSUucbFAdQ/AutoSVG.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useId}from\"react\";export default function SVGContainer(props){const{svg,color}=props;const id=useId().replace(/:/g,\"\");const colorizedSVG=svg.replace(/(<svg[^>]*>)/,`$1<style>.svg-${id} * { fill: currentColor; }</style>`);return /*#__PURE__*/_jsx(\"div\",{className:`svg-${id}`,style:{width:\"100%\",height:\"100%\",color:color},dangerouslySetInnerHTML:{__html:colorizedSVG}});}SVGContainer.defaultProps={svg:'<svg viewBox=\"0 0 100 100\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"50\" cy=\"50\" r=\"50\"/></svg>',color:\"#332440\"};addPropertyControls(SVGContainer,{svg:{type:ControlType.String,title:\"SVG Code\",displayTextArea:true},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#332440\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SVGContainer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AutoSVG.map"],"mappings":"0KAAwH,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,MAAI,SAAO,EAAY,EAAGA,EAAM,CAAC,CAAC,QAAQ,KAAK,EAAE,EAAQ,EAAa,EAAI,QAAQ,eAAe,iBAAiB,EAAG,mCAAmC,EAAE,OAAoB,EAAK,MAAM,CAAC,UAAU,OAAO,IAAK,MAAM,CAAC,MAAM,OAAO,OAAO,OAAa,OAAK,EAAE,wBAAwB,CAAC,OAAO,CAAY,CAAC,CAAC,CAAE,iBAA/a,IAAoD,IAAyB,EAAmW,EAAa,aAAa,CAAC,IAAI,uGAAuG,MAAM,SAAS,EAAE,EAAoB,EAAa,CAAC,IAAI,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,gBAAgB,EAAI,EAAE,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,SAAS,CAAC,CAAC"}