{"version":3,"file":"LoadingSpinner.IfNDn-2d.mjs","names":[],"sources":["https:/framerusercontent.com/modules/rfIKQYhFnBF8Q7uQ9XZx/Pcp425YUyDpKZhIbs2iM/LoadingSpinner.js"],"sourcesContent":["// LoadingSpinner component with a spinning ring animation using CSS keyframes\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function LoadingSpinner(props){const{color=\"#000000\"}=props;useEffect(()=>{if(typeof document===\"undefined\")return;const styleId=\"loading-spinner-keyframes\";if(!document.getElementById(styleId)){const style=document.createElement(\"style\");style.id=styleId;style.textContent=`\n                @keyframes spin {\n                    from {\n                        transform: rotate(0deg);\n                    }\n                    to {\n                        transform: rotate(360deg);\n                    }\n                }\n            `;document.head.appendChild(style);}},[]);return /*#__PURE__*/_jsx(\"div\",{style:{...props.style,display:\"flex\",justifyContent:\"center\",alignItems:\"center\",width:\"100%\",height:\"100%\"},children:/*#__PURE__*/_jsx(\"div\",{style:{width:40,height:40,border:\"4px solid transparent\",borderTopColor:color,borderRadius:\"50%\",animation:\"spin 0.8s linear infinite\"}})});}addPropertyControls(LoadingSpinner,{color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LoadingSpinner\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LoadingSpinner.map"],"mappings":"2KAIG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,QAAM,WAAW,EASlB,OATwB,MAAc,CAAC,GAAG,OAAO,SAAW,IAAY,OAAO,IAAM,EAAQ,4BAA4B,GAAG,CAAC,SAAS,eAAe,CAAO,EAAE,CAAC,IAAM,EAAM,SAAS,cAAc,OAAO,EAAE,EAAM,GAAG,EAAQ,EAAM,YAAY;;;;;;;;;cAStR,SAAS,KAAK,YAAY,CAAK,CAAE,CAAC,EAAE,CAAC,CAAC,EAAsB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,MAAM,OAAO,OAAO,MAAM,EAAE,SAAsB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,OAAO,GAAG,OAAO,wBAAwB,eAAe,EAAM,aAAa,MAAM,UAAU,2BAA2B,CAAC,CAAC,CAAC,CAAC,CAAE,iBAZvU,IAA6B,IAAoD,EAYuP,EAAoB,EAAe,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,SAAS,CAAC,CAAC"}