import { _ as R, a as M, b as Ye, c as Se } from "./common.modules-cecf9b0d.js";
var Le = "4.6.2";
function O(e, n) {
  return new Promise(function (t) {
    return setTimeout(t, e, n);
  });
}
function Xe() {
  return new Promise(function (e) {
    var n = new MessageChannel();
    (n.port1.onmessage = function () {
      return e();
    }),
      n.port2.postMessage(null);
  });
}
function Ne(e, n) {
  n === void 0 && (n = 1 / 0);
  var t = window.requestIdleCallback;
  return t
    ? new Promise(function (r) {
        return t.call(
          window,
          function () {
            return r();
          },
          { timeout: n }
        );
      })
    : O(Math.min(e, n));
}
function U(e) {
  return !!e && typeof e.then == "function";
}
function ue(e, n) {
  try {
    var t = e();
    U(t)
      ? t.then(
          function (r) {
            return n(!0, r);
          },
          function (r) {
            return n(!1, r);
          }
        )
      : n(!0, t);
  } catch (r) {
    n(!1, r);
  }
}
function se(e, n, t) {
  return (
    t === void 0 && (t = 16),
    R(this, void 0, void 0, function () {
      var r, a, u, i;
      return M(this, function (s) {
        switch (s.label) {
          case 0:
            (r = Array(e.length)), (a = Date.now()), (u = 0), (s.label = 1);
          case 1:
            return u < e.length
              ? ((r[u] = n(e[u], u)),
                (i = Date.now()),
                i >= a + t ? ((a = i), [4, Xe()]) : [3, 3])
              : [3, 4];
          case 2:
            s.sent(), (s.label = 3);
          case 3:
            return ++u, [3, 1];
          case 4:
            return [2, r];
        }
      });
    })
  );
}
function N(e) {
  return e.then(void 0, function () {}), e;
}
function je(e, n) {
  for (var t = 0, r = e.length; t < r; ++t) if (e[t] === n) return !0;
  return !1;
}
function He(e, n) {
  return !je(e, n);
}
function ne(e) {
  return parseInt(e);
}
function F(e) {
  return parseFloat(e);
}
function P(e, n) {
  return typeof e == "number" && isNaN(e) ? n : e;
}
function x(e) {
  return e.reduce(function (n, t) {
    return n + (t ? 1 : 0);
  }, 0);
}
function ke(e, n) {
  if ((n === void 0 && (n = 1), Math.abs(n) >= 1)) return Math.round(e / n) * n;
  var t = 1 / n;
  return Math.round(e * t) / t;
}
function De(e) {
  for (
    var n,
      t,
      r = "Unexpected syntax '".concat(e, "'"),
      a = /^\s*([a-z-]*)(.*)$/i.exec(e),
      u = a[1] || void 0,
      i = {},
      s = /([.:#][\w-]+|\[.+?\])/gi,
      c = function (d, v) {
        (i[d] = i[d] || []), i[d].push(v);
      };
    ;

  ) {
    var f = s.exec(a[2]);
    if (!f) break;
    var l = f[0];
    switch (l[0]) {
      case ".":
        c("class", l.slice(1));
        break;
      case "#":
        c("id", l.slice(1));
        break;
      case "[": {
        var o = /^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(
          l
        );
        if (o)
          c(
            o[1],
            (t = (n = o[4]) !== null && n !== void 0 ? n : o[5]) !== null &&
              t !== void 0
              ? t
              : ""
          );
        else throw new Error(r);
        break;
      }
      default:
        throw new Error(r);
    }
  }
  return [u, i];
}
function ze(e) {
  for (var n = new Uint8Array(e.length), t = 0; t < e.length; t++) {
    var r = e.charCodeAt(t);
    if (r > 127) return new TextEncoder().encode(e);
    n[t] = r;
  }
  return n;
}
function G(e, n) {
  var t = e[0] >>> 16,
    r = e[0] & 65535,
    a = e[1] >>> 16,
    u = e[1] & 65535,
    i = n[0] >>> 16,
    s = n[0] & 65535,
    c = n[1] >>> 16,
    f = n[1] & 65535,
    l = 0,
    o = 0,
    d = 0,
    v = 0;
  (v += u + f),
    (d += v >>> 16),
    (v &= 65535),
    (d += a + c),
    (o += d >>> 16),
    (d &= 65535),
    (o += r + s),
    (l += o >>> 16),
    (o &= 65535),
    (l += t + i),
    (l &= 65535),
    (e[0] = (l << 16) | o),
    (e[1] = (d << 16) | v);
}
function C(e, n) {
  var t = e[0] >>> 16,
    r = e[0] & 65535,
    a = e[1] >>> 16,
    u = e[1] & 65535,
    i = n[0] >>> 16,
    s = n[0] & 65535,
    c = n[1] >>> 16,
    f = n[1] & 65535,
    l = 0,
    o = 0,
    d = 0,
    v = 0;
  (v += u * f),
    (d += v >>> 16),
    (v &= 65535),
    (d += a * f),
    (o += d >>> 16),
    (d &= 65535),
    (d += u * c),
    (o += d >>> 16),
    (d &= 65535),
    (o += r * f),
    (l += o >>> 16),
    (o &= 65535),
    (o += a * c),
    (l += o >>> 16),
    (o &= 65535),
    (o += u * s),
    (l += o >>> 16),
    (o &= 65535),
    (l += t * f + r * c + a * s + u * i),
    (l &= 65535),
    (e[0] = (l << 16) | o),
    (e[1] = (d << 16) | v);
}
function E(e, n) {
  var t = e[0];
  (n %= 64),
    n === 32
      ? ((e[0] = e[1]), (e[1] = t))
      : n < 32
      ? ((e[0] = (t << n) | (e[1] >>> (32 - n))),
        (e[1] = (e[1] << n) | (t >>> (32 - n))))
      : ((n -= 32),
        (e[0] = (e[1] << n) | (t >>> (32 - n))),
        (e[1] = (t << n) | (e[1] >>> (32 - n))));
}
function V(e, n) {
  (n %= 64),
    n !== 0 &&
      (n < 32
        ? ((e[0] = e[1] >>> (32 - n)), (e[1] = e[1] << n))
        : ((e[0] = e[1] << (n - 32)), (e[1] = 0)));
}
function g(e, n) {
  (e[0] ^= n[0]), (e[1] ^= n[1]);
}
var Be = [4283543511, 3981806797],
  Je = [3301882366, 444984403];
function le(e) {
  var n = [0, e[0] >>> 1];
  g(e, n),
    C(e, Be),
    (n[1] = e[0] >>> 1),
    g(e, n),
    C(e, Je),
    (n[1] = e[0] >>> 1),
    g(e, n);
}
var z = [2277735313, 289559509],
  B = [1291169091, 658871167],
  fe = [0, 5],
  Oe = [0, 1390208809],
  Ue = [0, 944331445];
function xe(e, n) {
  var t = ze(e);
  n = n || 0;
  var r = [0, t.length],
    a = r[1] % 16,
    u = r[1] - a,
    i = [0, n],
    s = [0, n],
    c = [0, 0],
    f = [0, 0],
    l;
  for (l = 0; l < u; l = l + 16)
    (c[0] = t[l + 4] | (t[l + 5] << 8) | (t[l + 6] << 16) | (t[l + 7] << 24)),
      (c[1] = t[l] | (t[l + 1] << 8) | (t[l + 2] << 16) | (t[l + 3] << 24)),
      (f[0] =
        t[l + 12] | (t[l + 13] << 8) | (t[l + 14] << 16) | (t[l + 15] << 24)),
      (f[1] =
        t[l + 8] | (t[l + 9] << 8) | (t[l + 10] << 16) | (t[l + 11] << 24)),
      C(c, z),
      E(c, 31),
      C(c, B),
      g(i, c),
      E(i, 27),
      G(i, s),
      C(i, fe),
      G(i, Oe),
      C(f, B),
      E(f, 33),
      C(f, z),
      g(s, f),
      E(s, 31),
      G(s, i),
      C(s, fe),
      G(s, Ue);
  (c[0] = 0), (c[1] = 0), (f[0] = 0), (f[1] = 0);
  var o = [0, 0];
  switch (a) {
    case 15:
      (o[1] = t[l + 14]), V(o, 48), g(f, o);
    case 14:
      (o[1] = t[l + 13]), V(o, 40), g(f, o);
    case 13:
      (o[1] = t[l + 12]), V(o, 32), g(f, o);
    case 12:
      (o[1] = t[l + 11]), V(o, 24), g(f, o);
    case 11:
      (o[1] = t[l + 10]), V(o, 16), g(f, o);
    case 10:
      (o[1] = t[l + 9]), V(o, 8), g(f, o);
    case 9:
      (o[1] = t[l + 8]), g(f, o), C(f, B), E(f, 33), C(f, z), g(s, f);
    case 8:
      (o[1] = t[l + 7]), V(o, 56), g(c, o);
    case 7:
      (o[1] = t[l + 6]), V(o, 48), g(c, o);
    case 6:
      (o[1] = t[l + 5]), V(o, 40), g(c, o);
    case 5:
      (o[1] = t[l + 4]), V(o, 32), g(c, o);
    case 4:
      (o[1] = t[l + 3]), V(o, 24), g(c, o);
    case 3:
      (o[1] = t[l + 2]), V(o, 16), g(c, o);
    case 2:
      (o[1] = t[l + 1]), V(o, 8), g(c, o);
    case 1:
      (o[1] = t[l]), g(c, o), C(c, z), E(c, 31), C(c, B), g(i, c);
  }
  return (
    g(i, r),
    g(s, r),
    G(i, s),
    G(s, i),
    le(i),
    le(s),
    G(i, s),
    G(s, i),
    ("00000000" + (i[0] >>> 0).toString(16)).slice(-8) +
      ("00000000" + (i[1] >>> 0).toString(16)).slice(-8) +
      ("00000000" + (s[0] >>> 0).toString(16)).slice(-8) +
      ("00000000" + (s[1] >>> 0).toString(16)).slice(-8)
  );
}
function Qe(e) {
  var n;
  return Ye(
    {
      name: e.name,
      message: e.message,
      stack:
        (n = e.stack) === null || n === void 0
          ? void 0
          : n.split(`
`),
    },
    e
  );
}
function _e(e) {
  return /^function\s.*?\{\s*\[native code]\s*}$/.test(String(e));
}
function Ve(e) {
  return typeof e != "function";
}
function Ke(e, n) {
  var t = N(
    new Promise(function (r) {
      var a = Date.now();
      ue(e.bind(null, n), function () {
        for (var u = [], i = 0; i < arguments.length; i++) u[i] = arguments[i];
        var s = Date.now() - a;
        if (!u[0])
          return r(function () {
            return { error: u[1], duration: s };
          });
        var c = u[1];
        if (Ve(c))
          return r(function () {
            return { value: c, duration: s };
          });
        r(function () {
          return new Promise(function (f) {
            var l = Date.now();
            ue(c, function () {
              for (var o = [], d = 0; d < arguments.length; d++)
                o[d] = arguments[d];
              var v = s + Date.now() - l;
              if (!o[0]) return f({ error: o[1], duration: v });
              f({ value: o[1], duration: v });
            });
          });
        });
      });
    })
  );
  return function () {
    return t.then(function (a) {
      return a();
    });
  };
}
function $e(e, n, t, r) {
  var a = Object.keys(e).filter(function (i) {
      return He(t, i);
    }),
    u = N(
      se(
        a,
        function (i) {
          return Ke(e[i], n);
        },
        r
      )
    );
  return function () {
    return R(this, void 0, void 0, function () {
      var s, c, f, l, o;
      return M(this, function (d) {
        switch (d.label) {
          case 0:
            return [4, u];
          case 1:
            return (
              (s = d.sent()),
              [
                4,
                se(
                  s,
                  function (v) {
                    return N(v());
                  },
                  r
                ),
              ]
            );
          case 2:
            return (c = d.sent()), [4, Promise.all(c)];
          case 3:
            for (f = d.sent(), l = {}, o = 0; o < a.length; ++o) l[a[o]] = f[o];
            return [2, l];
        }
      });
    });
  };
}
function Qt(e, n) {
  var t = function (r) {
    return Ve(r)
      ? n(r)
      : function () {
          var a = r();
          return U(a) ? a.then(n) : n(a);
        };
  };
  return function (r) {
    var a = e(r);
    return U(a) ? a.then(t) : t(a);
  };
}
function Ce() {
  var e = window,
    n = navigator;
  return (
    x([
      "MSCSSMatrix" in e,
      "msSetImmediate" in e,
      "msIndexedDB" in e,
      "msMaxTouchPoints" in n,
      "msPointerEnabled" in n,
    ]) >= 4
  );
}
function qe() {
  var e = window,
    n = navigator;
  return (
    x([
      "msWriteProfilerMark" in e,
      "MSStream" in e,
      "msLaunchUri" in n,
      "msSaveBlob" in n,
    ]) >= 3 && !Ce()
  );
}
function j() {
  var e = window,
    n = navigator;
  return (
    x([
      "webkitPersistentStorage" in n,
      "webkitTemporaryStorage" in n,
      (n.vendor || "").indexOf("Google") === 0,
      "webkitResolveLocalFileSystemURL" in e,
      "BatteryManager" in e,
      "webkitMediaStream" in e,
      "webkitSpeechGrammar" in e,
    ]) >= 5
  );
}
function W() {
  var e = window,
    n = navigator;
  return (
    x([
      "ApplePayError" in e,
      "CSSPrimitiveValue" in e,
      "Counter" in e,
      n.vendor.indexOf("Apple") === 0,
      "RGBColor" in e,
      "WebKitMediaKeys" in e,
    ]) >= 4
  );
}
function te() {
  var e = window,
    n = e.HTMLElement,
    t = e.Document;
  return (
    x([
      "safari" in e,
      !("ongestureend" in e),
      !("TouchEvent" in e),
      !("orientation" in e),
      n && !("autocapitalize" in n.prototype),
      t && "pointerLockElement" in t.prototype,
    ]) >= 4
  );
}
function H() {
  var e = window;
  return _e(e.print) && String(e.browser) === "[object WebPageNamespace]";
}
function Fe() {
  var e,
    n,
    t = window;
  return (
    x([
      "buildID" in navigator,
      "MozAppearance" in
        ((n =
          (e = document.documentElement) === null || e === void 0
            ? void 0
            : e.style) !== null && n !== void 0
          ? n
          : {}),
      "onmozfullscreenchange" in t,
      "mozInnerScreenX" in t,
      "CSSMozDocumentRule" in t,
      "CanvasCaptureMediaStream" in t,
    ]) >= 4
  );
}
function en() {
  var e = window;
  return (
    x([
      !("MediaSettingsRange" in e),
      "RTCEncodedAudioFrame" in e,
      "" + e.Intl == "[object Intl]",
      "" + e.Reflect == "[object Reflect]",
    ]) >= 3
  );
}
function nn() {
  var e = window,
    n = e.URLPattern;
  return (
    x([
      "union" in Set.prototype,
      "Iterator" in e,
      n && "hasRegExpGroups" in n.prototype,
      "RGB8" in WebGLRenderingContext.prototype,
    ]) >= 3
  );
}
function tn() {
  var e = window;
  return (
    x([
      "DOMRectList" in e,
      "RTCPeerConnectionIceEvent" in e,
      "SVGGeometryElement" in e,
      "ontransitioncancel" in e,
    ]) >= 3
  );
}
function D() {
  var e = window,
    n = navigator,
    t = e.CSS,
    r = e.HTMLButtonElement;
  return (
    x([
      !("getStorageUpdates" in n),
      r && "popover" in r.prototype,
      "CSSCounterStyleRule" in e,
      t.supports("font-size-adjust: ex-height 0.5"),
      t.supports("text-transform: full-width"),
    ]) >= 4
  );
}
function rn() {
  if (navigator.platform === "iPad") return !0;
  var e = screen,
    n = e.width / e.height;
  return (
    x([
      "MediaSource" in window,
      !!Element.prototype.webkitRequestFullscreen,
      n > 0.65 && n < 1.53,
    ]) >= 2
  );
}
function an() {
  var e = document;
  return (
    e.fullscreenElement ||
    e.msFullscreenElement ||
    e.mozFullScreenElement ||
    e.webkitFullscreenElement ||
    null
  );
}
function on() {
  var e = document;
  return (
    e.exitFullscreen ||
    e.msExitFullscreen ||
    e.mozCancelFullScreen ||
    e.webkitExitFullscreen
  ).call(e);
}
function re() {
  var e = j(),
    n = Fe(),
    t = window,
    r = navigator,
    a = "connection";
  return e
    ? x([
        !("SharedWorker" in t),
        r[a] && "ontypechange" in r[a],
        !("sinkId" in new Audio()),
      ]) >= 2
    : n
    ? x([
        "onorientationchange" in t,
        "orientation" in t,
        /android/i.test(r.appVersion),
      ]) >= 2
    : !1;
}
function cn() {
  var e = navigator,
    n = window,
    t = Audio.prototype,
    r = n.visualViewport;
  return (
    x([
      "srLatency" in t,
      "srChannelCount" in t,
      "devicePosture" in e,
      r && "segments" in r,
      "getTextInformation" in Image.prototype,
    ]) >= 3
  );
}
function un() {
  return fn() ? -4 : sn();
}
function sn() {
  var e = window,
    n = e.OfflineAudioContext || e.webkitOfflineAudioContext;
  if (!n) return -2;
  if (ln()) return -1;
  var t = 4500,
    r = 5e3,
    a = new n(1, r, 44100),
    u = a.createOscillator();
  (u.type = "triangle"), (u.frequency.value = 1e4);
  var i = a.createDynamicsCompressor();
  (i.threshold.value = -50),
    (i.knee.value = 40),
    (i.ratio.value = 12),
    (i.attack.value = 0),
    (i.release.value = 0.25),
    u.connect(i),
    i.connect(a.destination),
    u.start(0);
  var s = dn(a),
    c = s[0],
    f = s[1],
    l = N(
      c.then(
        function (o) {
          return vn(o.getChannelData(0).subarray(t));
        },
        function (o) {
          if (o.name === "timeout" || o.name === "suspended") return -3;
          throw o;
        }
      )
    );
  return function () {
    return f(), l;
  };
}
function ln() {
  return W() && !te() && !tn();
}
function fn() {
  return (W() && D() && H()) || (j() && cn() && nn());
}
function dn(e) {
  var n = 3,
    t = 500,
    r = 500,
    a = 5e3,
    u = function () {},
    i = new Promise(function (s, c) {
      var f = !1,
        l = 0,
        o = 0;
      e.oncomplete = function (b) {
        return s(b.renderedBuffer);
      };
      var d = function () {
          setTimeout(function () {
            return c(de("timeout"));
          }, Math.min(r, o + a - Date.now()));
        },
        v = function () {
          try {
            var b = e.startRendering();
            switch ((U(b) && N(b), e.state)) {
              case "running":
                (o = Date.now()), f && d();
                break;
              case "suspended":
                document.hidden || l++,
                  f && l >= n ? c(de("suspended")) : setTimeout(v, t);
                break;
            }
          } catch (y) {
            c(y);
          }
        };
      v(),
        (u = function () {
          f || ((f = !0), o > 0 && d());
        });
    });
  return [i, u];
}
function vn(e) {
  for (var n = 0, t = 0; t < e.length; ++t) n += Math.abs(e[t]);
  return n;
}
function de(e) {
  var n = new Error(e);
  return (n.name = e), n;
}
function We(e, n, t) {
  var r, a, u;
  return (
    t === void 0 && (t = 50),
    R(this, void 0, void 0, function () {
      var i, s;
      return M(this, function (c) {
        switch (c.label) {
          case 0:
            (i = document), (c.label = 1);
          case 1:
            return i.body ? [3, 3] : [4, O(t)];
          case 2:
            return c.sent(), [3, 1];
          case 3:
            (s = i.createElement("iframe")), (c.label = 4);
          case 4:
            return (
              c.trys.push([4, , 10, 11]),
              [
                4,
                new Promise(function (f, l) {
                  var o = !1,
                    d = function () {
                      (o = !0), f();
                    },
                    v = function (S) {
                      (o = !0), l(S);
                    };
                  (s.onload = d), (s.onerror = v);
                  var b = s.style;
                  b.setProperty("display", "block", "important"),
                    (b.position = "absolute"),
                    (b.top = "0"),
                    (b.left = "0"),
                    (b.visibility = "hidden"),
                    n && "srcdoc" in s
                      ? (s.srcdoc = n)
                      : (s.src = "about:blank"),
                    i.body.appendChild(s);
                  var y = function () {
                    var S, h;
                    o ||
                      (((h =
                        (S = s.contentWindow) === null || S === void 0
                          ? void 0
                          : S.document) === null || h === void 0
                        ? void 0
                        : h.readyState) === "complete"
                        ? d()
                        : setTimeout(y, 10));
                  };
                  y();
                }),
              ]
            );
          case 5:
            c.sent(), (c.label = 6);
          case 6:
            return !(
              (a =
                (r = s.contentWindow) === null || r === void 0
                  ? void 0
                  : r.document) === null || a === void 0
            ) && a.body
              ? [3, 8]
              : [4, O(t)];
          case 7:
            return c.sent(), [3, 6];
          case 8:
            return [4, e(s, s.contentWindow)];
          case 9:
            return [2, c.sent()];
          case 10:
            return (
              (u = s.parentNode) === null || u === void 0 || u.removeChild(s),
              [7]
            );
          case 11:
            return [2];
        }
      });
    })
  );
}
function mn(e) {
  for (
    var n = De(e),
      t = n[0],
      r = n[1],
      a = document.createElement(t ?? "div"),
      u = 0,
      i = Object.keys(r);
    u < i.length;
    u++
  ) {
    var s = i[u],
      c = r[s].join(" ");
    s === "style" ? hn(a.style, c) : a.setAttribute(s, c);
  }
  return a;
}
function hn(e, n) {
  for (var t = 0, r = n.split(";"); t < r.length; t++) {
    var a = r[t],
      u = /^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(a);
    if (u) {
      var i = u[1],
        s = u[2],
        c = u[4];
      e.setProperty(i, s, c || "");
    }
  }
}
function pn() {
  for (var e = window; ; ) {
    var n = e.parent;
    if (!n || n === e) return !1;
    try {
      if (n.location.origin !== e.location.origin) return !0;
    } catch (t) {
      if (t instanceof Error && t.name === "SecurityError") return !0;
      throw t;
    }
    e = n;
  }
}
var gn = "mmMwWLliI0O&1",
  bn = "48px",
  Y = ["monospace", "sans-serif", "serif"],
  ve = [
    "sans-serif-thin",
    "ARNO PRO",
    "Agency FB",
    "Arabic Typesetting",
    "Arial Unicode MS",
    "AvantGarde Bk BT",
    "BankGothic Md BT",
    "Batang",
    "Bitstream Vera Sans Mono",
    "Calibri",
    "Century",
    "Century Gothic",
    "Clarendon",
    "EUROSTILE",
    "Franklin Gothic",
    "Futura Bk BT",
    "Futura Md BT",
    "GOTHAM",
    "Gill Sans",
    "HELV",
    "Haettenschweiler",
    "Helvetica Neue",
    "Humanst521 BT",
    "Leelawadee",
    "Letter Gothic",
    "Levenim MT",
    "Lucida Bright",
    "Lucida Sans",
    "Menlo",
    "MS Mincho",
    "MS Outlook",
    "MS Reference Specialty",
    "MS UI Gothic",
    "MT Extra",
    "MYRIAD PRO",
    "Marlett",
    "Meiryo UI",
    "Microsoft Uighur",
    "Minion Pro",
    "Monotype Corsiva",
    "PMingLiU",
    "Pristina",
    "SCRIPTINA",
    "Segoe UI Light",
    "Serifa",
    "SimHei",
    "Small Fonts",
    "Staccato222 BT",
    "TRAJAN PRO",
    "Univers CE 55 Medium",
    "Vrinda",
    "ZWAdobeF",
  ];
function yn() {
  var e = this;
  return We(function (n, t) {
    var r = t.document;
    return R(e, void 0, void 0, function () {
      var a, u, i, s, c, f, l, o, d, v, b, y;
      return M(this, function (S) {
        for (
          a = r.body,
            a.style.fontSize = bn,
            u = r.createElement("div"),
            u.style.setProperty("visibility", "hidden", "important"),
            i = {},
            s = {},
            c = function (h) {
              var w = r.createElement("span"),
                L = w.style;
              return (
                (L.position = "absolute"),
                (L.top = "0"),
                (L.left = "0"),
                (L.fontFamily = h),
                (w.textContent = gn),
                u.appendChild(w),
                w
              );
            },
            f = function (h, w) {
              return c("'".concat(h, "',").concat(w));
            },
            l = function () {
              return Y.map(c);
            },
            o = function () {
              for (
                var h = {},
                  w = function (Z) {
                    h[Z] = Y.map(function (T) {
                      return f(Z, T);
                    });
                  },
                  L = 0,
                  I = ve;
                L < I.length;
                L++
              ) {
                var A = I[L];
                w(A);
              }
              return h;
            },
            d = function (h) {
              return Y.some(function (w, L) {
                return h[L].offsetWidth !== i[w] || h[L].offsetHeight !== s[w];
              });
            },
            v = l(),
            b = o(),
            a.appendChild(u),
            y = 0;
          y < Y.length;
          y++
        )
          (i[Y[y]] = v[y].offsetWidth), (s[Y[y]] = v[y].offsetHeight);
        return [
          2,
          ve.filter(function (h) {
            return d(b[h]);
          }),
        ];
      });
    });
  });
}
function wn() {
  var e = navigator.plugins;
  if (e) {
    for (var n = [], t = 0; t < e.length; ++t) {
      var r = e[t];
      if (r) {
        for (var a = [], u = 0; u < r.length; ++u) {
          var i = r[u];
          a.push({ type: i.type, suffixes: i.suffixes });
        }
        n.push({ name: r.name, description: r.description, mimeTypes: a });
      }
    }
    return n;
  }
}
function Sn() {
  return Ln(Rn());
}
function Ln(e) {
  var n,
    t = !1,
    r,
    a,
    u = kn(),
    i = u[0],
    s = u[1];
  return (
    xn(i, s)
      ? ((t = Vn(s)),
        e ? (r = a = "skipped") : ((n = Cn(i, s)), (r = n[0]), (a = n[1])))
      : (r = a = "unsupported"),
    { winding: t, geometry: r, text: a }
  );
}
function kn() {
  var e = document.createElement("canvas");
  return (e.width = 1), (e.height = 1), [e, e.getContext("2d")];
}
function xn(e, n) {
  return !!(n && e.toDataURL);
}
function Vn(e) {
  return (
    e.rect(0, 0, 10, 10), e.rect(2, 2, 6, 6), !e.isPointInPath(5, 5, "evenodd")
  );
}
function Cn(e, n) {
  Fn(e, n);
  var t = _(e),
    r = _(e);
  if (t !== r) return ["unstable", "unstable"];
  Wn(e, n);
  var a = _(e);
  return [a, t];
}
function Fn(e, n) {
  (e.width = 240),
    (e.height = 60),
    (n.textBaseline = "alphabetic"),
    (n.fillStyle = "#f60"),
    n.fillRect(100, 1, 62, 20),
    (n.fillStyle = "#069"),
    (n.font = '11pt "Times New Roman"');
  var t = "Cwm fjordbank gly ".concat(String.fromCharCode(55357, 56835));
  n.fillText(t, 2, 15),
    (n.fillStyle = "rgba(102, 204, 0, 0.2)"),
    (n.font = "18pt Arial"),
    n.fillText(t, 4, 45);
}
function Wn(e, n) {
  (e.width = 122), (e.height = 110), (n.globalCompositeOperation = "multiply");
  for (
    var t = 0,
      r = [
        ["#f2f", 40, 40],
        ["#2ff", 80, 40],
        ["#ff2", 60, 80],
      ];
    t < r.length;
    t++
  ) {
    var a = r[t],
      u = a[0],
      i = a[1],
      s = a[2];
    (n.fillStyle = u),
      n.beginPath(),
      n.arc(i, s, 40, 0, Math.PI * 2, !0),
      n.closePath(),
      n.fill();
  }
  (n.fillStyle = "#f9c"),
    n.arc(60, 60, 60, 0, Math.PI * 2, !0),
    n.arc(60, 60, 20, 0, Math.PI * 2, !0),
    n.fill("evenodd");
}
function _(e) {
  return e.toDataURL();
}
function Rn() {
  return W() && D() && H();
}
function Mn() {
  var e = navigator,
    n = 0,
    t;
  e.maxTouchPoints !== void 0
    ? (n = ne(e.maxTouchPoints))
    : e.msMaxTouchPoints !== void 0 && (n = e.msMaxTouchPoints);
  try {
    document.createEvent("TouchEvent"), (t = !0);
  } catch {
    t = !1;
  }
  var r = "ontouchstart" in window;
  return { maxTouchPoints: n, touchEvent: t, touchStart: r };
}
function In() {
  return navigator.oscpu;
}
function Pn() {
  var e = navigator,
    n = [],
    t = e.language || e.userLanguage || e.browserLanguage || e.systemLanguage;
  if ((t !== void 0 && n.push([t]), Array.isArray(e.languages)))
    (j() && en()) || n.push(e.languages);
  else if (typeof e.languages == "string") {
    var r = e.languages;
    r && n.push(r.split(","));
  }
  return n;
}
function Zn() {
  return window.screen.colorDepth;
}
function Gn() {
  return P(F(navigator.deviceMemory), void 0);
}
function An() {
  if (!(W() && D() && H())) return Tn();
}
function Tn() {
  var e = screen,
    n = function (r) {
      return P(ne(r), null);
    },
    t = [n(e.width), n(e.height)];
  return t.sort().reverse(), t;
}
var En = 2500,
  Yn = 10,
  J,
  K;
function Xn() {
  if (K === void 0) {
    var e = function () {
      var n = q();
      ee(n) ? (K = setTimeout(e, En)) : ((J = n), (K = void 0));
    };
    e();
  }
}
function Nn() {
  var e = this;
  return (
    Xn(),
    function () {
      return R(e, void 0, void 0, function () {
        var n;
        return M(this, function (t) {
          switch (t.label) {
            case 0:
              return (
                (n = q()),
                ee(n)
                  ? J
                    ? [2, Se([], J, !0)]
                    : an()
                    ? [4, on()]
                    : [3, 2]
                  : [3, 2]
              );
            case 1:
              t.sent(), (n = q()), (t.label = 2);
            case 2:
              return ee(n) || (J = n), [2, n];
          }
        });
      });
    }
  );
}
function jn() {
  var e = this;
  if (W() && D() && H())
    return function () {
      return Promise.resolve(void 0);
    };
  var n = Nn();
  return function () {
    return R(e, void 0, void 0, function () {
      var t, r;
      return M(this, function (a) {
        switch (a.label) {
          case 0:
            return [4, n()];
          case 1:
            return (
              (t = a.sent()),
              (r = function (u) {
                return u === null ? null : ke(u, Yn);
              }),
              [2, [r(t[0]), r(t[1]), r(t[2]), r(t[3])]]
            );
        }
      });
    });
  };
}
function q() {
  var e = screen;
  return [
    P(F(e.availTop), null),
    P(F(e.width) - F(e.availWidth) - P(F(e.availLeft), 0), null),
    P(F(e.height) - F(e.availHeight) - P(F(e.availTop), 0), null),
    P(F(e.availLeft), null),
  ];
}
function ee(e) {
  for (var n = 0; n < 4; ++n) if (e[n]) return !1;
  return !0;
}
function Hn() {
  return P(ne(navigator.hardwareConcurrency), void 0);
}
function Dn() {
  var e,
    n = (e = window.Intl) === null || e === void 0 ? void 0 : e.DateTimeFormat;
  if (n) {
    var t = new n().resolvedOptions().timeZone;
    if (t) return t;
  }
  var r = -zn();
  return "UTC".concat(r >= 0 ? "+" : "").concat(r);
}
function zn() {
  var e = new Date().getFullYear();
  return Math.max(
    F(new Date(e, 0, 1).getTimezoneOffset()),
    F(new Date(e, 6, 1).getTimezoneOffset())
  );
}
function Bn() {
  try {
    return !!window.sessionStorage;
  } catch {
    return !0;
  }
}
function Jn() {
  try {
    return !!window.localStorage;
  } catch {
    return !0;
  }
}
function On() {
  if (!(Ce() || qe()))
    try {
      return !!window.indexedDB;
    } catch {
      return !0;
    }
}
function Un() {
  return !!window.openDatabase;
}
function Qn() {
  return navigator.cpuClass;
}
function _n() {
  var e = navigator.platform;
  return e === "MacIntel" && W() && !te() ? (rn() ? "iPad" : "iPhone") : e;
}
function Kn() {
  return navigator.vendor || "";
}
function $n() {
  for (
    var e = [],
      n = 0,
      t = [
        "chrome",
        "safari",
        "__crWeb",
        "__gCrWeb",
        "yandex",
        "__yb",
        "__ybro",
        "__firefox__",
        "__edgeTrackingPreventionStatistics",
        "webkit",
        "oprt",
        "samsungAr",
        "ucweb",
        "UCShellJava",
        "puffinDevice",
      ];
    n < t.length;
    n++
  ) {
    var r = t[n],
      a = window[r];
    a && typeof a == "object" && e.push(r);
  }
  return e.sort();
}
function qn() {
  var e = document;
  try {
    e.cookie = "cookietest=1; SameSite=Strict;";
    var n = e.cookie.indexOf("cookietest=") !== -1;
    return (
      (e.cookie =
        "cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT"),
      n
    );
  } catch {
    return !1;
  }
}
function et() {
  var e = atob;
  return {
    abpIndo: [
      "#Iklan-Melayang",
      "#Kolom-Iklan-728",
      "#SidebarIklan-wrapper",
      '[title="ALIENBOLA" i]',
      e("I0JveC1CYW5uZXItYWRz"),
    ],
    abpvn: [
      ".quangcao",
      "#mobileCatfish",
      e("LmNsb3NlLWFkcw=="),
      '[id^="bn_bottom_fixed_"]',
      "#pmadv",
    ],
    adBlockFinland: [
      ".mainostila",
      e("LnNwb25zb3JpdA=="),
      ".ylamainos",
      e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),
      e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd"),
    ],
    adBlockPersian: [
      "#navbar_notice_50",
      ".kadr",
      'TABLE[width="140px"]',
      "#divAgahi",
      e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd"),
    ],
    adBlockWarningRemoval: [
      "#adblock-honeypot",
      ".adblocker-root",
      ".wp_adblock_detect",
      e("LmhlYWRlci1ibG9ja2VkLWFk"),
      e("I2FkX2Jsb2NrZXI="),
    ],
    adGuardAnnoyances: [
      ".hs-sosyal",
      "#cookieconsentdiv",
      'div[class^="app_gdpr"]',
      ".as-oil",
      '[data-cypress="soft-push-notification-modal"]',
    ],
    adGuardBase: [
      ".BetterJsPopOverlay",
      e("I2FkXzMwMFgyNTA="),
      e("I2Jhbm5lcmZsb2F0MjI="),
      e("I2NhbXBhaWduLWJhbm5lcg=="),
      e("I0FkLUNvbnRlbnQ="),
    ],
    adGuardChinese: [
      e("LlppX2FkX2FfSA=="),
      e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),
      "#widget-quan",
      e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),
      e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0="),
    ],
    adGuardFrench: [
      "#pavePub",
      e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),
      ".mobile_adhesion",
      ".widgetadv",
      e("LmFkc19iYW4="),
    ],
    adGuardGerman: ['aside[data-portal-id="leaderboard"]'],
    adGuardJapanese: [
      "#kauli_yad_1",
      e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),
      e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),
      e("LmFkZ29vZ2xl"),
      e("Ll9faXNib29zdFJldHVybkFk"),
    ],
    adGuardMobile: [
      e("YW1wLWF1dG8tYWRz"),
      e("LmFtcF9hZA=="),
      'amp-embed[type="24smi"]',
      "#mgid_iframe1",
      e("I2FkX2ludmlld19hcmVh"),
    ],
    adGuardRussian: [
      e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),
      e("LnJlY2xhbWE="),
      'div[id^="smi2adblock"]',
      e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),
      "#psyduckpockeball",
    ],
    adGuardSocial: [
      e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),
      e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),
      ".etsy-tweet",
      "#inlineShare",
      ".popup-social",
    ],
    adGuardSpanishPortuguese: [
      "#barraPublicidade",
      "#Publicidade",
      "#publiEspecial",
      "#queTooltip",
      ".cnt-publi",
    ],
    adGuardTrackingProtection: [
      "#qoo-counter",
      e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),
      e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),
      e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),
      "#top100counter",
    ],
    adGuardTurkish: [
      "#backkapat",
      e("I3Jla2xhbWk="),
      e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),
      e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),
      e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ=="),
    ],
    bulgarian: [
      e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),
      "#ea_intext_div",
      ".lapni-pop-over",
      "#xenium_hot_offers",
    ],
    easyList: [
      ".yb-floorad",
      e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),
      e("LnRyYWZmaWNqdW5reS1hZA=="),
      ".textad_headline",
      e("LnNwb25zb3JlZC10ZXh0LWxpbmtz"),
    ],
    easyListChina: [
      e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),
      e("LmZyb250cGFnZUFkdk0="),
      "#taotaole",
      "#aafoot.top_box",
      ".cfa_popup",
    ],
    easyListCookie: [
      ".ezmob-footer",
      ".cc-CookieWarning",
      "[data-cookie-number]",
      e("LmF3LWNvb2tpZS1iYW5uZXI="),
      ".sygnal24-gdpr-modal-wrap",
    ],
    easyListCzechSlovak: [
      "#onlajny-stickers",
      e("I3Jla2xhbW5pLWJveA=="),
      e("LnJla2xhbWEtbWVnYWJvYXJk"),
      ".sklik",
      e("W2lkXj0ic2tsaWtSZWtsYW1hIl0="),
    ],
    easyListDutch: [
      e("I2FkdmVydGVudGll"),
      e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),
      ".adstekst",
      e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),
      "#semilo-lrectangle",
    ],
    easyListGermany: [
      "#SSpotIMPopSlider",
      e("LnNwb25zb3JsaW5rZ3J1ZW4="),
      e("I3dlcmJ1bmdza3k="),
      e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),
      e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0="),
    ],
    easyListItaly: [
      e("LmJveF9hZHZfYW5udW5jaQ=="),
      ".sb-box-pubbliredazionale",
      e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),
      e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),
      e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ=="),
    ],
    easyListLithuania: [
      e("LnJla2xhbW9zX3RhcnBhcw=="),
      e("LnJla2xhbW9zX251b3JvZG9z"),
      e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),
      e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),
      e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd"),
    ],
    estonian: [e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],
    fanboyAnnoyances: [
      "#ac-lre-player",
      ".navigate-to-top",
      "#subscribe_popup",
      ".newsletter_holder",
      "#back-top",
    ],
    fanboyAntiFacebook: [".util-bar-module-firefly-visible"],
    fanboyEnhancedTrackers: [
      ".open.pushModal",
      "#issuem-leaky-paywall-articles-zero-remaining-nag",
      "#sovrn_container",
      'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',
      ".BlockNag__Card",
    ],
    fanboySocial: [
      "#FollowUs",
      "#meteored_share",
      "#social_follow",
      ".article-sharer",
      ".community__social-desc",
    ],
    frellwitSwedish: [
      e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),
      e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),
      "article.category-samarbete",
      e("ZGl2LmhvbGlkQWRz"),
      "ul.adsmodern",
    ],
    greekAdBlock: [
      e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),
      e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),
      e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),
      "DIV.agores300",
      "TABLE.advright",
    ],
    hungarian: [
      "#cemp_doboz",
      ".optimonk-iframe-container",
      e("LmFkX19tYWlu"),
      e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),
      "#hirdetesek_box",
    ],
    iDontCareAboutCookies: [
      '.alert-info[data-block-track*="CookieNotice"]',
      ".ModuleTemplateCookieIndicator",
      ".o--cookies--container",
      "#cookies-policy-sticky",
      "#stickyCookieBar",
    ],
    icelandicAbp: [
      e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ=="),
    ],
    latvian: [
      e(
        "YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="
      ),
      e(
        "YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ=="
      ),
    ],
    listKr: [
      e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),
      e("I2xpdmVyZUFkV3JhcHBlcg=="),
      e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),
      e("aW5zLmZhc3R2aWV3LWFk"),
      ".revenue_unit_item.dable",
    ],
    listeAr: [
      e("LmdlbWluaUxCMUFk"),
      ".right-and-left-sponsers",
      e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),
      e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),
      e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd"),
    ],
    listeFr: [
      e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),
      e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),
      e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),
      ".site-pub-interstitiel",
      'div[id^="crt-"][data-criteo-id]',
    ],
    officialPolish: [
      "#ceneo-placeholder-ceneo-12",
      e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),
      e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),
      e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),
      e("ZGl2I3NrYXBpZWNfYWQ="),
    ],
    ro: [
      e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),
      e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),
      e(
        "YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="
      ),
      e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),
      'a[href^="/url/"]',
    ],
    ruAd: [
      e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),
      e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),
      e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),
      "#pgeldiz",
      ".yandex-rtb-block",
    ],
    thaiAds: [
      "a[href*=macau-uta-popup]",
      e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),
      e("LmFkczMwMHM="),
      ".bumq",
      ".img-kosana",
    ],
    webAnnoyancesUltralist: [
      "#mod-social-share-2",
      "#social-tools",
      e("LmN0cGwtZnVsbGJhbm5lcg=="),
      ".zergnet-recommend",
      ".yt.btn-link.btn-md.btn",
    ],
  };
}
function nt(e) {
  var n = e === void 0 ? {} : e,
    t = n.debug;
  return R(this, void 0, void 0, function () {
    var r, a, u, i, s, c;
    return M(this, function (f) {
      switch (f.label) {
        case 0:
          return tt()
            ? ((r = et()),
              (a = Object.keys(r)),
              (u = (c = []).concat.apply(
                c,
                a.map(function (l) {
                  return r[l];
                })
              )),
              [4, rt(u)])
            : [2, void 0];
        case 1:
          return (
            (i = f.sent()),
            t && at(r, i),
            (s = a.filter(function (l) {
              var o = r[l],
                d = x(
                  o.map(function (v) {
                    return i[v];
                  })
                );
              return d > o.length * 0.6;
            })),
            s.sort(),
            [2, s]
          );
      }
    });
  });
}
function tt() {
  return W() || re();
}
function rt(e) {
  var n;
  return R(this, void 0, void 0, function () {
    var t, r, a, u, c, i, s, c;
    return M(this, function (f) {
      switch (f.label) {
        case 0:
          for (
            t = document,
              r = t.createElement("div"),
              a = new Array(e.length),
              u = {},
              me(r),
              c = 0;
            c < e.length;
            ++c
          )
            (i = mn(e[c])),
              i.tagName === "DIALOG" && i.show(),
              (s = t.createElement("div")),
              me(s),
              s.appendChild(i),
              r.appendChild(s),
              (a[c] = i);
          f.label = 1;
        case 1:
          return t.body ? [3, 3] : [4, O(50)];
        case 2:
          return f.sent(), [3, 1];
        case 3:
          t.body.appendChild(r);
          try {
            for (c = 0; c < e.length; ++c) a[c].offsetParent || (u[e[c]] = !0);
          } finally {
            (n = r.parentNode) === null || n === void 0 || n.removeChild(r);
          }
          return [2, u];
      }
    });
  });
}
function me(e) {
  e.style.setProperty("visibility", "hidden", "important"),
    e.style.setProperty("display", "block", "important");
}
function at(e, n) {
  for (
    var t = "DOM blockers debug:\n```", r = 0, a = Object.keys(e);
    r < a.length;
    r++
  ) {
    var u = a[r];
    t += `
`.concat(u, ":");
    for (var i = 0, s = e[u]; i < s.length; i++) {
      var c = s[i];
      t += `
  `
        .concat(n[c] ? "🚫" : "➡️", " ")
        .concat(c);
    }
  }
  console.log("".concat(t, "\n```"));
}
function it() {
  for (var e = 0, n = ["rec2020", "p3", "srgb"]; e < n.length; e++) {
    var t = n[e];
    if (matchMedia("(color-gamut: ".concat(t, ")")).matches) return t;
  }
}
function ot() {
  if (he("inverted")) return !0;
  if (he("none")) return !1;
}
function he(e) {
  return matchMedia("(inverted-colors: ".concat(e, ")")).matches;
}
function ct() {
  if (pe("active")) return !0;
  if (pe("none")) return !1;
}
function pe(e) {
  return matchMedia("(forced-colors: ".concat(e, ")")).matches;
}
var ut = 100;
function st() {
  if (matchMedia("(min-monochrome: 0)").matches) {
    for (var e = 0; e <= ut; ++e)
      if (matchMedia("(max-monochrome: ".concat(e, ")")).matches) return e;
    throw new Error("Too high value");
  }
}
function lt() {
  if (X("no-preference")) return 0;
  if (X("high") || X("more")) return 1;
  if (X("low") || X("less")) return -1;
  if (X("forced")) return 10;
}
function X(e) {
  return matchMedia("(prefers-contrast: ".concat(e, ")")).matches;
}
function ft() {
  if (ge("reduce")) return !0;
  if (ge("no-preference")) return !1;
}
function ge(e) {
  return matchMedia("(prefers-reduced-motion: ".concat(e, ")")).matches;
}
function dt() {
  if (be("reduce")) return !0;
  if (be("no-preference")) return !1;
}
function be(e) {
  return matchMedia("(prefers-reduced-transparency: ".concat(e, ")")).matches;
}
function vt() {
  if (ye("high")) return !0;
  if (ye("standard")) return !1;
}
function ye(e) {
  return matchMedia("(dynamic-range: ".concat(e, ")")).matches;
}
var m = Math,
  k = function () {
    return 0;
  };
