import{aa as a,ab as r}from"./_applist-tangy-colts-beg-36.js";import{_ as n}from"./main-tangy-colts-beg.js";import{h as i,s as c}from"./machine.-tangy-colts-beg-869.js";import{h as p,a as s,c as h}from"./flowluco-tangy-colts-beg-376.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(o,t){return this.cache.has(o)?this.cache.get(o):(this.cache.set(o,t),t)}};const _=a(({helpers:o})=>({states:{components:[h(o),{componentName:o.componentName.mixInput,fieldType:"config",helperText:n("Enter the opportunity ID to retrieve."),id:"opportunity-id",label:n("Opportunity ID"),onChange:"SET_OPPORTUNITY_ID",render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{ON_MACHINE_LOAD:({$:t})=>{c(t,[{db:"connectionId",id:"connection-id"},{db:"opportunityId",id:"opportunity-id"}])},CONNECTION_ADD_CHANGE:s,SET_DOMAIN:p,SET_CONNECTION:i("connectionId"),SET_OPPORTUNITY_ID:i("opportunityId"),IF_CONNECTION_SELECTED:({$:t})=>{var e;return r((e=t.getComponent("connection-id"))==null?void 0:e.value)}}}));export{_ as default};
