import{aa as l}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{h as o,s as n}from"./machine.-tangy-colts-beg-869.js";import{d as i}from"./machineh-tangy-colts-beg-426.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,a){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,a),a)}};const p=l(({helpers:e})=>({states:{components:[{componentName:e.componentName.mixInput,fieldType:"config",helperText:t("Enter the email address of the user whose extended profile you want to update."),id:"user-email",label:t("User Email"),onChange:"HANDLE_USER_EMAIL",render:!0,required:!0,value:void 0},{addItemButtonLabel:t("Add Extended Profile Field"),componentName:e.componentName.repeaterField,fieldsMetaData:[{componentName:e.componentName.select,label:t("Field"),name:"fields",options:[],required:!0,style:{width:150},value:void 0},{componentName:e.componentName.mixInput,label:t("Value"),name:"value",required:!0,value:[],wrapperClassName:"w-100"}],id:"field-map",label:t("Extended Profile Field Map"),labelActionIconName:"refresh-cw",labelActionOnClick:"REFETCH_FIELDS",labelActionText:t("Refetch Extended Profile Fields"),nonRemovableRows:[],onChange:"HANDLE_FIELD_DATA",path:"field_map",render:!0,value:[]}]},actions:{HANDLE_FIELD_DATA:o("fieldMap"),HANDLE_USER_EMAIL:o("userEmail"),ON_MACHINE_LOAD:({$:a})=>{n(a,[{db:"userEmail",id:"user-email"},{db:"fieldMap",id:"field-map"}]),i(a)},REFETCH_FIELDS:({$:a})=>i(a)}}));export{p as default};
