import{aa as r}from"./_applist-tangy-colts-beg-36.js";import{_ as o}from"./main-tangy-colts-beg.js";import{s as i}from"./machine.-tangy-colts-beg-869.js";import{h as a}from"./commonut-tangy-colts-beg-953.js";import{b as s}from"./machineh-tangy-colts-beg-110.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 _=r(({helpers:e})=>({states:{components:[{componentName:e.componentName.mixInput,id:"post-id",label:o("Post Id"),onChange:"HANDLE_ID",path:"postId",render:!0,required:!0,value:void 0},{componentName:e.componentName.select,id:"tags",label:o("Select Post tags"),mode:"tags",onChange:"SELECT_POST_TAGS",onRefetch:"REFETCH_POST_TAGS",options:[],path:"tags",render:!0,required:!0,value:void 0}]},actions:{ON_MACHINE_LOAD:async({$:t})=>{i(t,[{db:"postId",id:"post-id"},{db:"tags",id:"tags"}]),await s(t)},REFETCH_POST_TAGS:async({$:t})=>{await s(t)},HANDLE_ID:a("postId"),SELECT_POST_TAGS:a("tags")}}));export{_ as default};
