{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/Q7iAjeBoIpwKvKqO4J8V/1MlWNHucaMSKgIrAeLV8/ApplyToday.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";export function withTodaysDate(Component){return props=>{const today=new Date().toISOString().split(\"T\")[0]// YYYY-MM-DD format\n;return /*#__PURE__*/_jsx(Component,{...props,today:today});};}export const logEventData=props=>{console.log(\"\uD83E\uDDD0 Event Props Received:\",props);if(!props.dateTime){console.log(\"\u26A0\uFE0F Event is missing `dateTime`. Check if it's correctly mapped in Framer CMS.\");return{};}console.log(`\uD83D\uDCC5 Event DateTime: ${props.dateTime}`);return{};};export const logCollectionData=props=>{console.log(\"\uD83E\uDDD0 Checking CMS Collection Props:\",props);if(!props.items||props.items.length===0){console.log(\"\u26A0\uFE0F No valid items found in CMS Collection. Data might not be loading.\");return{};}console.log(\"\uD83D\uDCE6 CMS Collection Items:\",props.items);return{};};export const debugCMSData=props=>{console.log(\"\uD83E\uDDD0 Checking CMS Collection Props:\",props);if(!props.items||props.items.length===0){console.log(\"\u26A0\uFE0F No valid items found in CMS Collection. Data might not be loading.\");return{};}console.log(\"\uD83D\uDCE6 CMS Collection Items:\",props.items);return{};};export const filterPastEvents=props=>{const today=new Date;if(!props.dateTime)return{};const eventDate=new Date(props.dateTime);if(eventDate<today){return{style:{display:\"none\"}};}return{};};import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withlogEventData(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...logEventData(props)});};}withlogEventData.displayName=\"logEventData\";export function withlogCollectionData(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...logCollectionData(props)});};}withlogCollectionData.displayName=\"logCollectionData\";export function withdebugCMSData(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...debugCMSData(props)});};}withdebugCMSData.displayName=\"debugCMSData\";export function withfilterPastEvents(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...filterPastEvents(props)});};}withfilterPastEvents.displayName=\"filterPastEvents\";\nexport const __FramerMetadata__ = {\"exports\":{\"withlogCollectionData\":{\"type\":\"reactHoc\",\"name\":\"withlogCollectionData\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withfilterPastEvents\":{\"type\":\"reactHoc\",\"name\":\"withfilterPastEvents\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withdebugCMSData\":{\"type\":\"reactHoc\",\"name\":\"withdebugCMSData\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"debugCMSData\":{\"type\":\"override\",\"name\":\"debugCMSData\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTodaysDate\":{\"type\":\"reactHoc\",\"name\":\"withTodaysDate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"logCollectionData\":{\"type\":\"override\",\"name\":\"logCollectionData\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"filterPastEvents\":{\"type\":\"override\",\"name\":\"filterPastEvents\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"logEventData\":{\"type\":\"override\",\"name\":\"logEventData\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withlogEventData\":{\"type\":\"reactHoc\",\"name\":\"withlogEventData\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ApplyToday.map"],
  "mappings": "yFAAkD,SAASA,EAAeC,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAAM,IAAI,KAAK,EAAE,YAAY,EAAE,MAAM,GAAG,EAAE,CAAC,EACpJ,OAAoBC,EAAKH,EAAU,CAAC,GAAGC,EAAM,MAAMC,CAAK,CAAC,CAAE,CAAE,CAAQ,IAAME,EAAaH,IAAQ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,OAAOR,IAAQS,EAA+BC,CAAuC,EAASR,EAAKM,EAAE,CAAC,GAAGR,EAAM,GAAGM,EAAiBN,CAAK,CAAC,CAAC,EAAI,CAACa,EAAqB,YAAY",
  "names": ["withTodaysDate", "Component", "props", "today", "p", "logEventData", "logCollectionData", "debugCMSData", "filterPastEvents", "withlogEventData", "C", "re", "DataObserverContext", "withlogCollectionData", "withdebugCMSData", "withfilterPastEvents"]
}
