const y=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;function D(r){return typeof r=="string"&&y.test(r)}function E(r){if(!D(r))throw TypeError("Invalid UUID");var n,f=new Uint8Array(16);return f[0]=(n=parseInt(r.slice(0,8),16))>>>24,f[1]=n>>>16&255,f[2]=n>>>8&255,f[3]=n&255,f[4]=(n=parseInt(r.slice(9,13),16))>>>8,f[5]=n&255,f[6]=(n=parseInt(r.slice(14,18),16))>>>8,f[7]=n&255,f[8]=(n=parseInt(r.slice(19,23),16))>>>8,f[9]=n&255,f[10]=(n=parseInt(r.slice(24,36),16))/1099511627776&255,f[11]=n/4294967296&255,f[12]=n>>>24&255,f[13]=n>>>16&255,f[14]=n>>>8&255,f[15]=n&255,f}var a=[];for(var R=0;R<256;++R)a.push((R+256).toString(16).slice(1));function L(r,n=0){return(a[r[n+0]]+a[r[n+1]]+a[r[n+2]]+a[r[n+3]]+"-"+a[r[n+4]]+a[r[n+5]]+"-"+a[r[n+6]]+a[r[n+7]]+"-"+a[r[n+8]]+a[r[n+9]]+"-"+a[r[n+10]]+a[r[n+11]]+a[r[n+12]]+a[r[n+13]]+a[r[n+14]]+a[r[n+15]]).toLowerCase()}function N(r){r=unescape(encodeURIComponent(r));for(var n=[],f=0;f