{"version":3,"file":"CurrentYear.CxPK8Q3a.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/7DvTFiIYv4UJmNUgLzYr/w1cBXebBf5yRLmWRNxJL/CurrentYear.js"],"sourcesContent":["// Component that displays the current year\nimport{jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function CurrentYear(props){const{prefix,suffix,textColor,font}=props;const[year,setYear]=useState(\"\");useEffect(()=>{if(typeof window!==\"undefined\"){const currentYear=new Date().getFullYear().toString();startTransition(()=>setYear(currentYear));}},[]);return /*#__PURE__*/_jsxs(\"span\",{style:{color:textColor,width:\"max-content\",...font},children:[prefix,year,suffix]});}addPropertyControls(CurrentYear,{prefix:{type:ControlType.String,title:\"Prefix\",defaultValue:\"\\xa9 Copyright \"},suffix:{type:ControlType.String,title:\"Suffix\",defaultValue:\" For Planet Strategy Lab AG.\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CurrentYear\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CurrentYear.map"],"mappings":"sMAIG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,SAAO,SAAO,YAAU,QAAM,EAAW,CAAC,EAAK,GAASA,EAAS,EAAE,EAAwJ,OAAtJ,MAAc,CAAC,GAAU,IAAS,OAAY,CAAC,IAAM,EAAY,IAAI,KAAK,CAAA,CAAE,YAAY,CAAC,CAAC,SAAS,EAAE,MAAoB,EAAQ,CAAW,CAAC,CAAE,CAAC,EAAE,CAAC,CAAC,EAAsB,EAAM,OAAO,CAAC,MAAM,CAAC,MAAM,EAAU,MAAM,cAAc,GAAG,CAAI,EAAE,SAAS,CAAC,EAAO,EAAK,CAAM,CAAC,CAAC,CAAE,qBAHzV,IAAsD,IAAoD,EAGgP,EAAoB,EAAY,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,cAAiB,EAAE,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,8BAA8B,EAAE,UAAU,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,SAAS,EAAE,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,SAAS,WAAW,gBAAgB,aAAa,aAAa,CAAC,SAAS,OAAO,QAAQ,SAAS,cAAc,UAAU,WAAW,OAAO,CAAC,CAAC,CAAC"}