const __vite__mapDeps = (i, m = __vite__mapDeps, d = (m.f || (m.f = ["assets/index.es-BdcbeDUY.js", "assets/index.es-Df_Kaxpm.js", "assets/index-6RHXyegE.js"]))) => i.map(i => d[i]);

function H7(t, e) {
  for (var r = 0; r < e.length; r++) {
    const n = e[r];
    if (typeof n != "string" && !Array.isArray(n)) {
      for (const i in n)
        if (i !== "default" && !(i in t)) {
          const s = Object.getOwnPropertyDescriptor(n, i);
          s && Object.defineProperty(t, i, s.get ? s : {
            enumerable: !0,
            get: () => n[i]
          })
        }
    }
  }
  return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, {
    value: "Module"
  }))
}(function () {
  const e = document.createElement("link").relList;
  if (e && e.supports && e.supports("modulepreload")) return;
  for (const i of document.querySelectorAll('link[rel="modulepreload"]')) n(i);
  new MutationObserver(i => {
    for (const s of i)
      if (s.type === "childList")
        for (const o of s.addedNodes) o.tagName === "LINK" && o.rel === "modulepreload" && n(o)
  }).observe(document, {
    childList: !0,
    subtree: !0
  });

  function r(i) {
    const s = {};
    return i.integrity && (s.integrity = i.integrity), i.referrerPolicy && (s.referrerPolicy = i.referrerPolicy), i.crossOrigin === "use-credentials" ? s.credentials = "include" : i.crossOrigin === "anonymous" ? s.credentials = "omit" : s.credentials = "same-origin", s
  }

  function n(i) {
    if (i.ep) return;
    i.ep = !0;
    const s = r(i);
    fetch(i.href, s)
  }
})();
var G7 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};

function y3(t) {
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t
}

function w3(t) {
  if (t.__esModule) return t;
  var e = t.default;
  if (typeof e == "function") {
    var r = function n() {
      return this instanceof n ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments)
    };
    r.prototype = e.prototype
  } else r = {};
  return Object.defineProperty(r, "__esModule", {
    value: !0
  }), Object.keys(t).forEach(function (n) {
    var i = Object.getOwnPropertyDescriptor(t, n);
    Object.defineProperty(r, n, i.get ? i : {
      enumerable: !0,
      get: function () {
        return t[n]
      }
    })
  }), r
}
var b3 = {
    exports: {}
  },
  qc = {},
  D3 = {
    exports: {}
  },
  he = {};
/**
 * @license React
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var Ra = Symbol.for("react.element"),
  q7 = Symbol.for("react.portal"),
  V7 = Symbol.for("react.fragment"),
  K7 = Symbol.for("react.strict_mode"),
  Q7 = Symbol.for("react.profiler"),
  J7 = Symbol.for("react.provider"),
  Y7 = Symbol.for("react.context"),
  X7 = Symbol.for("react.forward_ref"),
  Z7 = Symbol.for("react.suspense"),
  eS = Symbol.for("react.memo"),
  tS = Symbol.for("react.lazy"),
  mg = Symbol.iterator;

function rS(t) {
  return t === null || typeof t != "object" ? null : (t = mg && t[mg] || t["@@iterator"], typeof t == "function" ? t : null)
}
var x3 = {
    isMounted: function () {
      return !1
    },
    enqueueForceUpdate: function () {},
    enqueueReplaceState: function () {},
    enqueueSetState: function () {}
  },
  E3 = Object.assign,
  S3 = {};

function Fs(t, e, r) {
  this.props = t, this.context = e, this.refs = S3, this.updater = r || x3
}
Fs.prototype.isReactComponent = {};
Fs.prototype.setState = function (t, e) {
  if (typeof t != "object" && typeof t != "function" && t != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
  this.updater.enqueueSetState(this, t, e, "setState")
};
Fs.prototype.forceUpdate = function (t) {
  this.updater.enqueueForceUpdate(this, t, "forceUpdate")
};

function k3() {}
k3.prototype = Fs.prototype;

function OC(t, e, r) {
  this.props = t, this.context = e, this.refs = S3, this.updater = r || x3
}
var IC = OC.prototype = new k3;
IC.constructor = OC;
E3(IC, Fs.prototype);
IC.isPureReactComponent = !0;
var gg = Array.isArray,
  j3 = Object.prototype.hasOwnProperty,
  NC = {
    current: null
  },
  A3 = {
    key: !0,
    ref: !0,
    __self: !0,
    __source: !0
  };

function P3(t, e, r) {
  var n, i = {},
    s = null,
    o = null;
  if (e != null)
    for (n in e.ref !== void 0 && (o = e.ref), e.key !== void 0 && (s = "" + e.key), e) j3.call(e, n) && !A3.hasOwnProperty(n) && (i[n] = e[n]);
  var a = arguments.length - 2;
  if (a === 1) i.children = r;
  else if (1 < a) {
    for (var l = Array(a), u = 0; u < a; u++) l[u] = arguments[u + 2];
    i.children = l
  }
  if (t && t.defaultProps)
    for (n in a = t.defaultProps, a) i[n] === void 0 && (i[n] = a[n]);
  return {
    $$typeof: Ra,
    type: t,
    key: s,
    ref: o,
    props: i,
    _owner: NC.current
  }
}

function nS(t, e) {
  return {
    $$typeof: Ra,
    type: t.type,
    key: e,
    ref: t.ref,
    props: t.props,
    _owner: t._owner
  }
}

function TC(t) {
  return typeof t == "object" && t !== null && t.$$typeof === Ra
}

function iS(t) {
  var e = {
    "=": "=0",
    ":": "=2"
  };
  return "$" + t.replace(/[=:]/g, function (r) {
    return e[r]
  })
}
var vg = /\/+/g;

function uf(t, e) {
  return typeof t == "object" && t !== null && t.key != null ? iS("" + t.key) : e.toString(36)
}

function mu(t, e, r, n, i) {
  var s = typeof t;
  (s === "undefined" || s === "boolean") && (t = null);
  var o = !1;
  if (t === null) o = !0;
  else switch (s) {
    case "string":
    case "number":
      o = !0;
      break;
    case "object":
      switch (t.$$typeof) {
        case Ra:
        case q7:
          o = !0
      }
  }
  if (o) return o = t, i = i(o), t = n === "" ? "." + uf(o, 0) : n, gg(i) ? (r = "", t != null && (r = t.replace(vg, "$&/") + "/"), mu(i, e, r, "", function (u) {
    return u
  })) : i != null && (TC(i) && (i = nS(i, r + (!i.key || o && o.key === i.key ? "" : ("" + i.key).replace(vg, "$&/") + "/") + t)), e.push(i)), 1;
  if (o = 0, n = n === "" ? "." : n + ":", gg(t))
    for (var a = 0; a < t.length; a++) {
      s = t[a];
      var l = n + uf(s, a);
      o += mu(s, e, r, l, i)
    } else if (l = rS(t), typeof l == "function")
      for (t = l.call(t), a = 0; !(s = t.next()).done;) s = s.value, l = n + uf(s, a++), o += mu(s, e, r, l, i);
    else if (s === "object") throw e = String(t), Error("Objects are not valid as a React child (found: " + (e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e) + "). If you meant to render a collection of children, use an array instead.");
  return o
}

function wl(t, e, r) {
  if (t == null) return t;
  var n = [],
    i = 0;
  return mu(t, n, "", "", function (s) {
    return e.call(r, s, i++)
  }), n
}

function sS(t) {
  if (t._status === -1) {
    var e = t._result;
    e = e(), e.then(function (r) {
      (t._status === 0 || t._status === -1) && (t._status = 1, t._result = r)
    }, function (r) {
      (t._status === 0 || t._status === -1) && (t._status = 2, t._result = r)
    }), t._status === -1 && (t._status = 0, t._result = e)
  }
  if (t._status === 1) return t._result.default;
  throw t._result
}
var At = {
    current: null
  },
  gu = {
    transition: null
  },
  oS = {
    ReactCurrentDispatcher: At,
    ReactCurrentBatchConfig: gu,
    ReactCurrentOwner: NC
  };

function _3() {
  throw Error("act(...) is not supported in production builds of React.")
}
he.Children = {
  map: wl,
  forEach: function (t, e, r) {
    wl(t, function () {
      e.apply(this, arguments)
    }, r)
  },
  count: function (t) {
    var e = 0;
    return wl(t, function () {
      e++
    }), e
  },
  toArray: function (t) {
    return wl(t, function (e) {
      return e
    }) || []
  },
  only: function (t) {
    if (!TC(t)) throw Error("React.Children.only expected to receive a single React element child.");
    return t
  }
};
he.Component = Fs;
he.Fragment = V7;
he.Profiler = Q7;
he.PureComponent = OC;
he.StrictMode = K7;
he.Suspense = Z7;
he.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = oS;
he.act = _3;
he.cloneElement = function (t, e, r) {
  if (t == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + t + ".");
  var n = E3({}, t.props),
    i = t.key,
    s = t.ref,
    o = t._owner;
  if (e != null) {
    if (e.ref !== void 0 && (s = e.ref, o = NC.current), e.key !== void 0 && (i = "" + e.key), t.type && t.type.defaultProps) var a = t.type.defaultProps;
    for (l in e) j3.call(e, l) && !A3.hasOwnProperty(l) && (n[l] = e[l] === void 0 && a !== void 0 ? a[l] : e[l])
  }
  var l = arguments.length - 2;
  if (l === 1) n.children = r;
  else if (1 < l) {
    a = Array(l);
    for (var u = 0; u < l; u++) a[u] = arguments[u + 2];
    n.children = a
  }
  return {
    $$typeof: Ra,
    type: t.type,
    key: i,
    ref: s,
    props: n,
    _owner: o
  }
};
he.createContext = function (t) {
  return t = {
    $$typeof: Y7,
    _currentValue: t,
    _currentValue2: t,
    _threadCount: 0,
    Provider: null,
    Consumer: null,
    _defaultValue: null,
    _globalName: null
  }, t.Provider = {
    $$typeof: J7,
    _context: t
  }, t.Consumer = t
};
he.createElement = P3;
he.createFactory = function (t) {
  var e = P3.bind(null, t);
  return e.type = t, e
};
he.createRef = function () {
  return {
    current: null
  }
};
he.forwardRef = function (t) {
  return {
    $$typeof: X7,
    render: t
  }
};
he.isValidElement = TC;
he.lazy = function (t) {
  return {
    $$typeof: tS,
    _payload: {
      _status: -1,
      _result: t
    },
    _init: sS
  }
};
he.memo = function (t, e) {
  return {
    $$typeof: eS,
    type: t,
    compare: e === void 0 ? null : e
  }
};
he.startTransition = function (t) {
  var e = gu.transition;
  gu.transition = {};
  try {
    t()
  } finally {
    gu.transition = e
  }
};
he.unstable_act = _3;
he.useCallback = function (t, e) {
  return At.current.useCallback(t, e)
};
he.useContext = function (t) {
  return At.current.useContext(t)
};
he.useDebugValue = function () {};
he.useDeferredValue = function (t) {
  return At.current.useDeferredValue(t)
};
he.useEffect = function (t, e) {
  return At.current.useEffect(t, e)
};
he.useId = function () {
  return At.current.useId()
};
he.useImperativeHandle = function (t, e, r) {
  return At.current.useImperativeHandle(t, e, r)
};
he.useInsertionEffect = function (t, e) {
  return At.current.useInsertionEffect(t, e)
};
he.useLayoutEffect = function (t, e) {
  return At.current.useLayoutEffect(t, e)
};
he.useMemo = function (t, e) {
  return At.current.useMemo(t, e)
};
he.useReducer = function (t, e, r) {
  return At.current.useReducer(t, e, r)
};
he.useRef = function (t) {
  return At.current.useRef(t)
};
he.useState = function (t) {
  return At.current.useState(t)
};
he.useSyncExternalStore = function (t, e, r) {
  return At.current.useSyncExternalStore(t, e, r)
};
he.useTransition = function () {
  return At.current.useTransition()
};
he.version = "18.3.1";
D3.exports = he;
var k = D3.exports;
const b = y3(k),
  aS = H7({
    __proto__: null,
    default: b
  }, [k]);
/**
 * @license React
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var lS = k,
  uS = Symbol.for("react.element"),
  cS = Symbol.for("react.fragment"),
  dS = Object.prototype.hasOwnProperty,
  fS = lS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
  BS = {
    key: !0,
    ref: !0,
    __self: !0,
    __source: !0
  };

function O3(t, e, r) {
  var n, i = {},
    s = null,
    o = null;
  r !== void 0 && (s = "" + r), e.key !== void 0 && (s = "" + e.key), e.ref !== void 0 && (o = e.ref);
  for (n in e) dS.call(e, n) && !BS.hasOwnProperty(n) && (i[n] = e[n]);
  if (t && t.defaultProps)
    for (n in e = t.defaultProps, e) i[n] === void 0 && (i[n] = e[n]);
  return {
    $$typeof: uS,
    type: t,
    key: s,
    ref: o,
    props: i,
    _owner: fS.current
  }
}
qc.Fragment = cS;
qc.jsx = O3;
qc.jsxs = O3;
b3.exports = qc;
var E = b3.exports,
  c0 = {},
  I3 = {
    exports: {}
  },
  Qt = {},
  N3 = {
    exports: {}
  },
  T3 = {};
/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
(function (t) {
  function e(I, H) {
    var N = I.length;
    I.push(H);
    e: for (; 0 < N;) {
      var V = N - 1 >>> 1,
        K = I[V];
      if (0 < i(K, H)) I[V] = H, I[N] = K, N = V;
      else break e
    }
  }

  function r(I) {
    return I.length === 0 ? null : I[0]
  }

  function n(I) {
    if (I.length === 0) return null;
    var H = I[0],
      N = I.pop();
    if (N !== H) {
      I[0] = N;
      e: for (var V = 0, K = I.length, M = K >>> 1; V < M;) {
        var X = 2 * (V + 1) - 1,
          te = I[X],
          ne = X + 1,
          ce = I[ne];
        if (0 > i(te, N)) ne < K && 0 > i(ce, te) ? (I[V] = ce, I[ne] = N, V = ne) : (I[V] = te, I[X] = N, V = X);
        else if (ne < K && 0 > i(ce, N)) I[V] = ce, I[ne] = N, V = ne;
        else break e
      }
    }
    return H
  }

  function i(I, H) {
    var N = I.sortIndex - H.sortIndex;
    return N !== 0 ? N : I.id - H.id
  }
  if (typeof performance == "object" && typeof performance.now == "function") {
    var s = performance;
    t.unstable_now = function () {
      return s.now()
    }
  } else {
    var o = Date,
      a = o.now();
    t.unstable_now = function () {
      return o.now() - a
    }
  }
  var l = [],
    u = [],
    c = 1,
    d = null,
    f = 3,
    B = !1,
    h = !1,
    g = !1,
    y = typeof setTimeout == "function" ? setTimeout : null,
    m = typeof clearTimeout == "function" ? clearTimeout : null,
    p = typeof setImmediate < "u" ? setImmediate : null;
  typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);

  function v(I) {
    for (var H = r(u); H !== null;) {
      if (H.callback === null) n(u);
      else if (H.startTime <= I) n(u), H.sortIndex = H.expirationTime, e(l, H);
      else break;
      H = r(u)
    }
  }

  function w(I) {
    if (g = !1, v(I), !h)
      if (r(l) !== null) h = !0, z(D);
      else {
        var H = r(u);
        H !== null && L(w, H.startTime - I)
      }
  }

  function D(I, H) {
    h = !1, g && (g = !1, m(S), S = -1), B = !0;
    var N = f;
    try {
      for (v(H), d = r(l); d !== null && (!(d.expirationTime > H) || I && !_());) {
        var V = d.callback;
        if (typeof V == "function") {
          d.callback = null, f = d.priorityLevel;
          var K = V(d.expirationTime <= H);
          H = t.unstable_now(), typeof K == "function" ? d.callback = K : d === r(l) && n(l), v(H)
        } else n(l);
        d = r(l)
      }
      if (d !== null) var M = !0;
      else {
        var X = r(u);
        X !== null && L(w, X.startTime - H), M = !1
      }
      return M
    } finally {
      d = null, f = N, B = !1
    }
  }
  var x = !1,
    C = null,
    S = -1,
    A = 5,
    P = -1;

  function _() {
    return !(t.unstable_now() - P < A)
  }

  function O() {
    if (C !== null) {
      var I = t.unstable_now();
      P = I;
      var H = !0;
      try {
        H = C(!0, I)
      } finally {
        H ? T() : (x = !1, C = null)
      }
    } else x = !1
  }
  var T;
  if (typeof p == "function") T = function () {
    p(O)
  };
  else if (typeof MessageChannel < "u") {
    var F = new MessageChannel,
      G = F.port2;
    F.port1.onmessage = O, T = function () {
      G.postMessage(null)
    }
  } else T = function () {
    y(O, 0)
  };

  function z(I) {
    C = I, x || (x = !0, T())
  }

  function L(I, H) {
    S = y(function () {
      I(t.unstable_now())
    }, H)
  }
  t.unstable_IdlePriority = 5, t.unstable_ImmediatePriority = 1, t.unstable_LowPriority = 4, t.unstable_NormalPriority = 3, t.unstable_Profiling = null, t.unstable_UserBlockingPriority = 2, t.unstable_cancelCallback = function (I) {
    I.callback = null
  }, t.unstable_continueExecution = function () {
    h || B || (h = !0, z(D))
  }, t.unstable_forceFrameRate = function (I) {
    0 > I || 125 < I ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : A = 0 < I ? Math.floor(1e3 / I) : 5
  }, t.unstable_getCurrentPriorityLevel = function () {
    return f
  }, t.unstable_getFirstCallbackNode = function () {
    return r(l)
  }, t.unstable_next = function (I) {
    switch (f) {
      case 1:
      case 2:
      case 3:
        var H = 3;
        break;
      default:
        H = f
    }
    var N = f;
    f = H;
    try {
      return I()
    } finally {
      f = N
    }
  }, t.unstable_pauseExecution = function () {}, t.unstable_requestPaint = function () {}, t.unstable_runWithPriority = function (I, H) {
    switch (I) {
      case 1:
      case 2:
      case 3:
      case 4:
      case 5:
        break;
      default:
        I = 3
    }
    var N = f;
    f = I;
    try {
      return H()
    } finally {
      f = N
    }
  }, t.unstable_scheduleCallback = function (I, H, N) {
    var V = t.unstable_now();
    switch (typeof N == "object" && N !== null ? (N = N.delay, N = typeof N == "number" && 0 < N ? V + N : V) : N = V, I) {
      case 1:
        var K = -1;
        break;
      case 2:
        K = 250;
        break;
      case 5:
        K = 1073741823;
        break;
      case 4:
        K = 1e4;
        break;
      default:
        K = 5e3
    }
    return K = N + K, I = {
      id: c++,
      callback: H,
      priorityLevel: I,
      startTime: N,
      expirationTime: K,
      sortIndex: -1
    }, N > V ? (I.sortIndex = N, e(u, I), r(l) === null && I === r(u) && (g ? (m(S), S = -1) : g = !0, L(w, N - V))) : (I.sortIndex = K, e(l, I), h || B || (h = !0, z(D))), I
  }, t.unstable_shouldYield = _, t.unstable_wrapCallback = function (I) {
    var H = f;
    return function () {
      var N = f;
      f = H;
      try {
        return I.apply(this, arguments)
      } finally {
        f = N
      }
    }
  }
})(T3);
N3.exports = T3;
var hS = N3.exports;
/**
 * @license React
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var pS = k,
  Kt = hS;

function R(t) {
  for (var e = "https://reactjs.org/docs/error-decoder.html?invariant=" + t, r = 1; r < arguments.length; r++) e += "&args[]=" + encodeURIComponent(arguments[r]);
  return "Minified React error #" + t + "; visit " + e + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
}
var R3 = new Set,
  Wo = {};

function ji(t, e) {
  ms(t, e), ms(t + "Capture", e)
}

function ms(t, e) {
  for (Wo[t] = e, t = 0; t < e.length; t++) R3.add(e[t])
}
var Zr = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"),
  d0 = Object.prototype.hasOwnProperty,
  CS = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
  yg = {},
  wg = {};

function mS(t) {
  return d0.call(wg, t) ? !0 : d0.call(yg, t) ? !1 : CS.test(t) ? wg[t] = !0 : (yg[t] = !0, !1)
}

function gS(t, e, r, n) {
  if (r !== null && r.type === 0) return !1;
  switch (typeof e) {
    case "function":
    case "symbol":
      return !0;
    case "boolean":
      return n ? !1 : r !== null ? !r.acceptsBooleans : (t = t.toLowerCase().slice(0, 5), t !== "data-" && t !== "aria-");
    default:
      return !1
  }
}

function vS(t, e, r, n) {
  if (e === null || typeof e > "u" || gS(t, e, r, n)) return !0;
  if (n) return !1;
  if (r !== null) switch (r.type) {
    case 3:
      return !e;
    case 4:
      return e === !1;
    case 5:
      return isNaN(e);
    case 6:
      return isNaN(e) || 1 > e
  }
  return !1
}

function Pt(t, e, r, n, i, s, o) {
  this.acceptsBooleans = e === 2 || e === 3 || e === 4, this.attributeName = n, this.attributeNamespace = i, this.mustUseProperty = r, this.propertyName = t, this.type = e, this.sanitizeURL = s, this.removeEmptyString = o
}
var Bt = {};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function (t) {
  Bt[t] = new Pt(t, 0, !1, t, null, !1, !1)
});
[
  ["acceptCharset", "accept-charset"],
  ["className", "class"],
  ["htmlFor", "for"],
  ["httpEquiv", "http-equiv"]
].forEach(function (t) {
  var e = t[0];
  Bt[e] = new Pt(e, 1, !1, t[1], null, !1, !1)
});
["contentEditable", "draggable", "spellCheck", "value"].forEach(function (t) {
  Bt[t] = new Pt(t, 2, !1, t.toLowerCase(), null, !1, !1)
});
["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function (t) {
  Bt[t] = new Pt(t, 2, !1, t, null, !1, !1)
});
"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function (t) {
  Bt[t] = new Pt(t, 3, !1, t.toLowerCase(), null, !1, !1)
});
["checked", "multiple", "muted", "selected"].forEach(function (t) {
  Bt[t] = new Pt(t, 3, !0, t, null, !1, !1)
});
["capture", "download"].forEach(function (t) {
  Bt[t] = new Pt(t, 4, !1, t, null, !1, !1)
});
["cols", "rows", "size", "span"].forEach(function (t) {
  Bt[t] = new Pt(t, 6, !1, t, null, !1, !1)
});
["rowSpan", "start"].forEach(function (t) {
  Bt[t] = new Pt(t, 5, !1, t.toLowerCase(), null, !1, !1)
});
var RC = /[\-:]([a-z])/g;

function FC(t) {
  return t[1].toUpperCase()
}
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function (t) {
  var e = t.replace(RC, FC);
  Bt[e] = new Pt(e, 1, !1, t, null, !1, !1)
});
"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function (t) {
  var e = t.replace(RC, FC);
  Bt[e] = new Pt(e, 1, !1, t, "http://www.w3.org/1999/xlink", !1, !1)
});
["xml:base", "xml:lang", "xml:space"].forEach(function (t) {
  var e = t.replace(RC, FC);
  Bt[e] = new Pt(e, 1, !1, t, "http://www.w3.org/XML/1998/namespace", !1, !1)
});
["tabIndex", "crossOrigin"].forEach(function (t) {
  Bt[t] = new Pt(t, 1, !1, t.toLowerCase(), null, !1, !1)
});
Bt.xlinkHref = new Pt("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1);
["src", "href", "action", "formAction"].forEach(function (t) {
  Bt[t] = new Pt(t, 1, !1, t.toLowerCase(), null, !0, !0)
});

function MC(t, e, r, n) {
  var i = Bt.hasOwnProperty(e) ? Bt[e] : null;
  (i !== null ? i.type !== 0 : n || !(2 < e.length) || e[0] !== "o" && e[0] !== "O" || e[1] !== "n" && e[1] !== "N") && (vS(e, r, i, n) && (r = null), n || i === null ? mS(e) && (r === null ? t.removeAttribute(e) : t.setAttribute(e, "" + r)) : i.mustUseProperty ? t[i.propertyName] = r === null ? i.type === 3 ? !1 : "" : r : (e = i.attributeName, n = i.attributeNamespace, r === null ? t.removeAttribute(e) : (i = i.type, r = i === 3 || i === 4 && r === !0 ? "" : "" + r, n ? t.setAttributeNS(n, e, r) : t.setAttribute(e, r))))
}
var ln = pS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
  bl = Symbol.for("react.element"),
  Vi = Symbol.for("react.portal"),
  Ki = Symbol.for("react.fragment"),
  LC = Symbol.for("react.strict_mode"),
  f0 = Symbol.for("react.profiler"),
  F3 = Symbol.for("react.provider"),
  M3 = Symbol.for("react.context"),
  UC = Symbol.for("react.forward_ref"),
  B0 = Symbol.for("react.suspense"),
  h0 = Symbol.for("react.suspense_list"),
  zC = Symbol.for("react.memo"),
  mn = Symbol.for("react.lazy"),
  L3 = Symbol.for("react.offscreen"),
  bg = Symbol.iterator;

function eo(t) {
  return t === null || typeof t != "object" ? null : (t = bg && t[bg] || t["@@iterator"], typeof t == "function" ? t : null)
}
var Ue = Object.assign,
  cf;

function yo(t) {
  if (cf === void 0) try {
    throw Error()
  } catch (r) {
    var e = r.stack.trim().match(/\n( *(at )?)/);
    cf = e && e[1] || ""
  }
  return `
` + cf + t
}
var df = !1;

function ff(t, e) {
  if (!t || df) return "";
  df = !0;
  var r = Error.prepareStackTrace;
  Error.prepareStackTrace = void 0;
  try {
    if (e)
      if (e = function () {
          throw Error()
        }, Object.defineProperty(e.prototype, "props", {
          set: function () {
            throw Error()
          }
        }), typeof Reflect == "object" && Reflect.construct) {
        try {
          Reflect.construct(e, [])
        } catch (u) {
          var n = u
        }
        Reflect.construct(t, [], e)
      } else {
        try {
          e.call()
        } catch (u) {
          n = u
        }
        t.call(e.prototype)
      }
    else {
      try {
        throw Error()
      } catch (u) {
        n = u
      }
      t()
    }
  } catch (u) {
    if (u && n && typeof u.stack == "string") {
      for (var i = u.stack.split(`
`), s = n.stack.split(`
`), o = i.length - 1, a = s.length - 1; 1 <= o && 0 <= a && i[o] !== s[a];) a--;
      for (; 1 <= o && 0 <= a; o--, a--)
        if (i[o] !== s[a]) {
          if (o !== 1 || a !== 1)
            do
              if (o--, a--, 0 > a || i[o] !== s[a]) {
                var l = `
` + i[o].replace(" at new ", " at ");
                return t.displayName && l.includes("<anonymous>") && (l = l.replace("<anonymous>", t.displayName)), l
              } while (1 <= o && 0 <= a);
          break
        }
    }
  } finally {
    df = !1, Error.prepareStackTrace = r
  }
  return (t = t ? t.displayName || t.name : "") ? yo(t) : ""
}

function yS(t) {
  switch (t.tag) {
    case 5:
      return yo(t.type);
    case 16:
      return yo("Lazy");
    case 13:
      return yo("Suspense");
    case 19:
      return yo("SuspenseList");
    case 0:
    case 2:
    case 15:
      return t = ff(t.type, !1), t;
    case 11:
      return t = ff(t.type.render, !1), t;
    case 1:
      return t = ff(t.type, !0), t;
    default:
      return ""
  }
}

function p0(t) {
  if (t == null) return null;
  if (typeof t == "function") return t.displayName || t.name || null;
  if (typeof t == "string") return t;
  switch (t) {
    case Ki:
      return "Fragment";
    case Vi:
      return "Portal";
    case f0:
      return "Profiler";
    case LC:
      return "StrictMode";
    case B0:
      return "Suspense";
    case h0:
      return "SuspenseList"
  }
  if (typeof t == "object") switch (t.$$typeof) {
    case M3:
      return (t.displayName || "Context") + ".Consumer";
    case F3:
      return (t._context.displayName || "Context") + ".Provider";
    case UC:
      var e = t.render;
      return t = t.displayName, t || (t = e.displayName || e.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
    case zC:
      return e = t.displayName || null, e !== null ? e : p0(t.type) || "Memo";
    case mn:
      e = t._payload, t = t._init;
      try {
        return p0(t(e))
      } catch {}
  }
  return null
}

function wS(t) {
  var e = t.type;
  switch (t.tag) {
    case 24:
      return "Cache";
    case 9:
      return (e.displayName || "Context") + ".Consumer";
    case 10:
      return (e._context.displayName || "Context") + ".Provider";
    case 18:
      return "DehydratedFragment";
    case 11:
      return t = e.render, t = t.displayName || t.name || "", e.displayName || (t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef");
    case 7:
      return "Fragment";
    case 5:
      return e;
    case 4:
      return "Portal";
    case 3:
      return "Root";
    case 6:
      return "Text";
    case 16:
      return p0(e);
    case 8:
      return e === LC ? "StrictMode" : "Mode";
    case 22:
      return "Offscreen";
    case 12:
      return "Profiler";
    case 21:
      return "Scope";
    case 13:
      return "Suspense";
    case 19:
      return "SuspenseList";
    case 25:
      return "TracingMarker";
    case 1:
    case 0:
    case 17:
    case 2:
    case 14:
    case 15:
      if (typeof e == "function") return e.displayName || e.name || null;
      if (typeof e == "string") return e
  }
  return null
}

function Ln(t) {
  switch (typeof t) {
    case "boolean":
    case "number":
    case "string":
    case "undefined":
      return t;
    case "object":
      return t;
    default:
      return ""
  }
}

function U3(t) {
  var e = t.type;
  return (t = t.nodeName) && t.toLowerCase() === "input" && (e === "checkbox" || e === "radio")
}

function bS(t) {
  var e = U3(t) ? "checked" : "value",
    r = Object.getOwnPropertyDescriptor(t.constructor.prototype, e),
    n = "" + t[e];
  if (!t.hasOwnProperty(e) && typeof r < "u" && typeof r.get == "function" && typeof r.set == "function") {
    var i = r.get,
      s = r.set;
    return Object.defineProperty(t, e, {
      configurable: !0,
      get: function () {
        return i.call(this)
      },
      set: function (o) {
        n = "" + o, s.call(this, o)
      }
    }), Object.defineProperty(t, e, {
      enumerable: r.enumerable
    }), {
      getValue: function () {
        return n
      },
      setValue: function (o) {
        n = "" + o
      },
      stopTracking: function () {
        t._valueTracker = null, delete t[e]
      }
    }
  }
}

function Dl(t) {
  t._valueTracker || (t._valueTracker = bS(t))
}

function z3(t) {
  if (!t) return !1;
  var e = t._valueTracker;
  if (!e) return !0;
  var r = e.getValue(),
    n = "";
  return t && (n = U3(t) ? t.checked ? "true" : "false" : t.value), t = n, t !== r ? (e.setValue(t), !0) : !1
}

function $u(t) {
  if (t = t || (typeof document < "u" ? document : void 0), typeof t > "u") return null;
  try {
    return t.activeElement || t.body
  } catch {
    return t.body
  }
}

function C0(t, e) {
  var r = e.checked;
  return Ue({}, e, {
    defaultChecked: void 0,
    defaultValue: void 0,
    value: void 0,
    checked: r ?? t._wrapperState.initialChecked
  })
}

function Dg(t, e) {
  var r = e.defaultValue == null ? "" : e.defaultValue,
    n = e.checked != null ? e.checked : e.defaultChecked;
  r = Ln(e.value != null ? e.value : r), t._wrapperState = {
    initialChecked: n,
    initialValue: r,
    controlled: e.type === "checkbox" || e.type === "radio" ? e.checked != null : e.value != null
  }
}

function W3(t, e) {
  e = e.checked, e != null && MC(t, "checked", e, !1)
}

function m0(t, e) {
  W3(t, e);
  var r = Ln(e.value),
    n = e.type;
  if (r != null) n === "number" ? (r === 0 && t.value === "" || t.value != r) && (t.value = "" + r) : t.value !== "" + r && (t.value = "" + r);
  else if (n === "submit" || n === "reset") {
    t.removeAttribute("value");
    return
  }
  e.hasOwnProperty("value") ? g0(t, e.type, r) : e.hasOwnProperty("defaultValue") && g0(t, e.type, Ln(e.defaultValue)), e.checked == null && e.defaultChecked != null && (t.defaultChecked = !!e.defaultChecked)
}

function xg(t, e, r) {
  if (e.hasOwnProperty("value") || e.hasOwnProperty("defaultValue")) {
    var n = e.type;
    if (!(n !== "submit" && n !== "reset" || e.value !== void 0 && e.value !== null)) return;
    e = "" + t._wrapperState.initialValue, r || e === t.value || (t.value = e), t.defaultValue = e
  }
  r = t.name, r !== "" && (t.name = ""), t.defaultChecked = !!t._wrapperState.initialChecked, r !== "" && (t.name = r)
}

function g0(t, e, r) {
  (e !== "number" || $u(t.ownerDocument) !== t) && (r == null ? t.defaultValue = "" + t._wrapperState.initialValue : t.defaultValue !== "" + r && (t.defaultValue = "" + r))
}
var wo = Array.isArray;

function os(t, e, r, n) {
  if (t = t.options, e) {
    e = {};
    for (var i = 0; i < r.length; i++) e["$" + r[i]] = !0;
    for (r = 0; r < t.length; r++) i = e.hasOwnProperty("$" + t[r].value), t[r].selected !== i && (t[r].selected = i), i && n && (t[r].defaultSelected = !0)
  } else {
    for (r = "" + Ln(r), e = null, i = 0; i < t.length; i++) {
      if (t[i].value === r) {
        t[i].selected = !0, n && (t[i].defaultSelected = !0);
        return
      }
      e !== null || t[i].disabled || (e = t[i])
    }
    e !== null && (e.selected = !0)
  }
}

function v0(t, e) {
  if (e.dangerouslySetInnerHTML != null) throw Error(R(91));
  return Ue({}, e, {
    value: void 0,
    defaultValue: void 0,
    children: "" + t._wrapperState.initialValue
  })
}

function Eg(t, e) {
  var r = e.value;
  if (r == null) {
    if (r = e.children, e = e.defaultValue, r != null) {
      if (e != null) throw Error(R(92));
      if (wo(r)) {
        if (1 < r.length) throw Error(R(93));
        r = r[0]
      }
      e = r
    }
    e == null && (e = ""), r = e
  }
  t._wrapperState = {
    initialValue: Ln(r)
  }
}

function $3(t, e) {
  var r = Ln(e.value),
    n = Ln(e.defaultValue);
  r != null && (r = "" + r, r !== t.value && (t.value = r), e.defaultValue == null && t.defaultValue !== r && (t.defaultValue = r)), n != null && (t.defaultValue = "" + n)
}

function Sg(t) {
  var e = t.textContent;
  e === t._wrapperState.initialValue && e !== "" && e !== null && (t.value = e)
}

function H3(t) {
  switch (t) {
    case "svg":
      return "http://www.w3.org/2000/svg";
    case "math":
      return "http://www.w3.org/1998/Math/MathML";
    default:
      return "http://www.w3.org/1999/xhtml"
  }
}

function y0(t, e) {
  return t == null || t === "http://www.w3.org/1999/xhtml" ? H3(e) : t === "http://www.w3.org/2000/svg" && e === "foreignObject" ? "http://www.w3.org/1999/xhtml" : t
}
var xl, G3 = function (t) {
  return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function (e, r, n, i) {
    MSApp.execUnsafeLocalFunction(function () {
      return t(e, r, n, i)
    })
  } : t
}(function (t, e) {
  if (t.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in t) t.innerHTML = e;
  else {
    for (xl = xl || document.createElement("div"), xl.innerHTML = "<svg>" + e.valueOf().toString() + "</svg>", e = xl.firstChild; t.firstChild;) t.removeChild(t.firstChild);
    for (; e.firstChild;) t.appendChild(e.firstChild)
  }
});

function $o(t, e) {
  if (e) {
    var r = t.firstChild;
    if (r && r === t.lastChild && r.nodeType === 3) {
      r.nodeValue = e;
      return
    }
  }
  t.textContent = e
}
var Po = {
    animationIterationCount: !0,
    aspectRatio: !0,
    borderImageOutset: !0,
    borderImageSlice: !0,
    borderImageWidth: !0,
    boxFlex: !0,
    boxFlexGroup: !0,
    boxOrdinalGroup: !0,
    columnCount: !0,
    columns: !0,
    flex: !0,
    flexGrow: !0,
    flexPositive: !0,
    flexShrink: !0,
    flexNegative: !0,
    flexOrder: !0,
    gridArea: !0,
    gridRow: !0,
    gridRowEnd: !0,
    gridRowSpan: !0,
    gridRowStart: !0,
    gridColumn: !0,
    gridColumnEnd: !0,
    gridColumnSpan: !0,
    gridColumnStart: !0,
    fontWeight: !0,
    lineClamp: !0,
    lineHeight: !0,
    opacity: !0,
    order: !0,
    orphans: !0,
    tabSize: !0,
    widows: !0,
    zIndex: !0,
    zoom: !0,
    fillOpacity: !0,
    floodOpacity: !0,
    stopOpacity: !0,
    strokeDasharray: !0,
    strokeDashoffset: !0,
    strokeMiterlimit: !0,
    strokeOpacity: !0,
    strokeWidth: !0
  },
  DS = ["Webkit", "ms", "Moz", "O"];
Object.keys(Po).forEach(function (t) {
  DS.forEach(function (e) {
    e = e + t.charAt(0).toUpperCase() + t.substring(1), Po[e] = Po[t]
  })
});

function q3(t, e, r) {
  return e == null || typeof e == "boolean" || e === "" ? "" : r || typeof e != "number" || e === 0 || Po.hasOwnProperty(t) && Po[t] ? ("" + e).trim() : e + "px"
}

function V3(t, e) {
  t = t.style;
  for (var r in e)
    if (e.hasOwnProperty(r)) {
      var n = r.indexOf("--") === 0,
        i = q3(r, e[r], n);
      r === "float" && (r = "cssFloat"), n ? t.setProperty(r, i) : t[r] = i
    }
}
var xS = Ue({
  menuitem: !0
}, {
  area: !0,
  base: !0,
  br: !0,
  col: !0,
  embed: !0,
  hr: !0,
  img: !0,
  input: !0,
  keygen: !0,
  link: !0,
  meta: !0,
  param: !0,
  source: !0,
  track: !0,
  wbr: !0
});

function w0(t, e) {
  if (e) {
    if (xS[t] && (e.children != null || e.dangerouslySetInnerHTML != null)) throw Error(R(137, t));
    if (e.dangerouslySetInnerHTML != null) {
      if (e.children != null) throw Error(R(60));
      if (typeof e.dangerouslySetInnerHTML != "object" || !("__html" in e.dangerouslySetInnerHTML)) throw Error(R(61))
    }
    if (e.style != null && typeof e.style != "object") throw Error(R(62))
  }
}

function b0(t, e) {
  if (t.indexOf("-") === -1) return typeof e.is == "string";
  switch (t) {
    case "annotation-xml":
    case "color-profile":
    case "font-face":
    case "font-face-src":
    case "font-face-uri":
    case "font-face-format":
    case "font-face-name":
    case "missing-glyph":
      return !1;
    default:
      return !0
  }
}
var D0 = null;

function WC(t) {
  return t = t.target || t.srcElement || window, t.correspondingUseElement && (t = t.correspondingUseElement), t.nodeType === 3 ? t.parentNode : t
}
var x0 = null,
  as = null,
  ls = null;

function kg(t) {
  if (t = La(t)) {
    if (typeof x0 != "function") throw Error(R(280));
    var e = t.stateNode;
    e && (e = Yc(e), x0(t.stateNode, t.type, e))
  }
}

function K3(t) {
  as ? ls ? ls.push(t) : ls = [t] : as = t
}

function Q3() {
  if (as) {
    var t = as,
      e = ls;
    if (ls = as = null, kg(t), e)
      for (t = 0; t < e.length; t++) kg(e[t])
  }
}

function J3(t, e) {
  return t(e)
}

function Y3() {}
var Bf = !1;

function X3(t, e, r) {
  if (Bf) return t(e, r);
  Bf = !0;
  try {
    return J3(t, e, r)
  } finally {
    Bf = !1, (as !== null || ls !== null) && (Y3(), Q3())
  }
}

function Ho(t, e) {
  var r = t.stateNode;
  if (r === null) return null;
  var n = Yc(r);
  if (n === null) return null;
  r = n[e];
  e: switch (e) {
    case "onClick":
    case "onClickCapture":
    case "onDoubleClick":
    case "onDoubleClickCapture":
    case "onMouseDown":
    case "onMouseDownCapture":
    case "onMouseMove":
    case "onMouseMoveCapture":
    case "onMouseUp":
    case "onMouseUpCapture":
    case "onMouseEnter":
      (n = !n.disabled) || (t = t.type, n = !(t === "button" || t === "input" || t === "select" || t === "textarea")), t = !n;
      break e;
    default:
      t = !1
  }
  if (t) return null;
  if (r && typeof r != "function") throw Error(R(231, e, typeof r));
  return r
}
var E0 = !1;
if (Zr) try {
  var to = {};
  Object.defineProperty(to, "passive", {
    get: function () {
      E0 = !0
    }
  }), window.addEventListener("test", to, to), window.removeEventListener("test", to, to)
} catch {
  E0 = !1
}

function ES(t, e, r, n, i, s, o, a, l) {
  var u = Array.prototype.slice.call(arguments, 3);
  try {
    e.apply(r, u)
  } catch (c) {
    this.onError(c)
  }
}
var _o = !1,
  Hu = null,
  Gu = !1,
  S0 = null,
  SS = {
    onError: function (t) {
      _o = !0, Hu = t
    }
  };

function kS(t, e, r, n, i, s, o, a, l) {
  _o = !1, Hu = null, ES.apply(SS, arguments)
}

function jS(t, e, r, n, i, s, o, a, l) {
  if (kS.apply(this, arguments), _o) {
    if (_o) {
      var u = Hu;
      _o = !1, Hu = null
    } else throw Error(R(198));
    Gu || (Gu = !0, S0 = u)
  }
}

function Ai(t) {
  var e = t,
    r = t;
  if (t.alternate)
    for (; e.return;) e = e.return;
  else {
    t = e;
    do e = t, e.flags & 4098 && (r = e.return), t = e.return; while (t)
  }
  return e.tag === 3 ? r : null
}

function Z3(t) {
  if (t.tag === 13) {
    var e = t.memoizedState;
    if (e === null && (t = t.alternate, t !== null && (e = t.memoizedState)), e !== null) return e.dehydrated
  }
  return null
}

function jg(t) {
  if (Ai(t) !== t) throw Error(R(188))
}

function AS(t) {
  var e = t.alternate;
  if (!e) {
    if (e = Ai(t), e === null) throw Error(R(188));
    return e !== t ? null : t
  }
  for (var r = t, n = e;;) {
    var i = r.return;
    if (i === null) break;
    var s = i.alternate;
    if (s === null) {
      if (n = i.return, n !== null) {
        r = n;
        continue
      }
      break
    }
    if (i.child === s.child) {
      for (s = i.child; s;) {
        if (s === r) return jg(i), t;
        if (s === n) return jg(i), e;
        s = s.sibling
      }
      throw Error(R(188))
    }
    if (r.return !== n.return) r = i, n = s;
    else {
      for (var o = !1, a = i.child; a;) {
        if (a === r) {
          o = !0, r = i, n = s;
          break
        }
        if (a === n) {
          o = !0, n = i, r = s;
          break
        }
        a = a.sibling
      }
      if (!o) {
        for (a = s.child; a;) {
          if (a === r) {
            o = !0, r = s, n = i;
            break
          }
          if (a === n) {
            o = !0, n = s, r = i;
            break
          }
          a = a.sibling
        }
        if (!o) throw Error(R(189))
      }
    }
    if (r.alternate !== n) throw Error(R(190))
  }
  if (r.tag !== 3) throw Error(R(188));
  return r.stateNode.current === r ? t : e
}

function e6(t) {
  return t = AS(t), t !== null ? t6(t) : null
}

function t6(t) {
  if (t.tag === 5 || t.tag === 6) return t;
  for (t = t.child; t !== null;) {
    var e = t6(t);
    if (e !== null) return e;
    t = t.sibling
  }
  return null
}
var r6 = Kt.unstable_scheduleCallback,
  Ag = Kt.unstable_cancelCallback,
  PS = Kt.unstable_shouldYield,
  _S = Kt.unstable_requestPaint,
  Ge = Kt.unstable_now,
  OS = Kt.unstable_getCurrentPriorityLevel,
  $C = Kt.unstable_ImmediatePriority,
  n6 = Kt.unstable_UserBlockingPriority,
  qu = Kt.unstable_NormalPriority,
  IS = Kt.unstable_LowPriority,
  i6 = Kt.unstable_IdlePriority,
  Vc = null,
  Rr = null;

function NS(t) {
  if (Rr && typeof Rr.onCommitFiberRoot == "function") try {
    Rr.onCommitFiberRoot(Vc, t, void 0, (t.current.flags & 128) === 128)
  } catch {}
}
var br = Math.clz32 ? Math.clz32 : FS,
  TS = Math.log,
  RS = Math.LN2;

function FS(t) {
  return t >>>= 0, t === 0 ? 32 : 31 - (TS(t) / RS | 0) | 0
}
var El = 64,
  Sl = 4194304;

function bo(t) {
  switch (t & -t) {
    case 1:
      return 1;
    case 2:
      return 2;
    case 4:
      return 4;
    case 8:
      return 8;
    case 16:
      return 16;
    case 32:
      return 32;
    case 64:
    case 128:
    case 256:
    case 512:
    case 1024:
    case 2048:
    case 4096:
    case 8192:
    case 16384:
    case 32768:
    case 65536:
    case 131072:
    case 262144:
    case 524288:
    case 1048576:
    case 2097152:
      return t & 4194240;
    case 4194304:
    case 8388608:
    case 16777216:
    case 33554432:
    case 67108864:
      return t & 130023424;
    case 134217728:
      return 134217728;
    case 268435456:
      return 268435456;
    case 536870912:
      return 536870912;
    case 1073741824:
      return 1073741824;
    default:
      return t
  }
}

function Vu(t, e) {
  var r = t.pendingLanes;
  if (r === 0) return 0;
  var n = 0,
    i = t.suspendedLanes,
    s = t.pingedLanes,
    o = r & 268435455;
  if (o !== 0) {
    var a = o & ~i;
    a !== 0 ? n = bo(a) : (s &= o, s !== 0 && (n = bo(s)))
  } else o = r & ~i, o !== 0 ? n = bo(o) : s !== 0 && (n = bo(s));
  if (n === 0) return 0;
  if (e !== 0 && e !== n && !(e & i) && (i = n & -n, s = e & -e, i >= s || i === 16 && (s & 4194240) !== 0)) return e;
  if (n & 4 && (n |= r & 16), e = t.entangledLanes, e !== 0)
    for (t = t.entanglements, e &= n; 0 < e;) r = 31 - br(e), i = 1 << r, n |= t[r], e &= ~i;
  return n
}

function MS(t, e) {
  switch (t) {
    case 1:
    case 2:
    case 4:
      return e + 250;
    case 8:
    case 16:
    case 32:
    case 64:
    case 128:
    case 256:
    case 512:
    case 1024:
    case 2048:
    case 4096:
    case 8192:
    case 16384:
    case 32768:
    case 65536:
    case 131072:
    case 262144:
    case 524288:
    case 1048576:
    case 2097152:
      return e + 5e3;
    case 4194304:
    case 8388608:
    case 16777216:
    case 33554432:
    case 67108864:
      return -1;
    case 134217728:
    case 268435456:
    case 536870912:
    case 1073741824:
      return -1;
    default:
      return -1
  }
}

function LS(t, e) {
  for (var r = t.suspendedLanes, n = t.pingedLanes, i = t.expirationTimes, s = t.pendingLanes; 0 < s;) {
    var o = 31 - br(s),
      a = 1 << o,
      l = i[o];
    l === -1 ? (!(a & r) || a & n) && (i[o] = MS(a, e)) : l <= e && (t.expiredLanes |= a), s &= ~a
  }
}

function k0(t) {
  return t = t.pendingLanes & -1073741825, t !== 0 ? t : t & 1073741824 ? 1073741824 : 0
}

function s6() {
  var t = El;
  return El <<= 1, !(El & 4194240) && (El = 64), t
}

function hf(t) {
  for (var e = [], r = 0; 31 > r; r++) e.push(t);
  return e
}

function Fa(t, e, r) {
  t.pendingLanes |= e, e !== 536870912 && (t.suspendedLanes = 0, t.pingedLanes = 0), t = t.eventTimes, e = 31 - br(e), t[e] = r
}

function US(t, e) {
  var r = t.pendingLanes & ~e;
  t.pendingLanes = e, t.suspendedLanes = 0, t.pingedLanes = 0, t.expiredLanes &= e, t.mutableReadLanes &= e, t.entangledLanes &= e, e = t.entanglements;
  var n = t.eventTimes;
  for (t = t.expirationTimes; 0 < r;) {
    var i = 31 - br(r),
      s = 1 << i;
    e[i] = 0, n[i] = -1, t[i] = -1, r &= ~s
  }
}

function HC(t, e) {
  var r = t.entangledLanes |= e;
  for (t = t.entanglements; r;) {
    var n = 31 - br(r),
      i = 1 << n;
    i & e | t[n] & e && (t[n] |= e), r &= ~i
  }
}
var ye = 0;

function o6(t) {
  return t &= -t, 1 < t ? 4 < t ? t & 268435455 ? 16 : 536870912 : 4 : 1
}
var a6, GC, l6, u6, c6, j0 = !1,
  kl = [],
  An = null,
  Pn = null,
  _n = null,
  Go = new Map,
  qo = new Map,
  yn = [],
  zS = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");

function Pg(t, e) {
  switch (t) {
    case "focusin":
    case "focusout":
      An = null;
      break;
    case "dragenter":
    case "dragleave":
      Pn = null;
      break;
    case "mouseover":
    case "mouseout":
      _n = null;
      break;
    case "pointerover":
    case "pointerout":
      Go.delete(e.pointerId);
      break;
    case "gotpointercapture":
    case "lostpointercapture":
      qo.delete(e.pointerId)
  }
}

function ro(t, e, r, n, i, s) {
  return t === null || t.nativeEvent !== s ? (t = {
    blockedOn: e,
    domEventName: r,
    eventSystemFlags: n,
    nativeEvent: s,
    targetContainers: [i]
  }, e !== null && (e = La(e), e !== null && GC(e)), t) : (t.eventSystemFlags |= n, e = t.targetContainers, i !== null && e.indexOf(i) === -1 && e.push(i), t)
}

function WS(t, e, r, n, i) {
  switch (e) {
    case "focusin":
      return An = ro(An, t, e, r, n, i), !0;
    case "dragenter":
      return Pn = ro(Pn, t, e, r, n, i), !0;
    case "mouseover":
      return _n = ro(_n, t, e, r, n, i), !0;
    case "pointerover":
      var s = i.pointerId;
      return Go.set(s, ro(Go.get(s) || null, t, e, r, n, i)), !0;
    case "gotpointercapture":
      return s = i.pointerId, qo.set(s, ro(qo.get(s) || null, t, e, r, n, i)), !0
  }
  return !1
}

function d6(t) {
  var e = li(t.target);
  if (e !== null) {
    var r = Ai(e);
    if (r !== null) {
      if (e = r.tag, e === 13) {
        if (e = Z3(r), e !== null) {
          t.blockedOn = e, c6(t.priority, function () {
            l6(r)
          });
          return
        }
      } else if (e === 3 && r.stateNode.current.memoizedState.isDehydrated) {
        t.blockedOn = r.tag === 3 ? r.stateNode.containerInfo : null;
        return
      }
    }
  }
  t.blockedOn = null
}

function vu(t) {
  if (t.blockedOn !== null) return !1;
  for (var e = t.targetContainers; 0 < e.length;) {
    var r = A0(t.domEventName, t.eventSystemFlags, e[0], t.nativeEvent);
    if (r === null) {
      r = t.nativeEvent;
      var n = new r.constructor(r.type, r);
      D0 = n, r.target.dispatchEvent(n), D0 = null
    } else return e = La(r), e !== null && GC(e), t.blockedOn = r, !1;
    e.shift()
  }
  return !0
}

function _g(t, e, r) {
  vu(t) && r.delete(e)
}

function $S() {
  j0 = !1, An !== null && vu(An) && (An = null), Pn !== null && vu(Pn) && (Pn = null), _n !== null && vu(_n) && (_n = null), Go.forEach(_g), qo.forEach(_g)
}

function no(t, e) {
  t.blockedOn === e && (t.blockedOn = null, j0 || (j0 = !0, Kt.unstable_scheduleCallback(Kt.unstable_NormalPriority, $S)))
}

function Vo(t) {
  function e(i) {
    return no(i, t)
  }
  if (0 < kl.length) {
    no(kl[0], t);
    for (var r = 1; r < kl.length; r++) {
      var n = kl[r];
      n.blockedOn === t && (n.blockedOn = null)
    }
  }
  for (An !== null && no(An, t), Pn !== null && no(Pn, t), _n !== null && no(_n, t), Go.forEach(e), qo.forEach(e), r = 0; r < yn.length; r++) n = yn[r], n.blockedOn === t && (n.blockedOn = null);
  for (; 0 < yn.length && (r = yn[0], r.blockedOn === null);) d6(r), r.blockedOn === null && yn.shift()
}
var us = ln.ReactCurrentBatchConfig,
  Ku = !0;

function HS(t, e, r, n) {
  var i = ye,
    s = us.transition;
  us.transition = null;
  try {
    ye = 1, qC(t, e, r, n)
  } finally {
    ye = i, us.transition = s
  }
}

function GS(t, e, r, n) {
  var i = ye,
    s = us.transition;
  us.transition = null;
  try {
    ye = 4, qC(t, e, r, n)
  } finally {
    ye = i, us.transition = s
  }
}

function qC(t, e, r, n) {
  if (Ku) {
    var i = A0(t, e, r, n);
    if (i === null) xf(t, e, n, Qu, r), Pg(t, n);
    else if (WS(i, t, e, r, n)) n.stopPropagation();
    else if (Pg(t, n), e & 4 && -1 < zS.indexOf(t)) {
      for (; i !== null;) {
        var s = La(i);
        if (s !== null && a6(s), s = A0(t, e, r, n), s === null && xf(t, e, n, Qu, r), s === i) break;
        i = s
      }
      i !== null && n.stopPropagation()
    } else xf(t, e, n, null, r)
  }
}
var Qu = null;

function A0(t, e, r, n) {
  if (Qu = null, t = WC(n), t = li(t), t !== null)
    if (e = Ai(t), e === null) t = null;
    else if (r = e.tag, r === 13) {
    if (t = Z3(e), t !== null) return t;
    t = null
  } else if (r === 3) {
    if (e.stateNode.current.memoizedState.isDehydrated) return e.tag === 3 ? e.stateNode.containerInfo : null;
    t = null
  } else e !== t && (t = null);
  return Qu = t, null
}

function f6(t) {
  switch (t) {
    case "cancel":
    case "click":
    case "close":
    case "contextmenu":
    case "copy":
    case "cut":
    case "auxclick":
    case "dblclick":
    case "dragend":
    case "dragstart":
    case "drop":
    case "focusin":
    case "focusout":
    case "input":
    case "invalid":
    case "keydown":
    case "keypress":
    case "keyup":
    case "mousedown":
    case "mouseup":
    case "paste":
    case "pause":
    case "play":
    case "pointercancel":
    case "pointerdown":
    case "pointerup":
    case "ratechange":
    case "reset":
    case "resize":
    case "seeked":
    case "submit":
    case "touchcancel":
    case "touchend":
    case "touchstart":
    case "volumechange":
    case "change":
    case "selectionchange":
    case "textInput":
    case "compositionstart":
    case "compositionend":
    case "compositionupdate":
    case "beforeblur":
    case "afterblur":
    case "beforeinput":
    case "blur":
    case "fullscreenchange":
    case "focus":
    case "hashchange":
    case "popstate":
    case "select":
    case "selectstart":
      return 1;
    case "drag":
    case "dragenter":
    case "dragexit":
    case "dragleave":
    case "dragover":
    case "mousemove":
    case "mouseout":
    case "mouseover":
    case "pointermove":
    case "pointerout":
    case "pointerover":
    case "scroll":
    case "toggle":
    case "touchmove":
    case "wheel":
    case "mouseenter":
    case "mouseleave":
    case "pointerenter":
    case "pointerleave":
      return 4;
    case "message":
      switch (OS()) {
        case $C:
          return 1;
        case n6:
          return 4;
        case qu:
        case IS:
          return 16;
        case i6:
          return 536870912;
        default:
          return 16
      }
    default:
      return 16
  }
}
var En = null,
  VC = null,
  yu = null;

function B6() {
  if (yu) return yu;
  var t, e = VC,
    r = e.length,
    n, i = "value" in En ? En.value : En.textContent,
    s = i.length;
  for (t = 0; t < r && e[t] === i[t]; t++);
  var o = r - t;
  for (n = 1; n <= o && e[r - n] === i[s - n]; n++);
  return yu = i.slice(t, 1 < n ? 1 - n : void 0)
}

function wu(t) {
  var e = t.keyCode;
  return "charCode" in t ? (t = t.charCode, t === 0 && e === 13 && (t = 13)) : t = e, t === 10 && (t = 13), 32 <= t || t === 13 ? t : 0
}

function jl() {
  return !0
}

function Og() {
  return !1
}

function Jt(t) {
  function e(r, n, i, s, o) {
    this._reactName = r, this._targetInst = i, this.type = n, this.nativeEvent = s, this.target = o, this.currentTarget = null;
    for (var a in t) t.hasOwnProperty(a) && (r = t[a], this[a] = r ? r(s) : s[a]);
    return this.isDefaultPrevented = (s.defaultPrevented != null ? s.defaultPrevented : s.returnValue === !1) ? jl : Og, this.isPropagationStopped = Og, this
  }
  return Ue(e.prototype, {
    preventDefault: function () {
      this.defaultPrevented = !0;
      var r = this.nativeEvent;
      r && (r.preventDefault ? r.preventDefault() : typeof r.returnValue != "unknown" && (r.returnValue = !1), this.isDefaultPrevented = jl)
    },
    stopPropagation: function () {
      var r = this.nativeEvent;
      r && (r.stopPropagation ? r.stopPropagation() : typeof r.cancelBubble != "unknown" && (r.cancelBubble = !0), this.isPropagationStopped = jl)
    },
    persist: function () {},
    isPersistent: jl
  }), e
}
var Ms = {
    eventPhase: 0,
    bubbles: 0,
    cancelable: 0,
    timeStamp: function (t) {
      return t.timeStamp || Date.now()
    },
    defaultPrevented: 0,
    isTrusted: 0
  },
  KC = Jt(Ms),
  Ma = Ue({}, Ms, {
    view: 0,
    detail: 0
  }),
  qS = Jt(Ma),
  pf, Cf, io, Kc = Ue({}, Ma, {
    screenX: 0,
    screenY: 0,
    clientX: 0,
    clientY: 0,
    pageX: 0,
    pageY: 0,
    ctrlKey: 0,
    shiftKey: 0,
    altKey: 0,
    metaKey: 0,
    getModifierState: QC,
    button: 0,
    buttons: 0,
    relatedTarget: function (t) {
      return t.relatedTarget === void 0 ? t.fromElement === t.srcElement ? t.toElement : t.fromElement : t.relatedTarget
    },
    movementX: function (t) {
      return "movementX" in t ? t.movementX : (t !== io && (io && t.type === "mousemove" ? (pf = t.screenX - io.screenX, Cf = t.screenY - io.screenY) : Cf = pf = 0, io = t), pf)
    },
    movementY: function (t) {
      return "movementY" in t ? t.movementY : Cf
    }
  }),
  Ig = Jt(Kc),
  VS = Ue({}, Kc, {
    dataTransfer: 0
  }),
  KS = Jt(VS),
  QS = Ue({}, Ma, {
    relatedTarget: 0
  }),
  mf = Jt(QS),
  JS = Ue({}, Ms, {
    animationName: 0,
    elapsedTime: 0,
    pseudoElement: 0
  }),
  YS = Jt(JS),
  XS = Ue({}, Ms, {
    clipboardData: function (t) {
      return "clipboardData" in t ? t.clipboardData : window.clipboardData
    }
  }),
  ZS = Jt(XS),
  ek = Ue({}, Ms, {
    data: 0
  }),
  Ng = Jt(ek),
  tk = {
    Esc: "Escape",
    Spacebar: " ",
    Left: "ArrowLeft",
    Up: "ArrowUp",
    Right: "ArrowRight",
    Down: "ArrowDown",
    Del: "Delete",
    Win: "OS",
    Menu: "ContextMenu",
    Apps: "ContextMenu",
    Scroll: "ScrollLock",
    MozPrintableKey: "Unidentified"
  },
  rk = {
    8: "Backspace",
    9: "Tab",
    12: "Clear",
    13: "Enter",
    16: "Shift",
    17: "Control",
    18: "Alt",
    19: "Pause",
    20: "CapsLock",
    27: "Escape",
    32: " ",
    33: "PageUp",
    34: "PageDown",
    35: "End",
    36: "Home",
    37: "ArrowLeft",
    38: "ArrowUp",
    39: "ArrowRight",
    40: "ArrowDown",
    45: "Insert",
    46: "Delete",
    112: "F1",
    113: "F2",
    114: "F3",
    115: "F4",
    116: "F5",
    117: "F6",
    118: "F7",
    119: "F8",
    120: "F9",
    121: "F10",
    122: "F11",
    123: "F12",
    144: "NumLock",
    145: "ScrollLock",
    224: "Meta"
  },
  nk = {
    Alt: "altKey",
    Control: "ctrlKey",
    Meta: "metaKey",
    Shift: "shiftKey"
  };

function ik(t) {
  var e = this.nativeEvent;
  return e.getModifierState ? e.getModifierState(t) : (t = nk[t]) ? !!e[t] : !1
}

function QC() {
  return ik
}
var sk = Ue({}, Ma, {
    key: function (t) {
      if (t.key) {
        var e = tk[t.key] || t.key;
        if (e !== "Unidentified") return e
      }
      return t.type === "keypress" ? (t = wu(t), t === 13 ? "Enter" : String.fromCharCode(t)) : t.type === "keydown" || t.type === "keyup" ? rk[t.keyCode] || "Unidentified" : ""
    },
    code: 0,
    location: 0,
    ctrlKey: 0,
    shiftKey: 0,
    altKey: 0,
    metaKey: 0,
    repeat: 0,
    locale: 0,
    getModifierState: QC,
    charCode: function (t) {
      return t.type === "keypress" ? wu(t) : 0
    },
    keyCode: function (t) {
      return t.type === "keydown" || t.type === "keyup" ? t.keyCode : 0
    },
    which: function (t) {
      return t.type === "keypress" ? wu(t) : t.type === "keydown" || t.type === "keyup" ? t.keyCode : 0
    }
  }),
  ok = Jt(sk),
  ak = Ue({}, Kc, {
    pointerId: 0,
    width: 0,
    height: 0,
    pressure: 0,
    tangentialPressure: 0,
    tiltX: 0,
    tiltY: 0,
    twist: 0,
    pointerType: 0,
    isPrimary: 0
  }),
  Tg = Jt(ak),
  lk = Ue({}, Ma, {
    touches: 0,
    targetTouches: 0,
    changedTouches: 0,
    altKey: 0,
    metaKey: 0,
    ctrlKey: 0,
    shiftKey: 0,
    getModifierState: QC
  }),
  uk = Jt(lk),
  ck = Ue({}, Ms, {
    propertyName: 0,
    elapsedTime: 0,
    pseudoElement: 0
  }),
  dk = Jt(ck),
  fk = Ue({}, Kc, {
    deltaX: function (t) {
      return "deltaX" in t ? t.deltaX : "wheelDeltaX" in t ? -t.wheelDeltaX : 0
    },
    deltaY: function (t) {
      return "deltaY" in t ? t.deltaY : "wheelDeltaY" in t ? -t.wheelDeltaY : "wheelDelta" in t ? -t.wheelDelta : 0
    },
    deltaZ: 0,
    deltaMode: 0
  }),
  Bk = Jt(fk),
  hk = [9, 13, 27, 32],
  JC = Zr && "CompositionEvent" in window,
  Oo = null;
Zr && "documentMode" in document && (Oo = document.documentMode);
var pk = Zr && "TextEvent" in window && !Oo,
  h6 = Zr && (!JC || Oo && 8 < Oo && 11 >= Oo),
  Rg = " ",
  Fg = !1;

function p6(t, e) {
  switch (t) {
    case "keyup":
      return hk.indexOf(e.keyCode) !== -1;
    case "keydown":
      return e.keyCode !== 229;
    case "keypress":
    case "mousedown":
    case "focusout":
      return !0;
    default:
      return !1
  }
}

function C6(t) {
  return t = t.detail, typeof t == "object" && "data" in t ? t.data : null
}
var Qi = !1;

function Ck(t, e) {
  switch (t) {
    case "compositionend":
      return C6(e);
    case "keypress":
      return e.which !== 32 ? null : (Fg = !0, Rg);
    case "textInput":
      return t = e.data, t === Rg && Fg ? null : t;
    default:
      return null
  }
}

function mk(t, e) {
  if (Qi) return t === "compositionend" || !JC && p6(t, e) ? (t = B6(), yu = VC = En = null, Qi = !1, t) : null;
  switch (t) {
    case "paste":
      return null;
    case "keypress":
      if (!(e.ctrlKey || e.altKey || e.metaKey) || e.ctrlKey && e.altKey) {
        if (e.char && 1 < e.char.length) return e.char;
        if (e.which) return String.fromCharCode(e.which)
      }
      return null;
    case "compositionend":
      return h6 && e.locale !== "ko" ? null : e.data;
    default:
      return null
  }
}
var gk = {
  color: !0,
  date: !0,
  datetime: !0,
  "datetime-local": !0,
  email: !0,
  month: !0,
  number: !0,
  password: !0,
  range: !0,
  search: !0,
  tel: !0,
  text: !0,
  time: !0,
  url: !0,
  week: !0
};

function Mg(t) {
  var e = t && t.nodeName && t.nodeName.toLowerCase();
  return e === "input" ? !!gk[t.type] : e === "textarea"
}

function m6(t, e, r, n) {
  K3(n), e = Ju(e, "onChange"), 0 < e.length && (r = new KC("onChange", "change", null, r, n), t.push({
    event: r,
    listeners: e
  }))
}
var Io = null,
  Ko = null;

function vk(t) {
  j6(t, 0)
}

function Qc(t) {
  var e = Xi(t);
  if (z3(e)) return t
}

function yk(t, e) {
  if (t === "change") return e
}
var g6 = !1;
if (Zr) {
  var gf;
  if (Zr) {
    var vf = "oninput" in document;
    if (!vf) {
      var Lg = document.createElement("div");
      Lg.setAttribute("oninput", "return;"), vf = typeof Lg.oninput == "function"
    }
    gf = vf
  } else gf = !1;
  g6 = gf && (!document.documentMode || 9 < document.documentMode)
}

function Ug() {
  Io && (Io.detachEvent("onpropertychange", v6), Ko = Io = null)
}

function v6(t) {
  if (t.propertyName === "value" && Qc(Ko)) {
    var e = [];
    m6(e, Ko, t, WC(t)), X3(vk, e)
  }
}

function wk(t, e, r) {
  t === "focusin" ? (Ug(), Io = e, Ko = r, Io.attachEvent("onpropertychange", v6)) : t === "focusout" && Ug()
}

function bk(t) {
  if (t === "selectionchange" || t === "keyup" || t === "keydown") return Qc(Ko)
}

function Dk(t, e) {
  if (t === "click") return Qc(e)
}

function xk(t, e) {
  if (t === "input" || t === "change") return Qc(e)
}

function Ek(t, e) {
  return t === e && (t !== 0 || 1 / t === 1 / e) || t !== t && e !== e
}
var xr = typeof Object.is == "function" ? Object.is : Ek;

function Qo(t, e) {
  if (xr(t, e)) return !0;
  if (typeof t != "object" || t === null || typeof e != "object" || e === null) return !1;
  var r = Object.keys(t),
    n = Object.keys(e);
  if (r.length !== n.length) return !1;
  for (n = 0; n < r.length; n++) {
    var i = r[n];
    if (!d0.call(e, i) || !xr(t[i], e[i])) return !1
  }
  return !0
}

function zg(t) {
  for (; t && t.firstChild;) t = t.firstChild;
  return t
}

function Wg(t, e) {
  var r = zg(t);
  t = 0;
  for (var n; r;) {
    if (r.nodeType === 3) {
      if (n = t + r.textContent.length, t <= e && n >= e) return {
        node: r,
        offset: e - t
      };
      t = n
    }
    e: {
      for (; r;) {
        if (r.nextSibling) {
          r = r.nextSibling;
          break e
        }
        r = r.parentNode
      }
      r = void 0
    }
    r = zg(r)
  }
}

function y6(t, e) {
  return t && e ? t === e ? !0 : t && t.nodeType === 3 ? !1 : e && e.nodeType === 3 ? y6(t, e.parentNode) : "contains" in t ? t.contains(e) : t.compareDocumentPosition ? !!(t.compareDocumentPosition(e) & 16) : !1 : !1
}

function w6() {
  for (var t = window, e = $u(); e instanceof t.HTMLIFrameElement;) {
    try {
      var r = typeof e.contentWindow.location.href == "string"
    } catch {
      r = !1
    }
    if (r) t = e.contentWindow;
    else break;
    e = $u(t.document)
  }
  return e
}

function YC(t) {
  var e = t && t.nodeName && t.nodeName.toLowerCase();
  return e && (e === "input" && (t.type === "text" || t.type === "search" || t.type === "tel" || t.type === "url" || t.type === "password") || e === "textarea" || t.contentEditable === "true")
}

function Sk(t) {
  var e = w6(),
    r = t.focusedElem,
    n = t.selectionRange;
  if (e !== r && r && r.ownerDocument && y6(r.ownerDocument.documentElement, r)) {
    if (n !== null && YC(r)) {
      if (e = n.start, t = n.end, t === void 0 && (t = e), "selectionStart" in r) r.selectionStart = e, r.selectionEnd = Math.min(t, r.value.length);
      else if (t = (e = r.ownerDocument || document) && e.defaultView || window, t.getSelection) {
        t = t.getSelection();
        var i = r.textContent.length,
          s = Math.min(n.start, i);
        n = n.end === void 0 ? s : Math.min(n.end, i), !t.extend && s > n && (i = n, n = s, s = i), i = Wg(r, s);
        var o = Wg(r, n);
        i && o && (t.rangeCount !== 1 || t.anchorNode !== i.node || t.anchorOffset !== i.offset || t.focusNode !== o.node || t.focusOffset !== o.offset) && (e = e.createRange(), e.setStart(i.node, i.offset), t.removeAllRanges(), s > n ? (t.addRange(e), t.extend(o.node, o.offset)) : (e.setEnd(o.node, o.offset), t.addRange(e)))
      }
    }
    for (e = [], t = r; t = t.parentNode;) t.nodeType === 1 && e.push({
      element: t,
      left: t.scrollLeft,
      top: t.scrollTop
    });
    for (typeof r.focus == "function" && r.focus(), r = 0; r < e.length; r++) t = e[r], t.element.scrollLeft = t.left, t.element.scrollTop = t.top
  }
}
var kk = Zr && "documentMode" in document && 11 >= document.documentMode,
  Ji = null,
  P0 = null,
  No = null,
  _0 = !1;

function $g(t, e, r) {
  var n = r.window === r ? r.document : r.nodeType === 9 ? r : r.ownerDocument;
  _0 || Ji == null || Ji !== $u(n) || (n = Ji, "selectionStart" in n && YC(n) ? n = {
    start: n.selectionStart,
    end: n.selectionEnd
  } : (n = (n.ownerDocument && n.ownerDocument.defaultView || window).getSelection(), n = {
    anchorNode: n.anchorNode,
    anchorOffset: n.anchorOffset,
    focusNode: n.focusNode,
    focusOffset: n.focusOffset
  }), No && Qo(No, n) || (No = n, n = Ju(P0, "onSelect"), 0 < n.length && (e = new KC("onSelect", "select", null, e, r), t.push({
    event: e,
    listeners: n
  }), e.target = Ji)))
}

function Al(t, e) {
  var r = {};
  return r[t.toLowerCase()] = e.toLowerCase(), r["Webkit" + t] = "webkit" + e, r["Moz" + t] = "moz" + e, r
}
var Yi = {
    animationend: Al("Animation", "AnimationEnd"),
    animationiteration: Al("Animation", "AnimationIteration"),
    animationstart: Al("Animation", "AnimationStart"),
    transitionend: Al("Transition", "TransitionEnd")
  },
  yf = {},
  b6 = {};
Zr && (b6 = document.createElement("div").style, "AnimationEvent" in window || (delete Yi.animationend.animation, delete Yi.animationiteration.animation, delete Yi.animationstart.animation), "TransitionEvent" in window || delete Yi.transitionend.transition);

function Jc(t) {
  if (yf[t]) return yf[t];
  if (!Yi[t]) return t;
  var e = Yi[t],
    r;
  for (r in e)
    if (e.hasOwnProperty(r) && r in b6) return yf[t] = e[r];
  return t
}
var D6 = Jc("animationend"),
  x6 = Jc("animationiteration"),
  E6 = Jc("animationstart"),
  S6 = Jc("transitionend"),
  k6 = new Map,
  Hg = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");

function Vn(t, e) {
  k6.set(t, e), ji(e, [t])
}
for (var wf = 0; wf < Hg.length; wf++) {
  var bf = Hg[wf],
    jk = bf.toLowerCase(),
    Ak = bf[0].toUpperCase() + bf.slice(1);
  Vn(jk, "on" + Ak)
}
Vn(D6, "onAnimationEnd");
Vn(x6, "onAnimationIteration");
Vn(E6, "onAnimationStart");
Vn("dblclick", "onDoubleClick");
Vn("focusin", "onFocus");
Vn("focusout", "onBlur");
Vn(S6, "onTransitionEnd");
ms("onMouseEnter", ["mouseout", "mouseover"]);
ms("onMouseLeave", ["mouseout", "mouseover"]);
ms("onPointerEnter", ["pointerout", "pointerover"]);
ms("onPointerLeave", ["pointerout", "pointerover"]);
ji("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" "));
ji("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));
ji("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]);
ji("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" "));
ji("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" "));
ji("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
var Do = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),
  Pk = new Set("cancel close invalid load scroll toggle".split(" ").concat(Do));

function Gg(t, e, r) {
  var n = t.type || "unknown-event";
  t.currentTarget = r, jS(n, e, void 0, t), t.currentTarget = null
}

function j6(t, e) {
  e = (e & 4) !== 0;
  for (var r = 0; r < t.length; r++) {
    var n = t[r],
      i = n.event;
    n = n.listeners;
    e: {
      var s = void 0;
      if (e)
        for (var o = n.length - 1; 0 <= o; o--) {
          var a = n[o],
            l = a.instance,
            u = a.currentTarget;
          if (a = a.listener, l !== s && i.isPropagationStopped()) break e;
          Gg(i, a, u), s = l
        } else
          for (o = 0; o < n.length; o++) {
            if (a = n[o], l = a.instance, u = a.currentTarget, a = a.listener, l !== s && i.isPropagationStopped()) break e;
            Gg(i, a, u), s = l
          }
    }
  }
  if (Gu) throw t = S0, Gu = !1, S0 = null, t
}

function Ie(t, e) {
  var r = e[R0];
  r === void 0 && (r = e[R0] = new Set);
  var n = t + "__bubble";
  r.has(n) || (A6(e, t, 2, !1), r.add(n))
}

function Df(t, e, r) {
  var n = 0;
  e && (n |= 4), A6(r, t, n, e)
}
var Pl = "_reactListening" + Math.random().toString(36).slice(2);

function Jo(t) {
  if (!t[Pl]) {
    t[Pl] = !0, R3.forEach(function (r) {
      r !== "selectionchange" && (Pk.has(r) || Df(r, !1, t), Df(r, !0, t))
    });
    var e = t.nodeType === 9 ? t : t.ownerDocument;
    e === null || e[Pl] || (e[Pl] = !0, Df("selectionchange", !1, e))
  }
}

function A6(t, e, r, n) {
  switch (f6(e)) {
    case 1:
      var i = HS;
      break;
    case 4:
      i = GS;
      break;
    default:
      i = qC
  }
  r = i.bind(null, e, r, t), i = void 0, !E0 || e !== "touchstart" && e !== "touchmove" && e !== "wheel" || (i = !0), n ? i !== void 0 ? t.addEventListener(e, r, {
    capture: !0,
    passive: i
  }) : t.addEventListener(e, r, !0) : i !== void 0 ? t.addEventListener(e, r, {
    passive: i
  }) : t.addEventListener(e, r, !1)
}

function xf(t, e, r, n, i) {
  var s = n;
  if (!(e & 1) && !(e & 2) && n !== null) e: for (;;) {
    if (n === null) return;
    var o = n.tag;
    if (o === 3 || o === 4) {
      var a = n.stateNode.containerInfo;
      if (a === i || a.nodeType === 8 && a.parentNode === i) break;
      if (o === 4)
        for (o = n.return; o !== null;) {
          var l = o.tag;
          if ((l === 3 || l === 4) && (l = o.stateNode.containerInfo, l === i || l.nodeType === 8 && l.parentNode === i)) return;
          o = o.return
        }
      for (; a !== null;) {
        if (o = li(a), o === null) return;
        if (l = o.tag, l === 5 || l === 6) {
          n = s = o;
          continue e
        }
        a = a.parentNode
      }
    }
    n = n.return
  }
  X3(function () {
    var u = s,
      c = WC(r),
      d = [];
    e: {
      var f = k6.get(t);
      if (f !== void 0) {
        var B = KC,
          h = t;
        switch (t) {
          case "keypress":
            if (wu(r) === 0) break e;
          case "keydown":
          case "keyup":
            B = ok;
            break;
          case "focusin":
            h = "focus", B = mf;
            break;
          case "focusout":
            h = "blur", B = mf;
            break;
          case "beforeblur":
          case "afterblur":
            B = mf;
            break;
          case "click":
            if (r.button === 2) break e;
          case "auxclick":
          case "dblclick":
          case "mousedown":
          case "mousemove":
          case "mouseup":
          case "mouseout":
          case "mouseover":
          case "contextmenu":
            B = Ig;
            break;
          case "drag":
          case "dragend":
          case "dragenter":
          case "dragexit":
          case "dragleave":
          case "dragover":
          case "dragstart":
          case "drop":
            B = KS;
            break;
          case "touchcancel":
          case "touchend":
          case "touchmove":
          case "touchstart":
            B = uk;
            break;
          case D6:
          case x6:
          case E6:
            B = YS;
            break;
          case S6:
            B = dk;
            break;
          case "scroll":
            B = qS;
            break;
          case "wheel":
            B = Bk;
            break;
          case "copy":
          case "cut":
          case "paste":
            B = ZS;
            break;
          case "gotpointercapture":
          case "lostpointercapture":
          case "pointercancel":
          case "pointerdown":
          case "pointermove":
          case "pointerout":
          case "pointerover":
          case "pointerup":
            B = Tg
        }
        var g = (e & 4) !== 0,
          y = !g && t === "scroll",
          m = g ? f !== null ? f + "Capture" : null : f;
        g = [];
        for (var p = u, v; p !== null;) {
          v = p;
          var w = v.stateNode;
          if (v.tag === 5 && w !== null && (v = w, m !== null && (w = Ho(p, m), w != null && g.push(Yo(p, w, v)))), y) break;
          p = p.return
        }
        0 < g.length && (f = new B(f, h, null, r, c), d.push({
          event: f,
          listeners: g
        }))
      }
    }
    if (!(e & 7)) {
      e: {
        if (f = t === "mouseover" || t === "pointerover", B = t === "mouseout" || t === "pointerout", f && r !== D0 && (h = r.relatedTarget || r.fromElement) && (li(h) || h[en])) break e;
        if ((B || f) && (f = c.window === c ? c : (f = c.ownerDocument) ? f.defaultView || f.parentWindow : window, B ? (h = r.relatedTarget || r.toElement, B = u, h = h ? li(h) : null, h !== null && (y = Ai(h), h !== y || h.tag !== 5 && h.tag !== 6) && (h = null)) : (B = null, h = u), B !== h)) {
          if (g = Ig, w = "onMouseLeave", m = "onMouseEnter", p = "mouse", (t === "pointerout" || t === "pointerover") && (g = Tg, w = "onPointerLeave", m = "onPointerEnter", p = "pointer"), y = B == null ? f : Xi(B), v = h == null ? f : Xi(h), f = new g(w, p + "leave", B, r, c), f.target = y, f.relatedTarget = v, w = null, li(c) === u && (g = new g(m, p + "enter", h, r, c), g.target = v, g.relatedTarget = y, w = g), y = w, B && h) t: {
            for (g = B, m = h, p = 0, v = g; v; v = Ti(v)) p++;
            for (v = 0, w = m; w; w = Ti(w)) v++;
            for (; 0 < p - v;) g = Ti(g),
            p--;
            for (; 0 < v - p;) m = Ti(m),
            v--;
            for (; p--;) {
              if (g === m || m !== null && g === m.alternate) break t;
              g = Ti(g), m = Ti(m)
            }
            g = null
          }
          else g = null;
          B !== null && qg(d, f, B, g, !1), h !== null && y !== null && qg(d, y, h, g, !0)
        }
      }
      e: {
        if (f = u ? Xi(u) : window, B = f.nodeName && f.nodeName.toLowerCase(), B === "select" || B === "input" && f.type === "file") var D = yk;
        else if (Mg(f))
          if (g6) D = xk;
          else {
            D = bk;
            var x = wk
          }
        else(B = f.nodeName) && B.toLowerCase() === "input" && (f.type === "checkbox" || f.type === "radio") && (D = Dk);
        if (D && (D = D(t, u))) {
          m6(d, D, r, c);
          break e
        }
        x && x(t, f, u),
        t === "focusout" && (x = f._wrapperState) && x.controlled && f.type === "number" && g0(f, "number", f.value)
      }
      switch (x = u ? Xi(u) : window, t) {
        case "focusin":
          (Mg(x) || x.contentEditable === "true") && (Ji = x, P0 = u, No = null);
          break;
        case "focusout":
          No = P0 = Ji = null;
          break;
        case "mousedown":
          _0 = !0;
          break;
        case "contextmenu":
        case "mouseup":
        case "dragend":
          _0 = !1, $g(d, r, c);
          break;
        case "selectionchange":
          if (kk) break;
        case "keydown":
        case "keyup":
          $g(d, r, c)
      }
      var C;
      if (JC) e: {
        switch (t) {
          case "compositionstart":
            var S = "onCompositionStart";
            break e;
          case "compositionend":
            S = "onCompositionEnd";
            break e;
          case "compositionupdate":
            S = "onCompositionUpdate";
            break e
        }
        S = void 0
      }
      else Qi ? p6(t, r) && (S = "onCompositionEnd") : t === "keydown" && r.keyCode === 229 && (S = "onCompositionStart");S && (h6 && r.locale !== "ko" && (Qi || S !== "onCompositionStart" ? S === "onCompositionEnd" && Qi && (C = B6()) : (En = c, VC = "value" in En ? En.value : En.textContent, Qi = !0)), x = Ju(u, S), 0 < x.length && (S = new Ng(S, t, null, r, c), d.push({
        event: S,
        listeners: x
      }), C ? S.data = C : (C = C6(r), C !== null && (S.data = C)))),
      (C = pk ? Ck(t, r) : mk(t, r)) && (u = Ju(u, "onBeforeInput"), 0 < u.length && (c = new Ng("onBeforeInput", "beforeinput", null, r, c), d.push({
        event: c,
        listeners: u
      }), c.data = C))
    }
    j6(d, e)
  })
}

function Yo(t, e, r) {
  return {
    instance: t,
    listener: e,
    currentTarget: r
  }
}

function Ju(t, e) {
  for (var r = e + "Capture", n = []; t !== null;) {
    var i = t,
      s = i.stateNode;
    i.tag === 5 && s !== null && (i = s, s = Ho(t, r), s != null && n.unshift(Yo(t, s, i)), s = Ho(t, e), s != null && n.push(Yo(t, s, i))), t = t.return
  }
  return n
}

function Ti(t) {
  if (t === null) return null;
  do t = t.return; while (t && t.tag !== 5);
  return t || null
}

function qg(t, e, r, n, i) {
  for (var s = e._reactName, o = []; r !== null && r !== n;) {
    var a = r,
      l = a.alternate,
      u = a.stateNode;
    if (l !== null && l === n) break;
    a.tag === 5 && u !== null && (a = u, i ? (l = Ho(r, s), l != null && o.unshift(Yo(r, l, a))) : i || (l = Ho(r, s), l != null && o.push(Yo(r, l, a)))), r = r.return
  }
  o.length !== 0 && t.push({
    event: e,
    listeners: o
  })
}
var _k = /\r\n?/g,
  Ok = /\u0000|\uFFFD/g;

function Vg(t) {
  return (typeof t == "string" ? t : "" + t).replace(_k, `
`).replace(Ok, "")
}

function _l(t, e, r) {
  if (e = Vg(e), Vg(t) !== e && r) throw Error(R(425))
}

function Yu() {}
var O0 = null,
  I0 = null;

function N0(t, e) {
  return t === "textarea" || t === "noscript" || typeof e.children == "string" || typeof e.children == "number" || typeof e.dangerouslySetInnerHTML == "object" && e.dangerouslySetInnerHTML !== null && e.dangerouslySetInnerHTML.__html != null
}
var T0 = typeof setTimeout == "function" ? setTimeout : void 0,
  Ik = typeof clearTimeout == "function" ? clearTimeout : void 0,
  Kg = typeof Promise == "function" ? Promise : void 0,
  Nk = typeof queueMicrotask == "function" ? queueMicrotask : typeof Kg < "u" ? function (t) {
    return Kg.resolve(null).then(t).catch(Tk)
  } : T0;

function Tk(t) {
  setTimeout(function () {
    throw t
  })
}

function Ef(t, e) {
  var r = e,
    n = 0;
  do {
    var i = r.nextSibling;
    if (t.removeChild(r), i && i.nodeType === 8)
      if (r = i.data, r === "/$") {
        if (n === 0) {
          t.removeChild(i), Vo(e);
          return
        }
        n--
      } else r !== "$" && r !== "$?" && r !== "$!" || n++;
    r = i
  } while (r);
  Vo(e)
}

function On(t) {
  for (; t != null; t = t.nextSibling) {
    var e = t.nodeType;
    if (e === 1 || e === 3) break;
    if (e === 8) {
      if (e = t.data, e === "$" || e === "$!" || e === "$?") break;
      if (e === "/$") return null
    }
  }
  return t
}

function Qg(t) {
  t = t.previousSibling;
  for (var e = 0; t;) {
    if (t.nodeType === 8) {
      var r = t.data;
      if (r === "$" || r === "$!" || r === "$?") {
        if (e === 0) return t;
        e--
      } else r === "/$" && e++
    }
    t = t.previousSibling
  }
  return null
}
var Ls = Math.random().toString(36).slice(2),
  Nr = "__reactFiber$" + Ls,
  Xo = "__reactProps$" + Ls,
  en = "__reactContainer$" + Ls,
  R0 = "__reactEvents$" + Ls,
  Rk = "__reactListeners$" + Ls,
  Fk = "__reactHandles$" + Ls;

function li(t) {
  var e = t[Nr];
  if (e) return e;
  for (var r = t.parentNode; r;) {
    if (e = r[en] || r[Nr]) {
      if (r = e.alternate, e.child !== null || r !== null && r.child !== null)
        for (t = Qg(t); t !== null;) {
          if (r = t[Nr]) return r;
          t = Qg(t)
        }
      return e
    }
    t = r, r = t.parentNode
  }
  return null
}

function La(t) {
  return t = t[Nr] || t[en], !t || t.tag !== 5 && t.tag !== 6 && t.tag !== 13 && t.tag !== 3 ? null : t
}

function Xi(t) {
  if (t.tag === 5 || t.tag === 6) return t.stateNode;
  throw Error(R(33))
}

function Yc(t) {
  return t[Xo] || null
}
var F0 = [],
  Zi = -1;

function Kn(t) {
  return {
    current: t
  }
}

function Ne(t) {
  0 > Zi || (t.current = F0[Zi], F0[Zi] = null, Zi--)
}

function _e(t, e) {
  Zi++, F0[Zi] = t.current, t.current = e
}
var Un = {},
  wt = Kn(Un),
  Tt = Kn(!1),
  vi = Un;

function gs(t, e) {
  var r = t.type.contextTypes;
  if (!r) return Un;
  var n = t.stateNode;
  if (n && n.__reactInternalMemoizedUnmaskedChildContext === e) return n.__reactInternalMemoizedMaskedChildContext;
  var i = {},
    s;
  for (s in r) i[s] = e[s];
  return n && (t = t.stateNode, t.__reactInternalMemoizedUnmaskedChildContext = e, t.__reactInternalMemoizedMaskedChildContext = i), i
}

function Rt(t) {
  return t = t.childContextTypes, t != null
}

function Xu() {
  Ne(Tt), Ne(wt)
}

function Jg(t, e, r) {
  if (wt.current !== Un) throw Error(R(168));
  _e(wt, e), _e(Tt, r)
}

function P6(t, e, r) {
  var n = t.stateNode;
  if (e = e.childContextTypes, typeof n.getChildContext != "function") return r;
  n = n.getChildContext();
  for (var i in n)
    if (!(i in e)) throw Error(R(108, wS(t) || "Unknown", i));
  return Ue({}, r, n)
}

function Zu(t) {
  return t = (t = t.stateNode) && t.__reactInternalMemoizedMergedChildContext || Un, vi = wt.current, _e(wt, t), _e(Tt, Tt.current), !0
}

function Yg(t, e, r) {
  var n = t.stateNode;
  if (!n) throw Error(R(169));
  r ? (t = P6(t, e, vi), n.__reactInternalMemoizedMergedChildContext = t, Ne(Tt), Ne(wt), _e(wt, t)) : Ne(Tt), _e(Tt, r)
}
var Gr = null,
  Xc = !1,
  Sf = !1;

function _6(t) {
  Gr === null ? Gr = [t] : Gr.push(t)
}

function Mk(t) {
  Xc = !0, _6(t)
}

function Qn() {
  if (!Sf && Gr !== null) {
    Sf = !0;
    var t = 0,
      e = ye;
    try {
      var r = Gr;
      for (ye = 1; t < r.length; t++) {
        var n = r[t];
        do n = n(!0); while (n !== null)
      }
      Gr = null, Xc = !1
    } catch (i) {
      throw Gr !== null && (Gr = Gr.slice(t + 1)), r6($C, Qn), i
    } finally {
      ye = e, Sf = !1
    }
  }
  return null
}
var es = [],
  ts = 0,
  ec = null,
  tc = 0,
  rr = [],
  nr = 0,
  yi = null,
  Kr = 1,
  Qr = "";

function ii(t, e) {
  es[ts++] = tc, es[ts++] = ec, ec = t, tc = e
}

function O6(t, e, r) {
  rr[nr++] = Kr, rr[nr++] = Qr, rr[nr++] = yi, yi = t;
  var n = Kr;
  t = Qr;
  var i = 32 - br(n) - 1;
  n &= ~(1 << i), r += 1;
  var s = 32 - br(e) + i;
  if (30 < s) {
    var o = i - i % 5;
    s = (n & (1 << o) - 1).toString(32), n >>= o, i -= o, Kr = 1 << 32 - br(e) + i | r << i | n, Qr = s + t
  } else Kr = 1 << s | r << i | n, Qr = t
}

function XC(t) {
  t.return !== null && (ii(t, 1), O6(t, 1, 0))
}

function ZC(t) {
  for (; t === ec;) ec = es[--ts], es[ts] = null, tc = es[--ts], es[ts] = null;
  for (; t === yi;) yi = rr[--nr], rr[nr] = null, Qr = rr[--nr], rr[nr] = null, Kr = rr[--nr], rr[nr] = null
}
var qt = null,
  $t = null,
  Te = !1,
  mr = null;

function I6(t, e) {
  var r = sr(5, null, null, 0);
  r.elementType = "DELETED", r.stateNode = e, r.return = t, e = t.deletions, e === null ? (t.deletions = [r], t.flags |= 16) : e.push(r)
}

function Xg(t, e) {
  switch (t.tag) {
    case 5:
      var r = t.type;
      return e = e.nodeType !== 1 || r.toLowerCase() !== e.nodeName.toLowerCase() ? null : e, e !== null ? (t.stateNode = e, qt = t, $t = On(e.firstChild), !0) : !1;
    case 6:
      return e = t.pendingProps === "" || e.nodeType !== 3 ? null : e, e !== null ? (t.stateNode = e, qt = t, $t = null, !0) : !1;
    case 13:
      return e = e.nodeType !== 8 ? null : e, e !== null ? (r = yi !== null ? {
        id: Kr,
        overflow: Qr
      } : null, t.memoizedState = {
        dehydrated: e,
        treeContext: r,
        retryLane: 1073741824
      }, r = sr(18, null, null, 0), r.stateNode = e, r.return = t, t.child = r, qt = t, $t = null, !0) : !1;
    default:
      return !1
  }
}

function M0(t) {
  return (t.mode & 1) !== 0 && (t.flags & 128) === 0
}

function L0(t) {
  if (Te) {
    var e = $t;
    if (e) {
      var r = e;
      if (!Xg(t, e)) {
        if (M0(t)) throw Error(R(418));
        e = On(r.nextSibling);
        var n = qt;
        e && Xg(t, e) ? I6(n, r) : (t.flags = t.flags & -4097 | 2, Te = !1, qt = t)
      }
    } else {
      if (M0(t)) throw Error(R(418));
      t.flags = t.flags & -4097 | 2, Te = !1, qt = t
    }
  }
}

function Zg(t) {
  for (t = t.return; t !== null && t.tag !== 5 && t.tag !== 3 && t.tag !== 13;) t = t.return;
  qt = t
}

function Ol(t) {
  if (t !== qt) return !1;
  if (!Te) return Zg(t), Te = !0, !1;
  var e;
  if ((e = t.tag !== 3) && !(e = t.tag !== 5) && (e = t.type, e = e !== "head" && e !== "body" && !N0(t.type, t.memoizedProps)), e && (e = $t)) {
    if (M0(t)) throw N6(), Error(R(418));
    for (; e;) I6(t, e), e = On(e.nextSibling)
  }
  if (Zg(t), t.tag === 13) {
    if (t = t.memoizedState, t = t !== null ? t.dehydrated : null, !t) throw Error(R(317));
    e: {
      for (t = t.nextSibling, e = 0; t;) {
        if (t.nodeType === 8) {
          var r = t.data;
          if (r === "/$") {
            if (e === 0) {
              $t = On(t.nextSibling);
              break e
            }
            e--
          } else r !== "$" && r !== "$!" && r !== "$?" || e++
        }
        t = t.nextSibling
      }
      $t = null
    }
  } else $t = qt ? On(t.stateNode.nextSibling) : null;
  return !0
}

function N6() {
  for (var t = $t; t;) t = On(t.nextSibling)
}

function vs() {
  $t = qt = null, Te = !1
}

function e1(t) {
  mr === null ? mr = [t] : mr.push(t)
}
var Lk = ln.ReactCurrentBatchConfig;

function so(t, e, r) {
  if (t = r.ref, t !== null && typeof t != "function" && typeof t != "object") {
    if (r._owner) {
      if (r = r._owner, r) {
        if (r.tag !== 1) throw Error(R(309));
        var n = r.stateNode
      }
      if (!n) throw Error(R(147, t));
      var i = n,
        s = "" + t;
      return e !== null && e.ref !== null && typeof e.ref == "function" && e.ref._stringRef === s ? e.ref : (e = function (o) {
        var a = i.refs;
        o === null ? delete a[s] : a[s] = o
      }, e._stringRef = s, e)
    }
    if (typeof t != "string") throw Error(R(284));
    if (!r._owner) throw Error(R(290, t))
  }
  return t
}

function Il(t, e) {
  throw t = Object.prototype.toString.call(e), Error(R(31, t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t))
}

function ev(t) {
  var e = t._init;
  return e(t._payload)
}

function T6(t) {
  function e(m, p) {
    if (t) {
      var v = m.deletions;
      v === null ? (m.deletions = [p], m.flags |= 16) : v.push(p)
    }
  }

  function r(m, p) {
    if (!t) return null;
    for (; p !== null;) e(m, p), p = p.sibling;
    return null
  }

  function n(m, p) {
    for (m = new Map; p !== null;) p.key !== null ? m.set(p.key, p) : m.set(p.index, p), p = p.sibling;
    return m
  }

  function i(m, p) {
    return m = Rn(m, p), m.index = 0, m.sibling = null, m
  }

  function s(m, p, v) {
    return m.index = v, t ? (v = m.alternate, v !== null ? (v = v.index, v < p ? (m.flags |= 2, p) : v) : (m.flags |= 2, p)) : (m.flags |= 1048576, p)
  }

  function o(m) {
    return t && m.alternate === null && (m.flags |= 2), m
  }

  function a(m, p, v, w) {
    return p === null || p.tag !== 6 ? (p = If(v, m.mode, w), p.return = m, p) : (p = i(p, v), p.return = m, p)
  }

  function l(m, p, v, w) {
    var D = v.type;
    return D === Ki ? c(m, p, v.props.children, w, v.key) : p !== null && (p.elementType === D || typeof D == "object" && D !== null && D.$$typeof === mn && ev(D) === p.type) ? (w = i(p, v.props), w.ref = so(m, p, v), w.return = m, w) : (w = ju(v.type, v.key, v.props, null, m.mode, w), w.ref = so(m, p, v), w.return = m, w)
  }

  function u(m, p, v, w) {
    return p === null || p.tag !== 4 || p.stateNode.containerInfo !== v.containerInfo || p.stateNode.implementation !== v.implementation ? (p = Nf(v, m.mode, w), p.return = m, p) : (p = i(p, v.children || []), p.return = m, p)
  }

  function c(m, p, v, w, D) {
    return p === null || p.tag !== 7 ? (p = Ci(v, m.mode, w, D), p.return = m, p) : (p = i(p, v), p.return = m, p)
  }

  function d(m, p, v) {
    if (typeof p == "string" && p !== "" || typeof p == "number") return p = If("" + p, m.mode, v), p.return = m, p;
    if (typeof p == "object" && p !== null) {
      switch (p.$$typeof) {
        case bl:
          return v = ju(p.type, p.key, p.props, null, m.mode, v), v.ref = so(m, null, p), v.return = m, v;
        case Vi:
          return p = Nf(p, m.mode, v), p.return = m, p;
        case mn:
          var w = p._init;
          return d(m, w(p._payload), v)
      }
      if (wo(p) || eo(p)) return p = Ci(p, m.mode, v, null), p.return = m, p;
      Il(m, p)
    }
    return null
  }

  function f(m, p, v, w) {
    var D = p !== null ? p.key : null;
    if (typeof v == "string" && v !== "" || typeof v == "number") return D !== null ? null : a(m, p, "" + v, w);
    if (typeof v == "object" && v !== null) {
      switch (v.$$typeof) {
        case bl:
          return v.key === D ? l(m, p, v, w) : null;
        case Vi:
          return v.key === D ? u(m, p, v, w) : null;
        case mn:
          return D = v._init, f(m, p, D(v._payload), w)
      }
      if (wo(v) || eo(v)) return D !== null ? null : c(m, p, v, w, null);
      Il(m, v)
    }
    return null
  }

  function B(m, p, v, w, D) {
    if (typeof w == "string" && w !== "" || typeof w == "number") return m = m.get(v) || null, a(p, m, "" + w, D);
    if (typeof w == "object" && w !== null) {
      switch (w.$$typeof) {
        case bl:
          return m = m.get(w.key === null ? v : w.key) || null, l(p, m, w, D);
        case Vi:
          return m = m.get(w.key === null ? v : w.key) || null, u(p, m, w, D);
        case mn:
          var x = w._init;
          return B(m, p, v, x(w._payload), D)
      }
      if (wo(w) || eo(w)) return m = m.get(v) || null, c(p, m, w, D, null);
      Il(p, w)
    }
    return null
  }

  function h(m, p, v, w) {
    for (var D = null, x = null, C = p, S = p = 0, A = null; C !== null && S < v.length; S++) {
      C.index > S ? (A = C, C = null) : A = C.sibling;
      var P = f(m, C, v[S], w);
      if (P === null) {
        C === null && (C = A);
        break
      }
      t && C && P.alternate === null && e(m, C), p = s(P, p, S), x === null ? D = P : x.sibling = P, x = P, C = A
    }
    if (S === v.length) return r(m, C), Te && ii(m, S), D;
    if (C === null) {
      for (; S < v.length; S++) C = d(m, v[S], w), C !== null && (p = s(C, p, S), x === null ? D = C : x.sibling = C, x = C);
      return Te && ii(m, S), D
    }
    for (C = n(m, C); S < v.length; S++) A = B(C, m, S, v[S], w), A !== null && (t && A.alternate !== null && C.delete(A.key === null ? S : A.key), p = s(A, p, S), x === null ? D = A : x.sibling = A, x = A);
    return t && C.forEach(function (_) {
      return e(m, _)
    }), Te && ii(m, S), D
  }

  function g(m, p, v, w) {
    var D = eo(v);
    if (typeof D != "function") throw Error(R(150));
    if (v = D.call(v), v == null) throw Error(R(151));
    for (var x = D = null, C = p, S = p = 0, A = null, P = v.next(); C !== null && !P.done; S++, P = v.next()) {
      C.index > S ? (A = C, C = null) : A = C.sibling;
      var _ = f(m, C, P.value, w);
      if (_ === null) {
        C === null && (C = A);
        break
      }
      t && C && _.alternate === null && e(m, C), p = s(_, p, S), x === null ? D = _ : x.sibling = _, x = _, C = A
    }
    if (P.done) return r(m, C), Te && ii(m, S), D;
    if (C === null) {
      for (; !P.done; S++, P = v.next()) P = d(m, P.value, w), P !== null && (p = s(P, p, S), x === null ? D = P : x.sibling = P, x = P);
      return Te && ii(m, S), D
    }
    for (C = n(m, C); !P.done; S++, P = v.next()) P = B(C, m, S, P.value, w), P !== null && (t && P.alternate !== null && C.delete(P.key === null ? S : P.key), p = s(P, p, S), x === null ? D = P : x.sibling = P, x = P);
    return t && C.forEach(function (O) {
      return e(m, O)
    }), Te && ii(m, S), D
  }

  function y(m, p, v, w) {
    if (typeof v == "object" && v !== null && v.type === Ki && v.key === null && (v = v.props.children), typeof v == "object" && v !== null) {
      switch (v.$$typeof) {
        case bl:
          e: {
            for (var D = v.key, x = p; x !== null;) {
              if (x.key === D) {
                if (D = v.type, D === Ki) {
                  if (x.tag === 7) {
                    r(m, x.sibling), p = i(x, v.props.children), p.return = m, m = p;
                    break e
                  }
                } else if (x.elementType === D || typeof D == "object" && D !== null && D.$$typeof === mn && ev(D) === x.type) {
                  r(m, x.sibling), p = i(x, v.props), p.ref = so(m, x, v), p.return = m, m = p;
                  break e
                }
                r(m, x);
                break
              } else e(m, x);
              x = x.sibling
            }
            v.type === Ki ? (p = Ci(v.props.children, m.mode, w, v.key), p.return = m, m = p) : (w = ju(v.type, v.key, v.props, null, m.mode, w), w.ref = so(m, p, v), w.return = m, m = w)
          }
          return o(m);
        case Vi:
          e: {
            for (x = v.key; p !== null;) {
              if (p.key === x)
                if (p.tag === 4 && p.stateNode.containerInfo === v.containerInfo && p.stateNode.implementation === v.implementation) {
                  r(m, p.sibling), p = i(p, v.children || []), p.return = m, m = p;
                  break e
                } else {
                  r(m, p);
                  break
                }
              else e(m, p);
              p = p.sibling
            }
            p = Nf(v, m.mode, w),
            p.return = m,
            m = p
          }
          return o(m);
        case mn:
          return x = v._init, y(m, p, x(v._payload), w)
      }
      if (wo(v)) return h(m, p, v, w);
      if (eo(v)) return g(m, p, v, w);
      Il(m, v)
    }
    return typeof v == "string" && v !== "" || typeof v == "number" ? (v = "" + v, p !== null && p.tag === 6 ? (r(m, p.sibling), p = i(p, v), p.return = m, m = p) : (r(m, p), p = If(v, m.mode, w), p.return = m, m = p), o(m)) : r(m, p)
  }
  return y
}
var ys = T6(!0),
  R6 = T6(!1),
  rc = Kn(null),
  nc = null,
  rs = null,
  t1 = null;

function r1() {
  t1 = rs = nc = null
}

function n1(t) {
  var e = rc.current;
  Ne(rc), t._currentValue = e
}

function U0(t, e, r) {
  for (; t !== null;) {
    var n = t.alternate;
    if ((t.childLanes & e) !== e ? (t.childLanes |= e, n !== null && (n.childLanes |= e)) : n !== null && (n.childLanes & e) !== e && (n.childLanes |= e), t === r) break;
    t = t.return
  }
}

function cs(t, e) {
  nc = t, t1 = rs = null, t = t.dependencies, t !== null && t.firstContext !== null && (t.lanes & e && (Nt = !0), t.firstContext = null)
}

function lr(t) {
  var e = t._currentValue;
  if (t1 !== t)
    if (t = {
        context: t,
        memoizedValue: e,
        next: null
      }, rs === null) {
      if (nc === null) throw Error(R(308));
      rs = t, nc.dependencies = {
        lanes: 0,
        firstContext: t
      }
    } else rs = rs.next = t;
  return e
}
var ui = null;

function i1(t) {
  ui === null ? ui = [t] : ui.push(t)
}

function F6(t, e, r, n) {
  var i = e.interleaved;
  return i === null ? (r.next = r, i1(e)) : (r.next = i.next, i.next = r), e.interleaved = r, tn(t, n)
}

function tn(t, e) {
  t.lanes |= e;
  var r = t.alternate;
  for (r !== null && (r.lanes |= e), r = t, t = t.return; t !== null;) t.childLanes |= e, r = t.alternate, r !== null && (r.childLanes |= e), r = t, t = t.return;
  return r.tag === 3 ? r.stateNode : null
}
var gn = !1;

function s1(t) {
  t.updateQueue = {
    baseState: t.memoizedState,
    firstBaseUpdate: null,
    lastBaseUpdate: null,
    shared: {
      pending: null,
      interleaved: null,
      lanes: 0
    },
    effects: null
  }
}

function M6(t, e) {
  t = t.updateQueue, e.updateQueue === t && (e.updateQueue = {
    baseState: t.baseState,
    firstBaseUpdate: t.firstBaseUpdate,
    lastBaseUpdate: t.lastBaseUpdate,
    shared: t.shared,
    effects: t.effects
  })
}

function Jr(t, e) {
  return {
    eventTime: t,
    lane: e,
    tag: 0,
    payload: null,
    callback: null,
    next: null
  }
}

function In(t, e, r) {
  var n = t.updateQueue;
  if (n === null) return null;
  if (n = n.shared, ge & 2) {
    var i = n.pending;
    return i === null ? e.next = e : (e.next = i.next, i.next = e), n.pending = e, tn(t, r)
  }
  return i = n.interleaved, i === null ? (e.next = e, i1(n)) : (e.next = i.next, i.next = e), n.interleaved = e, tn(t, r)
}

function bu(t, e, r) {
  if (e = e.updateQueue, e !== null && (e = e.shared, (r & 4194240) !== 0)) {
    var n = e.lanes;
    n &= t.pendingLanes, r |= n, e.lanes = r, HC(t, r)
  }
}

function tv(t, e) {
  var r = t.updateQueue,
    n = t.alternate;
  if (n !== null && (n = n.updateQueue, r === n)) {
    var i = null,
      s = null;
    if (r = r.firstBaseUpdate, r !== null) {
      do {
        var o = {
          eventTime: r.eventTime,
          lane: r.lane,
          tag: r.tag,
          payload: r.payload,
          callback: r.callback,
          next: null
        };
        s === null ? i = s = o : s = s.next = o, r = r.next
      } while (r !== null);
      s === null ? i = s = e : s = s.next = e
    } else i = s = e;
    r = {
      baseState: n.baseState,
      firstBaseUpdate: i,
      lastBaseUpdate: s,
      shared: n.shared,
      effects: n.effects
    }, t.updateQueue = r;
    return
  }
  t = r.lastBaseUpdate, t === null ? r.firstBaseUpdate = e : t.next = e, r.lastBaseUpdate = e
}

function ic(t, e, r, n) {
  var i = t.updateQueue;
  gn = !1;
  var s = i.firstBaseUpdate,
    o = i.lastBaseUpdate,
    a = i.shared.pending;
  if (a !== null) {
    i.shared.pending = null;
    var l = a,
      u = l.next;
    l.next = null, o === null ? s = u : o.next = u, o = l;
    var c = t.alternate;
    c !== null && (c = c.updateQueue, a = c.lastBaseUpdate, a !== o && (a === null ? c.firstBaseUpdate = u : a.next = u, c.lastBaseUpdate = l))
  }
  if (s !== null) {
    var d = i.baseState;
    o = 0, c = u = l = null, a = s;
    do {
      var f = a.lane,
        B = a.eventTime;
      if ((n & f) === f) {
        c !== null && (c = c.next = {
          eventTime: B,
          lane: 0,
          tag: a.tag,
          payload: a.payload,
          callback: a.callback,
          next: null
        });
        e: {
          var h = t,
            g = a;
          switch (f = e, B = r, g.tag) {
            case 1:
              if (h = g.payload, typeof h == "function") {
                d = h.call(B, d, f);
                break e
              }
              d = h;
              break e;
            case 3:
              h.flags = h.flags & -65537 | 128;
            case 0:
              if (h = g.payload, f = typeof h == "function" ? h.call(B, d, f) : h, f == null) break e;
              d = Ue({}, d, f);
              break e;
            case 2:
              gn = !0
          }
        }
        a.callback !== null && a.lane !== 0 && (t.flags |= 64, f = i.effects, f === null ? i.effects = [a] : f.push(a))
      } else B = {
        eventTime: B,
        lane: f,
        tag: a.tag,
        payload: a.payload,
        callback: a.callback,
        next: null
      }, c === null ? (u = c = B, l = d) : c = c.next = B, o |= f;
      if (a = a.next, a === null) {
        if (a = i.shared.pending, a === null) break;
        f = a, a = f.next, f.next = null, i.lastBaseUpdate = f, i.shared.pending = null
      }
    } while (!0);
    if (c === null && (l = d), i.baseState = l, i.firstBaseUpdate = u, i.lastBaseUpdate = c, e = i.shared.interleaved, e !== null) {
      i = e;
      do o |= i.lane, i = i.next; while (i !== e)
    } else s === null && (i.shared.lanes = 0);
    bi |= o, t.lanes = o, t.memoizedState = d
  }
}

function rv(t, e, r) {
  if (t = e.effects, e.effects = null, t !== null)
    for (e = 0; e < t.length; e++) {
      var n = t[e],
        i = n.callback;
      if (i !== null) {
        if (n.callback = null, n = r, typeof i != "function") throw Error(R(191, i));
        i.call(n)
      }
    }
}
var Ua = {},
  Fr = Kn(Ua),
  Zo = Kn(Ua),
  ea = Kn(Ua);

function ci(t) {
  if (t === Ua) throw Error(R(174));
  return t
}

function o1(t, e) {
  switch (_e(ea, e), _e(Zo, t), _e(Fr, Ua), t = e.nodeType, t) {
    case 9:
    case 11:
      e = (e = e.documentElement) ? e.namespaceURI : y0(null, "");
      break;
    default:
      t = t === 8 ? e.parentNode : e, e = t.namespaceURI || null, t = t.tagName, e = y0(e, t)
  }
  Ne(Fr), _e(Fr, e)
}

function ws() {
  Ne(Fr), Ne(Zo), Ne(ea)
}

function L6(t) {
  ci(ea.current);
  var e = ci(Fr.current),
    r = y0(e, t.type);
  e !== r && (_e(Zo, t), _e(Fr, r))
}

function a1(t) {
  Zo.current === t && (Ne(Fr), Ne(Zo))
}
var Fe = Kn(0);

function sc(t) {
  for (var e = t; e !== null;) {
    if (e.tag === 13) {
      var r = e.memoizedState;
      if (r !== null && (r = r.dehydrated, r === null || r.data === "$?" || r.data === "$!")) return e
    } else if (e.tag === 19 && e.memoizedProps.revealOrder !== void 0) {
      if (e.flags & 128) return e
    } else if (e.child !== null) {
      e.child.return = e, e = e.child;
      continue
    }
    if (e === t) break;
    for (; e.sibling === null;) {
      if (e.return === null || e.return === t) return null;
      e = e.return
    }
    e.sibling.return = e.return, e = e.sibling
  }
  return null
}
var kf = [];

function l1() {
  for (var t = 0; t < kf.length; t++) kf[t]._workInProgressVersionPrimary = null;
  kf.length = 0
}
var Du = ln.ReactCurrentDispatcher,
  jf = ln.ReactCurrentBatchConfig,
  wi = 0,
  Le = null,
  tt = null,
  at = null,
  oc = !1,
  To = !1,
  ta = 0,
  Uk = 0;

function pt() {
  throw Error(R(321))
}

function u1(t, e) {
  if (e === null) return !1;
  for (var r = 0; r < e.length && r < t.length; r++)
    if (!xr(t[r], e[r])) return !1;
  return !0
}

function c1(t, e, r, n, i, s) {
  if (wi = s, Le = e, e.memoizedState = null, e.updateQueue = null, e.lanes = 0, Du.current = t === null || t.memoizedState === null ? Hk : Gk, t = r(n, i), To) {
    s = 0;
    do {
      if (To = !1, ta = 0, 25 <= s) throw Error(R(301));
      s += 1, at = tt = null, e.updateQueue = null, Du.current = qk, t = r(n, i)
    } while (To)
  }
  if (Du.current = ac, e = tt !== null && tt.next !== null, wi = 0, at = tt = Le = null, oc = !1, e) throw Error(R(300));
  return t
}

function d1() {
  var t = ta !== 0;
  return ta = 0, t
}

function Ir() {
  var t = {
    memoizedState: null,
    baseState: null,
    baseQueue: null,
    queue: null,
    next: null
  };
  return at === null ? Le.memoizedState = at = t : at = at.next = t, at
}

function ur() {
  if (tt === null) {
    var t = Le.alternate;
    t = t !== null ? t.memoizedState : null
  } else t = tt.next;
  var e = at === null ? Le.memoizedState : at.next;
  if (e !== null) at = e, tt = t;
  else {
    if (t === null) throw Error(R(310));
    tt = t, t = {
      memoizedState: tt.memoizedState,
      baseState: tt.baseState,
      baseQueue: tt.baseQueue,
      queue: tt.queue,
      next: null
    }, at === null ? Le.memoizedState = at = t : at = at.next = t
  }
  return at
}

function ra(t, e) {
  return typeof e == "function" ? e(t) : e
}

function Af(t) {
  var e = ur(),
    r = e.queue;
  if (r === null) throw Error(R(311));
  r.lastRenderedReducer = t;
  var n = tt,
    i = n.baseQueue,
    s = r.pending;
  if (s !== null) {
    if (i !== null) {
      var o = i.next;
      i.next = s.next, s.next = o
    }
    n.baseQueue = i = s, r.pending = null
  }
  if (i !== null) {
    s = i.next, n = n.baseState;
    var a = o = null,
      l = null,
      u = s;
    do {
      var c = u.lane;
      if ((wi & c) === c) l !== null && (l = l.next = {
        lane: 0,
        action: u.action,
        hasEagerState: u.hasEagerState,
        eagerState: u.eagerState,
        next: null
      }), n = u.hasEagerState ? u.eagerState : t(n, u.action);
      else {
        var d = {
          lane: c,
          action: u.action,
          hasEagerState: u.hasEagerState,
          eagerState: u.eagerState,
          next: null
        };
        l === null ? (a = l = d, o = n) : l = l.next = d, Le.lanes |= c, bi |= c
      }
      u = u.next
    } while (u !== null && u !== s);
    l === null ? o = n : l.next = a, xr(n, e.memoizedState) || (Nt = !0), e.memoizedState = n, e.baseState = o, e.baseQueue = l, r.lastRenderedState = n
  }
  if (t = r.interleaved, t !== null) {
    i = t;
    do s = i.lane, Le.lanes |= s, bi |= s, i = i.next; while (i !== t)
  } else i === null && (r.lanes = 0);
  return [e.memoizedState, r.dispatch]
}

function Pf(t) {
  var e = ur(),
    r = e.queue;
  if (r === null) throw Error(R(311));
  r.lastRenderedReducer = t;
  var n = r.dispatch,
    i = r.pending,
    s = e.memoizedState;
  if (i !== null) {
    r.pending = null;
    var o = i = i.next;
    do s = t(s, o.action), o = o.next; while (o !== i);
    xr(s, e.memoizedState) || (Nt = !0), e.memoizedState = s, e.baseQueue === null && (e.baseState = s), r.lastRenderedState = s
  }
  return [s, n]
}

function U6() {}

function z6(t, e) {
  var r = Le,
    n = ur(),
    i = e(),
    s = !xr(n.memoizedState, i);
  if (s && (n.memoizedState = i, Nt = !0), n = n.queue, f1(H6.bind(null, r, n, t), [t]), n.getSnapshot !== e || s || at !== null && at.memoizedState.tag & 1) {
    if (r.flags |= 2048, na(9, $6.bind(null, r, n, i, e), void 0, null), lt === null) throw Error(R(349));
    wi & 30 || W6(r, e, i)
  }
  return i
}

function W6(t, e, r) {
  t.flags |= 16384, t = {
    getSnapshot: e,
    value: r
  }, e = Le.updateQueue, e === null ? (e = {
    lastEffect: null,
    stores: null
  }, Le.updateQueue = e, e.stores = [t]) : (r = e.stores, r === null ? e.stores = [t] : r.push(t))
}

function $6(t, e, r, n) {
  e.value = r, e.getSnapshot = n, G6(e) && q6(t)
}

function H6(t, e, r) {
  return r(function () {
    G6(e) && q6(t)
  })
}

function G6(t) {
  var e = t.getSnapshot;
  t = t.value;
  try {
    var r = e();
    return !xr(t, r)
  } catch {
    return !0
  }
}

function q6(t) {
  var e = tn(t, 1);
  e !== null && Dr(e, t, 1, -1)
}

function nv(t) {
  var e = Ir();
  return typeof t == "function" && (t = t()), e.memoizedState = e.baseState = t, t = {
    pending: null,
    interleaved: null,
    lanes: 0,
    dispatch: null,
    lastRenderedReducer: ra,
    lastRenderedState: t
  }, e.queue = t, t = t.dispatch = $k.bind(null, Le, t), [e.memoizedState, t]
}

function na(t, e, r, n) {
  return t = {
    tag: t,
    create: e,
    destroy: r,
    deps: n,
    next: null
  }, e = Le.updateQueue, e === null ? (e = {
    lastEffect: null,
    stores: null
  }, Le.updateQueue = e, e.lastEffect = t.next = t) : (r = e.lastEffect, r === null ? e.lastEffect = t.next = t : (n = r.next, r.next = t, t.next = n, e.lastEffect = t)), t
}

function V6() {
  return ur().memoizedState
}

function xu(t, e, r, n) {
  var i = Ir();
  Le.flags |= t, i.memoizedState = na(1 | e, r, void 0, n === void 0 ? null : n)
}

function Zc(t, e, r, n) {
  var i = ur();
  n = n === void 0 ? null : n;
  var s = void 0;
  if (tt !== null) {
    var o = tt.memoizedState;
    if (s = o.destroy, n !== null && u1(n, o.deps)) {
      i.memoizedState = na(e, r, s, n);
      return
    }
  }
  Le.flags |= t, i.memoizedState = na(1 | e, r, s, n)
}

function iv(t, e) {
  return xu(8390656, 8, t, e)
}

function f1(t, e) {
  return Zc(2048, 8, t, e)
}

function K6(t, e) {
  return Zc(4, 2, t, e)
}

function Q6(t, e) {
  return Zc(4, 4, t, e)
}

function J6(t, e) {
  if (typeof e == "function") return t = t(), e(t),
    function () {
      e(null)
    };
  if (e != null) return t = t(), e.current = t,
    function () {
      e.current = null
    }
}

function Y6(t, e, r) {
  return r = r != null ? r.concat([t]) : null, Zc(4, 4, J6.bind(null, e, t), r)
}

function B1() {}

function X6(t, e) {
  var r = ur();
  e = e === void 0 ? null : e;
  var n = r.memoizedState;
  return n !== null && e !== null && u1(e, n[1]) ? n[0] : (r.memoizedState = [t, e], t)
}

function Z6(t, e) {
  var r = ur();
  e = e === void 0 ? null : e;
  var n = r.memoizedState;
  return n !== null && e !== null && u1(e, n[1]) ? n[0] : (t = t(), r.memoizedState = [t, e], t)
}

function eD(t, e, r) {
  return wi & 21 ? (xr(r, e) || (r = s6(), Le.lanes |= r, bi |= r, t.baseState = !0), e) : (t.baseState && (t.baseState = !1, Nt = !0), t.memoizedState = r)
}

function zk(t, e) {
  var r = ye;
  ye = r !== 0 && 4 > r ? r : 4, t(!0);
  var n = jf.transition;
  jf.transition = {};
  try {
    t(!1), e()
  } finally {
    ye = r, jf.transition = n
  }
}

function tD() {
  return ur().memoizedState
}

function Wk(t, e, r) {
  var n = Tn(t);
  if (r = {
      lane: n,
      action: r,
      hasEagerState: !1,
      eagerState: null,
      next: null
    }, rD(t)) nD(e, r);
  else if (r = F6(t, e, r, n), r !== null) {
    var i = St();
    Dr(r, t, n, i), iD(r, e, n)
  }
}

function $k(t, e, r) {
  var n = Tn(t),
    i = {
      lane: n,
      action: r,
      hasEagerState: !1,
      eagerState: null,
      next: null
    };
  if (rD(t)) nD(e, i);
  else {
    var s = t.alternate;
    if (t.lanes === 0 && (s === null || s.lanes === 0) && (s = e.lastRenderedReducer, s !== null)) try {
      var o = e.lastRenderedState,
        a = s(o, r);
      if (i.hasEagerState = !0, i.eagerState = a, xr(a, o)) {
        var l = e.interleaved;
        l === null ? (i.next = i, i1(e)) : (i.next = l.next, l.next = i), e.interleaved = i;
        return
      }
    } catch {} finally {}
    r = F6(t, e, i, n), r !== null && (i = St(), Dr(r, t, n, i), iD(r, e, n))
  }
}

function rD(t) {
  var e = t.alternate;
  return t === Le || e !== null && e === Le
}

function nD(t, e) {
  To = oc = !0;
  var r = t.pending;
  r === null ? e.next = e : (e.next = r.next, r.next = e), t.pending = e
}

function iD(t, e, r) {
  if (r & 4194240) {
    var n = e.lanes;
    n &= t.pendingLanes, r |= n, e.lanes = r, HC(t, r)
  }
}
var ac = {
    readContext: lr,
    useCallback: pt,
    useContext: pt,
    useEffect: pt,
    useImperativeHandle: pt,
    useInsertionEffect: pt,
    useLayoutEffect: pt,
    useMemo: pt,
    useReducer: pt,
    useRef: pt,
    useState: pt,
    useDebugValue: pt,
    useDeferredValue: pt,
    useTransition: pt,
    useMutableSource: pt,
    useSyncExternalStore: pt,
    useId: pt,
    unstable_isNewReconciler: !1
  },
  Hk = {
    readContext: lr,
    useCallback: function (t, e) {
      return Ir().memoizedState = [t, e === void 0 ? null : e], t
    },
    useContext: lr,
    useEffect: iv,
    useImperativeHandle: function (t, e, r) {
      return r = r != null ? r.concat([t]) : null, xu(4194308, 4, J6.bind(null, e, t), r)
    },
    useLayoutEffect: function (t, e) {
      return xu(4194308, 4, t, e)
    },
    useInsertionEffect: function (t, e) {
      return xu(4, 2, t, e)
    },
    useMemo: function (t, e) {
      var r = Ir();
      return e = e === void 0 ? null : e, t = t(), r.memoizedState = [t, e], t
    },
    useReducer: function (t, e, r) {
      var n = Ir();
      return e = r !== void 0 ? r(e) : e, n.memoizedState = n.baseState = e, t = {
        pending: null,
        interleaved: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: t,
        lastRenderedState: e
      }, n.queue = t, t = t.dispatch = Wk.bind(null, Le, t), [n.memoizedState, t]
    },
    useRef: function (t) {
      var e = Ir();
      return t = {
        current: t
      }, e.memoizedState = t
    },
    useState: nv,
    useDebugValue: B1,
    useDeferredValue: function (t) {
      return Ir().memoizedState = t
    },
    useTransition: function () {
      var t = nv(!1),
        e = t[0];
      return t = zk.bind(null, t[1]), Ir().memoizedState = t, [e, t]
    },
    useMutableSource: function () {},
    useSyncExternalStore: function (t, e, r) {
      var n = Le,
        i = Ir();
      if (Te) {
        if (r === void 0) throw Error(R(407));
        r = r()
      } else {
        if (r = e(), lt === null) throw Error(R(349));
        wi & 30 || W6(n, e, r)
      }
      i.memoizedState = r;
      var s = {
        value: r,
        getSnapshot: e
      };
      return i.queue = s, iv(H6.bind(null, n, s, t), [t]), n.flags |= 2048, na(9, $6.bind(null, n, s, r, e), void 0, null), r
    },
    useId: function () {
      var t = Ir(),
        e = lt.identifierPrefix;
      if (Te) {
        var r = Qr,
          n = Kr;
        r = (n & ~(1 << 32 - br(n) - 1)).toString(32) + r, e = ":" + e + "R" + r, r = ta++, 0 < r && (e += "H" + r.toString(32)), e += ":"
      } else r = Uk++, e = ":" + e + "r" + r.toString(32) + ":";
      return t.memoizedState = e
    },
    unstable_isNewReconciler: !1
  },
  Gk = {
    readContext: lr,
    useCallback: X6,
    useContext: lr,
    useEffect: f1,
    useImperativeHandle: Y6,
    useInsertionEffect: K6,
    useLayoutEffect: Q6,
    useMemo: Z6,
    useReducer: Af,
    useRef: V6,
    useState: function () {
      return Af(ra)
    },
    useDebugValue: B1,
    useDeferredValue: function (t) {
      var e = ur();
      return eD(e, tt.memoizedState, t)
    },
    useTransition: function () {
      var t = Af(ra)[0],
        e = ur().memoizedState;
      return [t, e]
    },
    useMutableSource: U6,
    useSyncExternalStore: z6,
    useId: tD,
    unstable_isNewReconciler: !1
  },
  qk = {
    readContext: lr,
    useCallback: X6,
    useContext: lr,
    useEffect: f1,
    useImperativeHandle: Y6,
    useInsertionEffect: K6,
    useLayoutEffect: Q6,
    useMemo: Z6,
    useReducer: Pf,
    useRef: V6,
    useState: function () {
      return Pf(ra)
    },
    useDebugValue: B1,
    useDeferredValue: function (t) {
      var e = ur();
      return tt === null ? e.memoizedState = t : eD(e, tt.memoizedState, t)
    },
    useTransition: function () {
      var t = Pf(ra)[0],
        e = ur().memoizedState;
      return [t, e]
    },
    useMutableSource: U6,
    useSyncExternalStore: z6,
    useId: tD,
    unstable_isNewReconciler: !1
  };

function pr(t, e) {
  if (t && t.defaultProps) {
    e = Ue({}, e), t = t.defaultProps;
    for (var r in t) e[r] === void 0 && (e[r] = t[r]);
    return e
  }
  return e
}

function z0(t, e, r, n) {
  e = t.memoizedState, r = r(n, e), r = r == null ? e : Ue({}, e, r), t.memoizedState = r, t.lanes === 0 && (t.updateQueue.baseState = r)
}
var ed = {
  isMounted: function (t) {
    return (t = t._reactInternals) ? Ai(t) === t : !1
  },
  enqueueSetState: function (t, e, r) {
    t = t._reactInternals;
    var n = St(),
      i = Tn(t),
      s = Jr(n, i);
    s.payload = e, r != null && (s.callback = r), e = In(t, s, i), e !== null && (Dr(e, t, i, n), bu(e, t, i))
  },
  enqueueReplaceState: function (t, e, r) {
    t = t._reactInternals;
    var n = St(),
      i = Tn(t),
      s = Jr(n, i);
    s.tag = 1, s.payload = e, r != null && (s.callback = r), e = In(t, s, i), e !== null && (Dr(e, t, i, n), bu(e, t, i))
  },
  enqueueForceUpdate: function (t, e) {
    t = t._reactInternals;
    var r = St(),
      n = Tn(t),
      i = Jr(r, n);
    i.tag = 2, e != null && (i.callback = e), e = In(t, i, n), e !== null && (Dr(e, t, n, r), bu(e, t, n))
  }
};

function sv(t, e, r, n, i, s, o) {
  return t = t.stateNode, typeof t.shouldComponentUpdate == "function" ? t.shouldComponentUpdate(n, s, o) : e.prototype && e.prototype.isPureReactComponent ? !Qo(r, n) || !Qo(i, s) : !0
}

function sD(t, e, r) {
  var n = !1,
    i = Un,
    s = e.contextType;
  return typeof s == "object" && s !== null ? s = lr(s) : (i = Rt(e) ? vi : wt.current, n = e.contextTypes, s = (n = n != null) ? gs(t, i) : Un), e = new e(r, s), t.memoizedState = e.state !== null && e.state !== void 0 ? e.state : null, e.updater = ed, t.stateNode = e, e._reactInternals = t, n && (t = t.stateNode, t.__reactInternalMemoizedUnmaskedChildContext = i, t.__reactInternalMemoizedMaskedChildContext = s), e
}

function ov(t, e, r, n) {
  t = e.state, typeof e.componentWillReceiveProps == "function" && e.componentWillReceiveProps(r, n), typeof e.UNSAFE_componentWillReceiveProps == "function" && e.UNSAFE_componentWillReceiveProps(r, n), e.state !== t && ed.enqueueReplaceState(e, e.state, null)
}

function W0(t, e, r, n) {
  var i = t.stateNode;
  i.props = r, i.state = t.memoizedState, i.refs = {}, s1(t);
  var s = e.contextType;
  typeof s == "object" && s !== null ? i.context = lr(s) : (s = Rt(e) ? vi : wt.current, i.context = gs(t, s)), i.state = t.memoizedState, s = e.getDerivedStateFromProps, typeof s == "function" && (z0(t, e, s, r), i.state = t.memoizedState), typeof e.getDerivedStateFromProps == "function" || typeof i.getSnapshotBeforeUpdate == "function" || typeof i.UNSAFE_componentWillMount != "function" && typeof i.componentWillMount != "function" || (e = i.state, typeof i.componentWillMount == "function" && i.componentWillMount(), typeof i.UNSAFE_componentWillMount == "function" && i.UNSAFE_componentWillMount(), e !== i.state && ed.enqueueReplaceState(i, i.state, null), ic(t, r, i, n), i.state = t.memoizedState), typeof i.componentDidMount == "function" && (t.flags |= 4194308)
}

function bs(t, e) {
  try {
    var r = "",
      n = e;
    do r += yS(n), n = n.return; while (n);
    var i = r
  } catch (s) {
    i = `
Error generating stack: ` + s.message + `
` + s.stack
  }
  return {
    value: t,
    source: e,
    stack: i,
    digest: null
  }
}

function _f(t, e, r) {
  return {
    value: t,
    source: null,
    stack: r ?? null,
    digest: e ?? null
  }
}

function $0(t, e) {
  try {
    console.error(e.value)
  } catch (r) {
    setTimeout(function () {
      throw r
    })
  }
}
var Vk = typeof WeakMap == "function" ? WeakMap : Map;

function oD(t, e, r) {
  r = Jr(-1, r), r.tag = 3, r.payload = {
    element: null
  };
  var n = e.value;
  return r.callback = function () {
    uc || (uc = !0, Z0 = n), $0(t, e)
  }, r
}

function aD(t, e, r) {
  r = Jr(-1, r), r.tag = 3;
  var n = t.type.getDerivedStateFromError;
  if (typeof n == "function") {
    var i = e.value;
    r.payload = function () {
      return n(i)
    }, r.callback = function () {
      $0(t, e)
    }
  }
  var s = t.stateNode;
  return s !== null && typeof s.componentDidCatch == "function" && (r.callback = function () {
    $0(t, e), typeof n != "function" && (Nn === null ? Nn = new Set([this]) : Nn.add(this));
    var o = e.stack;
    this.componentDidCatch(e.value, {
      componentStack: o !== null ? o : ""
    })
  }), r
}

function av(t, e, r) {
  var n = t.pingCache;
  if (n === null) {
    n = t.pingCache = new Vk;
    var i = new Set;
    n.set(e, i)
  } else i = n.get(e), i === void 0 && (i = new Set, n.set(e, i));
  i.has(r) || (i.add(r), t = aj.bind(null, t, e, r), e.then(t, t))
}

function lv(t) {
  do {
    var e;
    if ((e = t.tag === 13) && (e = t.memoizedState, e = e !== null ? e.dehydrated !== null : !0), e) return t;
    t = t.return
  } while (t !== null);
  return null
}

function uv(t, e, r, n, i) {
  return t.mode & 1 ? (t.flags |= 65536, t.lanes = i, t) : (t === e ? t.flags |= 65536 : (t.flags |= 128, r.flags |= 131072, r.flags &= -52805, r.tag === 1 && (r.alternate === null ? r.tag = 17 : (e = Jr(-1, 1), e.tag = 2, In(r, e, 1))), r.lanes |= 1), t)
}
var Kk = ln.ReactCurrentOwner,
  Nt = !1;

function xt(t, e, r, n) {
  e.child = t === null ? R6(e, null, r, n) : ys(e, t.child, r, n)
}

function cv(t, e, r, n, i) {
  r = r.render;
  var s = e.ref;
  return cs(e, i), n = c1(t, e, r, n, s, i), r = d1(), t !== null && !Nt ? (e.updateQueue = t.updateQueue, e.flags &= -2053, t.lanes &= ~i, rn(t, e, i)) : (Te && r && XC(e), e.flags |= 1, xt(t, e, n, i), e.child)
}

function dv(t, e, r, n, i) {
  if (t === null) {
    var s = r.type;
    return typeof s == "function" && !w1(s) && s.defaultProps === void 0 && r.compare === null && r.defaultProps === void 0 ? (e.tag = 15, e.type = s, lD(t, e, s, n, i)) : (t = ju(r.type, null, n, e, e.mode, i), t.ref = e.ref, t.return = e, e.child = t)
  }
  if (s = t.child, !(t.lanes & i)) {
    var o = s.memoizedProps;
    if (r = r.compare, r = r !== null ? r : Qo, r(o, n) && t.ref === e.ref) return rn(t, e, i)
  }
  return e.flags |= 1, t = Rn(s, n), t.ref = e.ref, t.return = e, e.child = t
}

function lD(t, e, r, n, i) {
  if (t !== null) {
    var s = t.memoizedProps;
    if (Qo(s, n) && t.ref === e.ref)
      if (Nt = !1, e.pendingProps = n = s, (t.lanes & i) !== 0) t.flags & 131072 && (Nt = !0);
      else return e.lanes = t.lanes, rn(t, e, i)
  }
  return H0(t, e, r, n, i)
}

function uD(t, e, r) {
  var n = e.pendingProps,
    i = n.children,
    s = t !== null ? t.memoizedState : null;
  if (n.mode === "hidden")
    if (!(e.mode & 1)) e.memoizedState = {
      baseLanes: 0,
      cachePool: null,
      transitions: null
    }, _e(is, Wt), Wt |= r;
    else {
      if (!(r & 1073741824)) return t = s !== null ? s.baseLanes | r : r, e.lanes = e.childLanes = 1073741824, e.memoizedState = {
        baseLanes: t,
        cachePool: null,
        transitions: null
      }, e.updateQueue = null, _e(is, Wt), Wt |= t, null;
      e.memoizedState = {
        baseLanes: 0,
        cachePool: null,
        transitions: null
      }, n = s !== null ? s.baseLanes : r, _e(is, Wt), Wt |= n
    }
  else s !== null ? (n = s.baseLanes | r, e.memoizedState = null) : n = r, _e(is, Wt), Wt |= n;
  return xt(t, e, i, r), e.child
}

function cD(t, e) {
  var r = e.ref;
  (t === null && r !== null || t !== null && t.ref !== r) && (e.flags |= 512, e.flags |= 2097152)
}

function H0(t, e, r, n, i) {
  var s = Rt(r) ? vi : wt.current;
  return s = gs(e, s), cs(e, i), r = c1(t, e, r, n, s, i), n = d1(), t !== null && !Nt ? (e.updateQueue = t.updateQueue, e.flags &= -2053, t.lanes &= ~i, rn(t, e, i)) : (Te && n && XC(e), e.flags |= 1, xt(t, e, r, i), e.child)
}

function fv(t, e, r, n, i) {
  if (Rt(r)) {
    var s = !0;
    Zu(e)
  } else s = !1;
  if (cs(e, i), e.stateNode === null) Eu(t, e), sD(e, r, n), W0(e, r, n, i), n = !0;
  else if (t === null) {
    var o = e.stateNode,
      a = e.memoizedProps;
    o.props = a;
    var l = o.context,
      u = r.contextType;
    typeof u == "object" && u !== null ? u = lr(u) : (u = Rt(r) ? vi : wt.current, u = gs(e, u));
    var c = r.getDerivedStateFromProps,
      d = typeof c == "function" || typeof o.getSnapshotBeforeUpdate == "function";
    d || typeof o.UNSAFE_componentWillReceiveProps != "function" && typeof o.componentWillReceiveProps != "function" || (a !== n || l !== u) && ov(e, o, n, u), gn = !1;
    var f = e.memoizedState;
    o.state = f, ic(e, n, o, i), l = e.memoizedState, a !== n || f !== l || Tt.current || gn ? (typeof c == "function" && (z0(e, r, c, n), l = e.memoizedState), (a = gn || sv(e, r, a, n, f, l, u)) ? (d || typeof o.UNSAFE_componentWillMount != "function" && typeof o.componentWillMount != "function" || (typeof o.componentWillMount == "function" && o.componentWillMount(), typeof o.UNSAFE_componentWillMount == "function" && o.UNSAFE_componentWillMount()), typeof o.componentDidMount == "function" && (e.flags |= 4194308)) : (typeof o.componentDidMount == "function" && (e.flags |= 4194308), e.memoizedProps = n, e.memoizedState = l), o.props = n, o.state = l, o.context = u, n = a) : (typeof o.componentDidMount == "function" && (e.flags |= 4194308), n = !1)
  } else {
    o = e.stateNode, M6(t, e), a = e.memoizedProps, u = e.type === e.elementType ? a : pr(e.type, a), o.props = u, d = e.pendingProps, f = o.context, l = r.contextType, typeof l == "object" && l !== null ? l = lr(l) : (l = Rt(r) ? vi : wt.current, l = gs(e, l));
    var B = r.getDerivedStateFromProps;
    (c = typeof B == "function" || typeof o.getSnapshotBeforeUpdate == "function") || typeof o.UNSAFE_componentWillReceiveProps != "function" && typeof o.componentWillReceiveProps != "function" || (a !== d || f !== l) && ov(e, o, n, l), gn = !1, f = e.memoizedState, o.state = f, ic(e, n, o, i);
    var h = e.memoizedState;
    a !== d || f !== h || Tt.current || gn ? (typeof B == "function" && (z0(e, r, B, n), h = e.memoizedState), (u = gn || sv(e, r, u, n, f, h, l) || !1) ? (c || typeof o.UNSAFE_componentWillUpdate != "function" && typeof o.componentWillUpdate != "function" || (typeof o.componentWillUpdate == "function" && o.componentWillUpdate(n, h, l), typeof o.UNSAFE_componentWillUpdate == "function" && o.UNSAFE_componentWillUpdate(n, h, l)), typeof o.componentDidUpdate == "function" && (e.flags |= 4), typeof o.getSnapshotBeforeUpdate == "function" && (e.flags |= 1024)) : (typeof o.componentDidUpdate != "function" || a === t.memoizedProps && f === t.memoizedState || (e.flags |= 4), typeof o.getSnapshotBeforeUpdate != "function" || a === t.memoizedProps && f === t.memoizedState || (e.flags |= 1024), e.memoizedProps = n, e.memoizedState = h), o.props = n, o.state = h, o.context = l, n = u) : (typeof o.componentDidUpdate != "function" || a === t.memoizedProps && f === t.memoizedState || (e.flags |= 4), typeof o.getSnapshotBeforeUpdate != "function" || a === t.memoizedProps && f === t.memoizedState || (e.flags |= 1024), n = !1)
  }
  return G0(t, e, r, n, s, i)
}

function G0(t, e, r, n, i, s) {
  cD(t, e);
  var o = (e.flags & 128) !== 0;
  if (!n && !o) return i && Yg(e, r, !1), rn(t, e, s);
  n = e.stateNode, Kk.current = e;
  var a = o && typeof r.getDerivedStateFromError != "function" ? null : n.render();
  return e.flags |= 1, t !== null && o ? (e.child = ys(e, t.child, null, s), e.child = ys(e, null, a, s)) : xt(t, e, a, s), e.memoizedState = n.state, i && Yg(e, r, !0), e.child
}

function dD(t) {
  var e = t.stateNode;
  e.pendingContext ? Jg(t, e.pendingContext, e.pendingContext !== e.context) : e.context && Jg(t, e.context, !1), o1(t, e.containerInfo)
}

function Bv(t, e, r, n, i) {
  return vs(), e1(i), e.flags |= 256, xt(t, e, r, n), e.child
}
var q0 = {
  dehydrated: null,
  treeContext: null,
  retryLane: 0
};

function V0(t) {
  return {
    baseLanes: t,
    cachePool: null,
    transitions: null
  }
}

function fD(t, e, r) {
  var n = e.pendingProps,
    i = Fe.current,
    s = !1,
    o = (e.flags & 128) !== 0,
    a;
  if ((a = o) || (a = t !== null && t.memoizedState === null ? !1 : (i & 2) !== 0), a ? (s = !0, e.flags &= -129) : (t === null || t.memoizedState !== null) && (i |= 1), _e(Fe, i & 1), t === null) return L0(e), t = e.memoizedState, t !== null && (t = t.dehydrated, t !== null) ? (e.mode & 1 ? t.data === "$!" ? e.lanes = 8 : e.lanes = 1073741824 : e.lanes = 1, null) : (o = n.children, t = n.fallback, s ? (n = e.mode, s = e.child, o = {
    mode: "hidden",
    children: o
  }, !(n & 1) && s !== null ? (s.childLanes = 0, s.pendingProps = o) : s = nd(o, n, 0, null), t = Ci(t, n, r, null), s.return = e, t.return = e, s.sibling = t, e.child = s, e.child.memoizedState = V0(r), e.memoizedState = q0, t) : h1(e, o));
  if (i = t.memoizedState, i !== null && (a = i.dehydrated, a !== null)) return Qk(t, e, o, n, a, i, r);
  if (s) {
    s = n.fallback, o = e.mode, i = t.child, a = i.sibling;
    var l = {
      mode: "hidden",
      children: n.children
    };
    return !(o & 1) && e.child !== i ? (n = e.child, n.childLanes = 0, n.pendingProps = l, e.deletions = null) : (n = Rn(i, l), n.subtreeFlags = i.subtreeFlags & 14680064), a !== null ? s = Rn(a, s) : (s = Ci(s, o, r, null), s.flags |= 2), s.return = e, n.return = e, n.sibling = s, e.child = n, n = s, s = e.child, o = t.child.memoizedState, o = o === null ? V0(r) : {
      baseLanes: o.baseLanes | r,
      cachePool: null,
      transitions: o.transitions
    }, s.memoizedState = o, s.childLanes = t.childLanes & ~r, e.memoizedState = q0, n
  }
  return s = t.child, t = s.sibling, n = Rn(s, {
    mode: "visible",
    children: n.children
  }), !(e.mode & 1) && (n.lanes = r), n.return = e, n.sibling = null, t !== null && (r = e.deletions, r === null ? (e.deletions = [t], e.flags |= 16) : r.push(t)), e.child = n, e.memoizedState = null, n
}

function h1(t, e) {
  return e = nd({
    mode: "visible",
    children: e
  }, t.mode, 0, null), e.return = t, t.child = e
}

function Nl(t, e, r, n) {
  return n !== null && e1(n), ys(e, t.child, null, r), t = h1(e, e.pendingProps.children), t.flags |= 2, e.memoizedState = null, t
}

function Qk(t, e, r, n, i, s, o) {
  if (r) return e.flags & 256 ? (e.flags &= -257, n = _f(Error(R(422))), Nl(t, e, o, n)) : e.memoizedState !== null ? (e.child = t.child, e.flags |= 128, null) : (s = n.fallback, i = e.mode, n = nd({
    mode: "visible",
    children: n.children
  }, i, 0, null), s = Ci(s, i, o, null), s.flags |= 2, n.return = e, s.return = e, n.sibling = s, e.child = n, e.mode & 1 && ys(e, t.child, null, o), e.child.memoizedState = V0(o), e.memoizedState = q0, s);
  if (!(e.mode & 1)) return Nl(t, e, o, null);
  if (i.data === "$!") {
    if (n = i.nextSibling && i.nextSibling.dataset, n) var a = n.dgst;
    return n = a, s = Error(R(419)), n = _f(s, n, void 0), Nl(t, e, o, n)
  }
  if (a = (o & t.childLanes) !== 0, Nt || a) {
    if (n = lt, n !== null) {
      switch (o & -o) {
        case 4:
          i = 2;
          break;
        case 16:
          i = 8;
          break;
        case 64:
        case 128:
        case 256:
        case 512:
        case 1024:
        case 2048:
        case 4096:
        case 8192:
        case 16384:
        case 32768:
        case 65536:
        case 131072:
        case 262144:
        case 524288:
        case 1048576:
        case 2097152:
        case 4194304:
        case 8388608:
        case 16777216:
        case 33554432:
        case 67108864:
          i = 32;
          break;
        case 536870912:
          i = 268435456;
          break;
        default:
          i = 0
      }
      i = i & (n.suspendedLanes | o) ? 0 : i, i !== 0 && i !== s.retryLane && (s.retryLane = i, tn(t, i), Dr(n, t, i, -1))
    }
    return y1(), n = _f(Error(R(421))), Nl(t, e, o, n)
  }
  return i.data === "$?" ? (e.flags |= 128, e.child = t.child, e = lj.bind(null, t), i._reactRetry = e, null) : (t = s.treeContext, $t = On(i.nextSibling), qt = e, Te = !0, mr = null, t !== null && (rr[nr++] = Kr, rr[nr++] = Qr, rr[nr++] = yi, Kr = t.id, Qr = t.overflow, yi = e), e = h1(e, n.children), e.flags |= 4096, e)
}

function hv(t, e, r) {
  t.lanes |= e;
  var n = t.alternate;
  n !== null && (n.lanes |= e), U0(t.return, e, r)
}

function Of(t, e, r, n, i) {
  var s = t.memoizedState;
  s === null ? t.memoizedState = {
    isBackwards: e,
    rendering: null,
    renderingStartTime: 0,
    last: n,
    tail: r,
    tailMode: i
  } : (s.isBackwards = e, s.rendering = null, s.renderingStartTime = 0, s.last = n, s.tail = r, s.tailMode = i)
}

function BD(t, e, r) {
  var n = e.pendingProps,
    i = n.revealOrder,
    s = n.tail;
  if (xt(t, e, n.children, r), n = Fe.current, n & 2) n = n & 1 | 2, e.flags |= 128;
  else {
    if (t !== null && t.flags & 128) e: for (t = e.child; t !== null;) {
      if (t.tag === 13) t.memoizedState !== null && hv(t, r, e);
      else if (t.tag === 19) hv(t, r, e);
      else if (t.child !== null) {
        t.child.return = t, t = t.child;
        continue
      }
      if (t === e) break e;
      for (; t.sibling === null;) {
        if (t.return === null || t.return === e) break e;
        t = t.return
      }
      t.sibling.return = t.return, t = t.sibling
    }
    n &= 1
  }
  if (_e(Fe, n), !(e.mode & 1)) e.memoizedState = null;
  else switch (i) {
    case "forwards":
      for (r = e.child, i = null; r !== null;) t = r.alternate, t !== null && sc(t) === null && (i = r), r = r.sibling;
      r = i, r === null ? (i = e.child, e.child = null) : (i = r.sibling, r.sibling = null), Of(e, !1, i, r, s);
      break;
    case "backwards":
      for (r = null, i = e.child, e.child = null; i !== null;) {
        if (t = i.alternate, t !== null && sc(t) === null) {
          e.child = i;
          break
        }
        t = i.sibling, i.sibling = r, r = i, i = t
      }
      Of(e, !0, r, null, s);
      break;
    case "together":
      Of(e, !1, null, null, void 0);
      break;
    default:
      e.memoizedState = null
  }
  return e.child
}

function Eu(t, e) {
  !(e.mode & 1) && t !== null && (t.alternate = null, e.alternate = null, e.flags |= 2)
}

function rn(t, e, r) {
  if (t !== null && (e.dependencies = t.dependencies), bi |= e.lanes, !(r & e.childLanes)) return null;
  if (t !== null && e.child !== t.child) throw Error(R(153));
  if (e.child !== null) {
    for (t = e.child, r = Rn(t, t.pendingProps), e.child = r, r.return = e; t.sibling !== null;) t = t.sibling, r = r.sibling = Rn(t, t.pendingProps), r.return = e;
    r.sibling = null
  }
  return e.child
}

function Jk(t, e, r) {
  switch (e.tag) {
    case 3:
      dD(e), vs();
      break;
    case 5:
      L6(e);
      break;
    case 1:
      Rt(e.type) && Zu(e);
      break;
    case 4:
      o1(e, e.stateNode.containerInfo);
      break;
    case 10:
      var n = e.type._context,
        i = e.memoizedProps.value;
      _e(rc, n._currentValue), n._currentValue = i;
      break;
    case 13:
      if (n = e.memoizedState, n !== null) return n.dehydrated !== null ? (_e(Fe, Fe.current & 1), e.flags |= 128, null) : r & e.child.childLanes ? fD(t, e, r) : (_e(Fe, Fe.current & 1), t = rn(t, e, r), t !== null ? t.sibling : null);
      _e(Fe, Fe.current & 1);
      break;
    case 19:
      if (n = (r & e.childLanes) !== 0, t.flags & 128) {
        if (n) return BD(t, e, r);
        e.flags |= 128
      }
      if (i = e.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), _e(Fe, Fe.current), n) break;
      return null;
    case 22:
    case 23:
      return e.lanes = 0, uD(t, e, r)
  }
  return rn(t, e, r)
}
var hD, K0, pD, CD;
hD = function (t, e) {
  for (var r = e.child; r !== null;) {
    if (r.tag === 5 || r.tag === 6) t.appendChild(r.stateNode);
    else if (r.tag !== 4 && r.child !== null) {
      r.child.return = r, r = r.child;
      continue
    }
    if (r === e) break;
    for (; r.sibling === null;) {
      if (r.return === null || r.return === e) return;
      r = r.return
    }
    r.sibling.return = r.return, r = r.sibling
  }
};
K0 = function () {};
pD = function (t, e, r, n) {
  var i = t.memoizedProps;
  if (i !== n) {
    t = e.stateNode, ci(Fr.current);
    var s = null;
    switch (r) {
      case "input":
        i = C0(t, i), n = C0(t, n), s = [];
        break;
      case "select":
        i = Ue({}, i, {
          value: void 0
        }), n = Ue({}, n, {
          value: void 0
        }), s = [];
        break;
      case "textarea":
        i = v0(t, i), n = v0(t, n), s = [];
        break;
      default:
        typeof i.onClick != "function" && typeof n.onClick == "function" && (t.onclick = Yu)
    }
    w0(r, n);
    var o;
    r = null;
    for (u in i)
      if (!n.hasOwnProperty(u) && i.hasOwnProperty(u) && i[u] != null)
        if (u === "style") {
          var a = i[u];
          for (o in a) a.hasOwnProperty(o) && (r || (r = {}), r[o] = "")
        } else u !== "dangerouslySetInnerHTML" && u !== "children" && u !== "suppressContentEditableWarning" && u !== "suppressHydrationWarning" && u !== "autoFocus" && (Wo.hasOwnProperty(u) ? s || (s = []) : (s = s || []).push(u, null));
    for (u in n) {
      var l = n[u];
      if (a = i != null ? i[u] : void 0, n.hasOwnProperty(u) && l !== a && (l != null || a != null))
        if (u === "style")
          if (a) {
            for (o in a) !a.hasOwnProperty(o) || l && l.hasOwnProperty(o) || (r || (r = {}), r[o] = "");
            for (o in l) l.hasOwnProperty(o) && a[o] !== l[o] && (r || (r = {}), r[o] = l[o])
          } else r || (s || (s = []), s.push(u, r)), r = l;
      else u === "dangerouslySetInnerHTML" ? (l = l ? l.__html : void 0, a = a ? a.__html : void 0, l != null && a !== l && (s = s || []).push(u, l)) : u === "children" ? typeof l != "string" && typeof l != "number" || (s = s || []).push(u, "" + l) : u !== "suppressContentEditableWarning" && u !== "suppressHydrationWarning" && (Wo.hasOwnProperty(u) ? (l != null && u === "onScroll" && Ie("scroll", t), s || a === l || (s = [])) : (s = s || []).push(u, l))
    }
    r && (s = s || []).push("style", r);
    var u = s;
    (e.updateQueue = u) && (e.flags |= 4)
  }
};
CD = function (t, e, r, n) {
  r !== n && (e.flags |= 4)
};

function oo(t, e) {
  if (!Te) switch (t.tailMode) {
    case "hidden":
      e = t.tail;
      for (var r = null; e !== null;) e.alternate !== null && (r = e), e = e.sibling;
      r === null ? t.tail = null : r.sibling = null;
      break;
    case "collapsed":
      r = t.tail;
      for (var n = null; r !== null;) r.alternate !== null && (n = r), r = r.sibling;
      n === null ? e || t.tail === null ? t.tail = null : t.tail.sibling = null : n.sibling = null
  }
}

function Ct(t) {
  var e = t.alternate !== null && t.alternate.child === t.child,
    r = 0,
    n = 0;
  if (e)
    for (var i = t.child; i !== null;) r |= i.lanes | i.childLanes, n |= i.subtreeFlags & 14680064, n |= i.flags & 14680064, i.return = t, i = i.sibling;
  else
    for (i = t.child; i !== null;) r |= i.lanes | i.childLanes, n |= i.subtreeFlags, n |= i.flags, i.return = t, i = i.sibling;
  return t.subtreeFlags |= n, t.childLanes = r, e
}

function Yk(t, e, r) {
  var n = e.pendingProps;
  switch (ZC(e), e.tag) {
    case 2:
    case 16:
    case 15:
    case 0:
    case 11:
    case 7:
    case 8:
    case 12:
    case 9:
    case 14:
      return Ct(e), null;
    case 1:
      return Rt(e.type) && Xu(), Ct(e), null;
    case 3:
      return n = e.stateNode, ws(), Ne(Tt), Ne(wt), l1(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (t === null || t.child === null) && (Ol(e) ? e.flags |= 4 : t === null || t.memoizedState.isDehydrated && !(e.flags & 256) || (e.flags |= 1024, mr !== null && (rp(mr), mr = null))), K0(t, e), Ct(e), null;
    case 5:
      a1(e);
      var i = ci(ea.current);
      if (r = e.type, t !== null && e.stateNode != null) pD(t, e, r, n, i), t.ref !== e.ref && (e.flags |= 512, e.flags |= 2097152);
      else {
        if (!n) {
          if (e.stateNode === null) throw Error(R(166));
          return Ct(e), null
        }
        if (t = ci(Fr.current), Ol(e)) {
          n = e.stateNode, r = e.type;
          var s = e.memoizedProps;
          switch (n[Nr] = e, n[Xo] = s, t = (e.mode & 1) !== 0, r) {
            case "dialog":
              Ie("cancel", n), Ie("close", n);
              break;
            case "iframe":
            case "object":
            case "embed":
              Ie("load", n);
              break;
            case "video":
            case "audio":
              for (i = 0; i < Do.length; i++) Ie(Do[i], n);
              break;
            case "source":
              Ie("error", n);
              break;
            case "img":
            case "image":
            case "link":
              Ie("error", n), Ie("load", n);
              break;
            case "details":
              Ie("toggle", n);
              break;
            case "input":
              Dg(n, s), Ie("invalid", n);
              break;
            case "select":
              n._wrapperState = {
                wasMultiple: !!s.multiple
              }, Ie("invalid", n);
              break;
            case "textarea":
              Eg(n, s), Ie("invalid", n)
          }
          w0(r, s), i = null;
          for (var o in s)
            if (s.hasOwnProperty(o)) {
              var a = s[o];
              o === "children" ? typeof a == "string" ? n.textContent !== a && (s.suppressHydrationWarning !== !0 && _l(n.textContent, a, t), i = ["children", a]) : typeof a == "number" && n.textContent !== "" + a && (s.suppressHydrationWarning !== !0 && _l(n.textContent, a, t), i = ["children", "" + a]) : Wo.hasOwnProperty(o) && a != null && o === "onScroll" && Ie("scroll", n)
            } switch (r) {
            case "input":
              Dl(n), xg(n, s, !0);
              break;
            case "textarea":
              Dl(n), Sg(n);
              break;
            case "select":
            case "option":
              break;
            default:
              typeof s.onClick == "function" && (n.onclick = Yu)
          }
          n = i, e.updateQueue = n, n !== null && (e.flags |= 4)
        } else {
          o = i.nodeType === 9 ? i : i.ownerDocument, t === "http://www.w3.org/1999/xhtml" && (t = H3(r)), t === "http://www.w3.org/1999/xhtml" ? r === "script" ? (t = o.createElement("div"), t.innerHTML = "<script><\/script>", t = t.removeChild(t.firstChild)) : typeof n.is == "string" ? t = o.createElement(r, {
            is: n.is
          }) : (t = o.createElement(r), r === "select" && (o = t, n.multiple ? o.multiple = !0 : n.size && (o.size = n.size))) : t = o.createElementNS(t, r), t[Nr] = e, t[Xo] = n, hD(t, e, !1, !1), e.stateNode = t;
          e: {
            switch (o = b0(r, n), r) {
              case "dialog":
                Ie("cancel", t), Ie("close", t), i = n;
                break;
              case "iframe":
              case "object":
              case "embed":
                Ie("load", t), i = n;
                break;
              case "video":
              case "audio":
                for (i = 0; i < Do.length; i++) Ie(Do[i], t);
                i = n;
                break;
              case "source":
                Ie("error", t), i = n;
                break;
              case "img":
              case "image":
              case "link":
                Ie("error", t), Ie("load", t), i = n;
                break;
              case "details":
                Ie("toggle", t), i = n;
                break;
              case "input":
                Dg(t, n), i = C0(t, n), Ie("invalid", t);
                break;
              case "option":
                i = n;
                break;
              case "select":
                t._wrapperState = {
                  wasMultiple: !!n.multiple
                }, i = Ue({}, n, {
                  value: void 0
                }), Ie("invalid", t);
                break;
              case "textarea":
                Eg(t, n), i = v0(t, n), Ie("invalid", t);
                break;
              default:
                i = n
            }
            w0(r, i),
            a = i;
            for (s in a)
              if (a.hasOwnProperty(s)) {
                var l = a[s];
                s === "style" ? V3(t, l) : s === "dangerouslySetInnerHTML" ? (l = l ? l.__html : void 0, l != null && G3(t, l)) : s === "children" ? typeof l == "string" ? (r !== "textarea" || l !== "") && $o(t, l) : typeof l == "number" && $o(t, "" + l) : s !== "suppressContentEditableWarning" && s !== "suppressHydrationWarning" && s !== "autoFocus" && (Wo.hasOwnProperty(s) ? l != null && s === "onScroll" && Ie("scroll", t) : l != null && MC(t, s, l, o))
              } switch (r) {
              case "input":
                Dl(t), xg(t, n, !1);
                break;
              case "textarea":
                Dl(t), Sg(t);
                break;
              case "option":
                n.value != null && t.setAttribute("value", "" + Ln(n.value));
                break;
              case "select":
                t.multiple = !!n.multiple, s = n.value, s != null ? os(t, !!n.multiple, s, !1) : n.defaultValue != null && os(t, !!n.multiple, n.defaultValue, !0);
                break;
              default:
                typeof i.onClick == "function" && (t.onclick = Yu)
            }
            switch (r) {
              case "button":
              case "input":
              case "select":
              case "textarea":
                n = !!n.autoFocus;
                break e;
              case "img":
                n = !0;
                break e;
              default:
                n = !1
            }
          }
          n && (e.flags |= 4)
        }
        e.ref !== null && (e.flags |= 512, e.flags |= 2097152)
      }
      return Ct(e), null;
    case 6:
      if (t && e.stateNode != null) CD(t, e, t.memoizedProps, n);
      else {
        if (typeof n != "string" && e.stateNode === null) throw Error(R(166));
        if (r = ci(ea.current), ci(Fr.current), Ol(e)) {
          if (n = e.stateNode, r = e.memoizedProps, n[Nr] = e, (s = n.nodeValue !== r) && (t = qt, t !== null)) switch (t.tag) {
            case 3:
              _l(n.nodeValue, r, (t.mode & 1) !== 0);
              break;
            case 5:
              t.memoizedProps.suppressHydrationWarning !== !0 && _l(n.nodeValue, r, (t.mode & 1) !== 0)
          }
          s && (e.flags |= 4)
        } else n = (r.nodeType === 9 ? r : r.ownerDocument).createTextNode(n), n[Nr] = e, e.stateNode = n
      }
      return Ct(e), null;
    case 13:
      if (Ne(Fe), n = e.memoizedState, t === null || t.memoizedState !== null && t.memoizedState.dehydrated !== null) {
        if (Te && $t !== null && e.mode & 1 && !(e.flags & 128)) N6(), vs(), e.flags |= 98560, s = !1;
        else if (s = Ol(e), n !== null && n.dehydrated !== null) {
          if (t === null) {
            if (!s) throw Error(R(318));
            if (s = e.memoizedState, s = s !== null ? s.dehydrated : null, !s) throw Error(R(317));
            s[Nr] = e
          } else vs(), !(e.flags & 128) && (e.memoizedState = null), e.flags |= 4;
          Ct(e), s = !1
        } else mr !== null && (rp(mr), mr = null), s = !0;
        if (!s) return e.flags & 65536 ? e : null
      }
      return e.flags & 128 ? (e.lanes = r, e) : (n = n !== null, n !== (t !== null && t.memoizedState !== null) && n && (e.child.flags |= 8192, e.mode & 1 && (t === null || Fe.current & 1 ? rt === 0 && (rt = 3) : y1())), e.updateQueue !== null && (e.flags |= 4), Ct(e), null);
    case 4:
      return ws(), K0(t, e), t === null && Jo(e.stateNode.containerInfo), Ct(e), null;
    case 10:
      return n1(e.type._context), Ct(e), null;
    case 17:
      return Rt(e.type) && Xu(), Ct(e), null;
    case 19:
      if (Ne(Fe), s = e.memoizedState, s === null) return Ct(e), null;
      if (n = (e.flags & 128) !== 0, o = s.rendering, o === null)
        if (n) oo(s, !1);
        else {
          if (rt !== 0 || t !== null && t.flags & 128)
            for (t = e.child; t !== null;) {
              if (o = sc(t), o !== null) {
                for (e.flags |= 128, oo(s, !1), n = o.updateQueue, n !== null && (e.updateQueue = n, e.flags |= 4), e.subtreeFlags = 0, n = r, r = e.child; r !== null;) s = r, t = n, s.flags &= 14680066, o = s.alternate, o === null ? (s.childLanes = 0, s.lanes = t, s.child = null, s.subtreeFlags = 0, s.memoizedProps = null, s.memoizedState = null, s.updateQueue = null, s.dependencies = null, s.stateNode = null) : (s.childLanes = o.childLanes, s.lanes = o.lanes, s.child = o.child, s.subtreeFlags = 0, s.deletions = null, s.memoizedProps = o.memoizedProps, s.memoizedState = o.memoizedState, s.updateQueue = o.updateQueue, s.type = o.type, t = o.dependencies, s.dependencies = t === null ? null : {
                  lanes: t.lanes,
                  firstContext: t.firstContext
                }), r = r.sibling;
                return _e(Fe, Fe.current & 1 | 2), e.child
              }
              t = t.sibling
            }
          s.tail !== null && Ge() > Ds && (e.flags |= 128, n = !0, oo(s, !1), e.lanes = 4194304)
        }
      else {
        if (!n)
          if (t = sc(o), t !== null) {
            if (e.flags |= 128, n = !0, r = t.updateQueue, r !== null && (e.updateQueue = r, e.flags |= 4), oo(s, !0), s.tail === null && s.tailMode === "hidden" && !o.alternate && !Te) return Ct(e), null
          } else 2 * Ge() - s.renderingStartTime > Ds && r !== 1073741824 && (e.flags |= 128, n = !0, oo(s, !1), e.lanes = 4194304);
        s.isBackwards ? (o.sibling = e.child, e.child = o) : (r = s.last, r !== null ? r.sibling = o : e.child = o, s.last = o)
      }
      return s.tail !== null ? (e = s.tail, s.rendering = e, s.tail = e.sibling, s.renderingStartTime = Ge(), e.sibling = null, r = Fe.current, _e(Fe, n ? r & 1 | 2 : r & 1), e) : (Ct(e), null);
    case 22:
    case 23:
      return v1(), n = e.memoizedState !== null, t !== null && t.memoizedState !== null !== n && (e.flags |= 8192), n && e.mode & 1 ? Wt & 1073741824 && (Ct(e), e.subtreeFlags & 6 && (e.flags |= 8192)) : Ct(e), null;
    case 24:
      return null;
    case 25:
      return null
  }
  throw Error(R(156, e.tag))
}

function Xk(t, e) {
  switch (ZC(e), e.tag) {
    case 1:
      return Rt(e.type) && Xu(), t = e.flags, t & 65536 ? (e.flags = t & -65537 | 128, e) : null;
    case 3:
      return ws(), Ne(Tt), Ne(wt), l1(), t = e.flags, t & 65536 && !(t & 128) ? (e.flags = t & -65537 | 128, e) : null;
    case 5:
      return a1(e), null;
    case 13:
      if (Ne(Fe), t = e.memoizedState, t !== null && t.dehydrated !== null) {
        if (e.alternate === null) throw Error(R(340));
        vs()
      }
      return t = e.flags, t & 65536 ? (e.flags = t & -65537 | 128, e) : null;
    case 19:
      return Ne(Fe), null;
    case 4:
      return ws(), null;
    case 10:
      return n1(e.type._context), null;
    case 22:
    case 23:
      return v1(), null;
    case 24:
      return null;
    default:
      return null
  }
}
var Tl = !1,
  gt = !1,
  Zk = typeof WeakSet == "function" ? WeakSet : Set,
  q = null;

function ns(t, e) {
  var r = t.ref;
  if (r !== null)
    if (typeof r == "function") try {
      r(null)
    } catch (n) {
      ze(t, e, n)
    } else r.current = null
}

function Q0(t, e, r) {
  try {
    r()
  } catch (n) {
    ze(t, e, n)
  }
}
var pv = !1;

function ej(t, e) {
  if (O0 = Ku, t = w6(), YC(t)) {
    if ("selectionStart" in t) var r = {
      start: t.selectionStart,
      end: t.selectionEnd
    };
    else e: {
      r = (r = t.ownerDocument) && r.defaultView || window;
      var n = r.getSelection && r.getSelection();
      if (n && n.rangeCount !== 0) {
        r = n.anchorNode;
        var i = n.anchorOffset,
          s = n.focusNode;
        n = n.focusOffset;
        try {
          r.nodeType, s.nodeType
        } catch {
          r = null;
          break e
        }
        var o = 0,
          a = -1,
          l = -1,
          u = 0,
          c = 0,
          d = t,
          f = null;
        t: for (;;) {
          for (var B; d !== r || i !== 0 && d.nodeType !== 3 || (a = o + i), d !== s || n !== 0 && d.nodeType !== 3 || (l = o + n), d.nodeType === 3 && (o += d.nodeValue.length), (B = d.firstChild) !== null;) f = d, d = B;
          for (;;) {
            if (d === t) break t;
            if (f === r && ++u === i && (a = o), f === s && ++c === n && (l = o), (B = d.nextSibling) !== null) break;
            d = f, f = d.parentNode
          }
          d = B
        }
        r = a === -1 || l === -1 ? null : {
          start: a,
          end: l
        }
      } else r = null
    }
    r = r || {
      start: 0,
      end: 0
    }
  } else r = null;
  for (I0 = {
      focusedElem: t,
      selectionRange: r
    }, Ku = !1, q = e; q !== null;)
    if (e = q, t = e.child, (e.subtreeFlags & 1028) !== 0 && t !== null) t.return = e, q = t;
    else
      for (; q !== null;) {
        e = q;
        try {
          var h = e.alternate;
          if (e.flags & 1024) switch (e.tag) {
            case 0:
            case 11:
            case 15:
              break;
            case 1:
              if (h !== null) {
                var g = h.memoizedProps,
                  y = h.memoizedState,
                  m = e.stateNode,
                  p = m.getSnapshotBeforeUpdate(e.elementType === e.type ? g : pr(e.type, g), y);
                m.__reactInternalSnapshotBeforeUpdate = p
              }
              break;
            case 3:
              var v = e.stateNode.containerInfo;
              v.nodeType === 1 ? v.textContent = "" : v.nodeType === 9 && v.documentElement && v.removeChild(v.documentElement);
              break;
            case 5:
            case 6:
            case 4:
            case 17:
              break;
            default:
              throw Error(R(163))
          }
        } catch (w) {
          ze(e, e.return, w)
        }
        if (t = e.sibling, t !== null) {
          t.return = e.return, q = t;
          break
        }
        q = e.return
      }
  return h = pv, pv = !1, h
}

function Ro(t, e, r) {
  var n = e.updateQueue;
  if (n = n !== null ? n.lastEffect : null, n !== null) {
    var i = n = n.next;
    do {
      if ((i.tag & t) === t) {
        var s = i.destroy;
        i.destroy = void 0, s !== void 0 && Q0(e, r, s)
      }
      i = i.next
    } while (i !== n)
  }
}

function td(t, e) {
  if (e = e.updateQueue, e = e !== null ? e.lastEffect : null, e !== null) {
    var r = e = e.next;
    do {
      if ((r.tag & t) === t) {
        var n = r.create;
        r.destroy = n()
      }
      r = r.next
    } while (r !== e)
  }
}

function J0(t) {
  var e = t.ref;
  if (e !== null) {
    var r = t.stateNode;
    switch (t.tag) {
      case 5:
        t = r;
        break;
      default:
        t = r
    }
    typeof e == "function" ? e(t) : e.current = t
  }
}

function mD(t) {
  var e = t.alternate;
  e !== null && (t.alternate = null, mD(e)), t.child = null, t.deletions = null, t.sibling = null, t.tag === 5 && (e = t.stateNode, e !== null && (delete e[Nr], delete e[Xo], delete e[R0], delete e[Rk], delete e[Fk])), t.stateNode = null, t.return = null, t.dependencies = null, t.memoizedProps = null, t.memoizedState = null, t.pendingProps = null, t.stateNode = null, t.updateQueue = null
}

function gD(t) {
  return t.tag === 5 || t.tag === 3 || t.tag === 4
}

function Cv(t) {
  e: for (;;) {
    for (; t.sibling === null;) {
      if (t.return === null || gD(t.return)) return null;
      t = t.return
    }
    for (t.sibling.return = t.return, t = t.sibling; t.tag !== 5 && t.tag !== 6 && t.tag !== 18;) {
      if (t.flags & 2 || t.child === null || t.tag === 4) continue e;
      t.child.return = t, t = t.child
    }
    if (!(t.flags & 2)) return t.stateNode
  }
}

function Y0(t, e, r) {
  var n = t.tag;
  if (n === 5 || n === 6) t = t.stateNode, e ? r.nodeType === 8 ? r.parentNode.insertBefore(t, e) : r.insertBefore(t, e) : (r.nodeType === 8 ? (e = r.parentNode, e.insertBefore(t, r)) : (e = r, e.appendChild(t)), r = r._reactRootContainer, r != null || e.onclick !== null || (e.onclick = Yu));
  else if (n !== 4 && (t = t.child, t !== null))
    for (Y0(t, e, r), t = t.sibling; t !== null;) Y0(t, e, r), t = t.sibling
}

function X0(t, e, r) {
  var n = t.tag;
  if (n === 5 || n === 6) t = t.stateNode, e ? r.insertBefore(t, e) : r.appendChild(t);
  else if (n !== 4 && (t = t.child, t !== null))
    for (X0(t, e, r), t = t.sibling; t !== null;) X0(t, e, r), t = t.sibling
}
var ct = null,
  Cr = !1;

function dn(t, e, r) {
  for (r = r.child; r !== null;) vD(t, e, r), r = r.sibling
}

function vD(t, e, r) {
  if (Rr && typeof Rr.onCommitFiberUnmount == "function") try {
    Rr.onCommitFiberUnmount(Vc, r)
  } catch {}
  switch (r.tag) {
    case 5:
      gt || ns(r, e);
    case 6:
      var n = ct,
        i = Cr;
      ct = null, dn(t, e, r), ct = n, Cr = i, ct !== null && (Cr ? (t = ct, r = r.stateNode, t.nodeType === 8 ? t.parentNode.removeChild(r) : t.removeChild(r)) : ct.removeChild(r.stateNode));
      break;
    case 18:
      ct !== null && (Cr ? (t = ct, r = r.stateNode, t.nodeType === 8 ? Ef(t.parentNode, r) : t.nodeType === 1 && Ef(t, r), Vo(t)) : Ef(ct, r.stateNode));
      break;
    case 4:
      n = ct, i = Cr, ct = r.stateNode.containerInfo, Cr = !0, dn(t, e, r), ct = n, Cr = i;
      break;
    case 0:
    case 11:
    case 14:
    case 15:
      if (!gt && (n = r.updateQueue, n !== null && (n = n.lastEffect, n !== null))) {
        i = n = n.next;
        do {
          var s = i,
            o = s.destroy;
          s = s.tag, o !== void 0 && (s & 2 || s & 4) && Q0(r, e, o), i = i.next
        } while (i !== n)
      }
      dn(t, e, r);
      break;
    case 1:
      if (!gt && (ns(r, e), n = r.stateNode, typeof n.componentWillUnmount == "function")) try {
        n.props = r.memoizedProps, n.state = r.memoizedState, n.componentWillUnmount()
      } catch (a) {
        ze(r, e, a)
      }
      dn(t, e, r);
      break;
    case 21:
      dn(t, e, r);
      break;
    case 22:
      r.mode & 1 ? (gt = (n = gt) || r.memoizedState !== null, dn(t, e, r), gt = n) : dn(t, e, r);
      break;
    default:
      dn(t, e, r)
  }
}

function mv(t) {
  var e = t.updateQueue;
  if (e !== null) {
    t.updateQueue = null;
    var r = t.stateNode;
    r === null && (r = t.stateNode = new Zk), e.forEach(function (n) {
      var i = uj.bind(null, t, n);
      r.has(n) || (r.add(n), n.then(i, i))
    })
  }
}

function Br(t, e) {
  var r = e.deletions;
  if (r !== null)
    for (var n = 0; n < r.length; n++) {
      var i = r[n];
      try {
        var s = t,
          o = e,
          a = o;
        e: for (; a !== null;) {
          switch (a.tag) {
            case 5:
              ct = a.stateNode, Cr = !1;
              break e;
            case 3:
              ct = a.stateNode.containerInfo, Cr = !0;
              break e;
            case 4:
              ct = a.stateNode.containerInfo, Cr = !0;
              break e
          }
          a = a.return
        }
        if (ct === null) throw Error(R(160));
        vD(s, o, i), ct = null, Cr = !1;
        var l = i.alternate;
        l !== null && (l.return = null), i.return = null
      } catch (u) {
        ze(i, e, u)
      }
    }
  if (e.subtreeFlags & 12854)
    for (e = e.child; e !== null;) yD(e, t), e = e.sibling
}

function yD(t, e) {
  var r = t.alternate,
    n = t.flags;
  switch (t.tag) {
    case 0:
    case 11:
    case 14:
    case 15:
      if (Br(e, t), Pr(t), n & 4) {
        try {
          Ro(3, t, t.return), td(3, t)
        } catch (g) {
          ze(t, t.return, g)
        }
        try {
          Ro(5, t, t.return)
        } catch (g) {
          ze(t, t.return, g)
        }
      }
      break;
    case 1:
      Br(e, t), Pr(t), n & 512 && r !== null && ns(r, r.return);
      break;
    case 5:
      if (Br(e, t), Pr(t), n & 512 && r !== null && ns(r, r.return), t.flags & 32) {
        var i = t.stateNode;
        try {
          $o(i, "")
        } catch (g) {
          ze(t, t.return, g)
        }
      }
      if (n & 4 && (i = t.stateNode, i != null)) {
        var s = t.memoizedProps,
          o = r !== null ? r.memoizedProps : s,
          a = t.type,
          l = t.updateQueue;
        if (t.updateQueue = null, l !== null) try {
          a === "input" && s.type === "radio" && s.name != null && W3(i, s), b0(a, o);
          var u = b0(a, s);
          for (o = 0; o < l.length; o += 2) {
            var c = l[o],
              d = l[o + 1];
            c === "style" ? V3(i, d) : c === "dangerouslySetInnerHTML" ? G3(i, d) : c === "children" ? $o(i, d) : MC(i, c, d, u)
          }
          switch (a) {
            case "input":
              m0(i, s);
              break;
            case "textarea":
              $3(i, s);
              break;
            case "select":
              var f = i._wrapperState.wasMultiple;
              i._wrapperState.wasMultiple = !!s.multiple;
              var B = s.value;
              B != null ? os(i, !!s.multiple, B, !1) : f !== !!s.multiple && (s.defaultValue != null ? os(i, !!s.multiple, s.defaultValue, !0) : os(i, !!s.multiple, s.multiple ? [] : "", !1))
          }
          i[Xo] = s
        } catch (g) {
          ze(t, t.return, g)
        }
      }
      break;
    case 6:
      if (Br(e, t), Pr(t), n & 4) {
        if (t.stateNode === null) throw Error(R(162));
        i = t.stateNode, s = t.memoizedProps;
        try {
          i.nodeValue = s
        } catch (g) {
          ze(t, t.return, g)
        }
      }
      break;
    case 3:
      if (Br(e, t), Pr(t), n & 4 && r !== null && r.memoizedState.isDehydrated) try {
        Vo(e.containerInfo)
      } catch (g) {
        ze(t, t.return, g)
      }
      break;
    case 4:
      Br(e, t), Pr(t);
      break;
    case 13:
      Br(e, t), Pr(t), i = t.child, i.flags & 8192 && (s = i.memoizedState !== null, i.stateNode.isHidden = s, !s || i.alternate !== null && i.alternate.memoizedState !== null || (m1 = Ge())), n & 4 && mv(t);
      break;
    case 22:
      if (c = r !== null && r.memoizedState !== null, t.mode & 1 ? (gt = (u = gt) || c, Br(e, t), gt = u) : Br(e, t), Pr(t), n & 8192) {
        if (u = t.memoizedState !== null, (t.stateNode.isHidden = u) && !c && t.mode & 1)
          for (q = t, c = t.child; c !== null;) {
            for (d = q = c; q !== null;) {
              switch (f = q, B = f.child, f.tag) {
                case 0:
                case 11:
                case 14:
                case 15:
                  Ro(4, f, f.return);
                  break;
                case 1:
                  ns(f, f.return);
                  var h = f.stateNode;
                  if (typeof h.componentWillUnmount == "function") {
                    n = f, r = f.return;
                    try {
                      e = n, h.props = e.memoizedProps, h.state = e.memoizedState, h.componentWillUnmount()
                    } catch (g) {
                      ze(n, r, g)
                    }
                  }
                  break;
                case 5:
                  ns(f, f.return);
                  break;
                case 22:
                  if (f.memoizedState !== null) {
                    vv(d);
                    continue
                  }
              }
              B !== null ? (B.return = f, q = B) : vv(d)
            }
            c = c.sibling
          }
        e: for (c = null, d = t;;) {
          if (d.tag === 5) {
            if (c === null) {
              c = d;
              try {
                i = d.stateNode, u ? (s = i.style, typeof s.setProperty == "function" ? s.setProperty("display", "none", "important") : s.display = "none") : (a = d.stateNode, l = d.memoizedProps.style, o = l != null && l.hasOwnProperty("display") ? l.display : null, a.style.display = q3("display", o))
              } catch (g) {
                ze(t, t.return, g)
              }
            }
          } else if (d.tag === 6) {
            if (c === null) try {
              d.stateNode.nodeValue = u ? "" : d.memoizedProps
            } catch (g) {
              ze(t, t.return, g)
            }
          } else if ((d.tag !== 22 && d.tag !== 23 || d.memoizedState === null || d === t) && d.child !== null) {
            d.child.return = d, d = d.child;
            continue
          }
          if (d === t) break e;
          for (; d.sibling === null;) {
            if (d.return === null || d.return === t) break e;
            c === d && (c = null), d = d.return
          }
          c === d && (c = null), d.sibling.return = d.return, d = d.sibling
        }
      }
      break;
    case 19:
      Br(e, t), Pr(t), n & 4 && mv(t);
      break;
    case 21:
      break;
    default:
      Br(e, t), Pr(t)
  }
}

function Pr(t) {
  var e = t.flags;
  if (e & 2) {
    try {
      e: {
        for (var r = t.return; r !== null;) {
          if (gD(r)) {
            var n = r;
            break e
          }
          r = r.return
        }
        throw Error(R(160))
      }
      switch (n.tag) {
        case 5:
          var i = n.stateNode;
          n.flags & 32 && ($o(i, ""), n.flags &= -33);
          var s = Cv(t);
          X0(t, s, i);
          break;
        case 3:
        case 4:
          var o = n.stateNode.containerInfo,
            a = Cv(t);
          Y0(t, a, o);
          break;
        default:
          throw Error(R(161))
      }
    }
    catch (l) {
      ze(t, t.return, l)
    }
    t.flags &= -3
  }
  e & 4096 && (t.flags &= -4097)
}

function tj(t, e, r) {
  q = t, wD(t)
}

function wD(t, e, r) {
  for (var n = (t.mode & 1) !== 0; q !== null;) {
    var i = q,
      s = i.child;
    if (i.tag === 22 && n) {
      var o = i.memoizedState !== null || Tl;
      if (!o) {
        var a = i.alternate,
          l = a !== null && a.memoizedState !== null || gt;
        a = Tl;
        var u = gt;
        if (Tl = o, (gt = l) && !u)
          for (q = i; q !== null;) o = q, l = o.child, o.tag === 22 && o.memoizedState !== null ? yv(i) : l !== null ? (l.return = o, q = l) : yv(i);
        for (; s !== null;) q = s, wD(s), s = s.sibling;
        q = i, Tl = a, gt = u
      }
      gv(t)
    } else i.subtreeFlags & 8772 && s !== null ? (s.return = i, q = s) : gv(t)
  }
}

function gv(t) {
  for (; q !== null;) {
    var e = q;
    if (e.flags & 8772) {
      var r = e.alternate;
      try {
        if (e.flags & 8772) switch (e.tag) {
          case 0:
          case 11:
          case 15:
            gt || td(5, e);
            break;
          case 1:
            var n = e.stateNode;
            if (e.flags & 4 && !gt)
              if (r === null) n.componentDidMount();
              else {
                var i = e.elementType === e.type ? r.memoizedProps : pr(e.type, r.memoizedProps);
                n.componentDidUpdate(i, r.memoizedState, n.__reactInternalSnapshotBeforeUpdate)
              } var s = e.updateQueue;
            s !== null && rv(e, s, n);
            break;
          case 3:
            var o = e.updateQueue;
            if (o !== null) {
              if (r = null, e.child !== null) switch (e.child.tag) {
                case 5:
                  r = e.child.stateNode;
                  break;
                case 1:
                  r = e.child.stateNode
              }
              rv(e, o, r)
            }
            break;
          case 5:
            var a = e.stateNode;
            if (r === null && e.flags & 4) {
              r = a;
              var l = e.memoizedProps;
              switch (e.type) {
                case "button":
                case "input":
                case "select":
                case "textarea":
                  l.autoFocus && r.focus();
                  break;
                case "img":
                  l.src && (r.src = l.src)
              }
            }
            break;
          case 6:
            break;
          case 4:
            break;
          case 12:
            break;
          case 13:
            if (e.memoizedState === null) {
              var u = e.alternate;
              if (u !== null) {
                var c = u.memoizedState;
                if (c !== null) {
                  var d = c.dehydrated;
                  d !== null && Vo(d)
                }
              }
            }
            break;
          case 19:
          case 17:
          case 21:
          case 22:
          case 23:
          case 25:
            break;
          default:
            throw Error(R(163))
        }
        gt || e.flags & 512 && J0(e)
      } catch (f) {
        ze(e, e.return, f)
      }
    }
    if (e === t) {
      q = null;
      break
    }
    if (r = e.sibling, r !== null) {
      r.return = e.return, q = r;
      break
    }
    q = e.return
  }
}

function vv(t) {
  for (; q !== null;) {
    var e = q;
    if (e === t) {
      q = null;
      break
    }
    var r = e.sibling;
    if (r !== null) {
      r.return = e.return, q = r;
      break
    }
    q = e.return
  }
}

function yv(t) {
  for (; q !== null;) {
    var e = q;
    try {
      switch (e.tag) {
        case 0:
        case 11:
        case 15:
          var r = e.return;
          try {
            td(4, e)
          } catch (l) {
            ze(e, r, l)
          }
          break;
        case 1:
          var n = e.stateNode;
          if (typeof n.componentDidMount == "function") {
            var i = e.return;
            try {
              n.componentDidMount()
            } catch (l) {
              ze(e, i, l)
            }
          }
          var s = e.return;
          try {
            J0(e)
          } catch (l) {
            ze(e, s, l)
          }
          break;
        case 5:
          var o = e.return;
          try {
            J0(e)
          } catch (l) {
            ze(e, o, l)
          }
      }
    } catch (l) {
      ze(e, e.return, l)
    }
    if (e === t) {
      q = null;
      break
    }
    var a = e.sibling;
    if (a !== null) {
      a.return = e.return, q = a;
      break
    }
    q = e.return
  }
}
var rj = Math.ceil,
  lc = ln.ReactCurrentDispatcher,
  p1 = ln.ReactCurrentOwner,
  or = ln.ReactCurrentBatchConfig,
  ge = 0,
  lt = null,
  Ke = null,
  ft = 0,
  Wt = 0,
  is = Kn(0),
  rt = 0,
  ia = null,
  bi = 0,
  rd = 0,
  C1 = 0,
  Fo = null,
  It = null,
  m1 = 0,
  Ds = 1 / 0,
  Hr = null,
  uc = !1,
  Z0 = null,
  Nn = null,
  Rl = !1,
  Sn = null,
  cc = 0,
  Mo = 0,
  ep = null,
  Su = -1,
  ku = 0;

function St() {
  return ge & 6 ? Ge() : Su !== -1 ? Su : Su = Ge()
}

function Tn(t) {
  return t.mode & 1 ? ge & 2 && ft !== 0 ? ft & -ft : Lk.transition !== null ? (ku === 0 && (ku = s6()), ku) : (t = ye, t !== 0 || (t = window.event, t = t === void 0 ? 16 : f6(t.type)), t) : 1
}

function Dr(t, e, r, n) {
  if (50 < Mo) throw Mo = 0, ep = null, Error(R(185));
  Fa(t, r, n), (!(ge & 2) || t !== lt) && (t === lt && (!(ge & 2) && (rd |= r), rt === 4 && wn(t, ft)), Ft(t, n), r === 1 && ge === 0 && !(e.mode & 1) && (Ds = Ge() + 500, Xc && Qn()))
}

function Ft(t, e) {
  var r = t.callbackNode;
  LS(t, e);
  var n = Vu(t, t === lt ? ft : 0);
  if (n === 0) r !== null && Ag(r), t.callbackNode = null, t.callbackPriority = 0;
  else if (e = n & -n, t.callbackPriority !== e) {
    if (r != null && Ag(r), e === 1) t.tag === 0 ? Mk(wv.bind(null, t)) : _6(wv.bind(null, t)), Nk(function () {
      !(ge & 6) && Qn()
    }), r = null;
    else {
      switch (o6(n)) {
        case 1:
          r = $C;
          break;
        case 4:
          r = n6;
          break;
        case 16:
          r = qu;
          break;
        case 536870912:
          r = i6;
          break;
        default:
          r = qu
      }
      r = AD(r, bD.bind(null, t))
    }
    t.callbackPriority = e, t.callbackNode = r
  }
}

function bD(t, e) {
  if (Su = -1, ku = 0, ge & 6) throw Error(R(327));
  var r = t.callbackNode;
  if (ds() && t.callbackNode !== r) return null;
  var n = Vu(t, t === lt ? ft : 0);
  if (n === 0) return null;
  if (n & 30 || n & t.expiredLanes || e) e = dc(t, n);
  else {
    e = n;
    var i = ge;
    ge |= 2;
    var s = xD();
    (lt !== t || ft !== e) && (Hr = null, Ds = Ge() + 500, pi(t, e));
    do try {
      sj();
      break
    } catch (a) {
      DD(t, a)
    }
    while (!0);
    r1(), lc.current = s, ge = i, Ke !== null ? e = 0 : (lt = null, ft = 0, e = rt)
  }
  if (e !== 0) {
    if (e === 2 && (i = k0(t), i !== 0 && (n = i, e = tp(t, i))), e === 1) throw r = ia, pi(t, 0), wn(t, n), Ft(t, Ge()), r;
    if (e === 6) wn(t, n);
    else {
      if (i = t.current.alternate, !(n & 30) && !nj(i) && (e = dc(t, n), e === 2 && (s = k0(t), s !== 0 && (n = s, e = tp(t, s))), e === 1)) throw r = ia, pi(t, 0), wn(t, n), Ft(t, Ge()), r;
      switch (t.finishedWork = i, t.finishedLanes = n, e) {
        case 0:
        case 1:
          throw Error(R(345));
        case 2:
          si(t, It, Hr);
          break;
        case 3:
          if (wn(t, n), (n & 130023424) === n && (e = m1 + 500 - Ge(), 10 < e)) {
            if (Vu(t, 0) !== 0) break;
            if (i = t.suspendedLanes, (i & n) !== n) {
              St(), t.pingedLanes |= t.suspendedLanes & i;
              break
            }
            t.timeoutHandle = T0(si.bind(null, t, It, Hr), e);
            break
          }
          si(t, It, Hr);
          break;
        case 4:
          if (wn(t, n), (n & 4194240) === n) break;
          for (e = t.eventTimes, i = -1; 0 < n;) {
            var o = 31 - br(n);
            s = 1 << o, o = e[o], o > i && (i = o), n &= ~s
          }
          if (n = i, n = Ge() - n, n = (120 > n ? 120 : 480 > n ? 480 : 1080 > n ? 1080 : 1920 > n ? 1920 : 3e3 > n ? 3e3 : 4320 > n ? 4320 : 1960 * rj(n / 1960)) - n, 10 < n) {
            t.timeoutHandle = T0(si.bind(null, t, It, Hr), n);
            break
          }
          si(t, It, Hr);
          break;
        case 5:
          si(t, It, Hr);
          break;
        default:
          throw Error(R(329))
      }
    }
  }
  return Ft(t, Ge()), t.callbackNode === r ? bD.bind(null, t) : null
}

function tp(t, e) {
  var r = Fo;
  return t.current.memoizedState.isDehydrated && (pi(t, e).flags |= 256), t = dc(t, e), t !== 2 && (e = It, It = r, e !== null && rp(e)), t
}

function rp(t) {
  It === null ? It = t : It.push.apply(It, t)
}

function nj(t) {
  for (var e = t;;) {
    if (e.flags & 16384) {
      var r = e.updateQueue;
      if (r !== null && (r = r.stores, r !== null))
        for (var n = 0; n < r.length; n++) {
          var i = r[n],
            s = i.getSnapshot;
          i = i.value;
          try {
            if (!xr(s(), i)) return !1
          } catch {
            return !1
          }
        }
    }
    if (r = e.child, e.subtreeFlags & 16384 && r !== null) r.return = e, e = r;
    else {
      if (e === t) break;
      for (; e.sibling === null;) {
        if (e.return === null || e.return === t) return !0;
        e = e.return
      }
      e.sibling.return = e.return, e = e.sibling
    }
  }
  return !0
}

function wn(t, e) {
  for (e &= ~C1, e &= ~rd, t.suspendedLanes |= e, t.pingedLanes &= ~e, t = t.expirationTimes; 0 < e;) {
    var r = 31 - br(e),
      n = 1 << r;
    t[r] = -1, e &= ~n
  }
}

function wv(t) {
  if (ge & 6) throw Error(R(327));
  ds();
  var e = Vu(t, 0);
  if (!(e & 1)) return Ft(t, Ge()), null;
  var r = dc(t, e);
  if (t.tag !== 0 && r === 2) {
    var n = k0(t);
    n !== 0 && (e = n, r = tp(t, n))
  }
  if (r === 1) throw r = ia, pi(t, 0), wn(t, e), Ft(t, Ge()), r;
  if (r === 6) throw Error(R(345));
  return t.finishedWork = t.current.alternate, t.finishedLanes = e, si(t, It, Hr), Ft(t, Ge()), null
}

function g1(t, e) {
  var r = ge;
  ge |= 1;
  try {
    return t(e)
  } finally {
    ge = r, ge === 0 && (Ds = Ge() + 500, Xc && Qn())
  }
}

function Di(t) {
  Sn !== null && Sn.tag === 0 && !(ge & 6) && ds();
  var e = ge;
  ge |= 1;
  var r = or.transition,
    n = ye;
  try {
    if (or.transition = null, ye = 1, t) return t()
  } finally {
    ye = n, or.transition = r, ge = e, !(ge & 6) && Qn()
  }
}

function v1() {
  Wt = is.current, Ne(is)
}

function pi(t, e) {
  t.finishedWork = null, t.finishedLanes = 0;
  var r = t.timeoutHandle;
  if (r !== -1 && (t.timeoutHandle = -1, Ik(r)), Ke !== null)
    for (r = Ke.return; r !== null;) {
      var n = r;
      switch (ZC(n), n.tag) {
        case 1:
          n = n.type.childContextTypes, n != null && Xu();
          break;
        case 3:
          ws(), Ne(Tt), Ne(wt), l1();
          break;
        case 5:
          a1(n);
          break;
        case 4:
          ws();
          break;
        case 13:
          Ne(Fe);
          break;
        case 19:
          Ne(Fe);
          break;
        case 10:
          n1(n.type._context);
          break;
        case 22:
        case 23:
          v1()
      }
      r = r.return
    }
  if (lt = t, Ke = t = Rn(t.current, null), ft = Wt = e, rt = 0, ia = null, C1 = rd = bi = 0, It = Fo = null, ui !== null) {
    for (e = 0; e < ui.length; e++)
      if (r = ui[e], n = r.interleaved, n !== null) {
        r.interleaved = null;
        var i = n.next,
          s = r.pending;
        if (s !== null) {
          var o = s.next;
          s.next = i, n.next = o
        }
        r.pending = n
      } ui = null
  }
  return t
}

function DD(t, e) {
  do {
    var r = Ke;
    try {
      if (r1(), Du.current = ac, oc) {
        for (var n = Le.memoizedState; n !== null;) {
          var i = n.queue;
          i !== null && (i.pending = null), n = n.next
        }
        oc = !1
      }
      if (wi = 0, at = tt = Le = null, To = !1, ta = 0, p1.current = null, r === null || r.return === null) {
        rt = 1, ia = e, Ke = null;
        break
      }
      e: {
        var s = t,
          o = r.return,
          a = r,
          l = e;
        if (e = ft, a.flags |= 32768, l !== null && typeof l == "object" && typeof l.then == "function") {
          var u = l,
            c = a,
            d = c.tag;
          if (!(c.mode & 1) && (d === 0 || d === 11 || d === 15)) {
            var f = c.alternate;
            f ? (c.updateQueue = f.updateQueue, c.memoizedState = f.memoizedState, c.lanes = f.lanes) : (c.updateQueue = null, c.memoizedState = null)
          }
          var B = lv(o);
          if (B !== null) {
            B.flags &= -257, uv(B, o, a, s, e), B.mode & 1 && av(s, u, e), e = B, l = u;
            var h = e.updateQueue;
            if (h === null) {
              var g = new Set;
              g.add(l), e.updateQueue = g
            } else h.add(l);
            break e
          } else {
            if (!(e & 1)) {
              av(s, u, e), y1();
              break e
            }
            l = Error(R(426))
          }
        } else if (Te && a.mode & 1) {
          var y = lv(o);
          if (y !== null) {
            !(y.flags & 65536) && (y.flags |= 256), uv(y, o, a, s, e), e1(bs(l, a));
            break e
          }
        }
        s = l = bs(l, a),
        rt !== 4 && (rt = 2),
        Fo === null ? Fo = [s] : Fo.push(s),
        s = o;do {
          switch (s.tag) {
            case 3:
              s.flags |= 65536, e &= -e, s.lanes |= e;
              var m = oD(s, l, e);
              tv(s, m);
              break e;
            case 1:
              a = l;
              var p = s.type,
                v = s.stateNode;
              if (!(s.flags & 128) && (typeof p.getDerivedStateFromError == "function" || v !== null && typeof v.componentDidCatch == "function" && (Nn === null || !Nn.has(v)))) {
                s.flags |= 65536, e &= -e, s.lanes |= e;
                var w = aD(s, a, e);
                tv(s, w);
                break e
              }
          }
          s = s.return
        } while (s !== null)
      }
      SD(r)
    } catch (D) {
      e = D, Ke === r && r !== null && (Ke = r = r.return);
      continue
    }
    break
  } while (!0)
}

function xD() {
  var t = lc.current;
  return lc.current = ac, t === null ? ac : t
}

function y1() {
  (rt === 0 || rt === 3 || rt === 2) && (rt = 4), lt === null || !(bi & 268435455) && !(rd & 268435455) || wn(lt, ft)
}

function dc(t, e) {
  var r = ge;
  ge |= 2;
  var n = xD();
  (lt !== t || ft !== e) && (Hr = null, pi(t, e));
  do try {
    ij();
    break
  } catch (i) {
    DD(t, i)
  }
  while (!0);
  if (r1(), ge = r, lc.current = n, Ke !== null) throw Error(R(261));
  return lt = null, ft = 0, rt
}

function ij() {
  for (; Ke !== null;) ED(Ke)
}

function sj() {
  for (; Ke !== null && !PS();) ED(Ke)
}

function ED(t) {
  var e = jD(t.alternate, t, Wt);
  t.memoizedProps = t.pendingProps, e === null ? SD(t) : Ke = e, p1.current = null
}

function SD(t) {
  var e = t;
  do {
    var r = e.alternate;
    if (t = e.return, e.flags & 32768) {
      if (r = Xk(r, e), r !== null) {
        r.flags &= 32767, Ke = r;
        return
      }
      if (t !== null) t.flags |= 32768, t.subtreeFlags = 0, t.deletions = null;
      else {
        rt = 6, Ke = null;
        return
      }
    } else if (r = Yk(r, e, Wt), r !== null) {
      Ke = r;
      return
    }
    if (e = e.sibling, e !== null) {
      Ke = e;
      return
    }
    Ke = e = t
  } while (e !== null);
  rt === 0 && (rt = 5)
}

function si(t, e, r) {
  var n = ye,
    i = or.transition;
  try {
    or.transition = null, ye = 1, oj(t, e, r, n)
  } finally {
    or.transition = i, ye = n
  }
  return null
}

function oj(t, e, r, n) {
  do ds(); while (Sn !== null);
  if (ge & 6) throw Error(R(327));
  r = t.finishedWork;
  var i = t.finishedLanes;
  if (r === null) return null;
  if (t.finishedWork = null, t.finishedLanes = 0, r === t.current) throw Error(R(177));
  t.callbackNode = null, t.callbackPriority = 0;
  var s = r.lanes | r.childLanes;
  if (US(t, s), t === lt && (Ke = lt = null, ft = 0), !(r.subtreeFlags & 2064) && !(r.flags & 2064) || Rl || (Rl = !0, AD(qu, function () {
      return ds(), null
    })), s = (r.flags & 15990) !== 0, r.subtreeFlags & 15990 || s) {
    s = or.transition, or.transition = null;
    var o = ye;
    ye = 1;
    var a = ge;
    ge |= 4, p1.current = null, ej(t, r), yD(r, t), Sk(I0), Ku = !!O0, I0 = O0 = null, t.current = r, tj(r), _S(), ge = a, ye = o, or.transition = s
  } else t.current = r;
  if (Rl && (Rl = !1, Sn = t, cc = i), s = t.pendingLanes, s === 0 && (Nn = null), NS(r.stateNode), Ft(t, Ge()), e !== null)
    for (n = t.onRecoverableError, r = 0; r < e.length; r++) i = e[r], n(i.value, {
      componentStack: i.stack,
      digest: i.digest
    });
  if (uc) throw uc = !1, t = Z0, Z0 = null, t;
  return cc & 1 && t.tag !== 0 && ds(), s = t.pendingLanes, s & 1 ? t === ep ? Mo++ : (Mo = 0, ep = t) : Mo = 0, Qn(), null
}

function ds() {
  if (Sn !== null) {
    var t = o6(cc),
      e = or.transition,
      r = ye;
    try {
      if (or.transition = null, ye = 16 > t ? 16 : t, Sn === null) var n = !1;
      else {
        if (t = Sn, Sn = null, cc = 0, ge & 6) throw Error(R(331));
        var i = ge;
        for (ge |= 4, q = t.current; q !== null;) {
          var s = q,
            o = s.child;
          if (q.flags & 16) {
            var a = s.deletions;
            if (a !== null) {
              for (var l = 0; l < a.length; l++) {
                var u = a[l];
                for (q = u; q !== null;) {
                  var c = q;
                  switch (c.tag) {
                    case 0:
                    case 11:
                    case 15:
                      Ro(8, c, s)
                  }
                  var d = c.child;
                  if (d !== null) d.return = c, q = d;
                  else
                    for (; q !== null;) {
                      c = q;
                      var f = c.sibling,
                        B = c.return;
                      if (mD(c), c === u) {
                        q = null;
                        break
                      }
                      if (f !== null) {
                        f.return = B, q = f;
                        break
                      }
                      q = B
                    }
                }
              }
              var h = s.alternate;
              if (h !== null) {
                var g = h.child;
                if (g !== null) {
                  h.child = null;
                  do {
                    var y = g.sibling;
                    g.sibling = null, g = y
                  } while (g !== null)
                }
              }
              q = s
            }
          }
          if (s.subtreeFlags & 2064 && o !== null) o.return = s, q = o;
          else e: for (; q !== null;) {
            if (s = q, s.flags & 2048) switch (s.tag) {
              case 0:
              case 11:
              case 15:
                Ro(9, s, s.return)
            }
            var m = s.sibling;
            if (m !== null) {
              m.return = s.return, q = m;
              break e
            }
            q = s.return
          }
        }
        var p = t.current;
        for (q = p; q !== null;) {
          o = q;
          var v = o.child;
          if (o.subtreeFlags & 2064 && v !== null) v.return = o, q = v;
          else e: for (o = p; q !== null;) {
            if (a = q, a.flags & 2048) try {
              switch (a.tag) {
                case 0:
                case 11:
                case 15:
                  td(9, a)
              }
            } catch (D) {
              ze(a, a.return, D)
            }
            if (a === o) {
              q = null;
              break e
            }
            var w = a.sibling;
            if (w !== null) {
              w.return = a.return, q = w;
              break e
            }
            q = a.return
          }
        }
        if (ge = i, Qn(), Rr && typeof Rr.onPostCommitFiberRoot == "function") try {
          Rr.onPostCommitFiberRoot(Vc, t)
        } catch {}
        n = !0
      }
      return n
    } finally {
      ye = r, or.transition = e
    }
  }
  return !1
}

function bv(t, e, r) {
  e = bs(r, e), e = oD(t, e, 1), t = In(t, e, 1), e = St(), t !== null && (Fa(t, 1, e), Ft(t, e))
}

function ze(t, e, r) {
  if (t.tag === 3) bv(t, t, r);
  else
    for (; e !== null;) {
      if (e.tag === 3) {
        bv(e, t, r);
        break
      } else if (e.tag === 1) {
        var n = e.stateNode;
        if (typeof e.type.getDerivedStateFromError == "function" || typeof n.componentDidCatch == "function" && (Nn === null || !Nn.has(n))) {
          t = bs(r, t), t = aD(e, t, 1), e = In(e, t, 1), t = St(), e !== null && (Fa(e, 1, t), Ft(e, t));
          break
        }
      }
      e = e.return
    }
}

function aj(t, e, r) {
  var n = t.pingCache;
  n !== null && n.delete(e), e = St(), t.pingedLanes |= t.suspendedLanes & r, lt === t && (ft & r) === r && (rt === 4 || rt === 3 && (ft & 130023424) === ft && 500 > Ge() - m1 ? pi(t, 0) : C1 |= r), Ft(t, e)
}

function kD(t, e) {
  e === 0 && (t.mode & 1 ? (e = Sl, Sl <<= 1, !(Sl & 130023424) && (Sl = 4194304)) : e = 1);
  var r = St();
  t = tn(t, e), t !== null && (Fa(t, e, r), Ft(t, r))
}

function lj(t) {
  var e = t.memoizedState,
    r = 0;
  e !== null && (r = e.retryLane), kD(t, r)
}

function uj(t, e) {
  var r = 0;
  switch (t.tag) {
    case 13:
      var n = t.stateNode,
        i = t.memoizedState;
      i !== null && (r = i.retryLane);
      break;
    case 19:
      n = t.stateNode;
      break;
    default:
      throw Error(R(314))
  }
  n !== null && n.delete(e), kD(t, r)
}
var jD;
jD = function (t, e, r) {
  if (t !== null)
    if (t.memoizedProps !== e.pendingProps || Tt.current) Nt = !0;
    else {
      if (!(t.lanes & r) && !(e.flags & 128)) return Nt = !1, Jk(t, e, r);
      Nt = !!(t.flags & 131072)
    }
  else Nt = !1, Te && e.flags & 1048576 && O6(e, tc, e.index);
  switch (e.lanes = 0, e.tag) {
    case 2:
      var n = e.type;
      Eu(t, e), t = e.pendingProps;
      var i = gs(e, wt.current);
      cs(e, r), i = c1(null, e, n, t, i, r);
      var s = d1();
      return e.flags |= 1, typeof i == "object" && i !== null && typeof i.render == "function" && i.$$typeof === void 0 ? (e.tag = 1, e.memoizedState = null, e.updateQueue = null, Rt(n) ? (s = !0, Zu(e)) : s = !1, e.memoizedState = i.state !== null && i.state !== void 0 ? i.state : null, s1(e), i.updater = ed, e.stateNode = i, i._reactInternals = e, W0(e, n, t, r), e = G0(null, e, n, !0, s, r)) : (e.tag = 0, Te && s && XC(e), xt(null, e, i, r), e = e.child), e;
    case 16:
      n = e.elementType;
      e: {
        switch (Eu(t, e), t = e.pendingProps, i = n._init, n = i(n._payload), e.type = n, i = e.tag = dj(n), t = pr(n, t), i) {
          case 0:
            e = H0(null, e, n, t, r);
            break e;
          case 1:
            e = fv(null, e, n, t, r);
            break e;
          case 11:
            e = cv(null, e, n, t, r);
            break e;
          case 14:
            e = dv(null, e, n, pr(n.type, t), r);
            break e
        }
        throw Error(R(306, n, ""))
      }
      return e;
    case 0:
      return n = e.type, i = e.pendingProps, i = e.elementType === n ? i : pr(n, i), H0(t, e, n, i, r);
    case 1:
      return n = e.type, i = e.pendingProps, i = e.elementType === n ? i : pr(n, i), fv(t, e, n, i, r);
    case 3:
      e: {
        if (dD(e), t === null) throw Error(R(387));n = e.pendingProps,
        s = e.memoizedState,
        i = s.element,
        M6(t, e),
        ic(e, n, null, r);
        var o = e.memoizedState;
        if (n = o.element, s.isDehydrated)
          if (s = {
              element: n,
              isDehydrated: !1,
              cache: o.cache,
              pendingSuspenseBoundaries: o.pendingSuspenseBoundaries,
              transitions: o.transitions
            }, e.updateQueue.baseState = s, e.memoizedState = s, e.flags & 256) {
            i = bs(Error(R(423)), e), e = Bv(t, e, n, r, i);
            break e
          } else if (n !== i) {
          i = bs(Error(R(424)), e), e = Bv(t, e, n, r, i);
          break e
        } else
          for ($t = On(e.stateNode.containerInfo.firstChild), qt = e, Te = !0, mr = null, r = R6(e, null, n, r), e.child = r; r;) r.flags = r.flags & -3 | 4096, r = r.sibling;
        else {
          if (vs(), n === i) {
            e = rn(t, e, r);
            break e
          }
          xt(t, e, n, r)
        }
        e = e.child
      }
      return e;
    case 5:
      return L6(e), t === null && L0(e), n = e.type, i = e.pendingProps, s = t !== null ? t.memoizedProps : null, o = i.children, N0(n, i) ? o = null : s !== null && N0(n, s) && (e.flags |= 32), cD(t, e), xt(t, e, o, r), e.child;
    case 6:
      return t === null && L0(e), null;
    case 13:
      return fD(t, e, r);
    case 4:
      return o1(e, e.stateNode.containerInfo), n = e.pendingProps, t === null ? e.child = ys(e, null, n, r) : xt(t, e, n, r), e.child;
    case 11:
      return n = e.type, i = e.pendingProps, i = e.elementType === n ? i : pr(n, i), cv(t, e, n, i, r);
    case 7:
      return xt(t, e, e.pendingProps, r), e.child;
    case 8:
      return xt(t, e, e.pendingProps.children, r), e.child;
    case 12:
      return xt(t, e, e.pendingProps.children, r), e.child;
    case 10:
      e: {
        if (n = e.type._context, i = e.pendingProps, s = e.memoizedProps, o = i.value, _e(rc, n._currentValue), n._currentValue = o, s !== null)
          if (xr(s.value, o)) {
            if (s.children === i.children && !Tt.current) {
              e = rn(t, e, r);
              break e
            }
          } else
            for (s = e.child, s !== null && (s.return = e); s !== null;) {
              var a = s.dependencies;
              if (a !== null) {
                o = s.child;
                for (var l = a.firstContext; l !== null;) {
                  if (l.context === n) {
                    if (s.tag === 1) {
                      l = Jr(-1, r & -r), l.tag = 2;
                      var u = s.updateQueue;
                      if (u !== null) {
                        u = u.shared;
                        var c = u.pending;
                        c === null ? l.next = l : (l.next = c.next, c.next = l), u.pending = l
                      }
                    }
                    s.lanes |= r, l = s.alternate, l !== null && (l.lanes |= r), U0(s.return, r, e), a.lanes |= r;
                    break
                  }
                  l = l.next
                }
              } else if (s.tag === 10) o = s.type === e.type ? null : s.child;
              else if (s.tag === 18) {
                if (o = s.return, o === null) throw Error(R(341));
                o.lanes |= r, a = o.alternate, a !== null && (a.lanes |= r), U0(o, r, e), o = s.sibling
              } else o = s.child;
              if (o !== null) o.return = s;
              else
                for (o = s; o !== null;) {
                  if (o === e) {
                    o = null;
                    break
                  }
                  if (s = o.sibling, s !== null) {
                    s.return = o.return, o = s;
                    break
                  }
                  o = o.return
                }
              s = o
            }
        xt(t, e, i.children, r),
        e = e.child
      }
      return e;
    case 9:
      return i = e.type, n = e.pendingProps.children, cs(e, r), i = lr(i), n = n(i), e.flags |= 1, xt(t, e, n, r), e.child;
    case 14:
      return n = e.type, i = pr(n, e.pendingProps), i = pr(n.type, i), dv(t, e, n, i, r);
    case 15:
      return lD(t, e, e.type, e.pendingProps, r);
    case 17:
      return n = e.type, i = e.pendingProps, i = e.elementType === n ? i : pr(n, i), Eu(t, e), e.tag = 1, Rt(n) ? (t = !0, Zu(e)) : t = !1, cs(e, r), sD(e, n, i), W0(e, n, i, r), G0(null, e, n, !0, t, r);
    case 19:
      return BD(t, e, r);
    case 22:
      return uD(t, e, r)
  }
  throw Error(R(156, e.tag))
};

function AD(t, e) {
  return r6(t, e)
}

function cj(t, e, r, n) {
  this.tag = t, this.key = r, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.ref = null, this.pendingProps = e, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = n, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null
}

function sr(t, e, r, n) {
  return new cj(t, e, r, n)
}

function w1(t) {
  return t = t.prototype, !(!t || !t.isReactComponent)
}

function dj(t) {
  if (typeof t == "function") return w1(t) ? 1 : 0;
  if (t != null) {
    if (t = t.$$typeof, t === UC) return 11;
    if (t === zC) return 14
  }
  return 2
}

function Rn(t, e) {
  var r = t.alternate;
  return r === null ? (r = sr(t.tag, e, t.key, t.mode), r.elementType = t.elementType, r.type = t.type, r.stateNode = t.stateNode, r.alternate = t, t.alternate = r) : (r.pendingProps = e, r.type = t.type, r.flags = 0, r.subtreeFlags = 0, r.deletions = null), r.flags = t.flags & 14680064, r.childLanes = t.childLanes, r.lanes = t.lanes, r.child = t.child, r.memoizedProps = t.memoizedProps, r.memoizedState = t.memoizedState, r.updateQueue = t.updateQueue, e = t.dependencies, r.dependencies = e === null ? null : {
    lanes: e.lanes,
    firstContext: e.firstContext
  }, r.sibling = t.sibling, r.index = t.index, r.ref = t.ref, r
}

function ju(t, e, r, n, i, s) {
  var o = 2;
  if (n = t, typeof t == "function") w1(t) && (o = 1);
  else if (typeof t == "string") o = 5;
  else e: switch (t) {
    case Ki:
      return Ci(r.children, i, s, e);
    case LC:
      o = 8, i |= 8;
      break;
    case f0:
      return t = sr(12, r, e, i | 2), t.elementType = f0, t.lanes = s, t;
    case B0:
      return t = sr(13, r, e, i), t.elementType = B0, t.lanes = s, t;
    case h0:
      return t = sr(19, r, e, i), t.elementType = h0, t.lanes = s, t;
    case L3:
      return nd(r, i, s, e);
    default:
      if (typeof t == "object" && t !== null) switch (t.$$typeof) {
        case F3:
          o = 10;
          break e;
        case M3:
          o = 9;
          break e;
        case UC:
          o = 11;
          break e;
        case zC:
          o = 14;
          break e;
        case mn:
          o = 16, n = null;
          break e
      }
      throw Error(R(130, t == null ? t : typeof t, ""))
  }
  return e = sr(o, r, e, i), e.elementType = t, e.type = n, e.lanes = s, e
}

function Ci(t, e, r, n) {
  return t = sr(7, t, n, e), t.lanes = r, t
}

function nd(t, e, r, n) {
  return t = sr(22, t, n, e), t.elementType = L3, t.lanes = r, t.stateNode = {
    isHidden: !1
  }, t
}

function If(t, e, r) {
  return t = sr(6, t, null, e), t.lanes = r, t
}

function Nf(t, e, r) {
  return e = sr(4, t.children !== null ? t.children : [], t.key, e), e.lanes = r, e.stateNode = {
    containerInfo: t.containerInfo,
    pendingChildren: null,
    implementation: t.implementation
  }, e
}

function fj(t, e, r, n, i) {
  this.tag = e, this.containerInfo = t, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.pendingContext = this.context = null, this.callbackPriority = 0, this.eventTimes = hf(0), this.expirationTimes = hf(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = hf(0), this.identifierPrefix = n, this.onRecoverableError = i, this.mutableSourceEagerHydrationData = null
}

function b1(t, e, r, n, i, s, o, a, l) {
  return t = new fj(t, e, r, a, l), e === 1 ? (e = 1, s === !0 && (e |= 8)) : e = 0, s = sr(3, null, null, e), t.current = s, s.stateNode = t, s.memoizedState = {
    element: n,
    isDehydrated: r,
    cache: null,
    transitions: null,
    pendingSuspenseBoundaries: null
  }, s1(s), t
}

function Bj(t, e, r) {
  var n = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
  return {
    $$typeof: Vi,
    key: n == null ? null : "" + n,
    children: t,
    containerInfo: e,
    implementation: r
  }
}

function PD(t) {
  if (!t) return Un;
  t = t._reactInternals;
  e: {
    if (Ai(t) !== t || t.tag !== 1) throw Error(R(170));
    var e = t;do {
      switch (e.tag) {
        case 3:
          e = e.stateNode.context;
          break e;
        case 1:
          if (Rt(e.type)) {
            e = e.stateNode.__reactInternalMemoizedMergedChildContext;
            break e
          }
      }
      e = e.return
    } while (e !== null);
    throw Error(R(171))
  }
  if (t.tag === 1) {
    var r = t.type;
    if (Rt(r)) return P6(t, r, e)
  }
  return e
}

function _D(t, e, r, n, i, s, o, a, l) {
  return t = b1(r, n, !0, t, i, s, o, a, l), t.context = PD(null), r = t.current, n = St(), i = Tn(r), s = Jr(n, i), s.callback = e ?? null, In(r, s, i), t.current.lanes = i, Fa(t, i, n), Ft(t, n), t
}

function id(t, e, r, n) {
  var i = e.current,
    s = St(),
    o = Tn(i);
  return r = PD(r), e.context === null ? e.context = r : e.pendingContext = r, e = Jr(s, o), e.payload = {
    element: t
  }, n = n === void 0 ? null : n, n !== null && (e.callback = n), t = In(i, e, o), t !== null && (Dr(t, i, o, s), bu(t, i, o)), o
}

function fc(t) {
  if (t = t.current, !t.child) return null;
  switch (t.child.tag) {
    case 5:
      return t.child.stateNode;
    default:
      return t.child.stateNode
  }
}

function Dv(t, e) {
  if (t = t.memoizedState, t !== null && t.dehydrated !== null) {
    var r = t.retryLane;
    t.retryLane = r !== 0 && r < e ? r : e
  }
}

function D1(t, e) {
  Dv(t, e), (t = t.alternate) && Dv(t, e)
}

function hj() {
  return null
}
var OD = typeof reportError == "function" ? reportError : function (t) {
  console.error(t)
};

function x1(t) {
  this._internalRoot = t
}
sd.prototype.render = x1.prototype.render = function (t) {
  var e = this._internalRoot;
  if (e === null) throw Error(R(409));
  id(t, e, null, null)
};
sd.prototype.unmount = x1.prototype.unmount = function () {
  var t = this._internalRoot;
  if (t !== null) {
    this._internalRoot = null;
    var e = t.containerInfo;
    Di(function () {
      id(null, t, null, null)
    }), e[en] = null
  }
};

function sd(t) {
  this._internalRoot = t
}
sd.prototype.unstable_scheduleHydration = function (t) {
  if (t) {
    var e = u6();
    t = {
      blockedOn: null,
      target: t,
      priority: e
    };
    for (var r = 0; r < yn.length && e !== 0 && e < yn[r].priority; r++);
    yn.splice(r, 0, t), r === 0 && d6(t)
  }
};

function E1(t) {
  return !(!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11)
}

function od(t) {
  return !(!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11 && (t.nodeType !== 8 || t.nodeValue !== " react-mount-point-unstable "))
}

function xv() {}

function pj(t, e, r, n, i) {
  if (i) {
    if (typeof n == "function") {
      var s = n;
      n = function () {
        var u = fc(o);
        s.call(u)
      }
    }
    var o = _D(e, n, t, 0, null, !1, !1, "", xv);
    return t._reactRootContainer = o, t[en] = o.current, Jo(t.nodeType === 8 ? t.parentNode : t), Di(), o
  }
  for (; i = t.lastChild;) t.removeChild(i);
  if (typeof n == "function") {
    var a = n;
    n = function () {
      var u = fc(l);
      a.call(u)
    }
  }
  var l = b1(t, 0, !1, null, null, !1, !1, "", xv);
  return t._reactRootContainer = l, t[en] = l.current, Jo(t.nodeType === 8 ? t.parentNode : t), Di(function () {
    id(e, l, r, n)
  }), l
}

function ad(t, e, r, n, i) {
  var s = r._reactRootContainer;
  if (s) {
    var o = s;
    if (typeof i == "function") {
      var a = i;
      i = function () {
        var l = fc(o);
        a.call(l)
      }
    }
    id(e, o, t, i)
  } else o = pj(r, e, t, i, n);
  return fc(o)
}
a6 = function (t) {
  switch (t.tag) {
    case 3:
      var e = t.stateNode;
      if (e.current.memoizedState.isDehydrated) {
        var r = bo(e.pendingLanes);
        r !== 0 && (HC(e, r | 1), Ft(e, Ge()), !(ge & 6) && (Ds = Ge() + 500, Qn()))
      }
      break;
    case 13:
      Di(function () {
        var n = tn(t, 1);
        if (n !== null) {
          var i = St();
          Dr(n, t, 1, i)
        }
      }), D1(t, 1)
  }
};
GC = function (t) {
  if (t.tag === 13) {
    var e = tn(t, 134217728);
    if (e !== null) {
      var r = St();
      Dr(e, t, 134217728, r)
    }
    D1(t, 134217728)
  }
};
l6 = function (t) {
  if (t.tag === 13) {
    var e = Tn(t),
      r = tn(t, e);
    if (r !== null) {
      var n = St();
      Dr(r, t, e, n)
    }
    D1(t, e)
  }
};
u6 = function () {
  return ye
};
c6 = function (t, e) {
  var r = ye;
  try {
    return ye = t, e()
  } finally {
    ye = r
  }
};
x0 = function (t, e, r) {
  switch (e) {
    case "input":
      if (m0(t, r), e = r.name, r.type === "radio" && e != null) {
        for (r = t; r.parentNode;) r = r.parentNode;
        for (r = r.querySelectorAll("input[name=" + JSON.stringify("" + e) + '][type="radio"]'), e = 0; e < r.length; e++) {
          var n = r[e];
          if (n !== t && n.form === t.form) {
            var i = Yc(n);
            if (!i) throw Error(R(90));
            z3(n), m0(n, i)
          }
        }
      }
      break;
    case "textarea":
      $3(t, r);
      break;
    case "select":
      e = r.value, e != null && os(t, !!r.multiple, e, !1)
  }
};
J3 = g1;
Y3 = Di;
var Cj = {
    usingClientEntryPoint: !1,
    Events: [La, Xi, Yc, K3, Q3, g1]
  },
  ao = {
    findFiberByHostInstance: li,
    bundleType: 0,
    version: "18.3.1",
    rendererPackageName: "react-dom"
  },
  mj = {
    bundleType: ao.bundleType,
    version: ao.version,
    rendererPackageName: ao.rendererPackageName,
    rendererConfig: ao.rendererConfig,
    overrideHookState: null,
    overrideHookStateDeletePath: null,
    overrideHookStateRenamePath: null,
    overrideProps: null,
    overridePropsDeletePath: null,
    overridePropsRenamePath: null,
    setErrorHandler: null,
    setSuspenseHandler: null,
    scheduleUpdate: null,
    currentDispatcherRef: ln.ReactCurrentDispatcher,
    findHostInstanceByFiber: function (t) {
      return t = e6(t), t === null ? null : t.stateNode
    },
    findFiberByHostInstance: ao.findFiberByHostInstance || hj,
    findHostInstancesForRefresh: null,
    scheduleRefresh: null,
    scheduleRoot: null,
    setRefreshHandler: null,
    getCurrentFiber: null,
    reconcilerVersion: "18.3.1-next-f1338f8080-20240426"
  };
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
  var Fl = __REACT_DEVTOOLS_GLOBAL_HOOK__;
  if (!Fl.isDisabled && Fl.supportsFiber) try {
    Vc = Fl.inject(mj), Rr = Fl
  } catch {}
}
Qt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Cj;
Qt.createPortal = function (t, e) {
  var r = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
  if (!E1(e)) throw Error(R(200));
  return Bj(t, e, null, r)
};
Qt.createRoot = function (t, e) {
  if (!E1(t)) throw Error(R(299));
  var r = !1,
    n = "",
    i = OD;
  return e != null && (e.unstable_strictMode === !0 && (r = !0), e.identifierPrefix !== void 0 && (n = e.identifierPrefix), e.onRecoverableError !== void 0 && (i = e.onRecoverableError)), e = b1(t, 1, !1, null, null, r, !1, n, i), t[en] = e.current, Jo(t.nodeType === 8 ? t.parentNode : t), new x1(e)
};
Qt.findDOMNode = function (t) {
  if (t == null) return null;
  if (t.nodeType === 1) return t;
  var e = t._reactInternals;
  if (e === void 0) throw typeof t.render == "function" ? Error(R(188)) : (t = Object.keys(t).join(","), Error(R(268, t)));
  return t = e6(e), t = t === null ? null : t.stateNode, t
};
Qt.flushSync = function (t) {
  return Di(t)
};
Qt.hydrate = function (t, e, r) {
  if (!od(e)) throw Error(R(200));
  return ad(null, t, e, !0, r)
};
Qt.hydrateRoot = function (t, e, r) {
  if (!E1(t)) throw Error(R(405));
  var n = r != null && r.hydratedSources || null,
    i = !1,
    s = "",
    o = OD;
  if (r != null && (r.unstable_strictMode === !0 && (i = !0), r.identifierPrefix !== void 0 && (s = r.identifierPrefix), r.onRecoverableError !== void 0 && (o = r.onRecoverableError)), e = _D(e, null, t, 1, r ?? null, i, !1, s, o), t[en] = e.current, Jo(t), n)
    for (t = 0; t < n.length; t++) r = n[t], i = r._getVersion, i = i(r._source), e.mutableSourceEagerHydrationData == null ? e.mutableSourceEagerHydrationData = [r, i] : e.mutableSourceEagerHydrationData.push(r, i);
  return new sd(e)
};
Qt.render = function (t, e, r) {
  if (!od(e)) throw Error(R(200));
  return ad(null, t, e, !1, r)
};
Qt.unmountComponentAtNode = function (t) {
  if (!od(t)) throw Error(R(40));
  return t._reactRootContainer ? (Di(function () {
    ad(null, null, t, !1, function () {
      t._reactRootContainer = null, t[en] = null
    })
  }), !0) : !1
};
Qt.unstable_batchedUpdates = g1;
Qt.unstable_renderSubtreeIntoContainer = function (t, e, r, n) {
  if (!od(r)) throw Error(R(200));
  if (t == null || t._reactInternals === void 0) throw Error(R(38));
  return ad(t, e, r, !1, n)
};
Qt.version = "18.3.1-next-f1338f8080-20240426";

function ID() {
  if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
    __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ID)
  } catch (t) {
    console.error(t)
  }
}
ID(), I3.exports = Qt;
var ND = I3.exports,
  Ev = ND;
c0.createRoot = Ev.createRoot, c0.hydrateRoot = Ev.hydrateRoot;
/**
 * @remix-run/router v1.19.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */
function Bc() {
  return Bc = Object.assign ? Object.assign.bind() : function (t) {
    for (var e = 1; e < arguments.length; e++) {
      var r = arguments[e];
      for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (t[n] = r[n])
    }
    return t
  }, Bc.apply(this, arguments)
}
var di;
(function (t) {
  t.Pop = "POP", t.Push = "PUSH", t.Replace = "REPLACE"
})(di || (di = {}));
const Sv = "popstate";

function gj(t) {
  t === void 0 && (t = {});

  function e(n, i) {
    let {
      pathname: s,
      search: o,
      hash: a
    } = n.location;
    return np("", {
      pathname: s,
      search: o,
      hash: a
    }, i.state && i.state.usr || null, i.state && i.state.key || "default")
  }

  function r(n, i) {
    return typeof i == "string" ? i : RD(i)
  }
  return yj(e, r, null, t)
}

function TD(t, e) {
  if (t === !1 || t === null || typeof t > "u") throw new Error(e)
}

function vj() {
  return Math.random().toString(36).substr(2, 8)
}

function kv(t, e) {
  return {
    usr: t.state,
    key: t.key,
    idx: e
  }
}

function np(t, e, r, n) {
  return r === void 0 && (r = null), Bc({
    pathname: typeof t == "string" ? t : t.pathname,
    search: "",
    hash: ""
  }, typeof e == "string" ? FD(e) : e, {
    state: r,
    key: e && e.key || n || vj()
  })
}

function RD(t) {
  let {
    pathname: e = "/",
    search: r = "",
    hash: n = ""
  } = t;
  return r && r !== "?" && (e += r.charAt(0) === "?" ? r : "?" + r), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e
}

function FD(t) {
  let e = {};
  if (t) {
    let r = t.indexOf("#");
    r >= 0 && (e.hash = t.substr(r), t = t.substr(0, r));
    let n = t.indexOf("?");
    n >= 0 && (e.search = t.substr(n), t = t.substr(0, n)), t && (e.pathname = t)
  }
  return e
}

function yj(t, e, r, n) {
  n === void 0 && (n = {});
  let {
    window: i = document.defaultView,
    v5Compat: s = !1
  } = n, o = i.history, a = di.Pop, l = null, u = c();
  u == null && (u = 0, o.replaceState(Bc({}, o.state, {
    idx: u
  }), ""));

  function c() {
    return (o.state || {
      idx: null
    }).idx
  }

  function d() {
    a = di.Pop;
    let y = c(),
      m = y == null ? null : y - u;
    u = y, l && l({
      action: a,
      location: g.location,
      delta: m
    })
  }

  function f(y, m) {
    a = di.Push;
    let p = np(g.location, y, m);
    u = c() + 1;
    let v = kv(p, u),
      w = g.createHref(p);
    try {
      o.pushState(v, "", w)
    } catch (D) {
      if (D instanceof DOMException && D.name === "DataCloneError") throw D;
      i.location.assign(w)
    }
    s && l && l({
      action: a,
      location: g.location,
      delta: 1
    })
  }

  function B(y, m) {
    a = di.Replace;
    let p = np(g.location, y, m);
    u = c();
    let v = kv(p, u),
      w = g.createHref(p);
    o.replaceState(v, "", w), s && l && l({
      action: a,
      location: g.location,
      delta: 0
    })
  }

  function h(y) {
    let m = i.location.origin !== "null" ? i.location.origin : i.location.href,
      p = typeof y == "string" ? y : RD(y);
    return p = p.replace(/ $/, "%20"), TD(m, "No window.location.(origin|href) available to create URL for href: " + p), new URL(p, m)
  }
  let g = {
    get action() {
      return a
    },
    get location() {
      return t(i, o)
    },
    listen(y) {
      if (l) throw new Error("A history only accepts one active listener");
      return i.addEventListener(Sv, d), l = y, () => {
        i.removeEventListener(Sv, d), l = null
      }
    },
    createHref(y) {
      return e(i, y)
    },
    createURL: h,
    encodeLocation(y) {
      let m = h(y);
      return {
        pathname: m.pathname,
        search: m.search,
        hash: m.hash
      }
    },
    push: f,
    replace: B,
    go(y) {
      return o.go(y)
    }
  };
  return g
}
var jv;
(function (t) {
  t.data = "data", t.deferred = "deferred", t.redirect = "redirect", t.error = "error"
})(jv || (jv = {}));

function wj(t, e) {
  if (e === "/") return t;
  if (!t.toLowerCase().startsWith(e.toLowerCase())) return null;
  let r = e.endsWith("/") ? e.length - 1 : e.length,
    n = t.charAt(r);
  return n && n !== "/" ? null : t.slice(r) || "/"
}
const MD = ["post", "put", "patch", "delete"];
new Set(MD);
const bj = ["get", ...MD];
new Set(bj);
/**
 * React Router v6.26.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */
function ip() {
  return ip = Object.assign ? Object.assign.bind() : function (t) {
    for (var e = 1; e < arguments.length; e++) {
      var r = arguments[e];
      for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (t[n] = r[n])
    }
    return t
  }, ip.apply(this, arguments)
}
const Dj = k.createContext(null),
  LD = k.createContext(null);

function xj() {
  return k.useContext(LD) != null
}

function Ej(t) {
  let {
    basename: e = "/",
    children: r = null,
    location: n,
    navigationType: i = di.Pop,
    navigator: s,
    static: o = !1,
    future: a
  } = t;
  xj() && TD(!1);
  let l = e.replace(/^\/*/, "/"),
    u = k.useMemo(() => ({
      basename: l,
      navigator: s,
      static: o,
      future: ip({
        v7_relativeSplatPath: !1
      }, a)
    }), [l, a, s, o]);
  typeof n == "string" && (n = FD(n));
  let {
    pathname: c = "/",
    search: d = "",
    hash: f = "",
    state: B = null,
    key: h = "default"
  } = n, g = k.useMemo(() => {
    let y = wj(c, l);
    return y == null ? null : {
      location: {
        pathname: y,
        search: d,
        hash: f,
        state: B,
        key: h
      },
      navigationType: i
    }
  }, [l, c, d, f, B, h, i]);
  return g == null ? null : k.createElement(Dj.Provider, {
    value: u
  }, k.createElement(LD.Provider, {
    children: r,
    value: g
  }))
}
new Promise(() => {});
/**
 * React Router DOM v6.26.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */
const Sj = "6";
try {
  window.__reactRouterVersion = Sj
} catch {}
const kj = "startTransition",
  Av = aS[kj];

function jj(t) {
  let {
    basename: e,
    children: r,
    future: n,
    window: i
  } = t, s = k.useRef();
  s.current == null && (s.current = gj({
    window: i,
    v5Compat: !0
  }));
  let o = s.current,
    [a, l] = k.useState({
      action: o.action,
      location: o.location
    }),
    {
      v7_startTransition: u
    } = n || {},
    c = k.useCallback(d => {
      u && Av ? Av(() => l(d)) : l(d)
    }, [l, u]);
  return k.useLayoutEffect(() => o.listen(c), [o, c]), k.createElement(Ej, {
    basename: e,
    children: r,
    location: a.location,
    navigationType: a.action,
    navigator: o,
    future: n
  })
}
var Pv;
(function (t) {
  t.UseScrollRestoration = "useScrollRestoration", t.UseSubmit = "useSubmit", t.UseSubmitFetcher = "useSubmitFetcher", t.UseFetcher = "useFetcher", t.useViewTransitionState = "useViewTransitionState"
})(Pv || (Pv = {}));
var _v;
(function (t) {
  t.UseFetcher = "useFetcher", t.UseFetchers = "useFetchers", t.UseScrollRestoration = "useScrollRestoration"
})(_v || (_v = {}));

function Aj({
  storage: t,
  key: e = "REACT_QUERY_OFFLINE_CACHE",
  throttleTime: r = 1e3,
  serialize: n = JSON.stringify,
  deserialize: i = JSON.parse,
  retry: s
}) {
  if (t) {
    const o = a => {
      try {
        t.setItem(e, n(a));
        return
      } catch (l) {
        return l
      }
    };
    return {
      persistClient: Pj(a => {
        let l = a,
          u = o(l),
          c = 0;
        for (; u && l;) c++, l = s == null ? void 0 : s({
          persistedClient: l,
          error: u,
          errorCount: c
        }), l && (u = o(l))
      }, r),
      restoreClient: () => {
        const a = t.getItem(e);
        if (a) return i(a)
      },
      removeClient: () => {
        t.removeItem(e)
      }
    }
  }
  return {
    persistClient: Ov,
    restoreClient: () => {},
    removeClient: Ov
  }
}

function Pj(t, e = 100) {
  let r = null,
    n;
  return function (...i) {
    n = i, r === null && (r = setTimeout(() => {
      t(...n), r = null
    }, e))
  }
}

function Ov() {}
class Us {
  constructor() {
    this.listeners = new Set, this.subscribe = this.subscribe.bind(this)
  }
  subscribe(e) {
    const r = {
      listener: e
    };
    return this.listeners.add(r), this.onSubscribe(), () => {
      this.listeners.delete(r), this.onUnsubscribe()
    }
  }
  hasListeners() {
    return this.listeners.size > 0
  }
  onSubscribe() {}
  onUnsubscribe() {}
}
const sa = typeof window > "u" || "Deno" in window;

function tr() {}

function _j(t, e) {
  return typeof t == "function" ? t(e) : t
}

function sp(t) {
  return typeof t == "number" && t >= 0 && t !== 1 / 0
}

function UD(t, e) {
  return Math.max(t + (e || 0) - Date.now(), 0)
}

function Ml(t, e, r) {
  return za(t) ? typeof e == "function" ? {
    ...r,
    queryKey: t,
    queryFn: e
  } : {
    ...e,
    queryKey: t
  } : t
}

function zD(t, e, r) {
  return za(t) ? typeof e == "function" ? {
    ...r,
    mutationKey: t,
    mutationFn: e
  } : {
    ...e,
    mutationKey: t
  } : typeof t == "function" ? {
    ...e,
    mutationFn: t
  } : {
    ...t
  }
}

function vn(t, e, r) {
  return za(t) ? [{
    ...e,
    queryKey: t
  }, r] : [t || {}, e]
}

function Iv(t, e) {
  const {
    type: r = "all",
    exact: n,
    fetchStatus: i,
    predicate: s,
    queryKey: o,
    stale: a
  } = t;
  if (za(o)) {
    if (n) {
      if (e.queryHash !== S1(o, e.options)) return !1
    } else if (!hc(e.queryKey, o)) return !1
  }
  if (r !== "all") {
    const l = e.isActive();
    if (r === "active" && !l || r === "inactive" && l) return !1
  }
  return !(typeof a == "boolean" && e.isStale() !== a || typeof i < "u" && i !== e.state.fetchStatus || s && !s(e))
}

function Nv(t, e) {
  const {
    exact: r,
    fetching: n,
    predicate: i,
    mutationKey: s
  } = t;
  if (za(s)) {
    if (!e.options.mutationKey) return !1;
    if (r) {
      if (fi(e.options.mutationKey) !== fi(s)) return !1
    } else if (!hc(e.options.mutationKey, s)) return !1
  }
  return !(typeof n == "boolean" && e.state.status === "loading" !== n || i && !i(e))
}

function S1(t, e) {
  return ((e == null ? void 0 : e.queryKeyHashFn) || fi)(t)
}

function fi(t) {
  return JSON.stringify(t, (e, r) => op(r) ? Object.keys(r).sort().reduce((n, i) => (n[i] = r[i], n), {}) : r)
}

function hc(t, e) {
  return WD(t, e)
}

function WD(t, e) {
  return t === e ? !0 : typeof t != typeof e ? !1 : t && e && typeof t == "object" && typeof e == "object" ? !Object.keys(e).some(r => !WD(t[r], e[r])) : !1
}

function k1(t, e) {
  if (t === e) return t;
  const r = Tv(t) && Tv(e);
  if (r || op(t) && op(e)) {
    const n = r ? t.length : Object.keys(t).length,
      i = r ? e : Object.keys(e),
      s = i.length,
      o = r ? [] : {};
    let a = 0;
    for (let l = 0; l < s; l++) {
      const u = r ? l : i[l];
      o[u] = k1(t[u], e[u]), o[u] === t[u] && a++
    }
    return n === s && a === n ? t : o
  }
  return e
}

function pc(t, e) {
  if (t && !e || e && !t) return !1;
  for (const r in t)
    if (t[r] !== e[r]) return !1;
  return !0
}

function Tv(t) {
  return Array.isArray(t) && t.length === Object.keys(t).length
}

function op(t) {
  if (!Rv(t)) return !1;
  const e = t.constructor;
  if (typeof e > "u") return !0;
  const r = e.prototype;
  return !(!Rv(r) || !r.hasOwnProperty("isPrototypeOf"))
}

function Rv(t) {
  return Object.prototype.toString.call(t) === "[object Object]"
}

function za(t) {
  return Array.isArray(t)
}

function $D(t) {
  return new Promise(e => {
    setTimeout(e, t)
  })
}

function Fv(t) {
  $D(0).then(t)
}

function Oj() {
  if (typeof AbortController == "function") return new AbortController
}

function ap(t, e, r) {
  return r.isDataEqual != null && r.isDataEqual(t, e) ? t : typeof r.structuralSharing == "function" ? r.structuralSharing(t, e) : r.structuralSharing !== !1 ? k1(t, e) : e
}
class Ij extends Us {
  constructor() {
    super(), this.setup = e => {
      if (!sa && window.addEventListener) {
        const r = () => e();
        return window.addEventListener("visibilitychange", r, !1), window.addEventListener("focus", r, !1), () => {
          window.removeEventListener("visibilitychange", r), window.removeEventListener("focus", r)
        }
      }
    }
  }
  onSubscribe() {
    this.cleanup || this.setEventListener(this.setup)
  }
  onUnsubscribe() {
    if (!this.hasListeners()) {
      var e;
      (e = this.cleanup) == null || e.call(this), this.cleanup = void 0
    }
  }
  setEventListener(e) {
    var r;
    this.setup = e, (r = this.cleanup) == null || r.call(this), this.cleanup = e(n => {
      typeof n == "boolean" ? this.setFocused(n) : this.onFocus()
    })
  }
  setFocused(e) {
    this.focused !== e && (this.focused = e, this.onFocus())
  }
  onFocus() {
    this.listeners.forEach(({
      listener: e
    }) => {
      e()
    })
  }
  isFocused() {
    return typeof this.focused == "boolean" ? this.focused : typeof document > "u" ? !0 : [void 0, "visible", "prerender"].includes(document.visibilityState)
  }
}
const Cc = new Ij,
  Mv = ["online", "offline"];
class Nj extends Us {
  constructor() {
    super(), this.setup = e => {
      if (!sa && window.addEventListener) {
        const r = () => e();
        return Mv.forEach(n => {
          window.addEventListener(n, r, !1)
        }), () => {
          Mv.forEach(n => {
            window.removeEventListener(n, r)
          })
        }
      }
    }
  }
  onSubscribe() {
    this.cleanup || this.setEventListener(this.setup)
  }
  onUnsubscribe() {
    if (!this.hasListeners()) {
      var e;
      (e = this.cleanup) == null || e.call(this), this.cleanup = void 0
    }
  }
  setEventListener(e) {
    var r;
    this.setup = e, (r = this.cleanup) == null || r.call(this), this.cleanup = e(n => {
      typeof n == "boolean" ? this.setOnline(n) : this.onOnline()
    })
  }
  setOnline(e) {
    this.online !== e && (this.online = e, this.onOnline())
  }
  onOnline() {
    this.listeners.forEach(({
      listener: e
    }) => {
      e()
    })
  }
  isOnline() {
    return typeof this.online == "boolean" ? this.online : typeof navigator > "u" || typeof navigator.onLine > "u" ? !0 : navigator.onLine
  }
}
const mc = new Nj;

function Tj(t) {
  return Math.min(1e3 * 2 ** t, 3e4)
}

function ld(t) {
  return (t ?? "online") === "online" ? mc.isOnline() : !0
}
class HD {
  constructor(e) {
    this.revert = e == null ? void 0 : e.revert, this.silent = e == null ? void 0 : e.silent
  }
}

function Au(t) {
  return t instanceof HD
}

function GD(t) {
  let e = !1,
    r = 0,
    n = !1,
    i, s, o;
  const a = new Promise((y, m) => {
      s = y, o = m
    }),
    l = y => {
      n || (B(new HD(y)), t.abort == null || t.abort())
    },
    u = () => {
      e = !0
    },
    c = () => {
      e = !1
    },
    d = () => !Cc.isFocused() || t.networkMode !== "always" && !mc.isOnline(),
    f = y => {
      n || (n = !0, t.onSuccess == null || t.onSuccess(y), i == null || i(), s(y))
    },
    B = y => {
      n || (n = !0, t.onError == null || t.onError(y), i == null || i(), o(y))
    },
    h = () => new Promise(y => {
      i = m => {
        const p = n || !d();
        return p && y(m), p
      }, t.onPause == null || t.onPause()
    }).then(() => {
      i = void 0, n || t.onContinue == null || t.onContinue()
    }),
    g = () => {
      if (n) return;
      let y;
      try {
        y = t.fn()
      } catch (m) {
        y = Promise.reject(m)
      }
      Promise.resolve(y).then(f).catch(m => {
        var p, v;
        if (n) return;
        const w = (p = t.retry) != null ? p : 3,
          D = (v = t.retryDelay) != null ? v : Tj,
          x = typeof D == "function" ? D(r, m) : D,
          C = w === !0 || typeof w == "number" && r < w || typeof w == "function" && w(r, m);
        if (e || !C) {
          B(m);
          return
        }
        r++, t.onFail == null || t.onFail(r, m), $D(x).then(() => {
          if (d()) return h()
        }).then(() => {
          e ? B(m) : g()
        })
      })
    };
  return ld(t.networkMode) ? g() : h().then(g), {
    promise: a,
    cancel: l,
    continue: () => (i == null ? void 0 : i()) ? a : Promise.resolve(),
    cancelRetry: u,
    continueRetry: c
  }
}
const j1 = console;

function Rj() {
  let t = [],
    e = 0,
    r = c => {
      c()
    },
    n = c => {
      c()
    };
  const i = c => {
      let d;
      e++;
      try {
        d = c()
      } finally {
        e--, e || a()
      }
      return d
    },
    s = c => {
      e ? t.push(c) : Fv(() => {
        r(c)
      })
    },
    o = c => (...d) => {
      s(() => {
        c(...d)
      })
    },
    a = () => {
      const c = t;
      t = [], c.length && Fv(() => {
        n(() => {
          c.forEach(d => {
            r(d)
          })
        })
      })
    };
  return {
    batch: i,
    batchCalls: o,
    schedule: s,
    setNotifyFunction: c => {
      r = c
    },
    setBatchNotifyFunction: c => {
      n = c
    }
  }
}
const We = Rj();
class qD {
  destroy() {
    this.clearGcTimeout()
  }
  scheduleGc() {
    this.clearGcTimeout(), sp(this.cacheTime) && (this.gcTimeout = setTimeout(() => {
      this.optionalRemove()
    }, this.cacheTime))
  }
  updateCacheTime(e) {
    this.cacheTime = Math.max(this.cacheTime || 0, e ?? (sa ? 1 / 0 : 5 * 60 * 1e3))
  }
  clearGcTimeout() {
    this.gcTimeout && (clearTimeout(this.gcTimeout), this.gcTimeout = void 0)
  }
}
class Fj extends qD {
  constructor(e) {
    super(), this.abortSignalConsumed = !1, this.defaultOptions = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.cache = e.cache, this.logger = e.logger || j1, this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.initialState = e.state || Mj(this.options), this.state = this.initialState, this.scheduleGc()
  }
  get meta() {
    return this.options.meta
  }
  setOptions(e) {
    this.options = {
      ...this.defaultOptions,
      ...e
    }, this.updateCacheTime(this.options.cacheTime)
  }
  optionalRemove() {
    !this.observers.length && this.state.fetchStatus === "idle" && this.cache.remove(this)
  }
  setData(e, r) {
    const n = ap(this.state.data, e, this.options);
    return this.dispatch({
      data: n,
      type: "success",
      dataUpdatedAt: r == null ? void 0 : r.updatedAt,
      manual: r == null ? void 0 : r.manual
    }), n
  }
  setState(e, r) {
    this.dispatch({
      type: "setState",
      state: e,
      setStateOptions: r
    })
  }
  cancel(e) {
    var r;
    const n = this.promise;
    return (r = this.retryer) == null || r.cancel(e), n ? n.then(tr).catch(tr) : Promise.resolve()
  }
  destroy() {
    super.destroy(), this.cancel({
      silent: !0
    })
  }
  reset() {
    this.destroy(), this.setState(this.initialState)
  }
  isActive() {
    return this.observers.some(e => e.options.enabled !== !1)
  }
  isDisabled() {
    return this.getObserversCount() > 0 && !this.isActive()
  }
  isStale() {
    return this.state.isInvalidated || !this.state.dataUpdatedAt || this.observers.some(e => e.getCurrentResult().isStale)
  }
  isStaleByTime(e = 0) {
    return this.state.isInvalidated || !this.state.dataUpdatedAt || !UD(this.state.dataUpdatedAt, e)
  }
  onFocus() {
    var e;
    const r = this.observers.find(n => n.shouldFetchOnWindowFocus());
    r && r.refetch({
      cancelRefetch: !1
    }), (e = this.retryer) == null || e.continue()
  }
  onOnline() {
    var e;
    const r = this.observers.find(n => n.shouldFetchOnReconnect());
    r && r.refetch({
      cancelRefetch: !1
    }), (e = this.retryer) == null || e.continue()
  }
  addObserver(e) {
    this.observers.includes(e) || (this.observers.push(e), this.clearGcTimeout(), this.cache.notify({
      type: "observerAdded",
      query: this,
      observer: e
    }))
  }
  removeObserver(e) {
    this.observers.includes(e) && (this.observers = this.observers.filter(r => r !== e), this.observers.length || (this.retryer && (this.abortSignalConsumed ? this.retryer.cancel({
      revert: !0
    }) : this.retryer.cancelRetry()), this.scheduleGc()), this.cache.notify({
      type: "observerRemoved",
      query: this,
      observer: e
    }))
  }
  getObserversCount() {
    return this.observers.length
  }
  invalidate() {
    this.state.isInvalidated || this.dispatch({
      type: "invalidate"
    })
  }
  fetch(e, r) {
    var n, i;
    if (this.state.fetchStatus !== "idle") {
      if (this.state.dataUpdatedAt && r != null && r.cancelRefetch) this.cancel({
        silent: !0
      });
      else if (this.promise) {
        var s;
        return (s = this.retryer) == null || s.continueRetry(), this.promise
      }
    }
    if (e && this.setOptions(e), !this.options.queryFn) {
      const B = this.observers.find(h => h.options.queryFn);
      B && this.setOptions(B.options)
    }
    const o = Oj(),
      a = {
        queryKey: this.queryKey,
        pageParam: void 0,
        meta: this.meta
      },
      l = B => {
        Object.defineProperty(B, "signal", {
          enumerable: !0,
          get: () => {
            if (o) return this.abortSignalConsumed = !0, o.signal
          }
        })
      };
    l(a);
    const u = () => this.options.queryFn ? (this.abortSignalConsumed = !1, this.options.queryFn(a)) : Promise.reject("Missing queryFn for queryKey '" + this.options.queryHash + "'"),
      c = {
        fetchOptions: r,
        options: this.options,
        queryKey: this.queryKey,
        state: this.state,
        fetchFn: u
      };
    if (l(c), (n = this.options.behavior) == null || n.onFetch(c), this.revertState = this.state, this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((i = c.fetchOptions) == null ? void 0 : i.meta)) {
      var d;
      this.dispatch({
        type: "fetch",
        meta: (d = c.fetchOptions) == null ? void 0 : d.meta
      })
    }
    const f = B => {
      if (Au(B) && B.silent || this.dispatch({
          type: "error",
          error: B
        }), !Au(B)) {
        var h, g, y, m;
        (h = (g = this.cache.config).onError) == null || h.call(g, B, this), (y = (m = this.cache.config).onSettled) == null || y.call(m, this.state.data, B, this)
      }
      this.isFetchingOptimistic || this.scheduleGc(), this.isFetchingOptimistic = !1
    };
    return this.retryer = GD({
      fn: c.fetchFn,
      abort: o == null ? void 0 : o.abort.bind(o),
      onSuccess: B => {
        var h, g, y, m;
        if (typeof B > "u") {
          f(new Error(this.queryHash + " data is undefined"));
          return
        }
        this.setData(B), (h = (g = this.cache.config).onSuccess) == null || h.call(g, B, this), (y = (m = this.cache.config).onSettled) == null || y.call(m, B, this.state.error, this), this.isFetchingOptimistic || this.scheduleGc(), this.isFetchingOptimistic = !1
      },
      onError: f,
      onFail: (B, h) => {
        this.dispatch({
          type: "failed",
          failureCount: B,
          error: h
        })
      },
      onPause: () => {
        this.dispatch({
          type: "pause"
        })
      },
      onContinue: () => {
        this.dispatch({
          type: "continue"
        })
      },
      retry: c.options.retry,
      retryDelay: c.options.retryDelay,
      networkMode: c.options.networkMode
    }), this.promise = this.retryer.promise, this.promise
  }
  dispatch(e) {
    const r = n => {
      var i, s;
      switch (e.type) {
        case "failed":
          return {
            ...n, fetchFailureCount: e.failureCount, fetchFailureReason: e.error
          };
        case "pause":
          return {
            ...n, fetchStatus: "paused"
          };
        case "continue":
          return {
            ...n, fetchStatus: "fetching"
          };
        case "fetch":
          return {
            ...n, fetchFailureCount: 0, fetchFailureReason: null, fetchMeta: (i = e.meta) != null ? i : null, fetchStatus: ld(this.options.networkMode) ? "fetching" : "paused", ...!n.dataUpdatedAt && {
              error: null,
              status: "loading"
            }
          };
        case "success":
          return {
            ...n, data: e.data, dataUpdateCount: n.dataUpdateCount + 1, dataUpdatedAt: (s = e.dataUpdatedAt) != null ? s : Date.now(), error: null, isInvalidated: !1, status: "success", ...!e.manual && {
              fetchStatus: "idle",
              fetchFailureCount: 0,
              fetchFailureReason: null
            }
          };
        case "error":
          const o = e.error;
          return Au(o) && o.revert && this.revertState ? {
            ...this.revertState,
            fetchStatus: "idle"
          } : {
            ...n,
            error: o,
            errorUpdateCount: n.errorUpdateCount + 1,
            errorUpdatedAt: Date.now(),
            fetchFailureCount: n.fetchFailureCount + 1,
            fetchFailureReason: o,
            fetchStatus: "idle",
            status: "error"
          };
        case "invalidate":
          return {
            ...n, isInvalidated: !0
          };
        case "setState":
          return {
            ...n, ...e.state
          }
      }
    };
    this.state = r(this.state), We.batch(() => {
      this.observers.forEach(n => {
        n.onQueryUpdate(e)
      }), this.cache.notify({
        query: this,
        type: "updated",
        action: e
      })
    })
  }
}

function Mj(t) {
  const e = typeof t.initialData == "function" ? t.initialData() : t.initialData,
    r = typeof e < "u",
    n = r ? typeof t.initialDataUpdatedAt == "function" ? t.initialDataUpdatedAt() : t.initialDataUpdatedAt : 0;
  return {
    data: e,
    dataUpdateCount: 0,
    dataUpdatedAt: r ? n ?? Date.now() : 0,
    error: null,
    errorUpdateCount: 0,
    errorUpdatedAt: 0,
    fetchFailureCount: 0,
    fetchFailureReason: null,
    fetchMeta: null,
    isInvalidated: !1,
    status: r ? "success" : "loading",
    fetchStatus: "idle"
  }
}
class Lj extends Us {
  constructor(e) {
    super(), this.config = e || {}, this.queries = [], this.queriesMap = {}
  }
  build(e, r, n) {
    var i;
    const s = r.queryKey,
      o = (i = r.queryHash) != null ? i : S1(s, r);
    let a = this.get(o);
    return a || (a = new Fj({
      cache: this,
      logger: e.getLogger(),
      queryKey: s,
      queryHash: o,
      options: e.defaultQueryOptions(r),
      state: n,
      defaultOptions: e.getQueryDefaults(s)
    }), this.add(a)), a
  }
  add(e) {
    this.queriesMap[e.queryHash] || (this.queriesMap[e.queryHash] = e, this.queries.push(e), this.notify({
      type: "added",
      query: e
    }))
  }
  remove(e) {
    const r = this.queriesMap[e.queryHash];
    r && (e.destroy(), this.queries = this.queries.filter(n => n !== e), r === e && delete this.queriesMap[e.queryHash], this.notify({
      type: "removed",
      query: e
    }))
  }
  clear() {
    We.batch(() => {
      this.queries.forEach(e => {
        this.remove(e)
      })
    })
  }
  get(e) {
    return this.queriesMap[e]
  }
  getAll() {
    return this.queries
  }
  find(e, r) {
    const [n] = vn(e, r);
    return typeof n.exact > "u" && (n.exact = !0), this.queries.find(i => Iv(n, i))
  }
  findAll(e, r) {
    const [n] = vn(e, r);
    return Object.keys(n).length > 0 ? this.queries.filter(i => Iv(n, i)) : this.queries
  }
  notify(e) {
    We.batch(() => {
      this.listeners.forEach(({
        listener: r
      }) => {
        r(e)
      })
    })
  }
  onFocus() {
    We.batch(() => {
      this.queries.forEach(e => {
        e.onFocus()
      })
    })
  }
  onOnline() {
    We.batch(() => {
      this.queries.forEach(e => {
        e.onOnline()
      })
    })
  }
}
class Uj extends qD {
  constructor(e) {
    super(), this.defaultOptions = e.defaultOptions, this.mutationId = e.mutationId, this.mutationCache = e.mutationCache, this.logger = e.logger || j1, this.observers = [], this.state = e.state || VD(), this.setOptions(e.options), this.scheduleGc()
  }
  setOptions(e) {
    this.options = {
      ...this.defaultOptions,
      ...e
    }, this.updateCacheTime(this.options.cacheTime)
  }
  get meta() {
    return this.options.meta
  }
  setState(e) {
    this.dispatch({
      type: "setState",
      state: e
    })
  }
  addObserver(e) {
    this.observers.includes(e) || (this.observers.push(e), this.clearGcTimeout(), this.mutationCache.notify({
      type: "observerAdded",
      mutation: this,
      observer: e
    }))
  }
  removeObserver(e) {
    this.observers = this.observers.filter(r => r !== e), this.scheduleGc(), this.mutationCache.notify({
      type: "observerRemoved",
      mutation: this,
      observer: e
    })
  }
  optionalRemove() {
    this.observers.length || (this.state.status === "loading" ? this.scheduleGc() : this.mutationCache.remove(this))
  }
  continue () {
    var e, r;
    return (e = (r = this.retryer) == null ? void 0 : r.continue()) != null ? e : this.execute()
  }
  async execute() {
    const e = () => {
        var C;
        return this.retryer = GD({
          fn: () => this.options.mutationFn ? this.options.mutationFn(this.state.variables) : Promise.reject("No mutationFn found"),
          onFail: (S, A) => {
            this.dispatch({
              type: "failed",
              failureCount: S,
              error: A
            })
          },
          onPause: () => {
            this.dispatch({
              type: "pause"
            })
          },
          onContinue: () => {
            this.dispatch({
              type: "continue"
            })
          },
          retry: (C = this.options.retry) != null ? C : 0,
          retryDelay: this.options.retryDelay,
          networkMode: this.options.networkMode
        }), this.retryer.promise
      },
      r = this.state.status === "loading";
    try {
      var n, i, s, o, a, l, u, c;
      if (!r) {
        var d, f, B, h;
        this.dispatch({
          type: "loading",
          variables: this.options.variables
        }), await ((d = (f = this.mutationCache.config).onMutate) == null ? void 0 : d.call(f, this.state.variables, this));
        const S = await ((B = (h = this.options).onMutate) == null ? void 0 : B.call(h, this.state.variables));
        S !== this.state.context && this.dispatch({
          type: "loading",
          context: S,
          variables: this.state.variables
        })
      }
      const C = await e();
      return await ((n = (i = this.mutationCache.config).onSuccess) == null ? void 0 : n.call(i, C, this.state.variables, this.state.context, this)), await ((s = (o = this.options).onSuccess) == null ? void 0 : s.call(o, C, this.state.variables, this.state.context)), await ((a = (l = this.mutationCache.config).onSettled) == null ? void 0 : a.call(l, C, null, this.state.variables, this.state.context, this)), await ((u = (c = this.options).onSettled) == null ? void 0 : u.call(c, C, null, this.state.variables, this.state.context)), this.dispatch({
        type: "success",
        data: C
      }), C
    } catch (C) {
      try {
        var g, y, m, p, v, w, D, x;
        throw await ((g = (y = this.mutationCache.config).onError) == null ? void 0 : g.call(y, C, this.state.variables, this.state.context, this)), await ((m = (p = this.options).onError) == null ? void 0 : m.call(p, C, this.state.variables, this.state.context)), await ((v = (w = this.mutationCache.config).onSettled) == null ? void 0 : v.call(w, void 0, C, this.state.variables, this.state.context, this)), await ((D = (x = this.options).onSettled) == null ? void 0 : D.call(x, void 0, C, this.state.variables, this.state.context)), C
      } finally {
        this.dispatch({
          type: "error",
          error: C
        })
      }
    }
  }
  dispatch(e) {
    const r = n => {
      switch (e.type) {
        case "failed":
          return {
            ...n, failureCount: e.failureCount, failureReason: e.error
          };
        case "pause":
          return {
            ...n, isPaused: !0
          };
        case "continue":
          return {
            ...n, isPaused: !1
          };
        case "loading":
          return {
            ...n, context: e.context, data: void 0, failureCount: 0, failureReason: null, error: null, isPaused: !ld(this.options.networkMode), status: "loading", variables: e.variables
          };
        case "success":
          return {
            ...n, data: e.data, failureCount: 0, failureReason: null, error: null, status: "success", isPaused: !1
          };
        case "error":
          return {
            ...n, data: void 0, error: e.error, failureCount: n.failureCount + 1, failureReason: e.error, isPaused: !1, status: "error"
          };
        case "setState":
          return {
            ...n, ...e.state
          }
      }
    };
    this.state = r(this.state), We.batch(() => {
      this.observers.forEach(n => {
        n.onMutationUpdate(e)
      }), this.mutationCache.notify({
        mutation: this,
        type: "updated",
        action: e
      })
    })
  }
}

function VD() {
  return {
    context: void 0,
    data: void 0,
    error: null,
    failureCount: 0,
    failureReason: null,
    isPaused: !1,
    status: "idle",
    variables: void 0
  }
}
class zj extends Us {
  constructor(e) {
    super(), this.config = e || {}, this.mutations = [], this.mutationId = 0
  }
  build(e, r, n) {
    const i = new Uj({
      mutationCache: this,
      logger: e.getLogger(),
      mutationId: ++this.mutationId,
      options: e.defaultMutationOptions(r),
      state: n,
      defaultOptions: r.mutationKey ? e.getMutationDefaults(r.mutationKey) : void 0
    });
    return this.add(i), i
  }
  add(e) {
    this.mutations.push(e), this.notify({
      type: "added",
      mutation: e
    })
  }
  remove(e) {
    this.mutations = this.mutations.filter(r => r !== e), this.notify({
      type: "removed",
      mutation: e
    })
  }
  clear() {
    We.batch(() => {
      this.mutations.forEach(e => {
        this.remove(e)
      })
    })
  }
  getAll() {
    return this.mutations
  }
  find(e) {
    return typeof e.exact > "u" && (e.exact = !0), this.mutations.find(r => Nv(e, r))
  }
  findAll(e) {
    return this.mutations.filter(r => Nv(e, r))
  }
  notify(e) {
    We.batch(() => {
      this.listeners.forEach(({
        listener: r
      }) => {
        r(e)
      })
    })
  }
  resumePausedMutations() {
    var e;
    return this.resuming = ((e = this.resuming) != null ? e : Promise.resolve()).then(() => {
      const r = this.mutations.filter(n => n.state.isPaused);
      return We.batch(() => r.reduce((n, i) => n.then(() => i.continue().catch(tr)), Promise.resolve()))
    }).then(() => {
      this.resuming = void 0
    }), this.resuming
  }
}

function Wj() {
  return {
    onFetch: t => {
      t.fetchFn = () => {
        var e, r, n, i, s, o;
        const a = (e = t.fetchOptions) == null || (r = e.meta) == null ? void 0 : r.refetchPage,
          l = (n = t.fetchOptions) == null || (i = n.meta) == null ? void 0 : i.fetchMore,
          u = l == null ? void 0 : l.pageParam,
          c = (l == null ? void 0 : l.direction) === "forward",
          d = (l == null ? void 0 : l.direction) === "backward",
          f = ((s = t.state.data) == null ? void 0 : s.pages) || [],
          B = ((o = t.state.data) == null ? void 0 : o.pageParams) || [];
        let h = B,
          g = !1;
        const y = x => {
            Object.defineProperty(x, "signal", {
              enumerable: !0,
              get: () => {
                var C;
                if ((C = t.signal) != null && C.aborted) g = !0;
                else {
                  var S;
                  (S = t.signal) == null || S.addEventListener("abort", () => {
                    g = !0
                  })
                }
                return t.signal
              }
            })
          },
          m = t.options.queryFn || (() => Promise.reject("Missing queryFn for queryKey '" + t.options.queryHash + "'")),
          p = (x, C, S, A) => (h = A ? [C, ...h] : [...h, C], A ? [S, ...x] : [...x, S]),
          v = (x, C, S, A) => {
            if (g) return Promise.reject("Cancelled");
            if (typeof S > "u" && !C && x.length) return Promise.resolve(x);
            const P = {
              queryKey: t.queryKey,
              pageParam: S,
              meta: t.options.meta
            };
            y(P);
            const _ = m(P);
            return Promise.resolve(_).then(T => p(x, S, T, A))
          };
        let w;
        if (!f.length) w = v([]);
        else if (c) {
          const x = typeof u < "u",
            C = x ? u : Lv(t.options, f);
          w = v(f, x, C)
        } else if (d) {
          const x = typeof u < "u",
            C = x ? u : $j(t.options, f);
          w = v(f, x, C, !0)
        } else {
          h = [];
          const x = typeof t.options.getNextPageParam > "u";
          w = (a && f[0] ? a(f[0], 0, f) : !0) ? v([], x, B[0]) : Promise.resolve(p([], B[0], f[0]));
          for (let S = 1; S < f.length; S++) w = w.then(A => {
            if (a && f[S] ? a(f[S], S, f) : !0) {
              const _ = x ? B[S] : Lv(t.options, A);
              return v(A, x, _)
            }
            return Promise.resolve(p(A, B[S], f[S]))
          })
        }
        return w.then(x => ({
          pages: x,
          pageParams: h
        }))
      }
    }
  }
}

function Lv(t, e) {
  return t.getNextPageParam == null ? void 0 : t.getNextPageParam(e[e.length - 1], e)
}

function $j(t, e) {
  return t.getPreviousPageParam == null ? void 0 : t.getPreviousPageParam(e[0], e)
}
class Hj {
  constructor(e = {}) {
    this.queryCache = e.queryCache || new Lj, this.mutationCache = e.mutationCache || new zj, this.logger = e.logger || j1, this.defaultOptions = e.defaultOptions || {}, this.queryDefaults = [], this.mutationDefaults = [], this.mountCount = 0
  }
  mount() {
    this.mountCount++, this.mountCount === 1 && (this.unsubscribeFocus = Cc.subscribe(() => {
      Cc.isFocused() && (this.resumePausedMutations(), this.queryCache.onFocus())
    }), this.unsubscribeOnline = mc.subscribe(() => {
      mc.isOnline() && (this.resumePausedMutations(), this.queryCache.onOnline())
    }))
  }
  unmount() {
    var e, r;
    this.mountCount--, this.mountCount === 0 && ((e = this.unsubscribeFocus) == null || e.call(this), this.unsubscribeFocus = void 0, (r = this.unsubscribeOnline) == null || r.call(this), this.unsubscribeOnline = void 0)
  }
  isFetching(e, r) {
    const [n] = vn(e, r);
    return n.fetchStatus = "fetching", this.queryCache.findAll(n).length
  }
  isMutating(e) {
    return this.mutationCache.findAll({
      ...e,
      fetching: !0
    }).length
  }
  getQueryData(e, r) {
    var n;
    return (n = this.queryCache.find(e, r)) == null ? void 0 : n.state.data
  }
  ensureQueryData(e, r, n) {
    const i = Ml(e, r, n),
      s = this.getQueryData(i.queryKey);
    return s ? Promise.resolve(s) : this.fetchQuery(i)
  }
  getQueriesData(e) {
    return this.getQueryCache().findAll(e).map(({
      queryKey: r,
      state: n
    }) => {
      const i = n.data;
      return [r, i]
    })
  }
  setQueryData(e, r, n) {
    const i = this.queryCache.find(e),
      s = i == null ? void 0 : i.state.data,
      o = _j(r, s);
    if (typeof o > "u") return;
    const a = Ml(e),
      l = this.defaultQueryOptions(a);
    return this.queryCache.build(this, l).setData(o, {
      ...n,
      manual: !0
    })
  }
  setQueriesData(e, r, n) {
    return We.batch(() => this.getQueryCache().findAll(e).map(({
      queryKey: i
    }) => [i, this.setQueryData(i, r, n)]))
  }
  getQueryState(e, r) {
    var n;
    return (n = this.queryCache.find(e, r)) == null ? void 0 : n.state
  }
  removeQueries(e, r) {
    const [n] = vn(e, r), i = this.queryCache;
    We.batch(() => {
      i.findAll(n).forEach(s => {
        i.remove(s)
      })
    })
  }
  resetQueries(e, r, n) {
    const [i, s] = vn(e, r, n), o = this.queryCache, a = {
      type: "active",
      ...i
    };
    return We.batch(() => (o.findAll(i).forEach(l => {
      l.reset()
    }), this.refetchQueries(a, s)))
  }
  cancelQueries(e, r, n) {
    const [i, s = {}] = vn(e, r, n);
    typeof s.revert > "u" && (s.revert = !0);
    const o = We.batch(() => this.queryCache.findAll(i).map(a => a.cancel(s)));
    return Promise.all(o).then(tr).catch(tr)
  }
  invalidateQueries(e, r, n) {
    const [i, s] = vn(e, r, n);
    return We.batch(() => {
      var o, a;
      if (this.queryCache.findAll(i).forEach(u => {
          u.invalidate()
        }), i.refetchType === "none") return Promise.resolve();
      const l = {
        ...i,
        type: (o = (a = i.refetchType) != null ? a : i.type) != null ? o : "active"
      };
      return this.refetchQueries(l, s)
    })
  }
  refetchQueries(e, r, n) {
    const [i, s] = vn(e, r, n), o = We.batch(() => this.queryCache.findAll(i).filter(l => !l.isDisabled()).map(l => {
      var u;
      return l.fetch(void 0, {
        ...s,
        cancelRefetch: (u = s == null ? void 0 : s.cancelRefetch) != null ? u : !0,
        meta: {
          refetchPage: i.refetchPage
        }
      })
    }));
    let a = Promise.all(o).then(tr);
    return s != null && s.throwOnError || (a = a.catch(tr)), a
  }
  fetchQuery(e, r, n) {
    const i = Ml(e, r, n),
      s = this.defaultQueryOptions(i);
    typeof s.retry > "u" && (s.retry = !1);
    const o = this.queryCache.build(this, s);
    return o.isStaleByTime(s.staleTime) ? o.fetch(s) : Promise.resolve(o.state.data)
  }
  prefetchQuery(e, r, n) {
    return this.fetchQuery(e, r, n).then(tr).catch(tr)
  }
  fetchInfiniteQuery(e, r, n) {
    const i = Ml(e, r, n);
    return i.behavior = Wj(), this.fetchQuery(i)
  }
  prefetchInfiniteQuery(e, r, n) {
    return this.fetchInfiniteQuery(e, r, n).then(tr).catch(tr)
  }
  resumePausedMutations() {
    return this.mutationCache.resumePausedMutations()
  }
  getQueryCache() {
    return this.queryCache
  }
  getMutationCache() {
    return this.mutationCache
  }
  getLogger() {
    return this.logger
  }
  getDefaultOptions() {
    return this.defaultOptions
  }
  setDefaultOptions(e) {
    this.defaultOptions = e
  }
  setQueryDefaults(e, r) {
    const n = this.queryDefaults.find(i => fi(e) === fi(i.queryKey));
    n ? n.defaultOptions = r : this.queryDefaults.push({
      queryKey: e,
      defaultOptions: r
    })
  }
  getQueryDefaults(e) {
    if (!e) return;
    const r = this.queryDefaults.find(n => hc(e, n.queryKey));
    return r == null ? void 0 : r.defaultOptions
  }
  setMutationDefaults(e, r) {
    const n = this.mutationDefaults.find(i => fi(e) === fi(i.mutationKey));
    n ? n.defaultOptions = r : this.mutationDefaults.push({
      mutationKey: e,
      defaultOptions: r
    })
  }
  getMutationDefaults(e) {
    if (!e) return;
    const r = this.mutationDefaults.find(n => hc(e, n.mutationKey));
    return r == null ? void 0 : r.defaultOptions
  }
  defaultQueryOptions(e) {
    if (e != null && e._defaulted) return e;
    const r = {
      ...this.defaultOptions.queries,
      ...this.getQueryDefaults(e == null ? void 0 : e.queryKey),
      ...e,
      _defaulted: !0
    };
    return !r.queryHash && r.queryKey && (r.queryHash = S1(r.queryKey, r)), typeof r.refetchOnReconnect > "u" && (r.refetchOnReconnect = r.networkMode !== "always"), typeof r.useErrorBoundary > "u" && (r.useErrorBoundary = !!r.suspense), r
  }
  defaultMutationOptions(e) {
    return e != null && e._defaulted ? e : {
      ...this.defaultOptions.mutations,
      ...this.getMutationDefaults(e == null ? void 0 : e.mutationKey),
      ...e,
      _defaulted: !0
    }
  }
  clear() {
    this.queryCache.clear(), this.mutationCache.clear()
  }
}
class Gj extends Us {
  constructor(e, r) {
    super(), this.client = e, this.options = r, this.trackedProps = new Set, this.selectError = null, this.bindMethods(), this.setOptions(r)
  }
  bindMethods() {
    this.remove = this.remove.bind(this), this.refetch = this.refetch.bind(this)
  }
  onSubscribe() {
    this.listeners.size === 1 && (this.currentQuery.addObserver(this), Uv(this.currentQuery, this.options) && this.executeFetch(), this.updateTimers())
  }
  onUnsubscribe() {
    this.hasListeners() || this.destroy()
  }
  shouldFetchOnReconnect() {
    return lp(this.currentQuery, this.options, this.options.refetchOnReconnect)
  }
  shouldFetchOnWindowFocus() {
    return lp(this.currentQuery, this.options, this.options.refetchOnWindowFocus)
  }
  destroy() {
    this.listeners = new Set, this.clearStaleTimeout(), this.clearRefetchInterval(), this.currentQuery.removeObserver(this)
  }
  setOptions(e, r) {
    const n = this.options,
      i = this.currentQuery;
    if (this.options = this.client.defaultQueryOptions(e), pc(n, this.options) || this.client.getQueryCache().notify({
        type: "observerOptionsUpdated",
        query: this.currentQuery,
        observer: this
      }), typeof this.options.enabled < "u" && typeof this.options.enabled != "boolean") throw new Error("Expected enabled to be a boolean");
    this.options.queryKey || (this.options.queryKey = n.queryKey), this.updateQuery();
    const s = this.hasListeners();
    s && zv(this.currentQuery, i, this.options, n) && this.executeFetch(), this.updateResult(r), s && (this.currentQuery !== i || this.options.enabled !== n.enabled || this.options.staleTime !== n.staleTime) && this.updateStaleTimeout();
    const o = this.computeRefetchInterval();
    s && (this.currentQuery !== i || this.options.enabled !== n.enabled || o !== this.currentRefetchInterval) && this.updateRefetchInterval(o)
  }
  getOptimisticResult(e) {
    const r = this.client.getQueryCache().build(this.client, e),
      n = this.createResult(r, e);
    return Vj(this, n, e) && (this.currentResult = n, this.currentResultOptions = this.options, this.currentResultState = this.currentQuery.state), n
  }
  getCurrentResult() {
    return this.currentResult
  }
  trackResult(e) {
    const r = {};
    return Object.keys(e).forEach(n => {
      Object.defineProperty(r, n, {
        configurable: !1,
        enumerable: !0,
        get: () => (this.trackedProps.add(n), e[n])
      })
    }), r
  }
  getCurrentQuery() {
    return this.currentQuery
  }
  remove() {
    this.client.getQueryCache().remove(this.currentQuery)
  }
  refetch({
    refetchPage: e,
    ...r
  } = {}) {
    return this.fetch({
      ...r,
      meta: {
        refetchPage: e
      }
    })
  }
  fetchOptimistic(e) {
    const r = this.client.defaultQueryOptions(e),
      n = this.client.getQueryCache().build(this.client, r);
    return n.isFetchingOptimistic = !0, n.fetch().then(() => this.createResult(n, r))
  }
  fetch(e) {
    var r;
    return this.executeFetch({
      ...e,
      cancelRefetch: (r = e.cancelRefetch) != null ? r : !0
    }).then(() => (this.updateResult(), this.currentResult))
  }
  executeFetch(e) {
    this.updateQuery();
    let r = this.currentQuery.fetch(this.options, e);
    return e != null && e.throwOnError || (r = r.catch(tr)), r
  }
  updateStaleTimeout() {
    if (this.clearStaleTimeout(), sa || this.currentResult.isStale || !sp(this.options.staleTime)) return;
    const r = UD(this.currentResult.dataUpdatedAt, this.options.staleTime) + 1;
    this.staleTimeoutId = setTimeout(() => {
      this.currentResult.isStale || this.updateResult()
    }, r)
  }
  computeRefetchInterval() {
    var e;
    return typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.currentResult.data, this.currentQuery) : (e = this.options.refetchInterval) != null ? e : !1
  }
  updateRefetchInterval(e) {
    this.clearRefetchInterval(), this.currentRefetchInterval = e, !(sa || this.options.enabled === !1 || !sp(this.currentRefetchInterval) || this.currentRefetchInterval === 0) && (this.refetchIntervalId = setInterval(() => {
      (this.options.refetchIntervalInBackground || Cc.isFocused()) && this.executeFetch()
    }, this.currentRefetchInterval))
  }
  updateTimers() {
    this.updateStaleTimeout(), this.updateRefetchInterval(this.computeRefetchInterval())
  }
  clearStaleTimeout() {
    this.staleTimeoutId && (clearTimeout(this.staleTimeoutId), this.staleTimeoutId = void 0)
  }
  clearRefetchInterval() {
    this.refetchIntervalId && (clearInterval(this.refetchIntervalId), this.refetchIntervalId = void 0)
  }
  createResult(e, r) {
    const n = this.currentQuery,
      i = this.options,
      s = this.currentResult,
      o = this.currentResultState,
      a = this.currentResultOptions,
      l = e !== n,
      u = l ? e.state : this.currentQueryInitialState,
      c = l ? this.currentResult : this.previousQueryResult,
      {
        state: d
      } = e;
    let {
      dataUpdatedAt: f,
      error: B,
      errorUpdatedAt: h,
      fetchStatus: g,
      status: y
    } = d, m = !1, p = !1, v;
    if (r._optimisticResults) {
      const S = this.hasListeners(),
        A = !S && Uv(e, r),
        P = S && zv(e, n, r, i);
      (A || P) && (g = ld(e.options.networkMode) ? "fetching" : "paused", f || (y = "loading")), r._optimisticResults === "isRestoring" && (g = "idle")
    }
    if (r.keepPreviousData && !d.dataUpdatedAt && c != null && c.isSuccess && y !== "error") v = c.data, f = c.dataUpdatedAt, y = c.status, m = !0;
    else if (r.select && typeof d.data < "u")
      if (s && d.data === (o == null ? void 0 : o.data) && r.select === this.selectFn) v = this.selectResult;
      else try {
        this.selectFn = r.select, v = r.select(d.data), v = ap(s == null ? void 0 : s.data, v, r), this.selectResult = v, this.selectError = null
      } catch (S) {
        this.selectError = S
      } else v = d.data;
    if (typeof r.placeholderData < "u" && typeof v > "u" && y === "loading") {
      let S;
      if (s != null && s.isPlaceholderData && r.placeholderData === (a == null ? void 0 : a.placeholderData)) S = s.data;
      else if (S = typeof r.placeholderData == "function" ? r.placeholderData() : r.placeholderData, r.select && typeof S < "u") try {
        S = r.select(S), this.selectError = null
      } catch (A) {
        this.selectError = A
      }
      typeof S < "u" && (y = "success", v = ap(s == null ? void 0 : s.data, S, r), p = !0)
    }
    this.selectError && (B = this.selectError, v = this.selectResult, h = Date.now(), y = "error");
    const w = g === "fetching",
      D = y === "loading",
      x = y === "error";
    return {
      status: y,
      fetchStatus: g,
      isLoading: D,
      isSuccess: y === "success",
      isError: x,
      isInitialLoading: D && w,
      data: v,
      dataUpdatedAt: f,
      error: B,
      errorUpdatedAt: h,
      failureCount: d.fetchFailureCount,
      failureReason: d.fetchFailureReason,
      errorUpdateCount: d.errorUpdateCount,
      isFetched: d.dataUpdateCount > 0 || d.errorUpdateCount > 0,
      isFetchedAfterMount: d.dataUpdateCount > u.dataUpdateCount || d.errorUpdateCount > u.errorUpdateCount,
      isFetching: w,
      isRefetching: w && !D,
      isLoadingError: x && d.dataUpdatedAt === 0,
      isPaused: g === "paused",
      isPlaceholderData: p,
      isPreviousData: m,
      isRefetchError: x && d.dataUpdatedAt !== 0,
      isStale: A1(e, r),
      refetch: this.refetch,
      remove: this.remove
    }
  }
  updateResult(e) {
    const r = this.currentResult,
      n = this.createResult(this.currentQuery, this.options);
    if (this.currentResultState = this.currentQuery.state, this.currentResultOptions = this.options, pc(n, r)) return;
    this.currentResult = n;
    const i = {
        cache: !0
      },
      s = () => {
        if (!r) return !0;
        const {
          notifyOnChangeProps: o
        } = this.options, a = typeof o == "function" ? o() : o;
        if (a === "all" || !a && !this.trackedProps.size) return !0;
        const l = new Set(a ?? this.trackedProps);
        return this.options.useErrorBoundary && l.add("error"), Object.keys(this.currentResult).some(u => {
          const c = u;
          return this.currentResult[c] !== r[c] && l.has(c)
        })
      };
    (e == null ? void 0 : e.listeners) !== !1 && s() && (i.listeners = !0), this.notify({
      ...i,
      ...e
    })
  }
  updateQuery() {
    const e = this.client.getQueryCache().build(this.client, this.options);
    if (e === this.currentQuery) return;
    const r = this.currentQuery;
    this.currentQuery = e, this.currentQueryInitialState = e.state, this.previousQueryResult = this.currentResult, this.hasListeners() && (r == null || r.removeObserver(this), e.addObserver(this))
  }
  onQueryUpdate(e) {
    const r = {};
    e.type === "success" ? r.onSuccess = !e.manual : e.type === "error" && !Au(e.error) && (r.onError = !0), this.updateResult(r), this.hasListeners() && this.updateTimers()
  }
  notify(e) {
    We.batch(() => {
      if (e.onSuccess) {
        var r, n, i, s;
        (r = (n = this.options).onSuccess) == null || r.call(n, this.currentResult.data), (i = (s = this.options).onSettled) == null || i.call(s, this.currentResult.data, null)
      } else if (e.onError) {
        var o, a, l, u;
        (o = (a = this.options).onError) == null || o.call(a, this.currentResult.error), (l = (u = this.options).onSettled) == null || l.call(u, void 0, this.currentResult.error)
      }
      e.listeners && this.listeners.forEach(({
        listener: c
      }) => {
        c(this.currentResult)
      }), e.cache && this.client.getQueryCache().notify({
        query: this.currentQuery,
        type: "observerResultsUpdated"
      })
    })
  }
}

function qj(t, e) {
  return e.enabled !== !1 && !t.state.dataUpdatedAt && !(t.state.status === "error" && e.retryOnMount === !1)
}

function Uv(t, e) {
  return qj(t, e) || t.state.dataUpdatedAt > 0 && lp(t, e, e.refetchOnMount)
}

function lp(t, e, r) {
  if (e.enabled !== !1) {
    const n = typeof r == "function" ? r(t) : r;
    return n === "always" || n !== !1 && A1(t, e)
  }
  return !1
}

function zv(t, e, r, n) {
  return r.enabled !== !1 && (t !== e || n.enabled === !1) && (!r.suspense || t.state.status !== "error") && A1(t, r)
}

function A1(t, e) {
  return t.isStaleByTime(e.staleTime)
}

function Vj(t, e, r) {
  return r.keepPreviousData ? !1 : r.placeholderData !== void 0 ? e.isPlaceholderData : !pc(t.getCurrentResult(), e)
}
let Kj = class extends Us {
  constructor(e, r) {
    super(), this.client = e, this.setOptions(r), this.bindMethods(), this.updateResult()
  }
  bindMethods() {
    this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this)
  }
  setOptions(e) {
    var r;
    const n = this.options;
    this.options = this.client.defaultMutationOptions(e), pc(n, this.options) || this.client.getMutationCache().notify({
      type: "observerOptionsUpdated",
      mutation: this.currentMutation,
      observer: this
    }), (r = this.currentMutation) == null || r.setOptions(this.options)
  }
  onUnsubscribe() {
    if (!this.hasListeners()) {
      var e;
      (e = this.currentMutation) == null || e.removeObserver(this)
    }
  }
  onMutationUpdate(e) {
    this.updateResult();
    const r = {
      listeners: !0
    };
    e.type === "success" ? r.onSuccess = !0 : e.type === "error" && (r.onError = !0), this.notify(r)
  }
  getCurrentResult() {
    return this.currentResult
  }
  reset() {
    this.currentMutation = void 0, this.updateResult(), this.notify({
      listeners: !0
    })
  }
  mutate(e, r) {
    return this.mutateOptions = r, this.currentMutation && this.currentMutation.removeObserver(this), this.currentMutation = this.client.getMutationCache().build(this.client, {
      ...this.options,
      variables: typeof e < "u" ? e : this.options.variables
    }), this.currentMutation.addObserver(this), this.currentMutation.execute()
  }
  updateResult() {
    const e = this.currentMutation ? this.currentMutation.state : VD(),
      r = {
        ...e,
        isLoading: e.status === "loading",
        isSuccess: e.status === "success",
        isError: e.status === "error",
        isIdle: e.status === "idle",
        mutate: this.mutate,
        reset: this.reset
      };
    this.currentResult = r
  }
  notify(e) {
    We.batch(() => {
      if (this.mutateOptions && this.hasListeners()) {
        if (e.onSuccess) {
          var r, n, i, s;
          (r = (n = this.mutateOptions).onSuccess) == null || r.call(n, this.currentResult.data, this.currentResult.variables, this.currentResult.context), (i = (s = this.mutateOptions).onSettled) == null || i.call(s, this.currentResult.data, null, this.currentResult.variables, this.currentResult.context)
        } else if (e.onError) {
          var o, a, l, u;
          (o = (a = this.mutateOptions).onError) == null || o.call(a, this.currentResult.error, this.currentResult.variables, this.currentResult.context), (l = (u = this.mutateOptions).onSettled) == null || l.call(u, void 0, this.currentResult.error, this.currentResult.variables, this.currentResult.context)
        }
      }
      e.listeners && this.listeners.forEach(({
        listener: c
      }) => {
        c(this.currentResult)
      })
    })
  }
};

function Qj(t) {
  return {
    mutationKey: t.options.mutationKey,
    state: t.state
  }
}

function Jj(t) {
  return {
    state: t.state,
    queryKey: t.queryKey,
    queryHash: t.queryHash
  }
}

function Yj(t) {
  return t.state.isPaused
}

function Xj(t) {
  return t.state.status === "success"
}

function Zj(t, e = {}) {
  const r = [],
    n = [];
  if (e.dehydrateMutations !== !1) {
    const i = e.shouldDehydrateMutation || Yj;
    t.getMutationCache().getAll().forEach(s => {
      i(s) && r.push(Qj(s))
    })
  }
  if (e.dehydrateQueries !== !1) {
    const i = e.shouldDehydrateQuery || Xj;
    t.getQueryCache().getAll().forEach(s => {
      i(s) && n.push(Jj(s))
    })
  }
  return {
    mutations: r,
    queries: n
  }
}

function eA(t, e, r) {
  if (typeof e != "object" || e === null) return;
  const n = t.getMutationCache(),
    i = t.getQueryCache(),
    s = e.mutations || [],
    o = e.queries || [];
  s.forEach(a => {
    var l;
    n.build(t, {
      ...r == null || (l = r.defaultOptions) == null ? void 0 : l.mutations,
      mutationKey: a.mutationKey
    }, a.state)
  }), o.forEach(({
    queryKey: a,
    state: l,
    queryHash: u
  }) => {
    var c;
    const d = i.get(u);
    if (d) {
      if (d.state.dataUpdatedAt < l.dataUpdatedAt) {
        const {
          fetchStatus: f,
          ...B
        } = l;
        d.setState(B)
      }
      return
    }
    i.build(t, {
      ...r == null || (c = r.defaultOptions) == null ? void 0 : c.queries,
      queryKey: a,
      queryHash: u
    }, {
      ...l,
      fetchStatus: "idle"
    })
  })
}
var KD = {
    exports: {}
  },
  QD = {};
/**
 * @license React
 * use-sync-external-store-shim.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var xs = k;

function tA(t, e) {
  return t === e && (t !== 0 || 1 / t === 1 / e) || t !== t && e !== e
}
var rA = typeof Object.is == "function" ? Object.is : tA,
  nA = xs.useState,
  iA = xs.useEffect,
  sA = xs.useLayoutEffect,
  oA = xs.useDebugValue;

function aA(t, e) {
  var r = e(),
    n = nA({
      inst: {
        value: r,
        getSnapshot: e
      }
    }),
    i = n[0].inst,
    s = n[1];
  return sA(function () {
    i.value = r, i.getSnapshot = e, Tf(i) && s({
      inst: i
    })
  }, [t, r, e]), iA(function () {
    return Tf(i) && s({
      inst: i
    }), t(function () {
      Tf(i) && s({
        inst: i
      })
    })
  }, [t]), oA(r), r
}

function Tf(t) {
  var e = t.getSnapshot;
  t = t.value;
  try {
    var r = e();
    return !rA(t, r)
  } catch {
    return !0
  }
}

function lA(t, e) {
  return e()
}
var uA = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? lA : aA;
QD.useSyncExternalStore = xs.useSyncExternalStore !== void 0 ? xs.useSyncExternalStore : uA;
KD.exports = QD;
var P1 = KD.exports;
const cA = P1.useSyncExternalStore,
  Wv = k.createContext(void 0),
  JD = k.createContext(!1);

function YD(t, e) {
  return t || (e && typeof window < "u" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = Wv), window.ReactQueryClientContext) : Wv)
}
const _1 = ({
    context: t
  } = {}) => {
    const e = k.useContext(YD(t, k.useContext(JD)));
    if (!e) throw new Error("No QueryClient set, use QueryClientProvider to set one");
    return e
  },
  dA = ({
    client: t,
    children: e,
    context: r,
    contextSharing: n = !1
  }) => {
    k.useEffect(() => (t.mount(), () => {
      t.unmount()
    }), [t]);
    const i = YD(r, n);
    return k.createElement(JD.Provider, {
      value: !r && n
    }, k.createElement(i.Provider, {
      value: t
    }, e))
  },
  XD = k.createContext(!1),
  fA = () => k.useContext(XD);
XD.Provider;

function BA() {
  let t = !1;
  return {
    clearReset: () => {
      t = !1
    },
    reset: () => {
      t = !0
    },
    isReset: () => t
  }
}
const hA = k.createContext(BA()),
  pA = () => k.useContext(hA);

function CA(t, e) {
  return typeof t == "function" ? t(...e) : !!t
}

function mA(t, e, r) {
  const n = zD(t, e, r),
    i = _1({
      context: n.context
    }),
    [s] = k.useState(() => new Kj(i, n));
  k.useEffect(() => {
    s.setOptions(n)
  }, [s, n]);
  const o = cA(k.useCallback(l => s.subscribe(We.batchCalls(l)), [s]), () => s.getCurrentResult(), () => s.getCurrentResult()),
    a = k.useCallback((l, u) => {
      s.mutate(l, u).catch(gA)
    }, [s]);
  if (o.error && CA(s.options.useErrorBoundary, [o.error])) throw o.error;
  return {
    ...o,
    mutate: a,
    mutateAsync: o.mutate
  }
}

function gA() {}
const vA = ["added", "removed", "updated"];

function $v(t) {
  return vA.includes(t)
}
async function yA({
  queryClient: t,
  persister: e,
  maxAge: r = 1e3 * 60 * 60 * 24,
  buster: n = "",
  hydrateOptions: i
}) {
  try {
    const s = await e.restoreClient();
    if (s)
      if (s.timestamp) {
        const o = Date.now() - s.timestamp > r,
          a = s.buster !== n;
        o || a ? e.removeClient() : eA(t, s.clientState, i)
      } else e.removeClient()
  } catch {
    e.removeClient()
  }
}
async function Hv({
  queryClient: t,
  persister: e,
  buster: r = "",
  dehydrateOptions: n
}) {
  const i = {
    buster: r,
    timestamp: Date.now(),
    clientState: Zj(t, n)
  };
  await e.persistClient(i)
}

function wA(t) {
  const e = t.queryClient.getQueryCache().subscribe(n => {
      $v(n.type) && Hv(t)
    }),
    r = t.queryClient.getMutationCache().subscribe(n => {
      $v(n.type) && Hv(t)
    });
  return () => {
    e(), r()
  }
}

function bA(t) {
  let e = !1,
    r;
  const n = () => {
      e = !0, r == null || r()
    },
    i = yA(t).then(() => {
      e || (r = wA(t))
    });
  return [n, i]
}

function O1(t, e = {}) {
  const {
    fees: r = t.fees,
    formatters: n = t.formatters,
    serializers: i = t.serializers
  } = e;
  return {
    ...t,
    fees: r,
    formatters: n,
    serializers: i
  }
}
const DA = "1.21.3",
  xA = t => t,
  ud = t => t,
  EA = () => `viem@${DA}`;
let W = class up extends Error {
  constructor(e, r = {}) {
    var s;
    super(), Object.defineProperty(this, "details", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "docsPath", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "metaMessages", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "shortMessage", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "ViemError"
    }), Object.defineProperty(this, "version", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: EA()
    });
    const n = r.cause instanceof up ? r.cause.details : (s = r.cause) != null && s.message ? r.cause.message : r.details,
      i = r.cause instanceof up && r.cause.docsPath || r.docsPath;
    this.message = [e || "An error occurred.", "", ...r.metaMessages ? [...r.metaMessages, ""] : [], ...i ? [`Docs: https://viem.sh${i}.html${r.docsSlug?`#${r.docsSlug}`:""}`] : [], ...n ? [`Details: ${n}`] : [], `Version: ${this.version}`].join(`
`), r.cause && (this.cause = r.cause), this.details = n, this.docsPath = i, this.metaMessages = r.metaMessages, this.shortMessage = e
  }
  walk(e) {
    return ZD(this, e)
  }
};

function ZD(t, e) {
  return e != null && e(t) ? t : t && typeof t == "object" && "cause" in t ? ZD(t.cause, e) : e ? null : t
}
class SA extends W {
  constructor({
    max: e,
    min: r,
    signed: n,
    size: i,
    value: s
  }) {
    super(`Number "${s}" is not in safe ${i?`${i*8}-bit ${n?"signed":"unsigned"} `:""}integer range ${e?`(${r} to ${e})`:`(above ${r})`}`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "IntegerOutOfRangeError"
    })
  }
}
class kA extends W {
  constructor(e) {
    super(`Hex value "${e}" is not a valid boolean. The hex value must be "0x0" (false) or "0x1" (true).`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidHexBooleanError"
    })
  }
}
class jA extends W {
  constructor({
    givenSize: e,
    maxSize: r
  }) {
    super(`Size cannot exceed ${r} bytes. Given size: ${e} bytes.`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "SizeOverflowError"
    })
  }
}

function Mr(t, {
  strict: e = !0
} = {}) {
  return !t || typeof t != "string" ? !1 : e ? /^0x[0-9a-fA-F]*$/.test(t) : t.startsWith("0x")
}

function nt(t) {
  return Mr(t, {
    strict: !1
  }) ? Math.ceil((t.length - 2) / 2) : t.length
}

function mi(t, {
  dir: e = "left"
} = {}) {
  let r = typeof t == "string" ? t.replace("0x", "") : t,
    n = 0;
  for (let i = 0; i < r.length - 1 && r[e === "left" ? i : r.length - i - 1].toString() === "0"; i++) n++;
  return r = e === "left" ? r.slice(n) : r.slice(0, r.length - n), typeof t == "string" ? (r.length === 1 && e === "right" && (r = `${r}0`), `0x${r.length%2===1?`0${r}`:r}`) : r
}
class ex extends W {
  constructor({
    offset: e,
    position: r,
    size: n
  }) {
    super(`Slice ${r==="start"?"starting":"ending"} at offset "${e}" is out-of-bounds (size: ${n}).`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "SliceOffsetOutOfBoundsError"
    })
  }
}
class tx extends W {
  constructor({
    size: e,
    targetSize: r,
    type: n
  }) {
    super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (${e}) exceeds padding size (${r}).`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "SizeExceedsPaddingSizeError"
    })
  }
}

function zs(t, {
  dir: e,
  size: r = 32
} = {}) {
  return typeof t == "string" ? Fn(t, {
    dir: e,
    size: r
  }) : AA(t, {
    dir: e,
    size: r
  })
}

function Fn(t, {
  dir: e,
  size: r = 32
} = {}) {
  if (r === null) return t;
  const n = t.replace("0x", "");
  if (n.length > r * 2) throw new tx({
    size: Math.ceil(n.length / 2),
    targetSize: r,
    type: "hex"
  });
  return `0x${n[e==="right"?"padEnd":"padStart"](r*2,"0")}`
}

function AA(t, {
  dir: e,
  size: r = 32
} = {}) {
  if (r === null) return t;
  if (t.length > r) throw new tx({
    size: t.length,
    targetSize: r,
    type: "bytes"
  });
  const n = new Uint8Array(r);
  for (let i = 0; i < r; i++) {
    const s = e === "right";
    n[s ? i : r - i - 1] = t[s ? i : t.length - i - 1]
  }
  return n
}
const PA = Array.from({
  length: 256
}, (t, e) => e.toString(16).padStart(2, "0"));

function un(t, e = {}) {
  return typeof t == "number" || typeof t == "bigint" ? de(t, e) : typeof t == "string" ? I1(t, e) : typeof t == "boolean" ? rx(t, e) : oa(t, e)
}

function rx(t, e = {}) {
  const r = `0x${Number(t)}`;
  return typeof e.size == "number" ? (Jn(r, {
    size: e.size
  }), zs(r, {
    size: e.size
  })) : r
}

function oa(t, e = {}) {
  let r = "";
  for (let i = 0; i < t.length; i++) r += PA[t[i]];
  const n = `0x${r}`;
  return typeof e.size == "number" ? (Jn(n, {
    size: e.size
  }), zs(n, {
    dir: "right",
    size: e.size
  })) : n
}

function de(t, e = {}) {
  const {
    signed: r,
    size: n
  } = e, i = BigInt(t);
  let s;
  n ? r ? s = (1n << BigInt(n) * 8n - 1n) - 1n : s = 2n ** (BigInt(n) * 8n) - 1n : typeof t == "number" && (s = BigInt(Number.MAX_SAFE_INTEGER));
  const o = typeof s == "bigint" && r ? -s - 1n : 0;
  if (s && i > s || i < o) {
    const l = typeof t == "bigint" ? "n" : "";
    throw new SA({
      max: s ? `${s}${l}` : void 0,
      min: `${o}${l}`,
      signed: r,
      size: n,
      value: `${t}${l}`
    })
  }
  const a = `0x${(r&&i<0?(1n<<BigInt(n*8))+BigInt(i):i).toString(16)}`;
  return n ? zs(a, {
    size: n
  }) : a
}
const _A = new TextEncoder;

function I1(t, e = {}) {
  const r = _A.encode(t);
  return oa(r, e)
}
const OA = new TextEncoder;

function zn(t, e = {}) {
  return typeof t == "number" || typeof t == "bigint" ? NA(t, e) : typeof t == "boolean" ? IA(t, e) : Mr(t) ? N1(t, e) : Yr(t, e)
}

function IA(t, e = {}) {
  const r = new Uint8Array(1);
  return r[0] = Number(t), typeof e.size == "number" ? (Jn(r, {
    size: e.size
  }), zs(r, {
    size: e.size
  })) : r
}
const $r = {
  zero: 48,
  nine: 57,
  A: 65,
  F: 70,
  a: 97,
  f: 102
};

function Gv(t) {
  if (t >= $r.zero && t <= $r.nine) return t - $r.zero;
  if (t >= $r.A && t <= $r.F) return t - ($r.A - 10);
  if (t >= $r.a && t <= $r.f) return t - ($r.a - 10)
}

function N1(t, e = {}) {
  let r = t;
  e.size && (Jn(r, {
    size: e.size
  }), r = zs(r, {
    dir: "right",
    size: e.size
  }));
  let n = r.slice(2);
  n.length % 2 && (n = `0${n}`);
  const i = n.length / 2,
    s = new Uint8Array(i);
  for (let o = 0, a = 0; o < i; o++) {
    const l = Gv(n.charCodeAt(a++)),
      u = Gv(n.charCodeAt(a++));
    if (l === void 0 || u === void 0) throw new W(`Invalid byte sequence ("${n[a-2]}${n[a-1]}" in "${n}").`);
    s[o] = l * 16 + u
  }
  return s
}

function NA(t, e) {
  const r = de(t, e);
  return N1(r)
}

function Yr(t, e = {}) {
  const r = OA.encode(t);
  return typeof e.size == "number" ? (Jn(r, {
    size: e.size
  }), zs(r, {
    dir: "right",
    size: e.size
  })) : r
}

function Jn(t, {
  size: e
}) {
  if (nt(t) > e) throw new jA({
    givenSize: nt(t),
    maxSize: e
  })
}

function cd(t, e = {}) {
  const {
    signed: r
  } = e;
  e.size && Jn(t, {
    size: e.size
  });
  const n = BigInt(t);
  if (!r) return n;
  const i = (t.length - 2) / 2,
    s = (1n << BigInt(i) * 8n - 1n) - 1n;
  return n <= s ? n : n - BigInt(`0x${"f".padStart(i*2,"f")}`) - 1n
}

function TA(t, e = {}) {
  let r = t;
  if (e.size && (Jn(r, {
      size: e.size
    }), r = mi(r)), mi(r) === "0x00") return !1;
  if (mi(r) === "0x01") return !0;
  throw new kA(r)
}

function yt(t, e = {}) {
  return Number(cd(t, e))
}

function T1(t, e = {}) {
  let r = N1(t);
  return e.size && (Jn(r, {
    size: e.size
  }), r = mi(r, {
    dir: "right"
  })), new TextDecoder().decode(r)
}
const nx = {
  "0x0": "legacy",
  "0x1": "eip2930",
  "0x2": "eip1559"
};

function ix(t) {
  const e = {
    ...t,
    blockHash: t.blockHash ? t.blockHash : null,
    blockNumber: t.blockNumber ? BigInt(t.blockNumber) : null,
    chainId: t.chainId ? yt(t.chainId) : void 0,
    gas: t.gas ? BigInt(t.gas) : void 0,
    gasPrice: t.gasPrice ? BigInt(t.gasPrice) : void 0,
    maxFeePerGas: t.maxFeePerGas ? BigInt(t.maxFeePerGas) : void 0,
    maxPriorityFeePerGas: t.maxPriorityFeePerGas ? BigInt(t.maxPriorityFeePerGas) : void 0,
    nonce: t.nonce ? yt(t.nonce) : void 0,
    to: t.to ? t.to : null,
    transactionIndex: t.transactionIndex ? Number(t.transactionIndex) : null,
    type: t.type ? nx[t.type] : void 0,
    typeHex: t.type ? t.type : void 0,
    value: t.value ? BigInt(t.value) : void 0,
    v: t.v ? BigInt(t.v) : void 0
  };
  return e.yParity = (() => {
    if (t.yParity) return Number(t.yParity);
    if (typeof e.v == "bigint") {
      if (e.v === 0n || e.v === 27n) return 0;
      if (e.v === 1n || e.v === 28n) return 1;
      if (e.v >= 35n) return e.v % 2n === 0n ? 1 : 0
    }
  })(), e.type === "legacy" && (delete e.accessList, delete e.maxFeePerGas, delete e.maxPriorityFeePerGas, delete e.yParity), e.type === "eip2930" && (delete e.maxFeePerGas, delete e.maxPriorityFeePerGas), e
}

function sx(t) {
  var r;
  const e = (r = t.transactions) == null ? void 0 : r.map(n => typeof n == "string" ? n : ix(n));
  return {
    ...t,
    baseFeePerGas: t.baseFeePerGas ? BigInt(t.baseFeePerGas) : null,
    difficulty: t.difficulty ? BigInt(t.difficulty) : void 0,
    gasLimit: t.gasLimit ? BigInt(t.gasLimit) : void 0,
    gasUsed: t.gasUsed ? BigInt(t.gasUsed) : void 0,
    hash: t.hash ? t.hash : null,
    logsBloom: t.logsBloom ? t.logsBloom : null,
    nonce: t.nonce ? t.nonce : null,
    number: t.number ? BigInt(t.number) : null,
    size: t.size ? BigInt(t.size) : void 0,
    timestamp: t.timestamp ? BigInt(t.timestamp) : void 0,
    transactions: e,
    totalDifficulty: t.totalDifficulty ? BigInt(t.totalDifficulty) : null
  }
}

function Er(t, {
  args: e,
  eventName: r
} = {}) {
  return {
    ...t,
    blockHash: t.blockHash ? t.blockHash : null,
    blockNumber: t.blockNumber ? BigInt(t.blockNumber) : null,
    logIndex: t.logIndex ? Number(t.logIndex) : null,
    transactionHash: t.transactionHash ? t.transactionHash : null,
    transactionIndex: t.transactionIndex ? Number(t.transactionIndex) : null,
    ...r ? {
      args: e,
      eventName: r
    } : {}
  }
}
const RA = {
  "0x0": "reverted",
  "0x1": "success"
};

function FA(t) {
  return {
    ...t,
    blockNumber: t.blockNumber ? BigInt(t.blockNumber) : null,
    contractAddress: t.contractAddress ? t.contractAddress : null,
    cumulativeGasUsed: t.cumulativeGasUsed ? BigInt(t.cumulativeGasUsed) : null,
    effectiveGasPrice: t.effectiveGasPrice ? BigInt(t.effectiveGasPrice) : null,
    gasUsed: t.gasUsed ? BigInt(t.gasUsed) : null,
    logs: t.logs ? t.logs.map(e => Er(e)) : null,
    to: t.to ? t.to : null,
    transactionIndex: t.transactionIndex ? yt(t.transactionIndex) : null,
    status: t.status ? RA[t.status] : null,
    type: t.type ? nx[t.type] || t.type : null
  }
}
const MA = {
  legacy: "0x0",
  eip2930: "0x1",
  eip1559: "0x2"
};

function dd(t) {
  return {
    ...t,
    gas: typeof t.gas < "u" ? de(t.gas) : void 0,
    gasPrice: typeof t.gasPrice < "u" ? de(t.gasPrice) : void 0,
    maxFeePerGas: typeof t.maxFeePerGas < "u" ? de(t.maxFeePerGas) : void 0,
    maxPriorityFeePerGas: typeof t.maxPriorityFeePerGas < "u" ? de(t.maxPriorityFeePerGas) : void 0,
    nonce: typeof t.nonce < "u" ? de(t.nonce) : void 0,
    type: typeof t.type < "u" ? MA[t.type] : void 0,
    value: typeof t.value < "u" ? de(t.value) : void 0
  }
}
class aa extends W {
  constructor({
    address: e
  }) {
    super(`Address "${e}" is invalid.`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidAddressError"
    })
  }
}
class cp extends W {
  constructor({
    blockNumber: e,
    chain: r,
    contract: n
  }) {
    super(`Chain "${r.name}" does not support contract "${n.name}".`, {
      metaMessages: ["This could be due to any of the following:", ...e && n.blockCreated && n.blockCreated > e ? [`- The contract "${n.name}" was not deployed until block ${n.blockCreated} (current block ${e}).`] : [`- The chain does not have the contract "${n.name}" configured.`]]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "ChainDoesNotSupportContract"
    })
  }
}
let LA = class extends W {
  constructor({
    chain: e,
    currentChainId: r
  }) {
    super(`The current chain of the wallet (id: ${r}) does not match the target chain for the transaction (id: ${e.id} – ${e.name}).`, {
      metaMessages: [`Current Chain ID:  ${r}`, `Expected Chain ID: ${e.id} – ${e.name}`]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "ChainMismatchError"
    })
  }
};
class UA extends W {
  constructor() {
    super(["No chain was provided to the request.", "Please provide a chain with the `chain` argument on the Action, or by supplying a `chain` to WalletClient."].join(`
`)), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "ChainNotFoundError"
    })
  }
}
class ox extends W {
  constructor() {
    super("No chain was provided to the Client."), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "ClientChainNotConfiguredError"
    })
  }
}
const ax = {
    gwei: 9,
    wei: 18
  },
  zA = {
    ether: -9,
    wei: 9
  },
  WA = {
    ether: -18,
    gwei: -9
  };

function gc(t, e) {
  let r = t.toString();
  const n = r.startsWith("-");
  n && (r = r.slice(1)), r = r.padStart(e, "0");
  let [i, s] = [r.slice(0, r.length - e), r.slice(r.length - e)];
  return s = s.replace(/(0+)$/, ""), `${n?"-":""}${i||"0"}${s?`.${s}`:""}`
}

function Mt(t, e = "wei") {
  return gc(t, zA[e])
}
class ss extends W {
  constructor({
    cause: e,
    message: r
  } = {}) {
    var i;
    const n = (i = r == null ? void 0 : r.replace("execution reverted: ", "")) == null ? void 0 : i.replace("execution reverted", "");
    super(`Execution reverted ${n?`with reason: ${n}`:"for an unknown reason"}.`, {
      cause: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "ExecutionRevertedError"
    })
  }
}
Object.defineProperty(ss, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: 3
});
Object.defineProperty(ss, "nodeMessage", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: /execution reverted/
});
class vc extends W {
  constructor({
    cause: e,
    maxFeePerGas: r
  } = {}) {
    super(`The fee cap (\`maxFeePerGas\`${r?` = ${Mt(r)} gwei`:""}) cannot be higher than the maximum allowed value (2^256-1).`, {
      cause: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "FeeCapTooHigh"
    })
  }
}
Object.defineProperty(vc, "nodeMessage", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: /max fee per gas higher than 2\^256-1|fee cap higher than 2\^256-1/
});
class dp extends W {
  constructor({
    cause: e,
    maxFeePerGas: r
  } = {}) {
    super(`The fee cap (\`maxFeePerGas\`${r?` = ${Mt(r)}`:""} gwei) cannot be lower than the block base fee.`, {
      cause: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "FeeCapTooLow"
    })
  }
}
Object.defineProperty(dp, "nodeMessage", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: /max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/
});
class fp extends W {
  constructor({
    cause: e,
    nonce: r
  } = {}) {
    super(`Nonce provided for the transaction ${r?`(${r}) `:""}is higher than the next one expected.`, {
      cause: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "NonceTooHighError"
    })
  }
}
Object.defineProperty(fp, "nodeMessage", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: /nonce too high/
});
class Bp extends W {
  constructor({
    cause: e,
    nonce: r
  } = {}) {
    super([`Nonce provided for the transaction ${r?`(${r}) `:""}is lower than the current nonce of the account.`, "Try increasing the nonce or find the latest nonce with `getTransactionCount`."].join(`
`), {
      cause: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "NonceTooLowError"
    })
  }
}
Object.defineProperty(Bp, "nodeMessage", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: /nonce too low|transaction already imported|already known/
});
class hp extends W {
  constructor({
    cause: e,
    nonce: r
  } = {}) {
    super(`Nonce provided for the transaction ${r?`(${r}) `:""}exceeds the maximum allowed nonce.`, {
      cause: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "NonceMaxValueError"
    })
  }
}
Object.defineProperty(hp, "nodeMessage", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: /nonce has max value/
});
class pp extends W {
  constructor({
    cause: e
  } = {}) {
    super(["The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account."].join(`
`), {
      cause: e,
      metaMessages: ["This error could arise when the account does not have enough funds to:", " - pay for the total gas fee,", " - pay for the value to send.", " ", "The cost of the transaction is calculated as `gas * gas fee + value`, where:", " - `gas` is the amount of gas needed for transaction to execute,", " - `gas fee` is the gas fee,", " - `value` is the amount of ether to send to the recipient."]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InsufficientFundsError"
    })
  }
}
Object.defineProperty(pp, "nodeMessage", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: /insufficient funds/
});
class Cp extends W {
  constructor({
    cause: e,
    gas: r
  } = {}) {
    super(`The amount of gas ${r?`(${r}) `:""}provided for the transaction exceeds the limit allowed for the block.`, {
      cause: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "IntrinsicGasTooHighError"
    })
  }
}
Object.defineProperty(Cp, "nodeMessage", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: /intrinsic gas too high|gas limit reached/
});
class mp extends W {
  constructor({
    cause: e,
    gas: r
  } = {}) {
    super(`The amount of gas ${r?`(${r}) `:""}provided for the transaction is too low.`, {
      cause: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "IntrinsicGasTooLowError"
    })
  }
}
Object.defineProperty(mp, "nodeMessage", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: /intrinsic gas too low/
});
class gp extends W {
  constructor({
    cause: e
  }) {
    super("The transaction type is not supported for this chain.", {
      cause: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "TransactionTypeNotSupportedError"
    })
  }
}
Object.defineProperty(gp, "nodeMessage", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: /transaction type not valid/
});
class yc extends W {
  constructor({
    cause: e,
    maxPriorityFeePerGas: r,
    maxFeePerGas: n
  } = {}) {
    super([`The provided tip (\`maxPriorityFeePerGas\`${r?` = ${Mt(r)} gwei`:""}) cannot be higher than the fee cap (\`maxFeePerGas\`${n?` = ${Mt(n)} gwei`:""}).`].join(`
`), {
      cause: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "TipAboveFeeCapError"
    })
  }
}
Object.defineProperty(yc, "nodeMessage", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: /max priority fee per gas higher than max fee per gas|tip higher than fee cap/
});
class fd extends W {
  constructor({
    cause: e
  }) {
    super(`An error occurred while executing: ${e==null?void 0:e.shortMessage}`, {
      cause: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "UnknownNodeError"
    })
  }
}
const $A = /^0x[a-fA-F0-9]{40}$/;

function Wn(t) {
  return $A.test(t)
}

function nn(t) {
  return typeof t[0] == "string" ? R1(t) : HA(t)
}

function HA(t) {
  let e = 0;
  for (const i of t) e += i.length;
  const r = new Uint8Array(e);
  let n = 0;
  for (const i of t) r.set(i, n), n += i.length;
  return r
}

function R1(t) {
  return `0x${t.reduce((e,r)=>e+r.replace("0x",""),"")}`
}
const GA = "0.9.8";
class bt extends Error {
  constructor(e, r = {}) {
    var o;
    const n = r.cause instanceof bt ? r.cause.details : (o = r.cause) != null && o.message ? r.cause.message : r.details,
      i = r.cause instanceof bt && r.cause.docsPath || r.docsPath,
      s = [e || "An error occurred.", "", ...r.metaMessages ? [...r.metaMessages, ""] : [], ...i ? [`Docs: https://abitype.dev${i}`] : [], ...n ? [`Details: ${n}`] : [], `Version: abitype@${GA}`].join(`
`);
    super(s), Object.defineProperty(this, "details", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "docsPath", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "metaMessages", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "shortMessage", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AbiTypeError"
    }), r.cause && (this.cause = r.cause), this.details = n, this.docsPath = i, this.metaMessages = r.metaMessages, this.shortMessage = e
  }
}

function Yn(t, e) {
  const r = t.exec(e);
  return r == null ? void 0 : r.groups
}
const lx = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,
  ux = /^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,
  cx = /^\(.+?\).*?$/,
  qv = /^tuple(?<array>(\[(\d*)\])*)$/;

function vp(t) {
  let e = t.type;
  if (qv.test(t.type) && "components" in t) {
    e = "(";
    const r = t.components.length;
    for (let i = 0; i < r; i++) {
      const s = t.components[i];
      e += vp(s), i < r - 1 && (e += ", ")
    }
    const n = Yn(qv, t.type);
    return e += `)${(n==null?void 0:n.array)??""}`, vp({
      ...t,
      type: e
    })
  }
  return "indexed" in t && t.indexed && (e = `${e} indexed`), t.name ? `${e} ${t.name}` : e
}

function lo(t) {
  let e = "";
  const r = t.length;
  for (let n = 0; n < r; n++) {
    const i = t[n];
    e += vp(i), n !== r - 1 && (e += ", ")
  }
  return e
}

function qA(t) {
  return t.type === "function" ? `function ${t.name}(${lo(t.inputs)})${t.stateMutability&&t.stateMutability!=="nonpayable"?` ${t.stateMutability}`:""}${t.outputs.length?` returns (${lo(t.outputs)})`:""}` : t.type === "event" ? `event ${t.name}(${lo(t.inputs)})` : t.type === "error" ? `error ${t.name}(${lo(t.inputs)})` : t.type === "constructor" ? `constructor(${lo(t.inputs)})${t.stateMutability==="payable"?" payable":""}` : t.type === "fallback" ? "fallback()" : "receive() external payable"
}
const dx = /^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;

function VA(t) {
  return dx.test(t)
}

function KA(t) {
  return Yn(dx, t)
}
const fx = /^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;

function QA(t) {
  return fx.test(t)
}

function JA(t) {
  return Yn(fx, t)
}
const Bx = /^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\s?\((?<returns>.*?)\))?$/;

function YA(t) {
  return Bx.test(t)
}

function XA(t) {
  return Yn(Bx, t)
}
const hx = /^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?<properties>.*?)\}$/;

function px(t) {
  return hx.test(t)
}

function ZA(t) {
  return Yn(hx, t)
}
const Cx = /^constructor\((?<parameters>.*?)\)(?:\s(?<stateMutability>payable{1}))?$/;

function eP(t) {
  return Cx.test(t)
}

function tP(t) {
  return Yn(Cx, t)
}
const rP = /^fallback\(\)$/;

function nP(t) {
  return rP.test(t)
}
const iP = /^receive\(\) external payable$/;

function sP(t) {
  return iP.test(t)
}
const oP = new Set(["indexed"]),
  yp = new Set(["calldata", "memory", "storage"]);
class aP extends bt {
  constructor({
    signature: e
  }) {
    super("Failed to parse ABI item.", {
      details: `parseAbiItem(${JSON.stringify(e,null,2)})`,
      docsPath: "/api/human.html#parseabiitem-1"
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidAbiItemError"
    })
  }
}
class lP extends bt {
  constructor({
    type: e
  }) {
    super("Unknown type.", {
      metaMessages: [`Type "${e}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "UnknownTypeError"
    })
  }
}
class uP extends bt {
  constructor({
    type: e
  }) {
    super("Unknown type.", {
      metaMessages: [`Type "${e}" is not a valid ABI type.`]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "UnknownSolidityTypeError"
    })
  }
}
class cP extends bt {
  constructor({
    param: e
  }) {
    super("Invalid ABI parameter.", {
      details: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidParameterError"
    })
  }
}
class dP extends bt {
  constructor({
    param: e,
    name: r
  }) {
    super("Invalid ABI parameter.", {
      details: e,
      metaMessages: [`"${r}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "SolidityProtectedKeywordError"
    })
  }
}
class fP extends bt {
  constructor({
    param: e,
    type: r,
    modifier: n
  }) {
    super("Invalid ABI parameter.", {
      details: e,
      metaMessages: [`Modifier "${n}" not allowed${r?` in "${r}" type`:""}.`]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidModifierError"
    })
  }
}
class BP extends bt {
  constructor({
    param: e,
    type: r,
    modifier: n
  }) {
    super("Invalid ABI parameter.", {
      details: e,
      metaMessages: [`Modifier "${n}" not allowed${r?` in "${r}" type`:""}.`, `Data location can only be specified for array, struct, or mapping types, but "${n}" was given.`]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidFunctionModifierError"
    })
  }
}
class hP extends bt {
  constructor({
    abiParameter: e
  }) {
    super("Invalid ABI parameter.", {
      details: JSON.stringify(e, null, 2),
      metaMessages: ["ABI parameter type is invalid."]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidAbiTypeParameterError"
    })
  }
}
class xo extends bt {
  constructor({
    signature: e,
    type: r
  }) {
    super(`Invalid ${r} signature.`, {
      details: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidSignatureError"
    })
  }
}
class pP extends bt {
  constructor({
    signature: e
  }) {
    super("Unknown signature.", {
      details: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "UnknownSignatureError"
    })
  }
}
class CP extends bt {
  constructor({
    signature: e
  }) {
    super("Invalid struct signature.", {
      details: e,
      metaMessages: ["No properties exist."]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidStructSignatureError"
    })
  }
}
class mP extends bt {
  constructor({
    type: e
  }) {
    super("Circular reference detected.", {
      metaMessages: [`Struct "${e}" is a circular reference.`]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "CircularReferenceError"
    })
  }
}
class gP extends bt {
  constructor({
    current: e,
    depth: r
  }) {
    super("Unbalanced parentheses.", {
      metaMessages: [`"${e.trim()}" has too many ${r>0?"opening":"closing"} parentheses.`],
      details: `Depth "${r}"`
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidParenthesisError"
    })
  }
}

function vP(t, e) {
  return e ? `${e}:${t}` : t
}
const Rf = new Map([
  ["address", {
    type: "address"
  }],
  ["bool", {
    type: "bool"
  }],
  ["bytes", {
    type: "bytes"
  }],
  ["bytes32", {
    type: "bytes32"
  }],
  ["int", {
    type: "int256"
  }],
  ["int256", {
    type: "int256"
  }],
  ["string", {
    type: "string"
  }],
  ["uint", {
    type: "uint256"
  }],
  ["uint8", {
    type: "uint8"
  }],
  ["uint16", {
    type: "uint16"
  }],
  ["uint24", {
    type: "uint24"
  }],
  ["uint32", {
    type: "uint32"
  }],
  ["uint64", {
    type: "uint64"
  }],
  ["uint96", {
    type: "uint96"
  }],
  ["uint112", {
    type: "uint112"
  }],
  ["uint160", {
    type: "uint160"
  }],
  ["uint192", {
    type: "uint192"
  }],
  ["uint256", {
    type: "uint256"
  }],
  ["address owner", {
    type: "address",
    name: "owner"
  }],
  ["address to", {
    type: "address",
    name: "to"
  }],
  ["bool approved", {
    type: "bool",
    name: "approved"
  }],
  ["bytes _data", {
    type: "bytes",
    name: "_data"
  }],
  ["bytes data", {
    type: "bytes",
    name: "data"
  }],
  ["bytes signature", {
    type: "bytes",
    name: "signature"
  }],
  ["bytes32 hash", {
    type: "bytes32",
    name: "hash"
  }],
  ["bytes32 r", {
    type: "bytes32",
    name: "r"
  }],
  ["bytes32 root", {
    type: "bytes32",
    name: "root"
  }],
  ["bytes32 s", {
    type: "bytes32",
    name: "s"
  }],
  ["string name", {
    type: "string",
    name: "name"
  }],
  ["string symbol", {
    type: "string",
    name: "symbol"
  }],
  ["string tokenURI", {
    type: "string",
    name: "tokenURI"
  }],
  ["uint tokenId", {
    type: "uint256",
    name: "tokenId"
  }],
  ["uint8 v", {
    type: "uint8",
    name: "v"
  }],
  ["uint256 balance", {
    type: "uint256",
    name: "balance"
  }],
  ["uint256 tokenId", {
    type: "uint256",
    name: "tokenId"
  }],
  ["uint256 value", {
    type: "uint256",
    name: "value"
  }],
  ["event:address indexed from", {
    type: "address",
    name: "from",
    indexed: !0
  }],
  ["event:address indexed to", {
    type: "address",
    name: "to",
    indexed: !0
  }],
  ["event:uint indexed tokenId", {
    type: "uint256",
    name: "tokenId",
    indexed: !0
  }],
  ["event:uint256 indexed tokenId", {
    type: "uint256",
    name: "tokenId",
    indexed: !0
  }]
]);

function Vv(t, e = {}) {
  if (YA(t)) {
    const r = XA(t);
    if (!r) throw new xo({
      signature: t,
      type: "function"
    });
    const n = vr(r.parameters),
      i = [],
      s = n.length;
    for (let a = 0; a < s; a++) i.push(ai(n[a], {
      modifiers: yp,
      structs: e,
      type: "function"
    }));
    const o = [];
    if (r.returns) {
      const a = vr(r.returns),
        l = a.length;
      for (let u = 0; u < l; u++) o.push(ai(a[u], {
        modifiers: yp,
        structs: e,
        type: "function"
      }))
    }
    return {
      name: r.name,
      type: "function",
      stateMutability: r.stateMutability ?? "nonpayable",
      inputs: i,
      outputs: o
    }
  }
  if (QA(t)) {
    const r = JA(t);
    if (!r) throw new xo({
      signature: t,
      type: "event"
    });
    const n = vr(r.parameters),
      i = [],
      s = n.length;
    for (let o = 0; o < s; o++) i.push(ai(n[o], {
      modifiers: oP,
      structs: e,
      type: "event"
    }));
    return {
      name: r.name,
      type: "event",
      inputs: i
    }
  }
  if (VA(t)) {
    const r = KA(t);
    if (!r) throw new xo({
      signature: t,
      type: "error"
    });
    const n = vr(r.parameters),
      i = [],
      s = n.length;
    for (let o = 0; o < s; o++) i.push(ai(n[o], {
      structs: e,
      type: "error"
    }));
    return {
      name: r.name,
      type: "error",
      inputs: i
    }
  }
  if (eP(t)) {
    const r = tP(t);
    if (!r) throw new xo({
      signature: t,
      type: "constructor"
    });
    const n = vr(r.parameters),
      i = [],
      s = n.length;
    for (let o = 0; o < s; o++) i.push(ai(n[o], {
      structs: e,
      type: "constructor"
    }));
    return {
      type: "constructor",
      stateMutability: r.stateMutability ?? "nonpayable",
      inputs: i
    }
  }
  if (nP(t)) return {
    type: "fallback"
  };
  if (sP(t)) return {
    type: "receive",
    stateMutability: "payable"
  };
  throw new pP({
    signature: t
  })
}
const yP = /^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,
  wP = /^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,
  bP = /^u?int$/;

function ai(t, e) {
  var d, f;
  const r = vP(t, e == null ? void 0 : e.type);
  if (Rf.has(r)) return Rf.get(r);
  const n = cx.test(t),
    i = Yn(n ? wP : yP, t);
  if (!i) throw new cP({
    param: t
  });
  if (i.name && xP(i.name)) throw new dP({
    param: t,
    name: i.name
  });
  const s = i.name ? {
      name: i.name
    } : {},
    o = i.modifier === "indexed" ? {
      indexed: !0
    } : {},
    a = (e == null ? void 0 : e.structs) ?? {};
  let l, u = {};
  if (n) {
    l = "tuple";
    const B = vr(i.type),
      h = [],
      g = B.length;
    for (let y = 0; y < g; y++) h.push(ai(B[y], {
      structs: a
    }));
    u = {
      components: h
    }
  } else if (i.type in a) l = "tuple", u = {
    components: a[i.type]
  };
  else if (bP.test(i.type)) l = `${i.type}256`;
  else if (l = i.type, (e == null ? void 0 : e.type) !== "struct" && !mx(l)) throw new uP({
    type: l
  });
  if (i.modifier) {
    if (!((f = (d = e == null ? void 0 : e.modifiers) == null ? void 0 : d.has) != null && f.call(d, i.modifier))) throw new fP({
      param: t,
      type: e == null ? void 0 : e.type,
      modifier: i.modifier
    });
    if (yp.has(i.modifier) && !EP(l, !!i.array)) throw new BP({
      param: t,
      type: e == null ? void 0 : e.type,
      modifier: i.modifier
    })
  }
  const c = {
    type: `${l}${i.array??""}`,
    ...s,
    ...o,
    ...u
  };
  return Rf.set(r, c), c
}

function vr(t, e = [], r = "", n = 0) {
  if (t === "") {
    if (r === "") return e;
    if (n !== 0) throw new gP({
      current: r,
      depth: n
    });
    return e.push(r.trim()), e
  }
  const i = t.length;
  for (let s = 0; s < i; s++) {
    const o = t[s],
      a = t.slice(s + 1);
    switch (o) {
      case ",":
        return n === 0 ? vr(a, [...e, r.trim()]) : vr(a, e, `${r}${o}`, n);
      case "(":
        return vr(a, e, `${r}${o}`, n + 1);
      case ")":
        return vr(a, e, `${r}${o}`, n - 1);
      default:
        return vr(a, e, `${r}${o}`, n)
    }
  }
  return []
}

function mx(t) {
  return t === "address" || t === "bool" || t === "function" || t === "string" || lx.test(t) || ux.test(t)
}
const DP = /^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;

function xP(t) {
  return t === "address" || t === "bool" || t === "function" || t === "string" || t === "tuple" || lx.test(t) || ux.test(t) || DP.test(t)
}

function EP(t, e) {
  return e || t === "bytes" || t === "string" || t === "tuple"
}

function SP(t) {
  const e = {},
    r = t.length;
  for (let o = 0; o < r; o++) {
    const a = t[o];
    if (!px(a)) continue;
    const l = ZA(a);
    if (!l) throw new xo({
      signature: a,
      type: "struct"
    });
    const u = l.properties.split(";"),
      c = [],
      d = u.length;
    for (let f = 0; f < d; f++) {
      const h = u[f].trim();
      if (!h) continue;
      const g = ai(h, {
        type: "struct"
      });
      c.push(g)
    }
    if (!c.length) throw new CP({
      signature: a
    });
    e[l.name] = c
  }
  const n = {},
    i = Object.entries(e),
    s = i.length;
  for (let o = 0; o < s; o++) {
    const [a, l] = i[o];
    n[a] = gx(l, e)
  }
  return n
}
const kP = /^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/;

function gx(t, e, r = new Set) {
  const n = [],
    i = t.length;
  for (let s = 0; s < i; s++) {
    const o = t[s];
    if (cx.test(o.type)) n.push(o);
    else {
      const l = Yn(kP, o.type);
      if (!(l != null && l.type)) throw new hP({
        abiParameter: o
      });
      const {
        array: u,
        type: c
      } = l;
      if (c in e) {
        if (r.has(c)) throw new mP({
          type: c
        });
        n.push({
          ...o,
          type: `tuple${u??""}`,
          components: gx(e[c] ?? [], e, new Set([...r, c]))
        })
      } else if (mx(c)) n.push(o);
      else throw new lP({
        type: c
      })
    }
  }
  return n
}

function Ff(t) {
  let e;
  if (typeof t == "string") e = Vv(t);
  else {
    const r = SP(t),
      n = t.length;
    for (let i = 0; i < n; i++) {
      const s = t[i];
      if (!px(s)) {
        e = Vv(s, r);
        break
      }
    }
  }
  if (!e) throw new aP({
    signature: t
  });
  return e
}

function ie(t, e, r) {
  return n => {
    var i;
    return ((i = t[e.name || r]) == null ? void 0 : i.call(t, n)) ?? e(t, n)
  }
}

function sn(t, {
  includeName: e = !1
} = {}) {
  if (t.type !== "function" && t.type !== "event" && t.type !== "error") throw new zP(t.type);
  return `${t.name}(${Bd(t.inputs,{includeName:e})})`
}

function Bd(t, {
  includeName: e = !1
} = {}) {
  return t ? t.map(r => jP(r, {
    includeName: e
  })).join(e ? ", " : ",") : ""
}

function jP(t, {
  includeName: e
}) {
  return t.type.startsWith("tuple") ? `(${Bd(t.components,{includeName:e})})${t.type.slice(5)}` : t.type + (e && t.name ? ` ${t.name}` : "")
}
class AP extends W {
  constructor({
    docsPath: e
  }) {
    super(["A constructor was not found on the ABI.", "Make sure you are using the correct ABI and that the constructor exists on it."].join(`
`), {
      docsPath: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AbiConstructorNotFoundError"
    })
  }
}
class Kv extends W {
  constructor({
    docsPath: e
  }) {
    super(["Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.", "Make sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists."].join(`
`), {
      docsPath: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AbiConstructorParamsNotFoundError"
    })
  }
}
class F1 extends W {
  constructor({
    data: e,
    params: r,
    size: n
  }) {
    super([`Data size of ${n} bytes is too small for given parameters.`].join(`
`), {
      metaMessages: [`Params: (${Bd(r,{includeName:!0})})`, `Data:   ${e} (${n} bytes)`]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AbiDecodingDataSizeTooSmallError"
    }), Object.defineProperty(this, "data", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "params", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "size", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), this.data = e, this.params = r, this.size = n
  }
}
class hd extends W {
  constructor() {
    super('Cannot decode zero data ("0x") with ABI parameters.'), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AbiDecodingZeroDataError"
    })
  }
}
class PP extends W {
  constructor({
    expectedLength: e,
    givenLength: r,
    type: n
  }) {
    super([`ABI encoding array length mismatch for type ${n}.`, `Expected length: ${e}`, `Given length: ${r}`].join(`
`)), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AbiEncodingArrayLengthMismatchError"
    })
  }
}
class _P extends W {
  constructor({
    expectedSize: e,
    value: r
  }) {
    super(`Size of bytes "${r}" (bytes${nt(r)}) does not match expected size (bytes${e}).`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AbiEncodingBytesSizeMismatchError"
    })
  }
}
class OP extends W {
  constructor({
    expectedLength: e,
    givenLength: r
  }) {
    super(["ABI encoding params/values length mismatch.", `Expected length (params): ${e}`, `Given length (values): ${r}`].join(`
`)), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AbiEncodingLengthMismatchError"
    })
  }
}
class vx extends W {
  constructor(e, {
    docsPath: r
  }) {
    super([`Encoded error signature "${e}" not found on ABI.`, "Make sure you are using the correct ABI and that the error exists on it.", `You can look up the decoded signature here: https://openchain.xyz/signatures?query=${e}.`].join(`
`), {
      docsPath: r
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AbiErrorSignatureNotFoundError"
    }), Object.defineProperty(this, "signature", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), this.signature = e
  }
}
class IP extends W {
  constructor({
    docsPath: e
  }) {
    super("Cannot extract event signature from empty topics.", {
      docsPath: e
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AbiEventSignatureEmptyTopicsError"
    })
  }
}
class NP extends W {
  constructor(e, {
    docsPath: r
  }) {
    super([`Encoded event signature "${e}" not found on ABI.`, "Make sure you are using the correct ABI and that the event exists on it.", `You can look up the signature here: https://openchain.xyz/signatures?query=${e}.`].join(`
`), {
      docsPath: r
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AbiEventSignatureNotFoundError"
    })
  }
}
class Qv extends W {
  constructor(e, {
    docsPath: r
  } = {}) {
    super([`Event ${e?`"${e}" `:""}not found on ABI.`, "Make sure you are using the correct ABI and that the event exists on it."].join(`
`), {
      docsPath: r
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AbiEventNotFoundError"
    })
  }
}
class wc extends W {
  constructor(e, {
    docsPath: r
  } = {}) {
    super([`Function ${e?`"${e}" `:""}not found on ABI.`, "Make sure you are using the correct ABI and that the function exists on it."].join(`
`), {
      docsPath: r
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AbiFunctionNotFoundError"
    })
  }
}
class TP extends W {
  constructor(e, {
    docsPath: r
  }) {
    super([`Function "${e}" does not contain any \`outputs\` on ABI.`, "Cannot decode function result without knowing what the parameter types are.", "Make sure you are using the correct ABI and that the function exists on it."].join(`
`), {
      docsPath: r
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AbiFunctionOutputsNotFoundError"
    })
  }
}
class RP extends W {
  constructor(e, r) {
    super("Found ambiguous types in overloaded ABI items.", {
      metaMessages: [`\`${e.type}\` in \`${sn(e.abiItem)}\`, and`, `\`${r.type}\` in \`${sn(r.abiItem)}\``, "", "These types encode differently and cannot be distinguished at runtime.", "Remove one of the ambiguous items in the ABI."]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AbiItemAmbiguityError"
    })
  }
}
class FP extends W {
  constructor({
    expectedSize: e,
    givenSize: r
  }) {
    super(`Expected bytes${e}, got bytes${r}.`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "BytesSizeMismatchError"
    })
  }
}
class xi extends W {
  constructor({
    abiItem: e,
    data: r,
    params: n,
    size: i
  }) {
    super([`Data size of ${i} bytes is too small for non-indexed event parameters.`].join(`
`), {
      metaMessages: [`Params: (${Bd(n,{includeName:!0})})`, `Data:   ${r} (${i} bytes)`]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "DecodeLogDataMismatch"
    }), Object.defineProperty(this, "abiItem", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "data", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "params", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "size", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), this.abiItem = e, this.data = r, this.params = n, this.size = i
  }
}
class Ws extends W {
  constructor({
    abiItem: e,
    param: r
  }) {
    super([`Expected a topic for indexed event parameter${r.name?` "${r.name}"`:""} on event "${sn(e,{includeName:!0})}".`].join(`
`)), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "DecodeLogTopicsMismatch"
    }), Object.defineProperty(this, "abiItem", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), this.abiItem = e
  }
}
class MP extends W {
  constructor(e, {
    docsPath: r
  }) {
    super([`Type "${e}" is not a valid encoding type.`, "Please provide a valid ABI type."].join(`
`), {
      docsPath: r
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidAbiEncodingType"
    })
  }
}
class LP extends W {
  constructor(e, {
    docsPath: r
  }) {
    super([`Type "${e}" is not a valid decoding type.`, "Please provide a valid ABI type."].join(`
`), {
      docsPath: r
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidAbiDecodingType"
    })
  }
}
class UP extends W {
  constructor(e) {
    super([`Value "${e}" is not a valid array.`].join(`
`)), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidArrayError"
    })
  }
}
class zP extends W {
  constructor(e) {
    super([`"${e}" is not a valid definition type.`, 'Valid types: "function", "event", "error"'].join(`
`)), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidDefinitionTypeError"
    })
  }
}
class WP extends W {
  constructor(e) {
    super(`Filter type "${e}" is not supported.`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "FilterTypeNotSupportedError"
    })
  }
}

function $P(t) {
  let e = !0,
    r = "",
    n = 0,
    i = "",
    s = !1;
  for (let o = 0; o < t.length; o++) {
    const a = t[o];
    if (["(", ")", ","].includes(a) && (e = !0), a === "(" && n++, a === ")" && n--, !!e) {
      if (n === 0) {
        if (a === " " && ["event", "function", ""].includes(i)) i = "";
        else if (i += a, a === ")") {
          s = !0;
          break
        }
        continue
      }
      if (a === " ") {
        t[o - 1] !== "," && r !== "," && r !== ",(" && (r = "", e = !1);
        continue
      }
      i += a, r += a
    }
  }
  if (!s) throw new W("Unable to normalize signature.");
  return i
}
const yx = t => {
    const e = typeof t == "string" ? t : qA(t);
    return $P(e)
  },
  HP = t => yx(t);

function Jv(t) {
  if (!Number.isSafeInteger(t) || t < 0) throw new Error(`Wrong positive integer: ${t}`)
}

function wx(t, ...e) {
  if (!(t instanceof Uint8Array)) throw new Error("Expected Uint8Array");
  if (e.length > 0 && !e.includes(t.length)) throw new Error(`Expected Uint8Array of length ${e}, not of length=${t.length}`)
}

function Yv(t, e = !0) {
  if (t.destroyed) throw new Error("Hash instance has been destroyed");
  if (e && t.finished) throw new Error("Hash#digest() has already been called")
}

function GP(t, e) {
  wx(t);
  const r = e.outputLen;
  if (t.length < r) throw new Error(`digestInto() expects output buffer of length at least ${r}`)
}
const Ll = BigInt(2 ** 32 - 1),
  Xv = BigInt(32);

function qP(t, e = !1) {
  return e ? {
    h: Number(t & Ll),
    l: Number(t >> Xv & Ll)
  } : {
    h: Number(t >> Xv & Ll) | 0,
    l: Number(t & Ll) | 0
  }
}

function VP(t, e = !1) {
  let r = new Uint32Array(t.length),
    n = new Uint32Array(t.length);
  for (let i = 0; i < t.length; i++) {
    const {
      h: s,
      l: o
    } = qP(t[i], e);
    [r[i], n[i]] = [s, o]
  }
  return [r, n]
}
const KP = (t, e, r) => t << r | e >>> 32 - r,
  QP = (t, e, r) => e << r | t >>> 32 - r,
  JP = (t, e, r) => e << r - 32 | t >>> 64 - r,
  YP = (t, e, r) => t << r - 32 | e >>> 64 - r; /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
const XP = t => t instanceof Uint8Array,
  ZP = t => new Uint32Array(t.buffer, t.byteOffset, Math.floor(t.byteLength / 4)),
  e9 = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
if (!e9) throw new Error("Non little-endian hardware is not supported");

function t9(t) {
  if (typeof t != "string") throw new Error(`utf8ToBytes expected string, got ${typeof t}`);
  return new Uint8Array(new TextEncoder().encode(t))
}

function bx(t) {
  if (typeof t == "string" && (t = t9(t)), !XP(t)) throw new Error(`expected Uint8Array, got ${typeof t}`);
  return t
}
class r9 {
  clone() {
    return this._cloneInto()
  }
}

function n9(t) {
  const e = n => t().update(bx(n)).digest(),
    r = t();
  return e.outputLen = r.outputLen, e.blockLen = r.blockLen, e.create = () => t(), e
}
const [Dx, xx, Ex] = [
  [],
  [],
  []
], i9 = BigInt(0), uo = BigInt(1), s9 = BigInt(2), o9 = BigInt(7), a9 = BigInt(256), l9 = BigInt(113);
for (let t = 0, e = uo, r = 1, n = 0; t < 24; t++) {
  [r, n] = [n, (2 * r + 3 * n) % 5], Dx.push(2 * (5 * n + r)), xx.push((t + 1) * (t + 2) / 2 % 64);
  let i = i9;
  for (let s = 0; s < 7; s++) e = (e << uo ^ (e >> o9) * l9) % a9, e & s9 && (i ^= uo << (uo << BigInt(s)) - uo);
  Ex.push(i)
}
const [u9, c9] = VP(Ex, !0), Zv = (t, e, r) => r > 32 ? JP(t, e, r) : KP(t, e, r), ey = (t, e, r) => r > 32 ? YP(t, e, r) : QP(t, e, r);

function d9(t, e = 24) {
  const r = new Uint32Array(10);
  for (let n = 24 - e; n < 24; n++) {
    for (let o = 0; o < 10; o++) r[o] = t[o] ^ t[o + 10] ^ t[o + 20] ^ t[o + 30] ^ t[o + 40];
    for (let o = 0; o < 10; o += 2) {
      const a = (o + 8) % 10,
        l = (o + 2) % 10,
        u = r[l],
        c = r[l + 1],
        d = Zv(u, c, 1) ^ r[a],
        f = ey(u, c, 1) ^ r[a + 1];
      for (let B = 0; B < 50; B += 10) t[o + B] ^= d, t[o + B + 1] ^= f
    }
    let i = t[2],
      s = t[3];
    for (let o = 0; o < 24; o++) {
      const a = xx[o],
        l = Zv(i, s, a),
        u = ey(i, s, a),
        c = Dx[o];
      i = t[c], s = t[c + 1], t[c] = l, t[c + 1] = u
    }
    for (let o = 0; o < 50; o += 10) {
      for (let a = 0; a < 10; a++) r[a] = t[o + a];
      for (let a = 0; a < 10; a++) t[o + a] ^= ~r[(a + 2) % 10] & r[(a + 4) % 10]
    }
    t[0] ^= u9[n], t[1] ^= c9[n]
  }
  r.fill(0)
}
class M1 extends r9 {
  constructor(e, r, n, i = !1, s = 24) {
    if (super(), this.blockLen = e, this.suffix = r, this.outputLen = n, this.enableXOF = i, this.rounds = s, this.pos = 0, this.posOut = 0, this.finished = !1, this.destroyed = !1, Jv(n), 0 >= this.blockLen || this.blockLen >= 200) throw new Error("Sha3 supports only keccak-f1600 function");
    this.state = new Uint8Array(200), this.state32 = ZP(this.state)
  }
  keccak() {
    d9(this.state32, this.rounds), this.posOut = 0, this.pos = 0
  }
  update(e) {
    Yv(this);
    const {
      blockLen: r,
      state: n
    } = this;
    e = bx(e);
    const i = e.length;
    for (let s = 0; s < i;) {
      const o = Math.min(r - this.pos, i - s);
      for (let a = 0; a < o; a++) n[this.pos++] ^= e[s++];
      this.pos === r && this.keccak()
    }
    return this
  }
  finish() {
    if (this.finished) return;
    this.finished = !0;
    const {
      state: e,
      suffix: r,
      pos: n,
      blockLen: i
    } = this;
    e[n] ^= r, r & 128 && n === i - 1 && this.keccak(), e[i - 1] ^= 128, this.keccak()
  }
  writeInto(e) {
    Yv(this, !1), wx(e), this.finish();
    const r = this.state,
      {
        blockLen: n
      } = this;
    for (let i = 0, s = e.length; i < s;) {
      this.posOut >= n && this.keccak();
      const o = Math.min(n - this.posOut, s - i);
      e.set(r.subarray(this.posOut, this.posOut + o), i), this.posOut += o, i += o
    }
    return e
  }
  xofInto(e) {
    if (!this.enableXOF) throw new Error("XOF is not possible for this instance");
    return this.writeInto(e)
  }
  xof(e) {
    return Jv(e), this.xofInto(new Uint8Array(e))
  }
  digestInto(e) {
    if (GP(e, this), this.finished) throw new Error("digest() was already called");
    return this.writeInto(e), this.destroy(), e
  }
  digest() {
    return this.digestInto(new Uint8Array(this.outputLen))
  }
  destroy() {
    this.destroyed = !0, this.state.fill(0)
  }
  _cloneInto(e) {
    const {
      blockLen: r,
      suffix: n,
      outputLen: i,
      rounds: s,
      enableXOF: o
    } = this;
    return e || (e = new M1(r, n, i, o, s)), e.state32.set(this.state32), e.pos = this.pos, e.posOut = this.posOut, e.finished = this.finished, e.rounds = s, e.suffix = n, e.outputLen = i, e.enableXOF = o, e.destroyed = this.destroyed, e
  }
}
const f9 = (t, e, r) => n9(() => new M1(e, t, r)),
  B9 = f9(1, 136, 256 / 8);

function Et(t, e) {
  const r = e || "hex",
    n = B9(Mr(t, {
      strict: !1
    }) ? zn(t) : t);
  return r === "bytes" ? n : un(n)
}
const h9 = t => Et(zn(t)),
  L1 = t => h9(HP(t));

function Qe(t, e, r, {
  strict: n
} = {}) {
  return Mr(t, {
    strict: !1
  }) ? C9(t, e, r, {
    strict: n
  }) : p9(t, e, r, {
    strict: n
  })
}

function Sx(t, e) {
  if (typeof e == "number" && e > 0 && e > nt(t) - 1) throw new ex({
    offset: e,
    position: "start",
    size: nt(t)
  })
}

function kx(t, e, r) {
  if (typeof e == "number" && typeof r == "number" && nt(t) !== r - e) throw new ex({
    offset: r,
    position: "end",
    size: nt(t)
  })
}

function p9(t, e, r, {
  strict: n
} = {}) {
  Sx(t, e);
  const i = t.slice(e, r);
  return n && kx(i, e, r), i
}

function C9(t, e, r, {
  strict: n
} = {}) {
  Sx(t, e);
  const i = `0x${t.replace("0x","").slice((e??0)*2,(r??t.length)*2)}`;
  return n && kx(i, e, r), i
}

function Wa(t, e) {
  if (t.length !== e.length) throw new OP({
    expectedLength: t.length,
    givenLength: e.length
  });
  const r = m9({
      params: t,
      values: e
    }),
    n = z1(r);
  return n.length === 0 ? "0x" : n
}

function m9({
  params: t,
  values: e
}) {
  const r = [];
  for (let n = 0; n < t.length; n++) r.push(U1({
    param: t[n],
    value: e[n]
  }));
  return r
}

function U1({
  param: t,
  value: e
}) {
  const r = pd(t.type);
  if (r) {
    const [n, i] = r;
    return v9(e, {
      length: n,
      param: {
        ...t,
        type: i
      }
    })
  }
  if (t.type === "tuple") return x9(e, {
    param: t
  });
  if (t.type === "address") return g9(e);
  if (t.type === "bool") return w9(e);
  if (t.type.startsWith("uint") || t.type.startsWith("int")) {
    const n = t.type.startsWith("int");
    return b9(e, {
      signed: n
    })
  }
  if (t.type.startsWith("bytes")) return y9(e, {
    param: t
  });
  if (t.type === "string") return D9(e);
  throw new MP(t.type, {
    docsPath: "/docs/contract/encodeAbiParameters"
  })
}

function z1(t) {
  let e = 0;
  for (let s = 0; s < t.length; s++) {
    const {
      dynamic: o,
      encoded: a
    } = t[s];
    o ? e += 32 : e += nt(a)
  }
  const r = [],
    n = [];
  let i = 0;
  for (let s = 0; s < t.length; s++) {
    const {
      dynamic: o,
      encoded: a
    } = t[s];
    o ? (r.push(de(e + i, {
      size: 32
    })), n.push(a), i += nt(a)) : r.push(a)
  }
  return nn([...r, ...n])
}

function g9(t) {
  if (!Wn(t)) throw new aa({
    address: t
  });
  return {
    dynamic: !1,
    encoded: Fn(t.toLowerCase())
  }
}

function v9(t, {
  length: e,
  param: r
}) {
  const n = e === null;
  if (!Array.isArray(t)) throw new UP(t);
  if (!n && t.length !== e) throw new PP({
    expectedLength: e,
    givenLength: t.length,
    type: `${r.type}[${e}]`
  });
  let i = !1;
  const s = [];
  for (let o = 0; o < t.length; o++) {
    const a = U1({
      param: r,
      value: t[o]
    });
    a.dynamic && (i = !0), s.push(a)
  }
  if (n || i) {
    const o = z1(s);
    if (n) {
      const a = de(s.length, {
        size: 32
      });
      return {
        dynamic: !0,
        encoded: s.length > 0 ? nn([a, o]) : a
      }
    }
    if (i) return {
      dynamic: !0,
      encoded: o
    }
  }
  return {
    dynamic: !1,
    encoded: nn(s.map(({
      encoded: o
    }) => o))
  }
}

function y9(t, {
  param: e
}) {
  const [, r] = e.type.split("bytes"), n = nt(t);
  if (!r) {
    let i = t;
    return n % 32 !== 0 && (i = Fn(i, {
      dir: "right",
      size: Math.ceil((t.length - 2) / 2 / 32) * 32
    })), {
      dynamic: !0,
      encoded: nn([Fn(de(n, {
        size: 32
      })), i])
    }
  }
  if (n !== parseInt(r)) throw new _P({
    expectedSize: parseInt(r),
    value: t
  });
  return {
    dynamic: !1,
    encoded: Fn(t, {
      dir: "right"
    })
  }
}

function w9(t) {
  return {
    dynamic: !1,
    encoded: Fn(rx(t))
  }
}

function b9(t, {
  signed: e
}) {
  return {
    dynamic: !1,
    encoded: de(t, {
      size: 32,
      signed: e
    })
  }
}

function D9(t) {
  const e = I1(t),
    r = Math.ceil(nt(e) / 32),
    n = [];
  for (let i = 0; i < r; i++) n.push(Fn(Qe(e, i * 32, (i + 1) * 32), {
    dir: "right"
  }));
  return {
    dynamic: !0,
    encoded: nn([Fn(de(nt(e), {
      size: 32
    })), ...n])
  }
}

function x9(t, {
  param: e
}) {
  let r = !1;
  const n = [];
  for (let i = 0; i < e.components.length; i++) {
    const s = e.components[i],
      o = Array.isArray(t) ? i : s.name,
      a = U1({
        param: s,
        value: t[o]
      });
    n.push(a), a.dynamic && (r = !0)
  }
  return {
    dynamic: r,
    encoded: r ? z1(n) : nn(n.map(({
      encoded: i
    }) => i))
  }
}

function pd(t) {
  const e = t.match(/^(.*)\[(\d+)?\]$/);
  return e ? [e[2] ? Number(e[2]) : null, e[1]] : void 0
}
const E9 = t => Et(zn(t)),
  W1 = t => Qe(E9(yx(t)), 0, 4);

function $a({
  abi: t,
  args: e = [],
  name: r
}) {
  const n = Mr(r, {
      strict: !1
    }),
    i = t.filter(o => n ? o.type === "function" ? W1(o) === r : o.type === "event" ? L1(o) === r : !1 : "name" in o && o.name === r);
  if (i.length === 0) return;
  if (i.length === 1) return i[0];
  let s;
  for (const o of i) {
    if (!("inputs" in o)) continue;
    if (!e || e.length === 0) {
      if (!o.inputs || o.inputs.length === 0) return o;
      continue
    }
    if (!o.inputs || o.inputs.length === 0 || o.inputs.length !== e.length) continue;
    if (e.every((l, u) => {
        const c = "inputs" in o && o.inputs[u];
        return c ? wp(l, c) : !1
      })) {
      if (s && "inputs" in s && s.inputs) {
        const l = jx(o.inputs, s.inputs, e);
        if (l) throw new RP({
          abiItem: o,
          type: l[0]
        }, {
          abiItem: s,
          type: l[1]
        })
      }
      s = o
    }
  }
  return s || i[0]
}

function wp(t, e) {
  const r = typeof t,
    n = e.type;
  switch (n) {
    case "address":
      return Wn(t);
    case "bool":
      return r === "boolean";
    case "function":
      return r === "string";
    case "string":
      return r === "string";
    default:
      return n === "tuple" && "components" in e ? Object.values(e.components).every((i, s) => wp(Object.values(t)[s], i)) : /^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(n) ? r === "number" || r === "bigint" : /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(n) ? r === "string" || t instanceof Uint8Array : /[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(n) ? Array.isArray(t) && t.every(i => wp(i, {
        ...e,
        type: n.replace(/(\[[0-9]{0,}\])$/, "")
      })) : !1
  }
}

function jx(t, e, r) {
  for (const n in t) {
    const i = t[n],
      s = e[n];
    if (i.type === "tuple" && s.type === "tuple" && "components" in i && "components" in s) return jx(i.components, s.components, r[n]);
    const o = [i.type, s.type];
    if (o.includes("address") && o.includes("bytes20") ? !0 : o.includes("address") && o.includes("string") || o.includes("address") && o.includes("bytes") ? Wn(r[n]) : !1) return o
  }
}

function Ha({
  abi: t,
  eventName: e,
  args: r
}) {
  var a;
  let n = t[0];
  if (e && (n = $a({
      abi: t,
      args: r,
      name: e
    }), !n)) throw new Qv(e, {
    docsPath: "/docs/contract/encodeEventTopics"
  });
  if (n.type !== "event") throw new Qv(void 0, {
    docsPath: "/docs/contract/encodeEventTopics"
  });
  const i = sn(n),
    s = L1(i);
  let o = [];
  if (r && "inputs" in n) {
    const l = (a = n.inputs) == null ? void 0 : a.filter(c => "indexed" in c && c.indexed),
      u = Array.isArray(r) ? r : Object.values(r).length > 0 ? (l == null ? void 0 : l.map(c => r[c.name])) ?? [] : [];
    u.length > 0 && (o = (l == null ? void 0 : l.map((c, d) => Array.isArray(u[d]) ? u[d].map((f, B) => ty({
      param: c,
      value: u[d][B]
    })) : u[d] ? ty({
      param: c,
      value: u[d]
    }) : null)) ?? [])
  }
  return [s, ...o]
}

function ty({
  param: t,
  value: e
}) {
  if (t.type === "string" || t.type === "bytes") return Et(zn(e));
  if (t.type === "tuple" || t.type.match(/^(.*)\[(\d+)?\]$/)) throw new WP(t.type);
  return Wa([t], [e])
}

function Cd(t, {
  method: e
}) {
  var n, i;
  const r = {};
  return t.transport.type === "fallback" && ((i = (n = t.transport).onResponse) == null || i.call(n, ({
    method: s,
    response: o,
    status: a,
    transport: l
  }) => {
    a === "success" && e === s && (r[o] = l.request)
  })), s => r[s] || t.request
}
async function Ax(t, {
  address: e,
  abi: r,
  args: n,
  eventName: i,
  fromBlock: s,
  strict: o,
  toBlock: a
}) {
  const l = Cd(t, {
      method: "eth_newFilter"
    }),
    u = i ? Ha({
      abi: r,
      args: n,
      eventName: i
    }) : void 0,
    c = await t.request({
      method: "eth_newFilter",
      params: [{
        address: e,
        fromBlock: typeof s == "bigint" ? de(s) : s,
        toBlock: typeof a == "bigint" ? de(a) : a,
        topics: u
      }]
    });
  return {
    abi: r,
    args: n,
    eventName: i,
    id: c,
    request: l(c),
    strict: o,
    type: "event"
  }
}

function dr(t) {
  return typeof t == "string" ? {
    address: t,
    type: "json-rpc"
  } : t
}

function Xn({
  abi: t,
  args: e,
  functionName: r
}) {
  let n = t[0];
  if (r && (n = $a({
      abi: t,
      args: e,
      name: r
    }), !n)) throw new wc(r, {
    docsPath: "/docs/contract/encodeFunctionData"
  });
  if (n.type !== "function") throw new wc(void 0, {
    docsPath: "/docs/contract/encodeFunctionData"
  });
  const i = sn(n),
    s = W1(i),
    o = "inputs" in n && n.inputs ? Wa(n.inputs, e ?? []) : void 0;
  return R1([s, o ?? "0x"])
}
const Px = {
    1: "An `assert` condition failed.",
    17: "Arithmic operation resulted in underflow or overflow.",
    18: "Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).",
    33: "Attempted to convert to an invalid type.",
    34: "Attempted to access a storage byte array that is incorrectly encoded.",
    49: "Performed `.pop()` on an empty array",
    50: "Array index is out of bounds.",
    65: "Allocated too much memory or created an array which is too large.",
    81: "Attempted to call a zero-initialized variable of internal function type."
  },
  S9 = {
    inputs: [{
      name: "message",
      type: "string"
    }],
    name: "Error",
    type: "error"
  },
  k9 = {
    inputs: [{
      name: "reason",
      type: "uint256"
    }],
    name: "Panic",
    type: "error"
  };

function $1(t, e) {
  const r = t.substring(2).toLowerCase(),
    n = Et(Yr(r), "bytes"),
    i = r.split("");
  for (let s = 0; s < 40; s += 2) n[s >> 1] >> 4 >= 8 && i[s] && (i[s] = i[s].toUpperCase()), (n[s >> 1] & 15) >= 8 && i[s + 1] && (i[s + 1] = i[s + 1].toUpperCase());
  return `0x${i.join("")}`
}

function ar(t, e) {
  if (!Wn(t)) throw new aa({
    address: t
  });
  return $1(t)
}

function md(t, e) {
  if (e === "0x" && t.length > 0) throw new hd;
  if (nt(e) && nt(e) < 32) throw new F1({
    data: e,
    params: t,
    size: nt(e)
  });
  return j9({
    data: e,
    params: t
  })
}

function j9({
  data: t,
  params: e
}) {
  const r = [];
  let n = 0;
  for (let i = 0; i < e.length; i++) {
    if (n >= nt(t)) throw new F1({
      data: t,
      params: e,
      size: nt(t)
    });
    const s = e[i],
      {
        consumed: o,
        value: a
      } = fs({
        data: t,
        param: s,
        position: n
      });
    r.push(a), n += o
  }
  return r
}

function fs({
  data: t,
  param: e,
  position: r
}) {
  const n = pd(e.type);
  if (n) {
    const [s, o] = n;
    return P9(t, {
      length: s,
      param: {
        ...e,
        type: o
      },
      position: r
    })
  }
  if (e.type === "tuple") return T9(t, {
    param: e,
    position: r
  });
  if (e.type === "string") return N9(t, {
    position: r
  });
  if (e.type.startsWith("bytes")) return O9(t, {
    param: e,
    position: r
  });
  const i = Qe(t, r, r + 32, {
    strict: !0
  });
  if (e.type.startsWith("uint") || e.type.startsWith("int")) return I9(i, {
    param: e
  });
  if (e.type === "address") return A9(i);
  if (e.type === "bool") return _9(i);
  throw new LP(e.type, {
    docsPath: "/docs/contract/decodeAbiParameters"
  })
}

function A9(t) {
  return {
    consumed: 32,
    value: $1(Qe(t, -20))
  }
}

function P9(t, {
  param: e,
  length: r,
  position: n
}) {
  if (!r) {
    const o = yt(Qe(t, n, n + 32, {
        strict: !0
      })),
      a = yt(Qe(t, o, o + 32, {
        strict: !0
      }));
    let l = 0;
    const u = [];
    for (let c = 0; c < a; ++c) {
      const d = fs({
        data: Qe(t, o + 32),
        param: e,
        position: l
      });
      l += d.consumed, u.push(d.value)
    }
    return {
      value: u,
      consumed: 32
    }
  }
  if (bc(e)) {
    const o = pd(e.type),
      a = !(o != null && o[0]);
    let l = 0;
    const u = [];
    for (let c = 0; c < r; ++c) {
      const d = yt(Qe(t, n, n + 32, {
          strict: !0
        })),
        f = fs({
          data: Qe(t, d),
          param: e,
          position: a ? l : c * 32
        });
      l += f.consumed, u.push(f.value)
    }
    return {
      value: u,
      consumed: 32
    }
  }
  let i = 0;
  const s = [];
  for (let o = 0; o < r; ++o) {
    const a = fs({
      data: t,
      param: e,
      position: n + i
    });
    i += a.consumed, s.push(a.value)
  }
  return {
    value: s,
    consumed: i
  }
}

function _9(t) {
  return {
    consumed: 32,
    value: TA(t)
  }
}

function O9(t, {
  param: e,
  position: r
}) {
  const [n, i] = e.type.split("bytes");
  if (!i) {
    const o = yt(Qe(t, r, r + 32, {
        strict: !0
      })),
      a = yt(Qe(t, o, o + 32, {
        strict: !0
      }));
    return a === 0 ? {
      consumed: 32,
      value: "0x"
    } : {
      consumed: 32,
      value: Qe(t, o + 32, o + 32 + a, {
        strict: !0
      })
    }
  }
  return {
    consumed: 32,
    value: Qe(t, r, r + parseInt(i), {
      strict: !0
    })
  }
}

function I9(t, {
  param: e
}) {
  const r = e.type.startsWith("int");
  return {
    consumed: 32,
    value: parseInt(e.type.split("int")[1] || "256") > 48 ? cd(t, {
      signed: r
    }) : yt(t, {
      signed: r
    })
  }
}

function N9(t, {
  position: e
}) {
  const r = yt(Qe(t, e, e + 32, {
      strict: !0
    })),
    n = yt(Qe(t, r, r + 32, {
      strict: !0
    }));
  return n === 0 ? {
    consumed: 32,
    value: ""
  } : {
    consumed: 32,
    value: T1(mi(Qe(t, r + 32, r + 32 + n, {
      strict: !0
    })))
  }
}

function T9(t, {
  param: e,
  position: r
}) {
  const n = e.components.length === 0 || e.components.some(({
      name: o
    }) => !o),
    i = n ? [] : {};
  let s = 0;
  if (bc(e)) {
    const o = yt(Qe(t, r, r + 32, {
      strict: !0
    }));
    for (let a = 0; a < e.components.length; ++a) {
      const l = e.components[a],
        u = fs({
          data: Qe(t, o),
          param: l,
          position: s
        });
      s += u.consumed, i[n ? a : l == null ? void 0 : l.name] = u.value
    }
    return {
      consumed: 32,
      value: i
    }
  }
  for (let o = 0; o < e.components.length; ++o) {
    const a = e.components[o],
      l = fs({
        data: t,
        param: a,
        position: r + s
      });
    s += l.consumed, i[n ? o : a == null ? void 0 : a.name] = l.value
  }
  return {
    consumed: s,
    value: i
  }
}

function bc(t) {
  var n;
  const {
    type: e
  } = t;
  if (e === "string" || e === "bytes" || e.endsWith("[]")) return !0;
  if (e === "tuple") return (n = t.components) == null ? void 0 : n.some(bc);
  const r = pd(t.type);
  return !!(r && bc({
    ...t,
    type: r[1]
  }))
}

function R9({
  abi: t,
  data: e
}) {
  const r = Qe(e, 0, 4);
  if (r === "0x") throw new hd;
  const i = [...t || [], S9, k9].find(s => s.type === "error" && r === W1(sn(s)));
  if (!i) throw new vx(r, {
    docsPath: "/docs/contract/decodeErrorResult"
  });
  return {
    abiItem: i,
    args: "inputs" in i && i.inputs && i.inputs.length > 0 ? md(i.inputs, Qe(e, 4)) : void 0,
    errorName: i.name
  }
}
const kt = (t, e, r) => JSON.stringify(t, (n, i) => {
  const s = typeof i == "bigint" ? i.toString() : i;
  return typeof e == "function" ? e(n, s) : s
}, r);

function _x({
  abiItem: t,
  args: e,
  includeFunctionName: r = !0,
  includeName: n = !1
}) {
  if ("name" in t && "inputs" in t && t.inputs) return `${r?t.name:""}(${t.inputs.map((i,s)=>`${n&&i.name?`${i.name}: `:""}${typeof e[s]=="object"?kt(e[s]):e[s]}`).join(", ")})`
}

function Ve(t, e = "wei") {
  return gc(t, ax[e])
}

function Ga(t) {
  const e = Object.entries(t).map(([n, i]) => i === void 0 || i === !1 ? null : [n, i]).filter(Boolean),
    r = e.reduce((n, [i]) => Math.max(n, i.length), 0);
  return e.map(([n, i]) => `  ${`${n}:`.padEnd(r+1)}  ${i}`).join(`
`)
}
class F9 extends W {
  constructor() {
    super(["Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.", "Use `maxFeePerGas`/`maxPriorityFeePerGas` for EIP-1559 compatible networks, and `gasPrice` for others."].join(`
`)), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "FeeConflictError"
    })
  }
}
class M9 extends W {
  constructor({
    transaction: e
  }) {
    super("Cannot infer a transaction type from provided transaction.", {
      metaMessages: ["Provided Transaction:", "{", Ga(e), "}", "", "To infer the type, either provide:", "- a `type` to the Transaction, or", "- an EIP-1559 Transaction with `maxFeePerGas`, or", "- an EIP-2930 Transaction with `gasPrice` & `accessList`, or", "- a Legacy Transaction with `gasPrice`"]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidSerializableTransactionError"
    })
  }
}
class L9 extends W {
  constructor(e, {
    account: r,
    docsPath: n,
    chain: i,
    data: s,
    gas: o,
    gasPrice: a,
    maxFeePerGas: l,
    maxPriorityFeePerGas: u,
    nonce: c,
    to: d,
    value: f
  }) {
    var h;
    const B = Ga({
      chain: i && `${i==null?void 0:i.name} (id: ${i==null?void 0:i.id})`,
      from: r == null ? void 0 : r.address,
      to: d,
      value: typeof f < "u" && `${Ve(f)} ${((h=i==null?void 0:i.nativeCurrency)==null?void 0:h.symbol)||"ETH"}`,
      data: s,
      gas: o,
      gasPrice: typeof a < "u" && `${Mt(a)} gwei`,
      maxFeePerGas: typeof l < "u" && `${Mt(l)} gwei`,
      maxPriorityFeePerGas: typeof u < "u" && `${Mt(u)} gwei`,
      nonce: c
    });
    super(e.shortMessage, {
      cause: e,
      docsPath: n,
      metaMessages: [...e.metaMessages ? [...e.metaMessages, " "] : [], "Request Arguments:", B].filter(Boolean)
    }), Object.defineProperty(this, "cause", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "TransactionExecutionError"
    }), this.cause = e
  }
}
class Ox extends W {
  constructor({
    blockHash: e,
    blockNumber: r,
    blockTag: n,
    hash: i,
    index: s
  }) {
    let o = "Transaction";
    n && s !== void 0 && (o = `Transaction at block time "${n}" at index "${s}"`), e && s !== void 0 && (o = `Transaction at block hash "${e}" at index "${s}"`), r && s !== void 0 && (o = `Transaction at block number "${r}" at index "${s}"`), i && (o = `Transaction with hash "${i}"`), super(`${o} could not be found.`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "TransactionNotFoundError"
    })
  }
}
class Ix extends W {
  constructor({
    hash: e
  }) {
    super(`Transaction receipt with hash "${e}" could not be found. The Transaction may not be processed on a block yet.`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "TransactionReceiptNotFoundError"
    })
  }
}
class U9 extends W {
  constructor({
    hash: e
  }) {
    super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "WaitForTransactionReceiptTimeoutError"
    })
  }
}
class Nx extends W {
  constructor(e, {
    account: r,
    docsPath: n,
    chain: i,
    data: s,
    gas: o,
    gasPrice: a,
    maxFeePerGas: l,
    maxPriorityFeePerGas: u,
    nonce: c,
    to: d,
    value: f
  }) {
    var g;
    const B = r ? dr(r) : void 0,
      h = Ga({
        from: B == null ? void 0 : B.address,
        to: d,
        value: typeof f < "u" && `${Ve(f)} ${((g=i==null?void 0:i.nativeCurrency)==null?void 0:g.symbol)||"ETH"}`,
        data: s,
        gas: o,
        gasPrice: typeof a < "u" && `${Mt(a)} gwei`,
        maxFeePerGas: typeof l < "u" && `${Mt(l)} gwei`,
        maxPriorityFeePerGas: typeof u < "u" && `${Mt(u)} gwei`,
        nonce: c
      });
    super(e.shortMessage, {
      cause: e,
      docsPath: n,
      metaMessages: [...e.metaMessages ? [...e.metaMessages, " "] : [], "Raw Call Arguments:", h].filter(Boolean)
    }), Object.defineProperty(this, "cause", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "CallExecutionError"
    }), this.cause = e
  }
}
class H1 extends W {
  constructor(e, {
    abi: r,
    args: n,
    contractAddress: i,
    docsPath: s,
    functionName: o,
    sender: a
  }) {
    const l = $a({
        abi: r,
        args: n,
        name: o
      }),
      u = l ? _x({
        abiItem: l,
        args: n,
        includeFunctionName: !1,
        includeName: !1
      }) : void 0,
      c = l ? sn(l, {
        includeName: !0
      }) : void 0,
      d = Ga({
        address: i && xA(i),
        function: c,
        args: u && u !== "()" && `${[...Array((o==null?void 0:o.length)??0).keys()].map(()=>" ").join("")}${u}`,
        sender: a
      });
    super(e.shortMessage || `An unknown error occurred while executing the contract function "${o}".`, {
      cause: e,
      docsPath: s,
      metaMessages: [...e.metaMessages ? [...e.metaMessages, " "] : [], "Contract Call:", d].filter(Boolean)
    }), Object.defineProperty(this, "abi", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "args", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "cause", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "contractAddress", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "formattedArgs", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "functionName", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "sender", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "ContractFunctionExecutionError"
    }), this.abi = r, this.args = n, this.cause = e, this.contractAddress = i, this.functionName = o, this.sender = a
  }
}
class bp extends W {
  constructor({
    abi: e,
    data: r,
    functionName: n,
    message: i
  }) {
    let s, o, a, l;
    if (r && r !== "0x") try {
      o = R9({
        abi: e,
        data: r
      });
      const {
        abiItem: c,
        errorName: d,
        args: f
      } = o;
      if (d === "Error") l = f[0];
      else if (d === "Panic") {
        const [B] = f;
        l = Px[B]
      } else {
        const B = c ? sn(c, {
            includeName: !0
          }) : void 0,
          h = c && f ? _x({
            abiItem: c,
            args: f,
            includeFunctionName: !1,
            includeName: !1
          }) : void 0;
        a = [B ? `Error: ${B}` : "", h && h !== "()" ? `       ${[...Array((d==null?void 0:d.length)??0).keys()].map(()=>" ").join("")}${h}` : ""]
      }
    } catch (c) {
      s = c
    } else i && (l = i);
    let u;
    s instanceof vx && (u = s.signature, a = [`Unable to decode signature "${u}" as it was not found on the provided ABI.`, "Make sure you are using the correct ABI and that the error exists on it.", `You can look up the decoded signature here: https://openchain.xyz/signatures?query=${u}.`]), super(l && l !== "execution reverted" || u ? [`The contract function "${n}" reverted with the following ${u?"signature":"reason"}:`, l || u].join(`
`) : `The contract function "${n}" reverted.`, {
      cause: s,
      metaMessages: a
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "ContractFunctionRevertedError"
    }), Object.defineProperty(this, "data", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "reason", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "signature", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), this.data = o, this.reason = l, this.signature = u
  }
}
class z9 extends W {
  constructor({
    functionName: e
  }) {
    super(`The contract function "${e}" returned no data ("0x").`, {
      metaMessages: ["This could be due to any of the following:", `  - The contract does not have the function "${e}",`, "  - The parameters passed to the contract function may be invalid, or", "  - The address is not a contract."]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "ContractFunctionZeroDataError"
    })
  }
}
class G1 extends W {
  constructor({
    data: e,
    message: r
  }) {
    super(r || ""), Object.defineProperty(this, "code", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: 3
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "RawContractError"
    }), Object.defineProperty(this, "data", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), this.data = e
  }
}
class Lo extends W {
  constructor({
    body: e,
    details: r,
    headers: n,
    status: i,
    url: s
  }) {
    super("HTTP request failed.", {
      details: r,
      metaMessages: [i && `Status: ${i}`, `URL: ${ud(s)}`, e && `Request body: ${kt(e)}`].filter(Boolean)
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "HttpRequestError"
    }), Object.defineProperty(this, "body", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "headers", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "status", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "url", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), this.body = e, this.headers = n, this.status = i, this.url = s
  }
}
class W9 extends W {
  constructor({
    body: e,
    details: r,
    url: n
  }) {
    super("WebSocket request failed.", {
      details: r,
      metaMessages: [`URL: ${ud(n)}`, `Request body: ${kt(e)}`]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "WebSocketRequestError"
    })
  }
}
class q1 extends W {
  constructor({
    body: e,
    error: r,
    url: n
  }) {
    super("RPC Request failed.", {
      cause: r,
      details: r.message,
      metaMessages: [`URL: ${ud(n)}`, `Request body: ${kt(e)}`]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "RpcRequestError"
    }), Object.defineProperty(this, "code", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), this.code = r.code
  }
}
class Dp extends W {
  constructor({
    body: e,
    url: r
  }) {
    super("The request took too long to respond.", {
      details: "The request timed out.",
      metaMessages: [`URL: ${ud(r)}`, `Request body: ${kt(e)}`]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "TimeoutError"
    })
  }
}
const $9 = -1;
class Ut extends W {
  constructor(e, {
    code: r,
    docsPath: n,
    metaMessages: i,
    shortMessage: s
  }) {
    super(s, {
      cause: e,
      docsPath: n,
      metaMessages: i || (e == null ? void 0 : e.metaMessages)
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "RpcError"
    }), Object.defineProperty(this, "code", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), this.name = e.name, this.code = e instanceof q1 ? e.code : r ?? $9
  }
}
class $s extends Ut {
  constructor(e, r) {
    super(e, r), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "ProviderRpcError"
    }), Object.defineProperty(this, "data", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), this.data = r.data
  }
}
class la extends Ut {
  constructor(e) {
    super(e, {
      code: la.code,
      shortMessage: "Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "ParseRpcError"
    })
  }
}
Object.defineProperty(la, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: -32700
});
class ua extends Ut {
  constructor(e) {
    super(e, {
      code: ua.code,
      shortMessage: "JSON is not a valid request object."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidRequestRpcError"
    })
  }
}
Object.defineProperty(ua, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: -32600
});
class ca extends Ut {
  constructor(e) {
    super(e, {
      code: ca.code,
      shortMessage: "The method does not exist / is not available."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "MethodNotFoundRpcError"
    })
  }
}
Object.defineProperty(ca, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: -32601
});
class da extends Ut {
  constructor(e) {
    super(e, {
      code: da.code,
      shortMessage: ["Invalid parameters were provided to the RPC method.", "Double check you have provided the correct parameters."].join(`
`)
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidParamsRpcError"
    })
  }
}
Object.defineProperty(da, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: -32602
});
class Es extends Ut {
  constructor(e) {
    super(e, {
      code: Es.code,
      shortMessage: "An internal error was received."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InternalRpcError"
    })
  }
}
Object.defineProperty(Es, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: -32603
});
class Ei extends Ut {
  constructor(e) {
    super(e, {
      code: Ei.code,
      shortMessage: ["Missing or invalid parameters.", "Double check you have provided the correct parameters."].join(`
`)
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "InvalidInputRpcError"
    })
  }
}
Object.defineProperty(Ei, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: -32e3
});
class fa extends Ut {
  constructor(e) {
    super(e, {
      code: fa.code,
      shortMessage: "Requested resource not found."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "ResourceNotFoundRpcError"
    })
  }
}
Object.defineProperty(fa, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: -32001
});
class $n extends Ut {
  constructor(e) {
    super(e, {
      code: $n.code,
      shortMessage: "Requested resource not available."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "ResourceUnavailableRpcError"
    })
  }
}
Object.defineProperty($n, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: -32002
});
class Ba extends Ut {
  constructor(e) {
    super(e, {
      code: Ba.code,
      shortMessage: "Transaction creation failed."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "TransactionRejectedRpcError"
    })
  }
}
Object.defineProperty(Ba, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: -32003
});
class ha extends Ut {
  constructor(e) {
    super(e, {
      code: ha.code,
      shortMessage: "Method is not implemented."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "MethodNotSupportedRpcError"
    })
  }
}
Object.defineProperty(ha, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: -32004
});
class pa extends Ut {
  constructor(e) {
    super(e, {
      code: pa.code,
      shortMessage: "Request exceeds defined limit."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "LimitExceededRpcError"
    })
  }
}
Object.defineProperty(pa, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: -32005
});
class Ca extends Ut {
  constructor(e) {
    super(e, {
      code: Ca.code,
      shortMessage: "Version of JSON-RPC protocol is not supported."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "JsonRpcVersionUnsupportedError"
    })
  }
}
Object.defineProperty(Ca, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: -32006
});
class dt extends $s {
  constructor(e) {
    super(e, {
      code: dt.code,
      shortMessage: "User rejected the request."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "UserRejectedRequestError"
    })
  }
}
Object.defineProperty(dt, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: 4001
});
class ma extends $s {
  constructor(e) {
    super(e, {
      code: ma.code,
      shortMessage: "The requested method and/or account has not been authorized by the user."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "UnauthorizedProviderError"
    })
  }
}
Object.defineProperty(ma, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: 4100
});
class ga extends $s {
  constructor(e) {
    super(e, {
      code: ga.code,
      shortMessage: "The Provider does not support the requested method."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "UnsupportedProviderMethodError"
    })
  }
}
Object.defineProperty(ga, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: 4200
});
class va extends $s {
  constructor(e) {
    super(e, {
      code: va.code,
      shortMessage: "The Provider is disconnected from all chains."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "ProviderDisconnectedError"
    })
  }
}
Object.defineProperty(va, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: 4900
});
class ya extends $s {
  constructor(e) {
    super(e, {
      code: ya.code,
      shortMessage: "The Provider is not connected to the requested chain."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "ChainDisconnectedError"
    })
  }
}
Object.defineProperty(ya, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: 4901
});
class on extends $s {
  constructor(e) {
    super(e, {
      code: on.code,
      shortMessage: "An error occurred when attempting to switch chain."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "SwitchChainError"
    })
  }
}
Object.defineProperty(on, "code", {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: 4902
});
class H9 extends Ut {
  constructor(e) {
    super(e, {
      shortMessage: "An unknown RPC error occurred."
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "UnknownRpcError"
    })
  }
}
const G9 = 3;

function wa(t, {
  abi: e,
  address: r,
  args: n,
  docsPath: i,
  functionName: s,
  sender: o
}) {
  const {
    code: a,
    data: l,
    message: u,
    shortMessage: c
  } = t instanceof G1 ? t : t instanceof W ? t.walk(f => "data" in f) || t.walk() : {}, d = t instanceof hd ? new z9({
    functionName: s
  }) : [G9, Es.code].includes(a) && (l || u || c) ? new bp({
    abi: e,
    data: typeof l == "object" ? l.data : l,
    functionName: s,
    message: c ?? u
  }) : t;
  return new H1(d, {
    abi: e,
    args: n,
    contractAddress: r,
    docsPath: i,
    functionName: s,
    sender: o
  })
}
class Hs extends W {
  constructor({
    docsPath: e
  } = {}) {
    super(["Could not find an Account to execute with this Action.", "Please provide an Account with the `account` argument on the Action, or by supplying an `account` to the WalletClient."].join(`
`), {
      docsPath: e,
      docsSlug: "account"
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "AccountNotFoundError"
    })
  }
}
class q9 extends W {
  constructor(e, {
    account: r,
    docsPath: n,
    chain: i,
    data: s,
    gas: o,
    gasPrice: a,
    maxFeePerGas: l,
    maxPriorityFeePerGas: u,
    nonce: c,
    to: d,
    value: f
  }) {
    var h;
    const B = Ga({
      from: r == null ? void 0 : r.address,
      to: d,
      value: typeof f < "u" && `${Ve(f)} ${((h=i==null?void 0:i.nativeCurrency)==null?void 0:h.symbol)||"ETH"}`,
      data: s,
      gas: o,
      gasPrice: typeof a < "u" && `${Mt(a)} gwei`,
      maxFeePerGas: typeof l < "u" && `${Mt(l)} gwei`,
      maxPriorityFeePerGas: typeof u < "u" && `${Mt(u)} gwei`,
      nonce: c
    });
    super(e.shortMessage, {
      cause: e,
      docsPath: n,
      metaMessages: [...e.metaMessages ? [...e.metaMessages, " "] : [], "Estimate Gas Arguments:", B].filter(Boolean)
    }), Object.defineProperty(this, "cause", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: void 0
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "EstimateGasExecutionError"
    }), this.cause = e
  }
}

function V1(t, e) {
  const r = (t.details || "").toLowerCase(),
    n = t.walk(i => i.code === ss.code);
  return n instanceof W ? new ss({
    cause: t,
    message: n.details
  }) : ss.nodeMessage.test(r) ? new ss({
    cause: t,
    message: t.details
  }) : vc.nodeMessage.test(r) ? new vc({
    cause: t,
    maxFeePerGas: e == null ? void 0 : e.maxFeePerGas
  }) : dp.nodeMessage.test(r) ? new dp({
    cause: t,
    maxFeePerGas: e == null ? void 0 : e.maxFeePerGas
  }) : fp.nodeMessage.test(r) ? new fp({
    cause: t,
    nonce: e == null ? void 0 : e.nonce
  }) : Bp.nodeMessage.test(r) ? new Bp({
    cause: t,
    nonce: e == null ? void 0 : e.nonce
  }) : hp.nodeMessage.test(r) ? new hp({
    cause: t,
    nonce: e == null ? void 0 : e.nonce
  }) : pp.nodeMessage.test(r) ? new pp({
    cause: t
  }) : Cp.nodeMessage.test(r) ? new Cp({
    cause: t,
    gas: e == null ? void 0 : e.gas
  }) : mp.nodeMessage.test(r) ? new mp({
    cause: t,
    gas: e == null ? void 0 : e.gas
  }) : gp.nodeMessage.test(r) ? new gp({
    cause: t
  }) : yc.nodeMessage.test(r) ? new yc({
    cause: t,
    maxFeePerGas: e == null ? void 0 : e.maxFeePerGas,
    maxPriorityFeePerGas: e == null ? void 0 : e.maxPriorityFeePerGas
  }) : new fd({
    cause: t
  })
}

function V9(t, {
  docsPath: e,
  ...r
}) {
  const n = (() => {
    const i = V1(t, r);
    return i instanceof fd ? t : i
  })();
  return new q9(n, {
    docsPath: e,
    ...r
  })
}

function K1(t, {
  format: e
}) {
  if (!e) return {};
  const r = {};

  function n(s) {
    const o = Object.keys(s);
    for (const a of o) a in t && (r[a] = t[a]), s[a] && typeof s[a] == "object" && !Array.isArray(s[a]) && n(s[a])
  }
  const i = e(t || {});
  return n(i), r
}

function qa(t) {
  const {
    account: e,
    gasPrice: r,
    maxFeePerGas: n,
    maxPriorityFeePerGas: i,
    to: s
  } = t, o = e ? dr(e) : void 0;
  if (o && !Wn(o.address)) throw new aa({
    address: o.address
  });
  if (s && !Wn(s)) throw new aa({
    address: s
  });
  if (typeof r < "u" && (typeof n < "u" || typeof i < "u")) throw new F9;
  if (n && n > 2n ** 256n - 1n) throw new vc({
    maxFeePerGas: n
  });
  if (i && n && i > n) throw new yc({
    maxFeePerGas: n,
    maxPriorityFeePerGas: i
  })
}
class K9 extends W {
  constructor() {
    super("`baseFeeMultiplier` must be greater than 1."), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "BaseFeeScalarError"
    })
  }
}
class Q1 extends W {
  constructor() {
    super("Chain does not support EIP-1559 fees."), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "Eip1559FeesNotSupportedError"
    })
  }
}
class Q9 extends W {
  constructor({
    maxPriorityFeePerGas: e
  }) {
    super(`\`maxFeePerGas\` cannot be less than the \`maxPriorityFeePerGas\` (${Mt(e)} gwei).`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "MaxFeePerGasTooLowError"
    })
  }
}
class Tx extends W {
  constructor({
    blockHash: e,
    blockNumber: r
  }) {
    let n = "Block";
    e && (n = `Block at hash "${e}"`), r && (n = `Block at number "${r}"`), super(`${n} could not be found.`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "BlockNotFoundError"
    })
  }
}
async function Hn(t, {
  blockHash: e,
  blockNumber: r,
  blockTag: n,
  includeTransactions: i
} = {}) {
  var c, d, f;
  const s = n ?? "latest",
    o = i ?? !1,
    a = r !== void 0 ? de(r) : void 0;
  let l = null;
  if (e ? l = await t.request({
      method: "eth_getBlockByHash",
      params: [e, o]
    }) : l = await t.request({
      method: "eth_getBlockByNumber",
      params: [a || s, o]
    }), !l) throw new Tx({
    blockHash: e,
    blockNumber: r
  });
  return (((f = (d = (c = t.chain) == null ? void 0 : c.formatters) == null ? void 0 : d.block) == null ? void 0 : f.format) || sx)(l)
}
async function J1(t) {
  const e = await t.request({
    method: "eth_gasPrice"
  });
  return BigInt(e)
}
async function J9(t, e) {
  return Rx(t, e)
}
async function Rx(t, e) {
  var s, o, a;
  const {
    block: r,
    chain: n = t.chain,
    request: i
  } = e || {};
  if (typeof ((s = n == null ? void 0 : n.fees) == null ? void 0 : s.defaultPriorityFee) == "function") {
    const l = r || await ie(t, Hn, "getBlock")({});
    return n.fees.defaultPriorityFee({
      block: l,
      client: t,
      request: i
    })
  }
  if (typeof ((o = n == null ? void 0 : n.fees) == null ? void 0 : o.defaultPriorityFee) < "u") return (a = n == null ? void 0 : n.fees) == null ? void 0 : a.defaultPriorityFee;
  try {
    const l = await t.request({
      method: "eth_maxPriorityFeePerGas"
    });
    return cd(l)
  } catch {
    const [l, u] = await Promise.all([r ? Promise.resolve(r) : ie(t, Hn, "getBlock")({}), ie(t, J1, "getGasPrice")({})]);
    if (typeof l.baseFeePerGas != "bigint") throw new Q1;
    const c = u - l.baseFeePerGas;
    return c < 0n ? 0n : c
  }
}
async function Y9(t, e) {
  return xp(t, e)
}
async function xp(t, e) {
  var f, B;
  const {
    block: r,
    chain: n = t.chain,
    request: i,
    type: s = "eip1559"
  } = e || {}, o = await (async () => {
    var h, g;
    return typeof ((h = n == null ? void 0 : n.fees) == null ? void 0 : h.baseFeeMultiplier) == "function" ? n.fees.baseFeeMultiplier({
      block: r,
      client: t,
      request: i
    }) : ((g = n == null ? void 0 : n.fees) == null ? void 0 : g.baseFeeMultiplier) ?? 1.2
  })();
  if (o < 1) throw new K9;
  const l = 10 ** (((f = o.toString().split(".")[1]) == null ? void 0 : f.length) ?? 0),
    u = h => h * BigInt(Math.ceil(o * l)) / BigInt(l),
    c = r || await ie(t, Hn, "getBlock")({});
  if (typeof ((B = n == null ? void 0 : n.fees) == null ? void 0 : B.estimateFeesPerGas) == "function") return n.fees.estimateFeesPerGas({
    block: r,
    client: t,
    multiply: u,
    request: i,
    type: s
  });
  if (s === "eip1559") {
    if (typeof c.baseFeePerGas != "bigint") throw new Q1;
    const h = i != null && i.maxPriorityFeePerGas ? i.maxPriorityFeePerGas : await Rx(t, {
        block: c,
        chain: n,
        request: i
      }),
      g = u(c.baseFeePerGas);
    return {
      maxFeePerGas: (i == null ? void 0 : i.maxFeePerGas) ?? g + h,
      maxPriorityFeePerGas: h
    }
  }
  return {
    gasPrice: (i == null ? void 0 : i.gasPrice) ?? u(await ie(t, J1, "getGasPrice")({}))
  }
}
async function Fx(t, {
  address: e,
  blockTag: r = "latest",
  blockNumber: n
}) {
  const i = await t.request({
    method: "eth_getTransactionCount",
    params: [e, n ? de(n) : r]
  });
  return yt(i)
}

function X9(t) {
  if (t.type) return t.type;
  if (typeof t.maxFeePerGas < "u" || typeof t.maxPriorityFeePerGas < "u") return "eip1559";
  if (typeof t.gasPrice < "u") return typeof t.accessList < "u" ? "eip2930" : "legacy";
  throw new M9({
    transaction: t
  })
}
async function gd(t, e) {
  const {
    account: r = t.account,
    chain: n,
    gas: i,
    nonce: s,
    type: o
  } = e;
  if (!r) throw new Hs;
  const a = dr(r),
    l = await ie(t, Hn, "getBlock")({
      blockTag: "latest"
    }),
    u = {
      ...e,
      from: a.address
    };
  if (typeof s > "u" && (u.nonce = await ie(t, Fx, "getTransactionCount")({
      address: a.address,
      blockTag: "pending"
    })), typeof o > "u") try {
    u.type = X9(u)
  } catch {
    u.type = typeof l.baseFeePerGas == "bigint" ? "eip1559" : "legacy"
  }
  if (u.type === "eip1559") {
    const {
      maxFeePerGas: c,
      maxPriorityFeePerGas: d
    } = await xp(t, {
      block: l,
      chain: n,
      request: u
    });
    if (typeof e.maxPriorityFeePerGas > "u" && e.maxFeePerGas && e.maxFeePerGas < d) throw new Q9({
      maxPriorityFeePerGas: d
    });
    u.maxPriorityFeePerGas = d, u.maxFeePerGas = c
  } else {
    if (typeof e.maxFeePerGas < "u" || typeof e.maxPriorityFeePerGas < "u") throw new Q1;
    const {
      gasPrice: c
    } = await xp(t, {
      block: l,
      chain: n,
      request: u,
      type: "legacy"
    });
    u.gasPrice = c
  }
  return typeof i > "u" && (u.gas = await ie(t, Y1, "estimateGas")({
    ...u,
    account: {
      address: a.address,
      type: "json-rpc"
    }
  })), qa(u), u
}
async function Y1(t, e) {
  var i, s, o;
  const r = e.account ?? t.account;
  if (!r) throw new Hs({
    docsPath: "/docs/actions/public/estimateGas"
  });
  const n = dr(r);
  try {
    const {
      accessList: a,
      blockNumber: l,
      blockTag: u,
      data: c,
      gas: d,
      gasPrice: f,
      maxFeePerGas: B,
      maxPriorityFeePerGas: h,
      nonce: g,
      to: y,
      value: m,
      ...p
    } = n.type === "local" ? await gd(t, e) : e, w = (l ? de(l) : void 0) || u;
    qa(e);
    const D = (o = (s = (i = t.chain) == null ? void 0 : i.formatters) == null ? void 0 : s.transactionRequest) == null ? void 0 : o.format,
      C = (D || dd)({
        ...K1(p, {
          format: D
        }),
        from: n.address,
        accessList: a,
        data: c,
        gas: d,
        gasPrice: f,
        maxFeePerGas: B,
        maxPriorityFeePerGas: h,
        nonce: g,
        to: y,
        value: m
      }),
      S = await t.request({
        method: "eth_estimateGas",
        params: w ? [C, w] : [C]
      });
    return BigInt(S)
  } catch (a) {
    throw V9(a, {
      ...e,
      account: n,
      chain: t.chain
    })
  }
}
async function Z9(t, {
  abi: e,
  address: r,
  args: n,
  functionName: i,
  ...s
}) {
  const o = Xn({
    abi: e,
    args: n,
    functionName: i
  });
  try {
    return await ie(t, Y1, "estimateGas")({
      data: o,
      to: r,
      ...s
    })
  } catch (a) {
    const l = s.account ? dr(s.account) : void 0;
    throw wa(a, {
      abi: e,
      address: r,
      args: n,
      docsPath: "/docs/contract/estimateContractGas",
      functionName: i,
      sender: l == null ? void 0 : l.address
    })
  }
}
const ry = "/docs/contract/decodeEventLog";

function Va({
  abi: t,
  data: e,
  strict: r,
  topics: n
}) {
  const i = r ?? !0,
    [s, ...o] = n;
  if (!s) throw new IP({
    docsPath: ry
  });
  const a = t.find(h => h.type === "event" && s === L1(sn(h)));
  if (!(a && "name" in a) || a.type !== "event") throw new NP(s, {
    docsPath: ry
  });
  const {
    name: l,
    inputs: u
  } = a, c = u == null ? void 0 : u.some(h => !("name" in h && h.name));
  let d = c ? [] : {};
  const f = u.filter(h => "indexed" in h && h.indexed);
  for (let h = 0; h < f.length; h++) {
    const g = f[h],
      y = o[h];
    if (!y) throw new Ws({
      abiItem: a,
      param: g
    });
    d[g.name || h] = e_({
      param: g,
      value: y
    })
  }
  const B = u.filter(h => !("indexed" in h && h.indexed));
  if (B.length > 0) {
    if (e && e !== "0x") try {
      const h = md(B, e);
      if (h)
        if (c) d = [...d, ...h];
        else
          for (let g = 0; g < B.length; g++) d[B[g].name] = h[g]
    } catch (h) {
      if (i) throw h instanceof F1 ? new xi({
        abiItem: a,
        data: h.data,
        params: h.params,
        size: h.size
      }) : h
    } else if (i) throw new xi({
      abiItem: a,
      data: "0x",
      params: B,
      size: 0
    })
  }
  return {
    eventName: l,
    args: Object.values(d).length > 0 ? d : void 0
  }
}

function e_({
  param: t,
  value: e
}) {
  return t.type === "string" || t.type === "bytes" || t.type === "tuple" || t.type.match(/^(.*)\[(\d+)?\]$/) ? e : (md([t], e) || [])[0]
}
async function X1(t, {
  address: e,
  blockHash: r,
  fromBlock: n,
  toBlock: i,
  event: s,
  events: o,
  args: a,
  strict: l
} = {}) {
  const u = l ?? !1,
    c = o ?? (s ? [s] : void 0);
  let d = [];
  c && (d = [c.flatMap(B => Ha({
    abi: [B],
    eventName: B.name,
    args: a
  }))], s && (d = d[0]));
  let f;
  return r ? f = await t.request({
    method: "eth_getLogs",
    params: [{
      address: e,
      topics: d,
      blockHash: r
    }]
  }) : f = await t.request({
    method: "eth_getLogs",
    params: [{
      address: e,
      topics: d,
      fromBlock: typeof n == "bigint" ? de(n) : n,
      toBlock: typeof i == "bigint" ? de(i) : i
    }]
  }), f.map(B => {
    var h;
    try {
      const {
        eventName: g,
        args: y
      } = c ? Va({
        abi: c,
        data: B.data,
        topics: B.topics,
        strict: u
      }) : {
        eventName: void 0,
        args: void 0
      };
      return Er(B, {
        args: y,
        eventName: g
      })
    } catch (g) {
      let y, m;
      if (g instanceof xi || g instanceof Ws) {
        if (u) return;
        y = g.abiItem.name, m = (h = g.abiItem.inputs) == null ? void 0 : h.some(p => !("name" in p && p.name))
      }
      return Er(B, {
        args: m ? [] : {},
        eventName: y
      })
    }
  }).filter(Boolean)
}
async function Mx(t, {
  abi: e,
  address: r,
  args: n,
  blockHash: i,
  eventName: s,
  fromBlock: o,
  toBlock: a,
  strict: l
}) {
  const u = s ? $a({
      abi: e,
      name: s
    }) : void 0,
    c = u ? void 0 : e.filter(d => d.type === "event");
  return ie(t, X1, "getLogs")({
    address: r,
    args: n,
    blockHash: i,
    event: u,
    events: c,
    fromBlock: o,
    toBlock: a,
    strict: l
  })
}
const Mf = "/docs/contract/decodeFunctionResult";

function Gs({
  abi: t,
  args: e,
  functionName: r,
  data: n
}) {
  let i = t[0];
  if (r && (i = $a({
      abi: t,
      args: e,
      name: r
    }), !i)) throw new wc(r, {
    docsPath: Mf
  });
  if (i.type !== "function") throw new wc(void 0, {
    docsPath: Mf
  });
  if (!i.outputs) throw new TP(i.name, {
    docsPath: Mf
  });
  const s = md(i.outputs, n);
  if (s && s.length > 1) return s;
  if (s && s.length === 1) return s[0]
}
const t_ = "modulepreload",
  r_ = function (t) {
    return "/" + t
  },
  ny = {},
  ee = function (e, r, n) {
    let i = Promise.resolve();
    if (r && r.length > 0) {
      document.getElementsByTagName("link");
      const s = document.querySelector("meta[property=csp-nonce]"),
        o = (s == null ? void 0 : s.nonce) || (s == null ? void 0 : s.getAttribute("nonce"));
      i = Promise.all(r.map(a => {
        if (a = r_(a), a in ny) return;
        ny[a] = !0;
        const l = a.endsWith(".css"),
          u = l ? '[rel="stylesheet"]' : "";
        if (document.querySelector(`link[href="${a}"]${u}`)) return;
        const c = document.createElement("link");
        if (c.rel = l ? "stylesheet" : t_, l || (c.as = "script", c.crossOrigin = ""), c.href = a, o && c.setAttribute("nonce", o), document.head.appendChild(c), l) return new Promise((d, f) => {
          c.addEventListener("load", d), c.addEventListener("error", () => f(new Error(`Unable to preload CSS for ${a}`)))
        })
      }))
    }
    return i.then(() => e()).catch(s => {
      const o = new Event("vite:preloadError", {
        cancelable: !0
      });
      if (o.payload = s, window.dispatchEvent(o), !o.defaultPrevented) throw s
    })
  },
  Ep = [{
    inputs: [{
      components: [{
        name: "target",
        type: "address"
      }, {
        name: "allowFailure",
        type: "bool"
      }, {
        name: "callData",
        type: "bytes"
      }],
      name: "calls",
      type: "tuple[]"
    }],
    name: "aggregate3",
    outputs: [{
      components: [{
        name: "success",
        type: "bool"
      }, {
        name: "returnData",
        type: "bytes"
      }],
      name: "returnData",
      type: "tuple[]"
    }],
    stateMutability: "view",
    type: "function"
  }],
  Lx = [{
    inputs: [],
    name: "ResolverNotFound",
    type: "error"
  }, {
    inputs: [],
    name: "ResolverWildcardNotSupported",
    type: "error"
  }],
  Ux = [...Lx, {
    name: "resolve",
    type: "function",
    stateMutability: "view",
    inputs: [{
      name: "name",
      type: "bytes"
    }, {
      name: "data",
      type: "bytes"
    }],
    outputs: [{
      name: "",
      type: "bytes"
    }, {
      name: "address",
      type: "address"
    }]
  }],
  n_ = [...Lx, {
    name: "reverse",
    type: "function",
    stateMutability: "view",
    inputs: [{
      type: "bytes",
      name: "reverseName"
    }],
    outputs: [{
      type: "string",
      name: "resolvedName"
    }, {
      type: "address",
      name: "resolvedAddress"
    }, {
      type: "address",
      name: "reverseResolver"
    }, {
      type: "address",
      name: "resolver"
    }]
  }],
  iy = [{
    name: "text",
    type: "function",
    stateMutability: "view",
    inputs: [{
      name: "name",
      type: "bytes32"
    }, {
      name: "key",
      type: "string"
    }],
    outputs: [{
      name: "",
      type: "string"
    }]
  }],
  sy = [{
    name: "addr",
    type: "function",
    stateMutability: "view",
    inputs: [{
      name: "name",
      type: "bytes32"
    }],
    outputs: [{
      name: "",
      type: "address"
    }]
  }, {
    name: "addr",
    type: "function",
    stateMutability: "view",
    inputs: [{
      name: "name",
      type: "bytes32"
    }, {
      name: "coinType",
      type: "uint256"
    }],
    outputs: [{
      name: "",
      type: "bytes"
    }]
  }],
  i_ = [{
    inputs: [{
      internalType: "address",
      name: "_signer",
      type: "address"
    }, {
      internalType: "bytes32",
      name: "_hash",
      type: "bytes32"
    }, {
      internalType: "bytes",
      name: "_signature",
      type: "bytes"
    }],
    stateMutability: "nonpayable",
    type: "constructor"
  }],
  s_ = "0x82ad56cb";

function qs({
  blockNumber: t,
  chain: e,
  contract: r
}) {
  var i;
  const n = (i = e == null ? void 0 : e.contracts) == null ? void 0 : i[r];
  if (!n) throw new cp({
    chain: e,
    contract: {
      name: r
    }
  });
  if (t && n.blockCreated && n.blockCreated > t) throw new cp({
    blockNumber: t,
    chain: e,
    contract: {
      name: r,
      blockCreated: n.blockCreated
    }
  });
  return n.address
}

function o_(t, {
  docsPath: e,
  ...r
}) {
  const n = (() => {
    const i = V1(t, r);
    return i instanceof fd ? t : i
  })();
  return new Nx(n, {
    docsPath: e,
    ...r
  })
}
const Lf = new Map;

function Z1({
  fn: t,
  id: e,
  shouldSplitBatch: r,
  wait: n = 0,
  sort: i
}) {
  const s = async () => {
    const c = l();
    o();
    const d = c.map(({
      args: f
    }) => f);
    d.length !== 0 && t(d).then(f => {
      var B;
      i && Array.isArray(f) && f.sort(i);
      for (let h = 0; h < c.length; h++) {
        const {
          pendingPromise: g
        } = c[h];
        (B = g.resolve) == null || B.call(g, [f[h], f])
      }
    }).catch(f => {
      var B;
      for (let h = 0; h < c.length; h++) {
        const {
          pendingPromise: g
        } = c[h];
        (B = g.reject) == null || B.call(g, f)
      }
    })
  }, o = () => Lf.delete(e), a = () => l().map(({
    args: c
  }) => c), l = () => Lf.get(e) || [], u = c => Lf.set(e, [...l(), c]);
  return {
    flush: o,
    async schedule(c) {
      const d = {},
        f = new Promise((g, y) => {
          d.resolve = g, d.reject = y
        });
      return (r == null ? void 0 : r([...a(), c])) && s(), l().length > 0 ? (u({
        args: c,
        pendingPromise: d
      }), f) : (u({
        args: c,
        pendingPromise: d
      }), setTimeout(s, n), f)
    }
  }
}
async function vd(t, e) {
  var m, p, v, w;
  const {
    account: r = t.account,
    batch: n = !!((m = t.batch) != null && m.multicall),
    blockNumber: i,
    blockTag: s = "latest",
    accessList: o,
    data: a,
    gas: l,
    gasPrice: u,
    maxFeePerGas: c,
    maxPriorityFeePerGas: d,
    nonce: f,
    to: B,
    value: h,
    ...g
  } = e, y = r ? dr(r) : void 0;
  try {
    qa(e);
    const x = (i ? de(i) : void 0) || s,
      C = (w = (v = (p = t.chain) == null ? void 0 : p.formatters) == null ? void 0 : v.transactionRequest) == null ? void 0 : w.format,
      A = (C || dd)({
        ...K1(g, {
          format: C
        }),
        from: y == null ? void 0 : y.address,
        accessList: o,
        data: a,
        gas: l,
        gasPrice: u,
        maxFeePerGas: c,
        maxPriorityFeePerGas: d,
        nonce: f,
        to: B,
        value: h
      });
    if (n && a_({
        request: A
      })) try {
      return await l_(t, {
        ...A,
        blockNumber: i,
        blockTag: s
      })
    } catch (_) {
      if (!(_ instanceof ox) && !(_ instanceof cp)) throw _
    }
    const P = await t.request({
      method: "eth_call",
      params: x ? [A, x] : [A]
    });
    return P === "0x" ? {
      data: void 0
    } : {
      data: P
    }
  } catch (D) {
    const x = u_(D),
      {
        offchainLookup: C,
        offchainLookupSignature: S
      } = await ee(async () => {
        const {
          offchainLookup: A,
          offchainLookupSignature: P
        } = await import("./ccip-BNTVILI2.js");
        return {
          offchainLookup: A,
          offchainLookupSignature: P
        }
      }, []);
    if ((x == null ? void 0 : x.slice(0, 10)) === S && B) return {
      data: await C(t, {
        data: x,
        to: B
      })
    };
    throw o_(D, {
      ...e,
      account: y,
      chain: t.chain
    })
  }
}

function a_({
  request: t
}) {
  const {
    data: e,
    to: r,
    ...n
  } = t;
  return !(!e || e.startsWith(s_) || !r || Object.values(n).filter(i => typeof i < "u").length > 0)
}
async function l_(t, e) {
  var g;
  const {
    batchSize: r = 1024,
    wait: n = 0
  } = typeof ((g = t.batch) == null ? void 0 : g.multicall) == "object" ? t.batch.multicall: {}, {
    blockNumber: i,
    blockTag: s = "latest",
    data: o,
    multicallAddress: a,
    to: l
  } = e;
  let u = a;
  if (!u) {
    if (!t.chain) throw new ox;
    u = qs({
      blockNumber: i,
      chain: t.chain,
      contract: "multicall3"
    })
  }
  const d = (i ? de(i) : void 0) || s,
    {
      schedule: f
    } = Z1({
      id: `${t.uid}.${d}`,
      wait: n,
      shouldSplitBatch(y) {
        return y.reduce((p, {
          data: v
        }) => p + (v.length - 2), 0) > r * 2
      },
      fn: async y => {
        const m = y.map(w => ({
            allowFailure: !0,
            callData: w.data,
            target: w.to
          })),
          p = Xn({
            abi: Ep,
            args: [m],
            functionName: "aggregate3"
          }),
          v = await t.request({
            method: "eth_call",
            params: [{
              data: p,
              to: u
            }, d]
          });
        return Gs({
          abi: Ep,
          args: [m],
          functionName: "aggregate3",
          data: v || "0x"
        })
      }
    }),
    [{
      returnData: B,
      success: h
    }] = await f({
      data: o,
      to: l
    });
  if (!h) throw new G1({
    data: B
  });
  return B === "0x" ? {
    data: void 0
  } : {
    data: B
  }
}

function u_(t) {
  if (!(t instanceof W)) return;
  const e = t.walk();
  return typeof e.data == "object" ? e.data.data : e.data
}
async function Gn(t, {
  abi: e,
  address: r,
  args: n,
  functionName: i,
  ...s
}) {
  const o = Xn({
    abi: e,
    args: n,
    functionName: i
  });
  try {
    const {
      data: a
    } = await ie(t, vd, "call")({
      data: o,
      to: r,
      ...s
    });
    return Gs({
      abi: e,
      args: n,
      functionName: i,
      data: a || "0x"
    })
  } catch (a) {
    throw wa(a, {
      abi: e,
      address: r,
      args: n,
      docsPath: "/docs/contract/readContract",
      functionName: i
    })
  }
}
async function c_(t, {
  abi: e,
  address: r,
  args: n,
  dataSuffix: i,
  functionName: s,
  ...o
}) {
  const a = o.account ? dr(o.account) : void 0,
    l = Xn({
      abi: e,
      args: n,
      functionName: s
    });
  try {
    const {
      data: u
    } = await ie(t, vd, "call")({
      batch: !1,
      data: `${l}${i?i.replace("0x",""):""}`,
      to: r,
      ...o
    });
    return {
      result: Gs({
        abi: e,
        args: n,
        functionName: s,
        data: u || "0x"
      }),
      request: {
        abi: e,
        address: r,
        args: n,
        dataSuffix: i,
        functionName: s,
        ...o
      }
    }
  } catch (u) {
    throw wa(u, {
      abi: e,
      address: r,
      args: n,
      docsPath: "/docs/contract/simulateContract",
      functionName: s,
      sender: a == null ? void 0 : a.address
    })
  }
}
const Uf = new Map,
  oy = new Map;
let d_ = 0;

function Vs(t, e, r) {
  const n = ++d_,
    i = () => Uf.get(t) || [],
    s = () => {
      const c = i();
      Uf.set(t, c.filter(d => d.id !== n))
    },
    o = () => {
      const c = oy.get(t);
      i().length === 1 && c && c(), s()
    },
    a = i();
  if (Uf.set(t, [...a, {
      id: n,
      fns: e
    }]), a && a.length > 0) return o;
  const l = {};
  for (const c in e) l[c] = (...d) => {
    var B, h;
    const f = i();
    if (f.length !== 0)
      for (const g of f)(h = (B = g.fns)[c]) == null || h.call(B, ...d)
  };
  const u = r(l);
  return typeof u == "function" && oy.set(t, u), o
}
async function Dc(t) {
  return new Promise(e => setTimeout(e, t))
}

function Ka(t, {
  emitOnBegin: e,
  initialWaitTime: r,
  interval: n
}) {
  let i = !0;
  const s = () => i = !1;
  return (async () => {
    let a;
    e && (a = await t({
      unpoll: s
    }));
    const l = await (r == null ? void 0 : r(a)) ?? n;
    await Dc(l);
    const u = async () => {
      i && (await t({
        unpoll: s
      }), await Dc(n), u())
    };
    u()
  })(), s
}
const f_ = new Map,
  B_ = new Map;

function h_(t) {
  const e = (i, s) => ({
      clear: () => s.delete(i),
      get: () => s.get(i),
      set: o => s.set(i, o)
    }),
    r = e(t, f_),
    n = e(t, B_);
  return {
    clear: () => {
      r.clear(), n.clear()
    },
    promise: r,
    response: n
  }
}
async function p_(t, {
  cacheKey: e,
  cacheTime: r = 1 / 0
}) {
  const n = h_(e),
    i = n.response.get();
  if (i && r > 0 && new Date().getTime() - i.created.getTime() < r) return i.data;
  let s = n.promise.get();
  s || (s = t(), n.promise.set(s));
  try {
    const o = await s;
    return n.response.set({
      created: new Date,
      data: o
    }), o
  } finally {
    n.promise.clear()
  }
}
const C_ = t => `blockNumber.${t}`;
async function Qa(t, {
  cacheTime: e = t.cacheTime,
  maxAge: r
} = {}) {
  const n = await p_(() => t.request({
    method: "eth_blockNumber"
  }), {
    cacheKey: C_(t.uid),
    cacheTime: r ?? e
  });
  return BigInt(n)
}
async function yd(t, {
  filter: e
}) {
  const r = "strict" in e && e.strict;
  return (await e.request({
    method: "eth_getFilterChanges",
    params: [e.id]
  })).map(i => {
    var s;
    if (typeof i == "string") return i;
    try {
      const {
        eventName: o,
        args: a
      } = "abi" in e && e.abi ? Va({
        abi: e.abi,
        data: i.data,
        topics: i.topics,
        strict: r
      }) : {
        eventName: void 0,
        args: void 0
      };
      return Er(i, {
        args: a,
        eventName: o
      })
    } catch (o) {
      let a, l;
      if (o instanceof xi || o instanceof Ws) {
        if ("strict" in e && e.strict) return;
        a = o.abiItem.name, l = (s = o.abiItem.inputs) == null ? void 0 : s.some(u => !("name" in u && u.name))
      }
      return Er(i, {
        args: l ? [] : {},
        eventName: a
      })
    }
  }).filter(Boolean)
}
async function wd(t, {
  filter: e
}) {
  return e.request({
    method: "eth_uninstallFilter",
    params: [e.id]
  })
}

function m_(t, {
  abi: e,
  address: r,
  args: n,
  batch: i = !0,
  eventName: s,
  onError: o,
  onLogs: a,
  poll: l,
  pollingInterval: u = t.pollingInterval,
  strict: c
}) {
  return (typeof l < "u" ? l : t.transport.type !== "webSocket") ? (() => {
    const h = kt(["watchContractEvent", r, n, i, t.uid, s, u]),
      g = c ?? !1;
    return Vs(h, {
      onLogs: a,
      onError: o
    }, y => {
      let m, p, v = !1;
      const w = Ka(async () => {
        var D;
        if (!v) {
          try {
            p = await ie(t, Ax, "createContractEventFilter")({
              abi: e,
              address: r,
              args: n,
              eventName: s,
              strict: g
            })
          } catch {}
          v = !0;
          return
        }
        try {
          let x;
          if (p) x = await ie(t, yd, "getFilterChanges")({
            filter: p
          });
          else {
            const C = await ie(t, Qa, "getBlockNumber")({});
            m && m !== C ? x = await ie(t, Mx, "getContractEvents")({
              abi: e,
              address: r,
              args: n,
              eventName: s,
              fromBlock: m + 1n,
              toBlock: C,
              strict: g
            }) : x = [], m = C
          }
          if (x.length === 0) return;
          if (i) y.onLogs(x);
          else
            for (const C of x) y.onLogs([C])
        } catch (x) {
          p && x instanceof Ei && (v = !1), (D = y.onError) == null || D.call(y, x)
        }
      }, {
        emitOnBegin: !0,
        interval: u
      });
      return async () => {
        p && await ie(t, wd, "uninstallFilter")({
          filter: p
        }), w()
      }
    })
  })() : (() => {
    let h = !0,
      g = () => h = !1;
    return (async () => {
      try {
        const y = s ? Ha({
            abi: e,
            eventName: s,
            args: n
          }) : [],
          {
            unsubscribe: m
          } = await t.transport.subscribe({
            params: ["logs", {
              address: r,
              topics: y
            }],
            onData(p) {
              var w;
              if (!h) return;
              const v = p.result;
              try {
                const {
                  eventName: D,
                  args: x
                } = Va({
                  abi: e,
                  data: v.data,
                  topics: v.topics,
                  strict: c
                }), C = Er(v, {
                  args: x,
                  eventName: D
                });
                a([C])
              } catch (D) {
                let x, C;
                if (D instanceof xi || D instanceof Ws) {
                  if (c) return;
                  x = D.abiItem.name, C = (w = D.abiItem.inputs) == null ? void 0 : w.some(A => !("name" in A && A.name))
                }
                const S = Er(v, {
                  args: C ? [] : {},
                  eventName: x
                });
                a([S])
              }
            },
            onError(p) {
              o == null || o(p)
            }
          });
        g = m, h || g()
      } catch (y) {
        o == null || o(y)
      }
    })(), g
  })()
}

function zx({
  chain: t,
  currentChainId: e
}) {
  if (!t) throw new UA;
  if (e !== t.id) throw new LA({
    chain: t,
    currentChainId: e
  })
}

function g_(t, {
  docsPath: e,
  ...r
}) {
  const n = (() => {
    const i = V1(t, r);
    return i instanceof fd ? t : i
  })();
  return new L9(n, {
    docsPath: e,
    ...r
  })
}
async function ba(t) {
  const e = await t.request({
    method: "eth_chainId"
  });
  return yt(e)
}
async function em(t, {
  serializedTransaction: e
}) {
  return t.request({
    method: "eth_sendRawTransaction",
    params: [e]
  })
}
async function tm(t, e) {
  var g, y, m, p;
  const {
    account: r = t.account,
    chain: n = t.chain,
    accessList: i,
    data: s,
    gas: o,
    gasPrice: a,
    maxFeePerGas: l,
    maxPriorityFeePerGas: u,
    nonce: c,
    to: d,
    value: f,
    ...B
  } = e;
  if (!r) throw new Hs({
    docsPath: "/docs/actions/wallet/sendTransaction"
  });
  const h = dr(r);
  try {
    qa(e);
    let v;
    if (n !== null && (v = await ie(t, ba, "getChainId")({}), zx({
        currentChainId: v,
        chain: n
      })), h.type === "local") {
      const C = await ie(t, gd, "prepareTransactionRequest")({
        account: h,
        accessList: i,
        chain: n,
        data: s,
        gas: o,
        gasPrice: a,
        maxFeePerGas: l,
        maxPriorityFeePerGas: u,
        nonce: c,
        to: d,
        value: f,
        ...B
      });
      v || (v = await ie(t, ba, "getChainId")({}));
      const S = (g = n == null ? void 0 : n.serializers) == null ? void 0 : g.transaction,
        A = await h.signTransaction({
          ...C,
          chainId: v
        }, {
          serializer: S
        });
      return await ie(t, em, "sendRawTransaction")({
        serializedTransaction: A
      })
    }
    const w = (p = (m = (y = t.chain) == null ? void 0 : y.formatters) == null ? void 0 : m.transactionRequest) == null ? void 0 : p.format,
      x = (w || dd)({
        ...K1(B, {
          format: w
        }),
        accessList: i,
        data: s,
        from: h.address,
        gas: o,
        gasPrice: a,
        maxFeePerGas: l,
        maxPriorityFeePerGas: u,
        nonce: c,
        to: d,
        value: f
      });
    return await t.request({
      method: "eth_sendTransaction",
      params: [x]
    })
  } catch (v) {
    throw g_(v, {
      ...e,
      account: h,
      chain: e.chain || void 0
    })
  }
}
async function v_(t, {
  abi: e,
  address: r,
  args: n,
  dataSuffix: i,
  functionName: s,
  ...o
}) {
  const a = Xn({
    abi: e,
    args: n,
    functionName: s
  });
  return await ie(t, tm, "sendTransaction")({
    data: `${a}${i?i.replace("0x",""):""}`,
    to: r,
    ...o
  })
}
async function y_(t, {
  chain: e
}) {
  const {
    id: r,
    name: n,
    nativeCurrency: i,
    rpcUrls: s,
    blockExplorers: o
  } = e;
  await t.request({
    method: "wallet_addEthereumChain",
    params: [{
      chainId: de(r),
      chainName: n,
      nativeCurrency: i,
      rpcUrls: s.default.http,
      blockExplorerUrls: o ? Object.values(o).map(({
        url: a
      }) => a) : void 0
    }]
  })
}
const Sp = 256;
let Ul = Sp,
  zl;

function w_(t = 11) {
  if (!zl || Ul + t > Sp * 2) {
    zl = "", Ul = 0;
    for (let e = 0; e < Sp; e++) zl += (256 + Math.random() * 256 | 0).toString(16).substring(1)
  }
  return zl.substring(Ul, Ul++ + t)
}

function Wx(t) {
  const {
    batch: e,
    cacheTime: r = t.pollingInterval ?? 4e3,
    key: n = "base",
    name: i = "Base Client",
    pollingInterval: s = 4e3,
    type: o = "base"
  } = t, a = t.chain, l = t.account ? dr(t.account) : void 0, {
    config: u,
    request: c,
    value: d
  } = t.transport({
    chain: a,
    pollingInterval: s
  }), f = {
    ...u,
    ...d
  }, B = {
    account: l,
    batch: e,
    cacheTime: r,
    chain: a,
    key: n,
    name: i,
    pollingInterval: s,
    request: c,
    transport: f,
    type: o,
    uid: w_()
  };

  function h(g) {
    return y => {
      const m = y(g);
      for (const v in B) delete m[v];
      const p = {
        ...g,
        ...m
      };
      return Object.assign(p, {
        extend: h(p)
      })
    }
  }
  return Object.assign(B, {
    extend: h(B)
  })
}

function kp(t, {
  delay: e = 100,
  retryCount: r = 2,
  shouldRetry: n = () => !0
} = {}) {
  return new Promise((i, s) => {
    const o = async ({
      count: a = 0
    } = {}) => {
      const l = async ({
        error: u
      }) => {
        const c = typeof e == "function" ? e({
          count: a,
          error: u
        }) : e;
        c && await Dc(c), o({
          count: a + 1
        })
      };
      try {
        const u = await t();
        i(u)
      } catch (u) {
        if (a < r && await n({
            count: a,
            error: u
          })) return l({
          error: u
        });
        s(u)
      }
    };
    o()
  })
}
const $x = t => "code" in t ? t.code !== -1 && t.code !== -32004 && t.code !== -32005 && t.code !== -32042 && t.code !== -32603 : t instanceof Lo && t.status ? t.status !== 403 && t.status !== 408 && t.status !== 413 && t.status !== 429 && t.status !== 500 && t.status !== 502 && t.status !== 503 && t.status !== 504 : !1;

function b_(t, {
  retryDelay: e = 150,
  retryCount: r = 3
} = {}) {
  return async n => kp(async () => {
    try {
      return await t(n)
    } catch (i) {
      const s = i;
      switch (s.code) {
        case la.code:
          throw new la(s);
        case ua.code:
          throw new ua(s);
        case ca.code:
          throw new ca(s);
        case da.code:
          throw new da(s);
        case Es.code:
          throw new Es(s);
        case Ei.code:
          throw new Ei(s);
        case fa.code:
          throw new fa(s);
        case $n.code:
          throw new $n(s);
        case Ba.code:
          throw new Ba(s);
        case ha.code:
          throw new ha(s);
        case pa.code:
          throw new pa(s);
        case Ca.code:
          throw new Ca(s);
        case dt.code:
          throw new dt(s);
        case ma.code:
          throw new ma(s);
        case ga.code:
          throw new ga(s);
        case va.code:
          throw new va(s);
        case ya.code:
          throw new ya(s);
        case on.code:
          throw new on(s);
        case 5e3:
          throw new dt(s);
        default:
          throw i instanceof W ? i : new H9(s)
      }
    }
  }, {
    delay: ({
      count: i,
      error: s
    }) => {
      var o;
      if (s && s instanceof Lo) {
        const a = (o = s == null ? void 0 : s.headers) == null ? void 0 : o.get("Retry-After");
        if (a != null && a.match(/\d/)) return parseInt(a) * 1e3
      }
      return ~~(1 << i) * e
    },
    retryCount: r,
    shouldRetry: ({
      error: i
    }) => !$x(i)
  })
}

function bd({
  key: t,
  name: e,
  request: r,
  retryCount: n = 3,
  retryDelay: i = 150,
  timeout: s,
  type: o
}, a) {
  return {
    config: {
      key: t,
      name: e,
      request: r,
      retryCount: n,
      retryDelay: i,
      timeout: s,
      type: o
    },
    request: b_(r, {
      retryCount: n,
      retryDelay: i
    }),
    value: a
  }
}

function rm(t, e = {}) {
  const {
    key: r = "custom",
    name: n = "Custom Provider",
    retryDelay: i
  } = e;
  return ({
    retryCount: s
  }) => bd({
    key: r,
    name: n,
    request: t.request.bind(t),
    retryCount: e.retryCount ?? s,
    retryDelay: i,
    type: "custom"
  })
}

function ay(t, e = {}) {
  const {
    key: r = "fallback",
    name: n = "Fallback",
    rank: i = !1,
    retryCount: s,
    retryDelay: o
  } = e;
  return ({
    chain: a,
    pollingInterval: l = 4e3,
    timeout: u
  }) => {
    let c = t,
      d = () => {};
    const f = bd({
      key: r,
      name: n,
      async request({
        method: B,
        params: h
      }) {
        const g = async (y = 0) => {
          const m = c[y]({
            chain: a,
            retryCount: 0,
            timeout: u
          });
          try {
            const p = await m.request({
              method: B,
              params: h
            });
            return d({
              method: B,
              params: h,
              response: p,
              transport: m,
              status: "success"
            }), p
          } catch (p) {
            if (d({
                error: p,
                method: B,
                params: h,
                transport: m,
                status: "error"
              }), $x(p) || y === c.length - 1) throw p;
            return g(y + 1)
          }
        };
        return g()
      },
      retryCount: s,
      retryDelay: o,
      type: "fallback"
    }, {
      onResponse: B => d = B,
      transports: c.map(B => B({
        chain: a,
        retryCount: 0
      }))
    });
    if (i) {
      const B = typeof i == "object" ? i : {};
      D_({
        chain: a,
        interval: B.interval ?? l,
        onTransports: h => c = h,
        sampleCount: B.sampleCount,
        timeout: B.timeout,
        transports: c,
        weights: B.weights
      })
    }
    return f
  }
}

function D_({
  chain: t,
  interval: e = 4e3,
  onTransports: r,
  sampleCount: n = 10,
  timeout: i = 1e3,
  transports: s,
  weights: o = {}
}) {
  const {
    stability: a = .7,
    latency: l = .3
  } = o, u = [], c = async () => {
    const d = await Promise.all(s.map(async h => {
      const g = h({
          chain: t,
          retryCount: 0,
          timeout: i
        }),
        y = Date.now();
      let m, p;
      try {
        await g.request({
          method: "net_listening"
        }), p = 1
      } catch {
        p = 0
      } finally {
        m = Date.now()
      }
      return {
        latency: m - y,
        success: p
      }
    }));
    u.push(d), u.length > n && u.shift();
    const f = Math.max(...u.map(h => Math.max(...h.map(({
        latency: g
      }) => g)))),
      B = s.map((h, g) => {
        const y = u.map(D => D[g].latency),
          p = 1 - y.reduce((D, x) => D + x, 0) / y.length / f,
          v = u.map(D => D[g].success),
          w = v.reduce((D, x) => D + x, 0) / v.length;
        return w === 0 ? [0, g] : [l * p + a * w, g]
      }).sort((h, g) => g[0] - h[0]);
    r(B.map(([, h]) => s[h])), await Dc(e), c()
  };
  c()
}
class Hx extends W {
  constructor() {
    super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.", {
      docsPath: "/docs/clients/intro"
    })
  }
}

function x_() {
  if (typeof WebSocket < "u") return WebSocket;
  if (typeof global.WebSocket < "u") return global.WebSocket;
  if (typeof window.WebSocket < "u") return window.WebSocket;
  if (typeof self.WebSocket < "u") return self.WebSocket;
  throw new Error("`WebSocket` is not supported in this environment")
}
const ly = x_();

function Gx(t, {
  errorInstance: e = new Error("timed out"),
  timeout: r,
  signal: n
}) {
  return new Promise((i, s) => {
    (async () => {
      let o;
      try {
        const a = new AbortController;
        r > 0 && (o = setTimeout(() => {
          n ? a.abort() : s(e)
        }, r)), i(await t({
          signal: a == null ? void 0 : a.signal
        }))
      } catch (a) {
        a.name === "AbortError" && s(e), s(a)
      } finally {
        clearTimeout(o)
      }
    })()
  })
}
let jp = 0;
async function E_(t, {
  body: e,
  fetchOptions: r = {},
  timeout: n = 1e4
}) {
  var a;
  const {
    headers: i,
    method: s,
    signal: o
  } = r;
  try {
    const l = await Gx(async ({
      signal: c
    }) => await fetch(t, {
      ...r,
      body: Array.isArray(e) ? kt(e.map(f => ({
        jsonrpc: "2.0",
        id: f.id ?? jp++,
        ...f
      }))) : kt({
        jsonrpc: "2.0",
        id: e.id ?? jp++,
        ...e
      }),
      headers: {
        ...i,
        "Content-Type": "application/json"
      },
      method: s || "POST",
      signal: o || (n > 0 ? c : void 0)
    }), {
      errorInstance: new Dp({
        body: e,
        url: t
      }),
      timeout: n,
      signal: !0
    });
    let u;
    if ((a = l.headers.get("Content-Type")) != null && a.startsWith("application/json") ? u = await l.json() : u = await l.text(), !l.ok) throw new Lo({
      body: e,
      details: kt(u.error) || l.statusText,
      headers: l.headers,
      status: l.status,
      url: t
    });
    return u
  } catch (l) {
    throw l instanceof Lo || l instanceof Dp ? l : new Lo({
      body: e,
      details: l.message,
      url: t
    })
  }
}
const zf = new Map;
async function Wf(t) {
  let e = zf.get(t);
  if (e) return e;
  const {
    schedule: r
  } = Z1({
    id: t,
    fn: async () => {
      const s = new ly(t),
        o = new Map,
        a = new Map,
        l = ({
          data: c
        }) => {
          const d = JSON.parse(c),
            f = d.method === "eth_subscription",
            B = f ? d.params.subscription : d.id,
            h = f ? a : o,
            g = h.get(B);
          g && g({
            data: c
          }), f || h.delete(B)
        },
        u = () => {
          zf.delete(t), s.removeEventListener("close", u), s.removeEventListener("message", l)
        };
      return s.addEventListener("close", u), s.addEventListener("message", l), s.readyState === ly.CONNECTING && await new Promise((c, d) => {
        s && (s.onopen = c, s.onerror = d)
      }), e = Object.assign(s, {
        requests: o,
        subscriptions: a
      }), zf.set(t, e), [e]
    }
  }), [n, [i]] = await r();
  return i
}

function S_(t, {
  body: e,
  onResponse: r
}) {
  if (t.readyState === t.CLOSED || t.readyState === t.CLOSING) throw new W9({
    body: e,
    url: t.url,
    details: "Socket is closed."
  });
  const n = jp++,
    i = ({
      data: s
    }) => {
      var a;
      const o = JSON.parse(s);
      typeof o.id == "number" && n !== o.id || (r == null || r(o), e.method === "eth_subscribe" && typeof o.result == "string" && t.subscriptions.set(o.result, i), e.method === "eth_unsubscribe" && t.subscriptions.delete((a = e.params) == null ? void 0 : a[0]))
    };
  return t.requests.set(n, i), t.send(JSON.stringify({
    jsonrpc: "2.0",
    ...e,
    id: n
  })), t
}
async function k_(t, {
  body: e,
  timeout: r = 1e4
}) {
  return Gx(() => new Promise(n => Bs.webSocket(t, {
    body: e,
    onResponse: n
  })), {
    errorInstance: new Dp({
      body: e,
      url: t.url
    }),
    timeout: r
  })
}
const Bs = {
  http: E_,
  webSocket: S_,
  webSocketAsync: k_
};

function j_(t, e = {}) {
  const {
    batch: r,
    fetchOptions: n,
    key: i = "http",
    name: s = "HTTP JSON-RPC",
    retryDelay: o
  } = e;
  return ({
    chain: a,
    retryCount: l,
    timeout: u
  }) => {
    const {
      batchSize: c = 1e3,
      wait: d = 0
    } = typeof r == "object" ? r : {}, f = e.retryCount ?? l, B = u ?? e.timeout ?? 1e4, h = t || (a == null ? void 0 : a.rpcUrls.default.http[0]);
    if (!h) throw new Hx;
    return bd({
      key: i,
      name: s,
      async request({
        method: g,
        params: y
      }) {
        const m = {
            method: g,
            params: y
          },
          {
            schedule: p
          } = Z1({
            id: `${t}`,
            wait: d,
            shouldSplitBatch(x) {
              return x.length > c
            },
            fn: x => Bs.http(h, {
              body: x,
              fetchOptions: n,
              timeout: B
            }),
            sort: (x, C) => x.id - C.id
          }),
          v = async x => r ? p(x) : [await Bs.http(h, {
            body: x,
            fetchOptions: n,
            timeout: B
          })], [{
            error: w,
            result: D
          }] = await v(m);
        if (w) throw new q1({
          body: m,
          error: w,
          url: h
        });
        return D
      },
      retryCount: f,
      retryDelay: o,
      timeout: B,
      type: "http"
    }, {
      fetchOptions: n,
      url: t
    })
  }
}

function nm(t, e) {
  var n, i, s;
  if (!(t instanceof W)) return !1;
  const r = t.walk(o => o instanceof bp);
  return r instanceof bp ? !!(((n = r.data) == null ? void 0 : n.errorName) === "ResolverNotFound" || ((i = r.data) == null ? void 0 : i.errorName) === "ResolverWildcardNotSupported" || (s = r.reason) != null && s.includes("Wildcard on non-extended resolvers is not supported") || e === "reverse" && r.reason === Px[50]) : !1
}

function qx(t) {
  if (t.length !== 66 || t.indexOf("[") !== 0 || t.indexOf("]") !== 65) return null;
  const e = `0x${t.slice(1,65)}`;
  return Mr(e) ? e : null
}

function Pu(t) {
  let e = new Uint8Array(32).fill(0);
  if (!t) return oa(e);
  const r = t.split(".");
  for (let n = r.length - 1; n >= 0; n -= 1) {
    const i = qx(r[n]),
      s = i ? zn(i) : Et(Yr(r[n]), "bytes");
    e = Et(nn([e, s]), "bytes")
  }
  return oa(e)
}

function A_(t) {
  return `[${t.slice(2)}]`
}

function P_(t) {
  const e = new Uint8Array(32).fill(0);
  return t ? qx(t) || Et(Yr(t)) : oa(e)
}

function Dd(t) {
  const e = t.replace(/^\.|\.$/gm, "");
  if (e.length === 0) return new Uint8Array(1);
  const r = new Uint8Array(Yr(e).byteLength + 2);
  let n = 0;
  const i = e.split(".");
  for (let s = 0; s < i.length; s++) {
    let o = Yr(i[s]);
    o.byteLength > 255 && (o = Yr(A_(P_(i[s])))), r[n] = o.length, r.set(o, n + 1), n += o.length + 1
  }
  return r.byteLength !== n + 1 ? r.slice(0, n + 1) : r
}
async function __(t, {
  blockNumber: e,
  blockTag: r,
  coinType: n,
  name: i,
  universalResolverAddress: s
}) {
  let o = s;
  if (!o) {
    if (!t.chain) throw new Error("client chain not configured. universalResolverAddress is required.");
    o = qs({
      blockNumber: e,
      chain: t.chain,
      contract: "ensUniversalResolver"
    })
  }
  try {
    const a = Xn({
        abi: sy,
        functionName: "addr",
        ...n != null ? {
          args: [Pu(i), BigInt(n)]
        } : {
          args: [Pu(i)]
        }
      }),
      l = await ie(t, Gn, "readContract")({
        address: o,
        abi: Ux,
        functionName: "resolve",
        args: [un(Dd(i)), a],
        blockNumber: e,
        blockTag: r
      });
    if (l[0] === "0x") return null;
    const u = Gs({
      abi: sy,
      args: n != null ? [Pu(i), BigInt(n)] : void 0,
      functionName: "addr",
      data: l[0]
    });
    return u === "0x" || mi(u) === "0x00" ? null : u
  } catch (a) {
    if (nm(a, "resolve")) return null;
    throw a
  }
}
class O_ extends W {
  constructor({
    data: e
  }) {
    super("Unable to extract image from metadata. The metadata may be malformed or invalid.", {
      metaMessages: ["- Metadata must be a JSON object with at least an `image`, `image_url` or `image_data` property.", "", `Provided data: ${JSON.stringify(e)}`]
    }), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "EnsAvatarInvalidMetadataError"
    })
  }
}
class co extends W {
  constructor({
    reason: e
  }) {
    super(`ENS NFT avatar URI is invalid. ${e}`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "EnsAvatarInvalidNftUriError"
    })
  }
}
class im extends W {
  constructor({
    uri: e
  }) {
    super(`Unable to resolve ENS avatar URI "${e}". The URI may be malformed, invalid, or does not respond with a valid image.`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "EnsAvatarUriResolutionError"
    })
  }
}
class I_ extends W {
  constructor({
    namespace: e
  }) {
    super(`ENS NFT avatar namespace "${e}" is not supported. Must be "erc721" or "erc1155".`), Object.defineProperty(this, "name", {
      enumerable: !0,
      configurable: !0,
      writable: !0,
      value: "EnsAvatarUnsupportedNamespaceError"
    })
  }
}
const N_ = /(?<protocol>https?:\/\/[^\/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/,
  T_ = /^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?<target>[\w\-.]+))?(?<subtarget>\/.*)?$/,
  R_ = /^data:([a-zA-Z\-/+]*);base64,([^"].*)/,
  F_ = /^data:([a-zA-Z\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;
async function M_(t) {
  try {
    const e = await fetch(t, {
      method: "HEAD"
    });
    if (e.status === 200) {
      const r = e.headers.get("content-type");
      return r == null ? void 0 : r.startsWith("image/")
    }
    return !1
  } catch (e) {
    return typeof e == "object" && typeof e.response < "u" || !globalThis.hasOwnProperty("Image") ? !1 : new Promise(r => {
      const n = new Image;
      n.onload = () => {
        r(!0)
      }, n.onerror = () => {
        r(!1)
      }, n.src = t
    })
  }
}

function uy(t, e) {
  return t ? t.endsWith("/") ? t.slice(0, -1) : t : e
}

function Vx({
  uri: t,
  gatewayUrls: e
}) {
  const r = R_.test(t);
  if (r) return {
    uri: t,
    isOnChain: !0,
    isEncoded: r
  };
  const n = uy(e == null ? void 0 : e.ipfs, "https://ipfs.io"),
    i = uy(e == null ? void 0 : e.arweave, "https://arweave.net"),
    s = t.match(N_),
    {
      protocol: o,
      subpath: a,
      target: l,
      subtarget: u = ""
    } = (s == null ? void 0 : s.groups) || {},
    c = o === "ipns:/" || a === "ipns/",
    d = o === "ipfs:/" || a === "ipfs/" || T_.test(t);
  if (t.startsWith("http") && !c && !d) {
    let B = t;
    return e != null && e.arweave && (B = t.replace(/https:\/\/arweave.net/g, e == null ? void 0 : e.arweave)), {
      uri: B,
      isOnChain: !1,
      isEncoded: !1
    }
  }
  if ((c || d) && l) return {
    uri: `${n}/${c?"ipns":"ipfs"}/${l}${u}`,
    isOnChain: !1,
    isEncoded: !1
  };
  if (o === "ar:/" && l) return {
    uri: `${i}/${l}${u||""}`,
    isOnChain: !1,
    isEncoded: !1
  };
  let f = t.replace(F_, "");
  if (f.startsWith("<svg") && (f = `data:image/svg+xml;base64,${btoa(f)}`), f.startsWith("data:") || f.startsWith("{")) return {
    uri: f,
    isOnChain: !0,
    isEncoded: !1
  };
  throw new im({
    uri: t
  })
}

function Kx(t) {
  if (typeof t != "object" || !("image" in t) && !("image_url" in t) && !("image_data" in t)) throw new O_({
    data: t
  });
  return t.image || t.image_url || t.image_data
}
async function L_({
  gatewayUrls: t,
  uri: e
}) {
  try {
    const r = await fetch(e).then(i => i.json());
    return await sm({
      gatewayUrls: t,
      uri: Kx(r)
    })
  } catch {
    throw new im({
      uri: e
    })
  }
}
async function sm({
  gatewayUrls: t,
  uri: e
}) {
  const {
    uri: r,
    isOnChain: n
  } = Vx({
    uri: e,
    gatewayUrls: t
  });
  if (n || await M_(r)) return r;
  throw new im({
    uri: e
  })
}

function U_(t) {
  let e = t;
  e.startsWith("did:nft:") && (e = e.replace("did:nft:", "").replace(/_/g, "/"));
  const [r, n, i] = e.split("/"), [s, o] = r.split(":"), [a, l] = n.split(":");
  if (!s || s.toLowerCase() !== "eip155") throw new co({
    reason: "Only EIP-155 supported"
  });
  if (!o) throw new co({
    reason: "Chain ID not found"
  });
  if (!l) throw new co({
    reason: "Contract address not found"
  });
  if (!i) throw new co({
    reason: "Token ID not found"
  });
  if (!a) throw new co({
    reason: "ERC namespace not found"
  });
  return {
    chainID: parseInt(o),
    namespace: a.toLowerCase(),
    contractAddress: l,
    tokenID: i
  }
}
async function z_(t, {
  nft: e
}) {
  if (e.namespace === "erc721") return Gn(t, {
    address: e.contractAddress,
    abi: [{
      name: "tokenURI",
      type: "function",
      stateMutability: "view",
      inputs: [{
        name: "tokenId",
        type: "uint256"
      }],
      outputs: [{
        name: "",
        type: "string"
      }]
    }],
    functionName: "tokenURI",
    args: [BigInt(e.tokenID)]
  });
  if (e.namespace === "erc1155") return Gn(t, {
    address: e.contractAddress,
    abi: [{
      name: "uri",
      type: "function",
      stateMutability: "view",
      inputs: [{
        name: "_id",
        type: "uint256"
      }],
      outputs: [{
        name: "",
        type: "string"
      }]
    }],
    functionName: "uri",
    args: [BigInt(e.tokenID)]
  });
  throw new I_({
    namespace: e.namespace
  })
}
async function W_(t, {
  gatewayUrls: e,
  record: r
}) {
  return /eip155:/i.test(r) ? $_(t, {
    gatewayUrls: e,
    record: r
  }) : sm({
    uri: r,
    gatewayUrls: e
  })
}
async function $_(t, {
  gatewayUrls: e,
  record: r
}) {
  const n = U_(r),
    i = await z_(t, {
      nft: n
    }),
    {
      uri: s,
      isOnChain: o,
      isEncoded: a
    } = Vx({
      uri: i,
      gatewayUrls: e
    });
  if (o && (s.includes("data:application/json;base64,") || s.startsWith("{"))) {
    const u = a ? atob(s.replace("data:application/json;base64,", "")) : s,
      c = JSON.parse(u);
    return sm({
      uri: Kx(c),
      gatewayUrls: e
    })
  }
  let l = n.tokenID;
  return n.namespace === "erc1155" && (l = l.replace("0x", "").padStart(64, "0")), L_({
    gatewayUrls: e,
    uri: s.replace(/(?:0x)?{id}/, l)
  })
}
async function Qx(t, {
  blockNumber: e,
  blockTag: r,
  name: n,
  key: i,
  universalResolverAddress: s
}) {
  let o = s;
  if (!o) {
    if (!t.chain) throw new Error("client chain not configured. universalResolverAddress is required.");
    o = qs({
      blockNumber: e,
      chain: t.chain,
      contract: "ensUniversalResolver"
    })
  }
  try {
    const a = await ie(t, Gn, "readContract")({
      address: o,
      abi: Ux,
      functionName: "resolve",
      args: [un(Dd(n)), Xn({
        abi: iy,
        functionName: "text",
        args: [Pu(n), i]
      })],
      blockNumber: e,
      blockTag: r
    });
    if (a[0] === "0x") return null;
    const l = Gs({
      abi: iy,
      functionName: "text",
      data: a[0]
    });
    return l === "" ? null : l
  } catch (a) {
    if (nm(a, "resolve")) return null;
    throw a
  }
}
async function H_(t, {
  blockNumber: e,
  blockTag: r,
  gatewayUrls: n,
  name: i,
  universalResolverAddress: s
}) {
  const o = await ie(t, Qx, "getEnsText")({
    blockNumber: e,
    blockTag: r,
    key: "avatar",
    name: i,
    universalResolverAddress: s
  });
  if (!o) return null;
  try {
    return await W_(t, {
      record: o,
      gatewayUrls: n
    })
  } catch {
    return null
  }
}
async function G_(t, {
  address: e,
  blockNumber: r,
  blockTag: n,
  universalResolverAddress: i
}) {
  let s = i;
  if (!s) {
    if (!t.chain) throw new Error("client chain not configured. universalResolverAddress is required.");
    s = qs({
      blockNumber: r,
      chain: t.chain,
      contract: "ensUniversalResolver"
    })
  }
  const o = `${e.toLowerCase().substring(2)}.addr.reverse`;
  try {
    const [a, l] = await ie(t, Gn, "readContract")({
      address: s,
      abi: n_,
      functionName: "reverse",
      args: [un(Dd(o))],
      blockNumber: r,
      blockTag: n
    });
    return e.toLowerCase() !== l.toLowerCase() ? null : a
  } catch (a) {
    if (nm(a, "reverse")) return null;
    throw a
  }
}
async function q_(t, {
  blockNumber: e,
  blockTag: r,
  name: n,
  universalResolverAddress: i
}) {
  let s = i;
  if (!s) {
    if (!t.chain) throw new Error("client chain not configured. universalResolverAddress is required.");
    s = qs({
      blockNumber: e,
      chain: t.chain,
      contract: "ensUniversalResolver"
    })
  }
  const [o] = await ie(t, Gn, "readContract")({
    address: s,
    abi: [{
      inputs: [{
        type: "bytes"
      }],
      name: "findResolver",
      outputs: [{
        type: "address"
      }, {
        type: "bytes32"
      }],
      stateMutability: "view",
      type: "function"
    }],
    functionName: "findResolver",
    args: [un(Dd(n))],
    blockNumber: e,
    blockTag: r
  });
  return o
}
async function V_(t) {
  const e = Cd(t, {
      method: "eth_newBlockFilter"
    }),
    r = await t.request({
      method: "eth_newBlockFilter"
    });
  return {
    id: r,
    request: e(r),
    type: "block"
  }
}
async function Jx(t, {
  address: e,
  args: r,
  event: n,
  events: i,
  fromBlock: s,
  strict: o,
  toBlock: a
} = {}) {
  const l = i ?? (n ? [n] : void 0),
    u = Cd(t, {
      method: "eth_newFilter"
    });
  let c = [];
  l && (c = [l.flatMap(f => Ha({
    abi: [f],
    eventName: f.name,
    args: r
  }))], n && (c = c[0]));
  const d = await t.request({
    method: "eth_newFilter",
    params: [{
      address: e,
      fromBlock: typeof s == "bigint" ? de(s) : s,
      toBlock: typeof a == "bigint" ? de(a) : a,
      ...c.length ? {
        topics: c
      } : {}
    }]
  });
  return {
    abi: l,
    args: r,
    eventName: n ? n.name : void 0,
    fromBlock: s,
    id: d,
    request: u(d),
    strict: o,
    toBlock: a,
    type: "event"
  }
}
async function Yx(t) {
  const e = Cd(t, {
      method: "eth_newPendingTransactionFilter"
    }),
    r = await t.request({
      method: "eth_newPendingTransactionFilter"
    });
  return {
    id: r,
    request: e(r),
    type: "transaction"
  }
}
async function K_(t, {
  address: e,
  blockNumber: r,
  blockTag: n = "latest"
}) {
  const i = r ? de(r) : void 0,
    s = await t.request({
      method: "eth_getBalance",
      params: [e, i || n]
    });
  return BigInt(s)
}
async function Q_(t, {
  blockHash: e,
  blockNumber: r,
  blockTag: n = "latest"
} = {}) {
  const i = r !== void 0 ? de(r) : void 0;
  let s;
  return e ? s = await t.request({
    method: "eth_getBlockTransactionCountByHash",
    params: [e]
  }) : s = await t.request({
    method: "eth_getBlockTransactionCountByNumber",
    params: [i || n]
  }), yt(s)
}
async function J_(t, {
  address: e,
  blockNumber: r,
  blockTag: n = "latest"
}) {
  const i = r !== void 0 ? de(r) : void 0,
    s = await t.request({
      method: "eth_getCode",
      params: [e, i || n]
    });
  if (s !== "0x") return s
}

function Y_(t) {
  var e;
  return {
    baseFeePerGas: t.baseFeePerGas.map(r => BigInt(r)),
    gasUsedRatio: t.gasUsedRatio,
    oldestBlock: BigInt(t.oldestBlock),
    reward: (e = t.reward) == null ? void 0 : e.map(r => r.map(n => BigInt(n)))
  }
}
async function X_(t, {
  blockCount: e,
  blockNumber: r,
  blockTag: n = "latest",
  rewardPercentiles: i
}) {
  const s = r ? de(r) : void 0,
    o = await t.request({
      method: "eth_feeHistory",
      params: [de(e), s || n, i]
    });
  return Y_(o)
}
async function Z_(t, {
  filter: e
}) {
  const r = e.strict ?? !1;
  return (await e.request({
    method: "eth_getFilterLogs",
    params: [e.id]
  })).map(i => {
    var s;
    try {
      const {
        eventName: o,
        args: a
      } = "abi" in e && e.abi ? Va({
        abi: e.abi,
        data: i.data,
        topics: i.topics,
        strict: r
      }) : {
        eventName: void 0,
        args: void 0
      };
      return Er(i, {
        args: a,
        eventName: o
      })
    } catch (o) {
      let a, l;
      if (o instanceof xi || o instanceof Ws) {
        if ("strict" in e && e.strict) return;
        a = o.abiItem.name, l = (s = o.abiItem.inputs) == null ? void 0 : s.some(u => !("name" in u && u.name))
      }
      return Er(i, {
        args: l ? [] : {},
        eventName: a
      })
    }
  }).filter(Boolean)
}
const eO = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,
  tO = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;

function rO({
  domain: t,
  message: e,
  primaryType: r,
  types: n
}) {
  const i = typeof t > "u" ? {} : t,
    s = {
      EIP712Domain: n4({
        domain: i
      }),
      ...n
    };
  r4({
    domain: i,
    message: e,
    primaryType: r,
    types: s
  });
  const o = ["0x1901"];
  return i && o.push(nO({
    domain: i,
    types: s
  })), r !== "EIP712Domain" && o.push(Xx({
    data: e,
    primaryType: r,
    types: s
  })), Et(nn(o))
}

function nO({
  domain: t,
  types: e
}) {
  return Xx({
    data: t,
    primaryType: "EIP712Domain",
    types: e
  })
}

function Xx({
  data: t,
  primaryType: e,
  types: r
}) {
  const n = Zx({
    data: t,
    primaryType: e,
    types: r
  });
  return Et(n)
}

function Zx({
  data: t,
  primaryType: e,
  types: r
}) {
  const n = [{
      type: "bytes32"
    }],
    i = [iO({
      primaryType: e,
      types: r
    })];
  for (const s of r[e]) {
    const [o, a] = t4({
      types: r,
      name: s.name,
      type: s.type,
      value: t[s.name]
    });
    n.push(o), i.push(a)
  }
  return Wa(n, i)
}

function iO({
  primaryType: t,
  types: e
}) {
  const r = un(sO({
    primaryType: t,
    types: e
  }));
  return Et(r)
}

function sO({
  primaryType: t,
  types: e
}) {
  let r = "";
  const n = e4({
    primaryType: t,
    types: e
  });
  n.delete(t);
  const i = [t, ...Array.from(n).sort()];
  for (const s of i) r += `${s}(${e[s].map(({name:o,type:a})=>`
  $ {
    a
  }
  $ {
    o
  }
  `).join(",")})`;
  return r
}

function e4({
  primaryType: t,
  types: e
}, r = new Set) {
  const n = t.match(/^\w*/u),
    i = n == null ? void 0 : n[0];
  if (r.has(i) || e[i] === void 0) return r;
  r.add(i);
  for (const s of e[i]) e4({
    primaryType: s.type,
    types: e
  }, r);
  return r
}

function t4({
  types: t,
  name: e,
  type: r,
  value: n
}) {
  if (t[r] !== void 0) return [{
    type: "bytes32"
  }, Et(Zx({
    data: n,
    primaryType: r,
    types: t
  }))];
  if (r === "bytes") return n = `0x${(n.length%2?"0":"")+n.slice(2)}`, [{
    type: "bytes32"
  }, Et(n)];
  if (r === "string") return [{
    type: "bytes32"
  }, Et(un(n))];
  if (r.lastIndexOf("]") === r.length - 1) {
    const i = r.slice(0, r.lastIndexOf("[")),
      s = n.map(o => t4({
        name: e,
        type: i,
        types: t,
        value: o
      }));
    return [{
      type: "bytes32"
    }, Et(Wa(s.map(([o]) => o), s.map(([, o]) => o)))]
  }
  return [{
    type: r
  }, n]
}

function r4({
  domain: t,
  message: e,
  primaryType: r,
  types: n
}) {
  const i = n,
    s = (o, a) => {
      for (const l of o) {
        const {
          name: u,
          type: c
        } = l, d = c, f = a[u], B = d.match(tO);
        if (B && (typeof f == "number" || typeof f == "bigint")) {
          const [y, m, p] = B;
          de(f, {
            signed: m === "int",
            size: parseInt(p) / 8
          })
        }
        if (d === "address" && typeof f == "string" && !Wn(f)) throw new aa({
          address: f
        });
        const h = d.match(eO);
        if (h) {
          const [y, m] = h;
          if (m && nt(f) !== parseInt(m)) throw new FP({
            expectedSize: parseInt(m),
            givenSize: nt(f)
          })
        }
        const g = i[d];
        g && s(g, f)
      }
    };
  if (i.EIP712Domain && t && s(i.EIP712Domain, t), r !== "EIP712Domain") {
    const o = i[r];
    s(o, e)
  }
}

function n4({
  domain: t
}) {
  return [typeof (t == null ? void 0 : t.name) == "string" && {
    name: "name",
    type: "string"
  }, (t == null ? void 0 : t.version) && {
    name: "version",
    type: "string"
  }, typeof (t == null ? void 0 : t.chainId) == "number" && {
    name: "chainId",
    type: "uint256"
  }, (t == null ? void 0 : t.verifyingContract) && {
    name: "verifyingContract",
    type: "address"
  }, (t == null ? void 0 : t.salt) && {
    name: "salt",
    type: "bytes32"
  }].filter(Boolean)
}
const $f = "/docs/contract/encodeDeployData";

function i4({
  abi: t,
  args: e,
  bytecode: r
}) {
  if (!e || e.length === 0) return r;
  const n = t.find(s => "type" in s && s.type === "constructor");
  if (!n) throw new AP({
    docsPath: $f
  });
  if (!("inputs" in n)) throw new Kv({
    docsPath: $f
  });
  if (!n.inputs || n.inputs.length === 0) throw new Kv({
    docsPath: $f
  });
  const i = Wa(n.inputs, e);
  return R1([r, i])
}
const oO = `Ethereum Signed Message:
`;

function aO(t, e) {
  const r = typeof t == "string" ? Yr(t) : t.raw instanceof Uint8Array ? t.raw : zn(t.raw),
    n = Yr(`${oO}${r.length}`);
  return Et(nn([n, r]), e)
}

function lO(t, e) {
  let [r, n = "0"] = t.split(".");
  const i = r.startsWith("-");
  if (i && (r = r.slice(1)), n = n.replace(/(0+)$/, ""), e === 0) Math.round(+`.${n}`) === 1 && (r = `${BigInt(r)+1n}`), n = "";
  else if (n.length > e) {
    const [s, o, a] = [n.slice(0, e - 1), n.slice(e - 1, e), n.slice(e)], l = Math.round(+`${o}.${a}`);
    l > 9 ? n = `${BigInt(s)+BigInt(1)}0`.padStart(s.length + 1, "0") : n = `${s}${l}`, n.length > e && (n = n.slice(1), r = `${BigInt(r)+1n}`), n = n.slice(0, e)
  } else n = n.padEnd(e, "0");
  return BigInt(`${i?"-":""}${r}${n}`)
}

function uO(t, e = "wei") {
  return lO(t, ax[e])
}

function cO(t) {
  return t.map(e => ({
    ...e,
    value: BigInt(e.value)
  }))
}

function dO(t) {
  return {
    ...t,
    balance: t.balance ? BigInt(t.balance) : void 0,
    nonce: t.nonce ? yt(t.nonce) : void 0,
    storageProof: t.storageProof ? cO(t.storageProof) : void 0
  }
}
async function fO(t, {
  address: e,
  blockNumber: r,
  blockTag: n,
  storageKeys: i
}) {
  const s = n ?? "latest",
    o = r !== void 0 ? de(r) : void 0,
    a = await t.request({
      method: "eth_getProof",
      params: [e, i, o || s]
    });
  return dO(a)
}
async function BO(t, {
  address: e,
  blockNumber: r,
  blockTag: n = "latest",
  slot: i
}) {
  const s = r !== void 0 ? de(r) : void 0;
  return await t.request({
    method: "eth_getStorageAt",
    params: [e, i, s || n]
  })
}
async function om(t, {
  blockHash: e,
  blockNumber: r,
  blockTag: n,
  hash: i,
  index: s
}) {
  var c, d, f;
  const o = n || "latest",
    a = r !== void 0 ? de(r) : void 0;
  let l = null;
  if (i ? l = await t.request({
      method: "eth_getTransactionByHash",
      params: [i]
    }) : e ? l = await t.request({
      method: "eth_getTransactionByBlockHashAndIndex",
      params: [e, de(s)]
    }) : (a || o) && (l = await t.request({
      method: "eth_getTransactionByBlockNumberAndIndex",
      params: [a || o, de(s)]
    })), !l) throw new Ox({
    blockHash: e,
    blockNumber: r,
    blockTag: o,
    hash: i,
    index: s
  });
  return (((f = (d = (c = t.chain) == null ? void 0 : c.formatters) == null ? void 0 : d.transaction) == null ? void 0 : f.format) || ix)(l)
}
async function hO(t, {
  hash: e,
  transactionReceipt: r
}) {
  const [n, i] = await Promise.all([ie(t, Qa, "getBlockNumber")({}), e ? ie(t, om, "getBlockNumber")({
    hash: e
  }) : void 0]), s = (r == null ? void 0 : r.blockNumber) || (i == null ? void 0 : i.blockNumber);
  return s ? n - s + 1n : 0n
}
async function Ap(t, {
  hash: e
}) {
  var i, s, o;
  const r = await t.request({
    method: "eth_getTransactionReceipt",
    params: [e]
  });
  if (!r) throw new Ix({
    hash: e
  });
  return (((o = (s = (i = t.chain) == null ? void 0 : i.formatters) == null ? void 0 : s.transactionReceipt) == null ? void 0 : o.format) || FA)(r)
}
async function pO(t, e) {
  var g;
  const {
    allowFailure: r = !0,
    batchSize: n,
    blockNumber: i,
    blockTag: s,
    contracts: o,
    multicallAddress: a
  } = e, l = n ?? (typeof ((g = t.batch) == null ? void 0 : g.multicall) == "object" && t.batch.multicall.batchSize || 1024);
  let u = a;
  if (!u) {
    if (!t.chain) throw new Error("client chain not configured. multicallAddress is required.");
    u = qs({
      blockNumber: i,
      chain: t.chain,
      contract: "multicall3"
    })
  }
  const c = [
    []
  ];
  let d = 0,
    f = 0;
  for (let y = 0; y < o.length; y++) {
    const {
      abi: m,
      address: p,
      args: v,
      functionName: w
    } = o[y];
    try {
      const D = Xn({
        abi: m,
        args: v,
        functionName: w
      });
      f += (D.length - 2) / 2, l > 0 && f > l && c[d].length > 0 && (d++, f = (D.length - 2) / 2, c[d] = []), c[d] = [...c[d], {
        allowFailure: !0,
        callData: D,
        target: p
      }]
    } catch (D) {
      const x = wa(D, {
        abi: m,
        address: p,
        args: v,
        docsPath: "/docs/contract/multicall",
        functionName: w
      });
      if (!r) throw x;
      c[d] = [...c[d], {
        allowFailure: !0,
        callData: "0x",
        target: p
      }]
    }
  }
  const B = await Promise.allSettled(c.map(y => ie(t, Gn, "readContract")({
      abi: Ep,
      address: u,
      args: [y],
      blockNumber: i,
      blockTag: s,
      functionName: "aggregate3"
    }))),
    h = [];
  for (let y = 0; y < B.length; y++) {
    const m = B[y];
    if (m.status === "rejected") {
      if (!r) throw m.reason;
      for (let v = 0; v < c[y].length; v++) h.push({
        status: "failure",
        error: m.reason,
        result: void 0
      });
      continue
    }
    const p = m.value;
    for (let v = 0; v < p.length; v++) {
      const {
        returnData: w,
        success: D
      } = p[v], {
        callData: x
      } = c[y][v], {
        abi: C,
        address: S,
        functionName: A,
        args: P
      } = o[h.length];
      try {
        if (x === "0x") throw new hd;
        if (!D) throw new G1({
          data: w
        });
        const _ = Gs({
          abi: C,
          args: P,
          data: w,
          functionName: A
        });
        h.push(r ? {
          result: _,
          status: "success"
        } : _)
      } catch (_) {
        const O = wa(_, {
          abi: C,
          address: S,
          args: P,
          docsPath: "/docs/contract/multicall",
          functionName: A
        });
        if (!r) throw O;
        h.push({
          error: O,
          result: void 0,
          status: "failure"
        })
      }
    }
  }
  if (h.length !== o.length) throw new W("multicall results mismatch");
  return h
}
const CO = "0x60806040523480156200001157600080fd5b50604051620007003803806200070083398101604081905262000034916200056f565b6000620000438484846200004f565b9050806000526001601ff35b600080846001600160a01b0316803b806020016040519081016040528181526000908060200190933c90507f6492649264926492649264926492649264926492649264926492649264926492620000a68462000451565b036200021f57600060608085806020019051810190620000c79190620005ce565b8651929550909350915060000362000192576000836001600160a01b031683604051620000f5919062000643565b6000604051808303816000865af19150503d806000811462000134576040519150601f19603f3d011682016040523d82523d6000602084013e62000139565b606091505b5050905080620001905760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b505b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90620001c4908b90869060040162000661565b602060405180830381865afa158015620001e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020891906200069d565b6001600160e01b031916149450505050506200044a565b805115620002b157604051630b135d3f60e11b808252906001600160a01b03871690631626ba7e9062000259908890889060040162000661565b602060405180830381865afa15801562000277573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029d91906200069d565b6001600160e01b031916149150506200044a565b8251604114620003195760405162461bcd60e51b815260206004820152603a6024820152600080516020620006e083398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e677468000000000000606482015260840162000187565b620003236200046b565b506020830151604080850151855186939260009185919081106200034b576200034b620006c9565b016020015160f81c9050601b81148015906200036b57508060ff16601c14155b15620003cf5760405162461bcd60e51b815260206004820152603b6024820152600080516020620006e083398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c75650000000000606482015260840162000187565b6040805160008152602081018083528a905260ff83169181019190915260608101849052608081018390526001600160a01b038a169060019060a0016020604051602081039080840390855afa1580156200042e573d6000803e3d6000fd5b505050602060405103516001600160a01b031614955050505050505b9392505050565b60006020825110156200046357600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b03811681146200049f57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004d5578181015183820152602001620004bb565b50506000910152565b600082601f830112620004f057600080fd5b81516001600160401b03808211156200050d576200050d620004a2565b604051601f8301601f19908116603f01168101908282118183101715620005385762000538620004a2565b816040528381528660208588010111156200055257600080fd5b62000565846020830160208901620004b8565b9695505050505050565b6000806000606084860312156200058557600080fd5b8351620005928162000489565b6020850151604086015191945092506001600160401b03811115620005b657600080fd5b620005c486828701620004de565b9150509250925092565b600080600060608486031215620005e457600080fd5b8351620005f18162000489565b60208501519093506001600160401b03808211156200060f57600080fd5b6200061d87838801620004de565b935060408601519150808211156200063457600080fd5b50620005c486828701620004de565b6000825162000657818460208701620004b8565b9190910192915050565b828152604060208201526000825180604084015262000688816060850160208701620004b8565b601f01601f1916919091016060019392505050565b600060208284031215620006b057600080fd5b81516001600160e01b0319811681146200044a57600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572"; /*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
BigInt(0);
BigInt(1);
BigInt(2);

function mO(t, e) {
  if (t.length !== e.length) return !1;
  for (let r = 0; r < t.length; r++)
    if (t[r] !== e[r]) return !1;
  return !0
}

function gO(t, e) {
  const r = Mr(t) ? zn(t) : t,
    n = Mr(e) ? zn(e) : e;
  return mO(r, n)
}
async function s4(t, {
  address: e,
  hash: r,
  signature: n,
  ...i
}) {
  const s = Mr(n) ? n : un(n);
  try {
    const {
      data: o
    } = await ie(t, vd, "call")({
      data: i4({
        abi: i_,
        args: [e, r, s],
        bytecode: CO
      }),
      ...i
    });
    return gO(o ?? "0x0", "0x1")
  } catch (o) {
    if (o instanceof Nx) return !1;
    throw o
  }
}
async function vO(t, {
  address: e,
  message: r,
  signature: n,
  ...i
}) {
  const s = aO(r);
  return s4(t, {
    address: e,
    hash: s,
    signature: n,
    ...i
  })
}
async function yO(t, {
  address: e,
  signature: r,
  message: n,
  primaryType: i,
  types: s,
  domain: o,
  ...a
}) {
  const l = rO({
    message: n,
    primaryType: i,
    types: s,
    domain: o
  });
  return s4(t, {
    address: e,
    hash: l,
    signature: r,
    ...a
  })
}

function o4(t, {
  emitOnBegin: e = !1,
  emitMissed: r = !1,
  onBlockNumber: n,
  onError: i,
  poll: s,
  pollingInterval: o = t.pollingInterval
}) {
  const a = typeof s < "u" ? s : t.transport.type !== "webSocket";
  let l;
  return a ? (() => {
    const d = kt(["watchBlockNumber", t.uid, e, r, o]);
    return Vs(d, {
      onBlockNumber: n,
      onError: i
    }, f => Ka(async () => {
      var B;
      try {
        const h = await ie(t, Qa, "getBlockNumber")({
          cacheTime: 0
        });
        if (l) {
          if (h === l) return;
          if (h - l > 1 && r)
            for (let g = l + 1n; g < h; g++) f.onBlockNumber(g, l), l = g
        }(!l || h > l) && (f.onBlockNumber(h, l), l = h)
      } catch (h) {
        (B = f.onError) == null || B.call(f, h)
      }
    }, {
      emitOnBegin: e,
      interval: o
    }))
  })() : (() => {
    let d = !0,
      f = () => d = !1;
    return (async () => {
      try {
        const {
          unsubscribe: B
        } = await t.transport.subscribe({
          params: ["newHeads"],
          onData(h) {
            var y;
            if (!d) return;
            const g = cd((y = h.result) == null ? void 0 : y.number);
            n(g, l), l = g
          },
          onError(h) {
            i == null || i(h)
          }
        });
        f = B, d || f()
      } catch (B) {
        i == null || i(B)
      }
    })(), f
  })()
}
async function wO(t, {
  confirmations: e = 1,
  hash: r,
  onReplaced: n,
  pollingInterval: i = t.pollingInterval,
  timeout: s
}) {
  const o = kt(["waitForTransactionReceipt", t.uid, r]);
  let a, l, u, c = !1;
  return new Promise((d, f) => {
    s && setTimeout(() => f(new U9({
      hash: r
    })), s);
    const B = Vs(o, {
      onReplaced: n,
      resolve: d,
      reject: f
    }, h => {
      const g = ie(t, o4, "watchBlockNumber")({
        emitMissed: !0,
        emitOnBegin: !0,
        poll: !0,
        pollingInterval: i,
        async onBlockNumber(y) {
          if (c) return;
          let m = y;
          const p = v => {
            g(), v(), B()
          };
          try {
            if (u) {
              if (e > 1 && (!u.blockNumber || m - u.blockNumber + 1n < e)) return;
              p(() => h.resolve(u));
              return
            }
            if (a || (c = !0, await kp(async () => {
                a = await ie(t, om, "getTransaction")({
                  hash: r
                }), a.blockNumber && (m = a.blockNumber)
              }, {
                delay: ({
                  count: v
                }) => ~~(1 << v) * 200,
                retryCount: 6
              }), c = !1), u = await ie(t, Ap, "getTransactionReceipt")({
                hash: r
              }), e > 1 && (!u.blockNumber || m - u.blockNumber + 1n < e)) return;
            p(() => h.resolve(u))
          } catch (v) {
            if (a && (v instanceof Ox || v instanceof Ix)) try {
              l = a, c = !0;
              const w = await kp(() => ie(t, Hn, "getBlock")({
                blockNumber: m,
                includeTransactions: !0
              }), {
                delay: ({
                  count: C
                }) => ~~(1 << C) * 200,
                retryCount: 6,
                shouldRetry: ({
                  error: C
                }) => C instanceof Tx
              });
              c = !1;
              const D = w.transactions.find(({
                from: C,
                nonce: S
              }) => C === l.from && S === l.nonce);
              if (!D || (u = await ie(t, Ap, "getTransactionReceipt")({
                  hash: D.hash
                }), e > 1 && (!u.blockNumber || m - u.blockNumber + 1n < e))) return;
              let x = "replaced";
              D.to === l.to && D.value === l.value ? x = "repriced" : D.from === D.to && D.value === 0n && (x = "cancelled"), p(() => {
                var C;
                (C = h.onReplaced) == null || C.call(h, {
                  reason: x,
                  replacedTransaction: l,
                  transaction: D,
                  transactionReceipt: u
                }), h.resolve(u)
              })
            } catch (w) {
              p(() => h.reject(w))
            } else p(() => h.reject(v))
          }
        }
      })
    })
  })
}

function bO(t, {
  blockTag: e = "latest",
  emitMissed: r = !1,
  emitOnBegin: n = !1,
  onBlock: i,
  onError: s,
  includeTransactions: o,
  poll: a,
  pollingInterval: l = t.pollingInterval
}) {
  const u = typeof a < "u" ? a : t.transport.type !== "webSocket",
    c = o ?? !1;
  let d;
  return u ? (() => {
    const h = kt(["watchBlocks", t.uid, r, n, c, l]);
    return Vs(h, {
      onBlock: i,
      onError: s
    }, g => Ka(async () => {
      var y;
      try {
        const m = await ie(t, Hn, "getBlock")({
          blockTag: e,
          includeTransactions: c
        });
        if (m.number && (d != null && d.number)) {
          if (m.number === d.number) return;
          if (m.number - d.number > 1 && r)
            for (let p = (d == null ? void 0 : d.number) + 1n; p < m.number; p++) {
              const v = await ie(t, Hn, "getBlock")({
                blockNumber: p,
                includeTransactions: c
              });
              g.onBlock(v, d), d = v
            }
        }(!(d != null && d.number) || e === "pending" && !(m != null && m.number) || m.number && m.number > d.number) && (g.onBlock(m, d), d = m)
      } catch (m) {
        (y = g.onError) == null || y.call(g, m)
      }
    }, {
      emitOnBegin: n,
      interval: l
    }))
  })() : (() => {
    let h = !0,
      g = () => h = !1;
    return (async () => {
      try {
        const {
          unsubscribe: y
        } = await t.transport.subscribe({
          params: ["newHeads"],
          onData(m) {
            var w, D, x;
            if (!h) return;
            const v = (((x = (D = (w = t.chain) == null ? void 0 : w.formatters) == null ? void 0 : D.block) == null ? void 0 : x.format) || sx)(m.result);
            i(v, d), d = v
          },
          onError(m) {
            s == null || s(m)
          }
        });
        g = y, h || g()
      } catch (y) {
        s == null || s(y)
      }
    })(), g
  })()
}

function DO(t, {
  address: e,
  args: r,
  batch: n = !0,
  event: i,
  events: s,
  onError: o,
  onLogs: a,
  poll: l,
  pollingInterval: u = t.pollingInterval,
  strict: c
}) {
  const d = typeof l < "u" ? l : t.transport.type !== "webSocket",
    f = c ?? !1;
  return d ? (() => {
    const g = kt(["watchEvent", e, r, n, t.uid, i, u]);
    return Vs(g, {
      onLogs: a,
      onError: o
    }, y => {
      let m, p, v = !1;
      const w = Ka(async () => {
        var D;
        if (!v) {
          try {
            p = await ie(t, Jx, "createEventFilter")({
              address: e,
              args: r,
              event: i,
              events: s,
              strict: f
            })
          } catch {}
          v = !0;
          return
        }
        try {
          let x;
          if (p) x = await ie(t, yd, "getFilterChanges")({
            filter: p
          });
          else {
            const C = await ie(t, Qa, "getBlockNumber")({});
            m && m !== C ? x = await ie(t, X1, "getLogs")({
              address: e,
              args: r,
              event: i,
              events: s,
              fromBlock: m + 1n,
              toBlock: C
            }) : x = [], m = C
          }
          if (x.length === 0) return;
          if (n) y.onLogs(x);
          else
            for (const C of x) y.onLogs([C])
        } catch (x) {
          p && x instanceof Ei && (v = !1), (D = y.onError) == null || D.call(y, x)
        }
      }, {
        emitOnBegin: !0,
        interval: u
      });
      return async () => {
        p && await ie(t, wd, "uninstallFilter")({
          filter: p
        }), w()
      }
    })
  })() : (() => {
    let g = !0,
      y = () => g = !1;
    return (async () => {
      try {
        const m = s ?? (i ? [i] : void 0);
        let p = [];
        m && (p = [m.flatMap(w => Ha({
          abi: [w],
          eventName: w.name,
          args: r
        }))], i && (p = p[0]));
        const {
          unsubscribe: v
        } = await t.transport.subscribe({
          params: ["logs", {
            address: e,
            topics: p
          }],
          onData(w) {
            var x;
            if (!g) return;
            const D = w.result;
            try {
              const {
                eventName: C,
                args: S
              } = Va({
                abi: m,
                data: D.data,
                topics: D.topics,
                strict: f
              }), A = Er(D, {
                args: S,
                eventName: C
              });
              a([A])
            } catch (C) {
              let S, A;
              if (C instanceof xi || C instanceof Ws) {
                if (c) return;
                S = C.abiItem.name, A = (x = C.abiItem.inputs) == null ? void 0 : x.some(_ => !("name" in _ && _.name))
              }
              const P = Er(D, {
                args: A ? [] : {},
                eventName: S
              });
              a([P])
            }
          },
          onError(w) {
            o == null || o(w)
          }
        });
        y = v, g || y()
      } catch (m) {
        o == null || o(m)
      }
    })(), y
  })()
}

function xO(t, {
  batch: e = !0,
  onError: r,
  onTransactions: n,
  poll: i,
  pollingInterval: s = t.pollingInterval
}) {
  return (typeof i < "u" ? i : t.transport.type !== "webSocket") ? (() => {
    const u = kt(["watchPendingTransactions", t.uid, e, s]);
    return Vs(u, {
      onTransactions: n,
      onError: r
    }, c => {
      let d;
      const f = Ka(async () => {
        var B;
        try {
          if (!d) try {
            d = await ie(t, Yx, "createPendingTransactionFilter")({});
            return
          } catch (g) {
            throw f(), g
          }
          const h = await ie(t, yd, "getFilterChanges")({
            filter: d
          });
          if (h.length === 0) return;
          if (e) c.onTransactions(h);
          else
            for (const g of h) c.onTransactions([g])
        } catch (h) {
          (B = c.onError) == null || B.call(c, h)
        }
      }, {
        emitOnBegin: !0,
        interval: s
      });
      return async () => {
        d && await ie(t, wd, "uninstallFilter")({
          filter: d
        }), f()
      }
    })
  })() : (() => {
    let u = !0,
      c = () => u = !1;
    return (async () => {
      try {
        const {
          unsubscribe: d
        } = await t.transport.subscribe({
          params: ["newPendingTransactions"],
          onData(f) {
            if (!u) return;
            const B = f.result;
            n([B])
          },
          onError(f) {
            r == null || r(f)
          }
        });
        c = d, u || c()
      } catch (d) {
        r == null || r(d)
      }
    })(), c
  })()
}

function EO(t) {
  return {
    call: e => vd(t, e),
    createBlockFilter: () => V_(t),
    createContractEventFilter: e => Ax(t, e),
    createEventFilter: e => Jx(t, e),
    createPendingTransactionFilter: () => Yx(t),
    estimateContractGas: e => Z9(t, e),
    estimateGas: e => Y1(t, e),
    getBalance: e => K_(t, e),
    getBlock: e => Hn(t, e),
    getBlockNumber: e => Qa(t, e),
    getBlockTransactionCount: e => Q_(t, e),
    getBytecode: e => J_(t, e),
    getChainId: () => ba(t),
    getContractEvents: e => Mx(t, e),
    getEnsAddress: e => __(t, e),
    getEnsAvatar: e => H_(t, e),
    getEnsName: e => G_(t, e),
    getEnsResolver: e => q_(t, e),
    getEnsText: e => Qx(t, e),
    getFeeHistory: e => X_(t, e),
    estimateFeesPerGas: e => Y9(t, e),
    getFilterChanges: e => yd(t, e),
    getFilterLogs: e => Z_(t, e),
    getGasPrice: () => J1(t),
    getLogs: e => X1(t, e),
    getProof: e => fO(t, e),
    estimateMaxPriorityFeePerGas: e => J9(t, e),
    getStorageAt: e => BO(t, e),
    getTransaction: e => om(t, e),
    getTransactionConfirmations: e => hO(t, e),
    getTransactionCount: e => Fx(t, e),
    getTransactionReceipt: e => Ap(t, e),
    multicall: e => pO(t, e),
    prepareTransactionRequest: e => gd(t, e),
    readContract: e => Gn(t, e),
    sendRawTransaction: e => em(t, e),
    simulateContract: e => c_(t, e),
    verifyMessage: e => vO(t, e),
    verifyTypedData: e => yO(t, e),
    uninstallFilter: e => wd(t, e),
    waitForTransactionReceipt: e => wO(t, e),
    watchBlocks: e => bO(t, e),
    watchBlockNumber: e => o4(t, e),
    watchContractEvent: e => m_(t, e),
    watchEvent: e => DO(t, e),
    watchPendingTransactions: e => xO(t, e)
  }
}

function cy(t) {
  const {
    key: e = "public",
    name: r = "Public Client"
  } = t;
  return Wx({
    ...t,
    key: e,
    name: r,
    type: "publicClient"
  }).extend(EO)
}

function SO(t, {
  abi: e,
  args: r,
  bytecode: n,
  ...i
}) {
  const s = i4({
    abi: e,
    args: r,
    bytecode: n
  });
  return tm(t, {
    ...i,
    data: s
  })
}
async function kO(t) {
  var r;
  return ((r = t.account) == null ? void 0 : r.type) === "local" ? [t.account.address] : (await t.request({
    method: "eth_accounts"
  })).map(n => $1(n))
}
async function jO(t) {
  return await t.request({
    method: "wallet_getPermissions"
  })
}
async function AO(t) {
  return (await t.request({
    method: "eth_requestAccounts"
  })).map(r => ar(r))
}
async function PO(t, e) {
  return t.request({
    method: "wallet_requestPermissions",
    params: [e]
  })
}
async function _O(t, {
  account: e = t.account,
  message: r
}) {
  if (!e) throw new Hs({
    docsPath: "/docs/actions/wallet/signMessage"
  });
  const n = dr(e);
  if (n.type === "local") return n.signMessage({
    message: r
  });
  const i = typeof r == "string" ? I1(r) : r.raw instanceof Uint8Array ? un(r.raw) : r.raw;
  return t.request({
    method: "personal_sign",
    params: [i, n.address]
  })
}
async function OO(t, e) {
  var u, c, d, f;
  const {
    account: r = t.account,
    chain: n = t.chain,
    ...i
  } = e;
  if (!r) throw new Hs({
    docsPath: "/docs/actions/wallet/signTransaction"
  });
  const s = dr(r);
  qa({
    account: s,
    ...e
  });
  const o = await ie(t, ba, "getChainId")({});
  n !== null && zx({
    currentChainId: o,
    chain: n
  });
  const a = (n == null ? void 0 : n.formatters) || ((u = t.chain) == null ? void 0 : u.formatters),
    l = ((c = a == null ? void 0 : a.transactionRequest) == null ? void 0 : c.format) || dd;
  return s.type === "local" ? s.signTransaction({
    ...i,
    chainId: o
  }, {
    serializer: (f = (d = t.chain) == null ? void 0 : d.serializers) == null ? void 0 : f.transaction
  }) : await t.request({
    method: "eth_signTransaction",
    params: [{
      ...l(i),
      chainId: de(o),
      from: s.address
    }]
  })
}
async function IO(t, {
  account: e = t.account,
  domain: r,
  message: n,
  primaryType: i,
  types: s
}) {
  if (!e) throw new Hs({
    docsPath: "/docs/actions/wallet/signTypedData"
  });
  const o = dr(e),
    a = {
      EIP712Domain: n4({
        domain: r
      }),
      ...s
    };
  if (r4({
      domain: r,
      message: n,
      primaryType: i,
      types: a
    }), o.type === "local") return o.signTypedData({
    domain: r,
    primaryType: i,
    types: a,
    message: n
  });
  const l = kt({
    domain: r ?? {},
    primaryType: i,
    types: a,
    message: n
  }, (u, c) => Mr(c) ? c.toLowerCase() : c);
  return t.request({
    method: "eth_signTypedData_v4",
    params: [o.address, l]
  })
}
async function NO(t, {
  id: e
}) {
  await t.request({
    method: "wallet_switchEthereumChain",
    params: [{
      chainId: de(e)
    }]
  })
}
async function TO(t, e) {
  return await t.request({
    method: "wallet_watchAsset",
    params: e
  })
}

function RO(t) {
  return {
    addChain: e => y_(t, e),
    deployContract: e => SO(t, e),
    getAddresses: () => kO(t),
    getChainId: () => ba(t),
    getPermissions: () => jO(t),
    prepareTransactionRequest: e => gd(t, e),
    requestAddresses: () => AO(t),
    requestPermissions: e => PO(t, e),
    sendRawTransaction: e => em(t, e),
    sendTransaction: e => tm(t, e),
    signMessage: e => _O(t, e),
    signTransaction: e => OO(t, e),
    signTypedData: e => IO(t, e),
    switchChain: e => NO(t, e),
    watchAsset: e => TO(t, e),
    writeContract: e => v_(t, e)
  }
}

function am(t) {
  const {
    key: e = "wallet",
    name: r = "Wallet Client",
    transport: n
  } = t;
  return Wx({
    ...t,
    key: e,
    name: r,
    transport: s => n({
      ...s,
      retryCount: 0
    }),
    type: "walletClient"
  }).extend(RO)
}

function FO(t, e = {}) {
  const {
    key: r = "webSocket",
    name: n = "WebSocket JSON-RPC",
    retryDelay: i
  } = e;
  return ({
    chain: s,
    retryCount: o,
    timeout: a
  }) => {
    var d;
    const l = e.retryCount ?? o,
      u = a ?? e.timeout ?? 1e4,
      c = t || ((d = s == null ? void 0 : s.rpcUrls.default.webSocket) == null ? void 0 : d[0]);
    if (!c) throw new Hx;
    return bd({
      key: r,
      name: n,
      async request({
        method: f,
        params: B
      }) {
        const h = {
            method: f,
            params: B
          },
          g = await Wf(c),
          {
            error: y,
            result: m
          } = await Bs.webSocketAsync(g, {
            body: h,
            timeout: u
          });
        if (y) throw new q1({
          body: h,
          error: y,
          url: c
        });
        return m
      },
      retryCount: l,
      retryDelay: i,
      timeout: u,
      type: "webSocket"
    }, {
      getSocket() {
        return Wf(c)
      },
      async subscribe({
        params: f,
        onData: B,
        onError: h
      }) {
        const g = await Wf(c),
          {
            result: y
          } = await new Promise((m, p) => Bs.webSocket(g, {
            body: {
              method: "eth_subscribe",
              params: f
            },
            onResponse(v) {
              if (v.error) {
                p(v.error), h == null || h(v.error);
                return
              }
              if (typeof v.id == "number") {
                m(v);
                return
              }
              v.method === "eth_subscription" && B(v.params)
            }
          }));
        return {
          subscriptionId: y,
          async unsubscribe() {
            return new Promise(m => Bs.webSocket(g, {
              body: {
                method: "eth_unsubscribe",
                params: [y]
              },
              onResponse: m
            }))
          }
        }
      }
    })
  }
}
const MO = O1({
    id: 5,
    network: "goerli",
    name: "Goerli",
    nativeCurrency: {
      name: "Goerli Ether",
      symbol: "ETH",
      decimals: 18
    },
    rpcUrls: {
      alchemy: {
        http: ["https://eth-goerli.g.alchemy.com/v2"],
        webSocket: ["wss://eth-goerli.g.alchemy.com/v2"]
      },
      infura: {
        http: ["https://goerli.infura.io/v3"],
        webSocket: ["wss://goerli.infura.io/ws/v3"]
      },
      default: {
        http: ["https://rpc.ankr.com/eth_goerli"]
      },
      public: {
        http: ["https://rpc.ankr.com/eth_goerli"]
      }
    },
    blockExplorers: {
      etherscan: {
        name: "Etherscan",
        url: "https://goerli.etherscan.io"
      },
      default: {
        name: "Etherscan",
        url: "https://goerli.etherscan.io"
      }
    },
    contracts: {
      ensRegistry: {
        address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
      },
      ensUniversalResolver: {
        address: "0x56522D00C410a43BFfDF00a9A569489297385790",
        blockCreated: 8765204
      },
      multicall3: {
        address: "0xca11bde05977b3631167028862be2a173976ca11",
        blockCreated: 6507670
      }
    },
    testnet: !0
  }),
  a4 = O1({
    id: 1,
    network: "homestead",
    name: "Ethereum",
    nativeCurrency: {
      name: "Ether",
      symbol: "ETH",
      decimals: 18
    },
    rpcUrls: {
      alchemy: {
        http: ["https://eth-mainnet.g.alchemy.com/v2"],
        webSocket: ["wss://eth-mainnet.g.alchemy.com/v2"]
      },
      infura: {
        http: ["https://mainnet.infura.io/v3"],
        webSocket: ["wss://mainnet.infura.io/ws/v3"]
      },
      default: {
        http: ["https://cloudflare-eth.com"]
      },
      public: {
        http: ["https://cloudflare-eth.com"]
      }
    },
    blockExplorers: {
      etherscan: {
        name: "Etherscan",
        url: "https://etherscan.io"
      },
      default: {
        name: "Etherscan",
        url: "https://etherscan.io"
      }
    },
    contracts: {
      ensRegistry: {
        address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
      },
      ensUniversalResolver: {
        address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62",
        blockCreated: 16966585
      },
      multicall3: {
        address: "0xca11bde05977b3631167028862be2a173976ca11",
        blockCreated: 14353601
      }
    }
  }),
  LO = O1({
    id: 56,
    name: "BSC",
    network: "bsc",
    nativeCurrency: {
      name: "Binance Coin",
      symbol: "BNB",
      decimals: 18
    },
    rpcUrls: {
      ankr: {
        http: ["https://rpc.ankr.com/bsc"],
        webSocket: ["wss://rpc.ankr.com/bsc/ws"]
      },
      default: {
        http: ["https://bsc-dataseed.binance.org"]
      },
      public: {
        http: ["https://bsc-dataseed.binance.org"]
      }
    },
    blockExplorers: {
      etherscan: {
        name: "BscScan",
        url: "https://bscscan.com"
      },
      default: {
        name: "BscScan",
        url: "https://bscscan.com"
      }
    },
    contracts: {
      multicall3: {
        address: "0xca11bde05977b3631167028862be2a173976ca11",
        blockCreated: 15921452
      }
    }
  });
var UO = class extends Error {
    constructor({
      chainId: t,
      connectorId: e
    }) {
      super(`Chain "${t}" not configured for connector "${e}".`), this.name = "ChainNotConfiguredForConnectorError"
    }
  },
  gr = class extends Error {
    constructor() {
      super(...arguments), this.name = "ConnectorNotFoundError", this.message = "Connector not found"
    }
  };

function xc(t) {
  return typeof t == "string" ? Number.parseInt(t, t.trim().substring(0, 2) === "0x" ? 16 : 10) : typeof t == "bigint" ? Number(t) : t
}
var l4 = {
  exports: {}
};
(function (t) {
  var e = Object.prototype.hasOwnProperty,
    r = "~";

  function n() {}
  Object.create && (n.prototype = Object.create(null), new n().__proto__ || (r = !1));

  function i(l, u, c) {
    this.fn = l, this.context = u, this.once = c || !1
  }

  function s(l, u, c, d, f) {
    if (typeof c != "function") throw new TypeError("The listener must be a function");
    var B = new i(c, d || l, f),
      h = r ? r + u : u;
    return l._events[h] ? l._events[h].fn ? l._events[h] = [l._events[h], B] : l._events[h].push(B) : (l._events[h] = B, l._eventsCount++), l
  }

  function o(l, u) {
    --l._eventsCount === 0 ? l._events = new n : delete l._events[u]
  }

  function a() {
    this._events = new n, this._eventsCount = 0
  }
  a.prototype.eventNames = function () {
    var u = [],
      c, d;
    if (this._eventsCount === 0) return u;
    for (d in c = this._events) e.call(c, d) && u.push(r ? d.slice(1) : d);
    return Object.getOwnPropertySymbols ? u.concat(Object.getOwnPropertySymbols(c)) : u
  }, a.prototype.listeners = function (u) {
    var c = r ? r + u : u,
      d = this._events[c];
    if (!d) return [];
    if (d.fn) return [d.fn];
    for (var f = 0, B = d.length, h = new Array(B); f < B; f++) h[f] = d[f].fn;
    return h
  }, a.prototype.listenerCount = function (u) {
    var c = r ? r + u : u,
      d = this._events[c];
    return d ? d.fn ? 1 : d.length : 0
  }, a.prototype.emit = function (u, c, d, f, B, h) {
    var g = r ? r + u : u;
    if (!this._events[g]) return !1;
    var y = this._events[g],
      m = arguments.length,
      p, v;
    if (y.fn) {
      switch (y.once && this.removeListener(u, y.fn, void 0, !0), m) {
        case 1:
          return y.fn.call(y.context), !0;
        case 2:
          return y.fn.call(y.context, c), !0;
        case 3:
          return y.fn.call(y.context, c, d), !0;
        case 4:
          return y.fn.call(y.context, c, d, f), !0;
        case 5:
          return y.fn.call(y.context, c, d, f, B), !0;
        case 6:
          return y.fn.call(y.context, c, d, f, B, h), !0
      }
      for (v = 1, p = new Array(m - 1); v < m; v++) p[v - 1] = arguments[v];
      y.fn.apply(y.context, p)
    } else {
      var w = y.length,
        D;
      for (v = 0; v < w; v++) switch (y[v].once && this.removeListener(u, y[v].fn, void 0, !0), m) {
        case 1:
          y[v].fn.call(y[v].context);
          break;
        case 2:
          y[v].fn.call(y[v].context, c);
          break;
        case 3:
          y[v].fn.call(y[v].context, c, d);
          break;
        case 4:
          y[v].fn.call(y[v].context, c, d, f);
          break;
        default:
          if (!p)
            for (D = 1, p = new Array(m - 1); D < m; D++) p[D - 1] = arguments[D];
          y[v].fn.apply(y[v].context, p)
      }
    }
    return !0
  }, a.prototype.on = function (u, c, d) {
    return s(this, u, c, d, !1)
  }, a.prototype.once = function (u, c, d) {
    return s(this, u, c, d, !0)
  }, a.prototype.removeListener = function (u, c, d, f) {
    var B = r ? r + u : u;
    if (!this._events[B]) return this;
    if (!c) return o(this, B), this;
    var h = this._events[B];
    if (h.fn) h.fn === c && (!f || h.once) && (!d || h.context === d) && o(this, B);
    else {
      for (var g = 0, y = [], m = h.length; g < m; g++)(h[g].fn !== c || f && !h[g].once || d && h[g].context !== d) && y.push(h[g]);
      y.length ? this._events[B] = y.length === 1 ? y[0] : y : o(this, B)
    }
    return this
  }, a.prototype.removeAllListeners = function (u) {
    var c;
    return u ? (c = r ? r + u : u, this._events[c] && o(this, c)) : (this._events = new n, this._eventsCount = 0), this
  }, a.prototype.off = a.prototype.removeListener, a.prototype.addListener = a.prototype.on, a.prefixed = r, a.EventEmitter = a, t.exports = a
})(l4);
var zO = l4.exports;
const WO = y3(zO);
var lm = (t, e, r) => {
    if (!e.has(t)) throw TypeError("Cannot " + r)
  },
  xe = (t, e, r) => (lm(t, e, "read from private field"), r ? r.call(t) : e.get(t)),
  Dt = (t, e, r) => {
    if (e.has(t)) throw TypeError("Cannot add the same private member more than once");
    e instanceof WeakSet ? e.add(t) : e.set(t, r)
  },
  Ja = (t, e, r, n) => (lm(t, e, "write to private field"), e.set(t, r), r),
  et = (t, e, r) => (lm(t, e, "access private method"), r),
  um = class extends WO {
    constructor({
      chains: t = [a4, MO],
      options: e
    }) {
      super(), this.chains = t, this.options = e
    }
    getBlockExplorerUrls(t) {
      const {
        default: e,
        ...r
      } = t.blockExplorers ?? {};
      if (e) return [e.url, ...Object.values(r).map(n => n.url)]
    }
    isChainUnsupported(t) {
      return !this.chains.some(e => e.id === t)
    }
    setStorage(t) {
      this.storage = t
    }
  };

function $O(t) {
  var r;
  if (!t) return "Injected";
  const e = n => {
    if (n.isApexWallet) return "Apex Wallet";
    if (n.isAvalanche) return "Core Wallet";
    if (n.isBackpack) return "Backpack";
    if (n.isBifrost) return "Bifrost Wallet";
    if (n.isBitKeep) return "BitKeep";
    if (n.isBitski) return "Bitski";
    if (n.isBlockWallet) return "BlockWallet";
    if (n.isBraveWallet) return "Brave Wallet";
    if (n.isCoin98) return "Coin98 Wallet";
    if (n.isCoinbaseWallet) return "Coinbase Wallet";
    if (n.isDawn) return "Dawn Wallet";
    if (n.isDefiant) return "Defiant";
    if (n.isDesig) return "Desig Wallet";
    if (n.isEnkrypt) return "Enkrypt";
    if (n.isExodus) return "Exodus";
    if (n.isFordefi) return "Fordefi";
    if (n.isFrame) return "Frame";
    if (n.isFrontier) return "Frontier Wallet";
    if (n.isGamestop) return "GameStop Wallet";
    if (n.isHaqqWallet) return "HAQQ Wallet";
    if (n.isHyperPay) return "HyperPay Wallet";
    if (n.isImToken) return "ImToken";
    if (n.isHaloWallet) return "Halo Wallet";
    if (n.isKuCoinWallet) return "KuCoin Wallet";
    if (n.isMathWallet) return "MathWallet";
    if (n.isNovaWallet) return "Nova Wallet";
    if (n.isOkxWallet || n.isOKExWallet) return "OKX Wallet";
    if (n.isOktoWallet) return "Okto Wallet";
    if (n.isOneInchIOSWallet || n.isOneInchAndroidWallet) return "1inch Wallet";
    if (n.isOneKey) return "OneKey Wallet";
    if (n.isOpera) return "Opera";
    if (n.isPhantom) return "Phantom";
    if (n.isPortal) return "Ripio Portal";
    if (n.isRabby) return "Rabby Wallet";
    if (n.isRainbow) return "Rainbow";
    if (n.isSafePal) return "SafePal Wallet";
    if (n.isStatus) return "Status";
    if (n.isSubWallet) return "SubWallet";
    if (n.isTalisman) return "Talisman";
    if (n.isTally) return "Taho";
    if (n.isTokenPocket) return "TokenPocket";
    if (n.isTokenary) return "Tokenary";
    if (n.isTrust || n.isTrustWallet) return "Trust Wallet";
    if (n.isTTWallet) return "TTWallet";
    if (n.isXDEFI) return "XDEFI Wallet";
    if (n.isZeal) return "Zeal";
    if (n.isZerion) return "Zerion";
    if (n.isMetaMask) return "MetaMask"
  };
  if ((r = t.providers) != null && r.length) {
    const n = new Set;
    let i = 1;
    for (const o of t.providers) {
      let a = e(o);
      a || (a = `Unknown Wallet #${i}`, i += 1), n.add(a)
    }
    const s = [...n];
    return s.length ? s : s[0] ?? "Injected"
  }
  return e(t) ?? "Injected"
}
var _u, xd = class extends um {
  constructor({
    chains: t,
    options: e
  } = {}) {
    const r = {
      shimDisconnect: !0,
      getProvider() {
        if (typeof window > "u") return;
        const i = window.ethereum;
        return i != null && i.providers && i.providers.length > 0 ? i.providers[0] : i
      },
      ...e
    };
    super({
      chains: t,
      options: r
    }), this.id = "injected", Dt(this, _u, void 0), this.shimDisconnectKey = `${this.id}.shimDisconnect`, this.onAccountsChanged = i => {
      i.length === 0 ? this.emit("disconnect") : this.emit("change", {
        account: ar(i[0])
      })
    }, this.onChainChanged = i => {
      const s = xc(i),
        o = this.isChainUnsupported(s);
      this.emit("change", {
        chain: {
          id: s,
          unsupported: o
        }
      })
    }, this.onDisconnect = async i => {
      var s;
      i.code === 1013 && await this.getProvider() && await this.getAccount() || (this.emit("disconnect"), this.options.shimDisconnect && ((s = this.storage) == null || s.removeItem(this.shimDisconnectKey)))
    };
    const n = r.getProvider();
    if (typeof r.name == "string") this.name = r.name;
    else if (n) {
      const i = $O(n);
      r.name ? this.name = r.name(i) : typeof i == "string" ? this.name = i : this.name = i[0]
    } else this.name = "Injected";
    this.ready = !!n
  }
  async connect({
    chainId: t
  } = {}) {
    var e;
    try {
      const r = await this.getProvider();
      if (!r) throw new gr;
      r.on && (r.on("accountsChanged", this.onAccountsChanged), r.on("chainChanged", this.onChainChanged), r.on("disconnect", this.onDisconnect)), this.emit("message", {
        type: "connecting"
      });
      const n = await r.request({
          method: "eth_requestAccounts"
        }),
        i = ar(n[0]);
      let s = await this.getChainId(),
        o = this.isChainUnsupported(s);
      return t && s !== t && (s = (await this.switchChain(t)).id, o = this.isChainUnsupported(s)), this.options.shimDisconnect && ((e = this.storage) == null || e.setItem(this.shimDisconnectKey, !0)), {
        account: i,
        chain: {
          id: s,
          unsupported: o
        }
      }
    } catch (r) {
      throw this.isUserRejectedRequestError(r) ? new dt(r) : r.code === -32002 ? new $n(r) : r
    }
  }
  async disconnect() {
    var e;
    const t = await this.getProvider();
    t != null && t.removeListener && (t.removeListener("accountsChanged", this.onAccountsChanged), t.removeListener("chainChanged", this.onChainChanged), t.removeListener("disconnect", this.onDisconnect), this.options.shimDisconnect && ((e = this.storage) == null || e.removeItem(this.shimDisconnectKey)))
  }
  async getAccount() {
    const t = await this.getProvider();
    if (!t) throw new gr;
    const e = await t.request({
      method: "eth_accounts"
    });
    return ar(e[0])
  }
  async getChainId() {
    const t = await this.getProvider();
    if (!t) throw new gr;
    return t.request({
      method: "eth_chainId"
    }).then(xc)
  }
  async getProvider() {
    const t = this.options.getProvider();
    return t && Ja(this, _u, t), xe(this, _u)
  }
  async getWalletClient({
    chainId: t
  } = {}) {
    const [e, r] = await Promise.all([this.getProvider(), this.getAccount()]), n = this.chains.find(i => i.id === t);
    if (!e) throw new Error("provider is required.");
    return am({
      account: r,
      chain: n,
      transport: rm(e)
    })
  }
  async isAuthorized() {
    var t;
    try {
      if (this.options.shimDisconnect && !((t = this.storage) != null && t.getItem(this.shimDisconnectKey))) return !1;
      if (!await this.getProvider()) throw new gr;
      return !!await this.getAccount()
    } catch {
      return !1
    }
  }
  async switchChain(t) {
    var n, i, s;
    const e = await this.getProvider();
    if (!e) throw new gr;
    const r = de(t);
    try {
      return await Promise.all([e.request({
        method: "wallet_switchEthereumChain",
        params: [{
          chainId: r
        }]
      }), new Promise(o => this.on("change", ({
        chain: a
      }) => {
        (a == null ? void 0 : a.id) === t && o()
      }))]), this.chains.find(o => o.id === t) ?? {
        id: t,
        name: `Chain ${r}`,
        network: `${r}`,
        nativeCurrency: {
          name: "Ether",
          decimals: 18,
          symbol: "ETH"
        },
        rpcUrls: {
          default: {
            http: [""]
          },
          public: {
            http: [""]
          }
        }
      }
    } catch (o) {
      const a = this.chains.find(l => l.id === t);
      if (!a) throw new UO({
        chainId: t,
        connectorId: this.id
      });
      if (o.code === 4902 || ((i = (n = o == null ? void 0 : o.data) == null ? void 0 : n.originalError) == null ? void 0 : i.code) === 4902) try {
        if (await e.request({
            method: "wallet_addEthereumChain",
            params: [{
              chainId: r,
              chainName: a.name,
              nativeCurrency: a.nativeCurrency,
              rpcUrls: [((s = a.rpcUrls.public) == null ? void 0 : s.http[0]) ?? ""],
              blockExplorerUrls: this.getBlockExplorerUrls(a)
            }]
          }), await this.getChainId() !== t) throw new dt(new Error("User rejected switch after adding network."));
        return a
      } catch (l) {
        throw new dt(l)
      }
      throw this.isUserRejectedRequestError(o) ? new dt(o) : new on(o)
    }
  }
  async watchAsset({
    address: t,
    decimals: e = 18,
    image: r,
    symbol: n
  }) {
    const i = await this.getProvider();
    if (!i) throw new gr;
    return i.request({
      method: "wallet_watchAsset",
      params: {
        type: "ERC20",
        options: {
          address: t,
          decimals: e,
          image: r,
          symbol: n
        }
      }
    })
  }
  isUserRejectedRequestError(t) {
    return t.code === 4001
  }
};
_u = new WeakMap;
var cm = (t, e, r) => {
    if (!e.has(t)) throw TypeError("Cannot " + r)
  },
  Hf = (t, e, r) => (cm(t, e, "read from private field"), e.get(t)),
  Gf = (t, e, r) => {
    if (e.has(t)) throw TypeError("Cannot add the same private member more than once");
    e instanceof WeakSet ? e.add(t) : e.set(t, r)
  },
  Wl = (t, e, r, n) => (cm(t, e, "write to private field"), e.set(t, r), r),
  HO = (t, e, r) => (cm(t, e, "access private method"), r);
const GO = {
    BASE_URL: "/",
    DEV: !1,
    MODE: "production",
    PROD: !0,
    SSR: !1
  },
  qO = t => (e, r, n) => {
    const i = n.subscribe;
    return n.subscribe = (o, a, l) => {
      let u = o;
      if (a) {
        const c = (l == null ? void 0 : l.equalityFn) || Object.is;
        let d = o(n.getState());
        u = f => {
          const B = o(f);
          if (!c(d, B)) {
            const h = d;
            a(d = B, h)
          }
        }, l != null && l.fireImmediately && a(d, d)
      }
      return i(u)
    }, t(e, r, n)
  },
  VO = qO;

function KO(t, e) {
  let r;
  try {
    r = t()
  } catch {
    return
  }
  return {
    getItem: i => {
      var s;
      const o = l => l === null ? null : JSON.parse(l, void 0),
        a = (s = r.getItem(i)) != null ? s : null;
      return a instanceof Promise ? a.then(o) : o(a)
    },
    setItem: (i, s) => r.setItem(i, JSON.stringify(s, void 0)),
    removeItem: i => r.removeItem(i)
  }
}
const Da = t => e => {
    try {
      const r = t(e);
      return r instanceof Promise ? r : {
        then(n) {
          return Da(n)(r)
        },
        catch (n) {
          return this
        }
      }
    } catch (r) {
      return {
        then(n) {
          return this
        },
        catch (n) {
          return Da(n)(r)
        }
      }
    }
  },
  QO = (t, e) => (r, n, i) => {
    let s = {
        getStorage: () => localStorage,
        serialize: JSON.stringify,
        deserialize: JSON.parse,
        partialize: y => y,
        version: 0,
        merge: (y, m) => ({
          ...m,
          ...y
        }),
        ...e
      },
      o = !1;
    const a = new Set,
      l = new Set;
    let u;
    try {
      u = s.getStorage()
    } catch {}
    if (!u) return t((...y) => {
      console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`), r(...y)
    }, n, i);
    const c = Da(s.serialize),
      d = () => {
        const y = s.partialize({
          ...n()
        });
        let m;
        const p = c({
          state: y,
          version: s.version
        }).then(v => u.setItem(s.name, v)).catch(v => {
          m = v
        });
        if (m) throw m;
        return p
      },
      f = i.setState;
    i.setState = (y, m) => {
      f(y, m), d()
    };
    const B = t((...y) => {
      r(...y), d()
    }, n, i);
    let h;
    const g = () => {
      var y;
      if (!u) return;
      o = !1, a.forEach(p => p(n()));
      const m = ((y = s.onRehydrateStorage) == null ? void 0 : y.call(s, n())) || void 0;
      return Da(u.getItem.bind(u))(s.name).then(p => {
        if (p) return s.deserialize(p)
      }).then(p => {
        if (p)
          if (typeof p.version == "number" && p.version !== s.version) {
            if (s.migrate) return s.migrate(p.state, p.version);
            console.error("State loaded from storage couldn't be migrated since no migrate function was provided")
          } else return p.state
      }).then(p => {
        var v;
        return h = s.merge(p, (v = n()) != null ? v : B), r(h, !0), d()
      }).then(() => {
        m == null || m(h, void 0), o = !0, l.forEach(p => p(h))
      }).catch(p => {
        m == null || m(void 0, p)
      })
    };
    return i.persist = {
      setOptions: y => {
        s = {
          ...s,
          ...y
        }, y.getStorage && (u = y.getStorage())
      },
      clearStorage: () => {
        u == null || u.removeItem(s.name)
      },
      getOptions: () => s,
      rehydrate: () => g(),
      hasHydrated: () => o,
      onHydrate: y => (a.add(y), () => {
        a.delete(y)
      }),
      onFinishHydration: y => (l.add(y), () => {
        l.delete(y)
      })
    }, g(), h || B
  },
  JO = (t, e) => (r, n, i) => {
    let s = {
        storage: KO(() => localStorage),
        partialize: g => g,
        version: 0,
        merge: (g, y) => ({
          ...y,
          ...g
        }),
        ...e
      },
      o = !1;
    const a = new Set,
      l = new Set;
    let u = s.storage;
    if (!u) return t((...g) => {
      console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`), r(...g)
    }, n, i);
    const c = () => {
        const g = s.partialize({
          ...n()
        });
        return u.setItem(s.name, {
          state: g,
          version: s.version
        })
      },
      d = i.setState;
    i.setState = (g, y) => {
      d(g, y), c()
    };
    const f = t((...g) => {
      r(...g), c()
    }, n, i);
    i.getInitialState = () => f;
    let B;
    const h = () => {
      var g, y;
      if (!u) return;
      o = !1, a.forEach(p => {
        var v;
        return p((v = n()) != null ? v : f)
      });
      const m = ((y = s.onRehydrateStorage) == null ? void 0 : y.call(s, (g = n()) != null ? g : f)) || void 0;
      return Da(u.getItem.bind(u))(s.name).then(p => {
        if (p)
          if (typeof p.version == "number" && p.version !== s.version) {
            if (s.migrate) return [!0, s.migrate(p.state, p.version)];
            console.error("State loaded from storage couldn't be migrated since no migrate function was provided")
          } else return [!1, p.state];
        return [!1, void 0]
      }).then(p => {
        var v;
        const [w, D] = p;
        if (B = s.merge(D, (v = n()) != null ? v : f), r(B, !0), w) return c()
      }).then(() => {
        m == null || m(B, void 0), B = n(), o = !0, l.forEach(p => p(B))
      }).catch(p => {
        m == null || m(void 0, p)
      })
    };
    return i.persist = {
      setOptions: g => {
        s = {
          ...s,
          ...g
        }, g.storage && (u = g.storage)
      },
      clearStorage: () => {
        u == null || u.removeItem(s.name)
      },
      getOptions: () => s,
      rehydrate: () => h(),
      hasHydrated: () => o,
      onHydrate: g => (a.add(g), () => {
        a.delete(g)
      }),
      onFinishHydration: g => (l.add(g), () => {
        l.delete(g)
      })
    }, s.skipHydration || h(), B || f
  },
  YO = (t, e) => "getStorage" in e || "serialize" in e || "deserialize" in e ? ((GO ? "production" : void 0) !== "production" && console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."), QO(t, e)) : JO(t, e),
  XO = YO,
  ZO = {
    BASE_URL: "/",
    DEV: !1,
    MODE: "production",
    PROD: !0,
    SSR: !1
  },
  dy = t => {
    let e;
    const r = new Set,
      n = (c, d) => {
        const f = typeof c == "function" ? c(e) : c;
        if (!Object.is(f, e)) {
          const B = e;
          e = d ?? (typeof f != "object" || f === null) ? f : Object.assign({}, e, f), r.forEach(h => h(e, B))
        }
      },
      i = () => e,
      l = {
        setState: n,
        getState: i,
        getInitialState: () => u,
        subscribe: c => (r.add(c), () => r.delete(c)),
        destroy: () => {
          (ZO ? "production" : void 0) !== "production" && console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."), r.clear()
        }
      },
      u = e = t(n, i, l);
    return l
  },
  eI = t => t ? dy(t) : dy;

function u4(t, e) {
  if (Object.is(t, e)) return !0;
  if (typeof t != "object" || t === null || typeof e != "object" || e === null) return !1;
  if (t instanceof Map && e instanceof Map) {
    if (t.size !== e.size) return !1;
    for (const [n, i] of t)
      if (!Object.is(i, e.get(n))) return !1;
    return !0
  }
  if (t instanceof Set && e instanceof Set) {
    if (t.size !== e.size) return !1;
    for (const n of t)
      if (!e.has(n)) return !1;
    return !0
  }
  const r = Object.keys(t);
  if (r.length !== Object.keys(e).length) return !1;
  for (const n of r)
    if (!Object.prototype.hasOwnProperty.call(e, n) || !Object.is(t[n], e[n])) return !1;
  return !0
}

function tI(t, e, {
  batch: r = {
    multicall: {
      wait: 32
    }
  },
  pollingInterval: n = 4e3,
  rank: i,
  retryCount: s,
  retryDelay: o,
  stallTimeout: a
} = {}) {
  if (!t.length) throw new Error("must have at least one chain");
  let l = [];
  const u = {},
    c = {};
  for (const d of t) {
    let f = !1;
    for (const B of e) {
      const h = B(d);
      h && (f = !0, l.some(({
        id: g
      }) => g === d.id) || (l = [...l, h.chain]), u[d.id] = [...u[d.id] || [], ...h.rpcUrls.http], h.rpcUrls.webSocket && (c[d.id] = [...c[d.id] || [], ...h.rpcUrls.webSocket]))
    }
    if (!f) throw new Error([`Could not find valid provider configuration for chain "${d.name}".
`, "You may need to add `jsonRpcProvider` to `configureChains` with the chain's RPC URLs.", "Read more: https://wagmi.sh/core/providers/jsonRpc"].join(`
`))
  }
  return {
    chains: l,
    publicClient: ({
      chainId: d
    }) => {
      const f = l.find(g => g.id === d) ?? t[0],
        B = u[f.id];
      if (!B || !B[0]) throw new Error(`No providers configured for chain "${f.id}"`);
      const h = cy({
        batch: r,
        chain: f,
        transport: ay(B.map(g => j_(g, {
          timeout: a
        })), {
          rank: i,
          retryCount: s,
          retryDelay: o
        }),
        pollingInterval: n
      });
      return Object.assign(h, {
        chains: l
      })
    },
    webSocketPublicClient: ({
      chainId: d
    }) => {
      const f = l.find(g => g.id === d) ?? t[0],
        B = c[f.id];
      if (!B || !B[0]) return;
      const h = cy({
        batch: r,
        chain: f,
        transport: ay(B.map(g => FO(g, {
          timeout: a
        })), {
          rank: i,
          retryCount: s,
          retryDelay: o
        }),
        pollingInterval: n
      });
      return Object.assign(h, {
        chains: l
      })
    }
  }
}
var rI = class extends Error {
    constructor({
      activeChain: t,
      targetChain: e
    }) {
      super(`Chain mismatch: Expected "${e}", received "${t}".`), this.name = "ChainMismatchError"
    }
  },
  nI = class extends Error {
    constructor({
      chainId: t,
      connectorId: e
    }) {
      super(`Chain "${t}" not configured${e?` for connector "${e}"`:""}.`), this.name = "ChainNotConfigured"
    }
  },
  iI = class extends Error {
    constructor() {
      super(...arguments), this.name = "ConnectorAlreadyConnectedError", this.message = "Connector already connected"
    }
  },
  sI = class extends Error {
    constructor() {
      super(...arguments), this.name = "ConfigChainsNotFound", this.message = "No chains were found on the wagmi config. Some functions that require a chain may not work."
    }
  },
  oI = class extends Error {
    constructor({
      connector: t
    }) {
      super(`"${t.name}" does not support programmatic chain switching.`), this.name = "SwitchChainNotSupportedError"
    }
  };

function Ec(t, e) {
  if (t === e) return !0;
  if (t && e && typeof t == "object" && typeof e == "object") {
    if (t.constructor !== e.constructor) return !1;
    let r, n;
    if (Array.isArray(t) && Array.isArray(e)) {
      if (r = t.length, r != e.length) return !1;
      for (n = r; n-- !== 0;)
        if (!Ec(t[n], e[n])) return !1;
      return !0
    }
    if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() === e.valueOf();
    if (t.toString !== Object.prototype.toString) return t.toString() === e.toString();
    const i = Object.keys(t);
    if (r = i.length, r !== Object.keys(e).length) return !1;
    for (n = r; n-- !== 0;)
      if (!Object.prototype.hasOwnProperty.call(e, i[n])) return !1;
    for (n = r; n-- !== 0;) {
      const s = i[n];
      if (s && !Ec(t[s], e[s])) return !1
    }
    return !0
  }
  return t !== t && e !== e
}
var Pp = (t, {
  find: e,
  replace: r
}) => t && e(t) ? r(t) : typeof t != "object" ? t : Array.isArray(t) ? t.map(n => Pp(n, {
  find: e,
  replace: r
})) : t instanceof Object ? Object.entries(t).reduce((n, [i, s]) => ({
  ...n,
  [i]: Pp(s, {
    find: e,
    replace: r
  })
}), {}) : t;

function aI(t) {
  const e = JSON.parse(t);
  return Pp(e, {
    find: n => typeof n == "string" && n.startsWith("#bigint."),
    replace: n => BigInt(n.replace("#bigint.", ""))
  })
}

function lI(t) {
  return {
    accessList: t.accessList,
    account: t.account,
    blockNumber: t.blockNumber,
    blockTag: t.blockTag,
    data: t.data,
    gas: t.gas,
    gasPrice: t.gasPrice,
    maxFeePerGas: t.maxFeePerGas,
    maxPriorityFeePerGas: t.maxPriorityFeePerGas,
    nonce: t.nonce,
    to: t.to,
    value: t.value
  }
}

function uI(t) {
  return {
    accessList: t.accessList,
    account: t.account,
    data: t.data,
    gas: t.gas,
    gasPrice: t.gasPrice,
    maxFeePerGas: t.maxFeePerGas,
    maxPriorityFeePerGas: t.maxPriorityFeePerGas,
    nonce: t.nonce,
    to: t.to,
    value: t.value
  }
}

function fy(t) {
  return typeof t == "number" ? t : t === "wei" ? 0 : Math.abs(WA[t])
}

function By(t, e) {
  return t.slice(0, e).join(".") || "."
}

function hy(t, e) {
  const {
    length: r
  } = t;
  for (let n = 0; n < r; ++n)
    if (t[n] === e) return n + 1;
  return 0
}

function cI(t, e) {
  const r = typeof t == "function",
    n = typeof e == "function",
    i = [],
    s = [];
  return function (a, l) {
    if (typeof l == "object")
      if (i.length) {
        const u = hy(i, this);
        u === 0 ? i[i.length] = this : (i.splice(u), s.splice(u)), s[s.length] = a;
        const c = hy(i, l);
        if (c !== 0) return n ? e.call(this, a, l, By(s, c)) : `[ref=${By(s,c)}]`
      } else i[0] = l, s[0] = a;
    return r ? t.call(this, a, l) : l
  }
}

function dI(t, e, r, n) {
  return JSON.stringify(t, cI((i, s) => {
    const o = typeof s == "bigint" ? `#bigint.${s.toString()}` : s;
    return (e == null ? void 0 : e(i, o)) || o
  }, n), r ?? void 0)
}
var c4 = {
  getItem: t => "",
  setItem: (t, e) => null,
  removeItem: t => null
};

function d4({
  deserialize: t = aI,
  key: e = "wagmi",
  serialize: r = dI,
  storage: n
}) {
  return {
    ...n,
    getItem: (i, s = null) => {
      const o = n.getItem(`${e}.${i}`);
      try {
        return o ? t(o) : s
      } catch (a) {
        return console.warn(a), s
      }
    },
    setItem: (i, s) => {
      if (s === null) n.removeItem(`${e}.${i}`);
      else try {
        n.setItem(`${e}.${i}`, r(s))
      } catch (o) {
        console.error(o)
      }
    },
    removeItem: i => n.removeItem(`${e}.${i}`)
  }
}
var py = "store",
  Hi, Eo, _p, f4, fI = class {
    constructor({
      autoConnect: t = !1,
      connectors: e = [new xd],
      publicClient: r,
      storage: n = d4({
        storage: typeof window < "u" ? window.localStorage : c4
      }),
      logger: i = {
        warn: console.warn
      },
      webSocketPublicClient: s
    }) {
      var u, c;
      Gf(this, _p), this.publicClients = new Map, this.webSocketPublicClients = new Map, Gf(this, Hi, void 0), Gf(this, Eo, void 0), this.args = {
        autoConnect: t,
        connectors: e,
        logger: i,
        publicClient: r,
        storage: n,
        webSocketPublicClient: s
      };
      let o = "disconnected",
        a;
      if (t) try {
        const d = n.getItem(py),
          f = (u = d == null ? void 0 : d.state) == null ? void 0 : u.data;
        o = f != null && f.account ? "reconnecting" : "connecting", a = (c = f == null ? void 0 : f.chain) == null ? void 0 : c.id
      } catch {}
      const l = typeof e == "function" ? e() : e;
      l.forEach(d => d.setStorage(n)), this.store = eI(VO(XO(() => ({
        connectors: l,
        publicClient: this.getPublicClient({
          chainId: a
        }),
        status: o,
        webSocketPublicClient: this.getWebSocketPublicClient({
          chainId: a
        })
      }), {
        name: py,
        storage: n,
        partialize: d => {
          var f, B;
          return {
            ...t && {
              data: {
                account: (f = d == null ? void 0 : d.data) == null ? void 0 : f.account,
                chain: (B = d == null ? void 0 : d.data) == null ? void 0 : B.chain
              }
            },
            chains: d == null ? void 0 : d.chains
          }
        },
        version: 2
      }))), this.storage = n, Wl(this, Eo, n == null ? void 0 : n.getItem("wallet")), HO(this, _p, f4).call(this), t && typeof window < "u" && setTimeout(async () => await this.autoConnect(), 0)
    }
    get chains() {
      return this.store.getState().chains
    }
    get connectors() {
      return this.store.getState().connectors
    }
    get connector() {
      return this.store.getState().connector
    }
    get data() {
      return this.store.getState().data
    }
    get error() {
      return this.store.getState().error
    }
    get lastUsedChainId() {
      var t, e;
      return (e = (t = this.data) == null ? void 0 : t.chain) == null ? void 0 : e.id
    }
    get publicClient() {
      return this.store.getState().publicClient
    }
    get status() {
      return this.store.getState().status
    }
    get subscribe() {
      return this.store.subscribe
    }
    get webSocketPublicClient() {
      return this.store.getState().webSocketPublicClient
    }
    setState(t) {
      const e = typeof t == "function" ? t(this.store.getState()) : t;
      this.store.setState(e, !0)
    }
    clearState() {
      this.setState(t => ({
        ...t,
        chains: void 0,
        connector: void 0,
        data: void 0,
        error: void 0,
        status: "disconnected"
      }))
    }
    async destroy() {
      var t, e;
      this.connector && await ((e = (t = this.connector).disconnect) == null ? void 0 : e.call(t)), Wl(this, Hi, !1), this.clearState(), this.store.destroy()
    }
    async autoConnect() {
      if (Hf(this, Hi)) return;
      Wl(this, Hi, !0), this.setState(r => {
        var n;
        return {
          ...r,
          status: (n = r.data) != null && n.account ? "reconnecting" : "connecting"
        }
      });
      const t = Hf(this, Eo) ? [...this.connectors].sort(r => r.id === Hf(this, Eo) ? -1 : 1) : this.connectors;
      let e = !1;
      for (const r of t) {
        if (!r.ready || !r.isAuthorized || !await r.isAuthorized()) continue;
        const i = await r.connect();
        this.setState(s => ({
          ...s,
          connector: r,
          chains: r == null ? void 0 : r.chains,
          data: i,
          status: "connected"
        })), e = !0;
        break
      }
      return e || this.setState(r => ({
        ...r,
        data: void 0,
        status: "disconnected"
      })), Wl(this, Hi, !1), this.data
    }
    setConnectors(t) {
      this.args = {
        ...this.args,
        connectors: t
      };
      const e = typeof t == "function" ? t() : t;
      e.forEach(r => r.setStorage(this.args.storage)), this.setState(r => ({
        ...r,
        connectors: e
      }))
    }
    getPublicClient({
      chainId: t
    } = {}) {
      let e = this.publicClients.get(-1);
      if (e && (e == null ? void 0 : e.chain.id) === t || (e = this.publicClients.get(t ?? -1), e)) return e;
      const {
        publicClient: r
      } = this.args;
      return e = typeof r == "function" ? r({
        chainId: t
      }) : r, this.publicClients.set(t ?? -1, e), e
    }
    setPublicClient(t) {
      var r, n;
      const e = (n = (r = this.data) == null ? void 0 : r.chain) == null ? void 0 : n.id;
      this.args = {
        ...this.args,
        publicClient: t
      }, this.publicClients.clear(), this.setState(i => ({
        ...i,
        publicClient: this.getPublicClient({
          chainId: e
        })
      }))
    }
    getWebSocketPublicClient({
      chainId: t
    } = {}) {
      let e = this.webSocketPublicClients.get(-1);
      if (e && (e == null ? void 0 : e.chain.id) === t || (e = this.webSocketPublicClients.get(t ?? -1), e)) return e;
      const {
        webSocketPublicClient: r
      } = this.args;
      return e = typeof r == "function" ? r({
        chainId: t
      }) : r, e && this.webSocketPublicClients.set(t ?? -1, e), e
    }
    setWebSocketPublicClient(t) {
      var r, n;
      const e = (n = (r = this.data) == null ? void 0 : r.chain) == null ? void 0 : n.id;
      this.args = {
        ...this.args,
        webSocketPublicClient: t
      }, this.webSocketPublicClients.clear(), this.setState(i => ({
        ...i,
        webSocketPublicClient: this.getWebSocketPublicClient({
          chainId: e
        })
      }))
    }
    setLastUsedConnector(t = null) {
      var e;
      (e = this.storage) == null || e.setItem("wallet", t)
    }
  };
Hi = new WeakMap;
Eo = new WeakMap;
_p = new WeakSet;
f4 = function () {
  const t = a => {
      this.setState(l => ({
        ...l,
        data: {
          ...l.data,
          ...a
        }
      }))
    },
    e = () => {
      this.clearState()
    },
    r = a => {
      this.setState(l => ({
        ...l,
        error: a
      }))
    };
  this.store.subscribe(({
    connector: a
  }) => a, (a, l) => {
    var u, c, d, f, B, h;
    (u = l == null ? void 0 : l.off) == null || u.call(l, "change", t), (c = l == null ? void 0 : l.off) == null || c.call(l, "disconnect", e), (d = l == null ? void 0 : l.off) == null || d.call(l, "error", r), a && ((f = a.on) == null || f.call(a, "change", t), (B = a.on) == null || B.call(a, "disconnect", e), (h = a.on) == null || h.call(a, "error", r))
  });
  const {
    publicClient: n,
    webSocketPublicClient: i
  } = this.args;
  (typeof n == "function" || typeof i == "function") && this.store.subscribe(({
    data: a
  }) => {
    var l;
    return (l = a == null ? void 0 : a.chain) == null ? void 0 : l.id
  }, a => {
    this.setState(l => ({
      ...l,
      publicClient: this.getPublicClient({
        chainId: a
      }),
      webSocketPublicClient: this.getWebSocketPublicClient({
        chainId: a
      })
    }))
  })
};
var Op;

function BI(t) {
  const e = new fI(t);
  return Op = e, e
}

function Yt() {
  if (!Op) throw new Error("No wagmi config found. Ensure you have set up a config: https://wagmi.sh/react/config");
  return Op
}
async function hI({
  chainId: t,
  connector: e
}) {
  const r = Yt(),
    n = r.connector;
  if (n && e.id === n.id) throw new iI;
  try {
    r.setState(s => ({
      ...s,
      status: "connecting"
    }));
    const i = await e.connect({
      chainId: t
    });
    return r.setLastUsedConnector(e.id), r.setState(s => ({
      ...s,
      connector: e,
      chains: e == null ? void 0 : e.chains,
      data: i,
      status: "connected"
    })), r.storage.setItem("connected", !0), {
      ...i,
      connector: e
    }
  } catch (i) {
    throw r.setState(s => ({
      ...s,
      status: s.connector ? "connected" : "disconnected"
    })), i
  }
}
async function pI() {
  const t = Yt();
  t.connector && await t.connector.disconnect(), t.clearState(), t.storage.removeItem("connected")
}
var CI = [{
    type: "event",
    name: "Approval",
    inputs: [{
      indexed: !0,
      name: "owner",
      type: "address"
    }, {
      indexed: !0,
      name: "spender",
      type: "address"
    }, {
      indexed: !1,
      name: "value",
      type: "uint256"
    }]
  }, {
    type: "event",
    name: "Transfer",
    inputs: [{
      indexed: !0,
      name: "from",
      type: "address"
    }, {
      indexed: !0,
      name: "to",
      type: "address"
    }, {
      indexed: !1,
      name: "value",
      type: "uint256"
    }]
  }, {
    type: "function",
    name: "allowance",
    stateMutability: "view",
    inputs: [{
      name: "owner",
      type: "address"
    }, {
      name: "spender",
      type: "address"
    }],
    outputs: [{
      name: "",
      type: "uint256"
    }]
  }, {
    type: "function",
    name: "approve",
    stateMutability: "nonpayable",
    inputs: [{
      name: "spender",
      type: "address"
    }, {
      name: "amount",
      type: "uint256"
    }],
    outputs: [{
      name: "",
      type: "bool"
    }]
  }, {
    type: "function",
    name: "balanceOf",
    stateMutability: "view",
    inputs: [{
      name: "account",
      type: "address"
    }],
    outputs: [{
      name: "",
      type: "uint256"
    }]
  }, {
    type: "function",
    name: "decimals",
    stateMutability: "view",
    inputs: [],
    outputs: [{
      name: "",
      type: "uint8"
    }]
  }, {
    type: "function",
    name: "name",
    stateMutability: "view",
    inputs: [],
    outputs: [{
      name: "",
      type: "string"
    }]
  }, {
    type: "function",
    name: "symbol",
    stateMutability: "view",
    inputs: [],
    outputs: [{
      name: "",
      type: "string"
    }]
  }, {
    type: "function",
    name: "totalSupply",
    stateMutability: "view",
    inputs: [],
    outputs: [{
      name: "",
      type: "uint256"
    }]
  }, {
    type: "function",
    name: "transfer",
    stateMutability: "nonpayable",
    inputs: [{
      name: "recipient",
      type: "address"
    }, {
      name: "amount",
      type: "uint256"
    }],
    outputs: [{
      name: "",
      type: "bool"
    }]
  }, {
    type: "function",
    name: "transferFrom",
    stateMutability: "nonpayable",
    inputs: [{
      name: "sender",
      type: "address"
    }, {
      name: "recipient",
      type: "address"
    }, {
      name: "amount",
      type: "uint256"
    }],
    outputs: [{
      name: "",
      type: "bool"
    }]
  }],
  mI = [{
    type: "event",
    name: "Approval",
    inputs: [{
      indexed: !0,
      name: "owner",
      type: "address"
    }, {
      indexed: !0,
      name: "spender",
      type: "address"
    }, {
      indexed: !1,
      name: "value",
      type: "uint256"
    }]
  }, {
    type: "event",
    name: "Transfer",
    inputs: [{
      indexed: !0,
      name: "from",
      type: "address"
    }, {
      indexed: !0,
      name: "to",
      type: "address"
    }, {
      indexed: !1,
      name: "value",
      type: "uint256"
    }]
  }, {
    type: "function",
    name: "allowance",
    stateMutability: "view",
    inputs: [{
      name: "owner",
      type: "address"
    }, {
      name: "spender",
      type: "address"
    }],
    outputs: [{
      name: "",
      type: "uint256"
    }]
  }, {
    type: "function",
    name: "approve",
    stateMutability: "nonpayable",
    inputs: [{
      name: "spender",
      type: "address"
    }, {
      name: "amount",
      type: "uint256"
    }],
    outputs: [{
      name: "",
      type: "bool"
    }]
  }, {
    type: "function",
    name: "balanceOf",
    stateMutability: "view",
    inputs: [{
      name: "account",
      type: "address"
    }],
    outputs: [{
      name: "",
      type: "uint256"
    }]
  }, {
    type: "function",
    name: "decimals",
    stateMutability: "view",
    inputs: [],
    outputs: [{
      name: "",
      type: "uint8"
    }]
  }, {
    type: "function",
    name: "name",
    stateMutability: "view",
    inputs: [],
    outputs: [{
      name: "",
      type: "bytes32"
    }]
  }, {
    type: "function",
    name: "symbol",
    stateMutability: "view",
    inputs: [],
    outputs: [{
      name: "",
      type: "bytes32"
    }]
  }, {
    type: "function",
    name: "totalSupply",
    stateMutability: "view",
    inputs: [],
    outputs: [{
      name: "",
      type: "uint256"
    }]
  }, {
    type: "function",
    name: "transfer",
    stateMutability: "nonpayable",
    inputs: [{
      name: "recipient",
      type: "address"
    }, {
      name: "amount",
      type: "uint256"
    }],
    outputs: [{
      name: "",
      type: "bool"
    }]
  }, {
    type: "function",
    name: "transferFrom",
    stateMutability: "nonpayable",
    inputs: [{
      name: "sender",
      type: "address"
    }, {
      name: "recipient",
      type: "address"
    }, {
      name: "amount",
      type: "uint256"
    }],
    outputs: [{
      name: "",
      type: "bool"
    }]
  }];

function cr({
  chainId: t
} = {}) {
  const e = Yt();
  return t && e.getPublicClient({
    chainId: t
  }) || e.publicClient
}
async function dm({
  chainId: t
} = {}) {
  var n, i;
  return await ((i = (n = Yt().connector) == null ? void 0 : n.getWalletClient) == null ? void 0 : i.call(n, {
    chainId: t
  })) || null
}

function Ip({
  chainId: t
} = {}) {
  const e = Yt();
  return t && e.getWebSocketPublicClient({
    chainId: t
  }) || e.webSocketPublicClient
}

function gI(t, e) {
  const r = Yt(),
    n = async () => e(cr(t));
  return r.subscribe(({
    publicClient: s
  }) => s, n)
}

function vI(t, e) {
  const r = Yt(),
    n = async () => e(Ip(t));
  return r.subscribe(({
    webSocketPublicClient: s
  }) => s, n)
}
async function yI({
  abi: t,
  address: e,
  args: r,
  chainId: n,
  dataSuffix: i,
  functionName: s,
  walletClient: o,
  ...a
}) {
  const l = cr({
      chainId: n
    }),
    u = o ?? await dm({
      chainId: n
    });
  if (!u) throw new gr;
  n && p4({
    chainId: n
  });
  const {
    account: c,
    accessList: d,
    blockNumber: f,
    blockTag: B,
    gas: h,
    gasPrice: g,
    maxFeePerGas: y,
    maxPriorityFeePerGas: m,
    nonce: p,
    value: v
  } = lI(a), {
    result: w,
    request: D
  } = await l.simulateContract({
    abi: t,
    address: e,
    functionName: s,
    args: r,
    account: c || u.account,
    accessList: d,
    blockNumber: f,
    blockTag: B,
    dataSuffix: i,
    gas: h,
    gasPrice: g,
    maxFeePerGas: y,
    maxPriorityFeePerGas: m,
    nonce: p,
    value: v
  }), x = t.filter(C => "name" in C && C.name === s);
  return {
    mode: "prepared",
    request: {
      ...D,
      abi: x,
      chainId: n
    },
    result: w
  }
}
async function wI({
  chainId: t,
  contracts: e,
  blockNumber: r,
  blockTag: n,
  ...i
}) {
  const s = cr({
    chainId: t
  });
  if (!s.chains) throw new sI;
  if (t && s.chain.id !== t) throw new nI({
    chainId: t
  });
  return s.multicall({
    allowFailure: i.allowFailure ?? !0,
    blockNumber: r,
    blockTag: n,
    contracts: e
  })
}
async function B4({
  address: t,
  account: e,
  chainId: r,
  abi: n,
  args: i,
  functionName: s,
  blockNumber: o,
  blockTag: a
}) {
  return cr({
    chainId: r
  }).readContract({
    abi: n,
    address: t,
    account: e,
    functionName: s,
    args: i,
    blockNumber: o,
    blockTag: a
  })
}
async function bI({
  contracts: t,
  blockNumber: e,
  blockTag: r,
  ...n
}) {
  const {
    allowFailure: i = !0
  } = n;
  try {
    const s = cr(),
      o = t.reduce((c, d, f) => {
        const B = d.chainId ?? s.chain.id;
        return {
          ...c,
          [B]: [...c[B] || [], {
            contract: d,
            index: f
          }]
        }
      }, {}),
      a = () => Object.entries(o).map(([c, d]) => wI({
        allowFailure: i,
        chainId: parseInt(c),
        contracts: d.map(({
          contract: f
        }) => f),
        blockNumber: e,
        blockTag: r
      })),
      l = (await Promise.all(a())).flat(),
      u = Object.values(o).flatMap(c => c.map(({
        index: d
      }) => d));
    return l.reduce((c, d, f) => (c && (c[u[f]] = d), c), [])
  } catch (s) {
    if (s instanceof H1) throw s;
    const o = () => t.map(a => B4({
      ...a,
      blockNumber: e,
      blockTag: r
    }));
    return i ? (await Promise.allSettled(o())).map(a => a.status === "fulfilled" ? {
      result: a.value,
      status: "success"
    } : {
      error: a.reason,
      result: void 0,
      status: "failure"
    }) : await Promise.all(o())
  }
}
async function Cy(t) {
  const e = await dm({
    chainId: t.chainId
  });
  if (!e) throw new gr;
  t.chainId && p4({
    chainId: t.chainId
  });
  let r;
  if (t.mode === "prepared") r = t.request;
  else {
    const {
      chainId: i,
      mode: s,
      ...o
    } = t;
    r = (await yI(o)).request
  }
  return {
    hash: await e.writeContract({
      ...r,
      chain: t.chainId ? {
        id: t.chainId
      } : null
    })
  }
}
async function DI({
  address: t,
  chainId: e,
  formatUnits: r,
  token: n
}) {
  const i = Yt(),
    s = cr({
      chainId: e
    });
  if (n) {
    const u = async ({
      abi: c
    }) => {
      const d = {
          abi: c,
          address: n,
          chainId: e
        },
        [f, B, h] = await bI({
          allowFailure: !1,
          contracts: [{
            ...d,
            functionName: "balanceOf",
            args: [t]
          }, {
            ...d,
            functionName: "decimals"
          }, {
            ...d,
            functionName: "symbol"
          }]
        });
      return {
        decimals: B,
        formatted: gc(f ?? "0", fy(r ?? B)),
        symbol: h,
        value: f
      }
    };
    try {
      return await u({
        abi: CI
      })
    } catch (c) {
      if (c instanceof H1) {
        const {
          symbol: d,
          ...f
        } = await u({
          abi: mI
        });
        return {
          symbol: T1(mi(d, {
            dir: "right"
          })),
          ...f
        }
      }
      throw c
    }
  }
  const o = [...i.publicClient.chains || [], ...i.chains ?? []],
    a = await s.getBalance({
      address: t
    }),
    l = o.find(u => u.id === s.chain.id);
  return {
    decimals: (l == null ? void 0 : l.nativeCurrency.decimals) ?? 18,
    formatted: gc(a ?? "0", fy(r ?? 18)),
    symbol: (l == null ? void 0 : l.nativeCurrency.symbol) ?? "ETH",
    value: a
  }
}

function h4() {
  const {
    data: t,
    connector: e,
    status: r
  } = Yt();
  switch (r) {
    case "connected":
      return {
        address: t == null ? void 0 : t.account, connector: e, isConnected: !0, isConnecting: !1, isDisconnected: !1, isReconnecting: !1, status: r
      };
    case "reconnecting":
      return {
        address: t == null ? void 0 : t.account, connector: e, isConnected: !!(t != null && t.account), isConnecting: !1, isDisconnected: !1, isReconnecting: !0, status: r
      };
    case "connecting":
      return {
        address: t == null ? void 0 : t.account, connector: e, isConnected: !1, isConnecting: !0, isDisconnected: !1, isReconnecting: !1, status: r
      };
    case "disconnected":
      return {
        address: void 0, connector: void 0, isConnected: !1, isConnecting: !1, isDisconnected: !0, isReconnecting: !1, status: r
      }
  }
}

function fm() {
  var i, s, o, a;
  const t = Yt(),
    e = (s = (i = t.data) == null ? void 0 : i.chain) == null ? void 0 : s.id,
    r = t.chains ?? [],
    n = [...((o = t.publicClient) == null ? void 0 : o.chains) || [], ...r].find(l => l.id === e) ?? {
      id: e,
      name: `Chain ${e}`,
      network: `${e}`,
      nativeCurrency: {
        name: "Ether",
        decimals: 18,
        symbol: "ETH"
      },
      rpcUrls: {
        default: {
          http: [""]
        },
        public: {
          http: [""]
        }
      }
    };
  return {
    chain: e ? {
      ...n,
      ...(a = t.data) == null ? void 0 : a.chain,
      id: e
    } : void 0,
    chains: r
  }
}
async function xI(t) {
  const e = await dm();
  if (!e) throw new gr;
  return await e.signMessage({
    message: t.message
  })
}
async function EI({
  chainId: t
}) {
  const {
    connector: e
  } = Yt();
  if (!e) throw new gr;
  if (!e.switchChain) throw new oI({
    connector: e
  });
  return e.switchChain(t)
}

function SI(t, {
  selector: e = r => r
} = {}) {
  const r = Yt(),
    n = () => t(h4());
  return r.subscribe(({
    data: s,
    connector: o,
    status: a
  }) => e({
    address: s == null ? void 0 : s.account,
    connector: o,
    status: a
  }), n, {
    equalityFn: u4
  })
}

function kI(t, {
  selector: e = r => r
} = {}) {
  const r = Yt(),
    n = () => t(fm());
  return r.subscribe(({
    data: s,
    chains: o
  }) => {
    var a;
    return e({
      chainId: (a = s == null ? void 0 : s.chain) == null ? void 0 : a.id,
      chains: o
    })
  }, n, {
    equalityFn: u4
  })
}
async function jI({
  name: t,
  chainId: e
}) {
  const {
    normalize: r
  } = await ee(async () => {
    const {
      normalize: s
    } = await import("./index-hB6jLQTk.js");
    return {
      normalize: s
    }
  }, []);
  return await cr({
    chainId: e
  }).getEnsAvatar({
    name: r(t)
  })
}
async function AI({
  address: t,
  chainId: e
}) {
  return cr({
    chainId: e
  }).getEnsName({
    address: ar(t)
  })
}
async function PI({
  chainId: t
} = {}) {
  return await cr({
    chainId: t
  }).getBlockNumber()
}
async function _I({
  chainId: t,
  confirmations: e = 1,
  hash: r,
  onReplaced: n,
  timeout: i = 0
}) {
  const s = cr({
      chainId: t
    }),
    o = await s.waitForTransactionReceipt({
      hash: r,
      confirmations: e,
      onReplaced: n,
      timeout: i
    });
  if (o.status === "reverted") {
    const a = await s.getTransaction({
        hash: o.transactionHash
      }),
      l = await s.call({
        ...a,
        gasPrice: a.type !== "eip1559" ? a.gasPrice : void 0,
        maxFeePerGas: a.type === "eip1559" ? a.maxFeePerGas : void 0,
        maxPriorityFeePerGas: a.type === "eip1559" ? a.maxPriorityFeePerGas : void 0
      }),
      u = T1(`0x${l.substring(138)}`);
    throw new Error(u)
  }
  return o
}

function p4({
  chainId: t
}) {
  var i, s;
  const {
    chain: e,
    chains: r
  } = fm(), n = e == null ? void 0 : e.id;
  if (n && t !== n) throw new rI({
    activeChain: ((i = r.find(o => o.id === n)) == null ? void 0 : i.name) ?? `Chain ${n}`,
    targetChain: ((s = r.find(o => o.id === t)) == null ? void 0 : s.name) ?? `Chain ${t}`
  })
}
var C4 = {
    exports: {}
  },
  m4 = {};
/**
 * @license React
 * use-sync-external-store-shim/with-selector.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var Ed = k,
  OI = P1;

function II(t, e) {
  return t === e && (t !== 0 || 1 / t === 1 / e) || t !== t && e !== e
}
var NI = typeof Object.is == "function" ? Object.is : II,
  TI = OI.useSyncExternalStore,
  RI = Ed.useRef,
  FI = Ed.useEffect,
  MI = Ed.useMemo,
  LI = Ed.useDebugValue;
m4.useSyncExternalStoreWithSelector = function (t, e, r, n, i) {
  var s = RI(null);
  if (s.current === null) {
    var o = {
      hasValue: !1,
      value: null
    };
    s.current = o
  } else o = s.current;
  s = MI(function () {
    function l(B) {
      if (!u) {
        if (u = !0, c = B, B = n(B), i !== void 0 && o.hasValue) {
          var h = o.value;
          if (i(h, B)) return d = h
        }
        return d = B
      }
      if (h = d, NI(c, B)) return h;
      var g = n(B);
      return i !== void 0 && i(h, g) ? h : (c = B, d = g)
    }
    var u = !1,
      c, d, f = r === void 0 ? null : r;
    return [function () {
      return l(e())
    }, f === null ? void 0 : function () {
      return l(f())
    }]
  }, [e, r, n, i]);
  var a = TI(t, s[0], s[1]);
  return FI(function () {
    o.hasValue = !0, o.value = a
  }, [a]), LI(a), a
};
C4.exports = m4;
var Bm = C4.exports;

function UI({
  queryClient: t = new Hj({
    defaultOptions: {
      queries: {
        cacheTime: 1e3 * 60 * 60 * 24,
        networkMode: "offlineFirst",
        refetchOnWindowFocus: !1,
        retry: 0
      },
      mutations: {
        networkMode: "offlineFirst"
      }
    }
  }),
  storage: e = d4({
    storage: typeof window < "u" && window.localStorage ? window.localStorage : c4
  }),
  persister: r = typeof window < "u" ? Aj({
    key: "cache",
    storage: e,
    serialize: i => i,
    deserialize: i => i
  }) : void 0,
  ...n
}) {
  const i = BI({
    ...n,
    storage: e
  });
  return r && bA({
    queryClient: t,
    persister: r,
    dehydrateOptions: {
      shouldDehydrateQuery: s => s.cacheTime !== 0 && s.queryKey[0].persist !== !1
    }
  }), Object.assign(i, {
    queryClient: t
  })
}
var g4 = k.createContext(void 0),
  Sd = k.createContext(void 0);

function zI({
  children: t,
  config: e
}) {
  return k.createElement(g4.Provider, {
    children: k.createElement(dA, {
      children: t,
      client: e.queryClient,
      context: Sd
    }),
    value: e
  })
}

function kd() {
  const t = k.useContext(g4);
  if (!t) throw new Error(["`useConfig` must be used within `WagmiConfig`.\n", "Read more: https://wagmi.sh/react/WagmiConfig"].join(`
`));
  return t
}
var WI = P1.useSyncExternalStore;

function $I(t) {
  return Array.isArray(t)
}

function HI(t) {
  if (!my(t)) return !1;
  const e = t.constructor;
  if (typeof e > "u") return !0;
  const r = e.prototype;
  return !(!my(r) || !r.hasOwnProperty("isPrototypeOf"))
}

function my(t) {
  return Object.prototype.toString.call(t) === "[object Object]"
}

function GI(t, e, r) {
  return $I(t) ? typeof e == "function" ? {
    ...r,
    queryKey: t,
    queryFn: e
  } : {
    ...e,
    queryKey: t
  } : t
}

function qI(t) {
  return JSON.stringify(t, (e, r) => HI(r) ? Object.keys(r).sort().reduce((n, i) => (n[i] = r[i], n), {}) : typeof r == "bigint" ? r.toString() : r)
}

function VI(t, e) {
  return typeof t == "function" ? t(...e) : !!t
}

function KI(t, e) {
  const r = {};
  return Object.keys(t).forEach(n => {
    Object.defineProperty(r, n, {
      configurable: !1,
      enumerable: !0,
      get: () => (e.trackedProps.add(n), t[n])
    })
  }), r
}

function QI(t, e) {
  const r = _1({
      context: t.context
    }),
    n = fA(),
    i = pA(),
    s = r.defaultQueryOptions({
      ...t,
      queryKeyHashFn: qI
    });
  s._optimisticResults = n ? "isRestoring" : "optimistic", s.onError && (s.onError = We.batchCalls(s.onError)), s.onSuccess && (s.onSuccess = We.batchCalls(s.onSuccess)), s.onSettled && (s.onSettled = We.batchCalls(s.onSettled)), s.suspense && typeof s.staleTime != "number" && (s.staleTime = 1e3), (s.suspense || s.useErrorBoundary) && (i.isReset() || (s.retryOnMount = !1));
  const [o] = k.useState(() => new e(r, s)), a = o.getOptimisticResult(s);
  if (WI(k.useCallback(d => n ? () => {} : o.subscribe(We.batchCalls(d)), [o, n]), () => o.getCurrentResult(), () => o.getCurrentResult()), k.useEffect(() => {
      i.clearReset()
    }, [i]), k.useEffect(() => {
      o.setOptions(s, {
        listeners: !1
      })
    }, [s, o]), s.suspense && a.isLoading && a.isFetching && !n) throw o.fetchOptimistic(s).then(({
    data: d
  }) => {
    var f, B;
    (f = s.onSuccess) == null || f.call(s, d), (B = s.onSettled) == null || B.call(s, d, null)
  }).catch(d => {
    var f, B;
    i.clearReset(), (f = s.onError) == null || f.call(s, d), (B = s.onSettled) == null || B.call(s, void 0, d)
  });
  if (a.isError && !i.isReset() && !a.isFetching && VI(s.useErrorBoundary, [a.error, o.getCurrentQuery()])) throw a.error;
  const l = a.status === "loading" && a.fetchStatus === "idle" ? "idle" : a.status,
    u = l === "idle",
    c = l === "loading" && a.fetchStatus === "fetching";
  return {
    ...a,
    defaultedOptions: s,
    isIdle: u,
    isLoading: c,
    observer: o,
    status: l
  }
}

function Ya(t, e, r) {
  const n = zD(t, e, r);
  return mA({
    context: Sd,
    ...n
  })
}

function Ks(t, e, r) {
  const n = GI(t, e, r),
    i = QI({
      context: Sd,
      ...n
    }, Gj),
    s = {
      data: i.data,
      error: i.error,
      fetchStatus: i.fetchStatus,
      isError: i.isError,
      isFetched: i.isFetched,
      isFetchedAfterMount: i.isFetchedAfterMount,
      isFetching: i.isFetching,
      isIdle: i.isIdle,
      isLoading: i.isLoading,
      isRefetching: i.isRefetching,
      isSuccess: i.isSuccess,
      refetch: i.refetch,
      status: i.status,
      internal: {
        dataUpdatedAt: i.dataUpdatedAt,
        errorUpdatedAt: i.errorUpdatedAt,
        failureCount: i.failureCount,
        isFetchedAfterMount: i.isFetchedAfterMount,
        isLoadingError: i.isLoadingError,
        isPaused: i.isPaused,
        isPlaceholderData: i.isPlaceholderData,
        isPreviousData: i.isPreviousData,
        isRefetchError: i.isRefetchError,
        isStale: i.isStale,
        remove: i.remove
      }
    };
  return i.defaultedOptions.notifyOnChangeProps ? s : KI(s, i.observer)
}
var v4 = () => _1({
  context: Sd
});

function Xa({
  chainId: t
} = {}) {
  return Bm.useSyncExternalStoreWithSelector(e => gI({
    chainId: t
  }, e), () => cr({
    chainId: t
  }), () => cr({
    chainId: t
  }), e => e, (e, r) => e.uid === r.uid)
}

function JI({
  chainId: t
} = {}) {
  return Bm.useSyncExternalStoreWithSelector(e => vI({
    chainId: t
  }, e), () => Ip({
    chainId: t
  }), () => Ip({
    chainId: t
  }), e => e, (e, r) => (e == null ? void 0 : e.uid) === (r == null ? void 0 : r.uid))
}

function Qs({
  chainId: t
} = {}) {
  return Xa({
    chainId: t
  }).chain.id
}

function YI() {
  const [, t] = k.useReducer(e => e + 1, 0);
  return t
}

function gy({
  chainId: t,
  scopeKey: e
}) {
  return [{
    entity: "blockNumber",
    chainId: t,
    scopeKey: e
  }]
}

function XI({
  queryKey: [{
    chainId: t
  }]
}) {
  return PI({
    chainId: t
  })
}

function y4({
  cacheTime: t = 0,
  chainId: e,
  enabled: r = !0,
  scopeKey: n,
  staleTime: i,
  suspense: s,
  watch: o = !1,
  onBlock: a,
  onError: l,
  onSettled: u,
  onSuccess: c
} = {}) {
  const d = Qs({
      chainId: e
    }),
    f = Xa({
      chainId: d
    }),
    B = JI({
      chainId: d
    }),
    h = v4();
  return k.useEffect(() => !r || !o && !a ? void 0 : (B ?? f).watchBlockNumber({
    onBlockNumber: m => {
      o && h.setQueryData(gy({
        chainId: d,
        scopeKey: n
      }), m), a && a(m)
    },
    emitOnBegin: !0
  }), [d, n, a, f, h, o, B, r]), Ks(gy({
    scopeKey: n,
    chainId: d
  }), XI, {
    cacheTime: t,
    enabled: r,
    staleTime: i,
    suspense: s,
    onError: l,
    onSettled: u,
    onSuccess: c
  })
}

function w4({
  chainId: t,
  enabled: e,
  queryKey: r
}) {
  const n = v4(),
    i = k.useCallback(() => n.invalidateQueries({
      queryKey: r
    }, {
      cancelRefetch: !1
    }), [n, r]);
  y4({
    chainId: t,
    enabled: e,
    onBlock: e ? i : void 0,
    scopeKey: e ? void 0 : "idle"
  })
}
var qf = t => typeof t == "object" && !Array.isArray(t);

function b4(t, e, r = e, n = Ec) {
  const i = k.useRef([]),
    s = Bm.useSyncExternalStoreWithSelector(t, e, r, o => o, (o, a) => {
      if (qf(o) && qf(a) && i.current.length) {
        for (const l of i.current)
          if (!n(o[l], a[l])) return !1;
        return !0
      }
      return n(o, a)
    });
  if (qf(s)) {
    const o = {
      ...s
    };
    return Object.defineProperties(o, Object.entries(o).reduce((a, [l, u]) => ({
      ...a,
      [l]: {
        configurable: !1,
        enumerable: !0,
        get: () => (i.current.includes(l) || i.current.push(l), u)
      }
    }), {})), o
  }
  return s
}

function _t({
  onConnect: t,
  onDisconnect: e
} = {}) {
  const r = kd(),
    n = k.useCallback(a => SI(a), [r]),
    i = b4(n, h4),
    s = k.useRef(),
    o = s.current;
  return k.useEffect(() => {
    (o == null ? void 0 : o.status) !== "connected" && i.status === "connected" && (t == null || t({
      address: i.address,
      connector: i.connector,
      isReconnected: (o == null ? void 0 : o.status) === "reconnecting" || (o == null ? void 0 : o.status) === void 0
    })), (o == null ? void 0 : o.status) === "connected" && i.status === "disconnected" && (e == null || e()), s.current = i
  }, [t, e, o, i]), i
}

function ZI({
  address: t,
  chainId: e,
  formatUnits: r,
  scopeKey: n,
  token: i
}) {
  return [{
    entity: "balance",
    address: t,
    chainId: e,
    formatUnits: r,
    scopeKey: n,
    token: i
  }]
}

function eN({
  queryKey: [{
    address: t,
    chainId: e,
    formatUnits: r,
    token: n
  }]
}) {
  if (!t) throw new Error("address is required");
  return DI({
    address: t,
    chainId: e,
    formatUnits: r,
    token: n
  })
}

function jd({
  address: t,
  cacheTime: e,
  chainId: r,
  enabled: n = !0,
  formatUnits: i,
  scopeKey: s,
  staleTime: o,
  suspense: a,
  token: l,
  watch: u,
  onError: c,
  onSettled: d,
  onSuccess: f
} = {}) {
  const B = Qs({
      chainId: r
    }),
    h = k.useMemo(() => ZI({
      address: t,
      chainId: B,
      formatUnits: i,
      scopeKey: s,
      token: l
    }), [t, B, i, s, l]),
    g = Ks(h, eN, {
      cacheTime: e,
      enabled: !!(n && t),
      staleTime: o,
      suspense: a,
      onError: c,
      onSettled: d,
      onSuccess: f
    });
  return w4({
    chainId: B,
    enabled: !!(n && u && t),
    queryKey: h
  }), g
}
var tN = t => [{
    entity: "connect",
    ...t
  }],
  rN = t => {
    const {
      connector: e,
      chainId: r
    } = t;
    if (!e) throw new Error("connector is required");
    return hI({
      connector: e,
      chainId: r
    })
  };

function nN({
  chainId: t,
  connector: e,
  onError: r,
  onMutate: n,
  onSettled: i,
  onSuccess: s
} = {}) {
  const o = kd(),
    {
      data: a,
      error: l,
      isError: u,
      isIdle: c,
      isLoading: d,
      isSuccess: f,
      mutate: B,
      mutateAsync: h,
      reset: g,
      status: y,
      variables: m
    } = Ya(tN({
      connector: e,
      chainId: t
    }), rN, {
      onError: r,
      onMutate: n,
      onSettled: i,
      onSuccess: s
    }),
    p = k.useCallback(w => B({
      chainId: (w == null ? void 0 : w.chainId) ?? t,
      connector: (w == null ? void 0 : w.connector) ?? e
    }), [t, e, B]),
    v = k.useCallback(w => h({
      chainId: (w == null ? void 0 : w.chainId) ?? t,
      connector: (w == null ? void 0 : w.connector) ?? e
    }), [t, e, h]);
  return {
    connect: p,
    connectAsync: v,
    connectors: o.connectors,
    data: a,
    error: l,
    isError: u,
    isIdle: c,
    isLoading: d,
    isSuccess: f,
    pendingConnector: m == null ? void 0 : m.connector,
    reset: g,
    status: y,
    variables: m
  }
}
var iN = [{
    entity: "disconnect"
  }],
  sN = () => pI();

function hm({
  onError: t,
  onMutate: e,
  onSettled: r,
  onSuccess: n
} = {}) {
  const {
    error: i,
    isError: s,
    isIdle: o,
    isLoading: a,
    isSuccess: l,
    mutate: u,
    mutateAsync: c,
    reset: d,
    status: f
  } = Ya(iN, sN, {
    ...t ? {
      onError(B, h, g) {
        t(B, g)
      }
    } : {},
    onMutate: e,
    ...r ? {
      onSettled(B, h, g, y) {
        r(h, y)
      }
    } : {},
    ...n ? {
      onSuccess(B, h, g) {
        n(g)
      }
    } : {}
  });
  return {
    disconnect: u,
    disconnectAsync: c,
    error: i,
    isError: s,
    isIdle: o,
    isLoading: a,
    isSuccess: l,
    reset: d,
    status: f
  }
}

function Pi() {
  const t = kd(),
    e = k.useCallback(r => kI(r), [t]);
  return b4(e, fm)
}
var oN = t => [{
    entity: "signMessage",
    ...t
  }],
  aN = t => {
    const {
      message: e
    } = t;
    if (!e) throw new Error("message is required");
    return xI({
      message: e
    })
  };

function lN({
  message: t,
  onError: e,
  onMutate: r,
  onSettled: n,
  onSuccess: i
} = {}) {
  const {
    data: s,
    error: o,
    isError: a,
    isIdle: l,
    isLoading: u,
    isSuccess: c,
    mutate: d,
    mutateAsync: f,
    reset: B,
    status: h,
    variables: g
  } = Ya(oN({
    message: t
  }), aN, {
    onError: e,
    onMutate: r,
    onSettled: n,
    onSuccess: i
  }), y = k.useCallback(p => d(p || {
    message: t
  }), [t, d]), m = k.useCallback(p => f(p || {
    message: t
  }), [t, f]);
  return {
    data: s,
    error: o,
    isError: a,
    isIdle: l,
    isLoading: u,
    isSuccess: c,
    reset: B,
    signMessage: y,
    signMessageAsync: m,
    status: h,
    variables: g
  }
}
var uN = t => [{
    entity: "switchNetwork",
    ...t
  }],
  cN = t => {
    const {
      chainId: e
    } = t;
    if (!e) throw new Error("chainId is required");
    return EI({
      chainId: e
    })
  };

function dN({
  chainId: t,
  throwForSwitchChainNotSupported: e,
  onError: r,
  onMutate: n,
  onSettled: i,
  onSuccess: s
} = {}) {
  var S;
  const o = kd(),
    a = YI(),
    {
      data: l,
      error: u,
      isError: c,
      isIdle: d,
      isLoading: f,
      isSuccess: B,
      mutate: h,
      mutateAsync: g,
      reset: y,
      status: m,
      variables: p
    } = Ya(uN({
      chainId: t
    }), cN, {
      onError: r,
      onMutate: n,
      onSettled: i,
      onSuccess: s
    }),
    v = k.useCallback(A => h({
      chainId: A ?? t
    }), [t, h]),
    w = k.useCallback(A => g({
      chainId: A ?? t
    }), [t, g]);
  k.useEffect(() => o.subscribe(({
    chains: P,
    connector: _
  }) => ({
    chains: P,
    connector: _
  }), a), [o, a]);
  let D, x;
  const C = !!((S = o.connector) != null && S.switchChain);
  return (e || C) && (D = v, x = w), {
    chains: o.chains ?? [],
    data: l,
    error: u,
    isError: c,
    isIdle: d,
    isLoading: f,
    isSuccess: B,
    pendingChainId: p == null ? void 0 : p.chainId,
    reset: y,
    status: m,
    switchNetwork: D,
    switchNetworkAsync: x,
    variables: p
  }
}

function fN({
  account: t,
  address: e,
  args: r,
  blockNumber: n,
  blockTag: i,
  chainId: s,
  functionName: o,
  scopeKey: a
}) {
  return [{
    entity: "readContract",
    account: t,
    address: e,
    args: r,
    blockNumber: n,
    blockTag: i,
    chainId: s,
    functionName: o,
    scopeKey: a
  }]
}

function BN({
  abi: t
}) {
  return async ({
    queryKey: [{
      account: e,
      address: r,
      args: n,
      blockNumber: i,
      blockTag: s,
      chainId: o,
      functionName: a
    }]
  }) => {
    if (!t) throw new Error("abi is required");
    if (!r) throw new Error("address is required");
    return await B4({
      account: e,
      address: r,
      args: n,
      blockNumber: i,
      blockTag: s,
      chainId: o,
      abi: t,
      functionName: a
    }) ?? null
  }
}

function qr({
  abi: t,
  address: e,
  account: r,
  args: n,
  blockNumber: i,
  blockTag: s,
  cacheOnBlock: o = !1,
  cacheTime: a,
  chainId: l,
  enabled: u = !0,
  functionName: c,
  isDataEqual: d,
  keepPreviousData: f,
  onError: B,
  onSettled: h,
  onSuccess: g,
  scopeKey: y,
  select: m,
  staleTime: p,
  structuralSharing: v = (x, C) => Ec(x, C) ? x : k1(x, C),
  suspense: w,
  watch: D
} = {}) {
  const x = Qs({
      chainId: l
    }),
    {
      data: C
    } = y4({
      chainId: x,
      enabled: D || o,
      scopeKey: D || o ? void 0 : "idle",
      watch: D
    }),
    S = i ?? C,
    A = k.useMemo(() => fN({
      account: r,
      address: e,
      args: n,
      blockNumber: o ? S : void 0,
      blockTag: s,
      chainId: x,
      functionName: c,
      scopeKey: y
    }), [r, e, n, S, s, o, x, c, y]),
    P = k.useMemo(() => {
      let _ = !!(u && t && e && c);
      return o && (_ = !!(_ && S)), _
    }, [t, e, S, o, u, c]);
  return w4({
    chainId: x,
    enabled: !!(P && D && !o),
    queryKey: A
  }), Ks(A, BN({
    abi: t
  }), {
    cacheTime: a,
    enabled: P,
    isDataEqual: d,
    keepPreviousData: f,
    select: m,
    staleTime: p,
    structuralSharing: v,
    suspense: w,
    onError: B,
    onSettled: h,
    onSuccess: g
  })
}

function hN({
  address: t,
  abi: e,
  functionName: r,
  ...n
}) {
  const {
    args: i,
    accessList: s,
    account: o,
    dataSuffix: a,
    gas: l,
    gasPrice: u,
    maxFeePerGas: c,
    maxPriorityFeePerGas: d,
    nonce: f,
    request: B,
    value: h
  } = n;
  return [{
    entity: "writeContract",
    address: t,
    args: i,
    abi: e,
    accessList: s,
    account: o,
    dataSuffix: a,
    functionName: r,
    gas: l,
    gasPrice: u,
    maxFeePerGas: c,
    maxPriorityFeePerGas: d,
    nonce: f,
    request: B,
    value: h
  }]
}

function pN(t) {
  if (t.mode === "prepared") {
    if (!t.request) throw new Error("request is required");
    return Cy({
      mode: "prepared",
      request: t.request
    })
  }
  if (!t.address) throw new Error("address is required");
  if (!t.abi) throw new Error("abi is required");
  if (!t.functionName) throw new Error("functionName is required");
  return Cy({
    address: t.address,
    args: t.args,
    chainId: t.chainId,
    abi: t.abi,
    functionName: t.functionName,
    accessList: t.accessList,
    account: t.account,
    dataSuffix: t.dataSuffix,
    gas: t.gas,
    gasPrice: t.gasPrice,
    maxFeePerGas: t.maxFeePerGas,
    maxPriorityFeePerGas: t.maxPriorityFeePerGas,
    nonce: t.nonce,
    value: t.value
  })
}

function vy(t) {
  const {
    address: e,
    abi: r,
    args: n,
    chainId: i,
    functionName: s,
    mode: o,
    request: a,
    dataSuffix: l
  } = t, {
    accessList: u,
    account: c,
    gas: d,
    gasPrice: f,
    maxFeePerGas: B,
    maxPriorityFeePerGas: h,
    nonce: g,
    value: y
  } = uI(t), {
    data: m,
    error: p,
    isError: v,
    isIdle: w,
    isLoading: D,
    isSuccess: x,
    mutate: C,
    mutateAsync: S,
    reset: A,
    status: P,
    variables: _
  } = Ya(hN({
    address: e,
    abi: r,
    functionName: s,
    chainId: i,
    mode: o,
    args: n,
    accessList: u,
    account: c,
    dataSuffix: l,
    gas: d,
    gasPrice: f,
    maxFeePerGas: B,
    maxPriorityFeePerGas: h,
    nonce: g,
    request: a,
    value: y
  }), pN, {
    onError: t.onError,
    onMutate: t.onMutate,
    onSettled: t.onSettled,
    onSuccess: t.onSuccess
  }), O = k.useMemo(() => t.mode === "prepared" ? a ? () => C({
    mode: "prepared",
    request: t.request,
    chainId: t.chainId
  }) : void 0 : F => C({
    address: e,
    args: n,
    abi: r,
    functionName: s,
    chainId: i,
    accessList: u,
    account: c,
    dataSuffix: l,
    gas: d,
    gasPrice: f,
    maxFeePerGas: B,
    maxPriorityFeePerGas: h,
    nonce: g,
    value: y,
    ...F
  }), [u, c, r, e, n, i, t.chainId, t.mode, t.request, l, s, d, f, B, h, C, g, a, y]), T = k.useMemo(() => t.mode === "prepared" ? a ? () => S({
    mode: "prepared",
    request: t.request
  }) : void 0 : F => S({
    address: e,
    args: n,
    abi: r,
    chainId: i,
    functionName: s,
    accessList: u,
    account: c,
    dataSuffix: l,
    gas: d,
    gasPrice: f,
    maxFeePerGas: B,
    maxPriorityFeePerGas: h,
    nonce: g,
    value: y,
    ...F
  }), [u, c, r, e, n, i, t.mode, t.request, l, s, d, f, B, h, S, g, a, y]);
  return {
    data: m,
    error: p,
    isError: v,
    isIdle: w,
    isLoading: D,
    isSuccess: x,
    reset: A,
    status: P,
    variables: _,
    write: O,
    writeAsync: T
  }
}

function CN({
  name: t,
  chainId: e,
  scopeKey: r
}) {
  return [{
    entity: "ensAvatar",
    name: t,
    chainId: e,
    scopeKey: r
  }]
}

function mN({
  queryKey: [{
    name: t,
    chainId: e
  }]
}) {
  if (!t) throw new Error("name is required");
  return jI({
    name: t,
    chainId: e
  })
}

function gN({
  cacheTime: t,
  chainId: e,
  enabled: r = !0,
  name: n,
  scopeKey: i,
  staleTime: s = 1e3 * 60 * 60 * 24,
  suspense: o,
  onError: a,
  onSettled: l,
  onSuccess: u
} = {}) {
  const c = Qs({
    chainId: e
  });
  return Ks(CN({
    name: n,
    chainId: c,
    scopeKey: i
  }), mN, {
    cacheTime: t,
    enabled: !!(r && n && c),
    staleTime: s,
    suspense: o,
    onError: a,
    onSettled: l,
    onSuccess: u
  })
}

function vN({
  address: t,
  chainId: e,
  scopeKey: r
}) {
  return [{
    entity: "ensName",
    address: t,
    chainId: e,
    scopeKey: r
  }]
}

function yN({
  queryKey: [{
    address: t,
    chainId: e
  }]
}) {
  if (!t) throw new Error("address is required");
  return AI({
    address: t,
    chainId: e
  })
}

function wN({
  address: t,
  cacheTime: e,
  chainId: r,
  enabled: n = !0,
  scopeKey: i,
  staleTime: s = 1e3 * 60 * 60 * 24,
  suspense: o,
  onError: a,
  onSettled: l,
  onSuccess: u
} = {}) {
  const c = Qs({
    chainId: r
  });
  return Ks(vN({
    address: t,
    chainId: c,
    scopeKey: i
  }), yN, {
    cacheTime: e,
    enabled: !!(n && t && c),
    staleTime: s,
    suspense: o,
    onError: a,
    onSettled: l,
    onSuccess: u
  })
}

function bN({
  confirmations: t,
  chainId: e,
  hash: r,
  scopeKey: n,
  timeout: i
}) {
  return [{
    entity: "waitForTransaction",
    confirmations: t,
    chainId: e,
    hash: r,
    scopeKey: n,
    timeout: i
  }]
}

function DN({
  onReplaced: t
}) {
  return ({
    queryKey: [{
      chainId: e,
      confirmations: r,
      hash: n,
      timeout: i
    }]
  }) => {
    if (!n) throw new Error("hash is required");
    return _I({
      chainId: e,
      confirmations: r,
      hash: n,
      onReplaced: t,
      timeout: i
    })
  }
}

function yy({
  chainId: t,
  confirmations: e,
  hash: r,
  timeout: n,
  cacheTime: i,
  enabled: s = !0,
  scopeKey: o,
  staleTime: a,
  suspense: l,
  onError: u,
  onReplaced: c,
  onSettled: d,
  onSuccess: f
} = {}) {
  const B = Qs({
    chainId: t
  });
  return Ks(bN({
    chainId: B,
    confirmations: e,
    hash: r,
    scopeKey: o,
    timeout: n
  }), DN({
    onReplaced: c
  }), {
    cacheTime: i,
    enabled: !!(s && r),
    staleTime: a,
    suspense: l,
    onError: u,
    onSettled: d,
    onSuccess: f
  })
}
const $l = "b534a3a93b66b9fccda2a2f70d875708";

function D4(t) {
  var e, r, n = "";
  if (typeof t == "string" || typeof t == "number") n += t;
  else if (typeof t == "object")
    if (Array.isArray(t))
      for (e = 0; e < t.length; e++) t[e] && (r = D4(t[e])) && (n && (n += " "), n += r);
    else
      for (e in t) t[e] && (n && (n += " "), n += e);
  return n
}

function kn() {
  for (var t, e, r = 0, n = ""; r < arguments.length;)(t = arguments[r++]) && (e = D4(t)) && (n && (n += " "), n += e);
  return n
}
const Ou = t => typeof t == "number" && !isNaN(t),
  Sc = t => typeof t == "string",
  Ht = t => typeof t == "function",
  Iu = t => Sc(t) || Ht(t) ? t : null,
  Vf = t => k.isValidElement(t) || Sc(t) || Ht(t) || Ou(t);

function xN(t, e, r) {
  r === void 0 && (r = 300);
  const {
    scrollHeight: n,
    style: i
  } = t;
  requestAnimationFrame(() => {
    i.minHeight = "initial", i.height = n + "px", i.transition = `all ${r}ms`, requestAnimationFrame(() => {
      i.height = "0", i.padding = "0", i.margin = "0", setTimeout(e, r)
    })
  })
}

function Ad(t) {
  let {
    enter: e,
    exit: r,
    appendPosition: n = !1,
    collapse: i = !0,
    collapseDuration: s = 300
  } = t;
  return function (o) {
    let {
      children: a,
      position: l,
      preventExitTransition: u,
      done: c,
      nodeRef: d,
      isIn: f
    } = o;
    const B = n ? `${e}--${l}` : e,
      h = n ? `${r}--${l}` : r,
      g = k.useRef(0);
    return k.useLayoutEffect(() => {
      const y = d.current,
        m = B.split(" "),
        p = v => {
          v.target === d.current && (y.dispatchEvent(new Event("d")), y.removeEventListener("animationend", p), y.removeEventListener("animationcancel", p), g.current === 0 && v.type !== "animationcancel" && y.classList.remove(...m))
        };
      y.classList.add(...m), y.addEventListener("animationend", p), y.addEventListener("animationcancel", p)
    }, []), k.useEffect(() => {
      const y = d.current,
        m = () => {
          y.removeEventListener("animationend", m), i ? xN(y, c, s) : c()
        };
      f || (u ? m() : (g.current = 1, y.className += ` ${h}`, y.addEventListener("animationend", m)))
    }, [f]), b.createElement(b.Fragment, null, a)
  }
}

function wy(t, e) {
  return t != null ? {
    content: t.content,
    containerId: t.props.containerId,
    id: t.props.toastId,
    theme: t.props.theme,
    type: t.props.type,
    data: t.props.data || {},
    isLoading: t.props.isLoading,
    icon: t.props.icon,
    status: e
  } : {}
}
const Bi = {
    list: new Map,
    emitQueue: new Map,
    on(t, e) {
      return this.list.has(t) || this.list.set(t, []), this.list.get(t).push(e), this
    },
    off(t, e) {
      if (e) {
        const r = this.list.get(t).filter(n => n !== e);
        return this.list.set(t, r), this
      }
      return this.list.delete(t), this
    },
    cancelEmit(t) {
      const e = this.emitQueue.get(t);
      return e && (e.forEach(clearTimeout), this.emitQueue.delete(t)), this
    },
    emit(t) {
      this.list.has(t) && this.list.get(t).forEach(e => {
        const r = setTimeout(() => {
          e(...[].slice.call(arguments, 1))
        }, 0);
        this.emitQueue.has(t) || this.emitQueue.set(t, []), this.emitQueue.get(t).push(r)
      })
    }
  },
  Hl = t => {
    let {
      theme: e,
      type: r,
      ...n
    } = t;
    return b.createElement("svg", {
      viewBox: "0 0 24 24",
      width: "100%",
      height: "100%",
      fill: e === "colored" ? "currentColor" : `var(--toastify-icon-color-${r})`,
      ...n
    })
  },
  Kf = {
    info: function (t) {
      return b.createElement(Hl, {
        ...t
      }, b.createElement("path", {
        d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"
      }))
    },
    warning: function (t) {
      return b.createElement(Hl, {
        ...t
      }, b.createElement("path", {
        d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"
      }))
    },
    success: function (t) {
      return b.createElement(Hl, {
        ...t
      }, b.createElement("path", {
        d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"
      }))
    },
    error: function (t) {
      return b.createElement(Hl, {
        ...t
      }, b.createElement("path", {
        d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"
      }))
    },
    spinner: function () {
      return b.createElement("div", {
        className: "Toastify__spinner"
      })
    }
  };

function EN(t) {
  const [, e] = k.useReducer(B => B + 1, 0), [r, n] = k.useState([]), i = k.useRef(null), s = k.useRef(new Map).current, o = B => r.indexOf(B) !== -1, a = k.useRef({
    toastKey: 1,
    displayedToast: 0,
    count: 0,
    queue: [],
    props: t,
    containerId: null,
    isToastActive: o,
    getToast: B => s.get(B)
  }).current;

  function l(B) {
    let {
      containerId: h
    } = B;
    const {
      limit: g
    } = a.props;
    !g || h && a.containerId !== h || (a.count -= a.queue.length, a.queue = [])
  }

  function u(B) {
    n(h => B == null ? [] : h.filter(g => g !== B))
  }

  function c() {
    const {
      toastContent: B,
      toastProps: h,
      staleId: g
    } = a.queue.shift();
    f(B, h, g)
  }

  function d(B, h) {
    let {
      delay: g,
      staleId: y,
      ...m
    } = h;
    if (!Vf(B) || function (O) {
        return !i.current || a.props.enableMultiContainer && O.containerId !== a.props.containerId || s.has(O.toastId) && O.updateId == null
      }(m)) return;
    const {
      toastId: p,
      updateId: v,
      data: w
    } = m, {
      props: D
    } = a, x = () => u(p), C = v == null;
    C && a.count++;
    const S = {
      ...D,
      style: D.toastStyle,
      key: a.toastKey++,
      ...Object.fromEntries(Object.entries(m).filter(O => {
        let [T, F] = O;
        return F != null
      })),
      toastId: p,
      updateId: v,
      data: w,
      closeToast: x,
      isIn: !1,
      className: Iu(m.className || D.toastClassName),
      bodyClassName: Iu(m.bodyClassName || D.bodyClassName),
      progressClassName: Iu(m.progressClassName || D.progressClassName),
      autoClose: !m.isLoading && (A = m.autoClose, P = D.autoClose, A === !1 || Ou(A) && A > 0 ? A : P),
      deleteToast() {
        const O = wy(s.get(p), "removed");
        s.delete(p), Bi.emit(4, O);
        const T = a.queue.length;
        if (a.count = p == null ? a.count - a.displayedToast : a.count - 1, a.count < 0 && (a.count = 0), T > 0) {
          const F = p == null ? a.props.limit : 1;
          if (T === 1 || F === 1) a.displayedToast++, c();
          else {
            const G = F > T ? T : F;
            a.displayedToast = G;
            for (let z = 0; z < G; z++) c()
          }
        } else e()
      }
    };
    var A, P;
    S.iconOut = function (O) {
      let {
        theme: T,
        type: F,
        isLoading: G,
        icon: z
      } = O, L = null;
      const I = {
        theme: T,
        type: F
      };
      return z === !1 || (Ht(z) ? L = z(I) : k.isValidElement(z) ? L = k.cloneElement(z, I) : Sc(z) || Ou(z) ? L = z : G ? L = Kf.spinner() : (H => H in Kf)(F) && (L = Kf[F](I))), L
    }(S), Ht(m.onOpen) && (S.onOpen = m.onOpen), Ht(m.onClose) && (S.onClose = m.onClose), S.closeButton = D.closeButton, m.closeButton === !1 || Vf(m.closeButton) ? S.closeButton = m.closeButton : m.closeButton === !0 && (S.closeButton = !Vf(D.closeButton) || D.closeButton);
    let _ = B;
    k.isValidElement(B) && !Sc(B.type) ? _ = k.cloneElement(B, {
      closeToast: x,
      toastProps: S,
      data: w
    }) : Ht(B) && (_ = B({
      closeToast: x,
      toastProps: S,
      data: w
    })), D.limit && D.limit > 0 && a.count > D.limit && C ? a.queue.push({
      toastContent: _,
      toastProps: S,
      staleId: y
    }) : Ou(g) ? setTimeout(() => {
      f(_, S, y)
    }, g) : f(_, S, y)
  }

  function f(B, h, g) {
    const {
      toastId: y
    } = h;
    g && s.delete(g);
    const m = {
      content: B,
      props: h
    };
    s.set(y, m), n(p => [...p, y].filter(v => v !== g)), Bi.emit(4, wy(m, m.props.updateId == null ? "added" : "updated"))
  }
  return k.useEffect(() => (a.containerId = t.containerId, Bi.cancelEmit(3).on(0, d).on(1, B => i.current && u(B)).on(5, l).emit(2, a), () => {
    s.clear(), Bi.emit(3, a)
  }), []), k.useEffect(() => {
    a.props = t, a.isToastActive = o, a.displayedToast = r.length
  }), {
    getToastToRender: function (B) {
      const h = new Map,
        g = Array.from(s.values());
      return t.newestOnTop && g.reverse(), g.forEach(y => {
        const {
          position: m
        } = y.props;
        h.has(m) || h.set(m, []), h.get(m).push(y)
      }), Array.from(h, y => B(y[0], y[1]))
    },
    containerRef: i,
    isToastActive: o
  }
}

function by(t) {
  return t.targetTouches && t.targetTouches.length >= 1 ? t.targetTouches[0].clientX : t.clientX
}

function Dy(t) {
  return t.targetTouches && t.targetTouches.length >= 1 ? t.targetTouches[0].clientY : t.clientY
}

function SN(t) {
  const [e, r] = k.useState(!1), [n, i] = k.useState(!1), s = k.useRef(null), o = k.useRef({
    start: 0,
    x: 0,
    y: 0,
    delta: 0,
    removalDistance: 0,
    canCloseOnClick: !0,
    canDrag: !1,
    boundingRect: null,
    didMove: !1
  }).current, a = k.useRef(t), {
    autoClose: l,
    pauseOnHover: u,
    closeToast: c,
    onClick: d,
    closeOnClick: f
  } = t;

  function B(w) {
    if (t.draggable) {
      w.nativeEvent.type === "touchstart" && w.nativeEvent.preventDefault(), o.didMove = !1, document.addEventListener("mousemove", m), document.addEventListener("mouseup", p), document.addEventListener("touchmove", m), document.addEventListener("touchend", p);
      const D = s.current;
      o.canCloseOnClick = !0, o.canDrag = !0, o.boundingRect = D.getBoundingClientRect(), D.style.transition = "", o.x = by(w.nativeEvent), o.y = Dy(w.nativeEvent), t.draggableDirection === "x" ? (o.start = o.x, o.removalDistance = D.offsetWidth * (t.draggablePercent / 100)) : (o.start = o.y, o.removalDistance = D.offsetHeight * (t.draggablePercent === 80 ? 1.5 * t.draggablePercent : t.draggablePercent / 100))
    }
  }

  function h(w) {
    if (o.boundingRect) {
      const {
        top: D,
        bottom: x,
        left: C,
        right: S
      } = o.boundingRect;
      w.nativeEvent.type !== "touchend" && t.pauseOnHover && o.x >= C && o.x <= S && o.y >= D && o.y <= x ? y() : g()
    }
  }

  function g() {
    r(!0)
  }

  function y() {
    r(!1)
  }

  function m(w) {
    const D = s.current;
    o.canDrag && D && (o.didMove = !0, e && y(), o.x = by(w), o.y = Dy(w), o.delta = t.draggableDirection === "x" ? o.x - o.start : o.y - o.start, o.start !== o.x && (o.canCloseOnClick = !1), D.style.transform = `translate${t.draggableDirection}(${o.delta}px)`, D.style.opacity = "" + (1 - Math.abs(o.delta / o.removalDistance)))
  }

  function p() {
    document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", p), document.removeEventListener("touchmove", m), document.removeEventListener("touchend", p);
    const w = s.current;
    if (o.canDrag && o.didMove && w) {
      if (o.canDrag = !1, Math.abs(o.delta) > o.removalDistance) return i(!0), void t.closeToast();
      w.style.transition = "transform 0.2s, opacity 0.2s", w.style.transform = `translate${t.draggableDirection}(0)`, w.style.opacity = "1"
    }
  }
  k.useEffect(() => {
    a.current = t
  }), k.useEffect(() => (s.current && s.current.addEventListener("d", g, {
    once: !0
  }), Ht(t.onOpen) && t.onOpen(k.isValidElement(t.children) && t.children.props), () => {
    const w = a.current;
    Ht(w.onClose) && w.onClose(k.isValidElement(w.children) && w.children.props)
  }), []), k.useEffect(() => (t.pauseOnFocusLoss && (document.hasFocus() || y(), window.addEventListener("focus", g), window.addEventListener("blur", y)), () => {
    t.pauseOnFocusLoss && (window.removeEventListener("focus", g), window.removeEventListener("blur", y))
  }), [t.pauseOnFocusLoss]);
  const v = {
    onMouseDown: B,
    onTouchStart: B,
    onMouseUp: h,
    onTouchEnd: h
  };
  return l && u && (v.onMouseEnter = y, v.onMouseLeave = g), f && (v.onClick = w => {
    d && d(w), o.canCloseOnClick && c()
  }), {
    playToast: g,
    pauseToast: y,
    isRunning: e,
    preventExitTransition: n,
    toastRef: s,
    eventHandlers: v
  }
}

function x4(t) {
  let {
    closeToast: e,
    theme: r,
    ariaLabel: n = "close"
  } = t;
  return b.createElement("button", {
    className: `Toastify__close-button Toastify__close-button--${r}`,
    type: "button",
    onClick: i => {
      i.stopPropagation(), e(i)
    },
    "aria-label": n
  }, b.createElement("svg", {
    "aria-hidden": "true",
    viewBox: "0 0 14 16"
  }, b.createElement("path", {
    fillRule: "evenodd",
    d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"
  })))
}

function kN(t) {
  let {
    delay: e,
    isRunning: r,
    closeToast: n,
    type: i = "default",
    hide: s,
    className: o,
    style: a,
    controlledProgress: l,
    progress: u,
    rtl: c,
    isIn: d,
    theme: f
  } = t;
  const B = s || l && u === 0,
    h = {
      ...a,
      animationDuration: `${e}ms`,
      animationPlayState: r ? "running" : "paused",
      opacity: B ? 0 : 1
    };
  l && (h.transform = `scaleX(${u})`);
  const g = kn("Toastify__progress-bar", l ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${f}`, `Toastify__progress-bar--${i}`, {
      "Toastify__progress-bar--rtl": c
    }),
    y = Ht(o) ? o({
      rtl: c,
      type: i,
      defaultClassName: g
    }) : kn(g, o);
  return b.createElement("div", {
    role: "progressbar",
    "aria-hidden": B ? "true" : "false",
    "aria-label": "notification timer",
    className: y,
    style: h,
    [l && u >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: l && u < 1 ? null : () => {
      d && n()
    }
  })
}
const jN = t => {
    const {
      isRunning: e,
      preventExitTransition: r,
      toastRef: n,
      eventHandlers: i
    } = SN(t), {
      closeButton: s,
      children: o,
      autoClose: a,
      onClick: l,
      type: u,
      hideProgressBar: c,
      closeToast: d,
      transition: f,
      position: B,
      className: h,
      style: g,
      bodyClassName: y,
      bodyStyle: m,
      progressClassName: p,
      progressStyle: v,
      updateId: w,
      role: D,
      progress: x,
      rtl: C,
      toastId: S,
      deleteToast: A,
      isIn: P,
      isLoading: _,
      iconOut: O,
      closeOnClick: T,
      theme: F
    } = t, G = kn("Toastify__toast", `Toastify__toast-theme--${F}`, `Toastify__toast--${u}`, {
      "Toastify__toast--rtl": C
    }, {
      "Toastify__toast--close-on-click": T
    }), z = Ht(h) ? h({
      rtl: C,
      position: B,
      type: u,
      defaultClassName: G
    }) : kn(G, h), L = !!x || !a, I = {
      closeToast: d,
      type: u,
      theme: F
    };
    let H = null;
    return s === !1 || (H = Ht(s) ? s(I) : k.isValidElement(s) ? k.cloneElement(s, I) : x4(I)), b.createElement(f, {
      isIn: P,
      done: A,
      position: B,
      preventExitTransition: r,
      nodeRef: n
    }, b.createElement("div", {
      id: S,
      onClick: l,
      className: z,
      ...i,
      style: g,
      ref: n
    }, b.createElement("div", {
      ...P && {
        role: D
      },
      className: Ht(y) ? y({
        type: u
      }) : kn("Toastify__toast-body", y),
      style: m
    }, O != null && b.createElement("div", {
      className: kn("Toastify__toast-icon", {
        "Toastify--animate-icon Toastify__zoom-enter": !_
      })
    }, O), b.createElement("div", null, o)), H, b.createElement(kN, {
      ...w && !L ? {
        key: `pb-${w}`
      } : {},
      rtl: C,
      theme: F,
      delay: a,
      isRunning: e,
      isIn: P,
      closeToast: d,
      hide: c,
      type: u,
      style: v,
      className: p,
      controlledProgress: L,
      progress: x || 0
    })))
  },
  Pd = function (t, e) {
    return e === void 0 && (e = !1), {
      enter: `Toastify--animate Toastify__${t}-enter`,
      exit: `Toastify--animate Toastify__${t}-exit`,
      appendPosition: e
    }
  },
  AN = Ad(Pd("bounce", !0));
Ad(Pd("slide", !0));
Ad(Pd("zoom"));
Ad(Pd("flip"));
const Np = k.forwardRef((t, e) => {
  const {
    getToastToRender: r,
    containerRef: n,
    isToastActive: i
  } = EN(t), {
    className: s,
    style: o,
    rtl: a,
    containerId: l
  } = t;

  function u(c) {
    const d = kn("Toastify__toast-container", `Toastify__toast-container--${c}`, {
      "Toastify__toast-container--rtl": a
    });
    return Ht(s) ? s({
      position: c,
      rtl: a,
      defaultClassName: d
    }) : kn(d, Iu(s))
  }
  return k.useEffect(() => {
    e && (e.current = n.current)
  }, []), b.createElement("div", {
    ref: n,
    className: "Toastify",
    id: l
  }, r((c, d) => {
    const f = d.length ? {
      ...o
    } : {
      ...o,
      pointerEvents: "none"
    };
    return b.createElement("div", {
      className: u(c),
      style: f,
      key: `container-${c}`
    }, d.map((B, h) => {
      let {
        content: g,
        props: y
      } = B;
      return b.createElement(jN, {
        ...y,
        isIn: i(y.toastId),
        style: {
          ...y.style,
          "--nth": h + 1,
          "--len": d.length
        },
        key: `toast-${y.key}`
      }, g)
    }))
  }))
});
Np.displayName = "ToastContainer", Np.defaultProps = {
  position: "top-right",
  transition: AN,
  autoClose: 5e3,
  closeButton: x4,
  pauseOnHover: !0,
  pauseOnFocusLoss: !0,
  closeOnClick: !0,
  draggable: !0,
  draggablePercent: 80,
  draggableDirection: "x",
  role: "alert",
  theme: "light"
};
let xy, Qf = new Map,
  Ey = [];
Bi.on(2, t => {
  xy = t.containerId || t, Qf.set(xy, t), Ey.forEach(e => {
    Bi.emit(0, e.content, e.options)
  }), Ey = []
}).on(3, t => {
  Qf.delete(t.containerId || t), Qf.size === 0 && Bi.off(0).off(1).off(5)
});
var E4 = {};
Object.defineProperty(E4, "__esModule", {
  value: !0
});
var PN = /^(0x[a-zA-Z0-9]{4})[a-zA-Z0-9]+([a-zA-Z0-9]{4})$/,
  _N = function (t) {
    var e = t.match(PN);
    return e ? e[1] + "…" + e[2] : t
  };
E4.default = _N;
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const ON = t => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(),
  IN = t => t.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, r, n) => n ? n.toUpperCase() : r.toLowerCase()),
  Sy = t => {
    const e = IN(t);
    return e.charAt(0).toUpperCase() + e.slice(1)
  },
  S4 = (...t) => t.filter((e, r, n) => !!e && e.trim() !== "" && n.indexOf(e) === r).join(" ").trim(),
  NN = t => {
    for (const e in t)
      if (e.startsWith("aria-") || e === "role" || e === "title") return !0
  };
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
var TN = {
  xmlns: "http://www.w3.org/2000/svg",
  width: 24,
  height: 24,
  viewBox: "0 0 24 24",
  fill: "none",
  stroke: "currentColor",
  strokeWidth: 2,
  strokeLinecap: "round",
  strokeLinejoin: "round"
};
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const RN = k.forwardRef(({
  color: t = "currentColor",
  size: e = 24,
  strokeWidth: r = 2,
  absoluteStrokeWidth: n,
  className: i = "",
  children: s,
  iconNode: o,
  ...a
}, l) => k.createElement("svg", {
  ref: l,
  ...TN,
  width: e,
  height: e,
  stroke: t,
  strokeWidth: n ? Number(r) * 24 / Number(e) : r,
  className: S4("lucide", i),
  ...!s && !NN(a) && {
    "aria-hidden": "true"
  },
  ...a
}, [...o.map(([u, c]) => k.createElement(u, c)), ...Array.isArray(s) ? s : [s]]));
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const st = (t, e) => {
  const r = k.forwardRef(({
    className: n,
    ...i
  }, s) => k.createElement(RN, {
    ref: s,
    iconNode: e,
    className: S4(`lucide-${ON(Sy(t))}`, `lucide-${t}`, n),
    ...i
  }));
  return r.displayName = Sy(t), r
};
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const FN = [
    ["path", {
      d: "M17 7 7 17",
      key: "15tmo1"
    }],
    ["path", {
      d: "M17 17H7V7",
      key: "1org7z"
    }]
  ],
  MN = st("arrow-down-left", FN);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const LN = [
    ["path", {
      d: "M12 5v14",
      key: "s699le"
    }],
    ["path", {
      d: "m19 12-7 7-7-7",
      key: "1idqje"
    }]
  ],
  UN = st("arrow-down", LN);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const zN = [
    ["path", {
      d: "M7 7h10v10",
      key: "1tivn9"
    }],
    ["path", {
      d: "M7 17 17 7",
      key: "1vkiza"
    }]
  ],
  WN = st("arrow-up-right", zN);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const $N = [
    ["path", {
      d: "M21.801 10A10 10 0 1 1 17 3.335",
      key: "yps3ct"
    }],
    ["path", {
      d: "m9 11 3 3L22 4",
      key: "1pflzl"
    }]
  ],
  HN = st("circle-check-big", $N);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const GN = [
    ["rect", {
      width: "14",
      height: "14",
      x: "8",
      y: "8",
      rx: "2",
      ry: "2",
      key: "17jyea"
    }],
    ["path", {
      d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",
      key: "zix9uf"
    }]
  ],
  k4 = st("copy", GN);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const qN = [
    ["line", {
      x1: "12",
      x2: "12",
      y1: "2",
      y2: "22",
      key: "7eqyqh"
    }],
    ["path", {
      d: "M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",
      key: "1b0p4s"
    }]
  ],
  pn = st("dollar-sign", qN);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const VN = [
    ["path", {
      d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",
      key: "1rqfz7"
    }],
    ["path", {
      d: "M14 2v4a2 2 0 0 0 2 2h4",
      key: "tnqrlb"
    }],
    ["path", {
      d: "M10 9H8",
      key: "b1mrlr"
    }],
    ["path", {
      d: "M16 13H8",
      key: "t4e002"
    }],
    ["path", {
      d: "M16 17H8",
      key: "z1uh3a"
    }]
  ],
  KN = st("file-text", VN);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const QN = [
    ["circle", {
      cx: "12",
      cy: "12",
      r: "10",
      key: "1mglay"
    }],
    ["path", {
      d: "M12 16v-4",
      key: "1dtifu"
    }],
    ["path", {
      d: "M12 8h.01",
      key: "e9boi3"
    }]
  ],
  JN = st("info", QN);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const YN = [
    ["path", {
      d: "M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",
      key: "zw3jo"
    }],
    ["path", {
      d: "M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",
      key: "1wduqc"
    }],
    ["path", {
      d: "M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",
      key: "kqbvx6"
    }]
  ],
  kc = st("layers", YN);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const XN = [
    ["path", {
      d: "M21 12a9 9 0 1 1-6.219-8.56",
      key: "13zald"
    }]
  ],
  Jf = st("loader-circle", XN);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const ZN = [
    ["rect", {
      width: "18",
      height: "11",
      x: "3",
      y: "11",
      rx: "2",
      ry: "2",
      key: "1w4ew1"
    }],
    ["path", {
      d: "M7 11V7a5 5 0 0 1 9.9-1",
      key: "1mm8w8"
    }]
  ],
  eT = st("lock-open", ZN);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const tT = [
    ["path", {
      d: "M4 12h16",
      key: "1lakjw"
    }],
    ["path", {
      d: "M4 18h16",
      key: "19g7jn"
    }],
    ["path", {
      d: "M4 6h16",
      key: "1o0s65"
    }]
  ],
  rT = st("menu", tT);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const nT = [
    ["path", {
      d: "M7.9 20A9 9 0 1 0 4 16.1L2 22Z",
      key: "vv11sd"
    }]
  ],
  iT = st("message-circle", nT);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const sT = [
    ["line", {
      x1: "19",
      x2: "5",
      y1: "5",
      y2: "19",
      key: "1x9vlm"
    }],
    ["circle", {
      cx: "6.5",
      cy: "6.5",
      r: "2.5",
      key: "4mh3h7"
    }],
    ["circle", {
      cx: "17.5",
      cy: "17.5",
      r: "2.5",
      key: "1mdrzq"
    }]
  ],
  Yf = st("percent", sT);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const oT = [
    ["circle", {
      cx: "12",
      cy: "12",
      r: "10",
      key: "1mglay"
    }],
    ["circle", {
      cx: "12",
      cy: "12",
      r: "6",
      key: "1vlfrh"
    }],
    ["circle", {
      cx: "12",
      cy: "12",
      r: "2",
      key: "1c9p78"
    }]
  ],
  jc = st("target", oT);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const aT = [
    ["path", {
      d: "M16 7h6v6",
      key: "box55l"
    }],
    ["path", {
      d: "m22 7-8.5 8.5-5-5L2 17",
      key: "1t1m79"
    }]
  ],
  Ss = st("trending-up", aT);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const lT = [
    ["path", {
      d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",
      key: "1yyitq"
    }],
    ["path", {
      d: "M16 3.128a4 4 0 0 1 0 7.744",
      key: "16gr8j"
    }],
    ["path", {
      d: "M22 21v-2a4 4 0 0 0-3-3.87",
      key: "kshegd"
    }],
    ["circle", {
      cx: "9",
      cy: "7",
      r: "4",
      key: "nufk8"
    }]
  ],
  hs = st("users", lT);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const uT = [
    ["path", {
      d: "M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",
      key: "18etb6"
    }],
    ["path", {
      d: "M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",
      key: "xoc0q4"
    }]
  ],
  cT = st("wallet", uT);
/**
 * @license lucide-react v0.511.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const dT = [
    ["path", {
      d: "M18 6 6 18",
      key: "1bl5f8"
    }],
    ["path", {
      d: "m6 6 12 12",
      key: "d8bk6v"
    }]
  ],
  fT = st("x", dT);
var ky = '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
  BT = {
    rounded: `SFRounded, ui-rounded, "SF Pro Rounded", ${ky}`,
    system: ky
  },
  fo = {
    large: {
      actionButton: "9999px",
      connectButton: "12px",
      modal: "24px",
      modalMobile: "28px"
    },
    medium: {
      actionButton: "10px",
      connectButton: "8px",
      modal: "16px",
      modalMobile: "18px"
    },
    none: {
      actionButton: "0px",
      connectButton: "0px",
      modal: "0px",
      modalMobile: "0px"
    },
    small: {
      actionButton: "4px",
      connectButton: "4px",
      modal: "8px",
      modalMobile: "8px"
    }
  },
  hT = {
    large: {
      modalOverlay: "blur(20px)"
    },
    none: {
      modalOverlay: "blur(0px)"
    },
    small: {
      modalOverlay: "blur(4px)"
    }
  },
  pT = ({
    borderRadius: t = "large",
    fontStack: e = "rounded",
    overlayBlur: r = "none"
  }) => ({
    blurs: {
      modalOverlay: hT[r].modalOverlay
    },
    fonts: {
      body: BT[e]
    },
    radii: {
      actionButton: fo[t].actionButton,
      connectButton: fo[t].connectButton,
      menuButton: fo[t].connectButton,
      modal: fo[t].modal,
      modalMobile: fo[t].modalMobile
    }
  }),
  j4 = {
    blue: {
      accentColor: "#0E76FD",
      accentColorForeground: "#FFF"
    },
    green: {
      accentColor: "#1DB847",
      accentColorForeground: "#FFF"
    },
    orange: {
      accentColor: "#FF801F",
      accentColorForeground: "#FFF"
    },
    pink: {
      accentColor: "#FF5CA0",
      accentColorForeground: "#FFF"
    },
    purple: {
      accentColor: "#5F5AFA",
      accentColorForeground: "#FFF"
    },
    red: {
      accentColor: "#FA423C",
      accentColorForeground: "#FFF"
    }
  },
  jy = j4.blue,
  A4 = ({
    accentColor: t = jy.accentColor,
    accentColorForeground: e = jy.accentColorForeground,
    ...r
  } = {}) => ({
    ...pT(r),
    colors: {
      accentColor: t,
      accentColorForeground: e,
      actionButtonBorder: "rgba(0, 0, 0, 0.04)",
      actionButtonBorderMobile: "rgba(0, 0, 0, 0.06)",
      actionButtonSecondaryBackground: "rgba(0, 0, 0, 0.06)",
      closeButton: "rgba(60, 66, 66, 0.8)",
      closeButtonBackground: "rgba(0, 0, 0, 0.06)",
      connectButtonBackground: "#FFF",
      connectButtonBackgroundError: "#FF494A",
      connectButtonInnerBackground: "linear-gradient(0deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.06))",
      connectButtonText: "#25292E",
      connectButtonTextError: "#FFF",
      connectionIndicator: "#30E000",
      downloadBottomCardBackground: "linear-gradient(126deg, rgba(255, 255, 255, 0) 9.49%, rgba(171, 171, 171, 0.04) 71.04%), #FFFFFF",
      downloadTopCardBackground: "linear-gradient(126deg, rgba(171, 171, 171, 0.2) 9.49%, rgba(255, 255, 255, 0) 71.04%), #FFFFFF",
      error: "#FF494A",
      generalBorder: "rgba(0, 0, 0, 0.06)",
      generalBorderDim: "rgba(0, 0, 0, 0.03)",
      menuItemBackground: "rgba(60, 66, 66, 0.1)",
      modalBackdrop: "rgba(0, 0, 0, 0.3)",
      modalBackground: "#FFF",
      modalBorder: "transparent",
      modalText: "#25292E",
      modalTextDim: "rgba(60, 66, 66, 0.3)",
      modalTextSecondary: "rgba(60, 66, 66, 0.6)",
      profileAction: "#FFF",
      profileActionHover: "rgba(255, 255, 255, 0.5)",
      profileForeground: "rgba(60, 66, 66, 0.06)",
      selectedOptionBorder: "rgba(60, 66, 66, 0.1)",
      standby: "#FFD641"
    },
    shadows: {
      connectButton: "0px 4px 12px rgba(0, 0, 0, 0.1)",
      dialog: "0px 8px 32px rgba(0, 0, 0, 0.32)",
      profileDetailsAction: "0px 2px 6px rgba(37, 41, 46, 0.04)",
      selectedOption: "0px 2px 6px rgba(0, 0, 0, 0.24)",
      selectedWallet: "0px 2px 6px rgba(0, 0, 0, 0.12)",
      walletLogo: "0px 2px 16px rgba(0, 0, 0, 0.16)"
    }
  });
A4.accentColors = j4;
var Tp = `{
  "connect_wallet": {
    "label": "Connect Wallet",
    "wrong_network": {
      "label": "Wrong network"
    }
  },

  "intro": {
    "title": "What is a Wallet?",
    "description": "A wallet is used to send, receive, store, and display digital assets. It's also a new way to log in, without needing to create new accounts and passwords on every website.",
    "digital_asset": {
      "title": "A Home for your Digital Assets",
      "description": "Wallets are used to send, receive, store, and display digital assets like Ethereum and NFTs."
    },
    "login": {
      "title": "A New Way to Log In",
      "description": "Instead of creating new accounts and passwords on every website, just connect your wallet."
    },
    "get": {
      "label": "Get a Wallet"
    },
    "learn_more": {
      "label": "Learn More"
    }
  },

  "sign_in": {
    "label": "Verify your account",
    "description": "To finish connecting, you must sign a message in your wallet to verify that you are the owner of this account.",
    "message": {
      "send": "Sign message",
      "preparing": "Preparing message...",
      "cancel": "Cancel",
      "preparing_error": "Error preparing message, please retry!"
    },
    "signature": {
      "waiting": "Waiting for signature...",
      "verifying": "Verifying signature...",
      "signing_error": "Error signing message, please retry!",
      "verifying_error": "Error verifying signature, please retry!",
      "oops_error": "Oops, something went wrong!"
    }
  },

  "connect": {
    "label": "Connect",
    "title": "Connect a Wallet",
    "new_to_ethereum": {
      "description": "New to Ethereum wallets?",
      "learn_more": {
        "label": "Learn More"
      }
    },
    "learn_more": {
      "label": "Learn more"
    },
    "recent": "Recent",
    "status": {
      "opening": "Opening %{wallet}...",
      "connecting": "Connecting",
      "connect_mobile": "Continue in %{wallet}",
      "not_installed": "%{wallet} is not installed",
      "not_available": "%{wallet} is not available",
      "confirm": "Confirm connection in the extension",
      "confirm_mobile": "Accept connection request in the wallet"
    },
    "secondary_action": {
      "get": {
        "description": "Don't have %{wallet}?",
        "label": "GET"
      },
      "install": {
        "label": "INSTALL"
      },
      "retry": {
        "label": "RETRY"
      }
    },
    "walletconnect": {
      "description": {
        "full": "Need the official WalletConnect modal?",
        "compact": "Need the WalletConnect modal?"
      },
      "open": {
        "label": "OPEN"
      }
    }
  },

  "connect_scan": {
    "title": "Scan with %{wallet}",
    "fallback_title": "Scan with your phone"
  },

  "connector_group": {
    "recommended": "Recommended",
    "other": "Other",
    "popular": "Popular",
    "more": "More",
    "others": "Others"
  },

  "get": {
    "title": "Get a Wallet",
    "action": {
      "label": "GET"
    },
    "mobile": {
      "description": "Mobile Wallet"
    },
    "extension": {
      "description": "Browser Extension"
    },
    "mobile_and_extension": {
      "description": "Mobile Wallet and Extension"
    },
    "mobile_and_desktop": {
      "description": "Mobile and Desktop Wallet"
    },
    "looking_for": {
      "title": "Not what you're looking for?",
      "mobile": {
        "description": "Select a wallet on the main screen to get started with a different wallet provider."
      },
      "desktop": {
        "compact_description": "Select a wallet on the main screen to get started with a different wallet provider.",
        "wide_description": "Select a wallet on the left to get started with a different wallet provider."
      }
    }
  },

  "get_options": {
    "title": "Get started with %{wallet}",
    "short_title": "Get %{wallet}",
    "mobile": {
      "title": "%{wallet} for Mobile",
      "description": "Use the mobile wallet to explore the world of Ethereum.",
      "download": {
        "label": "Get the app"
      }
    },
    "extension": {
      "title": "%{wallet} for %{browser}",
      "description": "Access your wallet right from your favorite web browser.",
      "download": {
        "label": "Add to %{browser}"
      }
    },
    "desktop": {
      "title": "%{wallet} for %{platform}",
      "description": "Access your wallet natively from your powerful desktop.",
      "download": {
        "label": "Add to %{platform}"
      }
    }
  },

  "get_mobile": {
    "title": "Install %{wallet}",
    "description": "Scan with your phone to download on iOS or Android",
    "continue": {
      "label": "Continue"
    }
  },

  "get_instructions": {
    "mobile": {
      "connect": {
        "label": "Connect"
      },
      "learn_more": {
        "label": "Learn More"
      }
    },
    "extension": {
      "refresh": {
        "label": "Refresh"
      },
      "learn_more": {
        "label": "Learn More"
      }
    },
    "desktop": {
      "connect": {
        "label": "Connect"
      },
      "learn_more": {
        "label": "Learn More"
      }
    }
  },

  "chains": {
    "title": "Switch Networks",
    "wrong_network": "Wrong network detected, switch or disconnect to continue.",
    "confirm": "Confirm in Wallet",
    "switching_not_supported": "Your wallet does not support switching networks from %{appName}. Try switching networks from within your wallet instead.",
    "switching_not_supported_fallback": "Your wallet does not support switching networks from this app. Try switching networks from within your wallet instead.",
    "disconnect": "Disconnect",
    "connected": "Connected"
  },

  "profile": {
    "disconnect": {
      "label": "Disconnect"
    },
    "copy_address": {
      "label": "Copy Address",
      "copied": "Copied!"
    },
    "explorer": {
      "label": "View more on explorer"
    },
    "transactions": {
      "description": "%{appName} transactions will appear here...",
      "description_fallback": "Your transactions will appear here...",
      "recent": {
        "title": "Recent Transactions"
      },
      "clear": {
        "label": "Clear All"
      }
    }
  },

  "wallet_connectors": {
    "argent": {
      "qr_code": {
        "step1": {
          "description": "Put Argent on your home screen for faster access to your wallet.",
          "title": "Open the Argent app"
        },
        "step2": {
          "description": "Create a wallet and username, or import an existing wallet.",
          "title": "Create or Import a Wallet"
        },
        "step3": {
          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
          "title": "Tap the Scan QR button"
        }
      }
    },

    "bifrost": {
      "qr_code": {
        "step1": {
          "description": "We recommend putting Bifrost Wallet on your home screen for quicker access.",
          "title": "Open the Bifrost Wallet app"
        },
        "step2": {
          "description": "Create or import a wallet using your recovery phrase.",
          "title": "Create or Import a Wallet"
        },
        "step3": {
          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
          "title": "Tap the scan button"
        }
      }
    },

    "bitget": {
      "qr_code": {
        "step1": {
          "description": "We recommend putting Bitget Wallet on your home screen for quicker access.",
          "title": "Open the Bitget Wallet app"
        },
        "step2": {
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
          "title": "Create or Import a Wallet"
        },
        "step3": {
          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
          "title": "Tap the scan button"
        }
      },

      "extension": {
        "step1": {
          "description": "We recommend pinning Bitget Wallet to your taskbar for quicker access to your wallet.",
          "title": "Install the Bitget Wallet extension"
        },
        "step2": {
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
          "title": "Create or Import a Wallet"
        },
        "step3": {
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
          "title": "Refresh your browser"
        }
      }
    },

    "bitski": {
      "extension": {
        "step1": {
          "description": "We recommend pinning Bitski to your taskbar for quicker access to your wallet.",
          "title": "Install the Bitski extension"
        },
        "step2": {
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
          "title": "Create or Import a Wallet"
        },
        "step3": {
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
          "title": "Refresh your browser"
        }
      }
    },

    "coin98": {
      "qr_code": {
        "step1": {
          "description": "We recommend putting Coin98 Wallet on your home screen for faster access to your wallet.",
          "title": "Open the Coin98 Wallet app"
        },
        "step2": {
          "description": "You can easily backup your wallet using our backup feature on your phone.",
          "title": "Create or Import a Wallet"
        },
        "step3": {
          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
          "title": "Tap the WalletConnect button"
        }
      },

      "extension": {
        "step1": {
          "description": "Click at the top right of your browser and pin Coin98 Wallet for easy access.",
          "title": "Install the Coin98 Wallet extension"
        },
        "step2": {
          "description": "Create a new wallet or import an existing one.",
          "title": "Create or Import a wallet"
        },
        "step3": {
          "description": "Once you set up Coin98 Wallet, click below to refresh the browser and load up the extension.",
          "title": "Refresh your browser"
        }
      }
    },

    "coinbase": {
      "qr_code": {
        "step1": {
          "description": "We recommend putting Coinbase Wallet on your home screen for quicker access.",
          "title": "Open the Coinbase Wallet app"
        },
        "step2": {
          "description": "You can easily backup your wallet using the cloud backup feature.",
          "title": "Create or Import a Wallet"
        },
        "step3": {
          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
          "title": "Tap the scan button"
        }
      },

      "extension": {
        "step1": {
          "description": "We recommend pinning Coinbase Wallet to your taskbar for quicker access to your wallet.",
          "title": "Install the Coinbase Wallet extension"
        },
        "step2": {
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
          "title": "Create or Import a Wallet"
        },
        "step3": {
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
          "title": "Refresh your browser"
        }
      }
    },

    "core": {
      "qr_code": {
        "step1": {
          "description": "We recommend putting Core on your home screen for faster access to your wallet.",
          "title": "Open the Core app"
        },
        "step2": {
          "description": "You can easily backup your wallet using our backup feature on your phone.",
          "title": "Create or Import a Wallet"
        },
        "step3": {
          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
          "title": "Tap the WalletConnect button"
        }
      },

      "extension": {
        "step1": {
          "description": "We recommend pinning Core to your taskbar for quicker access to your wallet.",
          "title": "Install the Core extension"
        },
        "step2": {
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
          "title": "Create or Import a Wallet"
        },
        "step3": {
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
          "title": "Refresh your browser"
        }
      }
    },

    "fox": {
      "qr_code": {
        "step1": {
          "description": "We recommend putting FoxWallet on your home screen for quicker access.",
          "title": "Open the FoxWallet app"
        },
        "step2": {
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
          "title": "Create or Import a Wallet"
        },
        "step3": {
          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
          "title": "Tap the scan button"
        }
      }
    },

    "frontier": {
      "qr_code": {
        "step1": {
          "description": "We recommend putting Frontier Wallet on your home screen for quicker access.",
          "title": "Open the Frontier Wallet app"
        },
        "step2": {
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
          "title": "Create or Import a Wallet"
        },
        "step3": {
          "description": "After you scan, a connection prompt will appear for you to connect your wallet.",
          "title": "Tap the scan button"
        }
      },

      "extension": {
        "step1": {
          "description": "We recommend pinning Frontier Wallet to your taskbar for quicker access to your wallet.",
          "title": "Install the Frontier Wallet extension"
        },
        "step2": {
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
          "title": "Create or Import a Wallet"
        },
        "step3": {
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
          "title": "Refresh your browser"
        }
      }
    },

    "im_token": {
      "qr_code": {
        "step1": {
          "title": "Open the imToken app",
          "description": "Put imToken app on your home screen for faster access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Create a new wallet or import an existing one."
        },
        "step3": {
          "title": "Tap Scanner Icon in top right corner",
          "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."
        }
      }
    },

    "metamask": {
      "qr_code": {
        "step1": {
          "title": "Open the MetaMask app",
          "description": "We recommend putting MetaMask on your home screen for quicker access."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Tap the scan button",
          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
        }
      },

      "extension": {
        "step1": {
          "title": "Install the MetaMask extension",
          "description": "We recommend pinning MetaMask to your taskbar for quicker access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
        }
      }
    },

    "okx": {
      "qr_code": {
        "step1": {
          "title": "Open the OKX Wallet app",
          "description": "We recommend putting OKX Wallet on your home screen for quicker access."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Tap the scan button",
          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
        }
      },

      "extension": {
        "step1": {
          "title": "Install the OKX Wallet extension",
          "description": "We recommend pinning OKX Wallet to your taskbar for quicker access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
        }
      }
    },

    "omni": {
      "qr_code": {
        "step1": {
          "title": "Open the Omni app",
          "description": "Add Omni to your home screen for faster access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Create a new wallet or import an existing one."
        },
        "step3": {
          "title": "Tap the QR icon and scan",
          "description": "Tap the QR icon on your home screen, scan the code and confirm the prompt to connect."
        }
      }
    },

    "token_pocket": {
      "qr_code": {
        "step1": {
          "title": "Open the TokenPocket app",
          "description": "We recommend putting TokenPocket on your home screen for quicker access."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Tap the scan button",
          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
        }
      },

      "extension": {
        "step1": {
          "title": "Install the TokenPocket extension",
          "description": "We recommend pinning TokenPocket to your taskbar for quicker access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
        }
      }
    },

    "trust": {
      "qr_code": {
        "step1": {
          "title": "Open the Trust Wallet app",
          "description": "Put Trust Wallet on your home screen for faster access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Create a new wallet or import an existing one."
        },
        "step3": {
          "title": "Tap WalletConnect in Settings",
          "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."
        }
      },

      "extension": {
        "step1": {
          "title": "Install the Trust Wallet extension",
          "description": "Click at the top right of your browser and pin Trust Wallet for easy access."
        },
        "step2": {
          "title": "Create or Import a wallet",
          "description": "Create a new wallet or import an existing one."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up Trust Wallet, click below to refresh the browser and load up the extension."
        }
      }
    },

    "uniswap": {
      "qr_code": {
        "step1": {
          "title": "Open the Uniswap app",
          "description": "Add Uniswap Wallet to your home screen for faster access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Create a new wallet or import an existing one."
        },
        "step3": {
          "title": "Tap the QR icon and scan",
          "description": "Tap the QR icon on your homescreen, scan the code and confirm the prompt to connect."
        }
      }
    },

    "zerion": {
      "qr_code": {
        "step1": {
          "title": "Open the Zerion app",
          "description": "We recommend putting Zerion on your home screen for quicker access."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Tap the scan button",
          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
        }
      },

      "extension": {
        "step1": {
          "title": "Install the Zerion extension",
          "description": "We recommend pinning Zerion to your taskbar for quicker access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
        }
      }
    },

    "rainbow": {
      "qr_code": {
        "step1": {
          "title": "Open the Rainbow app",
          "description": "We recommend putting Rainbow on your home screen for faster access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "You can easily backup your wallet using our backup feature on your phone."
        },
        "step3": {
          "title": "Tap the scan button",
          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
        }
      }
    },

    "enkrypt": {
      "extension": {
        "step1": {
          "description": "We recommend pinning Enkrypt Wallet to your taskbar for quicker access to your wallet.",
          "title": "Install the Enkrypt Wallet extension"
        },
        "step2": {
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
          "title": "Create or Import a Wallet"
        },
        "step3": {
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
          "title": "Refresh your browser"
        }
      }
    },

    "frame": {
      "extension": {
        "step1": {
          "description": "We recommend pinning Frame to your taskbar for quicker access to your wallet.",
          "title": "Install Frame & the companion extension"
        },
        "step2": {
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone.",
          "title": "Create or Import a Wallet"
        },
        "step3": {
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension.",
          "title": "Refresh your browser"
        }
      }
    },

    "one_key": {
      "extension": {
        "step1": {
          "title": "Install the OneKey Wallet extension",
          "description": "We recommend pinning OneKey Wallet to your taskbar for quicker access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
        }
      }
    },

    "phantom": {
      "extension": {
        "step1": {
          "title": "Install the Phantom extension",
          "description": "We recommend pinning Phantom to your taskbar for easier access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret recovery phrase with anyone."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
        }
      }
    },

    "rabby": {
      "extension": {
        "step1": {
          "title": "Install the Rabby extension",
          "description": "We recommend pinning Rabby to your taskbar for quicker access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
        }
      }
    },

    "safeheron": {
      "extension": {
        "step1": {
          "title": "Install the Core extension",
          "description": "We recommend pinning Safeheron to your taskbar for quicker access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
        }
      }
    },

    "taho": {
      "extension": {
        "step1": {
          "title": "Install the Taho extension",
          "description": "We recommend pinning Taho to your taskbar for quicker access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
        }
      }
    },

    "talisman": {
      "extension": {
        "step1": {
          "title": "Install the Talisman extension",
          "description": "We recommend pinning Talisman to your taskbar for quicker access to your wallet."
        },
        "step2": {
          "title": "Create or Import an Ethereum Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your recovery phrase with anyone."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
        }
      }
    },

    "xdefi": {
      "extension": {
        "step1": {
          "title": "Install the XDEFI Wallet extension",
          "description": "We recommend pinning XDEFI Wallet to your taskbar for quicker access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
        }
      }
    },

    "zeal": {
      "extension": {
        "step1": {
          "title": "Install the Zeal extension",
          "description": "We recommend pinning Zeal to your taskbar for quicker access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
        }
      }
    },

    "safepal": {
      "extension": {
        "step1": {
          "title": "Install the SafePal Wallet extension",
          "description": "Click at the top right of your browser and pin SafePal Wallet for easy access."
        },
        "step2": {
          "title": "Create or Import a wallet",
          "description": "Create a new wallet or import an existing one."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up SafePal Wallet, click below to refresh the browser and load up the extension."
        }
      },
      "qr_code": {
        "step1": {
          "title": "Open the SafePal Wallet app",
          "description": "Put SafePal Wallet on your home screen for faster access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Create a new wallet or import an existing one."
        },
        "step3": {
          "title": "Tap WalletConnect in Settings",
          "description": "Choose New Connection, then scan the QR code and confirm the prompt to connect."
        }
      }
    },

    "desig": {
      "extension": {
        "step1": {
          "title": "Install the Desig extension",
          "description": "We recommend pinning Desig to your taskbar for easier access to your wallet."
        },
        "step2": {
          "title": "Create a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
        }
      }
    },

    "subwallet": {
      "extension": {
        "step1": {
          "title": "Install the SubWallet extension",
          "description": "We recommend pinning SubWallet to your taskbar for quicker access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your recovery phrase with anyone."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
        }
      },
      "qr_code": {
        "step1": {
          "title": "Open the SubWallet app",
          "description": "We recommend putting SubWallet on your home screen for quicker access."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Tap the scan button",
          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
        }
      }
    },

    "clv": {
      "extension": {
        "step1": {
          "title": "Install the CLV Wallet extension",
          "description": "We recommend pinning CLV Wallet to your taskbar for quicker access to your wallet."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Refresh your browser",
          "description": "Once you set up your wallet, click below to refresh the browser and load up the extension."
        }
      },
      "qr_code": {
        "step1": {
          "title": "Open the CLV Wallet app",
          "description": "We recommend putting CLV Wallet on your home screen for quicker access."
        },
        "step2": {
          "title": "Create or Import a Wallet",
          "description": "Be sure to back up your wallet using a secure method. Never share your secret phrase with anyone."
        },
        "step3": {
          "title": "Tap the scan button",
          "description": "After you scan, a connection prompt will appear for you to connect your wallet."
        }
      }
    },

    "okto": {
      "qr_code": {
        "step1": {
          "title": "Open the Okto app",
          "description": "Add Okto to your home screen for quick access"
        },
        "step2": {
          "title": "Create an MPC Wallet",
          "description": "Create an account and generate a wallet"
        },
        "step3": {
          "title": "Tap WalletConnect in Settings",
          "description": "Tap the Scan QR icon at the top right and confirm the prompt to connect."
        }
      }
    },

    "ledger": {
      "desktop": {
        "step1": {
          "title": "Open the Ledger Live app",
          "description": "We recommend putting Ledger Live on your home screen for quicker access."
        },
        "step2": {
          "title": "Set up your Ledger",
          "description": "Set up a new Ledger or connect to an existing one."
        },
        "step3": {
          "title": "Connect",
          "description": "A connection prompt will appear for you to connect your wallet."
        }
      },
      "qr_code": {
        "step1": {
          "title": "Open the Ledger Live app",
          "description": "We recommend putting Ledger Live on your home screen for quicker access."
        },
        "step2": {
          "title": "Set up your Ledger",
          "description": "You can either sync with the desktop app or connect your Ledger."
        },
        "step3": {
          "title": "Scan the code",
          "description": "Tap WalletConnect then Switch to Scanner. After you scan, a connection prompt will appear for you to connect your wallet."
        }
      }
    }
  }
}
`;

function CT(t, e) {
  return Object.defineProperty(t, "__recipe__", {
    value: e,
    writable: !1
  }), t
}
var P4 = CT;

function _4(t) {
  var {
    conditions: e
  } = t;
  if (!e) throw new Error("Styles have no conditions");

  function r(n) {
    if (typeof n == "string" || typeof n == "number" || typeof n == "boolean") {
      if (!e.defaultCondition) throw new Error("No default condition");
      return {
        [e.defaultCondition]: n
      }
    }
    if (Array.isArray(n)) {
      if (!("responsiveArray" in e)) throw new Error("Responsive arrays are not supported");
      var i = {};
      for (var s in e.responsiveArray) n[s] != null && (i[e.responsiveArray[s]] = n[s]);
      return i
    }
    return n
  }
  return P4(r, {
    importPath: "@vanilla-extract/sprinkles/createUtils",
    importName: "createNormalizeValueFn",
    args: [{
      conditions: t.conditions
    }]
  })
}

function mT(t) {
  var {
    conditions: e
  } = t;
  if (!e) throw new Error("Styles have no conditions");
  var r = _4(t);

  function n(i, s) {
    if (typeof i == "string" || typeof i == "number" || typeof i == "boolean") {
      if (!e.defaultCondition) throw new Error("No default condition");
      return s(i, e.defaultCondition)
    }
    var o = Array.isArray(i) ? r(i) : i,
      a = {};
    for (var l in o) o[l] != null && (a[l] = s(o[l], l));
    return a
  }
  return P4(n, {
    importPath: "@vanilla-extract/sprinkles/createUtils",
    importName: "createMapValueFn",
    args: [{
      conditions: t.conditions
    }]
  })
}

function gT(t, e) {
  if (typeof t != "object" || t === null) return t;
  var r = t[Symbol.toPrimitive];
  if (r !== void 0) {
    var n = r.call(t, e || "default");
    if (typeof n != "object") return n;
    throw new TypeError("@@toPrimitive must return a primitive value.")
  }
  return (e === "string" ? String : Number)(t)
}

function vT(t) {
  var e = gT(t, "string");
  return typeof e == "symbol" ? e : String(e)
}

function yT(t, e, r) {
  return e = vT(e), e in t ? Object.defineProperty(t, e, {
    value: r,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : t[e] = r, t
}

function Ay(t, e) {
  var r = Object.keys(t);
  if (Object.getOwnPropertySymbols) {
    var n = Object.getOwnPropertySymbols(t);
    e && (n = n.filter(function (i) {
      return Object.getOwnPropertyDescriptor(t, i).enumerable
    })), r.push.apply(r, n)
  }
  return r
}

function Xf(t) {
  for (var e = 1; e < arguments.length; e++) {
    var r = arguments[e] != null ? arguments[e] : {};
    e % 2 ? Ay(Object(r), !0).forEach(function (n) {
      yT(t, n, r[n])
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : Ay(Object(r)).forEach(function (n) {
      Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n))
    })
  }
  return t
}
var wT = t => function () {
    for (var e = arguments.length, r = new Array(e), n = 0; n < e; n++) r[n] = arguments[n];
    var i = Object.assign({}, ...r.map(l => l.styles)),
      s = Object.keys(i),
      o = s.filter(l => "mappings" in i[l]),
      a = l => {
        var u = [],
          c = {},
          d = Xf({}, l),
          f = !1;
        for (var B of o) {
          var h = l[B];
          if (h != null) {
            var g = i[B];
            f = !0;
            for (var y of g.mappings) c[y] = h, d[y] == null && delete d[y]
          }
        }
        var m = f ? Xf(Xf({}, c), d) : l,
          p = function () {
            var x = m[v],
              C = i[v];
            try {
              if (C.mappings) return "continue";
              if (typeof x == "string" || typeof x == "number") u.push(C.values[x].defaultClass);
              else if (Array.isArray(x))
                for (var S = 0; S < x.length; S++) {
                  var A = x[S];
                  if (A != null) {
                    var P = C.responsiveArray[S];
                    u.push(C.values[A].conditions[P])
                  }
                } else
                  for (var _ in x) {
                    var O = x[_];
                    O != null && u.push(C.values[O].conditions[_])
                  }
            } catch (T) {
              throw T
            }
          };
        for (var v in m) var w = p();
        return t(u.join(" "))
      };
    return Object.assign(a, {
      properties: new Set(s)
    })
  },
  bT = t => t,
  DT = function () {
    return wT(bT)(...arguments)
  };

function O4(t) {
  var e, r, n = "";
  if (typeof t == "string" || typeof t == "number") n += t;
  else if (typeof t == "object")
    if (Array.isArray(t)) {
      var i = t.length;
      for (e = 0; e < i; e++) t[e] && (r = O4(t[e])) && (n && (n += " "), n += r)
    } else
      for (r in t) t[r] && (n && (n += " "), n += r);
  return n
}

function I4() {
  for (var t, e, r = 0, n = "", i = arguments.length; r < i; r++)(t = arguments[r]) && (e = O4(t)) && (n && (n += " "), n += e);
  return n
}
var Tr = function () {
  return Tr = Object.assign || function (e) {
    for (var r, n = 1, i = arguments.length; n < i; n++) {
      r = arguments[n];
      for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (e[s] = r[s])
    }
    return e
  }, Tr.apply(this, arguments)
};

function N4(t, e) {
  var r = {};
  for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
  if (t != null && typeof Object.getOwnPropertySymbols == "function")
    for (var i = 0, n = Object.getOwnPropertySymbols(t); i < n.length; i++) e.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[i]) && (r[n[i]] = t[n[i]]);
  return r
}

function xT(t, e, r) {
  for (var n = 0, i = e.length, s; n < i; n++)(s || !(n in e)) && (s || (s = Array.prototype.slice.call(e, 0, n)), s[n] = e[n]);
  return t.concat(s || Array.prototype.slice.call(e))
}
var Nu = "right-scroll-bar-position",
  Tu = "width-before-scroll-bar",
  ET = "with-scroll-bars-hidden",
  ST = "--removed-body-scroll-bar-size";

function Zf(t, e) {
  return typeof t == "function" ? t(e) : t && (t.current = e), t
}

function kT(t, e) {
  var r = k.useState(function () {
    return {
      value: t,
      callback: e,
      facade: {
        get current() {
          return r.value
        },
        set current(n) {
          var i = r.value;
          i !== n && (r.value = n, r.callback(n, i))
        }
      }
    }
  })[0];
  return r.callback = e, r.facade
}
var jT = typeof window < "u" ? k.useLayoutEffect : k.useEffect,
  Py = new WeakMap;

function AT(t, e) {
  var r = kT(null, function (n) {
    return t.forEach(function (i) {
      return Zf(i, n)
    })
  });
  return jT(function () {
    var n = Py.get(r);
    if (n) {
      var i = new Set(n),
        s = new Set(t),
        o = r.current;
      i.forEach(function (a) {
        s.has(a) || Zf(a, null)
      }), s.forEach(function (a) {
        i.has(a) || Zf(a, o)
      })
    }
    Py.set(r, t)
  }, [t]), r
}

function PT(t) {
  return t
}

function _T(t, e) {
  e === void 0 && (e = PT);
  var r = [],
    n = !1,
    i = {
      read: function () {
        if (n) throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
        return r.length ? r[r.length - 1] : t
      },
      useMedium: function (s) {
        var o = e(s, n);
        return r.push(o),
          function () {
            r = r.filter(function (a) {
              return a !== o
            })
          }
      },
      assignSyncMedium: function (s) {
        for (n = !0; r.length;) {
          var o = r;
          r = [], o.forEach(s)
        }
        r = {
          push: function (a) {
            return s(a)
          },
          filter: function () {
            return r
          }
        }
      },
      assignMedium: function (s) {
        n = !0;
        var o = [];
        if (r.length) {
          var a = r;
          r = [], a.forEach(s), o = r
        }
        var l = function () {
            var c = o;
            o = [], c.forEach(s)
          },
          u = function () {
            return Promise.resolve().then(l)
          };
        u(), r = {
          push: function (c) {
            o.push(c), u()
          },
          filter: function (c) {
            return o = o.filter(c), r
          }
        }
      }
    };
  return i
}

function OT(t) {
  t === void 0 && (t = {});
  var e = _T(null);
  return e.options = Tr({
    async: !0,
    ssr: !1
  }, t), e
}
var T4 = function (t) {
  var e = t.sideCar,
    r = N4(t, ["sideCar"]);
  if (!e) throw new Error("Sidecar: please provide `sideCar` property to import the right car");
  var n = e.read();
  if (!n) throw new Error("Sidecar medium not found");
  return k.createElement(n, Tr({}, r))
};
T4.isSideCarExport = !0;

function IT(t, e) {
  return t.useMedium(e), T4
}
var R4 = OT(),
  eB = function () {},
  _d = k.forwardRef(function (t, e) {
    var r = k.useRef(null),
      n = k.useState({
        onScrollCapture: eB,
        onWheelCapture: eB,
        onTouchMoveCapture: eB
      }),
      i = n[0],
      s = n[1],
      o = t.forwardProps,
      a = t.children,
      l = t.className,
      u = t.removeScrollBar,
      c = t.enabled,
      d = t.shards,
      f = t.sideCar,
      B = t.noIsolation,
      h = t.inert,
      g = t.allowPinchZoom,
      y = t.as,
      m = y === void 0 ? "div" : y,
      p = t.gapMode,
      v = N4(t, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]),
      w = f,
      D = AT([r, e]),
      x = Tr(Tr({}, v), i);
    return k.createElement(k.Fragment, null, c && k.createElement(w, {
      sideCar: R4,
      removeScrollBar: u,
      shards: d,
      noIsolation: B,
      inert: h,
      setCallbacks: s,
      allowPinchZoom: !!g,
      lockRef: r,
      gapMode: p
    }), o ? k.cloneElement(k.Children.only(a), Tr(Tr({}, x), {
      ref: D
    })) : k.createElement(m, Tr({}, x, {
      className: l,
      ref: D
    }), a))
  });
_d.defaultProps = {
  enabled: !0,
  removeScrollBar: !0,
  inert: !1
};
_d.classNames = {
  fullWidth: Tu,
  zeroRight: Nu
};
var NT = function () {
  if (typeof __webpack_nonce__ < "u") return __webpack_nonce__
};

function TT() {
  if (!document) return null;
  var t = document.createElement("style");
  t.type = "text/css";
  var e = NT();
  return e && t.setAttribute("nonce", e), t
}

function RT(t, e) {
  t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e))
}

function FT(t) {
  var e = document.head || document.getElementsByTagName("head")[0];
  e.appendChild(t)
}
var MT = function () {
    var t = 0,
      e = null;
    return {
      add: function (r) {
        t == 0 && (e = TT()) && (RT(e, r), FT(e)), t++
      },
      remove: function () {
        t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null)
      }
    }
  },
  LT = function () {
    var t = MT();
    return function (e, r) {
      k.useEffect(function () {
        return t.add(e),
          function () {
            t.remove()
          }
      }, [e && r])
    }
  },
  F4 = function () {
    var t = LT(),
      e = function (r) {
        var n = r.styles,
          i = r.dynamic;
        return t(n, i), null
      };
    return e
  },
  UT = {
    left: 0,
    top: 0,
    right: 0,
    gap: 0
  },
  tB = function (t) {
    return parseInt(t || "", 10) || 0
  },
  zT = function (t) {
    var e = window.getComputedStyle(document.body),
      r = e[t === "padding" ? "paddingLeft" : "marginLeft"],
      n = e[t === "padding" ? "paddingTop" : "marginTop"],
      i = e[t === "padding" ? "paddingRight" : "marginRight"];
    return [tB(r), tB(n), tB(i)]
  },
  WT = function (t) {
    if (t === void 0 && (t = "margin"), typeof window > "u") return UT;
    var e = zT(t),
      r = document.documentElement.clientWidth,
      n = window.innerWidth;
    return {
      left: e[0],
      top: e[1],
      right: e[2],
      gap: Math.max(0, n - r + e[2] - e[0])
    }
  },
  $T = F4(),
  ps = "data-scroll-locked",
  HT = function (t, e, r, n) {
    var i = t.left,
      s = t.top,
      o = t.right,
      a = t.gap;
    return r === void 0 && (r = "margin"), `
  .`.concat(ET, ` {
   overflow: hidden `).concat(n, `;
   padding-right: `).concat(a, "px ").concat(n, `;
  }
  body[`).concat(ps, `] {
    overflow: hidden `).concat(n, `;
    overscroll-behavior: contain;
    `).concat([e && "position: relative ".concat(n, ";"), r === "margin" && `
    padding-left: `.concat(i, `px;
    padding-top: `).concat(s, `px;
    padding-right: `).concat(o, `px;
    margin-left:0;
    margin-top:0;
    margin-right: `).concat(a, "px ").concat(n, `;
    `), r === "padding" && "padding-right: ".concat(a, "px ").concat(n, ";")].filter(Boolean).join(""), `
  }
  
  .`).concat(Nu, ` {
    right: `).concat(a, "px ").concat(n, `;
  }
  
  .`).concat(Tu, ` {
    margin-right: `).concat(a, "px ").concat(n, `;
  }
  
  .`).concat(Nu, " .").concat(Nu, ` {
    right: 0 `).concat(n, `;
  }
  
  .`).concat(Tu, " .").concat(Tu, ` {
    margin-right: 0 `).concat(n, `;
  }
  
  body[`).concat(ps, `] {
    `).concat(ST, ": ").concat(a, `px;
  }
`)
  },
  _y = function () {
    var t = parseInt(document.body.getAttribute(ps) || "0", 10);
    return isFinite(t) ? t : 0
  },
  GT = function () {
    k.useEffect(function () {
      return document.body.setAttribute(ps, (_y() + 1).toString()),
        function () {
          var t = _y() - 1;
          t <= 0 ? document.body.removeAttribute(ps) : document.body.setAttribute(ps, t.toString())
        }
    }, [])
  },
  qT = function (t) {
    var e = t.noRelative,
      r = t.noImportant,
      n = t.gapMode,
      i = n === void 0 ? "margin" : n;
    GT();
    var s = k.useMemo(function () {
      return WT(i)
    }, [i]);
    return k.createElement($T, {
      styles: HT(s, !e, i, r ? "" : "!important")
    })
  },
  Rp = !1;
if (typeof window < "u") try {
  var Gl = Object.defineProperty({}, "passive", {
    get: function () {
      return Rp = !0, !0
    }
  });
  window.addEventListener("test", Gl, Gl), window.removeEventListener("test", Gl, Gl)
} catch {
  Rp = !1
}
var Ri = Rp ? {
    passive: !1
  } : !1,
  VT = function (t) {
    return t.tagName === "TEXTAREA"
  },
  M4 = function (t, e) {
    var r = window.getComputedStyle(t);
    return r[e] !== "hidden" && !(r.overflowY === r.overflowX && !VT(t) && r[e] === "visible")
  },
  KT = function (t) {
    return M4(t, "overflowY")
  },
  QT = function (t) {
    return M4(t, "overflowX")
  },
  Oy = function (t, e) {
    var r = e.ownerDocument,
      n = e;
    do {
      typeof ShadowRoot < "u" && n instanceof ShadowRoot && (n = n.host);
      var i = L4(t, n);
      if (i) {
        var s = U4(t, n),
          o = s[1],
          a = s[2];
        if (o > a) return !0
      }
      n = n.parentNode
    } while (n && n !== r.body);
    return !1
  },
  JT = function (t) {
    var e = t.scrollTop,
      r = t.scrollHeight,
      n = t.clientHeight;
    return [e, r, n]
  },
  YT = function (t) {
    var e = t.scrollLeft,
      r = t.scrollWidth,
      n = t.clientWidth;
    return [e, r, n]
  },
  L4 = function (t, e) {
    return t === "v" ? KT(e) : QT(e)
  },
  U4 = function (t, e) {
    return t === "v" ? JT(e) : YT(e)
  },
  XT = function (t, e) {
    return t === "h" && e === "rtl" ? -1 : 1
  },
  ZT = function (t, e, r, n, i) {
    var s = XT(t, window.getComputedStyle(e).direction),
      o = s * n,
      a = r.target,
      l = e.contains(a),
      u = !1,
      c = o > 0,
      d = 0,
      f = 0;
    do {
      var B = U4(t, a),
        h = B[0],
        g = B[1],
        y = B[2],
        m = g - y - s * h;
      (h || m) && L4(t, a) && (d += m, f += h), a instanceof ShadowRoot ? a = a.host : a = a.parentNode
    } while (!l && a !== document.body || l && (e.contains(a) || e === a));
    return (c && (Math.abs(d) < 1 || !i) || !c && (Math.abs(f) < 1 || !i)) && (u = !0), u
  },
  ql = function (t) {
    return "changedTouches" in t ? [t.changedTouches[0].clientX, t.changedTouches[0].clientY] : [0, 0]
  },
  Iy = function (t) {
    return [t.deltaX, t.deltaY]
  },
  Ny = function (t) {
    return t && "current" in t ? t.current : t
  },
  eR = function (t, e) {
    return t[0] === e[0] && t[1] === e[1]
  },
  tR = function (t) {
    return `
  .block-interactivity-`.concat(t, ` {pointer-events: none;}
  .allow-interactivity-`).concat(t, ` {pointer-events: all;}
`)
  },
  rR = 0,
  Fi = [];

function nR(t) {
  var e = k.useRef([]),
    r = k.useRef([0, 0]),
    n = k.useRef(),
    i = k.useState(rR++)[0],
    s = k.useState(F4)[0],
    o = k.useRef(t);
  k.useEffect(function () {
    o.current = t
  }, [t]), k.useEffect(function () {
    if (t.inert) {
      document.body.classList.add("block-interactivity-".concat(i));
      var g = xT([t.lockRef.current], (t.shards || []).map(Ny)).filter(Boolean);
      return g.forEach(function (y) {
          return y.classList.add("allow-interactivity-".concat(i))
        }),
        function () {
          document.body.classList.remove("block-interactivity-".concat(i)), g.forEach(function (y) {
            return y.classList.remove("allow-interactivity-".concat(i))
          })
        }
    }
  }, [t.inert, t.lockRef.current, t.shards]);
  var a = k.useCallback(function (g, y) {
      if ("touches" in g && g.touches.length === 2) return !o.current.allowPinchZoom;
      var m = ql(g),
        p = r.current,
        v = "deltaX" in g ? g.deltaX : p[0] - m[0],
        w = "deltaY" in g ? g.deltaY : p[1] - m[1],
        D, x = g.target,
        C = Math.abs(v) > Math.abs(w) ? "h" : "v";
      if ("touches" in g && C === "h" && x.type === "range") return !1;
      var S = Oy(C, x);
      if (!S) return !0;
      if (S ? D = C : (D = C === "v" ? "h" : "v", S = Oy(C, x)), !S) return !1;
      if (!n.current && "changedTouches" in g && (v || w) && (n.current = D), !D) return !0;
      var A = n.current || D;
      return ZT(A, y, g, A === "h" ? v : w, !0)
    }, []),
    l = k.useCallback(function (g) {
      var y = g;
      if (!(!Fi.length || Fi[Fi.length - 1] !== s)) {
        var m = "deltaY" in y ? Iy(y) : ql(y),
          p = e.current.filter(function (D) {
            return D.name === y.type && (D.target === y.target || y.target === D.shadowParent) && eR(D.delta, m)
          })[0];
        if (p && p.should) {
          y.cancelable && y.preventDefault();
          return
        }
        if (!p) {
          var v = (o.current.shards || []).map(Ny).filter(Boolean).filter(function (D) {
              return D.contains(y.target)
            }),
            w = v.length > 0 ? a(y, v[0]) : !o.current.noIsolation;
          w && y.cancelable && y.preventDefault()
        }
      }
    }, []),
    u = k.useCallback(function (g, y, m, p) {
      var v = {
        name: g,
        delta: y,
        target: m,
        should: p,
        shadowParent: iR(m)
      };
      e.current.push(v), setTimeout(function () {
        e.current = e.current.filter(function (w) {
          return w !== v
        })
      }, 1)
    }, []),
    c = k.useCallback(function (g) {
      r.current = ql(g), n.current = void 0
    }, []),
    d = k.useCallback(function (g) {
      u(g.type, Iy(g), g.target, a(g, t.lockRef.current))
    }, []),
    f = k.useCallback(function (g) {
      u(g.type, ql(g), g.target, a(g, t.lockRef.current))
    }, []);
  k.useEffect(function () {
    return Fi.push(s), t.setCallbacks({
        onScrollCapture: d,
        onWheelCapture: d,
        onTouchMoveCapture: f
      }), document.addEventListener("wheel", l, Ri), document.addEventListener("touchmove", l, Ri), document.addEventListener("touchstart", c, Ri),
      function () {
        Fi = Fi.filter(function (g) {
          return g !== s
        }), document.removeEventListener("wheel", l, Ri), document.removeEventListener("touchmove", l, Ri), document.removeEventListener("touchstart", c, Ri)
      }
  }, []);
  var B = t.removeScrollBar,
    h = t.inert;
  return k.createElement(k.Fragment, null, h ? k.createElement(s, {
    styles: tR(i)
  }) : null, B ? k.createElement(qT, {
    gapMode: t.gapMode
  }) : null)
}

function iR(t) {
  for (var e = null; t !== null;) t instanceof ShadowRoot && (e = t.host, t = t.host), t = t.parentNode;
  return e
}
const sR = IT(R4, nR);
var z4 = k.forwardRef(function (t, e) {
  return k.createElement(_d, Tr({}, t, {
    ref: e,
    sideCar: sR
  }))
});
z4.classNames = _d.classNames;

function Ty(t) {
  var e = t.match(/^var\((.*)\)$/);
  return e ? e[1] : t
}

function oR(t, e) {
  var r = t;
  for (var n of e) {
    if (!(n in r)) throw new Error("Path ".concat(e.join(" -> "), " does not exist in object"));
    r = r[n]
  }
  return r
}

function W4(t, e) {
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [],
    n = {};
  for (var i in t) {
    var s = t[i],
      o = [...r, i];
    typeof s == "string" || typeof s == "number" || s == null ? n[i] = e(s, o) : typeof s == "object" && !Array.isArray(s) ? n[i] = W4(s, e, o) : console.warn('Skipping invalid key "'.concat(o.join("."), '". Should be a string, number, null or object. Received: "').concat(Array.isArray(s) ? "Array" : typeof s, '"'))
  }
  return n
}

function Ry(t, e) {
  var r = {};
  if (typeof e == "object") {
    var n = t;
    W4(e, (a, l) => {
      if (a != null) {
        var u = oR(n, l);
        r[Ty(u)] = String(a)
      }
    })
  } else {
    var i = t;
    for (var s in i) {
      var o = i[s];
      o != null && (r[Ty(s)] = o)
    }
  }
  return Object.defineProperty(r, "toString", {
    value: function () {
      return Object.keys(this).map(l => "".concat(l, ":").concat(this[l])).join(";")
    },
    writable: !1
  }), r
}
var Fp = {
  exports: {}
};
(function (t, e) {
  (function (r, n) {
    var i = "1.0.38",
      s = "",
      o = "?",
      a = "function",
      l = "undefined",
      u = "object",
      c = "string",
      d = "major",
      f = "model",
      B = "name",
      h = "type",
      g = "vendor",
      y = "version",
      m = "architecture",
      p = "console",
      v = "mobile",
      w = "tablet",
      D = "smarttv",
      x = "wearable",
      C = "embedded",
      S = 500,
      A = "Amazon",
      P = "Apple",
      _ = "ASUS",
      O = "BlackBerry",
      T = "Browser",
      F = "Chrome",
      G = "Edge",
      z = "Firefox",
      L = "Google",
      I = "Huawei",
      H = "LG",
      N = "Microsoft",
      V = "Motorola",
      K = "Opera",
      M = "Samsung",
      X = "Sharp",
      te = "Sony",
      ne = "Xiaomi",
      ce = "Zebra",
      fe = "Facebook",
      pe = "Chromium OS",
      me = "Mac OS",
      be = function (re, oe) {
        var Z = {};
        for (var ue in re) oe[ue] && oe[ue].length % 2 === 0 ? Z[ue] = oe[ue].concat(re[ue]) : Z[ue] = re[ue];
        return Z
      },
      ve = function (re) {
        for (var oe = {}, Z = 0; Z < re.length; Z++) oe[re[Z].toUpperCase()] = re[Z];
        return oe
      },
      Ee = function (re, oe) {
        return typeof re === c ? zt(oe).indexOf(zt(re)) !== -1 : !1
      },
      zt = function (re) {
        return re.toLowerCase()
      },
      cn = function (re) {
        return typeof re === c ? re.replace(/[^\d\.]/g, s).split(".")[0] : n
      },
      Wr = function (re, oe) {
        if (typeof re === c) return re = re.replace(/^\s\s*/, s), typeof oe === l ? re : re.substring(0, S)
      },
      Ar = function (re, oe) {
        for (var Z = 0, ue, Ae, Se, se, Q, ke; Z < oe.length && !Q;) {
          var qe = oe[Z],
            Ze = oe[Z + 1];
          for (ue = Ae = 0; ue < qe.length && !Q && qe[ue];)
            if (Q = qe[ue++].exec(re), Q)
              for (Se = 0; Se < Ze.length; Se++) ke = Q[++Ae], se = Ze[Se], typeof se === u && se.length > 0 ? se.length === 2 ? typeof se[1] == a ? this[se[0]] = se[1].call(this, ke) : this[se[0]] = se[1] : se.length === 3 ? typeof se[1] === a && !(se[1].exec && se[1].test) ? this[se[0]] = ke ? se[1].call(this, ke, se[2]) : n : this[se[0]] = ke ? ke.replace(se[1], se[2]) : n : se.length === 4 && (this[se[0]] = ke ? se[3].call(this, ke.replace(se[1], se[2])) : n) : this[se] = ke || n;
          Z += 2
        }
      },
      ti = function (re, oe) {
        for (var Z in oe)
          if (typeof oe[Z] === u && oe[Z].length > 0) {
            for (var ue = 0; ue < oe[Z].length; ue++)
              if (Ee(oe[Z][ue], re)) return Z === o ? n : Z
          } else if (Ee(oe[Z], re)) return Z === o ? n : Z;
        return re
      },
      yl = {
        "1.0": "/8",
        "1.2": "/1",
        "1.3": "/3",
        "2.0": "/412",
        "2.0.2": "/416",
        "2.0.3": "/417",
        "2.0.4": "/419",
        "?": "/"
      },
      Ye = {
        ME: "4.90",
        "NT 3.11": "NT3.51",
        "NT 4.0": "NT4.0",
        2e3: "NT 5.0",
        XP: ["NT 5.1", "NT 5.2"],
        Vista: "NT 6.0",
        7: "NT 6.1",
        8: "NT 6.2",
        "8.1": "NT 6.3",
        10: ["NT 6.4", "NT 10.0"],
        RT: "ARM"
      },
      Xe = {
        browser: [
          [/\b(?:crmo|crios)\/([\w\.]+)/i],
          [y, [B, "Chrome"]],
          [/edg(?:e|ios|a)?\/([\w\.]+)/i],
          [y, [B, "Edge"]],
          [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],
          [B, y],
          [/opios[\/ ]+([\w\.]+)/i],
          [y, [B, K + " Mini"]],
          [/\bop(?:rg)?x\/([\w\.]+)/i],
          [y, [B, K + " GX"]],
          [/\bopr\/([\w\.]+)/i],
          [y, [B, K]],
          [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],
          [y, [B, "Baidu"]],
          [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i],
          [B, y],
          [/\bddg\/([\w\.]+)/i],
          [y, [B, "DuckDuckGo"]],
          [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],
          [y, [B, "UC" + T]],
          [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i],
          [y, [B, "WeChat"]],
          [/konqueror\/([\w\.]+)/i],
          [y, [B, "Konqueror"]],
          [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],
          [y, [B, "IE"]],
          [/ya(?:search)?browser\/([\w\.]+)/i],
          [y, [B, "Yandex"]],
          [/slbrowser\/([\w\.]+)/i],
          [y, [B, "Smart Lenovo " + T]],
          [/(avast|avg)\/([\w\.]+)/i],
          [
            [B, /(.+)/, "$1 Secure " + T], y
          ],
          [/\bfocus\/([\w\.]+)/i],
          [y, [B, z + " Focus"]],
          [/\bopt\/([\w\.]+)/i],
          [y, [B, K + " Touch"]],
          [/coc_coc\w+\/([\w\.]+)/i],
          [y, [B, "Coc Coc"]],
          [/dolfin\/([\w\.]+)/i],
          [y, [B, "Dolphin"]],
          [/coast\/([\w\.]+)/i],
          [y, [B, K + " Coast"]],
          [/miuibrowser\/([\w\.]+)/i],
          [y, [B, "MIUI " + T]],
          [/fxios\/([-\w\.]+)/i],
          [y, [B, z]],
          [/\bqihu|(qi?ho?o?|360)browser/i],
          [
            [B, "360 " + T]
          ],
          [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],
          [
            [B, /(.+)/, "$1 " + T], y
          ],
          [/samsungbrowser\/([\w\.]+)/i],
          [y, [B, M + " Internet"]],
          [/(comodo_dragon)\/([\w\.]+)/i],
          [
            [B, /_/g, " "], y
          ],
          [/metasr[\/ ]?([\d\.]+)/i],
          [y, [B, "Sogou Explorer"]],
          [/(sogou)mo\w+\/([\d\.]+)/i],
          [
            [B, "Sogou Mobile"], y
          ],
          [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],
          [B, y],
          [/(lbbrowser)/i, /\[(linkedin)app\]/i],
          [B],
          [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],
          [
            [B, fe], y
          ],
          [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],
          [B, y],
          [/\bgsa\/([\w\.]+) .*safari\//i],
          [y, [B, "GSA"]],
          [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],
          [y, [B, "TikTok"]],
          [/headlesschrome(?:\/([\w\.]+)| )/i],
          [y, [B, F + " Headless"]],
          [/ wv\).+(chrome)\/([\w\.]+)/i],
          [
            [B, F + " WebView"], y
          ],
          [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],
          [y, [B, "Android " + T]],
          [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],
          [B, y],
          [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],
          [y, [B, "Mobile Safari"]],
          [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],
          [y, B],
          [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],
          [B, [y, ti, yl]],
          [/(webkit|khtml)\/([\w\.]+)/i],
          [B, y],
          [/(navigator|netscape\d?)\/([-\w\.]+)/i],
          [
            [B, "Netscape"], y
          ],
          [/mobile vr; rv:([\w\.]+)\).+firefox/i],
          [y, [B, z + " Reality"]],
          [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i],
          [B, y],
          [/(cobalt)\/([\w\.]+)/i],
          [B, [y, /master.|lts./, ""]]
        ],
        cpu: [
          [/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],
          [
            [m, "amd64"]
          ],
          [/(ia32(?=;))/i],
          [
            [m, zt]
          ],
          [/((?:i[346]|x)86)[;\)]/i],
          [
            [m, "ia32"]
          ],
          [/\b(aarch64|arm(v?8e?l?|_?64))\b/i],
          [
            [m, "arm64"]
          ],
          [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],
          [
            [m, "armhf"]
          ],
          [/windows (ce|mobile); ppc;/i],
          [
            [m, "arm"]
          ],
          [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],
          [
            [m, /ower/, s, zt]
          ],
          [/(sun4\w)[;\)]/i],
          [
            [m, "sparc"]
          ],
          [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],
          [
            [m, zt]
          ]
        ],
        device: [
          [/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],
          [f, [g, M],
            [h, w]
          ],
          [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i],
          [f, [g, M],
            [h, v]
          ],
          [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],
          [f, [g, P],
            [h, v]
          ],
          [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i],
          [f, [g, P],
            [h, w]
          ],
          [/(macintosh);/i],
          [f, [g, P]],
          [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],
          [f, [g, X],
            [h, v]
          ],
          [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],
          [f, [g, I],
            [h, w]
          ],
          [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],
          [f, [g, I],
            [h, v]
          ],
          [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],
          [
            [f, /_/g, " "],
            [g, ne],
            [h, v]
          ],
          [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],
          [
            [f, /_/g, " "],
            [g, ne],
            [h, w]
          ],
          [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],
          [f, [g, "OPPO"],
            [h, v]
          ],
          [/\b(opd2\d{3}a?) bui/i],
          [f, [g, "OPPO"],
            [h, w]
          ],
          [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i],
          [f, [g, "Vivo"],
            [h, v]
          ],
          [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],
          [f, [g, "Realme"],
            [h, v]
          ],
          [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],
          [f, [g, V],
            [h, v]
          ],
          [/\b(mz60\d|xoom[2 ]{0,2}) build\//i],
          [f, [g, V],
            [h, w]
          ],
          [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],
          [f, [g, H],
            [h, w]
          ],
          [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i],
          [f, [g, H],
            [h, v]
          ],
          [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],
          [f, [g, "Lenovo"],
            [h, w]
          ],
          [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i],
          [
            [f, /_/g, " "],
            [g, "Nokia"],
            [h, v]
          ],
          [/(pixel c)\b/i],
          [f, [g, L],
            [h, w]
          ],
          [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],
          [f, [g, L],
            [h, v]
          ],
          [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],
          [f, [g, te],
            [h, v]
          ],
          [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i],
          [
            [f, "Xperia Tablet"],
            [g, te],
            [h, w]
          ],
          [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],
          [f, [g, "OnePlus"],
            [h, v]
          ],
          [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i],
          [f, [g, A],
            [h, w]
          ],
          [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],
          [
            [f, /(.+)/g, "Fire Phone $1"],
            [g, A],
            [h, v]
          ],
          [/(playbook);[-\w\),; ]+(rim)/i],
          [f, g, [h, w]],
          [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i],
          [f, [g, O],
            [h, v]
          ],
          [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],
          [f, [g, _],
            [h, w]
          ],
          [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],
          [f, [g, _],
            [h, v]
          ],
          [/(nexus 9)/i],
          [f, [g, "HTC"],
            [h, w]
          ],
          [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],
          [g, [f, /_/g, " "],
            [h, v]
          ],
          [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],
          [f, [g, "Acer"],
            [h, w]
          ],
          [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i],
          [f, [g, "Meizu"],
            [h, v]
          ],
          [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],
          [f, [g, "Ulefone"],
            [h, v]
          ],
          [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i],
          [g, f, [h, v]],
          [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i],
          [g, f, [h, w]],
          [/(surface duo)/i],
          [f, [g, N],
            [h, w]
          ],
          [/droid [\d\.]+; (fp\du?)(?: b|\))/i],
          [f, [g, "Fairphone"],
            [h, v]
          ],
          [/(u304aa)/i],
          [f, [g, "AT&T"],
            [h, v]
          ],
          [/\bsie-(\w*)/i],
          [f, [g, "Siemens"],
            [h, v]
          ],
          [/\b(rct\w+) b/i],
          [f, [g, "RCA"],
            [h, w]
          ],
          [/\b(venue[\d ]{2,7}) b/i],
          [f, [g, "Dell"],
            [h, w]
          ],
          [/\b(q(?:mv|ta)\w+) b/i],
          [f, [g, "Verizon"],
            [h, w]
          ],
          [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],
          [f, [g, "Barnes & Noble"],
            [h, w]
          ],
          [/\b(tm\d{3}\w+) b/i],
          [f, [g, "NuVision"],
            [h, w]
          ],
          [/\b(k88) b/i],
          [f, [g, "ZTE"],
            [h, w]
          ],
          [/\b(nx\d{3}j) b/i],
          [f, [g, "ZTE"],
            [h, v]
          ],
          [/\b(gen\d{3}) b.+49h/i],
          [f, [g, "Swiss"],
            [h, v]
          ],
          [/\b(zur\d{3}) b/i],
          [f, [g, "Swiss"],
            [h, w]
          ],
          [/\b((zeki)?tb.*\b) b/i],
          [f, [g, "Zeki"],
            [h, w]
          ],
          [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i],
          [
            [g, "Dragon Touch"], f, [h, w]
          ],
          [/\b(ns-?\w{0,9}) b/i],
          [f, [g, "Insignia"],
            [h, w]
          ],
          [/\b((nxa|next)-?\w{0,9}) b/i],
          [f, [g, "NextBook"],
            [h, w]
          ],
          [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],
          [
            [g, "Voice"], f, [h, v]
          ],
          [/\b(lvtel\-)?(v1[12]) b/i],
          [
            [g, "LvTel"], f, [h, v]
          ],
          [/\b(ph-1) /i],
          [f, [g, "Essential"],
            [h, v]
          ],
          [/\b(v(100md|700na|7011|917g).*\b) b/i],
          [f, [g, "Envizen"],
            [h, w]
          ],
          [/\b(trio[-\w\. ]+) b/i],
          [f, [g, "MachSpeed"],
            [h, w]
          ],
          [/\btu_(1491) b/i],
          [f, [g, "Rotor"],
            [h, w]
          ],
          [/(shield[\w ]+) b/i],
          [f, [g, "Nvidia"],
            [h, w]
          ],
          [/(sprint) (\w+)/i],
          [g, f, [h, v]],
          [/(kin\.[onetw]{3})/i],
          [
            [f, /\./g, " "],
            [g, N],
            [h, v]
          ],
          [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],
          [f, [g, ce],
            [h, w]
          ],
          [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],
          [f, [g, ce],
            [h, v]
          ],
          [/smart-tv.+(samsung)/i],
          [g, [h, D]],
          [/hbbtv.+maple;(\d+)/i],
          [
            [f, /^/, "SmartTV"],
            [g, M],
            [h, D]
          ],
          [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],
          [
            [g, H],
            [h, D]
          ],
          [/(apple) ?tv/i],
          [g, [f, P + " TV"],
            [h, D]
          ],
          [/crkey/i],
          [
            [f, F + "cast"],
            [g, L],
            [h, D]
          ],
          [/droid.+aft(\w+)( bui|\))/i],
          [f, [g, A],
            [h, D]
          ],
          [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i],
          [f, [g, X],
            [h, D]
          ],
          [/(bravia[\w ]+)( bui|\))/i],
          [f, [g, te],
            [h, D]
          ],
          [/(mitv-\w{5}) bui/i],
          [f, [g, ne],
            [h, D]
          ],
          [/Hbbtv.*(technisat) (.*);/i],
          [g, f, [h, D]],
          [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],
          [
            [g, Wr],
            [f, Wr],
            [h, D]
          ],
          [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],
          [
            [h, D]
          ],
          [/(ouya)/i, /(nintendo) ([wids3utch]+)/i],
          [g, f, [h, p]],
          [/droid.+; (shield) bui/i],
          [f, [g, "Nvidia"],
            [h, p]
          ],
          [/(playstation [345portablevi]+)/i],
          [f, [g, te],
            [h, p]
          ],
          [/\b(xbox(?: one)?(?!; xbox))[\); ]/i],
          [f, [g, N],
            [h, p]
          ],
          [/((pebble))app/i],
          [g, f, [h, x]],
          [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],
          [f, [g, P],
            [h, x]
          ],
          [/droid.+; (glass) \d/i],
          [f, [g, L],
            [h, x]
          ],
          [/droid.+; (wt63?0{2,3})\)/i],
          [f, [g, ce],
            [h, x]
          ],
          [/(quest( \d| pro)?)/i],
          [f, [g, fe],
            [h, x]
          ],
          [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],
          [g, [h, C]],
          [/(aeobc)\b/i],
          [f, [g, A],
            [h, C]
          ],
          [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],
          [f, [h, v]],
          [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],
          [f, [h, w]],
          [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],
          [
            [h, w]
          ],
          [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],
          [
            [h, v]
          ],
          [/(android[-\w\. ]{0,9});.+buil/i],
          [f, [g, "Generic"]]
        ],
        engine: [
          [/windows.+ edge\/([\w\.]+)/i],
          [y, [B, G + "HTML"]],
          [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],
          [y, [B, "Blink"]],
          [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i],
          [B, y],
          [/rv\:([\w\.]{1,9})\b.+(gecko)/i],
          [y, B]
        ],
        os: [
          [/microsoft (windows) (vista|xp)/i],
          [B, y],
          [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],
          [B, [y, ti, Ye]],
          [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],
          [
            [y, ti, Ye],
            [B, "Windows"]
          ],
          [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i],
          [
            [y, /_/g, "."],
            [B, "iOS"]
          ],
          [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i],
          [
            [B, me],
            [y, /_/g, "."]
          ],
          [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],
          [y, B],
          [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i],
          [B, y],
          [/\(bb(10);/i],
          [y, [B, O]],
          [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],
          [y, [B, "Symbian"]],
          [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],
          [y, [B, z + " OS"]],
          [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],
          [y, [B, "webOS"]],
          [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],
          [y, [B, "watchOS"]],
          [/crkey\/([\d\.]+)/i],
          [y, [B, F + "cast"]],
          [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],
          [
            [B, pe], y
          ],
          [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i],
          [B, y],
          [/(sunos) ?([\w\.\d]*)/i],
          [
            [B, "Solaris"], y
          ],
          [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i],
          [B, y]
        ]
      },
      De = function (re, oe) {
        if (typeof re === u && (oe = re, re = n), !(this instanceof De)) return new De(re, oe).getResult();
        var Z = typeof r !== l && r.navigator ? r.navigator : n,
          ue = re || (Z && Z.userAgent ? Z.userAgent : s),
          Ae = Z && Z.userAgentData ? Z.userAgentData : n,
          Se = oe ? be(Xe, oe) : Xe,
          se = Z && Z.userAgent == ue;
        return this.getBrowser = function () {
          var Q = {};
          return Q[B] = n, Q[y] = n, Ar.call(Q, ue, Se.browser), Q[d] = cn(Q[y]), se && Z && Z.brave && typeof Z.brave.isBrave == a && (Q[B] = "Brave"), Q
        }, this.getCPU = function () {
          var Q = {};
          return Q[m] = n, Ar.call(Q, ue, Se.cpu), Q
        }, this.getDevice = function () {
          var Q = {};
          return Q[g] = n, Q[f] = n, Q[h] = n, Ar.call(Q, ue, Se.device), se && !Q[h] && Ae && Ae.mobile && (Q[h] = v), se && Q[f] == "Macintosh" && Z && typeof Z.standalone !== l && Z.maxTouchPoints && Z.maxTouchPoints > 2 && (Q[f] = "iPad", Q[h] = w), Q
        }, this.getEngine = function () {
          var Q = {};
          return Q[B] = n, Q[y] = n, Ar.call(Q, ue, Se.engine), Q
        }, this.getOS = function () {
          var Q = {};
          return Q[B] = n, Q[y] = n, Ar.call(Q, ue, Se.os), se && !Q[B] && Ae && Ae.platform && Ae.platform != "Unknown" && (Q[B] = Ae.platform.replace(/chrome os/i, pe).replace(/macos/i, me)), Q
        }, this.getResult = function () {
          return {
            ua: this.getUA(),
            browser: this.getBrowser(),
            engine: this.getEngine(),
            os: this.getOS(),
            device: this.getDevice(),
            cpu: this.getCPU()
          }
        }, this.getUA = function () {
          return ue
        }, this.setUA = function (Q) {
          return ue = typeof Q === c && Q.length > S ? Wr(Q, S) : Q, this
        }, this.setUA(ue), this
      };
    De.VERSION = i, De.BROWSER = ve([B, y, d]), De.CPU = ve([m]), De.DEVICE = ve([f, g, h, p, v, D, w, x, C]), De.ENGINE = De.OS = ve([B, y]), t.exports && (e = t.exports = De), e.UAParser = De;
    var Re = typeof r !== l && (r.jQuery || r.Zepto);
    if (Re && !Re.ua) {
      var He = new De;
      Re.ua = He.getResult(), Re.ua.get = function () {
        return He.getUA()
      }, Re.ua.set = function (re) {
        He.setUA(re);
        var oe = He.getResult();
        for (var Z in oe) Re.ua[Z] = oe[Z]
      }
    }
  })(typeof window == "object" ? window : G7)
})(Fp, Fp.exports);
var aR = Fp.exports,
  Za = {},
  lR = function () {
    return typeof Promise == "function" && Promise.prototype && Promise.prototype.then
  },
  $4 = {},
  Xt = {};
let pm;
const uR = [0, 26, 44, 70, 100, 134, 172, 196, 242, 292, 346, 404, 466, 532, 581, 655, 733, 815, 901, 991, 1085, 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921, 2051, 2185, 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, 3706];
Xt.getSymbolSize = function (e) {
  if (!e) throw new Error('"version" cannot be null or undefined');
  if (e < 1 || e > 40) throw new Error('"version" should be in range from 1 to 40');
  return e * 4 + 17
};
Xt.getSymbolTotalCodewords = function (e) {
  return uR[e]
};
Xt.getBCHDigit = function (t) {
  let e = 0;
  for (; t !== 0;) e++, t >>>= 1;
  return e
};
Xt.setToSJISFunction = function (e) {
  if (typeof e != "function") throw new Error('"toSJISFunc" is not a valid function.');
  pm = e
};
Xt.isKanjiModeEnabled = function () {
  return typeof pm < "u"
};
Xt.toSJIS = function (e) {
  return pm(e)
};
var Od = {};
(function (t) {
  t.L = {
    bit: 1
  }, t.M = {
    bit: 0
  }, t.Q = {
    bit: 3
  }, t.H = {
    bit: 2
  };

  function e(r) {
    if (typeof r != "string") throw new Error("Param is not a string");
    switch (r.toLowerCase()) {
      case "l":
      case "low":
        return t.L;
      case "m":
      case "medium":
        return t.M;
      case "q":
      case "quartile":
        return t.Q;
      case "h":
      case "high":
        return t.H;
      default:
        throw new Error("Unknown EC Level: " + r)
    }
  }
  t.isValid = function (n) {
    return n && typeof n.bit < "u" && n.bit >= 0 && n.bit < 4
  }, t.from = function (n, i) {
    if (t.isValid(n)) return n;
    try {
      return e(n)
    } catch {
      return i
    }
  }
})(Od);

function H4() {
  this.buffer = [], this.length = 0
}
H4.prototype = {
  get: function (t) {
    const e = Math.floor(t / 8);
    return (this.buffer[e] >>> 7 - t % 8 & 1) === 1
  },
  put: function (t, e) {
    for (let r = 0; r < e; r++) this.putBit((t >>> e - r - 1 & 1) === 1)
  },
  getLengthInBits: function () {
    return this.length
  },
  putBit: function (t) {
    const e = Math.floor(this.length / 8);
    this.buffer.length <= e && this.buffer.push(0), t && (this.buffer[e] |= 128 >>> this.length % 8), this.length++
  }
};
var cR = H4;

function el(t) {
  if (!t || t < 1) throw new Error("BitMatrix size must be defined and greater than 0");
  this.size = t, this.data = new Uint8Array(t * t), this.reservedBit = new Uint8Array(t * t)
}
el.prototype.set = function (t, e, r, n) {
  const i = t * this.size + e;
  this.data[i] = r, n && (this.reservedBit[i] = !0)
};
el.prototype.get = function (t, e) {
  return this.data[t * this.size + e]
};
el.prototype.xor = function (t, e, r) {
  this.data[t * this.size + e] ^= r
};
el.prototype.isReserved = function (t, e) {
  return this.reservedBit[t * this.size + e]
};
var dR = el,
  G4 = {};
(function (t) {
  const e = Xt.getSymbolSize;
  t.getRowColCoords = function (n) {
    if (n === 1) return [];
    const i = Math.floor(n / 7) + 2,
      s = e(n),
      o = s === 145 ? 26 : Math.ceil((s - 13) / (2 * i - 2)) * 2,
      a = [s - 7];
    for (let l = 1; l < i - 1; l++) a[l] = a[l - 1] - o;
    return a.push(6), a.reverse()
  }, t.getPositions = function (n) {
    const i = [],
      s = t.getRowColCoords(n),
      o = s.length;
    for (let a = 0; a < o; a++)
      for (let l = 0; l < o; l++) a === 0 && l === 0 || a === 0 && l === o - 1 || a === o - 1 && l === 0 || i.push([s[a], s[l]]);
    return i
  }
})(G4);
var q4 = {};
const fR = Xt.getSymbolSize,
  Fy = 7;
q4.getPositions = function (e) {
  const r = fR(e);
  return [
    [0, 0],
    [r - Fy, 0],
    [0, r - Fy]
  ]
};
var V4 = {};
(function (t) {
  t.Patterns = {
    PATTERN000: 0,
    PATTERN001: 1,
    PATTERN010: 2,
    PATTERN011: 3,
    PATTERN100: 4,
    PATTERN101: 5,
    PATTERN110: 6,
    PATTERN111: 7
  };
  const e = {
    N1: 3,
    N2: 3,
    N3: 40,
    N4: 10
  };
  t.isValid = function (i) {
    return i != null && i !== "" && !isNaN(i) && i >= 0 && i <= 7
  }, t.from = function (i) {
    return t.isValid(i) ? parseInt(i, 10) : void 0
  }, t.getPenaltyN1 = function (i) {
    const s = i.size;
    let o = 0,
      a = 0,
      l = 0,
      u = null,
      c = null;
    for (let d = 0; d < s; d++) {
      a = l = 0, u = c = null;
      for (let f = 0; f < s; f++) {
        let B = i.get(d, f);
        B === u ? a++ : (a >= 5 && (o += e.N1 + (a - 5)), u = B, a = 1), B = i.get(f, d), B === c ? l++ : (l >= 5 && (o += e.N1 + (l - 5)), c = B, l = 1)
      }
      a >= 5 && (o += e.N1 + (a - 5)), l >= 5 && (o += e.N1 + (l - 5))
    }
    return o
  }, t.getPenaltyN2 = function (i) {
    const s = i.size;
    let o = 0;
    for (let a = 0; a < s - 1; a++)
      for (let l = 0; l < s - 1; l++) {
        const u = i.get(a, l) + i.get(a, l + 1) + i.get(a + 1, l) + i.get(a + 1, l + 1);
        (u === 4 || u === 0) && o++
      }
    return o * e.N2
  }, t.getPenaltyN3 = function (i) {
    const s = i.size;
    let o = 0,
      a = 0,
      l = 0;
    for (let u = 0; u < s; u++) {
      a = l = 0;
      for (let c = 0; c < s; c++) a = a << 1 & 2047 | i.get(u, c), c >= 10 && (a === 1488 || a === 93) && o++, l = l << 1 & 2047 | i.get(c, u), c >= 10 && (l === 1488 || l === 93) && o++
    }
    return o * e.N3
  }, t.getPenaltyN4 = function (i) {
    let s = 0;
    const o = i.data.length;
    for (let l = 0; l < o; l++) s += i.data[l];
    return Math.abs(Math.ceil(s * 100 / o / 5) - 10) * e.N4
  };

  function r(n, i, s) {
    switch (n) {
      case t.Patterns.PATTERN000:
        return (i + s) % 2 === 0;
      case t.Patterns.PATTERN001:
        return i % 2 === 0;
      case t.Patterns.PATTERN010:
        return s % 3 === 0;
      case t.Patterns.PATTERN011:
        return (i + s) % 3 === 0;
      case t.Patterns.PATTERN100:
        return (Math.floor(i / 2) + Math.floor(s / 3)) % 2 === 0;
      case t.Patterns.PATTERN101:
        return i * s % 2 + i * s % 3 === 0;
      case t.Patterns.PATTERN110:
        return (i * s % 2 + i * s % 3) % 2 === 0;
      case t.Patterns.PATTERN111:
        return (i * s % 3 + (i + s) % 2) % 2 === 0;
      default:
        throw new Error("bad maskPattern:" + n)
    }
  }
  t.applyMask = function (i, s) {
    const o = s.size;
    for (let a = 0; a < o; a++)
      for (let l = 0; l < o; l++) s.isReserved(l, a) || s.xor(l, a, r(i, l, a))
  }, t.getBestMask = function (i, s) {
    const o = Object.keys(t.Patterns).length;
    let a = 0,
      l = 1 / 0;
    for (let u = 0; u < o; u++) {
      s(u), t.applyMask(u, i);
      const c = t.getPenaltyN1(i) + t.getPenaltyN2(i) + t.getPenaltyN3(i) + t.getPenaltyN4(i);
      t.applyMask(u, i), c < l && (l = c, a = u)
    }
    return a
  }
})(V4);
var Id = {};
const jn = Od,
  Vl = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 2, 4, 1, 2, 4, 4, 2, 4, 4, 4, 2, 4, 6, 5, 2, 4, 6, 6, 2, 5, 8, 8, 4, 5, 8, 8, 4, 5, 8, 11, 4, 8, 10, 11, 4, 9, 12, 16, 4, 9, 16, 16, 6, 10, 12, 18, 6, 10, 17, 16, 6, 11, 16, 19, 6, 13, 18, 21, 7, 14, 21, 25, 8, 16, 20, 25, 8, 17, 23, 25, 9, 17, 23, 34, 9, 18, 25, 30, 10, 20, 27, 32, 12, 21, 29, 35, 12, 23, 34, 37, 12, 25, 34, 40, 13, 26, 35, 42, 14, 28, 38, 45, 15, 29, 40, 48, 16, 31, 43, 51, 17, 33, 45, 54, 18, 35, 48, 57, 19, 37, 51, 60, 19, 38, 53, 63, 20, 40, 56, 66, 21, 43, 59, 70, 22, 45, 62, 74, 24, 47, 65, 77, 25, 49, 68, 81],
  Kl = [7, 10, 13, 17, 10, 16, 22, 28, 15, 26, 36, 44, 20, 36, 52, 64, 26, 48, 72, 88, 36, 64, 96, 112, 40, 72, 108, 130, 48, 88, 132, 156, 60, 110, 160, 192, 72, 130, 192, 224, 80, 150, 224, 264, 96, 176, 260, 308, 104, 198, 288, 352, 120, 216, 320, 384, 132, 240, 360, 432, 144, 280, 408, 480, 168, 308, 448, 532, 180, 338, 504, 588, 196, 364, 546, 650, 224, 416, 600, 700, 224, 442, 644, 750, 252, 476, 690, 816, 270, 504, 750, 900, 300, 560, 810, 960, 312, 588, 870, 1050, 336, 644, 952, 1110, 360, 700, 1020, 1200, 390, 728, 1050, 1260, 420, 784, 1140, 1350, 450, 812, 1200, 1440, 480, 868, 1290, 1530, 510, 924, 1350, 1620, 540, 980, 1440, 1710, 570, 1036, 1530, 1800, 570, 1064, 1590, 1890, 600, 1120, 1680, 1980, 630, 1204, 1770, 2100, 660, 1260, 1860, 2220, 720, 1316, 1950, 2310, 750, 1372, 2040, 2430];
Id.getBlocksCount = function (e, r) {
  switch (r) {
    case jn.L:
      return Vl[(e - 1) * 4 + 0];
    case jn.M:
      return Vl[(e - 1) * 4 + 1];
    case jn.Q:
      return Vl[(e - 1) * 4 + 2];
    case jn.H:
      return Vl[(e - 1) * 4 + 3];
    default:
      return
  }
};
Id.getTotalCodewordsCount = function (e, r) {
  switch (r) {
    case jn.L:
      return Kl[(e - 1) * 4 + 0];
    case jn.M:
      return Kl[(e - 1) * 4 + 1];
    case jn.Q:
      return Kl[(e - 1) * 4 + 2];
    case jn.H:
      return Kl[(e - 1) * 4 + 3];
    default:
      return
  }
};
var K4 = {},
  Nd = {};
const Uo = new Uint8Array(512),
  Ac = new Uint8Array(256);
(function () {
  let e = 1;
  for (let r = 0; r < 255; r++) Uo[r] = e, Ac[e] = r, e <<= 1, e & 256 && (e ^= 285);
  for (let r = 255; r < 512; r++) Uo[r] = Uo[r - 255]
})();
Nd.log = function (e) {
  if (e < 1) throw new Error("log(" + e + ")");
  return Ac[e]
};
Nd.exp = function (e) {
  return Uo[e]
};
Nd.mul = function (e, r) {
  return e === 0 || r === 0 ? 0 : Uo[Ac[e] + Ac[r]]
};
(function (t) {
  const e = Nd;
  t.mul = function (n, i) {
    const s = new Uint8Array(n.length + i.length - 1);
    for (let o = 0; o < n.length; o++)
      for (let a = 0; a < i.length; a++) s[o + a] ^= e.mul(n[o], i[a]);
    return s
  }, t.mod = function (n, i) {
    let s = new Uint8Array(n);
    for (; s.length - i.length >= 0;) {
      const o = s[0];
      for (let l = 0; l < i.length; l++) s[l] ^= e.mul(i[l], o);
      let a = 0;
      for (; a < s.length && s[a] === 0;) a++;
      s = s.slice(a)
    }
    return s
  }, t.generateECPolynomial = function (n) {
    let i = new Uint8Array([1]);
    for (let s = 0; s < n; s++) i = t.mul(i, new Uint8Array([1, e.exp(s)]));
    return i
  }
})(K4);
const Q4 = K4;

function Cm(t) {
  this.genPoly = void 0, this.degree = t, this.degree && this.initialize(this.degree)
}
Cm.prototype.initialize = function (e) {
  this.degree = e, this.genPoly = Q4.generateECPolynomial(this.degree)
};
Cm.prototype.encode = function (e) {
  if (!this.genPoly) throw new Error("Encoder not initialized");
  const r = new Uint8Array(e.length + this.degree);
  r.set(e);
  const n = Q4.mod(r, this.genPoly),
    i = this.degree - n.length;
  if (i > 0) {
    const s = new Uint8Array(this.degree);
    return s.set(n, i), s
  }
  return n
};
var BR = Cm,
  J4 = {},
  Zn = {},
  mm = {};
mm.isValid = function (e) {
  return !isNaN(e) && e >= 1 && e <= 40
};
var zr = {};
const Y4 = "[0-9]+",
  hR = "[A-Z $%*+\\-./:]+";
let xa = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
xa = xa.replace(/u/g, "\\u");
const pR = "(?:(?![A-Z0-9 $%*+\\-./:]|" + xa + `)(?:.|[\r
]))+`;
zr.KANJI = new RegExp(xa, "g");
zr.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
zr.BYTE = new RegExp(pR, "g");
zr.NUMERIC = new RegExp(Y4, "g");
zr.ALPHANUMERIC = new RegExp(hR, "g");
const CR = new RegExp("^" + xa + "$"),
  mR = new RegExp("^" + Y4 + "$"),
  gR = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
zr.testKanji = function (e) {
  return CR.test(e)
};
zr.testNumeric = function (e) {
  return mR.test(e)
};
zr.testAlphanumeric = function (e) {
  return gR.test(e)
};
(function (t) {
  const e = mm,
    r = zr;
  t.NUMERIC = {
    id: "Numeric",
    bit: 1,
    ccBits: [10, 12, 14]
  }, t.ALPHANUMERIC = {
    id: "Alphanumeric",
    bit: 2,
    ccBits: [9, 11, 13]
  }, t.BYTE = {
    id: "Byte",
    bit: 4,
    ccBits: [8, 16, 16]
  }, t.KANJI = {
    id: "Kanji",
    bit: 8,
    ccBits: [8, 10, 12]
  }, t.MIXED = {
    bit: -1
  }, t.getCharCountIndicator = function (s, o) {
    if (!s.ccBits) throw new Error("Invalid mode: " + s);
    if (!e.isValid(o)) throw new Error("Invalid version: " + o);
    return o >= 1 && o < 10 ? s.ccBits[0] : o < 27 ? s.ccBits[1] : s.ccBits[2]
  }, t.getBestModeForData = function (s) {
    return r.testNumeric(s) ? t.NUMERIC : r.testAlphanumeric(s) ? t.ALPHANUMERIC : r.testKanji(s) ? t.KANJI : t.BYTE
  }, t.toString = function (s) {
    if (s && s.id) return s.id;
    throw new Error("Invalid mode")
  }, t.isValid = function (s) {
    return s && s.bit && s.ccBits
  };

  function n(i) {
    if (typeof i != "string") throw new Error("Param is not a string");
    switch (i.toLowerCase()) {
      case "numeric":
        return t.NUMERIC;
      case "alphanumeric":
        return t.ALPHANUMERIC;
      case "kanji":
        return t.KANJI;
      case "byte":
        return t.BYTE;
      default:
        throw new Error("Unknown mode: " + i)
    }
  }
  t.from = function (s, o) {
    if (t.isValid(s)) return s;
    try {
      return n(s)
    } catch {
      return o
    }
  }
})(Zn);
(function (t) {
  const e = Xt,
    r = Id,
    n = Od,
    i = Zn,
    s = mm,
    o = 7973,
    a = e.getBCHDigit(o);

  function l(f, B, h) {
    for (let g = 1; g <= 40; g++)
      if (B <= t.getCapacity(g, h, f)) return g
  }

  function u(f, B) {
    return i.getCharCountIndicator(f, B) + 4
  }

  function c(f, B) {
    let h = 0;
    return f.forEach(function (g) {
      const y = u(g.mode, B);
      h += y + g.getBitsLength()
    }), h
  }

  function d(f, B) {
    for (let h = 1; h <= 40; h++)
      if (c(f, h) <= t.getCapacity(h, B, i.MIXED)) return h
  }
  t.from = function (B, h) {
    return s.isValid(B) ? parseInt(B, 10) : h
  }, t.getCapacity = function (B, h, g) {
    if (!s.isValid(B)) throw new Error("Invalid QR Code version");
    typeof g > "u" && (g = i.BYTE);
    const y = e.getSymbolTotalCodewords(B),
      m = r.getTotalCodewordsCount(B, h),
      p = (y - m) * 8;
    if (g === i.MIXED) return p;
    const v = p - u(g, B);
    switch (g) {
      case i.NUMERIC:
        return Math.floor(v / 10 * 3);
      case i.ALPHANUMERIC:
        return Math.floor(v / 11 * 2);
      case i.KANJI:
        return Math.floor(v / 13);
      case i.BYTE:
      default:
        return Math.floor(v / 8)
    }
  }, t.getBestVersionForData = function (B, h) {
    let g;
    const y = n.from(h, n.M);
    if (Array.isArray(B)) {
      if (B.length > 1) return d(B, y);
      if (B.length === 0) return 1;
      g = B[0]
    } else g = B;
    return l(g.mode, g.getLength(), y)
  }, t.getEncodedBits = function (B) {
    if (!s.isValid(B) || B < 7) throw new Error("Invalid QR Code version");
    let h = B << 12;
    for (; e.getBCHDigit(h) - a >= 0;) h ^= o << e.getBCHDigit(h) - a;
    return B << 12 | h
  }
})(J4);
var X4 = {};
const Mp = Xt,
  Z4 = 1335,
  vR = 21522,
  My = Mp.getBCHDigit(Z4);
X4.getEncodedBits = function (e, r) {
  const n = e.bit << 3 | r;
  let i = n << 10;
  for (; Mp.getBCHDigit(i) - My >= 0;) i ^= Z4 << Mp.getBCHDigit(i) - My;
  return (n << 10 | i) ^ vR
};
var e8 = {};
const yR = Zn;

function ks(t) {
  this.mode = yR.NUMERIC, this.data = t.toString()
}
ks.getBitsLength = function (e) {
  return 10 * Math.floor(e / 3) + (e % 3 ? e % 3 * 3 + 1 : 0)
};
ks.prototype.getLength = function () {
  return this.data.length
};
ks.prototype.getBitsLength = function () {
  return ks.getBitsLength(this.data.length)
};
ks.prototype.write = function (e) {
  let r, n, i;
  for (r = 0; r + 3 <= this.data.length; r += 3) n = this.data.substr(r, 3), i = parseInt(n, 10), e.put(i, 10);
  const s = this.data.length - r;
  s > 0 && (n = this.data.substr(r), i = parseInt(n, 10), e.put(i, s * 3 + 1))
};
var wR = ks;
const bR = Zn,
  rB = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", " ", "$", "%", "*", "+", "-", ".", "/", ":"];

function js(t) {
  this.mode = bR.ALPHANUMERIC, this.data = t
}
js.getBitsLength = function (e) {
  return 11 * Math.floor(e / 2) + 6 * (e % 2)
};
js.prototype.getLength = function () {
  return this.data.length
};
js.prototype.getBitsLength = function () {
  return js.getBitsLength(this.data.length)
};
js.prototype.write = function (e) {
  let r;
  for (r = 0; r + 2 <= this.data.length; r += 2) {
    let n = rB.indexOf(this.data[r]) * 45;
    n += rB.indexOf(this.data[r + 1]), e.put(n, 11)
  }
  this.data.length % 2 && e.put(rB.indexOf(this.data[r]), 6)
};
var DR = js,
  xR = function (e) {
    for (var r = [], n = e.length, i = 0; i < n; i++) {
      var s = e.charCodeAt(i);
      if (s >= 55296 && s <= 56319 && n > i + 1) {
        var o = e.charCodeAt(i + 1);
        o >= 56320 && o <= 57343 && (s = (s - 55296) * 1024 + o - 56320 + 65536, i += 1)
      }
      if (s < 128) {
        r.push(s);
        continue
      }
      if (s < 2048) {
        r.push(s >> 6 | 192), r.push(s & 63 | 128);
        continue
      }
      if (s < 55296 || s >= 57344 && s < 65536) {
        r.push(s >> 12 | 224), r.push(s >> 6 & 63 | 128), r.push(s & 63 | 128);
        continue
      }
      if (s >= 65536 && s <= 1114111) {
        r.push(s >> 18 | 240), r.push(s >> 12 & 63 | 128), r.push(s >> 6 & 63 | 128), r.push(s & 63 | 128);
        continue
      }
      r.push(239, 191, 189)
    }
    return new Uint8Array(r).buffer
  };
const ER = xR,
  SR = Zn;

function As(t) {
  this.mode = SR.BYTE, typeof t == "string" && (t = ER(t)), this.data = new Uint8Array(t)
}
As.getBitsLength = function (e) {
  return e * 8
};
As.prototype.getLength = function () {
  return this.data.length
};
As.prototype.getBitsLength = function () {
  return As.getBitsLength(this.data.length)
};
As.prototype.write = function (t) {
  for (let e = 0, r = this.data.length; e < r; e++) t.put(this.data[e], 8)
};
var kR = As;
const jR = Zn,
  AR = Xt;

function Ps(t) {
  this.mode = jR.KANJI, this.data = t
}
Ps.getBitsLength = function (e) {
  return e * 13
};
Ps.prototype.getLength = function () {
  return this.data.length
};
Ps.prototype.getBitsLength = function () {
  return Ps.getBitsLength(this.data.length)
};
Ps.prototype.write = function (t) {
  let e;
  for (e = 0; e < this.data.length; e++) {
    let r = AR.toSJIS(this.data[e]);
    if (r >= 33088 && r <= 40956) r -= 33088;
    else if (r >= 57408 && r <= 60351) r -= 49472;
    else throw new Error("Invalid SJIS character: " + this.data[e] + `
Make sure your charset is UTF-8`);
    r = (r >>> 8 & 255) * 192 + (r & 255), t.put(r, 13)
  }
};
var PR = Ps,
  t8 = {
    exports: {}
  };
(function (t) {
  var e = {
    single_source_shortest_paths: function (r, n, i) {
      var s = {},
        o = {};
      o[n] = 0;
      var a = e.PriorityQueue.make();
      a.push(n, 0);
      for (var l, u, c, d, f, B, h, g, y; !a.empty();) {
        l = a.pop(), u = l.value, d = l.cost, f = r[u] || {};
        for (c in f) f.hasOwnProperty(c) && (B = f[c], h = d + B, g = o[c], y = typeof o[c] > "u", (y || g > h) && (o[c] = h, a.push(c, h), s[c] = u))
      }
      if (typeof i < "u" && typeof o[i] > "u") {
        var m = ["Could not find a path from ", n, " to ", i, "."].join("");
        throw new Error(m)
      }
      return s
    },
    extract_shortest_path_from_predecessor_list: function (r, n) {
      for (var i = [], s = n; s;) i.push(s), r[s], s = r[s];
      return i.reverse(), i
    },
    find_path: function (r, n, i) {
      var s = e.single_source_shortest_paths(r, n, i);
      return e.extract_shortest_path_from_predecessor_list(s, i)
    },
    PriorityQueue: {
      make: function (r) {
        var n = e.PriorityQueue,
          i = {},
          s;
        r = r || {};
        for (s in n) n.hasOwnProperty(s) && (i[s] = n[s]);
        return i.queue = [], i.sorter = r.sorter || n.default_sorter, i
      },
      default_sorter: function (r, n) {
        return r.cost - n.cost
      },
      push: function (r, n) {
        var i = {
          value: r,
          cost: n
        };
        this.queue.push(i), this.queue.sort(this.sorter)
      },
      pop: function () {
        return this.queue.shift()
      },
      empty: function () {
        return this.queue.length === 0
      }
    }
  };
  t.exports = e
})(t8);
var _R = t8.exports;
(function (t) {
  const e = Zn,
    r = wR,
    n = DR,
    i = kR,
    s = PR,
    o = zr,
    a = Xt,
    l = _R;

  function u(m) {
    return unescape(encodeURIComponent(m)).length
  }

  function c(m, p, v) {
    const w = [];
    let D;
    for (;
      (D = m.exec(v)) !== null;) w.push({
      data: D[0],
      index: D.index,
      mode: p,
      length: D[0].length
    });
    return w
  }

  function d(m) {
    const p = c(o.NUMERIC, e.NUMERIC, m),
      v = c(o.ALPHANUMERIC, e.ALPHANUMERIC, m);
    let w, D;
    return a.isKanjiModeEnabled() ? (w = c(o.BYTE, e.BYTE, m), D = c(o.KANJI, e.KANJI, m)) : (w = c(o.BYTE_KANJI, e.BYTE, m), D = []), p.concat(v, w, D).sort(function (C, S) {
      return C.index - S.index
    }).map(function (C) {
      return {
        data: C.data,
        mode: C.mode,
        length: C.length
      }
    })
  }

  function f(m, p) {
    switch (p) {
      case e.NUMERIC:
        return r.getBitsLength(m);
      case e.ALPHANUMERIC:
        return n.getBitsLength(m);
      case e.KANJI:
        return s.getBitsLength(m);
      case e.BYTE:
        return i.getBitsLength(m)
    }
  }

  function B(m) {
    return m.reduce(function (p, v) {
      const w = p.length - 1 >= 0 ? p[p.length - 1] : null;
      return w && w.mode === v.mode ? (p[p.length - 1].data += v.data, p) : (p.push(v), p)
    }, [])
  }

  function h(m) {
    const p = [];
    for (let v = 0; v < m.length; v++) {
      const w = m[v];
      switch (w.mode) {
        case e.NUMERIC:
          p.push([w, {
            data: w.data,
            mode: e.ALPHANUMERIC,
            length: w.length
          }, {
            data: w.data,
            mode: e.BYTE,
            length: w.length
          }]);
          break;
        case e.ALPHANUMERIC:
          p.push([w, {
            data: w.data,
            mode: e.BYTE,
            length: w.length
          }]);
          break;
        case e.KANJI:
          p.push([w, {
            data: w.data,
            mode: e.BYTE,
            length: u(w.data)
          }]);
          break;
        case e.BYTE:
          p.push([{
            data: w.data,
            mode: e.BYTE,
            length: u(w.data)
          }])
      }
    }
    return p
  }

  function g(m, p) {
    const v = {},
      w = {
        start: {}
      };
    let D = ["start"];
    for (let x = 0; x < m.length; x++) {
      const C = m[x],
        S = [];
      for (let A = 0; A < C.length; A++) {
        const P = C[A],
          _ = "" + x + A;
        S.push(_), v[_] = {
          node: P,
          lastCount: 0
        }, w[_] = {};
        for (let O = 0; O < D.length; O++) {
          const T = D[O];
          v[T] && v[T].node.mode === P.mode ? (w[T][_] = f(v[T].lastCount + P.length, P.mode) - f(v[T].lastCount, P.mode), v[T].lastCount += P.length) : (v[T] && (v[T].lastCount = P.length), w[T][_] = f(P.length, P.mode) + 4 + e.getCharCountIndicator(P.mode, p))
        }
      }
      D = S
    }
    for (let x = 0; x < D.length; x++) w[D[x]].end = 0;
    return {
      map: w,
      table: v
    }
  }

  function y(m, p) {
    let v;
    const w = e.getBestModeForData(m);
    if (v = e.from(p, w), v !== e.BYTE && v.bit < w.bit) throw new Error('"' + m + '" cannot be encoded with mode ' + e.toString(v) + `.
 Suggested mode is: ` + e.toString(w));
    switch (v === e.KANJI && !a.isKanjiModeEnabled() && (v = e.BYTE), v) {
      case e.NUMERIC:
        return new r(m);
      case e.ALPHANUMERIC:
        return new n(m);
      case e.KANJI:
        return new s(m);
      case e.BYTE:
        return new i(m)
    }
  }
  t.fromArray = function (p) {
    return p.reduce(function (v, w) {
      return typeof w == "string" ? v.push(y(w, null)) : w.data && v.push(y(w.data, w.mode)), v
    }, [])
  }, t.fromString = function (p, v) {
    const w = d(p, a.isKanjiModeEnabled()),
      D = h(w),
      x = g(D, v),
      C = l.find_path(x.map, "start", "end"),
      S = [];
    for (let A = 1; A < C.length - 1; A++) S.push(x.table[C[A]].node);
    return t.fromArray(B(S))
  }, t.rawSplit = function (p) {
    return t.fromArray(d(p, a.isKanjiModeEnabled()))
  }
})(e8);
const Td = Xt,
  nB = Od,
  OR = cR,
  IR = dR,
  NR = G4,
  TR = q4,
  Lp = V4,
  Up = Id,
  RR = BR,
  Pc = J4,
  FR = X4,
  MR = Zn,
  iB = e8;

function LR(t, e) {
  const r = t.size,
    n = TR.getPositions(e);
  for (let i = 0; i < n.length; i++) {
    const s = n[i][0],
      o = n[i][1];
    for (let a = -1; a <= 7; a++)
      if (!(s + a <= -1 || r <= s + a))
        for (let l = -1; l <= 7; l++) o + l <= -1 || r <= o + l || (a >= 0 && a <= 6 && (l === 0 || l === 6) || l >= 0 && l <= 6 && (a === 0 || a === 6) || a >= 2 && a <= 4 && l >= 2 && l <= 4 ? t.set(s + a, o + l, !0, !0) : t.set(s + a, o + l, !1, !0))
  }
}

function UR(t) {
  const e = t.size;
  for (let r = 8; r < e - 8; r++) {
    const n = r % 2 === 0;
    t.set(r, 6, n, !0), t.set(6, r, n, !0)
  }
}

function zR(t, e) {
  const r = NR.getPositions(e);
  for (let n = 0; n < r.length; n++) {
    const i = r[n][0],
      s = r[n][1];
    for (let o = -2; o <= 2; o++)
      for (let a = -2; a <= 2; a++) o === -2 || o === 2 || a === -2 || a === 2 || o === 0 && a === 0 ? t.set(i + o, s + a, !0, !0) : t.set(i + o, s + a, !1, !0)
  }
}

function WR(t, e) {
  const r = t.size,
    n = Pc.getEncodedBits(e);
  let i, s, o;
  for (let a = 0; a < 18; a++) i = Math.floor(a / 3), s = a % 3 + r - 8 - 3, o = (n >> a & 1) === 1, t.set(i, s, o, !0), t.set(s, i, o, !0)
}

function sB(t, e, r) {
  const n = t.size,
    i = FR.getEncodedBits(e, r);
  let s, o;
  for (s = 0; s < 15; s++) o = (i >> s & 1) === 1, s < 6 ? t.set(s, 8, o, !0) : s < 8 ? t.set(s + 1, 8, o, !0) : t.set(n - 15 + s, 8, o, !0), s < 8 ? t.set(8, n - s - 1, o, !0) : s < 9 ? t.set(8, 15 - s - 1 + 1, o, !0) : t.set(8, 15 - s - 1, o, !0);
  t.set(n - 8, 8, 1, !0)
}

function $R(t, e) {
  const r = t.size;
  let n = -1,
    i = r - 1,
    s = 7,
    o = 0;
  for (let a = r - 1; a > 0; a -= 2)
    for (a === 6 && a--;;) {
      for (let l = 0; l < 2; l++)
        if (!t.isReserved(i, a - l)) {
          let u = !1;
          o < e.length && (u = (e[o] >>> s & 1) === 1), t.set(i, a - l, u), s--, s === -1 && (o++, s = 7)
        } if (i += n, i < 0 || r <= i) {
        i -= n, n = -n;
        break
      }
    }
}

function HR(t, e, r) {
  const n = new OR;
  r.forEach(function (l) {
    n.put(l.mode.bit, 4), n.put(l.getLength(), MR.getCharCountIndicator(l.mode, t)), l.write(n)
  });
  const i = Td.getSymbolTotalCodewords(t),
    s = Up.getTotalCodewordsCount(t, e),
    o = (i - s) * 8;
  for (n.getLengthInBits() + 4 <= o && n.put(0, 4); n.getLengthInBits() % 8 !== 0;) n.putBit(0);
  const a = (o - n.getLengthInBits()) / 8;
  for (let l = 0; l < a; l++) n.put(l % 2 ? 17 : 236, 8);
  return GR(n, t, e)
}

function GR(t, e, r) {
  const n = Td.getSymbolTotalCodewords(e),
    i = Up.getTotalCodewordsCount(e, r),
    s = n - i,
    o = Up.getBlocksCount(e, r),
    a = n % o,
    l = o - a,
    u = Math.floor(n / o),
    c = Math.floor(s / o),
    d = c + 1,
    f = u - c,
    B = new RR(f);
  let h = 0;
  const g = new Array(o),
    y = new Array(o);
  let m = 0;
  const p = new Uint8Array(t.buffer);
  for (let C = 0; C < o; C++) {
    const S = C < l ? c : d;
    g[C] = p.slice(h, h + S), y[C] = B.encode(g[C]), h += S, m = Math.max(m, S)
  }
  const v = new Uint8Array(n);
  let w = 0,
    D, x;
  for (D = 0; D < m; D++)
    for (x = 0; x < o; x++) D < g[x].length && (v[w++] = g[x][D]);
  for (D = 0; D < f; D++)
    for (x = 0; x < o; x++) v[w++] = y[x][D];
  return v
}

function qR(t, e, r, n) {
  let i;
  if (Array.isArray(t)) i = iB.fromArray(t);
  else if (typeof t == "string") {
    let u = e;
    if (!u) {
      const c = iB.rawSplit(t);
      u = Pc.getBestVersionForData(c, r)
    }
    i = iB.fromString(t, u || 40)
  } else throw new Error("Invalid data");
  const s = Pc.getBestVersionForData(i, r);
  if (!s) throw new Error("The amount of data is too big to be stored in a QR Code");
  if (!e) e = s;
  else if (e < s) throw new Error(`
The chosen QR Code version cannot contain this amount of data.
Minimum version required to store current data is: ` + s + `.
`);
  const o = HR(e, r, i),
    a = Td.getSymbolSize(e),
    l = new IR(a);
  return LR(l, e), UR(l), zR(l, e), sB(l, r, 0), e >= 7 && WR(l, e), $R(l, o), isNaN(n) && (n = Lp.getBestMask(l, sB.bind(null, l, r))), Lp.applyMask(n, l), sB(l, r, n), {
    modules: l,
    version: e,
    errorCorrectionLevel: r,
    maskPattern: n,
    segments: i
  }
}
$4.create = function (e, r) {
  if (typeof e > "u" || e === "") throw new Error("No input text");
  let n = nB.M,
    i, s;
  return typeof r < "u" && (n = nB.from(r.errorCorrectionLevel, nB.M), i = Pc.from(r.version), s = Lp.from(r.maskPattern), r.toSJISFunc && Td.setToSJISFunction(r.toSJISFunc)), qR(e, i, n, s)
};
var r8 = {},
  gm = {};
(function (t) {
  function e(r) {
    if (typeof r == "number" && (r = r.toString()), typeof r != "string") throw new Error("Color should be defined as hex string");
    let n = r.slice().replace("#", "").split("");
    if (n.length < 3 || n.length === 5 || n.length > 8) throw new Error("Invalid hex color: " + r);
    (n.length === 3 || n.length === 4) && (n = Array.prototype.concat.apply([], n.map(function (s) {
      return [s, s]
    }))), n.length === 6 && n.push("F", "F");
    const i = parseInt(n.join(""), 16);
    return {
      r: i >> 24 & 255,
      g: i >> 16 & 255,
      b: i >> 8 & 255,
      a: i & 255,
      hex: "#" + n.slice(0, 6).join("")
    }
  }
  t.getOptions = function (n) {
    n || (n = {}), n.color || (n.color = {});
    const i = typeof n.margin > "u" || n.margin === null || n.margin < 0 ? 4 : n.margin,
      s = n.width && n.width >= 21 ? n.width : void 0,
      o = n.scale || 4;
    return {
      width: s,
      scale: s ? 4 : o,
      margin: i,
      color: {
        dark: e(n.color.dark || "#000000ff"),
        light: e(n.color.light || "#ffffffff")
      },
      type: n.type,
      rendererOpts: n.rendererOpts || {}
    }
  }, t.getScale = function (n, i) {
    return i.width && i.width >= n + i.margin * 2 ? i.width / (n + i.margin * 2) : i.scale
  }, t.getImageWidth = function (n, i) {
    const s = t.getScale(n, i);
    return Math.floor((n + i.margin * 2) * s)
  }, t.qrToImageData = function (n, i, s) {
    const o = i.modules.size,
      a = i.modules.data,
      l = t.getScale(o, s),
      u = Math.floor((o + s.margin * 2) * l),
      c = s.margin * l,
      d = [s.color.light, s.color.dark];
    for (let f = 0; f < u; f++)
      for (let B = 0; B < u; B++) {
        let h = (f * u + B) * 4,
          g = s.color.light;
        if (f >= c && B >= c && f < u - c && B < u - c) {
          const y = Math.floor((f - c) / l),
            m = Math.floor((B - c) / l);
          g = d[a[y * o + m] ? 1 : 0]
        }
        n[h++] = g.r, n[h++] = g.g, n[h++] = g.b, n[h] = g.a
      }
  }
})(gm);
(function (t) {
  const e = gm;

  function r(i, s, o) {
    i.clearRect(0, 0, s.width, s.height), s.style || (s.style = {}), s.height = o, s.width = o, s.style.height = o + "px", s.style.width = o + "px"
  }

  function n() {
    try {
      return document.createElement("canvas")
    } catch {
      throw new Error("You need to specify a canvas element")
    }
  }
  t.render = function (s, o, a) {
    let l = a,
      u = o;
    typeof l > "u" && (!o || !o.getContext) && (l = o, o = void 0), o || (u = n()), l = e.getOptions(l);
    const c = e.getImageWidth(s.modules.size, l),
      d = u.getContext("2d"),
      f = d.createImageData(c, c);
    return e.qrToImageData(f.data, s, l), r(d, u, c), d.putImageData(f, 0, 0), u
  }, t.renderToDataURL = function (s, o, a) {
    let l = a;
    typeof l > "u" && (!o || !o.getContext) && (l = o, o = void 0), l || (l = {});
    const u = t.render(s, o, l),
      c = l.type || "image/png",
      d = l.rendererOpts || {};
    return u.toDataURL(c, d.quality)
  }
})(r8);
var n8 = {};
const VR = gm;

function Ly(t, e) {
  const r = t.a / 255,
    n = e + '="' + t.hex + '"';
  return r < 1 ? n + " " + e + '-opacity="' + r.toFixed(2).slice(1) + '"' : n
}

function oB(t, e, r) {
  let n = t + e;
  return typeof r < "u" && (n += " " + r), n
}

function KR(t, e, r) {
  let n = "",
    i = 0,
    s = !1,
    o = 0;
  for (let a = 0; a < t.length; a++) {
    const l = Math.floor(a % e),
      u = Math.floor(a / e);
    !l && !s && (s = !0), t[a] ? (o++, a > 0 && l > 0 && t[a - 1] || (n += s ? oB("M", l + r, .5 + u + r) : oB("m", i, 0), i = 0, s = !1), l + 1 < e && t[a + 1] || (n += oB("h", o), o = 0)) : i++
  }
  return n
}
n8.render = function (e, r, n) {
  const i = VR.getOptions(r),
    s = e.modules.size,
    o = e.modules.data,
    a = s + i.margin * 2,
    l = i.color.light.a ? "<path " + Ly(i.color.light, "fill") + ' d="M0 0h' + a + "v" + a + 'H0z"/>' : "",
    u = "<path " + Ly(i.color.dark, "stroke") + ' d="' + KR(o, s, i.margin) + '"/>',
    c = 'viewBox="0 0 ' + a + " " + a + '"',
    f = '<svg xmlns="http://www.w3.org/2000/svg" ' + (i.width ? 'width="' + i.width + '" height="' + i.width + '" ' : "") + c + ' shape-rendering="crispEdges">' + l + u + `</svg>
`;
  return typeof n == "function" && n(null, f), f
};
const QR = lR,
  zp = $4,
  i8 = r8,
  JR = n8;

function vm(t, e, r, n, i) {
  const s = [].slice.call(arguments, 1),
    o = s.length,
    a = typeof s[o - 1] == "function";
  if (!a && !QR()) throw new Error("Callback required as last argument");
  if (a) {
    if (o < 2) throw new Error("Too few arguments provided");
    o === 2 ? (i = r, r = e, e = n = void 0) : o === 3 && (e.getContext && typeof i > "u" ? (i = n, n = void 0) : (i = n, n = r, r = e, e = void 0))
  } else {
    if (o < 1) throw new Error("Too few arguments provided");
    return o === 1 ? (r = e, e = n = void 0) : o === 2 && !e.getContext && (n = r, r = e, e = void 0), new Promise(function (l, u) {
      try {
        const c = zp.create(r, n);
        l(t(c, e, n))
      } catch (c) {
        u(c)
      }
    })
  }
  try {
    const l = zp.create(r, n);
    i(null, t(l, e, n))
  } catch (l) {
    i(l)
  }
}
Za.create = zp.create;
Za.toCanvas = vm.bind(null, i8.render);
Za.toDataURL = vm.bind(null, i8.renderToDataURL);
Za.toString = vm.bind(null, function (t, e, r) {
  return JR.render(t, r)
});
var ym = {},
  Rd = {},
  Be = {},
  s8 = {};
(function (t) {
  Object.defineProperty(t, "__esModule", {
    value: !0
  });

  function e(a, l) {
    var u = a >>> 16 & 65535,
      c = a & 65535,
      d = l >>> 16 & 65535,
      f = l & 65535;
    return c * f + (u * f + c * d << 16 >>> 0) | 0
  }
  t.mul = Math.imul || e;

  function r(a, l) {
    return a + l | 0
  }
  t.add = r;

  function n(a, l) {
    return a - l | 0
  }
  t.sub = n;

  function i(a, l) {
    return a << l | a >>> 32 - l
  }
  t.rotl = i;

  function s(a, l) {
    return a << 32 - l | a >>> l
  }
  t.rotr = s;

  function o(a) {
    return typeof a == "number" && isFinite(a) && Math.floor(a) === a
  }
  t.isInteger = Number.isInteger || o, t.MAX_SAFE_INTEGER = 9007199254740991, t.isSafeInteger = function (a) {
    return t.isInteger(a) && a >= -t.MAX_SAFE_INTEGER && a <= t.MAX_SAFE_INTEGER
  }
})(s8);
Object.defineProperty(Be, "__esModule", {
  value: !0
});
var o8 = s8;

function YR(t, e) {
  return e === void 0 && (e = 0), (t[e + 0] << 8 | t[e + 1]) << 16 >> 16
}
Be.readInt16BE = YR;

function XR(t, e) {
  return e === void 0 && (e = 0), (t[e + 0] << 8 | t[e + 1]) >>> 0
}
Be.readUint16BE = XR;

function ZR(t, e) {
  return e === void 0 && (e = 0), (t[e + 1] << 8 | t[e]) << 16 >> 16
}
Be.readInt16LE = ZR;

function eF(t, e) {
  return e === void 0 && (e = 0), (t[e + 1] << 8 | t[e]) >>> 0
}
Be.readUint16LE = eF;

function a8(t, e, r) {
  return e === void 0 && (e = new Uint8Array(2)), r === void 0 && (r = 0), e[r + 0] = t >>> 8, e[r + 1] = t >>> 0, e
}
Be.writeUint16BE = a8;
Be.writeInt16BE = a8;

function l8(t, e, r) {
  return e === void 0 && (e = new Uint8Array(2)), r === void 0 && (r = 0), e[r + 0] = t >>> 0, e[r + 1] = t >>> 8, e
}
Be.writeUint16LE = l8;
Be.writeInt16LE = l8;

function Wp(t, e) {
  return e === void 0 && (e = 0), t[e] << 24 | t[e + 1] << 16 | t[e + 2] << 8 | t[e + 3]
}
Be.readInt32BE = Wp;

function $p(t, e) {
  return e === void 0 && (e = 0), (t[e] << 24 | t[e + 1] << 16 | t[e + 2] << 8 | t[e + 3]) >>> 0
}
Be.readUint32BE = $p;

function Hp(t, e) {
  return e === void 0 && (e = 0), t[e + 3] << 24 | t[e + 2] << 16 | t[e + 1] << 8 | t[e]
}
Be.readInt32LE = Hp;

function Gp(t, e) {
  return e === void 0 && (e = 0), (t[e + 3] << 24 | t[e + 2] << 16 | t[e + 1] << 8 | t[e]) >>> 0
}
Be.readUint32LE = Gp;

function _c(t, e, r) {
  return e === void 0 && (e = new Uint8Array(4)), r === void 0 && (r = 0), e[r + 0] = t >>> 24, e[r + 1] = t >>> 16, e[r + 2] = t >>> 8, e[r + 3] = t >>> 0, e
}
Be.writeUint32BE = _c;
Be.writeInt32BE = _c;

function Oc(t, e, r) {
  return e === void 0 && (e = new Uint8Array(4)), r === void 0 && (r = 0), e[r + 0] = t >>> 0, e[r + 1] = t >>> 8, e[r + 2] = t >>> 16, e[r + 3] = t >>> 24, e
}
Be.writeUint32LE = Oc;
Be.writeInt32LE = Oc;

function tF(t, e) {
  e === void 0 && (e = 0);
  var r = Wp(t, e),
    n = Wp(t, e + 4);
  return r * 4294967296 + n - (n >> 31) * 4294967296
}
Be.readInt64BE = tF;

function rF(t, e) {
  e === void 0 && (e = 0);
  var r = $p(t, e),
    n = $p(t, e + 4);
  return r * 4294967296 + n
}
Be.readUint64BE = rF;

function nF(t, e) {
  e === void 0 && (e = 0);
  var r = Hp(t, e),
    n = Hp(t, e + 4);
  return n * 4294967296 + r - (r >> 31) * 4294967296
}
Be.readInt64LE = nF;

function iF(t, e) {
  e === void 0 && (e = 0);
  var r = Gp(t, e),
    n = Gp(t, e + 4);
  return n * 4294967296 + r
}
Be.readUint64LE = iF;

function u8(t, e, r) {
  return e === void 0 && (e = new Uint8Array(8)), r === void 0 && (r = 0), _c(t / 4294967296 >>> 0, e, r), _c(t >>> 0, e, r + 4), e
}
Be.writeUint64BE = u8;
Be.writeInt64BE = u8;

function c8(t, e, r) {
  return e === void 0 && (e = new Uint8Array(8)), r === void 0 && (r = 0), Oc(t >>> 0, e, r), Oc(t / 4294967296 >>> 0, e, r + 4), e
}
Be.writeUint64LE = c8;
Be.writeInt64LE = c8;

function sF(t, e, r) {
  if (r === void 0 && (r = 0), t % 8 !== 0) throw new Error("readUintBE supports only bitLengths divisible by 8");
  if (t / 8 > e.length - r) throw new Error("readUintBE: array is too short for the given bitLength");
  for (var n = 0, i = 1, s = t / 8 + r - 1; s >= r; s--) n += e[s] * i, i *= 256;
  return n
}
Be.readUintBE = sF;

function oF(t, e, r) {
  if (r === void 0 && (r = 0), t % 8 !== 0) throw new Error("readUintLE supports only bitLengths divisible by 8");
  if (t / 8 > e.length - r) throw new Error("readUintLE: array is too short for the given bitLength");
  for (var n = 0, i = 1, s = r; s < r + t / 8; s++) n += e[s] * i, i *= 256;
  return n
}
Be.readUintLE = oF;

function aF(t, e, r, n) {
  if (r === void 0 && (r = new Uint8Array(t / 8)), n === void 0 && (n = 0), t % 8 !== 0) throw new Error("writeUintBE supports only bitLengths divisible by 8");
  if (!o8.isSafeInteger(e)) throw new Error("writeUintBE value must be an integer");
  for (var i = 1, s = t / 8 + n - 1; s >= n; s--) r[s] = e / i & 255, i *= 256;
  return r
}
Be.writeUintBE = aF;

function lF(t, e, r, n) {
  if (r === void 0 && (r = new Uint8Array(t / 8)), n === void 0 && (n = 0), t % 8 !== 0) throw new Error("writeUintLE supports only bitLengths divisible by 8");
  if (!o8.isSafeInteger(e)) throw new Error("writeUintLE value must be an integer");
  for (var i = 1, s = n; s < n + t / 8; s++) r[s] = e / i & 255, i *= 256;
  return r
}
Be.writeUintLE = lF;

function uF(t, e) {
  e === void 0 && (e = 0);
  var r = new DataView(t.buffer, t.byteOffset, t.byteLength);
  return r.getFloat32(e)
}
Be.readFloat32BE = uF;

function cF(t, e) {
  e === void 0 && (e = 0);
  var r = new DataView(t.buffer, t.byteOffset, t.byteLength);
  return r.getFloat32(e, !0)
}
Be.readFloat32LE = cF;

function dF(t, e) {
  e === void 0 && (e = 0);
  var r = new DataView(t.buffer, t.byteOffset, t.byteLength);
  return r.getFloat64(e)
}
Be.readFloat64BE = dF;

function fF(t, e) {
  e === void 0 && (e = 0);
  var r = new DataView(t.buffer, t.byteOffset, t.byteLength);
  return r.getFloat64(e, !0)
}
Be.readFloat64LE = fF;

function BF(t, e, r) {
  e === void 0 && (e = new Uint8Array(4)), r === void 0 && (r = 0);
  var n = new DataView(e.buffer, e.byteOffset, e.byteLength);
  return n.setFloat32(r, t), e
}
Be.writeFloat32BE = BF;

function hF(t, e, r) {
  e === void 0 && (e = new Uint8Array(4)), r === void 0 && (r = 0);
  var n = new DataView(e.buffer, e.byteOffset, e.byteLength);
  return n.setFloat32(r, t, !0), e
}
Be.writeFloat32LE = hF;

function pF(t, e, r) {
  e === void 0 && (e = new Uint8Array(8)), r === void 0 && (r = 0);
  var n = new DataView(e.buffer, e.byteOffset, e.byteLength);
  return n.setFloat64(r, t), e
}
Be.writeFloat64BE = pF;

function CF(t, e, r) {
  e === void 0 && (e = new Uint8Array(8)), r === void 0 && (r = 0);
  var n = new DataView(e.buffer, e.byteOffset, e.byteLength);
  return n.setFloat64(r, t, !0), e
}
Be.writeFloat64LE = CF;
var kr = {};
Object.defineProperty(kr, "__esModule", {
  value: !0
});

function mF(t) {
  for (var e = 0; e < t.length; e++) t[e] = 0;
  return t
}
kr.wipe = mF;
Object.defineProperty(Rd, "__esModule", {
  value: !0
});
var mt = Be,
  qp = kr,
  gF = 20;

function vF(t, e, r) {
  for (var n = 1634760805, i = 857760878, s = 2036477234, o = 1797285236, a = r[3] << 24 | r[2] << 16 | r[1] << 8 | r[0], l = r[7] << 24 | r[6] << 16 | r[5] << 8 | r[4], u = r[11] << 24 | r[10] << 16 | r[9] << 8 | r[8], c = r[15] << 24 | r[14] << 16 | r[13] << 8 | r[12], d = r[19] << 24 | r[18] << 16 | r[17] << 8 | r[16], f = r[23] << 24 | r[22] << 16 | r[21] << 8 | r[20], B = r[27] << 24 | r[26] << 16 | r[25] << 8 | r[24], h = r[31] << 24 | r[30] << 16 | r[29] << 8 | r[28], g = e[3] << 24 | e[2] << 16 | e[1] << 8 | e[0], y = e[7] << 24 | e[6] << 16 | e[5] << 8 | e[4], m = e[11] << 24 | e[10] << 16 | e[9] << 8 | e[8], p = e[15] << 24 | e[14] << 16 | e[13] << 8 | e[12], v = n, w = i, D = s, x = o, C = a, S = l, A = u, P = c, _ = d, O = f, T = B, F = h, G = g, z = y, L = m, I = p, H = 0; H < gF; H += 2) v = v + C | 0, G ^= v, G = G >>> 16 | G << 16, _ = _ + G | 0, C ^= _, C = C >>> 20 | C << 12, w = w + S | 0, z ^= w, z = z >>> 16 | z << 16, O = O + z | 0, S ^= O, S = S >>> 20 | S << 12, D = D + A | 0, L ^= D, L = L >>> 16 | L << 16, T = T + L | 0, A ^= T, A = A >>> 20 | A << 12, x = x + P | 0, I ^= x, I = I >>> 16 | I << 16, F = F + I | 0, P ^= F, P = P >>> 20 | P << 12, D = D + A | 0, L ^= D, L = L >>> 24 | L << 8, T = T + L | 0, A ^= T, A = A >>> 25 | A << 7, x = x + P | 0, I ^= x, I = I >>> 24 | I << 8, F = F + I | 0, P ^= F, P = P >>> 25 | P << 7, w = w + S | 0, z ^= w, z = z >>> 24 | z << 8, O = O + z | 0, S ^= O, S = S >>> 25 | S << 7, v = v + C | 0, G ^= v, G = G >>> 24 | G << 8, _ = _ + G | 0, C ^= _, C = C >>> 25 | C << 7, v = v + S | 0, I ^= v, I = I >>> 16 | I << 16, T = T + I | 0, S ^= T, S = S >>> 20 | S << 12, w = w + A | 0, G ^= w, G = G >>> 16 | G << 16, F = F + G | 0, A ^= F, A = A >>> 20 | A << 12, D = D + P | 0, z ^= D, z = z >>> 16 | z << 16, _ = _ + z | 0, P ^= _, P = P >>> 20 | P << 12, x = x + C | 0, L ^= x, L = L >>> 16 | L << 16, O = O + L | 0, C ^= O, C = C >>> 20 | C << 12, D = D + P | 0, z ^= D, z = z >>> 24 | z << 8, _ = _ + z | 0, P ^= _, P = P >>> 25 | P << 7, x = x + C | 0, L ^= x, L = L >>> 24 | L << 8, O = O + L | 0, C ^= O, C = C >>> 25 | C << 7, w = w + A | 0, G ^= w, G = G >>> 24 | G << 8, F = F + G | 0, A ^= F, A = A >>> 25 | A << 7, v = v + S | 0, I ^= v, I = I >>> 24 | I << 8, T = T + I | 0, S ^= T, S = S >>> 25 | S << 7;
  mt.writeUint32LE(v + n | 0, t, 0), mt.writeUint32LE(w + i | 0, t, 4), mt.writeUint32LE(D + s | 0, t, 8), mt.writeUint32LE(x + o | 0, t, 12), mt.writeUint32LE(C + a | 0, t, 16), mt.writeUint32LE(S + l | 0, t, 20), mt.writeUint32LE(A + u | 0, t, 24), mt.writeUint32LE(P + c | 0, t, 28), mt.writeUint32LE(_ + d | 0, t, 32), mt.writeUint32LE(O + f | 0, t, 36), mt.writeUint32LE(T + B | 0, t, 40), mt.writeUint32LE(F + h | 0, t, 44), mt.writeUint32LE(G + g | 0, t, 48), mt.writeUint32LE(z + y | 0, t, 52), mt.writeUint32LE(L + m | 0, t, 56), mt.writeUint32LE(I + p | 0, t, 60)
}

function d8(t, e, r, n, i) {
  if (i === void 0 && (i = 0), t.length !== 32) throw new Error("ChaCha: key size must be 32 bytes");
  if (n.length < r.length) throw new Error("ChaCha: destination is shorter than source");
  var s, o;
  if (i === 0) {
    if (e.length !== 8 && e.length !== 12) throw new Error("ChaCha nonce must be 8 or 12 bytes");
    s = new Uint8Array(16), o = s.length - e.length, s.set(e, o)
  } else {
    if (e.length !== 16) throw new Error("ChaCha nonce with counter must be 16 bytes");
    s = e, o = i
  }
  for (var a = new Uint8Array(64), l = 0; l < r.length; l += 64) {
    vF(a, s, t);
    for (var u = l; u < l + 64 && u < r.length; u++) n[u] = r[u] ^ a[u - l];
    wF(s, 0, o)
  }
  return qp.wipe(a), i === 0 && qp.wipe(s), n
}
Rd.streamXOR = d8;

function yF(t, e, r, n) {
  return n === void 0 && (n = 0), qp.wipe(r), d8(t, e, r, r, n)
}
Rd.stream = yF;

function wF(t, e, r) {
  for (var n = 1; r--;) n = n + (t[e] & 255) | 0, t[e] = n & 255, n >>>= 8, e++;
  if (n > 0) throw new Error("ChaCha: counter overflow")
}
var f8 = {},
  ei = {};
Object.defineProperty(ei, "__esModule", {
  value: !0
});

function bF(t, e, r) {
  return ~(t - 1) & e | t - 1 & r
}
ei.select = bF;

function DF(t, e) {
  return (t | 0) - (e | 0) - 1 >>> 31 & 1
}
ei.lessOrEqual = DF;

function B8(t, e) {
  if (t.length !== e.length) return 0;
  for (var r = 0, n = 0; n < t.length; n++) r |= t[n] ^ e[n];
  return 1 & r - 1 >>> 8
}
ei.compare = B8;

function xF(t, e) {
  return t.length === 0 || e.length === 0 ? !1 : B8(t, e) !== 0
}
ei.equal = xF;
(function (t) {
  Object.defineProperty(t, "__esModule", {
    value: !0
  });
  var e = ei,
    r = kr;
  t.DIGEST_LENGTH = 16;
  var n = function () {
    function o(a) {
      this.digestLength = t.DIGEST_LENGTH, this._buffer = new Uint8Array(16), this._r = new Uint16Array(10), this._h = new Uint16Array(10), this._pad = new Uint16Array(8), this._leftover = 0, this._fin = 0, this._finished = !1;
      var l = a[0] | a[1] << 8;
      this._r[0] = l & 8191;
      var u = a[2] | a[3] << 8;
      this._r[1] = (l >>> 13 | u << 3) & 8191;
      var c = a[4] | a[5] << 8;
      this._r[2] = (u >>> 10 | c << 6) & 7939;
      var d = a[6] | a[7] << 8;
      this._r[3] = (c >>> 7 | d << 9) & 8191;
      var f = a[8] | a[9] << 8;
      this._r[4] = (d >>> 4 | f << 12) & 255, this._r[5] = f >>> 1 & 8190;
      var B = a[10] | a[11] << 8;
      this._r[6] = (f >>> 14 | B << 2) & 8191;
      var h = a[12] | a[13] << 8;
      this._r[7] = (B >>> 11 | h << 5) & 8065;
      var g = a[14] | a[15] << 8;
      this._r[8] = (h >>> 8 | g << 8) & 8191, this._r[9] = g >>> 5 & 127, this._pad[0] = a[16] | a[17] << 8, this._pad[1] = a[18] | a[19] << 8, this._pad[2] = a[20] | a[21] << 8, this._pad[3] = a[22] | a[23] << 8, this._pad[4] = a[24] | a[25] << 8, this._pad[5] = a[26] | a[27] << 8, this._pad[6] = a[28] | a[29] << 8, this._pad[7] = a[30] | a[31] << 8
    }
    return o.prototype._blocks = function (a, l, u) {
      for (var c = this._fin ? 0 : 2048, d = this._h[0], f = this._h[1], B = this._h[2], h = this._h[3], g = this._h[4], y = this._h[5], m = this._h[6], p = this._h[7], v = this._h[8], w = this._h[9], D = this._r[0], x = this._r[1], C = this._r[2], S = this._r[3], A = this._r[4], P = this._r[5], _ = this._r[6], O = this._r[7], T = this._r[8], F = this._r[9]; u >= 16;) {
        var G = a[l + 0] | a[l + 1] << 8;
        d += G & 8191;
        var z = a[l + 2] | a[l + 3] << 8;
        f += (G >>> 13 | z << 3) & 8191;
        var L = a[l + 4] | a[l + 5] << 8;
        B += (z >>> 10 | L << 6) & 8191;
        var I = a[l + 6] | a[l + 7] << 8;
        h += (L >>> 7 | I << 9) & 8191;
        var H = a[l + 8] | a[l + 9] << 8;
        g += (I >>> 4 | H << 12) & 8191, y += H >>> 1 & 8191;
        var N = a[l + 10] | a[l + 11] << 8;
        m += (H >>> 14 | N << 2) & 8191;
        var V = a[l + 12] | a[l + 13] << 8;
        p += (N >>> 11 | V << 5) & 8191;
        var K = a[l + 14] | a[l + 15] << 8;
        v += (V >>> 8 | K << 8) & 8191, w += K >>> 5 | c;
        var M = 0,
          X = M;
        X += d * D, X += f * (5 * F), X += B * (5 * T), X += h * (5 * O), X += g * (5 * _), M = X >>> 13, X &= 8191, X += y * (5 * P), X += m * (5 * A), X += p * (5 * S), X += v * (5 * C), X += w * (5 * x), M += X >>> 13, X &= 8191;
        var te = M;
        te += d * x, te += f * D, te += B * (5 * F), te += h * (5 * T), te += g * (5 * O), M = te >>> 13, te &= 8191, te += y * (5 * _), te += m * (5 * P), te += p * (5 * A), te += v * (5 * S), te += w * (5 * C), M += te >>> 13, te &= 8191;
        var ne = M;
        ne += d * C, ne += f * x, ne += B * D, ne += h * (5 * F), ne += g * (5 * T), M = ne >>> 13, ne &= 8191, ne += y * (5 * O), ne += m * (5 * _), ne += p * (5 * P), ne += v * (5 * A), ne += w * (5 * S), M += ne >>> 13, ne &= 8191;
        var ce = M;
        ce += d * S, ce += f * C, ce += B * x, ce += h * D, ce += g * (5 * F), M = ce >>> 13, ce &= 8191, ce += y * (5 * T), ce += m * (5 * O), ce += p * (5 * _), ce += v * (5 * P), ce += w * (5 * A), M += ce >>> 13, ce &= 8191;
        var fe = M;
        fe += d * A, fe += f * S, fe += B * C, fe += h * x, fe += g * D, M = fe >>> 13, fe &= 8191, fe += y * (5 * F), fe += m * (5 * T), fe += p * (5 * O), fe += v * (5 * _), fe += w * (5 * P), M += fe >>> 13, fe &= 8191;
        var pe = M;
        pe += d * P, pe += f * A, pe += B * S, pe += h * C, pe += g * x, M = pe >>> 13, pe &= 8191, pe += y * D, pe += m * (5 * F), pe += p * (5 * T), pe += v * (5 * O), pe += w * (5 * _), M += pe >>> 13, pe &= 8191;
        var me = M;
        me += d * _, me += f * P, me += B * A, me += h * S, me += g * C, M = me >>> 13, me &= 8191, me += y * x, me += m * D, me += p * (5 * F), me += v * (5 * T), me += w * (5 * O), M += me >>> 13, me &= 8191;
        var be = M;
        be += d * O, be += f * _, be += B * P, be += h * A, be += g * S, M = be >>> 13, be &= 8191, be += y * C, be += m * x, be += p * D, be += v * (5 * F), be += w * (5 * T), M += be >>> 13, be &= 8191;
        var ve = M;
        ve += d * T, ve += f * O, ve += B * _, ve += h * P, ve += g * A, M = ve >>> 13, ve &= 8191, ve += y * S, ve += m * C, ve += p * x, ve += v * D, ve += w * (5 * F), M += ve >>> 13, ve &= 8191;
        var Ee = M;
        Ee += d * F, Ee += f * T, Ee += B * O, Ee += h * _, Ee += g * P, M = Ee >>> 13, Ee &= 8191, Ee += y * A, Ee += m * S, Ee += p * C, Ee += v * x, Ee += w * D, M += Ee >>> 13, Ee &= 8191, M = (M << 2) + M | 0, M = M + X | 0, X = M & 8191, M = M >>> 13, te += M, d = X, f = te, B = ne, h = ce, g = fe, y = pe, m = me, p = be, v = ve, w = Ee, l += 16, u -= 16
      }
      this._h[0] = d, this._h[1] = f, this._h[2] = B, this._h[3] = h, this._h[4] = g, this._h[5] = y, this._h[6] = m, this._h[7] = p, this._h[8] = v, this._h[9] = w
    }, o.prototype.finish = function (a, l) {
      l === void 0 && (l = 0);
      var u = new Uint16Array(10),
        c, d, f, B;
      if (this._leftover) {
        for (B = this._leftover, this._buffer[B++] = 1; B < 16; B++) this._buffer[B] = 0;
        this._fin = 1, this._blocks(this._buffer, 0, 16)
      }
      for (c = this._h[1] >>> 13, this._h[1] &= 8191, B = 2; B < 10; B++) this._h[B] += c, c = this._h[B] >>> 13, this._h[B] &= 8191;
      for (this._h[0] += c * 5, c = this._h[0] >>> 13, this._h[0] &= 8191, this._h[1] += c, c = this._h[1] >>> 13, this._h[1] &= 8191, this._h[2] += c, u[0] = this._h[0] + 5, c = u[0] >>> 13, u[0] &= 8191, B = 1; B < 10; B++) u[B] = this._h[B] + c, c = u[B] >>> 13, u[B] &= 8191;
      for (u[9] -= 8192, d = (c ^ 1) - 1, B = 0; B < 10; B++) u[B] &= d;
      for (d = ~d, B = 0; B < 10; B++) this._h[B] = this._h[B] & d | u[B];
      for (this._h[0] = (this._h[0] | this._h[1] << 13) & 65535, this._h[1] = (this._h[1] >>> 3 | this._h[2] << 10) & 65535, this._h[2] = (this._h[2] >>> 6 | this._h[3] << 7) & 65535, this._h[3] = (this._h[3] >>> 9 | this._h[4] << 4) & 65535, this._h[4] = (this._h[4] >>> 12 | this._h[5] << 1 | this._h[6] << 14) & 65535, this._h[5] = (this._h[6] >>> 2 | this._h[7] << 11) & 65535, this._h[6] = (this._h[7] >>> 5 | this._h[8] << 8) & 65535, this._h[7] = (this._h[8] >>> 8 | this._h[9] << 5) & 65535, f = this._h[0] + this._pad[0], this._h[0] = f & 65535, B = 1; B < 8; B++) f = (this._h[B] + this._pad[B] | 0) + (f >>> 16) | 0, this._h[B] = f & 65535;
      return a[l + 0] = this._h[0] >>> 0, a[l + 1] = this._h[0] >>> 8, a[l + 2] = this._h[1] >>> 0, a[l + 3] = this._h[1] >>> 8, a[l + 4] = this._h[2] >>> 0, a[l + 5] = this._h[2] >>> 8, a[l + 6] = this._h[3] >>> 0, a[l + 7] = this._h[3] >>> 8, a[l + 8] = this._h[4] >>> 0, a[l + 9] = this._h[4] >>> 8, a[l + 10] = this._h[5] >>> 0, a[l + 11] = this._h[5] >>> 8, a[l + 12] = this._h[6] >>> 0, a[l + 13] = this._h[6] >>> 8, a[l + 14] = this._h[7] >>> 0, a[l + 15] = this._h[7] >>> 8, this._finished = !0, this
    }, o.prototype.update = function (a) {
      var l = 0,
        u = a.length,
        c;
      if (this._leftover) {
        c = 16 - this._leftover, c > u && (c = u);
        for (var d = 0; d < c; d++) this._buffer[this._leftover + d] = a[l + d];
        if (u -= c, l += c, this._leftover += c, this._leftover < 16) return this;
        this._blocks(this._buffer, 0, 16), this._leftover = 0
      }
      if (u >= 16 && (c = u - u % 16, this._blocks(a, l, c), l += c, u -= c), u) {
        for (var d = 0; d < u; d++) this._buffer[this._leftover + d] = a[l + d];
        this._leftover += u
      }
      return this
    }, o.prototype.digest = function () {
      if (this._finished) throw new Error("Poly1305 was finished");
      var a = new Uint8Array(16);
      return this.finish(a), a
    }, o.prototype.clean = function () {
      return r.wipe(this._buffer), r.wipe(this._r), r.wipe(this._h), r.wipe(this._pad), this._leftover = 0, this._fin = 0, this._finished = !0, this
    }, o
  }();
  t.Poly1305 = n;

  function i(o, a) {
    var l = new n(o);
    l.update(a);
    var u = l.digest();
    return l.clean(), u
  }
  t.oneTimeAuth = i;

  function s(o, a) {
    return o.length !== t.DIGEST_LENGTH || a.length !== t.DIGEST_LENGTH ? !1 : e.equal(o, a)
  }
  t.equal = s
})(f8);
(function (t) {
  Object.defineProperty(t, "__esModule", {
    value: !0
  });
  var e = Rd,
    r = f8,
    n = kr,
    i = Be,
    s = ei;
  t.KEY_LENGTH = 32, t.NONCE_LENGTH = 12, t.TAG_LENGTH = 16;
  var o = new Uint8Array(16),
    a = function () {
      function l(u) {
        if (this.nonceLength = t.NONCE_LENGTH, this.tagLength = t.TAG_LENGTH, u.length !== t.KEY_LENGTH) throw new Error("ChaCha20Poly1305 needs 32-byte key");
        this._key = new Uint8Array(u)
      }
      return l.prototype.seal = function (u, c, d, f) {
        if (u.length > 16) throw new Error("ChaCha20Poly1305: incorrect nonce length");
        var B = new Uint8Array(16);
        B.set(u, B.length - u.length);
        var h = new Uint8Array(32);
        e.stream(this._key, B, h, 4);
        var g = c.length + this.tagLength,
          y;
        if (f) {
          if (f.length !== g) throw new Error("ChaCha20Poly1305: incorrect destination length");
          y = f
        } else y = new Uint8Array(g);
        return e.streamXOR(this._key, B, c, y, 4), this._authenticate(y.subarray(y.length - this.tagLength, y.length), h, y.subarray(0, y.length - this.tagLength), d), n.wipe(B), y
      }, l.prototype.open = function (u, c, d, f) {
        if (u.length > 16) throw new Error("ChaCha20Poly1305: incorrect nonce length");
        if (c.length < this.tagLength) return null;
        var B = new Uint8Array(16);
        B.set(u, B.length - u.length);
        var h = new Uint8Array(32);
        e.stream(this._key, B, h, 4);
        var g = new Uint8Array(this.tagLength);
        if (this._authenticate(g, h, c.subarray(0, c.length - this.tagLength), d), !s.equal(g, c.subarray(c.length - this.tagLength, c.length))) return null;
        var y = c.length - this.tagLength,
          m;
        if (f) {
          if (f.length !== y) throw new Error("ChaCha20Poly1305: incorrect destination length");
          m = f
        } else m = new Uint8Array(y);
        return e.streamXOR(this._key, B, c.subarray(0, c.length - this.tagLength), m, 4), n.wipe(B), m
      }, l.prototype.clean = function () {
        return n.wipe(this._key), this
      }, l.prototype._authenticate = function (u, c, d, f) {
        var B = new r.Poly1305(c);
        f && (B.update(f), f.length % 16 > 0 && B.update(o.subarray(f.length % 16))), B.update(d), d.length % 16 > 0 && B.update(o.subarray(d.length % 16));
        var h = new Uint8Array(8);
        f && i.writeUint64LE(f.length, h), B.update(h), i.writeUint64LE(d.length, h), B.update(h);
        for (var g = B.digest(), y = 0; y < g.length; y++) u[y] = g[y];
        B.clean(), n.wipe(g), n.wipe(h)
      }, l
    }();
  t.ChaCha20Poly1305 = a
})(ym);
var h8 = {},
  tl = {},
  wm = {};
Object.defineProperty(wm, "__esModule", {
  value: !0
});

function EF(t) {
  return typeof t.saveState < "u" && typeof t.restoreState < "u" && typeof t.cleanSavedState < "u"
}
wm.isSerializableHash = EF;
Object.defineProperty(tl, "__esModule", {
  value: !0
});
var _r = wm,
  SF = ei,
  kF = kr,
  p8 = function () {
    function t(e, r) {
      this._finished = !1, this._inner = new e, this._outer = new e, this.blockSize = this._outer.blockSize, this.digestLength = this._outer.digestLength;
      var n = new Uint8Array(this.blockSize);
      r.length > this.blockSize ? this._inner.update(r).finish(n).clean() : n.set(r);
      for (var i = 0; i < n.length; i++) n[i] ^= 54;
      this._inner.update(n);
      for (var i = 0; i < n.length; i++) n[i] ^= 106;
      this._outer.update(n), _r.isSerializableHash(this._inner) && _r.isSerializableHash(this._outer) && (this._innerKeyedState = this._inner.saveState(), this._outerKeyedState = this._outer.saveState()), kF.wipe(n)
    }
    return t.prototype.reset = function () {
      if (!_r.isSerializableHash(this._inner) || !_r.isSerializableHash(this._outer)) throw new Error("hmac: can't reset() because hash doesn't implement restoreState()");
      return this._inner.restoreState(this._innerKeyedState), this._outer.restoreState(this._outerKeyedState), this._finished = !1, this
    }, t.prototype.clean = function () {
      _r.isSerializableHash(this._inner) && this._inner.cleanSavedState(this._innerKeyedState), _r.isSerializableHash(this._outer) && this._outer.cleanSavedState(this._outerKeyedState), this._inner.clean(), this._outer.clean()
    }, t.prototype.update = function (e) {
      return this._inner.update(e), this
    }, t.prototype.finish = function (e) {
      return this._finished ? (this._outer.finish(e), this) : (this._inner.finish(e), this._outer.update(e.subarray(0, this.digestLength)).finish(e), this._finished = !0, this)
    }, t.prototype.digest = function () {
      var e = new Uint8Array(this.digestLength);
      return this.finish(e), e
    }, t.prototype.saveState = function () {
      if (!_r.isSerializableHash(this._inner)) throw new Error("hmac: can't saveState() because hash doesn't implement it");
      return this._inner.saveState()
    }, t.prototype.restoreState = function (e) {
      if (!_r.isSerializableHash(this._inner) || !_r.isSerializableHash(this._outer)) throw new Error("hmac: can't restoreState() because hash doesn't implement it");
      return this._inner.restoreState(e), this._outer.restoreState(this._outerKeyedState), this._finished = !1, this
    }, t.prototype.cleanSavedState = function (e) {
      if (!_r.isSerializableHash(this._inner)) throw new Error("hmac: can't cleanSavedState() because hash doesn't implement it");
      this._inner.cleanSavedState(e)
    }, t
  }();
tl.HMAC = p8;

function jF(t, e, r) {
  var n = new p8(t, e);
  n.update(r);
  var i = n.digest();
  return n.clean(), i
}
tl.hmac = jF;
tl.equal = SF.equal;
Object.defineProperty(h8, "__esModule", {
  value: !0
});
var Uy = tl,
  zy = kr,
  AF = function () {
    function t(e, r, n, i) {
      n === void 0 && (n = new Uint8Array(0)), this._counter = new Uint8Array(1), this._hash = e, this._info = i;
      var s = Uy.hmac(this._hash, n, r);
      this._hmac = new Uy.HMAC(e, s), this._buffer = new Uint8Array(this._hmac.digestLength), this._bufpos = this._buffer.length
    }
    return t.prototype._fillBuffer = function () {
      this._counter[0]++;
      var e = this._counter[0];
      if (e === 0) throw new Error("hkdf: cannot expand more");
      this._hmac.reset(), e > 1 && this._hmac.update(this._buffer), this._info && this._hmac.update(this._info), this._hmac.update(this._counter), this._hmac.finish(this._buffer), this._bufpos = 0
    }, t.prototype.expand = function (e) {
      for (var r = new Uint8Array(e), n = 0; n < r.length; n++) this._bufpos === this._buffer.length && this._fillBuffer(), r[n] = this._buffer[this._bufpos++];
      return r
    }, t.prototype.clean = function () {
      this._hmac.clean(), zy.wipe(this._buffer), zy.wipe(this._counter), this._bufpos = 0
    }, t
  }(),
  PF = h8.HKDF = AF,
  Fd = {},
  Md = {},
  Ld = {};
Object.defineProperty(Ld, "__esModule", {
  value: !0
});
Ld.BrowserRandomSource = void 0;
const Wy = 65536;
class _F {
  constructor() {
    this.isAvailable = !1, this.isInstantiated = !1;
    const e = typeof self < "u" ? self.crypto || self.msCrypto : null;
    e && e.getRandomValues !== void 0 && (this._crypto = e, this.isAvailable = !0, this.isInstantiated = !0)
  }
  randomBytes(e) {
    if (!this.isAvailable || !this._crypto) throw new Error("Browser random byte generator is not available.");
    const r = new Uint8Array(e);
    for (let n = 0; n < r.length; n += Wy) this._crypto.getRandomValues(r.subarray(n, n + Math.min(r.length - n, Wy)));
    return r
  }
}
Ld.BrowserRandomSource = _F;

function OF(t) {
  throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')
}
var Ud = {};
const IF = {},
  NF = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: IF
  }, Symbol.toStringTag, {
    value: "Module"
  })),
  Zt = w3(NF);
Object.defineProperty(Ud, "__esModule", {
  value: !0
});
Ud.NodeRandomSource = void 0;
const TF = kr;
class RF {
  constructor() {
    if (this.isAvailable = !1, this.isInstantiated = !1, typeof OF < "u") {
      const e = Zt;
      e && e.randomBytes && (this._crypto = e, this.isAvailable = !0, this.isInstantiated = !0)
    }
  }
  randomBytes(e) {
    if (!this.isAvailable || !this._crypto) throw new Error("Node.js random byte generator is not available.");
    let r = this._crypto.randomBytes(e);
    if (r.length !== e) throw new Error("NodeRandomSource: got fewer bytes than requested");
    const n = new Uint8Array(e);
    for (let i = 0; i < n.length; i++) n[i] = r[i];
    return (0, TF.wipe)(r), n
  }
}
Ud.NodeRandomSource = RF;
Object.defineProperty(Md, "__esModule", {
  value: !0
});
Md.SystemRandomSource = void 0;
const FF = Ld,
  MF = Ud;
class LF {
  constructor() {
    if (this.isAvailable = !1, this.name = "", this._source = new FF.BrowserRandomSource, this._source.isAvailable) {
      this.isAvailable = !0, this.name = "Browser";
      return
    }
    if (this._source = new MF.NodeRandomSource, this._source.isAvailable) {
      this.isAvailable = !0, this.name = "Node";
      return
    }
  }
  randomBytes(e) {
    if (!this.isAvailable) throw new Error("System random byte generator is not available.");
    return this._source.randomBytes(e)
  }
}
Md.SystemRandomSource = LF;
(function (t) {
  Object.defineProperty(t, "__esModule", {
    value: !0
  }), t.randomStringForEntropy = t.randomString = t.randomUint32 = t.randomBytes = t.defaultRandomSource = void 0;
  const e = Md,
    r = Be,
    n = kr;
  t.defaultRandomSource = new e.SystemRandomSource;

  function i(u, c = t.defaultRandomSource) {
    return c.randomBytes(u)
  }
  t.randomBytes = i;

  function s(u = t.defaultRandomSource) {
    const c = i(4, u),
      d = (0, r.readUint32LE)(c);
    return (0, n.wipe)(c), d
  }
  t.randomUint32 = s;
  const o = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";

  function a(u, c = o, d = t.defaultRandomSource) {
    if (c.length < 2) throw new Error("randomString charset is too short");
    if (c.length > 256) throw new Error("randomString charset is too long");
    let f = "";
    const B = c.length,
      h = 256 - 256 % B;
    for (; u > 0;) {
      const g = i(Math.ceil(u * 256 / h), d);
      for (let y = 0; y < g.length && u > 0; y++) {
        const m = g[y];
        m < h && (f += c.charAt(m % B), u--)
      }(0, n.wipe)(g)
    }
    return f
  }
  t.randomString = a;

  function l(u, c = o, d = t.defaultRandomSource) {
    const f = Math.ceil(u / (Math.log(c.length) / Math.LN2));
    return a(f, c, d)
  }
  t.randomStringForEntropy = l
})(Fd);
var zd = {};
(function (t) {
  Object.defineProperty(t, "__esModule", {
    value: !0
  });
  var e = Be,
    r = kr;
  t.DIGEST_LENGTH = 32, t.BLOCK_SIZE = 64;
  var n = function () {
    function a() {
      this.digestLength = t.DIGEST_LENGTH, this.blockSize = t.BLOCK_SIZE, this._state = new Int32Array(8), this._temp = new Int32Array(64), this._buffer = new Uint8Array(128), this._bufferLength = 0, this._bytesHashed = 0, this._finished = !1, this.reset()
    }
    return a.prototype._initState = function () {
      this._state[0] = 1779033703, this._state[1] = 3144134277, this._state[2] = 1013904242, this._state[3] = 2773480762, this._state[4] = 1359893119, this._state[5] = 2600822924, this._state[6] = 528734635, this._state[7] = 1541459225
    }, a.prototype.reset = function () {
      return this._initState(), this._bufferLength = 0, this._bytesHashed = 0, this._finished = !1, this
    }, a.prototype.clean = function () {
      r.wipe(this._buffer), r.wipe(this._temp), this.reset()
    }, a.prototype.update = function (l, u) {
      if (u === void 0 && (u = l.length), this._finished) throw new Error("SHA256: can't update because hash was finished.");
      var c = 0;
      if (this._bytesHashed += u, this._bufferLength > 0) {
        for (; this._bufferLength < this.blockSize && u > 0;) this._buffer[this._bufferLength++] = l[c++], u--;
        this._bufferLength === this.blockSize && (s(this._temp, this._state, this._buffer, 0, this.blockSize), this._bufferLength = 0)
      }
      for (u >= this.blockSize && (c = s(this._temp, this._state, l, c, u), u %= this.blockSize); u > 0;) this._buffer[this._bufferLength++] = l[c++], u--;
      return this
    }, a.prototype.finish = function (l) {
      if (!this._finished) {
        var u = this._bytesHashed,
          c = this._bufferLength,
          d = u / 536870912 | 0,
          f = u << 3,
          B = u % 64 < 56 ? 64 : 128;
        this._buffer[c] = 128;
        for (var h = c + 1; h < B - 8; h++) this._buffer[h] = 0;
        e.writeUint32BE(d, this._buffer, B - 8), e.writeUint32BE(f, this._buffer, B - 4), s(this._temp, this._state, this._buffer, 0, B), this._finished = !0
      }
      for (var h = 0; h < this.digestLength / 4; h++) e.writeUint32BE(this._state[h], l, h * 4);
      return this
    }, a.prototype.digest = function () {
      var l = new Uint8Array(this.digestLength);
      return this.finish(l), l
    }, a.prototype.saveState = function () {
      if (this._finished) throw new Error("SHA256: cannot save finished state");
      return {
        state: new Int32Array(this._state),
        buffer: this._bufferLength > 0 ? new Uint8Array(this._buffer) : void 0,
        bufferLength: this._bufferLength,
        bytesHashed: this._bytesHashed
      }
    }, a.prototype.restoreState = function (l) {
      return this._state.set(l.state), this._bufferLength = l.bufferLength, l.buffer && this._buffer.set(l.buffer), this._bytesHashed = l.bytesHashed, this._finished = !1, this
    }, a.prototype.cleanSavedState = function (l) {
      r.wipe(l.state), l.buffer && r.wipe(l.buffer), l.bufferLength = 0, l.bytesHashed = 0
    }, a
  }();
  t.SHA256 = n;
  var i = new Int32Array([1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298]);

  function s(a, l, u, c, d) {
    for (; d >= 64;) {
      for (var f = l[0], B = l[1], h = l[2], g = l[3], y = l[4], m = l[5], p = l[6], v = l[7], w = 0; w < 16; w++) {
        var D = c + w * 4;
        a[w] = e.readUint32BE(u, D)
      }
      for (var w = 16; w < 64; w++) {
        var x = a[w - 2],
          C = (x >>> 17 | x << 15) ^ (x >>> 19 | x << 13) ^ x >>> 10;
        x = a[w - 15];
        var S = (x >>> 7 | x << 25) ^ (x >>> 18 | x << 14) ^ x >>> 3;
        a[w] = (C + a[w - 7] | 0) + (S + a[w - 16] | 0)
      }
      for (var w = 0; w < 64; w++) {
        var C = (((y >>> 6 | y << 26) ^ (y >>> 11 | y << 21) ^ (y >>> 25 | y << 7)) + (y & m ^ ~y & p) | 0) + (v + (i[w] + a[w] | 0) | 0) | 0,
          S = ((f >>> 2 | f << 30) ^ (f >>> 13 | f << 19) ^ (f >>> 22 | f << 10)) + (f & B ^ f & h ^ B & h) | 0;
        v = p, p = m, m = y, y = g + C | 0, g = h, h = B, B = f, f = C + S | 0
      }
      l[0] += f, l[1] += B, l[2] += h, l[3] += g, l[4] += y, l[5] += m, l[6] += p, l[7] += v, c += 64, d -= 64
    }
    return c
  }

  function o(a) {
    var l = new n;
    l.update(a);
    var u = l.digest();
    return l.clean(), u
  }
  t.hash = o
})(zd);
var bm = {};
(function (t) {
  Object.defineProperty(t, "__esModule", {
    value: !0
  }), t.sharedKey = t.generateKeyPair = t.generateKeyPairFromSeed = t.scalarMultBase = t.scalarMult = t.SHARED_KEY_LENGTH = t.SECRET_KEY_LENGTH = t.PUBLIC_KEY_LENGTH = void 0;
  const e = Fd,
    r = kr;
  t.PUBLIC_KEY_LENGTH = 32, t.SECRET_KEY_LENGTH = 32, t.SHARED_KEY_LENGTH = 32;

  function n(w) {
    const D = new Float64Array(16);
    if (w)
      for (let x = 0; x < w.length; x++) D[x] = w[x];
    return D
  }
  const i = new Uint8Array(32);
  i[0] = 9;
  const s = n([56129, 1]);

  function o(w) {
    let D = 1;
    for (let x = 0; x < 16; x++) {
      let C = w[x] + D + 65535;
      D = Math.floor(C / 65536), w[x] = C - D * 65536
    }
    w[0] += D - 1 + 37 * (D - 1)
  }

  function a(w, D, x) {
    const C = ~(x - 1);
    for (let S = 0; S < 16; S++) {
      const A = C & (w[S] ^ D[S]);
      w[S] ^= A, D[S] ^= A
    }
  }

  function l(w, D) {
    const x = n(),
      C = n();
    for (let S = 0; S < 16; S++) C[S] = D[S];
    o(C), o(C), o(C);
    for (let S = 0; S < 2; S++) {
      x[0] = C[0] - 65517;
      for (let P = 1; P < 15; P++) x[P] = C[P] - 65535 - (x[P - 1] >> 16 & 1), x[P - 1] &= 65535;
      x[15] = C[15] - 32767 - (x[14] >> 16 & 1);
      const A = x[15] >> 16 & 1;
      x[14] &= 65535, a(C, x, 1 - A)
    }
    for (let S = 0; S < 16; S++) w[2 * S] = C[S] & 255, w[2 * S + 1] = C[S] >> 8
  }

  function u(w, D) {
    for (let x = 0; x < 16; x++) w[x] = D[2 * x] + (D[2 * x + 1] << 8);
    w[15] &= 32767
  }

  function c(w, D, x) {
    for (let C = 0; C < 16; C++) w[C] = D[C] + x[C]
  }

  function d(w, D, x) {
    for (let C = 0; C < 16; C++) w[C] = D[C] - x[C]
  }

  function f(w, D, x) {
    let C, S, A = 0,
      P = 0,
      _ = 0,
      O = 0,
      T = 0,
      F = 0,
      G = 0,
      z = 0,
      L = 0,
      I = 0,
      H = 0,
      N = 0,
      V = 0,
      K = 0,
      M = 0,
      X = 0,
      te = 0,
      ne = 0,
      ce = 0,
      fe = 0,
      pe = 0,
      me = 0,
      be = 0,
      ve = 0,
      Ee = 0,
      zt = 0,
      cn = 0,
      Wr = 0,
      Ar = 0,
      ti = 0,
      yl = 0,
      Ye = x[0],
      Xe = x[1],
      De = x[2],
      Re = x[3],
      He = x[4],
      re = x[5],
      oe = x[6],
      Z = x[7],
      ue = x[8],
      Ae = x[9],
      Se = x[10],
      se = x[11],
      Q = x[12],
      ke = x[13],
      qe = x[14],
      Ze = x[15];
    C = D[0], A += C * Ye, P += C * Xe, _ += C * De, O += C * Re, T += C * He, F += C * re, G += C * oe, z += C * Z, L += C * ue, I += C * Ae, H += C * Se, N += C * se, V += C * Q, K += C * ke, M += C * qe, X += C * Ze, C = D[1], P += C * Ye, _ += C * Xe, O += C * De, T += C * Re, F += C * He, G += C * re, z += C * oe, L += C * Z, I += C * ue, H += C * Ae, N += C * Se, V += C * se, K += C * Q, M += C * ke, X += C * qe, te += C * Ze, C = D[2], _ += C * Ye, O += C * Xe, T += C * De, F += C * Re, G += C * He, z += C * re, L += C * oe, I += C * Z, H += C * ue, N += C * Ae, V += C * Se, K += C * se, M += C * Q, X += C * ke, te += C * qe, ne += C * Ze, C = D[3], O += C * Ye, T += C * Xe, F += C * De, G += C * Re, z += C * He, L += C * re, I += C * oe, H += C * Z, N += C * ue, V += C * Ae, K += C * Se, M += C * se, X += C * Q, te += C * ke, ne += C * qe, ce += C * Ze, C = D[4], T += C * Ye, F += C * Xe, G += C * De, z += C * Re, L += C * He, I += C * re, H += C * oe, N += C * Z, V += C * ue, K += C * Ae, M += C * Se, X += C * se, te += C * Q, ne += C * ke, ce += C * qe, fe += C * Ze, C = D[5], F += C * Ye, G += C * Xe, z += C * De, L += C * Re, I += C * He, H += C * re, N += C * oe, V += C * Z, K += C * ue, M += C * Ae, X += C * Se, te += C * se, ne += C * Q, ce += C * ke, fe += C * qe, pe += C * Ze, C = D[6], G += C * Ye, z += C * Xe, L += C * De, I += C * Re, H += C * He, N += C * re, V += C * oe, K += C * Z, M += C * ue, X += C * Ae, te += C * Se, ne += C * se, ce += C * Q, fe += C * ke, pe += C * qe, me += C * Ze, C = D[7], z += C * Ye, L += C * Xe, I += C * De, H += C * Re, N += C * He, V += C * re, K += C * oe, M += C * Z, X += C * ue, te += C * Ae, ne += C * Se, ce += C * se, fe += C * Q, pe += C * ke, me += C * qe, be += C * Ze, C = D[8], L += C * Ye, I += C * Xe, H += C * De, N += C * Re, V += C * He, K += C * re, M += C * oe, X += C * Z, te += C * ue, ne += C * Ae, ce += C * Se, fe += C * se, pe += C * Q, me += C * ke, be += C * qe, ve += C * Ze, C = D[9], I += C * Ye, H += C * Xe, N += C * De, V += C * Re, K += C * He, M += C * re, X += C * oe, te += C * Z, ne += C * ue, ce += C * Ae, fe += C * Se, pe += C * se, me += C * Q, be += C * ke, ve += C * qe, Ee += C * Ze, C = D[10], H += C * Ye, N += C * Xe, V += C * De, K += C * Re, M += C * He, X += C * re, te += C * oe, ne += C * Z, ce += C * ue, fe += C * Ae, pe += C * Se, me += C * se, be += C * Q, ve += C * ke, Ee += C * qe, zt += C * Ze, C = D[11], N += C * Ye, V += C * Xe, K += C * De, M += C * Re, X += C * He, te += C * re, ne += C * oe, ce += C * Z, fe += C * ue, pe += C * Ae, me += C * Se, be += C * se, ve += C * Q, Ee += C * ke, zt += C * qe, cn += C * Ze, C = D[12], V += C * Ye, K += C * Xe, M += C * De, X += C * Re, te += C * He, ne += C * re, ce += C * oe, fe += C * Z, pe += C * ue, me += C * Ae, be += C * Se, ve += C * se, Ee += C * Q, zt += C * ke, cn += C * qe, Wr += C * Ze, C = D[13], K += C * Ye, M += C * Xe, X += C * De, te += C * Re, ne += C * He, ce += C * re, fe += C * oe, pe += C * Z, me += C * ue, be += C * Ae, ve += C * Se, Ee += C * se, zt += C * Q, cn += C * ke, Wr += C * qe, Ar += C * Ze, C = D[14], M += C * Ye, X += C * Xe, te += C * De, ne += C * Re, ce += C * He, fe += C * re, pe += C * oe, me += C * Z, be += C * ue, ve += C * Ae, Ee += C * Se, zt += C * se, cn += C * Q, Wr += C * ke, Ar += C * qe, ti += C * Ze, C = D[15], X += C * Ye, te += C * Xe, ne += C * De, ce += C * Re, fe += C * He, pe += C * re, me += C * oe, be += C * Z, ve += C * ue, Ee += C * Ae, zt += C * Se, cn += C * se, Wr += C * Q, Ar += C * ke, ti += C * qe, yl += C * Ze, A += 38 * te, P += 38 * ne, _ += 38 * ce, O += 38 * fe, T += 38 * pe, F += 38 * me, G += 38 * be, z += 38 * ve, L += 38 * Ee, I += 38 * zt, H += 38 * cn, N += 38 * Wr, V += 38 * Ar, K += 38 * ti, M += 38 * yl, S = 1, C = A + S + 65535, S = Math.floor(C / 65536), A = C - S * 65536, C = P + S + 65535, S = Math.floor(C / 65536), P = C - S * 65536, C = _ + S + 65535, S = Math.floor(C / 65536), _ = C - S * 65536, C = O + S + 65535, S = Math.floor(C / 65536), O = C - S * 65536, C = T + S + 65535, S = Math.floor(C / 65536), T = C - S * 65536, C = F + S + 65535, S = Math.floor(C / 65536), F = C - S * 65536, C = G + S + 65535, S = Math.floor(C / 65536), G = C - S * 65536, C = z + S + 65535, S = Math.floor(C / 65536), z = C - S * 65536, C = L + S + 65535, S = Math.floor(C / 65536), L = C - S * 65536, C = I + S + 65535, S = Math.floor(C / 65536), I = C - S * 65536, C = H + S + 65535, S = Math.floor(C / 65536), H = C - S * 65536, C = N + S + 65535, S = Math.floor(C / 65536), N = C - S * 65536, C = V + S + 65535, S = Math.floor(C / 65536), V = C - S * 65536, C = K + S + 65535, S = Math.floor(C / 65536), K = C - S * 65536, C = M + S + 65535, S = Math.floor(C / 65536), M = C - S * 65536, C = X + S + 65535, S = Math.floor(C / 65536), X = C - S * 65536, A += S - 1 + 37 * (S - 1), S = 1, C = A + S + 65535, S = Math.floor(C / 65536), A = C - S * 65536, C = P + S + 65535, S = Math.floor(C / 65536), P = C - S * 65536, C = _ + S + 65535, S = Math.floor(C / 65536), _ = C - S * 65536, C = O + S + 65535, S = Math.floor(C / 65536), O = C - S * 65536, C = T + S + 65535, S = Math.floor(C / 65536), T = C - S * 65536, C = F + S + 65535, S = Math.floor(C / 65536), F = C - S * 65536, C = G + S + 65535, S = Math.floor(C / 65536), G = C - S * 65536, C = z + S + 65535, S = Math.floor(C / 65536), z = C - S * 65536, C = L + S + 65535, S = Math.floor(C / 65536), L = C - S * 65536, C = I + S + 65535, S = Math.floor(C / 65536), I = C - S * 65536, C = H + S + 65535, S = Math.floor(C / 65536), H = C - S * 65536, C = N + S + 65535, S = Math.floor(C / 65536), N = C - S * 65536, C = V + S + 65535, S = Math.floor(C / 65536), V = C - S * 65536, C = K + S + 65535, S = Math.floor(C / 65536), K = C - S * 65536, C = M + S + 65535, S = Math.floor(C / 65536), M = C - S * 65536, C = X + S + 65535, S = Math.floor(C / 65536), X = C - S * 65536, A += S - 1 + 37 * (S - 1), w[0] = A, w[1] = P, w[2] = _, w[3] = O, w[4] = T, w[5] = F, w[6] = G, w[7] = z, w[8] = L, w[9] = I, w[10] = H, w[11] = N, w[12] = V, w[13] = K, w[14] = M, w[15] = X
  }

  function B(w, D) {
    f(w, D, D)
  }

  function h(w, D) {
    const x = n();
    for (let C = 0; C < 16; C++) x[C] = D[C];
    for (let C = 253; C >= 0; C--) B(x, x), C !== 2 && C !== 4 && f(x, x, D);
    for (let C = 0; C < 16; C++) w[C] = x[C]
  }

  function g(w, D) {
    const x = new Uint8Array(32),
      C = new Float64Array(80),
      S = n(),
      A = n(),
      P = n(),
      _ = n(),
      O = n(),
      T = n();
    for (let L = 0; L < 31; L++) x[L] = w[L];
    x[31] = w[31] & 127 | 64, x[0] &= 248, u(C, D);
    for (let L = 0; L < 16; L++) A[L] = C[L];
    S[0] = _[0] = 1;
    for (let L = 254; L >= 0; --L) {
      const I = x[L >>> 3] >>> (L & 7) & 1;
      a(S, A, I), a(P, _, I), c(O, S, P), d(S, S, P), c(P, A, _), d(A, A, _), B(_, O), B(T, S), f(S, P, S), f(P, A, O), c(O, S, P), d(S, S, P), B(A, S), d(P, _, T), f(S, P, s), c(S, S, _), f(P, P, S), f(S, _, T), f(_, A, C), B(A, O), a(S, A, I), a(P, _, I)
    }
    for (let L = 0; L < 16; L++) C[L + 16] = S[L], C[L + 32] = P[L], C[L + 48] = A[L], C[L + 64] = _[L];
    const F = C.subarray(32),
      G = C.subarray(16);
    h(F, F), f(G, G, F);
    const z = new Uint8Array(32);
    return l(z, G), z
  }
  t.scalarMult = g;

  function y(w) {
    return g(w, i)
  }
  t.scalarMultBase = y;

  function m(w) {
    if (w.length !== t.SECRET_KEY_LENGTH) throw new Error(`x25519: seed must be ${t.SECRET_KEY_LENGTH} bytes`);
    const D = new Uint8Array(w);
    return {
      publicKey: y(D),
      secretKey: D
    }
  }
  t.generateKeyPairFromSeed = m;

  function p(w) {
    const D = (0, e.randomBytes)(32, w),
      x = m(D);
    return (0, r.wipe)(D), x
  }
  t.generateKeyPair = p;

  function v(w, D, x = !1) {
    if (w.length !== t.PUBLIC_KEY_LENGTH) throw new Error("X25519: incorrect secret key length");
    if (D.length !== t.PUBLIC_KEY_LENGTH) throw new Error("X25519: incorrect public key length");
    const C = g(w, D);
    if (x) {
      let S = 0;
      for (let A = 0; A < C.length; A++) S |= C[A];
      if (S === 0) throw new Error("X25519: invalid shared key")
    }
    return C
  }
  t.sharedKey = v
})(bm);

function Dm(t) {
  return globalThis.Buffer != null ? new Uint8Array(t.buffer, t.byteOffset, t.byteLength) : t
}

function C8(t = 0) {
  return globalThis.Buffer != null && globalThis.Buffer.allocUnsafe != null ? Dm(globalThis.Buffer.allocUnsafe(t)) : new Uint8Array(t)
}

function $y(t, e) {
  e || (e = t.reduce((i, s) => i + s.length, 0));
  const r = C8(e);
  let n = 0;
  for (const i of t) r.set(i, n), n += i.length;
  return Dm(r)
}

function UF(t, e) {
  if (t.length >= 255) throw new TypeError("Alphabet too long");
  for (var r = new Uint8Array(256), n = 0; n < r.length; n++) r[n] = 255;
  for (var i = 0; i < t.length; i++) {
    var s = t.charAt(i),
      o = s.charCodeAt(0);
    if (r[o] !== 255) throw new TypeError(s + " is ambiguous");
    r[o] = i
  }
  var a = t.length,
    l = t.charAt(0),
    u = Math.log(a) / Math.log(256),
    c = Math.log(256) / Math.log(a);

  function d(h) {
    if (h instanceof Uint8Array || (ArrayBuffer.isView(h) ? h = new Uint8Array(h.buffer, h.byteOffset, h.byteLength) : Array.isArray(h) && (h = Uint8Array.from(h))), !(h instanceof Uint8Array)) throw new TypeError("Expected Uint8Array");
    if (h.length === 0) return "";
    for (var g = 0, y = 0, m = 0, p = h.length; m !== p && h[m] === 0;) m++, g++;
    for (var v = (p - m) * c + 1 >>> 0, w = new Uint8Array(v); m !== p;) {
      for (var D = h[m], x = 0, C = v - 1;
        (D !== 0 || x < y) && C !== -1; C--, x++) D += 256 * w[C] >>> 0, w[C] = D % a >>> 0, D = D / a >>> 0;
      if (D !== 0) throw new Error("Non-zero carry");
      y = x, m++
    }
    for (var S = v - y; S !== v && w[S] === 0;) S++;
    for (var A = l.repeat(g); S < v; ++S) A += t.charAt(w[S]);
    return A
  }

  function f(h) {
    if (typeof h != "string") throw new TypeError("Expected String");
    if (h.length === 0) return new Uint8Array;
    var g = 0;
    if (h[g] !== " ") {
      for (var y = 0, m = 0; h[g] === l;) y++, g++;
      for (var p = (h.length - g) * u + 1 >>> 0, v = new Uint8Array(p); h[g];) {
        var w = r[h.charCodeAt(g)];
        if (w === 255) return;
        for (var D = 0, x = p - 1;
          (w !== 0 || D < m) && x !== -1; x--, D++) w += a * v[x] >>> 0, v[x] = w % 256 >>> 0, w = w / 256 >>> 0;
        if (w !== 0) throw new Error("Non-zero carry");
        m = D, g++
      }
      if (h[g] !== " ") {
        for (var C = p - m; C !== p && v[C] === 0;) C++;
        for (var S = new Uint8Array(y + (p - C)), A = y; C !== p;) S[A++] = v[C++];
        return S
      }
    }
  }

  function B(h) {
    var g = f(h);
    if (g) return g;
    throw new Error(`Non-${e} character`)
  }
  return {
    encode: d,
    decodeUnsafe: f,
    decode: B
  }
}
var zF = UF,
  WF = zF;
const $F = t => {
    if (t instanceof Uint8Array && t.constructor.name === "Uint8Array") return t;
    if (t instanceof ArrayBuffer) return new Uint8Array(t);
    if (ArrayBuffer.isView(t)) return new Uint8Array(t.buffer, t.byteOffset, t.byteLength);
    throw new Error("Unknown type, must be binary type")
  },
  HF = t => new TextEncoder().encode(t),
  GF = t => new TextDecoder().decode(t);
class qF {
  constructor(e, r, n) {
    this.name = e, this.prefix = r, this.baseEncode = n
  }
  encode(e) {
    if (e instanceof Uint8Array) return `${this.prefix}${this.baseEncode(e)}`;
    throw Error("Unknown type, must be binary type")
  }
}
class VF {
  constructor(e, r, n) {
    if (this.name = e, this.prefix = r, r.codePointAt(0) === void 0) throw new Error("Invalid prefix character");
    this.prefixCodePoint = r.codePointAt(0), this.baseDecode = n
  }
  decode(e) {
    if (typeof e == "string") {
      if (e.codePointAt(0) !== this.prefixCodePoint) throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);
      return this.baseDecode(e.slice(this.prefix.length))
    } else throw Error("Can only multibase decode strings")
  }
  or(e) {
    return m8(this, e)
  }
}
class KF {
  constructor(e) {
    this.decoders = e
  }
  or(e) {
    return m8(this, e)
  }
  decode(e) {
    const r = e[0],
      n = this.decoders[r];
    if (n) return n.decode(e);
    throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)
  }
}
const m8 = (t, e) => new KF({
  ...t.decoders || {
    [t.prefix]: t
  },
  ...e.decoders || {
    [e.prefix]: e
  }
});
class QF {
  constructor(e, r, n, i) {
    this.name = e, this.prefix = r, this.baseEncode = n, this.baseDecode = i, this.encoder = new qF(e, r, n), this.decoder = new VF(e, r, i)
  }
  encode(e) {
    return this.encoder.encode(e)
  }
  decode(e) {
    return this.decoder.decode(e)
  }
}
const Wd = ({
    name: t,
    prefix: e,
    encode: r,
    decode: n
  }) => new QF(t, e, r, n),
  rl = ({
    prefix: t,
    name: e,
    alphabet: r
  }) => {
    const {
      encode: n,
      decode: i
    } = WF(r, e);
    return Wd({
      prefix: t,
      name: e,
      encode: n,
      decode: s => $F(i(s))
    })
  },
  JF = (t, e, r, n) => {
    const i = {};
    for (let c = 0; c < e.length; ++c) i[e[c]] = c;
    let s = t.length;
    for (; t[s - 1] === "=";) --s;
    const o = new Uint8Array(s * r / 8 | 0);
    let a = 0,
      l = 0,
      u = 0;
    for (let c = 0; c < s; ++c) {
      const d = i[t[c]];
      if (d === void 0) throw new SyntaxError(`Non-${n} character`);
      l = l << r | d, a += r, a >= 8 && (a -= 8, o[u++] = 255 & l >> a)
    }
    if (a >= r || 255 & l << 8 - a) throw new SyntaxError("Unexpected end of data");
    return o
  },
  YF = (t, e, r) => {
    const n = e[e.length - 1] === "=",
      i = (1 << r) - 1;
    let s = "",
      o = 0,
      a = 0;
    for (let l = 0; l < t.length; ++l)
      for (a = a << 8 | t[l], o += 8; o > r;) o -= r, s += e[i & a >> o];
    if (o && (s += e[i & a << r - o]), n)
      for (; s.length * r & 7;) s += "=";
    return s
  },
  ht = ({
    name: t,
    prefix: e,
    bitsPerChar: r,
    alphabet: n
  }) => Wd({
    prefix: e,
    name: t,
    encode(i) {
      return YF(i, n, r)
    },
    decode(i) {
      return JF(i, n, r, t)
    }
  }),
  XF = Wd({
    prefix: "\0",
    name: "identity",
    encode: t => GF(t),
    decode: t => HF(t)
  }),
  ZF = Object.freeze(Object.defineProperty({
    __proto__: null,
    identity: XF
  }, Symbol.toStringTag, {
    value: "Module"
  })),
  eM = ht({
    prefix: "0",
    name: "base2",
    alphabet: "01",
    bitsPerChar: 1
  }),
  tM = Object.freeze(Object.defineProperty({
    __proto__: null,
    base2: eM
  }, Symbol.toStringTag, {
    value: "Module"
  })),
  rM = ht({
    prefix: "7",
    name: "base8",
    alphabet: "01234567",
    bitsPerChar: 3
  }),
  nM = Object.freeze(Object.defineProperty({
    __proto__: null,
    base8: rM
  }, Symbol.toStringTag, {
    value: "Module"
  })),
  iM = rl({
    prefix: "9",
    name: "base10",
    alphabet: "0123456789"
  }),
  sM = Object.freeze(Object.defineProperty({
    __proto__: null,
    base10: iM
  }, Symbol.toStringTag, {
    value: "Module"
  })),
  oM = ht({
    prefix: "f",
    name: "base16",
    alphabet: "0123456789abcdef",
    bitsPerChar: 4
  }),
  aM = ht({
    prefix: "F",
    name: "base16upper",
    alphabet: "0123456789ABCDEF",
    bitsPerChar: 4
  }),
  lM = Object.freeze(Object.defineProperty({
    __proto__: null,
    base16: oM,
    base16upper: aM
  }, Symbol.toStringTag, {
    value: "Module"
  })),
  uM = ht({
    prefix: "b",
    name: "base32",
    alphabet: "abcdefghijklmnopqrstuvwxyz234567",
    bitsPerChar: 5
  }),
  cM = ht({
    prefix: "B",
    name: "base32upper",
    alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",
    bitsPerChar: 5
  }),
  dM = ht({
    prefix: "c",
    name: "base32pad",
    alphabet: "abcdefghijklmnopqrstuvwxyz234567=",
    bitsPerChar: 5
  }),
  fM = ht({
    prefix: "C",
    name: "base32padupper",
    alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",
    bitsPerChar: 5
  }),
  BM = ht({
    prefix: "v",
    name: "base32hex",
    alphabet: "0123456789abcdefghijklmnopqrstuv",
    bitsPerChar: 5
  }),
  hM = ht({
    prefix: "V",
    name: "base32hexupper",
    alphabet: "0123456789ABCDEFGHIJKLMNOPQRSTUV",
    bitsPerChar: 5
  }),
  pM = ht({
    prefix: "t",
    name: "base32hexpad",
    alphabet: "0123456789abcdefghijklmnopqrstuv=",
    bitsPerChar: 5
  }),
  CM = ht({
    prefix: "T",
    name: "base32hexpadupper",
    alphabet: "0123456789ABCDEFGHIJKLMNOPQRSTUV=",
    bitsPerChar: 5
  }),
  mM = ht({
    prefix: "h",
    name: "base32z",
    alphabet: "ybndrfg8ejkmcpqxot1uwisza345h769",
    bitsPerChar: 5
  }),
  gM = Object.freeze(Object.defineProperty({
    __proto__: null,
    base32: uM,
    base32hex: BM,
    base32hexpad: pM,
    base32hexpadupper: CM,
    base32hexupper: hM,
    base32pad: dM,
    base32padupper: fM,
    base32upper: cM,
    base32z: mM
  }, Symbol.toStringTag, {
    value: "Module"
  })),
  vM = rl({
    prefix: "k",
    name: "base36",
    alphabet: "0123456789abcdefghijklmnopqrstuvwxyz"
  }),
  yM = rl({
    prefix: "K",
    name: "base36upper",
    alphabet: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  }),
  wM = Object.freeze(Object.defineProperty({
    __proto__: null,
    base36: vM,
    base36upper: yM
  }, Symbol.toStringTag, {
    value: "Module"
  })),
  bM = rl({
    name: "base58btc",
    prefix: "z",
    alphabet: "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
  }),
  DM = rl({
    name: "base58flickr",
    prefix: "Z",
    alphabet: "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"
  }),
  xM = Object.freeze(Object.defineProperty({
    __proto__: null,
    base58btc: bM,
    base58flickr: DM
  }, Symbol.toStringTag, {
    value: "Module"
  })),
  EM = ht({
    prefix: "m",
    name: "base64",
    alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
    bitsPerChar: 6
  }),
  SM = ht({
    prefix: "M",
    name: "base64pad",
    alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
    bitsPerChar: 6
  }),
  kM = ht({
    prefix: "u",
    name: "base64url",
    alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",
    bitsPerChar: 6
  }),
  jM = ht({
    prefix: "U",
    name: "base64urlpad",
    alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",
    bitsPerChar: 6
  }),
  AM = Object.freeze(Object.defineProperty({
    __proto__: null,
    base64: EM,
    base64pad: SM,
    base64url: kM,
    base64urlpad: jM
  }, Symbol.toStringTag, {
    value: "Module"
  })),
  g8 = Array.from("🚀🪐☄🛰🌌🌑🌒🌓🌔🌕🌖🌗🌘🌍🌏🌎🐉☀💻🖥💾💿😂❤😍🤣😊🙏💕😭😘👍😅👏😁🔥🥰💔💖💙😢🤔😆🙄💪😉☺👌🤗💜😔😎😇🌹🤦🎉💞✌✨🤷😱😌🌸🙌😋💗💚😏💛🙂💓🤩😄😀🖤😃💯🙈👇🎶😒🤭❣😜💋👀😪😑💥🙋😞😩😡🤪👊🥳😥🤤👉💃😳✋😚😝😴🌟😬🙃🍀🌷😻😓⭐✅🥺🌈😈🤘💦✔😣🏃💐☹🎊💘😠☝😕🌺🎂🌻😐🖕💝🙊😹🗣💫💀👑🎵🤞😛🔴😤🌼😫⚽🤙☕🏆🤫👈😮🙆🍻🍃🐶💁😲🌿🧡🎁⚡🌞🎈❌✊👋😰🤨😶🤝🚶💰🍓💢🤟🙁🚨💨🤬✈🎀🍺🤓😙💟🌱😖👶🥴▶➡❓💎💸⬇😨🌚🦋😷🕺⚠🙅😟😵👎🤲🤠🤧📌🔵💅🧐🐾🍒😗🤑🌊🤯🐷☎💧😯💆👆🎤🙇🍑❄🌴💣🐸💌📍🥀🤢👅💡💩👐📸👻🤐🤮🎼🥵🚩🍎🍊👼💍📣🥂"),
  PM = g8.reduce((t, e, r) => (t[r] = e, t), []),
  _M = g8.reduce((t, e, r) => (t[e.codePointAt(0)] = r, t), []);

function OM(t) {
  return t.reduce((e, r) => (e += PM[r], e), "")
}

function IM(t) {
  const e = [];
  for (const r of t) {
    const n = _M[r.codePointAt(0)];
    if (n === void 0) throw new Error(`Non-base256emoji character: ${r}`);
    e.push(n)
  }
  return new Uint8Array(e)
}
const NM = Wd({
    prefix: "🚀",
    name: "base256emoji",
    encode: OM,
    decode: IM
  }),
  TM = Object.freeze(Object.defineProperty({
    __proto__: null,
    base256emoji: NM
  }, Symbol.toStringTag, {
    value: "Module"
  }));
new TextEncoder;
new TextDecoder;
const Hy = {
  ...ZF,
  ...tM,
  ...nM,
  ...sM,
  ...lM,
  ...gM,
  ...wM,
  ...xM,
  ...AM,
  ...TM
};

function v8(t, e, r, n) {
  return {
    name: t,
    prefix: e,
    encoder: {
      name: t,
      prefix: e,
      encode: r
    },
    decoder: {
      decode: n
    }
  }
}
const Gy = v8("utf8", "u", t => "u" + new TextDecoder("utf8").decode(t), t => new TextEncoder().encode(t.substring(1))),
  aB = v8("ascii", "a", t => {
    let e = "a";
    for (let r = 0; r < t.length; r++) e += String.fromCharCode(t[r]);
    return e
  }, t => {
    t = t.substring(1);
    const e = C8(t.length);
    for (let r = 0; r < t.length; r++) e[r] = t.charCodeAt(r);
    return e
  }),
  y8 = {
    utf8: Gy,
    "utf-8": Gy,
    hex: Hy.base16,
    latin1: aB,
    ascii: aB,
    binary: aB,
    ...Hy
  };

function yr(t, e = "utf8") {
  const r = y8[e];
  if (!r) throw new Error(`Unsupported encoding "${e}"`);
  return (e === "utf8" || e === "utf-8") && globalThis.Buffer != null && globalThis.Buffer.from != null ? Dm(globalThis.Buffer.from(t, "utf-8")) : r.decoder.decode(`${r.prefix}${t}`)
}

function Sr(t, e = "utf8") {
  const r = y8[e];
  if (!r) throw new Error(`Unsupported encoding "${e}"`);
  return (e === "utf8" || e === "utf-8") && globalThis.Buffer != null && globalThis.Buffer.from != null ? globalThis.Buffer.from(t.buffer, t.byteOffset, t.byteLength).toString("utf8") : r.encoder.encode(t).substring(1)
}
var qy = function (t, e, r) {
    if (r || arguments.length === 2)
      for (var n = 0, i = e.length, s; n < i; n++)(s || !(n in e)) && (s || (s = Array.prototype.slice.call(e, 0, n)), s[n] = e[n]);
    return t.concat(s || Array.prototype.slice.call(e))
  },
  RM = function () {
    function t(e, r, n) {
      this.name = e, this.version = r, this.os = n, this.type = "browser"
    }
    return t
  }(),
  FM = function () {
    function t(e) {
      this.version = e, this.type = "node", this.name = "node", this.os = process.platform
    }
    return t
  }(),
  MM = function () {
    function t(e, r, n, i) {
      this.name = e, this.version = r, this.os = n, this.bot = i, this.type = "bot-device"
    }
    return t
  }(),
  LM = function () {
    function t() {
      this.type = "bot", this.bot = !0, this.name = "bot", this.version = null, this.os = null
    }
    return t
  }(),
  UM = function () {
    function t() {
      this.type = "react-native", this.name = "react-native", this.version = null, this.os = null
    }
    return t
  }(),
  zM = /alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,
  WM = /(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,
  Vy = 3,
  $M = [
    ["aol", /AOLShield\/([0-9\._]+)/],
    ["edge", /Edge\/([0-9\._]+)/],
    ["edge-ios", /EdgiOS\/([0-9\._]+)/],
    ["yandexbrowser", /YaBrowser\/([0-9\._]+)/],
    ["kakaotalk", /KAKAOTALK\s([0-9\.]+)/],
    ["samsung", /SamsungBrowser\/([0-9\.]+)/],
    ["silk", /\bSilk\/([0-9._-]+)\b/],
    ["miui", /MiuiBrowser\/([0-9\.]+)$/],
    ["beaker", /BeakerBrowser\/([0-9\.]+)/],
    ["edge-chromium", /EdgA?\/([0-9\.]+)/],
    ["chromium-webview", /(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],
    ["chrome", /(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],
    ["phantomjs", /PhantomJS\/([0-9\.]+)(:?\s|$)/],
    ["crios", /CriOS\/([0-9\.]+)(:?\s|$)/],
    ["firefox", /Firefox\/([0-9\.]+)(?:\s|$)/],
    ["fxios", /FxiOS\/([0-9\.]+)/],
    ["opera-mini", /Opera Mini.*Version\/([0-9\.]+)/],
    ["opera", /Opera\/([0-9\.]+)(?:\s|$)/],
    ["opera", /OPR\/([0-9\.]+)(:?\s|$)/],
    ["pie", /^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],
    ["pie", /^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],
    ["netfront", /^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],
    ["ie", /Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],
    ["ie", /MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],
    ["ie", /MSIE\s(7\.0)/],
    ["bb10", /BB10;\sTouch.*Version\/([0-9\.]+)/],
    ["android", /Android\s([0-9\.]+)/],
    ["ios", /Version\/([0-9\._]+).*Mobile.*Safari.*/],
    ["safari", /Version\/([0-9\._]+).*Safari/],
    ["facebook", /FB[AS]V\/([0-9\.]+)/],
    ["instagram", /Instagram\s([0-9\.]+)/],
    ["ios-webview", /AppleWebKit\/([0-9\.]+).*Mobile/],
    ["ios-webview", /AppleWebKit\/([0-9\.]+).*Gecko\)$/],
    ["curl", /^curl\/([0-9\.]+)$/],
    ["searchbot", zM]
  ],
  Ky = [
    ["iOS", /iP(hone|od|ad)/],
    ["Android OS", /Android/],
    ["BlackBerry OS", /BlackBerry|BB10/],
    ["Windows Mobile", /IEMobile/],
    ["Amazon OS", /Kindle/],
    ["Windows 3.11", /Win16/],
    ["Windows 95", /(Windows 95)|(Win95)|(Windows_95)/],
    ["Windows 98", /(Windows 98)|(Win98)/],
    ["Windows 2000", /(Windows NT 5.0)|(Windows 2000)/],
    ["Windows XP", /(Windows NT 5.1)|(Windows XP)/],
    ["Windows Server 2003", /(Windows NT 5.2)/],
    ["Windows Vista", /(Windows NT 6.0)/],
    ["Windows 7", /(Windows NT 6.1)/],
    ["Windows 8", /(Windows NT 6.2)/],
    ["Windows 8.1", /(Windows NT 6.3)/],
    ["Windows 10", /(Windows NT 10.0)/],
    ["Windows ME", /Windows ME/],
    ["Windows CE", /Windows CE|WinCE|Microsoft Pocket Internet Explorer/],
    ["Open BSD", /OpenBSD/],
    ["Sun OS", /SunOS/],
    ["Chrome OS", /CrOS/],
    ["Linux", /(Linux)|(X11)/],
    ["Mac OS", /(Mac_PowerPC)|(Macintosh)/],
    ["QNX", /QNX/],
    ["BeOS", /BeOS/],
    ["OS/2", /OS\/2/]
  ];

function HM(t) {
  return t ? Qy(t) : typeof document > "u" && typeof navigator < "u" && navigator.product === "ReactNative" ? new UM : typeof navigator < "u" ? Qy(navigator.userAgent) : VM()
}

function GM(t) {
  return t !== "" && $M.reduce(function (e, r) {
    var n = r[0],
      i = r[1];
    if (e) return e;
    var s = i.exec(t);
    return !!s && [n, s]
  }, !1)
}

function Qy(t) {
  var e = GM(t);
  if (!e) return null;
  var r = e[0],
    n = e[1];
  if (r === "searchbot") return new LM;
  var i = n[1] && n[1].split(".").join("_").split("_").slice(0, 3);
  i ? i.length < Vy && (i = qy(qy([], i, !0), KM(Vy - i.length), !0)) : i = [];
  var s = i.join("."),
    o = qM(t),
    a = WM.exec(t);
  return a && a[1] ? new MM(r, s, o, a[1]) : new RM(r, s, o)
}

function qM(t) {
  for (var e = 0, r = Ky.length; e < r; e++) {
    var n = Ky[e],
      i = n[0],
      s = n[1],
      o = s.exec(t);
    if (o) return i
  }
  return null
}

function VM() {
  var t = typeof process < "u" && process.version;
  return t ? new FM(process.version.slice(1)) : null
}

function KM(t) {
  for (var e = [], r = 0; r < t; r++) e.push("0");
  return e
}
var gi = {};
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var Vp = function (t, e) {
  return Vp = Object.setPrototypeOf || {
    __proto__: []
  }
  instanceof Array && function (r, n) {
    r.__proto__ = n
  } || function (r, n) {
    for (var i in n) n.hasOwnProperty(i) && (r[i] = n[i])
  }, Vp(t, e)
};

function QM(t, e) {
  Vp(t, e);

  function r() {
    this.constructor = t
  }
  t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r)
}
var Kp = function () {
  return Kp = Object.assign || function (e) {
    for (var r, n = 1, i = arguments.length; n < i; n++) {
      r = arguments[n];
      for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (e[s] = r[s])
    }
    return e
  }, Kp.apply(this, arguments)
};

function JM(t, e) {
  var r = {};
  for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
  if (t != null && typeof Object.getOwnPropertySymbols == "function")
    for (var i = 0, n = Object.getOwnPropertySymbols(t); i < n.length; i++) e.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[i]) && (r[n[i]] = t[n[i]]);
  return r
}

function YM(t, e, r, n) {
  var i = arguments.length,
    s = i < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, r) : n,
    o;
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(t, e, r, n);
  else
    for (var a = t.length - 1; a >= 0; a--)(o = t[a]) && (s = (i < 3 ? o(s) : i > 3 ? o(e, r, s) : o(e, r)) || s);
  return i > 3 && s && Object.defineProperty(e, r, s), s
}

function XM(t, e) {
  return function (r, n) {
    e(r, n, t)
  }
}

function ZM(t, e) {
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(t, e)
}

function eL(t, e, r, n) {
  function i(s) {
    return s instanceof r ? s : new r(function (o) {
      o(s)
    })
  }
  return new(r || (r = Promise))(function (s, o) {
    function a(c) {
      try {
        u(n.next(c))
      } catch (d) {
        o(d)
      }
    }

    function l(c) {
      try {
        u(n.throw(c))
      } catch (d) {
        o(d)
      }
    }

    function u(c) {
      c.done ? s(c.value) : i(c.value).then(a, l)
    }
    u((n = n.apply(t, e || [])).next())
  })
}

function tL(t, e) {
  var r = {
      label: 0,
      sent: function () {
        if (s[0] & 1) throw s[1];
        return s[1]
      },
      trys: [],
      ops: []
    },
    n, i, s, o;
  return o = {
    next: a(0),
    throw: a(1),
    return: a(2)
  }, typeof Symbol == "function" && (o[Symbol.iterator] = function () {
    return this
  }), o;

  function a(u) {
    return function (c) {
      return l([u, c])
    }
  }

  function l(u) {
    if (n) throw new TypeError("Generator is already executing.");
    for (; r;) try {
      if (n = 1, i && (s = u[0] & 2 ? i.return : u[0] ? i.throw || ((s = i.return) && s.call(i), 0) : i.next) && !(s = s.call(i, u[1])).done) return s;
      switch (i = 0, s && (u = [u[0] & 2, s.value]), u[0]) {
        case 0:
        case 1:
          s = u;
          break;
        case 4:
          return r.label++, {
            value: u[1],
            done: !1
          };
        case 5:
          r.label++, i = u[1], u = [0];
          continue;
        case 7:
          u = r.ops.pop(), r.trys.pop();
          continue;
        default:
          if (s = r.trys, !(s = s.length > 0 && s[s.length - 1]) && (u[0] === 6 || u[0] === 2)) {
            r = 0;
            continue
          }
          if (u[0] === 3 && (!s || u[1] > s[0] && u[1] < s[3])) {
            r.label = u[1];
            break
          }
          if (u[0] === 6 && r.label < s[1]) {
            r.label = s[1], s = u;
            break
          }
          if (s && r.label < s[2]) {
            r.label = s[2], r.ops.push(u);
            break
          }
          s[2] && r.ops.pop(), r.trys.pop();
          continue
      }
      u = e.call(t, r)
    } catch (c) {
      u = [6, c], i = 0
    } finally {
      n = s = 0
    }
    if (u[0] & 5) throw u[1];
    return {
      value: u[0] ? u[1] : void 0,
      done: !0
    }
  }
}

function rL(t, e, r, n) {
  n === void 0 && (n = r), t[n] = e[r]
}

function nL(t, e) {
  for (var r in t) r !== "default" && !e.hasOwnProperty(r) && (e[r] = t[r])
}

function Qp(t) {
  var e = typeof Symbol == "function" && Symbol.iterator,
    r = e && t[e],
    n = 0;
  if (r) return r.call(t);
  if (t && typeof t.length == "number") return {
    next: function () {
      return t && n >= t.length && (t = void 0), {
        value: t && t[n++],
        done: !t
      }
    }
  };
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.")
}

function w8(t, e) {
  var r = typeof Symbol == "function" && t[Symbol.iterator];
  if (!r) return t;
  var n = r.call(t),
    i, s = [],
    o;
  try {
    for (;
      (e === void 0 || e-- > 0) && !(i = n.next()).done;) s.push(i.value)
  } catch (a) {
    o = {
      error: a
    }
  } finally {
    try {
      i && !i.done && (r = n.return) && r.call(n)
    } finally {
      if (o) throw o.error
    }
  }
  return s
}

function iL() {
  for (var t = [], e = 0; e < arguments.length; e++) t = t.concat(w8(arguments[e]));
  return t
}

function sL() {
  for (var t = 0, e = 0, r = arguments.length; e < r; e++) t += arguments[e].length;
  for (var n = Array(t), i = 0, e = 0; e < r; e++)
    for (var s = arguments[e], o = 0, a = s.length; o < a; o++, i++) n[i] = s[o];
  return n
}

function Ea(t) {
  return this instanceof Ea ? (this.v = t, this) : new Ea(t)
}

function oL(t, e, r) {
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  var n = r.apply(t, e || []),
    i, s = [];
  return i = {}, o("next"), o("throw"), o("return"), i[Symbol.asyncIterator] = function () {
    return this
  }, i;

  function o(f) {
    n[f] && (i[f] = function (B) {
      return new Promise(function (h, g) {
        s.push([f, B, h, g]) > 1 || a(f, B)
      })
    })
  }

  function a(f, B) {
    try {
      l(n[f](B))
    } catch (h) {
      d(s[0][3], h)
    }
  }

  function l(f) {
    f.value instanceof Ea ? Promise.resolve(f.value.v).then(u, c) : d(s[0][2], f)
  }

  function u(f) {
    a("next", f)
  }

  function c(f) {
    a("throw", f)
  }

  function d(f, B) {
    f(B), s.shift(), s.length && a(s[0][0], s[0][1])
  }
}

function aL(t) {
  var e, r;
  return e = {}, n("next"), n("throw", function (i) {
    throw i
  }), n("return"), e[Symbol.iterator] = function () {
    return this
  }, e;

  function n(i, s) {
    e[i] = t[i] ? function (o) {
      return (r = !r) ? {
        value: Ea(t[i](o)),
        done: i === "return"
      } : s ? s(o) : o
    } : s
  }
}

function lL(t) {
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  var e = t[Symbol.asyncIterator],
    r;
  return e ? e.call(t) : (t = typeof Qp == "function" ? Qp(t) : t[Symbol.iterator](), r = {}, n("next"), n("throw"), n("return"), r[Symbol.asyncIterator] = function () {
    return this
  }, r);

  function n(s) {
    r[s] = t[s] && function (o) {
      return new Promise(function (a, l) {
        o = t[s](o), i(a, l, o.done, o.value)
      })
    }
  }

  function i(s, o, a, l) {
    Promise.resolve(l).then(function (u) {
      s({
        value: u,
        done: a
      })
    }, o)
  }
}

function uL(t, e) {
  return Object.defineProperty ? Object.defineProperty(t, "raw", {
    value: e
  }) : t.raw = e, t
}

function cL(t) {
  if (t && t.__esModule) return t;
  var e = {};
  if (t != null)
    for (var r in t) Object.hasOwnProperty.call(t, r) && (e[r] = t[r]);
  return e.default = t, e
}

function dL(t) {
  return t && t.__esModule ? t : {
    default: t
  }
}

function fL(t, e) {
  if (!e.has(t)) throw new TypeError("attempted to get private field on non-instance");
  return e.get(t)
}

function BL(t, e, r) {
  if (!e.has(t)) throw new TypeError("attempted to set private field on non-instance");
  return e.set(t, r), r
}
const hL = Object.freeze(Object.defineProperty({
    __proto__: null,
    get __assign() {
      return Kp
    },
    __asyncDelegator: aL,
    __asyncGenerator: oL,
    __asyncValues: lL,
    __await: Ea,
    __awaiter: eL,
    __classPrivateFieldGet: fL,
    __classPrivateFieldSet: BL,
    __createBinding: rL,
    __decorate: YM,
    __exportStar: nL,
    __extends: QM,
    __generator: tL,
    __importDefault: dL,
    __importStar: cL,
    __makeTemplateObject: uL,
    __metadata: ZM,
    __param: XM,
    __read: w8,
    __rest: JM,
    __spread: iL,
    __spreadArrays: sL,
    __values: Qp
  }, Symbol.toStringTag, {
    value: "Module"
  })),
  $d = w3(hL);
var lB = {},
  Bo = {},
  Jy;

function pL() {
  if (Jy) return Bo;
  Jy = 1, Object.defineProperty(Bo, "__esModule", {
    value: !0
  }), Bo.delay = void 0;

  function t(e) {
    return new Promise(r => {
      setTimeout(() => {
        r(!0)
      }, e)
    })
  }
  return Bo.delay = t, Bo
}
var ri = {},
  uB = {},
  ni = {},
  Yy;

function CL() {
  return Yy || (Yy = 1, Object.defineProperty(ni, "__esModule", {
    value: !0
  }), ni.ONE_THOUSAND = ni.ONE_HUNDRED = void 0, ni.ONE_HUNDRED = 100, ni.ONE_THOUSAND = 1e3), ni
}
var cB = {},
  Xy;

function mL() {
  return Xy || (Xy = 1, function (t) {
    Object.defineProperty(t, "__esModule", {
      value: !0
    }), t.ONE_YEAR = t.FOUR_WEEKS = t.THREE_WEEKS = t.TWO_WEEKS = t.ONE_WEEK = t.THIRTY_DAYS = t.SEVEN_DAYS = t.FIVE_DAYS = t.THREE_DAYS = t.ONE_DAY = t.TWENTY_FOUR_HOURS = t.TWELVE_HOURS = t.SIX_HOURS = t.THREE_HOURS = t.ONE_HOUR = t.SIXTY_MINUTES = t.THIRTY_MINUTES = t.TEN_MINUTES = t.FIVE_MINUTES = t.ONE_MINUTE = t.SIXTY_SECONDS = t.THIRTY_SECONDS = t.TEN_SECONDS = t.FIVE_SECONDS = t.ONE_SECOND = void 0, t.ONE_SECOND = 1, t.FIVE_SECONDS = 5, t.TEN_SECONDS = 10, t.THIRTY_SECONDS = 30, t.SIXTY_SECONDS = 60, t.ONE_MINUTE = t.SIXTY_SECONDS, t.FIVE_MINUTES = t.ONE_MINUTE * 5, t.TEN_MINUTES = t.ONE_MINUTE * 10, t.THIRTY_MINUTES = t.ONE_MINUTE * 30, t.SIXTY_MINUTES = t.ONE_MINUTE * 60, t.ONE_HOUR = t.SIXTY_MINUTES, t.THREE_HOURS = t.ONE_HOUR * 3, t.SIX_HOURS = t.ONE_HOUR * 6, t.TWELVE_HOURS = t.ONE_HOUR * 12, t.TWENTY_FOUR_HOURS = t.ONE_HOUR * 24, t.ONE_DAY = t.TWENTY_FOUR_HOURS, t.THREE_DAYS = t.ONE_DAY * 3, t.FIVE_DAYS = t.ONE_DAY * 5, t.SEVEN_DAYS = t.ONE_DAY * 7, t.THIRTY_DAYS = t.ONE_DAY * 30, t.ONE_WEEK = t.SEVEN_DAYS, t.TWO_WEEKS = t.ONE_WEEK * 2, t.THREE_WEEKS = t.ONE_WEEK * 3, t.FOUR_WEEKS = t.ONE_WEEK * 4, t.ONE_YEAR = t.ONE_DAY * 365
  }(cB)), cB
}
var Zy;

function b8() {
  return Zy || (Zy = 1, function (t) {
    Object.defineProperty(t, "__esModule", {
      value: !0
    });
    const e = $d;
    e.__exportStar(CL(), t), e.__exportStar(mL(), t)
  }(uB)), uB
}
var e2;

function gL() {
  if (e2) return ri;
  e2 = 1, Object.defineProperty(ri, "__esModule", {
    value: !0
  }), ri.fromMiliseconds = ri.toMiliseconds = void 0;
  const t = b8();

  function e(n) {
    return n * t.ONE_THOUSAND
  }
  ri.toMiliseconds = e;

  function r(n) {
    return Math.floor(n / t.ONE_THOUSAND)
  }
  return ri.fromMiliseconds = r, ri
}
var t2;

function vL() {
  return t2 || (t2 = 1, function (t) {
    Object.defineProperty(t, "__esModule", {
      value: !0
    });
    const e = $d;
    e.__exportStar(pL(), t), e.__exportStar(gL(), t)
  }(lB)), lB
}
var Mi = {},
  r2;

function yL() {
  if (r2) return Mi;
  r2 = 1, Object.defineProperty(Mi, "__esModule", {
    value: !0
  }), Mi.Watch = void 0;
  class t {
    constructor() {
      this.timestamps = new Map
    }
    start(r) {
      if (this.timestamps.has(r)) throw new Error(`Watch already started for label: ${r}`);
      this.timestamps.set(r, {
        started: Date.now()
      })
    }
    stop(r) {
      const n = this.get(r);
      if (typeof n.elapsed < "u") throw new Error(`Watch already stopped for label: ${r}`);
      const i = Date.now() - n.started;
      this.timestamps.set(r, {
        started: n.started,
        elapsed: i
      })
    }
    get(r) {
      const n = this.timestamps.get(r);
      if (typeof n > "u") throw new Error(`No timestamp found for label: ${r}`);
      return n
    }
    elapsed(r) {
      const n = this.get(r);
      return n.elapsed || Date.now() - n.started
    }
  }
  return Mi.Watch = t, Mi.default = t, Mi
}
var dB = {},
  ho = {},
  n2;

function wL() {
  if (n2) return ho;
  n2 = 1, Object.defineProperty(ho, "__esModule", {
    value: !0
  }), ho.IWatch = void 0;
  class t {}
  return ho.IWatch = t, ho
}
var i2;

function bL() {
  return i2 || (i2 = 1, function (t) {
    Object.defineProperty(t, "__esModule", {
      value: !0
    }), $d.__exportStar(wL(), t)
  }(dB)), dB
}(function (t) {
  Object.defineProperty(t, "__esModule", {
    value: !0
  });
  const e = $d;
  e.__exportStar(vL(), t), e.__exportStar(yL(), t), e.__exportStar(bL(), t), e.__exportStar(b8(), t)
})(gi);
var Pe = {};
Object.defineProperty(Pe, "__esModule", {
  value: !0
});
var DL = Pe.getLocalStorage = UL = Pe.getLocalStorageOrThrow = ML = Pe.getCrypto = RL = Pe.getCryptoOrThrow = D8 = Pe.getLocation = IL = Pe.getLocationOrThrow = Em = Pe.getNavigator = PL = Pe.getNavigatorOrThrow = xm = Pe.getDocument = kL = Pe.getDocumentOrThrow = EL = Pe.getFromWindowOrThrow = xL = Pe.getFromWindow = void 0;

function _i(t) {
  let e;
  return typeof window < "u" && typeof window[t] < "u" && (e = window[t]), e
}
var xL = Pe.getFromWindow = _i;

function Js(t) {
  const e = _i(t);
  if (!e) throw new Error(`${t} is not defined in Window`);
  return e
}
var EL = Pe.getFromWindowOrThrow = Js;

function SL() {
  return Js("document")
}
var kL = Pe.getDocumentOrThrow = SL;

function jL() {
  return _i("document")
}
var xm = Pe.getDocument = jL;

function AL() {
  return Js("navigator")
}
var PL = Pe.getNavigatorOrThrow = AL;

function _L() {
  return _i("navigator")
}
var Em = Pe.getNavigator = _L;

function OL() {
  return Js("location")
}
var IL = Pe.getLocationOrThrow = OL;

function NL() {
  return _i("location")
}
var D8 = Pe.getLocation = NL;

function TL() {
  return Js("crypto")
}
var RL = Pe.getCryptoOrThrow = TL;

function FL() {
  return _i("crypto")
}
var ML = Pe.getCrypto = FL;

function LL() {
  return Js("localStorage")
}
var UL = Pe.getLocalStorageOrThrow = LL;

function zL() {
  return _i("localStorage")
}
DL = Pe.getLocalStorage = zL;
var Sm = {};
Object.defineProperty(Sm, "__esModule", {
  value: !0
});
var x8 = Sm.getWindowMetadata = void 0;
const s2 = Pe;

function WL() {
  let t, e;
  try {
    t = s2.getDocumentOrThrow(), e = s2.getLocationOrThrow()
  } catch {
    return null
  }

  function r() {
    const d = t.getElementsByTagName("link"),
      f = [];
    for (let B = 0; B < d.length; B++) {
      const h = d[B],
        g = h.getAttribute("rel");
      if (g && g.toLowerCase().indexOf("icon") > -1) {
        const y = h.getAttribute("href");
        if (y)
          if (y.toLowerCase().indexOf("https:") === -1 && y.toLowerCase().indexOf("http:") === -1 && y.indexOf("//") !== 0) {
            let m = e.protocol + "//" + e.host;
            if (y.indexOf("/") === 0) m += y;
            else {
              const p = e.pathname.split("/");
              p.pop();
              const v = p.join("/");
              m += v + "/" + y
            }
            f.push(m)
          } else if (y.indexOf("//") === 0) {
          const m = e.protocol + y;
          f.push(m)
        } else f.push(y)
      }
    }
    return f
  }

  function n(...d) {
    const f = t.getElementsByTagName("meta");
    for (let B = 0; B < f.length; B++) {
      const h = f[B],
        g = ["itemprop", "property", "name"].map(y => h.getAttribute(y)).filter(y => y ? d.includes(y) : !1);
      if (g.length && g) {
        const y = h.getAttribute("content");
        if (y) return y
      }
    }
    return ""
  }

  function i() {
    let d = n("name", "og:site_name", "og:title", "twitter:title");
    return d || (d = t.title), d
  }

  function s() {
    return n("description", "og:description", "twitter:description", "keywords")
  }
  const o = i(),
    a = s(),
    l = e.origin,
    u = r();
  return {
    description: a,
    url: l,
    icons: u,
    name: o
  }
}
x8 = Sm.getWindowMetadata = WL;
var Sa = {},
  $L = t => encodeURIComponent(t).replace(/[!'()*]/g, e => `%${e.charCodeAt(0).toString(16).toUpperCase()}`),
  E8 = "%[a-f0-9]{2}",
  o2 = new RegExp("(" + E8 + ")|([^%]+?)", "gi"),
  a2 = new RegExp("(" + E8 + ")+", "gi");

function Jp(t, e) {
  try {
    return [decodeURIComponent(t.join(""))]
  } catch {}
  if (t.length === 1) return t;
  e = e || 1;
  var r = t.slice(0, e),
    n = t.slice(e);
  return Array.prototype.concat.call([], Jp(r), Jp(n))
}

function HL(t) {
  try {
    return decodeURIComponent(t)
  } catch {
    for (var e = t.match(o2) || [], r = 1; r < e.length; r++) t = Jp(e, r).join(""), e = t.match(o2) || [];
    return t
  }
}

function GL(t) {
  for (var e = {
      "%FE%FF": "  ",
      "%FF%FE": "  "
    }, r = a2.exec(t); r;) {
    try {
      e[r[0]] = decodeURIComponent(r[0])
    } catch {
      var n = HL(r[0]);
      n !== r[0] && (e[r[0]] = n)
    }
    r = a2.exec(t)
  }
  e["%C2"] = " ";
  for (var i = Object.keys(e), s = 0; s < i.length; s++) {
    var o = i[s];
    t = t.replace(new RegExp(o, "g"), e[o])
  }
  return t
}
var qL = function (t) {
    if (typeof t != "string") throw new TypeError("Expected `encodedURI` to be of type `string`, got `" + typeof t + "`");
    try {
      return t = t.replace(/\+/g, " "), decodeURIComponent(t)
    } catch {
      return GL(t)
    }
  },
  VL = (t, e) => {
    if (!(typeof t == "string" && typeof e == "string")) throw new TypeError("Expected the arguments to be of type `string`");
    if (e === "") return [t];
    const r = t.indexOf(e);
    return r === -1 ? [t] : [t.slice(0, r), t.slice(r + e.length)]
  },
  KL = function (t, e) {
    for (var r = {}, n = Object.keys(t), i = Array.isArray(e), s = 0; s < n.length; s++) {
      var o = n[s],
        a = t[o];
      (i ? e.indexOf(o) !== -1 : e(o, a, t)) && (r[o] = a)
    }
    return r
  };
(function (t) {
  const e = $L,
    r = qL,
    n = VL,
    i = KL,
    s = p => p == null,
    o = Symbol("encodeFragmentIdentifier");

  function a(p) {
    switch (p.arrayFormat) {
      case "index":
        return v => (w, D) => {
          const x = w.length;
          return D === void 0 || p.skipNull && D === null || p.skipEmptyString && D === "" ? w : D === null ? [...w, [c(v, p), "[", x, "]"].join("")] : [...w, [c(v, p), "[", c(x, p), "]=", c(D, p)].join("")]
        };
      case "bracket":
        return v => (w, D) => D === void 0 || p.skipNull && D === null || p.skipEmptyString && D === "" ? w : D === null ? [...w, [c(v, p), "[]"].join("")] : [...w, [c(v, p), "[]=", c(D, p)].join("")];
      case "colon-list-separator":
        return v => (w, D) => D === void 0 || p.skipNull && D === null || p.skipEmptyString && D === "" ? w : D === null ? [...w, [c(v, p), ":list="].join("")] : [...w, [c(v, p), ":list=", c(D, p)].join("")];
      case "comma":
      case "separator":
      case "bracket-separator": {
        const v = p.arrayFormat === "bracket-separator" ? "[]=" : "=";
        return w => (D, x) => x === void 0 || p.skipNull && x === null || p.skipEmptyString && x === "" ? D : (x = x === null ? "" : x, D.length === 0 ? [
          [c(w, p), v, c(x, p)].join("")
        ] : [
          [D, c(x, p)].join(p.arrayFormatSeparator)
        ])
      }
      default:
        return v => (w, D) => D === void 0 || p.skipNull && D === null || p.skipEmptyString && D === "" ? w : D === null ? [...w, c(v, p)] : [...w, [c(v, p), "=", c(D, p)].join("")]
    }
  }

  function l(p) {
    let v;
    switch (p.arrayFormat) {
      case "index":
        return (w, D, x) => {
          if (v = /\[(\d*)\]$/.exec(w), w = w.replace(/\[\d*\]$/, ""), !v) {
            x[w] = D;
            return
          }
          x[w] === void 0 && (x[w] = {}), x[w][v[1]] = D
        };
      case "bracket":
        return (w, D, x) => {
          if (v = /(\[\])$/.exec(w), w = w.replace(/\[\]$/, ""), !v) {
            x[w] = D;
            return
          }
          if (x[w] === void 0) {
            x[w] = [D];
            return
          }
          x[w] = [].concat(x[w], D)
        };
      case "colon-list-separator":
        return (w, D, x) => {
          if (v = /(:list)$/.exec(w), w = w.replace(/:list$/, ""), !v) {
            x[w] = D;
            return
          }
          if (x[w] === void 0) {
            x[w] = [D];
            return
          }
          x[w] = [].concat(x[w], D)
        };
      case "comma":
      case "separator":
        return (w, D, x) => {
          const C = typeof D == "string" && D.includes(p.arrayFormatSeparator),
            S = typeof D == "string" && !C && d(D, p).includes(p.arrayFormatSeparator);
          D = S ? d(D, p) : D;
          const A = C || S ? D.split(p.arrayFormatSeparator).map(P => d(P, p)) : D === null ? D : d(D, p);
          x[w] = A
        };
      case "bracket-separator":
        return (w, D, x) => {
          const C = /(\[\])$/.test(w);
          if (w = w.replace(/\[\]$/, ""), !C) {
            x[w] = D && d(D, p);
            return
          }
          const S = D === null ? [] : D.split(p.arrayFormatSeparator).map(A => d(A, p));
          if (x[w] === void 0) {
            x[w] = S;
            return
          }
          x[w] = [].concat(x[w], S)
        };
      default:
        return (w, D, x) => {
          if (x[w] === void 0) {
            x[w] = D;
            return
          }
          x[w] = [].concat(x[w], D)
        }
    }
  }

  function u(p) {
    if (typeof p != "string" || p.length !== 1) throw new TypeError("arrayFormatSeparator must be single character string")
  }

  function c(p, v) {
    return v.encode ? v.strict ? e(p) : encodeURIComponent(p) : p
  }

  function d(p, v) {
    return v.decode ? r(p) : p
  }

  function f(p) {
    return Array.isArray(p) ? p.sort() : typeof p == "object" ? f(Object.keys(p)).sort((v, w) => Number(v) - Number(w)).map(v => p[v]) : p
  }

  function B(p) {
    const v = p.indexOf("#");
    return v !== -1 && (p = p.slice(0, v)), p
  }

  function h(p) {
    let v = "";
    const w = p.indexOf("#");
    return w !== -1 && (v = p.slice(w)), v
  }

  function g(p) {
    p = B(p);
    const v = p.indexOf("?");
    return v === -1 ? "" : p.slice(v + 1)
  }

  function y(p, v) {
    return v.parseNumbers && !Number.isNaN(Number(p)) && typeof p == "string" && p.trim() !== "" ? p = Number(p) : v.parseBooleans && p !== null && (p.toLowerCase() === "true" || p.toLowerCase() === "false") && (p = p.toLowerCase() === "true"), p
  }

  function m(p, v) {
    v = Object.assign({
      decode: !0,
      sort: !0,
      arrayFormat: "none",
      arrayFormatSeparator: ",",
      parseNumbers: !1,
      parseBooleans: !1
    }, v), u(v.arrayFormatSeparator);
    const w = l(v),
      D = Object.create(null);
    if (typeof p != "string" || (p = p.trim().replace(/^[?#&]/, ""), !p)) return D;
    for (const x of p.split("&")) {
      if (x === "") continue;
      let [C, S] = n(v.decode ? x.replace(/\+/g, " ") : x, "=");
      S = S === void 0 ? null : ["comma", "separator", "bracket-separator"].includes(v.arrayFormat) ? S : d(S, v), w(d(C, v), S, D)
    }
    for (const x of Object.keys(D)) {
      const C = D[x];
      if (typeof C == "object" && C !== null)
        for (const S of Object.keys(C)) C[S] = y(C[S], v);
      else D[x] = y(C, v)
    }
    return v.sort === !1 ? D : (v.sort === !0 ? Object.keys(D).sort() : Object.keys(D).sort(v.sort)).reduce((x, C) => {
      const S = D[C];
      return S && typeof S == "object" && !Array.isArray(S) ? x[C] = f(S) : x[C] = S, x
    }, Object.create(null))
  }
  t.extract = g, t.parse = m, t.stringify = (p, v) => {
    if (!p) return "";
    v = Object.assign({
      encode: !0,
      strict: !0,
      arrayFormat: "none",
      arrayFormatSeparator: ","
    }, v), u(v.arrayFormatSeparator);
    const w = S => v.skipNull && s(p[S]) || v.skipEmptyString && p[S] === "",
      D = a(v),
      x = {};
    for (const S of Object.keys(p)) w(S) || (x[S] = p[S]);
    const C = Object.keys(x);
    return v.sort !== !1 && C.sort(v.sort), C.map(S => {
      const A = p[S];
      return A === void 0 ? "" : A === null ? c(S, v) : Array.isArray(A) ? A.length === 0 && v.arrayFormat === "bracket-separator" ? c(S, v) + "[]" : A.reduce(D(S), []).join("&") : c(S, v) + "=" + c(A, v)
    }).filter(S => S.length > 0).join("&")
  }, t.parseUrl = (p, v) => {
    v = Object.assign({
      decode: !0
    }, v);
    const [w, D] = n(p, "#");
    return Object.assign({
      url: w.split("?")[0] || "",
      query: m(g(p), v)
    }, v && v.parseFragmentIdentifier && D ? {
      fragmentIdentifier: d(D, v)
    } : {})
  }, t.stringifyUrl = (p, v) => {
    v = Object.assign({
      encode: !0,
      strict: !0,
      [o]: !0
    }, v);
    const w = B(p.url).split("?")[0] || "",
      D = t.extract(p.url),
      x = t.parse(D, {
        sort: !1
      }),
      C = Object.assign(x, p.query);
    let S = t.stringify(C, v);
    S && (S = `?${S}`);
    let A = h(p.url);
    return p.fragmentIdentifier && (A = `#${v[o]?c(p.fragmentIdentifier,v):p.fragmentIdentifier}`), `${w}${S}${A}`
  }, t.pick = (p, v, w) => {
    w = Object.assign({
      parseFragmentIdentifier: !0,
      [o]: !1
    }, w);
    const {
      url: D,
      query: x,
      fragmentIdentifier: C
    } = t.parseUrl(p, w);
    return t.stringifyUrl({
      url: D,
      query: i(x, v),
      fragmentIdentifier: C
    }, w)
  }, t.exclude = (p, v, w) => {
    const D = Array.isArray(v) ? x => !v.includes(x) : (x, C) => !v(x, C);
    return t.pick(p, D, w)
  }
})(Sa);
const QL = {
    waku: {
      publish: "waku_publish",
      batchPublish: "waku_batchPublish",
      subscribe: "waku_subscribe",
      batchSubscribe: "waku_batchSubscribe",
      subscription: "waku_subscription",
      unsubscribe: "waku_unsubscribe",
      batchUnsubscribe: "waku_batchUnsubscribe",
      batchFetchMessages: "waku_batchFetchMessages"
    },
    irn: {
      publish: "irn_publish",
      batchPublish: "irn_batchPublish",
      subscribe: "irn_subscribe",
      batchSubscribe: "irn_batchSubscribe",
      subscription: "irn_subscription",
      unsubscribe: "irn_unsubscribe",
      batchUnsubscribe: "irn_batchUnsubscribe",
      batchFetchMessages: "irn_batchFetchMessages"
    },
    iridium: {
      publish: "iridium_publish",
      batchPublish: "iridium_batchPublish",
      subscribe: "iridium_subscribe",
      batchSubscribe: "iridium_batchSubscribe",
      subscription: "iridium_subscription",
      unsubscribe: "iridium_unsubscribe",
      batchUnsubscribe: "iridium_batchUnsubscribe",
      batchFetchMessages: "iridium_batchFetchMessages"
    }
  },
  JL = ":";

function Wee(t) {
  const [e, r] = t.split(JL);
  return {
    namespace: e,
    reference: r
  }
}

function $ee(t, e = []) {
  const r = [];
  return Object.keys(t).forEach(n => {
    if (e.length && !e.includes(n)) return;
    const i = t[n];
    r.push(...i.accounts)
  }), r
}

function S8(t, e) {
  return t.includes(":") ? [t] : e.chains || []
}
const k8 = "base10",
  Lt = "base16",
  Yp = "base64pad",
  km = "utf8",
  j8 = 0,
  nl = 1,
  YL = 0,
  l2 = 1,
  Xp = 12,
  jm = 32;

function Hee() {
  const t = bm.generateKeyPair();
  return {
    privateKey: Sr(t.secretKey, Lt),
    publicKey: Sr(t.publicKey, Lt)
  }
}

function Gee() {
  const t = Fd.randomBytes(jm);
  return Sr(t, Lt)
}

function qee(t, e) {
  const r = bm.sharedKey(yr(t, Lt), yr(e, Lt), !0),
    n = new PF(zd.SHA256, r).expand(jm);
  return Sr(n, Lt)
}

function Vee(t) {
  const e = zd.hash(yr(t, Lt));
  return Sr(e, Lt)
}

function Kee(t) {
  const e = zd.hash(yr(t, km));
  return Sr(e, Lt)
}

function XL(t) {
  return yr(`${t}`, k8)
}

function Hd(t) {
  return Number(Sr(t, k8))
}

function Qee(t) {
  const e = XL(typeof t.type < "u" ? t.type : j8);
  if (Hd(e) === nl && typeof t.senderPublicKey > "u") throw new Error("Missing sender public key for type 1 envelope");
  const r = typeof t.senderPublicKey < "u" ? yr(t.senderPublicKey, Lt) : void 0,
    n = typeof t.iv < "u" ? yr(t.iv, Lt) : Fd.randomBytes(Xp),
    i = new ym.ChaCha20Poly1305(yr(t.symKey, Lt)).seal(n, yr(t.message, km));
  return ZL({
    type: e,
    sealed: i,
    iv: n,
    senderPublicKey: r
  })
}

function Jee(t) {
  const e = new ym.ChaCha20Poly1305(yr(t.symKey, Lt)),
    {
      sealed: r,
      iv: n
    } = A8(t.encoded),
    i = e.open(n, r);
  if (i === null) throw new Error("Failed to decrypt");
  return Sr(i, km)
}

function ZL(t) {
  if (Hd(t.type) === nl) {
    if (typeof t.senderPublicKey > "u") throw new Error("Missing sender public key for type 1 envelope");
    return Sr($y([t.type, t.senderPublicKey, t.iv, t.sealed]), Yp)
  }
  return Sr($y([t.type, t.iv, t.sealed]), Yp)
}

function A8(t) {
  const e = yr(t, Yp),
    r = e.slice(YL, l2),
    n = l2;
  if (Hd(r) === nl) {
    const a = n + jm,
      l = a + Xp,
      u = e.slice(n, a),
      c = e.slice(a, l),
      d = e.slice(l);
    return {
      type: r,
      sealed: d,
      iv: c,
      senderPublicKey: u
    }
  }
  const i = n + Xp,
    s = e.slice(n, i),
    o = e.slice(i);
  return {
    type: r,
    sealed: o,
    iv: s
  }
}

function Yee(t, e) {
  const r = A8(t);
  return eU({
    type: Hd(r.type),
    senderPublicKey: typeof r.senderPublicKey < "u" ? Sr(r.senderPublicKey, Lt) : void 0,
    receiverPublicKey: e == null ? void 0 : e.receiverPublicKey
  })
}

function eU(t) {
  const e = (t == null ? void 0 : t.type) || j8;
  if (e === nl) {
    if (typeof (t == null ? void 0 : t.senderPublicKey) > "u") throw new Error("missing sender public key");
    if (typeof (t == null ? void 0 : t.receiverPublicKey) > "u") throw new Error("missing receiver public key")
  }
  return {
    type: e,
    senderPublicKey: t == null ? void 0 : t.senderPublicKey,
    receiverPublicKey: t == null ? void 0 : t.receiverPublicKey
  }
}

function Xee(t) {
  return t.type === nl && typeof t.senderPublicKey == "string" && typeof t.receiverPublicKey == "string"
}
var tU = Object.defineProperty,
  u2 = Object.getOwnPropertySymbols,
  rU = Object.prototype.hasOwnProperty,
  nU = Object.prototype.propertyIsEnumerable,
  c2 = (t, e, r) => e in t ? tU(t, e, {
    enumerable: !0,
    configurable: !0,
    writable: !0,
    value: r
  }) : t[e] = r,
  d2 = (t, e) => {
    for (var r in e || (e = {})) rU.call(e, r) && c2(t, r, e[r]);
    if (u2)
      for (var r of u2(e)) nU.call(e, r) && c2(t, r, e[r]);
    return t
  };
const iU = "ReactNative",
  Gt = {
    reactNative: "react-native",
    node: "node",
    browser: "browser",
    unknown: "unknown"
  },
  sU = "js";

function P8() {
  return typeof process < "u" && typeof process.versions < "u" && typeof process.versions.node < "u"
}

function il() {
  return !xm() && !!Em() && navigator.product === iU
}

function Gd() {
  return !P8() && !!Em() && !!xm()
}

function sl() {
  return il() ? Gt.reactNative : P8() ? Gt.node : Gd() ? Gt.browser : Gt.unknown
}

function Zee() {
  var t;
  try {
    return il() && typeof global < "u" && typeof (global == null ? void 0 : global.Application) < "u" ? (t = global.Application) == null ? void 0 : t.applicationId : void 0
  } catch {
    return
  }
}

function oU(t, e) {
  let r = Sa.parse(t);
  return r = d2(d2({}, r), e), t = Sa.stringify(r), t
}

function ete() {
  return x8() || {
    name: "",
    description: "",
    url: "",
    icons: [""]
  }
}

function aU() {
  if (sl() === Gt.reactNative && typeof global < "u" && typeof (global == null ? void 0 : global.Platform) < "u") {
    const {
      OS: r,
      Version: n
    } = global.Platform;
    return [r, n].join("-")
  }
  const t = HM();
  if (t === null) return "unknown";
  const e = t.os ? t.os.replace(" ", "").toLowerCase() : "unknown";
  return t.type === "browser" ? [e, t.name, t.version].join("-") : [e, t.version].join("-")
}

function lU() {
  var t;
  const e = sl();
  return e === Gt.browser ? [e, ((t = D8()) == null ? void 0 : t.host) || "unknown"].join(":") : e
}

function uU(t, e, r) {
  const n = aU(),
    i = lU();
  return [
    [t, e].join("-"), [sU, r].join("-"), n, i
  ].join("/")
}

function tte({
  protocol: t,
  version: e,
  relayUrl: r,
  sdkVersion: n,
  auth: i,
  projectId: s,
  useOnCloseEvent: o,
  bundleId: a
}) {
  const l = r.split("?"),
    u = uU(t, e, n),
    c = {
      auth: i,
      ua: u,
      projectId: s,
      useOnCloseEvent: o || void 0,
      origin: a || void 0
    },
    d = oU(l[1] || "", c);
  return l[0] + "?" + d
}

function hi(t, e) {
  return t.filter(r => e.includes(r)).length === t.length
}

function rte(t) {
  return Object.fromEntries(t.entries())
}

function nte(t) {
  return new Map(Object.entries(t))
}

function ite(t = gi.FIVE_MINUTES, e) {
  const r = gi.toMiliseconds(t || gi.FIVE_MINUTES);
  let n, i, s;
  return {
    resolve: o => {
      s && n && (clearTimeout(s), n(o))
    },
    reject: o => {
      s && i && (clearTimeout(s), i(o))
    },
    done: () => new Promise((o, a) => {
      s = setTimeout(() => {
        a(new Error(e))
      }, r), n = o, i = a
    })
  }
}

function ste(t, e, r) {
  return new Promise(async (n, i) => {
    const s = setTimeout(() => i(new Error(r)), e);
    try {
      const o = await t;
      n(o)
    } catch (o) {
      i(o)
    }
    clearTimeout(s)
  })
}

function _8(t, e) {
  if (typeof e == "string" && e.startsWith(`${t}:`)) return e;
  if (t.toLowerCase() === "topic") {
    if (typeof e != "string") throw new Error('Value must be "string" for expirer target type: topic');
    return `topic:${e}`
  } else if (t.toLowerCase() === "id") {
    if (typeof e != "number") throw new Error('Value must be "number" for expirer target type: id');
    return `id:${e}`
  }
  throw new Error(`Unknown expirer target type: ${t}`)
}

function ote(t) {
  return _8("topic", t)
}

function ate(t) {
  return _8("id", t)
}

function lte(t) {
  const [e, r] = t.split(":"), n = {
    id: void 0,
    topic: void 0
  };
  if (e === "topic" && typeof r == "string") n.topic = r;
  else if (e === "id" && Number.isInteger(Number(r))) n.id = Number(r);
  else throw new Error(`Invalid target, expected id:number or topic:string, got ${e}:${r}`);
  return n
}

function ute(t, e) {
  return gi.fromMiliseconds(Date.now() + gi.toMiliseconds(t))
}

function cte(t) {
  return Date.now() >= gi.toMiliseconds(t)
}

function dte(t, e) {
  return `${t}${e?`:${e}`:""}`
}

function fB(t = [], e = []) {
  return [...new Set([...t, ...e])]
}
async function fte({
  id: t,
  topic: e,
  wcDeepLink: r
}) {
  try {
    if (!r) return;
    const n = typeof r == "string" ? JSON.parse(r) : r;
    let i = n == null ? void 0 : n.href;
    if (typeof i != "string") return;
    i.endsWith("/") && (i = i.slice(0, -1));
    const s = `${i}/wc?requestId=${t}&sessionTopic=${e}`,
      o = sl();
    o === Gt.browser ? s.startsWith("https://") ? window.open(s, "_blank", "noreferrer noopener") : window.open(s, "_self", "noreferrer noopener") : o === Gt.reactNative && typeof (global == null ? void 0 : global.Linking) < "u" && await global.Linking.openURL(s)
  } catch (n) {
    console.error(n)
  }
}
async function Bte(t, e) {
  try {
    return await t.getItem(e) || (Gd() ? localStorage.getItem(e) : void 0)
  } catch (r) {
    console.error(r)
  }
}
const cU = "irn";

function hte(t) {
  return (t == null ? void 0 : t.relay) || {
    protocol: cU
  }
}

function pte(t) {
  const e = QL[t];
  if (typeof e > "u") throw new Error(`Relay Protocol not supported: ${t}`);
  return e
}
var dU = Object.defineProperty,
  f2 = Object.getOwnPropertySymbols,
  fU = Object.prototype.hasOwnProperty,
  BU = Object.prototype.propertyIsEnumerable,
  B2 = (t, e, r) => e in t ? dU(t, e, {
    enumerable: !0,
    configurable: !0,
    writable: !0,
    value: r
  }) : t[e] = r,
  hU = (t, e) => {
    for (var r in e || (e = {})) fU.call(e, r) && B2(t, r, e[r]);
    if (f2)
      for (var r of f2(e)) BU.call(e, r) && B2(t, r, e[r]);
    return t
  };

function pU(t, e = "-") {
  const r = {},
    n = "relay" + e;
  return Object.keys(t).forEach(i => {
    if (i.startsWith(n)) {
      const s = i.replace(n, ""),
        o = t[i];
      r[s] = o
    }
  }), r
}

function Cte(t) {
  t = t.includes("wc://") ? t.replace("wc://", "") : t, t = t.includes("wc:") ? t.replace("wc:", "") : t;
  const e = t.indexOf(":"),
    r = t.indexOf("?") !== -1 ? t.indexOf("?") : void 0,
    n = t.substring(0, e),
    i = t.substring(e + 1, r).split("@"),
    s = typeof r < "u" ? t.substring(r) : "",
    o = Sa.parse(s);
  return {
    protocol: n,
    topic: CU(i[0]),
    version: parseInt(i[1], 10),
    symKey: o.symKey,
    relay: pU(o)
  }
}

function CU(t) {
  return t.startsWith("//") ? t.substring(2) : t
}

function mU(t, e = "-") {
  const r = "relay",
    n = {};
  return Object.keys(t).forEach(i => {
    const s = r + e + i;
    t[i] && (n[s] = t[i])
  }), n
}

function mte(t) {
  return `${t.protocol}:${t.topic}@${t.version}?` + Sa.stringify(hU({
    symKey: t.symKey
  }, mU(t.relay)))
}
var gU = Object.defineProperty,
  vU = Object.defineProperties,
  yU = Object.getOwnPropertyDescriptors,
  h2 = Object.getOwnPropertySymbols,
  wU = Object.prototype.hasOwnProperty,
  bU = Object.prototype.propertyIsEnumerable,
  p2 = (t, e, r) => e in t ? gU(t, e, {
    enumerable: !0,
    configurable: !0,
    writable: !0,
    value: r
  }) : t[e] = r,
  DU = (t, e) => {
    for (var r in e || (e = {})) wU.call(e, r) && p2(t, r, e[r]);
    if (h2)
      for (var r of h2(e)) bU.call(e, r) && p2(t, r, e[r]);
    return t
  },
  xU = (t, e) => vU(t, yU(e));

function Ys(t) {
  const e = [];
  return t.forEach(r => {
    const [n, i] = r.split(":");
    e.push(`${n}:${i}`)
  }), e
}

function EU(t) {
  const e = [];
  return Object.values(t).forEach(r => {
    e.push(...Ys(r.accounts))
  }), e
}

function SU(t, e) {
  const r = [];
  return Object.values(t).forEach(n => {
    Ys(n.accounts).includes(e) && r.push(...n.methods)
  }), r
}

function kU(t, e) {
  const r = [];
  return Object.values(t).forEach(n => {
    Ys(n.accounts).includes(e) && r.push(...n.events)
  }), r
}

function gte(t, e) {
  const r = FU(t, e);
  if (r) throw new Error(r.message);
  const n = {};
  for (const [i, s] of Object.entries(t)) n[i] = {
    methods: s.methods,
    events: s.events,
    chains: s.accounts.map(o => `${o.split(":")[0]}:${o.split(":")[1]}`)
  };
  return n
}

function O8(t) {
  return t.includes(":")
}

function jU(t) {
  return O8(t) ? t.split(":")[0] : t
}

function I8(t) {
  var e, r, n;
  const i = {};
  if (!Am(t)) return i;
  for (const [s, o] of Object.entries(t)) {
    const a = O8(s) ? [s] : o.chains,
      l = o.methods || [],
      u = o.events || [],
      c = jU(s);
    i[c] = xU(DU({}, i[c]), {
      chains: fB(a, (e = i[c]) == null ? void 0 : e.chains),
      methods: fB(l, (r = i[c]) == null ? void 0 : r.methods),
      events: fB(u, (n = i[c]) == null ? void 0 : n.events)
    })
  }
  return i
}
const AU = {
    INVALID_METHOD: {
      message: "Invalid method.",
      code: 1001
    },
    INVALID_EVENT: {
      message: "Invalid event.",
      code: 1002
    },
    INVALID_UPDATE_REQUEST: {
      message: "Invalid update request.",
      code: 1003
    },
    INVALID_EXTEND_REQUEST: {
      message: "Invalid extend request.",
      code: 1004
    },
    INVALID_SESSION_SETTLE_REQUEST: {
      message: "Invalid session settle request.",
      code: 1005
    },
    UNAUTHORIZED_METHOD: {
      message: "Unauthorized method.",
      code: 3001
    },
    UNAUTHORIZED_EVENT: {
      message: "Unauthorized event.",
      code: 3002
    },
    UNAUTHORIZED_UPDATE_REQUEST: {
      message: "Unauthorized update request.",
      code: 3003
    },
    UNAUTHORIZED_EXTEND_REQUEST: {
      message: "Unauthorized extend request.",
      code: 3004
    },
    USER_REJECTED: {
      message: "User rejected.",
      code: 5e3
    },
    USER_REJECTED_CHAINS: {
      message: "User rejected chains.",
      code: 5001
    },
    USER_REJECTED_METHODS: {
      message: "User rejected methods.",
      code: 5002
    },
    USER_REJECTED_EVENTS: {
      message: "User rejected events.",
      code: 5003
    },
    UNSUPPORTED_CHAINS: {
      message: "Unsupported chains.",
      code: 5100
    },
    UNSUPPORTED_METHODS: {
      message: "Unsupported methods.",
      code: 5101
    },
    UNSUPPORTED_EVENTS: {
      message: "Unsupported events.",
      code: 5102
    },
    UNSUPPORTED_ACCOUNTS: {
      message: "Unsupported accounts.",
      code: 5103
    },
    UNSUPPORTED_NAMESPACE_KEY: {
      message: "Unsupported namespace key.",
      code: 5104
    },
    USER_DISCONNECTED: {
      message: "User disconnected.",
      code: 6e3
    },
    SESSION_SETTLEMENT_FAILED: {
      message: "Session settlement failed.",
      code: 7e3
    },
    WC_METHOD_UNSUPPORTED: {
      message: "Unsupported wc_ method.",
      code: 10001
    }
  },
  PU = {
    NOT_INITIALIZED: {
      message: "Not initialized.",
      code: 1
    },
    NO_MATCHING_KEY: {
      message: "No matching key.",
      code: 2
    },
    RESTORE_WILL_OVERRIDE: {
      message: "Restore will override.",
      code: 3
    },
    RESUBSCRIBED: {
      message: "Resubscribed.",
      code: 4
    },
    MISSING_OR_INVALID: {
      message: "Missing or invalid.",
      code: 5
    },
    EXPIRED: {
      message: "Expired.",
      code: 6
    },
    UNKNOWN_TYPE: {
      message: "Unknown type.",
      code: 7
    },
    MISMATCHED_TOPIC: {
      message: "Mismatched topic.",
      code: 8
    },
    NON_CONFORMING_NAMESPACES: {
      message: "Non conforming namespaces.",
      code: 9
    }
  };

function bn(t, e) {
  const {
    message: r,
    code: n
  } = PU[t];
  return {
    message: e ? `${r} ${e}` : r,
    code: n
  }
}

function _s(t, e) {
  const {
    message: r,
    code: n
  } = AU[t];
  return {
    message: e ? `${r} ${e}` : r,
    code: n
  }
}

function qd(t, e) {
  return !!Array.isArray(t)
}

function Am(t) {
  return Object.getPrototypeOf(t) === Object.prototype && Object.keys(t).length
}

function Cs(t) {
  return typeof t > "u"
}

function fr(t, e) {
  return e && Cs(t) ? !0 : typeof t == "string" && !!t.trim().length
}

function Pm(t, e) {
  return typeof t == "number" && !isNaN(t)
}

function vte(t, e) {
  const {
    requiredNamespaces: r
  } = e, n = Object.keys(t.namespaces), i = Object.keys(r);
  let s = !0;
  return hi(i, n) ? (n.forEach(o => {
    const {
      accounts: a,
      methods: l,
      events: u
    } = t.namespaces[o], c = Ys(a), d = r[o];
    (!hi(S8(o, d), c) || !hi(d.methods, l) || !hi(d.events, u)) && (s = !1)
  }), s) : !1
}

function Ic(t) {
  return fr(t, !1) && t.includes(":") ? t.split(":").length === 2 : !1
}

function _U(t) {
  if (fr(t, !1) && t.includes(":")) {
    const e = t.split(":");
    if (e.length === 3) {
      const r = e[0] + ":" + e[1];
      return !!e[2] && Ic(r)
    }
  }
  return !1
}

function yte(t) {
  if (fr(t, !1)) try {
    return typeof new URL(t) < "u"
  } catch {
    return !1
  }
  return !1
}

function wte(t) {
  var e;
  return (e = t == null ? void 0 : t.proposer) == null ? void 0 : e.publicKey
}

function bte(t) {
  return t == null ? void 0 : t.topic
}

function Dte(t, e) {
  let r = null;
  return fr(t == null ? void 0 : t.publicKey, !1) || (r = bn("MISSING_OR_INVALID", `${e} controller public key should be a string`)), r
}

function C2(t) {
  let e = !0;
  return qd(t) ? t.length && (e = t.every(r => fr(r, !1))) : e = !1, e
}

function OU(t, e, r) {
  let n = null;
  return qd(e) && e.length ? e.forEach(i => {
    n || Ic(i) || (n = _s("UNSUPPORTED_CHAINS", `${r}, chain ${i} should be a string and conform to "namespace:chainId" format`))
  }) : Ic(t) || (n = _s("UNSUPPORTED_CHAINS", `${r}, chains must be defined as "namespace:chainId" e.g. "eip155:1": {...} in the namespace key OR as an array of CAIP-2 chainIds e.g. eip155: { chains: ["eip155:1", "eip155:5"] }`)), n
}

function IU(t, e, r) {
  let n = null;
  return Object.entries(t).forEach(([i, s]) => {
    if (n) return;
    const o = OU(i, S8(i, s), `${e} ${r}`);
    o && (n = o)
  }), n
}

function NU(t, e) {
  let r = null;
  return qd(t) ? t.forEach(n => {
    r || _U(n) || (r = _s("UNSUPPORTED_ACCOUNTS", `${e}, account ${n} should be a string and conform to "namespace:chainId:address" format`))
  }) : r = _s("UNSUPPORTED_ACCOUNTS", `${e}, accounts should be an array of strings conforming to "namespace:chainId:address" format`), r
}

function TU(t, e) {
  let r = null;
  return Object.values(t).forEach(n => {
    if (r) return;
    const i = NU(n == null ? void 0 : n.accounts, `${e} namespace`);
    i && (r = i)
  }), r
}

function RU(t, e) {
  let r = null;
  return C2(t == null ? void 0 : t.methods) ? C2(t == null ? void 0 : t.events) || (r = _s("UNSUPPORTED_EVENTS", `${e}, events should be an array of strings or empty array for no events`)) : r = _s("UNSUPPORTED_METHODS", `${e}, methods should be an array of strings or empty array for no methods`), r
}

function N8(t, e) {
  let r = null;
  return Object.values(t).forEach(n => {
    if (r) return;
    const i = RU(n, `${e}, namespace`);
    i && (r = i)
  }), r
}

function xte(t, e, r) {
  let n = null;
  if (t && Am(t)) {
    const i = N8(t, e);
    i && (n = i);
    const s = IU(t, e, r);
    s && (n = s)
  } else n = bn("MISSING_OR_INVALID", `${e}, ${r} should be an object with data`);
  return n
}

function FU(t, e) {
  let r = null;
  if (t && Am(t)) {
    const n = N8(t, e);
    n && (r = n);
    const i = TU(t, e);
    i && (r = i)
  } else r = bn("MISSING_OR_INVALID", `${e}, namespaces should be an object with data`);
  return r
}

function MU(t) {
  return fr(t.protocol, !0)
}

function Ete(t, e) {
  let r = !1;
  return t ? t && qd(t) && t.length && t.forEach(n => {
    r = MU(n)
  }) : r = !0, r
}

function Ste(t) {
  return typeof t == "number"
}

function kte(t) {
  return typeof t < "u" && typeof t !== null
}

function jte(t) {
  return !(!t || typeof t != "object" || !t.code || !Pm(t.code) || !t.message || !fr(t.message, !1))
}

function Ate(t) {
  return !(Cs(t) || !fr(t.method, !1))
}

function Pte(t) {
  return !(Cs(t) || Cs(t.result) && Cs(t.error) || !Pm(t.id) || !fr(t.jsonrpc, !1))
}

function _te(t) {
  return !(Cs(t) || !fr(t.name, !1))
}

function Ote(t, e) {
  return !(!Ic(e) || !EU(t).includes(e))
}

function Ite(t, e, r) {
  return fr(r, !1) ? SU(t, e).includes(r) : !1
}

function Nte(t, e, r) {
  return fr(r, !1) ? kU(t, e).includes(r) : !1
}

function Tte(t, e, r) {
  let n = null;
  const i = LU(t),
    s = UU(e),
    o = Object.keys(i),
    a = Object.keys(s),
    l = m2(Object.keys(t)),
    u = m2(Object.keys(e)),
    c = l.filter(d => !u.includes(d));
  return c.length && (n = bn("NON_CONFORMING_NAMESPACES", `${r} namespaces keys don't satisfy requiredNamespaces.
      Required: ${c.toString()}
      Received: ${Object.keys(e).toString()}`)), hi(o, a) || (n = bn("NON_CONFORMING_NAMESPACES", `${r} namespaces chains don't satisfy required namespaces.
      Required: ${o.toString()}
      Approved: ${a.toString()}`)), Object.keys(e).forEach(d => {
    if (!d.includes(":") || n) return;
    const f = Ys(e[d].accounts);
    f.includes(d) || (n = bn("NON_CONFORMING_NAMESPACES", `${r} namespaces accounts don't satisfy namespace accounts for ${d}
        Required: ${d}
        Approved: ${f.toString()}`))
  }), o.forEach(d => {
    n || (hi(i[d].methods, s[d].methods) ? hi(i[d].events, s[d].events) || (n = bn("NON_CONFORMING_NAMESPACES", `${r} namespaces events don't satisfy namespace events for ${d}`)) : n = bn("NON_CONFORMING_NAMESPACES", `${r} namespaces methods don't satisfy namespace methods for ${d}`))
  }), n
}

function LU(t) {
  const e = {};
  return Object.keys(t).forEach(r => {
    var n;
    r.includes(":") ? e[r] = t[r] : (n = t[r].chains) == null || n.forEach(i => {
      e[i] = {
        methods: t[r].methods,
        events: t[r].events
      }
    })
  }), e
}

function m2(t) {
  return [...new Set(t.map(e => e.includes(":") ? e.split(":")[0] : e))]
}

function UU(t) {
  const e = {};
  return Object.keys(t).forEach(r => {
    if (r.includes(":")) e[r] = t[r];
    else {
      const n = Ys(t[r].accounts);
      n == null || n.forEach(i => {
        e[i] = {
          accounts: t[r].accounts.filter(s => s.includes(`${i}:`)),
          methods: t[r].methods,
          events: t[r].events
        }
      })
    }
  }), e
}

function Rte(t, e) {
  return Pm(t) && t <= e.max && t >= e.min
}

function Fte() {
  const t = sl();
  return new Promise(e => {
    switch (t) {
      case Gt.browser:
        e(zU());
        break;
      case Gt.reactNative:
        e(WU());
        break;
      case Gt.node:
        e($U());
        break;
      default:
        e(!0)
    }
  })
}

function zU() {
  return Gd() && (navigator == null ? void 0 : navigator.onLine)
}
async function WU() {
  if (il() && typeof global < "u" && global != null && global.NetInfo) {
    const t = await (global == null ? void 0 : global.NetInfo.fetch());
    return t == null ? void 0 : t.isConnected
  }
  return !0
}

function $U() {
  return !0
}

function Mte(t) {
  switch (sl()) {
    case Gt.browser:
      HU(t);
      break;
    case Gt.reactNative:
      GU(t);
      break
  }
}

function HU(t) {
  !il() && Gd() && (window.addEventListener("online", () => t(!0)), window.addEventListener("offline", () => t(!1)))
}

function GU(t) {
  il() && typeof global < "u" && global != null && global.NetInfo && (global == null || global.NetInfo.addEventListener(e => t(e == null ? void 0 : e.isConnected)))
}
const BB = {};
class Lte {
  static get(e) {
    return BB[e]
  }
  static set(e, r) {
    BB[e] = r
  }
  static delete(e) {
    delete BB[e]
  }
}
var T8 = "eip155",
  qU = "store",
  R8 = "requestedChains",
  Zp = "wallet_addEthereumChain",
  Me, zo, Ru, eC, _m, F8, Fu, tC, rC, M8, Nc, Om, Gi, So, Tc, Im, Rc, Nm, Fc, Tm, L8 = class extends um {
    constructor(t) {
      super({
        ...t,
        options: {
          isNewChainsStale: !0,
          ...t.options
        }
      }), Dt(this, Ru), Dt(this, _m), Dt(this, Fu), Dt(this, rC), Dt(this, Nc), Dt(this, Gi), Dt(this, Tc), Dt(this, Rc), Dt(this, Fc), this.id = "walletConnect", this.name = "WalletConnect", this.ready = !0, Dt(this, Me, void 0), Dt(this, zo, void 0), this.onAccountsChanged = e => {
        e.length === 0 ? this.emit("disconnect") : this.emit("change", {
          account: ar(e[0])
        })
      }, this.onChainChanged = e => {
        const r = Number(e),
          n = this.isChainUnsupported(r);
        this.emit("change", {
          chain: {
            id: r,
            unsupported: n
          }
        })
      }, this.onDisconnect = () => {
        et(this, Gi, So).call(this, []), this.emit("disconnect")
      }, this.onDisplayUri = e => {
        this.emit("message", {
          type: "display_uri",
          data: e
        })
      }, this.onConnect = () => {
        this.emit("connect", {})
      }, et(this, Ru, eC).call(this)
    }
    async connect({
      chainId: t,
      pairingTopic: e
    } = {}) {
      var r, n, i, s, o;
      try {
        let a = t;
        if (!a) {
          const h = (r = this.storage) == null ? void 0 : r.getItem(qU),
            g = (s = (i = (n = h == null ? void 0 : h.state) == null ? void 0 : n.data) == null ? void 0 : i.chain) == null ? void 0 : s.id;
          g && !this.isChainUnsupported(g) ? a = g : a = (o = this.chains[0]) == null ? void 0 : o.id
        }
        if (!a) throw new Error("No chains found on connector.");
        const l = await this.getProvider();
        et(this, rC, M8).call(this);
        const u = et(this, Fu, tC).call(this);
        if (l.session && u && await l.disconnect(), !l.session || u) {
          const h = this.chains.filter(g => g.id !== a).map(g => g.id);
          this.emit("message", {
            type: "connecting"
          }), await l.connect({
            pairingTopic: e,
            optionalChains: [a, ...h]
          }), et(this, Gi, So).call(this, this.chains.map(({
            id: g
          }) => g))
        }
        const c = await l.enable(),
          d = ar(c[0]),
          f = await this.getChainId(),
          B = this.isChainUnsupported(f);
        return {
          account: d,
          chain: {
            id: f,
            unsupported: B
          }
        }
      } catch (a) {
        throw /user rejected/i.test(a == null ? void 0 : a.message) ? new dt(a) : a
      }
    }
    async disconnect() {
      const t = await this.getProvider();
      try {
        await t.disconnect()
      } catch (e) {
        if (!/No matching key/i.test(e.message)) throw e
      } finally {
        et(this, Nc, Om).call(this), et(this, Gi, So).call(this, [])
      }
    }
    async getAccount() {
      const {
        accounts: t
      } = await this.getProvider();
      return ar(t[0])
    }
    async getChainId() {
      const {
        chainId: t
      } = await this.getProvider();
      return t
    }
    async getProvider({
      chainId: t
    } = {}) {
      return xe(this, Me) || await et(this, Ru, eC).call(this), t && await this.switchChain(t), xe(this, Me)
    }
    async getWalletClient({
      chainId: t
    } = {}) {
      const [e, r] = await Promise.all([this.getProvider({
        chainId: t
      }), this.getAccount()]), n = this.chains.find(i => i.id === t);
      if (!e) throw new Error("provider is required.");
      return am({
        account: r,
        chain: n,
        transport: rm(e)
      })
    }
    async isAuthorized() {
      try {
        const [t, e] = await Promise.all([this.getAccount(), this.getProvider()]), r = et(this, Fu, tC).call(this);
        if (!t) return !1;
        if (r && e.session) {
          try {
            await e.disconnect()
          } catch {}
          return !1
        }
        return !0
      } catch {
        return !1
      }
    }
    async switchChain(t) {
      var r, n;
      const e = this.chains.find(i => i.id === t);
      if (!e) throw new on(new Error("chain not found on connector."));
      try {
        const i = await this.getProvider(),
          s = et(this, Rc, Nm).call(this),
          o = et(this, Fc, Tm).call(this);
        if (!s.includes(t) && o.includes(Zp)) {
          await i.request({
            method: Zp,
            params: [{
              chainId: de(e.id),
              blockExplorerUrls: [(n = (r = e.blockExplorers) == null ? void 0 : r.default) == null ? void 0 : n.url],
              chainName: e.name,
              nativeCurrency: e.nativeCurrency,
              rpcUrls: [...e.rpcUrls.default.http]
            }]
          });
          const l = et(this, Tc, Im).call(this);
          l.push(t), et(this, Gi, So).call(this, l)
        }
        return await i.request({
          method: "wallet_switchEthereumChain",
          params: [{
            chainId: de(t)
          }]
        }), e
      } catch (i) {
        const s = typeof i == "string" ? i : i == null ? void 0 : i.message;
        throw /user rejected request/i.test(s) ? new dt(i) : new on(i)
      }
    }
  };
Me = new WeakMap;
zo = new WeakMap;
Ru = new WeakSet;
eC = async function () {
  return !xe(this, zo) && typeof window < "u" && Ja(this, zo, et(this, _m, F8).call(this)), xe(this, zo)
};
_m = new WeakSet;
F8 = async function () {
  const {
    EthereumProvider: t
  } = await ee(async () => {
    const {
      EthereumProvider: r
    } = await import("./index.es-BdcbeDUY.js");
    return {
      EthereumProvider: r
    }
  }, __vite__mapDeps([0, 1])), e = this.chains.map(({
    id: r
  }) => r);
  if (e.length) {
    const {
      projectId: r,
      showQrModal: n = !0,
      qrModalOptions: i,
      metadata: s,
      relayUrl: o
    } = this.options;
    Ja(this, Me, await t.init({
      showQrModal: n,
      qrModalOptions: i,
      projectId: r,
      optionalChains: e,
      rpcMap: Object.fromEntries(this.chains.map(a => [a.id, a.rpcUrls.default.http[0]])),
      metadata: s,
      relayUrl: o
    }))
  }
};
Fu = new WeakSet;
tC = function () {
  if (et(this, Fc, Tm).call(this).includes(Zp) || !this.options.isNewChainsStale) return !1;
  const e = et(this, Tc, Im).call(this),
    r = this.chains.map(({
      id: i
    }) => i),
    n = et(this, Rc, Nm).call(this);
  return n.length && !n.some(i => r.includes(i)) ? !1 : !r.every(i => e.includes(i))
};
rC = new WeakSet;
M8 = function () {
  xe(this, Me) && (et(this, Nc, Om).call(this), xe(this, Me).on("accountsChanged", this.onAccountsChanged), xe(this, Me).on("chainChanged", this.onChainChanged), xe(this, Me).on("disconnect", this.onDisconnect), xe(this, Me).on("session_delete", this.onDisconnect), xe(this, Me).on("display_uri", this.onDisplayUri), xe(this, Me).on("connect", this.onConnect))
};
Nc = new WeakSet;
Om = function () {
  xe(this, Me) && (xe(this, Me).removeListener("accountsChanged", this.onAccountsChanged), xe(this, Me).removeListener("chainChanged", this.onChainChanged), xe(this, Me).removeListener("disconnect", this.onDisconnect), xe(this, Me).removeListener("session_delete", this.onDisconnect), xe(this, Me).removeListener("display_uri", this.onDisplayUri), xe(this, Me).removeListener("connect", this.onConnect))
};
Gi = new WeakSet;
So = function (t) {
  var e;
  (e = this.storage) == null || e.setItem(R8, t)
};
Tc = new WeakSet;
Im = function () {
  var t;
  return ((t = this.storage) == null ? void 0 : t.getItem(R8)) ?? []
};
Rc = new WeakSet;
Nm = function () {
  var n, i, s;
  if (!xe(this, Me)) return [];
  const t = (n = xe(this, Me).session) == null ? void 0 : n.namespaces;
  return t ? ((s = (i = I8(t)[T8]) == null ? void 0 : i.chains) == null ? void 0 : s.map(o => parseInt(o.split(":")[1] || ""))) ?? [] : []
};
Fc = new WeakSet;
Tm = function () {
  var n, i;
  if (!xe(this, Me)) return [];
  const t = (n = xe(this, Me).session) == null ? void 0 : n.namespaces;
  return t ? ((i = I8(t)[T8]) == null ? void 0 : i.methods) ?? [] : []
};
var Mu, VU = class extends xd {
  constructor({
    chains: t,
    options: e
  } = {}) {
    const r = {
      name: "MetaMask",
      shimDisconnect: !0,
      getProvider() {
        function n(s) {
          if (s != null && s.isMetaMask && !(s.isBraveWallet && !s._events && !s._state) && !s.isApexWallet && !s.isAvalanche && !s.isBitKeep && !s.isBlockWallet && !s.isCoin98 && !s.isFordefi && !s.isMathWallet && !(s.isOkxWallet || s.isOKExWallet) && !(s.isOneInchIOSWallet || s.isOneInchAndroidWallet) && !s.isOpera && !s.isPortal && !s.isRabby && !s.isDefiant && !s.isTokenPocket && !s.isTokenary && !s.isZeal && !s.isZerion) return s
        }
        if (typeof window > "u") return;
        const i = window.ethereum;
        return i != null && i.providers ? i.providers.find(n) : n(i)
      },
      ...e
    };
    super({
      chains: t,
      options: r
    }), this.id = "metaMask", this.shimDisconnectKey = `${this.id}.shimDisconnect`, Dt(this, Mu, void 0), Ja(this, Mu, r.UNSTABLE_shimOnConnectSelectAccount)
  }
  async connect({
    chainId: t
  } = {}) {
    var e, r, n, i;
    try {
      const s = await this.getProvider();
      if (!s) throw new gr;
      s.on && (s.on("accountsChanged", this.onAccountsChanged), s.on("chainChanged", this.onChainChanged), s.on("disconnect", this.onDisconnect)), this.emit("message", {
        type: "connecting"
      });
      let o = null;
      if (xe(this, Mu) && ((e = this.options) != null && e.shimDisconnect) && !((r = this.storage) != null && r.getItem(this.shimDisconnectKey)) && (o = await this.getAccount().catch(() => null), !!o)) try {
        await s.request({
          method: "wallet_requestPermissions",
          params: [{
            eth_accounts: {}
          }]
        }), o = await this.getAccount()
      } catch (c) {
        if (this.isUserRejectedRequestError(c)) throw new dt(c);
        if (c.code === new $n(c).code) throw c
      }
      if (!o) {
        const u = await s.request({
          method: "eth_requestAccounts"
        });
        o = ar(u[0])
      }
      let a = await this.getChainId(),
        l = this.isChainUnsupported(a);
      return t && a !== t && (a = (await this.switchChain(t)).id, l = this.isChainUnsupported(a)), (n = this.options) != null && n.shimDisconnect && ((i = this.storage) == null || i.setItem(this.shimDisconnectKey, !0)), {
        account: o,
        chain: {
          id: a,
          unsupported: l
        },
        provider: s
      }
    } catch (s) {
      throw this.isUserRejectedRequestError(s) ? new dt(s) : s.code === -32002 ? new $n(s) : s
    }
  }
};
Mu = new WeakMap;
var KU = /(imtoken|metamask|rainbow|trust wallet|uniswap wallet|ledger)/i,
  oi, nC, U8, QU = class extends um {
    constructor() {
      super(...arguments), Dt(this, nC), this.id = "walletConnectLegacy", this.name = "WalletConnectLegacy", this.ready = !0, Dt(this, oi, void 0), this.onAccountsChanged = t => {
        t.length === 0 ? this.emit("disconnect") : this.emit("change", {
          account: ar(t[0])
        })
      }, this.onChainChanged = t => {
        const e = xc(t),
          r = this.isChainUnsupported(e);
        this.emit("change", {
          chain: {
            id: e,
            unsupported: r
          }
        })
      }, this.onDisconnect = () => {
        this.emit("disconnect")
      }
    }
    async connect({
      chainId: t
    } = {}) {
      var e, r, n, i, s, o;
      try {
        let a = t;
        if (!a) {
          const h = (e = this.storage) == null ? void 0 : e.getItem("store"),
            g = (i = (n = (r = h == null ? void 0 : h.state) == null ? void 0 : r.data) == null ? void 0 : n.chain) == null ? void 0 : i.id;
          g && !this.isChainUnsupported(g) && (a = g)
        }
        const l = await this.getProvider({
          chainId: a,
          create: !0
        });
        l.on("accountsChanged", this.onAccountsChanged), l.on("chainChanged", this.onChainChanged), l.on("disconnect", this.onDisconnect), setTimeout(() => this.emit("message", {
          type: "connecting"
        }), 0);
        const u = await l.enable(),
          c = ar(u[0]),
          d = await this.getChainId(),
          f = this.isChainUnsupported(d),
          B = ((o = (s = l.connector) == null ? void 0 : s.peerMeta) == null ? void 0 : o.name) ?? "";
        return KU.test(B) && (this.switchChain = et(this, nC, U8)), {
          account: c,
          chain: {
            id: d,
            unsupported: f
          }
        }
      } catch (a) {
        throw /user closed modal/i.test(a.message) ? new dt(a) : a
      }
    }
    async disconnect() {
      const t = await this.getProvider();
      await t.disconnect(), t.removeListener("accountsChanged", this.onAccountsChanged), t.removeListener("chainChanged", this.onChainChanged), t.removeListener("disconnect", this.onDisconnect), typeof localStorage < "u" && localStorage.removeItem("walletconnect")
    }
    async getAccount() {
      const e = (await this.getProvider()).accounts;
      return ar(e[0])
    }
    async getChainId() {
      const t = await this.getProvider();
      return xc(t.chainId)
    }
    async getProvider({
      chainId: t,
      create: e
    } = {}) {
      var r, n;
      if (!xe(this, oi) || t || e) {
        const i = (r = this.options) != null && r.infuraId ? {} : this.chains.reduce((o, a) => ({
            ...o,
            [a.id]: a.rpcUrls.default.http[0]
          }), {}),
          s = (await ee(async () => {
            const {
              default: o
            } = await import("./index-6RHXyegE.js");
            return {
              default: o
            }
          }, __vite__mapDeps([2, 1]))).default;
        Ja(this, oi, new s({
          ...this.options,
          chainId: t,
          rpc: {
            ...i,
            ...(n = this.options) == null ? void 0 : n.rpc
          }
        })), xe(this, oi).http = await xe(this, oi).setHttpProvider(t)
      }
      return xe(this, oi)
    }
    async getWalletClient({
      chainId: t
    } = {}) {
      const [e, r] = await Promise.all([this.getProvider({
        chainId: t
      }), this.getAccount()]), n = this.chains.find(i => i.id === t);
      if (!e) throw new Error("provider is required.");
      return am({
        account: r,
        chain: n,
        transport: rm(e)
      })
    }
    async isAuthorized() {
      try {
        return !!await this.getAccount()
      } catch {
        return !1
      }
    }
  };
oi = new WeakMap;
nC = new WeakSet;
U8 = async function (t) {
  const e = await this.getProvider(),
    r = de(t);
  try {
    return await Promise.race([e.request({
      method: "wallet_switchEthereumChain",
      params: [{
        chainId: r
      }]
    }), new Promise(n => this.on("change", ({
      chain: i
    }) => {
      (i == null ? void 0 : i.id) === t && n(t)
    }))]), this.chains.find(n => n.id === t) ?? {
      id: t,
      name: `Chain ${r}`,
      network: `${r}`,
      nativeCurrency: {
        name: "Ether",
        decimals: 18,
        symbol: "ETH"
      },
      rpcUrls: {
        default: {
          http: [""]
        },
        public: {
          http: [""]
        }
      }
    }
  } catch (n) {
    const i = typeof n == "string" ? n : n == null ? void 0 : n.message;
    throw /user rejected request/i.test(i) ? new dt(n) : new on(n)
  }
};
var JU = 768,
  Li = mT({
    conditions: {
      defaultCondition: "smallScreen",
      conditionNames: ["smallScreen", "largeScreen"],
      responsiveArray: void 0
    }
  }),
  z8 = _4({
    conditions: {
      defaultCondition: "smallScreen",
      conditionNames: ["smallScreen", "largeScreen"],
      responsiveArray: void 0
    }
  }),
  iC = DT({
    conditions: {
      defaultCondition: "base",
      conditionNames: ["base", "hover", "active"],
      responsiveArray: void 0
    },
    styles: {
      background: {
        values: {
          accentColor: {
            conditions: {
              base: "ju367v9i",
              hover: "ju367v9j",
              active: "ju367v9k"
            },
            defaultClass: "ju367v9i"
          },
          accentColorForeground: {
            conditions: {
              base: "ju367v9l",
              hover: "ju367v9m",
              active: "ju367v9n"
            },
            defaultClass: "ju367v9l"
          },
          actionButtonBorder: {
            conditions: {
              base: "ju367v9o",
              hover: "ju367v9p",
              active: "ju367v9q"
            },
            defaultClass: "ju367v9o"
          },
          actionButtonBorderMobile: {
            conditions: {
              base: "ju367v9r",
              hover: "ju367v9s",
              active: "ju367v9t"
            },
            defaultClass: "ju367v9r"
          },
          actionButtonSecondaryBackground: {
            conditions: {
              base: "ju367v9u",
              hover: "ju367v9v",
              active: "ju367v9w"
            },
            defaultClass: "ju367v9u"
          },
          closeButton: {
            conditions: {
              base: "ju367v9x",
              hover: "ju367v9y",
              active: "ju367v9z"
            },
            defaultClass: "ju367v9x"
          },
          closeButtonBackground: {
            conditions: {
              base: "ju367va0",
              hover: "ju367va1",
              active: "ju367va2"
            },
            defaultClass: "ju367va0"
          },
          connectButtonBackground: {
            conditions: {
              base: "ju367va3",
              hover: "ju367va4",
              active: "ju367va5"
            },
            defaultClass: "ju367va3"
          },
          connectButtonBackgroundError: {
            conditions: {
              base: "ju367va6",
              hover: "ju367va7",
              active: "ju367va8"
            },
            defaultClass: "ju367va6"
          },
          connectButtonInnerBackground: {
            conditions: {
              base: "ju367va9",
              hover: "ju367vaa",
              active: "ju367vab"
            },
            defaultClass: "ju367va9"
          },
          connectButtonText: {
            conditions: {
              base: "ju367vac",
              hover: "ju367vad",
              active: "ju367vae"
            },
            defaultClass: "ju367vac"
          },
          connectButtonTextError: {
            conditions: {
              base: "ju367vaf",
              hover: "ju367vag",
              active: "ju367vah"
            },
            defaultClass: "ju367vaf"
          },
          connectionIndicator: {
            conditions: {
              base: "ju367vai",
              hover: "ju367vaj",
              active: "ju367vak"
            },
            defaultClass: "ju367vai"
          },
          downloadBottomCardBackground: {
            conditions: {
              base: "ju367val",
              hover: "ju367vam",
              active: "ju367van"
            },
            defaultClass: "ju367val"
          },
          downloadTopCardBackground: {
            conditions: {
              base: "ju367vao",
              hover: "ju367vap",
              active: "ju367vaq"
            },
            defaultClass: "ju367vao"
          },
          error: {
            conditions: {
              base: "ju367var",
              hover: "ju367vas",
              active: "ju367vat"
            },
            defaultClass: "ju367var"
          },
          generalBorder: {
            conditions: {
              base: "ju367vau",
              hover: "ju367vav",
              active: "ju367vaw"
            },
            defaultClass: "ju367vau"
          },
          generalBorderDim: {
            conditions: {
              base: "ju367vax",
              hover: "ju367vay",
              active: "ju367vaz"
            },
            defaultClass: "ju367vax"
          },
          menuItemBackground: {
            conditions: {
              base: "ju367vb0",
              hover: "ju367vb1",
              active: "ju367vb2"
            },
            defaultClass: "ju367vb0"
          },
          modalBackdrop: {
            conditions: {
              base: "ju367vb3",
              hover: "ju367vb4",
              active: "ju367vb5"
            },
            defaultClass: "ju367vb3"
          },
          modalBackground: {
            conditions: {
              base: "ju367vb6",
              hover: "ju367vb7",
              active: "ju367vb8"
            },
            defaultClass: "ju367vb6"
          },
          modalBorder: {
            conditions: {
              base: "ju367vb9",
              hover: "ju367vba",
              active: "ju367vbb"
            },
            defaultClass: "ju367vb9"
          },
          modalText: {
            conditions: {
              base: "ju367vbc",
              hover: "ju367vbd",
              active: "ju367vbe"
            },
            defaultClass: "ju367vbc"
          },
          modalTextDim: {
            conditions: {
              base: "ju367vbf",
              hover: "ju367vbg",
              active: "ju367vbh"
            },
            defaultClass: "ju367vbf"
          },
          modalTextSecondary: {
            conditions: {
              base: "ju367vbi",
              hover: "ju367vbj",
              active: "ju367vbk"
            },
            defaultClass: "ju367vbi"
          },
          profileAction: {
            conditions: {
              base: "ju367vbl",
              hover: "ju367vbm",
              active: "ju367vbn"
            },
            defaultClass: "ju367vbl"
          },
          profileActionHover: {
            conditions: {
              base: "ju367vbo",
              hover: "ju367vbp",
              active: "ju367vbq"
            },
            defaultClass: "ju367vbo"
          },
          profileForeground: {
            conditions: {
              base: "ju367vbr",
              hover: "ju367vbs",
              active: "ju367vbt"
            },
            defaultClass: "ju367vbr"
          },
          selectedOptionBorder: {
            conditions: {
              base: "ju367vbu",
              hover: "ju367vbv",
              active: "ju367vbw"
            },
            defaultClass: "ju367vbu"
          },
          standby: {
            conditions: {
              base: "ju367vbx",
              hover: "ju367vby",
              active: "ju367vbz"
            },
            defaultClass: "ju367vbx"
          }
        }
      },
      borderColor: {
        values: {
          accentColor: {
            conditions: {
              base: "ju367vc0",
              hover: "ju367vc1",
              active: "ju367vc2"
            },
            defaultClass: "ju367vc0"
          },
          accentColorForeground: {
            conditions: {
              base: "ju367vc3",
              hover: "ju367vc4",
              active: "ju367vc5"
            },
            defaultClass: "ju367vc3"
          },
          actionButtonBorder: {
            conditions: {
              base: "ju367vc6",
              hover: "ju367vc7",
              active: "ju367vc8"
            },
            defaultClass: "ju367vc6"
          },
          actionButtonBorderMobile: {
            conditions: {
              base: "ju367vc9",
              hover: "ju367vca",
              active: "ju367vcb"
            },
            defaultClass: "ju367vc9"
          },
          actionButtonSecondaryBackground: {
            conditions: {
              base: "ju367vcc",
              hover: "ju367vcd",
              active: "ju367vce"
            },
            defaultClass: "ju367vcc"
          },
          closeButton: {
            conditions: {
              base: "ju367vcf",
              hover: "ju367vcg",
              active: "ju367vch"
            },
            defaultClass: "ju367vcf"
          },
          closeButtonBackground: {
            conditions: {
              base: "ju367vci",
              hover: "ju367vcj",
              active: "ju367vck"
            },
            defaultClass: "ju367vci"
          },
          connectButtonBackground: {
            conditions: {
              base: "ju367vcl",
              hover: "ju367vcm",
              active: "ju367vcn"
            },
            defaultClass: "ju367vcl"
          },
          connectButtonBackgroundError: {
            conditions: {
              base: "ju367vco",
              hover: "ju367vcp",
              active: "ju367vcq"
            },
            defaultClass: "ju367vco"
          },
          connectButtonInnerBackground: {
            conditions: {
              base: "ju367vcr",
              hover: "ju367vcs",
              active: "ju367vct"
            },
            defaultClass: "ju367vcr"
          },
          connectButtonText: {
            conditions: {
              base: "ju367vcu",
              hover: "ju367vcv",
              active: "ju367vcw"
            },
            defaultClass: "ju367vcu"
          },
          connectButtonTextError: {
            conditions: {
              base: "ju367vcx",
              hover: "ju367vcy",
              active: "ju367vcz"
            },
            defaultClass: "ju367vcx"
          },
          connectionIndicator: {
            conditions: {
              base: "ju367vd0",
              hover: "ju367vd1",
              active: "ju367vd2"
            },
            defaultClass: "ju367vd0"
          },
          downloadBottomCardBackground: {
            conditions: {
              base: "ju367vd3",
              hover: "ju367vd4",
              active: "ju367vd5"
            },
            defaultClass: "ju367vd3"
          },
          downloadTopCardBackground: {
            conditions: {
              base: "ju367vd6",
              hover: "ju367vd7",
              active: "ju367vd8"
            },
            defaultClass: "ju367vd6"
          },
          error: {
            conditions: {
              base: "ju367vd9",
              hover: "ju367vda",
              active: "ju367vdb"
            },
            defaultClass: "ju367vd9"
          },
          generalBorder: {
            conditions: {
              base: "ju367vdc",
              hover: "ju367vdd",
              active: "ju367vde"
            },
            defaultClass: "ju367vdc"
          },
          generalBorderDim: {
            conditions: {
              base: "ju367vdf",
              hover: "ju367vdg",
              active: "ju367vdh"
            },
            defaultClass: "ju367vdf"
          },
          menuItemBackground: {
            conditions: {
              base: "ju367vdi",
              hover: "ju367vdj",
              active: "ju367vdk"
            },
            defaultClass: "ju367vdi"
          },
          modalBackdrop: {
            conditions: {
              base: "ju367vdl",
              hover: "ju367vdm",
              active: "ju367vdn"
            },
            defaultClass: "ju367vdl"
          },
          modalBackground: {
            conditions: {
              base: "ju367vdo",
              hover: "ju367vdp",
              active: "ju367vdq"
            },
            defaultClass: "ju367vdo"
          },
          modalBorder: {
            conditions: {
              base: "ju367vdr",
              hover: "ju367vds",
              active: "ju367vdt"
            },
            defaultClass: "ju367vdr"
          },
          modalText: {
            conditions: {
              base: "ju367vdu",
              hover: "ju367vdv",
              active: "ju367vdw"
            },
            defaultClass: "ju367vdu"
          },
          modalTextDim: {
            conditions: {
              base: "ju367vdx",
              hover: "ju367vdy",
              active: "ju367vdz"
            },
            defaultClass: "ju367vdx"
          },
          modalTextSecondary: {
            conditions: {
              base: "ju367ve0",
              hover: "ju367ve1",
              active: "ju367ve2"
            },
            defaultClass: "ju367ve0"
          },
          profileAction: {
            conditions: {
              base: "ju367ve3",
              hover: "ju367ve4",
              active: "ju367ve5"
            },
            defaultClass: "ju367ve3"
          },
          profileActionHover: {
            conditions: {
              base: "ju367ve6",
              hover: "ju367ve7",
              active: "ju367ve8"
            },
            defaultClass: "ju367ve6"
          },
          profileForeground: {
            conditions: {
              base: "ju367ve9",
              hover: "ju367vea",
              active: "ju367veb"
            },
            defaultClass: "ju367ve9"
          },
          selectedOptionBorder: {
            conditions: {
              base: "ju367vec",
              hover: "ju367ved",
              active: "ju367vee"
            },
            defaultClass: "ju367vec"
          },
          standby: {
            conditions: {
              base: "ju367vef",
              hover: "ju367veg",
              active: "ju367veh"
            },
            defaultClass: "ju367vef"
          }
        }
      },
      boxShadow: {
        values: {
          connectButton: {
            conditions: {
              base: "ju367vei",
              hover: "ju367vej",
              active: "ju367vek"
            },
            defaultClass: "ju367vei"
          },
          dialog: {
            conditions: {
              base: "ju367vel",
              hover: "ju367vem",
              active: "ju367ven"
            },
            defaultClass: "ju367vel"
          },
          profileDetailsAction: {
            conditions: {
              base: "ju367veo",
              hover: "ju367vep",
              active: "ju367veq"
            },
            defaultClass: "ju367veo"
          },
          selectedOption: {
            conditions: {
              base: "ju367ver",
              hover: "ju367ves",
              active: "ju367vet"
            },
            defaultClass: "ju367ver"
          },
          selectedWallet: {
            conditions: {
              base: "ju367veu",
              hover: "ju367vev",
              active: "ju367vew"
            },
            defaultClass: "ju367veu"
          },
          walletLogo: {
            conditions: {
              base: "ju367vex",
              hover: "ju367vey",
              active: "ju367vez"
            },
            defaultClass: "ju367vex"
          }
        }
      },
      color: {
        values: {
          accentColor: {
            conditions: {
              base: "ju367vf0",
              hover: "ju367vf1",
              active: "ju367vf2"
            },
            defaultClass: "ju367vf0"
          },
          accentColorForeground: {
            conditions: {
              base: "ju367vf3",
              hover: "ju367vf4",
              active: "ju367vf5"
            },
            defaultClass: "ju367vf3"
          },
          actionButtonBorder: {
            conditions: {
              base: "ju367vf6",
              hover: "ju367vf7",
              active: "ju367vf8"
            },
            defaultClass: "ju367vf6"
          },
          actionButtonBorderMobile: {
            conditions: {
              base: "ju367vf9",
              hover: "ju367vfa",
              active: "ju367vfb"
            },
            defaultClass: "ju367vf9"
          },
          actionButtonSecondaryBackground: {
            conditions: {
              base: "ju367vfc",
              hover: "ju367vfd",
              active: "ju367vfe"
            },
            defaultClass: "ju367vfc"
          },
          closeButton: {
            conditions: {
              base: "ju367vff",
              hover: "ju367vfg",
              active: "ju367vfh"
            },
            defaultClass: "ju367vff"
          },
          closeButtonBackground: {
            conditions: {
              base: "ju367vfi",
              hover: "ju367vfj",
              active: "ju367vfk"
            },
            defaultClass: "ju367vfi"
          },
          connectButtonBackground: {
            conditions: {
              base: "ju367vfl",
              hover: "ju367vfm",
              active: "ju367vfn"
            },
            defaultClass: "ju367vfl"
          },
          connectButtonBackgroundError: {
            conditions: {
              base: "ju367vfo",
              hover: "ju367vfp",
              active: "ju367vfq"
            },
            defaultClass: "ju367vfo"
          },
          connectButtonInnerBackground: {
            conditions: {
              base: "ju367vfr",
              hover: "ju367vfs",
              active: "ju367vft"
            },
            defaultClass: "ju367vfr"
          },
          connectButtonText: {
            conditions: {
              base: "ju367vfu",
              hover: "ju367vfv",
              active: "ju367vfw"
            },
            defaultClass: "ju367vfu"
          },
          connectButtonTextError: {
            conditions: {
              base: "ju367vfx",
              hover: "ju367vfy",
              active: "ju367vfz"
            },
            defaultClass: "ju367vfx"
          },
          connectionIndicator: {
            conditions: {
              base: "ju367vg0",
              hover: "ju367vg1",
              active: "ju367vg2"
            },
            defaultClass: "ju367vg0"
          },
          downloadBottomCardBackground: {
            conditions: {
              base: "ju367vg3",
              hover: "ju367vg4",
              active: "ju367vg5"
            },
            defaultClass: "ju367vg3"
          },
          downloadTopCardBackground: {
            conditions: {
              base: "ju367vg6",
              hover: "ju367vg7",
              active: "ju367vg8"
            },
            defaultClass: "ju367vg6"
          },
          error: {
            conditions: {
              base: "ju367vg9",
              hover: "ju367vga",
              active: "ju367vgb"
            },
            defaultClass: "ju367vg9"
          },
          generalBorder: {
            conditions: {
              base: "ju367vgc",
              hover: "ju367vgd",
              active: "ju367vge"
            },
            defaultClass: "ju367vgc"
          },
          generalBorderDim: {
            conditions: {
              base: "ju367vgf",
              hover: "ju367vgg",
              active: "ju367vgh"
            },
            defaultClass: "ju367vgf"
          },
          menuItemBackground: {
            conditions: {
              base: "ju367vgi",
              hover: "ju367vgj",
              active: "ju367vgk"
            },
            defaultClass: "ju367vgi"
          },
          modalBackdrop: {
            conditions: {
              base: "ju367vgl",
              hover: "ju367vgm",
              active: "ju367vgn"
            },
            defaultClass: "ju367vgl"
          },
          modalBackground: {
            conditions: {
              base: "ju367vgo",
              hover: "ju367vgp",
              active: "ju367vgq"
            },
            defaultClass: "ju367vgo"
          },
          modalBorder: {
            conditions: {
              base: "ju367vgr",
              hover: "ju367vgs",
              active: "ju367vgt"
            },
            defaultClass: "ju367vgr"
          },
          modalText: {
            conditions: {
              base: "ju367vgu",
              hover: "ju367vgv",
              active: "ju367vgw"
            },
            defaultClass: "ju367vgu"
          },
          modalTextDim: {
            conditions: {
              base: "ju367vgx",
              hover: "ju367vgy",
              active: "ju367vgz"
            },
            defaultClass: "ju367vgx"
          },
          modalTextSecondary: {
            conditions: {
              base: "ju367vh0",
              hover: "ju367vh1",
              active: "ju367vh2"
            },
            defaultClass: "ju367vh0"
          },
          profileAction: {
            conditions: {
              base: "ju367vh3",
              hover: "ju367vh4",
              active: "ju367vh5"
            },
            defaultClass: "ju367vh3"
          },
          profileActionHover: {
            conditions: {
              base: "ju367vh6",
              hover: "ju367vh7",
              active: "ju367vh8"
            },
            defaultClass: "ju367vh6"
          },
          profileForeground: {
            conditions: {
              base: "ju367vh9",
              hover: "ju367vha",
              active: "ju367vhb"
            },
            defaultClass: "ju367vh9"
          },
          selectedOptionBorder: {
            conditions: {
              base: "ju367vhc",
              hover: "ju367vhd",
              active: "ju367vhe"
            },
            defaultClass: "ju367vhc"
          },
          standby: {
            conditions: {
              base: "ju367vhf",
              hover: "ju367vhg",
              active: "ju367vhh"
            },
            defaultClass: "ju367vhf"
          }
        }
      }
    }
  }, {
    conditions: {
      defaultCondition: "smallScreen",
      conditionNames: ["smallScreen", "largeScreen"],
      responsiveArray: void 0
    },
    styles: {
      alignItems: {
        values: {
          "flex-start": {
            conditions: {
              smallScreen: "ju367v0",
              largeScreen: "ju367v1"
            },
            defaultClass: "ju367v0"
          },
          "flex-end": {
            conditions: {
              smallScreen: "ju367v2",
              largeScreen: "ju367v3"
            },
            defaultClass: "ju367v2"
          },
          center: {
            conditions: {
              smallScreen: "ju367v4",
              largeScreen: "ju367v5"
            },
            defaultClass: "ju367v4"
          }
        }
      },
      display: {
        values: {
          none: {
            conditions: {
              smallScreen: "ju367v6",
              largeScreen: "ju367v7"
            },
            defaultClass: "ju367v6"
          },
          block: {
            conditions: {
              smallScreen: "ju367v8",
              largeScreen: "ju367v9"
            },
            defaultClass: "ju367v8"
          },
          flex: {
            conditions: {
              smallScreen: "ju367va",
              largeScreen: "ju367vb"
            },
            defaultClass: "ju367va"
          },
          inline: {
            conditions: {
              smallScreen: "ju367vc",
              largeScreen: "ju367vd"
            },
            defaultClass: "ju367vc"
          }
        }
      }
    }
  }, {
    conditions: void 0,
    styles: {
      margin: {
        mappings: ["marginTop", "marginBottom", "marginLeft", "marginRight"]
      },
      marginX: {
        mappings: ["marginLeft", "marginRight"]
      },
      marginY: {
        mappings: ["marginTop", "marginBottom"]
      },
      padding: {
        mappings: ["paddingTop", "paddingBottom", "paddingLeft", "paddingRight"]
      },
      paddingX: {
        mappings: ["paddingLeft", "paddingRight"]
      },
      paddingY: {
        mappings: ["paddingTop", "paddingBottom"]
      },
      alignSelf: {
        values: {
          "flex-start": {
            defaultClass: "ju367ve"
          },
          "flex-end": {
            defaultClass: "ju367vf"
          },
          center: {
            defaultClass: "ju367vg"
          }
        }
      },
      backgroundSize: {
        values: {
          cover: {
            defaultClass: "ju367vh"
          }
        }
      },
      borderRadius: {
        values: {
          1: {
            defaultClass: "ju367vi"
          },
          6: {
            defaultClass: "ju367vj"
          },
          10: {
            defaultClass: "ju367vk"
          },
          13: {
            defaultClass: "ju367vl"
          },
          actionButton: {
            defaultClass: "ju367vm"
          },
          connectButton: {
            defaultClass: "ju367vn"
          },
          menuButton: {
            defaultClass: "ju367vo"
          },
          modal: {
            defaultClass: "ju367vp"
          },
          modalMobile: {
            defaultClass: "ju367vq"
          },
          "25%": {
            defaultClass: "ju367vr"
          },
          full: {
            defaultClass: "ju367vs"
          }
        }
      },
      borderStyle: {
        values: {
          solid: {
            defaultClass: "ju367vt"
          }
        }
      },
      borderWidth: {
        values: {
          0: {
            defaultClass: "ju367vu"
          },
          1: {
            defaultClass: "ju367vv"
          },
          2: {
            defaultClass: "ju367vw"
          },
          4: {
            defaultClass: "ju367vx"
          }
        }
      },
      cursor: {
        values: {
          pointer: {
            defaultClass: "ju367vy"
          },
          none: {
            defaultClass: "ju367vz"
          }
        }
      },
      pointerEvents: {
        values: {
          none: {
            defaultClass: "ju367v10"
          },
          all: {
            defaultClass: "ju367v11"
          }
        }
      },
      minHeight: {
        values: {
          8: {
            defaultClass: "ju367v12"
          },
          44: {
            defaultClass: "ju367v13"
          }
        }
      },
      flexDirection: {
        values: {
          row: {
            defaultClass: "ju367v14"
          },
          column: {
            defaultClass: "ju367v15"
          }
        }
      },
      fontFamily: {
        values: {
          body: {
            defaultClass: "ju367v16"
          }
        }
      },
      fontSize: {
        values: {
          12: {
            defaultClass: "ju367v17"
          },
          13: {
            defaultClass: "ju367v18"
          },
          14: {
            defaultClass: "ju367v19"
          },
          16: {
            defaultClass: "ju367v1a"
          },
          18: {
            defaultClass: "ju367v1b"
          },
          20: {
            defaultClass: "ju367v1c"
          },
          23: {
            defaultClass: "ju367v1d"
          }
        }
      },
      fontWeight: {
        values: {
          regular: {
            defaultClass: "ju367v1e"
          },
          medium: {
            defaultClass: "ju367v1f"
          },
          semibold: {
            defaultClass: "ju367v1g"
          },
          bold: {
            defaultClass: "ju367v1h"
          },
          heavy: {
            defaultClass: "ju367v1i"
          }
        }
      },
      gap: {
        values: {
          0: {
            defaultClass: "ju367v1j"
          },
          1: {
            defaultClass: "ju367v1k"
          },
          2: {
            defaultClass: "ju367v1l"
          },
          3: {
            defaultClass: "ju367v1m"
          },
          4: {
            defaultClass: "ju367v1n"
          },
          5: {
            defaultClass: "ju367v1o"
          },
          6: {
            defaultClass: "ju367v1p"
          },
          8: {
            defaultClass: "ju367v1q"
          },
          10: {
            defaultClass: "ju367v1r"
          },
          12: {
            defaultClass: "ju367v1s"
          },
          14: {
            defaultClass: "ju367v1t"
          },
          16: {
            defaultClass: "ju367v1u"
          },
          18: {
            defaultClass: "ju367v1v"
          },
          20: {
            defaultClass: "ju367v1w"
          },
          24: {
            defaultClass: "ju367v1x"
          },
          28: {
            defaultClass: "ju367v1y"
          },
          32: {
            defaultClass: "ju367v1z"
          },
          36: {
            defaultClass: "ju367v20"
          },
          44: {
            defaultClass: "ju367v21"
          },
          64: {
            defaultClass: "ju367v22"
          },
          "-1": {
            defaultClass: "ju367v23"
          }
        }
      },
      height: {
        values: {
          1: {
            defaultClass: "ju367v24"
          },
          2: {
            defaultClass: "ju367v25"
          },
          4: {
            defaultClass: "ju367v26"
          },
          8: {
            defaultClass: "ju367v27"
          },
          12: {
            defaultClass: "ju367v28"
          },
          20: {
            defaultClass: "ju367v29"
          },
          24: {
            defaultClass: "ju367v2a"
          },
          28: {
            defaultClass: "ju367v2b"
          },
          30: {
            defaultClass: "ju367v2c"
          },
          32: {
            defaultClass: "ju367v2d"
          },
          34: {
            defaultClass: "ju367v2e"
          },
          36: {
            defaultClass: "ju367v2f"
          },
          40: {
            defaultClass: "ju367v2g"
          },
          44: {
            defaultClass: "ju367v2h"
          },
          48: {
            defaultClass: "ju367v2i"
          },
          54: {
            defaultClass: "ju367v2j"
          },
          60: {
            defaultClass: "ju367v2k"
          },
          200: {
            defaultClass: "ju367v2l"
          },
          full: {
            defaultClass: "ju367v2m"
          },
          max: {
            defaultClass: "ju367v2n"
          }
        }
      },
      justifyContent: {
        values: {
          "flex-start": {
            defaultClass: "ju367v2o"
          },
          "flex-end": {
            defaultClass: "ju367v2p"
          },
          center: {
            defaultClass: "ju367v2q"
          },
          "space-between": {
            defaultClass: "ju367v2r"
          },
          "space-around": {
            defaultClass: "ju367v2s"
          }
        }
      },
      textAlign: {
        values: {
          left: {
            defaultClass: "ju367v2t"
          },
          center: {
            defaultClass: "ju367v2u"
          },
          inherit: {
            defaultClass: "ju367v2v"
          }
        }
      },
      marginBottom: {
        values: {
          0: {
            defaultClass: "ju367v2w"
          },
          1: {
            defaultClass: "ju367v2x"
          },
          2: {
            defaultClass: "ju367v2y"
          },
          3: {
            defaultClass: "ju367v2z"
          },
          4: {
            defaultClass: "ju367v30"
          },
          5: {
            defaultClass: "ju367v31"
          },
          6: {
            defaultClass: "ju367v32"
          },
          8: {
            defaultClass: "ju367v33"
          },
          10: {
            defaultClass: "ju367v34"
          },
          12: {
            defaultClass: "ju367v35"
          },
          14: {
            defaultClass: "ju367v36"
          },
          16: {
            defaultClass: "ju367v37"
          },
          18: {
            defaultClass: "ju367v38"
          },
          20: {
            defaultClass: "ju367v39"
          },
          24: {
            defaultClass: "ju367v3a"
          },
          28: {
            defaultClass: "ju367v3b"
          },
          32: {
            defaultClass: "ju367v3c"
          },
          36: {
            defaultClass: "ju367v3d"
          },
          44: {
            defaultClass: "ju367v3e"
          },
          64: {
            defaultClass: "ju367v3f"
          },
          "-1": {
            defaultClass: "ju367v3g"
          }
        }
      },
      marginLeft: {
        values: {
          0: {
            defaultClass: "ju367v3h"
          },
          1: {
            defaultClass: "ju367v3i"
          },
          2: {
            defaultClass: "ju367v3j"
          },
          3: {
            defaultClass: "ju367v3k"
          },
          4: {
            defaultClass: "ju367v3l"
          },
          5: {
            defaultClass: "ju367v3m"
          },
          6: {
            defaultClass: "ju367v3n"
          },
          8: {
            defaultClass: "ju367v3o"
          },
          10: {
            defaultClass: "ju367v3p"
          },
          12: {
            defaultClass: "ju367v3q"
          },
          14: {
            defaultClass: "ju367v3r"
          },
          16: {
            defaultClass: "ju367v3s"
          },
          18: {
            defaultClass: "ju367v3t"
          },
          20: {
            defaultClass: "ju367v3u"
          },
          24: {
            defaultClass: "ju367v3v"
          },
          28: {
            defaultClass: "ju367v3w"
          },
          32: {
            defaultClass: "ju367v3x"
          },
          36: {
            defaultClass: "ju367v3y"
          },
          44: {
            defaultClass: "ju367v3z"
          },
          64: {
            defaultClass: "ju367v40"
          },
          "-1": {
            defaultClass: "ju367v41"
          }
        }
      },
      marginRight: {
        values: {
          0: {
            defaultClass: "ju367v42"
          },
          1: {
            defaultClass: "ju367v43"
          },
          2: {
            defaultClass: "ju367v44"
          },
          3: {
            defaultClass: "ju367v45"
          },
          4: {
            defaultClass: "ju367v46"
          },
          5: {
            defaultClass: "ju367v47"
          },
          6: {
            defaultClass: "ju367v48"
          },
          8: {
            defaultClass: "ju367v49"
          },
          10: {
            defaultClass: "ju367v4a"
          },
          12: {
            defaultClass: "ju367v4b"
          },
          14: {
            defaultClass: "ju367v4c"
          },
          16: {
            defaultClass: "ju367v4d"
          },
          18: {
            defaultClass: "ju367v4e"
          },
          20: {
            defaultClass: "ju367v4f"
          },
          24: {
            defaultClass: "ju367v4g"
          },
          28: {
            defaultClass: "ju367v4h"
          },
          32: {
            defaultClass: "ju367v4i"
          },
          36: {
            defaultClass: "ju367v4j"
          },
          44: {
            defaultClass: "ju367v4k"
          },
          64: {
            defaultClass: "ju367v4l"
          },
          "-1": {
            defaultClass: "ju367v4m"
          }
        }
      },
      marginTop: {
        values: {
          0: {
            defaultClass: "ju367v4n"
          },
          1: {
            defaultClass: "ju367v4o"
          },
          2: {
            defaultClass: "ju367v4p"
          },
          3: {
            defaultClass: "ju367v4q"
          },
          4: {
            defaultClass: "ju367v4r"
          },
          5: {
            defaultClass: "ju367v4s"
          },
          6: {
            defaultClass: "ju367v4t"
          },
          8: {
            defaultClass: "ju367v4u"
          },
          10: {
            defaultClass: "ju367v4v"
          },
          12: {
            defaultClass: "ju367v4w"
          },
          14: {
            defaultClass: "ju367v4x"
          },
          16: {
            defaultClass: "ju367v4y"
          },
          18: {
            defaultClass: "ju367v4z"
          },
          20: {
            defaultClass: "ju367v50"
          },
          24: {
            defaultClass: "ju367v51"
          },
          28: {
            defaultClass: "ju367v52"
          },
          32: {
            defaultClass: "ju367v53"
          },
          36: {
            defaultClass: "ju367v54"
          },
          44: {
            defaultClass: "ju367v55"
          },
          64: {
            defaultClass: "ju367v56"
          },
          "-1": {
            defaultClass: "ju367v57"
          }
        }
      },
      maxWidth: {
        values: {
          1: {
            defaultClass: "ju367v58"
          },
          2: {
            defaultClass: "ju367v59"
          },
          4: {
            defaultClass: "ju367v5a"
          },
          8: {
            defaultClass: "ju367v5b"
          },
          12: {
            defaultClass: "ju367v5c"
          },
          20: {
            defaultClass: "ju367v5d"
          },
          24: {
            defaultClass: "ju367v5e"
          },
          28: {
            defaultClass: "ju367v5f"
          },
          30: {
            defaultClass: "ju367v5g"
          },
          32: {
            defaultClass: "ju367v5h"
          },
          34: {
            defaultClass: "ju367v5i"
          },
          36: {
            defaultClass: "ju367v5j"
          },
          40: {
            defaultClass: "ju367v5k"
          },
          44: {
            defaultClass: "ju367v5l"
          },
          48: {
            defaultClass: "ju367v5m"
          },
          54: {
            defaultClass: "ju367v5n"
          },
          60: {
            defaultClass: "ju367v5o"
          },
          200: {
            defaultClass: "ju367v5p"
          },
          full: {
            defaultClass: "ju367v5q"
          },
          max: {
            defaultClass: "ju367v5r"
          }
        }
      },
      minWidth: {
        values: {
          1: {
            defaultClass: "ju367v5s"
          },
          2: {
            defaultClass: "ju367v5t"
          },
          4: {
            defaultClass: "ju367v5u"
          },
          8: {
            defaultClass: "ju367v5v"
          },
          12: {
            defaultClass: "ju367v5w"
          },
          20: {
            defaultClass: "ju367v5x"
          },
          24: {
            defaultClass: "ju367v5y"
          },
          28: {
            defaultClass: "ju367v5z"
          },
          30: {
            defaultClass: "ju367v60"
          },
          32: {
            defaultClass: "ju367v61"
          },
          34: {
            defaultClass: "ju367v62"
          },
          36: {
            defaultClass: "ju367v63"
          },
          40: {
            defaultClass: "ju367v64"
          },
          44: {
            defaultClass: "ju367v65"
          },
          48: {
            defaultClass: "ju367v66"
          },
          54: {
            defaultClass: "ju367v67"
          },
          60: {
            defaultClass: "ju367v68"
          },
          200: {
            defaultClass: "ju367v69"
          },
          full: {
            defaultClass: "ju367v6a"
          },
          max: {
            defaultClass: "ju367v6b"
          }
        }
      },
      overflow: {
        values: {
          hidden: {
            defaultClass: "ju367v6c"
          }
        }
      },
      paddingBottom: {
        values: {
          0: {
            defaultClass: "ju367v6d"
          },
          1: {
            defaultClass: "ju367v6e"
          },
          2: {
            defaultClass: "ju367v6f"
          },
          3: {
            defaultClass: "ju367v6g"
          },
          4: {
            defaultClass: "ju367v6h"
          },
          5: {
            defaultClass: "ju367v6i"
          },
          6: {
            defaultClass: "ju367v6j"
          },
          8: {
            defaultClass: "ju367v6k"
          },
          10: {
            defaultClass: "ju367v6l"
          },
          12: {
            defaultClass: "ju367v6m"
          },
          14: {
            defaultClass: "ju367v6n"
          },
          16: {
            defaultClass: "ju367v6o"
          },
          18: {
            defaultClass: "ju367v6p"
          },
          20: {
            defaultClass: "ju367v6q"
          },
          24: {
            defaultClass: "ju367v6r"
          },
          28: {
            defaultClass: "ju367v6s"
          },
          32: {
            defaultClass: "ju367v6t"
          },
          36: {
            defaultClass: "ju367v6u"
          },
          44: {
            defaultClass: "ju367v6v"
          },
          64: {
            defaultClass: "ju367v6w"
          },
          "-1": {
            defaultClass: "ju367v6x"
          }
        }
      },
      paddingLeft: {
        values: {
          0: {
            defaultClass: "ju367v6y"
          },
          1: {
            defaultClass: "ju367v6z"
          },
          2: {
            defaultClass: "ju367v70"
          },
          3: {
            defaultClass: "ju367v71"
          },
          4: {
            defaultClass: "ju367v72"
          },
          5: {
            defaultClass: "ju367v73"
          },
          6: {
            defaultClass: "ju367v74"
          },
          8: {
            defaultClass: "ju367v75"
          },
          10: {
            defaultClass: "ju367v76"
          },
          12: {
            defaultClass: "ju367v77"
          },
          14: {
            defaultClass: "ju367v78"
          },
          16: {
            defaultClass: "ju367v79"
          },
          18: {
            defaultClass: "ju367v7a"
          },
          20: {
            defaultClass: "ju367v7b"
          },
          24: {
            defaultClass: "ju367v7c"
          },
          28: {
            defaultClass: "ju367v7d"
          },
          32: {
            defaultClass: "ju367v7e"
          },
          36: {
            defaultClass: "ju367v7f"
          },
          44: {
            defaultClass: "ju367v7g"
          },
          64: {
            defaultClass: "ju367v7h"
          },
          "-1": {
            defaultClass: "ju367v7i"
          }
        }
      },
      paddingRight: {
        values: {
          0: {
            defaultClass: "ju367v7j"
          },
          1: {
            defaultClass: "ju367v7k"
          },
          2: {
            defaultClass: "ju367v7l"
          },
          3: {
            defaultClass: "ju367v7m"
          },
          4: {
            defaultClass: "ju367v7n"
          },
          5: {
            defaultClass: "ju367v7o"
          },
          6: {
            defaultClass: "ju367v7p"
          },
          8: {
            defaultClass: "ju367v7q"
          },
          10: {
            defaultClass: "ju367v7r"
          },
          12: {
            defaultClass: "ju367v7s"
          },
          14: {
            defaultClass: "ju367v7t"
          },
          16: {
            defaultClass: "ju367v7u"
          },
          18: {
            defaultClass: "ju367v7v"
          },
          20: {
            defaultClass: "ju367v7w"
          },
          24: {
            defaultClass: "ju367v7x"
          },
          28: {
            defaultClass: "ju367v7y"
          },
          32: {
            defaultClass: "ju367v7z"
          },
          36: {
            defaultClass: "ju367v80"
          },
          44: {
            defaultClass: "ju367v81"
          },
          64: {
            defaultClass: "ju367v82"
          },
          "-1": {
            defaultClass: "ju367v83"
          }
        }
      },
      paddingTop: {
        values: {
          0: {
            defaultClass: "ju367v84"
          },
          1: {
            defaultClass: "ju367v85"
          },
          2: {
            defaultClass: "ju367v86"
          },
          3: {
            defaultClass: "ju367v87"
          },
          4: {
            defaultClass: "ju367v88"
          },
          5: {
            defaultClass: "ju367v89"
          },
          6: {
            defaultClass: "ju367v8a"
          },
          8: {
            defaultClass: "ju367v8b"
          },
          10: {
            defaultClass: "ju367v8c"
          },
          12: {
            defaultClass: "ju367v8d"
          },
          14: {
            defaultClass: "ju367v8e"
          },
          16: {
            defaultClass: "ju367v8f"
          },
          18: {
            defaultClass: "ju367v8g"
          },
          20: {
            defaultClass: "ju367v8h"
          },
          24: {
            defaultClass: "ju367v8i"
          },
          28: {
            defaultClass: "ju367v8j"
          },
          32: {
            defaultClass: "ju367v8k"
          },
          36: {
            defaultClass: "ju367v8l"
          },
          44: {
            defaultClass: "ju367v8m"
          },
          64: {
            defaultClass: "ju367v8n"
          },
          "-1": {
            defaultClass: "ju367v8o"
          }
        }
      },
      position: {
        values: {
          absolute: {
            defaultClass: "ju367v8p"
          },
          fixed: {
            defaultClass: "ju367v8q"
          },
          relative: {
            defaultClass: "ju367v8r"
          }
        }
      },
      WebkitUserSelect: {
        values: {
          none: {
            defaultClass: "ju367v8s"
          }
        }
      },
      right: {
        values: {
          0: {
            defaultClass: "ju367v8t"
          }
        }
      },
      transition: {
        values: {
          default: {
            defaultClass: "ju367v8u"
          },
          transform: {
            defaultClass: "ju367v8v"
          }
        }
      },
      userSelect: {
        values: {
          none: {
            defaultClass: "ju367v8w"
          }
        }
      },
      width: {
        values: {
          1: {
            defaultClass: "ju367v8x"
          },
          2: {
            defaultClass: "ju367v8y"
          },
          4: {
            defaultClass: "ju367v8z"
          },
          8: {
            defaultClass: "ju367v90"
          },
          12: {
            defaultClass: "ju367v91"
          },
          20: {
            defaultClass: "ju367v92"
          },
          24: {
            defaultClass: "ju367v93"
          },
          28: {
            defaultClass: "ju367v94"
          },
          30: {
            defaultClass: "ju367v95"
          },
          32: {
            defaultClass: "ju367v96"
          },
          34: {
            defaultClass: "ju367v97"
          },
          36: {
            defaultClass: "ju367v98"
          },
          40: {
            defaultClass: "ju367v99"
          },
          44: {
            defaultClass: "ju367v9a"
          },
          48: {
            defaultClass: "ju367v9b"
          },
          54: {
            defaultClass: "ju367v9c"
          },
          60: {
            defaultClass: "ju367v9d"
          },
          200: {
            defaultClass: "ju367v9e"
          },
          full: {
            defaultClass: "ju367v9f"
          },
          max: {
            defaultClass: "ju367v9g"
          }
        }
      },
      backdropFilter: {
        values: {
          modalOverlay: {
            defaultClass: "ju367v9h"
          }
        }
      }
    }
  }),
  g2 = {
    colors: {
      accentColor: "var(--rk-colors-accentColor)",
      accentColorForeground: "var(--rk-colors-accentColorForeground)",
      actionButtonBorder: "var(--rk-colors-actionButtonBorder)",
      actionButtonBorderMobile: "var(--rk-colors-actionButtonBorderMobile)",
      actionButtonSecondaryBackground: "var(--rk-colors-actionButtonSecondaryBackground)",
      closeButton: "var(--rk-colors-closeButton)",
      closeButtonBackground: "var(--rk-colors-closeButtonBackground)",
      connectButtonBackground: "var(--rk-colors-connectButtonBackground)",
      connectButtonBackgroundError: "var(--rk-colors-connectButtonBackgroundError)",
      connectButtonInnerBackground: "var(--rk-colors-connectButtonInnerBackground)",
      connectButtonText: "var(--rk-colors-connectButtonText)",
      connectButtonTextError: "var(--rk-colors-connectButtonTextError)",
      connectionIndicator: "var(--rk-colors-connectionIndicator)",
      downloadBottomCardBackground: "var(--rk-colors-downloadBottomCardBackground)",
      downloadTopCardBackground: "var(--rk-colors-downloadTopCardBackground)",
      error: "var(--rk-colors-error)",
      generalBorder: "var(--rk-colors-generalBorder)",
      generalBorderDim: "var(--rk-colors-generalBorderDim)",
      menuItemBackground: "var(--rk-colors-menuItemBackground)",
      modalBackdrop: "var(--rk-colors-modalBackdrop)",
      modalBackground: "var(--rk-colors-modalBackground)",
      modalBorder: "var(--rk-colors-modalBorder)",
      modalText: "var(--rk-colors-modalText)",
      modalTextDim: "var(--rk-colors-modalTextDim)",
      modalTextSecondary: "var(--rk-colors-modalTextSecondary)",
      profileAction: "var(--rk-colors-profileAction)",
      profileActionHover: "var(--rk-colors-profileActionHover)",
      profileForeground: "var(--rk-colors-profileForeground)",
      selectedOptionBorder: "var(--rk-colors-selectedOptionBorder)",
      standby: "var(--rk-colors-standby)"
    },
    fonts: {
      body: "var(--rk-fonts-body)"
    },
    radii: {
      actionButton: "var(--rk-radii-actionButton)",
      connectButton: "var(--rk-radii-connectButton)",
      menuButton: "var(--rk-radii-menuButton)",
      modal: "var(--rk-radii-modal)",
      modalMobile: "var(--rk-radii-modalMobile)"
    },
    shadows: {
      connectButton: "var(--rk-shadows-connectButton)",
      dialog: "var(--rk-shadows-dialog)",
      profileDetailsAction: "var(--rk-shadows-profileDetailsAction)",
      selectedOption: "var(--rk-shadows-selectedOption)",
      selectedWallet: "var(--rk-shadows-selectedWallet)",
      walletLogo: "var(--rk-shadows-walletLogo)"
    },
    blurs: {
      modalOverlay: "var(--rk-blurs-modalOverlay)"
    }
  },
  YU = {
    shrink: "_12cbo8i6",
    shrinkSm: "_12cbo8i7"
  },
  XU = "_12cbo8i3 ju367v8r",
  ZU = {
    grow: "_12cbo8i4",
    growLg: "_12cbo8i5"
  };

function Je({
  active: t,
  hover: e
}) {
  return [XU, e && ZU[e], YU[t]]
}
var W8 = k.createContext(null);

function ez() {
  var t;
  const {
    adapter: e
  } = (t = k.useContext(W8)) != null ? t : {};
  if (!e) throw new Error("No authentication adapter found");
  return e
}

function Vd() {
  var t;
  const e = k.useContext(W8);
  return (t = e == null ? void 0 : e.status) != null ? t : null
}

function Rm() {
  const t = Vd(),
    {
      isConnected: e
    } = _t();
  return e ? t && (t === "loading" || t === "unauthenticated") ? t : "connected" : "disconnected"
}

function tz() {
  return typeof navigator < "u" && /android/i.test(navigator.userAgent)
}

function rz() {
  return typeof navigator < "u" && /iPhone|iPod/.test(navigator.userAgent)
}

function nz() {
  return typeof navigator < "u" && (/iPad/.test(navigator.userAgent) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1)
}

function Kd() {
  return rz() || nz()
}

function ut() {
  return tz() || Kd()
}
var iz = "iekbcc0",
  sz = {
    a: "iekbcca",
    blockquote: "iekbcc2",
    button: "iekbcc9",
    input: "iekbcc8 iekbcc5 iekbcc4",
    mark: "iekbcc6",
    ol: "iekbcc1",
    q: "iekbcc2",
    select: "iekbcc7 iekbcc5 iekbcc4",
    table: "iekbcc3",
    textarea: "iekbcc5 iekbcc4",
    ul: "iekbcc1"
  },
  oz = ({
    reset: t,
    ...e
  }) => {
    if (!t) return iC(e);
    const r = sz[t],
      n = iC(e);
    return I4(iz, r, n)
  },
  j = k.forwardRef(({
    as: t = "div",
    className: e,
    testId: r,
    ...n
  }, i) => {
    const s = {},
      o = {};
    for (const l in n) iC.properties.has(l) ? s[l] = n[l] : o[l] = n[l];
    const a = oz({
      reset: typeof t == "string" ? t : "div",
      ...s
    });
    return k.createElement(t, {
      className: I4(a, e),
      ...o,
      "data-testid": r ? `rk-${r.replace(/^rk-/,"")}` : void 0,
      ref: i
    })
  });
j.displayName = "Box";
var $8 = new Map,
  hB = new Map;
async function H8(t) {
  const e = hB.get(t);
  if (e) return e;
  const r = async () => t().then(async i => ($8.set(t, i), i)), n = r().catch(i => r().catch(s => {
    hB.delete(t)
  }));
  return hB.set(t, n), n
}
async function Lr(...t) {
  return await Promise.all(t.map(e => typeof e == "function" ? H8(e) : e))
}

function az() {
  const [, t] = k.useReducer(e => e + 1, 0);
  return t
}

function Fm(t) {
  const e = typeof t == "function" ? $8.get(t) : void 0,
    r = az();
  return k.useEffect(() => {
    typeof t == "function" && !e && H8(t).then(r)
  }, [t, e, r]), typeof t == "function" ? e : t
}

function it({
  alt: t,
  background: e,
  borderColor: r,
  borderRadius: n,
  boxShadow: i,
  height: s,
  src: o,
  width: a,
  testId: l
}) {
  const u = Kd(),
    c = Fm(o),
    d = c && /^http/.test(c),
    [f, B] = k.useReducer(() => !0, !1);
  return b.createElement(j, {
    "aria-label": t,
    borderRadius: n,
    boxShadow: i,
    height: typeof s == "string" ? s : void 0,
    overflow: "hidden",
    position: "relative",
    role: "img",
    style: {
      background: e,
      height: typeof s == "number" ? s : void 0,
      width: typeof a == "number" ? a : void 0
    },
    width: typeof a == "string" ? a : void 0,
    testId: l
  }, b.createElement(j, {
    ...d ? {
      "aria-hidden": !0,
      as: "img",
      onLoad: B,
      src: c
    } : {
      backgroundSize: "cover"
    },
    height: "full",
    position: "absolute",
    ...u ? {
      WebkitUserSelect: "none"
    } : {},
    style: {
      touchCallout: "none",
      transition: "opacity .15s linear",
      userSelect: "none",
      ...d ? {
        opacity: f ? 1 : 0
      } : {
        backgroundImage: c ? `url(${c})` : void 0,
        backgroundRepeat: "no-repeat",
        opacity: c ? 1 : 0
      }
    },
    width: "full"
  }), r ? b.createElement(j, {
    ...typeof r == "object" && "custom" in r ? {
      style: {
        borderColor: r.custom
      }
    } : {
      borderColor: r
    },
    borderRadius: n,
    borderStyle: "solid",
    borderWidth: "1",
    height: "full",
    position: "relative",
    width: "full"
  }) : null)
}
var lz = "_1luule42",
  uz = "_1luule43",
  cz = t => k.useMemo(() => `${t}_${Math.round(Math.random()*1e9)}`, [t]),
  ka = ({
    height: t = 21,
    width: e = 21
  }) => {
    const r = cz("spinner");
    return b.createElement("svg", {
      className: lz,
      fill: "none",
      height: t,
      viewBox: "0 0 21 21",
      width: e,
      xmlns: "http://www.w3.org/2000/svg"
    }, b.createElement("title", null, "Loading"), b.createElement("clipPath", {
      id: r
    }, b.createElement("path", {
      d: "M10.5 3C6.35786 3 3 6.35786 3 10.5C3 14.6421 6.35786 18 10.5 18C11.3284 18 12 18.6716 12 19.5C12 20.3284 11.3284 21 10.5 21C4.70101 21 0 16.299 0 10.5C0 4.70101 4.70101 0 10.5 0C16.299 0 21 4.70101 21 10.5C21 11.3284 20.3284 12 19.5 12C18.6716 12 18 11.3284 18 10.5C18 6.35786 14.6421 3 10.5 3Z"
    })), b.createElement("foreignObject", {
      clipPath: `url(#${r})`,
      height: "21",
      width: "21",
      x: "0",
      y: "0"
    }, b.createElement("div", {
      className: uz
    })))
  },
  Ce = ["#FC5C54", "#FFD95A", "#E95D72", "#6A87C8", "#5FD0F3", "#75C06B", "#FFDD86", "#5FC6D4", "#FF949A", "#FF8024", "#9BA1A4", "#EC66FF", "#FF8CBC", "#FF9A23", "#C5DADB", "#A8CE63", "#71ABFF", "#FFE279", "#B6B1B6", "#FF6780", "#A575FF", "#4D82FF", "#FFB35A"],
  v2 = [{
    color: Ce[0],
    emoji: "🌶"
  }, {
    color: Ce[1],
    emoji: "🤑"
  }, {
    color: Ce[2],
    emoji: "🐙"
  }, {
    color: Ce[3],
    emoji: "🫐"
  }, {
    color: Ce[4],
    emoji: "🐳"
  }, {
    color: Ce[0],
    emoji: "🤶"
  }, {
    color: Ce[5],
    emoji: "🌲"
  }, {
    color: Ce[6],
    emoji: "🌞"
  }, {
    color: Ce[7],
    emoji: "🐒"
  }, {
    color: Ce[8],
    emoji: "🐵"
  }, {
    color: Ce[9],
    emoji: "🦊"
  }, {
    color: Ce[10],
    emoji: "🐼"
  }, {
    color: Ce[11],
    emoji: "🦄"
  }, {
    color: Ce[12],
    emoji: "🐷"
  }, {
    color: Ce[13],
    emoji: "🐧"
  }, {
    color: Ce[8],
    emoji: "🦩"
  }, {
    color: Ce[14],
    emoji: "👽"
  }, {
    color: Ce[0],
    emoji: "🎈"
  }, {
    color: Ce[8],
    emoji: "🍉"
  }, {
    color: Ce[1],
    emoji: "🎉"
  }, {
    color: Ce[15],
    emoji: "🐲"
  }, {
    color: Ce[16],
    emoji: "🌎"
  }, {
    color: Ce[17],
    emoji: "🍊"
  }, {
    color: Ce[18],
    emoji: "🐭"
  }, {
    color: Ce[19],
    emoji: "🍣"
  }, {
    color: Ce[1],
    emoji: "🐥"
  }, {
    color: Ce[20],
    emoji: "👾"
  }, {
    color: Ce[15],
    emoji: "🥦"
  }, {
    color: Ce[0],
    emoji: "👹"
  }, {
    color: Ce[17],
    emoji: "🙀"
  }, {
    color: Ce[4],
    emoji: "⛱"
  }, {
    color: Ce[21],
    emoji: "⛵️"
  }, {
    color: Ce[17],
    emoji: "🥳"
  }, {
    color: Ce[8],
    emoji: "🤯"
  }, {
    color: Ce[22],
    emoji: "🤠"
  }];

function dz(t) {
  let e = 0;
  if (t.length === 0) return e;
  for (let r = 0; r < t.length; r++) {
    const n = t.charCodeAt(r);
    e = (e << 5) - e + n, e |= 0
  }
  return e
}

function fz(t) {
  const r = Math.abs(dz((typeof t == "string" ? t : "").toLowerCase()) % v2.length);
  return v2[r ?? 0]
}
var Bz = ({
    address: t,
    ensImage: e,
    size: r
  }) => {
    const [n, i] = k.useState(!1);
    k.useEffect(() => {
      if (e) {
        const a = new Image;
        a.src = e, a.onload = () => i(!0)
      }
    }, [e]);
    const {
      color: s,
      emoji: o
    } = k.useMemo(() => fz(t), [t]);
    return e ? n ? b.createElement(j, {
      backgroundSize: "cover",
      borderRadius: "full",
      position: "absolute",
      style: {
        backgroundImage: `url(${e})`,
        backgroundPosition: "center",
        height: r,
        width: r
      }
    }) : b.createElement(j, {
      alignItems: "center",
      backgroundSize: "cover",
      borderRadius: "full",
      color: "modalText",
      display: "flex",
      justifyContent: "center",
      position: "absolute",
      style: {
        height: r,
        width: r
      }
    }, b.createElement(ka, null)) : b.createElement(j, {
      alignItems: "center",
      display: "flex",
      justifyContent: "center",
      overflow: "hidden",
      style: {
        ...!e && {
          backgroundColor: s
        },
        height: r,
        width: r
      }
    }, o)
  },
  G8 = Bz,
  q8 = k.createContext(G8);

function V8({
  address: t,
  imageUrl: e,
  loading: r,
  size: n
}) {
  const i = k.useContext(q8);
  return b.createElement(j, {
    "aria-hidden": !0,
    borderRadius: "full",
    overflow: "hidden",
    position: "relative",
    style: {
      height: `${n}px`,
      width: `${n}px`
    },
    userSelect: "none"
  }, b.createElement(j, {
    alignItems: "center",
    borderRadius: "full",
    display: "flex",
    justifyContent: "center",
    overflow: "hidden",
    position: "absolute",
    style: {
      fontSize: `${Math.round(n*.55)}px`,
      height: `${n}px`,
      transform: r ? "scale(0.72)" : void 0,
      transition: ".25s ease",
      transitionDelay: r ? void 0 : ".1s",
      width: `${n}px`,
      willChange: "transform"
    },
    userSelect: "none"
  }, b.createElement(i, {
    address: t,
    ensImage: e,
    size: n
  })), r && b.createElement(j, {
    color: "accentColor",
    display: "flex",
    height: "full",
    position: "absolute",
    width: "full"
  }, b.createElement(ka, {
    height: "100%",
    width: "100%"
  })))
}
var y2 = () => b.createElement("svg", {
    fill: "none",
    height: "7",
    width: "14",
    xmlns: "http://www.w3.org/2000/svg"
  }, b.createElement("title", null, "Dropdown"), b.createElement("path", {
    d: "M12.75 1.54001L8.51647 5.0038C7.77974 5.60658 6.72026 5.60658 5.98352 5.0038L1.75 1.54001",
    stroke: "currentColor",
    strokeLinecap: "round",
    strokeLinejoin: "round",
    strokeWidth: "2.5",
    xmlns: "http://www.w3.org/2000/svg"
  })),
  w2 = {
    defaultLocale: "en",
    locale: "en"
  },
  hz = class {
    constructor(t) {
      this.listeners = new Set, this.defaultLocale = w2.defaultLocale, this.enableFallback = !1, this.locale = w2.locale, this.cachedLocales = [], this.translations = {};
      for (const [e, r] of Object.entries(t)) this.cachedLocales = [...this.cachedLocales, e], this.translations = {
        ...this.translations,
        ...this.flattenTranslation(r, e)
      }
    }
    missingMessage(t) {
      return `[missing: "${this.locale}.${t}" translation]`
    }
    flattenTranslation(t, e) {
      const r = {},
        n = (i, s) => {
          for (const o of Object.keys(i)) {
            const a = `${s}.${o}`,
              l = i[o];
            typeof l == "object" && l !== null ? n(l, a) : r[a] = l
          }
        };
      return n(t, e), r
    }
    translateWithReplacements(t, e = {}) {
      let r = t;
      for (const n in e) {
        const i = e[n];
        r = r.replace(`%{${n}}`, i)
      }
      return r
    }
    t(t, e) {
      const r = `${this.locale}.${t}`,
        n = this.translations[r];
      if (!n) {
        if (this.enableFallback) {
          const i = `${this.defaultLocale}.${t}`,
            s = this.translations[i];
          if (s) return this.translateWithReplacements(s, e)
        }
        return this.missingMessage(t)
      }
      return this.translateWithReplacements(n, e)
    }
    isLocaleCached(t) {
      return this.cachedLocales.includes(t)
    }
    updateLocale(t) {
      this.locale = t, this.notifyListeners()
    }
    setTranslations(t, e) {
      this.isLocaleCached(t) || (this.cachedLocales = [...this.cachedLocales, t], this.translations = {
        ...this.translations,
        ...this.flattenTranslation(e, t)
      }), this.locale = t, this.notifyListeners()
    }
    notifyListeners() {
      for (const t of this.listeners) t()
    }
    onChange(t) {
      return this.listeners.add(t), () => {
        this.listeners.delete(t)
      }
    }
  },
  ir = new hz({
    en: JSON.parse(Tp),
    "en-US": JSON.parse(Tp)
  });
ir.defaultLocale = "en-US";
ir.locale = "en-US";
ir.enableFallback = !0;
var pz = async t => {
  switch (t) {
    case "ar":
    case "ar-AR":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./ar_AR-PQJDYWVZ-Bnh8Spvg.js");
        return {
          default: e
        }
      }, [])).default;
    case "en":
    case "en-US":
      return (await ee(async () => {
        const {
          default: e
        } = await Promise.resolve().then(() => v3);
        return {
          default: e
        }
      }, void 0)).default;
    case "es":
    case "es-419":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./es_419-GLICGTYE-NSToZPZk.js");
        return {
          default: e
        }
      }, [])).default;
    case "fr":
    case "fr-FR":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./fr_FR-UC7Z4T6O-DdQRhfkp.js");
        return {
          default: e
        }
      }, [])).default;
    case "hi":
    case "hi-IN":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./hi_IN-RGKVTIVE-D4nNKS9g.js");
        return {
          default: e
        }
      }, [])).default;
    case "id":
    case "id-ID":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./id_ID-3SKVJ2RK-B6yclZD5.js");
        return {
          default: e
        }
      }, [])).default;
    case "ja":
    case "ja-JP":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./ja_JP-GYCPH6AT-B6Qig2iE.js");
        return {
          default: e
        }
      }, [])).default;
    case "ko":
    case "ko-KR":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./ko_KR-V2HAEAHG-C7td6ED2.js");
        return {
          default: e
        }
      }, [])).default;
    case "pt":
    case "pt-BR":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./pt_BR-JDDVMLRA-C_b63_RI.js");
        return {
          default: e
        }
      }, [])).default;
    case "ru":
    case "ru-RU":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./ru_RU-3W6WVVOI-Bumf4F0t.js");
        return {
          default: e
        }
      }, [])).default;
    case "th":
    case "th-TH":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./th_TH-UWDENI2F-6kYnvR_i.js");
        return {
          default: e
        }
      }, [])).default;
    case "tr":
    case "tr-TR":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./tr_TR-NAI3OICG-C5gR3JPu.js");
        return {
          default: e
        }
      }, [])).default;
    case "ua":
    case "uk-UA":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./uk_UA-H7BFRWP5-CHg7GMFG.js");
        return {
          default: e
        }
      }, [])).default;
    case "zh":
    case "zh-CN":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./zh_CN-BO5MSGV2-DaXfwBos.js");
        return {
          default: e
        }
      }, [])).default;
    default:
      return (await ee(async () => {
        const {
          default: e
        } = await Promise.resolve().then(() => v3);
        return {
          default: e
        }
      }, void 0)).default
  }
};
async function b2(t) {
  if (ir.isLocaleCached(t)) {
    ir.updateLocale(t);
    return
  }
  const r = await pz(t);
  ir.setTranslations(t, JSON.parse(r))
}
var Cz = () => {
    var t;
    if (typeof window < "u" && typeof navigator < "u") {
      if ((t = navigator.languages) != null && t.length) return navigator.languages[0];
      if (navigator.language) return navigator.language
    }
  },
  ot = k.createContext({
    i18n: ir
  }),
  mz = ({
    children: t,
    locale: e
  }) => {
    const [r, n] = k.useState(0), i = k.useMemo(() => Cz(), []);
    k.useEffect(() => ir.onChange(() => {
      n(a => a + 1)
    }), []), k.useEffect(() => {
      e && e !== ir.locale ? b2(e) : !e && i && i !== ir.locale && b2(i)
    }, [e, i]);
    const s = k.useMemo(() => ({
      t: (a, l) => ir.t(a, l),
      i18n: ir
    }), [r]);
    return b.createElement(ot.Provider, {
      value: s
    }, t)
  };

function Mm(t) {
  return t != null
}
var pB = {
    iconBackground: "#96bedc",
    iconUrl: async () => (await ee(async () => {
      const {
        default: t
      } = await import("./arbitrum-LYDBJZP3-BqjyWlr0.js");
      return {
        default: t
      }
    }, [])).default
  },
  D2 = {
    iconBackground: "#e84141",
    iconUrl: async () => (await ee(async () => {
      const {
        default: t
      } = await import("./avalanche-TFPKP544-D_4HPsrK.js");
      return {
        default: t
      }
    }, [])).default
  },
  CB = {
    iconBackground: "#0052ff",
    iconUrl: async () => (await ee(async () => {
      const {
        default: t
      } = await import("./base-3MIUIYGA-CzL856e2.js");
      return {
        default: t
      }
    }, [])).default
  },
  x2 = {
    iconBackground: "#ebac0e",
    iconUrl: async () => (await ee(async () => {
      const {
        default: t
      } = await import("./bsc-S2GSW6VX-CTFL85G7.js");
      return {
        default: t
      }
    }, [])).default
  },
  E2 = {
    iconBackground: "#002D74",
    iconUrl: async () => (await ee(async () => {
      const {
        default: t
      } = await import("./cronos-DQKKIEX7-BC8OGSkQ.js");
      return {
        default: t
      }
    }, [])).default
  },
  fn = {
    iconBackground: "#484c50",
    iconUrl: async () => (await ee(async () => {
      const {
        default: t
      } = await import("./ethereum-4FY57XJF-BhI8i5E7.js");
      return {
        default: t
      }
    }, [])).default
  },
  gz = {
    iconBackground: "#f9f7ec",
    iconUrl: async () => (await ee(async () => {
      const {
        default: t
      } = await import("./hardhat-ARRFHFKB-DXjWs0mo.js");
      return {
        default: t
      }
    }, [])).default
  },
  Ql = {
    iconBackground: "#ff5a57",
    iconUrl: async () => (await ee(async () => {
      const {
        default: t
      } = await import("./optimism-UUP5Y7TB-CkwAWENU.js");
      return {
        default: t
      }
    }, [])).default
  },
  S2 = {
    iconBackground: "#9f71ec",
    iconUrl: async () => (await ee(async () => {
      const {
        default: t
      } = await import("./bsc-Z4QITDL7-BdYUrcfE.js");
      return {
        default: t
      }
    }, [])).default
  },
  k2 = {
    iconBackground: "#f9f7ec",
    iconUrl: async () => (await ee(async () => {
      const {
        default: t
      } = await import("./xdc-5UHQ25DW-DEC0KCO4.js");
      return {
        default: t
      }
    }, [])).default
  },
  j2 = {
    iconBackground: "#f9f7ec",
    iconUrl: async () => (await ee(async () => {
      const {
        default: t
      } = await import("./zkSync-XRUC4ZHO-BbodPLR7.js");
      return {
        default: t
      }
    }, [])).default
  },
  mB = {
    iconBackground: "#000000",
    iconUrl: async () => (await ee(async () => {
      const {
        default: t
      } = await import("./zora-KVO7WIOK-D5bRxKPW.js");
      return {
        default: t
      }
    }, [])).default
  },
  vz = {
    arbitrum: {
      chainId: 42161,
      name: "Arbitrum",
      ...pB
    },
    arbitrumGoerli: {
      chainId: 421613,
      ...pB
    },
    arbitrumSepolia: {
      chainId: 421614,
      ...pB
    },
    avalanche: {
      chainId: 43114,
      ...D2
    },
    avalancheFuji: {
      chainId: 43113,
      ...D2
    },
    base: {
      chainId: 8453,
      name: "Base",
      ...CB
    },
    baseGoerli: {
      chainId: 84531,
      ...CB
    },
    baseSepolia: {
      chainId: 84532,
      ...CB
    },
    bsc: {
      chainId: 56,
      name: "BSC",
      ...x2
    },
    bscTestnet: {
      chainId: 97,
      ...x2
    },
    cronos: {
      chainId: 25,
      ...E2
    },
    cronosTestnet: {
      chainId: 338,
      ...E2
    },
    goerli: {
      chainId: 5,
      ...fn
    },
    hardhat: {
      chainId: 31337,
      ...gz
    },
    holesky: {
      chainId: 17e3,
      ...fn
    },
    kovan: {
      chainId: 42,
      ...fn
    },
    localhost: {
      chainId: 1337,
      ...fn
    },
    mainnet: {
      chainId: 1,
      name: "Ethereum",
      ...fn
    },
    optimism: {
      chainId: 10,
      name: "Optimism",
      ...Ql
    },
    optimismGoerli: {
      chainId: 420,
      ...Ql
    },
    optimismKovan: {
      chainId: 69,
      ...Ql
    },
    optimismSepolia: {
      chainId: 11155420,
      ...Ql
    },
    bsc: {
      chainId: 56,
      name: "BSC",
      ...S2
    },
    polygonMumbai: {
      chainId: 80001,
      ...S2
    },
    rinkeby: {
      chainId: 4,
      ...fn
    },
    ropsten: {
      chainId: 3,
      ...fn
    },
    sepolia: {
      chainId: 11155111,
      ...fn
    },
    xdc: {
      chainId: 50,
      name: "XinFin",
      ...k2
    },
    xdcTestnet: {
      chainId: 51,
      ...k2
    },
    zkSync: {
      chainId: 324,
      name: "zkSync",
      ...j2
    },
    zkSyncTestnet: {
      chainId: 280,
      ...j2
    },
    zora: {
      chainId: 7777777,
      name: "Zora",
      ...mB
    },
    zoraSepolia: {
      chainId: 999999999,
      ...mB
    },
    zoraTestnet: {
      chainId: 999,
      ...mB
    }
  },
  yz = Object.fromEntries(Object.values(vz).filter(Mm).map(({
    chainId: t,
    ...e
  }) => [t, e])),
  wz = t => t.map(e => {
    var r, n, i, s;
    const o = (r = yz[e.id]) != null ? r : {};
    return {
      ...e,
      name: (n = o.name) != null ? n : e.name,
      iconUrl: (i = e.iconUrl) != null ? i : o.iconUrl,
      iconBackground: (s = e.iconBackground) != null ? s : o.iconBackground
    }
  }),
  Lm = k.createContext({
    chains: []
  });

function bz({
  chains: t,
  children: e,
  initialChain: r
}) {
  return b.createElement(Lm.Provider, {
    value: k.useMemo(() => ({
      chains: wz(t),
      initialChainId: typeof r == "number" ? r : r == null ? void 0 : r.id
    }), [t, r])
  }, e)
}
var ol = () => k.useContext(Lm).chains,
  Dz = () => k.useContext(Lm).initialChainId,
  xz = () => {
    const t = ol();
    return k.useMemo(() => {
      const e = {};
      for (const r of t) e[r.id] = r;
      return e
    }, [t])
  },
  K8 = k.createContext({
    showBalance: void 0,
    setShowBalance: () => {}
  });

function Ez({
  children: t
}) {
  const [e, r] = k.useState();
  return b.createElement(K8.Provider, {
    value: {
      showBalance: e,
      setShowBalance: r
    }
  }, t)
}
var Q8 = () => k.useContext(K8);

function Sz() {
  const [t, e] = k.useState(!1);
  return k.useEffect(() => (e(!0), () => {
    e(!1)
  }), []), k.useCallback(() => t, [t])
}

function J8() {
  const t = a4.id,
    e = Xa(),
    r = Array.isArray(e.chains) ? e.chains : [],
    n = r == null ? void 0 : r.some(i => (i == null ? void 0 : i.id) === t);
  return {
    chainId: t,
    enabled: n
  }
}

function Y8(t) {
  const {
    chainId: e,
    enabled: r
  } = J8(), {
    data: n
  } = gN({
    chainId: e,
    enabled: r,
    name: t
  });
  return n
}

function X8(t) {
  const {
    chainId: e,
    enabled: r
  } = J8(), {
    data: n
  } = wN({
    address: t,
    chainId: e,
    enabled: r
  });
  return n
}

function Um() {
  var t;
  const {
    chain: e
  } = Pi();
  return (t = e == null ? void 0 : e.id) != null ? t : null
}
var Z8 = "rk-transactions";

function kz(t) {
  try {
    const e = t ? JSON.parse(t) : {};
    return typeof e == "object" ? e : {}
  } catch {
    return {}
  }
}

function A2() {
  return kz(typeof localStorage < "u" ? localStorage.getItem(Z8) : null)
}
var jz = /^0x([A-Fa-f0-9]{64})$/;

function Az(t) {
  const e = [];
  return jz.test(t.hash) || e.push("Invalid transaction hash"), typeof t.description != "string" && e.push("Transaction must have a description"), typeof t.confirmations < "u" && (!Number.isInteger(t.confirmations) || t.confirmations < 1) && e.push("Transaction confirmations must be a positiver integer"), e
}

function Pz({
  provider: t
}) {
  let e = A2(),
    r = t;
  const n = new Set,
    i = new Map;

  function s(g) {
    r = g
  }

  function o(g, y) {
    var m, p;
    return (p = (m = e[g]) == null ? void 0 : m[y]) != null ? p : []
  }

  function a(g, y, m) {
    const p = Az(m);
    if (p.length > 0) throw new Error(["Unable to add transaction", ...p].join(`
`));
    d(g, y, v => [{
      ...m,
      status: "pending"
    }, ...v.filter(({
      hash: w
    }) => w !== m.hash)])
  }

  function l(g, y) {
    d(g, y, () => [])
  }

  function u(g, y, m, p) {
    d(g, y, v => v.map(w => w.hash === m ? {
      ...w,
      status: p
    } : w))
  }
  async function c(g, y) {
    await Promise.all(o(g, y).filter(m => m.status === "pending").map(async m => {
      const {
        confirmations: p,
        hash: v
      } = m, w = i.get(v);
      if (w) return await w;
      const D = r.waitForTransactionReceipt({
        confirmations: p,
        hash: v,
        timeout: 3e5
      }).then(({
        status: x
      }) => {
        i.delete(v), x !== void 0 && u(g, y, v, x === 0 || x === "reverted" ? "failed" : "confirmed")
      }).catch(() => {
        u(g, y, v, "failed")
      });
      return i.set(v, D), await D
    }))
  }

  function d(g, y, m) {
    var p, v;
    e = A2(), e[g] = (p = e[g]) != null ? p : {};
    let w = 0;
    const D = 10,
      x = m((v = e[g][y]) != null ? v : []).filter(({
        status: C
      }) => C === "pending" ? !0 : w++ <= D);
    e[g][y] = x.length > 0 ? x : void 0, f(), B(), c(g, y)
  }

  function f() {
    localStorage.setItem(Z8, JSON.stringify(e))
  }

  function B() {
    for (const g of n) g()
  }

  function h(g) {
    return n.add(g), () => {
      n.delete(g)
    }
  }
  return {
    addTransaction: a,
    clearTransactions: l,
    getTransactions: o,
    onChange: h,
    setProvider: s,
    waitForPendingTransactions: c
  }
}
var gB, eE = k.createContext(null);

function _z({
  children: t
}) {
  const e = Xa(),
    {
      address: r
    } = _t(),
    n = Um(),
    [i] = k.useState(() => gB ?? (gB = Pz({
      provider: e
    })));
  return k.useEffect(() => {
    i.setProvider(e)
  }, [i, e]), k.useEffect(() => {
    r && n && i.waitForPendingTransactions(r, n)
  }, [i, r, n]), b.createElement(eE.Provider, {
    value: i
  }, t)
}

function tE() {
  const t = k.useContext(eE);
  if (!t) throw new Error("Transaction hooks must be used within RainbowKitProvider");
  return t
}

function rE() {
  const t = tE(),
    {
      address: e
    } = _t(),
    r = Um(),
    [n, i] = k.useState(() => t && e && r ? t.getTransactions(e, r) : []);
  return k.useEffect(() => {
    if (t && e && r) return i(t.getTransactions(e, r)), t.onChange(() => {
      i(t.getTransactions(e, r))
    })
  }, [t, e, r]), n
}
var P2 = t => typeof t == "function" ? t() : t;

function Oz(t, {
  extends: e
} = {}) {
  const r = {
    ...Ry(g2, P2(t))
  };
  if (!e) return r;
  const n = Ry(g2, P2(e));
  return Object.fromEntries(Object.entries(r).filter(([s, o]) => o !== n[s]))
}

function _2(t, e = {}) {
  return Object.entries(Oz(t, e)).map(([r, n]) => `${r}:${n.replace(/[:;{}</>]/g,"")};`).join("")
}
var nE = {
    appName: void 0,
    disclaimer: void 0,
    learnMoreUrl: "https://learn.rainbow.me/understanding-web3?utm_source=rainbowkit&utm_campaign=learnmore"
  },
  Xs = k.createContext(nE),
  iE = k.createContext(!1);

function Iz(t, e) {
  let r;
  return () => {
    r && clearTimeout(r), r = setTimeout(() => {
      r = null, t()
    }, e)
  }
}
var sE = () => {
    const [t, e] = k.useState({
      height: void 0,
      width: void 0
    });
    return k.useEffect(() => {
      const r = Iz(() => {
        e({
          height: window.innerHeight,
          width: window.innerWidth
        })
      }, 500);
      return window.addEventListener("resize", r), r(), () => window.removeEventListener("resize", r)
    }, []), t
  },
  al = k.createContext({
    connector: null,
    setConnector: () => {}
  });

function Nz({
  children: t
}) {
  const [e, r] = k.useState(null);
  return b.createElement(al.Provider, {
    value: k.useMemo(() => ({
      connector: e,
      setConnector: r
    }), [e])
  }, t)
}
var ll = {
    COMPACT: "compact",
    WIDE: "wide"
  },
  Qd = k.createContext(ll.WIDE);

function Tz({
  children: t,
  modalSize: e
}) {
  const {
    width: r
  } = sE(), n = r && r < JU, {
    connector: i
  } = k.useContext(al);
  return b.createElement(Qd.Provider, {
    value: n || i ? ll.COMPACT : e
  }, t)
}
var zm = k.createContext(!1),
  Rz = "rk-version";

function Fz({
  version: t
}) {
  localStorage.setItem(Rz, t)
}

function Mz() {
  const t = k.useCallback(() => {
    Fz({
      version: "1.3.7"
    })
  }, []);
  k.useEffect(() => {
    t()
  }, [t])
}

function Lz(t) {
  const e = [];
  for (const r of t) e.push(...r);
  return e
}

function Uz(t, e) {
  const r = {};
  for (const n of t) {
    const i = e(n);
    i && (r[i] = n)
  }
  return r
}

function Wm() {
  return typeof navigator < "u" && /Version\/([0-9._]+).*Safari/.test(navigator.userAgent)
}

function zz() {
  return typeof document < "u" && getComputedStyle(document.body).getPropertyValue("--arc-palette-focus") !== ""
}

function $m() {
  var t;
  if (typeof navigator > "u") return "Browser";
  const e = navigator.userAgent.toLowerCase();
  return (t = navigator.brave) != null && t.isBrave ? "Brave" : e.indexOf("edg/") > -1 ? "Edge" : e.indexOf("op") > -1 ? "Opera" : zz() ? "Arc" : e.indexOf("chrome") > -1 ? "Chrome" : e.indexOf("firefox") > -1 ? "Firefox" : Wm() ? "Safari" : "Browser"
}
var Wz = aR.UAParser(),
  {
    os: Hm
  } = Wz;

function $z() {
  return Hm.name === "Windows"
}

function Hz() {
  return Hm.name === "Mac OS"
}

function Gz() {
  return ["Ubuntu", "Mint", "Fedora", "Debian", "Arch", "Linux"].includes(Hm.name)
}

function Gm() {
  return $z() ? "Windows" : Hz() ? "macOS" : Gz() ? "Linux" : "Desktop"
}
var qz = t => {
    var e, r, n, i, s, o, a, l, u, c, d, f;
    const B = $m();
    return (f = {
      Arc: (e = t == null ? void 0 : t.downloadUrls) == null ? void 0 : e.chrome,
      Brave: (r = t == null ? void 0 : t.downloadUrls) == null ? void 0 : r.chrome,
      Chrome: (n = t == null ? void 0 : t.downloadUrls) == null ? void 0 : n.chrome,
      Edge: ((i = t == null ? void 0 : t.downloadUrls) == null ? void 0 : i.edge) || ((s = t == null ? void 0 : t.downloadUrls) == null ? void 0 : s.chrome),
      Firefox: (o = t == null ? void 0 : t.downloadUrls) == null ? void 0 : o.firefox,
      Opera: ((a = t == null ? void 0 : t.downloadUrls) == null ? void 0 : a.opera) || ((l = t == null ? void 0 : t.downloadUrls) == null ? void 0 : l.chrome),
      Safari: (u = t == null ? void 0 : t.downloadUrls) == null ? void 0 : u.safari,
      Browser: (c = t == null ? void 0 : t.downloadUrls) == null ? void 0 : c.browserExtension
    } [B]) != null ? f : (d = t == null ? void 0 : t.downloadUrls) == null ? void 0 : d.browserExtension
  },
  Vz = t => {
    var e, r, n, i;
    return (i = Kd() ? (e = t == null ? void 0 : t.downloadUrls) == null ? void 0 : e.ios : (r = t == null ? void 0 : t.downloadUrls) == null ? void 0 : r.android) != null ? i : (n = t == null ? void 0 : t.downloadUrls) == null ? void 0 : n.mobile
  },
  Kz = t => {
    var e, r, n, i, s, o;
    const a = Gm();
    return (o = {
      Windows: (e = t == null ? void 0 : t.downloadUrls) == null ? void 0 : e.windows,
      macOS: (r = t == null ? void 0 : t.downloadUrls) == null ? void 0 : r.macos,
      Linux: (n = t == null ? void 0 : t.downloadUrls) == null ? void 0 : n.linux,
      Desktop: (i = t == null ? void 0 : t.downloadUrls) == null ? void 0 : i.desktop
    } [a]) != null ? o : (s = t == null ? void 0 : t.downloadUrls) == null ? void 0 : s.desktop
  },
  oE = "rk-recent";

function Qz(t) {
  try {
    const e = t ? JSON.parse(t) : [];
    return Array.isArray(e) ? e : []
  } catch {
    return []
  }
}

function aE() {
  return typeof localStorage < "u" ? Qz(localStorage.getItem(oE)) : []
}

function Jz(t) {
  return [...new Set(t)]
}

function Yz(t) {
  const e = Jz([t, ...aE()]);
  localStorage.setItem(oE, JSON.stringify(e))
}

function Jd() {
  var t;
  const e = ol(),
    r = Dz(),
    {
      connectAsync: n,
      connectors: i
    } = nN(),
    s = i;
  async function o(h, g) {
    var y, m, p;
    const v = await g.getChainId(),
      w = await n({
        chainId: (p = r ?? ((y = e.find(({
          id: D
        }) => D === v)) == null ? void 0 : y.id)) != null ? p : (m = e[0]) == null ? void 0 : m.id,
        connector: g
      });
    return w && Yz(h), w
  }
  async function a(h, g) {
    try {
      return await o(h, g)
    } catch (y) {
      if (!(y.name === "UserRejectedRequestError" || y.message === "Connection request reset. Please try again.")) throw y
    }
  }
  const l = Lz(s.map(h => {
      var g;
      return (g = h._wallets) != null ? g : []
    })).sort((h, g) => h.index - g.index),
    u = Uz(l, h => h.id),
    d = aE().map(h => u[h]).filter(Mm).slice(0, 3),
    f = [...d, ...l.filter(h => !d.includes(h))],
    B = [];
  for (const h of f) {
    if (!h) continue;
    const g = d.includes(h);
    B.push({
      ...h,
      connect: () => h.connector.showQrModal ? a(h.id, h.connector) : o(h.id, h.connector),
      desktopDownloadUrl: Kz(h),
      extensionDownloadUrl: qz(h),
      groupName: h.groupName,
      mobileDownloadUrl: Vz(h),
      onConnecting: y => h.connector.on("message", ({
        type: m
      }) => m === "connecting" ? y() : void 0),
      ready: ((t = h.installed) != null ? t : !0) && h.connector.ready,
      recent: g,
      showWalletConnectModal: h.walletConnectModalConnector ? () => a(h.id, h.walletConnectModalConnector) : void 0
    })
  }
  return B
}
var lE = async () => (await ee(async () => {
  const {
    default: t
  } = await import("./assets-26YY4GVD-unq2KRLS.js");
  return {
    default: t
  }
}, [])).default, Xz = () => Lr(lE), Zz = () => b.createElement(it, {
  background: "#d0d5de",
  borderRadius: "10",
  height: "48",
  src: lE,
  width: "48"
}), uE = async () => (await ee(async () => {
  const {
    default: t
  } = await import("./login-ZSMM5UYL-Dwac7LJ-.js");
  return {
    default: t
  }
}, [])).default, eW = () => Lr(uE), tW = () => b.createElement(it, {
  background: "#d0d5de",
  borderRadius: "10",
  height: "48",
  src: uE,
  width: "48"
}), J = b.forwardRef(({
  as: t = "div",
  children: e,
  className: r,
  color: n,
  display: i,
  font: s = "body",
  id: o,
  size: a = "16",
  style: l,
  tabIndex: u,
  textAlign: c = "inherit",
  weight: d = "regular",
  testId: f
}, B) => b.createElement(j, {
  as: t,
  className: r,
  color: n,
  display: i,
  fontFamily: s,
  fontSize: a,
  fontWeight: d,
  id: o,
  ref: B,
  style: l,
  tabIndex: u,
  textAlign: c,
  testId: f
}, e));
J.displayName = "Text";
var rW = {
  large: {
    fontSize: "16",
    paddingX: "24",
    paddingY: "10"
  },
  medium: {
    fontSize: "14",
    height: "28",
    paddingX: "12",
    paddingY: "4"
  },
  small: {
    fontSize: "14",
    paddingX: "10",
    paddingY: "5"
  }
};

function jt({
  disabled: t = !1,
  href: e,
  label: r,
  onClick: n,
  rel: i = "noreferrer noopener",
  size: s = "medium",
  target: o = "_blank",
  testId: a,
  type: l = "primary"
}) {
  const u = l === "primary",
    c = s !== "large",
    d = ut(),
    f = t ? "actionButtonSecondaryBackground" : u ? "accentColor" : c ? "actionButtonSecondaryBackground" : null,
    {
      fontSize: B,
      height: h,
      paddingX: g,
      paddingY: y
    } = rW[s],
    m = !d || !c;
  return b.createElement(j, {
    ...e ? t ? {} : {
      as: "a",
      href: e,
      rel: i,
      target: o
    } : {
      as: "button",
      type: "button"
    },
    onClick: t ? void 0 : n,
    ...m ? {
      borderColor: d && !c && !u ? "actionButtonBorderMobile" : "actionButtonBorder",
      borderStyle: "solid",
      borderWidth: "1"
    } : {},
    borderRadius: "actionButton",
    className: !t && Je({
      active: "shrinkSm",
      hover: "grow"
    }),
    display: "block",
    paddingX: g,
    paddingY: y,
    style: {
      willChange: "transform"
    },
    testId: a,
    textAlign: "center",
    transition: "transform",
    ...f ? {
      background: f
    } : {},
    ...h ? {
      height: h
    } : {}
  }, b.createElement(J, {
    color: t ? "modalTextSecondary" : u ? "accentColorForeground" : "accentColor",
    size: B,
    weight: "bold"
  }, r))
}
var nW = () => ut() ? b.createElement("svg", {
    "aria-hidden": !0,
    fill: "none",
    height: "11.5",
    viewBox: "0 0 11.5 11.5",
    width: "11.5",
    xmlns: "http://www.w3.org/2000/svg"
  }, b.createElement("title", null, "Close"), b.createElement("path", {
    d: "M2.13388 0.366117C1.64573 -0.122039 0.854272 -0.122039 0.366117 0.366117C-0.122039 0.854272 -0.122039 1.64573 0.366117 2.13388L3.98223 5.75L0.366117 9.36612C-0.122039 9.85427 -0.122039 10.6457 0.366117 11.1339C0.854272 11.622 1.64573 11.622 2.13388 11.1339L5.75 7.51777L9.36612 11.1339C9.85427 11.622 10.6457 11.622 11.1339 11.1339C11.622 10.6457 11.622 9.85427 11.1339 9.36612L7.51777 5.75L11.1339 2.13388C11.622 1.64573 11.622 0.854272 11.1339 0.366117C10.6457 -0.122039 9.85427 -0.122039 9.36612 0.366117L5.75 3.98223L2.13388 0.366117Z",
    fill: "currentColor"
  })) : b.createElement("svg", {
    "aria-hidden": !0,
    fill: "none",
    height: "10",
    viewBox: "0 0 10 10",
    width: "10",
    xmlns: "http://www.w3.org/2000/svg"
  }, b.createElement("title", null, "Close"), b.createElement("path", {
    d: "M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L3.58579 5L0.292893 8.29289C-0.0976311 8.68342 -0.0976311 9.31658 0.292893 9.70711C0.683417 10.0976 1.31658 10.0976 1.70711 9.70711L5 6.41421L8.29289 9.70711C8.68342 10.0976 9.31658 10.0976 9.70711 9.70711C10.0976 9.31658 10.0976 8.68342 9.70711 8.29289L6.41421 5L9.70711 1.70711C10.0976 1.31658 10.0976 0.683417 9.70711 0.292893C9.31658 -0.0976311 8.68342 -0.0976311 8.29289 0.292893L5 3.58579L1.70711 0.292893Z",
    fill: "currentColor"
  })),
  Si = ({
    "aria-label": t = "Close",
    onClose: e
  }) => {
    const r = ut();
    return b.createElement(j, {
      alignItems: "center",
      "aria-label": t,
      as: "button",
      background: "closeButtonBackground",
      borderColor: "actionButtonBorder",
      borderRadius: "full",
      borderStyle: "solid",
      borderWidth: r ? "0" : "1",
      className: Je({
        active: "shrinkSm",
        hover: "growLg"
      }),
      color: "closeButton",
      display: "flex",
      height: r ? "30" : "28",
      justifyContent: "center",
      onClick: e,
      style: {
        willChange: "transform"
      },
      transition: "default",
      type: "button",
      width: r ? "30" : "28"
    }, b.createElement(nW, null))
  },
  cE = async () => (await ee(async () => {
    const {
      default: t
    } = await import("./sign-FZVB2CS6-CGsRnPrd.js");
    return {
      default: t
    }
  }, [])).default;

function iW({
  onClose: t,
  onCloseModal: e
}) {
  const {
    i18n: r
  } = k.useContext(ot), [{
    status: n,
    ...i
  }, s] = b.useState({
    status: "idle"
  }), o = ez(), a = k.useCallback(async () => {
    try {
      const h = await o.getNonce();
      s(g => ({
        ...g,
        nonce: h
      }))
    } catch {
      s(h => ({
        ...h,
        errorMessage: r.t("sign_in.message.preparing_error"),
        status: "idle"
      }))
    }
  }, [o, r.t]), l = k.useRef(!1);
  b.useEffect(() => {
    l.current || (l.current = !0, a())
  }, [a]);
  const u = ut(),
    {
      address: c
    } = _t(),
    {
      chain: d
    } = Pi(),
    {
      signMessageAsync: f
    } = lN(),
    B = async () => {
      try {
        const h = d == null ? void 0 : d.id,
          {
            nonce: g
          } = i;
        if (!c || !h || !g) return;
        s(p => ({
          ...p,
          errorMessage: void 0,
          status: "signing"
        }));
        const y = o.createMessage({
          address: c,
          chainId: h,
          nonce: g
        });
        let m;
        try {
          m = await f({
            message: o.getMessageBody({
              message: y
            })
          })
        } catch (p) {
          return p instanceof dt ? s(v => ({
            ...v,
            status: "idle"
          })) : s(v => ({
            ...v,
            errorMessage: r.t("sign_in.signature.signing_error"),
            status: "idle"
          }))
        }
        s(p => ({
          ...p,
          status: "verifying"
        }));
        try {
          if (await o.verify({
              message: y,
              signature: m
            })) {
            e();
            return
          }
          throw new Error
        } catch {
          return s(p => ({
            ...p,
            errorMessage: r.t("sign_in.signature.verifying_error"),
            status: "idle"
          }))
        }
      } catch {
        s({
          errorMessage: r.t("sign_in.signature.oops_error"),
          status: "idle"
        })
      }
    };
  return b.createElement(j, {
    position: "relative"
  }, b.createElement(j, {
    display: "flex",
    paddingRight: "16",
    paddingTop: "16",
    position: "absolute",
    right: "0"
  }, b.createElement(Si, {
    onClose: t
  })), b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: u ? "32" : "24",
    padding: "24",
    paddingX: "18",
    style: {
      paddingTop: u ? "60px" : "36px"
    }
  }, b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: u ? "6" : "4",
    style: {
      maxWidth: u ? 320 : 280
    }
  }, b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: u ? "32" : "16"
  }, b.createElement(it, {
    height: 40,
    src: cE,
    width: 40
  }), b.createElement(J, {
    color: "modalText",
    size: u ? "20" : "18",
    textAlign: "center",
    weight: "heavy"
  }, r.t("sign_in.label"))), b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: u ? "16" : "12"
  }, b.createElement(J, {
    color: "modalTextSecondary",
    size: u ? "16" : "14",
    textAlign: "center"
  }, r.t("sign_in.description")), n === "idle" && i.errorMessage ? b.createElement(J, {
    color: "error",
    size: u ? "16" : "14",
    textAlign: "center",
    weight: "bold"
  }, i.errorMessage) : null)), b.createElement(j, {
    alignItems: u ? void 0 : "center",
    display: "flex",
    flexDirection: "column",
    gap: "8",
    width: "full"
  }, b.createElement(jt, {
    disabled: !i.nonce || n === "signing" || n === "verifying",
    label: i.nonce ? n === "signing" ? r.t("sign_in.signature.waiting") : n === "verifying" ? r.t("sign_in.signature.verifying") : r.t("sign_in.message.send") : r.t("sign_in.message.preparing"),
    onClick: B,
    size: u ? "large" : "medium",
    testId: "auth-message-button"
  }), u ? b.createElement(jt, {
    label: "Cancel",
    onClick: t,
    size: "large",
    type: "secondary"
  }) : b.createElement(j, {
    as: "button",
    borderRadius: "full",
    className: Je({
      active: "shrink",
      hover: "grow"
    }),
    display: "block",
    onClick: t,
    paddingX: "10",
    paddingY: "5",
    rel: "noreferrer",
    style: {
      willChange: "transform"
    },
    target: "_blank",
    transition: "default"
  }, b.createElement(J, {
    color: "closeButton",
    size: u ? "16" : "14",
    weight: "bold"
  }, r.t("sign_in.message.cancel"))))))
}

function sW() {
  const t = ol(),
    e = Jd(),
    r = Vd() === "unauthenticated",
    n = k.useCallback(() => {
      Lr(...e.map(i => i.iconUrl), ...t.map(i => i.iconUrl).filter(Mm)), ut() || (Xz(), eW()), r && Lr(cE)
    }, [e, t, r]);
  k.useEffect(() => {
    n()
  }, [n])
}
var dE = "WALLETCONNECT_DEEPLINK_CHOICE";

function oW({
  mobileUri: t,
  name: e
}) {
  localStorage.setItem(dE, JSON.stringify({
    href: t.split("?")[0],
    name: e
  }))
}

function aW() {
  localStorage.removeItem(dE)
}
var fE = k.createContext(void 0),
  sC = "data-rk",
  BE = t => ({
    [sC]: t || ""
  }),
  lW = t => {
    if (t && !/^[a-zA-Z0-9_]+$/.test(t)) throw new Error(`Invalid ID: ${t}`);
    return t ? `[${sC}="${t}"]` : `[${sC}]`
  },
  uW = () => {
    const t = k.useContext(fE);
    return BE(t)
  },
  cW = A4();

function dW({
  appInfo: t,
  avatar: e,
  chains: r,
  children: n,
  coolMode: i = !1,
  id: s,
  initialChain: o,
  locale: a,
  modalSize: l = ll.WIDE,
  showRecentTransactions: u = !1,
  theme: c = cW
}) {
  if (sW(), Mz(), _t({
      onDisconnect: aW
    }), typeof c == "function") throw new Error('A theme function was provided to the "theme" prop instead of a theme object. You must execute this function to get the resulting theme object.');
  const d = lW(s),
    f = {
      ...nE,
      ...t
    },
    B = e ?? G8;
  return b.createElement(bz, {
    chains: r,
    initialChain: o
  }, b.createElement(Nz, null, b.createElement(mz, {
    locale: a
  }, b.createElement(iE.Provider, {
    value: i
  }, b.createElement(Tz, {
    modalSize: l
  }, b.createElement(zm.Provider, {
    value: u
  }, b.createElement(_z, null, b.createElement(q8.Provider, {
    value: B
  }, b.createElement(Xs.Provider, {
    value: f
  }, b.createElement(fE.Provider, {
    value: s
  }, b.createElement(Ez, null, b.createElement(x$, null, c ? b.createElement("div", {
    ...BE(s)
  }, b.createElement("style", {
    dangerouslySetInnerHTML: {
      __html: [`${d}{${_2("lightMode"in c?c.lightMode:c)}}`, "darkMode" in c ? `@media(prefers-color-scheme:dark){${d}{${_2(c.darkMode,{extends:c.lightMode})}}}` : null].join("")
    }
  }), n) : n))))))))))))
}
var fW = "_9pm4ki5 ju367va ju367v15 ju367v8r",
  BW = "_9pm4ki3 ju367v9h ju367vb3 ju367va ju367v2q ju367v8q",
  O2 = (t, e) => {
    const r = t.querySelectorAll("button:not(:disabled), a[href]");
    r.length !== 0 && r[e === "end" ? r.length - 1 : 0].focus()
  };

function hW(t) {
  const e = k.useRef(null);
  return k.useEffect(() => {
    const r = document.activeElement;
    return () => {
      var n;
      (n = r.focus) == null || n.call(r)
    }
  }, []), k.useEffect(() => {
    if (e.current) {
      const r = e.current.querySelector("[data-auto-focus]");
      r ? r.focus() : e.current.focus()
    }
  }, []), b.createElement(b.Fragment, null, b.createElement("div", {
    onFocus: k.useCallback(() => e.current && O2(e.current, "end"), []),
    tabIndex: 0
  }), b.createElement("div", {
    ref: e,
    style: {
      outline: "none"
    },
    tabIndex: -1,
    ...t
  }), b.createElement("div", {
    onFocus: k.useCallback(() => e.current && O2(e.current, "start"), []),
    tabIndex: 0
  }))
}
var pW = t => t.stopPropagation();

function Mc({
  children: t,
  onClose: e,
  open: r,
  titleId: n
}) {
  k.useEffect(() => {
    const u = c => r && c.key === "Escape" && e();
    return document.addEventListener("keydown", u), () => document.removeEventListener("keydown", u)
  }, [r, e]);
  const [i, s] = k.useState(!0);
  k.useEffect(() => {
    s(getComputedStyle(window.document.body).overflow !== "hidden")
  }, []);
  const o = k.useCallback(() => e(), [e]),
    a = uW(),
    l = ut();
  return b.createElement(b.Fragment, null, r ? ND.createPortal(b.createElement(z4, {
    enabled: i
  }, b.createElement(j, {
    ...a
  }, b.createElement(j, {
    ...a,
    alignItems: l ? "flex-end" : "center",
    "aria-labelledby": n,
    "aria-modal": !0,
    className: BW,
    onClick: o,
    position: "fixed",
    role: "dialog"
  }, b.createElement(hW, {
    className: fW,
    onClick: pW,
    role: "document"
  }, t)))), document.body) : null)
}
var CW = "_1ckjpok7",
  mW = "_1ckjpok1 ju367vb6 ju367vdr ju367vp ju367vt ju367vv ju367vel ju367va ju367v15 ju367v6c ju367v8r",
  gW = "_1ckjpok4 _1ckjpok1 ju367vb6 ju367vdr ju367vp ju367vt ju367vv ju367vel ju367va ju367v15 ju367v6c ju367v8r",
  vW = "_1ckjpok6 ju367vq",
  yW = "_1ckjpok3 _1ckjpok1 ju367vb6 ju367vdr ju367vp ju367vt ju367vv ju367vel ju367va ju367v15 ju367v6c ju367v8r",
  wW = "_1ckjpok2 _1ckjpok1 ju367vb6 ju367vdr ju367vp ju367vt ju367vv ju367vel ju367va ju367v15 ju367v6c ju367v8r";

function Lc({
  bottomSheetOnMobile: t = !1,
  children: e,
  marginTop: r,
  padding: n = "16",
  paddingBottom: i,
  wide: s = !1
}) {
  const o = ut(),
    l = k.useContext(Qd) === ll.COMPACT;
  return b.createElement(j, {
    marginTop: r
  }, b.createElement(j, {
    className: [s ? o ? wW : l ? gW : yW : mW, o ? vW : null, o && t ? CW : null].join(" ")
  }, b.createElement(j, {
    padding: n,
    paddingBottom: i ?? n
  }, e)))
}
var I2 = ["k", "m", "b", "t"];

function Jl(t, e = 1) {
  return t.toString().replace(new RegExp(`(.+\\.\\d{${e}})\\d+`), "$1").replace(/(\.[1-9]*)0+$/, "$1").replace(/\.$/, "")
}

function hE(t) {
  if (t < 1) return Jl(t, 3);
  if (t < 10 ** 2) return Jl(t, 2);
  if (t < 10 ** 4) return new Intl.NumberFormat().format(parseFloat(Jl(t, 1)));
  const e = 10 ** 1;
  let r = String(t);
  for (let n = I2.length - 1; n >= 0; n--) {
    const i = 10 ** ((n + 1) * 3);
    if (i <= t) {
      t = t * e / i / e, r = Jl(t, 1) + I2[n];
      break
    }
  }
  return r
}

function pE(t) {
  return t.length < 8 ? t : `${t.substring(0,4)}…${t.substring(t.length-4)}`
}

function CE(t) {
  const e = t.split("."),
    r = e.pop();
  return e.join(".").length > 24 ? `${e.join(".").substring(0,24)}...` : `${e.join(".")}.${r}`
}
var bW = () => b.createElement("svg", {
    fill: "none",
    height: "13",
    viewBox: "0 0 13 13",
    width: "13",
    xmlns: "http://www.w3.org/2000/svg"
  }, b.createElement("title", null, "Copied"), b.createElement("path", {
    d: "M4.94568 12.2646C5.41052 12.2646 5.77283 12.0869 6.01892 11.7109L12.39 1.96973C12.5677 1.69629 12.6429 1.44336 12.6429 1.2041C12.6429 0.561523 12.1644 0.0966797 11.5082 0.0966797C11.057 0.0966797 10.7767 0.260742 10.5033 0.691406L4.9115 9.50977L2.07458 5.98926C1.82166 5.68848 1.54822 5.55176 1.16541 5.55176C0.502319 5.55176 0.0238037 6.02344 0.0238037 6.66602C0.0238037 6.95312 0.112671 7.20605 0.358765 7.48633L3.88611 11.7588C4.18005 12.1074 4.50818 12.2646 4.94568 12.2646Z",
    fill: "currentColor"
  })),
  DW = () => b.createElement("svg", {
    fill: "none",
    height: "16",
    viewBox: "0 0 17 16",
    width: "17",
    xmlns: "http://www.w3.org/2000/svg"
  }, b.createElement("title", null, "Copy"), b.createElement("path", {
    d: "M3.04236 12.3027H4.18396V13.3008C4.18396 14.8525 5.03845 15.7002 6.59705 15.7002H13.6244C15.183 15.7002 16.0375 14.8525 16.0375 13.3008V6.24609C16.0375 4.69434 15.183 3.84668 13.6244 3.84668H12.4828V2.8418C12.4828 1.29688 11.6283 0.442383 10.0697 0.442383H3.04236C1.48376 0.442383 0.629272 1.29004 0.629272 2.8418V9.90332C0.629272 11.4551 1.48376 12.3027 3.04236 12.3027ZM3.23376 10.5391C2.68689 10.5391 2.39294 10.2656 2.39294 9.68457V3.06055C2.39294 2.47949 2.68689 2.21289 3.23376 2.21289H9.8783C10.4252 2.21289 10.7191 2.47949 10.7191 3.06055V3.84668H6.59705C5.03845 3.84668 4.18396 4.69434 4.18396 6.24609V10.5391H3.23376ZM6.78845 13.9365C6.24158 13.9365 5.94763 13.6699 5.94763 13.0889V6.45801C5.94763 5.87695 6.24158 5.61035 6.78845 5.61035H13.433C13.9799 5.61035 14.2738 5.87695 14.2738 6.45801V13.0889C14.2738 13.6699 13.9799 13.9365 13.433 13.9365H6.78845Z",
    fill: "currentColor"
  })),
  xW = () => b.createElement("svg", {
    fill: "none",
    height: "16",
    viewBox: "0 0 18 16",
    width: "18",
    xmlns: "http://www.w3.org/2000/svg"
  }, b.createElement("title", null, "Disconnect"), b.createElement("path", {
    d: "M2.67834 15.5908H9.99963C11.5514 15.5908 12.399 14.7432 12.399 13.1777V10.2656H10.6354V12.9863C10.6354 13.5332 10.3688 13.8271 9.78772 13.8271H2.89026C2.3092 13.8271 2.0426 13.5332 2.0426 12.9863V3.15625C2.0426 2.60254 2.3092 2.30859 2.89026 2.30859H9.78772C10.3688 2.30859 10.6354 2.60254 10.6354 3.15625V5.89746H12.399V2.95801C12.399 1.39941 11.5514 0.544922 9.99963 0.544922H2.67834C1.12659 0.544922 0.278931 1.39941 0.278931 2.95801V13.1777C0.278931 14.7432 1.12659 15.5908 2.67834 15.5908ZM7.43616 8.85059H14.0875L15.0924 8.78906L14.566 9.14453L13.6842 9.96484C13.5406 10.1016 13.4586 10.2861 13.4586 10.4844C13.4586 10.8398 13.7321 11.168 14.1217 11.168C14.3199 11.168 14.4635 11.0928 14.6002 10.9561L16.7809 8.68652C16.986 8.48145 17.0543 8.27637 17.0543 8.06445C17.0543 7.85254 16.986 7.64746 16.7809 7.43555L14.6002 5.17285C14.4635 5.03613 14.3199 4.9541 14.1217 4.9541C13.7321 4.9541 13.4586 5.27539 13.4586 5.6377C13.4586 5.83594 13.5406 6.02734 13.6842 6.15723L14.566 6.98438L15.0924 7.33984L14.0875 7.27148H7.43616C7.01917 7.27148 6.65686 7.62012 6.65686 8.06445C6.65686 8.50195 7.01917 8.85059 7.43616 8.85059Z",
    fill: "currentColor"
  }));

function EW() {
  const t = tE(),
    {
      address: e
    } = _t(),
    r = Um();
  return k.useCallback(() => {
    if (!e || !r) throw new Error("No address or chain ID found");
    t.clearTransactions(e, r)
  }, [t, e, r])
}
var mE = t => {
    var e, r;
    return (r = (e = t == null ? void 0 : t.blockExplorers) == null ? void 0 : e.default) == null ? void 0 : r.url
  },
  gE = () => b.createElement("svg", {
    fill: "none",
    height: "19",
    viewBox: "0 0 20 19",
    width: "20",
    xmlns: "http://www.w3.org/2000/svg"
  }, b.createElement("title", null, "Link"), b.createElement("path", {
    d: "M10 18.9443C15.0977 18.9443 19.2812 14.752 19.2812 9.6543C19.2812 4.56543 15.0889 0.373047 10 0.373047C4.90234 0.373047 0.71875 4.56543 0.71875 9.6543C0.71875 14.752 4.91113 18.9443 10 18.9443ZM10 16.6328C6.1416 16.6328 3.03906 13.5215 3.03906 9.6543C3.03906 5.7959 6.13281 2.68457 10 2.68457C13.8584 2.68457 16.9697 5.7959 16.9697 9.6543C16.9785 13.5215 13.8672 16.6328 10 16.6328ZM12.7158 12.1416C13.2432 12.1416 13.5684 11.7549 13.5684 11.1836V7.19336C13.5684 6.44629 13.1377 6.05957 12.417 6.05957H8.40918C7.8291 6.05957 7.45117 6.38477 7.45117 6.91211C7.45117 7.43945 7.8291 7.77344 8.40918 7.77344H9.69238L10.7207 7.63281L9.53418 8.67871L6.73047 11.4912C6.53711 11.6758 6.41406 11.9395 6.41406 12.2031C6.41406 12.7832 6.85352 13.1699 7.39844 13.1699C7.68848 13.1699 7.92578 13.0732 8.1543 12.8623L10.9316 10.0762L11.9775 8.89844L11.8545 9.98828V11.1836C11.8545 11.7725 12.1885 12.1416 12.7158 12.1416Z",
    fill: "currentColor"
  })),
  SW = () => b.createElement("svg", {
    fill: "none",
    height: "19",
    viewBox: "0 0 20 19",
    width: "20",
    xmlns: "http://www.w3.org/2000/svg"
  }, b.createElement("title", null, "Cancel"), b.createElement("path", {
    d: "M10 18.9443C15.0977 18.9443 19.2812 14.752 19.2812 9.6543C19.2812 4.56543 15.0889 0.373047 10 0.373047C4.90234 0.373047 0.71875 4.56543 0.71875 9.6543C0.71875 14.752 4.91113 18.9443 10 18.9443ZM10 16.6328C6.1416 16.6328 3.03906 13.5215 3.03906 9.6543C3.03906 5.7959 6.13281 2.68457 10 2.68457C13.8584 2.68457 16.9697 5.7959 16.9697 9.6543C16.9785 13.5215 13.8672 16.6328 10 16.6328ZM7.29297 13.3018C7.58301 13.3018 7.81152 13.2139 7.99609 13.0205L10 11.0166L12.0127 13.0205C12.1973 13.2051 12.4258 13.3018 12.707 13.3018C13.2432 13.3018 13.6562 12.8887 13.6562 12.3525C13.6562 12.0977 13.5508 11.8691 13.3662 11.6934L11.3535 9.67188L13.375 7.6416C13.5596 7.44824 13.6562 7.22852 13.6562 6.98242C13.6562 6.44629 13.2432 6.0332 12.7158 6.0332C12.4346 6.0332 12.2148 6.12109 12.0215 6.31445L10 8.32715L7.9873 6.32324C7.80273 6.12988 7.58301 6.04199 7.29297 6.04199C6.76562 6.04199 6.35254 6.45508 6.35254 6.99121C6.35254 7.2373 6.44922 7.46582 6.63379 7.6416L8.65527 9.67188L6.63379 11.6934C6.44922 11.8691 6.35254 12.1064 6.35254 12.3525C6.35254 12.8887 6.76562 13.3018 7.29297 13.3018Z",
    fill: "currentColor"
  })),
  kW = () => b.createElement("svg", {
    fill: "none",
    height: "20",
    viewBox: "0 0 20 20",
    width: "20",
    xmlns: "http://www.w3.org/2000/svg"
  }, b.createElement("title", null, "Success"), b.createElement("path", {
    d: "M10 19.4443C15.0977 19.4443 19.2812 15.252 19.2812 10.1543C19.2812 5.06543 15.0889 0.873047 10 0.873047C4.90234 0.873047 0.71875 5.06543 0.71875 10.1543C0.71875 15.252 4.91113 19.4443 10 19.4443ZM10 17.1328C6.1416 17.1328 3.03906 14.0215 3.03906 10.1543C3.03906 6.2959 6.13281 3.18457 10 3.18457C13.8584 3.18457 16.9697 6.2959 16.9697 10.1543C16.9785 14.0215 13.8672 17.1328 10 17.1328ZM9.07715 14.3379C9.4375 14.3379 9.7627 14.1533 9.97363 13.8369L13.7441 8.00977C13.8848 7.79883 13.9814 7.5791 13.9814 7.36816C13.9814 6.84961 13.5244 6.48926 13.0322 6.48926C12.707 6.48926 12.4258 6.66504 12.2148 7.0166L9.05957 12.0967L7.5918 10.2949C7.37207 10.0225 7.13477 9.9082 6.84473 9.9082C6.33496 9.9082 5.92188 10.3125 5.92188 10.8223C5.92188 11.0684 6.00098 11.2793 6.18555 11.5078L8.1543 13.8545C8.40918 14.1709 8.70801 14.3379 9.07715 14.3379Z",
    fill: "currentColor"
  })),
  jW = t => {
    switch (t) {
      case "pending":
        return ka;
      case "confirmed":
        return kW;
      case "failed":
        return SW;
      default:
        return ka
    }
  };

function AW({
  tx: t
}) {
  const e = ut(),
    r = jW(t.status),
    n = t.status === "failed" ? "error" : "accentColor",
    {
      chain: i
    } = Pi(),
    s = t.status === "confirmed" ? "Confirmed" : t.status === "failed" ? "Failed" : "Pending",
    o = mE(i);
  return b.createElement(b.Fragment, null, b.createElement(j, {
    ...o ? {
      as: "a",
      background: {
        hover: "profileForeground"
      },
      borderRadius: "menuButton",
      className: Je({
        active: "shrink"
      }),
      href: `${o}/tx/${t.hash}`,
      rel: "noreferrer noopener",
      target: "_blank",
      transition: "default"
    } : {},
    color: "modalText",
    display: "flex",
    flexDirection: "row",
    justifyContent: "space-between",
    padding: "8",
    width: "full"
  }, b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "row",
    gap: e ? "16" : "14"
  }, b.createElement(j, {
    color: n
  }, b.createElement(r, null)), b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    gap: e ? "3" : "1"
  }, b.createElement(j, null, b.createElement(J, {
    color: "modalText",
    font: "body",
    size: e ? "16" : "14",
    weight: "bold"
  }, t == null ? void 0 : t.description)), b.createElement(j, null, b.createElement(J, {
    color: t.status === "pending" ? "modalTextSecondary" : n,
    font: "body",
    size: "14",
    weight: e ? "medium" : "regular"
  }, s)))), o && b.createElement(j, {
    alignItems: "center",
    color: "modalTextDim",
    display: "flex"
  }, b.createElement(gE, null))))
}
var PW = 3;

function _W({
  address: t
}) {
  const e = rE(),
    r = EW(),
    {
      chain: n
    } = Pi(),
    i = mE(n),
    s = e.slice(0, PW),
    o = s.length > 0,
    a = ut(),
    {
      appName: l
    } = k.useContext(Xs),
    {
      i18n: u
    } = k.useContext(ot);
  return b.createElement(b.Fragment, null, b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    gap: "10",
    paddingBottom: "2",
    paddingTop: "16",
    paddingX: a ? "8" : "18"
  }, o && b.createElement(j, {
    paddingBottom: a ? "4" : "0",
    paddingTop: "8",
    paddingX: a ? "12" : "6"
  }, b.createElement(j, {
    display: "flex",
    justifyContent: "space-between"
  }, b.createElement(J, {
    color: "modalTextSecondary",
    size: a ? "16" : "14",
    weight: "semibold"
  }, u.t("profile.transactions.recent.title")), b.createElement(j, {
    style: {
      marginBottom: -6,
      marginLeft: -10,
      marginRight: -10,
      marginTop: -6
    }
  }, b.createElement(j, {
    as: "button",
    background: {
      hover: "profileForeground"
    },
    borderRadius: "actionButton",
    className: Je({
      active: "shrink"
    }),
    onClick: r,
    paddingX: a ? "8" : "12",
    paddingY: a ? "4" : "5",
    transition: "default",
    type: "button"
  }, b.createElement(J, {
    color: "modalTextSecondary",
    size: a ? "16" : "14",
    weight: "semibold"
  }, u.t("profile.transactions.clear.label")))))), b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    gap: "4"
  }, o ? s.map(c => b.createElement(AW, {
    key: c.hash,
    tx: c
  })) : b.createElement(b.Fragment, null, b.createElement(j, {
    padding: a ? "12" : "8"
  }, b.createElement(J, {
    color: "modalTextDim",
    size: a ? "16" : "14",
    weight: a ? "medium" : "bold"
  }, l ? u.t("profile.transactions.description", {
    appName: l
  }) : u.t("profile.transactions.description_fallback"))), a && b.createElement(j, {
    background: "generalBorderDim",
    height: "1",
    marginX: "12",
    marginY: "8"
  })))), i && b.createElement(j, {
    paddingBottom: "18",
    paddingX: a ? "8" : "18"
  }, b.createElement(j, {
    alignItems: "center",
    as: "a",
    background: {
      hover: "profileForeground"
    },
    borderRadius: "menuButton",
    className: Je({
      active: "shrink"
    }),
    color: "modalTextDim",
    display: "flex",
    flexDirection: "row",
    href: `${i}/address/${t}`,
    justifyContent: "space-between",
    paddingX: "8",
    paddingY: "12",
    rel: "noreferrer noopener",
    style: {
      willChange: "transform"
    },
    target: "_blank",
    transition: "default",
    width: "full",
    ...a ? {
      paddingLeft: "12"
    } : {}
  }, b.createElement(J, {
    color: "modalText",
    font: "body",
    size: a ? "16" : "14",
    weight: a ? "semibold" : "bold"
  }, u.t("profile.explorer.label")), b.createElement(gE, null))))
}

function N2({
  action: t,
  icon: e,
  label: r,
  testId: n,
  url: i
}) {
  const s = ut();
  return b.createElement(j, {
    ...i ? {
      as: "a",
      href: i,
      rel: "noreferrer noopener",
      target: "_blank"
    } : {
      as: "button",
      type: "button"
    },
    background: {
      base: "profileAction",
      ...s ? {} : {
        hover: "profileActionHover"
      }
    },
    borderRadius: "menuButton",
    boxShadow: "profileDetailsAction",
    className: Je({
      active: "shrinkSm",
      hover: s ? void 0 : "grow"
    }),
    display: "flex",
    onClick: t,
    padding: s ? "6" : "8",
    style: {
      willChange: "transform"
    },
    testId: n,
    transition: "default",
    width: "full"
  }, b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: "1",
    justifyContent: "center",
    paddingTop: "2",
    width: "full"
  }, b.createElement(j, {
    color: "modalText",
    height: "max"
  }, e), b.createElement(j, null, b.createElement(J, {
    color: "modalText",
    size: s ? "12" : "13",
    weight: "semibold"
  }, r))))
}

function OW({
  address: t,
  ensAvatar: e,
  ensName: r,
  onClose: n,
  onDisconnect: i
}) {
  const s = k.useContext(zm),
    {
      data: o
    } = jd({
      address: t
    }),
    [a, l] = k.useState(!1),
    u = k.useCallback(() => {
      t && (navigator.clipboard.writeText(t), l(!0))
    }, [t]);
  if (k.useEffect(() => {
      if (a) {
        const y = setTimeout(() => {
          l(!1)
        }, 1500);
        return () => clearTimeout(y)
      }
    }, [a]), !t) return null;
  const c = r ? CE(r) : pE(t),
    d = o == null ? void 0 : o.formatted,
    f = d ? hE(parseFloat(d)) : void 0,
    B = "rk_profile_title",
    h = ut(),
    {
      i18n: g
    } = k.useContext(ot);
  return b.createElement(b.Fragment, null, b.createElement(j, {
    display: "flex",
    flexDirection: "column"
  }, b.createElement(j, {
    background: "profileForeground",
    padding: "16"
  }, b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: h ? "16" : "12",
    justifyContent: "center",
    margin: "8",
    style: {
      textAlign: "center"
    }
  }, b.createElement(j, {
    style: {
      position: "absolute",
      right: 16,
      top: 16,
      willChange: "transform"
    }
  }, b.createElement(Si, {
    onClose: n
  })), " ", b.createElement(j, {
    marginTop: h ? "24" : "0"
  }, b.createElement(V8, {
    address: t,
    imageUrl: e,
    size: h ? 82 : 74
  })), b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    gap: h ? "4" : "0",
    textAlign: "center"
  }, b.createElement(j, {
    textAlign: "center"
  }, b.createElement(J, {
    as: "h1",
    color: "modalText",
    id: B,
    size: h ? "20" : "18",
    weight: "heavy"
  }, c)), o && b.createElement(j, {
    textAlign: "center"
  }, b.createElement(J, {
    as: "h1",
    color: "modalTextSecondary",
    id: B,
    size: h ? "16" : "14",
    weight: "semibold"
  }, f, " ", o.symbol)))), b.createElement(j, {
    display: "flex",
    flexDirection: "row",
    gap: "8",
    margin: "2",
    marginTop: "16"
  }, b.createElement(N2, {
    action: u,
    icon: a ? b.createElement(bW, null) : b.createElement(DW, null),
    label: a ? g.t("profile.copy_address.copied") : g.t("profile.copy_address.label")
  }), b.createElement(N2, {
    action: i,
    icon: b.createElement(xW, null),
    label: g.t("profile.disconnect.label"),
    testId: "disconnect-button"
  }))), s && b.createElement(b.Fragment, null, b.createElement(j, {
    background: "generalBorder",
    height: "1",
    marginTop: "-1"
  }), b.createElement(j, null, b.createElement(_W, {
    address: t
  })))))
}

function IW({
  onClose: t,
  open: e
}) {
  const {
    address: r
  } = _t(), n = X8(r), i = Y8(n), {
    disconnect: s
  } = hm();
  return r ? b.createElement(b.Fragment, null, r && b.createElement(Mc, {
    onClose: t,
    open: e,
    titleId: "rk_account_modal_title"
  }, b.createElement(Lc, {
    bottomSheetOnMobile: !0,
    padding: "0"
  }, b.createElement(OW, {
    address: r,
    ensAvatar: i,
    ensName: n,
    onClose: t,
    onDisconnect: s
  })))) : null
}
var NW = ({
    size: t
  }) => b.createElement("svg", {
    fill: "none",
    height: t,
    viewBox: "0 0 28 28",
    width: t,
    xmlns: "http://www.w3.org/2000/svg"
  }, b.createElement("title", null, "Disconnect"), b.createElement("path", {
    d: "M6.742 22.195h8.367c1.774 0 2.743-.968 2.743-2.758V16.11h-2.016v3.11c0 .625-.305.96-.969.96H6.984c-.664 0-.968-.335-.968-.96V7.984c0-.632.304-.968.968-.968h7.883c.664 0 .969.336.969.968v3.133h2.016v-3.36c0-1.78-.97-2.757-2.743-2.757H6.742C4.97 5 4 5.977 4 7.758v11.68c0 1.789.969 2.757 2.742 2.757Zm5.438-7.703h7.601l1.149-.07-.602.406-1.008.938a.816.816 0 0 0-.258.593c0 .407.313.782.758.782.227 0 .39-.086.547-.243l2.492-2.593c.235-.235.313-.47.313-.711 0-.242-.078-.477-.313-.719l-2.492-2.586c-.156-.156-.32-.25-.547-.25-.445 0-.758.367-.758.781 0 .227.094.446.258.594l1.008.945.602.407-1.149-.079H12.18a.904.904 0 0 0 0 1.805Z",
    fill: "currentColor"
  })),
  TW = "v9horb0",
  oC = b.forwardRef(({
    children: t,
    currentlySelected: e = !1,
    onClick: r,
    testId: n,
    ...i
  }, s) => {
    const o = ut();
    return b.createElement(j, {
      as: "button",
      borderRadius: "menuButton",
      disabled: e,
      display: "flex",
      onClick: r,
      ref: s,
      testId: n,
      type: "button"
    }, b.createElement(j, {
      borderRadius: "menuButton",
      className: [o ? TW : void 0, !e && Je({
        active: "shrink"
      })],
      padding: o ? "8" : "6",
      transition: "default",
      width: "full",
      ...e ? {
        background: "accentColor",
        borderColor: "selectedOptionBorder",
        borderStyle: "solid",
        borderWidth: "1",
        boxShadow: "selectedOption",
        color: "accentColorForeground"
      } : {
        background: {
          hover: "menuItemBackground"
        },
        color: "modalText",
        transition: "default"
      },
      ...i
    }, t))
  });
oC.displayName = "MenuButton";
var RW = "_18dqw9x0",
  FW = "_18dqw9x1";

function MW({
  onClose: t,
  open: e
}) {
  var r;
  const {
    chain: n
  } = Pi(), {
    chains: i,
    pendingChainId: s,
    reset: o,
    switchNetwork: a
  } = dN({
    onSettled: () => {
      o(), t()
    }
  }), {
    i18n: l
  } = k.useContext(ot), {
    disconnect: u
  } = hm(), c = "rk_chain_modal_title", d = ut(), f = (r = n == null ? void 0 : n.unsupported) != null ? r : !1, B = d ? "36" : "28", {
    appName: h
  } = k.useContext(Xs), g = ol();
  return !n || !(n != null && n.id) ? null : b.createElement(Mc, {
    onClose: t,
    open: e,
    titleId: c
  }, b.createElement(Lc, {
    bottomSheetOnMobile: !0,
    paddingBottom: "0"
  }, b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    gap: "14"
  }, b.createElement(j, {
    display: "flex",
    flexDirection: "row",
    justifyContent: "space-between"
  }, d && b.createElement(j, {
    width: "30"
  }), b.createElement(j, {
    paddingBottom: "0",
    paddingLeft: "8",
    paddingTop: "4"
  }, b.createElement(J, {
    as: "h1",
    color: "modalText",
    id: c,
    size: d ? "20" : "18",
    weight: "heavy"
  }, l.t("chains.title"))), b.createElement(Si, {
    onClose: t
  })), f && b.createElement(j, {
    marginX: "8",
    textAlign: d ? "center" : "left"
  }, b.createElement(J, {
    color: "modalTextSecondary",
    size: "14",
    weight: "medium"
  }, l.t("chains.wrong_network"))), b.createElement(j, {
    className: d ? FW : RW,
    display: "flex",
    flexDirection: "column",
    gap: "4",
    padding: "2",
    paddingBottom: "16"
  }, a ? g.map(({
    iconBackground: y,
    iconUrl: m,
    id: p,
    name: v
  }, w) => {
    const D = i.find(S => S.id === p);
    if (!D) return null;
    const x = D.id === (n == null ? void 0 : n.id),
      C = !x && D.id === s;
    return b.createElement(k.Fragment, {
      key: D.id
    }, b.createElement(oC, {
      currentlySelected: x,
      onClick: x ? void 0 : () => a(D.id),
      testId: `chain-option-${D.id}`
    }, b.createElement(j, {
      fontFamily: "body",
      fontSize: "16",
      fontWeight: "bold"
    }, b.createElement(j, {
      alignItems: "center",
      display: "flex",
      flexDirection: "row",
      justifyContent: "space-between"
    }, b.createElement(j, {
      alignItems: "center",
      display: "flex",
      flexDirection: "row",
      gap: "4",
      height: B
    }, m && b.createElement(j, {
      height: "full",
      marginRight: "8"
    }, b.createElement(it, {
      alt: v ?? D.name,
      background: y,
      borderRadius: "full",
      height: B,
      src: m,
      width: B,
      testId: `chain-option-${D.id}-icon`
    })), b.createElement("div", null, v ?? D.name)), x && b.createElement(j, {
      alignItems: "center",
      display: "flex",
      flexDirection: "row",
      marginRight: "6"
    }, b.createElement(J, {
      color: "accentColorForeground",
      size: "14",
      weight: "medium"
    }, l.t("chains.connected")), b.createElement(j, {
      background: "connectionIndicator",
      borderColor: "selectedOptionBorder",
      borderRadius: "full",
      borderStyle: "solid",
      borderWidth: "1",
      height: "8",
      marginLeft: "8",
      width: "8"
    })), C && b.createElement(j, {
      alignItems: "center",
      display: "flex",
      flexDirection: "row",
      marginRight: "6"
    }, b.createElement(J, {
      color: "modalText",
      size: "14",
      weight: "medium"
    }, l.t("chains.confirm")), b.createElement(j, {
      background: "standby",
      borderRadius: "full",
      height: "8",
      marginLeft: "8",
      width: "8"
    }))))), d && w < g.length - 1 && b.createElement(j, {
      background: "generalBorderDim",
      height: "1",
      marginX: "8"
    }))
  }) : b.createElement(j, {
    background: "generalBorder",
    borderRadius: "menuButton",
    paddingX: "18",
    paddingY: "12"
  }, b.createElement(J, {
    color: "modalText",
    size: "14",
    weight: "medium"
  }, h ? l.t("chains.switching_not_supported", {
    appName: h
  }) : l.t("chains.switching_not_supported_fallback"))), f && b.createElement(b.Fragment, null, b.createElement(j, {
    background: "generalBorderDim",
    height: "1",
    marginX: "8"
  }), b.createElement(oC, {
    onClick: () => u(),
    testId: "chain-option-disconnect"
  }, b.createElement(j, {
    color: "error",
    fontFamily: "body",
    fontSize: "16",
    fontWeight: "bold"
  }, b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "row",
    justifyContent: "space-between"
  }, b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "row",
    gap: "4",
    height: B
  }, b.createElement(j, {
    alignItems: "center",
    color: "error",
    height: B,
    justifyContent: "center",
    marginRight: "8"
  }, b.createElement(NW, {
    size: Number(B)
  })), b.createElement("div", null, l.t("chains.disconnect")))))))))))
}

function LW(t, e) {
  const r = {};
  for (const n of t) {
    const i = e(n);
    i && (r[i] || (r[i] = []), r[i].push(n))
  }
  return r
}
var UW = "rk-latest-id";

function zW(t) {
  localStorage.setItem(UW, t)
}
var qm = ({
    children: t,
    href: e
  }) => b.createElement(j, {
    as: "a",
    color: "accentColor",
    href: e,
    rel: "noreferrer",
    target: "_blank"
  }, t),
  Vm = ({
    children: t
  }) => b.createElement(J, {
    color: "modalTextSecondary",
    size: "12",
    weight: "medium"
  }, t);

function T2({
  compactModeEnabled: t = !1,
  getWallet: e
}) {
  const {
    disclaimer: r,
    learnMoreUrl: n
  } = k.useContext(Xs), {
    i18n: i
  } = k.useContext(ot);
  return b.createElement(b.Fragment, null, b.createElement(j, {
    alignItems: "center",
    color: "accentColor",
    display: "flex",
    flexDirection: "column",
    height: "full",
    justifyContent: "space-around"
  }, b.createElement(j, {
    marginBottom: "10"
  }, !t && b.createElement(J, {
    color: "modalText",
    size: "18",
    weight: "heavy"
  }, i.t("intro.title"))), b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    gap: "32",
    justifyContent: "center",
    marginY: "20",
    style: {
      maxWidth: 312
    }
  }, b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "row",
    gap: "16"
  }, b.createElement(j, {
    borderRadius: "6",
    height: "48",
    minWidth: "48",
    width: "48"
  }, b.createElement(Zz, null)), b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    gap: "4"
  }, b.createElement(J, {
    color: "modalText",
    size: "14",
    weight: "bold"
  }, i.t("intro.digital_asset.title")), b.createElement(J, {
    color: "modalTextSecondary",
    size: "14",
    weight: "medium"
  }, i.t("intro.digital_asset.description")))), b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "row",
    gap: "16"
  }, b.createElement(j, {
    borderRadius: "6",
    height: "48",
    minWidth: "48",
    width: "48"
  }, b.createElement(tW, null)), b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    gap: "4"
  }, b.createElement(J, {
    color: "modalText",
    size: "14",
    weight: "bold"
  }, i.t("intro.login.title")), b.createElement(J, {
    color: "modalTextSecondary",
    size: "14",
    weight: "medium"
  }, i.t("intro.login.description"))))), b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: "12",
    justifyContent: "center",
    margin: "10"
  }, b.createElement(jt, {
    label: i.t("intro.get.label"),
    onClick: e
  }), b.createElement(j, {
    as: "a",
    className: Je({
      active: "shrink",
      hover: "grow"
    }),
    display: "block",
    href: n,
    paddingX: "12",
    paddingY: "4",
    rel: "noreferrer",
    style: {
      willChange: "transform"
    },
    target: "_blank",
    transition: "default"
  }, b.createElement(J, {
    color: "accentColor",
    size: "14",
    weight: "bold"
  }, i.t("intro.learn_more.label")))), r && !t && b.createElement(j, {
    marginBottom: "8",
    marginTop: "12",
    textAlign: "center"
  }, b.createElement(r, {
    Link: qm,
    Text: Vm
  }))))
}
var vE = () => b.createElement("svg", {
    fill: "none",
    height: "17",
    viewBox: "0 0 11 17",
    width: "11",
    xmlns: "http://www.w3.org/2000/svg"
  }, b.createElement("title", null, "Back"), b.createElement("path", {
    d: "M0.99707 8.6543C0.99707 9.08496 1.15527 9.44531 1.51562 9.79688L8.16016 16.3096C8.43262 16.5732 8.74902 16.7051 9.13574 16.7051C9.90918 16.7051 10.5508 16.0811 10.5508 15.3076C10.5508 14.9121 10.3838 14.5605 10.0938 14.2705L4.30176 8.64551L10.0938 3.0293C10.3838 2.74805 10.5508 2.3877 10.5508 2.00098C10.5508 1.23633 9.90918 0.603516 9.13574 0.603516C8.74902 0.603516 8.43262 0.735352 8.16016 0.999023L1.51562 7.51172C1.15527 7.85449 1.00586 8.21484 0.99707 8.6543Z",
    fill: "currentColor"
  })),
  WW = () => b.createElement("svg", {
    fill: "none",
    height: "12",
    viewBox: "0 0 8 12",
    width: "8",
    xmlns: "http://www.w3.org/2000/svg"
  }, b.createElement("title", null, "Info"), b.createElement("path", {
    d: "M3.64258 7.99609C4.19336 7.99609 4.5625 7.73828 4.68555 7.24609C4.69141 7.21094 4.70312 7.16406 4.70898 7.13477C4.80859 6.60742 5.05469 6.35547 6.04492 5.76367C7.14648 5.10156 7.67969 4.3457 7.67969 3.24414C7.67969 1.39844 6.17383 0.255859 3.95898 0.255859C2.32422 0.255859 1.05859 0.894531 0.548828 1.86719C0.396484 2.14844 0.320312 2.44727 0.320312 2.74023C0.314453 3.37305 0.742188 3.79492 1.42188 3.79492C1.91406 3.79492 2.33594 3.54883 2.53516 3.11523C2.78711 2.47656 3.23242 2.21289 3.83594 2.21289C4.55664 2.21289 5.10742 2.65234 5.10742 3.29102C5.10742 3.9707 4.7793 4.29883 3.81836 4.87891C3.02148 5.36523 2.50586 5.92773 2.50586 6.76562V6.90039C2.50586 7.55664 2.96289 7.99609 3.64258 7.99609ZM3.67188 11.4473C4.42773 11.4473 5.04297 10.8672 5.04297 10.1406C5.04297 9.41406 4.42773 8.83984 3.67188 8.83984C2.91602 8.83984 2.30664 9.41406 2.30664 10.1406C2.30664 10.8672 2.91602 11.4473 3.67188 11.4473Z",
    fill: "currentColor"
  })),
  $W = ({
    "aria-label": t = "Info",
    onClick: e
  }) => {
    const r = ut();
    return b.createElement(j, {
      alignItems: "center",
      "aria-label": t,
      as: "button",
      background: "closeButtonBackground",
      borderColor: "actionButtonBorder",
      borderRadius: "full",
      borderStyle: "solid",
      borderWidth: r ? "0" : "1",
      className: Je({
        active: "shrinkSm",
        hover: "growLg"
      }),
      color: "closeButton",
      display: "flex",
      height: r ? "30" : "28",
      justifyContent: "center",
      onClick: e,
      style: {
        willChange: "transform"
      },
      transition: "default",
      type: "button",
      width: r ? "30" : "28"
    }, b.createElement(WW, null))
  },
  yE = t => {
    const e = k.useRef(null),
      r = k.useContext(iE),
      n = Fm(t);
    return k.useEffect(() => {
      if (r && e.current && n) return GW(e.current, n)
    }, [r, n]), e
  },
  HW = () => {
    const t = "_rk_coolMode",
      e = document.getElementById(t);
    if (e) return e;
    const r = document.createElement("div");
    return r.setAttribute("id", t), r.setAttribute("style", ["overflow:hidden", "position:fixed", "height:100%", "top:0", "left:0", "right:0", "bottom:0", "pointer-events:none", "z-index:2147483647"].join(";")), document.body.appendChild(r), r
  },
  R2 = 0;

function GW(t, e) {
  R2++;
  const r = [15, 20, 25, 35, 45],
    n = 35;
  let i = [],
    s = !1,
    o = 0,
    a = 0;
  const l = HW();

  function u() {
    const w = r[Math.floor(Math.random() * r.length)],
      D = Math.random() * 10,
      x = Math.random() * 25,
      C = Math.random() * 360,
      S = Math.random() * 35 * (Math.random() <= .5 ? -1 : 1),
      A = a - w / 2,
      P = o - w / 2,
      _ = Math.random() <= .5 ? -1 : 1,
      O = document.createElement("div");
    O.innerHTML = `<img src="${e}" width="${w}" height="${w}" style="border-radius: 25%">`, O.setAttribute("style", ["position:absolute", "will-change:transform", `top:${A}px`, `left:${P}px`, `transform:rotate(${C}deg)`].join(";")), l.appendChild(O), i.push({
      direction: _,
      element: O,
      left: P,
      size: w,
      speedHorz: D,
      speedUp: x,
      spinSpeed: S,
      spinVal: C,
      top: A
    })
  }

  function c() {
    for (const w of i) w.left = w.left - w.speedHorz * w.direction, w.top = w.top - w.speedUp, w.speedUp = Math.min(w.size, w.speedUp - 1), w.spinVal = w.spinVal + w.spinSpeed, w.top >= Math.max(window.innerHeight, document.body.clientHeight) + w.size && (i = i.filter(D => D !== w), w.element.remove()), w.element.setAttribute("style", ["position:absolute", "will-change:transform", `top:${w.top}px`, `left:${w.left}px`, `transform:rotate(${w.spinVal}deg)`].join(";"))
  }
  let d;

  function f() {
    s && i.length < n && u(), c(), d = requestAnimationFrame(f)
  }
  f();
  const B = "ontouchstart" in window || navigator.msMaxTouchPoints,
    h = B ? "touchstart" : "mousedown",
    g = B ? "touchend" : "mouseup",
    y = B ? "touchmove" : "mousemove",
    m = w => {
      var D, x;
      "touches" in w ? (o = (D = w.touches) == null ? void 0 : D[0].clientX, a = (x = w.touches) == null ? void 0 : x[0].clientY) : (o = w.clientX, a = w.clientY)
    },
    p = w => {
      m(w), s = !0
    },
    v = () => {
      s = !1
    };
  return t.addEventListener(y, m, {
    passive: !1
  }), t.addEventListener(h, p), t.addEventListener(g, v), t.addEventListener("mouseleave", v), () => {
    t.removeEventListener(y, m), t.removeEventListener(h, p), t.removeEventListener(g, v), t.removeEventListener("mouseleave", v);
    const w = setInterval(() => {
      d && i.length === 0 && (cancelAnimationFrame(d), clearInterval(w), --R2 === 0 && l.remove())
    }, 500)
  }
}
var qW = "g5kl0l0",
  wE = ({
    as: t = "button",
    currentlySelected: e = !1,
    iconBackground: r,
    iconUrl: n,
    name: i,
    onClick: s,
    ready: o,
    recent: a,
    testId: l,
    ...u
  }) => {
    const c = yE(n),
      [d, f] = k.useState(!1),
      {
        i18n: B
      } = k.useContext(ot);
    return b.createElement(j, {
      display: "flex",
      flexDirection: "column",
      onMouseEnter: () => f(!0),
      onMouseLeave: () => f(!1),
      ref: c
    }, b.createElement(j, {
      as: t,
      borderRadius: "menuButton",
      borderStyle: "solid",
      borderWidth: "1",
      className: e ? void 0 : [qW, Je({
        active: "shrink"
      })],
      disabled: e,
      onClick: s,
      padding: "5",
      style: {
        willChange: "transform"
      },
      testId: l,
      transition: "default",
      width: "full",
      ...e ? {
        background: "accentColor",
        borderColor: "selectedOptionBorder",
        boxShadow: "selectedWallet"
      } : {
        background: {
          hover: "menuItemBackground"
        }
      },
      ...u
    }, b.createElement(j, {
      color: e ? "accentColorForeground" : "modalText",
      disabled: !o,
      fontFamily: "body",
      fontSize: "16",
      fontWeight: "bold",
      transition: "default"
    }, b.createElement(j, {
      alignItems: "center",
      display: "flex",
      flexDirection: "row",
      gap: "12"
    }, b.createElement(it, {
      background: r,
      ...d ? {} : {
        borderColor: "actionButtonBorder"
      },
      borderRadius: "6",
      height: "28",
      src: n,
      width: "28"
    }), b.createElement(j, null, b.createElement(j, {
      style: {
        marginTop: a ? -2 : void 0
      }
    }, i), a && b.createElement(J, {
      color: e ? "accentColorForeground" : "accentColor",
      size: "12",
      style: {
        lineHeight: 1,
        marginTop: -1
      },
      weight: "medium"
    }, B.t("connect.recent")))))))
  };
wE.displayName = "ModalSelection";
var vB = (t, e = 1) => {
    let r = t.replace("#", "");
    r.length === 3 && (r = `${r[0]}${r[0]}${r[1]}${r[1]}${r[2]}${r[2]}`);
    const n = parseInt(r.substring(0, 2), 16),
      i = parseInt(r.substring(2, 4), 16),
      s = parseInt(r.substring(4, 6), 16);
    return e > 1 && e <= 100 && (e = e / 100), `rgba(${n},${i},${s},${e})`
  },
  VW = t => t ? [vB(t, .2), vB(t, .14), vB(t, .1)] : null,
  KW = t => /^#([0-9a-f]{3}){1,2}$/i.test(t),
  bE = async () => (await ee(async () => {
    const {
      default: t
    } = await import("./connect-XNDTNVUH-BrWe_DLP.js");
    return {
      default: t
    }
  }, [])).default, QW = () => Lr(bE), JW = () => b.createElement(it, {
    background: "#515a70",
    borderColor: "generalBorder",
    borderRadius: "10",
    height: "48",
    src: bE,
    width: "48"
  }), DE = async () => (await ee(async () => {
    const {
      default: t
    } = await import("./create-PAJXJDV3-aLc4x62m.js");
    return {
      default: t
    }
  }, [])).default, xE = () => Lr(DE), YW = () => b.createElement(it, {
    background: "#e3a5e8",
    borderColor: "generalBorder",
    borderRadius: "10",
    height: "48",
    src: DE,
    width: "48"
  }), EE = async () => (await ee(async () => {
    const {
      default: t
    } = await import("./refresh-5KGGHTJP-C8QGCTrU.js");
    return {
      default: t
    }
  }, [])).default, XW = () => Lr(EE), ZW = () => b.createElement(it, {
    background: "#515a70",
    borderColor: "generalBorder",
    borderRadius: "10",
    height: "48",
    src: EE,
    width: "48"
  }), SE = async () => (await ee(async () => {
    const {
      default: t
    } = await import("./scan-HZBLXLM4-DsV3US5d.js");
    return {
      default: t
    }
  }, [])).default, kE = () => Lr(SE), e$ = () => b.createElement(it, {
    background: "#515a70",
    borderColor: "generalBorder",
    borderRadius: "10",
    height: "48",
    src: SE,
    width: "48"
  }), t$ = "_1vwt0cg0", r$ = "_1vwt0cg2 ju367v7a ju367v7v", n$ = "_1vwt0cg3", i$ = "_1vwt0cg4", s$ = (t, e) => {
    const r = Array.prototype.slice.call(Za.create(t, {
        errorCorrectionLevel: e
      }).modules.data, 0),
      n = Math.sqrt(r.length);
    return r.reduce((i, s, o) => (o % n === 0 ? i.push([s]) : i[i.length - 1].push(s)) && i, [])
  };

function jE({
  ecl: t = "M",
  logoBackground: e,
  logoMargin: r = 10,
  logoSize: n = 50,
  logoUrl: i,
  size: s = 200,
  uri: o
}) {
  const a = "20",
    l = s - parseInt(a, 10) * 2,
    u = k.useMemo(() => {
      const f = [],
        B = s$(o, t),
        h = l / B.length;
      [{
        x: 0,
        y: 0
      }, {
        x: 1,
        y: 0
      }, {
        x: 0,
        y: 1
      }].forEach(({
        x: v,
        y: w
      }) => {
        const D = (B.length - 7) * h * v,
          x = (B.length - 7) * h * w;
        for (let C = 0; C < 3; C++) f.push(b.createElement("rect", {
          fill: C % 2 !== 0 ? "white" : "black",
          height: h * (7 - C * 2),
          key: `${C}-${v}-${w}`,
          rx: (C - 2) * -5 + (C === 0 ? 2 : 0),
          ry: (C - 2) * -5 + (C === 0 ? 2 : 0),
          width: h * (7 - C * 2),
          x: D + h * C,
          y: x + h * C
        }))
      });
      const y = Math.floor((n + 25) / h),
        m = B.length / 2 - y / 2,
        p = B.length / 2 + y / 2 - 1;
      return B.forEach((v, w) => {
        v.forEach((D, x) => {
          B[w][x] && (w < 7 && x < 7 || w > B.length - 8 && x < 7 || w < 7 && x > B.length - 8 || w > m && w < p && x > m && x < p || f.push(b.createElement("circle", {
            cx: w * h + h / 2,
            cy: x * h + h / 2,
            fill: "black",
            key: `circle-${w}-${x}`,
            r: h / 3
          })))
        })
      }), f
    }, [t, n, l, o]),
    c = l / 2 - n / 2,
    d = n + r * 2;
  return b.createElement(j, {
    borderColor: "generalBorder",
    borderRadius: "menuButton",
    borderStyle: "solid",
    borderWidth: "1",
    className: t$,
    padding: a,
    width: "max"
  }, b.createElement(j, {
    style: {
      height: l,
      userSelect: "none",
      width: l
    },
    userSelect: "none"
  }, b.createElement(j, {
    display: "flex",
    justifyContent: "center",
    position: "relative",
    style: {
      height: 0,
      top: c,
      width: l
    },
    width: "full"
  }, b.createElement(it, {
    background: e,
    borderColor: {
      custom: "rgba(0, 0, 0, 0.06)"
    },
    borderRadius: "13",
    height: n,
    src: i,
    width: n
  })), b.createElement("svg", {
    height: l,
    style: {
      all: "revert"
    },
    width: l
  }, b.createElement("title", null, "QR Code"), b.createElement("defs", null, b.createElement("clipPath", {
    id: "clip-wrapper"
  }, b.createElement("rect", {
    height: d,
    width: d
  })), b.createElement("clipPath", {
    id: "clip-logo"
  }, b.createElement("rect", {
    height: n,
    width: n
  }))), b.createElement("rect", {
    fill: "transparent",
    height: l,
    width: l
  }), u)))
}
var AE = async () => {
  switch ($m()) {
    case "Arc":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./Arc-QDJFTGH2-CMIt7t_M.js");
        return {
          default: e
        }
      }, [])).default;
    case "Brave":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./Brave-YATE5BIM-BT0QgSna.js");
        return {
          default: e
        }
      }, [])).default;
    case "Chrome":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./Chrome-LGF33C3S-BAtiMVmP.js");
        return {
          default: e
        }
      }, [])).default;
    case "Edge":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./Edge-K2JEGI5S-CaW1Fen3.js");
        return {
          default: e
        }
      }, [])).default;
    case "Firefox":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./Firefox-NP5SYEK5-BKk6Wa02.js");
        return {
          default: e
        }
      }, [])).default;
    case "Opera":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./Opera-KV54PXPA-BCqqyEOJ.js");
        return {
          default: e
        }
      }, [])).default;
    case "Safari":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./Safari-2QIYKJ4P-CgF0kJQK.js");
        return {
          default: e
        }
      }, [])).default;
    default:
      return (await ee(async () => {
        const {
          default: e
        } = await import("./Browser-HN7O5MN7-BIvPkI4Y.js");
        return {
          default: e
        }
      }, [])).default
  }
}, o$ = () => Lr(AE), PE = async () => {
  switch (Gm()) {
    case "Windows":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./Windows-R3CKAIUV-DfNT6Oej.js");
        return {
          default: e
        }
      }, [])).default;
    case "macOS":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./Macos-2KTZ2XLP-bkMn-PIg.js");
        return {
          default: e
        }
      }, [])).default;
    case "Linux":
      return (await ee(async () => {
        const {
          default: e
        } = await import("./Linux-NS2LQPT4-9fsHcAq6.js");
        return {
          default: e
        }
      }, [])).default;
    default:
      return (await ee(async () => {
        const {
          default: e
        } = await import("./Linux-NS2LQPT4-9fsHcAq6.js");
        return {
          default: e
        }
      }, [])).default
  }
}, a$ = () => Lr(PE);

function l$({
  getWalletDownload: t,
  compactModeEnabled: e
}) {
  const n = Jd().splice(0, 5),
    {
      i18n: i
    } = k.useContext(ot);
  return b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    height: "full",
    marginTop: "18",
    width: "full"
  }, b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: "28",
    height: "full",
    width: "full"
  }, n == null ? void 0 : n.filter(s => {
    var o;
    return s.extensionDownloadUrl || s.desktopDownloadUrl || s.qrCode && ((o = s.downloadUrls) == null ? void 0 : o.qrCode)
  }).map(s => {
    const {
      downloadUrls: o,
      iconBackground: a,
      iconUrl: l,
      id: u,
      name: c,
      qrCode: d
    } = s, f = (o == null ? void 0 : o.qrCode) && d, B = !!s.extensionDownloadUrl, h = (o == null ? void 0 : o.qrCode) && B, g = (o == null ? void 0 : o.qrCode) && !!s.desktopDownloadUrl;
    return b.createElement(j, {
      alignItems: "center",
      display: "flex",
      gap: "16",
      justifyContent: "space-between",
      key: s.id,
      width: "full"
    }, b.createElement(j, {
      alignItems: "center",
      display: "flex",
      flexDirection: "row",
      gap: "16"
    }, b.createElement(it, {
      background: a,
      borderColor: "actionButtonBorder",
      borderRadius: "10",
      height: "48",
      src: l,
      width: "48"
    }), b.createElement(j, {
      display: "flex",
      flexDirection: "column",
      gap: "2"
    }, b.createElement(J, {
      color: "modalText",
      size: "14",
      weight: "bold"
    }, c), b.createElement(J, {
      color: "modalTextSecondary",
      size: "14",
      weight: "medium"
    }, h ? i.t("get.mobile_and_extension.description") : g ? i.t("get.mobile_and_desktop.description") : f ? i.t("get.mobile.description") : B ? i.t("get.extension.description") : null))), b.createElement(j, {
      display: "flex",
      flexDirection: "column",
      gap: "4"
    }, b.createElement(jt, {
      label: i.t("get.action.label"),
      onClick: () => t(u),
      type: "secondary"
    })))
  })), b.createElement(j, {
    alignItems: "center",
    borderRadius: "10",
    display: "flex",
    flexDirection: "column",
    gap: "8",
    justifyContent: "space-between",
    marginBottom: "4",
    paddingY: "8",
    style: {
      maxWidth: 275,
      textAlign: "center"
    }
  }, b.createElement(J, {
    color: "modalText",
    size: "14",
    weight: "bold"
  }, i.t("get.looking_for.title")), b.createElement(J, {
    color: "modalTextSecondary",
    size: "14",
    weight: "medium"
  }, e ? i.t("get.looking_for.desktop.compact_description") : i.t("get.looking_for.desktop.wide_description"))))
}
var yB = "44";

function u$({
  changeWalletStep: t,
  compactModeEnabled: e,
  connectionError: r,
  onClose: n,
  qrCodeUri: i,
  reconnect: s,
  wallet: o
}) {
  var a;
  const {
    downloadUrls: l,
    iconBackground: u,
    iconUrl: c,
    name: d,
    qrCode: f,
    ready: B,
    showWalletConnectModal: h
  } = o, g = (a = o.desktop) == null ? void 0 : a.getUri, y = Wm(), {
    i18n: m
  } = k.useContext(ot), p = !!o.extensionDownloadUrl, v = (l == null ? void 0 : l.qrCode) && p, w = (l == null ? void 0 : l.qrCode) && !!o.desktopDownloadUrl, D = f && i, x = h ? {
    description: e ? m.t("connect.walletconnect.description.compact") : m.t("connect.walletconnect.description.full"),
    label: m.t("connect.walletconnect.open.label"),
    onClick: () => {
      n(), h()
    }
  } : D ? {
    description: m.t("connect.secondary_action.get.description", {
      wallet: d
    }),
    label: m.t("connect.secondary_action.get.label"),
    onClick: () => t(v || w ? "DOWNLOAD_OPTIONS" : "DOWNLOAD")
  } : null, {
    width: C
  } = sE(), S = C && C < 768;
  return k.useEffect(() => {
    o$(), a$()
  }, []), b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    height: "full",
    width: "full"
  }, D ? b.createElement(j, {
    alignItems: "center",
    display: "flex",
    height: "full",
    justifyContent: "center"
  }, b.createElement(jE, {
    logoBackground: u,
    logoSize: e ? 60 : 72,
    logoUrl: c,
    size: e ? 318 : S ? Math.max(280, Math.min(C - 308, 382)) : 382,
    uri: i
  })) : b.createElement(j, {
    alignItems: "center",
    display: "flex",
    justifyContent: "center",
    style: {
      flexGrow: 1
    }
  }, b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: "8"
  }, b.createElement(j, {
    borderRadius: "10",
    height: yB,
    overflow: "hidden"
  }, b.createElement(it, {
    height: yB,
    src: c,
    width: yB
  })), b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: "4",
    paddingX: "32",
    style: {
      textAlign: "center"
    }
  }, b.createElement(J, {
    color: "modalText",
    size: "18",
    weight: "bold"
  }, B ? m.t("connect.status.opening", {
    wallet: d
  }) : p ? m.t("connect.status.not_installed", {
    wallet: d
  }) : m.t("connect.status.not_available", {
    wallet: d
  })), !B && p ? b.createElement(j, {
    paddingTop: "20"
  }, b.createElement(jt, {
    href: o.extensionDownloadUrl,
    label: m.t("connect.secondary_action.install.label"),
    type: "secondary"
  })) : null, B && !D && b.createElement(b.Fragment, null, b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    justifyContent: "center"
  }, b.createElement(J, {
    color: "modalTextSecondary",
    size: "14",
    textAlign: "center",
    weight: "medium"
  }, m.t("connect.status.confirm"))), b.createElement(j, {
    alignItems: "center",
    color: "modalText",
    display: "flex",
    flexDirection: "row",
    height: "32",
    marginTop: "8"
  }, r ? b.createElement(jt, {
    label: m.t("connect.secondary_action.retry.label"),
    onClick: g ? async () => {
      const A = await g();
      window.open(A, y ? "_blank" : "_self")
    } : () => {
      s(o)
    }
  }) : b.createElement(j, {
    color: "modalTextSecondary"
  }, b.createElement(ka, null))))))), b.createElement(j, {
    alignItems: "center",
    borderRadius: "10",
    display: "flex",
    flexDirection: "row",
    gap: "8",
    height: "28",
    justifyContent: "space-between",
    marginTop: "12"
  }, B && x && b.createElement(b.Fragment, null, b.createElement(J, {
    color: "modalTextSecondary",
    size: "14",
    weight: "medium"
  }, x.description), b.createElement(jt, {
    label: x.label,
    onClick: x.onClick,
    type: "secondary"
  }))))
}
var wB = ({
  actionLabel: t,
  description: e,
  iconAccent: r,
  iconBackground: n,
  iconUrl: i,
  isCompact: s,
  onAction: o,
  title: a,
  url: l,
  variant: u
}) => {
  const c = u === "browser",
    d = !c && r && VW(r);
  return b.createElement(j, {
    alignItems: "center",
    borderRadius: "13",
    display: "flex",
    justifyContent: "center",
    overflow: "hidden",
    paddingX: s ? "18" : "44",
    position: "relative",
    style: {
      flex: 1,
      isolation: "isolate"
    },
    width: "full"
  }, b.createElement(j, {
    borderColor: "actionButtonBorder",
    borderRadius: "13",
    borderStyle: "solid",
    borderWidth: "1",
    style: {
      bottom: "0",
      left: "0",
      position: "absolute",
      right: "0",
      top: "0",
      zIndex: 1
    }
  }), c && b.createElement(j, {
    background: "downloadTopCardBackground",
    height: "full",
    position: "absolute",
    style: {
      zIndex: 0
    },
    width: "full"
  }, b.createElement(j, {
    display: "flex",
    flexDirection: "row",
    justifyContent: "space-between",
    style: {
      bottom: "0",
      filter: "blur(20px)",
      left: "0",
      position: "absolute",
      right: "0",
      top: "0",
      transform: "translate3d(0, 0, 0)"
    }
  }, b.createElement(j, {
    style: {
      filter: "blur(100px)",
      marginLeft: -27,
      marginTop: -20,
      opacity: .6,
      transform: "translate3d(0, 0, 0)"
    }
  }, b.createElement(it, {
    borderRadius: "full",
    height: "200",
    src: i,
    width: "200"
  })), b.createElement(j, {
    style: {
      filter: "blur(100px)",
      marginRight: 0,
      marginTop: 105,
      opacity: .6,
      overflow: "auto",
      transform: "translate3d(0, 0, 0)"
    }
  }, b.createElement(it, {
    borderRadius: "full",
    height: "200",
    src: i,
    width: "200"
  })))), !c && d && b.createElement(j, {
    background: "downloadBottomCardBackground",
    style: {
      bottom: "0",
      left: "0",
      position: "absolute",
      right: "0",
      top: "0"
    }
  }, b.createElement(j, {
    position: "absolute",
    style: {
      background: `radial-gradient(50% 50% at 50% 50%, ${d[0]} 0%, ${d[1]} 25%, rgba(0,0,0,0) 100%)`,
      height: 564,
      left: -215,
      top: -197,
      transform: "translate3d(0, 0, 0)",
      width: 564
    }
  }), b.createElement(j, {
    position: "absolute",
    style: {
      background: `radial-gradient(50% 50% at 50% 50%, ${d[2]} 0%, rgba(0, 0, 0, 0) 100%)`,
      height: 564,
      left: -1,
      top: -76,
      transform: "translate3d(0, 0, 0)",
      width: 564
    }
  })), b.createElement(j, {
    alignItems: "flex-start",
    display: "flex",
    flexDirection: "row",
    gap: "24",
    height: "max",
    justifyContent: "center",
    style: {
      zIndex: 1
    }
  }, b.createElement(j, null, b.createElement(it, {
    height: "60",
    src: i,
    width: "60",
    ...n ? {
      background: n,
      borderColor: "generalBorder",
      borderRadius: "10"
    } : null
  })), b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    gap: "4",
    style: {
      flex: 1
    },
    width: "full"
  }, b.createElement(J, {
    color: "modalText",
    size: "14",
    weight: "bold"
  }, a), b.createElement(J, {
    color: "modalTextSecondary",
    size: "14",
    weight: "medium"
  }, e), b.createElement(j, {
    marginTop: "14",
    width: "max"
  }, b.createElement(jt, {
    href: l,
    label: t,
    onClick: o,
    size: "medium"
  })))))
};

function c$({
  changeWalletStep: t,
  wallet: e
}) {
  const r = $m(),
    n = Gm(),
    s = k.useContext(Qd) === "compact",
    {
      desktop: o,
      desktopDownloadUrl: a,
      extension: l,
      extensionDownloadUrl: u,
      mobileDownloadUrl: c
    } = e,
    {
      i18n: d
    } = k.useContext(ot);
  return k.useEffect(() => {
    xE(), kE(), XW(), QW()
  }, []), b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: "24",
    height: "full",
    marginBottom: "8",
    marginTop: "4",
    width: "full"
  }, b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: "8",
    height: "full",
    justifyContent: "center",
    width: "full"
  }, u && b.createElement(wB, {
    actionLabel: d.t("get_options.extension.download.label", {
      browser: r
    }),
    description: d.t("get_options.extension.description"),
    iconUrl: AE,
    isCompact: s,
    onAction: () => t(l != null && l.instructions ? "INSTRUCTIONS_EXTENSION" : "CONNECT"),
    title: d.t("get_options.extension.title", {
      wallet: e.name,
      browser: r
    }),
    url: u,
    variant: "browser"
  }), a && b.createElement(wB, {
    actionLabel: d.t("get_options.desktop.download.label", {
      platform: n
    }),
    description: d.t("get_options.desktop.description"),
    iconUrl: PE,
    isCompact: s,
    onAction: () => t(o != null && o.instructions ? "INSTRUCTIONS_DESKTOP" : "CONNECT"),
    title: d.t("get_options.desktop.title", {
      wallet: e.name,
      platform: n
    }),
    url: a,
    variant: "desktop"
  }), c && b.createElement(wB, {
    actionLabel: d.t("get_options.mobile.download.label", {
      wallet: e.name
    }),
    description: d.t("get_options.mobile.description"),
    iconAccent: e.iconAccent,
    iconBackground: e.iconBackground,
    iconUrl: e.iconUrl,
    isCompact: s,
    onAction: () => {
      t("DOWNLOAD")
    },
    title: d.t("get_options.mobile.title", {
      wallet: e.name
    }),
    variant: "app"
  })))
}

function d$({
  changeWalletStep: t,
  wallet: e
}) {
  const {
    downloadUrls: r,
    qrCode: n
  } = e, {
    i18n: i
  } = k.useContext(ot);
  return k.useEffect(() => {
    xE(), kE()
  }, []), b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: "24",
    height: "full",
    width: "full"
  }, b.createElement(j, {
    style: {
      maxWidth: 220,
      textAlign: "center"
    }
  }, b.createElement(J, {
    color: "modalTextSecondary",
    size: "14",
    weight: "semibold"
  }, i.t("get_mobile.description"))), b.createElement(j, {
    height: "full"
  }, r != null && r.qrCode ? b.createElement(jE, {
    logoSize: 0,
    size: 268,
    uri: r.qrCode
  }) : null), b.createElement(j, {
    alignItems: "center",
    borderRadius: "10",
    display: "flex",
    flexDirection: "row",
    gap: "8",
    height: "34",
    justifyContent: "space-between",
    marginBottom: "12",
    paddingY: "8"
  }, b.createElement(jt, {
    label: i.t("get_mobile.continue.label"),
    onClick: () => t(n != null && n.instructions ? "INSTRUCTIONS_MOBILE" : "CONNECT")
  })))
}
var Os = {
  connect: () => b.createElement(JW, null),
  create: () => b.createElement(YW, null),
  install: t => b.createElement(it, {
    background: t.iconBackground,
    borderColor: "generalBorder",
    borderRadius: "10",
    height: "48",
    src: t.iconUrl,
    width: "48"
  }),
  refresh: () => b.createElement(ZW, null),
  scan: () => b.createElement(e$, null)
};

function f$({
  connectWallet: t,
  wallet: e
}) {
  var r, n, i, s;
  const {
    i18n: o
  } = k.useContext(ot);
  return b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    height: "full",
    width: "full"
  }, b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    gap: "28",
    height: "full",
    justifyContent: "center",
    paddingY: "32",
    style: {
      maxWidth: 320
    }
  }, (n = (r = e == null ? void 0 : e.qrCode) == null ? void 0 : r.instructions) == null ? void 0 : n.steps.map((a, l) => {
    var u;
    return b.createElement(j, {
      alignItems: "center",
      display: "flex",
      flexDirection: "row",
      gap: "16",
      key: l
    }, b.createElement(j, {
      borderRadius: "10",
      height: "48",
      minWidth: "48",
      overflow: "hidden",
      position: "relative",
      width: "48"
    }, (u = Os[a.step]) == null ? void 0 : u.call(Os, e)), b.createElement(j, {
      display: "flex",
      flexDirection: "column",
      gap: "4"
    }, b.createElement(J, {
      color: "modalText",
      size: "14",
      weight: "bold"
    }, o.t(a.title)), b.createElement(J, {
      color: "modalTextSecondary",
      size: "14",
      weight: "medium"
    }, o.t(a.description))))
  })), b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: "12",
    justifyContent: "center",
    marginBottom: "16"
  }, b.createElement(jt, {
    label: o.t("get_instructions.mobile.connect.label"),
    onClick: () => t(e)
  }), b.createElement(j, {
    as: "a",
    className: Je({
      active: "shrink",
      hover: "grow"
    }),
    display: "block",
    href: (s = (i = e == null ? void 0 : e.qrCode) == null ? void 0 : i.instructions) == null ? void 0 : s.learnMoreUrl,
    paddingX: "12",
    paddingY: "4",
    rel: "noreferrer",
    style: {
      willChange: "transform"
    },
    target: "_blank",
    transition: "default"
  }, b.createElement(J, {
    color: "accentColor",
    size: "14",
    weight: "bold"
  }, o.t("get_instructions.mobile.learn_more.label")))))
}

function B$({
  wallet: t
}) {
  var e, r, n, i;
  const {
    i18n: s
  } = k.useContext(ot);
  return b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    height: "full",
    width: "full"
  }, b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    gap: "28",
    height: "full",
    justifyContent: "center",
    paddingY: "32",
    style: {
      maxWidth: 320
    }
  }, (r = (e = t == null ? void 0 : t.extension) == null ? void 0 : e.instructions) == null ? void 0 : r.steps.map((o, a) => {
    var l;
    return b.createElement(j, {
      alignItems: "center",
      display: "flex",
      flexDirection: "row",
      gap: "16",
      key: a
    }, b.createElement(j, {
      borderRadius: "10",
      height: "48",
      minWidth: "48",
      overflow: "hidden",
      position: "relative",
      width: "48"
    }, (l = Os[o.step]) == null ? void 0 : l.call(Os, t)), b.createElement(j, {
      display: "flex",
      flexDirection: "column",
      gap: "4"
    }, b.createElement(J, {
      color: "modalText",
      size: "14",
      weight: "bold"
    }, s.t(o.title)), b.createElement(J, {
      color: "modalTextSecondary",
      size: "14",
      weight: "medium"
    }, s.t(o.description))))
  })), b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: "12",
    justifyContent: "center",
    marginBottom: "16"
  }, b.createElement(jt, {
    label: s.t("get_instructions.extension.refresh.label"),
    onClick: window.location.reload.bind(window.location)
  }), b.createElement(j, {
    as: "a",
    className: Je({
      active: "shrink",
      hover: "grow"
    }),
    display: "block",
    href: (i = (n = t == null ? void 0 : t.extension) == null ? void 0 : n.instructions) == null ? void 0 : i.learnMoreUrl,
    paddingX: "12",
    paddingY: "4",
    rel: "noreferrer",
    style: {
      willChange: "transform"
    },
    target: "_blank",
    transition: "default"
  }, b.createElement(J, {
    color: "accentColor",
    size: "14",
    weight: "bold"
  }, s.t("get_instructions.extension.learn_more.label")))))
}

function h$({
  connectWallet: t,
  wallet: e
}) {
  var r, n, i, s;
  const {
    i18n: o
  } = k.useContext(ot);
  return b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    height: "full",
    width: "full"
  }, b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    gap: "28",
    height: "full",
    justifyContent: "center",
    paddingY: "32",
    style: {
      maxWidth: 320
    }
  }, (n = (r = e == null ? void 0 : e.desktop) == null ? void 0 : r.instructions) == null ? void 0 : n.steps.map((a, l) => {
    var u;
    return b.createElement(j, {
      alignItems: "center",
      display: "flex",
      flexDirection: "row",
      gap: "16",
      key: l
    }, b.createElement(j, {
      borderRadius: "10",
      height: "48",
      minWidth: "48",
      overflow: "hidden",
      position: "relative",
      width: "48"
    }, (u = Os[a.step]) == null ? void 0 : u.call(Os, e)), b.createElement(j, {
      display: "flex",
      flexDirection: "column",
      gap: "4"
    }, b.createElement(J, {
      color: "modalText",
      size: "14",
      weight: "bold"
    }, o.t(a.title)), b.createElement(J, {
      color: "modalTextSecondary",
      size: "14",
      weight: "medium"
    }, o.t(a.description))))
  })), b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: "12",
    justifyContent: "center",
    marginBottom: "16"
  }, b.createElement(jt, {
    label: o.t("get_instructions.desktop.connect.label"),
    onClick: () => t(e)
  }), b.createElement(j, {
    as: "a",
    className: Je({
      active: "shrink",
      hover: "grow"
    }),
    display: "block",
    href: (s = (i = e == null ? void 0 : e.desktop) == null ? void 0 : i.instructions) == null ? void 0 : s.learnMoreUrl,
    paddingX: "12",
    paddingY: "4",
    rel: "noreferrer",
    style: {
      willChange: "transform"
    },
    target: "_blank",
    transition: "default"
  }, b.createElement(J, {
    color: "accentColor",
    size: "14",
    weight: "bold"
  }, o.t("get_instructions.desktop.learn_more.label")))))
}

function p$({
  onClose: t
}) {
  const e = "rk_connect_title",
    r = Wm(),
    [n, i] = k.useState(),
    [s, o] = k.useState(),
    [a, l] = k.useState(),
    u = !!(s != null && s.qrCode) && a,
    [c, d] = k.useState(!1),
    B = k.useContext(Qd) === ll.COMPACT,
    {
      disclaimer: h
    } = k.useContext(Xs),
    {
      i18n: g
    } = k.useContext(ot),
    y = k.useRef(!1),
    {
      connector: m
    } = k.useContext(al),
    p = Jd().filter(N => N.ready || !!N.extensionDownloadUrl).sort((N, V) => N.groupIndex - V.groupIndex),
    v = LW(p, N => N.groupName),
    w = ["Recommended", "Other", "Popular", "More", "Others"];
  k.useEffect(() => {
    m && !y.current && (A("CONNECT"), x(m), y.current = !0)
  }, [m]);
  const D = N => {
      var V, K, M;
      if (d(!1), N.ready) {
        (K = (V = N == null ? void 0 : N.connect) == null ? void 0 : V.call(N)) == null || K.catch(() => {
          d(!0)
        });
        const X = (M = N.desktop) == null ? void 0 : M.getUri;
        X && setTimeout(async () => {
          const te = await X();
          window.open(te, r ? "_blank" : "_self")
        }, 0)
      }
    },
    x = N => {
      var V;
      if (zW(N.id), D(N), i(N.id), N.ready) {
        let K = !1;
        (V = N == null ? void 0 : N.onConnecting) == null || V.call(N, async () => {
          var M, X;
          if (K) return;
          K = !0;
          const te = p.find(pe => N.id === pe.id),
            ne = await ((M = te == null ? void 0 : te.qrCode) == null ? void 0 : M.getUri());
          l(ne), setTimeout(() => {
            o(te), A("CONNECT")
          }, ne ? 0 : 50);
          const ce = await (te == null ? void 0 : te.connector.getProvider()),
            fe = (X = ce == null ? void 0 : ce.signer) == null ? void 0 : X.connection;
          if (fe != null && fe.on && (fe != null && fe.off)) {
            const pe = () => {
                me(), x(N)
              },
              me = () => {
                fe.off("close", pe), fe.off("open", me)
              };
            fe.on("close", pe), fe.on("open", me)
          }
        })
      } else o(N), A(N != null && N.extensionDownloadUrl ? "DOWNLOAD_OPTIONS" : "CONNECT")
    },
    C = N => {
      var V;
      i(N);
      const K = p.find(ne => N === ne.id),
        M = (V = K == null ? void 0 : K.downloadUrls) == null ? void 0 : V.qrCode,
        X = !!(K != null && K.desktopDownloadUrl),
        te = !!(K != null && K.extensionDownloadUrl);
      o(K), A(M && (te || X) ? "DOWNLOAD_OPTIONS" : M ? "DOWNLOAD" : X ? "INSTRUCTIONS_DESKTOP" : "INSTRUCTIONS_EXTENSION")
    },
    S = () => {
      i(void 0), o(void 0), l(void 0)
    },
    A = (N, V = !1) => {
      V && N === "GET" && P === "GET" ? S() : !V && N === "GET" ? _("GET") : !V && N === "CONNECT" && _("CONNECT"), T(N)
    },
    [P, _] = k.useState("NONE"),
    [O, T] = k.useState("NONE");
  let F = null,
    G = null,
    z = null,
    L;
  k.useEffect(() => {
    d(!1)
  }, [O, s]);
  const H = !!(!!(s != null && s.extensionDownloadUrl) && (s != null && s.mobileDownloadUrl));
  switch (O) {
    case "NONE":
      F = b.createElement(T2, {
        getWallet: () => A("GET")
      });
      break;
    case "LEARN_COMPACT":
      F = b.createElement(T2, {
        compactModeEnabled: B,
        getWallet: () => A("GET")
      }), G = g.t("intro.title"), z = "NONE";
      break;
    case "GET":
      F = b.createElement(l$, {
        getWalletDownload: C,
        compactModeEnabled: B
      }), G = g.t("get.title"), z = B ? "LEARN_COMPACT" : "NONE";
      break;
    case "CONNECT":
      F = s && b.createElement(u$, {
        changeWalletStep: A,
        compactModeEnabled: B,
        connectionError: c,
        onClose: t,
        qrCodeUri: a,
        reconnect: D,
        wallet: s
      }), G = u && (s.name === "WalletConnect" ? g.t("connect_scan.fallback_title") : g.t("connect_scan.title", {
        wallet: s.name
      })), z = B ? m ? null : "NONE" : null, L = B ? m ? () => {} : S : () => {};
      break;
    case "DOWNLOAD_OPTIONS":
      F = s && b.createElement(c$, {
        changeWalletStep: A,
        wallet: s
      }), G = s && g.t("get_options.short_title", {
        wallet: s.name
      }), z = m ? "CONNECT" : B ? "NONE" : null;
      break;
    case "DOWNLOAD":
      F = s && b.createElement(d$, {
        changeWalletStep: A,
        wallet: s
      }), G = s && g.t("get_mobile.title", {
        wallet: s.name
      }), z = H ? "DOWNLOAD_OPTIONS" : P;
      break;
    case "INSTRUCTIONS_MOBILE":
      F = s && b.createElement(f$, {
        connectWallet: x,
        wallet: s
      }), G = s && g.t("get_options.title", {
        wallet: B && s.shortName || s.name
      }), z = "DOWNLOAD";
      break;
    case "INSTRUCTIONS_EXTENSION":
      F = s && b.createElement(B$, {
        wallet: s
      }), G = s && g.t("get_options.title", {
        wallet: B && s.shortName || s.name
      }), z = "DOWNLOAD_OPTIONS";
      break;
    case "INSTRUCTIONS_DESKTOP":
      F = s && b.createElement(h$, {
        connectWallet: x,
        wallet: s
      }), G = s && g.t("get_options.title", {
        wallet: B && s.shortName || s.name
      }), z = "DOWNLOAD_OPTIONS";
      break
  }
  return b.createElement(j, {
    display: "flex",
    flexDirection: "row",
    style: {
      maxHeight: B ? 468 : 504
    }
  }, (B ? O === "NONE" : !0) && b.createElement(j, {
    className: B ? i$ : n$,
    display: "flex",
    flexDirection: "column",
    marginTop: "16"
  }, b.createElement(j, {
    display: "flex",
    justifyContent: "space-between"
  }, B && h && b.createElement(j, {
    marginLeft: "16",
    width: "28"
  }, b.createElement($W, {
    onClick: () => A("LEARN_COMPACT")
  })), B && !h && b.createElement(j, {
    marginLeft: "16",
    width: "28"
  }), b.createElement(j, {
    marginLeft: B ? "0" : "6",
    paddingBottom: "8",
    paddingTop: "2",
    paddingX: "18"
  }, b.createElement(J, {
    as: "h1",
    color: "modalText",
    id: e,
    size: "18",
    weight: "heavy",
    testId: "connect-header-label"
  }, g.t("connect.title"))), B && b.createElement(j, {
    marginRight: "16"
  }, b.createElement(Si, {
    onClose: t
  }))), b.createElement(j, {
    className: r$,
    paddingBottom: "18"
  }, Object.entries(v).map(([N, V], K) => V.length > 0 && b.createElement(k.Fragment, {
    key: K
  }, N ? b.createElement(j, {
    marginBottom: "8",
    marginTop: "16",
    marginX: "6"
  }, b.createElement(J, {
    color: "modalTextSecondary",
    size: "14",
    weight: "bold"
  }, w.includes(N) ? g.t(`connector_group.${N.toLowerCase()}`) : N)) : null, b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    gap: "4"
  }, V.map(M => b.createElement(wE, {
    currentlySelected: M.id === n,
    iconBackground: M.iconBackground,
    iconUrl: M.iconUrl,
    key: M.id,
    name: M.name,
    onClick: () => x(M),
    ready: M.ready,
    recent: M.recent,
    testId: `wallet-option-${M.id}`
  })))))), B && b.createElement(b.Fragment, null, b.createElement(j, {
    background: "generalBorder",
    height: "1",
    marginTop: "-1"
  }), h ? b.createElement(j, {
    paddingX: "24",
    paddingY: "16",
    textAlign: "center"
  }, b.createElement(h, {
    Link: qm,
    Text: Vm
  })) : b.createElement(j, {
    alignItems: "center",
    display: "flex",
    justifyContent: "space-between",
    paddingX: "24",
    paddingY: "16"
  }, b.createElement(j, {
    paddingY: "4"
  }, b.createElement(J, {
    color: "modalTextSecondary",
    size: "14",
    weight: "medium"
  }, g.t("connect.new_to_ethereum.description"))), b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "row",
    gap: "4",
    justifyContent: "center"
  }, b.createElement(j, {
    className: Je({
      active: "shrink",
      hover: "grow"
    }),
    cursor: "pointer",
    onClick: () => A("LEARN_COMPACT"),
    paddingY: "4",
    style: {
      willChange: "transform"
    },
    transition: "default"
  }, b.createElement(J, {
    color: "accentColor",
    size: "14",
    weight: "bold"
  }, g.t("connect.new_to_ethereum.learn_more.label"))))))), (B ? O !== "NONE" : !0) && b.createElement(b.Fragment, null, !B && b.createElement(j, {
    background: "generalBorder",
    minWidth: "1",
    width: "1"
  }), b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    margin: "16",
    style: {
      flexGrow: 1
    }
  }, b.createElement(j, {
    alignItems: "center",
    display: "flex",
    justifyContent: "space-between",
    marginBottom: "12"
  }, b.createElement(j, {
    width: "28"
  }, z && b.createElement(j, {
    as: "button",
    className: Je({
      active: "shrinkSm",
      hover: "growLg"
    }),
    color: "accentColor",
    onClick: () => {
      z && A(z, !0), L == null || L()
    },
    paddingX: "8",
    paddingY: "4",
    style: {
      boxSizing: "content-box",
      height: 17,
      willChange: "transform"
    },
    transition: "default",
    type: "button"
  }, b.createElement(vE, null))), b.createElement(j, {
    display: "flex",
    justifyContent: "center",
    style: {
      flexGrow: 1
    }
  }, G && b.createElement(J, {
    color: "modalText",
    size: "18",
    textAlign: "center",
    weight: "heavy"
  }, G)), b.createElement(Si, {
    onClose: t
  })), b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    style: {
      minHeight: B ? 396 : 432
    }
  }, b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    gap: "6",
    height: "full",
    justifyContent: "center",
    marginX: "8"
  }, F)))))
}
var C$ = "_1am14412",
  m$ = "_1am14410",
  g$ = "_1am14413",
  v$ = ({
    wallet: t
  }) => b.createElement("svg", {
    className: g$,
    viewBox: "0 0 86 86",
    width: "86",
    height: "86"
  }, b.createElement("title", null, "Loading"), b.createElement("rect", {
    x: "3",
    y: "3",
    width: 80,
    height: 80,
    rx: 20,
    ry: 20,
    strokeDasharray: `${160/3} ${2*160/3}`,
    strokeDashoffset: 160,
    className: C$,
    style: {
      stroke: (t == null ? void 0 : t.iconAccent) || "#0D3887"
    }
  }));

function _E({
  onClose: t,
  wallet: e,
  connecting: r
}) {
  const {
    connect: n,
    connector: i,
    iconBackground: s,
    iconUrl: o,
    id: a,
    mobile: l,
    name: u,
    onConnecting: c,
    ready: d,
    shortName: f
  } = e, B = l == null ? void 0 : l.getUri, h = yE(o), g = k.useRef(!1), {
    i18n: y
  } = k.useContext(ot), m = k.useCallback(async () => {
    var p;
    a === "walletConnect" && (t == null || t()), (p = n == null ? void 0 : n()) == null || p.catch(() => {});
    let v = !1;
    c == null || c(async () => {
      if (!v && (v = !0, B)) {
        const w = await B();
        if ((i.id === "walletConnect" || i.id === "walletConnectLegacy") && oW({
            mobileUri: w,
            name: u
          }), w.startsWith("http")) {
          const D = document.createElement("a");
          D.href = w, D.target = "_blank", D.rel = "noreferrer noopener", D.click()
        } else window.location.href = w
      }
    })
  }, [i, n, B, c, t, u, a]);
  return k.useEffect(() => {
    r && !g.current && (m(), g.current = !0)
  }, [r, m]), b.createElement(j, {
    as: "button",
    color: d ? "modalText" : "modalTextSecondary",
    disabled: !d,
    fontFamily: "body",
    key: a,
    onClick: m,
    ref: h,
    style: {
      overflow: "visible",
      textAlign: "center"
    },
    testId: `wallet-option-${a}`,
    type: "button",
    width: "full"
  }, b.createElement(j, {
    alignItems: "center",
    display: "flex",
    flexDirection: "column",
    justifyContent: "center"
  }, b.createElement(j, {
    display: "flex",
    alignItems: "center",
    justifyContent: "center",
    paddingBottom: "8",
    paddingTop: "10",
    position: "relative"
  }, r ? b.createElement(v$, {
    wallet: e
  }) : null, b.createElement(it, {
    background: s,
    borderRadius: "13",
    boxShadow: "walletLogo",
    height: "60",
    src: o,
    width: "60"
  })), r ? null : b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    textAlign: "center"
  }, b.createElement(J, {
    as: "h2",
    color: e.ready ? "modalText" : "modalTextSecondary",
    size: "13",
    weight: "medium"
  }, b.createElement(j, {
    as: "span",
    position: "relative"
  }, f ?? u, !e.ready && " (unsupported)")), e.recent && b.createElement(J, {
    color: "accentColor",
    size: "12",
    weight: "medium"
  }, y.t("connect.recent")))))
}

function y$({
  onClose: t
}) {
  var e;
  const r = "rk_connect_title",
    n = Jd(),
    {
      disclaimer: i,
      learnMoreUrl: s
    } = k.useContext(Xs);
  let o = null,
    a = null,
    l = !1,
    u = null;
  const [c, d] = k.useState("CONNECT"), {
    i18n: f
  } = k.useContext(ot), B = Kd();
  switch (c) {
    case "CONNECT": {
      o = f.t("connect.title"), l = !0, a = b.createElement(j, null, b.createElement(j, {
        background: "profileForeground",
        className: m$,
        display: "flex",
        paddingBottom: "20",
        paddingTop: "6"
      }, b.createElement(j, {
        display: "flex",
        style: {
          margin: "0 auto"
        }
      }, n.filter(h => h.ready).map(h => b.createElement(j, {
        key: h.id,
        paddingX: "20"
      }, b.createElement(j, {
        width: "60"
      }, b.createElement(_E, {
        onClose: t,
        wallet: h
      })))))), b.createElement(j, {
        background: "generalBorder",
        height: "1",
        marginBottom: "32",
        marginTop: "-1"
      }), b.createElement(j, {
        alignItems: "center",
        display: "flex",
        flexDirection: "column",
        gap: "32",
        paddingX: "32",
        style: {
          textAlign: "center"
        }
      }, b.createElement(j, {
        display: "flex",
        flexDirection: "column",
        gap: "8",
        textAlign: "center"
      }, b.createElement(J, {
        color: "modalText",
        size: "16",
        weight: "bold"
      }, f.t("intro.title")), b.createElement(J, {
        color: "modalTextSecondary",
        size: "16"
      }, f.t("intro.description")))), b.createElement(j, {
        paddingTop: "32",
        paddingX: "20"
      }, b.createElement(j, {
        display: "flex",
        gap: "14",
        justifyContent: "center"
      }, b.createElement(jt, {
        label: f.t("intro.get.label"),
        onClick: () => d("GET"),
        size: "large",
        type: "secondary"
      }), b.createElement(jt, {
        href: s,
        label: f.t("intro.learn_more.label"),
        size: "large",
        type: "secondary"
      }))), i && b.createElement(j, {
        marginTop: "28",
        marginX: "32",
        textAlign: "center"
      }, b.createElement(i, {
        Link: qm,
        Text: Vm
      })));
      break
    }
    case "GET": {
      o = f.t("get.title"), u = "CONNECT";
      const h = (e = n == null ? void 0 : n.filter(g => {
        var y, m, p;
        return ((y = g.downloadUrls) == null ? void 0 : y.ios) || ((m = g.downloadUrls) == null ? void 0 : m.android) || ((p = g.downloadUrls) == null ? void 0 : p.mobile)
      })) == null ? void 0 : e.splice(0, 3);
      a = b.createElement(j, null, b.createElement(j, {
        alignItems: "center",
        display: "flex",
        flexDirection: "column",
        height: "full",
        marginBottom: "36",
        marginTop: "5",
        paddingTop: "12",
        width: "full"
      }, h.map((g, y) => {
        const {
          downloadUrls: m,
          iconBackground: p,
          iconUrl: v,
          name: w
        } = g;
        return !(m != null && m.ios) && !(m != null && m.android) && !(m != null && m.mobile) ? null : b.createElement(j, {
          display: "flex",
          gap: "16",
          key: g.id,
          paddingX: "20",
          width: "full"
        }, b.createElement(j, {
          style: {
            minHeight: 48,
            minWidth: 48
          }
        }, b.createElement(it, {
          background: p,
          borderColor: "generalBorder",
          borderRadius: "10",
          height: "48",
          src: v,
          width: "48"
        })), b.createElement(j, {
          display: "flex",
          flexDirection: "column",
          width: "full"
        }, b.createElement(j, {
          alignItems: "center",
          display: "flex",
          height: "48"
        }, b.createElement(j, {
          width: "full"
        }, b.createElement(J, {
          color: "modalText",
          size: "18",
          weight: "bold"
        }, w)), b.createElement(jt, {
          href: (B ? m == null ? void 0 : m.ios : m == null ? void 0 : m.android) || (m == null ? void 0 : m.mobile),
          label: f.t("get.action.label"),
          size: "small",
          type: "secondary"
        })), y < h.length - 1 && b.createElement(j, {
          background: "generalBorderDim",
          height: "1",
          marginY: "10",
          width: "full"
        })))
      })), b.createElement(j, {
        style: {
          marginBottom: "42px"
        }
      }), b.createElement(j, {
        alignItems: "center",
        display: "flex",
        flexDirection: "column",
        gap: "36",
        paddingX: "36",
        style: {
          textAlign: "center"
        }
      }, b.createElement(j, {
        display: "flex",
        flexDirection: "column",
        gap: "12",
        textAlign: "center"
      }, b.createElement(J, {
        color: "modalText",
        size: "16",
        weight: "bold"
      }, f.t("get.looking_for.title")), b.createElement(J, {
        color: "modalTextSecondary",
        size: "16"
      }, f.t("get.looking_for.mobile.description")))));
      break
    }
  }
  return b.createElement(j, {
    display: "flex",
    flexDirection: "column",
    paddingBottom: "36"
  }, b.createElement(j, {
    background: l ? "profileForeground" : "modalBackground",
    display: "flex",
    flexDirection: "column",
    paddingBottom: "4",
    paddingTop: "14"
  }, b.createElement(j, {
    display: "flex",
    justifyContent: "center",
    paddingBottom: "6",
    paddingX: "20",
    position: "relative"
  }, u && b.createElement(j, {
    display: "flex",
    position: "absolute",
    style: {
      left: 0,
      marginBottom: -20,
      marginTop: -20
    }
  }, b.createElement(j, {
    alignItems: "center",
    as: "button",
    className: Je({
      active: "shrinkSm",
      hover: "growLg"
    }),
    color: "accentColor",
    display: "flex",
    marginLeft: "4",
    marginTop: "20",
    onClick: () => d(u),
    padding: "16",
    style: {
      height: 17,
      willChange: "transform"
    },
    transition: "default",
    type: "button"
  }, b.createElement(vE, null))), b.createElement(j, {
    marginTop: "4",
    textAlign: "center",
    width: "full"
  }, b.createElement(J, {
    as: "h1",
    color: "modalText",
    id: r,
    size: "20",
    weight: "bold"
  }, o)), b.createElement(j, {
    alignItems: "center",
    display: "flex",
    height: "32",
    paddingRight: "14",
    position: "absolute",
    right: "0"
  }, b.createElement(j, {
    style: {
      marginBottom: -20,
      marginTop: -20
    }
  }, b.createElement(Si, {
    onClose: t
  }))))), b.createElement(j, {
    display: "flex",
    flexDirection: "column"
  }, a))
}
var w$ = ({
  onClose: t
}) => {
  const {
    connector: e
  } = k.useContext(al), {
    i18n: r
  } = k.useContext(ot), n = (e == null ? void 0 : e.name) || "";
  return b.createElement(j, null, b.createElement(j, {
    display: "flex",
    paddingBottom: "32",
    justifyContent: "center",
    alignItems: "center",
    background: "profileForeground",
    flexDirection: "column"
  }, b.createElement(j, {
    width: "full",
    display: "flex",
    justifyContent: "flex-end",
    marginTop: "18",
    marginRight: "24"
  }, b.createElement(Si, {
    onClose: t
  })), b.createElement(j, {
    width: "60"
  }, b.createElement(_E, {
    onClose: t,
    wallet: e,
    connecting: !0
  })), b.createElement(j, {
    marginTop: "20"
  }, b.createElement(J, {
    textAlign: "center",
    color: "modalText",
    size: "18",
    weight: "semibold"
  }, r.t("connect.status.connect_mobile", {
    wallet: n
  }))), b.createElement(j, {
    maxWidth: "full",
    marginTop: "8"
  }, b.createElement(J, {
    textAlign: "center",
    color: "modalText",
    size: "16",
    weight: "medium"
  }, r.t("connect.status.confirm_mobile", {
    wallet: n
  })))))
};

function b$({
  onClose: t
}) {
  const {
    connector: e
  } = k.useContext(al);
  return ut() ? e ? b.createElement(w$, {
    onClose: t
  }) : b.createElement(y$, {
    onClose: t
  }) : b.createElement(p$, {
    onClose: t
  })
}

function D$({
  onClose: t,
  open: e
}) {
  const r = "rk_connect_title",
    n = Rm(),
    {
      disconnect: i
    } = hm(),
    {
      isConnecting: s
    } = _t(),
    o = b.useCallback(() => {
      t(), i()
    }, [t, i]),
    a = b.useCallback(() => {
      s && i(), t()
    }, [t, i, s]);
  return n === "disconnected" ? b.createElement(Mc, {
    onClose: a,
    open: e,
    titleId: r
  }, b.createElement(Lc, {
    bottomSheetOnMobile: !0,
    padding: "0",
    wide: !0
  }, b.createElement(b$, {
    onClose: a
  }))) : n === "unauthenticated" ? b.createElement(Mc, {
    onClose: o,
    open: e,
    titleId: r
  }, b.createElement(Lc, {
    bottomSheetOnMobile: !0,
    padding: "0"
  }, b.createElement(iW, {
    onClose: o,
    onCloseModal: t
  }))) : null
}

function bB() {
  const [t, e] = k.useState(!1);
  return {
    closeModal: k.useCallback(() => e(!1), []),
    isModalOpen: t,
    openModal: k.useCallback(() => e(!0), [])
  }
}
var ul = k.createContext({
  accountModalOpen: !1,
  chainModalOpen: !1,
  connectModalOpen: !1
});

function x$({
  children: t
}) {
  const {
    closeModal: e,
    isModalOpen: r,
    openModal: n
  } = bB(), {
    closeModal: i,
    isModalOpen: s,
    openModal: o
  } = bB(), {
    closeModal: a,
    isModalOpen: l,
    openModal: u
  } = bB(), c = Rm(), {
    chain: d
  } = Pi(), f = !(d != null && d.unsupported);

  function B({
    keepConnectModalOpen: g = !1
  } = {}) {
    g || e(), i(), a()
  }
  const h = Vd() === "unauthenticated";
  return _t({
    onConnect: () => B({
      keepConnectModalOpen: h
    }),
    onDisconnect: () => B()
  }), b.createElement(ul.Provider, {
    value: k.useMemo(() => ({
      accountModalOpen: s,
      chainModalOpen: l,
      connectModalOpen: r,
      openAccountModal: f && c === "connected" ? o : void 0,
      openChainModal: c === "connected" ? u : void 0,
      openConnectModal: c === "disconnected" || c === "unauthenticated" ? n : void 0
    }), [c, f, s, l, r, o, u, n])
  }, t, b.createElement(D$, {
    onClose: e,
    open: r
  }), b.createElement(IW, {
    onClose: i,
    open: s
  }), b.createElement(MW, {
    onClose: a,
    open: l
  }))
}

function E$() {
  const {
    accountModalOpen: t,
    chainModalOpen: e,
    connectModalOpen: r
  } = k.useContext(ul);
  return {
    accountModalOpen: t,
    chainModalOpen: e,
    connectModalOpen: r
  }
}

function S$() {
  const {
    accountModalOpen: t,
    openAccountModal: e
  } = k.useContext(ul);
  return {
    accountModalOpen: t,
    openAccountModal: e
  }
}

function k$() {
  const {
    chainModalOpen: t,
    openChainModal: e
  } = k.useContext(ul);
  return {
    chainModalOpen: t,
    openChainModal: e
  }
}

function j$() {
  const {
    connectModalOpen: t,
    openConnectModal: e
  } = k.useContext(ul);
  return {
    connectModalOpen: t,
    openConnectModal: e
  }
}
var DB = () => {};

function Km({
  children: t
}) {
  var e, r, n, i;
  const s = Sz(),
    {
      address: o
    } = _t(),
    a = X8(o),
    l = Y8(a),
    u = xz(),
    c = (e = Vd()) != null ? e : void 0,
    {
      chain: d
    } = Pi(),
    f = d ? u[d.id] : void 0,
    B = (r = f == null ? void 0 : f.name) != null ? r : void 0,
    h = (n = f == null ? void 0 : f.iconUrl) != null ? n : void 0,
    g = (i = f == null ? void 0 : f.iconBackground) != null ? i : void 0,
    y = Fm(h),
    m = k.useContext(zm),
    p = rE().some(({
      status: T
    }) => T === "pending") && m,
    {
      showBalance: v
    } = Q8(),
    w = v ? z8(v)[ut() ? "smallScreen" : "largeScreen"] : !0,
    {
      data: D
    } = jd({
      address: w ? o : void 0
    }),
    x = D ? `${hE(parseFloat(D.formatted))} ${D.symbol}` : void 0,
    {
      openConnectModal: C
    } = j$(),
    {
      openChainModal: S
    } = k$(),
    {
      openAccountModal: A
    } = S$(),
    {
      accountModalOpen: P,
      chainModalOpen: _,
      connectModalOpen: O
    } = E$();
  return b.createElement(b.Fragment, null, t({
    account: o ? {
      address: o,
      balanceDecimals: D == null ? void 0 : D.decimals,
      balanceFormatted: D == null ? void 0 : D.formatted,
      balanceSymbol: D == null ? void 0 : D.symbol,
      displayBalance: x,
      displayName: a ? CE(a) : pE(o),
      ensAvatar: l ?? void 0,
      ensName: a ?? void 0,
      hasPendingTransactions: p
    } : void 0,
    accountModalOpen: P,
    authenticationStatus: c,
    chain: d ? {
      hasIcon: !!h,
      iconBackground: g,
      iconUrl: y,
      id: d.id,
      name: B ?? d.name,
      unsupported: d.unsupported
    } : void 0,
    chainModalOpen: _,
    connectModalOpen: O,
    mounted: s(),
    openAccountModal: A ?? DB,
    openChainModal: S ?? DB,
    openConnectModal: C ?? DB
  }))
}
Km.displayName = "ConnectButton.Custom";
var ko = {
  accountStatus: "full",
  chainStatus: {
    largeScreen: "full",
    smallScreen: "icon"
  },
  label: "Connect Wallet",
  showBalance: {
    largeScreen: !0,
    smallScreen: !1
  }
};

function Qm({
  accountStatus: t = ko.accountStatus,
  chainStatus: e = ko.chainStatus,
  label: r = ko.label,
  showBalance: n = ko.showBalance
}) {
  const i = ol(),
    s = Rm(),
    {
      setShowBalance: o
    } = Q8(),
    [a, l] = k.useState(!1),
    {
      i18n: u
    } = k.useContext(ot);
  return k.useEffect(() => {
    o(n), a || l(!0)
  }, [n, o]), a ? b.createElement(Km, null, ({
    account: c,
    chain: d,
    mounted: f,
    openAccountModal: B,
    openChainModal: h,
    openConnectModal: g
  }) => {
    var y, m, p;
    const v = f && s !== "loading",
      w = (y = d == null ? void 0 : d.unsupported) != null ? y : !1;
    return b.createElement(j, {
      display: "flex",
      gap: "12",
      ...!v && {
        "aria-hidden": !0,
        style: {
          opacity: 0,
          pointerEvents: "none",
          userSelect: "none"
        }
      }
    }, v && c && s === "connected" ? b.createElement(b.Fragment, null, d && (i.length > 1 || w) && b.createElement(j, {
      alignItems: "center",
      "aria-label": "Chain Selector",
      as: "button",
      background: w ? "connectButtonBackgroundError" : "connectButtonBackground",
      borderRadius: "connectButton",
      boxShadow: "connectButton",
      className: Je({
        active: "shrink",
        hover: "grow"
      }),
      color: w ? "connectButtonTextError" : "connectButtonText",
      display: Li(e, D => D === "none" ? "none" : "flex"),
      fontFamily: "body",
      fontWeight: "bold",
      gap: "6",
      key: w ? "unsupported" : "supported",
      onClick: h,
      paddingX: "10",
      paddingY: "8",
      testId: w ? "wrong-network-button" : "chain-button",
      transition: "default",
      type: "button"
    }, w ? b.createElement(j, {
      alignItems: "center",
      display: "flex",
      height: "24",
      paddingX: "4"
    }, u.t("connect_wallet.wrong_network.label")) : b.createElement(j, {
      alignItems: "center",
      display: "flex",
      gap: "6"
    }, d.hasIcon ? b.createElement(j, {
      display: Li(e, D => D === "full" || D === "icon" ? "block" : "none"),
      height: "24",
      width: "24"
    }, b.createElement(it, {
      alt: (m = d.name) != null ? m : "Chain icon",
      background: d.iconBackground,
      borderRadius: "full",
      height: "24",
      src: d.iconUrl,
      width: "24"
    })) : null, b.createElement(j, {
      display: Li(e, D => D === "icon" && !d.iconUrl || D === "full" || D === "name" ? "block" : "none")
    }, (p = d.name) != null ? p : d.id)), b.createElement(y2, null)), !w && b.createElement(j, {
      alignItems: "center",
      as: "button",
      background: "connectButtonBackground",
      borderRadius: "connectButton",
      boxShadow: "connectButton",
      className: Je({
        active: "shrink",
        hover: "grow"
      }),
      color: "connectButtonText",
      display: "flex",
      fontFamily: "body",
      fontWeight: "bold",
      onClick: B,
      testId: "account-button",
      transition: "default",
      type: "button"
    }, c.displayBalance && b.createElement(j, {
      display: Li(n, D => D ? "block" : "none"),
      padding: "8",
      paddingLeft: "12"
    }, c.displayBalance), b.createElement(j, {
      background: z8(n)[ut() ? "smallScreen" : "largeScreen"] ? "connectButtonInnerBackground" : "connectButtonBackground",
      borderColor: "connectButtonBackground",
      borderRadius: "connectButton",
      borderStyle: "solid",
      borderWidth: "2",
      color: "connectButtonText",
      fontFamily: "body",
      fontWeight: "bold",
      paddingX: "8",
      paddingY: "6",
      transition: "default"
    }, b.createElement(j, {
      alignItems: "center",
      display: "flex",
      gap: "6",
      height: "24"
    }, b.createElement(j, {
      display: Li(t, D => D === "full" || D === "avatar" ? "block" : "none")
    }, b.createElement(V8, {
      address: c.address,
      imageUrl: c.ensAvatar,
      loading: c.hasPendingTransactions,
      size: 24
    })), b.createElement(j, {
      alignItems: "center",
      display: "flex",
      gap: "6"
    }, b.createElement(j, {
      display: Li(t, D => D === "full" || D === "address" ? "block" : "none")
    }, c.displayName), b.createElement(y2, null)))))) : b.createElement(j, {
      as: "button",
      background: "accentColor",
      borderRadius: "connectButton",
      boxShadow: "connectButton",
      className: Je({
        active: "shrink",
        hover: "grow"
      }),
      color: "accentColorForeground",
      fontFamily: "body",
      fontWeight: "bold",
      height: "40",
      key: "connect",
      onClick: g,
      paddingX: "14",
      testId: "connect-button",
      transition: "default",
      type: "button"
    }, f && r === "Connect Wallet" ? u.t("connect_wallet.label") : r))
  }) : b.createElement(b.Fragment, null)
}
Qm.__defaultProps = ko;
Qm.Custom = Km;

function A$(t) {
  return Object.fromEntries(Object.entries(t).filter(([e, r]) => r !== void 0))
}

function P$(t) {
  return "groupName" in t[0] ? F2(t) : F2([{
    groupName: "",
    wallets: t
  }])()
}
var F2 = t => () => {
  let e = -1;
  const r = [],
    n = [],
    i = [],
    s = [];
  return t.forEach(({
    groupName: a,
    wallets: l
  }, u) => {
    l.forEach(c => {
      if (e++, c != null && c.iconAccent && !KW(c == null ? void 0 : c.iconAccent)) throw new Error(`Property \`iconAccent\` is not a hex value for wallet: ${c.name}`);
      const d = {
        ...c,
        groupIndex: u,
        groupName: a,
        index: e
      };
      typeof c.hidden == "function" ? i.push(d) : n.push(d)
    })
  }), [...n, ...i].forEach(({
    createConnector: a,
    groupIndex: l,
    groupName: u,
    hidden: c,
    index: d,
    ...f
  }) => {
    if (typeof c == "function" && c({
        wallets: [...s.map(({
          connector: p,
          id: v,
          installed: w,
          name: D
        }) => ({
          connector: p,
          id: v,
          installed: w,
          name: D
        }))]
      })) return;
    const {
      connector: B,
      ...h
    } = A$(a());
    let g;
    if (f.id === "walletConnect" && h.qrCode && !ut()) {
      const {
        chains: m,
        options: p
      } = B;
      g = new L8({
        chains: m,
        options: {
          ...p,
          showQrModal: !0
        }
      }), r.push(g)
    }
    const y = {
      connector: B,
      groupIndex: l,
      groupName: u,
      index: d,
      walletConnectModalConnector: g,
      ...f,
      ...h
    };
    s.push(y), r.includes(B) || (r.push(B), B._wallets = []), B._wallets.push(y)
  }), r
};
const _$ = ({
    activeTab: t,
    onTabChange: e
  }) => {
    const [r, n] = k.useState(!1), {
      address: i,
      isConnected: s
    } = _t();
    jd({
      address: i
    });
    const o = a => {
      e(a), n(!1)
    };
    return E.jsxs(E.Fragment, {
      children: [E.jsxs("header", {
        className: "flex items-center justify-between px-4 md:px-16 py-4 bg-gray-900/80 backdrop-blur-sm relative",
        children: [E.jsxs("div", {
          className: "flex items-center gap-6",
          children: [s && E.jsxs("nav", {
            className: "hidden md:flex items-center gap-6",
            children: [E.jsx("button", {
              onClick: () => e("staking"),
              className: `font-medium transition-colors ${t==="staking"?"text-green-400":"text-gray-400 hover:text-gray-200"}`,
              children: "Staking"
            }), E.jsx("button", {
              onClick: () => e("referral"),
              className: `font-medium transition-colors ${t==="referral"?"text-green-400":"text-gray-400 hover:text-gray-200"}`,
              children: "Referral"
            }), E.jsx("button", {
              onClick: () => e("history"),
              className: `font-medium transition-colors ${t==="history"?"text-green-400":"text-gray-400 hover:text-gray-200"}`,
              children: "History"
            })]
          }), s && E.jsx("button", {
            onClick: () => n(!r),
            className: "md:hidden p-2 text-gray-400 hover:text-gray-200 transition-colors",
            "aria-label": "Toggle menu",
            children: r ? E.jsx(fT, {
              className: "h-6 w-6"
            }) : E.jsx(rT, {
              className: "h-6 w-6"
            })
          }), E.jsx("div", {
            className: "flex items-center gap-2",
            children: E.jsx("img", {
              src: "/RoiDex.png",
              className: "h-12 w-12",
              alt: "Logo"
            })
          })]
        }), E.jsx("div", {
          className: "flex items-center",
          children: E.jsx(Qm, {})
        })]
      }), r && s && E.jsx("div", {
        className: "md:hidden bg-gray-900/95 backdrop-blur-sm border-t border-gray-700",
        children: E.jsxs("nav", {
          className: "flex flex-col py-4 px-4 space-y-2",
          children: [E.jsx("button", {
            onClick: () => o("staking"),
            className: `text-left py-3 px-4 rounded-lg font-medium transition-colors ${t==="staking"?"text-green-400 bg-green-400/10":"text-gray-400 hover:text-gray-200 hover:bg-gray-800/50"}`,
            children: "Staking"
          }), E.jsx("button", {
            onClick: () => o("referral"),
            className: `text-left py-3 px-4 rounded-lg font-medium transition-colors ${t==="referral"?"text-green-400 bg-green-400/10":"text-gray-400 hover:text-gray-200 hover:bg-gray-800/50"}`,
            children: "Referral"
          }), E.jsx("button", {
            onClick: () => o("history"),
            className: `text-left py-3 px-4 rounded-lg font-medium transition-colors ${t==="history"?"text-green-400 bg-green-400/10":"text-gray-400 hover:text-gray-200 hover:bg-gray-800/50"}`,
            children: "History"
          })]
        })
      })]
    })
  },
  Yl = ({
    icon: t,
    title: e,
    description: r
  }) => E.jsx("div", {
    className: "bg-gray-800/70 backdrop-blur-sm border border-gray-700 rounded-lg p-6 hover:bg-gray-800/90 transition duration-300 hover:shadow-[0_0_15px_rgba(139,92,246,0.3)] group",
    children: E.jsxs("div", {
      className: "flex items-start gap-4",
      children: [E.jsx("div", {
        className: "bg-gray-700/70 rounded-full p-3 group-hover:bg-purple-900/50 transition-colors",
        children: t
      }), E.jsxs("div", {
        children: [E.jsx("h3", {
          className: "text-lg font-medium text-gray-200 mb-1",
          children: e
        }), E.jsx("p", {
          className: "text-sm text-gray-400",
          children: r
        })]
      })]
    })
  }),
  O$ = () => E.jsxs("div", {
    className: "relative min-h-[80vh] flex flex-col items-center justify-center px-4 py-16 overflow-hidden",
    children: [E.jsx("div", {
      className: "absolute inset-0 bg-gradient-to-br from-gray-900 via-purple-900/30 to-gray-900 z-0"
    }), E.jsxs("div", {
      className: "z-10 flex flex-col items-center max-w-3xl mx-auto text-center",
      children: [E.jsx("div", {
        className: "mb-8 relative",
        children: E.jsx("div", {
          className: "w-32 h-32 ",
          children: E.jsx("img", {
            src: "/RoiDex.png"
          })
        })
      }), E.jsx("h1", {
        className: "text-4xl md:text-5xl lg:text-6xl font-bold text-white mb-4",
        children: "METAL BNB"
      }), E.jsx("p", {
        className: "text-xl md:text-2xl text-gray-300 mb-12",
        children: "BNB Vault Bank 3% Daily - 200% ROI | Secure , Fast , Decentralized"
      }), E.jsxs("div", {
        className: "grid md:grid-cols-2 gap-4 w-full max-w-2xl",
        children: [E.jsx(Yl, {
          icon: E.jsx(cT, {
            className: "h-6 w-6 text-purple-400"
          }),
          title: "Audited, Transparent, 100% On-Chain",
          description: "Your funds stay in your control. All rewards are paid directly by the verified smart contract"
        }), E.jsx(Yl, {
          icon: E.jsx(Ss, {
            className: "h-6 w-6 text-purple-400"
          }),
          title: "Withdraw Anytime. No Lock, No Tricks",
          description: "We believe in freedom, stake and unstake whenever you want. Your BNB is always yours"
        }), E.jsx(Yl, {
          icon: E.jsx(hs, {
            className: "h-6 w-6 text-purple-400"
          }),
          title: "Stake Smarter, Earn Faster",
          description: "Start earning 3% daily passive income with 200% ROI and 5 Levels Referral Rewards"
        }), E.jsx(Yl, {
          icon: E.jsx("img", {
            src: "/RoiDex.png",
            className: "h-6 w-6 text-purple-400"
          }),
          title: "How to Start?",
          description: " Connect your wallet, stake some BNB, grab your referral link and start making money right away!"
        })]
      })]
    })]
  }),
  I$ = () => E.jsx("footer", {
    className: "bg-gray-900 py-12 px-4 md:px-16",
    children: E.jsxs("div", {
      className: "container mx-auto",
      children: [E.jsxs("div", {
        className: "grid grid-cols-1 md:grid-cols-3 gap-8",
        children: [E.jsxs("div", {
          className: "flex flex-col",
          children: [E.jsxs("div", {
            className: "flex items-center gap-2 mb-4",
            children: [E.jsx("img", {
              src: "/RoiDex.png",
              className: "h-6 w-6 text-purple-500"
            }), E.jsx("span", {
              className: "text-xl font-bold bg-gradient-to-r from-green-400 to-purple-500 bg-clip-text text-transparent",
              children: "METAL BNB"
            })]
          }), E.jsx("p", {
            className: "text-gray-400 text-sm",
            children: "Earn 3% daily returns with our innovative staking platform and multi-level referral system."
          })]
        }), E.jsxs("div", {
          children: [E.jsx("h3", {
            className: "text-white font-medium mb-4",
            children: "Quick Links"
          }), E.jsxs("ul", {
            className: "space-y-2",
            children: [E.jsx("li", {
              children: E.jsx("a", {
                href: "https://dappradar.com/dapp/metal bnb/analytics",
                className: "text-gray-400 hover:text-purple-400 transition-colors",
                children: "Dappradar"
              })
            }), E.jsx("li", {
              children: E.jsx("a", {
                href: "#faq",
                className: "text-gray-400 hover:text-purple-400 transition-colors",
                children: "FAQ"
              })
            }), E.jsx("li", {
              children: E.jsx("a", {
                href: "https://bscscan.com/address/0x48896b23756f528649b21a87c70823124abe04b3",
                className: "text-gray-400 hover:text-purple-400 transition-colors",
                children: "Smart Contract"
              })
            })]
          })]
        }), E.jsxs("div", {
          children: [E.jsx("h3", {
            className: "text-white font-medium mb-4",
            children: "Contact With Us"
          }), E.jsxs("a", {
            href: "https://t.me/MetalBNB",
            className: "inline-flex items-center gap-2 bg-gray-800 hover:bg-gray-700 text-gray-300 px-4 py-2 rounded-full transition-colors",
            children: [E.jsx(iT, {
              className: "h-5 w-5 text-blue-400"
            }), E.jsx("span", {
              children: "Telegram"
            })]
          }), E.jsx("p", {
            className: "text-gray-400 text-sm mt-4",
            children: "Join our community to get the latest updates and support."
          })]
        })]
      }), E.jsx("div", {
        className: "border-t border-gray-800 mt-8 pt-8 text-center text-gray-500 text-sm",
        children: "© 2025 METAL BNB. All rights reserved."
      })]
    })
  }),
  Bn = [{
    inputs: [{
      name: "referral",
      type: "address"
    }],
    name: "makeDeposit",
    outputs: [],
    stateMutability: "payable",
    type: "function"
  }, {
    inputs: [],
    name: "getDividends",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function"
  }, {
    inputs: [{
      name: "_addr",
      type: "address"
    }],
    name: "userInfo",
    outputs: [{
      name: "for_withdraw",
      type: "uint256"
    }, {
      name: "total_invested",
      type: "uint256"
    }, {
      name: "total_withdrawn",
      type: "uint256"
    }, {
      name: "total_ref_bonus",
      type: "uint256"
    }, {
      name: "lastPayout",
      type: "uint40"
    }, {
      name: "numDeposits",
      type: "uint256"
    }, {
      name: "structure",
      type: "uint256[10]"
    }],
    stateMutability: "view",
    type: "function"
  }, {
    inputs: [{
      name: "_addr",
      type: "address"
    }],
    name: "computePayout",
    outputs: [{
      name: "value",
      type: "uint256"
    }],
    stateMutability: "view",
    type: "function"
  }, {
    inputs: [],
    name: "getBalance",
    outputs: [{
      name: "",
      type: "uint256"
    }],
    stateMutability: "view",
    type: "function"
  }, {
    inputs: [],
    name: "invested",
    outputs: [{
      name: "",
      type: "uint256"
    }],
    stateMutability: "view",
    type: "function"
  }, {
    inputs: [],
    name: "withdrawn",
    outputs: [{
      name: "",
      type: "uint256"
    }],
    stateMutability: "view",
    type: "function"
  }, {
    inputs: [],
    name: "MIN_DEPOSIT",
    outputs: [{
      name: "",
      type: "uint256"
    }],
    stateMutability: "view",
    type: "function"
  }],
  hn = "0xc0B967a8Fb233Ad846Be14BA406E53E39154212e",
  M2 = () => {
    var P;
    const [t, e] = k.useState("0"), [r, n] = k.useState("0x94f31F904406dc23c7Ed8C45BD4a8625d4799F03"), [i, s] = k.useState(""), [o, a] = k.useState(!1), {
      address: l,
      isConnected: u
    } = _t(), {
      data: c
    } = jd({
      address: l
    }), {
      data: d,
      refetch: f
    } = qr({
      address: hn,
      abi: Bn,
      functionName: "userInfo",
      args: [l],
      enabled: !!l
    });
    qr({
      address: hn,
      abi: Bn,
      functionName: "getBalance"
    }), qr({
      address: hn,
      abi: Bn,
      functionName: "invested"
    }), qr({
      address: hn,
      abi: Bn,
      functionName: "withdrawn"
    });
    const {
      data: B
    } = qr({
      address: hn,
      abi: Bn,
      functionName: "MIN_DEPOSIT"
    });
    qr({
      address: hn,
      abi: Bn,
      functionName: "computePayout",
      args: [l],
      enabled: !!l
    });
    const {
      data: h,
      writeAsync: g,
      isLoading: y
    } = vy({
      address: hn,
      abi: Bn,
      functionName: "makeDeposit"
    }), {
      data: m,
      writeAsync: p,
      isLoading: v
    } = vy({
      address: hn,
      abi: Bn,
      functionName: "getDividends"
    }), {
      isLoading: w
    } = yy({
      hash: h == null ? void 0 : h.hash,
      onSuccess: () => {
        f(), e("")
      }
    }), {
      isLoading: D
    } = yy({
      hash: m == null ? void 0 : m.hash,
      onSuccess: () => {
        f()
      }
    });
    k.useEffect(() => {
      l && s(`${window.location.origin}?ref=${l}`)
    }, [l]), k.useEffect(() => {
      const O = new URLSearchParams(window.location.search).get("ref");
      O && n(O)
    }, []);
    const C = (_ => {
        if (!_) return {
          daily: "0",
          weekly: "0",
          monthly: "0",
          yearly: "0"
        };
        const O = (parseFloat(_) * .03).toFixed(4),
          T = (parseFloat(O) * 7).toFixed(2),
          F = (parseFloat(O) * 30).toFixed(2),
          G = (parseFloat(O) * 365).toFixed(2);
        return {
          daily: O,
          weekly: T,
          monthly: F,
          yearly: G
        }
      })(t),
      S = () => {
        navigator.clipboard.writeText(i)
      };
    if (!u) return E.jsx("div", {
      className: "container mx-auto px-4 py-8 flex items-center justify-center min-h-screen",
      children: E.jsxs("div", {
        className: "text-center",
        children: [E.jsx("h2", {
          className: "text-2xl font-semibold text-white mb-4",
          children: "Connect Your Wallet"
        }), E.jsx("p", {
          className: "text-gray-400 mb-6",
          children: "Please connect your wallet to access METAL BNB"
        })]
      })
    });
    const A = d ? {
      totalStaked: Ve(d[1] || 0n),
      availableRewards: Ve(d[0] || 0n),
      totalWithdrawn: Ve(d[2] || 0n),
      referralEarnings: Ve(d[3] || 0n),
      numDeposits: ((P = d[5]) == null ? void 0 : P.toString()) || "0",
      structure: d[6] || []
    } : {
      totalStaked: "0",
      availableRewards: "0",
      totalWithdrawn: "0",
      referralEarnings: "0",
      numDeposits: "0",
      structure: []
    };
    return E.jsx("div", {
      className: "container mx-auto px-4 py-8",
      children: E.jsxs("div", {
        className: "flex flex-col gap-6 max-w-5xl mx-auto",
        children: [E.jsxs("div", {
          className: "flex justify-between items-center",
          children: [E.jsx("div", {
            className: "flex items-center gap-2",
            children: E.jsx("div", {
              className: "text-2xl font-semibold text-green-400",
              children: "METAL BNB"
            })
          }), E.jsxs("div", {
            className: "bg-gray-800/50 rounded-lg px-4 py-2 text-gray-300",
            children: [c ? parseFloat(Ve(c.value)).toFixed(4) : "0.0000", " BNB"]
          })]
        }), E.jsxs("div", {
          className: "bg-gray-800/20 border border-green-900/30 rounded-lg p-4",
          children: [E.jsxs("div", {
            className: "flex items-center justify-between",
            children: [E.jsxs("div", {
              className: "flex items-center gap-3",
              children: [E.jsx("div", {
                className: "bg-green-900/30 p-2 rounded-lg",
                children: E.jsx(pn, {
                  className: "h-5 w-5 text-green-400"
                })
              }), E.jsxs("div", {
                children: [E.jsx("h2", {
                  className: "text-white font-medium",
                  children: "System"
                }), E.jsx("p", {
                  className: "text-sm text-gray-400",
                  children: "3% Daily ROI with Advanced Referral System"
                })]
              })]
            }), E.jsx("button", {
              onClick: () => a(!o),
              className: "bg-green-500/20 hover:bg-green-500/30 text-green-400 px-3 py-1.5 rounded-lg text-sm transition-colors flex items-center gap-2",
              children: E.jsx(UN, {
                className: `h-4 w-4 transform transition-transform ${o?"rotate-45":""}`
              })
            })]
          }), o && E.jsx("div", {
            className: "mt-4 pt-4 border-t border-gray-700/30",
            children: E.jsxs("div", {
              className: "grid md:grid-cols-2 gap-6",
              children: [E.jsxs("div", {
                children: [E.jsxs("h3", {
                  className: "text-base font-medium text-white mb-4 flex items-center gap-2",
                  children: [E.jsx(jc, {
                    className: "h-4 w-4 text-green-400"
                  }), "Features"]
                }), E.jsxs("div", {
                  className: "space-y-3",
                  children: [E.jsxs("div", {
                    className: "flex items-center gap-3",
                    children: [E.jsx("div", {
                      className: "bg-green-900/20 p-1.5 rounded-lg",
                      children: E.jsx(Yf, {
                        className: "h-4 w-4 text-green-400"
                      })
                    }), E.jsx("span", {
                      className: "text-gray-300 text-sm",
                      children: "3% Daily ROI on all deposits"
                    })]
                  }), E.jsxs("div", {
                    className: "flex items-center gap-3",
                    children: [E.jsx("div", {
                      className: "bg-blue-900/20 p-1.5 rounded-lg",
                      children: E.jsx(pn, {
                        className: "h-4 w-4 text-blue-400"
                      })
                    }), E.jsx("span", {
                      className: "text-gray-300 text-sm",
                      children: "Minimum deposit of 0.1 BNB"
                    })]
                  }), E.jsxs("div", {
                    className: "flex items-center gap-3",
                    children: [E.jsx("div", {
                      className: "bg-purple-900/20 p-1.5 rounded-lg",
                      children: E.jsx(eT, {
                        className: "h-4 w-4 text-purple-400"
                      })
                    }), E.jsx("span", {
                      className: "text-gray-300 text-sm",
                      children: "No lock period - withdraw anytime"
                    })]
                  })]
                })]
              }), E.jsxs("div", {
                children: [E.jsxs("h3", {
                  className: "text-base font-medium text-white mb-4 flex items-center gap-2",
                  children: [E.jsx(hs, {
                    className: "h-4 w-4 text-purple-400"
                  }), "Referral Program"]
                }), E.jsxs("div", {
                  className: "space-y-3",
                  children: [E.jsxs("div", {
                    className: "flex items-center gap-3",
                    children: [E.jsx("div", {
                      className: "bg-orange-900/20 p-1.5 rounded-lg",
                      children: E.jsx(Ss, {
                        className: "h-4 w-4 text-orange-400"
                      })
                    }), E.jsx("span", {
                      className: "text-gray-300 text-sm",
                      children: "5 levels of referrals"
                    })]
                  }), E.jsxs("div", {
                    className: "flex items-center gap-3",
                    children: [E.jsx("div", {
                      className: "bg-red-900/20 p-1.5 rounded-lg",
                      children: E.jsx(jc, {
                        className: "h-4 w-4 text-red-400"
                      })
                    }), E.jsx("span", {
                      className: "text-gray-300 text-sm",
                      children: "Level 1: 10% | Level 2: 5% | Level 3: 3%"
                    })]
                  }), E.jsxs("div", {
                    className: "flex items-center gap-3",
                    children: [E.jsx("div", {
                      className: "bg-green-900/20 p-1.5 rounded-lg",
                      children: E.jsx(pn, {
                        className: "h-4 w-4 text-green-400"
                      })
                    }), E.jsx("span", {
                      className: "text-gray-300 text-sm",
                      children: "Earn passive income through your network"
                    })]
                  })]
                })]
              })]
            })
          })]
        }), E.jsx("div", {
          className: "bg-gray-800/20 border border-gray-700/30 rounded-lg p-4",
          children: E.jsxs("div", {
            className: "flex items-center justify-between",
            children: [E.jsxs("div", {
              className: "flex items-center gap-3",
              children: [E.jsx("div", {
                className: "bg-green-900/30 p-2 rounded-lg",
                children: E.jsx(Yf, {
                  className: "h-5 w-5 text-green-400"
                })
              }), E.jsxs("div", {
                children: [E.jsx("h2", {
                  className: "text-white font-medium",
                  children: "Earn 3% Daily ROI"
                }), E.jsx("p", {
                  className: "text-sm text-gray-400",
                  children: "METAL BNB offers sustainable daily returns with no lock-up period"
                })]
              })]
            }), E.jsx("button", {
              onClick: async () => {
                if (p && parseFloat(A.availableRewards) > 0 && !v && !D) try {
                  await p()
                } catch (_) {
                  console.error("Claim error:", _)
                }
              },
              disabled: v || D || parseFloat(A.availableRewards) === 0,
              className: "bg-green-500/20 hover:bg-green-500/30 disabled:bg-gray-700/30 disabled:text-gray-500 text-green-400 px-4 py-1.5 rounded-lg text-sm transition-colors flex items-center gap-2",
              children: v || D ? E.jsxs(E.Fragment, {
                children: [E.jsx(Jf, {
                  className: "h-4 w-4 animate-spin"
                }), "Claiming..."]
              }) : E.jsxs(E.Fragment, {
                children: ["Claim ", parseFloat(A.availableRewards).toFixed(4), " BNB"]
              })
            })]
          })
        }), E.jsxs("div", {
          className: "grid md:grid-cols-2 gap-6",
          children: [E.jsxs("div", {
            className: "space-y-6",
            children: [E.jsxs("div", {
              className: "bg-gray-800/20 border border-gray-700/30 rounded-lg p-6",
              children: [E.jsx("h3", {
                className: "text-lg font-medium text-white mb-6",
                children: "Your Stats"
              }), E.jsxs("div", {
                className: "space-y-6",
                children: [E.jsxs("div", {
                  className: "flex items-center gap-3",
                  children: [E.jsx("div", {
                    className: "bg-blue-900/20 p-2 rounded-lg",
                    children: E.jsx(pn, {
                      className: "h-5 w-5 text-blue-400"
                    })
                  }), E.jsxs("div", {
                    children: [E.jsx("div", {
                      className: "text-sm text-gray-400",
                      children: "Total Staked"
                    }), E.jsxs("div", {
                      className: "text-white",
                      children: [parseFloat(A.totalStaked).toFixed(4), " BNB"]
                    }), E.jsxs("div", {
                      className: "text-xs text-gray-500",
                      children: [A.numDeposits, " deposits"]
                    })]
                  })]
                }), E.jsxs("div", {
                  className: "flex items-center gap-3",
                  children: [E.jsx("div", {
                    className: "bg-green-900/20 p-2 rounded-lg",
                    children: E.jsx(pn, {
                      className: "h-5 w-5 text-green-400"
                    })
                  }), E.jsxs("div", {
                    children: [E.jsx("div", {
                      className: "text-sm text-gray-400",
                      children: "Available Rewards"
                    }), E.jsxs("div", {
                      className: "text-green-400",
                      children: [parseFloat(A.availableRewards).toFixed(4), " BNB"]
                    }), E.jsx("div", {
                      className: "text-xs text-gray-500",
                      children: "Available to claim now"
                    })]
                  })]
                }), E.jsxs("div", {
                  className: "flex items-center gap-3",
                  children: [E.jsx("div", {
                    className: "bg-blue-900/20 p-2 rounded-lg",
                    children: E.jsx(WN, {
                      className: "h-5 w-5 text-blue-400"
                    })
                  }), E.jsxs("div", {
                    children: [E.jsx("div", {
                      className: "text-sm text-gray-400",
                      children: "Total Withdrawn"
                    }), E.jsxs("div", {
                      className: "text-white",
                      children: [parseFloat(A.totalWithdrawn).toFixed(4), " BNB"]
                    })]
                  })]
                }), E.jsxs("div", {
                  className: "flex items-center gap-3",
                  children: [E.jsx("div", {
                    className: "bg-purple-900/20 p-2 rounded-lg",
                    children: E.jsx(hs, {
                      className: "h-5 w-5 text-purple-400"
                    })
                  }), E.jsxs("div", {
                    children: [E.jsx("div", {
                      className: "text-sm text-gray-400",
                      children: "Referral Earnings"
                    }), E.jsxs("div", {
                      className: "text-white",
                      children: [parseFloat(A.referralEarnings).toFixed(4), " BNB"]
                    })]
                  })]
                }), E.jsx("div", {
                  className: "bg-green-900/10 border border-green-500/30 rounded-lg p-4",
                  children: E.jsxs("div", {
                    className: "flex items-center justify-between",
                    children: [E.jsxs("div", {
                      className: "flex items-center gap-3",
                      children: [E.jsx("div", {
                        className: "bg-green-900/30 p-2 rounded-lg",
                        children: E.jsx(pn, {
                          className: "h-5 w-5 text-green-400"
                        })
                      }), E.jsxs("div", {
                        children: [E.jsx("div", {
                          className: "text-sm text-green-300",
                          children: "Available Rewards"
                        }), E.jsxs("div", {
                          className: "text-green-400 text-lg font-semibold",
                          children: [parseFloat(A.availableRewards).toFixed(4), " BNB"]
                        }), E.jsx("div", {
                          className: "text-xs text-green-500",
                          children: "Ready to claim"
                        })]
                      })]
                    }), E.jsx("button", {
                      onClick: async () => {
                        if (p && parseFloat(A.availableRewards) > 0 && !v && !D) try {
                          await p()
                        } catch (_) {
                          console.error("Claim error:", _)
                        }
                      },
                      disabled: v || D || parseFloat(A.availableRewards) === 0,
                      className: "bg-green-500/20 hover:bg-green-500/30 disabled:bg-gray-700/30 disabled:text-gray-500 text-green-400 px-4 py-2 rounded-lg text-sm transition-colors flex items-center gap-2",
                      children: v || D ? E.jsxs(E.Fragment, {
                        children: [E.jsx(Jf, {
                          className: "h-4 w-4 animate-spin"
                        }), "Claiming..."]
                      }) : E.jsx(E.Fragment, {
                        children: "Claim"
                      })
                    })]
                  })
                })]
              })]
            }), E.jsxs("div", {
              className: "bg-gray-800/20 border border-gray-700/30 rounded-lg p-6",
              children: [E.jsx("h3", {
                className: "text-lg font-medium text-white mb-6",
                children: "Referral Program"
              }), E.jsxs("div", {
                className: "bg-gray-700/20 rounded-lg p-4 mb-6",
                children: [E.jsxs("div", {
                  className: "flex items-center gap-2 mb-4",
                  children: [E.jsx(hs, {
                    className: "h-5 w-5 text-purple-400"
                  }), E.jsx("span", {
                    className: "text-white",
                    children: "Your Referral Network"
                  })]
                }), E.jsx("div", {
                  className: "grid grid-cols-2 gap-4",
                  children: [...Array(5)].map((_, O) => {
                    var T;
                    return E.jsxs("div", {
                      className: "bg-gray-800/30 rounded-lg p-3 flex justify-between items-center",
                      children: [E.jsxs("span", {
                        className: "text-sm text-gray-400",
                        children: ["Level ", O + 1]
                      }), E.jsx("span", {
                        className: "text-white",
                        children: ((T = A.structure[O]) == null ? void 0 : T.toString()) || "0"
                      })]
                    }, O)
                  })
                })]
              }), E.jsxs("button", {
                onClick: S,
                className: "w-full bg-purple-600/20 hover:bg-purple-600/30 text-purple-400 py-3 rounded-lg flex items-center justify-center gap-2 transition-colors",
                children: [E.jsx(k4, {
                  className: "h-5 w-5"
                }), "Copy Referral Link"]
              })]
            })]
          }), E.jsxs("div", {
            className: "bg-gray-800/20 border border-gray-700/30 rounded-lg p-6",
            children: [E.jsx("h3", {
              className: "text-lg font-medium text-white mb-6",
              children: "METAL BNB Staking"
            }), E.jsxs("div", {
              className: "space-y-6",
              children: [E.jsxs("div", {
                children: [E.jsxs("label", {
                  className: "text-sm text-gray-400 block mb-2",
                  children: ["Amount to Stake (min ", B ? Ve(B) : "0.1", " BNB)"]
                }), E.jsxs("div", {
                  className: "relative",
                  children: [E.jsx("input", {
                    type: "number",
                    step: "0.01",
                    min: "0.1",
                    value: t,
                    onChange: _ => e(_.target.value),
                    className: "w-full bg-gray-700/30 rounded-lg py-3 px-4 text-white placeholder-gray-500 border border-gray-700/30 focus:outline-none focus:border-green-500/50",
                    placeholder: "Enter amount"
                  }), E.jsx("span", {
                    className: "absolute right-4 top-1/2 -translate-y-1/2 text-gray-400",
                    children: "BNB"
                  })]
                })]
              }), E.jsxs("div", {
                children: [E.jsx("label", {
                  className: "text-sm text-gray-400 block mb-2",
                  children: "Referral Address (optional)"
                }), E.jsx("input", {
                  type: "text",
                  value: r,
                  onChange: _ => n(_.target.value),
                  className: "w-full bg-gray-700/30 rounded-lg py-3 px-4 text-white placeholder-gray-500 border border-gray-700/30 focus:outline-none focus:border-green-500/50",
                  placeholder: "Enter referral address"
                })]
              }), t && E.jsxs("div", {
                className: "bg-green-900/10 border border-green-900/20 rounded-lg p-4",
                children: [E.jsxs("div", {
                  className: "flex items-center gap-2 mb-4",
                  children: [E.jsx(Yf, {
                    className: "h-5 w-5 text-green-400"
                  }), E.jsx("span", {
                    className: "text-white font-medium",
                    children: "Estimated Earnings"
                  })]
                }), E.jsxs("div", {
                  className: "grid grid-cols-2 gap-4",
                  children: [E.jsxs("div", {
                    children: [E.jsx("div", {
                      className: "text-sm text-gray-400 mb-1",
                      children: "Daily (3%)"
                    }), E.jsxs("div", {
                      className: "text-green-400",
                      children: [C.daily, " BNB"]
                    })]
                  }), E.jsxs("div", {
                    children: [E.jsx("div", {
                      className: "text-sm text-gray-400 mb-1",
                      children: "Weekly"
                    }), E.jsxs("div", {
                      className: "text-green-400",
                      children: [C.weekly, " BNB"]
                    })]
                  }), E.jsxs("div", {
                    children: [E.jsx("div", {
                      className: "text-sm text-gray-400 mb-1",
                      children: "Monthly"
                    }), E.jsxs("div", {
                      className: "text-white",
                      children: [C.monthly, " BNB"]
                    })]
                  }), E.jsxs("div", {
                    children: [E.jsx("div", {
                      className: "text-sm text-gray-400 mb-1",
                      children: "Yearly"
                    }), E.jsxs("div", {
                      className: "text-white",
                      children: [C.yearly, " BNB"]
                    })]
                  })]
                })]
              }), E.jsxs("div", {
                className: "bg-blue-900/10 border border-blue-900/20 rounded-lg p-4",
                children: [E.jsxs("div", {
                  className: "flex items-center gap-2 mb-2",
                  children: [E.jsx(JN, {
                    className: "h-5 w-5 text-blue-400"
                  }), E.jsx("span", {
                    className: "text-white font-medium",
                    children: "Important Information"
                  })]
                }), E.jsxs("p", {
                  className: "text-sm text-gray-400",
                  children: ["Staking rewards accrue at 3% daily. You can withdraw your rewards anytime without affecting your principal. Minimum deposit is ", B ? Ve(B) : "0.1", " BNB"]
                })]
              }), E.jsx("button", {
                onClick: async () => {
                  if (g && t && parseFloat(t) >= 0.1 && !y && !w && l) {
                    let _ = l;
                    r && r.length === 42 && r.startsWith("0x") && r !== l && (_ = r), console.log("Staking with referral:", _), console.log("Stake amount:", t);
                    try {
                      await g({
                        args: [_],
                        value: uO(t)
                      })
                    } catch (O) {
                      console.error("Staking error:", O)
                    }
                  }
                },
                disabled: y || w || !t || parseFloat(t) < 0.1 || !l,
                className: "w-full bg-green-600/20 hover:bg-green-600/30 disabled:bg-gray-700/30 disabled:text-gray-500 text-green-400 py-3 rounded-lg flex items-center justify-center gap-2 transition-colors",
                children: y || w ? E.jsxs(E.Fragment, {
                  children: [E.jsx(Jf, {
                    className: "h-5 w-5 animate-spin"
                  }), "Staking..."]
                }) : E.jsxs(E.Fragment, {
                  children: [E.jsx(pn, {
                    className: "h-5 w-5"
                  }), "Stake ", t || "0", " BNB"]
                })
              })]
            })]
          })]
        })]
      })
    })
  },
  L2 = [{
    inputs: [{
      name: "_addr",
      type: "address"
    }],
    name: "userInfo",
    outputs: [{
      name: "for_withdraw",
      type: "uint256"
    }, {
      name: "total_invested",
      type: "uint256"
    }, {
      name: "total_withdrawn",
      type: "uint256"
    }, {
      name: "total_ref_bonus",
      type: "uint256"
    }, {
      name: "lastPayout",
      type: "uint40"
    }, {
      name: "numDeposits",
      type: "uint256"
    }, {
      name: "structure",
      type: "uint256[10]"
    }],
    stateMutability: "view",
    type: "function"
  }, {
    inputs: [],
    name: "ref_bonus",
    outputs: [{
      name: "",
      type: "uint256"
    }],
    stateMutability: "view",
    type: "function"
  }],
  U2 = "0x615e0D1f6e3ea830546D92422536345F0FAA807F",
  Xl = [{
    level: 1,
    rate: 10,
    color: "green"
  }, {
    level: 2,
    rate: 5,
    color: "green"
  }, {
    level: 3,
    rate: 3,
    color: "green"
  }, {
    level: 4,
    rate: 1,
    color: "green"
  }, {
    level: 5,
    rate: 1,
    color: "green"
  }],
  N$ = () => {
    const [t, e] = k.useState(""), [r, n] = k.useState(!1), {
      address: i,
      isConnected: s
    } = _t(), {
      data: o,
      refetch: a
    } = qr({
      address: U2,
      abi: L2,
      functionName: "userInfo",
      args: [i],
      enabled: !!i
    }), {
      data: l
    } = qr({
      address: U2,
      abi: L2,
      functionName: "ref_bonus"
    });
    k.useEffect(() => {
      i && e(`${window.location.origin}?ref=${i}`)
    }, [i]);
    const u = async () => {
      try {
        await navigator.clipboard.writeText(t), n(!0), setTimeout(() => n(!1), 2e3)
      } catch (f) {
        console.error("Failed to copy: ", f)
      }
    }, c = o ? {
      totalReferralEarnings: Ve(o[3] || 0n),
      structure: o[6] || [],
      totalInvested: Ve(o[1] || 0n)
    } : {
      totalReferralEarnings: "0",
      structure: Array(5).fill(0),
      totalInvested: "0"
    }, d = {
      totalNetworkSize: c.structure.reduce((f, B) => f + Number(B), 0),
      directReferrals: Number(c.structure[0] || 0),
      totalEarnings: parseFloat(c.totalReferralEarnings),
      earningRate: c.totalInvested > 0 ? c.totalEarnings / parseFloat(c.totalInvested) * 100 : 0
    };
    return s ? E.jsx("div", {
      className: "container mx-auto px-4 py-8",
      children: E.jsxs("div", {
        className: "flex flex-col gap-6 max-w-5xl mx-auto",
        children: [E.jsxs("div", {
          className: "text-center mb-8",
          children: [E.jsxs("h1", {
            className: "text-3xl font-semibold mb-2",
            children: [E.jsx("span", {
              className: "text-green-400",
              children: "METAL BNB"
            }), E.jsx("span", {
              className: "text-blue-400 ml-2",
              children: "Referral Network"
            })]
          }), E.jsx("p", {
            className: "text-gray-400",
            children: "Earn up to 5 levels deep with our powerful referral system"
          })]
        }), E.jsxs("div", {
          className: "bg-gray-800/20 border border-gray-700/30 rounded-lg p-6",
          children: [E.jsxs("div", {
            className: "mb-4",
            children: [E.jsx("h3", {
              className: "text-lg text-white mb-1",
              children: "Your Referral Link"
            }), E.jsx("p", {
              className: "text-sm text-gray-400",
              children: "Share this link to invite others and earn commission"
            })]
          }), E.jsxs("div", {
            className: "flex gap-4",
            children: [E.jsx("input", {
              type: "text",
              readOnly: !0,
              value: t,
              className: "flex-1 bg-gray-700/30 rounded-lg py-3 px-4 text-gray-300 text-sm border border-gray-700/30"
            }), E.jsx("button", {
              onClick: u,
              className: "bg-green-500/20 hover:bg-green-500/30 text-green-400 px-6 py-2 rounded-lg flex items-center gap-2 transition-colors min-w-[120px]",
              children: r ? E.jsxs(E.Fragment, {
                children: [E.jsx(HN, {
                  className: "h-4 w-4"
                }), "Copied!"]
              }) : E.jsxs(E.Fragment, {
                children: [E.jsx(k4, {
                  className: "h-4 w-4"
                }), "Copy Link"]
              })
            })]
          })]
        }), E.jsxs("div", {
          className: "grid grid-cols-1 md:grid-cols-4 gap-4",
          children: [E.jsx("div", {
            className: "bg-gray-800/20 border border-gray-700/30 rounded-lg p-4",
            children: E.jsxs("div", {
              className: "flex items-center gap-3",
              children: [E.jsx("div", {
                className: "bg-green-900/20 p-2 rounded-lg",
                children: E.jsx(hs, {
                  className: "h-5 w-5 text-green-400"
                })
              }), E.jsxs("div", {
                children: [E.jsx("div", {
                  className: "text-2xl font-semibold text-white",
                  children: d.totalNetworkSize
                }), E.jsx("div", {
                  className: "text-sm text-gray-400",
                  children: "Total Network Size"
                }), E.jsx("div", {
                  className: "text-xs text-gray-500",
                  children: "All referrals across all levels"
                })]
              })]
            })
          }), E.jsx("div", {
            className: "bg-gray-800/20 border border-gray-700/30 rounded-lg p-4",
            children: E.jsxs("div", {
              className: "flex items-center gap-3",
              children: [E.jsx("div", {
                className: "bg-blue-900/20 p-2 rounded-lg",
                children: E.jsx(hs, {
                  className: "h-5 w-5 text-blue-400"
                })
              }), E.jsxs("div", {
                children: [E.jsx("div", {
                  className: "text-2xl font-semibold text-white",
                  children: d.directReferrals
                }), E.jsx("div", {
                  className: "text-sm text-gray-400",
                  children: "Direct Referrals"
                }), E.jsx("div", {
                  className: "text-xs text-gray-500",
                  children: "Level 1 referrals"
                })]
              })]
            })
          }), E.jsx("div", {
            className: "bg-gray-800/20 border border-gray-700/30 rounded-lg p-4",
            children: E.jsxs("div", {
              className: "flex items-center gap-3",
              children: [E.jsx("div", {
                className: "bg-purple-900/20 p-2 rounded-lg",
                children: E.jsx(Ss, {
                  className: "h-5 w-5 text-purple-400"
                })
              }), E.jsxs("div", {
                children: [E.jsxs("div", {
                  className: "text-2xl font-semibold text-white",
                  children: [d.totalEarnings.toFixed(4), " BNB"]
                }), E.jsx("div", {
                  className: "text-sm text-gray-400",
                  children: "Total Earnings"
                }), E.jsx("div", {
                  className: "text-xs text-gray-500",
                  children: "From all referral levels"
                })]
              })]
            })
          }), E.jsx("div", {
            className: "bg-gray-800/20 border border-gray-700/30 rounded-lg p-4",
            children: E.jsxs("div", {
              className: "flex items-center gap-3",
              children: [E.jsx("div", {
                className: "bg-yellow-900/20 p-2 rounded-lg",
                children: E.jsx(jc, {
                  className: "h-5 w-5 text-yellow-400"
                })
              }), E.jsxs("div", {
                children: [E.jsxs("div", {
                  className: "text-2xl font-semibold text-white",
                  children: [d.earningRate.toFixed(2), "%"]
                }), E.jsx("div", {
                  className: "text-sm text-gray-400",
                  children: "Earning Rate"
                }), E.jsx("div", {
                  className: "text-xs text-gray-500",
                  children: "Total ref earnings vs investment"
                })]
              })]
            })
          })]
        }), E.jsxs("div", {
          className: "bg-gray-800/20 border border-gray-700/30 rounded-lg p-6",
          children: [E.jsxs("div", {
            className: "flex justify-between items-center mb-6",
            children: [E.jsxs("div", {
              children: [E.jsx("h3", {
                className: "text-lg text-white mb-1",
                children: "Your Referral Network"
              }), E.jsx("p", {
                className: "text-sm text-gray-400",
                children: "Earn commissions up to 5 levels deep"
              })]
            }), E.jsxs("div", {
              className: "text-sm text-gray-400",
              children: ["Network Growth: ", d.totalNetworkSize > 0 ? "Active" : "Start Building"]
            })]
          }), E.jsx("div", {
            className: "relative h-3 bg-gray-700/30 rounded-full mb-8 overflow-hidden",
            children: E.jsx("div", {
              className: "absolute inset-0 flex",
              children: Xl.map((f, B) => {
                const g = Number(c.structure[B]) > 0 ? "100" : "20";
                return E.jsx("div", {
                  className: `w-1/10 bg-gradient-to-r from-green-500/${g} to-purple-500/${g} ${B===0?"rounded-l-full":""} ${B===9?"rounded-r-full":""}`
                }, f.level)
              })
            })
          }), E.jsx("div", {
            className: "space-y-4 mb-6",
            children: Xl.slice(0, 3).map((f, B) => {
              const h = Number(c.structure[B] || 0),
                y = {
                  0: "green",
                  1: "blue",
                  2: "purple"
                } [B] || "green";
              return E.jsx("div", {
                className: `bg-${y}-900/10 border border-${y}-900/20 rounded-lg p-4`,
                children: E.jsxs("div", {
                  className: "flex items-center justify-between",
                  children: [E.jsxs("div", {
                    className: "flex items-center gap-3",
                    children: [E.jsx("div", {
                      className: `bg-${y}-900/30 w-8 h-8 rounded-lg flex items-center justify-center text-${y}-400 font-medium`,
                      children: f.level
                    }), E.jsxs("div", {
                      children: [E.jsxs("div", {
                        className: "text-white font-medium",
                        children: ["Level ", f.level]
                      }), E.jsxs("div", {
                        className: `text-sm text-${y}-400`,
                        children: [f.rate, "% Commission"]
                      })]
                    })]
                  }), E.jsxs("div", {
                    className: "flex items-center gap-8",
                    children: [E.jsxs("div", {
                      children: [E.jsx("div", {
                        className: "text-sm text-gray-400",
                        children: "Referrals"
                      }), E.jsx("div", {
                        className: "text-white",
                        children: h
                      })]
                    }), E.jsxs("div", {
                      children: [E.jsx("div", {
                        className: "text-sm text-gray-400",
                        children: "Potential"
                      }), E.jsx("div", {
                        className: `text-${y}-400`,
                        children: h > 0 ? "Active" : "Pending"
                      })]
                    })]
                  })]
                })
              }, f.level)
            })
          }), E.jsxs("div", {
            className: "bg-gray-800/30 rounded-lg p-6",
            children: [E.jsxs("div", {
              className: "flex items-center gap-2 mb-4",
              children: [E.jsx(kc, {
                className: "h-5 w-5 text-green-400"
              }), E.jsx("span", {
                className: "text-white font-medium",
                children: "Referral Structure"
              })]
            }), E.jsx("div", {
              className: "grid grid-cols-5 gap-4 mb-4",
              children: Xl.slice(0, 5).map((f, B) => {
                const h = Number(c.structure[B] || 0),
                  g = h > 0;
                return E.jsxs("div", {
                  className: `${g?"bg-green-900/20 border border-green-900/30":"bg-gray-700/30"} rounded-lg p-3`,
                  children: [E.jsxs("div", {
                    className: "text-sm text-gray-400",
                    children: ["Level ", f.level]
                  }), E.jsxs("div", {
                    className: `${g?"text-green-400":"text-gray-500"} font-medium`,
                    children: [f.rate, "%"]
                  }), E.jsxs("div", {
                    className: "text-xs text-gray-500",
                    children: [h, " refs"]
                  })]
                }, f.level)
              })
            }), E.jsx("div", {
              className: "grid grid-cols-5 gap-4 mb-6",
              children: Xl.slice(5, 10).map((f, B) => {
                const h = Number(c.structure[B + 5] || 0),
                  g = h > 0;
                return E.jsxs("div", {
                  className: `${g?"bg-green-900/20 border border-green-900/30":"bg-gray-700/30"} rounded-lg p-3`,
                  children: [E.jsxs("div", {
                    className: "text-sm text-gray-400",
                    children: ["Level ", f.level]
                  }), E.jsxs("div", {
                    className: `${g?"text-green-400":"text-gray-500"} font-medium`,
                    children: [f.rate, "%"]
                  }), E.jsxs("div", {
                    className: "text-xs text-gray-500",
                    children: [h, " refs"]
                  })]
                }, f.level)
              })
            }), E.jsxs("ul", {
              className: "space-y-2 text-sm text-gray-400",
              children: [E.jsx("li", {
                children: "• Commissions are paid instantly when your referrals stake"
              }), E.jsx("li", {
                children: "• You must have an active stake to earn referral commissions"
              }), E.jsx("li", {
                children: "• The more people in your network, the higher your passive income"
              }), E.jsxs("li", {
                children: ["• Total platform referral bonus pool: ", l ? Ve(l) : "0", " BNB"]
              })]
            })]
          })]
        }), E.jsxs("div", {
          className: "bg-gray-800/20 border border-gray-700/30 rounded-lg p-6",
          children: [E.jsx("h3", {
            className: "text-lg text-white mb-6",
            children: "Referral Strategy Guide"
          }), E.jsxs("div", {
            className: "grid grid-cols-1 md:grid-cols-3 gap-6",
            children: [E.jsxs("div", {
              className: "bg-gray-800/30 rounded-lg p-6",
              children: [E.jsx("div", {
                className: "bg-blue-900/20 p-3 rounded-lg w-fit mb-4",
                children: E.jsx(Ss, {
                  className: "h-6 w-6 text-blue-400"
                })
              }), E.jsx("h4", {
                className: "text-white font-medium mb-2",
                children: "Maximize Earnings"
              }), E.jsx("p", {
                className: "text-sm text-gray-400",
                children: "Focus on building your Level 1 referrals first, as they provide the highest commission rate (10%) and expand your entire network."
              }), E.jsxs("div", {
                className: "mt-3 text-xs text-blue-400",
                children: ["Current Level 1: ", d.directReferrals, " referrals"]
              })]
            }), E.jsxs("div", {
              className: "bg-gray-800/30 rounded-lg p-6",
              children: [E.jsx("div", {
                className: "bg-green-900/20 p-3 rounded-lg w-fit mb-4",
                children: E.jsx(jc, {
                  className: "h-6 w-6 text-green-400"
                })
              }), E.jsx("h4", {
                className: "text-white font-medium mb-2",
                children: "Build Your Network"
              }), E.jsx("p", {
                className: "text-sm text-gray-400",
                children: "Encourage your direct referrals to also invite others. This builds your Level 2 and 3 structure, creating a powerful passive income stream."
              }), E.jsxs("div", {
                className: "mt-3 text-xs text-green-400",
                children: ["Network size: ", d.totalNetworkSize, " total referrals"]
              })]
            }), E.jsxs("div", {
              className: "bg-gray-800/30 rounded-lg p-6",
              children: [E.jsx("div", {
                className: "bg-purple-900/20 p-3 rounded-lg w-fit mb-4",
                children: E.jsx(kc, {
                  className: "h-6 w-6 text-purple-400"
                })
              }), E.jsx("h4", {
                className: "text-white font-medium mb-2",
                children: "Track Your Progress"
              }), E.jsx("p", {
                className: "text-sm text-gray-400",
                children: "With METAL BNB's 5-level structure, your network can grow exponentially. Monitor your earnings and optimize your strategy."
              }), E.jsxs("div", {
                className: "mt-3 text-xs text-purple-400",
                children: ["Total earned: ", d.totalEarnings.toFixed(4), " BNB"]
              })]
            })]
          })]
        })]
      })
    }) : E.jsx("div", {
      className: "container mx-auto px-4 py-8 flex items-center justify-center min-h-screen",
      children: E.jsxs("div", {
        className: "text-center",
        children: [E.jsx("h2", {
          className: "text-2xl font-semibold text-white mb-4",
          children: "Connect Your Wallet"
        }), E.jsx("p", {
          className: "text-gray-400 mb-6",
          children: "Please connect your wallet to view your referral dashboard"
        })]
      })
    })
  },
  T$ = [{
    inputs: [{
      name: "_addr",
      type: "address"
    }],
    name: "userInfo",
    outputs: [{
      name: "for_withdraw",
      type: "uint256"
    }, {
      name: "total_invested",
      type: "uint256"
    }, {
      name: "total_withdrawn",
      type: "uint256"
    }, {
      name: "total_ref_bonus",
      type: "uint256"
    }, {
      name: "lastPayout",
      type: "uint40"
    }, {
      name: "numDeposits",
      type: "uint256"
    }, {
      name: "structure",
      type: "uint256[10]"
    }],
    stateMutability: "view",
    type: "function"
  }, {
    anonymous: !1,
    inputs: [{
      indexed: !0,
      name: "addr",
      type: "address"
    }, {
      indexed: !1,
      name: "amount",
      type: "uint256"
    }],
    name: "NewDeposit",
    type: "event"
  }, {
    anonymous: !1,
    inputs: [{
      indexed: !0,
      name: "addr",
      type: "address"
    }, {
      indexed: !1,
      name: "amount",
      type: "uint256"
    }],
    name: "Withdraw",
    type: "event"
  }, {
    anonymous: !1,
    inputs: [{
      indexed: !0,
      name: "addr",
      type: "address"
    }, {
      indexed: !0,
      name: "from",
      type: "address"
    }, {
      indexed: !1,
      name: "amount",
      type: "uint256"
    }],
    name: "RefBonus",
    type: "event"
  }],
  Zl = "0xc0B967a8Fb233Ad846Be14BA406E53E39154212e",
  R$ = () => {
    const [t, e] = k.useState([]), [r, n] = k.useState(!0), [i, s] = k.useState("all"), [o, a] = k.useState("newest"), {
      address: l,
      isConnected: u
    } = _t(), c = Xa(), {
      data: d,
      refetch: f
    } = qr({
      address: Zl,
      abi: T$,
      functionName: "userInfo",
      args: [l],
      enabled: !!l
    }), B = d ? {
      pendingRewards: Ve(d[0] || 0n),
      totalInvested: Ve(d[1] || 0n),
      totalWithdrawn: Ve(d[2] || 0n),
      totalRefBonus: Ve(d[3] || 0n),
      lastPayout: Number(d[4] || 0n),
      numDeposits: Number(d[5] || 0n)
    } : {
      pendingRewards: "0",
      totalInvested: "0",
      totalWithdrawn: "0",
      totalRefBonus: "0",
      lastPayout: 0,
      numDeposits: 0
    };
    k.useEffect(() => {
      u && l && (async () => {
        if (!(!l || !c)) {
          n(!0);
          try {
            const m = await c.getBlockNumber() - 10000n,
              p = await c.getLogs({
                address: Zl,
                event: Ff("event NewDeposit(address indexed addr, uint256 amount)"),
                args: {
                  addr: l
                },
                fromBlock: m,
                toBlock: "latest"
              });
            console.log(p, "sssosoos");
            const v = await c.getLogs({
                address: Zl,
                event: Ff("event Withdraw(address indexed addr, uint256 amount)"),
                args: {
                  addr: l
                },
                fromBlock: m,
                toBlock: "latest"
              }),
              w = await c.getLogs({
                address: Zl,
                event: Ff("event RefBonus(address indexed addr, address indexed from, uint256 amount)"),
                args: {
                  addr: l
                },
                fromBlock: m,
                toBlock: "latest"
              }),
              D = [];
            for (const x of p) {
              const C = await c.getBlock({
                blockNumber: x.blockNumber
              });
              D.push({
                type: "deposit",
                hash: x.transactionHash,
                blockNumber: x.blockNumber,
                timestamp: Number(C.timestamp) * 1e3,
                amount: Ve(x.args.amount),
                status: "confirmed",
                description: "Stake Deposit"
              })
            }
            for (const x of v) {
              const C = await c.getBlock({
                blockNumber: x.blockNumber
              });
              D.push({
                type: "withdrawal",
                hash: x.transactionHash,
                blockNumber: x.blockNumber,
                timestamp: Number(C.timestamp) * 1e3,
                amount: Ve(x.args.amount),
                status: "confirmed",
                description: "Reward Withdrawal"
              })
            }
            for (const x of w) {
              const C = await c.getBlock({
                blockNumber: x.blockNumber
              });
              D.push({
                type: "referral",
                hash: x.transactionHash,
                blockNumber: x.blockNumber,
                timestamp: Number(C.timestamp) * 1e3,
                amount: Ve(x.args.amount),
                status: "confirmed",
                description: "Referral Bonus",
                from: x.args.from
              })
            }
            D.sort((x, C) => C.timestamp - x.timestamp), e(D)
          } catch (y) {
            console.error("Error fetching transaction history:", y)
          } finally {
            n(!1)
          }
        }
      })()
    }, [l, u, c]);
    const h = k.useMemo(() => {
      let g = t;
      return i !== "all" && (g = t.filter(y => i === "deposits" ? y.type === "deposit" : i === "withdrawals" ? y.type === "withdrawal" : i === "referrals" ? y.type === "referral" : !0)), o === "oldest" && (g = [...g].sort((y, m) => y.timestamp - m.timestamp)), g
    }, [t, i, o]);
    return u ? E.jsx("div", {
      className: "container mx-auto px-4 py-8",
      children: E.jsxs("div", {
        className: "flex flex-col gap-6 max-w-5xl mx-auto",
        children: [E.jsx("div", {
          className: "flex justify-between items-center",
          children: E.jsxs("div", {
            children: [E.jsx("h1", {
              className: "text-3xl font-semibold bg-gradient-to-r from-green-400 to-blue-400 bg-clip-text text-transparent mb-2",
              children: "Transaction History"
            }), E.jsx("p", {
              className: "text-gray-400",
              children: "View your staking transactions and rewards"
            })]
          })
        }), E.jsxs("div", {
          className: "grid grid-cols-1 md:grid-cols-4 gap-4",
          children: [E.jsx("div", {
            className: "bg-gray-800/20 border border-green-900/30 rounded-lg p-4",
            children: E.jsxs("div", {
              className: "flex items-center gap-3",
              children: [E.jsx("div", {
                className: "bg-green-900/30 p-2 rounded-lg",
                children: E.jsx(KN, {
                  className: "h-5 w-5 text-green-400"
                })
              }), E.jsxs("div", {
                children: [E.jsx("div", {
                  className: "text-sm text-gray-400",
                  children: "Total Staked"
                }), E.jsxs("div", {
                  className: "text-white text-lg",
                  children: [parseFloat(B.totalInvested).toFixed(4), " BNB"]
                })]
              })]
            })
          }), E.jsx("div", {
            className: "bg-gray-800/20 border border-purple-900/30 rounded-lg p-4",
            children: E.jsxs("div", {
              className: "flex items-center gap-3",
              children: [E.jsx("div", {
                className: "bg-purple-900/30 p-2 rounded-lg",
                children: E.jsx(MN, {
                  className: "h-5 w-5 text-purple-400"
                })
              }), E.jsxs("div", {
                children: [E.jsx("div", {
                  className: "text-sm text-gray-400",
                  children: "Total Withdrawn"
                }), E.jsxs("div", {
                  className: "text-white text-lg",
                  children: [parseFloat(B.totalWithdrawn).toFixed(4), " BNB"]
                })]
              })]
            })
          }), E.jsx("div", {
            className: "bg-gray-800/20 border border-blue-900/30 rounded-lg p-4",
            children: E.jsxs("div", {
              className: "flex items-center gap-3",
              children: [E.jsx("div", {
                className: "bg-blue-900/30 p-2 rounded-lg",
                children: E.jsx(pn, {
                  className: "h-5 w-5 text-blue-400"
                })
              }), E.jsxs("div", {
                children: [E.jsx("div", {
                  className: "text-sm text-gray-400",
                  children: "Pending Rewards"
                }), E.jsxs("div", {
                  className: "text-white text-lg",
                  children: [parseFloat(B.pendingRewards).toFixed(4), " BNB"]
                }), E.jsx("div", {
                  className: "text-xs text-gray-500",
                  children: "Available to claim"
                })]
              })]
            })
          }), E.jsx("div", {
            className: "bg-gray-800/20 border border-yellow-900/30 rounded-lg p-4",
            children: E.jsxs("div", {
              className: "flex items-center gap-3",
              children: [E.jsx("div", {
                className: "bg-yellow-900/30 p-2 rounded-lg",
                children: E.jsx(kc, {
                  className: "h-5 w-5 text-yellow-400"
                })
              }), E.jsxs("div", {
                children: [E.jsx("div", {
                  className: "text-sm text-gray-400",
                  children: "Total Transactions"
                }), E.jsx("div", {
                  className: "text-white text-lg",
                  children: h.length
                })]
              })]
            })
          })]
        }), E.jsxs("div", {
          className: "grid grid-cols-1 md:grid-cols-2 gap-4",
          children: [E.jsxs("div", {
            className: "bg-blue-900/10 border border-blue-900/20 rounded-lg p-4",
            children: [E.jsxs("div", {
              className: "flex items-center gap-2 text-sm text-gray-400 mb-2",
              children: [E.jsx(Ss, {
                className: "h-4 w-4 text-blue-400"
              }), E.jsx("span", {
                className: "font-medium",
                children: "Referral Earnings"
              })]
            }), E.jsxs("div", {
              className: "text-2xl font-semibold text-blue-400",
              children: [parseFloat(B.totalRefBonus).toFixed(4), " BNB"]
            }), E.jsx("div", {
              className: "text-xs text-gray-500",
              children: "Total from referral network"
            })]
          }), E.jsxs("div", {
            className: "bg-green-900/10 border border-green-900/20 rounded-lg p-4",
            children: [E.jsxs("div", {
              className: "flex items-center gap-2 text-sm text-gray-400 mb-2",
              children: [E.jsx(kc, {
                className: "h-4 w-4 text-green-400"
              }), E.jsx("span", {
                className: "font-medium",
                children: "Total Deposits"
              })]
            }), E.jsx("div", {
              className: "text-2xl font-semibold text-green-400",
              children: B.numDeposits
            }), E.jsx("div", {
              className: "text-xs text-gray-500",
              children: "Number of stake deposits"
            })]
          })]
        }), E.jsx("div", {
          className: "bg-blue-900/10 border border-blue-900/20 rounded-lg p-4",
          children: E.jsxs("div", {
            className: "flex items-center gap-2 text-sm text-gray-400",
            children: [E.jsx(Ss, {
              className: "h-4 w-4 text-blue-400"
            }), "Transaction history shows your stakes, withdrawals, and referral earnings. Click on the external link icon to view transaction details on the blockchain explorer."]
          })
        })]
      })
    }) : E.jsx("div", {
      className: "container mx-auto px-4 py-8 flex items-center justify-center min-h-screen",
      children: E.jsxs("div", {
        className: "text-center",
        children: [E.jsx("h2", {
          className: "text-2xl font-semibold text-white mb-4",
          children: "Connect Your Wallet"
        }), E.jsx("p", {
          className: "text-gray-400 mb-6",
          children: "Please connect your wallet to view your transaction history"
        })]
      })
    })
  },
  F$ = [{
    name: "nodejs",
    version: "0.2.0",
    date: "2011-08-26",
    lts: !1,
    security: !1,
    v8: "2.3.8.0"
  }, {
    name: "nodejs",
    version: "0.3.0",
    date: "2011-08-26",
    lts: !1,
    security: !1,
    v8: "2.5.1.0"
  }, {
    name: "nodejs",
    version: "0.4.0",
    date: "2011-08-26",
    lts: !1,
    security: !1,
    v8: "3.1.2.0"
  }, {
    name: "nodejs",
    version: "0.5.0",
    date: "2011-08-26",
    lts: !1,
    security: !1,
    v8: "3.1.8.25"
  }, {
    name: "nodejs",
    version: "0.6.0",
    date: "2011-11-04",
    lts: !1,
    security: !1,
    v8: "3.6.6.6"
  }, {
    name: "nodejs",
    version: "0.7.0",
    date: "2012-01-17",
    lts: !1,
    security: !1,
    v8: "3.8.6.0"
  }, {
    name: "nodejs",
    version: "0.8.0",
    date: "2012-06-22",
    lts: !1,
    security: !1,
    v8: "3.11.10.10"
  }, {
    name: "nodejs",
    version: "0.9.0",
    date: "2012-07-20",
    lts: !1,
    security: !1,
    v8: "3.11.10.15"
  }, {
    name: "nodejs",
    version: "0.10.0",
    date: "2013-03-11",
    lts: !1,
    security: !1,
    v8: "3.14.5.8"
  }, {
    name: "nodejs",
    version: "0.11.0",
    date: "2013-03-28",
    lts: !1,
    security: !1,
    v8: "3.17.13.0"
  }, {
    name: "nodejs",
    version: "0.12.0",
    date: "2015-02-06",
    lts: !1,
    security: !1,
    v8: "3.28.73.0"
  }, {
    name: "nodejs",
    version: "4.0.0",
    date: "2015-09-08",
    lts: !1,
    security: !1,
    v8: "4.5.103.30"
  }, {
    name: "nodejs",
    version: "4.1.0",
    date: "2015-09-17",
    lts: !1,
    security: !1,
    v8: "4.5.103.33"
  }, {
    name: "nodejs",
    version: "4.2.0",
    date: "2015-10-12",
    lts: "Argon",
    security: !1,
    v8: "4.5.103.35"
  }, {
    name: "nodejs",
    version: "4.3.0",
    date: "2016-02-09",
    lts: "Argon",
    security: !1,
    v8: "4.5.103.35"
  }, {
    name: "nodejs",
    version: "4.4.0",
    date: "2016-03-08",
    lts: "Argon",
    security: !1,
    v8: "4.5.103.35"
  }, {
    name: "nodejs",
    version: "4.5.0",
    date: "2016-08-16",
    lts: "Argon",
    security: !1,
    v8: "4.5.103.37"
  }, {
    name: "nodejs",
    version: "4.6.0",
    date: "2016-09-27",
    lts: "Argon",
    security: !0,
    v8: "4.5.103.37"
  }, {
    name: "nodejs",
    version: "4.7.0",
    date: "2016-12-06",
    lts: "Argon",
    security: !1,
    v8: "4.5.103.43"
  }, {
    name: "nodejs",
    version: "4.8.0",
    date: "2017-02-21",
    lts: "Argon",
    security: !1,
    v8: "4.5.103.45"
  }, {
    name: "nodejs",
    version: "4.9.0",
    date: "2018-03-28",
    lts: "Argon",
    security: !0,
    v8: "4.5.103.53"
  }, {
    name: "nodejs",
    version: "5.0.0",
    date: "2015-10-29",
    lts: !1,
    security: !1,
    v8: "4.6.85.28"
  }, {
    name: "nodejs",
    version: "5.1.0",
    date: "2015-11-17",
    lts: !1,
    security: !1,
    v8: "4.6.85.31"
  }, {
    name: "nodejs",
    version: "5.2.0",
    date: "2015-12-09",
    lts: !1,
    security: !1,
    v8: "4.6.85.31"
  }, {
    name: "nodejs",
    version: "5.3.0",
    date: "2015-12-15",
    lts: !1,
    security: !1,
    v8: "4.6.85.31"
  }, {
    name: "nodejs",
    version: "5.4.0",
    date: "2016-01-06",
    lts: !1,
    security: !1,
    v8: "4.6.85.31"
  }, {
    name: "nodejs",
    version: "5.5.0",
    date: "2016-01-21",
    lts: !1,
    security: !1,
    v8: "4.6.85.31"
  }, {
    name: "nodejs",
    version: "5.6.0",
    date: "2016-02-09",
    lts: !1,
    security: !1,
    v8: "4.6.85.31"
  }, {
    name: "nodejs",
    version: "5.7.0",
    date: "2016-02-23",
    lts: !1,
    security: !1,
    v8: "4.6.85.31"
  }, {
    name: "nodejs",
    version: "5.8.0",
    date: "2016-03-09",
    lts: !1,
    security: !1,
    v8: "4.6.85.31"
  }, {
    name: "nodejs",
    version: "5.9.0",
    date: "2016-03-16",
    lts: !1,
    security: !1,
    v8: "4.6.85.31"
  }, {
    name: "nodejs",
    version: "5.10.0",
    date: "2016-04-01",
    lts: !1,
    security: !1,
    v8: "4.6.85.31"
  }, {
    name: "nodejs",
    version: "5.11.0",
    date: "2016-04-21",
    lts: !1,
    security: !1,
    v8: "4.6.85.31"
  }, {
    name: "nodejs",
    version: "5.12.0",
    date: "2016-06-23",
    lts: !1,
    security: !1,
    v8: "4.6.85.32"
  }, {
    name: "nodejs",
    version: "6.0.0",
    date: "2016-04-26",
    lts: !1,
    security: !1,
    v8: "5.0.71.35"
  }, {
    name: "nodejs",
    version: "6.1.0",
    date: "2016-05-05",
    lts: !1,
    security: !1,
    v8: "5.0.71.35"
  }, {
    name: "nodejs",
    version: "6.2.0",
    date: "2016-05-17",
    lts: !1,
    security: !1,
    v8: "5.0.71.47"
  }, {
    name: "nodejs",
    version: "6.3.0",
    date: "2016-07-06",
    lts: !1,
    security: !1,
    v8: "5.0.71.52"
  }, {
    name: "nodejs",
    version: "6.4.0",
    date: "2016-08-12",
    lts: !1,
    security: !1,
    v8: "5.0.71.60"
  }, {
    name: "nodejs",
    version: "6.5.0",
    date: "2016-08-26",
    lts: !1,
    security: !1,
    v8: "5.1.281.81"
  }, {
    name: "nodejs",
    version: "6.6.0",
    date: "2016-09-14",
    lts: !1,
    security: !1,
    v8: "5.1.281.83"
  }, {
    name: "nodejs",
    version: "6.7.0",
    date: "2016-09-27",
    lts: !1,
    security: !0,
    v8: "5.1.281.83"
  }, {
    name: "nodejs",
    version: "6.8.0",
    date: "2016-10-12",
    lts: !1,
    security: !1,
    v8: "5.1.281.84"
  }, {
    name: "nodejs",
    version: "6.9.0",
    date: "2016-10-18",
    lts: "Boron",
    security: !1,
    v8: "5.1.281.84"
  }, {
    name: "nodejs",
    version: "6.10.0",
    date: "2017-02-21",
    lts: "Boron",
    security: !1,
    v8: "5.1.281.93"
  }, {
    name: "nodejs",
    version: "6.11.0",
    date: "2017-06-06",
    lts: "Boron",
    security: !1,
    v8: "5.1.281.102"
  }, {
    name: "nodejs",
    version: "6.12.0",
    date: "2017-11-06",
    lts: "Boron",
    security: !1,
    v8: "5.1.281.108"
  }, {
    name: "nodejs",
    version: "6.13.0",
    date: "2018-02-10",
    lts: "Boron",
    security: !1,
    v8: "5.1.281.111"
  }, {
    name: "nodejs",
    version: "6.14.0",
    date: "2018-03-28",
    lts: "Boron",
    security: !0,
    v8: "5.1.281.111"
  }, {
    name: "nodejs",
    version: "6.15.0",
    date: "2018-11-27",
    lts: "Boron",
    security: !0,
    v8: "5.1.281.111"
  }, {
    name: "nodejs",
    version: "6.16.0",
    date: "2018-12-26",
    lts: "Boron",
    security: !1,
    v8: "5.1.281.111"
  }, {
    name: "nodejs",
    version: "6.17.0",
    date: "2019-02-28",
    lts: "Boron",
    security: !0,
    v8: "5.1.281.111"
  }, {
    name: "nodejs",
    version: "7.0.0",
    date: "2016-10-25",
    lts: !1,
    security: !1,
    v8: "5.4.500.36"
  }, {
    name: "nodejs",
    version: "7.1.0",
    date: "2016-11-08",
    lts: !1,
    security: !1,
    v8: "5.4.500.36"
  }, {
    name: "nodejs",
    version: "7.2.0",
    date: "2016-11-22",
    lts: !1,
    security: !1,
    v8: "5.4.500.43"
  }, {
    name: "nodejs",
    version: "7.3.0",
    date: "2016-12-20",
    lts: !1,
    security: !1,
    v8: "5.4.500.45"
  }, {
    name: "nodejs",
    version: "7.4.0",
    date: "2017-01-04",
    lts: !1,
    security: !1,
    v8: "5.4.500.45"
  }, {
    name: "nodejs",
    version: "7.5.0",
    date: "2017-01-31",
    lts: !1,
    security: !1,
    v8: "5.4.500.48"
  }, {
    name: "nodejs",
    version: "7.6.0",
    date: "2017-02-21",
    lts: !1,
    security: !1,
    v8: "5.5.372.40"
  }, {
    name: "nodejs",
    version: "7.7.0",
    date: "2017-02-28",
    lts: !1,
    security: !1,
    v8: "5.5.372.41"
  }, {
    name: "nodejs",
    version: "7.8.0",
    date: "2017-03-29",
    lts: !1,
    security: !1,
    v8: "5.5.372.43"
  }, {
    name: "nodejs",
    version: "7.9.0",
    date: "2017-04-11",
    lts: !1,
    security: !1,
    v8: "5.5.372.43"
  }, {
    name: "nodejs",
    version: "7.10.0",
    date: "2017-05-02",
    lts: !1,
    security: !1,
    v8: "5.5.372.43"
  }, {
    name: "nodejs",
    version: "8.0.0",
    date: "2017-05-30",
    lts: !1,
    security: !1,
    v8: "5.8.283.41"
  }, {
    name: "nodejs",
    version: "8.1.0",
    date: "2017-06-08",
    lts: !1,
    security: !1,
    v8: "5.8.283.41"
  }, {
    name: "nodejs",
    version: "8.2.0",
    date: "2017-07-19",
    lts: !1,
    security: !1,
    v8: "5.8.283.41"
  }, {
    name: "nodejs",
    version: "8.3.0",
    date: "2017-08-08",
    lts: !1,
    security: !1,
    v8: "6.0.286.52"
  }, {
    name: "nodejs",
    version: "8.4.0",
    date: "2017-08-15",
    lts: !1,
    security: !1,
    v8: "6.0.286.52"
  }, {
    name: "nodejs",
    version: "8.5.0",
    date: "2017-09-12",
    lts: !1,
    security: !1,
    v8: "6.0.287.53"
  }, {
    name: "nodejs",
    version: "8.6.0",
    date: "2017-09-26",
    lts: !1,
    security: !1,
    v8: "6.0.287.53"
  }, {
    name: "nodejs",
    version: "8.7.0",
    date: "2017-10-11",
    lts: !1,
    security: !1,
    v8: "6.1.534.42"
  }, {
    name: "nodejs",
    version: "8.8.0",
    date: "2017-10-24",
    lts: !1,
    security: !1,
    v8: "6.1.534.42"
  }, {
    name: "nodejs",
    version: "8.9.0",
    date: "2017-10-31",
    lts: "Carbon",
    security: !1,
    v8: "6.1.534.46"
  }, {
    name: "nodejs",
    version: "8.10.0",
    date: "2018-03-06",
    lts: "Carbon",
    security: !1,
    v8: "6.2.414.50"
  }, {
    name: "nodejs",
    version: "8.11.0",
    date: "2018-03-28",
    lts: "Carbon",
    security: !0,
    v8: "6.2.414.50"
  }, {
    name: "nodejs",
    version: "8.12.0",
    date: "2018-09-10",
    lts: "Carbon",
    security: !1,
    v8: "6.2.414.66"
  }, {
    name: "nodejs",
    version: "8.13.0",
    date: "2018-11-20",
    lts: "Carbon",
    security: !1,
    v8: "6.2.414.72"
  }, {
    name: "nodejs",
    version: "8.14.0",
    date: "2018-11-27",
    lts: "Carbon",
    security: !0,
    v8: "6.2.414.72"
  }, {
    name: "nodejs",
    version: "8.15.0",
    date: "2018-12-26",
    lts: "Carbon",
    security: !1,
    v8: "6.2.414.75"
  }, {
    name: "nodejs",
    version: "8.16.0",
    date: "2019-04-16",
    lts: "Carbon",
    security: !1,
    v8: "6.2.414.77"
  }, {
    name: "nodejs",
    version: "8.17.0",
    date: "2019-12-17",
    lts: "Carbon",
    security: !0,
    v8: "6.2.414.78"
  }, {
    name: "nodejs",
    version: "9.0.0",
    date: "2017-10-31",
    lts: !1,
    security: !1,
    v8: "6.2.414.32"
  }, {
    name: "nodejs",
    version: "9.1.0",
    date: "2017-11-07",
    lts: !1,
    security: !1,
    v8: "6.2.414.32"
  }, {
    name: "nodejs",
    version: "9.2.0",
    date: "2017-11-14",
    lts: !1,
    security: !1,
    v8: "6.2.414.44"
  }, {
    name: "nodejs",
    version: "9.3.0",
    date: "2017-12-12",
    lts: !1,
    security: !1,
    v8: "6.2.414.46"
  }, {
    name: "nodejs",
    version: "9.4.0",
    date: "2018-01-10",
    lts: !1,
    security: !1,
    v8: "6.2.414.46"
  }, {
    name: "nodejs",
    version: "9.5.0",
    date: "2018-01-31",
    lts: !1,
    security: !1,
    v8: "6.2.414.46"
  }, {
    name: "nodejs",
    version: "9.6.0",
    date: "2018-02-21",
    lts: !1,
    security: !1,
    v8: "6.2.414.46"
  }, {
    name: "nodejs",
    version: "9.7.0",
    date: "2018-03-01",
    lts: !1,
    security: !1,
    v8: "6.2.414.46"
  }, {
    name: "nodejs",
    version: "9.8.0",
    date: "2018-03-07",
    lts: !1,
    security: !1,
    v8: "6.2.414.46"
  }, {
    name: "nodejs",
    version: "9.9.0",
    date: "2018-03-21",
    lts: !1,
    security: !1,
    v8: "6.2.414.46"
  }, {
    name: "nodejs",
    version: "9.10.0",
    date: "2018-03-28",
    lts: !1,
    security: !0,
    v8: "6.2.414.46"
  }, {
    name: "nodejs",
    version: "9.11.0",
    date: "2018-04-04",
    lts: !1,
    security: !1,
    v8: "6.2.414.46"
  }, {
    name: "nodejs",
    version: "10.0.0",
    date: "2018-04-24",
    lts: !1,
    security: !1,
    v8: "6.6.346.24"
  }, {
    name: "nodejs",
    version: "10.1.0",
    date: "2018-05-08",
    lts: !1,
    security: !1,
    v8: "6.6.346.27"
  }, {
    name: "nodejs",
    version: "10.2.0",
    date: "2018-05-23",
    lts: !1,
    security: !1,
    v8: "6.6.346.32"
  }, {
    name: "nodejs",
    version: "10.3.0",
    date: "2018-05-29",
    lts: !1,
    security: !1,
    v8: "6.6.346.32"
  }, {
    name: "nodejs",
    version: "10.4.0",
    date: "2018-06-06",
    lts: !1,
    security: !1,
    v8: "6.7.288.43"
  }, {
    name: "nodejs",
    version: "10.5.0",
    date: "2018-06-20",
    lts: !1,
    security: !1,
    v8: "6.7.288.46"
  }, {
    name: "nodejs",
    version: "10.6.0",
    date: "2018-07-04",
    lts: !1,
    security: !1,
    v8: "6.7.288.46"
  }, {
    name: "nodejs",
    version: "10.7.0",
    date: "2018-07-18",
    lts: !1,
    security: !1,
    v8: "6.7.288.49"
  }, {
    name: "nodejs",
    version: "10.8.0",
    date: "2018-08-01",
    lts: !1,
    security: !1,
    v8: "6.7.288.49"
  }, {
    name: "nodejs",
    version: "10.9.0",
    date: "2018-08-15",
    lts: !1,
    security: !1,
    v8: "6.8.275.24"
  }, {
    name: "nodejs",
    version: "10.10.0",
    date: "2018-09-06",
    lts: !1,
    security: !1,
    v8: "6.8.275.30"
  }, {
    name: "nodejs",
    version: "10.11.0",
    date: "2018-09-19",
    lts: !1,
    security: !1,
    v8: "6.8.275.32"
  }, {
    name: "nodejs",
    version: "10.12.0",
    date: "2018-10-10",
    lts: !1,
    security: !1,
    v8: "6.8.275.32"
  }, {
    name: "nodejs",
    version: "10.13.0",
    date: "2018-10-30",
    lts: "Dubnium",
    security: !1,
    v8: "6.8.275.32"
  }, {
    name: "nodejs",
    version: "10.14.0",
    date: "2018-11-27",
    lts: "Dubnium",
    security: !0,
    v8: "6.8.275.32"
  }, {
    name: "nodejs",
    version: "10.15.0",
    date: "2018-12-26",
    lts: "Dubnium",
    security: !1,
    v8: "6.8.275.32"
  }, {
    name: "nodejs",
    version: "10.16.0",
    date: "2019-05-28",
    lts: "Dubnium",
    security: !1,
    v8: "6.8.275.32"
  }, {
    name: "nodejs",
    version: "10.17.0",
    date: "2019-10-22",
    lts: "Dubnium",
    security: !1,
    v8: "6.8.275.32"
  }, {
    name: "nodejs",
    version: "10.18.0",
    date: "2019-12-17",
    lts: "Dubnium",
    security: !0,
    v8: "6.8.275.32"
  }, {
    name: "nodejs",
    version: "10.19.0",
    date: "2020-02-05",
    lts: "Dubnium",
    security: !0,
    v8: "6.8.275.32"
  }, {
    name: "nodejs",
    version: "10.20.0",
    date: "2020-03-26",
    lts: "Dubnium",
    security: !1,
    v8: "6.8.275.32"
  }, {
    name: "nodejs",
    version: "10.21.0",
    date: "2020-06-02",
    lts: "Dubnium",
    security: !0,
    v8: "6.8.275.32"
  }, {
    name: "nodejs",
    version: "10.22.0",
    date: "2020-07-21",
    lts: "Dubnium",
    security: !1,
    v8: "6.8.275.32"
  }, {
    name: "nodejs",
    version: "10.23.0",
    date: "2020-10-27",
    lts: "Dubnium",
    security: !1,
    v8: "6.8.275.32"
  }, {
    name: "nodejs",
    version: "10.24.0",
    date: "2021-02-23",
    lts: "Dubnium",
    security: !0,
    v8: "6.8.275.32"
  }, {
    name: "nodejs",
    version: "11.0.0",
    date: "2018-10-23",
    lts: !1,
    security: !1,
    v8: "7.0.276.28"
  }, {
    name: "nodejs",
    version: "11.1.0",
    date: "2018-10-30",
    lts: !1,
    security: !1,
    v8: "7.0.276.32"
  }, {
    name: "nodejs",
    version: "11.2.0",
    date: "2018-11-15",
    lts: !1,
    security: !1,
    v8: "7.0.276.38"
  }, {
    name: "nodejs",
    version: "11.3.0",
    date: "2018-11-27",
    lts: !1,
    security: !0,
    v8: "7.0.276.38"
  }, {
    name: "nodejs",
    version: "11.4.0",
    date: "2018-12-07",
    lts: !1,
    security: !1,
    v8: "7.0.276.38"
  }, {
    name: "nodejs",
    version: "11.5.0",
    date: "2018-12-18",
    lts: !1,
    security: !1,
    v8: "7.0.276.38"
  }, {
    name: "nodejs",
    version: "11.6.0",
    date: "2018-12-26",
    lts: !1,
    security: !1,
    v8: "7.0.276.38"
  }, {
    name: "nodejs",
    version: "11.7.0",
    date: "2019-01-17",
    lts: !1,
    security: !1,
    v8: "7.0.276.38"
  }, {
    name: "nodejs",
    version: "11.8.0",
    date: "2019-01-24",
    lts: !1,
    security: !1,
    v8: "7.0.276.38"
  }, {
    name: "nodejs",
    version: "11.9.0",
    date: "2019-01-30",
    lts: !1,
    security: !1,
    v8: "7.0.276.38"
  }, {
    name: "nodejs",
    version: "11.10.0",
    date: "2019-02-14",
    lts: !1,
    security: !1,
    v8: "7.0.276.38"
  }, {
    name: "nodejs",
    version: "11.11.0",
    date: "2019-03-05",
    lts: !1,
    security: !1,
    v8: "7.0.276.38"
  }, {
    name: "nodejs",
    version: "11.12.0",
    date: "2019-03-14",
    lts: !1,
    security: !1,
    v8: "7.0.276.38"
  }, {
    name: "nodejs",
    version: "11.13.0",
    date: "2019-03-28",
    lts: !1,
    security: !1,
    v8: "7.0.276.38"
  }, {
    name: "nodejs",
    version: "11.14.0",
    date: "2019-04-10",
    lts: !1,
    security: !1,
    v8: "7.0.276.38"
  }, {
    name: "nodejs",
    version: "11.15.0",
    date: "2019-04-30",
    lts: !1,
    security: !1,
    v8: "7.0.276.38"
  }, {
    name: "nodejs",
    version: "12.0.0",
    date: "2019-04-23",
    lts: !1,
    security: !1,
    v8: "7.4.288.21"
  }, {
    name: "nodejs",
    version: "12.1.0",
    date: "2019-04-29",
    lts: !1,
    security: !1,
    v8: "7.4.288.21"
  }, {
    name: "nodejs",
    version: "12.2.0",
    date: "2019-05-07",
    lts: !1,
    security: !1,
    v8: "7.4.288.21"
  }, {
    name: "nodejs",
    version: "12.3.0",
    date: "2019-05-21",
    lts: !1,
    security: !1,
    v8: "7.4.288.27"
  }, {
    name: "nodejs",
    version: "12.4.0",
    date: "2019-06-04",
    lts: !1,
    security: !1,
    v8: "7.4.288.27"
  }, {
    name: "nodejs",
    version: "12.5.0",
    date: "2019-06-26",
    lts: !1,
    security: !1,
    v8: "7.5.288.22"
  }, {
    name: "nodejs",
    version: "12.6.0",
    date: "2019-07-03",
    lts: !1,
    security: !1,
    v8: "7.5.288.22"
  }, {
    name: "nodejs",
    version: "12.7.0",
    date: "2019-07-23",
    lts: !1,
    security: !1,
    v8: "7.5.288.22"
  }, {
    name: "nodejs",
    version: "12.8.0",
    date: "2019-08-06",
    lts: !1,
    security: !1,
    v8: "7.5.288.22"
  }, {
    name: "nodejs",
    version: "12.9.0",
    date: "2019-08-20",
    lts: !1,
    security: !1,
    v8: "7.6.303.29"
  }, {
    name: "nodejs",
    version: "12.10.0",
    date: "2019-09-04",
    lts: !1,
    security: !1,
    v8: "7.6.303.29"
  }, {
    name: "nodejs",
    version: "12.11.0",
    date: "2019-09-25",
    lts: !1,
    security: !1,
    v8: "7.7.299.11"
  }, {
    name: "nodejs",
    version: "12.12.0",
    date: "2019-10-11",
    lts: !1,
    security: !1,
    v8: "7.7.299.13"
  }, {
    name: "nodejs",
    version: "12.13.0",
    date: "2019-10-21",
    lts: "Erbium",
    security: !1,
    v8: "7.7.299.13"
  }, {
    name: "nodejs",
    version: "12.14.0",
    date: "2019-12-17",
    lts: "Erbium",
    security: !0,
    v8: "7.7.299.13"
  }, {
    name: "nodejs",
    version: "12.15.0",
    date: "2020-02-05",
    lts: "Erbium",
    security: !0,
    v8: "7.7.299.13"
  }, {
    name: "nodejs",
    version: "12.16.0",
    date: "2020-02-11",
    lts: "Erbium",
    security: !1,
    v8: "7.8.279.23"
  }, {
    name: "nodejs",
    version: "12.17.0",
    date: "2020-05-26",
    lts: "Erbium",
    security: !1,
    v8: "7.8.279.23"
  }, {
    name: "nodejs",
    version: "12.18.0",
    date: "2020-06-02",
    lts: "Erbium",
    security: !0,
    v8: "7.8.279.23"
  }, {
    name: "nodejs",
    version: "12.19.0",
    date: "2020-10-06",
    lts: "Erbium",
    security: !1,
    v8: "7.8.279.23"
  }, {
    name: "nodejs",
    version: "12.20.0",
    date: "2020-11-24",
    lts: "Erbium",
    security: !1,
    v8: "7.8.279.23"
  }, {
    name: "nodejs",
    version: "12.21.0",
    date: "2021-02-23",
    lts: "Erbium",
    security: !0,
    v8: "7.8.279.23"
  }, {
    name: "nodejs",
    version: "12.22.0",
    date: "2021-03-30",
    lts: "Erbium",
    security: !1,
    v8: "7.8.279.23"
  }, {
    name: "nodejs",
    version: "13.0.0",
    date: "2019-10-22",
    lts: !1,
    security: !1,
    v8: "7.8.279.17"
  }, {
    name: "nodejs",
    version: "13.1.0",
    date: "2019-11-05",
    lts: !1,
    security: !1,
    v8: "7.8.279.17"
  }, {
    name: "nodejs",
    version: "13.2.0",
    date: "2019-11-21",
    lts: !1,
    security: !1,
    v8: "7.9.317.23"
  }, {
    name: "nodejs",
    version: "13.3.0",
    date: "2019-12-03",
    lts: !1,
    security: !1,
    v8: "7.9.317.25"
  }, {
    name: "nodejs",
    version: "13.4.0",
    date: "2019-12-17",
    lts: !1,
    security: !0,
    v8: "7.9.317.25"
  }, {
    name: "nodejs",
    version: "13.5.0",
    date: "2019-12-18",
    lts: !1,
    security: !1,
    v8: "7.9.317.25"
  }, {
    name: "nodejs",
    version: "13.6.0",
    date: "2020-01-07",
    lts: !1,
    security: !1,
    v8: "7.9.317.25"
  }, {
    name: "nodejs",
    version: "13.7.0",
    date: "2020-01-21",
    lts: !1,
    security: !1,
    v8: "7.9.317.25"
  }, {
    name: "nodejs",
    version: "13.8.0",
    date: "2020-02-05",
    lts: !1,
    security: !0,
    v8: "7.9.317.25"
  }, {
    name: "nodejs",
    version: "13.9.0",
    date: "2020-02-18",
    lts: !1,
    security: !1,
    v8: "7.9.317.25"
  }, {
    name: "nodejs",
    version: "13.10.0",
    date: "2020-03-04",
    lts: !1,
    security: !1,
    v8: "7.9.317.25"
  }, {
    name: "nodejs",
    version: "13.11.0",
    date: "2020-03-12",
    lts: !1,
    security: !1,
    v8: "7.9.317.25"
  }, {
    name: "nodejs",
    version: "13.12.0",
    date: "2020-03-26",
    lts: !1,
    security: !1,
    v8: "7.9.317.25"
  }, {
    name: "nodejs",
    version: "13.13.0",
    date: "2020-04-14",
    lts: !1,
    security: !1,
    v8: "7.9.317.25"
  }, {
    name: "nodejs",
    version: "13.14.0",
    date: "2020-04-29",
    lts: !1,
    security: !1,
    v8: "7.9.317.25"
  }, {
    name: "nodejs",
    version: "14.0.0",
    date: "2020-04-21",
    lts: !1,
    security: !1,
    v8: "8.1.307.30"
  }, {
    name: "nodejs",
    version: "14.1.0",
    date: "2020-04-29",
    lts: !1,
    security: !1,
    v8: "8.1.307.31"
  }, {
    name: "nodejs",
    version: "14.2.0",
    date: "2020-05-05",
    lts: !1,
    security: !1,
    v8: "8.1.307.31"
  }, {
    name: "nodejs",
    version: "14.3.0",
    date: "2020-05-19",
    lts: !1,
    security: !1,
    v8: "8.1.307.31"
  }, {
    name: "nodejs",
    version: "14.4.0",
    date: "2020-06-02",
    lts: !1,
    security: !0,
    v8: "8.1.307.31"
  }, {
    name: "nodejs",
    version: "14.5.0",
    date: "2020-06-30",
    lts: !1,
    security: !1,
    v8: "8.3.110.9"
  }, {
    name: "nodejs",
    version: "14.6.0",
    date: "2020-07-20",
    lts: !1,
    security: !1,
    v8: "8.4.371.19"
  }, {
    name: "nodejs",
    version: "14.7.0",
    date: "2020-07-29",
    lts: !1,
    security: !1,
    v8: "8.4.371.19"
  }, {
    name: "nodejs",
    version: "14.8.0",
    date: "2020-08-11",
    lts: !1,
    security: !1,
    v8: "8.4.371.19"
  }, {
    name: "nodejs",
    version: "14.9.0",
    date: "2020-08-27",
    lts: !1,
    security: !1,
    v8: "8.4.371.19"
  }, {
    name: "nodejs",
    version: "14.10.0",
    date: "2020-09-08",
    lts: !1,
    security: !1,
    v8: "8.4.371.19"
  }, {
    name: "nodejs",
    version: "14.11.0",
    date: "2020-09-15",
    lts: !1,
    security: !0,
    v8: "8.4.371.19"
  }, {
    name: "nodejs",
    version: "14.12.0",
    date: "2020-09-22",
    lts: !1,
    security: !1,
    v8: "8.4.371.19"
  }, {
    name: "nodejs",
    version: "14.13.0",
    date: "2020-09-29",
    lts: !1,
    security: !1,
    v8: "8.4.371.19"
  }, {
    name: "nodejs",
    version: "14.14.0",
    date: "2020-10-15",
    lts: !1,
    security: !1,
    v8: "8.4.371.19"
  }, {
    name: "nodejs",
    version: "14.15.0",
    date: "2020-10-27",
    lts: "Fermium",
    security: !1,
    v8: "8.4.371.19"
  }, {
    name: "nodejs",
    version: "14.16.0",
    date: "2021-02-23",
    lts: "Fermium",
    security: !0,
    v8: "8.4.371.19"
  }, {
    name: "nodejs",
    version: "14.17.0",
    date: "2021-05-11",
    lts: "Fermium",
    security: !1,
    v8: "8.4.371.23"
  }, {
    name: "nodejs",
    version: "14.18.0",
    date: "2021-09-28",
    lts: "Fermium",
    security: !1,
    v8: "8.4.371.23"
  }, {
    name: "nodejs",
    version: "14.19.0",
    date: "2022-02-01",
    lts: "Fermium",
    security: !1,
    v8: "8.4.371.23"
  }, {
    name: "nodejs",
    version: "14.20.0",
    date: "2022-07-07",
    lts: "Fermium",
    security: !0,
    v8: "8.4.371.23"
  }, {
    name: "nodejs",
    version: "14.21.0",
    date: "2022-11-01",
    lts: "Fermium",
    security: !1,
    v8: "8.4.371.23"
  }, {
    name: "nodejs",
    version: "15.0.0",
    date: "2020-10-20",
    lts: !1,
    security: !1,
    v8: "8.6.395.16"
  }, {
    name: "nodejs",
    version: "15.1.0",
    date: "2020-11-04",
    lts: !1,
    security: !1,
    v8: "8.6.395.17"
  }, {
    name: "nodejs",
    version: "15.2.0",
    date: "2020-11-10",
    lts: !1,
    security: !1,
    v8: "8.6.395.17"
  }, {
    name: "nodejs",
    version: "15.3.0",
    date: "2020-11-24",
    lts: !1,
    security: !1,
    v8: "8.6.395.17"
  }, {
    name: "nodejs",
    version: "15.4.0",
    date: "2020-12-09",
    lts: !1,
    security: !1,
    v8: "8.6.395.17"
  }, {
    name: "nodejs",
    version: "15.5.0",
    date: "2020-12-22",
    lts: !1,
    security: !1,
    v8: "8.6.395.17"
  }, {
    name: "nodejs",
    version: "15.6.0",
    date: "2021-01-14",
    lts: !1,
    security: !1,
    v8: "8.6.395.17"
  }, {
    name: "nodejs",
    version: "15.7.0",
    date: "2021-01-25",
    lts: !1,
    security: !1,
    v8: "8.6.395.17"
  }, {
    name: "nodejs",
    version: "15.8.0",
    date: "2021-02-02",
    lts: !1,
    security: !1,
    v8: "8.6.395.17"
  }, {
    name: "nodejs",
    version: "15.9.0",
    date: "2021-02-18",
    lts: !1,
    security: !1,
    v8: "8.6.395.17"
  }, {
    name: "nodejs",
    version: "15.10.0",
    date: "2021-02-23",
    lts: !1,
    security: !0,
    v8: "8.6.395.17"
  }, {
    name: "nodejs",
    version: "15.11.0",
    date: "2021-03-03",
    lts: !1,
    security: !1,
    v8: "8.6.395.17"
  }, {
    name: "nodejs",
    version: "15.12.0",
    date: "2021-03-17",
    lts: !1,
    security: !1,
    v8: "8.6.395.17"
  }, {
    name: "nodejs",
    version: "15.13.0",
    date: "2021-03-31",
    lts: !1,
    security: !1,
    v8: "8.6.395.17"
  }, {
    name: "nodejs",
    version: "15.14.0",
    date: "2021-04-06",
    lts: !1,
    security: !1,
    v8: "8.6.395.17"
  }, {
    name: "nodejs",
    version: "16.0.0",
    date: "2021-04-20",
    lts: !1,
    security: !1,
    v8: "9.0.257.17"
  }, {
    name: "nodejs",
    version: "16.1.0",
    date: "2021-05-04",
    lts: !1,
    security: !1,
    v8: "9.0.257.24"
  }, {
    name: "nodejs",
    version: "16.2.0",
    date: "2021-05-19",
    lts: !1,
    security: !1,
    v8: "9.0.257.25"
  }, {
    name: "nodejs",
    version: "16.3.0",
    date: "2021-06-03",
    lts: !1,
    security: !1,
    v8: "9.0.257.25"
  }, {
    name: "nodejs",
    version: "16.4.0",
    date: "2021-06-23",
    lts: !1,
    security: !1,
    v8: "9.1.269.36"
  }, {
    name: "nodejs",
    version: "16.5.0",
    date: "2021-07-14",
    lts: !1,
    security: !1,
    v8: "9.1.269.38"
  }, {
    name: "nodejs",
    version: "16.6.0",
    date: "2021-07-29",
    lts: !1,
    security: !0,
    v8: "9.2.230.21"
  }, {
    name: "nodejs",
    version: "16.7.0",
    date: "2021-08-18",
    lts: !1,
    security: !1,
    v8: "9.2.230.21"
  }, {
    name: "nodejs",
    version: "16.8.0",
    date: "2021-08-25",
    lts: !1,
    security: !1,
    v8: "9.2.230.21"
  }, {
    name: "nodejs",
    version: "16.9.0",
    date: "2021-09-07",
    lts: !1,
    security: !1,
    v8: "9.3.345.16"
  }, {
    name: "nodejs",
    version: "16.10.0",
    date: "2021-09-22",
    lts: !1,
    security: !1,
    v8: "9.3.345.19"
  }, {
    name: "nodejs",
    version: "16.11.0",
    date: "2021-10-08",
    lts: !1,
    security: !1,
    v8: "9.4.146.19"
  }, {
    name: "nodejs",
    version: "16.12.0",
    date: "2021-10-20",
    lts: !1,
    security: !1,
    v8: "9.4.146.19"
  }, {
    name: "nodejs",
    version: "16.13.0",
    date: "2021-10-26",
    lts: "Gallium",
    security: !1,
    v8: "9.4.146.19"
  }, {
    name: "nodejs",
    version: "16.14.0",
    date: "2022-02-08",
    lts: "Gallium",
    security: !1,
    v8: "9.4.146.24"
  }, {
    name: "nodejs",
    version: "16.15.0",
    date: "2022-04-26",
    lts: "Gallium",
    security: !1,
    v8: "9.4.146.24"
  }, {
    name: "nodejs",
    version: "16.16.0",
    date: "2022-07-07",
    lts: "Gallium",
    security: !0,
    v8: "9.4.146.24"
  }, {
    name: "nodejs",
    version: "16.17.0",
    date: "2022-08-16",
    lts: "Gallium",
    security: !1,
    v8: "9.4.146.26"
  }, {
    name: "nodejs",
    version: "16.18.0",
    date: "2022-10-12",
    lts: "Gallium",
    security: !1,
    v8: "9.4.146.26"
  }, {
    name: "nodejs",
    version: "16.19.0",
    date: "2022-12-13",
    lts: "Gallium",
    security: !1,
    v8: "9.4.146.26"
  }, {
    name: "nodejs",
    version: "16.20.0",
    date: "2023-03-28",
    lts: "Gallium",
    security: !1,
    v8: "9.4.146.26"
  }, {
    name: "nodejs",
    version: "17.0.0",
    date: "2021-10-19",
    lts: !1,
    security: !1,
    v8: "9.5.172.21"
  }, {
    name: "nodejs",
    version: "17.1.0",
    date: "2021-11-09",
    lts: !1,
    security: !1,
    v8: "9.5.172.25"
  }, {
    name: "nodejs",
    version: "17.2.0",
    date: "2021-11-30",
    lts: !1,
    security: !1,
    v8: "9.6.180.14"
  }, {
    name: "nodejs",
    version: "17.3.0",
    date: "2021-12-17",
    lts: !1,
    security: !1,
    v8: "9.6.180.15"
  }, {
    name: "nodejs",
    version: "17.4.0",
    date: "2022-01-18",
    lts: !1,
    security: !1,
    v8: "9.6.180.15"
  }, {
    name: "nodejs",
    version: "17.5.0",
    date: "2022-02-10",
    lts: !1,
    security: !1,
    v8: "9.6.180.15"
  }, {
    name: "nodejs",
    version: "17.6.0",
    date: "2022-02-22",
    lts: !1,
    security: !1,
    v8: "9.6.180.15"
  }, {
    name: "nodejs",
    version: "17.7.0",
    date: "2022-03-09",
    lts: !1,
    security: !1,
    v8: "9.6.180.15"
  }, {
    name: "nodejs",
    version: "17.8.0",
    date: "2022-03-22",
    lts: !1,
    security: !1,
    v8: "9.6.180.15"
  }, {
    name: "nodejs",
    version: "17.9.0",
    date: "2022-04-07",
    lts: !1,
    security: !1,
    v8: "9.6.180.15"
  }, {
    name: "nodejs",
    version: "18.0.0",
    date: "2022-04-18",
    lts: !1,
    security: !1,
    v8: "10.1.124.8"
  }, {
    name: "nodejs",
    version: "18.1.0",
    date: "2022-05-03",
    lts: !1,
    security: !1,
    v8: "10.1.124.8"
  }, {
    name: "nodejs",
    version: "18.2.0",
    date: "2022-05-17",
    lts: !1,
    security: !1,
    v8: "10.1.124.8"
  }, {
    name: "nodejs",
    version: "18.3.0",
    date: "2022-06-02",
    lts: !1,
    security: !1,
    v8: "10.2.154.4"
  }, {
    name: "nodejs",
    version: "18.4.0",
    date: "2022-06-16",
    lts: !1,
    security: !1,
    v8: "10.2.154.4"
  }, {
    name: "nodejs",
    version: "18.5.0",
    date: "2022-07-06",
    lts: !1,
    security: !0,
    v8: "10.2.154.4"
  }, {
    name: "nodejs",
    version: "18.6.0",
    date: "2022-07-13",
    lts: !1,
    security: !1,
    v8: "10.2.154.13"
  }, {
    name: "nodejs",
    version: "18.7.0",
    date: "2022-07-26",
    lts: !1,
    security: !1,
    v8: "10.2.154.13"
  }, {
    name: "nodejs",
    version: "18.8.0",
    date: "2022-08-24",
    lts: !1,
    security: !1,
    v8: "10.2.154.13"
  }, {
    name: "nodejs",
    version: "18.9.0",
    date: "2022-09-07",
    lts: !1,
    security: !1,
    v8: "10.2.154.15"
  }, {
    name: "nodejs",
    version: "18.10.0",
    date: "2022-09-28",
    lts: !1,
    security: !1,
    v8: "10.2.154.15"
  }, {
    name: "nodejs",
    version: "18.11.0",
    date: "2022-10-13",
    lts: !1,
    security: !1,
    v8: "10.2.154.15"
  }, {
    name: "nodejs",
    version: "18.12.0",
    date: "2022-10-25",
    lts: "Hydrogen",
    security: !1,
    v8: "10.2.154.15"
  }, {
    name: "nodejs",
    version: "18.13.0",
    date: "2023-01-05",
    lts: "Hydrogen",
    security: !1,
    v8: "10.2.154.23"
  }, {
    name: "nodejs",
    version: "18.14.0",
    date: "2023-02-01",
    lts: "Hydrogen",
    security: !1,
    v8: "10.2.154.23"
  }, {
    name: "nodejs",
    version: "18.15.0",
    date: "2023-03-05",
    lts: "Hydrogen",
    security: !1,
    v8: "10.2.154.26"
  }, {
    name: "nodejs",
    version: "18.16.0",
    date: "2023-04-12",
    lts: "Hydrogen",
    security: !1,
    v8: "10.2.154.26"
  }, {
    name: "nodejs",
    version: "18.17.0",
    date: "2023-07-18",
    lts: "Hydrogen",
    security: !1,
    v8: "10.2.154.26"
  }, {
    name: "nodejs",
    version: "18.18.0",
    date: "2023-09-18",
    lts: "Hydrogen",
    security: !1,
    v8: "10.2.154.26"
  }, {
    name: "nodejs",
    version: "18.19.0",
    date: "2023-11-29",
    lts: "Hydrogen",
    security: !1,
    v8: "10.2.154.26"
  }, {
    name: "nodejs",
    version: "18.20.0",
    date: "2024-03-26",
    lts: "Hydrogen",
    security: !1,
    v8: "10.2.154.26"
  }, {
    name: "nodejs",
    version: "19.0.0",
    date: "2022-10-17",
    lts: !1,
    security: !1,
    v8: "10.7.193.13"
  }, {
    name: "nodejs",
    version: "19.1.0",
    date: "2022-11-14",
    lts: !1,
    security: !1,
    v8: "10.7.193.20"
  }, {
    name: "nodejs",
    version: "19.2.0",
    date: "2022-11-29",
    lts: !1,
    security: !1,
    v8: "10.8.168.20"
  }, {
    name: "nodejs",
    version: "19.3.0",
    date: "2022-12-14",
    lts: !1,
    security: !1,
    v8: "10.8.168.21"
  }, {
    name: "nodejs",
    version: "19.4.0",
    date: "2023-01-05",
    lts: !1,
    security: !1,
    v8: "10.8.168.25"
  }, {
    name: "nodejs",
    version: "19.5.0",
    date: "2023-01-24",
    lts: !1,
    security: !1,
    v8: "10.8.168.25"
  }, {
    name: "nodejs",
    version: "19.6.0",
    date: "2023-02-01",
    lts: !1,
    security: !1,
    v8: "10.8.168.25"
  }, {
    name: "nodejs",
    version: "19.7.0",
    date: "2023-02-21",
    lts: !1,
    security: !1,
    v8: "10.8.168.25"
  }, {
    name: "nodejs",
    version: "19.8.0",
    date: "2023-03-14",
    lts: !1,
    security: !1,
    v8: "10.8.168.25"
  }, {
    name: "nodejs",
    version: "19.9.0",
    date: "2023-04-10",
    lts: !1,
    security: !1,
    v8: "10.8.168.25"
  }, {
    name: "nodejs",
    version: "20.0.0",
    date: "2023-04-17",
    lts: !1,
    security: !1,
    v8: "11.3.244.4"
  }, {
    name: "nodejs",
    version: "20.1.0",
    date: "2023-05-03",
    lts: !1,
    security: !1,
    v8: "11.3.244.8"
  }, {
    name: "nodejs",
    version: "20.2.0",
    date: "2023-05-16",
    lts: !1,
    security: !1,
    v8: "11.3.244.8"
  }, {
    name: "nodejs",
    version: "20.3.0",
    date: "2023-06-08",
    lts: !1,
    security: !1,
    v8: "11.3.244.8"
  }, {
    name: "nodejs",
    version: "20.4.0",
    date: "2023-07-04",
    lts: !1,
    security: !1,
    v8: "11.3.244.8"
  }, {
    name: "nodejs",
    version: "20.5.0",
    date: "2023-07-19",
    lts: !1,
    security: !1,
    v8: "11.3.244.8"
  }, {
    name: "nodejs",
    version: "20.6.0",
    date: "2023-08-23",
    lts: !1,
    security: !1,
    v8: "11.3.244.8"
  }, {
    name: "nodejs",
    version: "20.7.0",
    date: "2023-09-18",
    lts: !1,
    security: !1,
    v8: "11.3.244.8"
  }, {
    name: "nodejs",
    version: "20.8.0",
    date: "2023-09-28",
    lts: !1,
    security: !1,
    v8: "11.3.244.8"
  }, {
    name: "nodejs",
    version: "20.9.0",
    date: "2023-10-24",
    lts: "Iron",
    security: !1,
    v8: "11.3.244.8"
  }, {
    name: "nodejs",
    version: "20.10.0",
    date: "2023-11-22",
    lts: "Iron",
    security: !1,
    v8: "11.3.244.8"
  }, {
    name: "nodejs",
    version: "20.11.0",
    date: "2024-01-09",
    lts: "Iron",
    security: !1,
    v8: "11.3.244.8"
  }, {
    name: "nodejs",
    version: "20.12.0",
    date: "2024-03-26",
    lts: "Iron",
    security: !1,
    v8: "11.3.244.8"
  }, {
    name: "nodejs",
    version: "20.13.0",
    date: "2024-05-07",
    lts: "Iron",
    security: !1,
    v8: "11.3.244.8"
  }, {
    name: "nodejs",
    version: "20.14.0",
    date: "2024-05-28",
    lts: "Iron",
    security: !1,
    v8: "11.3.244.8"
  }, {
    name: "nodejs",
    version: "20.15.0",
    date: "2024-06-20",
    lts: "Iron",
    security: !1,
    v8: "11.3.244.8"
  }, {
    name: "nodejs",
    version: "21.0.0",
    date: "2023-10-17",
    lts: !1,
    security: !1,
    v8: "11.8.172.13"
  }, {
    name: "nodejs",
    version: "21.1.0",
    date: "2023-10-24",
    lts: !1,
    security: !1,
    v8: "11.8.172.15"
  }, {
    name: "nodejs",
    version: "21.2.0",
    date: "2023-11-14",
    lts: !1,
    security: !1,
    v8: "11.8.172.17"
  }, {
    name: "nodejs",
    version: "21.3.0",
    date: "2023-11-30",
    lts: !1,
    security: !1,
    v8: "11.8.172.17"
  }, {
    name: "nodejs",
    version: "21.4.0",
    date: "2023-12-05",
    lts: !1,
    security: !1,
    v8: "11.8.172.17"
  }, {
    name: "nodejs",
    version: "21.5.0",
    date: "2023-12-19",
    lts: !1,
    security: !1,
    v8: "11.8.172.17"
  }, {
    name: "nodejs",
    version: "21.6.0",
    date: "2024-01-14",
    lts: !1,
    security: !1,
    v8: "11.8.172.17"
  }, {
    name: "nodejs",
    version: "21.7.0",
    date: "2024-03-06",
    lts: !1,
    security: !1,
    v8: "11.8.172.17"
  }, {
    name: "nodejs",
    version: "22.0.0",
    date: "2024-04-24",
    lts: !1,
    security: !1,
    v8: "12.4.254.14"
  }, {
    name: "nodejs",
    version: "22.1.0",
    date: "2024-05-02",
    lts: !1,
    security: !1,
    v8: "12.4.254.14"
  }, {
    name: "nodejs",
    version: "22.2.0",
    date: "2024-05-15",
    lts: !1,
    security: !1,
    v8: "12.4.254.14"
  }, {
    name: "nodejs",
    version: "22.3.0",
    date: "2024-06-11",
    lts: !1,
    security: !1,
    v8: "12.4.254.20"
  }, {
    name: "nodejs",
    version: "22.4.0",
    date: "2024-07-02",
    lts: !1,
    security: !1,
    v8: "12.4.254.21"
  }, {
    name: "nodejs",
    version: "22.5.0",
    date: "2024-07-17",
    lts: !1,
    security: !1,
    v8: "12.4.254.21"
  }];
var Yd = {},
  Jm = {},
  M$ = {
    A: "ie",
    B: "edge",
    C: "firefox",
    D: "chrome",
    E: "safari",
    F: "opera",
    G: "ios_saf",
    H: "op_mini",
    I: "android",
    J: "bb",
    K: "op_mob",
    L: "and_chr",
    M: "and_ff",
    N: "ie_mob",
    O: "and_uc",
    P: "samsung",
    Q: "and_qq",
    R: "baidu",
    S: "kaios"
  };
Jm.browsers = M$;
var Ym = {},
  L$ = {
    0: "25",
    1: "112",
    2: "113",
    3: "114",
    4: "115",
    5: "116",
    6: "117",
    7: "118",
    8: "119",
    9: "120",
    A: "10",
    B: "11",
    C: "12",
    D: "127",
    E: "7",
    F: "8",
    G: "9",
    H: "15",
    I: "80",
    J: "4",
    K: "6",
    L: "13",
    M: "14",
    N: "16",
    O: "17",
    P: "18",
    Q: "79",
    R: "81",
    S: "83",
    T: "84",
    U: "85",
    V: "86",
    W: "87",
    X: "88",
    Y: "89",
    Z: "90",
    a: "91",
    b: "92",
    c: "93",
    d: "94",
    e: "95",
    f: "96",
    g: "97",
    h: "98",
    i: "99",
    j: "100",
    k: "101",
    l: "102",
    m: "103",
    n: "104",
    o: "105",
    p: "106",
    q: "107",
    r: "108",
    s: "109",
    t: "110",
    u: "111",
    v: "20",
    w: "21",
    x: "22",
    y: "23",
    z: "24",
    AB: "121",
    BB: "122",
    CB: "123",
    DB: "124",
    EB: "125",
    FB: "126",
    GB: "5",
    HB: "19",
    IB: "26",
    JB: "27",
    KB: "28",
    LB: "29",
    MB: "30",
    NB: "31",
    OB: "32",
    PB: "33",
    QB: "34",
    RB: "35",
    SB: "36",
    TB: "37",
    UB: "38",
    VB: "39",
    WB: "40",
    XB: "41",
    YB: "42",
    ZB: "43",
    aB: "44",
    bB: "45",
    cB: "46",
    dB: "47",
    eB: "48",
    fB: "49",
    gB: "50",
    hB: "51",
    iB: "52",
    jB: "53",
    kB: "54",
    lB: "55",
    mB: "56",
    nB: "57",
    oB: "58",
    pB: "60",
    qB: "62",
    rB: "63",
    sB: "64",
    tB: "65",
    uB: "66",
    vB: "67",
    wB: "68",
    xB: "69",
    yB: "70",
    zB: "71",
    "0B": "72",
    "1B": "73",
    "2B": "74",
    "3B": "75",
    "4B": "76",
    "5B": "77",
    "6B": "78",
    "7B": "11.1",
    "8B": "12.1",
    "9B": "15.5",
    AC: "16.0",
    BC: "17.0",
    CC: "18.0",
    DC: "3",
    EC: "59",
    FC: "61",
    GC: "82",
    HC: "128",
    IC: "129",
    JC: "130",
    KC: "3.2",
    LC: "10.1",
    MC: "15.2-15.3",
    NC: "15.4",
    OC: "16.1",
    PC: "16.2",
    QC: "16.3",
    RC: "16.4",
    SC: "16.5",
    TC: "17.1",
    UC: "17.2",
    VC: "17.3",
    WC: "17.4",
    XC: "17.5",
    YC: "17.6",
    ZC: "11.5",
    aC: "4.2-4.3",
    bC: "5.5",
    cC: "2",
    dC: "131",
    eC: "132",
    fC: "3.5",
    gC: "3.6",
    hC: "3.1",
    iC: "5.1",
    jC: "6.1",
    kC: "7.1",
    lC: "9.1",
    mC: "13.1",
    nC: "14.1",
    oC: "15.1",
    pC: "15.6",
    qC: "16.6",
    rC: "TP",
    sC: "9.5-9.6",
    tC: "10.0-10.1",
    uC: "10.5",
    vC: "10.6",
    wC: "11.6",
    xC: "4.0-4.1",
    yC: "5.0-5.1",
    zC: "6.0-6.1",
    "0C": "7.0-7.1",
    "1C": "8.1-8.4",
    "2C": "9.0-9.2",
    "3C": "9.3",
    "4C": "10.0-10.2",
    "5C": "10.3",
    "6C": "11.0-11.2",
    "7C": "11.3-11.4",
    "8C": "12.0-12.1",
    "9C": "12.2-12.5",
    AD: "13.0-13.1",
    BD: "13.2",
    CD: "13.3",
    DD: "13.4-13.7",
    ED: "14.0-14.4",
    FD: "14.5-14.8",
    GD: "15.0-15.1",
    HD: "15.6-15.8",
    ID: "16.6-16.7",
    JD: "all",
    KD: "2.1",
    LD: "2.2",
    MD: "2.3",
    ND: "4.1",
    OD: "4.4",
    PD: "4.4.3-4.4.4",
    QD: "5.0-5.4",
    RD: "6.2-6.4",
    SD: "7.2-7.4",
    TD: "8.2",
    UD: "9.2",
    VD: "11.1-11.2",
    WD: "12.0",
    XD: "13.0",
    YD: "14.0",
    ZD: "15.0",
    aD: "19.0",
    bD: "14.9",
    cD: "13.52",
    dD: "2.5",
    eD: "3.0-3.1"
  };
Ym.browserVersions = L$;
var U$ = {
  A: {
    A: {
      K: 0,
      E: 0,
      F: .046943,
      G: .0625907,
      A: 0,
      B: .500725,
      bC: 0
    },
    B: "ms",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "bC", "K", "E", "F", "G", "A", "B", "", "", ""],
    E: "IE",
    F: {
      bC: 962323200,
      K: 998870400,
      E: 1161129600,
      F: 1237420800,
      G: 1300060800,
      A: 1346716800,
      B: 1381968e3
    }
  },
  B: {
    A: {
      1: .007222,
      2: .014444,
      3: .010833,
      4: .007222,
      5: .007222,
      6: .010833,
      7: .007222,
      8: .014444,
      9: .03611,
      C: 0,
      L: 0,
      M: 0,
      H: 0,
      N: 0,
      O: .003611,
      P: .043332,
      Q: 0,
      I: 0,
      R: 0,
      S: 0,
      T: 0,
      U: 0,
      V: 0,
      W: 0,
      X: 0,
      Y: 0,
      Z: 0,
      a: 0,
      b: .014444,
      c: 0,
      d: 0,
      e: 0,
      f: 0,
      g: 0,
      h: 0,
      i: 0,
      j: 0,
      k: 0,
      l: 0,
      m: 0,
      n: 0,
      o: 0,
      p: 0,
      q: .007222,
      r: .007222,
      s: .064998,
      t: .007222,
      u: .007222,
      AB: .021666,
      BB: .032499,
      CB: .021666,
      DB: .039721,
      EB: .122774,
      FB: 3.94682,
      D: .512762
    },
    B: "webkit",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "C", "L", "M", "H", "N", "O", "P", "Q", "I", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "D", "", "", ""],
    E: "Edge",
    F: {
      1: 1680825600,
      2: 1683158400,
      3: 1685664e3,
      4: 1689897600,
      5: 1692576e3,
      6: 1694649600,
      7: 1697155200,
      8: 1698969600,
      9: 1701993600,
      C: 1438128e3,
      L: 1447286400,
      M: 1470096e3,
      H: 1491868800,
      N: 1508198400,
      O: 1525046400,
      P: 1542067200,
      Q: 1579046400,
      I: 1581033600,
      R: 1586736e3,
      S: 1590019200,
      T: 1594857600,
      U: 1598486400,
      V: 1602201600,
      W: 1605830400,
      X: 161136e4,
      Y: 1614816e3,
      Z: 1618358400,
      a: 1622073600,
      b: 1626912e3,
      c: 1630627200,
      d: 1632441600,
      e: 1634774400,
      f: 1637539200,
      g: 1641427200,
      h: 1643932800,
      i: 1646265600,
      j: 1649635200,
      k: 1651190400,
      l: 1653955200,
      m: 1655942400,
      n: 1659657600,
      o: 1661990400,
      p: 1664755200,
      q: 1666915200,
      r: 1670198400,
      s: 1673481600,
      t: 1675900800,
      u: 1678665600,
      AB: 1706227200,
      BB: 1708732800,
      CB: 1711152e3,
      DB: 1713398400,
      EB: 1715990400,
      FB: 1718841600,
      D: 1721865600
    },
    D: {
      C: "ms",
      L: "ms",
      M: "ms",
      H: "ms",
      N: "ms",
      O: "ms",
      P: "ms"
    }
  },
  C: {
    A: {
      0: 0,
      1: 0,
      2: .007222,
      3: 0,
      4: .346656,
      5: 0,
      6: .007222,
      7: .07222,
      8: 0,
      9: .007222,
      cC: 0,
      DC: 0,
      J: 0,
      GB: 0,
      K: 0,
      E: 0,
      F: 0,
      G: 0,
      A: 0,
      B: .018055,
      C: 0,
      L: 0,
      M: 0,
      H: 0,
      N: 0,
      O: 0,
      P: 0,
      HB: 0,
      v: 0,
      w: 0,
      x: 0,
      y: 0,
      z: 0,
      IB: 0,
      JB: 0,
      KB: 0,
      LB: 0,
      MB: 0,
      NB: 0,
      OB: 0,
      PB: 0,
      QB: 0,
      RB: 0,
      SB: 0,
      TB: 0,
      UB: 0,
      VB: 0,
      WB: 0,
      XB: 0,
      YB: 0,
      ZB: .007222,
      aB: .007222,
      bB: .007222,
      cB: 0,
      dB: 0,
      eB: 0,
      fB: 0,
      gB: .003611,
      hB: 0,
      iB: .043332,
      jB: .003611,
      kB: .007222,
      lB: 0,
      mB: .018055,
      nB: 0,
      oB: 0,
      EC: .003611,
      pB: 0,
      FC: 0,
      qB: 0,
      rB: 0,
      sB: 0,
      tB: 0,
      uB: 0,
      vB: 0,
      wB: 0,
      xB: 0,
      yB: 0,
      zB: 0,
      "0B": .003611,
      "1B": 0,
      "2B": 0,
      "3B": 0,
      "4B": 0,
      "5B": 0,
      "6B": .014444,
      Q: 0,
      I: 0,
      R: 0,
      GC: 0,
      S: 0,
      T: 0,
      U: 0,
      V: 0,
      W: 0,
      X: .007222,
      Y: 0,
      Z: 0,
      a: 0,
      b: 0,
      c: 0,
      d: .003611,
      e: 0,
      f: 0,
      g: 0,
      h: 0,
      i: 0,
      j: 0,
      k: 0,
      l: .007222,
      m: .007222,
      n: 0,
      o: .003611,
      p: 0,
      q: .003611,
      r: .003611,
      s: .010833,
      t: 0,
      u: 0,
      AB: .010833,
      BB: .007222,
      CB: .028888,
      DB: .010833,
      EB: .018055,
      FB: .046943,
      D: .592204,
      HC: .953304,
      IC: .007222,
      JC: 0,
      dC: 0,
      eC: 0,
      fC: 0,
      gC: 0
    },
    B: "moz",
    C: ["cC", "DC", "fC", "gC", "J", "GB", "K", "E", "F", "G", "A", "B", "C", "L", "M", "H", "N", "O", "P", "HB", "v", "w", "x", "y", "z", "0", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "kB", "lB", "mB", "nB", "oB", "EC", "pB", "FC", "qB", "rB", "sB", "tB", "uB", "vB", "wB", "xB", "yB", "zB", "0B", "1B", "2B", "3B", "4B", "5B", "6B", "Q", "I", "R", "GC", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "D", "HC", "IC", "JC", "dC", "eC"],
    E: "Firefox",
    F: {
      0: 1379376e3,
      1: 1681171200,
      2: 1683590400,
      3: 1686009600,
      4: 1688428800,
      5: 1690848e3,
      6: 1693267200,
      7: 1695686400,
      8: 1698105600,
      9: 1700524800,
      cC: 1161648e3,
      DC: 1213660800,
      fC: 124632e4,
      gC: 1264032e3,
      J: 1300752e3,
      GB: 1308614400,
      K: 1313452800,
      E: 1317081600,
      F: 1317081600,
      G: 1320710400,
      A: 1324339200,
      B: 1327968e3,
      C: 1331596800,
      L: 1335225600,
      M: 1338854400,
      H: 1342483200,
      N: 1346112e3,
      O: 1349740800,
      P: 1353628800,
      HB: 1357603200,
      v: 1361232e3,
      w: 1364860800,
      x: 1368489600,
      y: 1372118400,
      z: 1375747200,
      IB: 1386633600,
      JB: 1391472e3,
      KB: 1395100800,
      LB: 1398729600,
      MB: 1402358400,
      NB: 1405987200,
      OB: 1409616e3,
      PB: 1413244800,
      QB: 1417392e3,
      RB: 1421107200,
      SB: 1424736e3,
      TB: 1428278400,
      UB: 1431475200,
      VB: 1435881600,
      WB: 1439251200,
      XB: 144288e4,
      YB: 1446508800,
      ZB: 1450137600,
      aB: 1453852800,
      bB: 1457395200,
      cB: 1461628800,
      dB: 1465257600,
      eB: 1470096e3,
      fB: 1474329600,
      gB: 1479168e3,
      hB: 1485216e3,
      iB: 1488844800,
      jB: 149256e4,
      kB: 1497312e3,
      lB: 1502150400,
      mB: 1506556800,
      nB: 1510617600,
      oB: 1516665600,
      EC: 1520985600,
      pB: 1525824e3,
      FC: 1529971200,
      qB: 1536105600,
      rB: 1540252800,
      sB: 1544486400,
      tB: 154872e4,
      uB: 1552953600,
      vB: 1558396800,
      wB: 1562630400,
      xB: 1567468800,
      yB: 1571788800,
      zB: 1575331200,
      "0B": 1578355200,
      "1B": 1581379200,
      "2B": 1583798400,
      "3B": 1586304e3,
      "4B": 1588636800,
      "5B": 1591056e3,
      "6B": 1593475200,
      Q: 1595894400,
      I: 1598313600,
      R: 1600732800,
      GC: 1603152e3,
      S: 1605571200,
      T: 1607990400,
      U: 1611619200,
      V: 1614038400,
      W: 1616457600,
      X: 1618790400,
      Y: 1622505600,
      Z: 1626134400,
      a: 1628553600,
      b: 1630972800,
      c: 1633392e3,
      d: 1635811200,
      e: 1638835200,
      f: 1641859200,
      g: 1644364800,
      h: 1646697600,
      i: 1649116800,
      j: 1651536e3,
      k: 1653955200,
      l: 1656374400,
      m: 1658793600,
      n: 1661212800,
      o: 1663632e3,
      p: 1666051200,
      q: 1668470400,
      r: 1670889600,
      s: 1673913600,
      t: 1676332800,
      u: 1678752e3,
      AB: 1702944e3,
      BB: 1705968e3,
      CB: 1708387200,
      DB: 1710806400,
      EB: 1713225600,
      FB: 1715644800,
      D: 1718064e3,
      HC: 1720483200,
      IC: 1722902400,
      JC: null,
      dC: null,
      eC: null
    }
  },
  D: {
    A: {
      0: 0,
      1: .050554,
      2: .093886,
      3: .090275,
      4: .03611,
      5: .158884,
      6: .104719,
      7: .075831,
      8: .064998,
      9: .111941,
      J: 0,
      GB: 0,
      K: 0,
      E: 0,
      F: 0,
      G: 0,
      A: 0,
      B: 0,
      C: 0,
      L: 0,
      M: 0,
      H: 0,
      N: 0,
      O: 0,
      P: 0,
      HB: 0,
      v: 0,
      w: 0,
      x: 0,
      y: 0,
      z: 0,
      IB: 0,
      JB: 0,
      KB: 0,
      LB: 0,
      MB: 0,
      NB: 0,
      OB: 0,
      PB: 0,
      QB: 0,
      RB: 0,
      SB: 0,
      TB: 0,
      UB: .010833,
      VB: 0,
      WB: 0,
      XB: 0,
      YB: 0,
      ZB: 0,
      aB: 0,
      bB: .003611,
      cB: 0,
      dB: .003611,
      eB: .021666,
      fB: .021666,
      gB: .018055,
      hB: 0,
      iB: .003611,
      jB: .007222,
      kB: 0,
      lB: 0,
      mB: .010833,
      nB: 0,
      oB: .007222,
      EC: 0,
      pB: 0,
      FC: .003611,
      qB: 0,
      rB: 0,
      sB: 0,
      tB: 0,
      uB: .025277,
      vB: .007222,
      wB: 0,
      xB: .014444,
      yB: .097497,
      zB: .003611,
      "0B": 0,
      "1B": .014444,
      "2B": .010833,
      "3B": .010833,
      "4B": .007222,
      "5B": .010833,
      "6B": .018055,
      Q: .10833,
      I: .014444,
      R: .021666,
      S: .03611,
      T: .007222,
      U: .014444,
      V: .028888,
      W: .075831,
      X: .014444,
      Y: .010833,
      Z: .014444,
      a: .050554,
      b: .025277,
      c: .021666,
      d: .050554,
      e: .014444,
      f: .014444,
      g: .021666,
      h: .054165,
      i: .032499,
      j: .021666,
      k: .021666,
      l: .014444,
      m: .126385,
      n: .064998,
      o: .018055,
      p: .032499,
      q: .03611,
      r: .054165,
      s: 1.46607,
      t: .028888,
      u: .043332,
      AB: .148051,
      BB: .184161,
      CB: .176939,
      DB: .278047,
      EB: .769143,
      FB: 14.4007,
      D: 1.68273,
      HC: .018055,
      IC: 0,
      JC: 0
    },
    B: "webkit",
    C: ["", "", "", "", "", "", "", "J", "GB", "K", "E", "F", "G", "A", "B", "C", "L", "M", "H", "N", "O", "P", "HB", "v", "w", "x", "y", "z", "0", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "kB", "lB", "mB", "nB", "oB", "EC", "pB", "FC", "qB", "rB", "sB", "tB", "uB", "vB", "wB", "xB", "yB", "zB", "0B", "1B", "2B", "3B", "4B", "5B", "6B", "Q", "I", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "1", "2", "3", "4", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "D", "HC", "IC", "JC"],
    E: "Chrome",
    F: {
      0: 1357862400,
      1: 1680566400,
      2: 1682985600,
      3: 1685404800,
      4: 1689724800,
      5: 1692057600,
      6: 1694476800,
      7: 1696896e3,
      8: 1698710400,
      9: 1701993600,
      J: 1264377600,
      GB: 1274745600,
      K: 1283385600,
      E: 1287619200,
      F: 1291248e3,
      G: 1296777600,
      A: 1299542400,
      B: 1303862400,
      C: 1307404800,
      L: 1312243200,
      M: 1316131200,
      H: 1316131200,
      N: 1319500800,
      O: 1323734400,
      P: 1328659200,
      HB: 1332892800,
      v: 133704e4,
      w: 1340668800,
      x: 1343692800,
      y: 1348531200,
      z: 1352246400,
      IB: 1361404800,
      JB: 1364428800,
      KB: 1369094400,
      LB: 1374105600,
      MB: 1376956800,
      NB: 1384214400,
      OB: 1389657600,
      PB: 1392940800,
      QB: 1397001600,
      RB: 1400544e3,
      SB: 1405468800,
      TB: 1409011200,
      UB: 141264e4,
      VB: 1416268800,
      WB: 1421798400,
      XB: 1425513600,
      YB: 1429401600,
      ZB: 143208e4,
      aB: 1437523200,
      bB: 1441152e3,
      cB: 1444780800,
      dB: 1449014400,
      eB: 1453248e3,
      fB: 1456963200,
      gB: 1460592e3,
      hB: 1464134400,
      iB: 1469059200,
      jB: 1472601600,
      kB: 1476230400,
      lB: 1480550400,
      mB: 1485302400,
      nB: 1489017600,
      oB: 149256e4,
      EC: 1496707200,
      pB: 1500940800,
      FC: 1504569600,
      qB: 1508198400,
      rB: 1512518400,
      sB: 1516752e3,
      tB: 1520294400,
      uB: 1523923200,
      vB: 1527552e3,
      wB: 1532390400,
      xB: 1536019200,
      yB: 1539648e3,
      zB: 1543968e3,
      "0B": 154872e4,
      "1B": 1552348800,
      "2B": 1555977600,
      "3B": 1559606400,
      "4B": 1564444800,
      "5B": 1568073600,
      "6B": 1571702400,
      Q: 1575936e3,
      I: 1580860800,
      R: 1586304e3,
      S: 1589846400,
      T: 1594684800,
      U: 1598313600,
      V: 1601942400,
      W: 1605571200,
      X: 1611014400,
      Y: 1614556800,
      Z: 1618272e3,
      a: 1621987200,
      b: 1626739200,
      c: 1630368e3,
      d: 1632268800,
      e: 1634601600,
      f: 1637020800,
      g: 1641340800,
      h: 1643673600,
      i: 1646092800,
      j: 1648512e3,
      k: 1650931200,
      l: 1653350400,
      m: 1655769600,
      n: 1659398400,
      o: 1661817600,
      p: 1664236800,
      q: 1666656e3,
      r: 166968e4,
      s: 1673308800,
      t: 1675728e3,
      u: 1678147200,
      AB: 1705968e3,
      BB: 1708387200,
      CB: 1710806400,
      DB: 1713225600,
      EB: 1715644800,
      FB: 1718064e3,
      D: 1721174400,
      HC: null,
      IC: null,
      JC: null
    }
  },
  E: {
    A: {
      J: 0,
      GB: 0,
      K: 0,
      E: 0,
      F: 0,
      G: .003611,
      A: 0,
      B: 0,
      C: 0,
      L: .007222,
      M: .032499,
      H: .007222,
      hC: 0,
      KC: 0,
      iC: 0,
      jC: 0,
      kC: 0,
      lC: 0,
      LC: 0,
      "7B": .007222,
      "8B": .010833,
      mC: .061387,
      nC: .086664,
      oC: .025277,
      MC: .010833,
      NC: .021666,
      "9B": .032499,
      pC: .227493,
      AC: .028888,
      OC: .043332,
      PC: .03611,
      QC: .10833,
      RC: .025277,
      SC: .043332,
      qC: .299713,
      BC: .021666,
      TC: .043332,
      UC: .043332,
      VC: .050554,
      WC: .133607,
      XC: 1.76578,
      YC: .010833,
      CC: .010833,
      rC: 0
    },
    B: "webkit",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "hC", "KC", "J", "GB", "iC", "K", "jC", "E", "kC", "F", "G", "lC", "A", "LC", "B", "7B", "C", "8B", "L", "mC", "M", "nC", "H", "oC", "MC", "NC", "9B", "pC", "AC", "OC", "PC", "QC", "RC", "SC", "qC", "BC", "TC", "UC", "VC", "WC", "XC", "YC", "CC", "rC"],
    E: "Safari",
    F: {
      hC: 1205798400,
      KC: 1226534400,
      J: 1244419200,
      GB: 1275868800,
      iC: 131112e4,
      K: 1343174400,
      jC: 13824e5,
      E: 13824e5,
      kC: 1410998400,
      F: 1413417600,
      G: 1443657600,
      lC: 1458518400,
      A: 1474329600,
      LC: 1490572800,
      B: 1505779200,
      "7B": 1522281600,
      C: 1537142400,
      "8B": 1553472e3,
      L: 1568851200,
      mC: 1585008e3,
      M: 1600214400,
      nC: 1619395200,
      H: 1632096e3,
      oC: 1635292800,
      MC: 1639353600,
      NC: 1647216e3,
      "9B": 1652745600,
      pC: 1658275200,
      AC: 1662940800,
      OC: 1666569600,
      PC: 1670889600,
      QC: 1674432e3,
      RC: 1679875200,
      SC: 1684368e3,
      qC: 1690156800,
      BC: 1695686400,
      TC: 1698192e3,
      UC: 1702252800,
      VC: 1705881600,
      WC: 1709596800,
      XC: 1715558400,
      YC: null,
      CC: null,
      rC: null
    }
  },
  F: {
    A: {
      0: 0,
      G: 0,
      B: 0,
      C: 0,
      H: 0,
      N: 0,
      O: 0,
      P: 0,
      HB: 0,
      v: 0,
      w: 0,
      x: 0,
      y: 0,
      z: 0,
      IB: 0,
      JB: 0,
      KB: 0,
      LB: 0,
      MB: 0,
      NB: 0,
      OB: 0,
      PB: 0,
      QB: 0,
      RB: 0,
      SB: .003611,
      TB: 0,
      UB: 0,
      VB: 0,
      WB: .003611,
      XB: 0,
      YB: 0,
      ZB: 0,
      aB: 0,
      bB: 0,
      cB: .018055,
      dB: 0,
      eB: 0,
      fB: 0,
      gB: 0,
      hB: 0,
      iB: 0,
      jB: 0,
      kB: 0,
      lB: 0,
      mB: 0,
      nB: 0,
      oB: 0,
      pB: 0,
      qB: 0,
      rB: 0,
      sB: 0,
      tB: 0,
      uB: 0,
      vB: 0,
      wB: 0,
      xB: 0,
      yB: 0,
      zB: 0,
      "0B": 0,
      "1B": 0,
      "2B": 0,
      "3B": 0,
      "4B": 0,
      "5B": 0,
      "6B": 0,
      Q: 0,
      I: 0,
      R: 0,
      GC: 0,
      S: .028888,
      T: 0,
      U: 0,
      V: 0,
      W: 0,
      X: 0,
      Y: 0,
      Z: 0,
      a: 0,
      b: 0,
      c: 0,
      d: 0,
      e: .039721,
      f: 0,
      g: 0,
      h: 0,
      i: 0,
      j: 0,
      k: 0,
      l: .028888,
      m: 0,
      n: 0,
      o: 0,
      p: 0,
      q: 0,
      r: 0,
      s: .285269,
      t: .010833,
      u: .310546,
      sC: 0,
      tC: 0,
      uC: 0,
      vC: 0,
      "7B": 0,
      ZC: 0,
      wC: 0,
      "8B": 0
    },
    B: "webkit",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "G", "sC", "tC", "uC", "vC", "B", "7B", "ZC", "wC", "C", "8B", "H", "N", "O", "P", "HB", "v", "w", "x", "y", "z", "0", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "kB", "lB", "mB", "nB", "oB", "pB", "qB", "rB", "sB", "tB", "uB", "vB", "wB", "xB", "yB", "zB", "0B", "1B", "2B", "3B", "4B", "5B", "6B", "Q", "I", "R", "GC", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "", "", ""],
    E: "Opera",
    F: {
      0: 1413331200,
      G: 1150761600,
      sC: 1223424e3,
      tC: 1251763200,
      uC: 1267488e3,
      vC: 1277942400,
      B: 1292457600,
      "7B": 1302566400,
      ZC: 1309219200,
      wC: 1323129600,
      C: 1323129600,
      "8B": 1352073600,
      H: 1372723200,
      N: 1377561600,
      O: 1381104e3,
      P: 1386288e3,
      HB: 1390867200,
      v: 1393891200,
      w: 1399334400,
      x: 1401753600,
      y: 1405987200,
      z: 1409616e3,
      IB: 1417132800,
      JB: 1422316800,
      KB: 1425945600,
      LB: 1430179200,
      MB: 1433808e3,
      NB: 1438646400,
      OB: 1442448e3,
      PB: 1445904e3,
      QB: 1449100800,
      RB: 1454371200,
      SB: 1457308800,
      TB: 146232e4,
      UB: 1465344e3,
      VB: 1470096e3,
      WB: 1474329600,
      XB: 1477267200,
      YB: 1481587200,
      ZB: 1486425600,
      aB: 1490054400,
      bB: 1494374400,
      cB: 1498003200,
      dB: 1502236800,
      eB: 1506470400,
      fB: 1510099200,
      gB: 1515024e3,
      hB: 1517961600,
      iB: 1521676800,
      jB: 1525910400,
      kB: 1530144e3,
      lB: 1534982400,
      mB: 1537833600,
      nB: 1543363200,
      oB: 1548201600,
      pB: 1554768e3,
      qB: 1561593600,
      rB: 1566259200,
      sB: 1570406400,
      tB: 1573689600,
      uB: 1578441600,
      vB: 1583971200,
      wB: 1587513600,
      xB: 1592956800,
      yB: 1595894400,
      zB: 1600128e3,
      "0B": 1603238400,
      "1B": 161352e4,
      "2B": 1612224e3,
      "3B": 1616544e3,
      "4B": 1619568e3,
      "5B": 1623715200,
      "6B": 1627948800,
      Q: 1631577600,
      I: 1633392e3,
      R: 1635984e3,
      GC: 1638403200,
      S: 1642550400,
      T: 1644969600,
      U: 1647993600,
      V: 1650412800,
      W: 1652745600,
      X: 1654646400,
      Y: 1657152e3,
      Z: 1660780800,
      a: 1663113600,
      b: 1668816e3,
      c: 1668643200,
      d: 1671062400,
      e: 1675209600,
      f: 1677024e3,
      g: 1679529600,
      h: 1681948800,
      i: 1684195200,
      j: 1687219200,
      k: 1690329600,
      l: 1692748800,
      m: 1696204800,
      n: 169992e4,
      o: 169992e4,
      p: 1702944e3,
      q: 1707264e3,
      r: 1710115200,
      s: 1711497600,
      t: 1716336e3,
      u: 1719273600
    },
    D: {
      G: "o",
      B: "o",
      C: "o",
      sC: "o",
      tC: "o",
      uC: "o",
      vC: "o",
      "7B": "o",
      ZC: "o",
      wC: "o",
      "8B": "o"
    }
  },
  G: {
    A: {
      F: 0,
      KC: 0,
      xC: 0,
      aC: .00441539,
      yC: .0014718,
      zC: .00883077,
      "0C": .00883077,
      "1C": 0,
      "2C": .00735898,
      "3C": .0294359,
      "4C": .00588718,
      "5C": .0515128,
      "6C": .135405,
      "7C": .014718,
      "8C": .0103026,
      "9C": .189862,
      AD: .00294359,
      BD: .0323795,
      CD: .0103026,
      DD: .0441539,
      ED: .13099,
      FD: .1148,
      GD: .0574,
      MC: .0618154,
      NC: .0706462,
      "9B": .0853641,
      HD: .780051,
      AC: .15601,
      OC: .334098,
      PC: .166313,
      QC: .279641,
      RC: .0662308,
      SC: .117744,
      ID: .974328,
      BC: .0883077,
      TC: .142764,
      UC: .139821,
      VC: .207523,
      WC: .518072,
      XC: 9.49014,
      YC: .0735898,
      CC: .0971385
    },
    B: "webkit",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "KC", "xC", "aC", "yC", "zC", "0C", "F", "1C", "2C", "3C", "4C", "5C", "6C", "7C", "8C", "9C", "AD", "BD", "CD", "DD", "ED", "FD", "GD", "MC", "NC", "9B", "HD", "AC", "OC", "PC", "QC", "RC", "SC", "ID", "BC", "TC", "UC", "VC", "WC", "XC", "YC", "CC", ""],
    E: "Safari on iOS",
    F: {
      KC: 1270252800,
      xC: 1283904e3,
      aC: 1299628800,
      yC: 1331078400,
      zC: 1359331200,
      "0C": 1394409600,
      F: 1410912e3,
      "1C": 1413763200,
      "2C": 1442361600,
      "3C": 1458518400,
      "4C": 1473724800,
      "5C": 1490572800,
      "6C": 1505779200,
      "7C": 1522281600,
      "8C": 1537142400,
      "9C": 1553472e3,
      AD: 1568851200,
      BD: 1572220800,
      CD: 1580169600,
      DD: 1585008e3,
      ED: 1600214400,
      FD: 1619395200,
      GD: 1632096e3,
      MC: 1639353600,
      NC: 1647216e3,
      "9B": 1652659200,
      HD: 1658275200,
      AC: 1662940800,
      OC: 1666569600,
      PC: 1670889600,
      QC: 1674432e3,
      RC: 1679875200,
      SC: 1684368e3,
      ID: 1690156800,
      BC: 1694995200,
      TC: 1698192e3,
      UC: 1702252800,
      VC: 1705881600,
      WC: 1709596800,
      XC: 1715558400,
      YC: null,
      CC: null
    }
  },
  H: {
    A: {
      JD: .05
    },
    B: "o",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "JD", "", "", ""],
    E: "Opera Mini",
    F: {
      JD: 1426464e3
    }
  },
  I: {
    A: {
      DC: 0,
      J: 811276e-10,
      D: .808599,
      KD: 0,
      LD: 162255e-9,
      MD: 0,
      ND: 486766e-9,
      aC: 32451e-8,
      OD: 0,
      PD: .00129804
    },
    B: "webkit",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "KD", "LD", "MD", "DC", "J", "ND", "aC", "OD", "PD", "D", "", "", ""],
    E: "Android Browser",
    F: {
      KD: 1256515200,
      LD: 1274313600,
      MD: 1291593600,
      DC: 1298332800,
      J: 1318896e3,
      ND: 1341792e3,
      aC: 1374624e3,
      OD: 1386547200,
      PD: 1401667200,
      D: 1721692800
    }
  },
  J: {
    A: {
      E: 0,
      A: 0
    },
    B: "webkit",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "E", "A", "", "", ""],
    E: "Blackberry Browser",
    F: {
      E: 1325376e3,
      A: 1359504e3
    }
  },
  K: {
    A: {
      A: 0,
      B: 0,
      C: 0,
      I: 1.119,
      "7B": 0,
      ZC: 0,
      "8B": 0
    },
    B: "o",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "7B", "ZC", "C", "8B", "I", "", "", ""],
    E: "Opera Mobile",
    F: {
      A: 1287100800,
      B: 1300752e3,
      "7B": 1314835200,
      ZC: 1318291200,
      C: 1330300800,
      "8B": 1349740800,
      I: 1709769600
    },
    D: {
      I: "webkit"
    }
  },
  L: {
    A: {
      D: 44.0982
    },
    B: "webkit",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "D", "", "", ""],
    E: "Chrome for Android",
    F: {
      D: 1721692800
    }
  },
  M: {
    A: {
      D: .35134
    },
    B: "moz",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "D", "", "", ""],
    E: "Firefox for Android",
    F: {
      D: 1718064e3
    }
  },
  N: {
    A: {
      A: 0,
      B: 0
    },
    B: "ms",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "", "", ""],
    E: "IE Mobile",
    F: {
      A: 1340150400,
      B: 1353456e3
    }
  },
  O: {
    A: {
      "9B": 1.05402
    },
    B: "webkit",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "9B", "", "", ""],
    E: "UC Browser for Android",
    F: {
      "9B": 1710115200
    },
    D: {
      "9B": "webkit"
    }
  },
  P: {
    A: {
      0: 1.65553,
      J: .0973844,
      v: .021641,
      w: .043282,
      x: .0649229,
      y: .0757434,
      z: .0757434,
      QD: .0108205,
      RD: .0108205,
      SD: .0324615,
      TD: 0,
      UD: 0,
      LC: 0,
      VD: 0,
      WD: 0,
      XD: .0108205,
      YD: 0,
      ZD: 0,
      AC: 0,
      BC: .021641,
      CC: .0108205,
      aD: .021641
    },
    B: "webkit",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "J", "QD", "RD", "SD", "TD", "UD", "LC", "VD", "WD", "XD", "YD", "ZD", "AC", "BC", "CC", "aD", "v", "w", "x", "y", "z", "0", "", "", ""],
    E: "Samsung Internet",
    F: {
      0: 1715126400,
      J: 1461024e3,
      QD: 1481846400,
      RD: 1509408e3,
      SD: 1528329600,
      TD: 1546128e3,
      UD: 1554163200,
      LC: 1567900800,
      VD: 1582588800,
      WD: 1593475200,
      XD: 1605657600,
      YD: 1618531200,
      ZD: 1629072e3,
      AC: 1640736e3,
      BC: 1651708800,
      CC: 1659657600,
      aD: 1667260800,
      v: 1677369600,
      w: 1684454400,
      x: 1689292800,
      y: 1697587200,
      z: 1711497600
    }
  },
  Q: {
    A: {
      bD: .338564
    },
    B: "webkit",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "bD", "", "", ""],
    E: "QQ Browser",
    F: {
      bD: 1710288e3
    }
  },
  R: {
    A: {
      cD: 0
    },
    B: "webkit",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "cD", "", "", ""],
    E: "Baidu Browser",
    F: {
      cD: 1710201600
    }
  },
  S: {
    A: {
      dD: .070268,
      eD: 0
    },
    B: "moz",
    C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "dD", "eD", "", "", ""],
    E: "KaiOS Browser",
    F: {
      dD: 1527811200,
      eD: 1631664e3
    }
  }
};
const z$ = Jm.browsers,
  aC = Ym.browserVersions,
  z2 = U$;

function W2(t) {
  return Object.keys(t).reduce((e, r) => (e[aC[r]] = t[r], e), {})
}
Yd.agents = Object.keys(z2).reduce((t, e) => {
  let r = z2[e];
  return t[z$[e]] = Object.keys(r).reduce((n, i) => (i === "A" ? n.usage_global = W2(r[i]) : i === "C" ? n.versions = r[i].reduce((s, o) => (o === "" ? s.push(null) : s.push(aC[o]), s), []) : i === "D" ? n.prefix_exceptions = W2(r[i]) : i === "E" ? n.browser = r[i] : i === "F" ? n.release_date = Object.keys(r[i]).reduce((s, o) => (s[aC[o]] = r[i][o], s), {}) : n.prefix = r[i], n), {}), t
}, {});
const W$ = {
    start: "2015-09-08",
    lts: "2015-10-12",
    maintenance: "2017-04-01",
    end: "2018-04-30",
    codename: "Argon"
  },
  $$ = {
    start: "2015-10-29",
    maintenance: "2016-04-30",
    end: "2016-06-30"
  },
  H$ = {
    start: "2016-04-26",
    lts: "2016-10-18",
    maintenance: "2018-04-30",
    end: "2019-04-30",
    codename: "Boron"
  },
  G$ = {
    start: "2016-10-25",
    maintenance: "2017-04-30",
    end: "2017-06-30"
  },
  q$ = {
    start: "2017-05-30",
    lts: "2017-10-31",
    maintenance: "2019-01-01",
    end: "2019-12-31",
    codename: "Carbon"
  },
  V$ = {
    start: "2017-10-01",
    maintenance: "2018-04-01",
    end: "2018-06-30"
  },
  K$ = {
    start: "2018-04-24",
    lts: "2018-10-30",
    maintenance: "2020-05-19",
    end: "2021-04-30",
    codename: "Dubnium"
  },
  Q$ = {
    start: "2018-10-23",
    maintenance: "2019-04-22",
    end: "2019-06-01"
  },
  J$ = {
    start: "2019-04-23",
    lts: "2019-10-21",
    maintenance: "2020-11-30",
    end: "2022-04-30",
    codename: "Erbium"
  },
  Y$ = {
    start: "2019-10-22",
    maintenance: "2020-04-01",
    end: "2020-06-01"
  },
  X$ = {
    start: "2020-04-21",
    lts: "2020-10-27",
    maintenance: "2021-10-19",
    end: "2023-04-30",
    codename: "Fermium"
  },
  Z$ = {
    start: "2020-10-20",
    maintenance: "2021-04-01",
    end: "2021-06-01"
  },
  eH = {
    start: "2021-04-20",
    lts: "2021-10-26",
    maintenance: "2022-10-18",
    end: "2023-09-11",
    codename: "Gallium"
  },
  tH = {
    start: "2021-10-19",
    maintenance: "2022-04-01",
    end: "2022-06-01"
  },
  rH = {
    start: "2022-04-19",
    lts: "2022-10-25",
    maintenance: "2023-10-18",
    end: "2025-04-30",
    codename: "Hydrogen"
  },
  nH = {
    start: "2022-10-18",
    maintenance: "2023-04-01",
    end: "2023-06-01"
  },
  iH = {
    start: "2023-04-18",
    lts: "2023-10-24",
    maintenance: "2024-10-22",
    end: "2026-04-30",
    codename: "Iron"
  },
  sH = {
    start: "2023-10-17",
    maintenance: "2024-04-01",
    end: "2024-06-01"
  },
  oH = {
    start: "2024-04-24",
    lts: "2024-10-29",
    maintenance: "2025-10-21",
    end: "2027-04-30",
    codename: ""
  },
  aH = {
    start: "2024-10-15",
    maintenance: "2025-04-01",
    end: "2025-06-01"
  },
  lH = {
    start: "2025-04-22",
    lts: "2025-10-28",
    maintenance: "2026-10-20",
    end: "2028-04-30",
    codename: ""
  },
  uH = {
    "v0.8": {
      start: "2012-06-25",
      end: "2014-07-31"
    },
    "v0.10": {
      start: "2013-03-11",
      end: "2016-10-31"
    },
    "v0.12": {
      start: "2015-02-06",
      end: "2016-12-31"
    },
    v4: W$,
    v5: $$,
    v6: H$,
    v7: G$,
    v8: q$,
    v9: V$,
    v10: K$,
    v11: Q$,
    v12: J$,
    v13: Y$,
    v14: X$,
    v15: Z$,
    v16: eH,
    v17: tH,
    v18: rH,
    v19: nH,
    v20: iH,
    v21: sH,
    v22: oH,
    v23: aH,
    v24: lH
  };
var cH = {
  "0.20": "39",
  "0.21": "41",
  "0.22": "41",
  "0.23": "41",
  "0.24": "41",
  "0.25": "42",
  "0.26": "42",
  "0.27": "43",
  "0.28": "43",
  "0.29": "43",
  "0.30": "44",
  "0.31": "45",
  "0.32": "45",
  "0.33": "45",
  "0.34": "45",
  "0.35": "45",
  "0.36": "47",
  "0.37": "49",
  "1.0": "49",
  "1.1": "50",
  "1.2": "51",
  "1.3": "52",
  "1.4": "53",
  "1.5": "54",
  "1.6": "56",
  "1.7": "58",
  "1.8": "59",
  "2.0": "61",
  "2.1": "61",
  "3.0": "66",
  "3.1": "66",
  "4.0": "69",
  "4.1": "69",
  "4.2": "69",
  "5.0": "73",
  "6.0": "76",
  "6.1": "76",
  "7.0": "78",
  "7.1": "78",
  "7.2": "78",
  "7.3": "78",
  "8.0": "80",
  "8.1": "80",
  "8.2": "80",
  "8.3": "80",
  "8.4": "80",
  "8.5": "80",
  "9.0": "83",
  "9.1": "83",
  "9.2": "83",
  "9.3": "83",
  "9.4": "83",
  "10.0": "85",
  "10.1": "85",
  "10.2": "85",
  "10.3": "85",
  "10.4": "85",
  "11.0": "87",
  "11.1": "87",
  "11.2": "87",
  "11.3": "87",
  "11.4": "87",
  "11.5": "87",
  "12.0": "89",
  "12.1": "89",
  "12.2": "89",
  "13.0": "91",
  "13.1": "91",
  "13.2": "91",
  "13.3": "91",
  "13.4": "91",
  "13.5": "91",
  "13.6": "91",
  "14.0": "93",
  "14.1": "93",
  "14.2": "93",
  "15.0": "94",
  "15.1": "94",
  "15.2": "94",
  "15.3": "94",
  "15.4": "94",
  "15.5": "94",
  "16.0": "96",
  "16.1": "96",
  "16.2": "96",
  "17.0": "98",
  "17.1": "98",
  "17.2": "98",
  "17.3": "98",
  "17.4": "98",
  "18.0": "100",
  "18.1": "100",
  "18.2": "100",
  "18.3": "100",
  "19.0": "102",
  "19.1": "102",
  "20.0": "104",
  "20.1": "104",
  "20.2": "104",
  "20.3": "104",
  "21.0": "106",
  "21.1": "106",
  "21.2": "106",
  "21.3": "106",
  "21.4": "106",
  "22.0": "108",
  "22.1": "108",
  "22.2": "108",
  "22.3": "108",
  "23.0": "110",
  "23.1": "110",
  "23.2": "110",
  "23.3": "110",
  "24.0": "112",
  "24.1": "112",
  "24.2": "112",
  "24.3": "112",
  "24.4": "112",
  "24.5": "112",
  "24.6": "112",
  "24.7": "112",
  "24.8": "112",
  "25.0": "114",
  "25.1": "114",
  "25.2": "114",
  "25.3": "114",
  "25.4": "114",
  "25.5": "114",
  "25.6": "114",
  "25.7": "114",
  "25.8": "114",
  "25.9": "114",
  "26.0": "116",
  "26.1": "116",
  "26.2": "116",
  "26.3": "116",
  "26.4": "116",
  "26.5": "116",
  "26.6": "116",
  "27.0": "118",
  "27.1": "118",
  "27.2": "118",
  "27.3": "118",
  "28.0": "120",
  "28.1": "120",
  "28.2": "120",
  "28.3": "120",
  "29.0": "122",
  "29.1": "122",
  "29.2": "122",
  "29.3": "122",
  "29.4": "122",
  "30.0": "124",
  "30.1": "124",
  "30.2": "124",
  "30.3": "124",
  "30.4": "124",
  "31.0": "126",
  "31.1": "126",
  "31.2": "126",
  "31.3": "126",
  "31.4": "126",
  "32.0": "128",
  "33.0": "129"
};

function Xm(t) {
  this.name = "BrowserslistError", this.message = t, this.browserslist = !0, Error.captureStackTrace && Error.captureStackTrace(this, Xm)
}
Xm.prototype = Error.prototype;
var OE = Xm,
  $2 = /^\s+and\s+(.*)/i,
  H2 = /^(?:,\s*|\s+or\s+)(.*)/i;

function IE(t) {
  return Array.isArray(t) ? t.reduce(function (e, r) {
    return e.concat(IE(r))
  }, []) : [t]
}

function dH(t, e) {
  for (var r = 1, n = t.length; r <= n; r++) {
    var i = t.substr(-r, r);
    if (e(i, r, n)) return t.slice(0, -r)
  }
  return ""
}

function xB(t, e) {
  var r = {
    query: e
  };
  e.indexOf("not ") === 0 && (r.not = !0, e = e.slice(4));
  for (var n in t) {
    var i = t[n],
      s = e.match(i.regexp);
    if (s) {
      r.type = n;
      for (var o = 0; o < i.matches.length; o++) r[i.matches[o]] = s[o + 1];
      return r
    }
  }
  return r.type = "unknown", r
}

function fH(t, e, r) {
  var n;
  return dH(e, function (i, s, o) {
    return $2.test(i) ? (n = xB(t, i.match($2)[1]), n.compose = "and", r.unshift(n), !0) : H2.test(i) ? (n = xB(t, i.match(H2)[1]), n.compose = "or", r.unshift(n), !0) : s === o ? (n = xB(t, i.trim()), n.compose = "or", r.unshift(n), !0) : !1
  })
}
var BH = function (e, r) {
    return Array.isArray(r) || (r = [r]), IE(r.map(function (n) {
      var i = [];
      do n = fH(e, n, i); while (n);
      return i
    }))
  },
  eu = OE;

function po() {}
var hH = {
    loadQueries: function () {
      throw new eu("Sharable configs are not supported in client-side build of Browserslist")
    },
    getStat: function (e) {
      return e.stats
    },
    loadConfig: function (e) {
      if (e.config) throw new eu("Browserslist config are not supported in client-side build")
    },
    loadCountry: function () {
      throw new eu("Country statistics are not supported in client-side build of Browserslist")
    },
    loadFeature: function () {
      throw new eu("Supports queries are not available in client-side build of Browserslist")
    },
    currentNode: function (e, r) {
      return e(["maintained node versions"], r)[0]
    },
    parseConfig: po,
    readConfig: po,
    findConfig: po,
    clearCaches: po,
    oldDataWarning: po,
    env: {}
  },
  pH = F$,
  Vr = Yd.agents,
  EB = uH,
  Uc = Zt,
  hr = cH,
  Ot = OE,
  NE = BH,
  vt = hH,
  CH = 365.259641 * 24 * 60 * 60 * 1e3,
  TE = "37",
  mH = 14;

function RE(t, e) {
  return (t + ".").indexOf(e + ".") === 0
}

function gH(t) {
  var e = t.slice(1);
  return Y.nodeVersions.some(function (r) {
    return RE(r, e)
  })
}

function G2(t) {
  return t.filter(function (e) {
    return typeof e == "string"
  })
}

function tu(t) {
  var e = t;
  return t.split(".").length === 3 && (e = t.split(".").slice(0, -1).join(".")), e
}

function Cn(t) {
  return function (r) {
    return t + " " + r
  }
}

function lC(t) {
  return parseInt(t.split(".")[0])
}

function ru(t, e) {
  if (t.length === 0) return [];
  var r = FE(t.map(lC)),
    n = r[r.length - e];
  if (!n) return t;
  for (var i = [], s = t.length - 1; s >= 0 && !(n > lC(t[s])); s--) i.unshift(t[s]);
  return i
}

function FE(t) {
  for (var e = [], r = 0; r < t.length; r++) e.indexOf(t[r]) === -1 && e.push(t[r]);
  return e
}

function Xd(t, e, r) {
  for (var n in r) t[e + " " + n] = r[n]
}

function q2(t, e) {
  if (e = parseFloat(e), t === ">") return function (n) {
    return r(n) > e
  };
  return t === ">=" ? function (n) {
    return r(n) >= e
  } : t === "<" ? function (n) {
    return parseFloat(n) < e
  } : function (n) {
    return parseFloat(n) <= e
  };

  function r(n) {
    return parseFloat(n.split("-")[1] || n)
  }
}

function vH(t, e) {
  return e = e.split(".").map(Dn), e[1] = e[1] || 0, e[2] = e[2] || 0, t === ">" ? function (r) {
    return r = r.split(".").map(Dn), jo(r, e) > 0
  } : t === ">=" ? function (r) {
    return r = r.split(".").map(Dn), jo(r, e) >= 0
  } : t === "<" ? function (r) {
    return r = r.split(".").map(Dn), jo(e, r) > 0
  } : function (r) {
    return r = r.split(".").map(Dn), jo(e, r) >= 0
  }
}

function Dn(t) {
  return parseInt(t)
}

function Lu(t, e) {
  return t < e ? -1 : t > e ? 1 : 0
}

function jo(t, e) {
  return Lu(parseInt(t[0]), parseInt(e[0])) || Lu(parseInt(t[1] || "0"), parseInt(e[1] || "0")) || Lu(parseInt(t[2] || "0"), parseInt(e[2] || "0"))
}

function V2(t, e) {
  switch (e = e.split(".").map(Dn), typeof e[1] > "u" && (e[1] = "x"), t) {
    case "<=":
      return function (r) {
        return r = r.split(".").map(Dn), K2(r, e) <= 0
      };
    case ">=":
    default:
      return function (r) {
        return r = r.split(".").map(Dn), K2(r, e) >= 0
      }
  }
}

function K2(t, e) {
  return t[0] !== e[0] ? t[0] < e[0] ? -1 : 1 : e[1] === "x" ? 0 : t[1] !== e[1] ? t[1] < e[1] ? -1 : 1 : 0
}

function yH(t, e) {
  return t.versions.indexOf(e) !== -1 ? e : Y.versionAliases[t.name][e] ? Y.versionAliases[t.name][e] : !1
}

function nu(t, e) {
  var r = yH(t, e);
  return r || (t.versions.length === 1 ? t.versions[0] : !1)
}

function ME(t, e) {
  return t = t / 1e3, Object.keys(Vr).reduce(function (r, n) {
    var i = xn(n, e);
    if (!i) return r;
    var s = Object.keys(i.releaseDate).filter(function (o) {
      var a = i.releaseDate[o];
      return a !== null && a >= t
    });
    return r.concat(s.map(Cn(i.name)))
  }, [])
}

function Q2(t) {
  return {
    name: t.name,
    versions: t.versions,
    released: t.released,
    releaseDate: t.releaseDate
  }
}

function xn(t, e) {
  if (t = t.toLowerCase(), t = Y.aliases[t] || t, e.mobileToDesktop && Y.desktopNames[t]) {
    var r = Y.data[Y.desktopNames[t]];
    if (t === "android") return bH(Q2(Y.data[t]), r);
    var n = Q2(r);
    return n.name = t, n
  }
  return Y.data[t]
}

function J2(t, e) {
  var r = e.indexOf(TE);
  return t.filter(function (n) {
    return /^(?:[2-4]\.|[34]$)/.test(n)
  }).concat(e.slice(r))
}

function wH(t) {
  var e = {};
  for (var r in t) e[r] = t[r];
  return e
}

function bH(t, e) {
  return t.released = J2(t.released, e.released), t.versions = J2(t.versions, e.versions), t.releaseDate = wH(t.releaseDate), t.released.forEach(function (r) {
    t.releaseDate[r] === void 0 && (t.releaseDate[r] = e.releaseDate[r])
  }), t
}

function Ui(t, e) {
  var r = xn(t, e);
  if (!r) throw new Ot("Unknown browser " + t);
  return r
}

function DH(t) {
  return new Ot("Unknown browser query `" + t + "`. Maybe you are using old Browserslist or made typo in query.")
}

function iu(t, e, r, n) {
  var i = 1;
  switch (e) {
    case "android":
      if (n.mobileToDesktop) return t;
      var s = Y.data.chrome.released;
      i = s.length - s.indexOf(TE);
      break;
    case "op_mob":
      var o = Y.data.op_mob.released.slice(-1)[0];
      i = lC(o) - mH + 1;
      break;
    default:
      return t
  }
  return r <= i ? t.slice(-1) : t.slice(i - 1 - r)
}

function Y2(t, e) {
  return typeof t == "string" && (t.indexOf("y") >= 0 || e && t.indexOf("a") >= 0)
}

function qi(t, e) {
  return NE(uC, t).reduce(function (r, n, i) {
    if (n.not && i === 0) throw new Ot("Write any browsers query (for instance, `defaults`) before `" + n.query + "`");
    var s = uC[n.type],
      o = s.select.call(Y, e, n).map(function (l) {
        var u = l.split(" ");
        return u[1] === "0" ? u[0] + " " + xn(u[0], e).versions[0] : l
      });
    if (n.compose === "and") return n.not ? r.filter(function (l) {
      return o.indexOf(l) === -1
    }) : r.filter(function (l) {
      return o.indexOf(l) !== -1
    });
    if (n.not) {
      var a = {};
      return o.forEach(function (l) {
        a[l] = !0
      }), r.filter(function (l) {
        return !a[l]
      })
    }
    return r.concat(o)
  }, [])
}

function LE(t) {
  return typeof t > "u" && (t = {}), typeof t.path > "u" && (t.path = Uc.resolve ? Uc.resolve(".") : "."), t
}

function UE(t, e) {
  if (typeof t > "u" || t === null) {
    var r = Y.loadConfig(e);
    r ? t = r : t = Y.defaults
  }
  return t
}

function zE(t) {
  if (!(typeof t == "string" || Array.isArray(t))) throw new Ot("Browser queries must be an array or string. Got " + typeof t + ".")
}
var SB = {};

function Y(t, e) {
  e = LE(e), t = UE(t, e), zE(t);
  var r = {
    ignoreUnknownVersions: e.ignoreUnknownVersions,
    dangerousExtend: e.dangerousExtend,
    mobileToDesktop: e.mobileToDesktop,
    path: e.path,
    env: e.env
  };
  vt.oldDataWarning(Y.data);
  var n = vt.getStat(e, Y.data);
  if (n) {
    r.customUsage = {};
    for (var i in n) Xd(r.customUsage, i, n[i])
  }
  var s = JSON.stringify([t, r]);
  if (SB[s]) return SB[s];
  var o = FE(qi(t, r)).sort(function (a, l) {
    if (a = a.split(" "), l = l.split(" "), a[0] === l[0]) {
      var u = a[1].split("-")[0],
        c = l[1].split("-")[0];
      return jo(c.split("."), u.split("."))
    } else return Lu(a[0], l[0])
  });
  return vt.env.BROWSERSLIST_DISABLE_CACHE || (SB[s] = o), o
}
Y.parse = function (t, e) {
  return e = LE(e), t = UE(t, e), zE(t), NE(uC, t)
};
Y.cache = {};
Y.data = {};
Y.usage = {
  global: {},
  custom: null
};
Y.defaults = ["> 0.5%", "last 2 versions", "Firefox ESR", "not dead"];
Y.aliases = {
  fx: "firefox",
  ff: "firefox",
  ios: "ios_saf",
  explorer: "ie",
  blackberry: "bb",
  explorermobile: "ie_mob",
  operamini: "op_mini",
  operamobile: "op_mob",
  chromeandroid: "and_chr",
  firefoxandroid: "and_ff",
  ucandroid: "and_uc",
  qqandroid: "and_qq"
};
Y.desktopNames = {
  and_chr: "chrome",
  and_ff: "firefox",
  ie_mob: "ie",
  android: "chrome"
};
Y.versionAliases = {};
Y.clearCaches = vt.clearCaches;
Y.parseConfig = vt.parseConfig;
Y.readConfig = vt.readConfig;
Y.findConfig = vt.findConfig;
Y.loadConfig = vt.loadConfig;
Y.coverage = function (t, e) {
  var r;
  if (typeof e > "u") r = Y.usage.global;
  else if (e === "my stats") {
    var n = {};
    n.path = Uc.resolve ? Uc.resolve(".") : ".";
    var i = vt.getStat(n);
    if (!i) throw new Ot("Custom usage statistics was not provided");
    r = {};
    for (var s in i) Xd(r, s, i[s])
  } else if (typeof e == "string") e.length > 2 ? e = e.toLowerCase() : e = e.toUpperCase(), vt.loadCountry(Y.usage, e, Y.data), r = Y.usage[e];
  else {
    "dataByBrowser" in e && (e = e.dataByBrowser), r = {};
    for (var o in e)
      for (var a in e[o]) r[o + " " + a] = e[o][a]
  }
  return t.reduce(function (l, u) {
    var c = r[u];
    return c === void 0 && (c = r[u.replace(/ \S+$/, " 0")]), l + (c || 0)
  }, 0)
};

function kB(t, e) {
  var r = Y.nodeVersions.filter(function (n) {
    return RE(n, e.version)
  });
  if (r.length === 0) {
    if (t.ignoreUnknownVersions) return [];
    throw new Ot("Unknown version " + e.version + " of Node.js")
  }
  return ["node " + r[r.length - 1]]
}

function jB(t, e) {
  var r = parseInt(e.year),
    n = parseInt(e.month || "01") - 1,
    i = parseInt(e.day || "01");
  return ME(Date.UTC(r, n, i, 0, 0, 0), t)
}

function X2(t, e) {
  var r = parseFloat(e.coverage),
    n = Y.usage.global;
  if (e.place)
    if (e.place.match(/^my\s+stats$/i)) {
      if (!t.customUsage) throw new Ot("Custom usage statistics was not provided");
      n = t.customUsage
    } else {
      var i;
      e.place.length === 2 ? i = e.place.toUpperCase() : i = e.place.toLowerCase(), vt.loadCountry(Y.usage, i, Y.data), n = Y.usage[i]
    } for (var s = Object.keys(n).sort(function (c, d) {
      return n[d] - n[c]
    }), o = 0, a = [], l, u = 0; u < s.length && (l = s[u], !(n[l] === 0 || (o += n[l], a.push(l), o >= r))); u++);
  return a
}
var uC = {
  last_major_versions: {
    matches: ["versions"],
    regexp: /^last\s+(\d+)\s+major\s+versions?$/i,
    select: function (t, e) {
      return Object.keys(Vr).reduce(function (r, n) {
        var i = xn(n, t);
        if (!i) return r;
        var s = ru(i.released, e.versions);
        return s = s.map(Cn(i.name)), s = iu(s, i.name, e.versions, t), r.concat(s)
      }, [])
    }
  },
  last_versions: {
    matches: ["versions"],
    regexp: /^last\s+(\d+)\s+versions?$/i,
    select: function (t, e) {
      return Object.keys(Vr).reduce(function (r, n) {
        var i = xn(n, t);
        if (!i) return r;
        var s = i.released.slice(-e.versions);
        return s = s.map(Cn(i.name)), s = iu(s, i.name, e.versions, t), r.concat(s)
      }, [])
    }
  },
  last_electron_major_versions: {
    matches: ["versions"],
    regexp: /^last\s+(\d+)\s+electron\s+major\s+versions?$/i,
    select: function (t, e) {
      var r = ru(Object.keys(hr), e.versions);
      return r.map(function (n) {
        return "chrome " + hr[n]
      })
    }
  },
  last_node_major_versions: {
    matches: ["versions"],
    regexp: /^last\s+(\d+)\s+node\s+major\s+versions?$/i,
    select: function (t, e) {
      return ru(Y.nodeVersions, e.versions).map(function (r) {
        return "node " + r
      })
    }
  },
  last_browser_major_versions: {
    matches: ["versions", "browser"],
    regexp: /^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,
    select: function (t, e) {
      var r = Ui(e.browser, t),
        n = ru(r.released, e.versions),
        i = n.map(Cn(r.name));
      return i = iu(i, r.name, e.versions, t), i
    }
  },
  last_electron_versions: {
    matches: ["versions"],
    regexp: /^last\s+(\d+)\s+electron\s+versions?$/i,
    select: function (t, e) {
      return Object.keys(hr).slice(-e.versions).map(function (r) {
        return "chrome " + hr[r]
      })
    }
  },
  last_node_versions: {
    matches: ["versions"],
    regexp: /^last\s+(\d+)\s+node\s+versions?$/i,
    select: function (t, e) {
      return Y.nodeVersions.slice(-e.versions).map(function (r) {
        return "node " + r
      })
    }
  },
  last_browser_versions: {
    matches: ["versions", "browser"],
    regexp: /^last\s+(\d+)\s+(\w+)\s+versions?$/i,
    select: function (t, e) {
      var r = Ui(e.browser, t),
        n = r.released.slice(-e.versions).map(Cn(r.name));
      return n = iu(n, r.name, e.versions, t), n
    }
  },
  unreleased_versions: {
    matches: [],
    regexp: /^unreleased\s+versions$/i,
    select: function (t) {
      return Object.keys(Vr).reduce(function (e, r) {
        var n = xn(r, t);
        if (!n) return e;
        var i = n.versions.filter(function (s) {
          return n.released.indexOf(s) === -1
        });
        return i = i.map(Cn(n.name)), e.concat(i)
      }, [])
    }
  },
  unreleased_electron_versions: {
    matches: [],
    regexp: /^unreleased\s+electron\s+versions?$/i,
    select: function () {
      return []
    }
  },
  unreleased_browser_versions: {
    matches: ["browser"],
    regexp: /^unreleased\s+(\w+)\s+versions?$/i,
    select: function (t, e) {
      var r = Ui(e.browser, t);
      return r.versions.filter(function (n) {
        return r.released.indexOf(n) === -1
      }).map(Cn(r.name))
    }
  },
  last_years: {
    matches: ["years"],
    regexp: /^last\s+(\d*.?\d+)\s+years?$/i,
    select: function (t, e) {
      return ME(Date.now() - CH * e.years, t)
    }
  },
  since_y: {
    matches: ["year"],
    regexp: /^since (\d+)$/i,
    select: jB
  },
  since_y_m: {
    matches: ["year", "month"],
    regexp: /^since (\d+)-(\d+)$/i,
    select: jB
  },
  since_y_m_d: {
    matches: ["year", "month", "day"],
    regexp: /^since (\d+)-(\d+)-(\d+)$/i,
    select: jB
  },
  popularity: {
    matches: ["sign", "popularity"],
    regexp: /^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,
    select: function (t, e) {
      var r = parseFloat(e.popularity),
        n = Y.usage.global;
      return Object.keys(n).reduce(function (i, s) {
        return e.sign === ">" ? n[s] > r && i.push(s) : e.sign === "<" ? n[s] < r && i.push(s) : e.sign === "<=" ? n[s] <= r && i.push(s) : n[s] >= r && i.push(s), i
      }, [])
    }
  },
  popularity_in_my_stats: {
    matches: ["sign", "popularity"],
    regexp: /^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,
    select: function (t, e) {
      var r = parseFloat(e.popularity);
      if (!t.customUsage) throw new Ot("Custom usage statistics was not provided");
      var n = t.customUsage;
      return Object.keys(n).reduce(function (i, s) {
        var o = n[s];
        return o == null || (e.sign === ">" ? o > r && i.push(s) : e.sign === "<" ? o < r && i.push(s) : e.sign === "<=" ? o <= r && i.push(s) : o >= r && i.push(s)), i
      }, [])
    }
  },
  popularity_in_config_stats: {
    matches: ["sign", "popularity", "config"],
    regexp: /^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,
    select: function (t, e) {
      var r = parseFloat(e.popularity),
        n = vt.loadStat(t, e.config, Y.data);
      if (n) {
        t.customUsage = {};
        for (var i in n) Xd(t.customUsage, i, n[i])
      }
      if (!t.customUsage) throw new Ot("Custom usage statistics was not provided");
      var s = t.customUsage;
      return Object.keys(s).reduce(function (o, a) {
        var l = s[a];
        return l == null || (e.sign === ">" ? l > r && o.push(a) : e.sign === "<" ? l < r && o.push(a) : e.sign === "<=" ? l <= r && o.push(a) : l >= r && o.push(a)), o
      }, [])
    }
  },
  popularity_in_place: {
    matches: ["sign", "popularity", "place"],
    regexp: /^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,
    select: function (t, e) {
      var r = parseFloat(e.popularity),
        n = e.place;
      n.length === 2 ? n = n.toUpperCase() : n = n.toLowerCase(), vt.loadCountry(Y.usage, n, Y.data);
      var i = Y.usage[n];
      return Object.keys(i).reduce(function (s, o) {
        var a = i[o];
        return a == null || (e.sign === ">" ? a > r && s.push(o) : e.sign === "<" ? a < r && s.push(o) : e.sign === "<=" ? a <= r && s.push(o) : a >= r && s.push(o)), s
      }, [])
    }
  },
  cover: {
    matches: ["coverage"],
    regexp: /^cover\s+(\d+|\d+\.\d+|\.\d+)%$/i,
    select: X2
  },
  cover_in: {
    matches: ["coverage", "place"],
    regexp: /^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i,
    select: X2
  },
  supports: {
    matches: ["supportType", "feature"],
    regexp: /^(?:(fully|partially)\s+)?supports\s+([\w-]+)$/,
    select: function (t, e) {
      vt.loadFeature(Y.cache, e.feature);
      var r = e.supportType !== "fully",
        n = Y.cache[e.feature],
        i = [];
      for (var s in n) {
        for (var o = xn(s, t), a = o.released.length - 1; a >= 0 && !(o.released[a] in n[s]);) a--;
        var l = t.mobileToDesktop && s in Y.desktopNames && Y2(n[s][o.released[a]], r);
        o.versions.forEach(function (u) {
          var c = n[s][u];
          c === void 0 && l && (c = n[Y.desktopNames[s]][u]), Y2(c, r) && i.push(s + " " + u)
        })
      }
      return i
    }
  },
  electron_range: {
    matches: ["from", "to"],
    regexp: /^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,
    select: function (t, e) {
      var r = tu(e.from),
        n = tu(e.to),
        i = parseFloat(e.from),
        s = parseFloat(e.to);
      if (!hr[r]) throw new Ot("Unknown version " + i + " of electron");
      if (!hr[n]) throw new Ot("Unknown version " + s + " of electron");
      return Object.keys(hr).filter(function (o) {
        var a = parseFloat(o);
        return a >= i && a <= s
      }).map(function (o) {
        return "chrome " + hr[o]
      })
    }
  },
  node_range: {
    matches: ["from", "to"],
    regexp: /^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,
    select: function (t, e) {
      return Y.nodeVersions.filter(V2(">=", e.from)).filter(V2("<=", e.to)).map(function (r) {
        return "node " + r
      })
    }
  },
  browser_range: {
    matches: ["browser", "from", "to"],
    regexp: /^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,
    select: function (t, e) {
      var r = Ui(e.browser, t),
        n = parseFloat(nu(r, e.from) || e.from),
        i = parseFloat(nu(r, e.to) || e.to);

      function s(o) {
        var a = parseFloat(o);
        return a >= n && a <= i
      }
      return r.released.filter(s).map(Cn(r.name))
    }
  },
  electron_ray: {
    matches: ["sign", "version"],
    regexp: /^electron\s*(>=?|<=?)\s*([\d.]+)$/i,
    select: function (t, e) {
      var r = tu(e.version);
      return Object.keys(hr).filter(q2(e.sign, r)).map(function (n) {
        return "chrome " + hr[n]
      })
    }
  },
  node_ray: {
    matches: ["sign", "version"],
    regexp: /^node\s*(>=?|<=?)\s*([\d.]+)$/i,
    select: function (t, e) {
      return Y.nodeVersions.filter(vH(e.sign, e.version)).map(function (r) {
        return "node " + r
      })
    }
  },
  browser_ray: {
    matches: ["browser", "sign", "version"],
    regexp: /^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,
    select: function (t, e) {
      var r = e.version,
        n = Ui(e.browser, t),
        i = Y.versionAliases[n.name][r];
      return i && (r = i), n.released.filter(q2(e.sign, r)).map(function (s) {
        return n.name + " " + s
      })
    }
  },
  firefox_esr: {
    matches: [],
    regexp: /^(firefox|ff|fx)\s+esr$/i,
    select: function () {
      return ["firefox 115", "firefox 128"]
    }
  },
  opera_mini_all: {
    matches: [],
    regexp: /(operamini|op_mini)\s+all/i,
    select: function () {
      return ["op_mini all"]
    }
  },
  electron_version: {
    matches: ["version"],
    regexp: /^electron\s+([\d.]+)$/i,
    select: function (t, e) {
      var r = tu(e.version),
        n = hr[r];
      if (!n) throw new Ot("Unknown version " + e.version + " of electron");
      return ["chrome " + n]
    }
  },
  node_major_version: {
    matches: ["version"],
    regexp: /^node\s+(\d+)$/i,
    select: kB
  },
  node_minor_version: {
    matches: ["version"],
    regexp: /^node\s+(\d+\.\d+)$/i,
    select: kB
  },
  node_patch_version: {
    matches: ["version"],
    regexp: /^node\s+(\d+\.\d+\.\d+)$/i,
    select: kB
  },
  current_node: {
    matches: [],
    regexp: /^current\s+node$/i,
    select: function (t) {
      return [vt.currentNode(qi, t)]
    }
  },
  maintained_node: {
    matches: [],
    regexp: /^maintained\s+node\s+versions$/i,
    select: function (t) {
      var e = Date.now(),
        r = Object.keys(EB).filter(function (n) {
          return e < Date.parse(EB[n].end) && e > Date.parse(EB[n].start) && gH(n)
        }).map(function (n) {
          return "node " + n.slice(1)
        });
      return qi(r, t)
    }
  },
  phantomjs_1_9: {
    matches: [],
    regexp: /^phantomjs\s+1.9$/i,
    select: function () {
      return ["safari 5"]
    }
  },
  phantomjs_2_1: {
    matches: [],
    regexp: /^phantomjs\s+2.1$/i,
    select: function () {
      return ["safari 6"]
    }
  },
  browser_version: {
    matches: ["browser", "version"],
    regexp: /^(\w+)\s+(tp|[\d.]+)$/i,
    select: function (t, e) {
      var r = e.version;
      /^tp$/i.test(r) && (r = "TP");
      var n = Ui(e.browser, t),
        i = nu(n, r);
      if (i) r = i;
      else if (r.indexOf(".") === -1 ? i = r + ".0" : i = r.replace(/\.0$/, ""), i = nu(n, i), i) r = i;
      else {
        if (t.ignoreUnknownVersions) return [];
        throw new Ot("Unknown version " + r + " of " + e.browser)
      }
      return [n.name + " " + r]
    }
  },
  browserslist_config: {
    matches: [],
    regexp: /^browserslist config$/i,
    select: function (t) {
      return Y(void 0, t)
    }
  },
  extends: {
    matches: ["config"],
    regexp: /^extends (.+)$/i,
    select: function (t, e) {
      return qi(vt.loadQueries(t, e.config), t)
    }
  },
  defaults: {
    matches: [],
    regexp: /^defaults$/i,
    select: function (t) {
      return qi(Y.defaults, t)
    }
  },
  dead: {
    matches: [],
    regexp: /^dead$/i,
    select: function (t) {
      var e = ["Baidu >= 0", "ie <= 11", "ie_mob <= 11", "bb <= 10", "op_mob <= 12.1", "samsung 4"];
      return qi(e, t)
    }
  },
  unknown: {
    matches: [],
    regexp: /^(\w+)$/i,
    select: function (t, e) {
      throw xn(e.query, t) ? new Ot("Specify versions in Browserslist query for browser " + e.query) : DH(e.query)
    }
  }
};
(function () {
  for (var t in Vr) {
    var e = Vr[t];
    Y.data[t] = {
      name: t,
      versions: G2(Vr[t].versions),
      released: G2(Vr[t].versions.slice(0, -3)),
      releaseDate: Vr[t].release_date
    }, Xd(Y.usage.global, t, e.usage_global), Y.versionAliases[t] = {};
    for (var r = 0; r < e.versions.length; r++) {
      var n = e.versions[r];
      if (n && n.indexOf("-") !== -1)
        for (var i = n.split("-"), s = 0; s < i.length; s++) Y.versionAliases[t][i[s]] = n
    }
  }
  Y.nodeVersions = pH.map(function (o) {
    return o.version
  })
})();
var Zm = Y,
  eg = {
    exports: {}
  },
  Oe = String,
  WE = function () {
    return {
      isColorSupported: !1,
      reset: Oe,
      bold: Oe,
      dim: Oe,
      italic: Oe,
      underline: Oe,
      inverse: Oe,
      hidden: Oe,
      strikethrough: Oe,
      black: Oe,
      red: Oe,
      green: Oe,
      yellow: Oe,
      blue: Oe,
      magenta: Oe,
      cyan: Oe,
      white: Oe,
      gray: Oe,
      bgBlack: Oe,
      bgRed: Oe,
      bgGreen: Oe,
      bgYellow: Oe,
      bgBlue: Oe,
      bgMagenta: Oe,
      bgCyan: Oe,
      bgWhite: Oe
    }
  };
eg.exports = WE();
eg.exports.createColors = WE;
var $E = eg.exports,
  je = {};
let Z2 = $E,
  ew = Zt,
  cC = class HE extends Error {
    constructor(e, r, n, i, s, o) {
      super(e), this.name = "CssSyntaxError", this.reason = e, s && (this.file = s), i && (this.source = i), o && (this.plugin = o), typeof r < "u" && typeof n < "u" && (typeof r == "number" ? (this.line = r, this.column = n) : (this.line = r.line, this.column = r.column, this.endLine = n.line, this.endColumn = n.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this, HE)
    }
    setMessage() {
      this.message = this.plugin ? this.plugin + ": " : "", this.message += this.file ? this.file : "<css input>", typeof this.line < "u" && (this.message += ":" + this.line + ":" + this.column), this.message += ": " + this.reason
    }
    showSourceCode(e) {
      if (!this.source) return "";
      let r = this.source;
      e == null && (e = Z2.isColorSupported);
      let n = c => c,
        i = c => c,
        s = c => c;
      if (e) {
        let {
          bold: c,
          gray: d,
          red: f
        } = Z2.createColors(!0);
        i = B => c(f(B)), n = B => d(B), ew && (s = B => ew(B))
      }
      let o = r.split(/\r?\n/),
        a = Math.max(this.line - 3, 0),
        l = Math.min(this.line + 2, o.length),
        u = String(l).length;
      return o.slice(a, l).map((c, d) => {
        let f = a + 1 + d,
          B = " " + (" " + f).slice(-u) + " | ";
        if (f === this.line) {
          if (c.length > 160) {
            let g = 20,
              y = Math.max(0, this.column - g),
              m = Math.max(this.column + g, this.endColumn + g),
              p = c.slice(y, m),
              v = n(B.replace(/\d/g, " ")) + c.slice(0, Math.min(this.column - 1, g - 1)).replace(/[^\t]/g, " ");
            return i(">") + n(B) + s(p) + `
 ` + v + i("^")
          }
          let h = n(B.replace(/\d/g, " ")) + c.slice(0, this.column - 1).replace(/[^\t]/g, " ");
          return i(">") + n(B) + s(c) + `
 ` + h + i("^")
        }
        return " " + n(B) + s(c)
      }).join(`
`)
    }
    toString() {
      let e = this.showSourceCode();
      return e && (e = `

` + e + `
`), this.name + ": " + this.message + e
    }
  };
var tg = cC;
cC.default = cC;
const tw = {
  after: `
`,
  beforeClose: `
`,
  beforeComment: `
`,
  beforeDecl: `
`,
  beforeOpen: " ",
  beforeRule: `
`,
  colon: ": ",
  commentLeft: " ",
  commentRight: " ",
  emptyBody: "",
  indent: "    ",
  semicolon: !1
};

function xH(t) {
  return t[0].toUpperCase() + t.slice(1)
}
let dC = class {
  constructor(e) {
    this.builder = e
  }
  atrule(e, r) {
    let n = "@" + e.name,
      i = e.params ? this.rawValue(e, "params") : "";
    if (typeof e.raws.afterName < "u" ? n += e.raws.afterName : i && (n += " "), e.nodes) this.block(e, n + i);
    else {
      let s = (e.raws.between || "") + (r ? ";" : "");
      this.builder(n + i + s, e)
    }
  }
  beforeAfter(e, r) {
    let n;
    e.type === "decl" ? n = this.raw(e, null, "beforeDecl") : e.type === "comment" ? n = this.raw(e, null, "beforeComment") : r === "before" ? n = this.raw(e, null, "beforeRule") : n = this.raw(e, null, "beforeClose");
    let i = e.parent,
      s = 0;
    for (; i && i.type !== "root";) s += 1, i = i.parent;
    if (n.includes(`
`)) {
      let o = this.raw(e, null, "indent");
      if (o.length)
        for (let a = 0; a < s; a++) n += o
    }
    return n
  }
  block(e, r) {
    let n = this.raw(e, "between", "beforeOpen");
    this.builder(r + n + "{", e, "start");
    let i;
    e.nodes && e.nodes.length ? (this.body(e), i = this.raw(e, "after")) : i = this.raw(e, "after", "emptyBody"), i && this.builder(i), this.builder("}", e, "end")
  }
  body(e) {
    let r = e.nodes.length - 1;
    for (; r > 0 && e.nodes[r].type === "comment";) r -= 1;
    let n = this.raw(e, "semicolon");
    for (let i = 0; i < e.nodes.length; i++) {
      let s = e.nodes[i],
        o = this.raw(s, "before");
      o && this.builder(o), this.stringify(s, r !== i || n)
    }
  }
  comment(e) {
    let r = this.raw(e, "left", "commentLeft"),
      n = this.raw(e, "right", "commentRight");
    this.builder("/*" + r + e.text + n + "*/", e)
  }
  decl(e, r) {
    let n = this.raw(e, "between", "colon"),
      i = e.prop + n + this.rawValue(e, "value");
    e.important && (i += e.raws.important || " !important"), r && (i += ";"), this.builder(i, e)
  }
  document(e) {
    this.body(e)
  }
  raw(e, r, n) {
    let i;
    if (n || (n = r), r && (i = e.raws[r], typeof i < "u")) return i;
    let s = e.parent;
    if (n === "before" && (!s || s.type === "root" && s.first === e || s && s.type === "document")) return "";
    if (!s) return tw[n];
    let o = e.root();
    if (o.rawCache || (o.rawCache = {}), typeof o.rawCache[n] < "u") return o.rawCache[n];
    if (n === "before" || n === "after") return this.beforeAfter(e, n); {
      let a = "raw" + xH(n);
      this[a] ? i = this[a](o, e) : o.walk(l => {
        if (i = l.raws[r], typeof i < "u") return !1
      })
    }
    return typeof i > "u" && (i = tw[n]), o.rawCache[n] = i, i
  }
  rawBeforeClose(e) {
    let r;
    return e.walk(n => {
      if (n.nodes && n.nodes.length > 0 && typeof n.raws.after < "u") return r = n.raws.after, r.includes(`
`) && (r = r.replace(/[^\n]+$/, "")), !1
    }), r && (r = r.replace(/\S/g, "")), r
  }
  rawBeforeComment(e, r) {
    let n;
    return e.walkComments(i => {
      if (typeof i.raws.before < "u") return n = i.raws.before, n.includes(`
`) && (n = n.replace(/[^\n]+$/, "")), !1
    }), typeof n > "u" ? n = this.raw(r, null, "beforeDecl") : n && (n = n.replace(/\S/g, "")), n
  }
  rawBeforeDecl(e, r) {
    let n;
    return e.walkDecls(i => {
      if (typeof i.raws.before < "u") return n = i.raws.before, n.includes(`
`) && (n = n.replace(/[^\n]+$/, "")), !1
    }), typeof n > "u" ? n = this.raw(r, null, "beforeRule") : n && (n = n.replace(/\S/g, "")), n
  }
  rawBeforeOpen(e) {
    let r;
    return e.walk(n => {
      if (n.type !== "decl" && (r = n.raws.between, typeof r < "u")) return !1
    }), r
  }
  rawBeforeRule(e) {
    let r;
    return e.walk(n => {
      if (n.nodes && (n.parent !== e || e.first !== n) && typeof n.raws.before < "u") return r = n.raws.before, r.includes(`
`) && (r = r.replace(/[^\n]+$/, "")), !1
    }), r && (r = r.replace(/\S/g, "")), r
  }
  rawColon(e) {
    let r;
    return e.walkDecls(n => {
      if (typeof n.raws.between < "u") return r = n.raws.between.replace(/[^\s:]/g, ""), !1
    }), r
  }
  rawEmptyBody(e) {
    let r;
    return e.walk(n => {
      if (n.nodes && n.nodes.length === 0 && (r = n.raws.after, typeof r < "u")) return !1
    }), r
  }
  rawIndent(e) {
    if (e.raws.indent) return e.raws.indent;
    let r;
    return e.walk(n => {
      let i = n.parent;
      if (i && i !== e && i.parent && i.parent === e && typeof n.raws.before < "u") {
        let s = n.raws.before.split(`
`);
        return r = s[s.length - 1], r = r.replace(/\S/g, ""), !1
      }
    }), r
  }
  rawSemicolon(e) {
    let r;
    return e.walk(n => {
      if (n.nodes && n.nodes.length && n.last.type === "decl" && (r = n.raws.semicolon, typeof r < "u")) return !1
    }), r
  }
  rawValue(e, r) {
    let n = e[r],
      i = e.raws[r];
    return i && i.value === n ? i.raw : n
  }
  root(e) {
    this.body(e), e.raws.after && this.builder(e.raws.after)
  }
  rule(e) {
    this.block(e, this.rawValue(e, "selector")), e.raws.ownSemicolon && this.builder(e.raws.ownSemicolon, e, "end")
  }
  stringify(e, r) {
    if (!this[e.type]) throw new Error("Unknown AST node type " + e.type + ". Maybe you need to change PostCSS stringifier.");
    this[e.type](e, r)
  }
};
var GE = dC;
dC.default = dC;
let EH = GE;

function fC(t, e) {
  new EH(e).stringify(t)
}
var Zd = fC;
fC.default = fC;
var cl = {};
cl.isClean = Symbol("isClean");
cl.my = Symbol("my");
let SH = tg,
  kH = GE,
  jH = Zd,
  {
    isClean: Co,
    my: AH
  } = cl;

function BC(t, e) {
  let r = new t.constructor;
  for (let n in t) {
    if (!Object.prototype.hasOwnProperty.call(t, n) || n === "proxyCache") continue;
    let i = t[n],
      s = typeof i;
    n === "parent" && s === "object" ? e && (r[n] = e) : n === "source" ? r[n] = i : Array.isArray(i) ? r[n] = i.map(o => BC(o, r)) : (s === "object" && i !== null && (i = BC(i)), r[n] = i)
  }
  return r
}
let hC = class {
  constructor(e = {}) {
    this.raws = {}, this[Co] = !1, this[AH] = !0;
    for (let r in e)
      if (r === "nodes") {
        this.nodes = [];
        for (let n of e[r]) typeof n.clone == "function" ? this.append(n.clone()) : this.append(n)
      } else this[r] = e[r]
  }
  addToError(e) {
    if (e.postcssNode = this, e.stack && this.source && /\n\s{4}at /.test(e.stack)) {
      let r = this.source;
      e.stack = e.stack.replace(/\n\s{4}at /, `$&${r.input.from}:${r.start.line}:${r.start.column}$&`)
    }
    return e
  }
  after(e) {
    return this.parent.insertAfter(this, e), this
  }
  assign(e = {}) {
    for (let r in e) this[r] = e[r];
    return this
  }
  before(e) {
    return this.parent.insertBefore(this, e), this
  }
  cleanRaws(e) {
    delete this.raws.before, delete this.raws.after, e || delete this.raws.between
  }
  clone(e = {}) {
    let r = BC(this);
    for (let n in e) r[n] = e[n];
    return r
  }
  cloneAfter(e = {}) {
    let r = this.clone(e);
    return this.parent.insertAfter(this, r), r
  }
  cloneBefore(e = {}) {
    let r = this.clone(e);
    return this.parent.insertBefore(this, r), r
  }
  error(e, r = {}) {
    if (this.source) {
      let {
        end: n,
        start: i
      } = this.rangeBy(r);
      return this.source.input.error(e, {
        column: i.column,
        line: i.line
      }, {
        column: n.column,
        line: n.line
      }, r)
    }
    return new SH(e)
  }
  getProxyProcessor() {
    return {
      get(e, r) {
        return r === "proxyOf" ? e : r === "root" ? () => e.root().toProxy() : e[r]
      },
      set(e, r, n) {
        return e[r] === n || (e[r] = n, (r === "prop" || r === "value" || r === "name" || r === "params" || r === "important" || r === "text") && e.markDirty()), !0
      }
    }
  }
  markClean() {
    this[Co] = !0
  }
  markDirty() {
    if (this[Co]) {
      this[Co] = !1;
      let e = this;
      for (; e = e.parent;) e[Co] = !1
    }
  }
  next() {
    if (!this.parent) return;
    let e = this.parent.index(this);
    return this.parent.nodes[e + 1]
  }
  positionBy(e, r) {
    let n = this.source.start;
    if (e.index) n = this.positionInside(e.index, r);
    else if (e.word) {
      r = this.toString();
      let i = r.indexOf(e.word);
      i !== -1 && (n = this.positionInside(i, r))
    }
    return n
  }
  positionInside(e, r) {
    let n = r || this.toString(),
      i = this.source.start.column,
      s = this.source.start.line;
    for (let o = 0; o < e; o++) n[o] === `
` ? (i = 1, s += 1) : i += 1;
    return {
      column: i,
      line: s
    }
  }
  prev() {
    if (!this.parent) return;
    let e = this.parent.index(this);
    return this.parent.nodes[e - 1]
  }
  rangeBy(e) {
    let r = {
        column: this.source.start.column,
        line: this.source.start.line
      },
      n = this.source.end ? {
        column: this.source.end.column + 1,
        line: this.source.end.line
      } : {
        column: r.column + 1,
        line: r.line
      };
    if (e.word) {
      let i = this.toString(),
        s = i.indexOf(e.word);
      s !== -1 && (r = this.positionInside(s, i), n = this.positionInside(s + e.word.length, i))
    } else e.start ? r = {
      column: e.start.column,
      line: e.start.line
    } : e.index && (r = this.positionInside(e.index)), e.end ? n = {
      column: e.end.column,
      line: e.end.line
    } : typeof e.endIndex == "number" ? n = this.positionInside(e.endIndex) : e.index && (n = this.positionInside(e.index + 1));
    return (n.line < r.line || n.line === r.line && n.column <= r.column) && (n = {
      column: r.column + 1,
      line: r.line
    }), {
      end: n,
      start: r
    }
  }
  raw(e, r) {
    return new kH().raw(this, e, r)
  }
  remove() {
    return this.parent && this.parent.removeChild(this), this.parent = void 0, this
  }
  replaceWith(...e) {
    if (this.parent) {
      let r = this,
        n = !1;
      for (let i of e) i === this ? n = !0 : n ? (this.parent.insertAfter(r, i), r = i) : this.parent.insertBefore(r, i);
      n || this.remove()
    }
    return this
  }
  root() {
    let e = this;
    for (; e.parent && e.parent.type !== "document";) e = e.parent;
    return e
  }
  toJSON(e, r) {
    let n = {},
      i = r == null;
    r = r || new Map;
    let s = 0;
    for (let o in this) {
      if (!Object.prototype.hasOwnProperty.call(this, o) || o === "parent" || o === "proxyCache") continue;
      let a = this[o];
      if (Array.isArray(a)) n[o] = a.map(l => typeof l == "object" && l.toJSON ? l.toJSON(null, r) : l);
      else if (typeof a == "object" && a.toJSON) n[o] = a.toJSON(null, r);
      else if (o === "source") {
        let l = r.get(a.input);
        l == null && (l = s, r.set(a.input, s), s++), n[o] = {
          end: a.end,
          inputId: l,
          start: a.start
        }
      } else n[o] = a
    }
    return i && (n.inputs = [...r.keys()].map(o => o.toJSON())), n
  }
  toProxy() {
    return this.proxyCache || (this.proxyCache = new Proxy(this, this.getProxyProcessor())), this.proxyCache
  }
  toString(e = jH) {
    e.stringify && (e = e.stringify);
    let r = "";
    return e(this, n => {
      r += n
    }), r
  }
  warn(e, r, n) {
    let i = {
      node: this
    };
    for (let s in n) i[s] = n[s];
    return e.warn(r, i)
  }
  get proxyOf() {
    return this
  }
};
var ef = hC;
hC.default = hC;
let PH = ef,
  pC = class extends PH {
    constructor(e) {
      super(e), this.type = "comment"
    }
  };
var tf = pC;
pC.default = pC;
let _H = ef,
  CC = class extends _H {
    constructor(e) {
      e && typeof e.value < "u" && typeof e.value != "string" && (e = {
        ...e,
        value: String(e.value)
      }), super(e), this.type = "decl"
    }
    get variable() {
      return this.prop.startsWith("--") || this.prop[0] === "$"
    }
  };
var rf = CC;
CC.default = CC;
let qE = tf,
  VE = rf,
  OH = ef,
  {
    isClean: KE,
    my: QE
  } = cl,
  rg, JE, YE, ng;

function XE(t) {
  return t.map(e => (e.nodes && (e.nodes = XE(e.nodes)), delete e.source, e))
}

function ZE(t) {
  if (t[KE] = !1, t.proxyOf.nodes)
    for (let e of t.proxyOf.nodes) ZE(e)
}
let an = class e5 extends OH {
  append(...e) {
    for (let r of e) {
      let n = this.normalize(r, this.last);
      for (let i of n) this.proxyOf.nodes.push(i)
    }
    return this.markDirty(), this
  }
  cleanRaws(e) {
    if (super.cleanRaws(e), this.nodes)
      for (let r of this.nodes) r.cleanRaws(e)
  }
  each(e) {
    if (!this.proxyOf.nodes) return;
    let r = this.getIterator(),
      n, i;
    for (; this.indexes[r] < this.proxyOf.nodes.length && (n = this.indexes[r], i = e(this.proxyOf.nodes[n], n), i !== !1);) this.indexes[r] += 1;
    return delete this.indexes[r], i
  }
  every(e) {
    return this.nodes.every(e)
  }
  getIterator() {
    this.lastEach || (this.lastEach = 0), this.indexes || (this.indexes = {}), this.lastEach += 1;
    let e = this.lastEach;
    return this.indexes[e] = 0, e
  }
  getProxyProcessor() {
    return {
      get(e, r) {
        return r === "proxyOf" ? e : e[r] ? r === "each" || typeof r == "string" && r.startsWith("walk") ? (...n) => e[r](...n.map(i => typeof i == "function" ? (s, o) => i(s.toProxy(), o) : i)) : r === "every" || r === "some" ? n => e[r]((i, ...s) => n(i.toProxy(), ...s)) : r === "root" ? () => e.root().toProxy() : r === "nodes" ? e.nodes.map(n => n.toProxy()) : r === "first" || r === "last" ? e[r].toProxy() : e[r] : e[r]
      },
      set(e, r, n) {
        return e[r] === n || (e[r] = n, (r === "name" || r === "params" || r === "selector") && e.markDirty()), !0
      }
    }
  }
  index(e) {
    return typeof e == "number" ? e : (e.proxyOf && (e = e.proxyOf), this.proxyOf.nodes.indexOf(e))
  }
  insertAfter(e, r) {
    let n = this.index(e),
      i = this.normalize(r, this.proxyOf.nodes[n]).reverse();
    n = this.index(e);
    for (let o of i) this.proxyOf.nodes.splice(n + 1, 0, o);
    let s;
    for (let o in this.indexes) s = this.indexes[o], n < s && (this.indexes[o] = s + i.length);
    return this.markDirty(), this
  }
  insertBefore(e, r) {
    let n = this.index(e),
      i = n === 0 ? "prepend" : !1,
      s = this.normalize(r, this.proxyOf.nodes[n], i).reverse();
    n = this.index(e);
    for (let a of s) this.proxyOf.nodes.splice(n, 0, a);
    let o;
    for (let a in this.indexes) o = this.indexes[a], n <= o && (this.indexes[a] = o + s.length);
    return this.markDirty(), this
  }
  normalize(e, r) {
    if (typeof e == "string") e = XE(JE(e).nodes);
    else if (typeof e > "u") e = [];
    else if (Array.isArray(e)) {
      e = e.slice(0);
      for (let i of e) i.parent && i.parent.removeChild(i, "ignore")
    } else if (e.type === "root" && this.type !== "document") {
      e = e.nodes.slice(0);
      for (let i of e) i.parent && i.parent.removeChild(i, "ignore")
    } else if (e.type) e = [e];
    else if (e.prop) {
      if (typeof e.value > "u") throw new Error("Value field is missed in node creation");
      typeof e.value != "string" && (e.value = String(e.value)), e = [new VE(e)]
    } else if (e.selector || e.selectors) e = [new ng(e)];
    else if (e.name) e = [new rg(e)];
    else if (e.text) e = [new qE(e)];
    else throw new Error("Unknown node type in node creation");
    return e.map(i => ((!i[QE] || !i.markClean) && e5.rebuild(i), i = i.proxyOf, i.parent && i.parent.removeChild(i), i[KE] && ZE(i), typeof i.raws.before > "u" && r && typeof r.raws.before < "u" && (i.raws.before = r.raws.before.replace(/\S/g, "")), i.parent = this.proxyOf, i))
  }
  prepend(...e) {
    e = e.reverse();
    for (let r of e) {
      let n = this.normalize(r, this.first, "prepend").reverse();
      for (let i of n) this.proxyOf.nodes.unshift(i);
      for (let i in this.indexes) this.indexes[i] = this.indexes[i] + n.length
    }
    return this.markDirty(), this
  }
  push(e) {
    return e.parent = this, this.proxyOf.nodes.push(e), this
  }
  removeAll() {
    for (let e of this.proxyOf.nodes) e.parent = void 0;
    return this.proxyOf.nodes = [], this.markDirty(), this
  }
  removeChild(e) {
    e = this.index(e), this.proxyOf.nodes[e].parent = void 0, this.proxyOf.nodes.splice(e, 1);
    let r;
    for (let n in this.indexes) r = this.indexes[n], r >= e && (this.indexes[n] = r - 1);
    return this.markDirty(), this
  }
  replaceValues(e, r, n) {
    return n || (n = r, r = {}), this.walkDecls(i => {
      r.props && !r.props.includes(i.prop) || r.fast && !i.value.includes(r.fast) || (i.value = i.value.replace(e, n))
    }), this.markDirty(), this
  }
  some(e) {
    return this.nodes.some(e)
  }
  walk(e) {
    return this.each((r, n) => {
      let i;
      try {
        i = e(r, n)
      } catch (s) {
        throw r.addToError(s)
      }
      return i !== !1 && r.walk && (i = r.walk(e)), i
    })
  }
  walkAtRules(e, r) {
    return r ? e instanceof RegExp ? this.walk((n, i) => {
      if (n.type === "atrule" && e.test(n.name)) return r(n, i)
    }) : this.walk((n, i) => {
      if (n.type === "atrule" && n.name === e) return r(n, i)
    }) : (r = e, this.walk((n, i) => {
      if (n.type === "atrule") return r(n, i)
    }))
  }
  walkComments(e) {
    return this.walk((r, n) => {
      if (r.type === "comment") return e(r, n)
    })
  }
  walkDecls(e, r) {
    return r ? e instanceof RegExp ? this.walk((n, i) => {
      if (n.type === "decl" && e.test(n.prop)) return r(n, i)
    }) : this.walk((n, i) => {
      if (n.type === "decl" && n.prop === e) return r(n, i)
    }) : (r = e, this.walk((n, i) => {
      if (n.type === "decl") return r(n, i)
    }))
  }
  walkRules(e, r) {
    return r ? e instanceof RegExp ? this.walk((n, i) => {
      if (n.type === "rule" && e.test(n.selector)) return r(n, i)
    }) : this.walk((n, i) => {
      if (n.type === "rule" && n.selector === e) return r(n, i)
    }) : (r = e, this.walk((n, i) => {
      if (n.type === "rule") return r(n, i)
    }))
  }
  get first() {
    if (this.proxyOf.nodes) return this.proxyOf.nodes[0]
  }
  get last() {
    if (this.proxyOf.nodes) return this.proxyOf.nodes[this.proxyOf.nodes.length - 1]
  }
};
an.registerParse = t => {
  JE = t
};
an.registerRule = t => {
  ng = t
};
an.registerAtRule = t => {
  rg = t
};
an.registerRoot = t => {
  YE = t
};
var Oi = an;
an.default = an;
an.rebuild = t => {
  t.type === "atrule" ? Object.setPrototypeOf(t, rg.prototype) : t.type === "rule" ? Object.setPrototypeOf(t, ng.prototype) : t.type === "decl" ? Object.setPrototypeOf(t, VE.prototype) : t.type === "comment" ? Object.setPrototypeOf(t, qE.prototype) : t.type === "root" && Object.setPrototypeOf(t, YE.prototype), t[QE] = !0, t.nodes && t.nodes.forEach(e => {
    an.rebuild(e)
  })
};
let t5 = Oi,
  zc = class extends t5 {
    constructor(e) {
      super(e), this.type = "atrule"
    }
    append(...e) {
      return this.proxyOf.nodes || (this.nodes = []), super.append(...e)
    }
    prepend(...e) {
      return this.proxyOf.nodes || (this.nodes = []), super.prepend(...e)
    }
  };
var ig = zc;
zc.default = zc;
t5.registerAtRule(zc);
let IH = Oi,
  r5, n5, ja = class extends IH {
    constructor(e) {
      super({
        type: "document",
        ...e
      }), this.nodes || (this.nodes = [])
    }
    toResult(e = {}) {
      return new r5(new n5, this, e).stringify()
    }
  };
ja.registerLazyResult = t => {
  r5 = t
};
ja.registerProcessor = t => {
  n5 = t
};
var sg = ja;
ja.default = ja;
let NH = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",
  TH = (t, e = 21) => (r = e) => {
    let n = "",
      i = r;
    for (; i--;) n += t[Math.random() * t.length | 0];
    return n
  },
  RH = (t = 21) => {
    let e = "",
      r = t;
    for (; r--;) e += NH[Math.random() * 64 | 0];
    return e
  };
var FH = {
  nanoid: RH,
  customAlphabet: TH
};
let {
  existsSync: MH,
  readFileSync: LH
} = Zt, {
  dirname: AB,
  join: UH
} = Zt, {
  SourceMapConsumer: rw,
  SourceMapGenerator: nw
} = Zt;

function zH(t) {
  return Buffer ? Buffer.from(t, "base64").toString() : window.atob(t)
}
let mC = class {
  constructor(e, r) {
    if (r.map === !1) return;
    this.loadAnnotation(e), this.inline = this.startWith(this.annotation, "data:");
    let n = r.map ? r.map.prev : void 0,
      i = this.loadMap(r.from, n);
    !this.mapFile && r.from && (this.mapFile = r.from), this.mapFile && (this.root = AB(this.mapFile)), i && (this.text = i)
  }
  consumer() {
    return this.consumerCache || (this.consumerCache = new rw(this.text)), this.consumerCache
  }
  decodeInline(e) {
    let r = /^data:application\/json;charset=utf-?8;base64,/,
      n = /^data:application\/json;base64,/,
      i = /^data:application\/json;charset=utf-?8,/,
      s = /^data:application\/json,/,
      o = e.match(i) || e.match(s);
    if (o) return decodeURIComponent(e.substr(o[0].length));
    let a = e.match(r) || e.match(n);
    if (a) return zH(e.substr(a[0].length));
    let l = e.match(/data:application\/json;([^,]+),/)[1];
    throw new Error("Unsupported source map encoding " + l)
  }
  getAnnotationURL(e) {
    return e.replace(/^\/\*\s*# sourceMappingURL=/, "").trim()
  }
  isMap(e) {
    return typeof e != "object" ? !1 : typeof e.mappings == "string" || typeof e._mappings == "string" || Array.isArray(e.sections)
  }
  loadAnnotation(e) {
    let r = e.match(/\/\*\s*# sourceMappingURL=/g);
    if (!r) return;
    let n = e.lastIndexOf(r.pop()),
      i = e.indexOf("*/", n);
    n > -1 && i > -1 && (this.annotation = this.getAnnotationURL(e.substring(n, i)))
  }
  loadFile(e) {
    if (this.root = AB(e), MH(e)) return this.mapFile = e, LH(e, "utf-8").toString().trim()
  }
  loadMap(e, r) {
    if (r === !1) return !1;
    if (r) {
      if (typeof r == "string") return r;
      if (typeof r == "function") {
        let n = r(e);
        if (n) {
          let i = this.loadFile(n);
          if (!i) throw new Error("Unable to load previous source map: " + n.toString());
          return i
        }
      } else {
        if (r instanceof rw) return nw.fromSourceMap(r).toString();
        if (r instanceof nw) return r.toString();
        if (this.isMap(r)) return JSON.stringify(r);
        throw new Error("Unsupported previous source map format: " + r.toString())
      }
    } else {
      if (this.inline) return this.decodeInline(this.annotation);
      if (this.annotation) {
        let n = this.annotation;
        return e && (n = UH(AB(e), n)), this.loadFile(n)
      }
    }
  }
  startWith(e, r) {
    return e ? e.substr(0, r.length) === r : !1
  }
  withContent() {
    return !!(this.consumer().sourcesContent && this.consumer().sourcesContent.length > 0)
  }
};
var i5 = mC;
mC.default = mC;
let {
  nanoid: WH
} = FH, {
  isAbsolute: gC,
  resolve: vC
} = Zt, {
  SourceMapConsumer: $H,
  SourceMapGenerator: HH
} = Zt, {
  fileURLToPath: iw,
  pathToFileURL: su
} = Zt, sw = tg, GH = i5, PB = Zt, _B = Symbol("fromOffsetCache"), qH = !!($H && HH), ow = !!(vC && gC), Wc = class {
  constructor(e, r = {}) {
    if (e === null || typeof e > "u" || typeof e == "object" && !e.toString) throw new Error(`PostCSS received ${e} instead of CSS string`);
    if (this.css = e.toString(), this.css[0] === "\uFEFF" || this.css[0] === " " ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, r.from && (!ow || /^\w+:\/\//.test(r.from) || gC(r.from) ? this.file = r.from : this.file = vC(r.from)), ow && qH) {
      let n = new GH(this.css, r);
      if (n.text) {
        this.map = n;
        let i = n.consumer().file;
        !this.file && i && (this.file = this.mapResolve(i))
      }
    }
    this.file || (this.id = "<input css " + WH(6) + ">"), this.map && (this.map.file = this.from)
  }
  error(e, r, n, i = {}) {
    let s, o, a;
    if (r && typeof r == "object") {
      let u = r,
        c = n;
      if (typeof u.offset == "number") {
        let d = this.fromOffset(u.offset);
        r = d.line, n = d.col
      } else r = u.line, n = u.column;
      if (typeof c.offset == "number") {
        let d = this.fromOffset(c.offset);
        o = d.line, s = d.col
      } else o = c.line, s = c.column
    } else if (!n) {
      let u = this.fromOffset(r);
      r = u.line, n = u.col
    }
    let l = this.origin(r, n, o, s);
    return l ? a = new sw(e, l.endLine === void 0 ? l.line : {
      column: l.column,
      line: l.line
    }, l.endLine === void 0 ? l.column : {
      column: l.endColumn,
      line: l.endLine
    }, l.source, l.file, i.plugin) : a = new sw(e, o === void 0 ? r : {
      column: n,
      line: r
    }, o === void 0 ? n : {
      column: s,
      line: o
    }, this.css, this.file, i.plugin), a.input = {
      column: n,
      endColumn: s,
      endLine: o,
      line: r,
      source: this.css
    }, this.file && (su && (a.input.url = su(this.file).toString()), a.input.file = this.file), a
  }
  fromOffset(e) {
    let r, n;
    if (this[_B]) n = this[_B];
    else {
      let s = this.css.split(`
`);
      n = new Array(s.length);
      let o = 0;
      for (let a = 0, l = s.length; a < l; a++) n[a] = o, o += s[a].length + 1;
      this[_B] = n
    }
    r = n[n.length - 1];
    let i = 0;
    if (e >= r) i = n.length - 1;
    else {
      let s = n.length - 2,
        o;
      for (; i < s;)
        if (o = i + (s - i >> 1), e < n[o]) s = o - 1;
        else if (e >= n[o + 1]) i = o + 1;
      else {
        i = o;
        break
      }
    }
    return {
      col: e - n[i] + 1,
      line: i + 1
    }
  }
  mapResolve(e) {
    return /^\w+:\/\//.test(e) ? e : vC(this.map.consumer().sourceRoot || this.map.root || ".", e)
  }
  origin(e, r, n, i) {
    if (!this.map) return !1;
    let s = this.map.consumer(),
      o = s.originalPositionFor({
        column: r,
        line: e
      });
    if (!o.source) return !1;
    let a;
    typeof n == "number" && (a = s.originalPositionFor({
      column: i,
      line: n
    }));
    let l;
    gC(o.source) ? l = su(o.source) : l = new URL(o.source, this.map.consumer().sourceRoot || su(this.map.mapFile));
    let u = {
      column: o.column,
      endColumn: a && a.column,
      endLine: a && a.line,
      line: o.line,
      url: l.toString()
    };
    if (l.protocol === "file:")
      if (iw) u.file = iw(l);
      else throw new Error("file: protocol is not available in this PostCSS build");
    let c = s.sourceContentFor(o.source);
    return c && (u.source = c), u
  }
  toJSON() {
    let e = {};
    for (let r of ["hasBOM", "css", "file", "id"]) this[r] != null && (e[r] = this[r]);
    return this.map && (e.map = {
      ...this.map
    }, e.map.consumerCache && (e.map.consumerCache = void 0)), e
  }
  get from() {
    return this.file || this.id
  }
};
var nf = Wc;
Wc.default = Wc;
PB && PB.registerInput && PB.registerInput(Wc);
let s5 = Oi,
  o5, a5, Is = class extends s5 {
    constructor(e) {
      super(e), this.type = "root", this.nodes || (this.nodes = [])
    }
    normalize(e, r, n) {
      let i = super.normalize(e);
      if (r) {
        if (n === "prepend") this.nodes.length > 1 ? r.raws.before = this.nodes[1].raws.before : delete r.raws.before;
        else if (this.first !== r)
          for (let s of i) s.raws.before = r.raws.before
      }
      return i
    }
    removeChild(e, r) {
      let n = this.index(e);
      return !r && n === 0 && this.nodes.length > 1 && (this.nodes[1].raws.before = this.nodes[n].raws.before), super.removeChild(e)
    }
    toResult(e = {}) {
      return new o5(new a5, this, e).stringify()
    }
  };
Is.registerLazyResult = t => {
  o5 = t
};
Is.registerProcessor = t => {
  a5 = t
};
var dl = Is;
Is.default = Is;
s5.registerRoot(Is);
let Aa = {
  comma(t) {
    return Aa.split(t, [","], !0)
  },
  space(t) {
    let e = [" ", `
`, "	"];
    return Aa.split(t, e)
  },
  split(t, e, r) {
    let n = [],
      i = "",
      s = !1,
      o = 0,
      a = !1,
      l = "",
      u = !1;
    for (let c of t) u ? u = !1 : c === "\\" ? u = !0 : a ? c === l && (a = !1) : c === '"' || c === "'" ? (a = !0, l = c) : c === "(" ? o += 1 : c === ")" ? o > 0 && (o -= 1) : o === 0 && e.includes(c) && (s = !0), s ? (i !== "" && n.push(i.trim()), i = "", s = !1) : i += c;
    return (r || i !== "") && n.push(i.trim()), n
  }
};
var l5 = Aa;
Aa.default = Aa;
let u5 = Oi,
  VH = l5,
  $c = class extends u5 {
    constructor(e) {
      super(e), this.type = "rule", this.nodes || (this.nodes = [])
    }
    get selectors() {
      return VH.comma(this.selector)
    }
    set selectors(e) {
      let r = this.selector ? this.selector.match(/,\s*/) : null,
        n = r ? r[0] : "," + this.raw("between", "beforeOpen");
      this.selector = e.join(n)
    }
  };
var og = $c;
$c.default = $c;
u5.registerRule($c);
let KH = ig,
  QH = tf,
  JH = rf,
  YH = nf,
  XH = i5,
  ZH = dl,
  eG = og;

function Pa(t, e) {
  if (Array.isArray(t)) return t.map(i => Pa(i));
  let {
    inputs: r,
    ...n
  } = t;
  if (r) {
    e = [];
    for (let i of r) {
      let s = {
        ...i,
        __proto__: YH.prototype
      };
      s.map && (s.map = {
        ...s.map,
        __proto__: XH.prototype
      }), e.push(s)
    }
  }
  if (n.nodes && (n.nodes = t.nodes.map(i => Pa(i, e))), n.source) {
    let {
      inputId: i,
      ...s
    } = n.source;
    n.source = s, i != null && (n.source.input = e[i])
  }
  if (n.type === "root") return new ZH(n);
  if (n.type === "decl") return new JH(n);
  if (n.type === "rule") return new eG(n);
  if (n.type === "comment") return new QH(n);
  if (n.type === "atrule") return new KH(n);
  throw new Error("Unknown node type: " + t.type)
}
var tG = Pa;
Pa.default = Pa;
let {
  dirname: Uu,
  relative: c5,
  resolve: d5,
  sep: f5
} = Zt, {
  SourceMapConsumer: B5,
  SourceMapGenerator: zu
} = Zt, {
  pathToFileURL: aw
} = Zt, rG = nf, nG = !!(B5 && zu), iG = !!(Uu && d5 && c5 && f5), sG = class {
  constructor(e, r, n, i) {
    this.stringify = e, this.mapOpts = n.map || {}, this.root = r, this.opts = n, this.css = i, this.originalCSS = i, this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute, this.memoizedFileURLs = new Map, this.memoizedPaths = new Map, this.memoizedURLs = new Map
  }
  addAnnotation() {
    let e;
    this.isInline() ? e = "data:application/json;base64," + this.toBase64(this.map.toString()) : typeof this.mapOpts.annotation == "string" ? e = this.mapOpts.annotation : typeof this.mapOpts.annotation == "function" ? e = this.mapOpts.annotation(this.opts.to, this.root) : e = this.outputFile() + ".map";
    let r = `
`;
    this.css.includes(`\r
`) && (r = `\r
`), this.css += r + "/*# sourceMappingURL=" + e + " */"
  }
  applyPrevMaps() {
    for (let e of this.previous()) {
      let r = this.toUrl(this.path(e.file)),
        n = e.root || Uu(e.file),
        i;
      this.mapOpts.sourcesContent === !1 ? (i = new B5(e.text), i.sourcesContent && (i.sourcesContent = null)) : i = e.consumer(), this.map.applySourceMap(i, r, this.toUrl(this.path(n)))
    }
  }
  clearAnnotation() {
    if (this.mapOpts.annotation !== !1)
      if (this.root) {
        let e;
        for (let r = this.root.nodes.length - 1; r >= 0; r--) e = this.root.nodes[r], e.type === "comment" && e.text.startsWith("# sourceMappingURL=") && this.root.removeChild(r)
      } else this.css && (this.css = this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm, ""))
  }
  generate() {
    if (this.clearAnnotation(), iG && nG && this.isMap()) return this.generateMap(); {
      let e = "";
      return this.stringify(this.root, r => {
        e += r
      }), [e]
    }
  }
  generateMap() {
    if (this.root) this.generateString();
    else if (this.previous().length === 1) {
      let e = this.previous()[0].consumer();
      e.file = this.outputFile(), this.map = zu.fromSourceMap(e, {
        ignoreInvalidMapping: !0
      })
    } else this.map = new zu({
      file: this.outputFile(),
      ignoreInvalidMapping: !0
    }), this.map.addMapping({
      generated: {
        column: 0,
        line: 1
      },
      original: {
        column: 0,
        line: 1
      },
      source: this.opts.from ? this.toUrl(this.path(this.opts.from)) : "<no source>"
    });
    return this.isSourcesContent() && this.setSourcesContent(), this.root && this.previous().length > 0 && this.applyPrevMaps(), this.isAnnotation() && this.addAnnotation(), this.isInline() ? [this.css] : [this.css, this.map]
  }
  generateString() {
    this.css = "", this.map = new zu({
      file: this.outputFile(),
      ignoreInvalidMapping: !0
    });
    let e = 1,
      r = 1,
      n = "<no source>",
      i = {
        generated: {
          column: 0,
          line: 0
        },
        original: {
          column: 0,
          line: 0
        },
        source: ""
      },
      s, o;
    this.stringify(this.root, (a, l, u) => {
      if (this.css += a, l && u !== "end" && (i.generated.line = e, i.generated.column = r - 1, l.source && l.source.start ? (i.source = this.sourcePath(l), i.original.line = l.source.start.line, i.original.column = l.source.start.column - 1, this.map.addMapping(i)) : (i.source = n, i.original.line = 1, i.original.column = 0, this.map.addMapping(i))), o = a.match(/\n/g), o ? (e += o.length, s = a.lastIndexOf(`
`), r = a.length - s) : r += a.length, l && u !== "start") {
        let c = l.parent || {
          raws: {}
        };
        (!(l.type === "decl" || l.type === "atrule" && !l.nodes) || l !== c.last || c.raws.semicolon) && (l.source && l.source.end ? (i.source = this.sourcePath(l), i.original.line = l.source.end.line, i.original.column = l.source.end.column - 1, i.generated.line = e, i.generated.column = r - 2, this.map.addMapping(i)) : (i.source = n, i.original.line = 1, i.original.column = 0, i.generated.line = e, i.generated.column = r - 1, this.map.addMapping(i)))
      }
    })
  }
  isAnnotation() {
    return this.isInline() ? !0 : typeof this.mapOpts.annotation < "u" ? this.mapOpts.annotation : this.previous().length ? this.previous().some(e => e.annotation) : !0
  }
  isInline() {
    if (typeof this.mapOpts.inline < "u") return this.mapOpts.inline;
    let e = this.mapOpts.annotation;
    return typeof e < "u" && e !== !0 ? !1 : this.previous().length ? this.previous().some(r => r.inline) : !0
  }
  isMap() {
    return typeof this.opts.map < "u" ? !!this.opts.map : this.previous().length > 0
  }
  isSourcesContent() {
    return typeof this.mapOpts.sourcesContent < "u" ? this.mapOpts.sourcesContent : this.previous().length ? this.previous().some(e => e.withContent()) : !0
  }
  outputFile() {
    return this.opts.to ? this.path(this.opts.to) : this.opts.from ? this.path(this.opts.from) : "to.css"
  }
  path(e) {
    if (this.mapOpts.absolute || e.charCodeAt(0) === 60 || /^\w+:\/\//.test(e)) return e;
    let r = this.memoizedPaths.get(e);
    if (r) return r;
    let n = this.opts.to ? Uu(this.opts.to) : ".";
    typeof this.mapOpts.annotation == "string" && (n = Uu(d5(n, this.mapOpts.annotation)));
    let i = c5(n, e);
    return this.memoizedPaths.set(e, i), i
  }
  previous() {
    if (!this.previousMaps)
      if (this.previousMaps = [], this.root) this.root.walk(e => {
        if (e.source && e.source.input.map) {
          let r = e.source.input.map;
          this.previousMaps.includes(r) || this.previousMaps.push(r)
        }
      });
      else {
        let e = new rG(this.originalCSS, this.opts);
        e.map && this.previousMaps.push(e.map)
      } return this.previousMaps
  }
  setSourcesContent() {
    let e = {};
    if (this.root) this.root.walk(r => {
      if (r.source) {
        let n = r.source.input.from;
        if (n && !e[n]) {
          e[n] = !0;
          let i = this.usesFileUrls ? this.toFileUrl(n) : this.toUrl(this.path(n));
          this.map.setSourceContent(i, r.source.input.css)
        }
      }
    });
    else if (this.css) {
      let r = this.opts.from ? this.toUrl(this.path(this.opts.from)) : "<no source>";
      this.map.setSourceContent(r, this.css)
    }
  }
  sourcePath(e) {
    return this.mapOpts.from ? this.toUrl(this.mapOpts.from) : this.usesFileUrls ? this.toFileUrl(e.source.input.from) : this.toUrl(this.path(e.source.input.from))
  }
  toBase64(e) {
    return Buffer ? Buffer.from(e).toString("base64") : window.btoa(unescape(encodeURIComponent(e)))
  }
  toFileUrl(e) {
    let r = this.memoizedFileURLs.get(e);
    if (r) return r;
    if (aw) {
      let n = aw(e).toString();
      return this.memoizedFileURLs.set(e, n), n
    } else throw new Error("`map.absolute` option is not available in this PostCSS build")
  }
  toUrl(e) {
    let r = this.memoizedURLs.get(e);
    if (r) return r;
    f5 === "\\" && (e = e.replace(/\\/g, "/"));
    let n = encodeURI(e).replace(/[#?]/g, encodeURIComponent);
    return this.memoizedURLs.set(e, n), n
  }
};
var h5 = sG;
const OB = 39,
  lw = 34,
  ou = 92,
  uw = 47,
  au = 10,
  mo = 32,
  lu = 12,
  uu = 9,
  cu = 13,
  oG = 91,
  aG = 93,
  lG = 40,
  uG = 41,
  cG = 123,
  dG = 125,
  fG = 59,
  BG = 42,
  hG = 58,
  pG = 64,
  du = /[\t\n\f\r "#'()/;[\\\]{}]/g,
  fu = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,
  CG = /.[\r\n"'(/\\]/,
  cw = /[\da-f]/i;
var mG = function (e, r = {}) {
  let n = e.css.valueOf(),
    i = r.ignoreErrors,
    s, o, a, l, u, c, d, f, B, h, g = n.length,
    y = 0,
    m = [],
    p = [];

  function v() {
    return y
  }

  function w(S) {
    throw e.error("Unclosed " + S, y)
  }

  function D() {
    return p.length === 0 && y >= g
  }

  function x(S) {
    if (p.length) return p.pop();
    if (y >= g) return;
    let A = S ? S.ignoreUnclosed : !1;
    switch (s = n.charCodeAt(y), s) {
      case au:
      case mo:
      case uu:
      case cu:
      case lu: {
        l = y;
        do l += 1, s = n.charCodeAt(l); while (s === mo || s === au || s === uu || s === cu || s === lu);
        c = ["space", n.slice(y, l)], y = l - 1;
        break
      }
      case oG:
      case aG:
      case cG:
      case dG:
      case hG:
      case fG:
      case uG: {
        let P = String.fromCharCode(s);
        c = [P, P, y];
        break
      }
      case lG: {
        if (h = m.length ? m.pop()[1] : "", B = n.charCodeAt(y + 1), h === "url" && B !== OB && B !== lw && B !== mo && B !== au && B !== uu && B !== lu && B !== cu) {
          l = y;
          do {
            if (d = !1, l = n.indexOf(")", l + 1), l === -1)
              if (i || A) {
                l = y;
                break
              } else w("bracket");
            for (f = l; n.charCodeAt(f - 1) === ou;) f -= 1, d = !d
          } while (d);
          c = ["brackets", n.slice(y, l + 1), y, l], y = l
        } else l = n.indexOf(")", y + 1), o = n.slice(y, l + 1), l === -1 || CG.test(o) ? c = ["(", "(", y] : (c = ["brackets", o, y, l], y = l);
        break
      }
      case OB:
      case lw: {
        u = s === OB ? "'" : '"', l = y;
        do {
          if (d = !1, l = n.indexOf(u, l + 1), l === -1)
            if (i || A) {
              l = y + 1;
              break
            } else w("string");
          for (f = l; n.charCodeAt(f - 1) === ou;) f -= 1, d = !d
        } while (d);
        c = ["string", n.slice(y, l + 1), y, l], y = l;
        break
      }
      case pG: {
        du.lastIndex = y + 1, du.test(n), du.lastIndex === 0 ? l = n.length - 1 : l = du.lastIndex - 2, c = ["at-word", n.slice(y, l + 1), y, l], y = l;
        break
      }
      case ou: {
        for (l = y, a = !0; n.charCodeAt(l + 1) === ou;) l += 1, a = !a;
        if (s = n.charCodeAt(l + 1), a && s !== uw && s !== mo && s !== au && s !== uu && s !== cu && s !== lu && (l += 1, cw.test(n.charAt(l)))) {
          for (; cw.test(n.charAt(l + 1));) l += 1;
          n.charCodeAt(l + 1) === mo && (l += 1)
        }
        c = ["word", n.slice(y, l + 1), y, l], y = l;
        break
      }
      default: {
        s === uw && n.charCodeAt(y + 1) === BG ? (l = n.indexOf("*/", y + 2) + 1, l === 0 && (i || A ? l = n.length : w("comment")), c = ["comment", n.slice(y, l + 1), y, l], y = l) : (fu.lastIndex = y + 1, fu.test(n), fu.lastIndex === 0 ? l = n.length - 1 : l = fu.lastIndex - 2, c = ["word", n.slice(y, l + 1), y, l], m.push(c), y = l);
        break
      }
    }
    return y++, c
  }

  function C(S) {
    p.push(S)
  }
  return {
    back: C,
    endOfFile: D,
    nextToken: x,
    position: v
  }
};
let gG = ig,
  vG = tf,
  yG = rf,
  wG = dl,
  dw = og,
  bG = mG;
const fw = {
  empty: !0,
  space: !0
};

function DG(t) {
  for (let e = t.length - 1; e >= 0; e--) {
    let r = t[e],
      n = r[3] || r[2];
    if (n) return n
  }
}
let xG = class {
  constructor(e) {
    this.input = e, this.root = new wG, this.current = this.root, this.spaces = "", this.semicolon = !1, this.createTokenizer(), this.root.source = {
      input: e,
      start: {
        column: 1,
        line: 1,
        offset: 0
      }
    }
  }
  atrule(e) {
    let r = new gG;
    r.name = e[1].slice(1), r.name === "" && this.unnamedAtrule(r, e), this.init(r, e[2]);
    let n, i, s, o = !1,
      a = !1,
      l = [],
      u = [];
    for (; !this.tokenizer.endOfFile();) {
      if (e = this.tokenizer.nextToken(), n = e[0], n === "(" || n === "[" ? u.push(n === "(" ? ")" : "]") : n === "{" && u.length > 0 ? u.push("}") : n === u[u.length - 1] && u.pop(), u.length === 0)
        if (n === ";") {
          r.source.end = this.getPosition(e[2]), r.source.end.offset++, this.semicolon = !0;
          break
        } else if (n === "{") {
        a = !0;
        break
      } else if (n === "}") {
        if (l.length > 0) {
          for (s = l.length - 1, i = l[s]; i && i[0] === "space";) i = l[--s];
          i && (r.source.end = this.getPosition(i[3] || i[2]), r.source.end.offset++)
        }
        this.end(e);
        break
      } else l.push(e);
      else l.push(e);
      if (this.tokenizer.endOfFile()) {
        o = !0;
        break
      }
    }
    r.raws.between = this.spacesAndCommentsFromEnd(l), l.length ? (r.raws.afterName = this.spacesAndCommentsFromStart(l), this.raw(r, "params", l), o && (e = l[l.length - 1], r.source.end = this.getPosition(e[3] || e[2]), r.source.end.offset++, this.spaces = r.raws.between, r.raws.between = "")) : (r.raws.afterName = "", r.params = ""), a && (r.nodes = [], this.current = r)
  }
  checkMissedSemicolon(e) {
    let r = this.colon(e);
    if (r === !1) return;
    let n = 0,
      i;
    for (let s = r - 1; s >= 0 && (i = e[s], !(i[0] !== "space" && (n += 1, n === 2))); s--);
    throw this.input.error("Missed semicolon", i[0] === "word" ? i[3] + 1 : i[2])
  }
  colon(e) {
    let r = 0,
      n, i, s;
    for (let [o, a] of e.entries()) {
      if (i = a, s = i[0], s === "(" && (r += 1), s === ")" && (r -= 1), r === 0 && s === ":")
        if (!n) this.doubleColon(i);
        else {
          if (n[0] === "word" && n[1] === "progid") continue;
          return o
        } n = i
    }
    return !1
  }
  comment(e) {
    let r = new vG;
    this.init(r, e[2]), r.source.end = this.getPosition(e[3] || e[2]), r.source.end.offset++;
    let n = e[1].slice(2, -2);
    if (/^\s*$/.test(n)) r.text = "", r.raws.left = n, r.raws.right = "";
    else {
      let i = n.match(/^(\s*)([^]*\S)(\s*)$/);
      r.text = i[2], r.raws.left = i[1], r.raws.right = i[3]
    }
  }
  createTokenizer() {
    this.tokenizer = bG(this.input)
  }
  decl(e, r) {
    let n = new yG;
    this.init(n, e[0][2]);
    let i = e[e.length - 1];
    for (i[0] === ";" && (this.semicolon = !0, e.pop()), n.source.end = this.getPosition(i[3] || i[2] || DG(e)), n.source.end.offset++; e[0][0] !== "word";) e.length === 1 && this.unknownWord(e), n.raws.before += e.shift()[1];
    for (n.source.start = this.getPosition(e[0][2]), n.prop = ""; e.length;) {
      let u = e[0][0];
      if (u === ":" || u === "space" || u === "comment") break;
      n.prop += e.shift()[1]
    }
    n.raws.between = "";
    let s;
    for (; e.length;)
      if (s = e.shift(), s[0] === ":") {
        n.raws.between += s[1];
        break
      } else s[0] === "word" && /\w/.test(s[1]) && this.unknownWord([s]), n.raws.between += s[1];
    (n.prop[0] === "_" || n.prop[0] === "*") && (n.raws.before += n.prop[0], n.prop = n.prop.slice(1));
    let o = [],
      a;
    for (; e.length && (a = e[0][0], !(a !== "space" && a !== "comment"));) o.push(e.shift());
    this.precheckMissedSemicolon(e);
    for (let u = e.length - 1; u >= 0; u--) {
      if (s = e[u], s[1].toLowerCase() === "!important") {
        n.important = !0;
        let c = this.stringFrom(e, u);
        c = this.spacesFromEnd(e) + c, c !== " !important" && (n.raws.important = c);
        break
      } else if (s[1].toLowerCase() === "important") {
        let c = e.slice(0),
          d = "";
        for (let f = u; f > 0; f--) {
          let B = c[f][0];
          if (d.trim().startsWith("!") && B !== "space") break;
          d = c.pop()[1] + d
        }
        d.trim().startsWith("!") && (n.important = !0, n.raws.important = d, e = c)
      }
      if (s[0] !== "space" && s[0] !== "comment") break
    }
    e.some(u => u[0] !== "space" && u[0] !== "comment") && (n.raws.between += o.map(u => u[1]).join(""), o = []), this.raw(n, "value", o.concat(e), r), n.value.includes(":") && !r && this.checkMissedSemicolon(e)
  }
  doubleColon(e) {
    throw this.input.error("Double colon", {
      offset: e[2]
    }, {
      offset: e[2] + e[1].length
    })
  }
  emptyRule(e) {
    let r = new dw;
    this.init(r, e[2]), r.selector = "", r.raws.between = "", this.current = r
  }
  end(e) {
    this.current.nodes && this.current.nodes.length && (this.current.raws.semicolon = this.semicolon), this.semicolon = !1, this.current.raws.after = (this.current.raws.after || "") + this.spaces, this.spaces = "", this.current.parent ? (this.current.source.end = this.getPosition(e[2]), this.current.source.end.offset++, this.current = this.current.parent) : this.unexpectedClose(e)
  }
  endFile() {
    this.current.parent && this.unclosedBlock(), this.current.nodes && this.current.nodes.length && (this.current.raws.semicolon = this.semicolon), this.current.raws.after = (this.current.raws.after || "") + this.spaces, this.root.source.end = this.getPosition(this.tokenizer.position())
  }
  freeSemicolon(e) {
    if (this.spaces += e[1], this.current.nodes) {
      let r = this.current.nodes[this.current.nodes.length - 1];
      r && r.type === "rule" && !r.raws.ownSemicolon && (r.raws.ownSemicolon = this.spaces, this.spaces = "")
    }
  }
  getPosition(e) {
    let r = this.input.fromOffset(e);
    return {
      column: r.col,
      line: r.line,
      offset: e
    }
  }
  init(e, r) {
    this.current.push(e), e.source = {
      input: this.input,
      start: this.getPosition(r)
    }, e.raws.before = this.spaces, this.spaces = "", e.type !== "comment" && (this.semicolon = !1)
  }
  other(e) {
    let r = !1,
      n = null,
      i = !1,
      s = null,
      o = [],
      a = e[1].startsWith("--"),
      l = [],
      u = e;
    for (; u;) {
      if (n = u[0], l.push(u), n === "(" || n === "[") s || (s = u), o.push(n === "(" ? ")" : "]");
      else if (a && i && n === "{") s || (s = u), o.push("}");
      else if (o.length === 0)
        if (n === ";")
          if (i) {
            this.decl(l, a);
            return
          } else break;
      else if (n === "{") {
        this.rule(l);
        return
      } else if (n === "}") {
        this.tokenizer.back(l.pop()), r = !0;
        break
      } else n === ":" && (i = !0);
      else n === o[o.length - 1] && (o.pop(), o.length === 0 && (s = null));
      u = this.tokenizer.nextToken()
    }
    if (this.tokenizer.endOfFile() && (r = !0), o.length > 0 && this.unclosedBracket(s), r && i) {
      if (!a)
        for (; l.length && (u = l[l.length - 1][0], !(u !== "space" && u !== "comment"));) this.tokenizer.back(l.pop());
      this.decl(l, a)
    } else this.unknownWord(l)
  }
  parse() {
    let e;
    for (; !this.tokenizer.endOfFile();) switch (e = this.tokenizer.nextToken(), e[0]) {
      case "space":
        this.spaces += e[1];
        break;
      case ";":
        this.freeSemicolon(e);
        break;
      case "}":
        this.end(e);
        break;
      case "comment":
        this.comment(e);
        break;
      case "at-word":
        this.atrule(e);
        break;
      case "{":
        this.emptyRule(e);
        break;
      default:
        this.other(e);
        break
    }
    this.endFile()
  }
  precheckMissedSemicolon() {}
  raw(e, r, n, i) {
    let s, o, a = n.length,
      l = "",
      u = !0,
      c, d;
    for (let f = 0; f < a; f += 1) s = n[f], o = s[0], o === "space" && f === a - 1 && !i ? u = !1 : o === "comment" ? (d = n[f - 1] ? n[f - 1][0] : "empty", c = n[f + 1] ? n[f + 1][0] : "empty", !fw[d] && !fw[c] ? l.slice(-1) === "," ? u = !1 : l += s[1] : u = !1) : l += s[1];
    if (!u) {
      let f = n.reduce((B, h) => B + h[1], "");
      e.raws[r] = {
        raw: f,
        value: l
      }
    }
    e[r] = l
  }
  rule(e) {
    e.pop();
    let r = new dw;
    this.init(r, e[0][2]), r.raws.between = this.spacesAndCommentsFromEnd(e), this.raw(r, "selector", e), this.current = r
  }
  spacesAndCommentsFromEnd(e) {
    let r, n = "";
    for (; e.length && (r = e[e.length - 1][0], !(r !== "space" && r !== "comment"));) n = e.pop()[1] + n;
    return n
  }
  spacesAndCommentsFromStart(e) {
    let r, n = "";
    for (; e.length && (r = e[0][0], !(r !== "space" && r !== "comment"));) n += e.shift()[1];
    return n
  }
  spacesFromEnd(e) {
    let r, n = "";
    for (; e.length && (r = e[e.length - 1][0], r === "space");) n = e.pop()[1] + n;
    return n
  }
  stringFrom(e, r) {
    let n = "";
    for (let i = r; i < e.length; i++) n += e[i][1];
    return e.splice(r, e.length - r), n
  }
  unclosedBlock() {
    let e = this.current.source.start;
    throw this.input.error("Unclosed block", e.line, e.column)
  }
  unclosedBracket(e) {
    throw this.input.error("Unclosed bracket", {
      offset: e[2]
    }, {
      offset: e[2] + 1
    })
  }
  unexpectedClose(e) {
    throw this.input.error("Unexpected }", {
      offset: e[2]
    }, {
      offset: e[2] + 1
    })
  }
  unknownWord(e) {
    throw this.input.error("Unknown word", {
      offset: e[0][2]
    }, {
      offset: e[0][2] + e[0][1].length
    })
  }
  unnamedAtrule(e, r) {
    throw this.input.error("At-rule without name", {
      offset: r[2]
    }, {
      offset: r[2] + r[1].length
    })
  }
};
var EG = xG;
let SG = Oi,
  kG = nf,
  jG = EG;

function Hc(t, e) {
  let r = new kG(t, e),
    n = new jG(r);
  try {
    n.parse()
  } catch (i) {
    throw i
  }
  return n.root
}
var ag = Hc;
Hc.default = Hc;
SG.registerParse(Hc);
let yC = class {
  constructor(e, r = {}) {
    if (this.type = "warning", this.text = e, r.node && r.node.source) {
      let n = r.node.rangeBy(r);
      this.line = n.start.line, this.column = n.start.column, this.endLine = n.end.line, this.endColumn = n.end.column
    }
    for (let n in r) this[n] = r[n]
  }
  toString() {
    return this.node ? this.node.error(this.text, {
      index: this.index,
      plugin: this.plugin,
      word: this.word
    }).message : this.plugin ? this.plugin + ": " + this.text : this.text
  }
};
var p5 = yC;
yC.default = yC;
let AG = p5,
  wC = class {
    constructor(e, r, n) {
      this.processor = e, this.messages = [], this.root = r, this.opts = n, this.css = void 0, this.map = void 0
    }
    toString() {
      return this.css
    }
    warn(e, r = {}) {
      r.plugin || this.lastPlugin && this.lastPlugin.postcssPlugin && (r.plugin = this.lastPlugin.postcssPlugin);
      let n = new AG(e, r);
      return this.messages.push(n), n
    }
    warnings() {
      return this.messages.filter(e => e.type === "warning")
    }
    get content() {
      return this.css
    }
  };
var lg = wC;
wC.default = wC;
let PG = Oi,
  _G = sg,
  OG = h5,
  IG = ag,
  Bw = lg,
  NG = dl,
  TG = Zd,
  {
    isClean: Or,
    my: RG
  } = cl;
const FG = {
    atrule: "AtRule",
    comment: "Comment",
    decl: "Declaration",
    document: "Document",
    root: "Root",
    rule: "Rule"
  },
  MG = {
    AtRule: !0,
    AtRuleExit: !0,
    Comment: !0,
    CommentExit: !0,
    Declaration: !0,
    DeclarationExit: !0,
    Document: !0,
    DocumentExit: !0,
    Once: !0,
    OnceExit: !0,
    postcssPlugin: !0,
    prepare: !0,
    Root: !0,
    RootExit: !0,
    Rule: !0,
    RuleExit: !0
  },
  LG = {
    Once: !0,
    postcssPlugin: !0,
    prepare: !0
  },
  Ns = 0;

function go(t) {
  return typeof t == "object" && typeof t.then == "function"
}

function C5(t) {
  let e = !1,
    r = FG[t.type];
  return t.type === "decl" ? e = t.prop.toLowerCase() : t.type === "atrule" && (e = t.name.toLowerCase()), e && t.append ? [r, r + "-" + e, Ns, r + "Exit", r + "Exit-" + e] : e ? [r, r + "-" + e, r + "Exit", r + "Exit-" + e] : t.append ? [r, Ns, r + "Exit"] : [r, r + "Exit"]
}

function hw(t) {
  let e;
  return t.type === "document" ? e = ["Document", Ns, "DocumentExit"] : t.type === "root" ? e = ["Root", Ns, "RootExit"] : e = C5(t), {
    eventIndex: 0,
    events: e,
    iterator: 0,
    node: t,
    visitorIndex: 0,
    visitors: []
  }
}

function bC(t) {
  return t[Or] = !1, t.nodes && t.nodes.forEach(e => bC(e)), t
}
let DC = {},
  Ts = class m5 {
    constructor(e, r, n) {
      this.stringified = !1, this.processed = !1;
      let i;
      if (typeof r == "object" && r !== null && (r.type === "root" || r.type === "document")) i = bC(r);
      else if (r instanceof m5 || r instanceof Bw) i = bC(r.root), r.map && (typeof n.map > "u" && (n.map = {}), n.map.inline || (n.map.inline = !1), n.map.prev = r.map);
      else {
        let s = IG;
        n.syntax && (s = n.syntax.parse), n.parser && (s = n.parser), s.parse && (s = s.parse);
        try {
          i = s(r, n)
        } catch (o) {
          this.processed = !0, this.error = o
        }
        i && !i[RG] && PG.rebuild(i)
      }
      this.result = new Bw(e, i, n), this.helpers = {
        ...DC,
        postcss: DC,
        result: this.result
      }, this.plugins = this.processor.plugins.map(s => typeof s == "object" && s.prepare ? {
        ...s,
        ...s.prepare(this.result)
      } : s)
    }
    async () {
      return this.error ? Promise.reject(this.error) : this.processed ? Promise.resolve(this.result) : (this.processing || (this.processing = this.runAsync()), this.processing)
    } catch (e) {
      return this.async().catch(e)
    } finally(e) {
      return this.async().then(e, e)
    }
    getAsyncError() {
      throw new Error("Use process(css).then(cb) to work with async plugins")
    }
    handleError(e, r) {
      let n = this.result.lastPlugin;
      try {
        r && r.addToError(e), this.error = e, e.name === "CssSyntaxError" && !e.plugin ? (e.plugin = n.postcssPlugin, e.setMessage()) : n.postcssVersion
      } catch (i) {
        console && console.error && console.error(i)
      }
      return e
    }
    prepareVisitors() {
      this.listeners = {};
      let e = (r, n, i) => {
        this.listeners[n] || (this.listeners[n] = []), this.listeners[n].push([r, i])
      };
      for (let r of this.plugins)
        if (typeof r == "object")
          for (let n in r) {
            if (!MG[n] && /^[A-Z]/.test(n)) throw new Error(`Unknown event ${n} in ${r.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);
            if (!LG[n])
              if (typeof r[n] == "object")
                for (let i in r[n]) i === "*" ? e(r, n, r[n][i]) : e(r, n + "-" + i.toLowerCase(), r[n][i]);
              else typeof r[n] == "function" && e(r, n, r[n])
          }
      this.hasListener = Object.keys(this.listeners).length > 0
    }
    async runAsync() {
      this.plugin = 0;
      for (let e = 0; e < this.plugins.length; e++) {
        let r = this.plugins[e],
          n = this.runOnRoot(r);
        if (go(n)) try {
          await n
        } catch (i) {
          throw this.handleError(i)
        }
      }
      if (this.prepareVisitors(), this.hasListener) {
        let e = this.result.root;
        for (; !e[Or];) {
          e[Or] = !0;
          let r = [hw(e)];
          for (; r.length > 0;) {
            let n = this.visitTick(r);
            if (go(n)) try {
              await n
            } catch (i) {
              let s = r[r.length - 1].node;
              throw this.handleError(i, s)
            }
          }
        }
        if (this.listeners.OnceExit)
          for (let [r, n] of this.listeners.OnceExit) {
            this.result.lastPlugin = r;
            try {
              if (e.type === "document") {
                let i = e.nodes.map(s => n(s, this.helpers));
                await Promise.all(i)
              } else await n(e, this.helpers)
            } catch (i) {
              throw this.handleError(i)
            }
          }
      }
      return this.processed = !0, this.stringify()
    }
    runOnRoot(e) {
      this.result.lastPlugin = e;
      try {
        if (typeof e == "object" && e.Once) {
          if (this.result.root.type === "document") {
            let r = this.result.root.nodes.map(n => e.Once(n, this.helpers));
            return go(r[0]) ? Promise.all(r) : r
          }
          return e.Once(this.result.root, this.helpers)
        } else if (typeof e == "function") return e(this.result.root, this.result)
      } catch (r) {
        throw this.handleError(r)
      }
    }
    stringify() {
      if (this.error) throw this.error;
      if (this.stringified) return this.result;
      this.stringified = !0, this.sync();
      let e = this.result.opts,
        r = TG;
      e.syntax && (r = e.syntax.stringify), e.stringifier && (r = e.stringifier), r.stringify && (r = r.stringify);
      let i = new OG(r, this.result.root, this.result.opts).generate();
      return this.result.css = i[0], this.result.map = i[1], this.result
    }
    sync() {
      if (this.error) throw this.error;
      if (this.processed) return this.result;
      if (this.processed = !0, this.processing) throw this.getAsyncError();
      for (let e of this.plugins) {
        let r = this.runOnRoot(e);
        if (go(r)) throw this.getAsyncError()
      }
      if (this.prepareVisitors(), this.hasListener) {
        let e = this.result.root;
        for (; !e[Or];) e[Or] = !0, this.walkSync(e);
        if (this.listeners.OnceExit)
          if (e.type === "document")
            for (let r of e.nodes) this.visitSync(this.listeners.OnceExit, r);
          else this.visitSync(this.listeners.OnceExit, e)
      }
      return this.result
    }
    then(e, r) {
      return this.async().then(e, r)
    }
    toString() {
      return this.css
    }
    visitSync(e, r) {
      for (let [n, i] of e) {
        this.result.lastPlugin = n;
        let s;
        try {
          s = i(r, this.helpers)
        } catch (o) {
          throw this.handleError(o, r.proxyOf)
        }
        if (r.type !== "root" && r.type !== "document" && !r.parent) return !0;
        if (go(s)) throw this.getAsyncError()
      }
    }
    visitTick(e) {
      let r = e[e.length - 1],
        {
          node: n,
          visitors: i
        } = r;
      if (n.type !== "root" && n.type !== "document" && !n.parent) {
        e.pop();
        return
      }
      if (i.length > 0 && r.visitorIndex < i.length) {
        let [o, a] = i[r.visitorIndex];
        r.visitorIndex += 1, r.visitorIndex === i.length && (r.visitors = [], r.visitorIndex = 0), this.result.lastPlugin = o;
        try {
          return a(n.toProxy(), this.helpers)
        } catch (l) {
          throw this.handleError(l, n)
        }
      }
      if (r.iterator !== 0) {
        let o = r.iterator,
          a;
        for (; a = n.nodes[n.indexes[o]];)
          if (n.indexes[o] += 1, !a[Or]) {
            a[Or] = !0, e.push(hw(a));
            return
          } r.iterator = 0, delete n.indexes[o]
      }
      let s = r.events;
      for (; r.eventIndex < s.length;) {
        let o = s[r.eventIndex];
        if (r.eventIndex += 1, o === Ns) {
          n.nodes && n.nodes.length && (n[Or] = !0, r.iterator = n.getIterator());
          return
        } else if (this.listeners[o]) {
          r.visitors = this.listeners[o];
          return
        }
      }
      e.pop()
    }
    walkSync(e) {
      e[Or] = !0;
      let r = C5(e);
      for (let n of r)
        if (n === Ns) e.nodes && e.each(i => {
          i[Or] || this.walkSync(i)
        });
        else {
          let i = this.listeners[n];
          if (i && this.visitSync(i, e.toProxy())) return
        }
    }
    warnings() {
      return this.sync().warnings()
    }
    get content() {
      return this.stringify().content
    }
    get css() {
      return this.stringify().css
    }
    get map() {
      return this.stringify().map
    }
    get messages() {
      return this.sync().messages
    }
    get opts() {
      return this.result.opts
    }
    get processor() {
      return this.result.processor
    }
    get root() {
      return this.sync().root
    }
    get[Symbol.toStringTag]() {
      return "LazyResult"
    }
  };
Ts.registerPostcss = t => {
  DC = t
};
var g5 = Ts;
Ts.default = Ts;
NG.registerLazyResult(Ts);
_G.registerLazyResult(Ts);
let UG = h5,
  zG = ag;
const WG = lg;
let $G = Zd,
  xC = class {
    constructor(e, r, n) {
      r = r.toString(), this.stringified = !1, this._processor = e, this._css = r, this._opts = n, this._map = void 0;
      let i, s = $G;
      this.result = new WG(this._processor, i, this._opts), this.result.css = r;
      let o = this;
      Object.defineProperty(this.result, "root", {
        get() {
          return o.root
        }
      });
      let a = new UG(s, i, this._opts, r);
      if (a.isMap()) {
        let [l, u] = a.generate();
        l && (this.result.css = l), u && (this.result.map = u)
      } else a.clearAnnotation(), this.result.css = a.css
    }
    async () {
      return this.error ? Promise.reject(this.error) : Promise.resolve(this.result)
    } catch (e) {
      return this.async().catch(e)
    } finally(e) {
      return this.async().then(e, e)
    }
    sync() {
      if (this.error) throw this.error;
      return this.result
    }
    then(e, r) {
      return this.async().then(e, r)
    }
    toString() {
      return this._css
    }
    warnings() {
      return []
    }
    get content() {
      return this.result.css
    }
    get css() {
      return this.result.css
    }
    get map() {
      return this.result.map
    }
    get messages() {
      return []
    }
    get opts() {
      return this.result.opts
    }
    get processor() {
      return this.result.processor
    }
    get root() {
      if (this._root) return this._root;
      let e, r = zG;
      try {
        e = r(this._css, this._opts)
      } catch (n) {
        this.error = n
      }
      if (this.error) throw this.error;
      return this._root = e, e
    }
    get[Symbol.toStringTag]() {
      return "NoWorkResult"
    }
  };
var HG = xC;
xC.default = xC;
let GG = sg,
  qG = g5,
  VG = HG,
  KG = dl,
  _a = class {
    constructor(e = []) {
      this.version = "8.4.44", this.plugins = this.normalize(e)
    }
    normalize(e) {
      let r = [];
      for (let n of e)
        if (n.postcss === !0 ? n = n() : n.postcss && (n = n.postcss), typeof n == "object" && Array.isArray(n.plugins)) r = r.concat(n.plugins);
        else if (typeof n == "object" && n.postcssPlugin) r.push(n);
      else if (typeof n == "function") r.push(n);
      else if (!(typeof n == "object" && (n.parse || n.stringify))) throw new Error(n + " is not a PostCSS plugin");
      return r
    }
    process(e, r = {}) {
      return !this.plugins.length && !r.parser && !r.stringifier && !r.syntax ? new VG(this, e, r) : new qG(this, e, r)
    }
    use(e) {
      return this.plugins = this.plugins.concat(this.normalize([e])), this
    }
  };
var QG = _a;
_a.default = _a;
KG.registerProcessor(_a);
GG.registerProcessor(_a);
var pw = {};
let v5 = ig,
  y5 = tf,
  JG = Oi,
  YG = tg,
  w5 = rf,
  b5 = sg,
  XG = tG,
  ZG = nf,
  eq = g5,
  tq = l5,
  rq = ef,
  nq = ag,
  ug = QG,
  iq = lg,
  D5 = dl,
  x5 = og,
  sq = Zd,
  oq = p5;

function we(...t) {
  return t.length === 1 && Array.isArray(t[0]) && (t = t[0]), new ug(t)
}
we.plugin = function (e, r) {
  let n = !1;

  function i(...o) {
    console && console.warn && !n && (n = !0, console.warn(e + `: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration`), pw.LANG && pw.LANG.startsWith("cn") && console.warn(e + `: 里面 postcss.plugin 被弃用. 迁移指南:
https://www.w3ctech.com/topic/2226`));
    let a = r(...o);
    return a.postcssPlugin = e, a.postcssVersion = new ug().version, a
  }
  let s;
  return Object.defineProperty(i, "postcss", {
    get() {
      return s || (s = i()), s
    }
  }), i.process = function (o, a, l) {
    return we([i(l)]).process(o, a)
  }, i
};
we.stringify = sq;
we.parse = nq;
we.fromJSON = XG;
we.list = tq;
we.comment = t => new y5(t);
we.atRule = t => new v5(t);
we.decl = t => new w5(t);
we.rule = t => new x5(t);
we.root = t => new D5(t);
we.document = t => new b5(t);
we.CssSyntaxError = YG;
we.Declaration = w5;
we.Container = JG;
we.Processor = ug;
we.Document = b5;
we.Comment = y5;
we.Warning = oq;
we.AtRule = v5;
we.Result = iq;
we.Input = ZG;
we.Rule = x5;
we.Root = D5;
we.Node = rq;
eq.registerPostcss(we);
var Ii = we;
we.default = we;
let {
  list: EC
} = Ii;
je.error = function (t) {
  let e = new Error(t);
  throw e.autoprefixer = !0, e
};
je.uniq = function (t) {
  return [...new Set(t)]
};
je.removeNote = function (t) {
  return t.includes(" ") ? t.split(" ")[0] : t
};
je.escapeRegexp = function (t) {
  return t.replace(/[$()*+-.?[\\\]^{|}]/g, "\\$&")
};
je.regexp = function (t, e = !0) {
  return e && (t = this.escapeRegexp(t)), new RegExp(`(^|[\\s,(])(${t}($|[\\s(,]))`, "gi")
};
je.editList = function (t, e) {
  let r = EC.comma(t),
    n = e(r, []);
  if (r === n) return t;
  let i = t.match(/,\s*/);
  return i = i ? i[0] : ", ", n.join(i)
};
je.splitSelector = function (t) {
  return EC.comma(t).map(e => EC.space(e).map(r => r.split(/(?=\.|#)/g)))
};
je.isPureNumber = function (t) {
  return typeof t == "number" ? !0 : typeof t == "string" ? /^[0-9]+$/.test(t) : !1
};
let aq = Zm,
  {
    agents: Cw
  } = Yd,
  lq = je,
  uq = class {
    constructor(e, r, n, i) {
      this.data = e, this.options = n || {}, this.browserslistOpts = i || {}, this.selected = this.parse(r)
    }
    static prefixes() {
      if (this.prefixesCache) return this.prefixesCache;
      this.prefixesCache = [];
      for (let e in Cw) this.prefixesCache.push(`-${Cw[e].prefix}-`);
      return this.prefixesCache = lq.uniq(this.prefixesCache).sort((e, r) => r.length - e.length), this.prefixesCache
    }
    static withPrefix(e) {
      return this.prefixesRegexp || (this.prefixesRegexp = new RegExp(this.prefixes().join("|"))), this.prefixesRegexp.test(e)
    }
    isSelected(e) {
      return this.selected.includes(e)
    }
    parse(e) {
      let r = {};
      for (let n in this.browserslistOpts) r[n] = this.browserslistOpts[n];
      return r.path = this.options.from, aq(e, r)
    }
    prefix(e) {
      let [r, n] = e.split(" "), i = this.data[r], s = i.prefix_exceptions && i.prefix_exceptions[n];
      return s || (s = i.prefix), `-${s}-`
    }
  };
var Ni = uq,
  sf = {
    prefix(t) {
      let e = t.match(/^(-\w+-)/);
      return e ? e[0] : ""
    },
    unprefixed(t) {
      return t.replace(/^-\w+-/, "")
    }
  };
let cq = Ni,
  mw = sf,
  dq = je;

function SC(t, e) {
  let r = new t.constructor;
  for (let n of Object.keys(t || {})) {
    let i = t[n];
    n === "parent" && typeof i == "object" ? e && (r[n] = e) : n === "source" || n === null ? r[n] = i : Array.isArray(i) ? r[n] = i.map(s => SC(s, r)) : n !== "_autoprefixerPrefix" && n !== "_autoprefixerValues" && n !== "proxyCache" && (typeof i == "object" && i !== null && (i = SC(i, r)), r[n] = i)
  }
  return r
}
let fq = class E5 {
  constructor(e, r, n) {
    this.prefixes = r, this.name = e, this.all = n
  }
  static clone(e, r) {
    let n = SC(e);
    for (let i in r) n[i] = r[i];
    return n
  }
  static hack(e) {
    return this.hacks || (this.hacks = {}), e.names.map(r => (this.hacks[r] = e, this.hacks[r]))
  }
  static load(e, r, n) {
    let i = this.hacks && this.hacks[e];
    return i ? new i(e, r, n) : new this(e, r, n)
  }
  clone(e, r) {
    return E5.clone(e, r)
  }
  parentPrefix(e) {
    let r;
    return typeof e._autoprefixerPrefix < "u" ? r = e._autoprefixerPrefix : e.type === "decl" && e.prop[0] === "-" ? r = mw.prefix(e.prop) : e.type === "root" ? r = !1 : e.type === "rule" && e.selector.includes(":-") && /:(-\w+-)/.test(e.selector) ? r = e.selector.match(/:(-\w+-)/)[1] : e.type === "atrule" && e.name[0] === "-" ? r = mw.prefix(e.name) : r = this.parentPrefix(e.parent), cq.prefixes().includes(r) || (r = !1), e._autoprefixerPrefix = r, e._autoprefixerPrefix
  }
  process(e, r) {
    if (!this.check(e)) return;
    let n = this.parentPrefix(e),
      i = this.prefixes.filter(o => !n || n === dq.removeNote(o)),
      s = [];
    for (let o of i) this.add(e, o, s.concat([o]), r) && s.push(o);
    return s
  }
};
var fl = fq;
let Bq = fl,
  hq = Ni,
  gw = je,
  pq = class extends Bq {
    add(e, r, n, i) {
      let s = this.prefixed(e.prop, r);
      if (!(this.isAlready(e, s) || this.otherPrefixes(e.value, r))) return this.insert(e, r, n, i)
    }
    calcBefore(e, r, n = "") {
      let s = this.maxPrefixed(e, r) - gw.removeNote(n).length,
        o = r.raw("before");
      return s > 0 && (o += Array(s).fill(" ").join("")), o
    }
    check() {
      return !0
    }
    insert(e, r, n) {
      let i = this.set(this.clone(e), r);
      if (!(!i || e.parent.some(o => o.prop === i.prop && o.value === i.value))) return this.needCascade(e) && (i.raws.before = this.calcBefore(n, e, r)), e.parent.insertBefore(e, i)
    }
    isAlready(e, r) {
      let n = this.all.group(e).up(i => i.prop === r);
      return n || (n = this.all.group(e).down(i => i.prop === r)), n
    }
    maxPrefixed(e, r) {
      if (r._autoprefixerMax) return r._autoprefixerMax;
      let n = 0;
      for (let i of e) i = gw.removeNote(i), i.length > n && (n = i.length);
      return r._autoprefixerMax = n, r._autoprefixerMax
    }
    needCascade(e) {
      return e._autoprefixerCascade || (e._autoprefixerCascade = this.all.options.cascade !== !1 && e.raw("before").includes(`
`)), e._autoprefixerCascade
    }
    normalize(e) {
      return e
    }
    old(e, r) {
      return [this.prefixed(e, r)]
    }
    otherPrefixes(e, r) {
      for (let n of hq.prefixes())
        if (n !== r && e.includes(n)) return e.replace(/var\([^)]+\)/, "").includes(n);
      return !1
    }
    prefixed(e, r) {
      return r + e
    }
    process(e, r) {
      if (!this.needCascade(e)) {
        super.process(e, r);
        return
      }
      let n = super.process(e, r);
      !n || !n.length || (this.restoreBefore(e), e.raws.before = this.calcBefore(n, e))
    }
    restoreBefore(e) {
      let r = e.raw("before").split(`
`),
        n = r[r.length - 1];
      this.all.group(e).up(i => {
        let s = i.raw("before").split(`
`),
          o = s[s.length - 1];
        o.length < n.length && (n = o)
      }), r[r.length - 1] = n, e.raws.before = r.join(`
`)
    }
    set(e, r) {
      return e.prop = this.prefixed(e.prop, r), e
    }
  };
var le = pq,
  kC = {
    exports: {}
  };
/**
 * @license Fraction.js v4.3.7 31/08/2023
 * https://www.xarg.org/2014/03/rational-numbers-in-javascript/
 *
 * Copyright (c) 2023, Robert Eisele (robert@raw.org)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 **/
(function (t, e) {
  (function (r) {
    var n = 2e3,
      i = {
        s: 1,
        n: 0,
        d: 1
      };

    function s(m, p) {
      if (isNaN(m = parseInt(m, 10))) throw g();
      return m * p
    }

    function o(m, p) {
      if (p === 0) throw h();
      var v = Object.create(B.prototype);
      v.s = m < 0 ? -1 : 1, m = m < 0 ? -m : m;
      var w = f(m, p);
      return v.n = m / w, v.d = p / w, v
    }

    function a(m) {
      for (var p = {}, v = m, w = 2, D = 4; D <= v;) {
        for (; v % w === 0;) v /= w, p[w] = (p[w] || 0) + 1;
        D += 1 + 2 * w++
      }
      return v !== m ? v > 1 && (p[v] = (p[v] || 0) + 1) : p[m] = (p[m] || 0) + 1, p
    }
    var l = function (m, p) {
      var v = 0,
        w = 1,
        D = 1,
        x = 0,
        C = 0,
        S = 0,
        A = 1,
        P = 1,
        _ = 0,
        O = 1,
        T = 1,
        F = 1,
        G = 1e7,
        z;
      if (m != null)
        if (p !== void 0) {
          if (v = m, w = p, D = v * w, v % 1 !== 0 || w % 1 !== 0) throw y()
        } else switch (typeof m) {
          case "object": {
            if ("d" in m && "n" in m) v = m.n, w = m.d, "s" in m && (v *= m.s);
            else if (0 in m) v = m[0], 1 in m && (w = m[1]);
            else throw g();
            D = v * w;
            break
          }
          case "number": {
            if (m < 0 && (D = m, m = -m), m % 1 === 0) v = m;
            else if (m > 0) {
              for (m >= 1 && (P = Math.pow(10, Math.floor(1 + Math.log(m) / Math.LN10)), m /= P); O <= G && F <= G;)
                if (z = (_ + T) / (O + F), m === z) {
                  O + F <= G ? (v = _ + T, w = O + F) : F > O ? (v = T, w = F) : (v = _, w = O);
                  break
                } else m > z ? (_ += T, O += F) : (T += _, F += O), O > G ? (v = T, w = F) : (v = _, w = O);
              v *= P
            } else(isNaN(m) || isNaN(p)) && (w = v = NaN);
            break
          }
          case "string": {
            if (O = m.match(/\d+|./g), O === null) throw g();
            if (O[_] === "-" ? (D = -1, _++) : O[_] === "+" && _++, O.length === _ + 1 ? C = s(O[_++], D) : O[_ + 1] === "." || O[_] === "." ? (O[_] !== "." && (x = s(O[_++], D)), _++, (_ + 1 === O.length || O[_ + 1] === "(" && O[_ + 3] === ")" || O[_ + 1] === "'" && O[_ + 3] === "'") && (C = s(O[_], D), A = Math.pow(10, O[_].length), _++), (O[_] === "(" && O[_ + 2] === ")" || O[_] === "'" && O[_ + 2] === "'") && (S = s(O[_ + 1], D), P = Math.pow(10, O[_ + 1].length) - 1, _ += 3)) : O[_ + 1] === "/" || O[_ + 1] === ":" ? (C = s(O[_], D), A = s(O[_ + 2], 1), _ += 3) : O[_ + 3] === "/" && O[_ + 1] === " " && (x = s(O[_], D), C = s(O[_ + 2], D), A = s(O[_ + 4], 1), _ += 5), O.length <= _) {
              w = A * P, D = v = S + w * x + P * C;
              break
            }
          }
          default:
            throw g()
        }
      if (w === 0) throw h();
      i.s = D < 0 ? -1 : 1, i.n = Math.abs(v), i.d = Math.abs(w)
    };

    function u(m, p, v) {
      for (var w = 1; p > 0; m = m * m % v, p >>= 1) p & 1 && (w = w * m % v);
      return w
    }

    function c(m, p) {
      for (; p % 2 === 0; p /= 2);
      for (; p % 5 === 0; p /= 5);
      if (p === 1) return 0;
      for (var v = 10 % p, w = 1; v !== 1; w++)
        if (v = v * 10 % p, w > n) return 0;
      return w
    }

    function d(m, p, v) {
      for (var w = 1, D = u(10, v, p), x = 0; x < 300; x++) {
        if (w === D) return x;
        w = w * 10 % p, D = D * 10 % p
      }
      return 0
    }

    function f(m, p) {
      if (!m) return p;
      if (!p) return m;
      for (;;) {
        if (m %= p, !m) return p;
        if (p %= m, !p) return m
      }
    }

    function B(m, p) {
      if (l(m, p), this instanceof B) m = f(i.d, i.n), this.s = i.s, this.n = i.n / m, this.d = i.d / m;
      else return o(i.s * i.n, i.d)
    }
    var h = function () {
        return new Error("Division by Zero")
      },
      g = function () {
        return new Error("Invalid argument")
      },
      y = function () {
        return new Error("Parameters must be integer")
      };
    B.prototype = {
      s: 1,
      n: 0,
      d: 1,
      abs: function () {
        return o(this.n, this.d)
      },
      neg: function () {
        return o(-this.s * this.n, this.d)
      },
      add: function (m, p) {
        return l(m, p), o(this.s * this.n * i.d + i.s * this.d * i.n, this.d * i.d)
      },
      sub: function (m, p) {
        return l(m, p), o(this.s * this.n * i.d - i.s * this.d * i.n, this.d * i.d)
      },
      mul: function (m, p) {
        return l(m, p), o(this.s * i.s * this.n * i.n, this.d * i.d)
      },
      div: function (m, p) {
        return l(m, p), o(this.s * i.s * this.n * i.d, this.d * i.n)
      },
      clone: function () {
        return o(this.s * this.n, this.d)
      },
      mod: function (m, p) {
        if (isNaN(this.n) || isNaN(this.d)) return new B(NaN);
        if (m === void 0) return o(this.s * this.n % this.d, 1);
        if (l(m, p), i.n === 0 && this.d === 0) throw h();
        return o(this.s * (i.d * this.n) % (i.n * this.d), i.d * this.d)
      },
      gcd: function (m, p) {
        return l(m, p), o(f(i.n, this.n) * f(i.d, this.d), i.d * this.d)
      },
      lcm: function (m, p) {
        return l(m, p), i.n === 0 && this.n === 0 ? o(0, 1) : o(i.n * this.n, f(i.n, this.n) * f(i.d, this.d))
      },
      ceil: function (m) {
        return m = Math.pow(10, m || 0), isNaN(this.n) || isNaN(this.d) ? new B(NaN) : o(Math.ceil(m * this.s * this.n / this.d), m)
      },
      floor: function (m) {
        return m = Math.pow(10, m || 0), isNaN(this.n) || isNaN(this.d) ? new B(NaN) : o(Math.floor(m * this.s * this.n / this.d), m)
      },
      round: function (m) {
        return m = Math.pow(10, m || 0), isNaN(this.n) || isNaN(this.d) ? new B(NaN) : o(Math.round(m * this.s * this.n / this.d), m)
      },
      roundTo: function (m, p) {
        return l(m, p), o(this.s * Math.round(this.n * i.d / (this.d * i.n)) * i.n, i.d)
      },
      inverse: function () {
        return o(this.s * this.d, this.n)
      },
      pow: function (m, p) {
        if (l(m, p), i.d === 1) return i.s < 0 ? o(Math.pow(this.s * this.d, i.n), Math.pow(this.n, i.n)) : o(Math.pow(this.s * this.n, i.n), Math.pow(this.d, i.n));
        if (this.s < 0) return null;
        var v = a(this.n),
          w = a(this.d),
          D = 1,
          x = 1;
        for (var C in v)
          if (C !== "1") {
            if (C === "0") {
              D = 0;
              break
            }
            if (v[C] *= i.n, v[C] % i.d === 0) v[C] /= i.d;
            else return null;
            D *= Math.pow(C, v[C])
          } for (var C in w)
          if (C !== "1") {
            if (w[C] *= i.n, w[C] % i.d === 0) w[C] /= i.d;
            else return null;
            x *= Math.pow(C, w[C])
          } return i.s < 0 ? o(x, D) : o(D, x)
      },
      equals: function (m, p) {
        return l(m, p), this.s * this.n * i.d === i.s * i.n * this.d
      },
      compare: function (m, p) {
        l(m, p);
        var v = this.s * this.n * i.d - i.s * i.n * this.d;
        return (0 < v) - (v < 0)
      },
      simplify: function (m) {
        if (isNaN(this.n) || isNaN(this.d)) return this;
        m = m || .001;
        for (var p = this.abs(), v = p.toContinued(), w = 1; w < v.length; w++) {
          for (var D = o(v[w - 1], 1), x = w - 2; x >= 0; x--) D = D.inverse().add(v[x]);
          if (Math.abs(D.sub(p).valueOf()) < m) return D.mul(this.s)
        }
        return this
      },
      divisible: function (m, p) {
        return l(m, p), !(!(i.n * this.d) || this.n * i.d % (i.n * this.d))
      },
      valueOf: function () {
        return this.s * this.n / this.d
      },
      toFraction: function (m) {
        var p, v = "",
          w = this.n,
          D = this.d;
        return this.s < 0 && (v += "-"), D === 1 ? v += w : (m && (p = Math.floor(w / D)) > 0 && (v += p, v += " ", w %= D), v += w, v += "/", v += D), v
      },
      toLatex: function (m) {
        var p, v = "",
          w = this.n,
          D = this.d;
        return this.s < 0 && (v += "-"), D === 1 ? v += w : (m && (p = Math.floor(w / D)) > 0 && (v += p, w %= D), v += "\\frac{", v += w, v += "}{", v += D, v += "}"), v
      },
      toContinued: function () {
        var m, p = this.n,
          v = this.d,
          w = [];
        if (isNaN(p) || isNaN(v)) return w;
        do w.push(Math.floor(p / v)), m = p % v, p = v, v = m; while (p !== 1);
        return w
      },
      toString: function (m) {
        var p = this.n,
          v = this.d;
        if (isNaN(p) || isNaN(v)) return "NaN";
        m = m || 15;
        var w = c(p, v),
          D = d(p, v, w),
          x = this.s < 0 ? "-" : "";
        if (x += p / v | 0, p %= v, p *= 10, p && (x += "."), w) {
          for (var C = D; C--;) x += p / v | 0, p %= v, p *= 10;
          x += "(";
          for (var C = w; C--;) x += p / v | 0, p %= v, p *= 10;
          x += ")"
        } else
          for (var C = m; p && C--;) x += p / v | 0, p %= v, p *= 10;
        return x
      }
    }, Object.defineProperty(e, "__esModule", {
      value: !0
    }), e.default = B, t.exports = B
  })()
})(kC, kC.exports);
var Cq = kC.exports;
let mq = Cq,
  gq = fl,
  IB = je;
const vq = /(min|max)-resolution\s*:\s*\d*\.?\d+(dppx|dpcm|dpi|x)/gi,
  yq = /(min|max)-resolution(\s*:\s*)(\d*\.?\d+)(dppx|dpcm|dpi|x)/i;
let wq = class extends gq {
  clean(e) {
    if (!this.bad) {
      this.bad = [];
      for (let r of this.prefixes) this.bad.push(this.prefixName(r, "min")), this.bad.push(this.prefixName(r, "max"))
    }
    e.params = IB.editList(e.params, r => r.filter(n => this.bad.every(i => !n.includes(i))))
  }
  prefixName(e, r) {
    return e === "-moz-" ? r + "--moz-device-pixel-ratio" : e + r + "-device-pixel-ratio"
  }
  prefixQuery(e, r, n, i, s) {
    return i = new mq(i), s === "dpi" ? i = i.div(96) : s === "dpcm" && (i = i.mul(2.54).div(96)), i = i.simplify(), e === "-o-" && (i = i.n + "/" + i.d), this.prefixName(e, r) + n + i
  }
  process(e) {
    let r = this.parentPrefix(e),
      n = r ? [r] : this.prefixes;
    e.params = IB.editList(e.params, (i, s) => {
      for (let o of i) {
        if (!o.includes("min-resolution") && !o.includes("max-resolution")) {
          s.push(o);
          continue
        }
        for (let a of n) {
          let l = o.replace(vq, u => {
            let c = u.match(yq);
            return this.prefixQuery(a, c[1], c[2], c[3], c[4])
          });
          s.push(l)
        }
        s.push(o)
      }
      return IB.uniq(s)
    })
  }
};
var bq = wq,
  NB = 40,
  TB = 41,
  Bu = 39,
  RB = 34,
  FB = 92,
  zi = 47,
  MB = 44,
  LB = 58,
  hu = 42,
  Dq = 117,
  xq = 85,
  Eq = 43,
  Sq = /^[a-f0-9?-]+$/i,
  kq = function (t) {
    for (var e = [], r = t, n, i, s, o, a, l, u, c, d = 0, f = r.charCodeAt(d), B = r.length, h = [{
        nodes: e
      }], g = 0, y, m = "", p = "", v = ""; d < B;)
      if (f <= 32) {
        n = d;
        do n += 1, f = r.charCodeAt(n); while (f <= 32);
        o = r.slice(d, n), s = e[e.length - 1], f === TB && g ? v = o : s && s.type === "div" ? (s.after = o, s.sourceEndIndex += o.length) : f === MB || f === LB || f === zi && r.charCodeAt(n + 1) !== hu && (!y || y && y.type === "function" && y.value !== "calc") ? p = o : e.push({
          type: "space",
          sourceIndex: d,
          sourceEndIndex: n,
          value: o
        }), d = n
      } else if (f === Bu || f === RB) {
      n = d, i = f === Bu ? "'" : '"', o = {
        type: "string",
        sourceIndex: d,
        quote: i
      };
      do
        if (a = !1, n = r.indexOf(i, n + 1), ~n)
          for (l = n; r.charCodeAt(l - 1) === FB;) l -= 1, a = !a;
        else r += i, n = r.length - 1, o.unclosed = !0; while (a);
      o.value = r.slice(d + 1, n), o.sourceEndIndex = o.unclosed ? n : n + 1, e.push(o), d = n + 1, f = r.charCodeAt(d)
    } else if (f === zi && r.charCodeAt(d + 1) === hu) n = r.indexOf("*/", d), o = {
      type: "comment",
      sourceIndex: d,
      sourceEndIndex: n + 2
    }, n === -1 && (o.unclosed = !0, n = r.length, o.sourceEndIndex = n), o.value = r.slice(d + 2, n), e.push(o), d = n + 2, f = r.charCodeAt(d);
    else if ((f === zi || f === hu) && y && y.type === "function" && y.value === "calc") o = r[d], e.push({
      type: "word",
      sourceIndex: d - p.length,
      sourceEndIndex: d + o.length,
      value: o
    }), d += 1, f = r.charCodeAt(d);
    else if (f === zi || f === MB || f === LB) o = r[d], e.push({
      type: "div",
      sourceIndex: d - p.length,
      sourceEndIndex: d + o.length,
      value: o,
      before: p,
      after: ""
    }), p = "", d += 1, f = r.charCodeAt(d);
    else if (NB === f) {
      n = d;
      do n += 1, f = r.charCodeAt(n); while (f <= 32);
      if (c = d, o = {
          type: "function",
          sourceIndex: d - m.length,
          value: m,
          before: r.slice(c + 1, n)
        }, d = n, m === "url" && f !== Bu && f !== RB) {
        n -= 1;
        do
          if (a = !1, n = r.indexOf(")", n + 1), ~n)
            for (l = n; r.charCodeAt(l - 1) === FB;) l -= 1, a = !a;
          else r += ")", n = r.length - 1, o.unclosed = !0; while (a);
        u = n;
        do u -= 1, f = r.charCodeAt(u); while (f <= 32);
        c < u ? (d !== u + 1 ? o.nodes = [{
          type: "word",
          sourceIndex: d,
          sourceEndIndex: u + 1,
          value: r.slice(d, u + 1)
        }] : o.nodes = [], o.unclosed && u + 1 !== n ? (o.after = "", o.nodes.push({
          type: "space",
          sourceIndex: u + 1,
          sourceEndIndex: n,
          value: r.slice(u + 1, n)
        })) : (o.after = r.slice(u + 1, n), o.sourceEndIndex = n)) : (o.after = "", o.nodes = []), d = n + 1, o.sourceEndIndex = o.unclosed ? n : d, f = r.charCodeAt(d), e.push(o)
      } else g += 1, o.after = "", o.sourceEndIndex = d + 1, e.push(o), h.push(o), e = o.nodes = [], y = o;
      m = ""
    } else if (TB === f && g) d += 1, f = r.charCodeAt(d), y.after = v, y.sourceEndIndex += v.length, v = "", g -= 1, h[h.length - 1].sourceEndIndex = d, h.pop(), y = h[g], e = y.nodes;
    else {
      n = d;
      do f === FB && (n += 1), n += 1, f = r.charCodeAt(n); while (n < B && !(f <= 32 || f === Bu || f === RB || f === MB || f === LB || f === zi || f === NB || f === hu && y && y.type === "function" && y.value === "calc" || f === zi && y.type === "function" && y.value === "calc" || f === TB && g));
      o = r.slice(d, n), NB === f ? m = o : (Dq === o.charCodeAt(0) || xq === o.charCodeAt(0)) && Eq === o.charCodeAt(1) && Sq.test(o.slice(2)) ? e.push({
        type: "unicode-range",
        sourceIndex: d,
        sourceEndIndex: n,
        value: o
      }) : e.push({
        type: "word",
        sourceIndex: d,
        sourceEndIndex: n,
        value: o
      }), d = n
    }
    for (d = h.length - 1; d; d -= 1) h[d].unclosed = !0, h[d].sourceEndIndex = r.length;
    return h[0].nodes
  },
  jq = function t(e, r, n) {
    var i, s, o, a;
    for (i = 0, s = e.length; i < s; i += 1) o = e[i], n || (a = r(o, i, e)), a !== !1 && o.type === "function" && Array.isArray(o.nodes) && t(o.nodes, r, n), n && r(o, i, e)
  };

function vw(t, e) {
  var r = t.type,
    n = t.value,
    i, s;
  return e && (s = e(t)) !== void 0 ? s : r === "word" || r === "space" ? n : r === "string" ? (i = t.quote || "", i + n + (t.unclosed ? "" : i)) : r === "comment" ? "/*" + n + (t.unclosed ? "" : "*/") : r === "div" ? (t.before || "") + n + (t.after || "") : Array.isArray(t.nodes) ? (i = S5(t.nodes, e), r !== "function" ? i : n + "(" + (t.before || "") + i + (t.after || "") + (t.unclosed ? "" : ")")) : n
}

function S5(t, e) {
  var r, n;
  if (Array.isArray(t)) {
    for (r = "", n = t.length - 1; ~n; n -= 1) r = vw(t[n], e) + r;
    return r
  }
  return vw(t, e)
}
var Aq = S5,
  UB, yw;

function Pq() {
  if (yw) return UB;
  yw = 1;
  var t = 45,
    e = 43,
    r = 46,
    n = 101,
    i = 69;

  function s(o) {
    var a = o.charCodeAt(0),
      l;
    if (a === e || a === t) {
      if (l = o.charCodeAt(1), l >= 48 && l <= 57) return !0;
      var u = o.charCodeAt(2);
      return l === r && u >= 48 && u <= 57
    }
    return a === r ? (l = o.charCodeAt(1), l >= 48 && l <= 57) : a >= 48 && a <= 57
  }
  return UB = function (o) {
    var a = 0,
      l = o.length,
      u, c, d;
    if (l === 0 || !s(o)) return !1;
    for (u = o.charCodeAt(a), (u === e || u === t) && a++; a < l && (u = o.charCodeAt(a), !(u < 48 || u > 57));) a += 1;
    if (u = o.charCodeAt(a), c = o.charCodeAt(a + 1), u === r && c >= 48 && c <= 57)
      for (a += 2; a < l && (u = o.charCodeAt(a), !(u < 48 || u > 57));) a += 1;
    if (u = o.charCodeAt(a), c = o.charCodeAt(a + 1), d = o.charCodeAt(a + 2), (u === n || u === i) && (c >= 48 && c <= 57 || (c === e || c === t) && d >= 48 && d <= 57))
      for (a += c === e || c === t ? 3 : 2; a < l && (u = o.charCodeAt(a), !(u < 48 || u > 57));) a += 1;
    return {
      number: o.slice(0, a),
      unit: o.slice(a)
    }
  }, UB
}
var _q = kq,
  k5 = jq,
  j5 = Aq;

function qn(t) {
  return this instanceof qn ? (this.nodes = _q(t), this) : new qn(t)
}
qn.prototype.toString = function () {
  return Array.isArray(this.nodes) ? j5(this.nodes) : ""
};
qn.prototype.walk = function (t, e) {
  return k5(this.nodes, t, e), this
};
qn.unit = Pq();
qn.walk = k5;
qn.stringify = j5;
var of = qn;
let {
  list: Oq
} = Ii, ww = of, Iq = Ni, bw = sf, Nq = class {
  constructor(e) {
    this.props = ["transition", "transition-property"], this.prefixes = e
  }
  add(e, r) {
    let n, i, s = this.prefixes.add[e.prop],
      o = this.ruleVendorPrefixes(e),
      a = o || s && s.prefixes || [],
      l = this.parse(e.value),
      u = l.map(B => this.findProp(B)),
      c = [];
    if (u.some(B => B[0] === "-")) return;
    for (let B of l) {
      if (i = this.findProp(B), i[0] === "-") continue;
      let h = this.prefixes.add[i];
      if (!(!h || !h.prefixes))
        for (n of h.prefixes) {
          if (o && !o.some(y => n.includes(y))) continue;
          let g = this.prefixes.prefixed(i, n);
          g !== "-ms-transform" && !u.includes(g) && (this.disabled(i, n) || c.push(this.clone(i, g, B)))
        }
    }
    l = l.concat(c);
    let d = this.stringify(l),
      f = this.stringify(this.cleanFromUnprefixed(l, "-webkit-"));
    if (a.includes("-webkit-") && this.cloneBefore(e, `-webkit-${e.prop}`, f), this.cloneBefore(e, e.prop, f), a.includes("-o-")) {
      let B = this.stringify(this.cleanFromUnprefixed(l, "-o-"));
      this.cloneBefore(e, `-o-${e.prop}`, B)
    }
    for (n of a)
      if (n !== "-webkit-" && n !== "-o-") {
        let B = this.stringify(this.cleanOtherPrefixes(l, n));
        this.cloneBefore(e, n + e.prop, B)
      } d !== e.value && !this.already(e, e.prop, d) && (this.checkForWarning(r, e), e.cloneBefore(), e.value = d)
  }
  already(e, r, n) {
    return e.parent.some(i => i.prop === r && i.value === n)
  }
  checkForWarning(e, r) {
    if (r.prop !== "transition-property") return;
    let n = !1,
      i = !1;
    r.parent.each(s => {
      if (s.type !== "decl" || s.prop.indexOf("transition-") !== 0) return;
      let o = Oq.comma(s.value);
      if (s.prop === "transition-property") {
        o.forEach(a => {
          let l = this.prefixes.add[a];
          l && l.prefixes && l.prefixes.length > 0 && (n = !0)
        });
        return
      }
      return i = i || o.length > 1, !1
    }), n && i && r.warn(e, "Replace transition-property to transition, because Autoprefixer could not support any cases of transition-property and other transition-*")
  }
  cleanFromUnprefixed(e, r) {
    let n = e.map(s => this.findProp(s)).filter(s => s.slice(0, r.length) === r).map(s => this.prefixes.unprefixed(s)),
      i = [];
    for (let s of e) {
      let o = this.findProp(s),
        a = bw.prefix(o);
      !n.includes(o) && (a === r || a === "") && i.push(s)
    }
    return i
  }
  cleanOtherPrefixes(e, r) {
    return e.filter(n => {
      let i = bw.prefix(this.findProp(n));
      return i === "" || i === r
    })
  }
  clone(e, r, n) {
    let i = [],
      s = !1;
    for (let o of n) !s && o.type === "word" && o.value === e ? (i.push({
      type: "word",
      value: r
    }), s = !0) : i.push(o);
    return i
  }
  cloneBefore(e, r, n) {
    this.already(e, r, n) || e.cloneBefore({
      prop: r,
      value: n
    })
  }
  disabled(e, r) {
    let n = ["order", "justify-content", "align-self", "align-content"];
    if (e.includes("flex") || n.includes(e)) {
      if (this.prefixes.options.flexbox === !1) return !0;
      if (this.prefixes.options.flexbox === "no-2009") return r.includes("2009")
    }
  }
  div(e) {
    for (let r of e)
      for (let n of r)
        if (n.type === "div" && n.value === ",") return n;
    return {
      after: " ",
      type: "div",
      value: ","
    }
  }
  findProp(e) {
    let r = e[0].value;
    if (/^\d/.test(r)) {
      for (let [n, i] of e.entries())
        if (n !== 0 && i.type === "word") return i.value
    }
    return r
  }
  parse(e) {
    let r = ww(e),
      n = [],
      i = [];
    for (let s of r.nodes) i.push(s), s.type === "div" && s.value === "," && (n.push(i), i = []);
    return n.push(i), n.filter(s => s.length > 0)
  }
  remove(e) {
    let r = this.parse(e.value);
    r = r.filter(o => {
      let a = this.prefixes.remove[this.findProp(o)];
      return !a || !a.remove
    });
    let n = this.stringify(r);
    if (e.value === n) return;
    if (r.length === 0) {
      e.remove();
      return
    }
    let i = e.parent.some(o => o.prop === e.prop && o.value === n),
      s = e.parent.some(o => o !== e && o.prop === e.prop && o.value.length > n.length);
    if (i || s) {
      e.remove();
      return
    }
    e.value = n
  }
  ruleVendorPrefixes(e) {
    let {
      parent: r
    } = e;
    if (r.type !== "rule") return !1;
    if (!r.selector.includes(":-")) return !1;
    let n = Iq.prefixes().filter(i => r.selector.includes(":" + i));
    return n.length > 0 ? n : !1
  }
  stringify(e) {
    if (e.length === 0) return "";
    let r = [];
    for (let n of e) n[n.length - 1].type !== "div" && n.push(this.div(e)), r = r.concat(n);
    return r[0].type === "div" && (r = r.slice(1)), r[r.length - 1].type === "div" && (r = r.slice(0, -1)), ww.stringify({
      nodes: r
    })
  }
};
var Tq = Nq;
let Rq = je,
  Fq = class {
    constructor(e, r, n, i) {
      this.unprefixed = e, this.prefixed = r, this.string = n || r, this.regexp = i || Rq.regexp(r)
    }
    check(e) {
      return e.includes(this.string) ? !!e.match(this.regexp) : !1
    }
  };
var Bl = Fq;
let Mq = fl,
  Lq = Bl,
  Uq = sf,
  zq = je,
  Wq = class extends Mq {
    static save(e, r) {
      let n = r.prop,
        i = [];
      for (let s in r._autoprefixerValues) {
        let o = r._autoprefixerValues[s];
        if (o === r.value) continue;
        let a, l = Uq.prefix(n);
        if (l === "-pie-") continue;
        if (l === s) {
          a = r.value = o, i.push(a);
          continue
        }
        let u = e.prefixed(n, s),
          c = r.parent;
        if (!c.every(h => h.prop !== u)) {
          i.push(a);
          continue
        }
        let d = o.replace(/\s+/, " ");
        if (c.some(h => h.prop === r.prop && h.value.replace(/\s+/, " ") === d)) {
          i.push(a);
          continue
        }
        let B = this.clone(r, {
          value: o
        });
        a = r.parent.insertBefore(r, B), i.push(a)
      }
      return i
    }
    add(e, r) {
      e._autoprefixerValues || (e._autoprefixerValues = {});
      let n = e._autoprefixerValues[r] || this.value(e),
        i;
      do
        if (i = n, n = this.replace(n, r), n === !1) return; while (n !== i);
      e._autoprefixerValues[r] = n
    }
    check(e) {
      let r = e.value;
      return r.includes(this.name) ? !!r.match(this.regexp()) : !1
    }
    old(e) {
      return new Lq(this.name, e + this.name)
    }
    regexp() {
      return this.regexpCache || (this.regexpCache = zq.regexp(this.name))
    }
    replace(e, r) {
      return e.replace(this.regexp(), `$1${r}$2`)
    }
    value(e) {
      return e.raws.value && e.raws.value.value === e.value ? e.raws.value.raw : e.value
    }
  };
var jr = Wq,
  $e = {};
let Vt = of,
  Rs = Ii.list,
  Dw = je.uniq,
  $q = je.escapeRegexp,
  jC = je.splitSelector;

function xw(t) {
  return t && t.length === 2 && t[0] === "span" && parseInt(t[1], 10) > 0 ? [!1, parseInt(t[1], 10)] : t && t.length === 1 && parseInt(t[0], 10) > 0 ? [parseInt(t[0], 10), !1] : [!1, !1]
}
$e.translate = Hq;

function Hq(t, e, r) {
  let n = t[e],
    i = t[r];
  if (!n) return [!1, !1];
  let [s, o] = xw(n), [a, l] = xw(i);
  return s && !i ? [s, !1] : o && a ? [a - o, o] : s && l ? [s, l] : s && a ? [s, a - s] : [!1, !1]
}
$e.parse = Gq;

function Gq(t) {
  let e = Vt(t.value),
    r = [],
    n = 0;
  r[n] = [];
  for (let i of e.nodes) i.type === "div" ? (n += 1, r[n] = []) : i.type === "word" && r[n].push(i.value);
  return r
}
$e.insertDecl = qq;

function qq(t, e, r) {
  r && !t.parent.some(n => n.prop === `-ms-${e}`) && t.cloneBefore({
    prop: `-ms-${e}`,
    value: r.toString()
  })
}
$e.prefixTrackProp = Vq;

function Vq({
  prefix: t,
  prop: e
}) {
  return t + e.replace("template-", "")
}

function Kq({
  nodes: t
}, {
  gap: e
}) {
  let {
    count: r,
    size: n
  } = t.reduce((i, s) => (s.type === "div" && s.value === "," ? i.key = "size" : i[i.key].push(Vt.stringify(s)), i), {
    count: [],
    key: "count",
    size: []
  });
  if (e) {
    n = n.filter(s => s.trim());
    let i = [];
    for (let s = 1; s <= r; s++) n.forEach((o, a) => {
      (a > 0 || s > 1) && i.push(e), i.push(o)
    });
    return i.join(" ")
  }
  return `(${n.join("")})[${r.join("")}]`
}
$e.prefixTrackValue = AC;

function AC({
  gap: t,
  value: e
}) {
  let r = Vt(e).nodes.reduce((n, i) => i.type === "function" && i.value === "repeat" ? n.concat({
    type: "word",
    value: Kq(i, {
      gap: t
    })
  }) : t && i.type === "space" ? n.concat({
    type: "space",
    value: " "
  }, {
    type: "word",
    value: t
  }, i) : n.concat(i), []);
  return Vt.stringify(r)
}
let Qq = /^\.+$/;

function Ew(t, e) {
  return {
    end: e,
    span: e - t,
    start: t
  }
}

function Jq(t) {
  return t.trim().split(/\s+/g)
}
$e.parseGridAreas = cg;

function cg({
  gap: t,
  rows: e
}) {
  return e.reduce((r, n, i) => (t.row && (i *= 2), n.trim() === "" || Jq(n).forEach((s, o) => {
    if (!Qq.test(s))
      if (t.column && (o *= 2), typeof r[s] > "u") r[s] = {
        column: Ew(o + 1, o + 2),
        row: Ew(i + 1, i + 2)
      };
      else {
        let {
          column: a,
          row: l
        } = r[s];
        a.start = Math.min(a.start, o + 1), a.end = Math.max(a.end, o + 2), a.span = a.end - a.start, l.start = Math.min(l.start, i + 1), l.end = Math.max(l.end, i + 2), l.span = l.end - l.start
      }
  }), r), {})
}

function Yq(t) {
  return t.type === "word" && /^\[.+]$/.test(t.value)
}

function Sw(t) {
  return t.areas.length > t.rows.length && t.rows.push("auto"), t
}
$e.parseTemplate = dg;

function dg({
  decl: t,
  gap: e
}) {
  let r = Vt(t.value).nodes.reduce((n, i) => {
    let {
      type: s,
      value: o
    } = i;
    return Yq(i) || s === "space" || (s === "string" && (n = Sw(n), n.areas.push(o)), (s === "word" || s === "function") && n[n.key].push(Vt.stringify(i)), s === "div" && o === "/" && (n.key = "columns", n = Sw(n))), n
  }, {
    areas: [],
    columns: [],
    key: "rows",
    rows: []
  });
  return {
    areas: cg({
      gap: e,
      rows: r.areas
    }),
    columns: AC({
      gap: e.column,
      value: r.columns.join(" ")
    }),
    rows: AC({
      gap: e.row,
      value: r.rows.join(" ")
    })
  }
}

function pu(t, e = !1, r = !1) {
  let n = [{
    prop: "-ms-grid-row",
    value: String(t.row.start)
  }];
  return (t.row.span > 1 || e) && n.push({
    prop: "-ms-grid-row-span",
    value: String(t.row.span)
  }), n.push({
    prop: "-ms-grid-column",
    value: String(t.column.start)
  }), (t.column.span > 1 || r) && n.push({
    prop: "-ms-grid-column-span",
    value: String(t.column.span)
  }), n
}

function Oa(t) {
  return t.type === "atrule" && t.name === "media" ? t : t.parent ? Oa(t.parent) : !1
}

function kw(t, e) {
  return t = t.map(r => {
    let n = Rs.space(r),
      i = Rs.comma(r);
    return n.length > i.length && (r = n.slice(-1).join("")), r
  }), t.map(r => e.map((i, s) => `${s===0?"":" "}${i} > ${r}`))
}

function jw(t, e) {
  return t.selectors.some(r => e.selectors.includes(r))
}

function Xq(t) {
  let e = [];
  return t.walkDecls(/grid-template(-areas)?$/, r => {
    let n = r.parent,
      i = Oa(n),
      s = af(r),
      o = A5(r, s),
      {
        areas: a
      } = dg({
        decl: r,
        gap: o || s
      }),
      l = Object.keys(a);
    if (l.length === 0) return !0;
    let u = e.reduce((c, {
      allAreas: d
    }, f) => d && l.some(h => d.includes(h)) ? f : c, null);
    if (u !== null) {
      let {
        allAreas: c,
        rules: d
      } = e[u], f = d.some(g => g.hasDuplicates === !1 && jw(g, n)), B = !1, h = d.reduce((g, y) => !y.params && jw(y, n) ? (B = !0, y.duplicateAreaNames) : (B || l.forEach(m => {
        y.areas[m] && g.push(m)
      }), Dw(g)), []);
      d.forEach(g => {
        l.forEach(y => {
          let m = g.areas[y];
          m && m.row.span !== a[y].row.span && (a[y].row.updateSpan = !0), m && m.column.span !== a[y].column.span && (a[y].column.updateSpan = !0)
        })
      }), e[u].allAreas = Dw([...c, ...l]), e[u].rules.push({
        areas: a,
        duplicateAreaNames: h,
        hasDuplicates: !f,
        node: n,
        params: i.params,
        selectors: n.selectors
      })
    } else e.push({
      allAreas: l,
      areasCount: 0,
      rules: [{
        areas: a,
        duplicateAreaNames: [],
        duplicateRules: [],
        hasDuplicates: !1,
        node: n,
        params: i.params,
        selectors: n.selectors
      }]
    })
  }), e
}
$e.insertAreas = Zq;

function Zq(t, e) {
  let r = Xq(t);
  if (r.length === 0) return;
  let n = {};
  t.walkDecls("grid-area", i => {
    let s = i.parent,
      o = s.first.prop === "-ms-grid-row",
      a = Oa(s);
    if (e(i)) return;
    let l = t.index(a || s),
      u = i.value,
      c = r.filter(y => y.allAreas.includes(u))[0];
    if (!c) return !0;
    let d = c.allAreas[c.allAreas.length - 1],
      f = Rs.space(s.selector),
      B = Rs.comma(s.selector),
      h = f.length > 1 && f.length > B.length;
    if (o) return !1;
    n[d] || (n[d] = {});
    let g = !1;
    for (let y of c.rules) {
      let m = y.areas[u],
        p = y.duplicateAreaNames.includes(u);
      if (!m) {
        let v = n[d].lastRule,
          w;
        v ? w = t.index(v) : w = -1, l > w && (n[d].lastRule = a || s);
        continue
      }
      if (y.params && !n[d][y.params] && (n[d][y.params] = []), (!y.hasDuplicates || !p) && !y.params) pu(m, !1, !1).reverse().forEach(v => s.prepend(Object.assign(v, {
        raws: {
          between: i.raws.between
        }
      }))), n[d].lastRule = s, g = !0;
      else if (y.hasDuplicates && !y.params && !h) {
        let v = s.clone();
        v.removeAll(), pu(m, m.row.updateSpan, m.column.updateSpan).reverse().forEach(w => v.prepend(Object.assign(w, {
          raws: {
            between: i.raws.between
          }
        }))), v.selectors = kw(v.selectors, y.selectors), n[d].lastRule && n[d].lastRule.after(v), n[d].lastRule = v, g = !0
      } else if (y.hasDuplicates && !y.params && h && s.selector.includes(y.selectors[0])) s.walkDecls(/-ms-grid-(row|column)/, v => v.remove()), pu(m, m.row.updateSpan, m.column.updateSpan).reverse().forEach(v => s.prepend(Object.assign(v, {
        raws: {
          between: i.raws.between
        }
      })));
      else if (y.params) {
        let v = s.clone();
        v.removeAll(), pu(m, m.row.updateSpan, m.column.updateSpan).reverse().forEach(w => v.prepend(Object.assign(w, {
          raws: {
            between: i.raws.between
          }
        }))), y.hasDuplicates && p && (v.selectors = kw(v.selectors, y.selectors)), v.raws = y.node.raws, t.index(y.node.parent) > l ? y.node.parent.append(v) : n[d][y.params].push(v), g || (n[d].lastRule = a || s)
      }
    }
  }), Object.keys(n).forEach(i => {
    let s = n[i],
      o = s.lastRule;
    Object.keys(s).reverse().filter(a => a !== "lastRule").forEach(a => {
      s[a].length > 0 && o && (o.after({
        name: "media",
        params: a
      }), o.next().append(s[a]))
    })
  })
}
$e.warnMissedAreas = eV;

function eV(t, e, r) {
  let n = Object.keys(t);
  e.root().walkDecls("grid-area", i => {
    n = n.filter(s => s !== i.value)
  }), n.length > 0 && e.warn(r, "Can not find grid areas: " + n.join(", "))
}
$e.warnTemplateSelectorNotFound = tV;

function tV(t, e) {
  let r = t.parent,
    n = t.root(),
    i = !1,
    s = Rs.space(r.selector).filter(o => o !== ">").slice(0, -1);
  if (s.length > 0) {
    let o = !1,
      a = null;
    n.walkDecls(/grid-template(-areas)?$/, l => {
      let u = l.parent,
        c = u.selectors,
        {
          areas: d
        } = dg({
          decl: l,
          gap: af(l)
        }),
        f = d[t.value];
      for (let B of c) {
        if (o) break;
        o = Rs.space(B).filter(g => g !== ">").every((g, y) => g === s[y])
      }
      if (o || !f) return !0;
      a || (a = u.selector), a && a !== u.selector && (i = !0)
    }), !o && i && t.warn(e, `Autoprefixer cannot find a grid-template containing the duplicate grid-area "${t.value}" with full selector matching: ${s.join(" ")}`)
  }
}
$e.warnIfGridRowColumnExists = rV;

function rV(t, e) {
  let r = t.parent,
    n = [];
  r.walkDecls(/^grid-(row|column)/, i => {
    !i.prop.endsWith("-end") && !i.value.startsWith("span") && !i.prop.endsWith("-gap") && n.push(i)
  }), n.length > 0 && n.forEach(i => {
    i.warn(e, `You already have a grid-area declaration present in the rule. You should use either grid-area or ${i.prop}, not both`)
  })
}
$e.getGridGap = af;

function af(t) {
  let e = {},
    r = /^(grid-)?((row|column)-)?gap$/;
  return t.parent.walkDecls(r, ({
    prop: n,
    value: i
  }) => {
    if (/^(grid-)?gap$/.test(n)) {
      let [s, , o] = Vt(i).nodes;
      e.row = s && Vt.stringify(s), e.column = o ? Vt.stringify(o) : e.row
    }
    /^(grid-)?row-gap$/.test(n) && (e.row = i), /^(grid-)?column-gap$/.test(n) && (e.column = i)
  }), e
}

function Aw(t) {
  if (!t) return [];
  let e = Vt(t),
    r, n;
  return e.walk(i => {
    i.type === "word" && /min|max/g.test(i.value) ? r = i.value : i.value.includes("px") && (n = parseInt(i.value.replace(/\D/g, "")))
  }), [r, n]
}

function nV(t, e) {
  let r, n = jC(t),
    i = jC(e);
  if (n[0].length < i[0].length) return !1;
  if (n[0].length > i[0].length) {
    let s = n[0].reduce((o, [a], l) => {
      let u = i[0][0][0];
      return a === u ? l : !1
    }, !1);
    s && (r = i[0].every((o, a) => o.every((l, u) => n[0].slice(s)[a][u] === l)))
  } else r = i.some(s => s.every((o, a) => o.every((l, u) => n[0][a][u] === l)));
  return r
}
$e.inheritGridGap = A5;

function A5(t, e) {
  let r = t.parent,
    n = Oa(r),
    i = r.root(),
    s = jC(r.selector);
  if (Object.keys(e).length > 0) return !1;
  let [o] = Aw(n.params), a = s[0], l = $q(a[a.length - 1][0]), u = new RegExp(`(${l}$)|(${l}[,.])`), c;
  return i.walkRules(u, d => {
    let f;
    if (r.toString() === d.toString()) return !1;
    if (d.walkDecls("grid-gap", h => f = af(h)), !f || Object.keys(f).length === 0 || !nV(r.selector, d.selector)) return !0;
    let B = Oa(d);
    if (B) {
      if (Aw(B.params)[0] === o) return c = f, !0
    } else return c = f, !0
  }), c && Object.keys(c).length > 0 ? c : !1
}
$e.warnGridGap = iV;

function iV({
  decl: t,
  gap: e,
  hasColumns: r,
  result: n
}) {
  let i = e.row && e.column;
  !r && (i || e.column && !e.row) && (delete e.column, t.warn(n, "Can not implement grid-gap without grid-template-columns"))
}

function Pw(t) {
  return Vt(t).nodes.reduce((r, n) => {
    if (n.type === "function" && n.value === "repeat") {
      let i = "count",
        [s, o] = n.nodes.reduce((a, l) => l.type === "word" && i === "count" ? (a[0] = Math.abs(parseInt(l.value)), a) : l.type === "div" && l.value === "," ? (i = "value", a) : (i === "value" && (a[1] += Vt.stringify(l)), a), [0, ""]);
      if (s)
        for (let a = 0; a < s; a++) r.push(o);
      return r
    }
    return n.type === "space" ? r : r.concat(Vt.stringify(n))
  }, [])
}
$e.autoplaceGridItems = sV;

function sV(t, e, r, n = "row") {
  let {
    parent: i
  } = t, s = i.nodes.find(f => f.prop === "grid-template-rows"), o = Pw(s.value), a = Pw(t.value), l = o.map((f, B) => Array.from({
    length: a.length
  }, (h, g) => g + B * a.length + 1).join(" ")), u = cg({
    gap: r,
    rows: l
  }), c = Object.keys(u), d = c.map(f => u[f]);
  n.includes("column") && (d = d.sort((f, B) => f.column.start - B.column.start)), d.reverse().forEach((f, B) => {
    let {
      column: h,
      row: g
    } = f, y = i.selectors.map(p => p + ` > *:nth-child(${c.length-B})`).join(", "), m = i.clone().removeAll();
    m.selector = y, m.append({
      prop: "-ms-grid-row",
      value: g.start
    }), m.append({
      prop: "-ms-grid-column",
      value: h.start
    }), i.after(m)
  })
}
var _w = {};
let Ow = of,
  oV = jr,
  aV = $e.insertAreas;
const lV = /(^|[^-])linear-gradient\(\s*(top|left|right|bottom)/i,
  uV = /(^|[^-])radial-gradient\(\s*\d+(\w*|%)\s+\d+(\w*|%)\s*,/i,
  cV = /(!\s*)?autoprefixer:\s*ignore\s+next/i,
  dV = /(!\s*)?autoprefixer\s*grid:\s*(on|off|(no-)?autoplace)/i,
  fV = ["width", "height", "min-width", "max-width", "min-height", "max-height", "inline-size", "min-inline-size", "max-inline-size", "block-size", "min-block-size", "max-block-size"];

function zB(t) {
  return t.parent.some(e => e.prop === "grid-template" || e.prop === "grid-template-areas")
}

function BV(t) {
  let e = t.parent.some(n => n.prop === "grid-template-rows"),
    r = t.parent.some(n => n.prop === "grid-template-columns");
  return e && r
}
let hV = class {
  constructor(e) {
    this.prefixes = e
  }
  add(e, r) {
    let n = this.prefixes.add["@resolution"],
      i = this.prefixes.add["@keyframes"],
      s = this.prefixes.add["@viewport"],
      o = this.prefixes.add["@supports"];
    e.walkAtRules(u => {
      if (u.name === "keyframes") {
        if (!this.disabled(u, r)) return i && i.process(u)
      } else if (u.name === "viewport") {
        if (!this.disabled(u, r)) return s && s.process(u)
      } else if (u.name === "supports") {
        if (this.prefixes.options.supports !== !1 && !this.disabled(u, r)) return o.process(u)
      } else if (u.name === "media" && u.params.includes("-resolution") && !this.disabled(u, r)) return n && n.process(u)
    }), e.walkRules(u => {
      if (!this.disabled(u, r)) return this.prefixes.add.selectors.map(c => c.process(u, r))
    });

    function a(u) {
      return u.parent.nodes.some(c => {
        if (c.type !== "decl") return !1;
        let d = c.prop === "display" && /(inline-)?grid/.test(c.value),
          f = c.prop.startsWith("grid-template"),
          B = /^grid-([A-z]+-)?gap/.test(c.prop);
        return d || f || B
      })
    }
    let l = this.gridStatus(e, r) && this.prefixes.add["grid-area"] && this.prefixes.add["grid-area"].prefixes;
    return e.walkDecls(u => {
      if (this.disabledDecl(u, r)) return;
      let c = u.parent,
        d = u.prop,
        f = u.value;
      if (d === "color-adjust") c.every(h => h.prop !== "print-color-adjust") && r.warn("Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.", {
        node: u
      });
      else if (d === "grid-row-span") {
        r.warn("grid-row-span is not part of final Grid Layout. Use grid-row.", {
          node: u
        });
        return
      } else if (d === "grid-column-span") {
        r.warn("grid-column-span is not part of final Grid Layout. Use grid-column.", {
          node: u
        });
        return
      } else if (d === "display" && f === "box") {
        r.warn("You should write display: flex by final spec instead of display: box", {
          node: u
        });
        return
      } else if (d === "text-emphasis-position")(f === "under" || f === "over") && r.warn("You should use 2 values for text-emphasis-position For example, `under left` instead of just `under`.", {
        node: u
      });
      else if (d === "text-decoration-skip" && f === "ink") r.warn("Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed", {
        node: u
      });
      else {
        if (l && this.gridStatus(u, r))
          if (u.value === "subgrid" && r.warn("IE does not support subgrid", {
              node: u
            }), /^(align|justify|place)-items$/.test(d) && a(u)) {
            let h = d.replace("-items", "-self");
            r.warn(`IE does not support ${d} on grid containers. Try using ${h} on child elements instead: ${u.parent.selector} > * { ${h}: ${u.value} }`, {
              node: u
            })
          } else if (/^(align|justify|place)-content$/.test(d) && a(u)) r.warn(`IE does not support ${u.prop} on grid containers`, {
          node: u
        });
        else if (d === "display" && u.value === "contents") {
          r.warn("Please do not use display: contents; if you have grid setting enabled", {
            node: u
          });
          return
        } else if (u.prop === "grid-gap") {
          let h = this.gridStatus(u, r);
          h === "autoplace" && !BV(u) && !zB(u) ? r.warn("grid-gap only works if grid-template(-areas) is being used or both rows and columns have been declared and cells have not been manually placed inside the explicit grid", {
            node: u
          }) : (h === !0 || h === "no-autoplace") && !zB(u) && r.warn("grid-gap only works if grid-template(-areas) is being used", {
            node: u
          })
        } else if (d === "grid-auto-columns") {
          r.warn("grid-auto-columns is not supported by IE", {
            node: u
          });
          return
        } else if (d === "grid-auto-rows") {
          r.warn("grid-auto-rows is not supported by IE", {
            node: u
          });
          return
        } else if (d === "grid-auto-flow") {
          let h = c.some(y => y.prop === "grid-template-rows"),
            g = c.some(y => y.prop === "grid-template-columns");
          zB(u) ? r.warn("grid-auto-flow is not supported by IE", {
            node: u
          }) : f.includes("dense") ? r.warn("grid-auto-flow: dense is not supported by IE", {
            node: u
          }) : !h && !g && r.warn("grid-auto-flow works only if grid-template-rows and grid-template-columns are present in the same rule", {
            node: u
          });
          return
        } else if (f.includes("auto-fit")) {
          r.warn("auto-fit value is not supported by IE", {
            node: u,
            word: "auto-fit"
          });
          return
        } else if (f.includes("auto-fill")) {
          r.warn("auto-fill value is not supported by IE", {
            node: u,
            word: "auto-fill"
          });
          return
        } else d.startsWith("grid-template") && f.includes("[") && r.warn("Autoprefixer currently does not support line names. Try using grid-template-areas instead.", {
          node: u,
          word: "["
        });
        if (f.includes("radial-gradient"))
          if (uV.test(u.value)) r.warn("Gradient has outdated direction syntax. New syntax is like `closest-side at 0 0` instead of `0 0, closest-side`.", {
            node: u
          });
          else {
            let h = Ow(f);
            for (let g of h.nodes)
              if (g.type === "function" && g.value === "radial-gradient")
                for (let y of g.nodes) y.type === "word" && (y.value === "cover" ? r.warn("Gradient has outdated direction syntax. Replace `cover` to `farthest-corner`.", {
                  node: u
                }) : y.value === "contain" && r.warn("Gradient has outdated direction syntax. Replace `contain` to `closest-side`.", {
                  node: u
                }))
          } f.includes("linear-gradient") && lV.test(f) && r.warn("Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.", {
          node: u
        })
      }
      fV.includes(u.prop) && (u.value.includes("-fill-available") || (u.value.includes("fill-available") ? r.warn("Replace fill-available to stretch, because spec had been changed", {
        node: u
      }) : u.value.includes("fill") && Ow(f).nodes.some(g => g.type === "word" && g.value === "fill") && r.warn("Replace fill to stretch, because spec had been changed", {
        node: u
      })));
      let B;
      if (u.prop === "transition" || u.prop === "transition-property") return this.prefixes.transition.add(u, r);
      if (u.prop === "align-self") {
        if (this.displayType(u) !== "grid" && this.prefixes.options.flexbox !== !1 && (B = this.prefixes.add["align-self"], B && B.prefixes && B.process(u)), this.gridStatus(u, r) !== !1 && (B = this.prefixes.add["grid-row-align"], B && B.prefixes)) return B.process(u, r)
      } else if (u.prop === "justify-self") {
        if (this.gridStatus(u, r) !== !1 && (B = this.prefixes.add["grid-column-align"], B && B.prefixes)) return B.process(u, r)
      } else if (u.prop === "place-self") {
        if (B = this.prefixes.add["place-self"], B && B.prefixes && this.gridStatus(u, r) !== !1) return B.process(u, r)
      } else if (B = this.prefixes.add[u.prop], B && B.prefixes) return B.process(u, r)
    }), this.gridStatus(e, r) && aV(e, this.disabled), e.walkDecls(u => {
      if (this.disabledValue(u, r)) return;
      let c = this.prefixes.unprefixed(u.prop),
        d = this.prefixes.values("add", c);
      if (Array.isArray(d))
        for (let f of d) f.process && f.process(u, r);
      oV.save(this.prefixes, u)
    })
  }
  disabled(e, r) {
    if (!e) return !1;
    if (e._autoprefixerDisabled !== void 0) return e._autoprefixerDisabled;
    if (e.parent) {
      let i = e.prev();
      if (i && i.type === "comment" && cV.test(i.text)) return e._autoprefixerDisabled = !0, e._autoprefixerSelfDisabled = !0, !0
    }
    let n = null;
    if (e.nodes) {
      let i;
      e.each(s => {
        s.type === "comment" && /(!\s*)?autoprefixer:\s*(off|on)/i.test(s.text) && (typeof i < "u" ? r.warn("Second Autoprefixer control comment was ignored. Autoprefixer applies control comment to whole block, not to next rules.", {
          node: s
        }) : i = /on/i.test(s.text))
      }), i !== void 0 && (n = !i)
    }
    if (!e.nodes || n === null)
      if (e.parent) {
        let i = this.disabled(e.parent, r);
        e.parent._autoprefixerSelfDisabled === !0 ? n = !1 : n = i
      } else n = !1;
    return e._autoprefixerDisabled = n, n
  }
  disabledDecl(e, r) {
    if (e.type === "decl" && this.gridStatus(e, r) === !1 && (e.prop.includes("grid") || e.prop === "justify-items")) return !0;
    if (e.type === "decl" && this.prefixes.options.flexbox === !1) {
      let n = ["order", "justify-content", "align-items", "align-content"];
      if (e.prop.includes("flex") || n.includes(e.prop)) return !0
    }
    return this.disabled(e, r)
  }
  disabledValue(e, r) {
    return this.gridStatus(e, r) === !1 && e.type === "decl" && e.prop === "display" && e.value.includes("grid") || this.prefixes.options.flexbox === !1 && e.type === "decl" && e.prop === "display" && e.value.includes("flex") || e.type === "decl" && e.prop === "content" ? !0 : this.disabled(e, r)
  }
  displayType(e) {
    for (let r of e.parent.nodes)
      if (r.prop === "display") {
        if (r.value.includes("flex")) return "flex";
        if (r.value.includes("grid")) return "grid"
      } return !1
  }
  gridStatus(e, r) {
    if (!e) return !1;
    if (e._autoprefixerGridStatus !== void 0) return e._autoprefixerGridStatus;
    let n = null;
    if (e.nodes) {
      let i;
      e.each(s => {
        if (s.type === "comment" && dV.test(s.text)) {
          let o = /:\s*autoplace/i.test(s.text),
            a = /no-autoplace/i.test(s.text);
          typeof i < "u" ? r.warn("Second Autoprefixer grid control comment was ignored. Autoprefixer applies control comments to the whole block, not to the next rules.", {
            node: s
          }) : o ? i = "autoplace" : a ? i = !0 : i = /on/i.test(s.text)
        }
      }), i !== void 0 && (n = i)
    }
    if (e.type === "atrule" && e.name === "supports") {
      let i = e.params;
      i.includes("grid") && i.includes("auto") && (n = !1)
    }
    if (!e.nodes || n === null)
      if (e.parent) {
        let i = this.gridStatus(e.parent, r);
        e.parent._autoprefixerSelfDisabled === !0 ? n = !1 : n = i
      } else typeof this.prefixes.options.grid < "u" ? n = this.prefixes.options.grid : typeof _w.AUTOPREFIXER_GRID < "u" ? _w.AUTOPREFIXER_GRID === "autoplace" ? n = "autoplace" : n = !0 : n = !1;
    return e._autoprefixerGridStatus = n, n
  }
  reduceSpaces(e) {
    let r = !1;
    if (this.prefixes.group(e).up(() => (r = !0, !0)), r) return;
    let n = e.raw("before").split(`
`),
      i = n[n.length - 1].length,
      s = !1;
    this.prefixes.group(e).down(o => {
      n = o.raw("before").split(`
`);
      let a = n.length - 1;
      n[a].length > i && (s === !1 && (s = n[a].length - i), n[a] = n[a].slice(0, -s), o.raws.before = n.join(`
`))
    })
  }
  remove(e, r) {
    let n = this.prefixes.remove["@resolution"];
    return e.walkAtRules((i, s) => {
      this.prefixes.remove[`@${i.name}`] ? this.disabled(i, r) || i.parent.removeChild(s) : i.name === "media" && i.params.includes("-resolution") && n && n.clean(i)
    }), e.walkRules((i, s) => {
      if (!this.disabled(i, r)) {
        for (let o of this.prefixes.remove.selectors)
          if (o.check(i)) {
            i.parent.removeChild(s);
            return
          }
      }
    }), e.walkDecls((i, s) => {
      if (this.disabled(i, r)) return;
      let o = i.parent,
        a = this.prefixes.unprefixed(i.prop);
      if ((i.prop === "transition" || i.prop === "transition-property") && this.prefixes.transition.remove(i), this.prefixes.remove[i.prop] && this.prefixes.remove[i.prop].remove) {
        let l = this.prefixes.group(i).down(u => this.prefixes.normalize(u.prop) === a);
        if (a === "flex-flow" && (l = !0), i.prop === "-webkit-box-orient") {
          let u = {
            "flex-direction": !0,
            "flex-flow": !0
          };
          if (!i.parent.some(c => u[c.prop])) return
        }
        if (l && !this.withHackValue(i)) {
          i.raw("before").includes(`
`) && this.reduceSpaces(i), o.removeChild(s);
          return
        }
      }
      for (let l of this.prefixes.values("remove", a)) {
        if (!l.check || !l.check(i.value)) continue;
        if (a = l.unprefixed, this.prefixes.group(i).down(c => c.value.includes(a))) {
          o.removeChild(s);
          return
        }
      }
    })
  }
  withHackValue(e) {
    return e.prop === "-webkit-background-clip" && e.value === "text" || e.prop === "-webkit-box-orient" && e.parent.some(r => r.prop === "-webkit-line-clamp")
  }
};
var P5 = hV,
  pV = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "0 1 2 3 4 5 6 7 8 9 x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J GB K E F G A B C L M H N O P HB v w fC gC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB"
      },
      E: {
        1: "G A B C L M H lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB K E F hC KC iC jC kC"
      },
      F: {
        1: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u 8B",
        2: "G B C sC tC uC vC 7B ZC wC"
      },
      G: {
        1: "2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "F KC xC aC yC zC 0C 1C"
      },
      H: {
        1: "JD"
      },
      I: {
        1: "D OD PD",
        2: "DC J KD LD MD ND aC"
      },
      J: {
        2: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 4,
    C: "CSS Feature Queries",
    D: !0
  },
  fg = {
    exports: {}
  },
  CV = {
    1: "ls",
    2: "rec",
    3: "pr",
    4: "cr",
    5: "wd",
    6: "other",
    7: "unoff"
  },
  mV = {
    y: 1,
    n: 2,
    a: 4,
    p: 8,
    u: 16,
    x: 32,
    d: 64
  };
const gV = CV,
  Iw = mV,
  vV = Jm.browsers,
  yV = Ym.browserVersions,
  wV = Math.log(2);

function bV(t) {
  let e = Object.keys(Iw).reduce((i, s) => (t & Iw[s] && i.push(s), i), []),
    r = t >> 7,
    n = [];
  for (; r;) {
    let i = Math.floor(Math.log(r) / wV) + 1;
    n.unshift(`#${i}`), r -= Math.pow(2, i - 1)
  }
  return e.concat(n).join(" ")
}

function _5(t) {
  let e = {
    status: gV[t.B],
    title: t.C,
    shown: t.D
  };
  return e.stats = Object.keys(t.A).reduce((r, n) => {
    let i = t.A[n];
    return r[vV[n]] = Object.keys(i).reduce((s, o) => {
      let a = i[o].split(" "),
        l = bV(o);
      return a.forEach(u => s[yV[u]] = l), s
    }, {}), r
  }, {}), e
}
fg.exports = _5;
fg.exports.default = _5;
var O5 = fg.exports;

function Nw(t) {
  return t[t.length - 1]
}
let I5 = {
  parse(t) {
    let e = [""],
      r = [e];
    for (let n of t) {
      if (n === "(") {
        e = [""], Nw(r).push(e), r.push(e);
        continue
      }
      if (n === ")") {
        r.pop(), e = Nw(r), e.push("");
        continue
      }
      e[e.length - 1] += n
    }
    return r[0]
  },
  stringify(t) {
    let e = "";
    for (let r of t) {
      if (typeof r == "object") {
        e += `(${I5.stringify(r)})`;
        continue
      }
      e += r
    }
    return e
  }
};
var DV = I5;
let xV = pV,
  EV = O5,
  {
    parse: SV
  } = Ii,
  kV = Ni,
  WB = DV,
  jV = jr,
  AV = je,
  Tw = EV(xV),
  N5 = [];
for (let t in Tw.stats) {
  let e = Tw.stats[t];
  for (let r in e) {
    let n = e[r];
    /y/.test(n) && N5.push(t + " " + r)
  }
}
let PV = class {
  constructor(e, r) {
    this.Prefixes = e, this.all = r
  }
  add(e, r) {
    return e.map(n => {
      if (this.isProp(n)) {
        let i = this.prefixed(n[0]);
        return i.length > 1 ? this.convert(i) : n
      }
      return typeof n == "object" ? this.add(n, r) : n
    })
  }
  cleanBrackets(e) {
    return e.map(r => typeof r != "object" ? r : r.length === 1 && typeof r[0] == "object" ? this.cleanBrackets(r[0]) : this.cleanBrackets(r))
  }
  convert(e) {
    let r = [""];
    for (let n of e) r.push([`${n.prop}: ${n.value}`]), r.push(" or ");
    return r[r.length - 1] = "", r
  }
  disabled(e) {
    if (!this.all.options.grid && (e.prop === "display" && e.value.includes("grid") || e.prop.includes("grid") || e.prop === "justify-items")) return !0;
    if (this.all.options.flexbox === !1) {
      if (e.prop === "display" && e.value.includes("flex")) return !0;
      let r = ["order", "justify-content", "align-items", "align-content"];
      if (e.prop.includes("flex") || r.includes(e.prop)) return !0
    }
    return !1
  }
  isHack(e, r) {
    return !new RegExp(`(\\(|\\s)${AV.escapeRegexp(r)}:`).test(e)
  }
  isNot(e) {
    return typeof e == "string" && /not\s*/i.test(e)
  }
  isOr(e) {
    return typeof e == "string" && /\s*or\s*/i.test(e)
  }
  isProp(e) {
    return typeof e == "object" && e.length === 1 && typeof e[0] == "string"
  }
  normalize(e) {
    if (typeof e != "object") return e;
    if (e = e.filter(r => r !== ""), typeof e[0] == "string") {
      let r = e[0].trim();
      if (r.includes(":") || r === "selector" || r === "not selector") return [WB.stringify(e)]
    }
    return e.map(r => this.normalize(r))
  }
  parse(e) {
    let r = e.split(":"),
      n = r[0],
      i = r[1];
    return i || (i = ""), [n.trim(), i.trim()]
  }
  prefixed(e) {
    let r = this.virtual(e);
    if (this.disabled(r.first)) return r.nodes;
    let n = {
        warn: () => null
      },
      i = this.prefixer().add[r.first.prop];
    i && i.process && i.process(r.first, n);
    for (let s of r.nodes) {
      for (let o of this.prefixer().values("add", r.first.prop)) o.process(s);
      jV.save(this.all, s)
    }
    return r.nodes
  }
  prefixer() {
    if (this.prefixerCache) return this.prefixerCache;
    let e = this.all.browsers.selected.filter(n => N5.includes(n)),
      r = new kV(this.all.browsers.data, e, this.all.options);
    return this.prefixerCache = new this.Prefixes(this.all.data, r, this.all.options), this.prefixerCache
  }
  process(e) {
    let r = WB.parse(e.params);
    r = this.normalize(r), r = this.remove(r, e.params), r = this.add(r, e.params), r = this.cleanBrackets(r), e.params = WB.stringify(r)
  }
  remove(e, r) {
    let n = 0;
    for (; n < e.length;) {
      if (!this.isNot(e[n - 1]) && this.isProp(e[n]) && this.isOr(e[n + 1])) {
        if (this.toRemove(e[n][0], r)) {
          e.splice(n, 2);
          continue
        }
        n += 2;
        continue
      }
      typeof e[n] == "object" && (e[n] = this.remove(e[n], r)), n += 1
    }
    return e
  }
  toRemove(e, r) {
    let [n, i] = this.parse(e), s = this.all.unprefixed(n), o = this.all.cleaner();
    if (o.remove[n] && o.remove[n].remove && !this.isHack(r, s)) return !0;
    for (let a of o.values("remove", s))
      if (a.check(i)) return !0;
    return !1
  }
  virtual(e) {
    let [r, n] = this.parse(e), i = SV("a{}").first;
    return i.append({
      prop: r,
      raws: {
        before: ""
      },
      value: n
    }), i
  }
};
var _V = PV;
let OV = class {
  constructor(e, r) {
    this.prefix = r, this.prefixed = e.prefixed(this.prefix), this.regexp = e.regexp(this.prefix), this.prefixeds = e.possible().map(n => [e.prefixed(n), e.regexp(n)]), this.unprefixed = e.name, this.nameRegexp = e.regexp()
  }
  check(e) {
    return !(!e.selector.includes(this.prefixed) || !e.selector.match(this.regexp) || this.isHack(e))
  }
  isHack(e) {
    let r = e.parent.index(e) + 1,
      n = e.parent.nodes;
    for (; r < n.length;) {
      let i = n[r].selector;
      if (!i) return !0;
      if (i.includes(this.unprefixed) && i.match(this.nameRegexp)) return !1;
      let s = !1;
      for (let [o, a] of this.prefixeds)
        if (i.includes(o) && i.match(a)) {
          s = !0;
          break
        } if (!s) return !0;
      r += 1
    }
    return !0
  }
};
var IV = OV;
let {
  list: NV
} = Ii, TV = IV, RV = fl, FV = Ni, MV = je, LV = class extends RV {
  constructor(e, r, n) {
    super(e, r, n), this.regexpCache = new Map
  }
  add(e, r) {
    let n = this.prefixeds(e);
    if (this.already(e, n, r)) return;
    let i = this.clone(e, {
      selector: n[this.name][r]
    });
    e.parent.insertBefore(e, i)
  }
  already(e, r, n) {
    let i = e.parent.index(e) - 1;
    for (; i >= 0;) {
      let s = e.parent.nodes[i];
      if (s.type !== "rule") return !1;
      let o = !1;
      for (let a in r[this.name]) {
        let l = r[this.name][a];
        if (s.selector === l) {
          if (n === a) return !0;
          o = !0;
          break
        }
      }
      if (!o) return !1;
      i -= 1
    }
    return !1
  }
  check(e) {
    return e.selector.includes(this.name) ? !!e.selector.match(this.regexp()) : !1
  }
  old(e) {
    return new TV(this, e)
  }
  possible() {
    return FV.prefixes()
  }
  prefixed(e) {
    return this.name.replace(/^(\W*)/, `$1${e}`)
  }
  prefixeds(e) {
    if (e._autoprefixerPrefixeds) {
      if (e._autoprefixerPrefixeds[this.name]) return e._autoprefixerPrefixeds
    } else e._autoprefixerPrefixeds = {};
    let r = {};
    if (e.selector.includes(",")) {
      let i = NV.comma(e.selector).filter(s => s.includes(this.name));
      for (let s of this.possible()) r[s] = i.map(o => this.replace(o, s)).join(", ")
    } else
      for (let n of this.possible()) r[n] = this.replace(e.selector, n);
    return e._autoprefixerPrefixeds[this.name] = r, e._autoprefixerPrefixeds
  }
  regexp(e) {
    if (!this.regexpCache.has(e)) {
      let r = e ? this.prefixed(e) : this.name;
      this.regexpCache.set(e, new RegExp(`(^|[^:"'=])${MV.escapeRegexp(r)}`, "gi"))
    }
    return this.regexpCache.get(e)
  }
  replace(e, r) {
    return e.replace(this.regexp(), `$1${this.prefixed(r)}`)
  }
};
var Zs = LV;
let UV = fl,
  zV = class extends UV {
    add(e, r) {
      let n = r + e.name;
      if (e.parent.some(o => o.name === n && o.params === e.params)) return;
      let s = this.clone(e, {
        name: n
      });
      return e.parent.insertBefore(e, s)
    }
    process(e) {
      let r = this.parentPrefix(e);
      for (let n of this.prefixes)(!r || r === n) && this.add(e, n)
    }
  };
var WV = zV;
let $V = Zs;
class T5 extends $V {
  prefixed(e) {
    return e === "-webkit-" ? ":-webkit-full-screen" : e === "-moz-" ? ":-moz-full-screen" : `:${e}fullscreen`
  }
}
T5.names = [":fullscreen"];
var HV = T5;
let GV = Zs;
class R5 extends GV {
  possible() {
    return super.possible().concat(["-moz- old", "-ms- old"])
  }
  prefixed(e) {
    return e === "-webkit-" ? "::-webkit-input-placeholder" : e === "-ms-" ? "::-ms-input-placeholder" : e === "-ms- old" ? ":-ms-input-placeholder" : e === "-moz- old" ? ":-moz-placeholder" : `::${e}placeholder`
  }
}
R5.names = ["::placeholder"];
var qV = R5;
let VV = Zs;
class F5 extends VV {
  prefixed(e) {
    return e === "-ms-" ? ":-ms-input-placeholder" : `:${e}placeholder-shown`
  }
}
F5.names = [":placeholder-shown"];
var KV = F5;
let QV = Zs,
  JV = je;
class M5 extends QV {
  constructor(e, r, n) {
    super(e, r, n), this.prefixes && (this.prefixes = JV.uniq(this.prefixes.map(() => "-webkit-")))
  }
  prefixed(e) {
    return e === "-webkit-" ? "::-webkit-file-upload-button" : `::${e}file-selector-button`
  }
}
M5.names = ["::file-selector-button"];
var YV = M5,
  er = function (t) {
    let e;
    return t === "-webkit- 2009" || t === "-moz-" ? e = 2009 : t === "-ms-" ? e = 2012 : t === "-webkit-" && (e = "final"), t === "-webkit- 2009" && (t = "-webkit-"), [e, t]
  };
let Rw = Ii.list,
  Fw = er,
  XV = le,
  Bg = class L5 extends XV {
    normalize() {
      return "flex"
    }
    prefixed(e, r) {
      let n;
      return [n, r] = Fw(r), n === 2009 ? r + "box-flex" : super.prefixed(e, r)
    }
    set(e, r) {
      let n = Fw(r)[0];
      if (n === 2009) return e.value = Rw.space(e.value)[0], e.value = L5.oldValues[e.value] || e.value, super.set(e, r);
      if (n === 2012) {
        let i = Rw.space(e.value);
        i.length === 3 && i[2] === "0" && (e.value = i.slice(0, 2).concat("0px").join(" "))
      }
      return super.set(e, r)
    }
  };
Bg.names = ["flex", "box-flex"];
Bg.oldValues = {
  auto: "1",
  none: "0"
};
var ZV = Bg;
let Mw = er,
  eK = le;
class U5 extends eK {
  normalize() {
    return "order"
  }
  prefixed(e, r) {
    let n;
    return [n, r] = Mw(r), n === 2009 ? r + "box-ordinal-group" : n === 2012 ? r + "flex-order" : super.prefixed(e, r)
  }
  set(e, r) {
    return Mw(r)[0] === 2009 && /\d/.test(e.value) ? (e.value = (parseInt(e.value) + 1).toString(), super.set(e, r)) : super.set(e, r)
  }
}
U5.names = ["order", "flex-order", "box-ordinal-group"];
var tK = U5;
let rK = le;
class z5 extends rK {
  check(e) {
    let r = e.value;
    return !r.toLowerCase().includes("alpha(") && !r.includes("DXImageTransform.Microsoft") && !r.includes("data:image/svg+xml")
  }
}
z5.names = ["filter"];
var nK = z5;
let iK = le,
  {
    isPureNumber: sK
  } = je;
class W5 extends iK {
  insert(e, r, n, i) {
    if (r !== "-ms-") return super.insert(e, r, n);
    let s = this.clone(e),
      o = e.prop.replace(/end$/, "start"),
      a = r + e.prop.replace(/end$/, "span");
    if (!e.parent.some(l => l.prop === a)) {
      if (s.prop = a, e.value.includes("span")) s.value = e.value.replace(/span\s/i, "");
      else {
        let l;
        if (e.parent.walkDecls(o, u => {
            l = u
          }), l)
          if (sK(l.value)) {
            let u = Number(e.value) - Number(l.value) + "";
            s.value = u
          } else return;
        else e.warn(i, `Can not prefix ${e.prop} (${o} is not found)`)
      }
      e.cloneBefore(s)
    }
  }
}
W5.names = ["grid-row-end", "grid-column-end"];
var oK = W5;
let aK = le;
class $5 extends aK {
  check(e) {
    return !e.value.split(/\s+/).some(r => {
      let n = r.toLowerCase();
      return n === "reverse" || n === "alternate-reverse"
    })
  }
}
$5.names = ["animation", "animation-direction"];
var lK = $5;
let uK = er,
  cK = le;
class H5 extends cK {
  insert(e, r, n) {
    let i;
    if ([i, r] = uK(r), i !== 2009) return super.insert(e, r, n);
    let s = e.value.split(/\s+/).filter(d => d !== "wrap" && d !== "nowrap" && "wrap-reverse");
    if (s.length === 0 || e.parent.some(d => d.prop === r + "box-orient" || d.prop === r + "box-direction")) return;
    let a = s[0],
      l = a.includes("row") ? "horizontal" : "vertical",
      u = a.includes("reverse") ? "reverse" : "normal",
      c = this.clone(e);
    return c.prop = r + "box-orient", c.value = l, this.needCascade(e) && (c.raws.before = this.calcBefore(n, e, r)), e.parent.insertBefore(e, c), c = this.clone(e), c.prop = r + "box-direction", c.value = u, this.needCascade(e) && (c.raws.before = this.calcBefore(n, e, r)), e.parent.insertBefore(e, c)
  }
}
H5.names = ["flex-flow", "box-direction", "box-orient"];
var dK = H5;
let fK = er,
  BK = le;
class G5 extends BK {
  normalize() {
    return "flex"
  }
  prefixed(e, r) {
    let n;
    return [n, r] = fK(r), n === 2009 ? r + "box-flex" : n === 2012 ? r + "flex-positive" : super.prefixed(e, r)
  }
}
G5.names = ["flex-grow", "flex-positive"];
var hK = G5;
let pK = er,
  CK = le;
class q5 extends CK {
  set(e, r) {
    if (pK(r)[0] !== 2009) return super.set(e, r)
  }
}
q5.names = ["flex-wrap"];
var mK = q5;
let gK = le,
  Wi = $e;
class V5 extends gK {
  insert(e, r, n, i) {
    if (r !== "-ms-") return super.insert(e, r, n);
    let s = Wi.parse(e),
      [o, a] = Wi.translate(s, 0, 2),
      [l, u] = Wi.translate(s, 1, 3);
    [
      ["grid-row", o],
      ["grid-row-span", a],
      ["grid-column", l],
      ["grid-column-span", u]
    ].forEach(([c, d]) => {
      Wi.insertDecl(e, c, d)
    }), Wi.warnTemplateSelectorNotFound(e, i), Wi.warnIfGridRowColumnExists(e, i)
  }
}
V5.names = ["grid-area"];
var vK = V5;
let yK = le,
  vo = $e;
class K5 extends yK {
  insert(e, r, n) {
    if (r !== "-ms-") return super.insert(e, r, n);
    if (e.parent.some(o => o.prop === "-ms-grid-row-align")) return;
    let [
      [i, s]
    ] = vo.parse(e);
    s ? (vo.insertDecl(e, "grid-row-align", i), vo.insertDecl(e, "grid-column-align", s)) : (vo.insertDecl(e, "grid-row-align", i), vo.insertDecl(e, "grid-column-align", i))
  }
}
K5.names = ["place-self"];
var wK = K5;
let bK = le;
class Q5 extends bK {
  check(e) {
    let r = e.value;
    return !r.includes("/") && !r.includes("span")
  }
  normalize(e) {
    return e.replace("-start", "")
  }
  prefixed(e, r) {
    let n = super.prefixed(e, r);
    return r === "-ms-" && (n = n.replace("-start", "")), n
  }
}
Q5.names = ["grid-row-start", "grid-column-start"];
var DK = Q5;
let Lw = er,
  xK = le;
class hl extends xK {
  check(e) {
    return e.parent && !e.parent.some(r => r.prop && r.prop.startsWith("grid-"))
  }
  normalize() {
    return "align-self"
  }
  prefixed(e, r) {
    let n;
    return [n, r] = Lw(r), n === 2012 ? r + "flex-item-align" : super.prefixed(e, r)
  }
  set(e, r) {
    let n = Lw(r)[0];
    if (n === 2012) return e.value = hl.oldValues[e.value] || e.value, super.set(e, r);
    if (n === "final") return super.set(e, r)
  }
}
hl.names = ["align-self", "flex-item-align"];
hl.oldValues = {
  "flex-end": "end",
  "flex-start": "start"
};
var EK = hl;
let SK = le,
  kK = je;
class J5 extends SK {
  constructor(e, r, n) {
    super(e, r, n), this.prefixes && (this.prefixes = kK.uniq(this.prefixes.map(i => i === "-ms-" ? "-webkit-" : i)))
  }
}
J5.names = ["appearance"];
var jK = J5;
let Uw = er,
  AK = le;
class Y5 extends AK {
  normalize() {
    return "flex-basis"
  }
  prefixed(e, r) {
    let n;
    return [n, r] = Uw(r), n === 2012 ? r + "flex-preferred-size" : super.prefixed(e, r)
  }
  set(e, r) {
    let n;
    if ([n, r] = Uw(r), n === 2012 || n === "final") return super.set(e, r)
  }
}
Y5.names = ["flex-basis", "flex-preferred-size"];
var PK = Y5;
let _K = le;
class X5 extends _K {
  normalize() {
    return this.name.replace("box-image", "border")
  }
  prefixed(e, r) {
    let n = super.prefixed(e, r);
    return r === "-webkit-" && (n = n.replace("border", "box-image")), n
  }
}
X5.names = ["mask-border", "mask-border-source", "mask-border-slice", "mask-border-width", "mask-border-outset", "mask-border-repeat", "mask-box-image", "mask-box-image-source", "mask-box-image-slice", "mask-box-image-width", "mask-box-image-outset", "mask-box-image-repeat"];
var OK = X5;
let IK = le;
class Xr extends IK {
  insert(e, r, n) {
    let i = e.prop === "mask-composite",
      s;
    i ? s = e.value.split(",") : s = e.value.match(Xr.regexp) || [], s = s.map(u => u.trim()).filter(u => u);
    let o = s.length,
      a;
    if (o && (a = this.clone(e), a.value = s.map(u => Xr.oldValues[u] || u).join(", "), s.includes("intersect") && (a.value += ", xor"), a.prop = r + "mask-composite"), i) return o ? (this.needCascade(e) && (a.raws.before = this.calcBefore(n, e, r)), e.parent.insertBefore(e, a)) : void 0;
    let l = this.clone(e);
    return l.prop = r + l.prop, o && (l.value = l.value.replace(Xr.regexp, "")), this.needCascade(e) && (l.raws.before = this.calcBefore(n, e, r)), e.parent.insertBefore(e, l), o ? (this.needCascade(e) && (a.raws.before = this.calcBefore(n, e, r)), e.parent.insertBefore(e, a)) : e
  }
}
Xr.names = ["mask", "mask-composite"];
Xr.oldValues = {
  add: "source-over",
  exclude: "xor",
  intersect: "source-in",
  subtract: "source-out"
};
Xr.regexp = new RegExp(`\\s+(${Object.keys(Xr.oldValues).join("|")})\\b(?!\\))\\s*(?=[,])`, "ig");
var NK = Xr;
let zw = er,
  TK = le;
class pl extends TK {
  normalize() {
    return "align-items"
  }
  prefixed(e, r) {
    let n;
    return [n, r] = zw(r), n === 2009 ? r + "box-align" : n === 2012 ? r + "flex-align" : super.prefixed(e, r)
  }
  set(e, r) {
    let n = zw(r)[0];
    return (n === 2009 || n === 2012) && (e.value = pl.oldValues[e.value] || e.value), super.set(e, r)
  }
}
pl.names = ["align-items", "flex-align", "box-align"];
pl.oldValues = {
  "flex-end": "end",
  "flex-start": "start"
};
var RK = pl;
let FK = le;
class Z5 extends FK {
  insert(e, r, n) {
    if (!(e.value === "all" && r === "-ms-")) return e.value === "contain" && (r === "-moz-" || r === "-webkit-") ? void 0 : super.insert(e, r, n)
  }
  set(e, r) {
    return r === "-ms-" && e.value === "contain" && (e.value = "element"), super.set(e, r)
  }
}
Z5.names = ["user-select"];
var MK = Z5;
let Ww = er,
  LK = le;
class e7 extends LK {
  normalize() {
    return "flex-shrink"
  }
  prefixed(e, r) {
    let n;
    return [n, r] = Ww(r), n === 2012 ? r + "flex-negative" : super.prefixed(e, r)
  }
  set(e, r) {
    let n;
    if ([n, r] = Ww(r), n === 2012 || n === "final") return super.set(e, r)
  }
}
e7.names = ["flex-shrink", "flex-negative"];
var UK = e7;
let zK = le;
class t7 extends zK {
  insert(e, r, n) {
    if (e.prop !== "break-inside") return super.insert(e, r, n);
    if (!(/region/i.test(e.value) || /page/i.test(e.value))) return super.insert(e, r, n)
  }
  normalize(e) {
    return e.includes("inside") ? "break-inside" : e.includes("before") ? "break-before" : "break-after"
  }
  prefixed(e, r) {
    return `${r}column-${e}`
  }
  set(e, r) {
    return (e.prop === "break-inside" && e.value === "avoid-column" || e.value === "avoid-page") && (e.value = "avoid"), super.set(e, r)
  }
}
t7.names = ["break-inside", "page-break-inside", "column-break-inside", "break-before", "page-break-before", "column-break-before", "break-after", "page-break-after", "column-break-after"];
var WK = t7;
let $K = le;
class Cl extends $K {
  insert(e, r, n) {
    if (r === "-ms-") {
      let i = this.set(this.clone(e), r);
      this.needCascade(e) && (i.raws.before = this.calcBefore(n, e, r));
      let s = "ltr";
      return e.parent.nodes.forEach(o => {
        o.prop === "direction" && (o.value === "rtl" || o.value === "ltr") && (s = o.value)
      }), i.value = Cl.msValues[s][e.value] || e.value, e.parent.insertBefore(e, i)
    }
    return super.insert(e, r, n)
  }
}
Cl.names = ["writing-mode"];
Cl.msValues = {
  ltr: {
    "horizontal-tb": "lr-tb",
    "vertical-lr": "tb-lr",
    "vertical-rl": "tb-rl"
  },
  rtl: {
    "horizontal-tb": "rl-tb",
    "vertical-lr": "bt-lr",
    "vertical-rl": "bt-rl"
  }
};
var HK = Cl;
let GK = le;
class r7 extends GK {
  set(e, r) {
    return e.value = e.value.replace(/\s+fill(\s)/, "$1"), super.set(e, r)
  }
}
r7.names = ["border-image"];
var qK = r7;
let $w = er,
  VK = le;
class ml extends VK {
  normalize() {
    return "align-content"
  }
  prefixed(e, r) {
    let n;
    return [n, r] = $w(r), n === 2012 ? r + "flex-line-pack" : super.prefixed(e, r)
  }
  set(e, r) {
    let n = $w(r)[0];
    if (n === 2012) return e.value = ml.oldValues[e.value] || e.value, super.set(e, r);
    if (n === "final") return super.set(e, r)
  }
}
ml.names = ["align-content", "flex-line-pack"];
ml.oldValues = {
  "flex-end": "end",
  "flex-start": "start",
  "space-around": "distribute",
  "space-between": "justify"
};
var KK = ml;
let QK = le;
class wr extends QK {
  normalize(e) {
    return wr.toNormal[e] || e
  }
  prefixed(e, r) {
    return r === "-moz-" ? r + (wr.toMozilla[e] || e) : super.prefixed(e, r)
  }
}
wr.names = ["border-radius"];
wr.toMozilla = {};
wr.toNormal = {};
for (let t of ["top", "bottom"])
  for (let e of ["left", "right"]) {
    let r = `border-${t}-${e}-radius`,
      n = `border-radius-${t}${e}`;
    wr.names.push(r), wr.names.push(n), wr.toMozilla[r] = n, wr.toNormal[n] = r
  }
var JK = wr;
let YK = le;
class n7 extends YK {
  normalize(e) {
    return e.includes("-before") ? e.replace("-before", "-block-start") : e.replace("-after", "-block-end")
  }
  prefixed(e, r) {
    return e.includes("-start") ? r + e.replace("-block-start", "-before") : r + e.replace("-block-end", "-after")
  }
}
n7.names = ["border-block-start", "border-block-end", "margin-block-start", "margin-block-end", "padding-block-start", "padding-block-end", "border-before", "border-after", "margin-before", "margin-after", "padding-before", "padding-after"];
var XK = n7;
let ZK = le,
  {
    getGridGap: eQ,
    inheritGridGap: tQ,
    parseTemplate: rQ,
    warnGridGap: nQ,
    warnMissedAreas: iQ
  } = $e;
class i7 extends ZK {
  insert(e, r, n, i) {
    if (r !== "-ms-") return super.insert(e, r, n);
    if (e.parent.some(B => B.prop === "-ms-grid-rows")) return;
    let s = eQ(e),
      o = tQ(e, s),
      {
        areas: a,
        columns: l,
        rows: u
      } = rQ({
        decl: e,
        gap: o || s
      }),
      c = Object.keys(a).length > 0,
      d = !!u,
      f = !!l;
    return nQ({
      decl: e,
      gap: s,
      hasColumns: f,
      result: i
    }), iQ(a, e, i), (d && f || c) && e.cloneBefore({
      prop: "-ms-grid-rows",
      raws: {},
      value: u
    }), f && e.cloneBefore({
      prop: "-ms-grid-columns",
      raws: {},
      value: l
    }), e
  }
}
i7.names = ["grid-template"];
var sQ = i7;
let oQ = le;
class s7 extends oQ {
  normalize(e) {
    return e.replace(/(margin|padding|border)-(start|end)/, "$1-inline-$2")
  }
  prefixed(e, r) {
    return r + e.replace("-inline", "")
  }
}
s7.names = ["border-inline-start", "border-inline-end", "margin-inline-start", "margin-inline-end", "padding-inline-start", "padding-inline-end", "border-start", "border-end", "margin-start", "margin-end", "padding-start", "padding-end"];
var aQ = s7;
let lQ = le;
class o7 extends lQ {
  check(e) {
    return !e.value.includes("flex-") && e.value !== "baseline"
  }
  normalize() {
    return "align-self"
  }
  prefixed(e, r) {
    return r + "grid-row-align"
  }
}
o7.names = ["grid-row-align"];
var uQ = o7;
let cQ = le;
class gl extends cQ {
  contain3d(e) {
    if (e.prop === "transform-origin") return !1;
    for (let r of gl.functions3d)
      if (e.value.includes(`${r}(`)) return !0;
    return !1
  }
  insert(e, r, n) {
    if (r === "-ms-") {
      if (!this.contain3d(e) && !this.keyframeParents(e)) return super.insert(e, r, n)
    } else if (r === "-o-") {
      if (!this.contain3d(e)) return super.insert(e, r, n)
    } else return super.insert(e, r, n)
  }
  keyframeParents(e) {
    let {
      parent: r
    } = e;
    for (; r;) {
      if (r.type === "atrule" && r.name === "keyframes") return !0;
      ({
        parent: r
      } = r)
    }
    return !1
  }
  set(e, r) {
    return e = super.set(e, r), r === "-ms-" && (e.value = e.value.replace(/rotatez/gi, "rotate")), e
  }
}
gl.names = ["transform", "transform-origin"];
gl.functions3d = ["matrix3d", "translate3d", "translateZ", "scale3d", "scaleZ", "rotate3d", "rotateX", "rotateY", "perspective"];
var dQ = gl;
let Hw = er,
  fQ = le;
class a7 extends fQ {
  insert(e, r, n) {
    let i;
    if ([i, r] = Hw(r), i !== 2009) return super.insert(e, r, n);
    if (e.parent.some(c => c.prop === r + "box-orient" || c.prop === r + "box-direction")) return;
    let o = e.value,
      a, l;
    o === "inherit" || o === "initial" || o === "unset" ? (a = o, l = o) : (a = o.includes("row") ? "horizontal" : "vertical", l = o.includes("reverse") ? "reverse" : "normal");
    let u = this.clone(e);
    return u.prop = r + "box-orient", u.value = a, this.needCascade(e) && (u.raws.before = this.calcBefore(n, e, r)), e.parent.insertBefore(e, u), u = this.clone(e), u.prop = r + "box-direction", u.value = l, this.needCascade(e) && (u.raws.before = this.calcBefore(n, e, r)), e.parent.insertBefore(e, u)
  }
  normalize() {
    return "flex-direction"
  }
  old(e, r) {
    let n;
    return [n, r] = Hw(r), n === 2009 ? [r + "box-orient", r + "box-direction"] : super.old(e, r)
  }
}
a7.names = ["flex-direction", "box-direction", "box-orient"];
var BQ = a7;
let hQ = le;
class l7 extends hQ {
  check(e) {
    return e.value === "pixelated"
  }
  normalize() {
    return "image-rendering"
  }
  prefixed(e, r) {
    return r === "-ms-" ? "-ms-interpolation-mode" : super.prefixed(e, r)
  }
  process(e, r) {
    return super.process(e, r)
  }
  set(e, r) {
    return r !== "-ms-" ? super.set(e, r) : (e.prop = "-ms-interpolation-mode", e.value = "nearest-neighbor", e)
  }
}
l7.names = ["image-rendering", "interpolation-mode"];
var pQ = l7;
let CQ = le,
  mQ = je;
class u7 extends CQ {
  constructor(e, r, n) {
    super(e, r, n), this.prefixes && (this.prefixes = mQ.uniq(this.prefixes.map(i => i === "-ms-" ? "-webkit-" : i)))
  }
}
u7.names = ["backdrop-filter"];
var gQ = u7;
let vQ = le,
  yQ = je;
class c7 extends vQ {
  constructor(e, r, n) {
    super(e, r, n), this.prefixes && (this.prefixes = yQ.uniq(this.prefixes.map(i => i === "-ms-" ? "-webkit-" : i)))
  }
  check(e) {
    return e.value.toLowerCase() === "text"
  }
}
c7.names = ["background-clip"];
var wQ = c7;
let bQ = le;
const DQ = ["none", "underline", "overline", "line-through", "blink", "inherit", "initial", "unset"];
class d7 extends bQ {
  check(e) {
    return e.value.split(/\s+/).some(r => !DQ.includes(r))
  }
}
d7.names = ["text-decoration"];
var xQ = d7;
let Gw = er,
  EQ = le;
class vl extends EQ {
  normalize() {
    return "justify-content"
  }
  prefixed(e, r) {
    let n;
    return [n, r] = Gw(r), n === 2009 ? r + "box-pack" : n === 2012 ? r + "flex-pack" : super.prefixed(e, r)
  }
  set(e, r) {
    let n = Gw(r)[0];
    if (n === 2009 || n === 2012) {
      let i = vl.oldValues[e.value] || e.value;
      if (e.value = i, n !== 2009 || i !== "distribute") return super.set(e, r)
    } else if (n === "final") return super.set(e, r)
  }
}
vl.names = ["justify-content", "flex-pack", "box-pack"];
vl.oldValues = {
  "flex-end": "end",
  "flex-start": "start",
  "space-around": "distribute",
  "space-between": "justify"
};
var SQ = vl;
let kQ = le;
class f7 extends kQ {
  set(e, r) {
    let n = e.value.toLowerCase();
    return r === "-webkit-" && !n.includes(" ") && n !== "contain" && n !== "cover" && (e.value = e.value + " " + e.value), super.set(e, r)
  }
}
f7.names = ["background-size"];
var jQ = f7;
let AQ = le,
  $B = $e;
class B7 extends AQ {
  insert(e, r, n) {
    if (r !== "-ms-") return super.insert(e, r, n);
    let i = $B.parse(e),
      [s, o] = $B.translate(i, 0, 1);
    i[0] && i[0].includes("span") && (o = i[0].join("").replace(/\D/g, "")), [
      [e.prop, s],
      [`${e.prop}-span`, o]
    ].forEach(([l, u]) => {
      $B.insertDecl(e, l, u)
    })
  }
}
B7.names = ["grid-row", "grid-column"];
var PQ = B7;
let _Q = le,
  {
    autoplaceGridItems: OQ,
    getGridGap: IQ,
    inheritGridGap: NQ,
    prefixTrackProp: qw,
    prefixTrackValue: TQ
  } = $e,
  RQ = P5;
class h7 extends _Q {
  insert(e, r, n, i) {
    if (r !== "-ms-") return super.insert(e, r, n);
    let {
      parent: s,
      prop: o,
      value: a
    } = e, l = o.includes("rows"), u = o.includes("columns"), c = s.some(p => p.prop === "grid-template" || p.prop === "grid-template-areas");
    if (c && l) return !1;
    let d = new RQ({
        options: {}
      }),
      f = d.gridStatus(s, i),
      B = IQ(e);
    B = NQ(e, B) || B;
    let h = l ? B.row : B.column;
    (f === "no-autoplace" || f === !0) && !c && (h = null);
    let g = TQ({
      gap: h,
      value: a
    });
    e.cloneBefore({
      prop: qw({
        prefix: r,
        prop: o
      }),
      value: g
    });
    let y = s.nodes.find(p => p.prop === "grid-auto-flow"),
      m = "row";
    if (y && !d.disabled(y, i) && (m = y.value.trim()), f === "autoplace") {
      let p = s.nodes.find(w => w.prop === "grid-template-rows");
      if (!p && c) return;
      if (!p && !c) {
        e.warn(i, "Autoplacement does not work without grid-template-rows property");
        return
      }!s.nodes.find(w => w.prop === "grid-template-columns") && !c && e.warn(i, "Autoplacement does not work without grid-template-columns property"), u && !c && OQ(e, i, B, m)
    }
  }
  normalize(e) {
    return e.replace(/^grid-(rows|columns)/, "grid-template-$1")
  }
  prefixed(e, r) {
    return r === "-ms-" ? qw({
      prefix: r,
      prop: e
    }) : super.prefixed(e, r)
  }
}
h7.names = ["grid-template-rows", "grid-template-columns", "grid-rows", "grid-columns"];
var FQ = h7;
let MQ = le;
class p7 extends MQ {
  check(e) {
    return !e.value.includes("flex-") && e.value !== "baseline"
  }
  normalize() {
    return "justify-self"
  }
  prefixed(e, r) {
    return r + "grid-column-align"
  }
}
p7.names = ["grid-column-align"];
var LQ = p7;
let UQ = le;
class C7 extends UQ {
  normalize() {
    return "print-color-adjust"
  }
  prefixed(e, r) {
    return r === "-moz-" ? "color-adjust" : r + "print-color-adjust"
  }
}
C7.names = ["print-color-adjust", "color-adjust"];
var zQ = C7;
let WQ = le;
class m7 extends WQ {
  normalize() {
    return "overscroll-behavior"
  }
  prefixed(e, r) {
    return r + "scroll-chaining"
  }
  set(e, r) {
    return e.value === "auto" ? e.value = "chained" : (e.value === "none" || e.value === "contain") && (e.value = "none"), super.set(e, r)
  }
}
m7.names = ["overscroll-behavior", "scroll-chaining"];
var $Q = m7;
let HQ = le,
  {
    getGridGap: GQ,
    inheritGridGap: qQ,
    parseGridAreas: VQ,
    prefixTrackProp: KQ,
    prefixTrackValue: Vw,
    warnGridGap: QQ,
    warnMissedAreas: JQ
  } = $e;

function YQ(t) {
  return t.trim().slice(1, -1).split(/["']\s*["']?/g)
}
class g7 extends HQ {
  insert(e, r, n, i) {
    if (r !== "-ms-") return super.insert(e, r, n);
    let s = !1,
      o = !1,
      a = e.parent,
      l = GQ(e);
    l = qQ(e, l) || l, a.walkDecls(/-ms-grid-rows/, d => d.remove()), a.walkDecls(/grid-template-(rows|columns)/, d => {
      if (d.prop === "grid-template-rows") {
        o = !0;
        let {
          prop: f,
          value: B
        } = d;
        d.cloneBefore({
          prop: KQ({
            prefix: r,
            prop: f
          }),
          value: Vw({
            gap: l.row,
            value: B
          })
        })
      } else s = !0
    });
    let u = YQ(e.value);
    s && !o && l.row && u.length > 1 && e.cloneBefore({
      prop: "-ms-grid-rows",
      raws: {},
      value: Vw({
        gap: l.row,
        value: `repeat(${u.length}, auto)`
      })
    }), QQ({
      decl: e,
      gap: l,
      hasColumns: s,
      result: i
    });
    let c = VQ({
      gap: l,
      rows: u
    });
    return JQ(c, e, i), e
  }
}
g7.names = ["grid-template-areas"];
var XQ = g7;
let ZQ = le;
class v7 extends ZQ {
  set(e, r) {
    return r === "-webkit-" && (e.value = e.value.replace(/\s*(right|left)\s*/i, "")), super.set(e, r)
  }
}
v7.names = ["text-emphasis-position"];
var eJ = v7;
let tJ = le;
class y7 extends tJ {
  set(e, r) {
    return e.prop === "text-decoration-skip-ink" && e.value === "auto" ? (e.prop = r + "text-decoration-skip", e.value = "ink", e) : super.set(e, r)
  }
}
y7.names = ["text-decoration-skip-ink", "text-decoration-skip"];
var rJ = y7,
  nJ = {
    wrap: w7,
    limit: b7,
    validate: D7,
    test: hg,
    curry: iJ,
    name: x7
  };

function w7(t, e, r) {
  var n = e - t;
  return ((r - t) % n + n) % n + t
}

function b7(t, e, r) {
  return Math.max(t, Math.min(e, r))
}

function D7(t, e, r, n, i) {
  if (!hg(t, e, r, n, i)) throw new Error(r + " is outside of range [" + t + "," + e + ")");
  return r
}

function hg(t, e, r, n, i) {
  return !(r < t || r > e || i && r === e || n && r === t)
}

function x7(t, e, r, n) {
  return (r ? "(" : "[") + t + "," + e + (n ? ")" : "]")
}

function iJ(t, e, r, n) {
  var i = x7.bind(null, t, e, r, n);
  return {
    wrap: w7.bind(null, t, e),
    limit: b7.bind(null, t, e),
    validate: function (s) {
      return D7(t, e, s, r, n)
    },
    test: function (s) {
      return hg(t, e, s, r, n)
    },
    toString: i,
    name: i
  }
}
let HB = of,
  sJ = nJ,
  oJ = Bl,
  aJ = jr,
  lJ = je,
  Kw = /top|left|right|bottom/gi;
class Mn extends aJ {
  add(e, r) {
    let n = e.prop;
    if (n.includes("mask")) {
      if (r === "-webkit-" || r === "-webkit- old") return super.add(e, r)
    } else if (n === "list-style" || n === "list-style-image" || n === "content") {
      if (r === "-webkit-" || r === "-webkit- old") return super.add(e, r)
    } else return super.add(e, r)
  }
  cloneDiv(e) {
    for (let r of e)
      if (r.type === "div" && r.value === ",") return r;
    return {
      after: " ",
      type: "div",
      value: ","
    }
  }
  colorStops(e) {
    let r = [];
    for (let n = 0; n < e.length; n++) {
      let i, s = e[n],
        o;
      if (n === 0) continue;
      let a = HB.stringify(s[0]);
      s[1] && s[1].type === "word" ? i = s[1].value : s[2] && s[2].type === "word" && (i = s[2].value);
      let l;
      n === 1 && (!i || i === "0%") ? l = `from(${a})` : n === e.length - 1 && (!i || i === "100%") ? l = `to(${a})` : i ? l = `color-stop(${i}, ${a})` : l = `color-stop(${a})`;
      let u = s[s.length - 1];
      e[n] = [{
        type: "word",
        value: l
      }], u.type === "div" && u.value === "," && (o = e[n].push(u)), r.push(o)
    }
    return r
  }
  convertDirection(e) {
    return e.length > 0 && (e[0].value === "to" ? this.fixDirection(e) : e[0].value.includes("deg") ? this.fixAngle(e) : this.isRadial(e) && this.fixRadial(e)), e
  }
  fixAngle(e) {
    let r = e[0].value;
    r = parseFloat(r), r = Math.abs(450 - r) % 360, r = this.roundFloat(r, 3), e[0].value = `${r}deg`
  }
  fixDirection(e) {
    e.splice(0, 2);
    for (let r of e) {
      if (r.type === "div") break;
      r.type === "word" && (r.value = this.revertDirection(r.value))
    }
  }
  fixRadial(e) {
    let r = [],
      n = [],
      i, s, o, a, l;
    for (a = 0; a < e.length - 2; a++)
      if (i = e[a], s = e[a + 1], o = e[a + 2], i.type === "space" && s.value === "at" && o.type === "space") {
        l = a + 3;
        break
      } else r.push(i);
    let u;
    for (a = l; a < e.length; a++)
      if (e[a].type === "div") {
        u = e[a];
        break
      } else n.push(e[a]);
    e.splice(0, a, ...n, u, ...r)
  }
  isRadial(e) {
    let r = "before";
    for (let n of e)
      if (r === "before" && n.type === "space") r = "at";
      else if (r === "at" && n.value === "at") r = "after";
    else {
      if (r === "after" && n.type === "space") return !0;
      if (n.type === "div") break;
      r = "before"
    }
    return !1
  }
  newDirection(e) {
    if (e[0].value === "to" || (Kw.lastIndex = 0, !Kw.test(e[0].value))) return e;
    e.unshift({
      type: "word",
      value: "to"
    }, {
      type: "space",
      value: " "
    });
    for (let r = 2; r < e.length && e[r].type !== "div"; r++) e[r].type === "word" && (e[r].value = this.revertDirection(e[r].value));
    return e
  }
  normalize(e, r) {
    if (!e[0]) return e;
    if (/-?\d+(.\d+)?grad/.test(e[0].value)) e[0].value = this.normalizeUnit(e[0].value, 400);
    else if (/-?\d+(.\d+)?rad/.test(e[0].value)) e[0].value = this.normalizeUnit(e[0].value, 2 * Math.PI);
    else if (/-?\d+(.\d+)?turn/.test(e[0].value)) e[0].value = this.normalizeUnit(e[0].value, 1);
    else if (e[0].value.includes("deg")) {
      let n = parseFloat(e[0].value);
      n = sJ.wrap(0, 360, n), e[0].value = `${n}deg`
    }
    if (r === "linear-gradient" || r === "repeating-linear-gradient") {
      let n = e[0].value;
      n === "0deg" || n === "0" ? e = this.replaceFirst(e, "to", " ", "top") : n === "90deg" ? e = this.replaceFirst(e, "to", " ", "right") : n === "180deg" ? e = this.replaceFirst(e, "to", " ", "bottom") : n === "270deg" && (e = this.replaceFirst(e, "to", " ", "left"))
    }
    return e
  }
  normalizeUnit(e, r) {
    return `${parseFloat(e)/r*360}deg`
  }
  old(e) {
    if (e === "-webkit-") {
      let r;
      this.name === "linear-gradient" ? r = "linear" : this.name === "repeating-linear-gradient" ? r = "repeating-linear" : this.name === "repeating-radial-gradient" ? r = "repeating-radial" : r = "radial";
      let n = "-gradient",
        i = lJ.regexp(`-webkit-(${r}-gradient|gradient\\(\\s*${r})`, !1);
      return new oJ(this.name, e + this.name, n, i)
    } else return super.old(e)
  }
  oldDirection(e) {
    let r = this.cloneDiv(e[0]);
    if (e[0][0].value !== "to") return e.unshift([{
      type: "word",
      value: Mn.oldDirections.bottom
    }, r]); {
      let n = [];
      for (let s of e[0].slice(2)) s.type === "word" && n.push(s.value.toLowerCase());
      n = n.join(" ");
      let i = Mn.oldDirections[n] || n;
      return e[0] = [{
        type: "word",
        value: i
      }, r], e[0]
    }
  }
  oldWebkit(e) {
    let {
      nodes: r
    } = e, n = HB.stringify(e.nodes);
    if (this.name !== "linear-gradient" || r[0] && r[0].value.includes("deg") || n.includes("px") || n.includes("-corner") || n.includes("-side")) return !1;
    let i = [
      []
    ];
    for (let s of r) i[i.length - 1].push(s), s.type === "div" && s.value === "," && i.push([]);
    this.oldDirection(i), this.colorStops(i), e.nodes = [];
    for (let s of i) e.nodes = e.nodes.concat(s);
    return e.nodes.unshift({
      type: "word",
      value: "linear"
    }, this.cloneDiv(e.nodes)), e.value = "-webkit-gradient", !0
  }
  replace(e, r) {
    let n = HB(e);
    for (let i of n.nodes) {
      let s = this.name;
      if (i.type === "function" && i.value === s)
        if (i.nodes = this.newDirection(i.nodes), i.nodes = this.normalize(i.nodes, s), r === "-webkit- old") {
          if (!this.oldWebkit(i)) return !1
        } else i.nodes = this.convertDirection(i.nodes), i.value = r + i.value
    }
    return n.toString()
  }
  replaceFirst(e, ...r) {
    return r.map(i => i === " " ? {
      type: "space",
      value: i
    } : {
      type: "word",
      value: i
    }).concat(e.slice(1))
  }
  revertDirection(e) {
    return Mn.directions[e.toLowerCase()] || e
  }
  roundFloat(e, r) {
    return parseFloat(e.toFixed(r))
  }
}
Mn.names = ["linear-gradient", "repeating-linear-gradient", "radial-gradient", "repeating-radial-gradient"];
Mn.directions = {
  bottom: "top",
  left: "right",
  right: "left",
  top: "bottom"
};
Mn.oldDirections = {
  bottom: "left top, left bottom",
  "bottom left": "right top, left bottom",
  "bottom right": "left top, right bottom",
  left: "right top, left top",
  "left bottom": "right top, left bottom",
  "left top": "right bottom, left top",
  right: "left top, right top",
  "right bottom": "left top, right bottom",
  "right top": "left bottom, right top",
  top: "left bottom, left top",
  "top left": "right bottom, left top",
  "top right": "left bottom, right top"
};
var uJ = Mn;
let cJ = Bl,
  dJ = jr;

function Qw(t) {
  return new RegExp(`(^|[\\s,(])(${t}($|[\\s),]))`, "gi")
}
class E7 extends dJ {
  add(e, r) {
    if (!(e.prop.includes("grid") && r !== "-webkit-")) return super.add(e, r)
  }
  isStretch() {
    return this.name === "stretch" || this.name === "fill" || this.name === "fill-available"
  }
  old(e) {
    let r = e + this.name;
    return this.isStretch() && (e === "-moz-" ? r = "-moz-available" : e === "-webkit-" && (r = "-webkit-fill-available")), new cJ(this.name, r, r, Qw(r))
  }
  regexp() {
    return this.regexpCache || (this.regexpCache = Qw(this.name)), this.regexpCache
  }
  replace(e, r) {
    return r === "-moz-" && this.isStretch() ? e.replace(this.regexp(), "$1-moz-available$3") : r === "-webkit-" && this.isStretch() ? e.replace(this.regexp(), "$1-webkit-fill-available$3") : super.replace(e, r)
  }
}
E7.names = ["max-content", "min-content", "fit-content", "fill", "fill-available", "stretch"];
var fJ = E7;
let Jw = Bl,
  BJ = jr;
class S7 extends BJ {
  old(e) {
    return e === "-webkit-" ? new Jw(this.name, "-webkit-optimize-contrast") : e === "-moz-" ? new Jw(this.name, "-moz-crisp-edges") : super.old(e)
  }
  replace(e, r) {
    return r === "-webkit-" ? e.replace(this.regexp(), "$1-webkit-optimize-contrast") : r === "-moz-" ? e.replace(this.regexp(), "$1-moz-crisp-edges") : super.replace(e, r)
  }
}
S7.names = ["pixelated"];
var hJ = S7;
let pJ = jr;
class k7 extends pJ {
  replace(e, r) {
    let n = super.replace(e, r);
    return r === "-webkit-" && (n = n.replace(/("[^"]+"|'[^']+')(\s+\d+\w)/gi, "url($1)$2")), n
  }
}
k7.names = ["image-set"];
var CJ = k7;
let mJ = Ii.list,
  gJ = jr;
class j7 extends gJ {
  replace(e, r) {
    return mJ.space(e).map(n => {
      if (n.slice(0, +this.name.length + 1) !== this.name + "(") return n;
      let i = n.lastIndexOf(")"),
        s = n.slice(i + 1),
        o = n.slice(this.name.length + 1, i);
      if (r === "-webkit-") {
        let a = o.match(/\d*.?\d+%?/);
        a ? (o = o.slice(a[0].length).trim(), o += `, ${a[0]}`) : o += ", 0.5"
      }
      return r + this.name + "(" + o + ")" + s
    }).join(" ")
  }
}
j7.names = ["cross-fade"];
var vJ = j7;
let yJ = er,
  wJ = Bl,
  bJ = jr;
class A7 extends bJ {
  constructor(e, r) {
    super(e, r), e === "display-flex" && (this.name = "flex")
  }
  check(e) {
    return e.prop === "display" && e.value === this.name
  }
  old(e) {
    let r = this.prefixed(e);
    if (r) return new wJ(this.name, r)
  }
  prefixed(e) {
    let r, n;
    return [r, e] = yJ(e), r === 2009 ? this.name === "flex" ? n = "box" : n = "inline-box" : r === 2012 ? this.name === "flex" ? n = "flexbox" : n = "inline-flexbox" : r === "final" && (n = this.name), e + n
  }
  replace(e, r) {
    return this.prefixed(r)
  }
}
A7.names = ["display-flex", "inline-flex"];
var DJ = A7;
let xJ = jr;
class P7 extends xJ {
  constructor(e, r) {
    super(e, r), e === "display-grid" && (this.name = "grid")
  }
  check(e) {
    return e.prop === "display" && e.value === this.name
  }
}
P7.names = ["display-grid", "inline-grid"];
var EJ = P7;
let SJ = jr;
class _7 extends SJ {
  constructor(e, r) {
    super(e, r), e === "filter-function" && (this.name = "filter")
  }
}
_7.names = ["filter", "filter-function"];
var kJ = _7;
let jJ = Zs,
  AJ = je;
class O7 extends jJ {
  constructor(e, r, n) {
    super(e, r, n), this.prefixes && (this.prefixes = AJ.uniq(this.prefixes.map(() => "-webkit-")))
  }
  prefixed(e) {
    return e === "-webkit-" ? ":-webkit-autofill" : `:${e}autofill`
  }
}
O7.names = [":autofill"];
var PJ = O7;
let Yw = sf,
  ae = le,
  Xw = bq,
  _J = Tq,
  OJ = P5,
  IJ = _V,
  GB = Ni,
  ki = Zs,
  NJ = WV,
  Ur = jr,
  $i = je,
  TJ = HV,
  RJ = qV,
  FJ = KV,
  MJ = YV,
  LJ = ZV,
  UJ = tK,
  zJ = nK,
  WJ = oK,
  $J = lK,
  HJ = dK,
  GJ = hK,
  qJ = mK,
  VJ = vK,
  KJ = wK,
  QJ = DK,
  JJ = EK,
  YJ = jK,
  XJ = PK,
  ZJ = OK,
  eY = NK,
  tY = RK,
  rY = MK,
  nY = UK,
  iY = WK,
  sY = HK,
  oY = qK,
  aY = KK,
  lY = JK,
  uY = XK,
  cY = sQ,
  dY = aQ,
  fY = uQ,
  BY = dQ,
  hY = BQ,
  pY = pQ,
  CY = gQ,
  mY = wQ,
  gY = xQ,
  vY = SQ,
  yY = jQ,
  wY = PQ,
  bY = FQ,
  DY = LQ,
  xY = zQ,
  EY = $Q,
  SY = XQ,
  kY = eJ,
  jY = rJ,
  AY = uJ,
  PY = fJ,
  _Y = hJ,
  OY = CJ,
  IY = vJ,
  NY = DJ,
  TY = EJ,
  RY = kJ,
  FY = PJ;
ki.hack(FY);
ki.hack(TJ);
ki.hack(RJ);
ki.hack(FJ);
ki.hack(MJ);
ae.hack(LJ);
ae.hack(UJ);
ae.hack(zJ);
ae.hack(WJ);
ae.hack($J);
ae.hack(HJ);
ae.hack(GJ);
ae.hack(qJ);
ae.hack(VJ);
ae.hack(KJ);
ae.hack(QJ);
ae.hack(JJ);
ae.hack(YJ);
ae.hack(XJ);
ae.hack(ZJ);
ae.hack(eY);
ae.hack(tY);
ae.hack(rY);
ae.hack(nY);
ae.hack(iY);
ae.hack(sY);
ae.hack(oY);
ae.hack(aY);
ae.hack(lY);
ae.hack(uY);
ae.hack(cY);
ae.hack(dY);
ae.hack(fY);
ae.hack(BY);
ae.hack(hY);
ae.hack(pY);
ae.hack(CY);
ae.hack(mY);
ae.hack(gY);
ae.hack(vY);
ae.hack(yY);
ae.hack(wY);
ae.hack(bY);
ae.hack(DY);
ae.hack(EY);
ae.hack(SY);
ae.hack(xY);
ae.hack(kY);
ae.hack(jY);
Ur.hack(AY);
Ur.hack(PY);
Ur.hack(_Y);
Ur.hack(OY);
Ur.hack(IY);
Ur.hack(NY);
Ur.hack(TY);
Ur.hack(RY);
let qB = new Map,
  MY = class PC {
    constructor(e, r, n = {}) {
      this.data = e, this.browsers = r, this.options = n, [this.add, this.remove] = this.preprocess(this.select(this.data)), this.transition = new _J(this), this.processor = new OJ(this)
    }
    cleaner() {
      if (this.cleanerCache) return this.cleanerCache;
      if (this.browsers.selected.length) {
        let e = new GB(this.browsers.data, []);
        this.cleanerCache = new PC(this.data, e, this.options)
      } else return this;
      return this.cleanerCache
    }
    decl(e) {
      return qB.has(e) || qB.set(e, ae.load(e)), qB.get(e)
    }
    group(e) {
      let r = e.parent,
        n = r.index(e),
        {
          length: i
        } = r.nodes,
        s = this.unprefixed(e.prop),
        o = (a, l) => {
          for (n += a; n >= 0 && n < i;) {
            let u = r.nodes[n];
            if (u.type === "decl") {
              if (a === -1 && u.prop === s && !GB.withPrefix(u.value) || this.unprefixed(u.prop) !== s) break;
              if (l(u) === !0) return !0;
              if (a === 1 && u.prop === s && !GB.withPrefix(u.value)) break
            }
            n += a
          }
          return !1
        };
      return {
        down(a) {
          return o(1, a)
        },
        up(a) {
          return o(-1, a)
        }
      }
    }
    normalize(e) {
      return this.decl(e).normalize(e)
    }
    prefixed(e, r) {
      return e = Yw.unprefixed(e), this.decl(e).prefixed(e, r)
    }
    preprocess(e) {
      let r = {
        "@supports": new IJ(PC, this),
        selectors: []
      };
      for (let i in e.add) {
        let s = e.add[i];
        if (i === "@keyframes" || i === "@viewport") r[i] = new NJ(i, s, this);
        else if (i === "@resolution") r[i] = new Xw(i, s, this);
        else if (this.data[i].selector) r.selectors.push(ki.load(i, s, this));
        else {
          let o = this.data[i].props;
          if (o) {
            let a = Ur.load(i, s, this);
            for (let l of o) r[l] || (r[l] = {
              values: []
            }), r[l].values.push(a)
          } else {
            let a = r[i] && r[i].values || [];
            r[i] = ae.load(i, s, this), r[i].values = a
          }
        }
      }
      let n = {
        selectors: []
      };
      for (let i in e.remove) {
        let s = e.remove[i];
        if (this.data[i].selector) {
          let o = ki.load(i, s);
          for (let a of s) n.selectors.push(o.old(a))
        } else if (i === "@keyframes" || i === "@viewport")
          for (let o of s) {
            let a = `@${o}${i.slice(1)}`;
            n[a] = {
              remove: !0
            }
          } else if (i === "@resolution") n[i] = new Xw(i, s, this);
          else {
            let o = this.data[i].props;
            if (o) {
              let a = Ur.load(i, [], this);
              for (let l of s) {
                let u = a.old(l);
                if (u)
                  for (let c of o) n[c] || (n[c] = {}), n[c].values || (n[c].values = []), n[c].values.push(u)
              }
            } else
              for (let a of s) {
                let l = this.decl(i).old(i, a);
                if (i === "align-self") {
                  let u = r[i] && r[i].prefixes;
                  if (u) {
                    if (a === "-webkit- 2009" && u.includes("-webkit-")) continue;
                    if (a === "-webkit-" && u.includes("-webkit- 2009")) continue
                  }
                }
                for (let u of l) n[u] || (n[u] = {}), n[u].remove = !0
              }
          }
      }
      return [r, n]
    }
    select(e) {
      let r = {
        add: {},
        remove: {}
      };
      for (let n in e) {
        let i = e[n],
          s = i.browsers.map(l => {
            let u = l.split(" ");
            return {
              browser: `${u[0]} ${u[1]}`,
              note: u[2]
            }
          }),
          o = s.filter(l => l.note).map(l => `${this.browsers.prefix(l.browser)} ${l.note}`);
        o = $i.uniq(o), s = s.filter(l => this.browsers.isSelected(l.browser)).map(l => {
          let u = this.browsers.prefix(l.browser);
          return l.note ? `${u} ${l.note}` : u
        }), s = this.sort($i.uniq(s)), this.options.flexbox === "no-2009" && (s = s.filter(l => !l.includes("2009")));
        let a = i.browsers.map(l => this.browsers.prefix(l));
        i.mistakes && (a = a.concat(i.mistakes)), a = a.concat(o), a = $i.uniq(a), s.length ? (r.add[n] = s, s.length < a.length && (r.remove[n] = a.filter(l => !s.includes(l)))) : r.remove[n] = a
      }
      return r
    }
    sort(e) {
      return e.sort((r, n) => {
        let i = $i.removeNote(r).length,
          s = $i.removeNote(n).length;
        return i === s ? n.length - r.length : s - i
      })
    }
    unprefixed(e) {
      let r = this.normalize(Yw.unprefixed(e));
      return r === "flex-direction" && (r = "flex-flow"), r
    }
    values(e, r) {
      let n = this[e],
        i = n["*"] && n["*"].values,
        s = n[r] && n[r].values;
      return i && s ? $i.uniq(i.concat(s)) : i || s || []
    }
  };
var LY = MY,
  VB, Zw;

function UY() {
  return Zw || (Zw = 1, VB = {
    A: {
      A: {
        1: "G A B",
        2: "K E F bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        257: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB",
        289: "DC fC gC",
        292: "cC"
      },
      D: {
        1: "0 1 2 3 4 5 6 7 8 9 GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        33: "J"
      },
      E: {
        1: "GB E F G A B C L M H kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        33: "J hC KC",
        129: "K iC jC"
      },
      F: {
        1: "0 B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u uC vC 7B ZC wC 8B",
        2: "G sC tC"
      },
      G: {
        1: "F xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        33: "KC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "DC J D LD MD ND aC OD PD",
        33: "KD"
      },
      J: {
        1: "E A"
      },
      K: {
        1: "B C I 7B ZC 8B",
        2: "A"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        1: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        257: "dD"
      }
    },
    B: 4,
    C: "CSS3 Border-radius (rounded corners)",
    D: !0
  }), VB
}
var KB, eb;

function zY() {
  return eb || (eb = 1, KB = {
    A: {
      A: {
        1: "G A B",
        2: "K E F bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "0 1 2 3 4 5 6 7 8 9 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC",
        33: "fC gC"
      },
      D: {
        1: "0 1 2 3 4 5 6 7 8 9 A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        33: "J GB K E F G"
      },
      E: {
        1: "K E F G A B C L M H iC jC kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        33: "GB",
        164: "J hC KC"
      },
      F: {
        1: "0 B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u uC vC 7B ZC wC 8B",
        2: "G sC tC"
      },
      G: {
        1: "F yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        33: "xC aC",
        164: "KC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "J D ND aC OD PD",
        164: "DC KD LD MD"
      },
      J: {
        1: "A",
        33: "E"
      },
      K: {
        1: "B C I 7B ZC 8B",
        2: "A"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        1: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 4,
    C: "CSS3 Box-shadow",
    D: !0
  }), KB
}
var QB, tb;

function WY() {
  return tb || (tb = 1, QB = {
    A: {
      A: {
        1: "A B",
        2: "K E F G bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "0 1 2 3 4 5 6 7 8 9 N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J fC gC",
        33: "GB K E F G A B C L M H"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        33: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB"
      },
      E: {
        1: "G A B C L M H lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "hC KC",
        33: "K E F iC jC kC",
        292: "J GB"
      },
      F: {
        1: "MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u 8B",
        2: "G B sC tC uC vC 7B ZC wC",
        33: "0 C H N O P HB v w x y z IB JB KB LB"
      },
      G: {
        1: "2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        33: "F zC 0C 1C",
        164: "KC xC aC yC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        33: "J ND aC OD PD",
        164: "DC KD LD MD"
      },
      J: {
        33: "E A"
      },
      K: {
        1: "I 8B",
        2: "A B C 7B ZC"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        1: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 5,
    C: "CSS Animation",
    D: !0
  }), QB
}
var JB, rb;

function $Y() {
  return rb || (rb = 1, JB = {
    A: {
      A: {
        1: "A B",
        2: "K E F G bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "0 1 2 3 4 5 6 7 8 9 N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC fC gC",
        33: "GB K E F G A B C L M H",
        164: "J"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        33: "0 J GB K E F G A B C L M H N O P HB v w x y z"
      },
      E: {
        1: "E F G A B C L M H jC kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        33: "K iC",
        164: "J GB hC KC"
      },
      F: {
        1: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u 8B",
        2: "G sC tC",
        33: "C",
        164: "B uC vC 7B ZC wC"
      },
      G: {
        1: "F 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        33: "zC",
        164: "KC xC aC yC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D OD PD",
        33: "DC J KD LD MD ND aC"
      },
      J: {
        1: "A",
        33: "E"
      },
      K: {
        1: "I 8B",
        33: "C",
        164: "A B 7B ZC"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        1: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 5,
    C: "CSS3 Transitions",
    D: !0
  }), JB
}
var YB, nb;

function HY() {
  return nb || (nb = 1, YB = {
    A: {
      A: {
        2: "bC",
        8: "K E F",
        129: "A B",
        161: "G"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        129: "C L M H N"
      },
      C: {
        1: "0 1 2 3 4 5 6 7 8 9 N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC",
        33: "J GB K E F G A B C L M H fC gC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        33: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB"
      },
      E: {
        1: "G A B C L M H lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        33: "J GB K E F hC KC iC jC kC"
      },
      F: {
        1: "0 y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u 8B",
        2: "G sC tC",
        33: "B C H N O P HB v w x uC vC 7B ZC wC"
      },
      G: {
        1: "2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        33: "F KC xC aC yC zC 0C 1C"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        33: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        33: "E A"
      },
      K: {
        1: "B C I 7B ZC 8B",
        2: "A"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        1: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 4,
    C: "CSS3 2D Transforms",
    D: !0
  }), YB
}
var XB, ib;

function GY() {
  return ib || (ib = 1, XB = {
    A: {
      A: {
        2: "K E F G bC",
        132: "A B"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "0 1 2 3 4 5 6 7 8 9 N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J GB K E F G fC gC",
        33: "A B C L M H"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "J GB K E F G A B",
        33: "0 C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB"
      },
      E: {
        1: "NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "hC KC",
        33: "J GB K E F iC jC kC",
        257: "G A B C L M H lC LC 7B 8B mC nC oC MC"
      },
      F: {
        1: "0 y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        33: "H N O P HB v w x"
      },
      G: {
        1: "NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        33: "F KC xC aC yC zC 0C 1C",
        257: "2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "KD LD MD",
        33: "DC J ND aC OD PD"
      },
      J: {
        33: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        132: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 5,
    C: "CSS3 3D Transforms",
    D: !0
  }), XB
}
var ZB, sb;

function qY() {
  return sb || (sb = 1, ZB = {
    A: {
      A: {
        1: "A B",
        2: "K E F G bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC fC",
        260: "0 N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB",
        292: "J GB K E F G A B C L M H gC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        33: "0 A B C L M H N O P HB v w x y z",
        548: "J GB K E F G"
      },
      E: {
        1: "NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "hC KC",
        260: "E F G A B C L M H jC kC lC LC 7B 8B mC nC oC MC",
        292: "K iC",
        804: "J GB"
      },
      F: {
        1: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u 8B",
        2: "G B sC tC uC vC",
        33: "C wC",
        164: "7B ZC"
      },
      G: {
        1: "NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        260: "F 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC",
        292: "yC zC",
        804: "KC xC aC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D OD PD",
        33: "J ND aC",
        548: "DC KD LD MD"
      },
      J: {
        1: "A",
        548: "E"
      },
      K: {
        1: "I 8B",
        2: "A B",
        33: "C",
        164: "7B ZC"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        1: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 4,
    C: "CSS Gradients",
    D: !0
  }), ZB
}
var eh, ob;

function VY() {
  return ob || (ob = 1, eh = {
    A: {
      A: {
        1: "F G A B",
        8: "K E bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        33: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB fC gC"
      },
      D: {
        1: "0 1 2 3 4 5 6 7 8 9 A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        33: "J GB K E F G"
      },
      E: {
        1: "K E F G A B C L M H iC jC kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        33: "J GB hC KC"
      },
      F: {
        1: "0 B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u sC tC uC vC 7B ZC wC 8B",
        2: "G"
      },
      G: {
        1: "F yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        33: "KC xC aC"
      },
      H: {
        1: "JD"
      },
      I: {
        1: "J D ND aC OD PD",
        33: "DC KD LD MD"
      },
      J: {
        1: "A",
        33: "E"
      },
      K: {
        1: "A B C I 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        1: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 5,
    C: "CSS3 Box-sizing",
    D: !0
  }), eh
}
var th, ab;

function KY() {
  return ab || (ab = 1, th = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        1028: "L M H N O P",
        1346: "C"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC fC",
        196: "QB",
        516: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB gC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "J GB K E F G A B C L M H N O",
        33: "0 P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB"
      },
      E: {
        1: "A B C L M H lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB hC KC iC",
        33: "K E F G jC kC"
      },
      F: {
        1: "WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        33: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB"
      },
      G: {
        1: "3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC",
        33: "F zC 0C 1C 2C"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC",
        33: "OD PD"
      },
      J: {
        2: "E",
        33: "A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        33: "J QD RD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 5,
    C: "CSS Filter Effects",
    D: !0
  }), th
}
var rh, lb;

function QY() {
  return lb || (lb = 1, rh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        2: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        2: "0 1 2 3 4 5 6 7 8 9 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC fC gC"
      },
      D: {
        2: "0 1 2 3 4 5 6 7 8 9 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC"
      },
      E: {
        1: "A B C L M H lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB K E F hC KC iC jC kC",
        33: "G"
      },
      F: {
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u sC tC uC vC 7B ZC wC 8B"
      },
      G: {
        1: "4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "F KC xC aC yC zC 0C 1C",
        33: "2C 3C"
      },
      H: {
        2: "JD"
      },
      I: {
        2: "DC J D KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        2: "A B C I 7B ZC 8B"
      },
      L: {
        2: "D"
      },
      M: {
        2: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        2: "9B"
      },
      P: {
        2: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        2: "bD"
      },
      R: {
        2: "cD"
      },
      S: {
        2: "dD eD"
      }
    },
    B: 5,
    C: "CSS filter() function",
    D: !0
  }), rh
}
var nh, ub;

function JY() {
  return ub || (ub = 1, nh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N",
        257: "O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB fC gC",
        578: "yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB",
        194: "dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B"
      },
      E: {
        1: "CC rC",
        2: "J GB K E F hC KC iC jC kC",
        33: "G A B C L M H lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC"
      },
      F: {
        1: "sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB sC tC uC vC 7B ZC wC 8B",
        194: "QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB"
      },
      G: {
        1: "CC",
        2: "F KC xC aC yC zC 0C 1C",
        33: "2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z WD XD YD ZD AC BC CC aD",
        2: "J",
        194: "QD RD SD TD UD LC VD"
      },
      Q: {
        2: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        2: "dD eD"
      }
    },
    B: 7,
    C: "CSS Backdrop Filter",
    D: !0
  }), nh
}
var ih, cb;

function YY() {
  return cb || (cb = 1, ih = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        2: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        33: "0 1 2 3 4 5 6 7 8 9 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        164: "cC DC fC gC"
      },
      D: {
        2: "0 1 2 3 4 5 6 7 8 9 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC"
      },
      E: {
        2: "J GB K E F G A B C L M H hC KC iC jC kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC"
      },
      F: {
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u sC tC uC vC 7B ZC wC 8B"
      },
      G: {
        2: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC"
      },
      H: {
        2: "JD"
      },
      I: {
        2: "DC J D KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        2: "A B C I 7B ZC 8B"
      },
      L: {
        2: "D"
      },
      M: {
        33: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        2: "9B"
      },
      P: {
        2: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        2: "bD"
      },
      R: {
        2: "cD"
      },
      S: {
        33: "dD eD"
      }
    },
    B: 5,
    C: "CSS element() function",
    D: !0
  }), ih
}
var sh, db;

function XY() {
  return db || (db = 1, sh = {
    A: {
      A: {
        1: "A B",
        2: "K E F G bC"
      },
      B: {
        1: "C L M H N O P",
        516: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        132: "iB jB kB lB mB nB oB EC pB FC qB rB sB",
        164: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB fC gC",
        516: "tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a",
        1028: "1 2 3 4 5 6 7 8 9 b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC"
      },
      D: {
        420: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB",
        516: "1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC"
      },
      E: {
        1: "A B C L M H LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        132: "G lC",
        164: "E F kC",
        420: "J GB K hC KC iC jC"
      },
      F: {
        1: "C 7B ZC wC 8B",
        2: "G B sC tC uC vC",
        420: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB",
        516: "TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u"
      },
      G: {
        1: "4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        132: "2C 3C",
        164: "F 0C 1C",
        420: "KC xC aC yC zC"
      },
      H: {
        1: "JD"
      },
      I: {
        420: "DC J KD LD MD ND aC OD PD",
        516: "D"
      },
      J: {
        420: "E A"
      },
      K: {
        1: "C 7B ZC 8B",
        2: "A B",
        516: "I"
      },
      L: {
        516: "D"
      },
      M: {
        1028: "D"
      },
      N: {
        1: "A B"
      },
      O: {
        516: "9B"
      },
      P: {
        420: "J",
        516: "0 v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        516: "bD"
      },
      R: {
        516: "cD"
      },
      S: {
        164: "dD eD"
      }
    },
    B: 4,
    C: "CSS3 Multiple column layout",
    D: !0
  }), sh
}
var oh, fb;

function ZY() {
  return fb || (fb = 1, oh = {
    A: {
      A: {
        2: "K E F G bC",
        33: "A B"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        33: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        33: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB fC gC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        33: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"
      },
      E: {
        33: "J GB K E F G A B C L M H hC KC iC jC kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC"
      },
      F: {
        1: "XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        33: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB"
      },
      G: {
        33: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        33: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        33: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        33: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z RD SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        33: "J QD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        33: "dD"
      }
    },
    B: 5,
    C: "CSS user-select: none",
    D: !0
  }), oh
}
var ah, Bb;

function eX() {
  return Bb || (Bb = 1, ah = {
    A: {
      A: {
        2: "K E F G bC",
        1028: "B",
        1316: "A"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        164: "cC DC J GB K E F G A B C L M H N O P HB v w fC gC",
        516: "0 x y z IB JB"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        33: "0 w x y z IB JB KB",
        164: "J GB K E F G A B C L M H N O P HB v"
      },
      E: {
        1: "G A B C L M H lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        33: "E F jC kC",
        164: "J GB K hC KC iC"
      },
      F: {
        1: "0 O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u 8B",
        2: "G B C sC tC uC vC 7B ZC wC",
        33: "H N"
      },
      G: {
        1: "2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        33: "F 0C 1C",
        164: "KC xC aC yC zC"
      },
      H: {
        1: "JD"
      },
      I: {
        1: "D OD PD",
        164: "DC J KD LD MD ND aC"
      },
      J: {
        1: "A",
        164: "E"
      },
      K: {
        1: "I 8B",
        2: "A B C 7B ZC"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        1: "B",
        292: "A"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 4,
    C: "CSS Flexible Box Layout Module",
    D: !0
  }), ah
}
var lh, hb;

function tX() {
  return hb || (hb = 1, lh = {
    A: {
      A: {
        2: "K E F bC",
        260: "G",
        516: "A B"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "0 1 2 3 4 5 6 7 8 9 N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC fC gC",
        33: "J GB K E F G A B C L M H"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "J GB K E F G A B C L M H N O P",
        33: "0 HB v w x y z"
      },
      E: {
        1: "E F G A B C L M H jC kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB hC KC iC",
        33: "K"
      },
      F: {
        1: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B"
      },
      G: {
        1: "F 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC",
        33: "zC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC",
        132: "OD PD"
      },
      J: {
        1: "A",
        2: "E"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        1: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 4,
    C: "calc() as CSS unit value",
    D: !0
  }), lh
}
var uh, pb;

function rX() {
  return pb || (pb = 1, uh = {
    A: {
      A: {
        1: "G A B",
        2: "K E F bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "0 1 2 3 4 5 6 7 8 9 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC fC",
        36: "gC"
      },
      D: {
        1: "0 1 2 3 4 5 6 7 8 9 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        516: "J GB K E F G A B C L M"
      },
      E: {
        1: "E F G A B C L M H kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        772: "J GB K hC KC iC jC"
      },
      F: {
        1: "0 B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u uC vC 7B ZC wC 8B",
        2: "G sC",
        36: "tC"
      },
      G: {
        1: "F 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        4: "KC xC aC zC",
        516: "yC"
      },
      H: {
        132: "JD"
      },
      I: {
        1: "D OD PD",
        36: "KD",
        516: "DC J ND aC",
        548: "LD MD"
      },
      J: {
        1: "E A"
      },
      K: {
        1: "A B C I 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        1: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 4,
    C: "CSS3 Background-image options",
    D: !0
  }), uh
}
var ch, Cb;

function nX() {
  return Cb || (Cb = 1, ch = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "H N O P",
        33: "C L M",
        132: "9 AB BB CB DB EB FB D",
        164: "1 2 3 4 5 6 7 8 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fC gC"
      },
      D: {
        132: "9 AB BB CB DB EB FB D HC IC JC",
        164: "0 1 2 3 4 5 6 7 8 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u"
      },
      E: {
        16: "hC KC",
        132: "9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        388: "M H nC oC MC NC",
        420: "J GB K E F G A B C L iC jC kC lC LC 7B 8B mC"
      },
      F: {
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        132: "p q r s t u",
        164: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o"
      },
      G: {
        16: "KC xC aC yC",
        132: "9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        388: "ED FD GD MC NC",
        420: "F zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD"
      },
      H: {
        2: "JD"
      },
      I: {
        16: "DC KD LD MD",
        132: "D",
        164: "J ND aC OD PD"
      },
      J: {
        164: "E A"
      },
      K: {
        16: "A B C 7B ZC 8B",
        132: "I"
      },
      L: {
        132: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        164: "9B"
      },
      P: {
        1: "0",
        164: "J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        164: "bD"
      },
      R: {
        164: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 7,
    C: "Background-clip: text",
    D: !0
  }), ch
}
var dh, mb;

function iX() {
  return mb || (mb = 1, dh = {
    A: {
      A: {
        1: "A B",
        2: "K E F G bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC fC gC",
        33: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB",
        164: "J GB K E F G A B C L M"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "J GB K E F G A B C L M H",
        33: "0 w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB",
        292: "N O P HB v"
      },
      E: {
        1: "A B C L M H lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "E F G hC KC jC kC",
        4: "J GB K iC"
      },
      F: {
        1: "RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        33: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB"
      },
      G: {
        1: "3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "F 0C 1C 2C",
        4: "KC xC aC yC zC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC",
        33: "OD PD"
      },
      J: {
        2: "E",
        33: "A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        33: "J"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 2,
    C: "CSS font-feature-settings",
    D: !0
  }), dh
}
var fh, gb;

function sX() {
  return gb || (gb = 1, fh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J GB K E F G A B C L M H N O P HB v w x y fC gC",
        194: "0 z IB JB KB LB MB NB OB PB"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB",
        33: "LB MB NB OB"
      },
      E: {
        1: "A B C L M H lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB K hC KC iC jC",
        33: "E F G kC"
      },
      F: {
        1: "0 v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C H sC tC uC vC 7B ZC wC 8B",
        33: "N O P HB"
      },
      G: {
        1: "8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC zC 0C",
        33: "F 1C 2C 3C 4C 5C 6C 7C"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D PD",
        2: "DC J KD LD MD ND aC",
        33: "OD"
      },
      J: {
        2: "E",
        33: "A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 4,
    C: "CSS3 font-kerning",
    D: !0
  }), fh
}
var Bh, vb;

function oX() {
  return vb || (vb = 1, Bh = {
    A: {
      A: {
        1: "B",
        2: "K E F G A bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        129: "C L"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC",
        260: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB",
        804: "J GB K E F G A B C L M fC gC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        260: "hB iB jB kB lB",
        388: "MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB",
        1412: "0 H N O P HB v w x y z IB JB KB LB",
        1956: "J GB K E F G A B C L M"
      },
      E: {
        1: "NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        129: "A B C L M H lC LC 7B 8B mC nC oC MC",
        1412: "K E F G jC kC",
        1956: "J GB hC KC iC"
      },
      F: {
        1: "ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G sC tC",
        260: "UB VB WB XB YB",
        388: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB",
        1796: "uC vC",
        1828: "B C 7B ZC wC 8B"
      },
      G: {
        1: "NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        129: "3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC",
        1412: "F zC 0C 1C 2C",
        1956: "KC xC aC yC"
      },
      H: {
        1828: "JD"
      },
      I: {
        1: "D",
        388: "OD PD",
        1956: "DC J KD LD MD ND aC"
      },
      J: {
        1412: "A",
        1924: "E"
      },
      K: {
        1: "I",
        2: "A",
        1828: "B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        1: "B",
        2: "A"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        260: "QD RD",
        388: "J"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        260: "dD"
      }
    },
    B: 4,
    C: "CSS3 Border images",
    D: !0
  }), Bh
}
var hh, yb;

function aX() {
  return yb || (yb = 1, hh = {
    A: {
      A: {
        1: "G A B",
        2: "K E F bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        33: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC fC gC"
      },
      D: {
        1: "0 1 2 3 4 5 6 7 8 9 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC"
      },
      E: {
        1: "J GB K E F G A B C L M H hC KC iC jC kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC"
      },
      F: {
        1: "0 B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u sC tC uC vC 7B ZC wC 8B",
        2: "G"
      },
      G: {
        2: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D OD PD",
        2: "DC J KD LD MD ND aC"
      },
      J: {
        1: "A",
        2: "E"
      },
      K: {
        1: "C I ZC 8B",
        16: "A B 7B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        1: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        33: "dD"
      }
    },
    B: 5,
    C: "::selection CSS pseudo-element",
    D: !0
  }), hh
}
var ph, wb;

function lX() {
  return wb || (wb = 1, ph = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        36: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        33: "0 HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB",
        130: "cC DC J GB K E F G A B C L M H N O P fC gC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        36: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB"
      },
      E: {
        1: "B C L M H LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J hC KC",
        36: "GB K E F G A iC jC kC lC"
      },
      F: {
        1: "aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        36: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB"
      },
      G: {
        1: "5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC",
        36: "F aC yC zC 0C 1C 2C 3C 4C"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        36: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        36: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        36: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        36: "J QD RD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        33: "dD"
      }
    },
    B: 5,
    C: "::placeholder CSS pseudo-element",
    D: !0
  }), ph
}
var Ch, bb;

function uX() {
  return bb || (bb = 1, Ch = {
    A: {
      A: {
        2: "K E F G bC",
        292: "A B"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC fC gC",
        164: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB"
      },
      E: {
        1: "G A B C L M H lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB K E F hC KC iC jC kC"
      },
      F: {
        1: "QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB sC tC uC vC 7B ZC wC 8B"
      },
      G: {
        1: "2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "F KC xC aC yC zC 0C 1C"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "J"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        164: "dD"
      }
    },
    B: 5,
    C: ":placeholder-shown CSS pseudo-class",
    D: !0
  }), Ch
}
var mh, Db;

function cX() {
  return Db || (Db = 1, mh = {
    A: {
      A: {
        2: "K E F G bC",
        33: "A B"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 o p q r s t u AB BB CB DB EB FB D",
        33: "C L M H N O P",
        132: "Q I R S T U V W",
        260: "X Y Z a b c d e f g h i j k l m n"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J GB fC gC",
        33: "0 K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB",
        132: "lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W"
      },
      E: {
        1: "BC TC UC VC WC XC YC CC rC",
        2: "J GB hC KC",
        33: "K E F G A B C L M H iC jC kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC"
      },
      F: {
        1: "a b c d e f g h i j k l m n o p q r s t u",
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB sC tC uC vC 7B ZC wC 8B",
        132: "YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z"
      },
      G: {
        1: "BC TC UC VC WC XC YC CC",
        2: "KC xC",
        33: "F aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z RD SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "J",
        132: "QD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 4,
    C: "CSS Hyphenation",
    D: !0
  }), mh
}
var gh, xb;

function dX() {
  return xb || (xb = 1, gh = {
    A: {
      A: {
        2: "K E F G A bC",
        548: "B"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        516: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J GB K E F G fC gC",
        676: "0 A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB",
        1700: "dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "J GB K E F G A B C L M",
        676: "H N O P HB",
        804: "0 v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB"
      },
      E: {
        1: "RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB hC KC",
        548: "NC 9B pC AC OC PC QC",
        676: "iC",
        804: "K E F G A B C L M H jC kC lC LC 7B 8B mC nC oC MC"
      },
      F: {
        1: "sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u 8B",
        2: "G B C sC tC uC vC 7B ZC wC",
        804: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB"
      },
      G: {
        2: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C",
        2052: "8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC"
      },
      H: {
        2: "JD"
      },
      I: {
        2: "DC J D KD LD MD ND aC OD PD"
      },
      J: {
        2: "E",
        292: "A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A",
        548: "B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z LC VD WD XD YD ZD AC BC CC aD",
        804: "J QD RD SD TD UD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 1,
    C: "Fullscreen API",
    D: !0
  }), gh
}
var vh, Eb;

function fX() {
  return Eb || (Eb = 1, vh = {
    A: {
      D: {
        1: "1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB",
        33: "OB PB QB RB SB"
      },
      L: {
        1: "D"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        33: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB fC gC"
      },
      M: {
        1: "D"
      },
      A: {
        2: "K E F G A bC",
        33: "B"
      },
      F: {
        1: "0 z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C H N O P sC tC uC vC 7B ZC wC 8B",
        33: "HB v w x y"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      E: {
        1: "NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC",
        2: "J GB K E F G A B C L M H hC KC iC jC kC lC LC 7B 8B mC nC oC MC rC"
      },
      G: {
        1: "NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC",
        33: "OD PD"
      }
    },
    B: 6,
    C: "CSS ::backdrop pseudo-element",
    D: void 0
  }), vh
}
var yh, Sb;

function BX() {
  return Sb || (Sb = 1, yh = {
    A: {
      D: {
        1: "1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        33: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X"
      },
      L: {
        1: "D"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        33: "C L M H N O P Q I R S T U V W X"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R fC gC"
      },
      M: {
        1: "D"
      },
      A: {
        2: "K E F G bC",
        33: "A B"
      },
      F: {
        1: "3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        33: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      E: {
        1: "H nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC",
        2: "rC",
        33: "J GB K E F G A B C L M hC KC iC jC kC lC LC 7B 8B mC"
      },
      G: {
        1: "FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        33: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED"
      },
      P: {
        1: "0 v w x y z ZD AC BC CC aD",
        33: "J QD RD SD TD UD LC VD WD XD YD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC",
        33: "OD PD"
      }
    },
    B: 6,
    C: "::file-selector-button CSS pseudo-element",
    D: void 0
  }), yh
}
var wh, kb;

function hX() {
  return kb || (kb = 1, wh = {
    A: {
      D: {
        1: "1 2 3 4 5 6 7 8 9 t u AB BB CB DB EB FB D HC IC JC",
        33: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"
      },
      L: {
        1: "D"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 t u AB BB CB DB EB FB D",
        2: "C L M H N O P",
        33: "Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U fC gC"
      },
      M: {
        1: "D"
      },
      A: {
        2: "K E F G A B bC"
      },
      F: {
        1: "f g h i j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        33: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      E: {
        1: "H oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC",
        2: "rC",
        33: "J GB K E F G A B C L M hC KC iC jC kC lC LC 7B 8B mC nC"
      },
      G: {
        1: "GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        33: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD"
      },
      P: {
        1: "0 w x y z",
        33: "J v QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC",
        33: "OD PD"
      }
    },
    B: 6,
    C: ":autofill CSS pseudo-class",
    D: void 0
  }), wh
}
var bh, jb;

function pX() {
  return jb || (jb = 1, bh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC fC gC",
        33: "jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z",
        164: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "J GB K E F G A B C L M H N O P HB v",
        132: "0 w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB"
      },
      E: {
        1: "M H mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB K hC KC iC",
        132: "E F G A B C L jC kC lC LC 7B 8B"
      },
      F: {
        1: "LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G sC tC uC",
        132: "0 H N O P HB v w x y z IB JB KB",
        164: "B C vC 7B ZC wC 8B"
      },
      G: {
        1: "DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC zC",
        132: "F 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD"
      },
      H: {
        164: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC",
        132: "OD PD"
      },
      J: {
        132: "E A"
      },
      K: {
        1: "I",
        2: "A",
        164: "B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        164: "dD eD"
      }
    },
    B: 4,
    C: "CSS3 tab-size",
    D: !0
  }), bh
}
var Dh, Ab;

function CX() {
  return Ab || (Ab = 1, Dh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        2: "C L M H N O P",
        1025: "1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        1537: "Q I R S T U V W X Y Z a b c"
      },
      C: {
        2: "cC",
        932: "0 DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB fC gC",
        2308: "1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC"
      },
      D: {
        2: "J GB K E F G A B C L M H N O P HB v w",
        545: "0 x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB",
        1025: "1 2 3 4 5 6 7 8 9 d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        1537: "cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c"
      },
      E: {
        1: "AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB K hC KC iC",
        516: "B C L M H 7B 8B mC nC oC MC NC 9B pC",
        548: "G A lC LC",
        676: "E F jC kC"
      },
      F: {
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        513: "QB",
        545: "0 H N O P HB v w x y z IB JB KB LB MB NB OB",
        1025: "e f g h i j k l m n o p q r s t u",
        1537: "PB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d"
      },
      G: {
        1: "AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC zC",
        516: "ED FD GD MC NC 9B HD",
        548: "2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD",
        676: "F 0C 1C"
      },
      H: {
        2: "JD"
      },
      I: {
        2: "DC J KD LD MD ND aC",
        545: "OD PD",
        1025: "D"
      },
      J: {
        2: "E",
        545: "A"
      },
      K: {
        2: "A B C 7B ZC 8B",
        1025: "I"
      },
      L: {
        1025: "D"
      },
      M: {
        2308: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1537: "9B"
      },
      P: {
        545: "J",
        1025: "0 v w x y z BC CC aD",
        1537: "QD RD SD TD UD LC VD WD XD YD ZD AC"
      },
      Q: {
        1537: "bD"
      },
      R: {
        1537: "cD"
      },
      S: {
        932: "dD",
        2308: "eD"
      }
    },
    B: 5,
    C: "Intrinsic & Extrinsic Sizing",
    D: !0
  }), Dh
}
var xh, Pb;

function mX() {
  return Pb || (Pb = 1, xh = {
    A: {
      D: {
        2: "J GB K E F G A B C L M H N O P HB v w",
        33: "0 1 2 3 4 5 6 7 8 9 x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC"
      },
      L: {
        33: "D"
      },
      B: {
        2: "C L M H N O P",
        33: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        2: "cC",
        33: "0 1 2 3 4 5 6 7 8 9 DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC fC gC"
      },
      M: {
        33: "D"
      },
      A: {
        2: "K E F G A B bC"
      },
      F: {
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        33: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u"
      },
      K: {
        2: "A B C 7B ZC 8B",
        33: "I"
      },
      E: {
        2: "J GB K hC KC iC jC rC",
        33: "E F G A B C L M H kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC"
      },
      G: {
        2: "KC xC aC yC zC",
        33: "F 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC"
      },
      P: {
        2: "J",
        33: "0 v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      I: {
        2: "DC J KD LD MD ND aC",
        33: "D OD PD"
      }
    },
    B: 6,
    C: "width: stretch property",
    D: void 0
  }), xh
}
var Eh, _b;

function gX() {
  return _b || (_b = 1, Eh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "0 1 2 3 4 5 6 7 8 9 z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        33: "cC DC J GB K E F G A B C L M H N O P HB v w x y fC gC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        33: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB"
      },
      E: {
        1: "G A B C L M H lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        33: "J GB K E F hC KC iC jC kC"
      },
      F: {
        1: "0 C z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u wC 8B",
        2: "G B sC tC uC vC 7B ZC",
        33: "H N O P HB v w x y"
      },
      G: {
        2: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        33: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        2: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        2: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        2: "dD eD"
      }
    },
    B: 2,
    C: "CSS3 Cursors: zoom-in & zoom-out",
    D: !0
  }), Eh
}
var Sh, Ob;

function vX() {
  return Ob || (Ob = 1, Sh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        33: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB fC gC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        33: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB"
      },
      E: {
        1: "B C L M H 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        33: "J GB K E F G A hC KC iC jC kC lC LC"
      },
      F: {
        1: "C lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u wC 8B",
        2: "G B sC tC uC vC 7B ZC",
        33: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB"
      },
      G: {
        2: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        33: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        2: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        2: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        2: "dD eD"
      }
    },
    B: 2,
    C: "CSS grab & grabbing cursors",
    D: !0
  }), Sh
}
var kh, Ib;

function yX() {
  return Ib || (Ib = 1, kh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H",
        1028: "Q I R S T U V W X Y Z",
        4100: "N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z fC gC",
        194: "IB JB KB LB MB NB",
        516: "OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "J GB K E F G A B C L M H N O P HB v w x TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB",
        322: "0 y z IB JB KB LB MB NB OB PB QB RB SB iB jB kB lB",
        1028: "mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z"
      },
      E: {
        1: "L M H mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB K hC KC iC",
        33: "F G A B C kC lC LC 7B 8B",
        2084: "E jC"
      },
      F: {
        1: "6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB sC tC uC vC 7B ZC wC 8B",
        322: "VB WB XB",
        1028: "YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B"
      },
      G: {
        1: "AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC",
        33: "F 1C 2C 3C 4C 5C 6C 7C 8C 9C",
        2084: "zC 0C"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z RD SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "J QD"
      },
      Q: {
        1028: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        516: "dD"
      }
    },
    B: 5,
    C: "CSS position:sticky",
    D: !0
  }), kh
}
var jh, Nb;

function wX() {
  return Nb || (Nb = 1, jh = {
    A: {
      A: {
        1: "B",
        2: "K E F G bC",
        164: "A"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J GB fC gC",
        8: "0 K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB",
        328: "XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "J GB K E F G A B C L M H N O P HB v w",
        8: "0 x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB",
        584: "iB jB kB"
      },
      E: {
        1: "L M H mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB K hC KC iC",
        8: "E F G A B C jC kC lC LC 7B",
        1096: "8B"
      },
      F: {
        1: "YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        8: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB",
        584: "VB WB XB"
      },
      G: {
        1: "BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        8: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C",
        6148: "AD"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        8: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        8: "E A"
      },
      K: {
        1: "I",
        2: "A",
        8: "B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        1: "B",
        36: "A"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z RD SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "QD",
        8: "J"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        328: "dD"
      }
    },
    B: 2,
    C: "Pointer events",
    D: !0
  }), jh
}
var Ah, Tb;

function bX() {
  return Tb || (Tb = 1, Ah = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        2: "C L M H N O P",
        2052: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        2: "cC DC J GB fC gC",
        1028: "1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        1060: "0 K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB"
      },
      D: {
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z",
        226: "IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB",
        2052: "1 2 3 4 5 6 7 8 9 nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC"
      },
      E: {
        2: "J GB K E hC KC iC jC",
        772: "L M H 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        804: "F G A B C lC LC 7B",
        1316: "kC"
      },
      F: {
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB sC tC uC vC 7B ZC wC 8B",
        226: "RB SB TB UB VB WB XB YB ZB",
        2052: "aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u"
      },
      G: {
        2: "KC xC aC yC zC 0C",
        292: "F 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        2: "A B C 7B ZC 8B",
        2052: "I"
      },
      L: {
        2052: "D"
      },
      M: {
        1028: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        2052: "9B"
      },
      P: {
        2: "J QD RD",
        2052: "0 v w x y z SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        2052: "bD"
      },
      R: {
        2052: "cD"
      },
      S: {
        1028: "dD eD"
      }
    },
    B: 4,
    C: "text-decoration styling",
    D: !0
  }), Ah
}
var Ph, Rb;

function DX() {
  return Rb || (Rb = 1, Ph = {
    A: {
      D: {
        1: "1 2 3 4 5 6 7 8 9 nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB"
      },
      L: {
        1: "D"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N O P"
      },
      C: {
        1: "0 1 2 3 4 5 6 7 8 9 K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J GB fC gC"
      },
      M: {
        1: "D"
      },
      A: {
        2: "K E F G A B bC"
      },
      F: {
        1: "aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB sC tC uC vC 7B ZC wC 8B"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      E: {
        2: "J GB K E hC KC iC jC kC rC",
        33: "F G A B C L M H lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC"
      },
      G: {
        2: "KC xC aC yC zC 0C",
        33: "F 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC"
      },
      P: {
        1: "0 v w x y z SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "J QD RD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      }
    },
    B: 6,
    C: "text-decoration shorthand property",
    D: void 0
  }), Ph
}
var _h, Fb;

function xX() {
  return Fb || (Fb = 1, _h = {
    A: {
      D: {
        1: "1 2 3 4 5 6 7 8 9 nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB"
      },
      L: {
        1: "D"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J GB fC gC",
        33: "0 K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB"
      },
      M: {
        1: "D"
      },
      A: {
        2: "K E F G A B bC"
      },
      F: {
        1: "aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB sC tC uC vC 7B ZC wC 8B"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      E: {
        1: "L M H 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC",
        2: "J GB K E hC KC iC jC kC rC",
        33: "F G A B C lC LC 7B"
      },
      G: {
        1: "9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC zC 0C",
        33: "F 1C 2C 3C 4C 5C 6C 7C 8C"
      },
      P: {
        1: "0 v w x y z SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "J QD RD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      }
    },
    B: 6,
    C: "text-decoration-color property",
    D: void 0
  }), _h
}
var Oh, Mb;

function EX() {
  return Mb || (Mb = 1, Oh = {
    A: {
      D: {
        1: "1 2 3 4 5 6 7 8 9 nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB"
      },
      L: {
        1: "D"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J GB fC gC",
        33: "0 K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB"
      },
      M: {
        1: "D"
      },
      A: {
        2: "K E F G A B bC"
      },
      F: {
        1: "aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB sC tC uC vC 7B ZC wC 8B"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      E: {
        1: "L M H 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC",
        2: "J GB K E hC KC iC jC kC rC",
        33: "F G A B C lC LC 7B"
      },
      G: {
        1: "9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC zC 0C",
        33: "F 1C 2C 3C 4C 5C 6C 7C 8C"
      },
      P: {
        1: "0 v w x y z SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "J QD RD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      }
    },
    B: 6,
    C: "text-decoration-line property",
    D: void 0
  }), Oh
}
var Ih, Lb;

function SX() {
  return Lb || (Lb = 1, Ih = {
    A: {
      D: {
        1: "1 2 3 4 5 6 7 8 9 nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB"
      },
      L: {
        1: "D"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J GB fC gC",
        33: "0 K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB"
      },
      M: {
        1: "D"
      },
      A: {
        2: "K E F G A B bC"
      },
      F: {
        1: "aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB sC tC uC vC 7B ZC wC 8B"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      E: {
        1: "L M H 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC",
        2: "J GB K E hC KC iC jC kC rC",
        33: "F G A B C lC LC 7B"
      },
      G: {
        1: "9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC zC 0C",
        33: "F 1C 2C 3C 4C 5C 6C 7C 8C"
      },
      P: {
        1: "0 v w x y z SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "J QD RD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      }
    },
    B: 6,
    C: "text-decoration-style property",
    D: void 0
  }), Ih
}
var Nh, Ub;

function kX() {
  return Ub || (Ub = 1, Nh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        33: "C L M H N O P"
      },
      C: {
        2: "0 1 2 3 4 5 6 7 8 9 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC fC gC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB",
        258: "IB"
      },
      E: {
        2: "J GB K E F G A B C L M H hC KC jC kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        258: "iC"
      },
      F: {
        1: "ZB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB aB sC tC uC vC 7B ZC wC 8B"
      },
      G: {
        2: "KC xC aC",
        33: "F yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        33: "D"
      },
      N: {
        161: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "J"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        2: "dD eD"
      }
    },
    B: 7,
    C: "CSS text-size-adjust",
    D: !0
  }), Nh
}
var Th, zb;

function jX() {
  return zb || (zb = 1, Th = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "9 AB BB CB DB EB FB D",
        2: "C L M H N",
        164: "1 2 3 4 5 6 7 8 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        3138: "O",
        12292: "P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC",
        260: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB fC gC"
      },
      D: {
        1: "9 AB BB CB DB EB FB D HC IC JC",
        164: "0 1 2 3 4 5 6 7 8 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u"
      },
      E: {
        1: "NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "hC KC",
        164: "J GB K E F G A B C L M H iC jC kC lC LC 7B 8B mC nC oC MC"
      },
      F: {
        1: "p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        164: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o"
      },
      G: {
        1: "NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        164: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        164: "OD PD",
        676: "DC J KD LD MD ND aC"
      },
      J: {
        164: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        164: "9B"
      },
      P: {
        1: "0",
        164: "J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        164: "bD"
      },
      R: {
        164: "cD"
      },
      S: {
        1: "eD",
        260: "dD"
      }
    },
    B: 4,
    C: "CSS Masks",
    D: !0
  }), Th
}
var Rh, Wb;

function AX() {
  return Wb || (Wb = 1, Rh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        2: "C L M H N O",
        260: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        3138: "P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC",
        132: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB fC gC",
        644: "dB eB fB gB hB iB jB"
      },
      D: {
        2: "J GB K E F G A B C L M H N O P HB v w x y",
        260: "1 2 3 4 5 6 7 8 9 lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        292: "0 z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB"
      },
      E: {
        2: "J GB K hC KC iC jC",
        260: "M H mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        292: "E F G A B C L kC lC LC 7B 8B"
      },
      F: {
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        260: "YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        292: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB"
      },
      G: {
        2: "KC xC aC yC zC",
        260: "AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        292: "F 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C"
      },
      H: {
        2: "JD"
      },
      I: {
        2: "DC J KD LD MD ND aC",
        260: "D",
        292: "OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        2: "A B C 7B ZC 8B",
        260: "I"
      },
      L: {
        260: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        260: "9B"
      },
      P: {
        260: "0 v w x y z RD SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        292: "J QD"
      },
      Q: {
        260: "bD"
      },
      R: {
        260: "cD"
      },
      S: {
        1: "eD",
        644: "dD"
      }
    },
    B: 4,
    C: "CSS clip-path property (for HTML)",
    D: !0
  }), Rh
}
var Fh, $b;

function PX() {
  return $b || ($b = 1, Fh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        2: "C L M H N O P",
        164: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB fC gC"
      },
      D: {
        2: "J GB K E F G A B C L M H N O P HB v w",
        164: "0 1 2 3 4 5 6 7 8 9 x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC"
      },
      E: {
        2: "J GB K hC KC iC",
        164: "E F G A B C L M H jC kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC"
      },
      F: {
        2: "G sC tC uC vC",
        129: "B C 7B ZC wC 8B",
        164: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u"
      },
      G: {
        2: "KC xC aC yC zC",
        164: "F 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC"
      },
      H: {
        132: "JD"
      },
      I: {
        2: "DC J KD LD MD ND aC",
        164: "D OD PD"
      },
      J: {
        2: "E",
        164: "A"
      },
      K: {
        2: "A",
        129: "B C 7B ZC 8B",
        164: "I"
      },
      L: {
        164: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        164: "9B"
      },
      P: {
        164: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        164: "bD"
      },
      R: {
        164: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 4,
    C: "CSS box-decoration-break",
    D: !0
  }), Fh
}
var Mh, Hb;

function _X() {
  return Hb || (Hb = 1, Mh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H",
        260: "N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB fC gC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB"
      },
      E: {
        1: "A B C L M H LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB K E hC KC iC jC",
        132: "F G kC lC"
      },
      F: {
        1: "0 HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G H N O P sC tC uC",
        33: "B C vC 7B ZC wC 8B"
      },
      G: {
        1: "4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC zC 0C",
        132: "F 1C 2C 3C"
      },
      H: {
        33: "JD"
      },
      I: {
        1: "D PD",
        2: "DC J KD LD MD ND aC OD"
      },
      J: {
        2: "E A"
      },
      K: {
        1: "I",
        2: "A",
        33: "B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 4,
    C: "CSS3 object-fit/object-position",
    D: !0
  }), Mh
}
var Lh, Gb;

function OX() {
  return Gb || (Gb = 1, Lh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB fC gC",
        322: "hB iB jB kB lB mB nB oB EC pB FC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB",
        194: "QB RB SB"
      },
      E: {
        1: "B C L M H LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB K E hC KC iC jC",
        33: "F G A kC lC"
      },
      F: {
        1: "0 z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C H N O P HB v w x y sC tC uC vC 7B ZC wC 8B"
      },
      G: {
        1: "5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC zC 0C",
        33: "F 1C 2C 3C 4C"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        2: "dD"
      }
    },
    B: 4,
    C: "CSS Shapes Level 1",
    D: !0
  }), Lh
}
var Uh, qb;

function IX() {
  return qb || (qb = 1, Uh = {
    A: {
      A: {
        1: "K E F G A B",
        2: "bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "0 1 2 3 4 5 6 7 8 9 E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        8: "cC DC J GB K fC gC"
      },
      D: {
        1: "0 1 2 3 4 5 6 7 8 9 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC"
      },
      E: {
        1: "J GB K E F G A B C L M H hC KC iC jC kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC"
      },
      F: {
        1: "0 B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u 7B ZC wC 8B",
        33: "G sC tC uC vC"
      },
      G: {
        1: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC"
      },
      H: {
        1: "JD"
      },
      I: {
        1: "DC J D KD LD MD ND aC OD PD"
      },
      J: {
        1: "E A"
      },
      K: {
        1: "I 8B",
        33: "A B C 7B ZC"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        1: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 2,
    C: "CSS3 Text-overflow",
    D: !0
  }), Uh
}
var zh, Vb;

function NX() {
  return Vb || (Vb = 1, zh = {
    A: {
      A: {
        2: "K E F G bC",
        164: "A B"
      },
      B: {
        66: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        164: "C L M H N O P"
      },
      C: {
        2: "0 1 2 3 4 5 6 7 8 9 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC fC gC"
      },
      D: {
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB",
        66: "1 2 3 4 5 6 7 8 9 LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC"
      },
      E: {
        2: "J GB K E F G A B C L M H hC KC iC jC kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC"
      },
      F: {
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB sC tC uC vC 7B ZC wC 8B",
        66: "WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u"
      },
      G: {
        2: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC"
      },
      H: {
        292: "JD"
      },
      I: {
        2: "DC J D KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        2: "A I",
        292: "B C 7B ZC 8B"
      },
      L: {
        2: "D"
      },
      M: {
        2: "D"
      },
      N: {
        164: "A B"
      },
      O: {
        2: "9B"
      },
      P: {
        2: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        66: "bD"
      },
      R: {
        2: "cD"
      },
      S: {
        2: "dD eD"
      }
    },
    B: 5,
    C: "CSS Device Adaptation",
    D: !0
  }), zh
}
var Wh, Kb;

function TX() {
  return Kb || (Kb = 1, Wh = {
    A: {
      A: {
        2: "K E F bC",
        132: "G A B"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        1028: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC",
        260: "J GB K E F G A B C L M H fC gC",
        1028: "0 N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        548: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB",
        1028: "LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB"
      },
      E: {
        1: "AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "hC KC",
        548: "J GB K E F G A B C L M H iC jC kC lC LC 7B 8B mC nC oC MC NC 9B pC"
      },
      F: {
        1: "lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u 8B",
        2: "G",
        548: "B C sC tC uC vC 7B ZC wC",
        1028: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB"
      },
      G: {
        1: "AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        16: "KC",
        548: "F xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD"
      },
      H: {
        132: "JD"
      },
      I: {
        1: "D",
        16: "KD LD",
        548: "DC J MD ND aC",
        1028: "OD PD"
      },
      J: {
        548: "E A"
      },
      K: {
        1: "I 8B",
        548: "A B C 7B ZC"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        132: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z LC VD WD XD YD ZD AC BC CC aD",
        1028: "J QD RD SD TD UD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 4,
    C: "Media Queries: resolution feature",
    D: !0
  }), Wh
}
var $h, Qb;

function RX() {
  return Qb || (Qb = 1, $h = {
    A: {
      A: {
        132: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        4: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J GB K E F G A B fC gC",
        33: "0 C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB",
        322: "RB SB TB UB VB WB XB YB ZB aB bB cB"
      },
      E: {
        1: "AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB K E F G A B C L M H hC KC iC jC kC lC LC 7B 8B mC nC oC MC NC 9B pC"
      },
      F: {
        1: "QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C H N O P HB v w sC tC uC vC 7B ZC wC 8B",
        578: "0 x y z IB JB KB LB MB NB OB PB"
      },
      G: {
        1: "AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        132: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "J"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        33: "dD"
      }
    },
    B: 4,
    C: "CSS3 text-align-last",
    D: !0
  }), $h
}
var Hh, Jb;

function FX() {
  return Jb || (Jb = 1, Hh = {
    A: {
      A: {
        2: "K bC",
        2340: "E F G A B"
      },
      B: {
        2: "C L M H N O P",
        1025: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC fC",
        513: "tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b",
        545: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB gC"
      },
      D: {
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB",
        1025: "1 2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC"
      },
      E: {
        1: "A B C L M H LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB hC KC iC",
        164: "K",
        4644: "E F G jC kC lC"
      },
      F: {
        2: "0 G B H N O P HB v w x y z IB JB sC tC uC vC 7B ZC",
        545: "C wC 8B",
        1025: "KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u"
      },
      G: {
        1: "4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC",
        4260: "yC zC",
        4644: "F 0C 1C 2C 3C"
      },
      H: {
        2: "JD"
      },
      I: {
        2: "DC J KD LD MD ND aC OD PD",
        1025: "D"
      },
      J: {
        2: "E",
        4260: "A"
      },
      K: {
        2: "A B 7B ZC",
        545: "C 8B",
        1025: "I"
      },
      L: {
        1025: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2340: "A B"
      },
      O: {
        1025: "9B"
      },
      P: {
        1025: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1025: "bD"
      },
      R: {
        1025: "cD"
      },
      S: {
        1: "eD",
        4097: "dD"
      }
    },
    B: 4,
    C: "Crisp edges/pixelated images",
    D: !0
  }), Hh
}
var Gh, Yb;

function MX() {
  return Yb || (Yb = 1, Gh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N O P",
        1028: "W X",
        1540: "Q I R S T U V"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC",
        164: "0 DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB fC gC",
        1540: "XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        292: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB",
        1028: "W X",
        1540: "xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V"
      },
      E: {
        1: "H oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        292: "J GB K E F G A B C hC KC iC jC kC lC LC 7B",
        1540: "L M 8B mC",
        3076: "nC"
      },
      F: {
        1: "4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        292: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB",
        1028: "2B 3B",
        1540: "mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B"
      },
      G: {
        1: "GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        292: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C",
        1540: "9C AD BD CD DD ED",
        3076: "FD"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        292: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        292: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z ZD AC BC CC aD",
        292: "J QD RD SD TD UD",
        1540: "LC VD WD XD YD"
      },
      Q: {
        1540: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        1540: "dD"
      }
    },
    B: 5,
    C: "CSS Logical Properties",
    D: !0
  }), Gh
}
var qh, Xb;

function LX() {
  return Xb || (Xb = 1, qh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        33: "S",
        164: "Q I R",
        388: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        164: "RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q",
        676: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB fC gC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        33: "S",
        164: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R"
      },
      E: {
        1: "NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        164: "J GB K E F G A B C L M H hC KC iC jC kC lC LC 7B 8B mC nC oC MC"
      },
      F: {
        1: "1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        33: "yB zB 0B",
        164: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB"
      },
      G: {
        1: "NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        164: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        164: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        164: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A",
        388: "B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z YD ZD AC BC CC aD",
        164: "J QD RD SD TD UD LC VD WD XD"
      },
      Q: {
        164: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        164: "dD"
      }
    },
    B: 5,
    C: "CSS Appearance",
    D: !0
  }), qh
}
var Vh, Zb;

function UX() {
  return Zb || (Zb = 1, Vh = {
    A: {
      A: {
        2: "K E F G bC",
        6308: "A",
        6436: "B"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        6436: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB fC gC",
        2052: "VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB",
        8258: "uB vB wB"
      },
      E: {
        1: "B C L M H 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB K E F hC KC iC jC kC",
        3108: "G A lC LC"
      },
      F: {
        1: "sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB sC tC uC vC 7B ZC wC 8B",
        8258: "kB lB mB nB oB pB qB rB"
      },
      G: {
        1: "6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "F KC xC aC yC zC 0C 1C",
        3108: "2C 3C 4C 5C"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z LC VD WD XD YD ZD AC BC CC aD",
        2: "J QD RD SD TD UD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        2052: "dD"
      }
    },
    B: 4,
    C: "CSS Scroll Snap",
    D: !0
  }), Vh
}
var Kh, e3;

function zX() {
  return e3 || (e3 = 1, Kh = {
    A: {
      A: {
        2: "K E F G bC",
        420: "A B"
      },
      B: {
        2: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        420: "C L M H N O P"
      },
      C: {
        2: "0 1 2 3 4 5 6 7 8 9 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC fC gC"
      },
      D: {
        2: "1 2 3 4 5 6 7 8 9 J GB K E F G A B C L M RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        36: "H N O P",
        66: "0 HB v w x y z IB JB KB LB MB NB OB PB QB"
      },
      E: {
        2: "J GB K C L M H hC KC iC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        33: "E F G A B jC kC lC LC"
      },
      F: {
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u sC tC uC vC 7B ZC wC 8B"
      },
      G: {
        2: "KC xC aC yC zC 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        33: "F 0C 1C 2C 3C 4C 5C 6C"
      },
      H: {
        2: "JD"
      },
      I: {
        2: "DC J D KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        2: "A B C I 7B ZC 8B"
      },
      L: {
        2: "D"
      },
      M: {
        2: "D"
      },
      N: {
        420: "A B"
      },
      O: {
        2: "9B"
      },
      P: {
        2: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        2: "bD"
      },
      R: {
        2: "cD"
      },
      S: {
        2: "dD eD"
      }
    },
    B: 5,
    C: "CSS Regions",
    D: !0
  }), Kh
}
var Qh, t3;

function WX() {
  return t3 || (t3 = 1, Qh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "3 4 5 6 7 8 9 AB BB CB DB EB FB D",
        2: "C L M H N O P",
        164: "1 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2049: "2"
      },
      C: {
        1: "2 3 4 5 6 7 8 9 AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U fC gC",
        66: "V W",
        2305: "1 Y Z a b c d e f g h i j k l m n o p q r s t u",
        2820: "X"
      },
      D: {
        1: "3 4 5 6 7 8 9 AB BB CB DB EB FB D HC IC JC",
        2: "J GB K E F G A B C L M H N O P HB v",
        164: "0 1 w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2049: "2"
      },
      E: {
        1: "BC TC UC VC WC XC YC CC rC",
        2: "J GB hC KC iC",
        132: "A B C L LC 7B 8B mC",
        164: "K E F G jC kC lC",
        1540: "M H nC oC MC NC 9B pC AC OC PC QC RC SC qC"
      },
      F: {
        1: "j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        164: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h",
        2049: "i"
      },
      G: {
        1: "BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC",
        132: "4C 5C 6C 7C 8C 9C AD BD CD DD",
        164: "F zC 0C 1C 2C 3C",
        1540: "ED FD GD MC NC 9B HD AC OC PC QC RC SC ID"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC",
        164: "OD PD"
      },
      J: {
        2: "E",
        164: "A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        164: "9B"
      },
      P: {
        1: "0 y z",
        164: "J v w x QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        164: "bD"
      },
      R: {
        164: "cD"
      },
      S: {
        2: "dD eD"
      }
    },
    B: 5,
    C: "CSS image-set",
    D: !0
  }), Qh
}
var Jh, r3;

function $X() {
  return r3 || (r3 = 1, Jh = {
    A: {
      A: {
        132: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 C L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB fC gC",
        322: "SB TB UB VB WB"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "J GB K",
        16: "E",
        33: "0 F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"
      },
      E: {
        1: "B C L M H 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J hC KC",
        16: "GB",
        33: "K E F G A iC jC kC lC LC"
      },
      F: {
        1: "RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        33: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB"
      },
      G: {
        1: "6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        16: "KC xC aC",
        33: "F yC zC 0C 1C 2C 3C 4C 5C"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "KD LD MD",
        33: "DC J ND aC OD PD"
      },
      J: {
        33: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        36: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        33: "J"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 2,
    C: "CSS writing-mode property",
    D: !0
  }), Jh
}
var Yh, n3;

function HX() {
  return n3 || (n3 = 1, Yh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        2: "C L M H N O P",
        33: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        2: "0 1 2 3 4 5 6 7 8 9 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC fC gC"
      },
      D: {
        2: "J GB K E F G A B C L M H N",
        33: "0 1 2 3 4 5 6 7 8 9 O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC"
      },
      E: {
        1: "A B C L M H LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB hC KC",
        33: "K E F G iC jC kC lC"
      },
      F: {
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        33: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u"
      },
      G: {
        1: "4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC",
        33: "F yC zC 0C 1C 2C 3C"
      },
      H: {
        2: "JD"
      },
      I: {
        2: "DC J KD LD MD ND aC",
        33: "D OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        2: "A B C 7B ZC 8B",
        33: "I"
      },
      L: {
        33: "D"
      },
      M: {
        2: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        33: "9B"
      },
      P: {
        33: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        33: "bD"
      },
      R: {
        33: "cD"
      },
      S: {
        2: "dD eD"
      }
    },
    B: 4,
    C: "CSS Cross-Fade Function",
    D: !0
  }), Yh
}
var Xh, i3;

function GX() {
  return i3 || (i3 = 1, Xh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 L M H N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        16: "cC",
        33: "0 DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B fC gC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        16: "J GB K E F G A B C L M",
        132: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB"
      },
      E: {
        1: "G A B C L M H lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        16: "hC KC",
        132: "J GB K E F iC jC kC"
      },
      F: {
        1: "0 y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        16: "G B sC tC uC vC 7B",
        132: "C H N O P HB v w x ZC wC 8B"
      },
      G: {
        1: "2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        16: "KC xC",
        132: "F aC yC zC 0C 1C"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        16: "KD LD",
        132: "DC J MD ND aC OD PD"
      },
      J: {
        1: "A",
        132: "E"
      },
      K: {
        1: "I",
        2: "A B 7B",
        132: "C ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        33: "dD"
      }
    },
    B: 1,
    C: "CSS :read-only and :read-write selectors",
    D: !0
  }), Xh
}
var Zh, s3;

function qX() {
  return s3 || (s3 = 1, Zh = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N O P",
        164: "Q I R S T U V W X Y Z a b c d e f g h"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB fC gC",
        322: "bB"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "J GB K E F G A B C L M H N O P HB v w x y z",
        164: "0 IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h"
      },
      E: {
        1: "F G A B C L M H kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB K hC KC iC",
        164: "E jC"
      },
      F: {
        1: "V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        164: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U"
      },
      G: {
        1: "F 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC zC"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC",
        164: "OD PD"
      },
      J: {
        2: "E",
        164: "A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z CC aD",
        164: "J QD RD SD TD UD LC VD WD XD YD ZD AC BC"
      },
      Q: {
        164: "bD"
      },
      R: {
        164: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 4,
    C: "text-emphasis styling",
    D: !0
  }), Zh
}
var e0, o3;

function VX() {
  return o3 || (o3 = 1, e0 = {
    A: {
      A: {
        2: "K E F bC",
        8: "G",
        292: "A B"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 N O P Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        292: "C L M H"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J GB K E F G A B C L M H N O P fC gC",
        8: "0 HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB",
        584: "WB XB YB ZB aB bB cB dB eB fB gB hB",
        1025: "iB jB"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "J GB K E F G A B C L M H N O P HB v w x y z",
        8: "0 IB JB KB",
        200: "LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB",
        1025: "nB"
      },
      E: {
        1: "B C L M H LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB hC KC iC",
        8: "K E F G A jC kC lC"
      },
      F: {
        1: "aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "0 G B C H N O P HB v w x y z IB JB sC tC uC vC 7B ZC wC 8B",
        200: "KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB"
      },
      G: {
        1: "5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC",
        8: "F zC 0C 1C 2C 3C 4C"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND",
        8: "aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        292: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z RD SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "QD",
        8: "J"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 4,
    C: "CSS Grid Layout (level 1)",
    D: !0
  }), e0
}
var t0, a3;

function KX() {
  return a3 || (a3 = 1, t0 = {
    A: {
      A: {
        2: "K E bC",
        161: "F G A B"
      },
      B: {
        2: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        161: "C L M H N O P"
      },
      C: {
        2: "0 1 2 3 4 5 6 7 8 9 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC fC gC"
      },
      D: {
        2: "0 1 2 3 4 5 6 7 8 9 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC"
      },
      E: {
        2: "J GB K E F G A B C L M H hC KC iC jC kC lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC"
      },
      F: {
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u sC tC uC vC 7B ZC wC 8B"
      },
      G: {
        2: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC"
      },
      H: {
        2: "JD"
      },
      I: {
        2: "DC J D KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        2: "A B C I 7B ZC 8B"
      },
      L: {
        2: "D"
      },
      M: {
        2: "D"
      },
      N: {
        16: "A B"
      },
      O: {
        2: "9B"
      },
      P: {
        2: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      Q: {
        2: "bD"
      },
      R: {
        2: "cD"
      },
      S: {
        2: "dD eD"
      }
    },
    B: 5,
    C: "CSS Text 4 text-spacing",
    D: !1
  }), t0
}
var r0, l3;

function QX() {
  return l3 || (l3 = 1, r0 = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        16: "cC",
        33: "0 DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB fC gC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        16: "J GB K E F G A B C L M",
        33: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB"
      },
      E: {
        1: "G A B C L M H lC LC 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        16: "J GB K hC KC iC",
        33: "E F jC kC"
      },
      F: {
        1: "iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        33: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB"
      },
      G: {
        1: "2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        16: "KC xC aC yC",
        33: "F zC 0C 1C"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        16: "DC J KD LD MD ND aC",
        33: "OD PD"
      },
      J: {
        16: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z UD LC VD WD XD YD ZD AC BC CC aD",
        16: "J",
        33: "QD RD SD TD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        33: "dD"
      }
    },
    B: 5,
    C: "CSS :any-link selector",
    D: !0
  }), r0
}
var n0, u3;

function JX() {
  return u3 || (u3 = 1, n0 = {
    A: {
      D: {
        1: "1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "J GB K E F G A B C L M H",
        33: "0 N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"
      },
      L: {
        1: "D"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J GB K E F G fC gC",
        33: "0 A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB"
      },
      M: {
        1: "D"
      },
      A: {
        2: "K E F G A B bC"
      },
      F: {
        1: "RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        33: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      E: {
        1: "B C L M H 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC",
        2: "J GB hC KC iC rC",
        33: "K E F G A jC kC lC LC"
      },
      G: {
        1: "6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC",
        33: "F zC 0C 1C 2C 3C 4C 5C"
      },
      P: {
        1: "0 v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "J"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      }
    },
    B: 6,
    C: "isolate from unicode-bidi",
    D: void 0
  }), n0
}
var i0, c3;

function YX() {
  return c3 || (c3 = 1, i0 = {
    A: {
      D: {
        1: "1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"
      },
      L: {
        1: "D"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J GB K E F G fC gC",
        33: "0 A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB"
      },
      M: {
        1: "D"
      },
      A: {
        2: "K E F G A B bC"
      },
      F: {
        1: "RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB sC tC uC vC 7B ZC wC 8B"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      E: {
        1: "B C L M H 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC",
        2: "J GB hC KC iC rC",
        33: "K E F G A jC kC lC LC"
      },
      G: {
        1: "6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC",
        33: "F zC 0C 1C 2C 3C 4C 5C"
      },
      P: {
        1: "0 v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "J"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      }
    },
    B: 6,
    C: "plaintext from unicode-bidi",
    D: void 0
  }), i0
}
var s0, d3;

function XX() {
  return d3 || (d3 = 1, s0 = {
    A: {
      D: {
        1: "1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"
      },
      L: {
        1: "D"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "cC DC J GB K E F G A B C L M H N fC gC",
        33: "0 O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB"
      },
      M: {
        1: "D"
      },
      A: {
        2: "K E F G A B bC"
      },
      F: {
        1: "RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB sC tC uC vC 7B ZC wC 8B"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      E: {
        1: "B C L M H 7B 8B mC nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC",
        2: "J GB K hC KC iC jC rC",
        33: "E F G A kC lC LC"
      },
      G: {
        1: "6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC zC",
        33: "F 0C 1C 2C 3C 4C 5C"
      },
      P: {
        1: "0 v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "J"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      }
    },
    B: 6,
    C: "isolate-override from unicode-bidi",
    D: void 0
  }), s0
}
var o0, f3;

function ZX() {
  return f3 || (f3 = 1, o0 = {
    A: {
      A: {
        2: "K E F G bC",
        132: "A B"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        132: "C L M H N O",
        516: "P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB fC gC"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB",
        260: "rB sB"
      },
      E: {
        1: "AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB K E F G A B C L M hC KC iC jC kC lC LC 7B 8B mC",
        1090: "H nC oC MC NC 9B pC"
      },
      F: {
        1: "iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB sC tC uC vC 7B ZC wC 8B",
        260: "gB hB"
      },
      G: {
        1: "AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "F KC xC aC yC zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED",
        1090: "FD GD MC NC 9B HD"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        132: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "J QD RD SD"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "eD",
        2: "dD"
      }
    },
    B: 5,
    C: "CSS overscroll-behavior",
    D: !0
  }), o0
}
var a0, B3;

function eZ() {
  return B3 || (B3 = 1, a0 = {
    A: {
      A: {
        2: "K E F G A B bC"
      },
      B: {
        1: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D",
        2: "C L M H N O P"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB fC gC",
        194: "UB VB WB"
      },
      D: {
        1: "1 2 3 4 5 6 7 8 9 eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC",
        2: "0 J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB"
      },
      E: {
        1: "M H nC oC MC NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC rC",
        2: "J GB K E F G hC KC iC jC kC lC",
        16: "A",
        33: "B C L LC 7B 8B mC"
      },
      F: {
        1: "RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u",
        2: "0 G B C H N O P HB v w x y z IB JB KB LB MB NB OB PB QB sC tC uC vC 7B ZC wC 8B"
      },
      G: {
        1: "4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "F KC xC aC yC zC 0C 1C 2C 3C"
      },
      H: {
        2: "JD"
      },
      I: {
        1: "D",
        2: "DC J KD LD MD ND aC OD PD"
      },
      J: {
        2: "E A"
      },
      K: {
        1: "I",
        2: "A B C 7B ZC 8B"
      },
      L: {
        1: "D"
      },
      M: {
        1: "D"
      },
      N: {
        2: "A B"
      },
      O: {
        1: "9B"
      },
      P: {
        1: "0 v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD",
        2: "J"
      },
      Q: {
        1: "bD"
      },
      R: {
        1: "cD"
      },
      S: {
        1: "dD eD"
      }
    },
    B: 2,
    C: "CSS text-orientation",
    D: !0
  }), a0
}
var l0, h3;

function tZ() {
  return h3 || (h3 = 1, l0 = {
    A: {
      D: {
        2: "J GB K E F G A B C L M H N",
        33: "0 1 2 3 4 5 6 7 8 9 O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC"
      },
      L: {
        33: "D"
      },
      B: {
        2: "C L M H N O P",
        33: "1 2 3 4 5 6 7 8 9 Q I R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u AB BB CB DB EB FB D"
      },
      C: {
        1: "1 2 3 4 5 6 7 8 9 g h i j k l m n o p q r s t u AB BB CB DB EB FB D HC IC JC dC eC",
        2: "0 cC DC J GB K E F G A B C L M H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB fC gC",
        33: "eB fB gB hB iB jB kB lB mB nB oB EC pB FC qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f"
      },
      M: {
        1: "D"
      },
      A: {
        2: "K E F G A B bC"
      },
      F: {
        2: "G B C sC tC uC vC 7B ZC wC 8B",
        33: "0 H N O P HB v w x y z IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB tB uB vB wB xB yB zB 0B 1B 2B 3B 4B 5B 6B Q I R GC S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u"
      },
      K: {
        2: "A B C 7B ZC 8B",
        33: "I"
      },
      E: {
        1: "NC 9B pC AC OC PC QC RC SC qC BC TC UC VC WC XC YC CC",
        2: "J GB hC KC iC rC",
        33: "K E F G A B C L M H jC kC lC LC 7B 8B mC nC oC MC"
      },
      G: {
        1: "NC 9B HD AC OC PC QC RC SC ID BC TC UC VC WC XC YC CC",
        2: "KC xC aC yC",
        33: "F zC 0C 1C 2C 3C 4C 5C 6C 7C 8C 9C AD BD CD DD ED FD GD MC"
      },
      P: {
        33: "0 J v w x y z QD RD SD TD UD LC VD WD XD YD ZD AC BC CC aD"
      },
      I: {
        2: "DC J KD LD MD ND aC",
        33: "D OD PD"
      }
    },
    B: 6,
    C: "print-color-adjust property",
    D: void 0
  }), l0
}
let rZ = O5;

function I7(t, e) {
  return t = t.split(" "), e = e.split(" "), t[0] > e[0] ? 1 : t[0] < e[0] ? -1 : Math.sign(parseFloat(t[1]) - parseFloat(e[1]))
}

function $(t, e, r) {
  t = rZ(t), r || ([r, e] = [e, {}]);
  let n = e.match || /\sx($|\s)/,
    i = [];
  for (let s in t.stats) {
    let o = t.stats[s];
    for (let a in o) o[a].match(n) && i.push(s + " " + a)
  }
  r(i.sort(I7))
}
let Gc = {};

function U(t, e) {
  for (let r of t) Gc[r] = Object.assign({}, e)
}

function Wu(t, e) {
  for (let r of t) Gc[r].browsers = Gc[r].browsers.concat(e.browsers).sort(I7)
}
var nZ = Gc;
let iZ = UY();
$(iZ, t => U(["border-radius", "border-top-left-radius", "border-top-right-radius", "border-bottom-right-radius", "border-bottom-left-radius"], {
  browsers: t,
  feature: "border-radius",
  mistakes: ["-khtml-", "-ms-", "-o-"]
}));
let sZ = zY();
$(sZ, t => U(["box-shadow"], {
  browsers: t,
  feature: "css-boxshadow",
  mistakes: ["-khtml-"]
}));
let oZ = WY();
$(oZ, t => U(["animation", "animation-name", "animation-duration", "animation-delay", "animation-direction", "animation-fill-mode", "animation-iteration-count", "animation-play-state", "animation-timing-function", "@keyframes"], {
  browsers: t,
  feature: "css-animation",
  mistakes: ["-khtml-", "-ms-"]
}));
let aZ = $Y();
$(aZ, t => U(["transition", "transition-property", "transition-duration", "transition-delay", "transition-timing-function"], {
  browsers: t,
  feature: "css-transitions",
  mistakes: ["-khtml-", "-ms-"]
}));
let lZ = HY();
$(lZ, t => U(["transform", "transform-origin"], {
  browsers: t,
  feature: "transforms2d"
}));
let N7 = GY();
$(N7, t => (U(["perspective", "perspective-origin"], {
  browsers: t,
  feature: "transforms3d"
}), U(["transform-style"], {
  browsers: t,
  feature: "transforms3d",
  mistakes: ["-ms-", "-o-"]
})));
$(N7, {
  match: /y\sx|y\s#2/
}, t => U(["backface-visibility"], {
  browsers: t,
  feature: "transforms3d",
  mistakes: ["-ms-", "-o-"]
}));
let T7 = qY();
$(T7, {
  match: /y\sx/
}, t => U(["linear-gradient", "repeating-linear-gradient", "radial-gradient", "repeating-radial-gradient"], {
  browsers: t,
  feature: "css-gradients",
  mistakes: ["-ms-"],
  props: ["background", "background-image", "border-image", "mask", "list-style", "list-style-image", "content", "mask-image"]
}));
$(T7, {
  match: /a\sx/
}, t => (t = t.map(e => /firefox|op/.test(e) ? e : `${e} old`), Wu(["linear-gradient", "repeating-linear-gradient", "radial-gradient", "repeating-radial-gradient"], {
  browsers: t,
  feature: "css-gradients"
})));
let uZ = VY();
$(uZ, t => U(["box-sizing"], {
  browsers: t,
  feature: "css3-boxsizing"
}));
let cZ = KY();
$(cZ, t => U(["filter"], {
  browsers: t,
  feature: "css-filters"
}));
let dZ = QY();
$(dZ, t => U(["filter-function"], {
  browsers: t,
  feature: "css-filter-function",
  props: ["background", "background-image", "border-image", "mask", "list-style", "list-style-image", "content", "mask-image"]
}));
let fZ = JY();
$(fZ, {
  match: /y\sx|y\s#2/
}, t => U(["backdrop-filter"], {
  browsers: t,
  feature: "css-backdrop-filter"
}));
let BZ = YY();
$(BZ, t => U(["element"], {
  browsers: t,
  feature: "css-element-function",
  props: ["background", "background-image", "border-image", "mask", "list-style", "list-style-image", "content", "mask-image"]
}));
let hZ = XY();
$(hZ, t => {
  U(["columns", "column-width", "column-gap", "column-rule", "column-rule-color", "column-rule-width", "column-count", "column-rule-style", "column-span", "column-fill"], {
    browsers: t,
    feature: "multicolumn"
  });
  let e = t.filter(r => !/firefox/.test(r));
  U(["break-before", "break-after", "break-inside"], {
    browsers: e,
    feature: "multicolumn"
  })
});
let pZ = ZY();
$(pZ, t => U(["user-select"], {
  browsers: t,
  feature: "user-select-none",
  mistakes: ["-khtml-"]
}));
let R7 = eX();
$(R7, {
  match: /a\sx/
}, t => {
  t = t.map(e => /ie|firefox/.test(e) ? e : `${e} 2009`), U(["display-flex", "inline-flex"], {
    browsers: t,
    feature: "flexbox",
    props: ["display"]
  }), U(["flex", "flex-grow", "flex-shrink", "flex-basis"], {
    browsers: t,
    feature: "flexbox"
  }), U(["flex-direction", "flex-wrap", "flex-flow", "justify-content", "order", "align-items", "align-self", "align-content"], {
    browsers: t,
    feature: "flexbox"
  })
});
$(R7, {
  match: /y\sx/
}, t => {
  Wu(["display-flex", "inline-flex"], {
    browsers: t,
    feature: "flexbox"
  }), Wu(["flex", "flex-grow", "flex-shrink", "flex-basis"], {
    browsers: t,
    feature: "flexbox"
  }), Wu(["flex-direction", "flex-wrap", "flex-flow", "justify-content", "order", "align-items", "align-self", "align-content"], {
    browsers: t,
    feature: "flexbox"
  })
});
let CZ = tX();
$(CZ, t => U(["calc"], {
  browsers: t,
  feature: "calc",
  props: ["*"]
}));
let mZ = rX();
$(mZ, t => U(["background-origin", "background-size"], {
  browsers: t,
  feature: "background-img-opts"
}));
let gZ = nX();
$(gZ, t => U(["background-clip"], {
  browsers: t,
  feature: "background-clip-text"
}));
let vZ = iX();
$(vZ, t => U(["font-feature-settings", "font-variant-ligatures", "font-language-override"], {
  browsers: t,
  feature: "font-feature"
}));
let yZ = sX();
$(yZ, t => U(["font-kerning"], {
  browsers: t,
  feature: "font-kerning"
}));
let wZ = oX();
$(wZ, t => U(["border-image"], {
  browsers: t,
  feature: "border-image"
}));
let bZ = aX();
$(bZ, t => U(["::selection"], {
  browsers: t,
  feature: "css-selection",
  selector: !0
}));
let DZ = lX();
$(DZ, t => {
  U(["::placeholder"], {
    browsers: t.concat(["ie 10 old", "ie 11 old", "firefox 18 old"]),
    feature: "css-placeholder",
    selector: !0
  })
});
let xZ = uX();
$(xZ, t => {
  U([":placeholder-shown"], {
    browsers: t,
    feature: "css-placeholder-shown",
    selector: !0
  })
});
let EZ = cX();
$(EZ, t => U(["hyphens"], {
  browsers: t,
  feature: "css-hyphens"
}));
let SZ = dX();
$(SZ, t => U([":fullscreen"], {
  browsers: t,
  feature: "fullscreen",
  selector: !0
}));
let kZ = fX();
$(kZ, t => U(["::backdrop"], {
  browsers: t,
  feature: "backdrop",
  selector: !0
}));
let jZ = BX();
$(jZ, t => U(["::file-selector-button"], {
  browsers: t,
  feature: "file-selector-button",
  selector: !0
}));
let AZ = hX();
$(AZ, t => U([":autofill"], {
  browsers: t,
  feature: "css-autofill",
  selector: !0
}));
let PZ = pX();
$(PZ, t => U(["tab-size"], {
  browsers: t,
  feature: "css3-tabsize"
}));
let pg = CX(),
  lf = ["width", "min-width", "max-width", "height", "min-height", "max-height", "inline-size", "min-inline-size", "max-inline-size", "block-size", "min-block-size", "max-block-size", "grid", "grid-template", "grid-template-rows", "grid-template-columns", "grid-auto-columns", "grid-auto-rows"];
$(pg, t => U(["max-content", "min-content"], {
  browsers: t,
  feature: "intrinsic-width",
  props: lf
}));
$(pg, {
  match: /x|\s#4/
}, t => U(["fill", "fill-available"], {
  browsers: t,
  feature: "intrinsic-width",
  props: lf
}));
$(pg, {
  match: /x|\s#5/
}, t => {
  let e = t.filter(r => {
    let [n, i] = r.split(" ");
    return n === "firefox" || n === "and_ff" ? parseInt(i) < 94 : !0
  });
  return U(["fit-content"], {
    browsers: e,
    feature: "intrinsic-width",
    props: lf
  })
});
let _Z = mX();
$(_Z, t => U(["stretch"], {
  browsers: t,
  feature: "css-width-stretch",
  props: lf
}));
let OZ = gX();
$(OZ, t => U(["zoom-in", "zoom-out"], {
  browsers: t,
  feature: "css3-cursors-newer",
  props: ["cursor"]
}));
let IZ = vX();
$(IZ, t => U(["grab", "grabbing"], {
  browsers: t,
  feature: "css3-cursors-grab",
  props: ["cursor"]
}));
let NZ = yX();
$(NZ, t => U(["sticky"], {
  browsers: t,
  feature: "css-sticky",
  props: ["position"]
}));
let TZ = wX();
$(TZ, t => U(["touch-action"], {
  browsers: t,
  feature: "pointer"
}));
let RZ = bX();
$(RZ, {
  match: /x.*#[235]/
}, t => U(["text-decoration-skip", "text-decoration-skip-ink"], {
  browsers: t,
  feature: "text-decoration"
}));
let FZ = DX();
$(FZ, t => U(["text-decoration"], {
  browsers: t,
  feature: "text-decoration"
}));
let MZ = xX();
$(MZ, t => U(["text-decoration-color"], {
  browsers: t,
  feature: "text-decoration"
}));
let LZ = EX();
$(LZ, t => U(["text-decoration-line"], {
  browsers: t,
  feature: "text-decoration"
}));
let UZ = SX();
$(UZ, t => U(["text-decoration-style"], {
  browsers: t,
  feature: "text-decoration"
}));
let zZ = kX();
$(zZ, t => U(["text-size-adjust"], {
  browsers: t,
  feature: "text-size-adjust"
}));
let WZ = jX();
$(WZ, t => {
  U(["mask-clip", "mask-composite", "mask-image", "mask-origin", "mask-repeat", "mask-border-repeat", "mask-border-source"], {
    browsers: t,
    feature: "css-masks"
  }), U(["mask", "mask-position", "mask-size", "mask-border", "mask-border-outset", "mask-border-width", "mask-border-slice"], {
    browsers: t,
    feature: "css-masks"
  })
});
let $Z = AX();
$($Z, t => U(["clip-path"], {
  browsers: t,
  feature: "css-clip-path"
}));
let HZ = PX();
$(HZ, t => U(["box-decoration-break"], {
  browsers: t,
  feature: "css-boxdecorationbreak"
}));
let GZ = _X();
$(GZ, t => U(["object-fit", "object-position"], {
  browsers: t,
  feature: "object-fit"
}));
let qZ = OX();
$(qZ, t => U(["shape-margin", "shape-outside", "shape-image-threshold"], {
  browsers: t,
  feature: "css-shapes"
}));
let VZ = IX();
$(VZ, t => U(["text-overflow"], {
  browsers: t,
  feature: "text-overflow"
}));
let KZ = NX();
$(KZ, t => U(["@viewport"], {
  browsers: t,
  feature: "css-deviceadaptation"
}));
let QZ = TX();
$(QZ, {
  match: /( x($| )|a #2)/
}, t => U(["@resolution"], {
  browsers: t,
  feature: "css-media-resolution"
}));
let JZ = RX();
$(JZ, t => U(["text-align-last"], {
  browsers: t,
  feature: "css-text-align-last"
}));
let F7 = FX();
$(F7, {
  match: /y x|a x #1/
}, t => U(["pixelated"], {
  browsers: t,
  feature: "css-crisp-edges",
  props: ["image-rendering"]
}));
$(F7, {
  match: /a x #2/
}, t => U(["image-rendering"], {
  browsers: t,
  feature: "css-crisp-edges"
}));
let M7 = MX();
$(M7, t => U(["border-inline-start", "border-inline-end", "margin-inline-start", "margin-inline-end", "padding-inline-start", "padding-inline-end"], {
  browsers: t,
  feature: "css-logical-props"
}));
$(M7, {
  match: /x\s#2/
}, t => U(["border-block-start", "border-block-end", "margin-block-start", "margin-block-end", "padding-block-start", "padding-block-end"], {
  browsers: t,
  feature: "css-logical-props"
}));
let YZ = LX();
$(YZ, {
  match: /#2|x/
}, t => U(["appearance"], {
  browsers: t,
  feature: "css-appearance"
}));
let XZ = UX();
$(XZ, t => U(["scroll-snap-type", "scroll-snap-coordinate", "scroll-snap-destination", "scroll-snap-points-x", "scroll-snap-points-y"], {
  browsers: t,
  feature: "css-snappoints"
}));
let ZZ = zX();
$(ZZ, t => U(["flow-into", "flow-from", "region-fragment"], {
  browsers: t,
  feature: "css-regions"
}));
let eee = WX();
$(eee, t => U(["image-set"], {
  browsers: t,
  feature: "css-image-set",
  props: ["background", "background-image", "border-image", "cursor", "mask", "mask-image", "list-style", "list-style-image", "content"]
}));
let tee = $X();
$(tee, {
  match: /a|x/
}, t => U(["writing-mode"], {
  browsers: t,
  feature: "css-writing-mode"
}));
let ree = HX();
$(ree, t => U(["cross-fade"], {
  browsers: t,
  feature: "css-cross-fade",
  props: ["background", "background-image", "border-image", "mask", "list-style", "list-style-image", "content", "mask-image"]
}));
let nee = GX();
$(nee, t => U([":read-only", ":read-write"], {
  browsers: t,
  feature: "css-read-only-write",
  selector: !0
}));
let iee = qX();
$(iee, t => U(["text-emphasis", "text-emphasis-position", "text-emphasis-style", "text-emphasis-color"], {
  browsers: t,
  feature: "text-emphasis"
}));
let L7 = VX();
$(L7, t => {
  U(["display-grid", "inline-grid"], {
    browsers: t,
    feature: "css-grid",
    props: ["display"]
  }), U(["grid-template-columns", "grid-template-rows", "grid-row-start", "grid-column-start", "grid-row-end", "grid-column-end", "grid-row", "grid-column", "grid-area", "grid-template", "grid-template-areas", "place-self"], {
    browsers: t,
    feature: "css-grid"
  })
});
$(L7, {
  match: /a x/
}, t => U(["grid-column-align", "grid-row-align"], {
  browsers: t,
  feature: "css-grid"
}));
let see = KX();
$(see, t => U(["text-spacing"], {
  browsers: t,
  feature: "css-text-spacing"
}));
let oee = QX();
$(oee, t => U([":any-link"], {
  browsers: t,
  feature: "css-any-link",
  selector: !0
}));
let aee = JX();
$(aee, t => U(["isolate"], {
  browsers: t,
  feature: "css-unicode-bidi",
  props: ["unicode-bidi"]
}));
let lee = YX();
$(lee, t => U(["plaintext"], {
  browsers: t,
  feature: "css-unicode-bidi",
  props: ["unicode-bidi"]
}));
let uee = XX();
$(uee, {
  match: /y x/
}, t => U(["isolate-override"], {
  browsers: t,
  feature: "css-unicode-bidi",
  props: ["unicode-bidi"]
}));
let cee = ZX();
$(cee, {
  match: /a #1/
}, t => U(["overscroll-behavior"], {
  browsers: t,
  feature: "css-overscroll-behavior"
}));
let dee = eZ();
$(dee, t => U(["text-orientation"], {
  browsers: t,
  feature: "css-text-orientation"
}));
let fee = tZ();
$(fee, t => U(["print-color-adjust", "color-adjust"], {
  browsers: t,
  feature: "css-print-color-adjust"
}));
let Bee = Zm;

function hee(t) {
  return t.slice(0, 1).toUpperCase() + t.slice(1)
}
const pee = {
  and_chr: "Chrome for Android",
  and_ff: "Firefox for Android",
  and_qq: "QQ Browser",
  and_uc: "UC for Android",
  baidu: "Baidu Browser",
  ie: "IE",
  ie_mob: "IE Mobile",
  ios_saf: "iOS Safari",
  kaios: "KaiOS Browser",
  op_mini: "Opera Mini",
  op_mob: "Opera Mobile",
  samsung: "Samsung Internet"
};

function Cu(t, e, r) {
  let n = `  ${t}`;
  return r && (n += " *"), n += ": ", n += e.map(i => i.replace(/^-(.*)-$/g, "$1")).join(", "), n += `
`, n
}
var Cee = function (t) {
  if (t.browsers.selected.length === 0) return "No browsers selected";
  let e = {};
  for (let c of t.browsers.selected) {
    let d = c.split(" "),
      f = d[0],
      B = d[1];
    f = pee[f] || hee(f), e[f] ? e[f].push(B) : e[f] = [B]
  }
  let r = `Browsers:
`;
  for (let c in e) {
    let d = e[c];
    d = d.sort((f, B) => parseFloat(B) - parseFloat(f)), r += `  ${c}: ${d.join(", ")}
`
  }
  let n = Bee.coverage(t.browsers.selected),
    i = Math.round(n * 100) / 100;
  r += `
These browsers account for ${i}% of all users globally
`;
  let s = [];
  for (let c in t.add) {
    let d = t.add[c];
    c[0] === "@" && d.prefixes && s.push(Cu(c, d.prefixes))
  }
  s.length > 0 && (r += `
At-Rules:
${s.sort().join("")}`);
  let o = [];
  for (let c of t.add.selectors) c.prefixes && o.push(Cu(c.name, c.prefixes));
  o.length > 0 && (r += `
Selectors:
${o.sort().join("")}`);
  let a = [],
    l = [],
    u = !1;
  for (let c in t.add) {
    let d = t.add[c];
    if (c[0] !== "@" && d.prefixes) {
      let f = c.indexOf("grid-") === 0;
      f && (u = !0), l.push(Cu(c, d.prefixes, f))
    }
    if (Array.isArray(d.values))
      for (let f of d.values) {
        let B = f.name.includes("grid");
        B && (u = !0);
        let h = Cu(f.name, f.prefixes, B);
        a.includes(h) || a.push(h)
      }
  }
  return l.length > 0 && (r += `
Properties:
${l.sort().join("")}`), a.length > 0 && (r += `
Values:
${a.sort().join("")}`), u && (r += `
* - Prefixes will be added only on grid: true option.
`), !s.length && !o.length && !l.length && !a.length && (r += `
Awesome! Your browsers don't require any vendor prefixes.
Now you can remove Autoprefixer from build steps.`), r
};
let mee = Zm,
  {
    agents: gee
  } = Yd,
  p3 = $E,
  vee = Ni,
  yee = LY,
  wee = nZ,
  bee = Cee,
  U7 = {
    browsers: gee,
    prefixes: wee
  };
const Dee = `
  Replace Autoprefixer \`browsers\` option to Browserslist config.
  Use \`browserslist\` key in \`package.json\` or \`.browserslistrc\` file.

  Using \`browsers\` option can cause errors. Browserslist config can
  be used for Babel, Autoprefixer, postcss-normalize and other tools.

  If you really need to use option, rename it to \`overrideBrowserslist\`.

  Learn more at:
  https://github.com/browserslist/browserslist#readme
  https://twitter.com/browserslist

`;

function xee(t) {
  return Object.prototype.toString.apply(t) === "[object Object]"
}
let u0 = new Map;

function Eee(t, e) {
  e.browsers.selected.length !== 0 && (e.add.selectors.length > 0 || Object.keys(e.add).length > 2 || t.warn(`Autoprefixer target browsers do not need any prefixes.You do not need Autoprefixer anymore.
Check your Browserslist config to be sure that your targets are set up correctly.

  Learn more at:
  https://github.com/postcss/autoprefixer#readme
  https://github.com/browserslist/browserslist#readme

`))
}

function Ia(...t) {
  let e;
  if (t.length === 1 && xee(t[0]) ? (e = t[0], t = void 0) : t.length === 0 || t.length === 1 && !t[0] ? t = void 0 : t.length <= 2 && (Array.isArray(t[0]) || !t[0]) ? (e = t[1], t = t[0]) : typeof t[t.length - 1] == "object" && (e = t.pop()), e || (e = {}), e.browser) throw new Error("Change `browser` option to `overrideBrowserslist` in Autoprefixer");
  if (e.browserslist) throw new Error("Change `browserslist` option to `overrideBrowserslist` in Autoprefixer");
  e.overrideBrowserslist ? t = e.overrideBrowserslist : e.browsers && (typeof console < "u" && console.warn && console.warn(p3.red(Dee.replace(/`[^`]+`/g, i => p3.yellow(i.slice(1, -1))))), t = e.browsers);
  let r = {
    env: e.env,
    ignoreUnknownVersions: e.ignoreUnknownVersions,
    stats: e.stats
  };

  function n(i) {
    let s = U7,
      o = new vee(s.browsers, t, i, r),
      a = o.selected.join(", ") + JSON.stringify(e);
    return u0.has(a) || u0.set(a, new yee(s.prefixes, o, e)), u0.get(a)
  }
  return {
    browsers: t,
    info(i) {
      return i = i || {}, i.from = i.from || process.cwd(), bee(n(i))
    },
    options: e,
    postcssPlugin: "autoprefixer",
    prepare(i) {
      let s = n({
        env: e.env,
        from: i.opts.from
      });
      return {
        OnceExit(o) {
          Eee(i, s), e.remove !== !1 && s.processor.remove(o, i), e.add !== !1 && s.processor.add(o, i)
        }
      }
    }
  }
}
Ia.postcss = !0;
Ia.data = U7;
Ia.defaults = mee.defaults;
Ia.info = () => Ia().info();

function z7() {
  return typeof navigator < "u" && /android/i.test(navigator.userAgent)
}

function See() {
  return typeof navigator < "u" && /iPhone|iPod/.test(navigator.userAgent)
}

function kee() {
  return typeof navigator < "u" && (/iPad/.test(navigator.userAgent) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1)
}

function Cg() {
  return See() || kee()
}

function _C() {
  return z7() || Cg()
}
async function Na(t, e) {
  const r = await t.getProvider();
  return e === "2" ? new Promise(n => r.once("display_uri", n)) : r.connector.uri
}
var W7 = new Map;

function jee(t, e) {
  const r = t === "1" ? new QU(e) : new L8(e);
  return W7.set(JSON.stringify(e), r), r
}

function Ta({
  chains: t,
  options: e = {},
  projectId: r,
  version: n = "2"
}) {
  const i = "21fef48091f12692cad574a6f7753643";
  if (n === "2") {
    if (!r || r === "") throw new Error("No projectId found. Every dApp must now provide a WalletConnect Cloud projectId to enable WalletConnect v2 https://www.rainbowkit.com/docs/installation#configure");
    (r === "YOUR_PROJECT_ID" || r === i) && console.warn("Invalid projectId. Please create a unique WalletConnect Cloud projectId for your dApp https://www.rainbowkit.com/docs/installation#configure")
  }
  const s = {
      chains: t,
      options: n === "1" ? {
        qrcode: !1,
        ...e
      } : {
        projectId: r === "YOUR_PROJECT_ID" ? i : r,
        showQrModal: !1,
        ...e
      }
    },
    o = JSON.stringify(s),
    a = W7.get(o);
  return a ?? jee(n, s)
}

function $7(t) {
  if (typeof window > "u" || typeof window.ethereum > "u") return;
  const e = window.ethereum.providers;
  return e ? e.find(r => r[t]) : window.ethereum[t] ? window.ethereum : void 0
}

function C3(t) {
  return !!$7(t)
}

function Aee(t) {
  if (typeof window > "u" || typeof window.ethereum > "u") return;
  const e = window.ethereum.providers,
    r = $7(t);
  return r || (typeof e < "u" && e.length > 0 ? e[0] : window.ethereum)
}

function m3({
  chains: t,
  flag: e,
  options: r
}) {
  return new xd({
    chains: t,
    options: {
      getProvider: () => Aee(e),
      ...r
    }
  })
}
var Pee = ({
    chains: t,
    projectId: e,
    walletConnectOptions: r,
    walletConnectVersion: n = "2"
  }) => {
    var i;
    const s = typeof window < "u" && ((i = window.ethereum) == null ? void 0 : i.isTokenPocket) === !0,
      o = !s;
    return {
      id: "tokenPocket",
      name: "TokenPocket",
      iconUrl: async () => (await ee(async () => {
        const {
          default: a
        } = await import("./tokenPocketWallet-UYD66DEM-Ciuc7o1b.js");
        return {
          default: a
        }
      }, [])).default,
      iconBackground: "#2980FE",
      installed: o ? void 0 : s,
      downloadUrls: {
        chrome: "https://chrome.google.com/webstore/detail/tokenpocket/mfgccjchihfkkindfppnaooecgfneiii",
        browserExtension: "https://extension.tokenpocket.pro/",
        android: "https://play.google.com/store/apps/details?id=vip.mytokenpocket",
        ios: "https://apps.apple.com/us/app/tp-global-wallet/id6444625622",
        qrCode: "https://tokenpocket.pro/en/download/app",
        mobile: "https://tokenpocket.pro/en/download/app"
      },
      createConnector: () => {
        const a = o ? Ta({
            chains: t,
            projectId: e,
            options: r,
            version: n
          }) : new xd({
            chains: t
          }),
          l = async () => {
            const u = await Na(a, n);
            return _C() ? `tpoutside://wc?uri=${encodeURIComponent(u)}` : u
          };
        return {
          connector: a,
          mobile: {
            getUri: o ? l : void 0
          },
          qrCode: o ? {
            getUri: l,
            instructions: {
              learnMoreUrl: "https://help.tokenpocket.pro/en/",
              steps: [{
                description: "wallet_connectors.token_pocket.qr_code.step1.description",
                step: "install",
                title: "wallet_connectors.token_pocket.qr_code.step1.title"
              }, {
                description: "wallet_connectors.token_pocket.qr_code.step2.description",
                step: "create",
                title: "wallet_connectors.token_pocket.qr_code.step2.title"
              }, {
                description: "wallet_connectors.token_pocket.qr_code.step3.description",
                step: "scan",
                title: "wallet_connectors.token_pocket.qr_code.step3.title"
              }]
            }
          } : void 0,
          extension: {
            instructions: {
              learnMoreUrl: "https://help.tokenpocket.pro/en/extension-wallet/faq/installation-tutorial",
              steps: [{
                description: "wallet_connectors.token_pocket.extension.step1.description",
                step: "install",
                title: "wallet_connectors.token_pocket.extension.step1.title"
              }, {
                description: "wallet_connectors.token_pocket.extension.step2.description",
                step: "create",
                title: "wallet_connectors.token_pocket.extension.step2.title"
              }, {
                description: "wallet_connectors.token_pocket.extension.step3.description",
                step: "refresh",
                title: "wallet_connectors.token_pocket.extension.step3.title"
              }]
            }
          }
        }
      }
    }
  },
  _ee = ({
    chains: t,
    projectId: e,
    walletConnectOptions: r,
    walletConnectVersion: n = "2",
    ...i
  }) => {
    const s = _C() ? C3("isTrust") : C3("isTrustWallet"),
      o = !s;
    return {
      id: "trust",
      name: "Trust Wallet",
      iconUrl: async () => (await ee(async () => {
        const {
          default: a
        } = await import("./trustWallet-FST5ID2K-XYSV8FKK.js");
        return {
          default: a
        }
      }, [])).default,
      installed: s || void 0,
      iconAccent: "#3375BB",
      iconBackground: "#fff",
      downloadUrls: {
        android: "https://play.google.com/store/apps/details?id=com.wallet.crypto.trustapp",
        ios: "https://apps.apple.com/us/app/trust-crypto-bitcoin-wallet/id1288339409",
        mobile: "https://trustwallet.com/download",
        qrCode: "https://trustwallet.com/download",
        chrome: "https://chrome.google.com/webstore/detail/trust-wallet/egjidjbpglichdcondbcbdnbeeppgdph",
        browserExtension: "https://trustwallet.com/browser-extension"
      },
      createConnector: () => {
        const a = async () => {
          const B = await Na(u, n);
          return `trust://wc?uri=${encodeURIComponent(B)}`
        }, l = async () => await Na(u, n), u = o ? Ta({
          projectId: e,
          chains: t,
          version: n,
          options: r
        }) : _C() ? m3({
          flag: "isTrust",
          chains: t,
          options: i
        }) : m3({
          flag: "isTrustWallet",
          chains: t,
          options: i
        }), c = {
          getUri: o ? a : void 0
        };
        let d;
        return o && (d = {
          getUri: l,
          instructions: {
            learnMoreUrl: "https://trustwallet.com/",
            steps: [{
              description: "wallet_connectors.trust.qr_code.step1.description",
              step: "install",
              title: "wallet_connectors.trust.qr_code.step1.title"
            }, {
              description: "wallet_connectors.trust.qr_code.step2.description",
              step: "create",
              title: "wallet_connectors.trust.qr_code.step2.title"
            }, {
              description: "wallet_connectors.trust.qr_code.step3.description",
              step: "scan",
              title: "wallet_connectors.trust.qr_code.step3.title"
            }]
          }
        }), {
          connector: u,
          mobile: c,
          qrCode: d,
          extension: {
            instructions: {
              learnMoreUrl: "https://trustwallet.com/browser-extension",
              steps: [{
                description: "wallet_connectors.trust.extension.step1.description",
                step: "install",
                title: "wallet_connectors.trust.extension.step1.title"
              }, {
                description: "wallet_connectors.trust.extension.step2.description",
                step: "create",
                title: "wallet_connectors.trust.extension.step2.title"
              }, {
                description: "wallet_connectors.trust.extension.step3.description",
                step: "refresh",
                title: "wallet_connectors.trust.extension.step3.title"
              }]
            }
          }
        }
      }
    }
  },
  Oee = ({
    chains: t,
    options: e,
    projectId: r,
    version: n = "2"
  }) => ({
    id: "walletConnect",
    name: "WalletConnect",
    iconUrl: async () => (await ee(async () => {
      const {
        default: i
      } = await import("./walletConnectWallet-D6ZADJM7-8OuKJLEq.js");
      return {
        default: i
      }
    }, [])).default,
    iconBackground: "#3b99fc",
    createConnector: () => {
      const i = Cg(),
        s = Ta(n === "1" ? {
          version: "1",
          chains: t,
          options: {
            qrcode: i,
            ...e
          }
        } : {
          version: "2",
          chains: t,
          projectId: r,
          options: {
            showQrModal: i,
            ...e
          }
        }),
        o = async () => Na(s, n);
      return {
        connector: s,
        ...i ? {} : {
          mobile: {
            getUri: o
          },
          qrCode: {
            getUri: o
          }
        }
      }
    }
  });

function g3(t) {
  return !(!(t != null && t.isMetaMask) || t.isBraveWallet && !t._events && !t._state || t.isApexWallet || t.isAvalanche || t.isBackpack || t.isBifrost || t.isBitKeep || t.isBitski || t.isBlockWallet || t.isCoinbaseWallet || t.isDawn || t.isEnkrypt || t.isExodus || t.isFrame || t.isFrontier || t.isGamestop || t.isHyperPay || t.isImToken || t.isKuCoinWallet || t.isMathWallet || t.isOkxWallet || t.isOKExWallet || t.isOneInchIOSWallet || t.isOneInchAndroidWallet || t.isOpera || t.isPhantom || t.isPortal || t.isRabby || t.isRainbow || t.isStatus || t.isTalisman || t.isTally || t.isTokenPocket || t.isTokenary || t.isTrust || t.isTrustWallet || t.isXDEFI || t.isZeal || t.isZerion)
}
var Iee = ({
  chains: t,
  projectId: e,
  walletConnectOptions: r,
  walletConnectVersion: n = "2",
  ...i
}) => {
  var s, o;
  const a = typeof window < "u" && ((s = window.ethereum) == null ? void 0 : s.providers),
    l = typeof window < "u" && typeof window.ethereum < "u" && (((o = window.ethereum.providers) == null ? void 0 : o.some(g3)) || window.ethereum.isMetaMask),
    u = !l;
  return {
    id: "metaMask",
    name: "MetaMask",
    iconUrl: async () => (await ee(async () => {
      const {
        default: c
      } = await import("./metaMaskWallet-ORHUNQRP-D9jY-BK7.js");
      return {
        default: c
      }
    }, [])).default,
    iconAccent: "#f6851a",
    iconBackground: "#fff",
    installed: u ? void 0 : l,
    downloadUrls: {
      android: "https://play.google.com/store/apps/details?id=io.metamask",
      ios: "https://apps.apple.com/us/app/metamask/id1438144202",
      mobile: "https://metamask.io/download",
      qrCode: "https://metamask.io/download",
      chrome: "https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn",
      edge: "https://microsoftedge.microsoft.com/addons/detail/metamask/ejbalbakoplchlghecdalmeeeajnimhm",
      firefox: "https://addons.mozilla.org/firefox/addon/ether-metamask",
      opera: "https://addons.opera.com/extensions/details/metamask-10",
      browserExtension: "https://metamask.io/download"
    },
    createConnector: () => {
      const c = u ? Ta({
          projectId: e,
          chains: t,
          version: n,
          options: r
        }) : new VU({
          chains: t,
          options: {
            getProvider: () => Array.isArray(a) && a.find(g3) || (typeof window < "u" ? window.ethereum : void 0),
            ...i
          }
        }),
        d = async () => {
          const f = await Na(c, n);
          return z7() ? f : Cg() ? `metamask://wc?uri=${encodeURIComponent(f)}` : `https://metamask.app.link/wc?uri=${encodeURIComponent(f)}`
        };
      return {
        connector: c,
        mobile: {
          getUri: u ? d : void 0
        },
        qrCode: u ? {
          getUri: d,
          instructions: {
            learnMoreUrl: "https://metamask.io/faqs/",
            steps: [{
              description: "wallet_connectors.metamask.qr_code.step1.description",
              step: "install",
              title: "wallet_connectors.metamask.qr_code.step1.title"
            }, {
              description: "wallet_connectors.metamask.qr_code.step2.description",
              step: "create",
              title: "wallet_connectors.metamask.qr_code.step2.title"
            }, {
              description: "wallet_connectors.metamask.qr_code.step3.description",
              step: "refresh",
              title: "wallet_connectors.metamask.qr_code.step3.title"
            }]
          }
        } : void 0,
        extension: {
          instructions: {
            learnMoreUrl: "https://metamask.io/faqs/",
            steps: [{
              description: "wallet_connectors.metamask.extension.step1.description",
              step: "install",
              title: "wallet_connectors.metamask.extension.step1.title"
            }, {
              description: "wallet_connectors.metamask.extension.step2.description",
              step: "create",
              title: "wallet_connectors.metamask.extension.step2.title"
            }, {
              description: "wallet_connectors.metamask.extension.step3.description",
              step: "refresh",
              title: "wallet_connectors.metamask.extension.step3.title"
            }]
          }
        }
      }
    }
  }
};

function Nee({
  rpc: t
}) {
  return function (e) {
    const r = t(e);
    return !r || r.http === "" ? null : {
      chain: {
        ...e,
        rpcUrls: {
          ...e.rpcUrls,
          default: {
            http: [r.http]
          }
        }
      },
      rpcUrls: {
        http: [r.http],
        webSocket: r.webSocket ? [r.webSocket] : void 0
      }
    }
  }
}
const {
  chains: Ao,
  publicClient: Tee
} = tI([LO], [Nee({
  rpc: t => ({
    http: "https://rpc.ankr.com/bsc/a0441e6d14c5b3836bc8f6f4a48e835bd90f86126da9723e8d4fa751bc03423f"
  })
})]), Ree = P$([{
  groupName: "Popular",
  wallets: [_ee({
    chains: Ao,
    projectId: $l
  }), Iee({
    chains: Ao,
    projectId: $l
  }), Pee({
    chains: Ao,
    projectId: $l
  }), Oee({
    chains: Ao,
    projectId: $l
  })]
}]), Fee = UI({
  autoConnect: !0,
  connectors: Ree,
  publicClient: Tee
});

function Mee() {
  const [t, e] = k.useState("staking"), {
    isConnected: r
  } = _t(), n = s => {
    e(s)
  }, i = () => {
    switch (t) {
      case "staking":
        return E.jsx(M2, {});
      case "referral":
        return E.jsx(N$, {});
      case "history":
        return E.jsx(R$, {});
      default:
        return E.jsx(M2, {})
    }
  };
  return E.jsxs(E.Fragment, {
    children: [E.jsx(_$, {
      activeTab: t,
      onTabChange: n
    }), E.jsx("main", {
      className: "flex-grow",
      children: r ? i() : E.jsx(O$, {})
    }), E.jsx(I$, {})]
  })
}

function Lee() {
  return k.useEffect(() => {
    document.title = "METAL BNB - Defi Bank";
    const t = document.querySelector("title[data-default]");
    t && (t.textContent = "METAL BNB - Defi Bank")
  }, []), E.jsx("div", {
    className: "flex flex-col min-h-screen bg-gray-900 text-white",
    children: E.jsx(zI, {
      config: Fee,
      children: E.jsxs(dW, {
        chains: Ao,
        children: [E.jsx(Np, {}), E.jsx(jj, {
          children: E.jsx(Mee, {})
        })]
      })
    })
  })
}
c0.createRoot(document.getElementById("root")).render(E.jsx(E.Fragment, {
  children: E.jsx(Lee, {})
}));
const v3 = Object.freeze(Object.defineProperty({
  __proto__: null,
  default: Tp
}, Symbol.toStringTag, {
  value: "Module"
}));
export {
  Hd as $, Hee as A, W as B, Gee as C, qee as D, eU as E, Xee as F, Qee as G, Lo as H, aa as I, Yee as J, Vee as K, Jee as L, bte as M, bn as N, A8 as O, Lt as P, Zee as Q, ste as R, Fte as S, Mte as T, nl as U, wte as V, ute as W, tte as X, mte as Y, Cte as Z, ee as _, H_ as a, qL as a$, ite as a0, dte as a1, _s as a2, cte as a3, kte as a4, yte as a5, fr as a6, lte as a7, ote as a8, ate as a9, Rte as aA, Pte as aB, _te as aC, Nte as aD, Ste as aE, jU as aF, O8 as aG, fB as aH, Wee as aI, $ee as aJ, D8 as aK, DL as aL, Em as aM, xL as aN, EL as aO, kL as aP, xm as aQ, PL as aR, IL as aS, RL as aT, ML as aU, UL as aV, HM as aW, x8 as aX, VL as aY, KL as aZ, $L as a_, il as aa, Gd as ab, P8 as ac, rte as ad, nte as ae, Kee as af, hte as ag, pte as ah, qd as ai, ete as aj, Am as ak, gte as al, Bte as am, fte as an, vte as ao, Lte as ap, Ete as aq, xte as ar, FU as as, Tte as at, jte as au, MU as av, Dte as aw, Ote as ax, Ate as ay, Ite as az, G_ as b, Za as b0, q_ as c, Qx as d, ud as e, R9 as f, __ as g, vd as h, Wn as i, nn as j, Wa as k, P_ as l, Mr as m, Pu as n, y3 as o, w3 as p, G7 as q, gi as r, kt as s, Be as t, Fd as u, yr as v, kr as w, Sr as x, $y as y, Cs as z
};