import{aa as n}from"./_applist-tangy-colts-beg-36.js";import{_ as e}from"./main-tangy-colts-beg.js";import{h as s,s as o}from"./machine.-tangy-colts-beg-869.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(t,a){return this.cache.has(t)?this.cache.get(t):(this.cache.set(t,a),a)}};const u=n(({helpers:t})=>({states:{components:[{componentName:t.componentName.mixInput,helperText:e("Enter the WordPress user ID to change member status"),id:"user-id",label:e("User ID"),onChange:"SET_USER_ID",path:"user_id",placeholder:e("Enter user ID"),render:!0,value:void 0},{componentName:t.componentName.select,helperText:e("Select the new member status"),id:"status",label:e("Member Status"),onChange:"SELECT_STATUS",options:[{label:e("Active"),value:"active"},{label:e("Inactive"),value:"inactive"},{label:e("Banned"),value:"banned"},{label:e("Pending"),value:"pending"}],path:"status",placeholder:e("Select new status"),render:!0,value:"active"}]},actions:{ON_MACHINE_LOAD:async({$:a})=>{o(a,[{db:"userId",id:"user-id"},{db:"status",id:"status"}])},SELECT_STATUS:s("status"),SET_USER_ID:s("userId")}}));export{u as default};
