import{T as TextField}from"./index-403e215e.js";function findFieldNestedField(e,i){if(i.includes(".")){var n=i.split(".")[0];return e.find((function(e){return e.id===n}))}return undefined}function findField(e,i){if(i==="name"){return new TextField("name","")}return e.find((function(e){return e.id===i}))||findFieldNestedField(e,i)}export{findField as f};