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 d}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 n=r(({helpers:e})=>({states:{components:[{componentName:e.componentName.mixInput,helperText:t("Id of the product to be added to cart."),id:"product-id",label:t("Product Id"),onChange:"HANDLE_ID",path:"product_id",render:!0,required:!0,value:void 0},{componentName:e.componentName.mixInput,id:"message",label:t("Custom Message"),onChange:"HANDLE_MESSAGE",path:"message",render:!0,required:!0,value:void 0}]},actions:{HANDLE_ID:a("productId"),HANDLE_MESSAGE:a("message"),ON_MACHINE_LOAD:({$:o})=>{d(o,[{db:"productId",id:"product-id"},{db:"message",id:"message"}])}}}));export{n as default};
