import{aa as s}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{h as r,s as i}from"./machine.-tangy-colts-beg-869.js";import{c as a}from"./machineh-tangy-colts-beg-426.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 h=s(({helpers:o})=>({states:{components:[{componentName:o.componentName.mixInput,helperText:t("Enter the email address of the user you want to subscribe to the forum."),id:"user-email",label:t("User Email"),onChange:"HANDLE_USER_EMAIL",path:"user_email",render:!0,required:!0,value:void 0},{allowClear:!0,componentName:o.componentName.select,fieldType:"config",helperText:t("Select the forum to subscribe the user to."),id:"forum-id",label:t("Select Forum"),onChange:"HANDLE_FORUM_ID",onRefetch:"REFETCH_FORUMS",options:[],render:!0,required:!0,value:void 0}]},actions:{HANDLE_FORUM_ID:r("forumId"),HANDLE_USER_EMAIL:r("userEmail"),REFETCH_FORUMS:({$:e})=>a(e),ON_MACHINE_LOAD:({$:e})=>{i(e,[{db:"userEmail",id:"user-email"},{db:"forumId",id:"forum-id"}]),a(e)}}}));export{h as default};
