{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/KbGhdSxKVsFzdt4d829v/v6GvrLGPrxP8AOczYGyp/FramerIconAnimated.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";import{createElement}from\"react\";const DEFAULT_COLOR=\"#1570EF\";const DEFAULT_SVG='{\"type\":\"svg\",\"props\":{\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":\"100%\",\"height\":\"100%\",\"viewBox\":\"0 0 22 22\",\"fill\":\"none\"},\"children\":[{\"type\":\"path\",\"props\":{\"d\":\"m13.076 12.21 3.098 3.098a1.25 1.25 0 0 0 1.768 0l3.424-3.424a1.25 1.25 0 0 0 0-1.768l-3.424-3.424a1.25 1.25 0 0 0-1.768 0L13.076 9.79l4.902.903c.341.063.341.552 0 .614l-4.902.903Zm-3.206.786-3.178 3.178a1.25 1.25 0 0 0 0 1.768l3.424 3.424a1.25 1.25 0 0 0 1.768 0l3.424-3.424a1.25 1.25 0 0 0 0-1.768l-3.043-3.043-.878 4.768c-.063.34-.552.34-.615 0l-.902-4.903ZM6.692 4.058a1.25 1.25 0 0 0 0 1.768l3.177 3.178.903-4.903c.063-.34.552-.34.615 0l.878 4.768 3.043-3.043a1.25 1.25 0 0 0 0-1.768L11.884.634a1.25 1.25 0 0 0-1.768 0L6.692 4.058ZM.634 10.116a1.25 1.25 0 0 0 0 1.768l3.424 3.424a1.25 1.25 0 0 0 1.768 0l3.123-3.122-4.768-.879c-.341-.063-.341-.552 0-.614l4.768-.879-3.123-3.122a1.25 1.25 0 0 0-1.768 0L.634 10.116Z\",\"fill\":\"#1570EF\"}}]}';const DEFAULT_STROKE_WIDTH=1.5;/*\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n *\n * @framerIntrinsicHeight 24\n * @framerIntrinsicWidth 24\n */export default function FramerIconAnimated(props){const svgObject=parseSvgProp(props.svg);return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",maxWidth:\"100%\",maxHeight:\"100%\",alignItems:\"center\",justifyContent:\"center\",...props.style},children:createSvgElement({svg:svgObject,controls:props.variant,color:props.color,strokeWidth:props.strokeWidth})});}FramerIconAnimated.displayName=\"FramerIcons - Animated\";addPropertyControls(FramerIconAnimated,{svg:{title:\"SVG Code\",type:ControlType.String,defaultValue:DEFAULT_SVG},variant:{type:ControlType.Enum,defaultValue:\"normal\",displaySegmentedControl:true,options:[\"normal\",\"animate\"],optionTitles:[\"Static\",\"Animated\"]},strokeWidth:{type:ControlType.Number,step:.25,min:.5,max:2,defaultValue:DEFAULT_STROKE_WIDTH},color:{type:ControlType.Color,defaultValue:DEFAULT_COLOR,description:\"By [FramerIcons](https://www.framericons.com?utm=FramerIconAnimatedComponent)\"}});const createSvgElement=({svg,controls,color,strokeWidth})=>/*#__PURE__*/createElement(svg.type?.startsWith(\"motion.\")?motion[svg.type.replace(\"motion.\",\"\")]:svg.type,replaceProps(svg.props,controls,color,strokeWidth),svg.children?.map((child,index)=>createSvgElement({svg:child,controls,color,strokeWidth})));const replaceProps=(props,state,color,strokeWidth)=>{return Object.fromEntries(Object.entries(props).map(([key,value])=>{if(key===\"animate\"&&value===\"animate\"){return[key,state];}else if(value===\"currentColor\"){return[key,color];}else if(key===\"strokeWidth\"&&value===\"2\"){return[key,strokeWidth];}else if(key===\"variants\"){return[key,replaceInfinity(value)];}else{return[key,value];}}));};// recursively go through all nested objects and replace any 'Infinity' value with Infinity\nconst replaceInfinity=value=>{if(typeof value!==\"object\"||value===null||Array.isArray(value)){return value;}return Object.fromEntries(Object.entries(value).map(([key,value])=>{if(value===\"Infinity\")return[key,Infinity];return[key,replaceInfinity(value)];}));};const parseSvgProp=svg=>{let parsedSvg=\"\";try{parsedSvg=JSON.parse(svg);}catch{console.log(\"FramerIcons - Animated: Invalid SVG Code\");parsedSvg=JSON.parse(DEFAULT_SVG);}return parsedSvg;};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerIconAnimated\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerDisableUnlink\":\"*\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"24\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"24\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FramerIconAnimated.map"],
  "mappings": "uGAAkK,IAAMA,EAAc,UAAgBC,EAAY,i5BAAu5BC,EAAqB,IAQ5mC,SAARC,EAAoCC,EAAM,CAAC,IAAMC,EAAUC,EAAaF,EAAM,GAAG,EAAE,OAAoBG,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,SAAS,OAAO,UAAU,OAAO,WAAW,SAAS,eAAe,SAAS,GAAGH,EAAM,KAAK,EAAE,SAASI,EAAiB,CAAC,IAAIH,EAAU,SAASD,EAAM,QAAQ,MAAMA,EAAM,MAAM,YAAYA,EAAM,WAAW,CAAC,CAAC,CAAC,CAAE,CAACD,EAAmB,YAAY,yBAAyBM,EAAoBN,EAAmB,CAAC,IAAI,CAAC,MAAM,WAAW,KAAKO,EAAY,OAAO,aAAaT,CAAW,EAAE,QAAQ,CAAC,KAAKS,EAAY,KAAK,aAAa,SAAS,wBAAwB,GAAK,QAAQ,CAAC,SAAS,SAAS,EAAE,aAAa,CAAC,SAAS,UAAU,CAAC,EAAE,YAAY,CAAC,KAAKA,EAAY,OAAO,KAAK,IAAI,IAAI,GAAG,IAAI,EAAE,aAAaR,CAAoB,EAAE,MAAM,CAAC,KAAKQ,EAAY,MAAM,aAAaV,EAAc,YAAY,+EAA+E,CAAC,CAAC,EAAE,IAAMQ,EAAiB,CAAC,CAAC,IAAAG,EAAI,SAAAC,EAAS,MAAAC,EAAM,YAAAC,CAAW,IAAiBC,EAAcJ,EAAI,MAAM,WAAW,SAAS,EAAEK,EAAOL,EAAI,KAAK,QAAQ,UAAU,EAAE,CAAC,EAAEA,EAAI,KAAKM,EAAaN,EAAI,MAAMC,EAASC,EAAMC,CAAW,EAAEH,EAAI,UAAU,IAAI,CAACO,EAAMC,IAAQX,EAAiB,CAAC,IAAIU,EAAM,SAAAN,EAAS,MAAAC,EAAM,YAAAC,CAAW,CAAC,CAAC,CAAC,EAAQG,EAAa,CAACb,EAAMgB,EAAMP,EAAMC,IAAsB,OAAO,YAAY,OAAO,QAAQV,CAAK,EAAE,IAAI,CAAC,CAACiB,EAAIC,CAAK,IAAQD,IAAM,WAAWC,IAAQ,UAAiB,CAACD,EAAID,CAAK,EAAWE,IAAQ,eAAsB,CAACD,EAAIR,CAAK,EAAWQ,IAAM,eAAeC,IAAQ,IAAW,CAACD,EAAIP,CAAW,EAAWO,IAAM,WAAkB,CAACA,EAAIE,EAAgBD,CAAK,CAAC,EAAc,CAACD,EAAIC,CAAK,CAAI,CAAC,EACtkDC,EAAgBD,GAAW,OAAOA,GAAQ,UAAUA,IAAQ,MAAM,MAAM,QAAQA,CAAK,EAAUA,EAAc,OAAO,YAAY,OAAO,QAAQA,CAAK,EAAE,IAAI,CAAC,CAACD,EAAIC,CAAK,IAAQA,IAAQ,WAAiB,CAACD,EAAI,GAAQ,EAAQ,CAACA,EAAIE,EAAgBD,CAAK,CAAC,CAAG,CAAC,EAAUhB,EAAaK,GAAK,CAAC,IAAIa,EAAU,GAAG,GAAG,CAACA,EAAU,KAAK,MAAMb,CAAG,CAAE,MAAM,CAAC,QAAQ,IAAI,0CAA0C,EAAEa,EAAU,KAAK,MAAMvB,CAAW,CAAE,CAAC,OAAOuB,CAAU",
  "names": ["DEFAULT_COLOR", "DEFAULT_SVG", "DEFAULT_STROKE_WIDTH", "FramerIconAnimated", "props", "svgObject", "parseSvgProp", "p", "createSvgElement", "addPropertyControls", "ControlType", "svg", "controls", "color", "strokeWidth", "B", "motion", "replaceProps", "child", "index", "state", "key", "value", "replaceInfinity", "parsedSvg"]
}
