import{aa as s,ab as a}from"./_applist-tangy-colts-beg-36.js";import{_ as o}from"./main-tangy-colts-beg.js";import{s as c}from"./machine.-tangy-colts-beg-869.js";import{b as t}from"./machineh-tangy-colts-beg-984.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(r,e){return this.cache.has(r)?this.cache.get(r):(this.cache.set(r,e),e)}};const R=s(({helpers:r})=>({actions:{ON_MACHINE_LOAD:async({$:e})=>{c(e,[{db:"recurringMembershipId",id:"recurring-membership-id"}]),await t(e)},REFETCH_RECURRING_MEMBERSHIPS:async({$:e})=>t(e),SELECT_RECURRING_MEMBERSHIP:async({$:e,e:i})=>{e.setThisComponent(n=>{n.value=i}),e.setDb({recurringMembershipId:i})}},states:{components:[{componentName:r.componentName.select,fieldType:"config",id:"recurring-membership-id",label:o("Recurring-memberships"),onChange:"SELECT_RECURRING_MEMBERSHIP",onRefetch:"REFETCH_RECURRING_MEMBERSHIPS",options:[],placeholder:o("Select a recurring-membership"),render:!0,value:void 0},{componentName:r.componentName.hookListener,fieldType:"config",id:"hook-listener",label:o("Listen Hook"),render:({$:e})=>{var i;return a((i=e.getComponent("recurring-membership-id"))==null?void 0:i.value)}}]}}));export{R as default};
