function generateId(r){if(r===void 0){r=6}var a="";var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";var t=e.length;for(var n=0;n<r;n++){a+=e.charAt(Math.floor(Math.random()*t))}return a}export{generateId as g};