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