import{aa as i}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{s as n}from"./machine.-tangy-colts-beg-869.js";import{h as a}from"./commonut-tangy-colts-beg-953.js";import"./lodash-tangy-colts-beg-516.js";import"./machineh-tangy-colts-beg-110.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,o){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,o),o)}};const p=i(({helpers:e})=>({states:{components:[{componentName:e.componentName.mixInput,helperText:t("The field to retrieve the data. slug, name, term_id or term_taxonomy_id."),id:"field-key",label:t("Field"),onChange:"HANDLE_FIELD",path:"fieldKey",render:!0,required:!0,value:void 0},{componentName:e.componentName.mixInput,helperText:t("Enter the matching value for the selected field"),id:"field-value",label:t("Field Value"),onChange:"HANDLE_VALUE",path:"fieldValue",render:!0,required:!0,value:void 0},{componentName:e.componentName.mixInput,helperText:t("Taxonomy name is Optional, if field is term_taxonomy_id."),id:"taxonomy",label:t("Taxonomy Name"),onChange:"HANDLE_TAXONOMY",path:"taxonomy",render:!0,required:!0,value:void 0}]},actions:{ON_MACHINE_LOAD:({$:o})=>{n(o,[{db:"fieldKey",id:"field-key"},{db:"fieldValue",id:"field-value"},{db:"taxonomy",id:"taxonomy"}])},HANDLE_FIELD:a("fieldKey"),HANDLE_TAXONOMY:a("taxonomy"),HANDLE_VALUE:a("fieldValue")}}));export{p as default};
