{"version":3,"file":"ReloadDecrement.eIn_0K2K.mjs","names":[],"sources":["https:/framerusercontent.com/modules/gVvcIR1NtdWapQjbB3vu/5uxz5PiCpW8KXzgpjqVb/ReloadDecrement.js"],"sourcesContent":["// Get Started: https://www.framer.com/developers\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function ReloadDecrement(props){const{tint}=props;useEffect(()=>{// рахуємо кількість перезавантажень (localStorage)\nconst count=parseInt(localStorage.getItem(\"reloadCount\")||\"0\",10)+-1;if(count>=1&&count+1<=7){localStorage.setItem(\"reloadCount\",count.toString());}},[]);return /*#__PURE__*/_jsx(motion.div,{style:{margin:0,width:0,height:0,borderRadius:0,backgroundColor:tint}});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ReloadDecrement\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ReloadDecrement.map"],"mappings":"mKAIG,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,QAAM,EAC4F,OADtF,MAAc,CAClF,IAAM,EAAM,SAAS,aAAa,QAAQ,aAAa,GAAG,IAAI,EAAE,EAAE,GAAM,GAAO,GAAG,EAAM,GAAG,GAAG,aAAa,QAAQ,cAAc,EAAM,SAAS,CAAC,CAAG,EAAE,CAAC,CAAC,EAAsB,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,EAAE,gBAAgB,CAAI,CAAC,CAAC,CAAE,iBAJ7N,IAA6B,IAAkC"}