{"version":3,"file":"findAttribute.mjs","sources":["../../../admin/src/utils/findAttribute.ts"],"sourcesContent":["import { AnyAttribute } from '../types';\n\nexport const findAttribute = (attributes: AnyAttribute[], attributeToFind: string) => {\n  return attributes.find(({ name }) => name === attributeToFind);\n};\n"],"names":["findAttribute","attributes","attributeToFind","find","name"],"mappings":"AAEO,MAAMA,aAAAA,GAAgB,CAACC,UAAAA,EAA4BC,eAAAA,GAAAA;IACxD,OAAOD,UAAAA,CAAWE,IAAI,CAAC,CAAC,EAAEC,IAAI,EAAE,GAAKA,IAAAA,KAASF,eAAAA,CAAAA;AAChD;;;;"}