exports.__esModule=!0
var e=require("@dr-js/core/library/common/string.js")
var r=require("./svgo-dist-browser.js")
const s={isCommonPatch:!0,floatPrecision:2,plugins:["preset-default","removeScriptElement"]}
exports.OPTION_DEFAULT=s
exports.configBufferProcessorAsync=async(o=s)=>async(s,i=String(s))=>{let t=(0,r.optimize)(i,o).data
o.isCommonPatch&&(t=(0,e.replaceAll)(t,'xlink:href="data:img/png;base64,iVB','xlink:href="data:image/png;base64,iVB'))
return Buffer.from(t)}
