import{aa as i}from"./_applist-tangy-colts-beg-36.js";import{_ as e}from"./main-tangy-colts-beg.js";import{h as r,s as l}from"./machine.-tangy-colts-beg-869.js";import{c as n}from"./machineh-tangy-colts-beg-426.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(t,o){return this.cache.has(t)?this.cache.get(t):(this.cache.set(t,o),o)}};const u=i(({helpers:t})=>({states:{components:[{allowClear:!0,componentName:t.componentName.select,fieldType:"config",helperText:e("Select the forum containing the topic."),id:"forum-id",label:e("Select Forum"),onChange:"HANDLE_FORUM_ID",onRefetch:"REFETCH_FORUMS",options:[],render:!0,required:!0,value:void 0},{componentName:t.componentName.mixInput,fieldType:"config",helperText:e("Enter the topic ID to reply to."),id:"topic-id",label:e("Topic ID"),onChange:"HANDLE_TOPIC_ID",render:!0,required:!0,value:void 0},{componentName:t.componentName.mixInput,helperText:e("Enter the title of the reply."),id:"reply-title",label:e("Reply Title"),onChange:"HANDLE_REPLY_TITLE",path:"reply_title",render:!0,required:!0,value:void 0},{componentName:t.componentName.mixInput,helperText:e("Enter the content of the reply."),id:"reply-content",label:e("Reply Content"),onChange:"HANDLE_REPLY_CONTENT",path:"reply_content",render:!0,required:!0,value:void 0},{componentName:t.componentName.mixInput,helperText:e("Enter the email address of the user who will create the reply."),id:"reply-author-email",label:e("Reply Author Email"),onChange:"HANDLE_REPLY_AUTHOR_EMAIL",path:"reply_author_email",render:!0,required:!0,value:void 0}]},actions:{HANDLE_FORUM_ID:r("forumId"),HANDLE_REPLY_AUTHOR_EMAIL:r("replyAuthorEmail"),HANDLE_REPLY_CONTENT:r("replyContent"),HANDLE_REPLY_TITLE:r("replyTitle"),HANDLE_TOPIC_ID:r("topicId"),REFETCH_FORUMS:({$:o})=>n(o),ON_MACHINE_LOAD:({$:o})=>{l(o,[{db:"forumId",id:"forum-id"},{db:"topicId",id:"topic-id"},{db:"replyTitle",id:"reply-title"},{db:"replyContent",id:"reply-content"},{db:"replyAuthorEmail",id:"reply-author-email"}]),n(o)}}}));export{u as default};
