package imgbundler import ( "context" "encoding/base64" "fmt" "io/ioutil" "net/http" "regexp" "strings" "sync" "time" "oss.terrastruct.com/d2/lib/xmain" ) var imgRe = regexp.MustCompile(`