{"version":3,"file":"cleanupSvgAttribute.mjs","sources":["../../../../src/util/internals/cleanupSvgAttribute.ts"],"sourcesContent":["import { reNum } from '../../parser/constants';\n\nexport const cleanupSvgAttribute = (attributeValue: string) =>\n  attributeValue\n    .replace(new RegExp(`(${reNum})`, 'gi'), ' $1 ')\n    // replace annoying commas and arbitrary whitespace with single spaces\n    .replace(/,/gi, ' ')\n    .replace(/\\s+/gi, ' ');\n"],"names":["cleanupSvgAttribute","attributeValue","replace","RegExp","concat","reNum"],"mappings":";;MAEaA,mBAAmB,GAAIC,cAAsB,IACxDA,cAAc,CACXC,OAAO,CAAC,IAAIC,MAAM,CAAA,GAAA,CAAAC,MAAA,CAAKC,KAAK,QAAK,IAAI,CAAC,EAAE,MAAM,CAAA;AAC/C;AAAA,CACCH,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CACnBA,OAAO,CAAC,OAAO,EAAE,GAAG;;;;"}