import{aa as i,ab as s}from"./_applist-tangy-colts-beg-36.js";import{_ as n}from"./main-tangy-colts-beg.js";import{h as t,s as c}from"./machine.-tangy-colts-beg-869.js";import{h as r,c as m}from"./commonut-tangy-colts-beg-715.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,a){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,a),a)}};const N=i(({helpers:e})=>({states:{components:[m(e),{componentName:e.componentName.mixInput,id:"email",label:n("Subscriber Email Address"),onChange:"HANDLE_EMAIL",path:"email",placeholder:n("Enter the subscriber email address"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{IF_CONNECTION_SELECTED:({$:a})=>{var o;return s((o=a.getComponent("connection-id"))==null?void 0:o.value)},CONNECTION_ADD_CHANGE:r,HANDLE_EMAIL:t("email"),SET_CONNECTION:t("connectionId"),ON_MACHINE_LOAD:async({$:a})=>{c(a,[{db:"connectionId",id:"connection-id"},{db:"email",id:"email"}])}}}));export{N as s};
