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}from"./machine.-tangy-colts-beg-869.js";import{h as r,c as d}from"./commonut-tangy-colts-beg-715.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const E=i(({helpers:e})=>({states:{components:[d(e),{componentName:e.componentName.mixInput,id:"id",label:n("Newsletter ID"),onChange:"HANDLE_ID",path:"id",placeholder:n("Enter the newsletter ID"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{IF_CONNECTION_SELECTED:({$:t})=>{var o;return c((o=t.getComponent("connection-id"))==null?void 0:o.value)},CONNECTION_ADD_CHANGE:r,HANDLE_ID:a("id"),SET_CONNECTION:a("connectionId"),ON_MACHINE_LOAD:async({$:t})=>{s(t,[{db:"connectionId",id:"connection-id"},{db:"id",id:"id"}])}}}));export{E as default};
