{"version":3,"file":"DateTransform.DkbDXdOR.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/JpiaF8vsb9302vhu5Vi3/ltFNsztPhNHNmpobVOd1/DateTransform.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";const MONTHS=[\"Januar\",\"Februar\",\"M\\xe4rz\",\"April\",\"Mai\",\"Juni\",\"Juli\",\"August\",\"September\",\"Oktober\",\"November\",\"Dezember\"];export function GermanDate(props){const dateTime=props?.text?.props?.dateTime;if(!dateTime)return{};const date=new Date(dateTime);if(isNaN(date.getTime()))return{};const formatted=`${date.getDate()}. ${MONTHS[date.getMonth()]} ${date.getFullYear()}`;return{text:{...props.text,props:{...props.text.props,children:formatted}}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withGermanDate(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...GermanDate(props)});};}withGermanDate.displayName=\"GermanDate\";\nexport const __FramerMetadata__ = {\"exports\":{\"withGermanDate\":{\"type\":\"reactHoc\",\"name\":\"withGermanDate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GermanDate\":{\"type\":\"override\",\"name\":\"GermanDate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DateTransform.map"],"mappings":"mKAAwK,SAAgB,EAAW,EAAM,CAAC,IAAM,EAAS,GAAO,MAAM,OAAO,SAAS,GAAG,CAAC,EAAS,MAAM,CAAC,EAAE,IAAM,EAAK,IAAI,KAAK,CAAQ,EAAE,GAAG,MAAM,EAAK,QAAQ,CAAC,EAAE,MAAM,CAAC,EAAE,IAAM,EAAU,GAAG,EAAK,QAAQ,EAAE,IAAI,EAAO,EAAK,SAAS,GAAG,GAAG,EAAK,YAAY,IAAI,MAAM,CAAC,KAAK,CAAC,GAAG,EAAM,KAAK,MAAM,CAAC,GAAG,EAAM,KAAK,MAAM,SAAS,CAAS,CAAC,CAAC,CAAE,CAAoJ,SAAgB,EAAe,EAAE,CAAC,MAAO,KAAQ,EAA+BA,CAAuC,EAASC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAW,CAAK,CAAC,CAAC,EAAI,mBAAlwB,IAAogB,IAAmF,EAAhlB,EAAO,CAAC,SAAS,UAAU,OAAU,QAAQ,MAAM,OAAO,OAAO,SAAS,YAAY,UAAU,WAAW,UAAU,EAAuoB,EAAe,YAAY"}