import u from"crypto";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"4.2.860"}}catch{}})();try{(function(){var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new n.Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="3783cde1-0a29-4e25-b755-89c80c469ed0",n._sentryDebugIdIdentifier="sentry-dbid-3783cde1-0a29-4e25-b755-89c80c469ed0")})()}catch{}const c=new Uint8Array(256);let o=c.length;function y(){return o>c.length-16&&(u.randomFillSync(c),o=0),c.slice(o,o+=16)}const g=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function r(n){return typeof n=="string"&&g.test(n)}const i=[];for(let n=0;n<256;++n)i.push((n+256).toString(16).substr(1));function a(n,e=0){const d=(i[n[e+0]]+i[n[e+1]]+i[n[e+2]]+i[n[e+3]]+"-"+i[n[e+4]]+i[n[e+5]]+"-"+i[n[e+6]]+i[n[e+7]]+"-"+i[n[e+8]]+i[n[e+9]]+"-"+i[n[e+10]]+i[n[e+11]]+i[n[e+12]]+i[n[e+13]]+i[n[e+14]]+i[n[e+15]]).toLowerCase();if(!r(d))throw TypeError("Stringified UUID is invalid");return d}function b(n,e,d){n=n||{};const t=n.random||(n.rng||y)();if(t[6]=t[6]&15|64,t[8]=t[8]&63|128,e){d=d||0;for(let l=0;l<16;++l)e[d+l]=t[l];return e}return a(t)}export{r as a,y as r,a as s,b as v};
//# sourceMappingURL=v4-CEl4XKrc.mjs.map