function mt() {
  var e = m.acos || k,
    n = m.acosh || k,
    t = m.asin || k,
    r = m.asinh || k,
    a = m.atanh || k,
    u = m.atan || k,
    i = m.sin || k,
    s = m.sinh || k,
    c = m.cos || k,
    f = m.cosh || k,
    l = m.tan || k,
    o = m.tanh || k,
    d = m.exp || k,
    v = m.expm1 || k,
    b = m.log1p || k,
    y = function (p) {
      return m.pow(m.PI, p);
    },
    S = function (p) {
      return m.log(p + m.sqrt(p * p - 1));
    },
    h = function (p) {
      return m.log(p + m.sqrt(p * p + 1));
    },
    w = function (p) {
      return m.log((1 + p) / (1 - p)) / 2;
    },
    L = function (p) {
      return m.exp(p) - 1 / m.exp(p) / 2;
    },
    I = function (p) {
      return (m.exp(p) + 1 / m.exp(p)) / 2;
    },
    A = function (p) {
      return m.exp(p) - 1;
    },
    Z = function (p) {
      return (m.exp(2 * p) - 1) / (m.exp(2 * p) + 1);
    },
    T = function (p) {
      return m.log(1 + p);
    };
  return {
    acos: e(0.12312423423423424),
    acosh: n(1e308),
    acoshPf: S(1e154),
    asin: t(0.12312423423423424),
    asinh: r(1),
    asinhPf: h(1),
    atanh: a(0.5),
    atanhPf: w(0.5),
    atan: u(0.5),
    sin: i(-1e300),
    sinh: s(1),
    sinhPf: L(1),
    cos: c(10.000000000123),
    cosh: f(1),
    coshPf: I(1),
    tan: l(-1e300),
    tanh: o(1),
    tanhPf: Z(1),
    exp: d(1),
    expm1: v(1),
    expm1Pf: A(1),
    log1p: b(10),
    log1pPf: T(10),
    powPI: y(-100),
  };
}
var ht = "mmMwWLliI0fiflO&1",
  $ = {
    default: [],
    apple: [{ font: "-apple-system-body" }],
    serif: [{ fontFamily: "serif" }],
    sans: [{ fontFamily: "sans-serif" }],
    mono: [{ fontFamily: "monospace" }],
    min: [{ fontSize: "1px" }],
    system: [{ fontFamily: "system-ui" }],
  };
