(()=>{"use strict";var e={151:e=>{function dataUriToBuffer(e){if(!/^data:/i.test(e)){throw new TypeError('`uri` does not appear to be a Data URI (must begin with "data:")')}e=e.replace(/\r?\n/g,"");const r=e.indexOf(",");if(r===-1||r<=4){throw new TypeError("malformed data: URI")}const t=e.substring(5,r).split(";");let a="";let i=false;const s=t[0]||"text/plain";let n=s;for(let e=1;e