{"version":3,"file":"YearDisplay.CoIM9dTY.mjs","names":["useMemo"],"sources":["https:/framerusercontent.com/modules/sG1aff46yp9dSRjUhyul/JGbtwlSbLi1ZtmOAfm33/CurrentYearDisplay.js","https:/framerusercontent.com/modules/vOHFITkNxOWknvVzQOt2/aJzM1YSKRUsU7KXrrSCh/YearDisplay.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Displays the current year with editable text styling.\n *\n * @framerIntrinsicWidth 80\n * @framerIntrinsicHeight 40\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */function CurrentYearDisplay(props){const{style,font}=props;const year=typeof window!==\"undefined\"?new Date().getFullYear():2024;return /*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-block\",minWidth:\"max-content\",...font,...style},children:year});}addPropertyControls(CurrentYearDisplay,{font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:32,variant:\"Bold\",letterSpacing:\"-0.03em\",lineHeight:\"1em\",textAlign:\"center\"}}});export default CurrentYearDisplay;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CurrentYearDisplay\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerIntrinsicHeight\":\"40\",\"framerIntrinsicWidth\":\"80\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CurrentYearDisplay.map","// Displays the current year as a 2-digit abbreviation. Retains text styling via font property control.\nimport{jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useMemo}from\"react\";/**\n * Current Year Abbreviated\n * Shows the current year as a 2-digit string (e.g. '24') with original style\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function YearDisplay(props){const{font,style}=props;const year=useMemo(()=>{const fullYear=new Date().getFullYear();return String(fullYear-1).slice(-2);},[]);return /*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-block\",minWidth:\"max-content\",...font,...style},children:[\"'17-'\",year]});}addPropertyControls(YearDisplay,{font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:32,variant:\"Semibold\",letterSpacing:\"-0.03em\",lineHeight:\"1.2em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"YearDisplay\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./YearDisplay.map"],"mappings":"+LAQG,SAAS,EAAmB,EAAM,CAAC,GAAK,CAAC,QAAM,QAAM,EAAY,EAAY,IAAS,OAAqC,KAAzB,IAAI,MAAM,CAAC,aAAa,CAAM,OAAoB,EAAK,OAAO,CAAC,MAAM,CAAC,QAAQ,eAAe,SAAS,cAAc,GAAG,EAAK,GAAG,EAAM,CAAC,SAAS,EAAK,CAAC,wBAR/M,IAAoD,CAQ6J,EAAoB,EAAmB,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,SAAS,WAAW,gBAAgB,aAAa,aAAa,CAAC,SAAS,GAAG,QAAQ,OAAO,cAAc,UAAU,WAAW,MAAM,UAAU,SAAS,CAAC,CAAC,CAAC,GAAgB,KCFnf,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,OAAK,SAAO,EAAY,EAAKA,MAAY,CAAC,IAAM,EAAS,IAAI,MAAM,CAAC,aAAa,CAAC,OAAO,OAAO,EAAS,EAAE,CAAC,MAAM,GAAG,EAAG,EAAE,CAAC,CAAC,OAAoB,EAAM,OAAO,CAAC,MAAM,CAAC,QAAQ,eAAe,SAAS,cAAc,GAAG,EAAK,GAAG,EAAM,CAAC,SAAS,CAAC,QAAQ,EAAK,CAAC,CAAC,kBALrQ,IAAoD,IAA2B,CAKwL,EAAoB,EAAY,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,SAAS,WAAW,gBAAgB,aAAa,aAAa,CAAC,SAAS,GAAG,QAAQ,WAAW,cAAc,UAAU,WAAW,QAAQ,CAAC,CAAC,CAAC"}