import{b as a,i}from"./useflows-BpG3C9m1.js";import{e as t}from"./main-few-lands-burn.js";import{s as r,h as o}from"./machine.-BRuqPpdF.js";import{h as m,c as N}from"./commonut-BBfXq81f.js";import"./mutative-C6xjlr6O.js";import"./lodash-YpNkAOPN.js";const I=a(({helpers:n})=>({states:{components:[N(n),{componentName:n.componentName.mixInput,helperText:t("Enter the ID of the agent you want to retrieve."),id:"agent-id",label:t("Agent ID"),onChange:"SET_AGENT_ID",path:"agentId",render:"IF_CONNECTION_SELECTED",required:!0,value:[]}]},actions:{CONNECTION_ADD_CHANGE:m,IF_CONNECTION_SELECTED:({$:e})=>i(e.getComponent("connection-id")?.value),SET_AGENT_ID:o("agentId"),SET_CONNECTION:o("connectionId"),ON_MACHINE_LOAD:({$:e})=>{r(e,[{db:"connectionId",id:"connection-id"},{db:"agentId",id:"agent-id"}])}}}));export{I as default};
