import{aa as i,ab as c}from"./_applist-tangy-colts-beg-36.js";import{_ as n}from"./main-tangy-colts-beg.js";import{h as a,s as r}from"./machine.-tangy-colts-beg-869.js";import{h as s,a as h,c as C}from"./flowluco-tangy-colts-beg-376.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 E=i(({helpers:e})=>({states:{components:[C(e),{componentName:e.componentName.mixInput,fieldType:"config",helperText:n("Enter the opportunity source ID to retrieve."),id:"source-id",label:n("Opportunity Source ID"),onChange:"SET_SOURCE_ID",render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{ON_MACHINE_LOAD:({$:o})=>{r(o,[{db:"connectionId",id:"connection-id"},{db:"sourceId",id:"source-id"}])},CONNECTION_ADD_CHANGE:h,SET_DOMAIN:s,SET_CONNECTION:a("connectionId"),SET_SOURCE_ID:a("sourceId"),IF_CONNECTION_SELECTED:({$:o})=>{var t;return c((t=o.getComponent("connection-id"))==null?void 0:t.value)}}}));export{E as default};
