import{aa as a,ab as s}from"./_applist-tangy-colts-beg-36.js";import{_ as i}from"./main-tangy-colts-beg.js";import{s as c}from"./machine.-tangy-colts-beg-869.js";import{h as n,a as r,c as p}from"./commonut-tangy-colts-beg-867.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 u=a(({helpers:e})=>({states:{components:[p(e),{componentName:e.componentName.mixInput,helperText:i("Enter subscription ID to retrieve the subscription"),id:"subscription-id",label:i("Subscription ID"),onChange:"HANDLE_SUBSCRIPTION",path:"subscription_id",render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{CONNECTION_ADD_CHANGE:r,HANDLE_SUBSCRIPTION:n("subscriptionId"),IF_CONNECTION_SELECTED:({$:o})=>{var t;return s((t=o.getComponent("connection-id"))==null?void 0:t.value)},SET_CONNECTION:n("connectionId"),ON_MACHINE_LOAD:async({$:o})=>{c(o,[{db:"connectionId",id:"connection-id"},{db:"subscriptionId",id:"subscription-id"}])}}}));export{u as default};
