import{yesterday as e,today as t,lastXDays as s,getRangeToNow as r}from"./lib/date/date-range-utils.js";function a(a){switch(a.type){case"custom":return{since:a.since,until:a.until};case"live":return{since:r(6e5).since};case"preset":switch(a.preset){case"lastHour":return r(36e5);case"last4Hours":return r(144e5);case"last7Days":return s(7);case"today":return t();case"yesterday":return e()}}}export{a as dateRangeSelectionToDateRange};
//# sourceMappingURL=date-range-selection.js.map
