const r=globalThis,a=Math,o=a.floor,t=(r,a)=>r.map(a),e="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz".split("");var n;n=t(e,((r,a)=>[r,a])),new Map(n);const p=r.crypto?a=>r.crypto.getRandomValues(a):r=>t(r,(()=>o(256*a.random()))),c=(r,a)=>(r??0)<(a??0)?-1:1,l=(r=16)=>{return a=(r,a)=>r+e[63&a],p(new Uint8Array(r)).reduce(a,"");var a};export{c as defaultSorter,l as getUniqueId};
