import{aa as i}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"./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=i(({helpers:e})=>({states:{components:[{componentName:e.componentName.mixInput,helperText:t("Enter the post ID to update."),id:"post-id",label:t("Post ID"),onChange:"HANDLE_POST_ID",path:"post_id",render:!0,required:!0,value:[]},{componentName:e.componentName.mixInput,helperText:t("Enter the ACF field name."),id:"field-name",label:t("Field Name"),onChange:"HANDLE_FIELD_NAME",path:"field_name",render:!0,required:!0,value:[]},{componentName:e.componentName.mixInput,helperText:t("Enter the field value."),id:"field-value",label:t("Field Value"),onChange:"HANDLE_FIELD_VALUE",path:"field_value",render:!0,required:!0,value:[]}]},actions:{HANDLE_FIELD_NAME:o("fieldName"),HANDLE_FIELD_VALUE:o("fieldValue"),HANDLE_POST_ID:o("postId"),ON_MACHINE_LOAD:async({$:a})=>{n(a,[{db:"postId",id:"post-id"},{db:"fieldName",id:"field-name"},{db:"fieldValue",id:"field-value"}])}}}));export{p as default};
