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