import{aa as r}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{h as a,s as i}from"./machine.-tangy-colts-beg-869.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,o){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,o),o)}};const p=r(({helpers:e})=>({states:{components:[{componentName:e.componentName.mixInput,helperText:t("Select a date before which to filter the report."),id:"date-before",label:t("Date Before"),onChange:"HANDLE_DATE_BEFORE",path:"before",render:!0,value:void 0},{componentName:e.componentName.mixInput,helperText:t("Select a date after which to filter the report."),id:"date-after",label:t("Date After"),onChange:"HANDLE_DATE_AFTER",path:"after",render:!0,value:void 0},{componentName:e.componentName.mixInput,helperText:t("Limit the number of top sellers returned in the report. Default is 10."),id:"limit",label:t("Limit"),onChange:"HANDLE_LIMIT",path:"limit",render:!0,value:void 0}]},actions:{HANDLE_DATE_AFTER:a("after"),HANDLE_DATE_BEFORE:a("before"),HANDLE_LIMIT:a("limit"),ON_MACHINE_LOAD:({$:o})=>{i(o,[{db:"before",id:"date-before"},{db:"after",id:"date-after"},{db:"limit",id:"limit"}])}}}));export{p as default};
