import{b as i}from"./useflows-BpG3C9m1.js";import{e}from"./main-few-lands-burn.js";import{s as n}from"./machine.-BRuqPpdF.js";import{h as t}from"./commonut-D3rqJBtm.js";import"./mutative-C6xjlr6O.js";import"./lodash-YpNkAOPN.js";import"./machineh-D8WlVdMZ.js";const _=i(({helpers:o})=>({states:{components:[{componentName:o.componentName.mixInput,helperText:e("The field to retrieve the data. slug, name, term_id or term_taxonomy_id."),id:"field-key",label:e("Field"),onChange:"HANDLE_FIELD",path:"fieldKey",render:!0,required:!0,value:void 0},{componentName:o.componentName.mixInput,helperText:e("Enter the matching value for the selected field"),id:"field-value",label:e("Field Value"),onChange:"HANDLE_VALUE",path:"fieldValue",render:!0,required:!0,value:void 0},{componentName:o.componentName.mixInput,helperText:e("Taxonomy name is Optional, if field is term_taxonomy_id."),id:"taxonomy",label:e("Taxonomy Name"),onChange:"HANDLE_TAXONOMY",path:"taxonomy",render:!0,required:!0,value:void 0}]},actions:{ON_MACHINE_LOAD:({$:a})=>{n(a,[{db:"fieldKey",id:"field-key"},{db:"fieldValue",id:"field-value"},{db:"taxonomy",id:"taxonomy"}])},HANDLE_FIELD:t("fieldKey"),HANDLE_TAXONOMY:t("taxonomy"),HANDLE_VALUE:t("fieldValue")}}));export{_ as default};
