"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const timeRangeMapDays={day:1,week:7,month:30,year:365};function getDaysByTimeRange(b){return timeRangeMapDays[b]}exports.getDaysByTimeRange=getDaysByTimeRange;function getRangeByParam(c,a){return c&&a.includes(c)?c:a[0]||"week"}exports.getRangeByParam=getRangeByParam;