"use client";
let u;
const r = new Uint8Array(16);
function c() {
  if (!u && (u = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !u))
    throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
  return u(r);
}
const o = [];
for (let n = 0; n < 256; ++n)
  o.push((n + 256).toString(16).slice(1));
function d(n, e = 0) {
  return o[n[e + 0]] + o[n[e + 1]] + o[n[e + 2]] + o[n[e + 3]] + "-" + o[n[e + 4]] + o[n[e + 5]] + "-" + o[n[e + 6]] + o[n[e + 7]] + "-" + o[n[e + 8]] + o[n[e + 9]] + "-" + o[n[e + 10]] + o[n[e + 11]] + o[n[e + 12]] + o[n[e + 13]] + o[n[e + 14]] + o[n[e + 15]];
}
const p = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), i = {
  randomUUID: p
};
function m(n, e, l) {
  if (i.randomUUID && !n)
    return i.randomUUID();
  n = n || {};
  const t = n.random || (n.rng || c)();
  return t[6] = t[6] & 15 | 64, t[8] = t[8] & 63 | 128, d(t);
}
function y(n) {
  throw new Error('Could not dynamically require "' + n + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
}
export {
  y as c,
  m as v
};
//# sourceMappingURL=_commonjs-dynamic-modules-C1HfL0lf.js.map
