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