function pt() {
  return gt(function (e, n) {
    for (var t = {}, r = {}, a = 0, u = Object.keys($); a < u.length; a++) {
      var i = u[a],
        s = $[i],
        c = s[0],
        f = c === void 0 ? {} : c,
        l = s[1],
        o = l === void 0 ? ht : l,
        d = e.createElement("span");
      (d.textContent = o), (d.style.whiteSpace = "nowrap");
      for (var v = 0, b = Object.keys(f); v < b.length; v++) {
        var y = b[v],
          S = f[y];
        S !== void 0 && (d.style[y] = S);
      }
      (t[i] = d), n.append(e.createElement("br"), d);
    }
    for (var h = 0, w = Object.keys($); h < w.length; h++) {
      var i = w[h];
      r[i] = t[i].getBoundingClientRect().width;
    }
    return r;
  });
}
function gt(e, n) {
  return (
    n === void 0 && (n = 4e3),
    We(function (t, r) {
      var a = r.document,
        u = a.body,
        i = u.style;
      (i.width = "".concat(n, "px")),
        (i.webkitTextSizeAdjust = i.textSizeAdjust = "none"),
        j()
          ? (u.style.zoom = "".concat(1 / r.devicePixelRatio))
          : W() && (u.style.zoom = "reset");
      var s = a.createElement("div");
      return (
        (s.textContent = Se([], Array((n / 20) << 0), !0)
          .map(function () {
            return "word";
          })
          .join(" ")),
        u.appendChild(s),
        e(a, u)
      );
    }, '<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')
  );
}
function bt() {
  return navigator.pdfViewerEnabled;
}
function yt() {
  var e = new Float32Array(1),
    n = new Uint8Array(e.buffer);
  return (e[0] = 1 / 0), (e[0] = e[0] - e[0]), n[3];
}
function wt() {
  var e = window.ApplePaySession;
  if (typeof (e == null ? void 0 : e.canMakePayments) != "function") return -1;
  if (St()) return -3;
  try {
    return e.canMakePayments() ? 1 : 0;
  } catch (n) {
    return Lt(n);
  }
}
var St = pn;
function Lt(e) {
  if (
    e instanceof Error &&
    e.name === "InvalidAccessError" &&
    /\bfrom\b.*\binsecure\b/i.test(e.message)
  )
    return -2;
  throw e;
}
function kt() {
  var e,
    n = document.createElement("a"),
    t =
      (e = n.attributionSourceId) !== null && e !== void 0
        ? e
        : n.attributionsourceid;
  return t === void 0 ? void 0 : String(t);
}
var Re = -1,
  Me = -2,
  xt = new Set([
    10752, 2849, 2884, 2885, 2886, 2928, 2929, 2930, 2931, 2932, 2960, 2961,
    2962, 2963, 2964, 2965, 2966, 2967, 2968, 2978, 3024, 3042, 3088, 3089,
    3106, 3107, 32773, 32777, 32777, 32823, 32824, 32936, 32937, 32938, 32939,
    32968, 32969, 32970, 32971, 3317, 33170, 3333, 3379, 3386, 33901, 33902,
    34016, 34024, 34076, 3408, 3410, 3411, 3412, 3413, 3414, 3415, 34467, 34816,
    34817, 34818, 34819, 34877, 34921, 34930, 35660, 35661, 35724, 35738, 35739,
    36003, 36004, 36005, 36347, 36348, 36349, 37440, 37441, 37443, 7936, 7937,
    7938,
  ]),
  Vt = new Set([
    34047, 35723, 36063, 34852, 34853, 34854, 34229, 36392, 36795, 38449,
  ]),
  Ct = ["FRAGMENT_SHADER", "VERTEX_SHADER"],
  Ft = [
    "LOW_FLOAT",
    "MEDIUM_FLOAT",
    "HIGH_FLOAT",
    "LOW_INT",
    "MEDIUM_INT",
    "HIGH_INT",
  ],
  Ie = "WEBGL_debug_renderer_info",
  Wt = "WEBGL_polygon_mode";
