import{aa as i}from"./_applist-tangy-colts-beg-36.js";import{_ as o}from"./main-tangy-colts-beg.js";import{h as a,s}from"./machine.-tangy-colts-beg-869.js";import{a as r}from"./machineh-tangy-colts-beg-426.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(t,e){return this.cache.has(t)?this.cache.get(t):(this.cache.set(t,e),e)}};const c=i(({helpers:t})=>({states:{components:[{componentName:t.componentName.mixInput,helperText:o("Enter the email address of the user whose member type you want to change."),id:"user-email",label:o("User Email"),onChange:"HANDLE_USER_EMAIL",path:"user_email",render:!0,required:!0,value:void 0},{allowClear:!0,componentName:t.componentName.select,fieldType:"config",helperText:o("Select the profile type to assign to the user."),id:"profile-type",label:o("Profile Type"),onChange:"HANDLE_PROFILE_TYPE",onRefetch:"REFETCH_PROFILE_TYPES",options:[],render:!0,required:!0,value:void 0}]},actions:{HANDLE_PROFILE_TYPE:a("profileType"),HANDLE_USER_EMAIL:a("userEmail"),REFETCH_PROFILE_TYPES:({$:e})=>r(e),ON_MACHINE_LOAD:({$:e})=>{s(e,[{db:"userEmail",id:"user-email"},{db:"profileType",id:"profile-type"}]),r(e)}}}));export{c as default};
