import{aa as a,ab as m}from"./_applist-tangy-colts-beg-36.js";import{_ as o}from"./main-tangy-colts-beg.js";import{h as i,s as r}from"./machine.-tangy-colts-beg-869.js";import{h as c,b as s,c as h,d as C}from"./machineh-tangy-colts-beg-816.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(n,e){return this.cache.has(n)?this.cache.get(n):(this.cache.set(n,e),e)}};const T=a(({helpers:n})=>({states:{components:[h(n),{componentName:n.componentName.mixInput,helperText:o("Enter the number of members to retrieve (max 1000)."),id:"member-limit",label:o("Member Limit"),onChange:"SET_MEMBER_LIMIT",path:"member_limit",render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{SET_CONNECTION:({$:e,e:t})=>{i("connectionId")({$:e,e:t}),C(e,n)},CONNECTION_ADD_CHANGE:s,HANDLE_BOT_TOKEN:c,SET_MEMBER_LIMIT:i("memberLimit"),IF_CONNECTION_SELECTED:({$:e})=>{var t;return m((t=e.getComponent("connection-id"))==null?void 0:t.value)},ON_MACHINE_LOAD:({$:e})=>{r(e,[{db:"connectionId",id:"connection-id"},{db:"memberLimit",id:"member-limit"}])}}}));export{T as default};