function Rt(e) {
  var n,
    t,
    r,
    a,
    u,
    i,
    s = e.cache,
    c = Pe(s);
  if (!c) return Re;
  if (!Ge(c)) return Me;
  var f = Ze() ? null : c.getExtension(Ie);
  return {
    version:
      ((n = c.getParameter(c.VERSION)) === null || n === void 0
        ? void 0
        : n.toString()) || "",
    vendor:
      ((t = c.getParameter(c.VENDOR)) === null || t === void 0
        ? void 0
        : t.toString()) || "",
    vendorUnmasked: f
      ? (r = c.getParameter(f.UNMASKED_VENDOR_WEBGL)) === null || r === void 0
        ? void 0
        : r.toString()
      : "",
    renderer:
      ((a = c.getParameter(c.RENDERER)) === null || a === void 0
        ? void 0
        : a.toString()) || "",
    rendererUnmasked: f
      ? (u = c.getParameter(f.UNMASKED_RENDERER_WEBGL)) === null || u === void 0
        ? void 0
        : u.toString()
      : "",
    shadingLanguageVersion:
      ((i = c.getParameter(c.SHADING_LANGUAGE_VERSION)) === null || i === void 0
        ? void 0
        : i.toString()) || "",
  };
}
function Mt(e) {
  var n = e.cache,
    t = Pe(n);
  if (!t) return Re;
  if (!Ge(t)) return Me;
  var r = t.getSupportedExtensions(),
    a = t.getContextAttributes(),
    u = [],
    i = [],
    s = [],
    c = [],
    f = [];
  if (a)
    for (var l = 0, o = Object.keys(a); l < o.length; l++) {
      var d = o[l];
      i.push("".concat(d, "=").concat(a[d]));
    }
  for (var v = we(t), b = 0, y = v; b < y.length; b++) {
    var S = y[b],
      h = t[S];
    s.push(
      ""
        .concat(S, "=")
        .concat(h)
        .concat(xt.has(h) ? "=".concat(t.getParameter(h)) : "")
    );
  }
  if (r)
    for (var w = 0, L = r; w < L.length; w++) {
      var I = L[w];
      if (!((I === Ie && Ze()) || (I === Wt && Zt()))) {
        var A = t.getExtension(I);
        if (!A) {
          u.push(I);
          continue;
        }
        for (var Z = 0, T = we(A); Z < T.length; Z++) {
          var S = T[Z],
            h = A[S];
          c.push(
            ""
              .concat(S, "=")
              .concat(h)
              .concat(Vt.has(h) ? "=".concat(t.getParameter(h)) : "")
          );
        }
      }
    }
  for (var p = 0, ae = Ct; p < ae.length; p++)
    for (var ie = ae[p], Q = 0, oe = Ft; Q < oe.length; Q++) {
      var ce = oe[Q],
        Ee = It(t, ie, ce);
      f.push("".concat(ie, ".").concat(ce, "=").concat(Ee.join(",")));
    }
  return (
    c.sort(),
    s.sort(),
    {
      contextAttributes: i,
      parameters: s,
      shaderPrecisions: f,
      extensions: r,
      extensionParameters: c,
      unsupportedExtensions: u,
    }
  );
}
function Pe(e) {
  if (e.webgl) return e.webgl.context;
  var n = document.createElement("canvas"),
    t;
  n.addEventListener("webglCreateContextError", function () {
    return (t = void 0);
  });
  for (var r = 0, a = ["webgl", "experimental-webgl"]; r < a.length; r++) {
    var u = a[r];
    try {
      t = n.getContext(u);
    } catch {}
    if (t) break;
  }
  return (e.webgl = { context: t }), t;
}
function It(e, n, t) {
  var r = e.getShaderPrecisionFormat(e[n], e[t]);
  return r ? [r.rangeMin, r.rangeMax, r.precision] : [];
}
function we(e) {
  var n = Object.keys(e.__proto__);
  return n.filter(Pt);
}
function Pt(e) {
  return typeof e == "string" && !e.match(/[^A-Z0-9_x]/);
}
function Ze() {
  return Fe();
}
function Zt() {
  return j() || W();
}
function Ge(e) {
  return typeof e.getParameter == "function";
}
function Gt() {
  var e = re() || W();
  if (!e) return -2;
  if (!window.AudioContext) return -1;
  var n = new AudioContext().baseLatency;
  return n == null ? -1 : isFinite(n) ? n : -3;
}
function At() {
  if (!window.Intl) return -1;
  var e = window.Intl.DateTimeFormat;
  if (!e) return -2;
  var n = e().resolvedOptions().locale;
  return !n && n !== "" ? -3 : n;
}
var Tt = {
  fonts: yn,
  domBlockers: nt,
  fontPreferences: pt,
  audio: un,
  screenFrame: jn,
  canvas: Sn,
  osCpu: In,
  languages: Pn,
  colorDepth: Zn,
  deviceMemory: Gn,
  screenResolution: An,
  hardwareConcurrency: Hn,
  timezone: Dn,
  sessionStorage: Bn,
  localStorage: Jn,
  indexedDB: On,
  openDatabase: Un,
  cpuClass: Qn,
  platform: _n,
  plugins: wn,
  touchSupport: Mn,
  vendor: Kn,
  vendorFlavors: $n,
  cookiesEnabled: qn,
  colorGamut: it,
  invertedColors: ot,
  forcedColors: ct,
  monochrome: st,
  contrast: lt,
  reducedMotion: ft,
  reducedTransparency: dt,
  hdr: vt,
  math: mt,
  pdfViewerEnabled: bt,
  architecture: yt,
  applePay: wt,
  privateClickMeasurement: kt,
  audioBaseLatency: Gt,
  dateTimeLocale: At,
  webGlBasics: Rt,
  webGlExtensions: Mt,
};
function Et(e) {
  return $e(Tt, e, []);
}
var Yt = "$ if upgrade to Pro: https://fpjs.dev/pro";
function Xt(e) {
  var n = Nt(e),
    t = jt(n);
  return { score: n, comment: Yt.replace(/\$/g, "".concat(t)) };
}
function Nt(e) {
  if (re()) return 0.4;
  if (W()) return te() && !(D() && H()) ? 0.5 : 0.3;
  var n = "value" in e.platform ? e.platform.value : "";
  return /^Win/.test(n) ? 0.6 : /^Mac/.test(n) ? 0.5 : 0.7;
}
function jt(e) {
  return ke(0.99 + 0.01 * e, 1e-4);
}
function Ht(e) {
  for (var n = "", t = 0, r = Object.keys(e).sort(); t < r.length; t++) {
    var a = r[t],
      u = e[a],
      i = "error" in u ? "error" : JSON.stringify(u.value);
    n += ""
      .concat(n ? "|" : "")
      .concat(a.replace(/([:|\\])/g, "\\$1"), ":")
      .concat(i);
  }
  return n;
}
function Ae(e) {
  return JSON.stringify(
    e,
    function (n, t) {
      return t instanceof Error ? Qe(t) : t;
    },
    2
  );
}
function Te(e) {
  return xe(Ht(e));
}
function Dt(e) {
  var n,
    t = Xt(e);
  return {
    get visitorId() {
      return n === void 0 && (n = Te(this.components)), n;
    },
    set visitorId(r) {
      n = r;
    },
    confidence: t,
    components: e,
    version: Le,
  };
}
function zt(e) {
  return e === void 0 && (e = 50), Ne(e, e * 2);
}
function Bt(e, n) {
  var t = Date.now();
  return {
    get: function (r) {
      return R(this, void 0, void 0, function () {
        var a, u, i;
        return M(this, function (s) {
          switch (s.label) {
            case 0:
              return (a = Date.now()), [4, e()];
            case 1:
              return (
                (u = s.sent()),
                (i = Dt(u)),
                (n || (r != null && r.debug)) &&
                  console.log(
                    "Copy the text below to get the debug data:\n\n```\nversion: "
                      .concat(
                        i.version,
                        `
userAgent: `
                      )
                      .concat(
                        navigator.userAgent,
                        `
timeBetweenLoadAndGet: `
                      )
                      .concat(
                        a - t,
                        `
visitorId: `
                      )
                      .concat(
                        i.visitorId,
                        `
components: `
                      )
                      .concat(Ae(u), "\n```")
                  ),
                [2, i]
              );
          }
        });
      });
    },
  };
}
function Jt() {
  if (!(window.__fpjs_d_m || Math.random() >= 0.001))
    try {
      var e = new XMLHttpRequest();
      e.open(
        "get",
        "https://m1.openfpcdn.io/fingerprintjs/v".concat(Le, "/npm-monitoring"),
        !0
      ),
        e.send();
    } catch (n) {
      console.error(n);
    }
}
function Ot(e) {
  var n;
  return (
    e === void 0 && (e = {}),
    R(this, void 0, void 0, function () {
      var t, r, a;
      return M(this, function (u) {
        switch (u.label) {
          case 0:
            return (
              (!((n = e.monitoring) !== null && n !== void 0) || n) && Jt(),
              (t = e.delayFallback),
              (r = e.debug),
              [4, zt(t)]
            );
          case 1:
            return u.sent(), (a = Et({ cache: {}, debug: r })), [2, Bt(a, r)];
        }
      });
    })
  );
}
var _t = { load: Ot, hashComponents: Te, componentsToDebugString: Ae },
  Kt = xe;
export {
  Ae as componentsToDebugString,
  _t as default,
  an as getFullscreenElement,
  sn as getUnstableAudioFingerprint,
  Ln as getUnstableCanvasFingerprint,
  Nn as getUnstableScreenFrame,
  Tn as getUnstableScreenResolution,
  Pe as getWebGLContext,
  Te as hashComponents,
  re as isAndroid,
  j as isChromium,
  te as isDesktopWebKit,
  qe as isEdgeHTML,
  Fe as isGecko,
  cn as isSamsungInternet,
  Ce as isTrident,
  W as isWebKit,
  Ot as load,
  $e as loadSources,
  Kt as murmurX64Hash128,
  zt as prepareForSources,
  Tt as sources,
  Qt as transformSource,
  We as withIframe,
};
