import{aa as i,ab as c}from"./_applist-tangy-colts-beg-36.js";import{_ as a}from"./main-tangy-colts-beg.js";import{h as n,s as l}from"./machine.-tangy-colts-beg-869.js";import{h as C,c as h}from"./twilioco-tangy-colts-beg-300.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const _=i(({helpers:e})=>({states:{components:[h(e),{componentName:e.componentName.mixInput,helperText:a("Enter the Call ID that you want to Get"),id:"call-id",label:a("Call ID"),onChange:"SET_CALL_ID",path:"callId",render:"IF_CONNECTION_SELECTED",required:!0,value:[]}]},actions:{CONNECTION_ADD_CHANGE:C,IF_CONNECTION_SELECTED:({$:t})=>{var o;return c((o=t.getComponent("connection-id"))==null?void 0:o.value)},SET_CALL_ID:n("callId"),SET_CONNECTION:n("connectionId"),ON_MACHINE_LOAD:({$:t})=>{l(t,[{db:"connectionId",id:"connection-id"},{db:"callId",id:"call-id"}])}}}));export{_ as default};
