{"version":3,"file":"ApplyDayBeforeToday.B_cIBWWa.mjs","names":[],"sources":["https:/framerusercontent.com/modules/FfBJPvqB0vyGPTBKzk5O/CSyFG5Lykmiljns0Qj8Z/ApplyDayBeforeToday.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function withDayBeforeToday(Component){return props=>{const dayBeforeToday=new Date;dayBeforeToday.setDate(dayBeforeToday.getDate()-1);// Set to end of that day (23:59:59) to ensure \"after\" includes today\ndayBeforeToday.setHours(23,59,59,999);const dayBeforeTodayFormatted=dayBeforeToday.toISOString().split(\"T\")[0];return /*#__PURE__*/_jsx(Component,{...props,dayBeforeToday:dayBeforeTodayFormatted});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withDayBeforeToday\":{\"type\":\"reactHoc\",\"name\":\"withDayBeforeToday\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ApplyDayBeforeToday.map"],"mappings":"0HAA2C,SAAgB,EAAmB,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAe,IAAI,KAAK,EAAe,QAAQ,EAAe,SAAS,CAAC,EAAE,CACxL,EAAe,SAAS,GAAG,GAAG,GAAG,IAAI,CAAC,IAAM,EAAwB,EAAe,aAAa,CAAC,MAAM,IAAI,CAAC,GAAG,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,eAAe,EAAwB,CAAC,mBADzJ"}