var iz = Object.create;
var y0 = Object.defineProperty;
var sz = Object.getOwnPropertyDescriptor;
var lz = Object.getOwnPropertyNames;
var uz = Object.getPrototypeOf, cz = Object.prototype.hasOwnProperty;
var a = (e, t) => y0(e, "name", { value: t, configurable: !0 }), bc = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy <
"u" ? new Proxy(e, {
  get: (t, r) => (typeof require < "u" ? require : t)[r]
}) : e)(function(e) {
  if (typeof require < "u") return require.apply(this, arguments);
  throw Error('Dynamic require of "' + e + '" is not supported');
});
var I = (e, t) => () => (e && (t = e(e = 0)), t);
var L = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), de = (e, t) => {
  for (var r in t)
    y0(e, r, { get: t[r], enumerable: !0 });
}, pz = (e, t, r, n) => {
  if (t && typeof t == "object" || typeof t == "function")
    for (let o of lz(t))
      !cz.call(e, o) && o !== r && y0(e, o, { get: () => t[o], enumerable: !(n = sz(t, o)) || n.enumerable });
  return e;
};
var _ = (e, t, r) => (r = e != null ? iz(uz(e)) : {}, pz(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  t || !e || !e.__esModule ? y0(r, "default", { value: e, enumerable: !0 }) : r,
  e
));

// ../node_modules/@storybook/global/dist/index.mjs
var z, qe = I(() => {
  z = (() => {
    let e;
    return typeof window < "u" ? e = window : typeof globalThis < "u" ? e = globalThis : typeof global < "u" ? e = global : typeof self < "u" ?
    e = self : e = {}, e;
  })();
});

// ../node_modules/react/cjs/react.production.min.js
var jb = L((ie) => {
  "use strict";
  var _c = Symbol.for("react.element"), Mz = Symbol.for("react.portal"), Bz = Symbol.for("react.fragment"), zz = Symbol.for("react.strict_mo\
de"), Hz = Symbol.for("react.profiler"), $z = Symbol.for("react.provider"), jz = Symbol.for("react.context"), Vz = Symbol.for("react.forward\
_ref"), Uz = Symbol.for("react.suspense"), Wz = Symbol.for("react.memo"), qz = Symbol.for("react.lazy"), kb = Symbol.iterator;
  function Gz(e) {
    return e === null || typeof e != "object" ? null : (e = kb && e[kb] || e["@@iterator"], typeof e == "function" ? e : null);
  }
  a(Gz, "A");
  var Ob = { isMounted: /* @__PURE__ */ a(function() {
    return !1;
  }, "isMounted"), enqueueForceUpdate: /* @__PURE__ */ a(function() {
  }, "enqueueForceUpdate"), enqueueReplaceState: /* @__PURE__ */ a(function() {
  }, "enqueueReplaceState"), enqueueSetState: /* @__PURE__ */ a(function() {
  }, "enqueueSetState") }, Nb = Object.assign, Mb = {};
  function Rs(e, t, r) {
    this.props = e, this.context = t, this.refs = Mb, this.updater = r || Ob;
  }
  a(Rs, "E");
  Rs.prototype.isReactComponent = {};
  Rs.prototype.setState = function(e, t) {
    if (typeof e != "object" && typeof e != "function" && e != null) throw Error("setState(...): takes an object of state variables to updat\
e or a function which returns an object of state variables.");
    this.updater.enqueueSetState(this, e, t, "setState");
  };
  Rs.prototype.forceUpdate = function(e) {
    this.updater.enqueueForceUpdate(this, e, "forceUpdate");
  };
  function Bb() {
  }
  a(Bb, "F");
  Bb.prototype = Rs.prototype;
  function k2(e, t, r) {
    this.props = e, this.context = t, this.refs = Mb, this.updater = r || Ob;
  }
  a(k2, "G");
  var F2 = k2.prototype = new Bb();
  F2.constructor = k2;
  Nb(F2, Rs.prototype);
  F2.isPureReactComponent = !0;
  var Fb = Array.isArray, zb = Object.prototype.hasOwnProperty, L2 = { current: null }, Hb = { key: !0, ref: !0, __self: !0, __source: !0 };
  function $b(e, t, r) {
    var n, o = {}, i = null, s = null;
    if (t != null) for (n in t.ref !== void 0 && (s = t.ref), t.key !== void 0 && (i = "" + t.key), t) zb.call(t, n) && !Hb.hasOwnProperty(n) &&
    (o[n] = t[n]);
    var l = arguments.length - 2;
    if (l === 1) o.children = r;
    else if (1 < l) {
      for (var u = Array(l), c = 0; c < l; c++) u[c] = arguments[c + 2];
      o.children = u;
    }
    if (e && e.defaultProps) for (n in l = e.defaultProps, l) o[n] === void 0 && (o[n] = l[n]);
    return { $$typeof: _c, type: e, key: i, ref: s, props: o, _owner: L2.current };
  }
  a($b, "M");
  function Yz(e, t) {
    return { $$typeof: _c, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner };
  }
  a(Yz, "N");
  function O2(e) {
    return typeof e == "object" && e !== null && e.$$typeof === _c;
  }
  a(O2, "O");
  function Kz(e) {
    var t = { "=": "=0", ":": "=2" };
    return "$" + e.replace(/[=:]/g, function(r) {
      return t[r];
    });
  }
  a(Kz, "escape");
  var Lb = /\/+/g;
  function P2(e, t) {
    return typeof e == "object" && e !== null && e.key != null ? Kz("" + e.key) : t.toString(36);
  }
  a(P2, "Q");
  function b0(e, t, r, n, o) {
    var i = typeof e;
    (i === "undefined" || i === "boolean") && (e = null);
    var s = !1;
    if (e === null) s = !0;
    else switch (i) {
      case "string":
      case "number":
        s = !0;
        break;
      case "object":
        switch (e.$$typeof) {
          case _c:
          case Mz:
            s = !0;
        }
    }
    if (s) return s = e, o = o(s), e = n === "" ? "." + P2(s, 0) : n, Fb(o) ? (r = "", e != null && (r = e.replace(Lb, "$&/") + "/"), b0(o, t,
    r, "", function(c) {
      return c;
    })) : o != null && (O2(o) && (o = Yz(o, r + (!o.key || s && s.key === o.key ? "" : ("" + o.key).replace(Lb, "$&/") + "/") + e)), t.push(
    o)), 1;
    if (s = 0, n = n === "" ? "." : n + ":", Fb(e)) for (var l = 0; l < e.length; l++) {
      i = e[l];
      var u = n + P2(i, l);
      s += b0(i, t, r, u, o);
    }
    else if (u = Gz(e), typeof u == "function") for (e = u.call(e), l = 0; !(i = e.next()).done; ) i = i.value, u = n + P2(i, l++), s += b0(
    i, t, r, u, o);
    else if (i === "object") throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "obje\
ct with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead.");
    return s;
  }
  a(b0, "R");
  function E0(e, t, r) {
    if (e == null) return e;
    var n = [], o = 0;
    return b0(e, n, "", "", function(i) {
      return t.call(r, i, o++);
    }), n;
  }
  a(E0, "S");
  function Xz(e) {
    if (e._status === -1) {
      var t = e._result;
      t = t(), t.then(function(r) {
        (e._status === 0 || e._status === -1) && (e._status = 1, e._result = r);
      }, function(r) {
        (e._status === 0 || e._status === -1) && (e._status = 2, e._result = r);
      }), e._status === -1 && (e._status = 0, e._result = t);
    }
    if (e._status === 1) return e._result.default;
    throw e._result;
  }
  a(Xz, "T");
  var Ut = { current: null }, x0 = { transition: null }, Qz = { ReactCurrentDispatcher: Ut, ReactCurrentBatchConfig: x0, ReactCurrentOwner: L2 };
  ie.Children = { map: E0, forEach: /* @__PURE__ */ a(function(e, t, r) {
    E0(e, function() {
      t.apply(this, arguments);
    }, r);
  }, "forEach"), count: /* @__PURE__ */ a(function(e) {
    var t = 0;
    return E0(e, function() {
      t++;
    }), t;
  }, "count"), toArray: /* @__PURE__ */ a(function(e) {
    return E0(e, function(t) {
      return t;
    }) || [];
  }, "toArray"), only: /* @__PURE__ */ a(function(e) {
    if (!O2(e)) throw Error("React.Children.only expected to receive a single React element child.");
    return e;
  }, "only") };
  ie.Component = Rs;
  ie.Fragment = Bz;
  ie.Profiler = Hz;
  ie.PureComponent = k2;
  ie.StrictMode = zz;
  ie.Suspense = Uz;
  ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Qz;
  ie.cloneElement = function(e, t, r) {
    if (e == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
    var n = Nb({}, e.props), o = e.key, i = e.ref, s = e._owner;
    if (t != null) {
      if (t.ref !== void 0 && (i = t.ref, s = L2.current), t.key !== void 0 && (o = "" + t.key), e.type && e.type.defaultProps) var l = e.type.
      defaultProps;
      for (u in t) zb.call(t, u) && !Hb.hasOwnProperty(u) && (n[u] = t[u] === void 0 && l !== void 0 ? l[u] : t[u]);
    }
    var u = arguments.length - 2;
    if (u === 1) n.children = r;
    else if (1 < u) {
      l = Array(u);
      for (var c = 0; c < u; c++) l[c] = arguments[c + 2];
      n.children = l;
    }
    return { $$typeof: _c, type: e.type, key: o, ref: i, props: n, _owner: s };
  };
  ie.createContext = function(e) {
    return e = { $$typeof: jz, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null },
    e.Provider = { $$typeof: $z, _context: e }, e.Consumer = e;
  };
  ie.createElement = $b;
  ie.createFactory = function(e) {
    var t = $b.bind(null, e);
    return t.type = e, t;
  };
  ie.createRef = function() {
    return { current: null };
  };
  ie.forwardRef = function(e) {
    return { $$typeof: Vz, render: e };
  };
  ie.isValidElement = O2;
  ie.lazy = function(e) {
    return { $$typeof: qz, _payload: { _status: -1, _result: e }, _init: Xz };
  };
  ie.memo = function(e, t) {
    return { $$typeof: Wz, type: e, compare: t === void 0 ? null : t };
  };
  ie.startTransition = function(e) {
    var t = x0.transition;
    x0.transition = {};
    try {
      e();
    } finally {
      x0.transition = t;
    }
  };
  ie.unstable_act = function() {
    throw Error("act(...) is not supported in production builds of React.");
  };
  ie.useCallback = function(e, t) {
    return Ut.current.useCallback(e, t);
  };
  ie.useContext = function(e) {
    return Ut.current.useContext(e);
  };
  ie.useDebugValue = function() {
  };
  ie.useDeferredValue = function(e) {
    return Ut.current.useDeferredValue(e);
  };
  ie.useEffect = function(e, t) {
    return Ut.current.useEffect(e, t);
  };
  ie.useId = function() {
    return Ut.current.useId();
  };
  ie.useImperativeHandle = function(e, t, r) {
    return Ut.current.useImperativeHandle(e, t, r);
  };
  ie.useInsertionEffect = function(e, t) {
    return Ut.current.useInsertionEffect(e, t);
  };
  ie.useLayoutEffect = function(e, t) {
    return Ut.current.useLayoutEffect(e, t);
  };
  ie.useMemo = function(e, t) {
    return Ut.current.useMemo(e, t);
  };
  ie.useReducer = function(e, t, r) {
    return Ut.current.useReducer(e, t, r);
  };
  ie.useRef = function(e) {
    return Ut.current.useRef(e);
  };
  ie.useState = function(e) {
    return Ut.current.useState(e);
  };
  ie.useSyncExternalStore = function(e, t, r) {
    return Ut.current.useSyncExternalStore(e, t, r);
  };
  ie.useTransition = function() {
    return Ut.current.useTransition();
  };
  ie.version = "18.2.0";
});

// ../node_modules/react/index.js
var F = L((Ghe, Vb) => {
  "use strict";
  Vb.exports = jb();
});

// ../node_modules/scheduler/cjs/scheduler.production.min.js
var Zb = L((xe) => {
  "use strict";
  function z2(e, t) {
    var r = e.length;
    e.push(t);
    e: for (; 0 < r; ) {
      var n = r - 1 >>> 1, o = e[n];
      if (0 < R0(o, t)) e[n] = t, e[r] = o, r = n;
      else break e;
    }
  }
  a(z2, "f");
  function gn(e) {
    return e.length === 0 ? null : e[0];
  }
  a(gn, "h");
  function D0(e) {
    if (e.length === 0) return null;
    var t = e[0], r = e.pop();
    if (r !== t) {
      e[0] = r;
      e: for (var n = 0, o = e.length, i = o >>> 1; n < i; ) {
        var s = 2 * (n + 1) - 1, l = e[s], u = s + 1, c = e[u];
        if (0 > R0(l, r)) u < o && 0 > R0(c, l) ? (e[n] = c, e[u] = r, n = u) : (e[n] = l, e[s] = r, n = s);
        else if (u < o && 0 > R0(c, r)) e[n] = c, e[u] = r, n = u;
        else break e;
      }
    }
    return t;
  }
  a(D0, "k");
  function R0(e, t) {
    var r = e.sortIndex - t.sortIndex;
    return r !== 0 ? r : e.id - t.id;
  }
  a(R0, "g");
  typeof performance == "object" && typeof performance.now == "function" ? (Ub = performance, xe.unstable_now = function() {
    return Ub.now();
  }) : (N2 = Date, Wb = N2.now(), xe.unstable_now = function() {
    return N2.now() - Wb;
  });
  var Ub, N2, Wb, jn = [], oa = [], Jz = 1, Br = null, Ot = 3, A0 = !1, li = !1, Ic = !1, Yb = typeof setTimeout == "function" ? setTimeout :
  null, Kb = typeof clearTimeout == "function" ? clearTimeout : null, qb = typeof setImmediate < "u" ? setImmediate : null;
  typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.
  bind(navigator.scheduling);
  function H2(e) {
    for (var t = gn(oa); t !== null; ) {
      if (t.callback === null) D0(oa);
      else if (t.startTime <= e) D0(oa), t.sortIndex = t.expirationTime, z2(jn, t);
      else break;
      t = gn(oa);
    }
  }
  a(H2, "G");
  function $2(e) {
    if (Ic = !1, H2(e), !li) if (gn(jn) !== null) li = !0, V2(j2);
    else {
      var t = gn(oa);
      t !== null && U2($2, t.startTime - e);
    }
  }
  a($2, "H");
  function j2(e, t) {
    li = !1, Ic && (Ic = !1, Kb(Pc), Pc = -1), A0 = !0;
    var r = Ot;
    try {
      for (H2(t), Br = gn(jn); Br !== null && (!(Br.expirationTime > t) || e && !Jb()); ) {
        var n = Br.callback;
        if (typeof n == "function") {
          Br.callback = null, Ot = Br.priorityLevel;
          var o = n(Br.expirationTime <= t);
          t = xe.unstable_now(), typeof o == "function" ? Br.callback = o : Br === gn(jn) && D0(jn), H2(t);
        } else D0(jn);
        Br = gn(jn);
      }
      if (Br !== null) var i = !0;
      else {
        var s = gn(oa);
        s !== null && U2($2, s.startTime - t), i = !1;
      }
      return i;
    } finally {
      Br = null, Ot = r, A0 = !1;
    }
  }
  a(j2, "J");
  var _0 = !1, C0 = null, Pc = -1, Xb = 5, Qb = -1;
  function Jb() {
    return !(xe.unstable_now() - Qb < Xb);
  }
  a(Jb, "M");
  function M2() {
    if (C0 !== null) {
      var e = xe.unstable_now();
      Qb = e;
      var t = !0;
      try {
        t = C0(!0, e);
      } finally {
        t ? Tc() : (_0 = !1, C0 = null);
      }
    } else _0 = !1;
  }
  a(M2, "R");
  var Tc;
  typeof qb == "function" ? Tc = /* @__PURE__ */ a(function() {
    qb(M2);
  }, "S") : typeof MessageChannel < "u" ? (B2 = new MessageChannel(), Gb = B2.port2, B2.port1.onmessage = M2, Tc = /* @__PURE__ */ a(function() {
    Gb.postMessage(null);
  }, "S")) : Tc = /* @__PURE__ */ a(function() {
    Yb(M2, 0);
  }, "S");
  var B2, Gb;
  function V2(e) {
    C0 = e, _0 || (_0 = !0, Tc());
  }
  a(V2, "I");
  function U2(e, t) {
    Pc = Yb(function() {
      e(xe.unstable_now());
    }, t);
  }
  a(U2, "K");
  xe.unstable_IdlePriority = 5;
  xe.unstable_ImmediatePriority = 1;
  xe.unstable_LowPriority = 4;
  xe.unstable_NormalPriority = 3;
  xe.unstable_Profiling = null;
  xe.unstable_UserBlockingPriority = 2;
  xe.unstable_cancelCallback = function(e) {
    e.callback = null;
  };
  xe.unstable_continueExecution = function() {
    li || A0 || (li = !0, V2(j2));
  };
  xe.unstable_forceFrameRate = function(e) {
    0 > e || 125 < e ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not \
supported") : Xb = 0 < e ? Math.floor(1e3 / e) : 5;
  };
  xe.unstable_getCurrentPriorityLevel = function() {
    return Ot;
  };
  xe.unstable_getFirstCallbackNode = function() {
    return gn(jn);
  };
  xe.unstable_next = function(e) {
    switch (Ot) {
      case 1:
      case 2:
      case 3:
        var t = 3;
        break;
      default:
        t = Ot;
    }
    var r = Ot;
    Ot = t;
    try {
      return e();
    } finally {
      Ot = r;
    }
  };
  xe.unstable_pauseExecution = function() {
  };
  xe.unstable_requestPaint = function() {
  };
  xe.unstable_runWithPriority = function(e, t) {
    switch (e) {
      case 1:
      case 2:
      case 3:
      case 4:
      case 5:
        break;
      default:
        e = 3;
    }
    var r = Ot;
    Ot = e;
    try {
      return t();
    } finally {
      Ot = r;
    }
  };
  xe.unstable_scheduleCallback = function(e, t, r) {
    var n = xe.unstable_now();
    switch (typeof r == "object" && r !== null ? (r = r.delay, r = typeof r == "number" && 0 < r ? n + r : n) : r = n, e) {
      case 1:
        var o = -1;
        break;
      case 2:
        o = 250;
        break;
      case 5:
        o = 1073741823;
        break;
      case 4:
        o = 1e4;
        break;
      default:
        o = 5e3;
    }
    return o = r + o, e = { id: Jz++, callback: t, priorityLevel: e, startTime: r, expirationTime: o, sortIndex: -1 }, r > n ? (e.sortIndex =
    r, z2(oa, e), gn(jn) === null && e === gn(oa) && (Ic ? (Kb(Pc), Pc = -1) : Ic = !0, U2($2, r - n))) : (e.sortIndex = o, z2(jn, e), li ||
    A0 || (li = !0, V2(j2))), e;
  };
  xe.unstable_shouldYield = Jb;
  xe.unstable_wrapCallback = function(e) {
    var t = Ot;
    return function() {
      var r = Ot;
      Ot = t;
      try {
        return e.apply(this, arguments);
      } finally {
        Ot = r;
      }
    };
  };
});

// ../node_modules/scheduler/index.js
var tx = L((Xhe, ex) => {
  "use strict";
  ex.exports = Zb();
});

// ../node_modules/react-dom/cjs/react-dom.production.min.js
var s6 = L((Ar) => {
  "use strict";
  var l7 = F(), Cr = tx();
  function N(e) {
    for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, r = 1; r < arguments.length; r++) t += "&args[]=" + encodeURIComponent(
    arguments[r]);
    return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors an\
d additional helpful warnings.";
  }
  a(N, "p");
  var u7 = /* @__PURE__ */ new Set(), Zc = {};
  function Ei(e, t) {
    Ws(e, t), Ws(e + "Capture", t);
  }
  a(Ei, "fa");
  function Ws(e, t) {
    for (Zc[e] = t, e = 0; e < t.length; e++) u7.add(t[e]);
  }
  a(Ws, "ha");
  var Ro = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), d5 = Object.prototype.hasOwnProperty,
  Zz = /^[: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]*$/,
  rx = {}, nx = {};
  function eH(e) {
    return d5.call(nx, e) ? !0 : d5.call(rx, e) ? !1 : Zz.test(e) ? nx[e] = !0 : (rx[e] = !0, !1);
  }
  a(eH, "oa");
  function tH(e, t, r, n) {
    if (r !== null && r.type === 0) return !1;
    switch (typeof t) {
      case "function":
      case "symbol":
        return !0;
      case "boolean":
        return n ? !1 : r !== null ? !r.acceptsBooleans : (e = e.toLowerCase().slice(0, 5), e !== "data-" && e !== "aria-");
      default:
        return !1;
    }
  }
  a(tH, "pa");
  function rH(e, t, r, n) {
    if (t === null || typeof t > "u" || tH(e, t, r, n)) return !0;
    if (n) return !1;
    if (r !== null) switch (r.type) {
      case 3:
        return !t;
      case 4:
        return t === !1;
      case 5:
        return isNaN(t);
      case 6:
        return isNaN(t) || 1 > t;
    }
    return !1;
  }
  a(rH, "qa");
  function Gt(e, t, r, n, o, i, s) {
    this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = n, this.attributeNamespace = o, this.mustUseProperty = r, this.
    propertyName = e, this.type = t, this.sanitizeURL = i, this.removeEmptyString = s;
  }
  a(Gt, "v");
  var At = {};
  "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(
  " ").forEach(function(e) {
    At[e] = new Gt(e, 0, !1, e, null, !1, !1);
  });
  [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(e) {
    var t = e[0];
    At[t] = new Gt(t, 1, !1, e[1], null, !1, !1);
  });
  ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) {
    At[e] = new Gt(e, 2, !1, e.toLowerCase(), null, !1, !1);
  });
  ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) {
    At[e] = new Gt(e, 2, !1, e, null, !1, !1);
  });
  "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hid\
den loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e) {
    At[e] = new Gt(e, 3, !1, e.toLowerCase(), null, !1, !1);
  });
  ["checked", "multiple", "muted", "selected"].forEach(function(e) {
    At[e] = new Gt(e, 3, !0, e, null, !1, !1);
  });
  ["capture", "download"].forEach(function(e) {
    At[e] = new Gt(e, 4, !1, e, null, !1, !1);
  });
  ["cols", "rows", "size", "span"].forEach(function(e) {
    At[e] = new Gt(e, 6, !1, e, null, !1, !1);
  });
  ["rowSpan", "start"].forEach(function(e) {
    At[e] = new Gt(e, 5, !1, e.toLowerCase(), null, !1, !1);
  });
  var av = /[\-:]([a-z])/g;
  function iv(e) {
    return e[1].toUpperCase();
  }
  a(iv, "sa");
  "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filter\
s color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size f\
ont-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-ad\
v-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness pai\
nt-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness str\
oke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration tex\
t-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematic\
al vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e) {
    var t = e.replace(
      av,
      iv
    );
    At[t] = new Gt(t, 1, !1, e, null, !1, !1);
  });
  "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e) {
    var t = e.replace(av, iv);
    At[t] = new Gt(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1);
  });
  ["xml:base", "xml:lang", "xml:space"].forEach(function(e) {
    var t = e.replace(av, iv);
    At[t] = new Gt(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1);
  });
  ["tabIndex", "crossOrigin"].forEach(function(e) {
    At[e] = new Gt(e, 1, !1, e.toLowerCase(), null, !1, !1);
  });
  At.xlinkHref = new Gt("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1);
  ["src", "href", "action", "formAction"].forEach(function(e) {
    At[e] = new Gt(e, 1, !1, e.toLowerCase(), null, !0, !0);
  });
  function sv(e, t, r, n) {
    var o = At.hasOwnProperty(t) ? At[t] : null;
    (o !== null ? o.type !== 0 : n || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (rH(t, r, o, n) &&
    (r = null), n || o === null ? eH(t) && (r === null ? e.removeAttribute(t) : e.setAttribute(t, "" + r)) : o.mustUseProperty ? e[o.propertyName] =
    r === null ? o.type === 3 ? !1 : "" : r : (t = o.attributeName, n = o.attributeNamespace, r === null ? e.removeAttribute(t) : (o = o.type,
    r = o === 3 || o === 4 && r === !0 ? "" : "" + r, n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r))));
  }
  a(sv, "ta");
  var _o = l7.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, T0 = Symbol.for("react.element"), As = Symbol.for("react.portal"), _s = Symbol.
  for("react.fragment"), lv = Symbol.for("react.strict_mode"), h5 = Symbol.for("react.profiler"), c7 = Symbol.for("react.provider"), p7 = Symbol.
  for("react.context"), uv = Symbol.for("react.forward_ref"), m5 = Symbol.for("react.suspense"), g5 = Symbol.for("react.suspense_list"), cv = Symbol.
  for("react.memo"), ia = Symbol.for("react.lazy");
  Symbol.for("react.scope");
  Symbol.for("react.debug_trace_mode");
  var f7 = Symbol.for("react.offscreen");
  Symbol.for("react.legacy_hidden");
  Symbol.for("react.cache");
  Symbol.for("react.tracing_marker");
  var ox = Symbol.iterator;
  function kc(e) {
    return e === null || typeof e != "object" ? null : (e = ox && e[ox] || e["@@iterator"], typeof e == "function" ? e : null);
  }
  a(kc, "Ka");
  var Be = Object.assign, W2;
  function Hc(e) {
    if (W2 === void 0) try {
      throw Error();
    } catch (r) {
      var t = r.stack.trim().match(/\n( *(at )?)/);
      W2 = t && t[1] || "";
    }
    return `
` + W2 + e;
  }
  a(Hc, "Ma");
  var q2 = !1;
  function G2(e, t) {
    if (!e || q2) return "";
    q2 = !0;
    var r = Error.prepareStackTrace;
    Error.prepareStackTrace = void 0;
    try {
      if (t) if (t = /* @__PURE__ */ a(function() {
        throw Error();
      }, "b"), Object.defineProperty(t.prototype, "props", { set: /* @__PURE__ */ a(function() {
        throw Error();
      }, "set") }), typeof Reflect == "object" && Reflect.construct) {
        try {
          Reflect.construct(t, []);
        } catch (c) {
          var n = c;
        }
        Reflect.construct(e, [], t);
      } else {
        try {
          t.call();
        } catch (c) {
          n = c;
        }
        e.call(t.prototype);
      }
      else {
        try {
          throw Error();
        } catch (c) {
          n = c;
        }
        e();
      }
    } catch (c) {
      if (c && n && typeof c.stack == "string") {
        for (var o = c.stack.split(`
`), i = n.stack.split(`
`), s = o.length - 1, l = i.length - 1; 1 <= s && 0 <= l && o[s] !== i[l]; ) l--;
        for (; 1 <= s && 0 <= l; s--, l--) if (o[s] !== i[l]) {
          if (s !== 1 || l !== 1)
            do
              if (s--, l--, 0 > l || o[s] !== i[l]) {
                var u = `
` + o[s].replace(" at new ", " at ");
                return e.displayName && u.includes("<anonymous>") && (u = u.replace("<anonymous>", e.displayName)), u;
              }
            while (1 <= s && 0 <= l);
          break;
        }
      }
    } finally {
      q2 = !1, Error.prepareStackTrace = r;
    }
    return (e = e ? e.displayName || e.name : "") ? Hc(e) : "";
  }
  a(G2, "Oa");
  function nH(e) {
    switch (e.tag) {
      case 5:
        return Hc(e.type);
      case 16:
        return Hc("Lazy");
      case 13:
        return Hc("Suspense");
      case 19:
        return Hc("SuspenseList");
      case 0:
      case 2:
      case 15:
        return e = G2(e.type, !1), e;
      case 11:
        return e = G2(e.type.render, !1), e;
      case 1:
        return e = G2(e.type, !0), e;
      default:
        return "";
    }
  }
  a(nH, "Pa");
  function v5(e) {
    if (e == null) return null;
    if (typeof e == "function") return e.displayName || e.name || null;
    if (typeof e == "string") return e;
    switch (e) {
      case _s:
        return "Fragment";
      case As:
        return "Portal";
      case h5:
        return "Profiler";
      case lv:
        return "StrictMode";
      case m5:
        return "Suspense";
      case g5:
        return "SuspenseList";
    }
    if (typeof e == "object") switch (e.$$typeof) {
      case p7:
        return (e.displayName || "Context") + ".Consumer";
      case c7:
        return (e._context.displayName || "Context") + ".Provider";
      case uv:
        var t = e.render;
        return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
      case cv:
        return t = e.displayName || null, t !== null ? t : v5(e.type) || "Memo";
      case ia:
        t = e._payload, e = e._init;
        try {
          return v5(e(t));
        } catch {
        }
    }
    return null;
  }
  a(v5, "Qa");
  function oH(e) {
    var t = e.type;
    switch (e.tag) {
      case 24:
        return "Cache";
      case 9:
        return (t.displayName || "Context") + ".Consumer";
      case 10:
        return (t._context.displayName || "Context") + ".Provider";
      case 18:
        return "DehydratedFragment";
      case 11:
        return e = t.render, e = e.displayName || e.name || "", t.displayName || (e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef");
      case 7:
        return "Fragment";
      case 5:
        return t;
      case 4:
        return "Portal";
      case 3:
        return "Root";
      case 6:
        return "Text";
      case 16:
        return v5(t);
      case 8:
        return t === lv ? "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 t == "function") return t.displayName || t.name || null;
        if (typeof t == "string") return t;
    }
    return null;
  }
  a(oH, "Ra");
  function Sa(e) {
    switch (typeof e) {
      case "boolean":
      case "number":
      case "string":
      case "undefined":
        return e;
      case "object":
        return e;
      default:
        return "";
    }
  }
  a(Sa, "Sa");
  function d7(e) {
    var t = e.type;
    return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");
  }
  a(d7, "Ta");
  function aH(e) {
    var t = d7(e) ? "checked" : "value", r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), n = "" + e[t];
    if (!e.hasOwnProperty(t) && typeof r < "u" && typeof r.get == "function" && typeof r.set == "function") {
      var o = r.get, i = r.set;
      return Object.defineProperty(e, t, { configurable: !0, get: /* @__PURE__ */ a(function() {
        return o.call(this);
      }, "get"), set: /* @__PURE__ */ a(function(s) {
        n = "" + s, i.call(this, s);
      }, "set") }), Object.defineProperty(e, t, { enumerable: r.enumerable }), { getValue: /* @__PURE__ */ a(function() {
        return n;
      }, "getValue"), setValue: /* @__PURE__ */ a(function(s) {
        n = "" + s;
      }, "setValue"), stopTracking: /* @__PURE__ */ a(function() {
        e._valueTracker = null, delete e[t];
      }, "stopTracking") };
    }
  }
  a(aH, "Ua");
  function I0(e) {
    e._valueTracker || (e._valueTracker = aH(e));
  }
  a(I0, "Va");
  function h7(e) {
    if (!e) return !1;
    var t = e._valueTracker;
    if (!t) return !0;
    var r = t.getValue(), n = "";
    return e && (n = d7(e) ? e.checked ? "true" : "false" : e.value), e = n, e !== r ? (t.setValue(e), !0) : !1;
  }
  a(h7, "Wa");
  function od(e) {
    if (e = e || (typeof document < "u" ? document : void 0), typeof e > "u") return null;
    try {
      return e.activeElement || e.body;
    } catch {
      return e.body;
    }
  }
  a(od, "Xa");
  function y5(e, t) {
    var r = t.checked;
    return Be({}, t, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: r ?? e._wrapperState.initialChecked });
  }
  a(y5, "Ya");
  function ax(e, t) {
    var r = t.defaultValue == null ? "" : t.defaultValue, n = t.checked != null ? t.checked : t.defaultChecked;
    r = Sa(t.value != null ? t.value : r), e._wrapperState = { initialChecked: n, initialValue: r, controlled: t.type === "checkbox" || t.type ===
    "radio" ? t.checked != null : t.value != null };
  }
  a(ax, "Za");
  function m7(e, t) {
    t = t.checked, t != null && sv(e, "checked", t, !1);
  }
  a(m7, "ab");
  function w5(e, t) {
    m7(e, t);
    var r = Sa(t.value), n = t.type;
    if (r != null) n === "number" ? (r === 0 && e.value === "" || e.value != r) && (e.value = "" + r) : e.value !== "" + r && (e.value = "" +
    r);
    else if (n === "submit" || n === "reset") {
      e.removeAttribute("value");
      return;
    }
    t.hasOwnProperty("value") ? S5(e, t.type, r) : t.hasOwnProperty("defaultValue") && S5(e, t.type, Sa(t.defaultValue)), t.checked == null &&
    t.defaultChecked != null && (e.defaultChecked = !!t.defaultChecked);
  }
  a(w5, "bb");
  function ix(e, t, r) {
    if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) {
      var n = t.type;
      if (!(n !== "submit" && n !== "reset" || t.value !== void 0 && t.value !== null)) return;
      t = "" + e._wrapperState.initialValue, r || t === e.value || (e.value = t), e.defaultValue = t;
    }
    r = e.name, r !== "" && (e.name = ""), e.defaultChecked = !!e._wrapperState.initialChecked, r !== "" && (e.name = r);
  }
  a(ix, "db");
  function S5(e, t, r) {
    (t !== "number" || od(e.ownerDocument) !== e) && (r == null ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" +
    r && (e.defaultValue = "" + r));
  }
  a(S5, "cb");
  var $c = Array.isArray;
  function zs(e, t, r, n) {
    if (e = e.options, t) {
      t = {};
      for (var o = 0; o < r.length; o++) t["$" + r[o]] = !0;
      for (r = 0; r < e.length; r++) o = t.hasOwnProperty("$" + e[r].value), e[r].selected !== o && (e[r].selected = o), o && n && (e[r].defaultSelected =
      !0);
    } else {
      for (r = "" + Sa(r), t = null, o = 0; o < e.length; o++) {
        if (e[o].value === r) {
          e[o].selected = !0, n && (e[o].defaultSelected = !0);
          return;
        }
        t !== null || e[o].disabled || (t = e[o]);
      }
      t !== null && (t.selected = !0);
    }
  }
  a(zs, "fb");
  function E5(e, t) {
    if (t.dangerouslySetInnerHTML != null) throw Error(N(91));
    return Be({}, t, { value: void 0, defaultValue: void 0, children: "" + e._wrapperState.initialValue });
  }
  a(E5, "gb");
  function sx(e, t) {
    var r = t.value;
    if (r == null) {
      if (r = t.children, t = t.defaultValue, r != null) {
        if (t != null) throw Error(N(92));
        if ($c(r)) {
          if (1 < r.length) throw Error(N(93));
          r = r[0];
        }
        t = r;
      }
      t == null && (t = ""), r = t;
    }
    e._wrapperState = { initialValue: Sa(r) };
  }
  a(sx, "hb");
  function g7(e, t) {
    var r = Sa(t.value), n = Sa(t.defaultValue);
    r != null && (r = "" + r, r !== e.value && (e.value = r), t.defaultValue == null && e.defaultValue !== r && (e.defaultValue = r)), n != null &&
    (e.defaultValue = "" + n);
  }
  a(g7, "ib");
  function lx(e) {
    var t = e.textContent;
    t === e._wrapperState.initialValue && t !== "" && t !== null && (e.value = t);
  }
  a(lx, "jb");
  function v7(e) {
    switch (e) {
      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";
    }
  }
  a(v7, "kb");
  function b5(e, t) {
    return e == null || e === "http://www.w3.org/1999/xhtml" ? v7(t) : e === "http://www.w3.org/2000/svg" && t === "foreignObject" ? "http:/\
/www.w3.org/1999/xhtml" : e;
  }
  a(b5, "lb");
  var P0, y7 = function(e) {
    return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(t, r, n, o) {
      MSApp.execUnsafeLocalFunction(function() {
        return e(t, r, n, o);
      });
    } : e;
  }(function(e, t) {
    if (e.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in e) e.innerHTML = t;
    else {
      for (P0 = P0 || document.createElement("div"), P0.innerHTML = "<svg>" + t.valueOf().toString() + "</svg>", t = P0.firstChild; e.firstChild; )
       e.removeChild(e.firstChild);
      for (; t.firstChild; ) e.appendChild(t.firstChild);
    }
  });
  function ep(e, t) {
    if (t) {
      var r = e.firstChild;
      if (r && r === e.lastChild && r.nodeType === 3) {
        r.nodeValue = t;
        return;
      }
    }
    e.textContent = t;
  }
  a(ep, "ob");
  var Uc = {
    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
  }, iH = ["Webkit", "ms", "Moz", "O"];
  Object.keys(Uc).forEach(function(e) {
    iH.forEach(function(t) {
      t = t + e.charAt(0).toUpperCase() + e.substring(1), Uc[t] = Uc[e];
    });
  });
  function w7(e, t, r) {
    return t == null || typeof t == "boolean" || t === "" ? "" : r || typeof t != "number" || t === 0 || Uc.hasOwnProperty(e) && Uc[e] ? ("" +
    t).trim() : t + "px";
  }
  a(w7, "rb");
  function S7(e, t) {
    e = e.style;
    for (var r in t) if (t.hasOwnProperty(r)) {
      var n = r.indexOf("--") === 0, o = w7(r, t[r], n);
      r === "float" && (r = "cssFloat"), n ? e.setProperty(r, o) : e[r] = o;
    }
  }
  a(S7, "sb");
  var sH = Be({ 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 x5(e, t) {
    if (t) {
      if (sH[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) throw Error(N(137, e));
      if (t.dangerouslySetInnerHTML != null) {
        if (t.children != null) throw Error(N(60));
        if (typeof t.dangerouslySetInnerHTML != "object" || !("__html" in t.dangerouslySetInnerHTML)) throw Error(N(61));
      }
      if (t.style != null && typeof t.style != "object") throw Error(N(62));
    }
  }
  a(x5, "ub");
  function R5(e, t) {
    if (e.indexOf("-") === -1) return typeof t.is == "string";
    switch (e) {
      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;
    }
  }
  a(R5, "vb");
  var C5 = null;
  function pv(e) {
    return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode :
    e;
  }
  a(pv, "xb");
  var D5 = null, Hs = null, $s = null;
  function ux(e) {
    if (e = yp(e)) {
      if (typeof D5 != "function") throw Error(N(280));
      var t = e.stateNode;
      t && (t = kd(t), D5(e.stateNode, e.type, t));
    }
  }
  a(ux, "Bb");
  function E7(e) {
    Hs ? $s ? $s.push(e) : $s = [e] : Hs = e;
  }
  a(E7, "Eb");
  function b7() {
    if (Hs) {
      var e = Hs, t = $s;
      if ($s = Hs = null, ux(e), t) for (e = 0; e < t.length; e++) ux(t[e]);
    }
  }
  a(b7, "Fb");
  function x7(e, t) {
    return e(t);
  }
  a(x7, "Gb");
  function R7() {
  }
  a(R7, "Hb");
  var Y2 = !1;
  function C7(e, t, r) {
    if (Y2) return e(t, r);
    Y2 = !0;
    try {
      return x7(e, t, r);
    } finally {
      Y2 = !1, (Hs !== null || $s !== null) && (R7(), b7());
    }
  }
  a(C7, "Jb");
  function tp(e, t) {
    var r = e.stateNode;
    if (r === null) return null;
    var n = kd(r);
    if (n === null) return null;
    r = n[t];
    e: switch (t) {
      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) || (e = e.type, n = !(e === "button" || e === "input" || e === "select" || e === "textarea")), e = !n;
        break e;
      default:
        e = !1;
    }
    if (e) return null;
    if (r && typeof r != "function") throw Error(N(231, t, typeof r));
    return r;
  }
  a(tp, "Kb");
  var A5 = !1;
  if (Ro) try {
    Cs = {}, Object.defineProperty(Cs, "passive", { get: /* @__PURE__ */ a(function() {
      A5 = !0;
    }, "get") }), window.addEventListener("test", Cs, Cs), window.removeEventListener("test", Cs, Cs);
  } catch {
    A5 = !1;
  }
  var Cs;
  function lH(e, t, r, n, o, i, s, l, u) {
    var c = Array.prototype.slice.call(arguments, 3);
    try {
      t.apply(r, c);
    } catch (p) {
      this.onError(p);
    }
  }
  a(lH, "Nb");
  var Wc = !1, ad = null, id = !1, _5 = null, uH = { onError: /* @__PURE__ */ a(function(e) {
    Wc = !0, ad = e;
  }, "onError") };
  function cH(e, t, r, n, o, i, s, l, u) {
    Wc = !1, ad = null, lH.apply(uH, arguments);
  }
  a(cH, "Tb");
  function pH(e, t, r, n, o, i, s, l, u) {
    if (cH.apply(this, arguments), Wc) {
      if (Wc) {
        var c = ad;
        Wc = !1, ad = null;
      } else throw Error(N(198));
      id || (id = !0, _5 = c);
    }
  }
  a(pH, "Ub");
  function bi(e) {
    var t = e, r = e;
    if (e.alternate) for (; t.return; ) t = t.return;
    else {
      e = t;
      do
        t = e, (t.flags & 4098) !== 0 && (r = t.return), e = t.return;
      while (e);
    }
    return t.tag === 3 ? r : null;
  }
  a(bi, "Vb");
  function D7(e) {
    if (e.tag === 13) {
      var t = e.memoizedState;
      if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated;
    }
    return null;
  }
  a(D7, "Wb");
  function cx(e) {
    if (bi(e) !== e) throw Error(N(188));
  }
  a(cx, "Xb");
  function fH(e) {
    var t = e.alternate;
    if (!t) {
      if (t = bi(e), t === null) throw Error(N(188));
      return t !== e ? null : e;
    }
    for (var r = e, n = t; ; ) {
      var o = r.return;
      if (o === null) break;
      var i = o.alternate;
      if (i === null) {
        if (n = o.return, n !== null) {
          r = n;
          continue;
        }
        break;
      }
      if (o.child === i.child) {
        for (i = o.child; i; ) {
          if (i === r) return cx(o), e;
          if (i === n) return cx(o), t;
          i = i.sibling;
        }
        throw Error(N(188));
      }
      if (r.return !== n.return) r = o, n = i;
      else {
        for (var s = !1, l = o.child; l; ) {
          if (l === r) {
            s = !0, r = o, n = i;
            break;
          }
          if (l === n) {
            s = !0, n = o, r = i;
            break;
          }
          l = l.sibling;
        }
        if (!s) {
          for (l = i.child; l; ) {
            if (l === r) {
              s = !0, r = i, n = o;
              break;
            }
            if (l === n) {
              s = !0, n = i, r = o;
              break;
            }
            l = l.sibling;
          }
          if (!s) throw Error(N(189));
        }
      }
      if (r.alternate !== n) throw Error(N(190));
    }
    if (r.tag !== 3) throw Error(N(188));
    return r.stateNode.current === r ? e : t;
  }
  a(fH, "Yb");
  function A7(e) {
    return e = fH(e), e !== null ? _7(e) : null;
  }
  a(A7, "Zb");
  function _7(e) {
    if (e.tag === 5 || e.tag === 6) return e;
    for (e = e.child; e !== null; ) {
      var t = _7(e);
      if (t !== null) return t;
      e = e.sibling;
    }
    return null;
  }
  a(_7, "$b");
  var T7 = Cr.unstable_scheduleCallback, px = Cr.unstable_cancelCallback, dH = Cr.unstable_shouldYield, hH = Cr.unstable_requestPaint, Ge = Cr.
  unstable_now, mH = Cr.unstable_getCurrentPriorityLevel, fv = Cr.unstable_ImmediatePriority, I7 = Cr.unstable_UserBlockingPriority, sd = Cr.
  unstable_NormalPriority, gH = Cr.unstable_LowPriority, P7 = Cr.unstable_IdlePriority, _d = null, qn = null;
  function vH(e) {
    if (qn && typeof qn.onCommitFiberRoot == "function") try {
      qn.onCommitFiberRoot(_d, e, void 0, (e.current.flags & 128) === 128);
    } catch {
    }
  }
  a(vH, "mc");
  var En = Math.clz32 ? Math.clz32 : SH, yH = Math.log, wH = Math.LN2;
  function SH(e) {
    return e >>>= 0, e === 0 ? 32 : 31 - (yH(e) / wH | 0) | 0;
  }
  a(SH, "nc");
  var k0 = 64, F0 = 4194304;
  function jc(e) {
    switch (e & -e) {
      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 e & 4194240;
      case 4194304:
      case 8388608:
      case 16777216:
      case 33554432:
      case 67108864:
        return e & 130023424;
      case 134217728:
        return 134217728;
      case 268435456:
        return 268435456;
      case 536870912:
        return 536870912;
      case 1073741824:
        return 1073741824;
      default:
        return e;
    }
  }
  a(jc, "tc");
  function ld(e, t) {
    var r = e.pendingLanes;
    if (r === 0) return 0;
    var n = 0, o = e.suspendedLanes, i = e.pingedLanes, s = r & 268435455;
    if (s !== 0) {
      var l = s & ~o;
      l !== 0 ? n = jc(l) : (i &= s, i !== 0 && (n = jc(i)));
    } else s = r & ~o, s !== 0 ? n = jc(s) : i !== 0 && (n = jc(i));
    if (n === 0) return 0;
    if (t !== 0 && t !== n && (t & o) === 0 && (o = n & -n, i = t & -t, o >= i || o === 16 && (i & 4194240) !== 0)) return t;
    if ((n & 4) !== 0 && (n |= r & 16), t = e.entangledLanes, t !== 0) for (e = e.entanglements, t &= n; 0 < t; ) r = 31 - En(t), o = 1 << r,
    n |= e[r], t &= ~o;
    return n;
  }
  a(ld, "uc");
  function EH(e, t) {
    switch (e) {
      case 1:
      case 2:
      case 4:
        return t + 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 t + 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;
    }
  }
  a(EH, "vc");
  function bH(e, t) {
    for (var r = e.suspendedLanes, n = e.pingedLanes, o = e.expirationTimes, i = e.pendingLanes; 0 < i; ) {
      var s = 31 - En(i), l = 1 << s, u = o[s];
      u === -1 ? ((l & r) === 0 || (l & n) !== 0) && (o[s] = EH(l, t)) : u <= t && (e.expiredLanes |= l), i &= ~l;
    }
  }
  a(bH, "wc");
  function T5(e) {
    return e = e.pendingLanes & -1073741825, e !== 0 ? e : e & 1073741824 ? 1073741824 : 0;
  }
  a(T5, "xc");
  function k7() {
    var e = k0;
    return k0 <<= 1, (k0 & 4194240) === 0 && (k0 = 64), e;
  }
  a(k7, "yc");
  function K2(e) {
    for (var t = [], r = 0; 31 > r; r++) t.push(e);
    return t;
  }
  a(K2, "zc");
  function gp(e, t, r) {
    e.pendingLanes |= t, t !== 536870912 && (e.suspendedLanes = 0, e.pingedLanes = 0), e = e.eventTimes, t = 31 - En(t), e[t] = r;
  }
  a(gp, "Ac");
  function xH(e, t) {
    var r = e.pendingLanes & ~t;
    e.pendingLanes = t, e.suspendedLanes = 0, e.pingedLanes = 0, e.expiredLanes &= t, e.mutableReadLanes &= t, e.entangledLanes &= t, t = e.
    entanglements;
    var n = e.eventTimes;
    for (e = e.expirationTimes; 0 < r; ) {
      var o = 31 - En(r), i = 1 << o;
      t[o] = 0, n[o] = -1, e[o] = -1, r &= ~i;
    }
  }
  a(xH, "Bc");
  function dv(e, t) {
    var r = e.entangledLanes |= t;
    for (e = e.entanglements; r; ) {
      var n = 31 - En(r), o = 1 << n;
      o & t | e[n] & t && (e[n] |= t), r &= ~o;
    }
  }
  a(dv, "Cc");
  var me = 0;
  function F7(e) {
    return e &= -e, 1 < e ? 4 < e ? (e & 268435455) !== 0 ? 16 : 536870912 : 4 : 1;
  }
  a(F7, "Dc");
  var L7, hv, O7, N7, M7, I5 = !1, L0 = [], fa = null, da = null, ha = null, rp = /* @__PURE__ */ new Map(), np = /* @__PURE__ */ new Map(),
  la = [], RH = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart d\
rop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
  function fx(e, t) {
    switch (e) {
      case "focusin":
      case "focusout":
        fa = null;
        break;
      case "dragenter":
      case "dragleave":
        da = null;
        break;
      case "mouseover":
      case "mouseout":
        ha = null;
        break;
      case "pointerover":
      case "pointerout":
        rp.delete(t.pointerId);
        break;
      case "gotpointercapture":
      case "lostpointercapture":
        np.delete(t.pointerId);
    }
  }
  a(fx, "Sc");
  function Fc(e, t, r, n, o, i) {
    return e === null || e.nativeEvent !== i ? (e = { blockedOn: t, domEventName: r, eventSystemFlags: n, nativeEvent: i, targetContainers: [
    o] }, t !== null && (t = yp(t), t !== null && hv(t)), e) : (e.eventSystemFlags |= n, t = e.targetContainers, o !== null && t.indexOf(o) ===
    -1 && t.push(o), e);
  }
  a(Fc, "Tc");
  function CH(e, t, r, n, o) {
    switch (t) {
      case "focusin":
        return fa = Fc(fa, e, t, r, n, o), !0;
      case "dragenter":
        return da = Fc(da, e, t, r, n, o), !0;
      case "mouseover":
        return ha = Fc(ha, e, t, r, n, o), !0;
      case "pointerover":
        var i = o.pointerId;
        return rp.set(i, Fc(rp.get(i) || null, e, t, r, n, o)), !0;
      case "gotpointercapture":
        return i = o.pointerId, np.set(i, Fc(np.get(i) || null, e, t, r, n, o)), !0;
    }
    return !1;
  }
  a(CH, "Uc");
  function B7(e) {
    var t = pi(e.target);
    if (t !== null) {
      var r = bi(t);
      if (r !== null) {
        if (t = r.tag, t === 13) {
          if (t = D7(r), t !== null) {
            e.blockedOn = t, M7(e.priority, function() {
              O7(r);
            });
            return;
          }
        } else if (t === 3 && r.stateNode.current.memoizedState.isDehydrated) {
          e.blockedOn = r.tag === 3 ? r.stateNode.containerInfo : null;
          return;
        }
      }
    }
    e.blockedOn = null;
  }
  a(B7, "Vc");
  function Y0(e) {
    if (e.blockedOn !== null) return !1;
    for (var t = e.targetContainers; 0 < t.length; ) {
      var r = P5(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent);
      if (r === null) {
        r = e.nativeEvent;
        var n = new r.constructor(r.type, r);
        C5 = n, r.target.dispatchEvent(n), C5 = null;
      } else return t = yp(r), t !== null && hv(t), e.blockedOn = r, !1;
      t.shift();
    }
    return !0;
  }
  a(Y0, "Xc");
  function dx(e, t, r) {
    Y0(e) && r.delete(t);
  }
  a(dx, "Zc");
  function DH() {
    I5 = !1, fa !== null && Y0(fa) && (fa = null), da !== null && Y0(da) && (da = null), ha !== null && Y0(ha) && (ha = null), rp.forEach(dx),
    np.forEach(dx);
  }
  a(DH, "$c");
  function Lc(e, t) {
    e.blockedOn === t && (e.blockedOn = null, I5 || (I5 = !0, Cr.unstable_scheduleCallback(Cr.unstable_NormalPriority, DH)));
  }
  a(Lc, "ad");
  function op(e) {
    function t(o) {
      return Lc(o, e);
    }
    if (a(t, "b"), 0 < L0.length) {
      Lc(L0[0], e);
      for (var r = 1; r < L0.length; r++) {
        var n = L0[r];
        n.blockedOn === e && (n.blockedOn = null);
      }
    }
    for (fa !== null && Lc(fa, e), da !== null && Lc(da, e), ha !== null && Lc(ha, e), rp.forEach(t), np.forEach(t), r = 0; r < la.length; r++)
     n = la[r], n.blockedOn === e && (n.blockedOn = null);
    for (; 0 < la.length && (r = la[0], r.blockedOn === null); ) B7(r), r.blockedOn === null && la.shift();
  }
  a(op, "bd");
  var js = _o.ReactCurrentBatchConfig, ud = !0;
  function AH(e, t, r, n) {
    var o = me, i = js.transition;
    js.transition = null;
    try {
      me = 1, mv(e, t, r, n);
    } finally {
      me = o, js.transition = i;
    }
  }
  a(AH, "ed");
  function _H(e, t, r, n) {
    var o = me, i = js.transition;
    js.transition = null;
    try {
      me = 4, mv(e, t, r, n);
    } finally {
      me = o, js.transition = i;
    }
  }
  a(_H, "gd");
  function mv(e, t, r, n) {
    if (ud) {
      var o = P5(e, t, r, n);
      if (o === null) r5(e, t, n, cd, r), fx(e, n);
      else if (CH(o, e, t, r, n)) n.stopPropagation();
      else if (fx(e, n), t & 4 && -1 < RH.indexOf(e)) {
        for (; o !== null; ) {
          var i = yp(o);
          if (i !== null && L7(i), i = P5(e, t, r, n), i === null && r5(e, t, n, cd, r), i === o) break;
          o = i;
        }
        o !== null && n.stopPropagation();
      } else r5(e, t, n, null, r);
    }
  }
  a(mv, "fd");
  var cd = null;
  function P5(e, t, r, n) {
    if (cd = null, e = pv(n), e = pi(e), e !== null) if (t = bi(e), t === null) e = null;
    else if (r = t.tag, r === 13) {
      if (e = D7(t), e !== null) return e;
      e = null;
    } else if (r === 3) {
      if (t.stateNode.current.memoizedState.isDehydrated) return t.tag === 3 ? t.stateNode.containerInfo : null;
      e = null;
    } else t !== e && (e = null);
    return cd = e, null;
  }
  a(P5, "Yc");
  function z7(e) {
    switch (e) {
      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 (mH()) {
          case fv:
            return 1;
          case I7:
            return 4;
          case sd:
          case gH:
            return 16;
          case P7:
            return 536870912;
          default:
            return 16;
        }
      default:
        return 16;
    }
  }
  a(z7, "jd");
  var ca = null, gv = null, K0 = null;
  function H7() {
    if (K0) return K0;
    var e, t = gv, r = t.length, n, o = "value" in ca ? ca.value : ca.textContent, i = o.length;
    for (e = 0; e < r && t[e] === o[e]; e++) ;
    var s = r - e;
    for (n = 1; n <= s && t[r - n] === o[i - n]; n++) ;
    return K0 = o.slice(e, 1 < n ? 1 - n : void 0);
  }
  a(H7, "nd");
  function X0(e) {
    var t = e.keyCode;
    return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0;
  }
  a(X0, "od");
  function O0() {
    return !0;
  }
  a(O0, "pd");
  function hx() {
    return !1;
  }
  a(hx, "qd");
  function Dr(e) {
    function t(r, n, o, i, s) {
      this._reactName = r, this._targetInst = o, this.type = n, this.nativeEvent = i, this.target = s, this.currentTarget = null;
      for (var l in e) e.hasOwnProperty(l) && (r = e[l], this[l] = r ? r(i) : i[l]);
      return this.isDefaultPrevented = (i.defaultPrevented != null ? i.defaultPrevented : i.returnValue === !1) ? O0 : hx, this.isPropagationStopped =
      hx, this;
    }
    return a(t, "b"), Be(t.prototype, { preventDefault: /* @__PURE__ */ a(function() {
      this.defaultPrevented = !0;
      var r = this.nativeEvent;
      r && (r.preventDefault ? r.preventDefault() : typeof r.returnValue != "unknown" && (r.returnValue = !1), this.isDefaultPrevented = O0);
    }, "preventDefault"), stopPropagation: /* @__PURE__ */ a(function() {
      var r = this.nativeEvent;
      r && (r.stopPropagation ? r.stopPropagation() : typeof r.cancelBubble != "unknown" && (r.cancelBubble = !0), this.isPropagationStopped =
      O0);
    }, "stopPropagation"), persist: /* @__PURE__ */ a(function() {
    }, "persist"), isPersistent: O0 }), t;
  }
  a(Dr, "rd");
  var Js = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: /* @__PURE__ */ a(function(e) {
    return e.timeStamp || Date.now();
  }, "timeStamp"), defaultPrevented: 0, isTrusted: 0 }, vv = Dr(Js), vp = Be({}, Js, { view: 0, detail: 0 }), TH = Dr(vp), X2, Q2, Oc, Td = Be(
  {}, vp, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: yv,
  button: 0, buttons: 0, relatedTarget: /* @__PURE__ */ a(function(e) {
    return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;
  }, "relatedTarget"), movementX: /* @__PURE__ */ a(function(e) {
    return "movementX" in e ? e.movementX : (e !== Oc && (Oc && e.type === "mousemove" ? (X2 = e.screenX - Oc.screenX, Q2 = e.screenY - Oc.screenY) :
    Q2 = X2 = 0, Oc = e), X2);
  }, "movementX"), movementY: /* @__PURE__ */ a(function(e) {
    return "movementY" in e ? e.movementY : Q2;
  }, "movementY") }), mx = Dr(Td), IH = Be({}, Td, { dataTransfer: 0 }), PH = Dr(IH), kH = Be({}, vp, { relatedTarget: 0 }), J2 = Dr(kH), FH = Be(
  {}, Js, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), LH = Dr(FH), OH = Be({}, Js, { clipboardData: /* @__PURE__ */ a(function(e) {
    return "clipboardData" in e ? e.clipboardData : window.clipboardData;
  }, "clipboardData") }), NH = Dr(OH), MH = Be({}, Js, { data: 0 }), gx = Dr(MH), BH = {
    Esc: "Escape",
    Spacebar: " ",
    Left: "ArrowLeft",
    Up: "ArrowUp",
    Right: "ArrowRight",
    Down: "ArrowDown",
    Del: "Delete",
    Win: "OS",
    Menu: "ContextMenu",
    Apps: "ContextMenu",
    Scroll: "ScrollLock",
    MozPrintableKey: "Unidentified"
  }, zH = {
    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"
  }, HH = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };
  function $H(e) {
    var t = this.nativeEvent;
    return t.getModifierState ? t.getModifierState(e) : (e = HH[e]) ? !!t[e] : !1;
  }
  a($H, "Pd");
  function yv() {
    return $H;
  }
  a(yv, "zd");
  var jH = Be({}, vp, { key: /* @__PURE__ */ a(function(e) {
    if (e.key) {
      var t = BH[e.key] || e.key;
      if (t !== "Unidentified") return t;
    }
    return e.type === "keypress" ? (e = X0(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? zH[e.
    keyCode] || "Unidentified" : "";
  }, "key"), code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: yv, charCode: /* @__PURE__ */ a(
  function(e) {
    return e.type === "keypress" ? X0(e) : 0;
  }, "charCode"), keyCode: /* @__PURE__ */ a(function(e) {
    return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
  }, "keyCode"), which: /* @__PURE__ */ a(function(e) {
    return e.type === "keypress" ? X0(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
  }, "which") }), VH = Dr(jH), UH = Be({}, Td, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0,
  pointerType: 0, isPrimary: 0 }), vx = Dr(UH), WH = Be({}, vp, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0,
  shiftKey: 0, getModifierState: yv }), qH = Dr(WH), GH = Be({}, Js, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), YH = Dr(GH), KH = Be(
  {}, Td, {
    deltaX: /* @__PURE__ */ a(function(e) {
      return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
    }, "deltaX"),
    deltaY: /* @__PURE__ */ a(function(e) {
      return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0;
    }, "deltaY"),
    deltaZ: 0,
    deltaMode: 0
  }), XH = Dr(KH), QH = [9, 13, 27, 32], wv = Ro && "CompositionEvent" in window, qc = null;
  Ro && "documentMode" in document && (qc = document.documentMode);
  var JH = Ro && "TextEvent" in window && !qc, $7 = Ro && (!wv || qc && 8 < qc && 11 >= qc), yx = " ", wx = !1;
  function j7(e, t) {
    switch (e) {
      case "keyup":
        return QH.indexOf(t.keyCode) !== -1;
      case "keydown":
        return t.keyCode !== 229;
      case "keypress":
      case "mousedown":
      case "focusout":
        return !0;
      default:
        return !1;
    }
  }
  a(j7, "ge");
  function V7(e) {
    return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;
  }
  a(V7, "he");
  var Ts = !1;
  function ZH(e, t) {
    switch (e) {
      case "compositionend":
        return V7(t);
      case "keypress":
        return t.which !== 32 ? null : (wx = !0, yx);
      case "textInput":
        return e = t.data, e === yx && wx ? null : e;
      default:
        return null;
    }
  }
  a(ZH, "je");
  function e$(e, t) {
    if (Ts) return e === "compositionend" || !wv && j7(e, t) ? (e = H7(), K0 = gv = ca = null, Ts = !1, e) : null;
    switch (e) {
      case "paste":
        return null;
      case "keypress":
        if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) {
          if (t.char && 1 < t.char.length) return t.char;
          if (t.which) return String.fromCharCode(t.which);
        }
        return null;
      case "compositionend":
        return $7 && t.locale !== "ko" ? null : t.data;
      default:
        return null;
    }
  }
  a(e$, "ke");
  var t$ = { 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 Sx(e) {
    var t = e && e.nodeName && e.nodeName.toLowerCase();
    return t === "input" ? !!t$[e.type] : t === "textarea";
  }
  a(Sx, "me");
  function U7(e, t, r, n) {
    E7(n), t = pd(t, "onChange"), 0 < t.length && (r = new vv("onChange", "change", null, r, n), e.push({ event: r, listeners: t }));
  }
  a(U7, "ne");
  var Gc = null, ap = null;
  function r$(e) {
    tR(e, 0);
  }
  a(r$, "re");
  function Id(e) {
    var t = ks(e);
    if (h7(t)) return e;
  }
  a(Id, "te");
  function n$(e, t) {
    if (e === "change") return t;
  }
  a(n$, "ve");
  var W7 = !1;
  Ro && (Ro ? (M0 = "oninput" in document, M0 || (Z2 = document.createElement("div"), Z2.setAttribute("oninput", "return;"), M0 = typeof Z2.
  oninput == "function"), N0 = M0) : N0 = !1, W7 = N0 && (!document.documentMode || 9 < document.documentMode));
  var N0, M0, Z2;
  function Ex() {
    Gc && (Gc.detachEvent("onpropertychange", q7), ap = Gc = null);
  }
  a(Ex, "Ae");
  function q7(e) {
    if (e.propertyName === "value" && Id(ap)) {
      var t = [];
      U7(t, ap, e, pv(e)), C7(r$, t);
    }
  }
  a(q7, "Be");
  function o$(e, t, r) {
    e === "focusin" ? (Ex(), Gc = t, ap = r, Gc.attachEvent("onpropertychange", q7)) : e === "focusout" && Ex();
  }
  a(o$, "Ce");
  function a$(e) {
    if (e === "selectionchange" || e === "keyup" || e === "keydown") return Id(ap);
  }
  a(a$, "De");
  function i$(e, t) {
    if (e === "click") return Id(t);
  }
  a(i$, "Ee");
  function s$(e, t) {
    if (e === "input" || e === "change") return Id(t);
  }
  a(s$, "Fe");
  function l$(e, t) {
    return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
  }
  a(l$, "Ge");
  var xn = typeof Object.is == "function" ? Object.is : l$;
  function ip(e, t) {
    if (xn(e, t)) return !0;
    if (typeof e != "object" || e === null || typeof t != "object" || t === null) return !1;
    var r = Object.keys(e), n = Object.keys(t);
    if (r.length !== n.length) return !1;
    for (n = 0; n < r.length; n++) {
      var o = r[n];
      if (!d5.call(t, o) || !xn(e[o], t[o])) return !1;
    }
    return !0;
  }
  a(ip, "Ie");
  function bx(e) {
    for (; e && e.firstChild; ) e = e.firstChild;
    return e;
  }
  a(bx, "Je");
  function xx(e, t) {
    var r = bx(e);
    e = 0;
    for (var n; r; ) {
      if (r.nodeType === 3) {
        if (n = e + r.textContent.length, e <= t && n >= t) return { node: r, offset: t - e };
        e = n;
      }
      e: {
        for (; r; ) {
          if (r.nextSibling) {
            r = r.nextSibling;
            break e;
          }
          r = r.parentNode;
        }
        r = void 0;
      }
      r = bx(r);
    }
  }
  a(xx, "Ke");
  function G7(e, t) {
    return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? G7(e, t.parentNode) : "contains" in e ? e.contains(t) :
    e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;
  }
  a(G7, "Le");
  function Y7() {
    for (var e = window, t = od(); t instanceof e.HTMLIFrameElement; ) {
      try {
        var r = typeof t.contentWindow.location.href == "string";
      } catch {
        r = !1;
      }
      if (r) e = t.contentWindow;
      else break;
      t = od(e.document);
    }
    return t;
  }
  a(Y7, "Me");
  function Sv(e) {
    var t = e && e.nodeName && e.nodeName.toLowerCase();
    return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") ||
    t === "textarea" || e.contentEditable === "true");
  }
  a(Sv, "Ne");
  function u$(e) {
    var t = Y7(), r = e.focusedElem, n = e.selectionRange;
    if (t !== r && r && r.ownerDocument && G7(r.ownerDocument.documentElement, r)) {
      if (n !== null && Sv(r)) {
        if (t = n.start, e = n.end, e === void 0 && (e = t), "selectionStart" in r) r.selectionStart = t, r.selectionEnd = Math.min(e, r.value.
        length);
        else if (e = (t = r.ownerDocument || document) && t.defaultView || window, e.getSelection) {
          e = e.getSelection();
          var o = r.textContent.length, i = Math.min(n.start, o);
          n = n.end === void 0 ? i : Math.min(n.end, o), !e.extend && i > n && (o = n, n = i, i = o), o = xx(r, i);
          var s = xx(
            r,
            n
          );
          o && s && (e.rangeCount !== 1 || e.anchorNode !== o.node || e.anchorOffset !== o.offset || e.focusNode !== s.node || e.focusOffset !==
          s.offset) && (t = t.createRange(), t.setStart(o.node, o.offset), e.removeAllRanges(), i > n ? (e.addRange(t), e.extend(s.node, s.offset)) :
          (t.setEnd(s.node, s.offset), e.addRange(t)));
        }
      }
      for (t = [], e = r; e = e.parentNode; ) e.nodeType === 1 && t.push({ element: e, left: e.scrollLeft, top: e.scrollTop });
      for (typeof r.focus == "function" && r.focus(), r = 0; r < t.length; r++) e = t[r], e.element.scrollLeft = e.left, e.element.scrollTop =
      e.top;
    }
  }
  a(u$, "Oe");
  var c$ = Ro && "documentMode" in document && 11 >= document.documentMode, Is = null, k5 = null, Yc = null, F5 = !1;
  function Rx(e, t, r) {
    var n = r.window === r ? r.document : r.nodeType === 9 ? r : r.ownerDocument;
    F5 || Is == null || Is !== od(n) || (n = Is, "selectionStart" in n && Sv(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 }), Yc && ip(Yc, n) || (Yc = n, n = pd(k5, "onSelect"), 0 < n.length && (t = new vv("\
onSelect", "select", null, t, r), e.push({ event: t, listeners: n }), t.target = Is)));
  }
  a(Rx, "Ue");
  function B0(e, t) {
    var r = {};
    return r[e.toLowerCase()] = t.toLowerCase(), r["Webkit" + e] = "webkit" + t, r["Moz" + e] = "moz" + t, r;
  }
  a(B0, "Ve");
  var Ps = { animationend: B0("Animation", "AnimationEnd"), animationiteration: B0("Animation", "AnimationIteration"), animationstart: B0("A\
nimation", "AnimationStart"), transitionend: B0("Transition", "TransitionEnd") }, e5 = {}, K7 = {};
  Ro && (K7 = document.createElement("div").style, "AnimationEvent" in window || (delete Ps.animationend.animation, delete Ps.animationiteration.
  animation, delete Ps.animationstart.animation), "TransitionEvent" in window || delete Ps.transitionend.transition);
  function Pd(e) {
    if (e5[e]) return e5[e];
    if (!Ps[e]) return e;
    var t = Ps[e], r;
    for (r in t) if (t.hasOwnProperty(r) && r in K7) return e5[e] = t[r];
    return e;
  }
  a(Pd, "Ze");
  var X7 = Pd("animationend"), Q7 = Pd("animationiteration"), J7 = Pd("animationstart"), Z7 = Pd("transitionend"), eR = /* @__PURE__ */ new Map(),
  Cx = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dra\
gStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetada\
ta loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMov\
e pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd to\
uchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
  function ba(e, t) {
    eR.set(e, t), Ei(t, [e]);
  }
  a(ba, "ff");
  for (z0 = 0; z0 < Cx.length; z0++)
    H0 = Cx[z0], Dx = H0.toLowerCase(), Ax = H0[0].toUpperCase() + H0.slice(1), ba(Dx, "on" + Ax);
  var H0, Dx, Ax, z0;
  ba(X7, "onAnimationEnd");
  ba(Q7, "onAnimationIteration");
  ba(J7, "onAnimationStart");
  ba("dblclick", "onDoubleClick");
  ba("focusin", "onFocus");
  ba("focusout", "onBlur");
  ba(Z7, "onTransitionEnd");
  Ws("onMouseEnter", ["mouseout", "mouseover"]);
  Ws("onMouseLeave", ["mouseout", "mouseover"]);
  Ws("onPointerEnter", ["pointerout", "pointerover"]);
  Ws("onPointerLeave", ["pointerout", "pointerover"]);
  Ei("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" "));
  Ei("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));
  Ei("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]);
  Ei("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" "));
  Ei("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" "));
  Ei("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
  var Vc = "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(" "), p$ = new Set("cancel close invalid l\
oad scroll toggle".split(" ").concat(Vc));
  function _x(e, t, r) {
    var n = e.type || "unknown-event";
    e.currentTarget = r, pH(n, t, void 0, e), e.currentTarget = null;
  }
  a(_x, "nf");
  function tR(e, t) {
    t = (t & 4) !== 0;
    for (var r = 0; r < e.length; r++) {
      var n = e[r], o = n.event;
      n = n.listeners;
      e: {
        var i = void 0;
        if (t) for (var s = n.length - 1; 0 <= s; s--) {
          var l = n[s], u = l.instance, c = l.currentTarget;
          if (l = l.listener, u !== i && o.isPropagationStopped()) break e;
          _x(o, l, c), i = u;
        }
        else for (s = 0; s < n.length; s++) {
          if (l = n[s], u = l.instance, c = l.currentTarget, l = l.listener, u !== i && o.isPropagationStopped()) break e;
          _x(o, l, c), i = u;
        }
      }
    }
    if (id) throw e = _5, id = !1, _5 = null, e;
  }
  a(tR, "se");
  function De(e, t) {
    var r = t[B5];
    r === void 0 && (r = t[B5] = /* @__PURE__ */ new Set());
    var n = e + "__bubble";
    r.has(n) || (rR(t, e, 2, !1), r.add(n));
  }
  a(De, "D");
  function t5(e, t, r) {
    var n = 0;
    t && (n |= 4), rR(r, e, n, t);
  }
  a(t5, "qf");
  var $0 = "_reactListening" + Math.random().toString(36).slice(2);
  function sp(e) {
    if (!e[$0]) {
      e[$0] = !0, u7.forEach(function(r) {
        r !== "selectionchange" && (p$.has(r) || t5(r, !1, e), t5(r, !0, e));
      });
      var t = e.nodeType === 9 ? e : e.ownerDocument;
      t === null || t[$0] || (t[$0] = !0, t5("selectionchange", !1, t));
    }
  }
  a(sp, "sf");
  function rR(e, t, r, n) {
    switch (z7(t)) {
      case 1:
        var o = AH;
        break;
      case 4:
        o = _H;
        break;
      default:
        o = mv;
    }
    r = o.bind(null, t, r, e), o = void 0, !A5 || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (o = !0), n ? o !== void 0 ? e.
    addEventListener(t, r, { capture: !0, passive: o }) : e.addEventListener(t, r, !0) : o !== void 0 ? e.addEventListener(t, r, { passive: o }) :
    e.addEventListener(t, r, !1);
  }
  a(rR, "pf");
  function r5(e, t, r, n, o) {
    var i = n;
    if ((t & 1) === 0 && (t & 2) === 0 && n !== null) e: for (; ; ) {
      if (n === null) return;
      var s = n.tag;
      if (s === 3 || s === 4) {
        var l = n.stateNode.containerInfo;
        if (l === o || l.nodeType === 8 && l.parentNode === o) break;
        if (s === 4) for (s = n.return; s !== null; ) {
          var u = s.tag;
          if ((u === 3 || u === 4) && (u = s.stateNode.containerInfo, u === o || u.nodeType === 8 && u.parentNode === o)) return;
          s = s.return;
        }
        for (; l !== null; ) {
          if (s = pi(l), s === null) return;
          if (u = s.tag, u === 5 || u === 6) {
            n = i = s;
            continue e;
          }
          l = l.parentNode;
        }
      }
      n = n.return;
    }
    C7(function() {
      var c = i, p = pv(r), h = [];
      e: {
        var m = eR.get(e);
        if (m !== void 0) {
          var g = vv, w = e;
          switch (e) {
            case "keypress":
              if (X0(r) === 0) break e;
            case "keydown":
            case "keyup":
              g = VH;
              break;
            case "focusin":
              w = "focus", g = J2;
              break;
            case "focusout":
              w = "blur", g = J2;
              break;
            case "beforeblur":
            case "afterblur":
              g = J2;
              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":
              g = mx;
              break;
            case "drag":
            case "dragend":
            case "dragenter":
            case "dragexit":
            case "dragleave":
            case "dragover":
            case "dragstart":
            case "drop":
              g = PH;
              break;
            case "touchcancel":
            case "touchend":
            case "touchmove":
            case "touchstart":
              g = qH;
              break;
            case X7:
            case Q7:
            case J7:
              g = LH;
              break;
            case Z7:
              g = YH;
              break;
            case "scroll":
              g = TH;
              break;
            case "wheel":
              g = XH;
              break;
            case "copy":
            case "cut":
            case "paste":
              g = NH;
              break;
            case "gotpointercapture":
            case "lostpointercapture":
            case "pointercancel":
            case "pointerdown":
            case "pointermove":
            case "pointerout":
            case "pointerover":
            case "pointerup":
              g = vx;
          }
          var v = (t & 4) !== 0, S = !v && e === "scroll", E = v ? m !== null ? m + "Capture" : null : m;
          v = [];
          for (var y = c, b; y !== null; ) {
            b = y;
            var x = b.stateNode;
            if (b.tag === 5 && x !== null && (b = x, E !== null && (x = tp(y, E), x != null && v.push(lp(y, x, b)))), S) break;
            y = y.return;
          }
          0 < v.length && (m = new g(m, w, null, r, p), h.push({ event: m, listeners: v }));
        }
      }
      if ((t & 7) === 0) {
        e: {
          if (m = e === "mouseover" || e === "pointerover", g = e === "mouseout" || e === "pointerout", m && r !== C5 && (w = r.relatedTarget ||
          r.fromElement) && (pi(w) || w[Co])) break e;
          if ((g || m) && (m = p.window === p ? p : (m = p.ownerDocument) ? m.defaultView || m.parentWindow : window, g ? (w = r.relatedTarget ||
          r.toElement, g = c, w = w ? pi(w) : null, w !== null && (S = bi(w), w !== S || w.tag !== 5 && w.tag !== 6) && (w = null)) : (g = null,
          w = c), g !== w)) {
            if (v = mx, x = "onMouseLeave", E = "onMouseEnter", y = "mouse", (e === "pointerout" || e === "pointerover") && (v = vx, x = "on\
PointerLeave", E = "onPointerEnter", y = "pointer"), S = g == null ? m : ks(g), b = w == null ? m : ks(w), m = new v(x, y + "leave", g, r, p),
            m.target = S, m.relatedTarget = b, x = null, pi(p) === c && (v = new v(E, y + "enter", w, r, p), v.target = b, v.relatedTarget =
            S, x = v), S = x, g && w) t: {
              for (v = g, E = w, y = 0, b = v; b; b = Ds(b)) y++;
              for (b = 0, x = E; x; x = Ds(x)) b++;
              for (; 0 < y - b; ) v = Ds(v), y--;
              for (; 0 < b - y; ) E = Ds(E), b--;
              for (; y--; ) {
                if (v === E || E !== null && v === E.alternate) break t;
                v = Ds(v), E = Ds(E);
              }
              v = null;
            }
            else v = null;
            g !== null && Tx(h, m, g, v, !1), w !== null && S !== null && Tx(h, S, w, v, !0);
          }
        }
        e: {
          if (m = c ? ks(c) : window, g = m.nodeName && m.nodeName.toLowerCase(), g === "select" || g === "input" && m.type === "file") var R = n$;
          else if (Sx(m)) if (W7) R = s$;
          else {
            R = a$;
            var C = o$;
          }
          else (g = m.nodeName) && g.toLowerCase() === "input" && (m.type === "checkbox" || m.type === "radio") && (R = i$);
          if (R && (R = R(e, c))) {
            U7(h, R, r, p);
            break e;
          }
          C && C(e, m, c), e === "focusout" && (C = m._wrapperState) && C.controlled && m.type === "number" && S5(m, "number", m.value);
        }
        switch (C = c ? ks(c) : window, e) {
          case "focusin":
            (Sx(C) || C.contentEditable === "true") && (Is = C, k5 = c, Yc = null);
            break;
          case "focusout":
            Yc = k5 = Is = null;
            break;
          case "mousedown":
            F5 = !0;
            break;
          case "contextmenu":
          case "mouseup":
          case "dragend":
            F5 = !1, Rx(h, r, p);
            break;
          case "selectionchange":
            if (c$) break;
          case "keydown":
          case "keyup":
            Rx(h, r, p);
        }
        var D;
        if (wv) e: {
          switch (e) {
            case "compositionstart":
              var A = "onCompositionStart";
              break e;
            case "compositionend":
              A = "onCompositionEnd";
              break e;
            case "compositionupdate":
              A = "onCompositionUpdate";
              break e;
          }
          A = void 0;
        }
        else Ts ? j7(e, r) && (A = "onCompositionEnd") : e === "keydown" && r.keyCode === 229 && (A = "onCompositionStart");
        A && ($7 && r.locale !== "ko" && (Ts || A !== "onCompositionStart" ? A === "onCompositionEnd" && Ts && (D = H7()) : (ca = p, gv = "v\
alue" in ca ? ca.value : ca.textContent, Ts = !0)), C = pd(c, A), 0 < C.length && (A = new gx(A, e, null, r, p), h.push({ event: A, listeners: C }),
        D ? A.data = D : (D = V7(r), D !== null && (A.data = D)))), (D = JH ? ZH(e, r) : e$(e, r)) && (c = pd(c, "onBeforeInput"), 0 < c.length &&
        (p = new gx("onBeforeInput", "beforeinput", null, r, p), h.push({ event: p, listeners: c }), p.data = D));
      }
      tR(h, t);
    });
  }
  a(r5, "hd");
  function lp(e, t, r) {
    return { instance: e, listener: t, currentTarget: r };
  }
  a(lp, "tf");
  function pd(e, t) {
    for (var r = t + "Capture", n = []; e !== null; ) {
      var o = e, i = o.stateNode;
      o.tag === 5 && i !== null && (o = i, i = tp(e, r), i != null && n.unshift(lp(e, i, o)), i = tp(e, t), i != null && n.push(lp(e, i, o))),
      e = e.return;
    }
    return n;
  }
  a(pd, "oe");
  function Ds(e) {
    if (e === null) return null;
    do
      e = e.return;
    while (e && e.tag !== 5);
    return e || null;
  }
  a(Ds, "vf");
  function Tx(e, t, r, n, o) {
    for (var i = t._reactName, s = []; r !== null && r !== n; ) {
      var l = r, u = l.alternate, c = l.stateNode;
      if (u !== null && u === n) break;
      l.tag === 5 && c !== null && (l = c, o ? (u = tp(r, i), u != null && s.unshift(lp(r, u, l))) : o || (u = tp(r, i), u != null && s.push(
      lp(r, u, l)))), r = r.return;
    }
    s.length !== 0 && e.push({ event: t, listeners: s });
  }
  a(Tx, "wf");
  var f$ = /\r\n?/g, d$ = /\u0000|\uFFFD/g;
  function Ix(e) {
    return (typeof e == "string" ? e : "" + e).replace(f$, `
`).replace(d$, "");
  }
  a(Ix, "zf");
  function j0(e, t, r) {
    if (t = Ix(t), Ix(e) !== t && r) throw Error(N(425));
  }
  a(j0, "Af");
  function fd() {
  }
  a(fd, "Bf");
  var L5 = null, O5 = null;
  function N5(e, t) {
    return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.dangerouslySetInnerHTML ==
    "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;
  }
  a(N5, "Ef");
  var M5 = typeof setTimeout == "function" ? setTimeout : void 0, h$ = typeof clearTimeout == "function" ? clearTimeout : void 0, Px = typeof Promise ==
  "function" ? Promise : void 0, m$ = typeof queueMicrotask == "function" ? queueMicrotask : typeof Px < "u" ? function(e) {
    return Px.resolve(null).then(e).catch(g$);
  } : M5;
  function g$(e) {
    setTimeout(function() {
      throw e;
    });
  }
  a(g$, "If");
  function n5(e, t) {
    var r = t, n = 0;
    do {
      var o = r.nextSibling;
      if (e.removeChild(r), o && o.nodeType === 8) if (r = o.data, r === "/$") {
        if (n === 0) {
          e.removeChild(o), op(t);
          return;
        }
        n--;
      } else r !== "$" && r !== "$?" && r !== "$!" || n++;
      r = o;
    } while (r);
    op(t);
  }
  a(n5, "Kf");
  function ma(e) {
    for (; e != null; e = e.nextSibling) {
      var t = e.nodeType;
      if (t === 1 || t === 3) break;
      if (t === 8) {
        if (t = e.data, t === "$" || t === "$!" || t === "$?") break;
        if (t === "/$") return null;
      }
    }
    return e;
  }
  a(ma, "Lf");
  function kx(e) {
    e = e.previousSibling;
    for (var t = 0; e; ) {
      if (e.nodeType === 8) {
        var r = e.data;
        if (r === "$" || r === "$!" || r === "$?") {
          if (t === 0) return e;
          t--;
        } else r === "/$" && t++;
      }
      e = e.previousSibling;
    }
    return null;
  }
  a(kx, "Mf");
  var Zs = Math.random().toString(36).slice(2), Wn = "__reactFiber$" + Zs, up = "__reactProps$" + Zs, Co = "__reactContainer$" + Zs, B5 = "_\
_reactEvents$" + Zs, v$ = "__reactListeners$" + Zs, y$ = "__reactHandles$" + Zs;
  function pi(e) {
    var t = e[Wn];
    if (t) return t;
    for (var r = e.parentNode; r; ) {
      if (t = r[Co] || r[Wn]) {
        if (r = t.alternate, t.child !== null || r !== null && r.child !== null) for (e = kx(e); e !== null; ) {
          if (r = e[Wn]) return r;
          e = kx(e);
        }
        return t;
      }
      e = r, r = e.parentNode;
    }
    return null;
  }
  a(pi, "Wc");
  function yp(e) {
    return e = e[Wn] || e[Co], !e || e.tag !== 5 && e.tag !== 6 && e.tag !== 13 && e.tag !== 3 ? null : e;
  }
  a(yp, "Cb");
  function ks(e) {
    if (e.tag === 5 || e.tag === 6) return e.stateNode;
    throw Error(N(33));
  }
  a(ks, "ue");
  function kd(e) {
    return e[up] || null;
  }
  a(kd, "Db");
  var z5 = [], Fs = -1;
  function xa(e) {
    return { current: e };
  }
  a(xa, "Uf");
  function Ae(e) {
    0 > Fs || (e.current = z5[Fs], z5[Fs] = null, Fs--);
  }
  a(Ae, "E");
  function Re(e, t) {
    Fs++, z5[Fs] = e.current, e.current = t;
  }
  a(Re, "G");
  var Ea = {}, zt = xa(Ea), ur = xa(!1), gi = Ea;
  function qs(e, t) {
    var r = e.type.contextTypes;
    if (!r) return Ea;
    var n = e.stateNode;
    if (n && n.__reactInternalMemoizedUnmaskedChildContext === t) return n.__reactInternalMemoizedMaskedChildContext;
    var o = {}, i;
    for (i in r) o[i] = t[i];
    return n && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = t, e.__reactInternalMemoizedMaskedChildContext = o), o;
  }
  a(qs, "Yf");
  function cr(e) {
    return e = e.childContextTypes, e != null;
  }
  a(cr, "Zf");
  function dd() {
    Ae(ur), Ae(zt);
  }
  a(dd, "$f");
  function Fx(e, t, r) {
    if (zt.current !== Ea) throw Error(N(168));
    Re(zt, t), Re(ur, r);
  }
  a(Fx, "ag");
  function nR(e, t, r) {
    var n = e.stateNode;
    if (t = t.childContextTypes, typeof n.getChildContext != "function") return r;
    n = n.getChildContext();
    for (var o in n) if (!(o in t)) throw Error(N(108, oH(e) || "Unknown", o));
    return Be({}, r, n);
  }
  a(nR, "bg");
  function hd(e) {
    return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || Ea, gi = zt.current, Re(zt, e), Re(ur, ur.current), !0;
  }
  a(hd, "cg");
  function Lx(e, t, r) {
    var n = e.stateNode;
    if (!n) throw Error(N(169));
    r ? (e = nR(e, t, gi), n.__reactInternalMemoizedMergedChildContext = e, Ae(ur), Ae(zt), Re(zt, e)) : Ae(ur), Re(ur, r);
  }
  a(Lx, "dg");
  var So = null, Fd = !1, o5 = !1;
  function oR(e) {
    So === null ? So = [e] : So.push(e);
  }
  a(oR, "hg");
  function w$(e) {
    Fd = !0, oR(e);
  }
  a(w$, "ig");
  function Ra() {
    if (!o5 && So !== null) {
      o5 = !0;
      var e = 0, t = me;
      try {
        var r = So;
        for (me = 1; e < r.length; e++) {
          var n = r[e];
          do
            n = n(!0);
          while (n !== null);
        }
        So = null, Fd = !1;
      } catch (o) {
        throw So !== null && (So = So.slice(e + 1)), T7(fv, Ra), o;
      } finally {
        me = t, o5 = !1;
      }
    }
    return null;
  }
  a(Ra, "jg");
  var Ls = [], Os = 0, md = null, gd = 0, zr = [], Hr = 0, vi = null, Eo = 1, bo = "";
  function ui(e, t) {
    Ls[Os++] = gd, Ls[Os++] = md, md = e, gd = t;
  }
  a(ui, "tg");
  function aR(e, t, r) {
    zr[Hr++] = Eo, zr[Hr++] = bo, zr[Hr++] = vi, vi = e;
    var n = Eo;
    e = bo;
    var o = 32 - En(n) - 1;
    n &= ~(1 << o), r += 1;
    var i = 32 - En(t) + o;
    if (30 < i) {
      var s = o - o % 5;
      i = (n & (1 << s) - 1).toString(32), n >>= s, o -= s, Eo = 1 << 32 - En(t) + o | r << o | n, bo = i + e;
    } else Eo = 1 << i | r << o | n, bo = e;
  }
  a(aR, "ug");
  function Ev(e) {
    e.return !== null && (ui(e, 1), aR(e, 1, 0));
  }
  a(Ev, "vg");
  function bv(e) {
    for (; e === md; ) md = Ls[--Os], Ls[Os] = null, gd = Ls[--Os], Ls[Os] = null;
    for (; e === vi; ) vi = zr[--Hr], zr[Hr] = null, bo = zr[--Hr], zr[Hr] = null, Eo = zr[--Hr], zr[Hr] = null;
  }
  a(bv, "wg");
  var Rr = null, xr = null, Pe = !1, Sn = null;
  function iR(e, t) {
    var r = $r(5, null, null, 0);
    r.elementType = "DELETED", r.stateNode = t, r.return = e, t = e.deletions, t === null ? (e.deletions = [r], e.flags |= 16) : t.push(r);
  }
  a(iR, "Ag");
  function Ox(e, t) {
    switch (e.tag) {
      case 5:
        var r = e.type;
        return t = t.nodeType !== 1 || r.toLowerCase() !== t.nodeName.toLowerCase() ? null : t, t !== null ? (e.stateNode = t, Rr = e, xr = ma(
        t.firstChild), !0) : !1;
      case 6:
        return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, Rr = e, xr = null, !0) : !1;
      case 13:
        return t = t.nodeType !== 8 ? null : t, t !== null ? (r = vi !== null ? { id: Eo, overflow: bo } : null, e.memoizedState = { dehydrated: t,
        treeContext: r, retryLane: 1073741824 }, r = $r(18, null, null, 0), r.stateNode = t, r.return = e, e.child = r, Rr = e, xr = null, !0) :
        !1;
      default:
        return !1;
    }
  }
  a(Ox, "Cg");
  function H5(e) {
    return (e.mode & 1) !== 0 && (e.flags & 128) === 0;
  }
  a(H5, "Dg");
  function $5(e) {
    if (Pe) {
      var t = xr;
      if (t) {
        var r = t;
        if (!Ox(e, t)) {
          if (H5(e)) throw Error(N(418));
          t = ma(r.nextSibling);
          var n = Rr;
          t && Ox(e, t) ? iR(n, r) : (e.flags = e.flags & -4097 | 2, Pe = !1, Rr = e);
        }
      } else {
        if (H5(e)) throw Error(N(418));
        e.flags = e.flags & -4097 | 2, Pe = !1, Rr = e;
      }
    }
  }
  a($5, "Eg");
  function Nx(e) {
    for (e = e.return; e !== null && e.tag !== 5 && e.tag !== 3 && e.tag !== 13; ) e = e.return;
    Rr = e;
  }
  a(Nx, "Fg");
  function V0(e) {
    if (e !== Rr) return !1;
    if (!Pe) return Nx(e), Pe = !0, !1;
    var t;
    if ((t = e.tag !== 3) && !(t = e.tag !== 5) && (t = e.type, t = t !== "head" && t !== "body" && !N5(e.type, e.memoizedProps)), t && (t =
    xr)) {
      if (H5(e)) throw sR(), Error(N(418));
      for (; t; ) iR(e, t), t = ma(t.nextSibling);
    }
    if (Nx(e), e.tag === 13) {
      if (e = e.memoizedState, e = e !== null ? e.dehydrated : null, !e) throw Error(N(317));
      e: {
        for (e = e.nextSibling, t = 0; e; ) {
          if (e.nodeType === 8) {
            var r = e.data;
            if (r === "/$") {
              if (t === 0) {
                xr = ma(e.nextSibling);
                break e;
              }
              t--;
            } else r !== "$" && r !== "$!" && r !== "$?" || t++;
          }
          e = e.nextSibling;
        }
        xr = null;
      }
    } else xr = Rr ? ma(e.stateNode.nextSibling) : null;
    return !0;
  }
  a(V0, "Gg");
  function sR() {
    for (var e = xr; e; ) e = ma(e.nextSibling);
  }
  a(sR, "Hg");
  function Gs() {
    xr = Rr = null, Pe = !1;
  }
  a(Gs, "Ig");
  function xv(e) {
    Sn === null ? Sn = [e] : Sn.push(e);
  }
  a(xv, "Jg");
  var S$ = _o.ReactCurrentBatchConfig;
  function yn(e, t) {
    if (e && e.defaultProps) {
      t = Be({}, t), e = e.defaultProps;
      for (var r in e) t[r] === void 0 && (t[r] = e[r]);
      return t;
    }
    return t;
  }
  a(yn, "Lg");
  var vd = xa(null), yd = null, Ns = null, Rv = null;
  function Cv() {
    Rv = Ns = yd = null;
  }
  a(Cv, "Qg");
  function Dv(e) {
    var t = vd.current;
    Ae(vd), e._currentValue = t;
  }
  a(Dv, "Rg");
  function j5(e, t, r) {
    for (; e !== null; ) {
      var n = e.alternate;
      if ((e.childLanes & t) !== t ? (e.childLanes |= t, n !== null && (n.childLanes |= t)) : n !== null && (n.childLanes & t) !== t && (n.childLanes |=
      t), e === r) break;
      e = e.return;
    }
  }
  a(j5, "Sg");
  function Vs(e, t) {
    yd = e, Rv = Ns = null, e = e.dependencies, e !== null && e.firstContext !== null && ((e.lanes & t) !== 0 && (lr = !0), e.firstContext =
    null);
  }
  a(Vs, "Tg");
  function Vr(e) {
    var t = e._currentValue;
    if (Rv !== e) if (e = { context: e, memoizedValue: t, next: null }, Ns === null) {
      if (yd === null) throw Error(N(308));
      Ns = e, yd.dependencies = { lanes: 0, firstContext: e };
    } else Ns = Ns.next = e;
    return t;
  }
  a(Vr, "Vg");
  var fi = null;
  function Av(e) {
    fi === null ? fi = [e] : fi.push(e);
  }
  a(Av, "Xg");
  function lR(e, t, r, n) {
    var o = t.interleaved;
    return o === null ? (r.next = r, Av(t)) : (r.next = o.next, o.next = r), t.interleaved = r, Do(e, n);
  }
  a(lR, "Yg");
  function Do(e, t) {
    e.lanes |= t;
    var r = e.alternate;
    for (r !== null && (r.lanes |= t), r = e, e = e.return; e !== null; ) e.childLanes |= t, r = e.alternate, r !== null && (r.childLanes |=
    t), r = e, e = e.return;
    return r.tag === 3 ? r.stateNode : null;
  }
  a(Do, "Zg");
  var sa = !1;
  function _v(e) {
    e.updateQueue = { baseState: e.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 },
    effects: null };
  }
  a(_v, "ah");
  function uR(e, t) {
    e = e.updateQueue, t.updateQueue === e && (t.updateQueue = { baseState: e.baseState, firstBaseUpdate: e.firstBaseUpdate, lastBaseUpdate: e.
    lastBaseUpdate, shared: e.shared, effects: e.effects });
  }
  a(uR, "bh");
  function xo(e, t) {
    return { eventTime: e, lane: t, tag: 0, payload: null, callback: null, next: null };
  }
  a(xo, "ch");
  function ga(e, t, r) {
    var n = e.updateQueue;
    if (n === null) return null;
    if (n = n.shared, (le & 2) !== 0) {
      var o = n.pending;
      return o === null ? t.next = t : (t.next = o.next, o.next = t), n.pending = t, Do(e, r);
    }
    return o = n.interleaved, o === null ? (t.next = t, Av(n)) : (t.next = o.next, o.next = t), n.interleaved = t, Do(e, r);
  }
  a(ga, "dh");
  function Q0(e, t, r) {
    if (t = t.updateQueue, t !== null && (t = t.shared, (r & 4194240) !== 0)) {
      var n = t.lanes;
      n &= e.pendingLanes, r |= n, t.lanes = r, dv(e, r);
    }
  }
  a(Q0, "eh");
  function Mx(e, t) {
    var r = e.updateQueue, n = e.alternate;
    if (n !== null && (n = n.updateQueue, r === n)) {
      var o = null, i = null;
      if (r = r.firstBaseUpdate, r !== null) {
        do {
          var s = { eventTime: r.eventTime, lane: r.lane, tag: r.tag, payload: r.payload, callback: r.callback, next: null };
          i === null ? o = i = s : i = i.next = s, r = r.next;
        } while (r !== null);
        i === null ? o = i = t : i = i.next = t;
      } else o = i = t;
      r = { baseState: n.baseState, firstBaseUpdate: o, lastBaseUpdate: i, shared: n.shared, effects: n.effects }, e.updateQueue = r;
      return;
    }
    e = r.lastBaseUpdate, e === null ? r.firstBaseUpdate = t : e.next = t, r.lastBaseUpdate = t;
  }
  a(Mx, "fh");
  function wd(e, t, r, n) {
    var o = e.updateQueue;
    sa = !1;
    var i = o.firstBaseUpdate, s = o.lastBaseUpdate, l = o.shared.pending;
    if (l !== null) {
      o.shared.pending = null;
      var u = l, c = u.next;
      u.next = null, s === null ? i = c : s.next = c, s = u;
      var p = e.alternate;
      p !== null && (p = p.updateQueue, l = p.lastBaseUpdate, l !== s && (l === null ? p.firstBaseUpdate = c : l.next = c, p.lastBaseUpdate =
      u));
    }
    if (i !== null) {
      var h = o.baseState;
      s = 0, p = c = u = null, l = i;
      do {
        var m = l.lane, g = l.eventTime;
        if ((n & m) === m) {
          p !== null && (p = p.next = {
            eventTime: g,
            lane: 0,
            tag: l.tag,
            payload: l.payload,
            callback: l.callback,
            next: null
          });
          e: {
            var w = e, v = l;
            switch (m = t, g = r, v.tag) {
              case 1:
                if (w = v.payload, typeof w == "function") {
                  h = w.call(g, h, m);
                  break e;
                }
                h = w;
                break e;
              case 3:
                w.flags = w.flags & -65537 | 128;
              case 0:
                if (w = v.payload, m = typeof w == "function" ? w.call(g, h, m) : w, m == null) break e;
                h = Be({}, h, m);
                break e;
              case 2:
                sa = !0;
            }
          }
          l.callback !== null && l.lane !== 0 && (e.flags |= 64, m = o.effects, m === null ? o.effects = [l] : m.push(l));
        } else g = { eventTime: g, lane: m, tag: l.tag, payload: l.payload, callback: l.callback, next: null }, p === null ? (c = p = g, u =
        h) : p = p.next = g, s |= m;
        if (l = l.next, l === null) {
          if (l = o.shared.pending, l === null) break;
          m = l, l = m.next, m.next = null, o.lastBaseUpdate = m, o.shared.pending = null;
        }
      } while (!0);
      if (p === null && (u = h), o.baseState = u, o.firstBaseUpdate = c, o.lastBaseUpdate = p, t = o.shared.interleaved, t !== null) {
        o = t;
        do
          s |= o.lane, o = o.next;
        while (o !== t);
      } else i === null && (o.shared.lanes = 0);
      wi |= s, e.lanes = s, e.memoizedState = h;
    }
  }
  a(wd, "gh");
  function Bx(e, t, r) {
    if (e = t.effects, t.effects = null, e !== null) for (t = 0; t < e.length; t++) {
      var n = e[t], o = n.callback;
      if (o !== null) {
        if (n.callback = null, n = r, typeof o != "function") throw Error(N(191, o));
        o.call(n);
      }
    }
  }
  a(Bx, "ih");
  var cR = new l7.Component().refs;
  function V5(e, t, r, n) {
    t = e.memoizedState, r = r(n, t), r = r == null ? t : Be({}, t, r), e.memoizedState = r, e.lanes === 0 && (e.updateQueue.baseState = r);
  }
  a(V5, "kh");
  var Ld = { isMounted: /* @__PURE__ */ a(function(e) {
    return (e = e._reactInternals) ? bi(e) === e : !1;
  }, "isMounted"), enqueueSetState: /* @__PURE__ */ a(function(e, t, r) {
    e = e._reactInternals;
    var n = qt(), o = ya(e), i = xo(n, o);
    i.payload = t, r != null && (i.callback = r), t = ga(e, i, o), t !== null && (bn(t, e, o, n), Q0(t, e, o));
  }, "enqueueSetState"), enqueueReplaceState: /* @__PURE__ */ a(function(e, t, r) {
    e = e._reactInternals;
    var n = qt(), o = ya(e), i = xo(n, o);
    i.tag = 1, i.payload = t, r != null && (i.callback = r), t = ga(e, i, o), t !== null && (bn(t, e, o, n), Q0(t, e, o));
  }, "enqueueReplaceState"), enqueueForceUpdate: /* @__PURE__ */ a(function(e, t) {
    e = e._reactInternals;
    var r = qt(), n = ya(e), o = xo(r, n);
    o.tag = 2, t != null && (o.callback = t), t = ga(e, o, n), t !== null && (bn(t, e, n, r), Q0(t, e, n));
  }, "enqueueForceUpdate") };
  function zx(e, t, r, n, o, i, s) {
    return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(n, i, s) : t.prototype && t.prototype.isPureReactComponent ?
    !ip(r, n) || !ip(o, i) : !0;
  }
  a(zx, "oh");
  function pR(e, t, r) {
    var n = !1, o = Ea, i = t.contextType;
    return typeof i == "object" && i !== null ? i = Vr(i) : (o = cr(t) ? gi : zt.current, n = t.contextTypes, i = (n = n != null) ? qs(e, o) :
    Ea), t = new t(r, i), e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null, t.updater = Ld, e.stateNode = t, t._reactInternals =
    e, n && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = o, e.__reactInternalMemoizedMaskedChildContext = i), t;
  }
  a(pR, "ph");
  function Hx(e, t, r, n) {
    e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(r, n), typeof t.UNSAFE_componentWillReceiveProps ==
    "function" && t.UNSAFE_componentWillReceiveProps(r, n), t.state !== e && Ld.enqueueReplaceState(t, t.state, null);
  }
  a(Hx, "qh");
  function U5(e, t, r, n) {
    var o = e.stateNode;
    o.props = r, o.state = e.memoizedState, o.refs = cR, _v(e);
    var i = t.contextType;
    typeof i == "object" && i !== null ? o.context = Vr(i) : (i = cr(t) ? gi : zt.current, o.context = qs(e, i)), o.state = e.memoizedState,
    i = t.getDerivedStateFromProps, typeof i == "function" && (V5(e, t, i, r), o.state = e.memoizedState), typeof t.getDerivedStateFromProps ==
    "function" || typeof o.getSnapshotBeforeUpdate == "function" || typeof o.UNSAFE_componentWillMount != "function" && typeof o.componentWillMount !=
    "function" || (t = o.state, typeof o.componentWillMount == "function" && o.componentWillMount(), typeof o.UNSAFE_componentWillMount == "\
function" && o.UNSAFE_componentWillMount(), t !== o.state && Ld.enqueueReplaceState(o, o.state, null), wd(e, r, o, n), o.state = e.memoizedState),
    typeof o.componentDidMount == "function" && (e.flags |= 4194308);
  }
  a(U5, "rh");
  function Nc(e, t, r) {
    if (e = r.ref, e !== null && typeof e != "function" && typeof e != "object") {
      if (r._owner) {
        if (r = r._owner, r) {
          if (r.tag !== 1) throw Error(N(309));
          var n = r.stateNode;
        }
        if (!n) throw Error(N(147, e));
        var o = n, i = "" + e;
        return t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === i ? t.ref : (t = /* @__PURE__ */ a(function(s) {
          var l = o.refs;
          l === cR && (l = o.refs = {}), s === null ? delete l[i] : l[i] = s;
        }, "b"), t._stringRef = i, t);
      }
      if (typeof e != "string") throw Error(N(284));
      if (!r._owner) throw Error(N(290, e));
    }
    return e;
  }
  a(Nc, "sh");
  function U0(e, t) {
    throw e = Object.prototype.toString.call(t), Error(N(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" :
    e));
  }
  a(U0, "th");
  function $x(e) {
    var t = e._init;
    return t(e._payload);
  }
  a($x, "uh");
  function fR(e) {
    function t(E, y) {
      if (e) {
        var b = E.deletions;
        b === null ? (E.deletions = [y], E.flags |= 16) : b.push(y);
      }
    }
    a(t, "b");
    function r(E, y) {
      if (!e) return null;
      for (; y !== null; ) t(E, y), y = y.sibling;
      return null;
    }
    a(r, "c");
    function n(E, y) {
      for (E = /* @__PURE__ */ new Map(); y !== null; ) y.key !== null ? E.set(y.key, y) : E.set(y.index, y), y = y.sibling;
      return E;
    }
    a(n, "d");
    function o(E, y) {
      return E = wa(E, y), E.index = 0, E.sibling = null, E;
    }
    a(o, "e");
    function i(E, y, b) {
      return E.index = b, e ? (b = E.alternate, b !== null ? (b = b.index, b < y ? (E.flags |= 2, y) : b) : (E.flags |= 2, y)) : (E.flags |=
      1048576, y);
    }
    a(i, "f");
    function s(E) {
      return e && E.alternate === null && (E.flags |= 2), E;
    }
    a(s, "g");
    function l(E, y, b, x) {
      return y === null || y.tag !== 6 ? (y = p5(b, E.mode, x), y.return = E, y) : (y = o(y, b), y.return = E, y);
    }
    a(l, "h");
    function u(E, y, b, x) {
      var R = b.type;
      return R === _s ? p(E, y, b.props.children, x, b.key) : y !== null && (y.elementType === R || typeof R == "object" && R !== null && R.
      $$typeof === ia && $x(R) === y.type) ? (x = o(y, b.props), x.ref = Nc(E, y, b), x.return = E, x) : (x = nd(b.type, b.key, b.props, null,
      E.mode, x), x.ref = Nc(E, y, b), x.return = E, x);
    }
    a(u, "k");
    function c(E, y, b, x) {
      return y === null || y.tag !== 4 || y.stateNode.containerInfo !== b.containerInfo || y.stateNode.implementation !== b.implementation ?
      (y = f5(b, E.mode, x), y.return = E, y) : (y = o(y, b.children || []), y.return = E, y);
    }
    a(c, "l");
    function p(E, y, b, x, R) {
      return y === null || y.tag !== 7 ? (y = mi(b, E.mode, x, R), y.return = E, y) : (y = o(y, b), y.return = E, y);
    }
    a(p, "m");
    function h(E, y, b) {
      if (typeof y == "string" && y !== "" || typeof y == "number") return y = p5("" + y, E.mode, b), y.return = E, y;
      if (typeof y == "object" && y !== null) {
        switch (y.$$typeof) {
          case T0:
            return b = nd(y.type, y.key, y.props, null, E.mode, b), b.ref = Nc(E, null, y), b.return = E, b;
          case As:
            return y = f5(y, E.mode, b), y.return = E, y;
          case ia:
            var x = y._init;
            return h(E, x(y._payload), b);
        }
        if ($c(y) || kc(y)) return y = mi(y, E.mode, b, null), y.return = E, y;
        U0(E, y);
      }
      return null;
    }
    a(h, "q");
    function m(E, y, b, x) {
      var R = y !== null ? y.key : null;
      if (typeof b == "string" && b !== "" || typeof b == "number") return R !== null ? null : l(E, y, "" + b, x);
      if (typeof b == "object" && b !== null) {
        switch (b.$$typeof) {
          case T0:
            return b.key === R ? u(E, y, b, x) : null;
          case As:
            return b.key === R ? c(E, y, b, x) : null;
          case ia:
            return R = b._init, m(
              E,
              y,
              R(b._payload),
              x
            );
        }
        if ($c(b) || kc(b)) return R !== null ? null : p(E, y, b, x, null);
        U0(E, b);
      }
      return null;
    }
    a(m, "r");
    function g(E, y, b, x, R) {
      if (typeof x == "string" && x !== "" || typeof x == "number") return E = E.get(b) || null, l(y, E, "" + x, R);
      if (typeof x == "object" && x !== null) {
        switch (x.$$typeof) {
          case T0:
            return E = E.get(x.key === null ? b : x.key) || null, u(y, E, x, R);
          case As:
            return E = E.get(x.key === null ? b : x.key) || null, c(y, E, x, R);
          case ia:
            var C = x._init;
            return g(E, y, b, C(x._payload), R);
        }
        if ($c(x) || kc(x)) return E = E.get(b) || null, p(y, E, x, R, null);
        U0(y, x);
      }
      return null;
    }
    a(g, "y");
    function w(E, y, b, x) {
      for (var R = null, C = null, D = y, A = y = 0, P = null; D !== null && A < b.length; A++) {
        D.index > A ? (P = D, D = null) : P = D.sibling;
        var k = m(E, D, b[A], x);
        if (k === null) {
          D === null && (D = P);
          break;
        }
        e && D && k.alternate === null && t(E, D), y = i(k, y, A), C === null ? R = k : C.sibling = k, C = k, D = P;
      }
      if (A === b.length) return r(E, D), Pe && ui(E, A), R;
      if (D === null) {
        for (; A < b.length; A++) D = h(E, b[A], x), D !== null && (y = i(D, y, A), C === null ? R = D : C.sibling = D, C = D);
        return Pe && ui(E, A), R;
      }
      for (D = n(E, D); A < b.length; A++) P = g(D, E, A, b[A], x), P !== null && (e && P.alternate !== null && D.delete(P.key === null ? A :
      P.key), y = i(P, y, A), C === null ? R = P : C.sibling = P, C = P);
      return e && D.forEach(function(M) {
        return t(E, M);
      }), Pe && ui(E, A), R;
    }
    a(w, "n");
    function v(E, y, b, x) {
      var R = kc(b);
      if (typeof R != "function") throw Error(N(150));
      if (b = R.call(b), b == null) throw Error(N(151));
      for (var C = R = null, D = y, A = y = 0, P = null, k = b.next(); D !== null && !k.done; A++, k = b.next()) {
        D.index > A ? (P = D, D = null) : P = D.sibling;
        var M = m(E, D, k.value, x);
        if (M === null) {
          D === null && (D = P);
          break;
        }
        e && D && M.alternate === null && t(E, D), y = i(M, y, A), C === null ? R = M : C.sibling = M, C = M, D = P;
      }
      if (k.done) return r(
        E,
        D
      ), Pe && ui(E, A), R;
      if (D === null) {
        for (; !k.done; A++, k = b.next()) k = h(E, k.value, x), k !== null && (y = i(k, y, A), C === null ? R = k : C.sibling = k, C = k);
        return Pe && ui(E, A), R;
      }
      for (D = n(E, D); !k.done; A++, k = b.next()) k = g(D, E, A, k.value, x), k !== null && (e && k.alternate !== null && D.delete(k.key ===
      null ? A : k.key), y = i(k, y, A), C === null ? R = k : C.sibling = k, C = k);
      return e && D.forEach(function(V) {
        return t(E, V);
      }), Pe && ui(E, A), R;
    }
    a(v, "t");
    function S(E, y, b, x) {
      if (typeof b == "object" && b !== null && b.type === _s && b.key === null && (b = b.props.children), typeof b == "object" && b !== null) {
        switch (b.$$typeof) {
          case T0:
            e: {
              for (var R = b.key, C = y; C !== null; ) {
                if (C.key === R) {
                  if (R = b.type, R === _s) {
                    if (C.tag === 7) {
                      r(E, C.sibling), y = o(C, b.props.children), y.return = E, E = y;
                      break e;
                    }
                  } else if (C.elementType === R || typeof R == "object" && R !== null && R.$$typeof === ia && $x(R) === C.type) {
                    r(E, C.sibling), y = o(C, b.props), y.ref = Nc(E, C, b), y.return = E, E = y;
                    break e;
                  }
                  r(E, C);
                  break;
                } else t(E, C);
                C = C.sibling;
              }
              b.type === _s ? (y = mi(b.props.children, E.mode, x, b.key), y.return = E, E = y) : (x = nd(b.type, b.key, b.props, null, E.mode,
              x), x.ref = Nc(E, y, b), x.return = E, E = x);
            }
            return s(E);
          case As:
            e: {
              for (C = b.key; y !== null; ) {
                if (y.key === C) if (y.tag === 4 && y.stateNode.containerInfo === b.containerInfo && y.stateNode.implementation === b.implementation) {
                  r(E, y.sibling), y = o(y, b.children || []), y.return = E, E = y;
                  break e;
                } else {
                  r(E, y);
                  break;
                }
                else t(E, y);
                y = y.sibling;
              }
              y = f5(b, E.mode, x), y.return = E, E = y;
            }
            return s(E);
          case ia:
            return C = b._init, S(E, y, C(b._payload), x);
        }
        if ($c(b)) return w(E, y, b, x);
        if (kc(b)) return v(E, y, b, x);
        U0(E, b);
      }
      return typeof b == "string" && b !== "" || typeof b == "number" ? (b = "" + b, y !== null && y.tag === 6 ? (r(E, y.sibling), y = o(y, b),
      y.return = E, E = y) : (r(E, y), y = p5(b, E.mode, x), y.return = E, E = y), s(E)) : r(E, y);
    }
    return a(S, "J"), S;
  }
  a(fR, "vh");
  var Ys = fR(!0), dR = fR(!1), wp = {}, Gn = xa(wp), cp = xa(wp), pp = xa(wp);
  function di(e) {
    if (e === wp) throw Error(N(174));
    return e;
  }
  a(di, "Hh");
  function Tv(e, t) {
    switch (Re(pp, t), Re(cp, e), Re(Gn, wp), e = t.nodeType, e) {
      case 9:
      case 11:
        t = (t = t.documentElement) ? t.namespaceURI : b5(null, "");
        break;
      default:
        e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = b5(t, e);
    }
    Ae(Gn), Re(Gn, t);
  }
  a(Tv, "Ih");
  function Ks() {
    Ae(Gn), Ae(cp), Ae(pp);
  }
  a(Ks, "Jh");
  function hR(e) {
    di(pp.current);
    var t = di(Gn.current), r = b5(t, e.type);
    t !== r && (Re(cp, e), Re(Gn, r));
  }
  a(hR, "Kh");
  function Iv(e) {
    cp.current === e && (Ae(Gn), Ae(cp));
  }
  a(Iv, "Lh");
  var Ne = xa(0);
  function Sd(e) {
    for (var t = e; t !== null; ) {
      if (t.tag === 13) {
        var r = t.memoizedState;
        if (r !== null && (r = r.dehydrated, r === null || r.data === "$?" || r.data === "$!")) return t;
      } else if (t.tag === 19 && t.memoizedProps.revealOrder !== void 0) {
        if ((t.flags & 128) !== 0) return t;
      } else if (t.child !== null) {
        t.child.return = t, t = t.child;
        continue;
      }
      if (t === e) break;
      for (; t.sibling === null; ) {
        if (t.return === null || t.return === e) return null;
        t = t.return;
      }
      t.sibling.return = t.return, t = t.sibling;
    }
    return null;
  }
  a(Sd, "Mh");
  var a5 = [];
  function Pv() {
    for (var e = 0; e < a5.length; e++) a5[e]._workInProgressVersionPrimary = null;
    a5.length = 0;
  }
  a(Pv, "Oh");
  var J0 = _o.ReactCurrentDispatcher, i5 = _o.ReactCurrentBatchConfig, yi = 0, Me = null, at = null, gt = null, Ed = !1, Kc = !1, fp = 0, E$ = 0;
  function Nt() {
    throw Error(N(321));
  }
  a(Nt, "Q");
  function kv(e, t) {
    if (t === null) return !1;
    for (var r = 0; r < t.length && r < e.length; r++) if (!xn(e[r], t[r])) return !1;
    return !0;
  }
  a(kv, "Wh");
  function Fv(e, t, r, n, o, i) {
    if (yi = i, Me = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, J0.current = e === null || e.memoizedState === null ? C$ :
    D$, e = r(n, o), Kc) {
      i = 0;
      do {
        if (Kc = !1, fp = 0, 25 <= i) throw Error(N(301));
        i += 1, gt = at = null, t.updateQueue = null, J0.current = A$, e = r(n, o);
      } while (Kc);
    }
    if (J0.current = bd, t = at !== null && at.next !== null, yi = 0, gt = at = Me = null, Ed = !1, t) throw Error(N(300));
    return e;
  }
  a(Fv, "Xh");
  function Lv() {
    var e = fp !== 0;
    return fp = 0, e;
  }
  a(Lv, "bi");
  function Un() {
    var e = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
    return gt === null ? Me.memoizedState = gt = e : gt = gt.next = e, gt;
  }
  a(Un, "ci");
  function Ur() {
    if (at === null) {
      var e = Me.alternate;
      e = e !== null ? e.memoizedState : null;
    } else e = at.next;
    var t = gt === null ? Me.memoizedState : gt.next;
    if (t !== null) gt = t, at = e;
    else {
      if (e === null) throw Error(N(310));
      at = e, e = { memoizedState: at.memoizedState, baseState: at.baseState, baseQueue: at.baseQueue, queue: at.queue, next: null }, gt ===
      null ? Me.memoizedState = gt = e : gt = gt.next = e;
    }
    return gt;
  }
  a(Ur, "di");
  function dp(e, t) {
    return typeof t == "function" ? t(e) : t;
  }
  a(dp, "ei");
  function s5(e) {
    var t = Ur(), r = t.queue;
    if (r === null) throw Error(N(311));
    r.lastRenderedReducer = e;
    var n = at, o = n.baseQueue, i = r.pending;
    if (i !== null) {
      if (o !== null) {
        var s = o.next;
        o.next = i.next, i.next = s;
      }
      n.baseQueue = o = i, r.pending = null;
    }
    if (o !== null) {
      i = o.next, n = n.baseState;
      var l = s = null, u = null, c = i;
      do {
        var p = c.lane;
        if ((yi & p) === p) u !== null && (u = u.next = { lane: 0, action: c.action, hasEagerState: c.hasEagerState, eagerState: c.eagerState,
        next: null }), n = c.hasEagerState ? c.eagerState : e(n, c.action);
        else {
          var h = {
            lane: p,
            action: c.action,
            hasEagerState: c.hasEagerState,
            eagerState: c.eagerState,
            next: null
          };
          u === null ? (l = u = h, s = n) : u = u.next = h, Me.lanes |= p, wi |= p;
        }
        c = c.next;
      } while (c !== null && c !== i);
      u === null ? s = n : u.next = l, xn(n, t.memoizedState) || (lr = !0), t.memoizedState = n, t.baseState = s, t.baseQueue = u, r.lastRenderedState =
      n;
    }
    if (e = r.interleaved, e !== null) {
      o = e;
      do
        i = o.lane, Me.lanes |= i, wi |= i, o = o.next;
      while (o !== e);
    } else o === null && (r.lanes = 0);
    return [t.memoizedState, r.dispatch];
  }
  a(s5, "fi");
  function l5(e) {
    var t = Ur(), r = t.queue;
    if (r === null) throw Error(N(311));
    r.lastRenderedReducer = e;
    var n = r.dispatch, o = r.pending, i = t.memoizedState;
    if (o !== null) {
      r.pending = null;
      var s = o = o.next;
      do
        i = e(i, s.action), s = s.next;
      while (s !== o);
      xn(i, t.memoizedState) || (lr = !0), t.memoizedState = i, t.baseQueue === null && (t.baseState = i), r.lastRenderedState = i;
    }
    return [i, n];
  }
  a(l5, "gi");
  function mR() {
  }
  a(mR, "hi");
  function gR(e, t) {
    var r = Me, n = Ur(), o = t(), i = !xn(n.memoizedState, o);
    if (i && (n.memoizedState = o, lr = !0), n = n.queue, Ov(wR.bind(null, r, n, e), [e]), n.getSnapshot !== t || i || gt !== null && gt.memoizedState.
    tag & 1) {
      if (r.flags |= 2048, hp(9, yR.bind(null, r, n, o, t), void 0, null), vt === null) throw Error(N(349));
      (yi & 30) !== 0 || vR(r, t, o);
    }
    return o;
  }
  a(gR, "ii");
  function vR(e, t, r) {
    e.flags |= 16384, e = { getSnapshot: t, value: r }, t = Me.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, Me.updateQueue =
    t, t.stores = [e]) : (r = t.stores, r === null ? t.stores = [e] : r.push(e));
  }
  a(vR, "ni");
  function yR(e, t, r, n) {
    t.value = r, t.getSnapshot = n, SR(t) && ER(e);
  }
  a(yR, "mi");
  function wR(e, t, r) {
    return r(function() {
      SR(t) && ER(e);
    });
  }
  a(wR, "ki");
  function SR(e) {
    var t = e.getSnapshot;
    e = e.value;
    try {
      var r = t();
      return !xn(e, r);
    } catch {
      return !0;
    }
  }
  a(SR, "oi");
  function ER(e) {
    var t = Do(e, 1);
    t !== null && bn(t, e, 1, -1);
  }
  a(ER, "pi");
  function jx(e) {
    var t = Un();
    return typeof e == "function" && (e = e()), t.memoizedState = t.baseState = e, e = { pending: null, interleaved: null, lanes: 0, dispatch: null,
    lastRenderedReducer: dp, lastRenderedState: e }, t.queue = e, e = e.dispatch = R$.bind(null, Me, e), [t.memoizedState, e];
  }
  a(jx, "qi");
  function hp(e, t, r, n) {
    return e = { tag: e, create: t, destroy: r, deps: n, next: null }, t = Me.updateQueue, t === null ? (t = { lastEffect: null, stores: null },
    Me.updateQueue = t, t.lastEffect = e.next = e) : (r = t.lastEffect, r === null ? t.lastEffect = e.next = e : (n = r.next, r.next = e, e.
    next = n, t.lastEffect = e)), e;
  }
  a(hp, "li");
  function bR() {
    return Ur().memoizedState;
  }
  a(bR, "si");
  function Z0(e, t, r, n) {
    var o = Un();
    Me.flags |= e, o.memoizedState = hp(1 | t, r, void 0, n === void 0 ? null : n);
  }
  a(Z0, "ti");
  function Od(e, t, r, n) {
    var o = Ur();
    n = n === void 0 ? null : n;
    var i = void 0;
    if (at !== null) {
      var s = at.memoizedState;
      if (i = s.destroy, n !== null && kv(n, s.deps)) {
        o.memoizedState = hp(t, r, i, n);
        return;
      }
    }
    Me.flags |= e, o.memoizedState = hp(1 | t, r, i, n);
  }
  a(Od, "ui");
  function Vx(e, t) {
    return Z0(8390656, 8, e, t);
  }
  a(Vx, "vi");
  function Ov(e, t) {
    return Od(2048, 8, e, t);
  }
  a(Ov, "ji");
  function xR(e, t) {
    return Od(4, 2, e, t);
  }
  a(xR, "wi");
  function RR(e, t) {
    return Od(4, 4, e, t);
  }
  a(RR, "xi");
  function CR(e, t) {
    if (typeof t == "function") return e = e(), t(e), function() {
      t(null);
    };
    if (t != null) return e = e(), t.current = e, function() {
      t.current = null;
    };
  }
  a(CR, "yi");
  function DR(e, t, r) {
    return r = r != null ? r.concat([e]) : null, Od(4, 4, CR.bind(null, t, e), r);
  }
  a(DR, "zi");
  function Nv() {
  }
  a(Nv, "Ai");
  function AR(e, t) {
    var r = Ur();
    t = t === void 0 ? null : t;
    var n = r.memoizedState;
    return n !== null && t !== null && kv(t, n[1]) ? n[0] : (r.memoizedState = [e, t], e);
  }
  a(AR, "Bi");
  function _R(e, t) {
    var r = Ur();
    t = t === void 0 ? null : t;
    var n = r.memoizedState;
    return n !== null && t !== null && kv(t, n[1]) ? n[0] : (e = e(), r.memoizedState = [e, t], e);
  }
  a(_R, "Ci");
  function TR(e, t, r) {
    return (yi & 21) === 0 ? (e.baseState && (e.baseState = !1, lr = !0), e.memoizedState = r) : (xn(r, t) || (r = k7(), Me.lanes |= r, wi |=
    r, e.baseState = !0), t);
  }
  a(TR, "Di");
  function b$(e, t) {
    var r = me;
    me = r !== 0 && 4 > r ? r : 4, e(!0);
    var n = i5.transition;
    i5.transition = {};
    try {
      e(!1), t();
    } finally {
      me = r, i5.transition = n;
    }
  }
  a(b$, "Ei");
  function IR() {
    return Ur().memoizedState;
  }
  a(IR, "Fi");
  function x$(e, t, r) {
    var n = ya(e);
    if (r = { lane: n, action: r, hasEagerState: !1, eagerState: null, next: null }, PR(e)) kR(t, r);
    else if (r = lR(e, t, r, n), r !== null) {
      var o = qt();
      bn(r, e, n, o), FR(r, t, n);
    }
  }
  a(x$, "Gi");
  function R$(e, t, r) {
    var n = ya(e), o = { lane: n, action: r, hasEagerState: !1, eagerState: null, next: null };
    if (PR(e)) kR(t, o);
    else {
      var i = e.alternate;
      if (e.lanes === 0 && (i === null || i.lanes === 0) && (i = t.lastRenderedReducer, i !== null)) try {
        var s = t.lastRenderedState, l = i(s, r);
        if (o.hasEagerState = !0, o.eagerState = l, xn(l, s)) {
          var u = t.interleaved;
          u === null ? (o.next = o, Av(t)) : (o.next = u.next, u.next = o), t.interleaved = o;
          return;
        }
      } catch {
      } finally {
      }
      r = lR(e, t, o, n), r !== null && (o = qt(), bn(r, e, n, o), FR(r, t, n));
    }
  }
  a(R$, "ri");
  function PR(e) {
    var t = e.alternate;
    return e === Me || t !== null && t === Me;
  }
  a(PR, "Hi");
  function kR(e, t) {
    Kc = Ed = !0;
    var r = e.pending;
    r === null ? t.next = t : (t.next = r.next, r.next = t), e.pending = t;
  }
  a(kR, "Ii");
  function FR(e, t, r) {
    if ((r & 4194240) !== 0) {
      var n = t.lanes;
      n &= e.pendingLanes, r |= n, t.lanes = r, dv(e, r);
    }
  }
  a(FR, "Ji");
  var bd = { readContext: Vr, useCallback: Nt, useContext: Nt, useEffect: Nt, useImperativeHandle: Nt, useInsertionEffect: Nt, useLayoutEffect: Nt,
  useMemo: Nt, useReducer: Nt, useRef: Nt, useState: Nt, useDebugValue: Nt, useDeferredValue: Nt, useTransition: Nt, useMutableSource: Nt, useSyncExternalStore: Nt,
  useId: Nt, unstable_isNewReconciler: !1 }, C$ = { readContext: Vr, useCallback: /* @__PURE__ */ a(function(e, t) {
    return Un().memoizedState = [e, t === void 0 ? null : t], e;
  }, "useCallback"), useContext: Vr, useEffect: Vx, useImperativeHandle: /* @__PURE__ */ a(function(e, t, r) {
    return r = r != null ? r.concat([e]) : null, Z0(
      4194308,
      4,
      CR.bind(null, t, e),
      r
    );
  }, "useImperativeHandle"), useLayoutEffect: /* @__PURE__ */ a(function(e, t) {
    return Z0(4194308, 4, e, t);
  }, "useLayoutEffect"), useInsertionEffect: /* @__PURE__ */ a(function(e, t) {
    return Z0(4, 2, e, t);
  }, "useInsertionEffect"), useMemo: /* @__PURE__ */ a(function(e, t) {
    var r = Un();
    return t = t === void 0 ? null : t, e = e(), r.memoizedState = [e, t], e;
  }, "useMemo"), useReducer: /* @__PURE__ */ a(function(e, t, r) {
    var n = Un();
    return t = r !== void 0 ? r(t) : t, n.memoizedState = n.baseState = t, e = { pending: null, interleaved: null, lanes: 0, dispatch: null,
    lastRenderedReducer: e, lastRenderedState: t }, n.queue = e, e = e.dispatch = x$.bind(null, Me, e), [n.memoizedState, e];
  }, "useReducer"), useRef: /* @__PURE__ */ a(function(e) {
    var t = Un();
    return e = { current: e }, t.memoizedState = e;
  }, "useRef"), useState: jx, useDebugValue: Nv, useDeferredValue: /* @__PURE__ */ a(function(e) {
    return Un().memoizedState = e;
  }, "useDeferredValue"), useTransition: /* @__PURE__ */ a(function() {
    var e = jx(!1), t = e[0];
    return e = b$.bind(null, e[1]), Un().memoizedState = e, [t, e];
  }, "useTransition"), useMutableSource: /* @__PURE__ */ a(function() {
  }, "useMutableSource"), useSyncExternalStore: /* @__PURE__ */ a(function(e, t, r) {
    var n = Me, o = Un();
    if (Pe) {
      if (r === void 0) throw Error(N(407));
      r = r();
    } else {
      if (r = t(), vt === null) throw Error(N(349));
      (yi & 30) !== 0 || vR(n, t, r);
    }
    o.memoizedState = r;
    var i = { value: r, getSnapshot: t };
    return o.queue = i, Vx(wR.bind(
      null,
      n,
      i,
      e
    ), [e]), n.flags |= 2048, hp(9, yR.bind(null, n, i, r, t), void 0, null), r;
  }, "useSyncExternalStore"), useId: /* @__PURE__ */ a(function() {
    var e = Un(), t = vt.identifierPrefix;
    if (Pe) {
      var r = bo, n = Eo;
      r = (n & ~(1 << 32 - En(n) - 1)).toString(32) + r, t = ":" + t + "R" + r, r = fp++, 0 < r && (t += "H" + r.toString(32)), t += ":";
    } else r = E$++, t = ":" + t + "r" + r.toString(32) + ":";
    return e.memoizedState = t;
  }, "useId"), unstable_isNewReconciler: !1 }, D$ = {
    readContext: Vr,
    useCallback: AR,
    useContext: Vr,
    useEffect: Ov,
    useImperativeHandle: DR,
    useInsertionEffect: xR,
    useLayoutEffect: RR,
    useMemo: _R,
    useReducer: s5,
    useRef: bR,
    useState: /* @__PURE__ */ a(function() {
      return s5(dp);
    }, "useState"),
    useDebugValue: Nv,
    useDeferredValue: /* @__PURE__ */ a(function(e) {
      var t = Ur();
      return TR(t, at.memoizedState, e);
    }, "useDeferredValue"),
    useTransition: /* @__PURE__ */ a(function() {
      var e = s5(dp)[0], t = Ur().memoizedState;
      return [e, t];
    }, "useTransition"),
    useMutableSource: mR,
    useSyncExternalStore: gR,
    useId: IR,
    unstable_isNewReconciler: !1
  }, A$ = { readContext: Vr, useCallback: AR, useContext: Vr, useEffect: Ov, useImperativeHandle: DR, useInsertionEffect: xR, useLayoutEffect: RR,
  useMemo: _R, useReducer: l5, useRef: bR, useState: /* @__PURE__ */ a(function() {
    return l5(dp);
  }, "useState"), useDebugValue: Nv, useDeferredValue: /* @__PURE__ */ a(function(e) {
    var t = Ur();
    return at === null ? t.memoizedState = e : TR(t, at.memoizedState, e);
  }, "useDeferredValue"), useTransition: /* @__PURE__ */ a(function() {
    var e = l5(dp)[0], t = Ur().memoizedState;
    return [e, t];
  }, "useTransition"), useMutableSource: mR, useSyncExternalStore: gR, useId: IR, unstable_isNewReconciler: !1 };
  function Xs(e, t) {
    try {
      var r = "", n = t;
      do
        r += nH(n), n = n.return;
      while (n);
      var o = r;
    } catch (i) {
      o = `
Error generating stack: ` + i.message + `
` + i.stack;
    }
    return { value: e, source: t, stack: o, digest: null };
  }
  a(Xs, "Ki");
  function u5(e, t, r) {
    return { value: e, source: null, stack: r ?? null, digest: t ?? null };
  }
  a(u5, "Li");
  function W5(e, t) {
    try {
      console.error(t.value);
    } catch (r) {
      setTimeout(function() {
        throw r;
      });
    }
  }
  a(W5, "Mi");
  var _$ = typeof WeakMap == "function" ? WeakMap : Map;
  function LR(e, t, r) {
    r = xo(-1, r), r.tag = 3, r.payload = { element: null };
    var n = t.value;
    return r.callback = function() {
      Rd || (Rd = !0, tv = n), W5(e, t);
    }, r;
  }
  a(LR, "Oi");
  function OR(e, t, r) {
    r = xo(-1, r), r.tag = 3;
    var n = e.type.getDerivedStateFromError;
    if (typeof n == "function") {
      var o = t.value;
      r.payload = function() {
        return n(o);
      }, r.callback = function() {
        W5(e, t);
      };
    }
    var i = e.stateNode;
    return i !== null && typeof i.componentDidCatch == "function" && (r.callback = function() {
      W5(e, t), typeof n != "function" && (va === null ? va = /* @__PURE__ */ new Set([this]) : va.add(this));
      var s = t.stack;
      this.componentDidCatch(t.value, { componentStack: s !== null ? s : "" });
    }), r;
  }
  a(OR, "Ri");
  function Ux(e, t, r) {
    var n = e.pingCache;
    if (n === null) {
      n = e.pingCache = new _$();
      var o = /* @__PURE__ */ new Set();
      n.set(t, o);
    } else o = n.get(t), o === void 0 && (o = /* @__PURE__ */ new Set(), n.set(t, o));
    o.has(r) || (o.add(r), e = j$.bind(null, e, t, r), t.then(e, e));
  }
  a(Ux, "Ti");
  function Wx(e) {
    do {
      var t;
      if ((t = e.tag === 13) && (t = e.memoizedState, t = t !== null ? t.dehydrated !== null : !0), t) return e;
      e = e.return;
    } while (e !== null);
    return null;
  }
  a(Wx, "Vi");
  function qx(e, t, r, n, o) {
    return (e.mode & 1) === 0 ? (e === t ? e.flags |= 65536 : (e.flags |= 128, r.flags |= 131072, r.flags &= -52805, r.tag === 1 && (r.alternate ===
    null ? r.tag = 17 : (t = xo(-1, 1), t.tag = 2, ga(r, t, 1))), r.lanes |= 1), e) : (e.flags |= 65536, e.lanes = o, e);
  }
  a(qx, "Wi");
  var T$ = _o.ReactCurrentOwner, lr = !1;
  function Wt(e, t, r, n) {
    t.child = e === null ? dR(t, null, r, n) : Ys(t, e.child, r, n);
  }
  a(Wt, "Yi");
  function Gx(e, t, r, n, o) {
    r = r.render;
    var i = t.ref;
    return Vs(t, o), n = Fv(e, t, r, n, i, o), r = Lv(), e !== null && !lr ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~o,
    Ao(e, t, o)) : (Pe && r && Ev(t), t.flags |= 1, Wt(e, t, n, o), t.child);
  }
  a(Gx, "Zi");
  function Yx(e, t, r, n, o) {
    if (e === null) {
      var i = r.type;
      return typeof i == "function" && !Uv(i) && i.defaultProps === void 0 && r.compare === null && r.defaultProps === void 0 ? (t.tag = 15,
      t.type = i, NR(e, t, i, n, o)) : (e = nd(r.type, null, n, t, t.mode, o), e.ref = t.ref, e.return = t, t.child = e);
    }
    if (i = e.child, (e.lanes & o) === 0) {
      var s = i.memoizedProps;
      if (r = r.compare, r = r !== null ? r : ip, r(s, n) && e.ref === t.ref) return Ao(e, t, o);
    }
    return t.flags |= 1, e = wa(i, n), e.ref = t.ref, e.return = t, t.child = e;
  }
  a(Yx, "aj");
  function NR(e, t, r, n, o) {
    if (e !== null) {
      var i = e.memoizedProps;
      if (ip(i, n) && e.ref === t.ref) if (lr = !1, t.pendingProps = n = i, (e.lanes & o) !== 0) (e.flags & 131072) !== 0 && (lr = !0);
      else return t.lanes = e.lanes, Ao(e, t, o);
    }
    return q5(e, t, r, n, o);
  }
  a(NR, "cj");
  function MR(e, t, r) {
    var n = t.pendingProps, o = n.children, i = e !== null ? e.memoizedState : null;
    if (n.mode === "hidden") if ((t.mode & 1) === 0) t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, Re(Bs, br), br |=
    r;
    else {
      if ((r & 1073741824) === 0) return e = i !== null ? i.baseLanes | r : r, t.lanes = t.childLanes = 1073741824, t.memoizedState = { baseLanes: e,
      cachePool: null, transitions: null }, t.updateQueue = null, Re(Bs, br), br |= e, null;
      t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, n = i !== null ? i.baseLanes : r, Re(Bs, br), br |= n;
    }
    else i !== null ? (n = i.baseLanes | r, t.memoizedState = null) : n = r, Re(Bs, br), br |= n;
    return Wt(e, t, o, r), t.child;
  }
  a(MR, "ej");
  function BR(e, t) {
    var r = t.ref;
    (e === null && r !== null || e !== null && e.ref !== r) && (t.flags |= 512, t.flags |= 2097152);
  }
  a(BR, "hj");
  function q5(e, t, r, n, o) {
    var i = cr(r) ? gi : zt.current;
    return i = qs(t, i), Vs(t, o), r = Fv(e, t, r, n, i, o), n = Lv(), e !== null && !lr ? (t.updateQueue = e.updateQueue, t.flags &= -2053,
    e.lanes &= ~o, Ao(e, t, o)) : (Pe && n && Ev(t), t.flags |= 1, Wt(e, t, r, o), t.child);
  }
  a(q5, "dj");
  function Kx(e, t, r, n, o) {
    if (cr(r)) {
      var i = !0;
      hd(t);
    } else i = !1;
    if (Vs(t, o), t.stateNode === null) ed(e, t), pR(t, r, n), U5(t, r, n, o), n = !0;
    else if (e === null) {
      var s = t.stateNode, l = t.memoizedProps;
      s.props = l;
      var u = s.context, c = r.contextType;
      typeof c == "object" && c !== null ? c = Vr(c) : (c = cr(r) ? gi : zt.current, c = qs(t, c));
      var p = r.getDerivedStateFromProps, h = typeof p == "function" || typeof s.getSnapshotBeforeUpdate == "function";
      h || typeof s.UNSAFE_componentWillReceiveProps != "function" && typeof s.componentWillReceiveProps != "function" || (l !== n || u !== c) &&
      Hx(t, s, n, c), sa = !1;
      var m = t.memoizedState;
      s.state = m, wd(t, n, s, o), u = t.memoizedState, l !== n || m !== u || ur.current || sa ? (typeof p == "function" && (V5(t, r, p, n),
      u = t.memoizedState), (l = sa || zx(t, r, l, n, m, u, c)) ? (h || typeof s.UNSAFE_componentWillMount != "function" && typeof s.componentWillMount !=
      "function" || (typeof s.componentWillMount == "function" && s.componentWillMount(), typeof s.UNSAFE_componentWillMount == "function" &&
      s.UNSAFE_componentWillMount()), typeof s.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof s.componentDidMount == "fu\
nction" && (t.flags |= 4194308), t.memoizedProps = n, t.memoizedState = u), s.props = n, s.state = u, s.context = c, n = l) : (typeof s.componentDidMount ==
      "function" && (t.flags |= 4194308), n = !1);
    } else {
      s = t.stateNode, uR(e, t), l = t.memoizedProps, c = t.type === t.elementType ? l : yn(t.type, l), s.props = c, h = t.pendingProps, m =
      s.context, u = r.contextType, typeof u == "object" && u !== null ? u = Vr(u) : (u = cr(r) ? gi : zt.current, u = qs(t, u));
      var g = r.getDerivedStateFromProps;
      (p = typeof g == "function" || typeof s.getSnapshotBeforeUpdate == "function") || typeof s.UNSAFE_componentWillReceiveProps != "functi\
on" && typeof s.componentWillReceiveProps != "function" || (l !== h || m !== u) && Hx(t, s, n, u), sa = !1, m = t.memoizedState, s.state = m,
      wd(t, n, s, o);
      var w = t.memoizedState;
      l !== h || m !== w || ur.current || sa ? (typeof g == "function" && (V5(t, r, g, n), w = t.memoizedState), (c = sa || zx(t, r, c, n, m,
      w, u) || !1) ? (p || typeof s.UNSAFE_componentWillUpdate != "function" && typeof s.componentWillUpdate != "function" || (typeof s.componentWillUpdate ==
      "function" && s.componentWillUpdate(n, w, u), typeof s.UNSAFE_componentWillUpdate == "function" && s.UNSAFE_componentWillUpdate(n, w, u)),
      typeof s.componentDidUpdate == "function" && (t.flags |= 4), typeof s.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof s.
      componentDidUpdate != "function" || l === e.memoizedProps && m === e.memoizedState || (t.flags |= 4), typeof s.getSnapshotBeforeUpdate !=
      "function" || l === e.memoizedProps && m === e.memoizedState || (t.flags |= 1024), t.memoizedProps = n, t.memoizedState = w), s.props =
      n, s.state = w, s.context = u, n = c) : (typeof s.componentDidUpdate != "function" || l === e.memoizedProps && m === e.memoizedState ||
      (t.flags |= 4), typeof s.getSnapshotBeforeUpdate != "function" || l === e.memoizedProps && m === e.memoizedState || (t.flags |= 1024),
      n = !1);
    }
    return G5(e, t, r, n, i, o);
  }
  a(Kx, "ij");
  function G5(e, t, r, n, o, i) {
    BR(e, t);
    var s = (t.flags & 128) !== 0;
    if (!n && !s) return o && Lx(t, r, !1), Ao(e, t, i);
    n = t.stateNode, T$.current = t;
    var l = s && typeof r.getDerivedStateFromError != "function" ? null : n.render();
    return t.flags |= 1, e !== null && s ? (t.child = Ys(t, e.child, null, i), t.child = Ys(t, null, l, i)) : Wt(e, t, l, i), t.memoizedState =
    n.state, o && Lx(t, r, !0), t.child;
  }
  a(G5, "kj");
  function zR(e) {
    var t = e.stateNode;
    t.pendingContext ? Fx(e, t.pendingContext, t.pendingContext !== t.context) : t.context && Fx(e, t.context, !1), Tv(e, t.containerInfo);
  }
  a(zR, "lj");
  function Xx(e, t, r, n, o) {
    return Gs(), xv(o), t.flags |= 256, Wt(e, t, r, n), t.child;
  }
  a(Xx, "mj");
  var Y5 = { dehydrated: null, treeContext: null, retryLane: 0 };
  function K5(e) {
    return { baseLanes: e, cachePool: null, transitions: null };
  }
  a(K5, "oj");
  function HR(e, t, r) {
    var n = t.pendingProps, o = Ne.current, i = !1, s = (t.flags & 128) !== 0, l;
    if ((l = s) || (l = e !== null && e.memoizedState === null ? !1 : (o & 2) !== 0), l ? (i = !0, t.flags &= -129) : (e === null || e.memoizedState !==
    null) && (o |= 1), Re(Ne, o & 1), e === null)
      return $5(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? ((t.mode & 1) === 0 ? t.lanes = 1 : e.data === "$!" ?
      t.lanes = 8 : t.lanes = 1073741824, null) : (s = n.children, e = n.fallback, i ? (n = t.mode, i = t.child, s = { mode: "hidden", children: s },
      (n & 1) === 0 && i !== null ? (i.childLanes = 0, i.pendingProps = s) : i = Bd(s, n, 0, null), e = mi(e, n, r, null), i.return = t, e.return =
      t, i.sibling = e, t.child = i, t.child.memoizedState = K5(r), t.memoizedState = Y5, e) : Mv(t, s));
    if (o = e.memoizedState, o !== null && (l = o.dehydrated, l !== null)) return I$(e, t, s, n, l, o, r);
    if (i) {
      i = n.fallback, s = t.mode, o = e.child, l = o.sibling;
      var u = { mode: "hidden", children: n.children };
      return (s & 1) === 0 && t.child !== o ? (n = t.child, n.childLanes = 0, n.pendingProps = u, t.deletions = null) : (n = wa(o, u), n.subtreeFlags =
      o.subtreeFlags & 14680064), l !== null ? i = wa(l, i) : (i = mi(i, s, r, null), i.flags |= 2), i.return = t, n.return = t, n.sibling =
      i, t.child = n, n = i, i = t.child, s = e.child.memoizedState, s = s === null ? K5(r) : { baseLanes: s.baseLanes | r, cachePool: null,
      transitions: s.transitions }, i.memoizedState = s, i.childLanes = e.childLanes & ~r, t.memoizedState = Y5, n;
    }
    return i = e.child, e = i.sibling, n = wa(i, { mode: "visible", children: n.children }), (t.mode & 1) === 0 && (n.lanes = r), n.return =
    t, n.sibling = null, e !== null && (r = t.deletions, r === null ? (t.deletions = [e], t.flags |= 16) : r.push(e)), t.child = n, t.memoizedState =
    null, n;
  }
  a(HR, "pj");
  function Mv(e, t) {
    return t = Bd({ mode: "visible", children: t }, e.mode, 0, null), t.return = e, e.child = t;
  }
  a(Mv, "rj");
  function W0(e, t, r, n) {
    return n !== null && xv(n), Ys(t, e.child, null, r), e = Mv(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
  }
  a(W0, "tj");
  function I$(e, t, r, n, o, i, s) {
    if (r)
      return t.flags & 256 ? (t.flags &= -257, n = u5(Error(N(422))), W0(e, t, s, n)) : t.memoizedState !== null ? (t.child = e.child, t.flags |=
      128, null) : (i = n.fallback, o = t.mode, n = Bd({ mode: "visible", children: n.children }, o, 0, null), i = mi(i, o, s, null), i.flags |=
      2, n.return = t, i.return = t, n.sibling = i, t.child = n, (t.mode & 1) !== 0 && Ys(t, e.child, null, s), t.child.memoizedState = K5(s),
      t.memoizedState = Y5, i);
    if ((t.mode & 1) === 0) return W0(e, t, s, null);
    if (o.data === "$!") {
      if (n = o.nextSibling && o.nextSibling.dataset, n) var l = n.dgst;
      return n = l, i = Error(N(419)), n = u5(i, n, void 0), W0(e, t, s, n);
    }
    if (l = (s & e.childLanes) !== 0, lr || l) {
      if (n = vt, n !== null) {
        switch (s & -s) {
          case 4:
            o = 2;
            break;
          case 16:
            o = 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:
            o = 32;
            break;
          case 536870912:
            o = 268435456;
            break;
          default:
            o = 0;
        }
        o = (o & (n.suspendedLanes | s)) !== 0 ? 0 : o, o !== 0 && o !== i.retryLane && (i.retryLane = o, Do(e, o), bn(n, e, o, -1));
      }
      return Vv(), n = u5(Error(N(421))), W0(e, t, s, n);
    }
    return o.data === "$?" ? (t.flags |= 128, t.child = e.child, t = V$.bind(null, e), o._reactRetry = t, null) : (e = i.treeContext, xr = ma(
    o.nextSibling), Rr = t, Pe = !0, Sn = null, e !== null && (zr[Hr++] = Eo, zr[Hr++] = bo, zr[Hr++] = vi, Eo = e.id, bo = e.overflow, vi =
    t), t = Mv(t, n.children), t.flags |= 4096, t);
  }
  a(I$, "sj");
  function Qx(e, t, r) {
    e.lanes |= t;
    var n = e.alternate;
    n !== null && (n.lanes |= t), j5(e.return, t, r);
  }
  a(Qx, "wj");
  function c5(e, t, r, n, o) {
    var i = e.memoizedState;
    i === null ? e.memoizedState = { isBackwards: t, rendering: null, renderingStartTime: 0, last: n, tail: r, tailMode: o } : (i.isBackwards =
    t, i.rendering = null, i.renderingStartTime = 0, i.last = n, i.tail = r, i.tailMode = o);
  }
  a(c5, "xj");
  function $R(e, t, r) {
    var n = t.pendingProps, o = n.revealOrder, i = n.tail;
    if (Wt(e, t, n.children, r), n = Ne.current, (n & 2) !== 0) n = n & 1 | 2, t.flags |= 128;
    else {
      if (e !== null && (e.flags & 128) !== 0) e: for (e = t.child; e !== null; ) {
        if (e.tag === 13) e.memoizedState !== null && Qx(e, r, t);
        else if (e.tag === 19) Qx(e, r, t);
        else if (e.child !== null) {
          e.child.return = e, e = e.child;
          continue;
        }
        if (e === t) break e;
        for (; e.sibling === null; ) {
          if (e.return === null || e.return === t) break e;
          e = e.return;
        }
        e.sibling.return = e.return, e = e.sibling;
      }
      n &= 1;
    }
    if (Re(Ne, n), (t.mode & 1) === 0) t.memoizedState = null;
    else switch (o) {
      case "forwards":
        for (r = t.child, o = null; r !== null; ) e = r.alternate, e !== null && Sd(e) === null && (o = r), r = r.sibling;
        r = o, r === null ? (o = t.child, t.child = null) : (o = r.sibling, r.sibling = null), c5(t, !1, o, r, i);
        break;
      case "backwards":
        for (r = null, o = t.child, t.child = null; o !== null; ) {
          if (e = o.alternate, e !== null && Sd(e) === null) {
            t.child = o;
            break;
          }
          e = o.sibling, o.sibling = r, r = o, o = e;
        }
        c5(t, !0, r, null, i);
        break;
      case "together":
        c5(t, !1, null, null, void 0);
        break;
      default:
        t.memoizedState = null;
    }
    return t.child;
  }
  a($R, "yj");
  function ed(e, t) {
    (t.mode & 1) === 0 && e !== null && (e.alternate = null, t.alternate = null, t.flags |= 2);
  }
  a(ed, "jj");
  function Ao(e, t, r) {
    if (e !== null && (t.dependencies = e.dependencies), wi |= t.lanes, (r & t.childLanes) === 0) return null;
    if (e !== null && t.child !== e.child) throw Error(N(153));
    if (t.child !== null) {
      for (e = t.child, r = wa(e, e.pendingProps), t.child = r, r.return = t; e.sibling !== null; ) e = e.sibling, r = r.sibling = wa(e, e.pendingProps),
      r.return = t;
      r.sibling = null;
    }
    return t.child;
  }
  a(Ao, "$i");
  function P$(e, t, r) {
    switch (t.tag) {
      case 3:
        zR(t), Gs();
        break;
      case 5:
        hR(t);
        break;
      case 1:
        cr(t.type) && hd(t);
        break;
      case 4:
        Tv(t, t.stateNode.containerInfo);
        break;
      case 10:
        var n = t.type._context, o = t.memoizedProps.value;
        Re(vd, n._currentValue), n._currentValue = o;
        break;
      case 13:
        if (n = t.memoizedState, n !== null)
          return n.dehydrated !== null ? (Re(Ne, Ne.current & 1), t.flags |= 128, null) : (r & t.child.childLanes) !== 0 ? HR(e, t, r) : (Re(
          Ne, Ne.current & 1), e = Ao(e, t, r), e !== null ? e.sibling : null);
        Re(Ne, Ne.current & 1);
        break;
      case 19:
        if (n = (r & t.childLanes) !== 0, (e.flags & 128) !== 0) {
          if (n) return $R(e, t, r);
          t.flags |= 128;
        }
        if (o = t.memoizedState, o !== null && (o.rendering = null, o.tail = null, o.lastEffect = null), Re(Ne, Ne.current), n) break;
        return null;
      case 22:
      case 23:
        return t.lanes = 0, MR(e, t, r);
    }
    return Ao(e, t, r);
  }
  a(P$, "zj");
  var jR, X5, VR, UR;
  jR = /* @__PURE__ */ a(function(e, t) {
    for (var r = t.child; r !== null; ) {
      if (r.tag === 5 || r.tag === 6) e.appendChild(r.stateNode);
      else if (r.tag !== 4 && r.child !== null) {
        r.child.return = r, r = r.child;
        continue;
      }
      if (r === t) break;
      for (; r.sibling === null; ) {
        if (r.return === null || r.return === t) return;
        r = r.return;
      }
      r.sibling.return = r.return, r = r.sibling;
    }
  }, "Aj");
  X5 = /* @__PURE__ */ a(function() {
  }, "Bj");
  VR = /* @__PURE__ */ a(function(e, t, r, n) {
    var o = e.memoizedProps;
    if (o !== n) {
      e = t.stateNode, di(Gn.current);
      var i = null;
      switch (r) {
        case "input":
          o = y5(e, o), n = y5(e, n), i = [];
          break;
        case "select":
          o = Be({}, o, { value: void 0 }), n = Be({}, n, { value: void 0 }), i = [];
          break;
        case "textarea":
          o = E5(e, o), n = E5(e, n), i = [];
          break;
        default:
          typeof o.onClick != "function" && typeof n.onClick == "function" && (e.onclick = fd);
      }
      x5(r, n);
      var s;
      r = null;
      for (c in o) if (!n.hasOwnProperty(c) && o.hasOwnProperty(c) && o[c] != null) if (c === "style") {
        var l = o[c];
        for (s in l) l.hasOwnProperty(s) && (r || (r = {}), r[s] = "");
      } else c !== "dangerouslySetInnerHTML" && c !== "children" && c !== "suppressContentEditableWarning" && c !== "suppressHydrationWarnin\
g" && c !== "autoFocus" && (Zc.hasOwnProperty(c) ? i || (i = []) : (i = i || []).push(c, null));
      for (c in n) {
        var u = n[c];
        if (l = o?.[c], n.hasOwnProperty(c) && u !== l && (u != null || l != null)) if (c === "style") if (l) {
          for (s in l) !l.hasOwnProperty(s) || u && u.hasOwnProperty(s) || (r || (r = {}), r[s] = "");
          for (s in u) u.hasOwnProperty(s) && l[s] !== u[s] && (r || (r = {}), r[s] = u[s]);
        } else r || (i || (i = []), i.push(
          c,
          r
        )), r = u;
        else c === "dangerouslySetInnerHTML" ? (u = u ? u.__html : void 0, l = l ? l.__html : void 0, u != null && l !== u && (i = i || []).
        push(c, u)) : c === "children" ? typeof u != "string" && typeof u != "number" || (i = i || []).push(c, "" + u) : c !== "suppressCont\
entEditableWarning" && c !== "suppressHydrationWarning" && (Zc.hasOwnProperty(c) ? (u != null && c === "onScroll" && De("scroll", e), i || l ===
        u || (i = [])) : (i = i || []).push(c, u));
      }
      r && (i = i || []).push("style", r);
      var c = i;
      (t.updateQueue = c) && (t.flags |= 4);
    }
  }, "Cj");
  UR = /* @__PURE__ */ a(function(e, t, r, n) {
    r !== n && (t.flags |= 4);
  }, "Dj");
  function Mc(e, t) {
    if (!Pe) switch (e.tailMode) {
      case "hidden":
        t = e.tail;
        for (var r = null; t !== null; ) t.alternate !== null && (r = t), t = t.sibling;
        r === null ? e.tail = null : r.sibling = null;
        break;
      case "collapsed":
        r = e.tail;
        for (var n = null; r !== null; ) r.alternate !== null && (n = r), r = r.sibling;
        n === null ? t || e.tail === null ? e.tail = null : e.tail.sibling = null : n.sibling = null;
    }
  }
  a(Mc, "Ej");
  function Mt(e) {
    var t = e.alternate !== null && e.alternate.child === e.child, r = 0, n = 0;
    if (t) for (var o = e.child; o !== null; ) r |= o.lanes | o.childLanes, n |= o.subtreeFlags & 14680064, n |= o.flags & 14680064, o.return =
    e, o = o.sibling;
    else for (o = e.child; o !== null; ) r |= o.lanes | o.childLanes, n |= o.subtreeFlags, n |= o.flags, o.return = e, o = o.sibling;
    return e.subtreeFlags |= n, e.childLanes = r, t;
  }
  a(Mt, "S");
  function k$(e, t, r) {
    var n = t.pendingProps;
    switch (bv(t), t.tag) {
      case 2:
      case 16:
      case 15:
      case 0:
      case 11:
      case 7:
      case 8:
      case 12:
      case 9:
      case 14:
        return Mt(t), null;
      case 1:
        return cr(t.type) && dd(), Mt(t), null;
      case 3:
        return n = t.stateNode, Ks(), Ae(ur), Ae(zt), Pv(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e ===
        null || e.child === null) && (V0(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && (t.flags & 256) === 0 || (t.flags |=
        1024, Sn !== null && (ov(Sn), Sn = null))), X5(e, t), Mt(t), null;
      case 5:
        Iv(t);
        var o = di(pp.current);
        if (r = t.type, e !== null && t.stateNode != null) VR(e, t, r, n, o), e.ref !== t.ref && (t.flags |= 512, t.flags |= 2097152);
        else {
          if (!n) {
            if (t.stateNode === null) throw Error(N(166));
            return Mt(t), null;
          }
          if (e = di(Gn.current), V0(t)) {
            n = t.stateNode, r = t.type;
            var i = t.memoizedProps;
            switch (n[Wn] = t, n[up] = i, e = (t.mode & 1) !== 0, r) {
              case "dialog":
                De("cancel", n), De("close", n);
                break;
              case "iframe":
              case "object":
              case "embed":
                De("load", n);
                break;
              case "video":
              case "audio":
                for (o = 0; o < Vc.length; o++) De(Vc[o], n);
                break;
              case "source":
                De("error", n);
                break;
              case "img":
              case "image":
              case "link":
                De(
                  "error",
                  n
                ), De("load", n);
                break;
              case "details":
                De("toggle", n);
                break;
              case "input":
                ax(n, i), De("invalid", n);
                break;
              case "select":
                n._wrapperState = { wasMultiple: !!i.multiple }, De("invalid", n);
                break;
              case "textarea":
                sx(n, i), De("invalid", n);
            }
            x5(r, i), o = null;
            for (var s in i) if (i.hasOwnProperty(s)) {
              var l = i[s];
              s === "children" ? typeof l == "string" ? n.textContent !== l && (i.suppressHydrationWarning !== !0 && j0(n.textContent, l, e),
              o = ["children", l]) : typeof l == "number" && n.textContent !== "" + l && (i.suppressHydrationWarning !== !0 && j0(
                n.textContent,
                l,
                e
              ), o = ["children", "" + l]) : Zc.hasOwnProperty(s) && l != null && s === "onScroll" && De("scroll", n);
            }
            switch (r) {
              case "input":
                I0(n), ix(n, i, !0);
                break;
              case "textarea":
                I0(n), lx(n);
                break;
              case "select":
              case "option":
                break;
              default:
                typeof i.onClick == "function" && (n.onclick = fd);
            }
            n = o, t.updateQueue = n, n !== null && (t.flags |= 4);
          } else {
            s = o.nodeType === 9 ? o : o.ownerDocument, e === "http://www.w3.org/1999/xhtml" && (e = v7(r)), e === "http://www.w3.org/1999/x\
html" ? r === "script" ? (e = s.createElement("div"), e.innerHTML = "<script><\/script>", e = e.removeChild(e.firstChild)) : typeof n.is == "\
string" ? e = s.createElement(r, { is: n.is }) : (e = s.createElement(r), r === "select" && (s = e, n.multiple ? s.multiple = !0 : n.size &&
            (s.size = n.size))) : e = s.createElementNS(e, r), e[Wn] = t, e[up] = n, jR(e, t, !1, !1), t.stateNode = e;
            e: {
              switch (s = R5(r, n), r) {
                case "dialog":
                  De("cancel", e), De("close", e), o = n;
                  break;
                case "iframe":
                case "object":
                case "embed":
                  De("load", e), o = n;
                  break;
                case "video":
                case "audio":
                  for (o = 0; o < Vc.length; o++) De(Vc[o], e);
                  o = n;
                  break;
                case "source":
                  De("error", e), o = n;
                  break;
                case "img":
                case "image":
                case "link":
                  De(
                    "error",
                    e
                  ), De("load", e), o = n;
                  break;
                case "details":
                  De("toggle", e), o = n;
                  break;
                case "input":
                  ax(e, n), o = y5(e, n), De("invalid", e);
                  break;
                case "option":
                  o = n;
                  break;
                case "select":
                  e._wrapperState = { wasMultiple: !!n.multiple }, o = Be({}, n, { value: void 0 }), De("invalid", e);
                  break;
                case "textarea":
                  sx(e, n), o = E5(e, n), De("invalid", e);
                  break;
                default:
                  o = n;
              }
              x5(r, o), l = o;
              for (i in l) if (l.hasOwnProperty(i)) {
                var u = l[i];
                i === "style" ? S7(e, u) : i === "dangerouslySetInnerHTML" ? (u = u ? u.__html : void 0, u != null && y7(e, u)) : i === "chi\
ldren" ? typeof u == "string" ? (r !== "textarea" || u !== "") && ep(e, u) : typeof u == "number" && ep(e, "" + u) : i !== "suppressContentE\
ditableWarning" && i !== "suppressHydrationWarning" && i !== "autoFocus" && (Zc.hasOwnProperty(i) ? u != null && i === "onScroll" && De("scr\
oll", e) : u != null && sv(e, i, u, s));
              }
              switch (r) {
                case "input":
                  I0(e), ix(e, n, !1);
                  break;
                case "textarea":
                  I0(e), lx(e);
                  break;
                case "option":
                  n.value != null && e.setAttribute("value", "" + Sa(n.value));
                  break;
                case "select":
                  e.multiple = !!n.multiple, i = n.value, i != null ? zs(e, !!n.multiple, i, !1) : n.defaultValue != null && zs(
                    e,
                    !!n.multiple,
                    n.defaultValue,
                    !0
                  );
                  break;
                default:
                  typeof o.onClick == "function" && (e.onclick = fd);
              }
              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 && (t.flags |= 4);
          }
          t.ref !== null && (t.flags |= 512, t.flags |= 2097152);
        }
        return Mt(t), null;
      case 6:
        if (e && t.stateNode != null) UR(e, t, e.memoizedProps, n);
        else {
          if (typeof n != "string" && t.stateNode === null) throw Error(N(166));
          if (r = di(pp.current), di(Gn.current), V0(t)) {
            if (n = t.stateNode, r = t.memoizedProps, n[Wn] = t, (i = n.nodeValue !== r) && (e = Rr, e !== null)) switch (e.tag) {
              case 3:
                j0(n.nodeValue, r, (e.mode & 1) !== 0);
                break;
              case 5:
                e.memoizedProps.suppressHydrationWarning !== !0 && j0(n.nodeValue, r, (e.mode & 1) !== 0);
            }
            i && (t.flags |= 4);
          } else n = (r.nodeType === 9 ? r : r.ownerDocument).createTextNode(n), n[Wn] = t, t.stateNode = n;
        }
        return Mt(t), null;
      case 13:
        if (Ae(Ne), n = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
          if (Pe && xr !== null && (t.mode & 1) !== 0 && (t.flags & 128) === 0) sR(), Gs(), t.flags |= 98560, i = !1;
          else if (i = V0(t), n !== null && n.dehydrated !== null) {
            if (e === null) {
              if (!i) throw Error(N(318));
              if (i = t.memoizedState, i = i !== null ? i.dehydrated : null, !i) throw Error(N(317));
              i[Wn] = t;
            } else Gs(), (t.flags & 128) === 0 && (t.memoizedState = null), t.flags |= 4;
            Mt(t), i = !1;
          } else Sn !== null && (ov(Sn), Sn = null), i = !0;
          if (!i) return t.flags & 65536 ? t : null;
        }
        return (t.flags & 128) !== 0 ? (t.lanes = r, t) : (n = n !== null, n !== (e !== null && e.memoizedState !== null) && n && (t.child.flags |=
        8192, (t.mode & 1) !== 0 && (e === null || (Ne.current & 1) !== 0 ? it === 0 && (it = 3) : Vv())), t.updateQueue !== null && (t.flags |=
        4), Mt(t), null);
      case 4:
        return Ks(), X5(e, t), e === null && sp(t.stateNode.containerInfo), Mt(t), null;
      case 10:
        return Dv(t.type._context), Mt(t), null;
      case 17:
        return cr(t.type) && dd(), Mt(t), null;
      case 19:
        if (Ae(Ne), i = t.memoizedState, i === null) return Mt(t), null;
        if (n = (t.flags & 128) !== 0, s = i.rendering, s === null) if (n) Mc(i, !1);
        else {
          if (it !== 0 || e !== null && (e.flags & 128) !== 0) for (e = t.child; e !== null; ) {
            if (s = Sd(e), s !== null) {
              for (t.flags |= 128, Mc(i, !1), n = s.updateQueue, n !== null && (t.updateQueue = n, t.flags |= 4), t.subtreeFlags = 0, n = r,
              r = t.child; r !== null; ) i = r, e = n, i.flags &= 14680066, s = i.alternate, s === null ? (i.childLanes = 0, i.lanes = e, i.
              child = null, i.subtreeFlags = 0, i.memoizedProps = null, i.memoizedState = null, i.updateQueue = null, i.dependencies = null,
              i.stateNode = null) : (i.childLanes = s.childLanes, i.lanes = s.lanes, i.child = s.child, i.subtreeFlags = 0, i.deletions = null,
              i.memoizedProps = s.memoizedProps, i.memoizedState = s.memoizedState, i.updateQueue = s.updateQueue, i.type = s.type, e = s.dependencies,
              i.dependencies = e === null ? null : { lanes: e.lanes, firstContext: e.firstContext }), r = r.sibling;
              return Re(Ne, Ne.current & 1 | 2), t.child;
            }
            e = e.sibling;
          }
          i.tail !== null && Ge() > Qs && (t.flags |= 128, n = !0, Mc(i, !1), t.lanes = 4194304);
        }
        else {
          if (!n) if (e = Sd(s), e !== null) {
            if (t.flags |= 128, n = !0, r = e.updateQueue, r !== null && (t.updateQueue = r, t.flags |= 4), Mc(i, !0), i.tail === null && i.
            tailMode === "hidden" && !s.alternate && !Pe) return Mt(t), null;
          } else 2 * Ge() - i.renderingStartTime > Qs && r !== 1073741824 && (t.flags |= 128, n = !0, Mc(i, !1), t.lanes = 4194304);
          i.isBackwards ? (s.sibling = t.child, t.child = s) : (r = i.last, r !== null ? r.sibling = s : t.child = s, i.last = s);
        }
        return i.tail !== null ? (t = i.tail, i.rendering = t, i.tail = t.sibling, i.renderingStartTime = Ge(), t.sibling = null, r = Ne.current,
        Re(Ne, n ? r & 1 | 2 : r & 1), t) : (Mt(t), null);
      case 22:
      case 23:
        return jv(), n = t.memoizedState !== null, e !== null && e.memoizedState !== null !== n && (t.flags |= 8192), n && (t.mode & 1) !== 0 ?
        (br & 1073741824) !== 0 && (Mt(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : Mt(t), null;
      case 24:
        return null;
      case 25:
        return null;
    }
    throw Error(N(156, t.tag));
  }
  a(k$, "Fj");
  function F$(e, t) {
    switch (bv(t), t.tag) {
      case 1:
        return cr(t.type) && dd(), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
      case 3:
        return Ks(), Ae(ur), Ae(zt), Pv(), e = t.flags, (e & 65536) !== 0 && (e & 128) === 0 ? (t.flags = e & -65537 | 128, t) : null;
      case 5:
        return Iv(t), null;
      case 13:
        if (Ae(Ne), e = t.memoizedState, e !== null && e.dehydrated !== null) {
          if (t.alternate === null) throw Error(N(340));
          Gs();
        }
        return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
      case 19:
        return Ae(Ne), null;
      case 4:
        return Ks(), null;
      case 10:
        return Dv(t.type._context), null;
      case 22:
      case 23:
        return jv(), null;
      case 24:
        return null;
      default:
        return null;
    }
  }
  a(F$, "Jj");
  var q0 = !1, Bt = !1, L$ = typeof WeakSet == "function" ? WeakSet : Set, U = null;
  function Ms(e, t) {
    var r = e.ref;
    if (r !== null) if (typeof r == "function") try {
      r(null);
    } catch (n) {
      $e(e, t, n);
    }
    else r.current = null;
  }
  a(Ms, "Mj");
  function Q5(e, t, r) {
    try {
      r();
    } catch (n) {
      $e(e, t, n);
    }
  }
  a(Q5, "Nj");
  var Jx = !1;
  function O$(e, t) {
    if (L5 = ud, e = Y7(), Sv(e)) {
      if ("selectionStart" in e) var r = { start: e.selectionStart, end: e.selectionEnd };
      else e: {
        r = (r = e.ownerDocument) && r.defaultView || window;
        var n = r.getSelection && r.getSelection();
        if (n && n.rangeCount !== 0) {
          r = n.anchorNode;
          var o = n.anchorOffset, i = n.focusNode;
          n = n.focusOffset;
          try {
            r.nodeType, i.nodeType;
          } catch {
            r = null;
            break e;
          }
          var s = 0, l = -1, u = -1, c = 0, p = 0, h = e, m = null;
          t: for (; ; ) {
            for (var g; h !== r || o !== 0 && h.nodeType !== 3 || (l = s + o), h !== i || n !== 0 && h.nodeType !== 3 || (u = s + n), h.nodeType ===
            3 && (s += h.nodeValue.length), (g = h.firstChild) !== null; )
              m = h, h = g;
            for (; ; ) {
              if (h === e) break t;
              if (m === r && ++c === o && (l = s), m === i && ++p === n && (u = s), (g = h.nextSibling) !== null) break;
              h = m, m = h.parentNode;
            }
            h = g;
          }
          r = l === -1 || u === -1 ? null : { start: l, end: u };
        } else r = null;
      }
      r = r || { start: 0, end: 0 };
    } else r = null;
    for (O5 = { focusedElem: e, selectionRange: r }, ud = !1, U = t; U !== null; ) if (t = U, e = t.child, (t.subtreeFlags & 1028) !== 0 && e !==
    null) e.return = t, U = e;
    else for (; U !== null; ) {
      t = U;
      try {
        var w = t.alternate;
        if ((t.flags & 1024) !== 0) switch (t.tag) {
          case 0:
          case 11:
          case 15:
            break;
          case 1:
            if (w !== null) {
              var v = w.memoizedProps, S = w.memoizedState, E = t.stateNode, y = E.getSnapshotBeforeUpdate(t.elementType === t.type ? v : yn(
              t.type, v), S);
              E.__reactInternalSnapshotBeforeUpdate = y;
            }
            break;
          case 3:
            var b = t.stateNode.containerInfo;
            b.nodeType === 1 ? b.textContent = "" : b.nodeType === 9 && b.documentElement && b.removeChild(b.documentElement);
            break;
          case 5:
          case 6:
          case 4:
          case 17:
            break;
          default:
            throw Error(N(163));
        }
      } catch (x) {
        $e(t, t.return, x);
      }
      if (e = t.sibling, e !== null) {
        e.return = t.return, U = e;
        break;
      }
      U = t.return;
    }
    return w = Jx, Jx = !1, w;
  }
  a(O$, "Pj");
  function Xc(e, t, r) {
    var n = t.updateQueue;
    if (n = n !== null ? n.lastEffect : null, n !== null) {
      var o = n = n.next;
      do {
        if ((o.tag & e) === e) {
          var i = o.destroy;
          o.destroy = void 0, i !== void 0 && Q5(t, r, i);
        }
        o = o.next;
      } while (o !== n);
    }
  }
  a(Xc, "Qj");
  function Nd(e, t) {
    if (t = t.updateQueue, t = t !== null ? t.lastEffect : null, t !== null) {
      var r = t = t.next;
      do {
        if ((r.tag & e) === e) {
          var n = r.create;
          r.destroy = n();
        }
        r = r.next;
      } while (r !== t);
    }
  }
  a(Nd, "Rj");
  function J5(e) {
    var t = e.ref;
    if (t !== null) {
      var r = e.stateNode;
      switch (e.tag) {
        case 5:
          e = r;
          break;
        default:
          e = r;
      }
      typeof t == "function" ? t(e) : t.current = e;
    }
  }
  a(J5, "Sj");
  function WR(e) {
    var t = e.alternate;
    t !== null && (e.alternate = null, WR(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null &&
    (delete t[Wn], delete t[up], delete t[B5], delete t[v$], delete t[y$])), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps =
    null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;
  }
  a(WR, "Tj");
  function qR(e) {
    return e.tag === 5 || e.tag === 3 || e.tag === 4;
  }
  a(qR, "Uj");
  function Zx(e) {
    e: for (; ; ) {
      for (; e.sibling === null; ) {
        if (e.return === null || qR(e.return)) return null;
        e = e.return;
      }
      for (e.sibling.return = e.return, e = e.sibling; e.tag !== 5 && e.tag !== 6 && e.tag !== 18; ) {
        if (e.flags & 2 || e.child === null || e.tag === 4) continue e;
        e.child.return = e, e = e.child;
      }
      if (!(e.flags & 2)) return e.stateNode;
    }
  }
  a(Zx, "Vj");
  function Z5(e, t, r) {
    var n = e.tag;
    if (n === 5 || n === 6) e = e.stateNode, t ? r.nodeType === 8 ? r.parentNode.insertBefore(e, t) : r.insertBefore(e, t) : (r.nodeType ===
    8 ? (t = r.parentNode, t.insertBefore(e, r)) : (t = r, t.appendChild(e)), r = r._reactRootContainer, r != null || t.onclick !== null || (t.
    onclick = fd));
    else if (n !== 4 && (e = e.child, e !== null)) for (Z5(e, t, r), e = e.sibling; e !== null; ) Z5(e, t, r), e = e.sibling;
  }
  a(Z5, "Wj");
  function ev(e, t, r) {
    var n = e.tag;
    if (n === 5 || n === 6) e = e.stateNode, t ? r.insertBefore(e, t) : r.appendChild(e);
    else if (n !== 4 && (e = e.child, e !== null)) for (ev(e, t, r), e = e.sibling; e !== null; ) ev(e, t, r), e = e.sibling;
  }
  a(ev, "Xj");
  var Ct = null, wn = !1;
  function aa(e, t, r) {
    for (r = r.child; r !== null; ) GR(e, t, r), r = r.sibling;
  }
  a(aa, "Zj");
  function GR(e, t, r) {
    if (qn && typeof qn.onCommitFiberUnmount == "function") try {
      qn.onCommitFiberUnmount(_d, r);
    } catch {
    }
    switch (r.tag) {
      case 5:
        Bt || Ms(r, t);
      case 6:
        var n = Ct, o = wn;
        Ct = null, aa(e, t, r), Ct = n, wn = o, Ct !== null && (wn ? (e = Ct, r = r.stateNode, e.nodeType === 8 ? e.parentNode.removeChild(r) :
        e.removeChild(r)) : Ct.removeChild(r.stateNode));
        break;
      case 18:
        Ct !== null && (wn ? (e = Ct, r = r.stateNode, e.nodeType === 8 ? n5(e.parentNode, r) : e.nodeType === 1 && n5(e, r), op(e)) : n5(Ct,
        r.stateNode));
        break;
      case 4:
        n = Ct, o = wn, Ct = r.stateNode.containerInfo, wn = !0, aa(e, t, r), Ct = n, wn = o;
        break;
      case 0:
      case 11:
      case 14:
      case 15:
        if (!Bt && (n = r.updateQueue, n !== null && (n = n.lastEffect, n !== null))) {
          o = n = n.next;
          do {
            var i = o, s = i.destroy;
            i = i.tag, s !== void 0 && ((i & 2) !== 0 || (i & 4) !== 0) && Q5(r, t, s), o = o.next;
          } while (o !== n);
        }
        aa(e, t, r);
        break;
      case 1:
        if (!Bt && (Ms(r, t), n = r.stateNode, typeof n.componentWillUnmount == "function")) try {
          n.props = r.memoizedProps, n.state = r.memoizedState, n.componentWillUnmount();
        } catch (l) {
          $e(r, t, l);
        }
        aa(e, t, r);
        break;
      case 21:
        aa(e, t, r);
        break;
      case 22:
        r.mode & 1 ? (Bt = (n = Bt) || r.memoizedState !== null, aa(e, t, r), Bt = n) : aa(e, t, r);
        break;
      default:
        aa(e, t, r);
    }
  }
  a(GR, "ak");
  function e7(e) {
    var t = e.updateQueue;
    if (t !== null) {
      e.updateQueue = null;
      var r = e.stateNode;
      r === null && (r = e.stateNode = new L$()), t.forEach(function(n) {
        var o = U$.bind(null, e, n);
        r.has(n) || (r.add(n), n.then(o, o));
      });
    }
  }
  a(e7, "bk");
  function vn(e, t) {
    var r = t.deletions;
    if (r !== null) for (var n = 0; n < r.length; n++) {
      var o = r[n];
      try {
        var i = e, s = t, l = s;
        e: for (; l !== null; ) {
          switch (l.tag) {
            case 5:
              Ct = l.stateNode, wn = !1;
              break e;
            case 3:
              Ct = l.stateNode.containerInfo, wn = !0;
              break e;
            case 4:
              Ct = l.stateNode.containerInfo, wn = !0;
              break e;
          }
          l = l.return;
        }
        if (Ct === null) throw Error(N(160));
        GR(i, s, o), Ct = null, wn = !1;
        var u = o.alternate;
        u !== null && (u.return = null), o.return = null;
      } catch (c) {
        $e(o, t, c);
      }
    }
    if (t.subtreeFlags & 12854) for (t = t.child; t !== null; ) YR(t, e), t = t.sibling;
  }
  a(vn, "dk");
  function YR(e, t) {
    var r = e.alternate, n = e.flags;
    switch (e.tag) {
      case 0:
      case 11:
      case 14:
      case 15:
        if (vn(t, e), Vn(e), n & 4) {
          try {
            Xc(3, e, e.return), Nd(3, e);
          } catch (v) {
            $e(e, e.return, v);
          }
          try {
            Xc(5, e, e.return);
          } catch (v) {
            $e(e, e.return, v);
          }
        }
        break;
      case 1:
        vn(t, e), Vn(e), n & 512 && r !== null && Ms(r, r.return);
        break;
      case 5:
        if (vn(t, e), Vn(e), n & 512 && r !== null && Ms(r, r.return), e.flags & 32) {
          var o = e.stateNode;
          try {
            ep(o, "");
          } catch (v) {
            $e(e, e.return, v);
          }
        }
        if (n & 4 && (o = e.stateNode, o != null)) {
          var i = e.memoizedProps, s = r !== null ? r.memoizedProps : i, l = e.type, u = e.updateQueue;
          if (e.updateQueue = null, u !== null) try {
            l === "input" && i.type === "radio" && i.name != null && m7(o, i), R5(l, s);
            var c = R5(l, i);
            for (s = 0; s < u.length; s += 2) {
              var p = u[s], h = u[s + 1];
              p === "style" ? S7(o, h) : p === "dangerouslySetInnerHTML" ? y7(o, h) : p === "children" ? ep(o, h) : sv(o, p, h, c);
            }
            switch (l) {
              case "input":
                w5(o, i);
                break;
              case "textarea":
                g7(o, i);
                break;
              case "select":
                var m = o._wrapperState.wasMultiple;
                o._wrapperState.wasMultiple = !!i.multiple;
                var g = i.value;
                g != null ? zs(o, !!i.multiple, g, !1) : m !== !!i.multiple && (i.defaultValue != null ? zs(
                  o,
                  !!i.multiple,
                  i.defaultValue,
                  !0
                ) : zs(o, !!i.multiple, i.multiple ? [] : "", !1));
            }
            o[up] = i;
          } catch (v) {
            $e(e, e.return, v);
          }
        }
        break;
      case 6:
        if (vn(t, e), Vn(e), n & 4) {
          if (e.stateNode === null) throw Error(N(162));
          o = e.stateNode, i = e.memoizedProps;
          try {
            o.nodeValue = i;
          } catch (v) {
            $e(e, e.return, v);
          }
        }
        break;
      case 3:
        if (vn(t, e), Vn(e), n & 4 && r !== null && r.memoizedState.isDehydrated) try {
          op(t.containerInfo);
        } catch (v) {
          $e(e, e.return, v);
        }
        break;
      case 4:
        vn(t, e), Vn(e);
        break;
      case 13:
        vn(t, e), Vn(e), o = e.child, o.flags & 8192 && (i = o.memoizedState !== null, o.stateNode.isHidden = i, !i || o.alternate !== null &&
        o.alternate.memoizedState !== null || (Hv = Ge())), n & 4 && e7(e);
        break;
      case 22:
        if (p = r !== null && r.memoizedState !== null, e.mode & 1 ? (Bt = (c = Bt) || p, vn(t, e), Bt = c) : vn(t, e), Vn(e), n & 8192) {
          if (c = e.memoizedState !== null, (e.stateNode.isHidden = c) && !p && (e.mode & 1) !== 0) for (U = e, p = e.child; p !== null; ) {
            for (h = U = p; U !== null; ) {
              switch (m = U, g = m.child, m.tag) {
                case 0:
                case 11:
                case 14:
                case 15:
                  Xc(4, m, m.return);
                  break;
                case 1:
                  Ms(m, m.return);
                  var w = m.stateNode;
                  if (typeof w.componentWillUnmount == "function") {
                    n = m, r = m.return;
                    try {
                      t = n, w.props = t.memoizedProps, w.state = t.memoizedState, w.componentWillUnmount();
                    } catch (v) {
                      $e(n, r, v);
                    }
                  }
                  break;
                case 5:
                  Ms(m, m.return);
                  break;
                case 22:
                  if (m.memoizedState !== null) {
                    r7(h);
                    continue;
                  }
              }
              g !== null ? (g.return = m, U = g) : r7(h);
            }
            p = p.sibling;
          }
          e: for (p = null, h = e; ; ) {
            if (h.tag === 5) {
              if (p === null) {
                p = h;
                try {
                  o = h.stateNode, c ? (i = o.style, typeof i.setProperty == "function" ? i.setProperty("display", "none", "important") : i.
                  display = "none") : (l = h.stateNode, u = h.memoizedProps.style, s = u != null && u.hasOwnProperty("display") ? u.display :
                  null, l.style.display = w7("display", s));
                } catch (v) {
                  $e(e, e.return, v);
                }
              }
            } else if (h.tag === 6) {
              if (p === null) try {
                h.stateNode.nodeValue = c ? "" : h.memoizedProps;
              } catch (v) {
                $e(e, e.return, v);
              }
            } else if ((h.tag !== 22 && h.tag !== 23 || h.memoizedState === null || h === e) && h.child !== null) {
              h.child.return = h, h = h.child;
              continue;
            }
            if (h === e) break e;
            for (; h.sibling === null; ) {
              if (h.return === null || h.return === e) break e;
              p === h && (p = null), h = h.return;
            }
            p === h && (p = null), h.sibling.return = h.return, h = h.sibling;
          }
        }
        break;
      case 19:
        vn(t, e), Vn(e), n & 4 && e7(e);
        break;
      case 21:
        break;
      default:
        vn(
          t,
          e
        ), Vn(e);
    }
  }
  a(YR, "ek");
  function Vn(e) {
    var t = e.flags;
    if (t & 2) {
      try {
        e: {
          for (var r = e.return; r !== null; ) {
            if (qR(r)) {
              var n = r;
              break e;
            }
            r = r.return;
          }
          throw Error(N(160));
        }
        switch (n.tag) {
          case 5:
            var o = n.stateNode;
            n.flags & 32 && (ep(o, ""), n.flags &= -33);
            var i = Zx(e);
            ev(e, i, o);
            break;
          case 3:
          case 4:
            var s = n.stateNode.containerInfo, l = Zx(e);
            Z5(e, l, s);
            break;
          default:
            throw Error(N(161));
        }
      } catch (u) {
        $e(e, e.return, u);
      }
      e.flags &= -3;
    }
    t & 4096 && (e.flags &= -4097);
  }
  a(Vn, "fk");
  function N$(e, t, r) {
    U = e, KR(e, t, r);
  }
  a(N$, "ik");
  function KR(e, t, r) {
    for (var n = (e.mode & 1) !== 0; U !== null; ) {
      var o = U, i = o.child;
      if (o.tag === 22 && n) {
        var s = o.memoizedState !== null || q0;
        if (!s) {
          var l = o.alternate, u = l !== null && l.memoizedState !== null || Bt;
          l = q0;
          var c = Bt;
          if (q0 = s, (Bt = u) && !c) for (U = o; U !== null; ) s = U, u = s.child, s.tag === 22 && s.memoizedState !== null ? n7(o) : u !==
          null ? (u.return = s, U = u) : n7(o);
          for (; i !== null; ) U = i, KR(i, t, r), i = i.sibling;
          U = o, q0 = l, Bt = c;
        }
        t7(e, t, r);
      } else (o.subtreeFlags & 8772) !== 0 && i !== null ? (i.return = o, U = i) : t7(e, t, r);
    }
  }
  a(KR, "jk");
  function t7(e) {
    for (; U !== null; ) {
      var t = U;
      if ((t.flags & 8772) !== 0) {
        var r = t.alternate;
        try {
          if ((t.flags & 8772) !== 0) switch (t.tag) {
            case 0:
            case 11:
            case 15:
              Bt || Nd(5, t);
              break;
            case 1:
              var n = t.stateNode;
              if (t.flags & 4 && !Bt) if (r === null) n.componentDidMount();
              else {
                var o = t.elementType === t.type ? r.memoizedProps : yn(t.type, r.memoizedProps);
                n.componentDidUpdate(o, r.memoizedState, n.__reactInternalSnapshotBeforeUpdate);
              }
              var i = t.updateQueue;
              i !== null && Bx(t, i, n);
              break;
            case 3:
              var s = t.updateQueue;
              if (s !== null) {
                if (r = null, t.child !== null) switch (t.child.tag) {
                  case 5:
                    r = t.child.stateNode;
                    break;
                  case 1:
                    r = t.child.stateNode;
                }
                Bx(t, s, r);
              }
              break;
            case 5:
              var l = t.stateNode;
              if (r === null && t.flags & 4) {
                r = l;
                var u = t.memoizedProps;
                switch (t.type) {
                  case "button":
                  case "input":
                  case "select":
                  case "textarea":
                    u.autoFocus && r.focus();
                    break;
                  case "img":
                    u.src && (r.src = u.src);
                }
              }
              break;
            case 6:
              break;
            case 4:
              break;
            case 12:
              break;
            case 13:
              if (t.memoizedState === null) {
                var c = t.alternate;
                if (c !== null) {
                  var p = c.memoizedState;
                  if (p !== null) {
                    var h = p.dehydrated;
                    h !== null && op(h);
                  }
                }
              }
              break;
            case 19:
            case 17:
            case 21:
            case 22:
            case 23:
            case 25:
              break;
            default:
              throw Error(N(163));
          }
          Bt || t.flags & 512 && J5(t);
        } catch (m) {
          $e(t, t.return, m);
        }
      }
      if (t === e) {
        U = null;
        break;
      }
      if (r = t.sibling, r !== null) {
        r.return = t.return, U = r;
        break;
      }
      U = t.return;
    }
  }
  a(t7, "lk");
  function r7(e) {
    for (; U !== null; ) {
      var t = U;
      if (t === e) {
        U = null;
        break;
      }
      var r = t.sibling;
      if (r !== null) {
        r.return = t.return, U = r;
        break;
      }
      U = t.return;
    }
  }
  a(r7, "hk");
  function n7(e) {
    for (; U !== null; ) {
      var t = U;
      try {
        switch (t.tag) {
          case 0:
          case 11:
          case 15:
            var r = t.return;
            try {
              Nd(4, t);
            } catch (u) {
              $e(t, r, u);
            }
            break;
          case 1:
            var n = t.stateNode;
            if (typeof n.componentDidMount == "function") {
              var o = t.return;
              try {
                n.componentDidMount();
              } catch (u) {
                $e(t, o, u);
              }
            }
            var i = t.return;
            try {
              J5(t);
            } catch (u) {
              $e(t, i, u);
            }
            break;
          case 5:
            var s = t.return;
            try {
              J5(t);
            } catch (u) {
              $e(t, s, u);
            }
        }
      } catch (u) {
        $e(t, t.return, u);
      }
      if (t === e) {
        U = null;
        break;
      }
      var l = t.sibling;
      if (l !== null) {
        l.return = t.return, U = l;
        break;
      }
      U = t.return;
    }
  }
  a(n7, "kk");
  var M$ = Math.ceil, xd = _o.ReactCurrentDispatcher, Bv = _o.ReactCurrentOwner, jr = _o.ReactCurrentBatchConfig, le = 0, vt = null, Qe = null,
  Dt = 0, br = 0, Bs = xa(0), it = 0, mp = null, wi = 0, Md = 0, zv = 0, Qc = null, sr = null, Hv = 0, Qs = 1 / 0, wo = null, Rd = !1, tv = null,
  va = null, G0 = !1, pa = null, Cd = 0, Jc = 0, rv = null, td = -1, rd = 0;
  function qt() {
    return (le & 6) !== 0 ? Ge() : td !== -1 ? td : td = Ge();
  }
  a(qt, "L");
  function ya(e) {
    return (e.mode & 1) === 0 ? 1 : (le & 2) !== 0 && Dt !== 0 ? Dt & -Dt : S$.transition !== null ? (rd === 0 && (rd = k7()), rd) : (e = me,
    e !== 0 || (e = window.event, e = e === void 0 ? 16 : z7(e.type)), e);
  }
  a(ya, "lh");
  function bn(e, t, r, n) {
    if (50 < Jc) throw Jc = 0, rv = null, Error(N(185));
    gp(e, r, n), ((le & 2) === 0 || e !== vt) && (e === vt && ((le & 2) === 0 && (Md |= r), it === 4 && ua(e, Dt)), pr(e, n), r === 1 && le ===
    0 && (t.mode & 1) === 0 && (Qs = Ge() + 500, Fd && Ra()));
  }
  a(bn, "mh");
  function pr(e, t) {
    var r = e.callbackNode;
    bH(e, t);
    var n = ld(e, e === vt ? Dt : 0);
    if (n === 0) r !== null && px(r), e.callbackNode = null, e.callbackPriority = 0;
    else if (t = n & -n, e.callbackPriority !== t) {
      if (r != null && px(r), t === 1) e.tag === 0 ? w$(o7.bind(null, e)) : oR(o7.bind(null, e)), m$(function() {
        (le & 6) === 0 && Ra();
      }), r = null;
      else {
        switch (F7(n)) {
          case 1:
            r = fv;
            break;
          case 4:
            r = I7;
            break;
          case 16:
            r = sd;
            break;
          case 536870912:
            r = P7;
            break;
          default:
            r = sd;
        }
        r = n6(r, XR.bind(null, e));
      }
      e.callbackPriority = t, e.callbackNode = r;
    }
  }
  a(pr, "Ek");
  function XR(e, t) {
    if (td = -1, rd = 0, (le & 6) !== 0) throw Error(N(327));
    var r = e.callbackNode;
    if (Us() && e.callbackNode !== r) return null;
    var n = ld(e, e === vt ? Dt : 0);
    if (n === 0) return null;
    if ((n & 30) !== 0 || (n & e.expiredLanes) !== 0 || t) t = Dd(e, n);
    else {
      t = n;
      var o = le;
      le |= 2;
      var i = JR();
      (vt !== e || Dt !== t) && (wo = null, Qs = Ge() + 500, hi(e, t));
      do
        try {
          H$();
          break;
        } catch (l) {
          QR(e, l);
        }
      while (!0);
      Cv(), xd.current = i, le = o, Qe !== null ? t = 0 : (vt = null, Dt = 0, t = it);
    }
    if (t !== 0) {
      if (t === 2 && (o = T5(e), o !== 0 && (n = o, t = nv(e, o))), t === 1) throw r = mp, hi(e, 0), ua(e, n), pr(e, Ge()), r;
      if (t === 6) ua(e, n);
      else {
        if (o = e.current.alternate, (n & 30) === 0 && !B$(o) && (t = Dd(e, n), t === 2 && (i = T5(e), i !== 0 && (n = i, t = nv(e, i))), t ===
        1)) throw r = mp, hi(e, 0), ua(e, n), pr(e, Ge()), r;
        switch (e.finishedWork = o, e.finishedLanes = n, t) {
          case 0:
          case 1:
            throw Error(N(345));
          case 2:
            ci(e, sr, wo);
            break;
          case 3:
            if (ua(e, n), (n & 130023424) === n && (t = Hv + 500 - Ge(), 10 < t)) {
              if (ld(e, 0) !== 0) break;
              if (o = e.suspendedLanes, (o & n) !== n) {
                qt(), e.pingedLanes |= e.suspendedLanes & o;
                break;
              }
              e.timeoutHandle = M5(ci.bind(null, e, sr, wo), t);
              break;
            }
            ci(e, sr, wo);
            break;
          case 4:
            if (ua(e, n), (n & 4194240) === n) break;
            for (t = e.eventTimes, o = -1; 0 < n; ) {
              var s = 31 - En(n);
              i = 1 << s, s = t[s], s > o && (o = s), n &= ~i;
            }
            if (n = o, n = Ge() - n, n = (120 > n ? 120 : 480 > n ? 480 : 1080 > n ? 1080 : 1920 > n ? 1920 : 3e3 > n ? 3e3 : 4320 > n ? 4320 :
            1960 * M$(n / 1960)) - n, 10 < n) {
              e.timeoutHandle = M5(ci.bind(null, e, sr, wo), n);
              break;
            }
            ci(e, sr, wo);
            break;
          case 5:
            ci(e, sr, wo);
            break;
          default:
            throw Error(N(329));
        }
      }
    }
    return pr(e, Ge()), e.callbackNode === r ? XR.bind(null, e) : null;
  }
  a(XR, "Hk");
  function nv(e, t) {
    var r = Qc;
    return e.current.memoizedState.isDehydrated && (hi(e, t).flags |= 256), e = Dd(e, t), e !== 2 && (t = sr, sr = r, t !== null && ov(t)), e;
  }
  a(nv, "Ok");
  function ov(e) {
    sr === null ? sr = e : sr.push.apply(sr, e);
  }
  a(ov, "Gj");
  function B$(e) {
    for (var t = e; ; ) {
      if (t.flags & 16384) {
        var r = t.updateQueue;
        if (r !== null && (r = r.stores, r !== null)) for (var n = 0; n < r.length; n++) {
          var o = r[n], i = o.getSnapshot;
          o = o.value;
          try {
            if (!xn(i(), o)) return !1;
          } catch {
            return !1;
          }
        }
      }
      if (r = t.child, t.subtreeFlags & 16384 && r !== null) r.return = t, t = r;
      else {
        if (t === e) break;
        for (; t.sibling === null; ) {
          if (t.return === null || t.return === e) return !0;
          t = t.return;
        }
        t.sibling.return = t.return, t = t.sibling;
      }
    }
    return !0;
  }
  a(B$, "Pk");
  function ua(e, t) {
    for (t &= ~zv, t &= ~Md, e.suspendedLanes |= t, e.pingedLanes &= ~t, e = e.expirationTimes; 0 < t; ) {
      var r = 31 - En(t), n = 1 << r;
      e[r] = -1, t &= ~n;
    }
  }
  a(ua, "Dk");
  function o7(e) {
    if ((le & 6) !== 0) throw Error(N(327));
    Us();
    var t = ld(e, 0);
    if ((t & 1) === 0) return pr(e, Ge()), null;
    var r = Dd(e, t);
    if (e.tag !== 0 && r === 2) {
      var n = T5(e);
      n !== 0 && (t = n, r = nv(e, n));
    }
    if (r === 1) throw r = mp, hi(e, 0), ua(e, t), pr(e, Ge()), r;
    if (r === 6) throw Error(N(345));
    return e.finishedWork = e.current.alternate, e.finishedLanes = t, ci(e, sr, wo), pr(e, Ge()), null;
  }
  a(o7, "Fk");
  function $v(e, t) {
    var r = le;
    le |= 1;
    try {
      return e(t);
    } finally {
      le = r, le === 0 && (Qs = Ge() + 500, Fd && Ra());
    }
  }
  a($v, "Rk");
  function Si(e) {
    pa !== null && pa.tag === 0 && (le & 6) === 0 && Us();
    var t = le;
    le |= 1;
    var r = jr.transition, n = me;
    try {
      if (jr.transition = null, me = 1, e) return e();
    } finally {
      me = n, jr.transition = r, le = t, (le & 6) === 0 && Ra();
    }
  }
  a(Si, "Sk");
  function jv() {
    br = Bs.current, Ae(Bs);
  }
  a(jv, "Ij");
  function hi(e, t) {
    e.finishedWork = null, e.finishedLanes = 0;
    var r = e.timeoutHandle;
    if (r !== -1 && (e.timeoutHandle = -1, h$(r)), Qe !== null) for (r = Qe.return; r !== null; ) {
      var n = r;
      switch (bv(n), n.tag) {
        case 1:
          n = n.type.childContextTypes, n != null && dd();
          break;
        case 3:
          Ks(), Ae(ur), Ae(zt), Pv();
          break;
        case 5:
          Iv(n);
          break;
        case 4:
          Ks();
          break;
        case 13:
          Ae(Ne);
          break;
        case 19:
          Ae(Ne);
          break;
        case 10:
          Dv(n.type._context);
          break;
        case 22:
        case 23:
          jv();
      }
      r = r.return;
    }
    if (vt = e, Qe = e = wa(e.current, null), Dt = br = t, it = 0, mp = null, zv = Md = wi = 0, sr = Qc = null, fi !== null) {
      for (t = 0; t < fi.length; t++) if (r = fi[t], n = r.interleaved, n !== null) {
        r.interleaved = null;
        var o = n.next, i = r.pending;
        if (i !== null) {
          var s = i.next;
          i.next = o, n.next = s;
        }
        r.pending = n;
      }
      fi = null;
    }
    return e;
  }
  a(hi, "Lk");
  function QR(e, t) {
    do {
      var r = Qe;
      try {
        if (Cv(), J0.current = bd, Ed) {
          for (var n = Me.memoizedState; n !== null; ) {
            var o = n.queue;
            o !== null && (o.pending = null), n = n.next;
          }
          Ed = !1;
        }
        if (yi = 0, gt = at = Me = null, Kc = !1, fp = 0, Bv.current = null, r === null || r.return === null) {
          it = 1, mp = t, Qe = null;
          break;
        }
        e: {
          var i = e, s = r.return, l = r, u = t;
          if (t = Dt, l.flags |= 32768, u !== null && typeof u == "object" && typeof u.then == "function") {
            var c = u, p = l, h = p.tag;
            if ((p.mode & 1) === 0 && (h === 0 || h === 11 || h === 15)) {
              var m = p.alternate;
              m ? (p.updateQueue = m.updateQueue, p.memoizedState = m.memoizedState, p.lanes = m.lanes) : (p.updateQueue = null, p.memoizedState =
              null);
            }
            var g = Wx(s);
            if (g !== null) {
              g.flags &= -257, qx(g, s, l, i, t), g.mode & 1 && Ux(i, c, t), t = g, u = c;
              var w = t.updateQueue;
              if (w === null) {
                var v = /* @__PURE__ */ new Set();
                v.add(u), t.updateQueue = v;
              } else w.add(u);
              break e;
            } else {
              if ((t & 1) === 0) {
                Ux(i, c, t), Vv();
                break e;
              }
              u = Error(N(426));
            }
          } else if (Pe && l.mode & 1) {
            var S = Wx(s);
            if (S !== null) {
              (S.flags & 65536) === 0 && (S.flags |= 256), qx(S, s, l, i, t), xv(Xs(u, l));
              break e;
            }
          }
          i = u = Xs(u, l), it !== 4 && (it = 2), Qc === null ? Qc = [i] : Qc.push(i), i = s;
          do {
            switch (i.tag) {
              case 3:
                i.flags |= 65536, t &= -t, i.lanes |= t;
                var E = LR(i, u, t);
                Mx(i, E);
                break e;
              case 1:
                l = u;
                var y = i.type, b = i.stateNode;
                if ((i.flags & 128) === 0 && (typeof y.getDerivedStateFromError == "function" || b !== null && typeof b.componentDidCatch ==
                "function" && (va === null || !va.has(b)))) {
                  i.flags |= 65536, t &= -t, i.lanes |= t;
                  var x = OR(i, l, t);
                  Mx(i, x);
                  break e;
                }
            }
            i = i.return;
          } while (i !== null);
        }
        e6(r);
      } catch (R) {
        t = R, Qe === r && r !== null && (Qe = r = r.return);
        continue;
      }
      break;
    } while (!0);
  }
  a(QR, "Nk");
  function JR() {
    var e = xd.current;
    return xd.current = bd, e === null ? bd : e;
  }
  a(JR, "Kk");
  function Vv() {
    (it === 0 || it === 3 || it === 2) && (it = 4), vt === null || (wi & 268435455) === 0 && (Md & 268435455) === 0 || ua(vt, Dt);
  }
  a(Vv, "uj");
  function Dd(e, t) {
    var r = le;
    le |= 2;
    var n = JR();
    (vt !== e || Dt !== t) && (wo = null, hi(e, t));
    do
      try {
        z$();
        break;
      } catch (o) {
        QR(e, o);
      }
    while (!0);
    if (Cv(), le = r, xd.current = n, Qe !== null) throw Error(N(261));
    return vt = null, Dt = 0, it;
  }
  a(Dd, "Jk");
  function z$() {
    for (; Qe !== null; ) ZR(Qe);
  }
  a(z$, "Uk");
  function H$() {
    for (; Qe !== null && !dH(); ) ZR(Qe);
  }
  a(H$, "Mk");
  function ZR(e) {
    var t = r6(e.alternate, e, br);
    e.memoizedProps = e.pendingProps, t === null ? e6(e) : Qe = t, Bv.current = null;
  }
  a(ZR, "Vk");
  function e6(e) {
    var t = e;
    do {
      var r = t.alternate;
      if (e = t.return, (t.flags & 32768) === 0) {
        if (r = k$(r, t, br), r !== null) {
          Qe = r;
          return;
        }
      } else {
        if (r = F$(r, t), r !== null) {
          r.flags &= 32767, Qe = r;
          return;
        }
        if (e !== null) e.flags |= 32768, e.subtreeFlags = 0, e.deletions = null;
        else {
          it = 6, Qe = null;
          return;
        }
      }
      if (t = t.sibling, t !== null) {
        Qe = t;
        return;
      }
      Qe = t = e;
    } while (t !== null);
    it === 0 && (it = 5);
  }
  a(e6, "Tk");
  function ci(e, t, r) {
    var n = me, o = jr.transition;
    try {
      jr.transition = null, me = 1, $$(e, t, r, n);
    } finally {
      jr.transition = o, me = n;
    }
    return null;
  }
  a(ci, "Qk");
  function $$(e, t, r, n) {
    do
      Us();
    while (pa !== null);
    if ((le & 6) !== 0) throw Error(N(327));
    r = e.finishedWork;
    var o = e.finishedLanes;
    if (r === null) return null;
    if (e.finishedWork = null, e.finishedLanes = 0, r === e.current) throw Error(N(177));
    e.callbackNode = null, e.callbackPriority = 0;
    var i = r.lanes | r.childLanes;
    if (xH(e, i), e === vt && (Qe = vt = null, Dt = 0), (r.subtreeFlags & 2064) === 0 && (r.flags & 2064) === 0 || G0 || (G0 = !0, n6(sd, function() {
      return Us(), null;
    })), i = (r.flags & 15990) !== 0, (r.subtreeFlags & 15990) !== 0 || i) {
      i = jr.transition, jr.transition = null;
      var s = me;
      me = 1;
      var l = le;
      le |= 4, Bv.current = null, O$(e, r), YR(r, e), u$(O5), ud = !!L5, O5 = L5 = null, e.current = r, N$(r, e, o), hH(), le = l, me = s, jr.
      transition = i;
    } else e.current = r;
    if (G0 && (G0 = !1, pa = e, Cd = o), i = e.pendingLanes, i === 0 && (va = null), vH(r.stateNode, n), pr(e, Ge()), t !== null) for (n = e.
    onRecoverableError, r = 0; r < t.length; r++) o = t[r], n(o.value, { componentStack: o.stack, digest: o.digest });
    if (Rd) throw Rd = !1, e = tv, tv = null, e;
    return (Cd & 1) !== 0 && e.tag !== 0 && Us(), i = e.pendingLanes, (i & 1) !== 0 ? e === rv ? Jc++ : (Jc = 0, rv = e) : Jc = 0, Ra(), null;
  }
  a($$, "Xk");
  function Us() {
    if (pa !== null) {
      var e = F7(Cd), t = jr.transition, r = me;
      try {
        if (jr.transition = null, me = 16 > e ? 16 : e, pa === null) var n = !1;
        else {
          if (e = pa, pa = null, Cd = 0, (le & 6) !== 0) throw Error(N(331));
          var o = le;
          for (le |= 4, U = e.current; U !== null; ) {
            var i = U, s = i.child;
            if ((U.flags & 16) !== 0) {
              var l = i.deletions;
              if (l !== null) {
                for (var u = 0; u < l.length; u++) {
                  var c = l[u];
                  for (U = c; U !== null; ) {
                    var p = U;
                    switch (p.tag) {
                      case 0:
                      case 11:
                      case 15:
                        Xc(8, p, i);
                    }
                    var h = p.child;
                    if (h !== null) h.return = p, U = h;
                    else for (; U !== null; ) {
                      p = U;
                      var m = p.sibling, g = p.return;
                      if (WR(p), p === c) {
                        U = null;
                        break;
                      }
                      if (m !== null) {
                        m.return = g, U = m;
                        break;
                      }
                      U = g;
                    }
                  }
                }
                var w = i.alternate;
                if (w !== null) {
                  var v = w.child;
                  if (v !== null) {
                    w.child = null;
                    do {
                      var S = v.sibling;
                      v.sibling = null, v = S;
                    } while (v !== null);
                  }
                }
                U = i;
              }
            }
            if ((i.subtreeFlags & 2064) !== 0 && s !== null) s.return = i, U = s;
            else e: for (; U !== null; ) {
              if (i = U, (i.flags & 2048) !== 0) switch (i.tag) {
                case 0:
                case 11:
                case 15:
                  Xc(9, i, i.return);
              }
              var E = i.sibling;
              if (E !== null) {
                E.return = i.return, U = E;
                break e;
              }
              U = i.return;
            }
          }
          var y = e.current;
          for (U = y; U !== null; ) {
            s = U;
            var b = s.child;
            if ((s.subtreeFlags & 2064) !== 0 && b !== null) b.return = s, U = b;
            else e: for (s = y; U !== null; ) {
              if (l = U, (l.flags & 2048) !== 0) try {
                switch (l.tag) {
                  case 0:
                  case 11:
                  case 15:
                    Nd(9, l);
                }
              } catch (R) {
                $e(l, l.return, R);
              }
              if (l === s) {
                U = null;
                break e;
              }
              var x = l.sibling;
              if (x !== null) {
                x.return = l.return, U = x;
                break e;
              }
              U = l.return;
            }
          }
          if (le = o, Ra(), qn && typeof qn.onPostCommitFiberRoot == "function") try {
            qn.onPostCommitFiberRoot(_d, e);
          } catch {
          }
          n = !0;
        }
        return n;
      } finally {
        me = r, jr.transition = t;
      }
    }
    return !1;
  }
  a(Us, "Ik");
  function a7(e, t, r) {
    t = Xs(r, t), t = LR(e, t, 1), e = ga(e, t, 1), t = qt(), e !== null && (gp(e, 1, t), pr(e, t));
  }
  a(a7, "Yk");
  function $e(e, t, r) {
    if (e.tag === 3) a7(e, e, r);
    else for (; t !== null; ) {
      if (t.tag === 3) {
        a7(t, e, r);
        break;
      } else if (t.tag === 1) {
        var n = t.stateNode;
        if (typeof t.type.getDerivedStateFromError == "function" || typeof n.componentDidCatch == "function" && (va === null || !va.has(n))) {
          e = Xs(r, e), e = OR(t, e, 1), t = ga(t, e, 1), e = qt(), t !== null && (gp(t, 1, e), pr(t, e));
          break;
        }
      }
      t = t.return;
    }
  }
  a($e, "W");
  function j$(e, t, r) {
    var n = e.pingCache;
    n !== null && n.delete(t), t = qt(), e.pingedLanes |= e.suspendedLanes & r, vt === e && (Dt & r) === r && (it === 4 || it === 3 && (Dt &
    130023424) === Dt && 500 > Ge() - Hv ? hi(e, 0) : zv |= r), pr(e, t);
  }
  a(j$, "Ui");
  function t6(e, t) {
    t === 0 && ((e.mode & 1) === 0 ? t = 1 : (t = F0, F0 <<= 1, (F0 & 130023424) === 0 && (F0 = 4194304)));
    var r = qt();
    e = Do(e, t), e !== null && (gp(e, t, r), pr(e, r));
  }
  a(t6, "Zk");
  function V$(e) {
    var t = e.memoizedState, r = 0;
    t !== null && (r = t.retryLane), t6(e, r);
  }
  a(V$, "vj");
  function U$(e, t) {
    var r = 0;
    switch (e.tag) {
      case 13:
        var n = e.stateNode, o = e.memoizedState;
        o !== null && (r = o.retryLane);
        break;
      case 19:
        n = e.stateNode;
        break;
      default:
        throw Error(N(314));
    }
    n !== null && n.delete(t), t6(e, r);
  }
  a(U$, "ck");
  var r6;
  r6 = /* @__PURE__ */ a(function(e, t, r) {
    if (e !== null) if (e.memoizedProps !== t.pendingProps || ur.current) lr = !0;
    else {
      if ((e.lanes & r) === 0 && (t.flags & 128) === 0) return lr = !1, P$(e, t, r);
      lr = (e.flags & 131072) !== 0;
    }
    else lr = !1, Pe && (t.flags & 1048576) !== 0 && aR(t, gd, t.index);
    switch (t.lanes = 0, t.tag) {
      case 2:
        var n = t.type;
        ed(e, t), e = t.pendingProps;
        var o = qs(t, zt.current);
        Vs(t, r), o = Fv(null, t, n, e, o, r);
        var i = Lv();
        return t.flags |= 1, typeof o == "object" && o !== null && typeof o.render == "function" && o.$$typeof === void 0 ? (t.tag = 1, t.memoizedState =
        null, t.updateQueue = null, cr(n) ? (i = !0, hd(t)) : i = !1, t.memoizedState = o.state !== null && o.state !== void 0 ? o.state : null,
        _v(t), o.updater = Ld, t.stateNode = o, o._reactInternals = t, U5(t, n, e, r), t = G5(null, t, n, !0, i, r)) : (t.tag = 0, Pe && i &&
        Ev(t), Wt(null, t, o, r), t = t.child), t;
      case 16:
        n = t.elementType;
        e: {
          switch (ed(e, t), e = t.pendingProps, o = n._init, n = o(n._payload), t.type = n, o = t.tag = q$(n), e = yn(n, e), o) {
            case 0:
              t = q5(null, t, n, e, r);
              break e;
            case 1:
              t = Kx(null, t, n, e, r);
              break e;
            case 11:
              t = Gx(null, t, n, e, r);
              break e;
            case 14:
              t = Yx(null, t, n, yn(n.type, e), r);
              break e;
          }
          throw Error(N(
            306,
            n,
            ""
          ));
        }
        return t;
      case 0:
        return n = t.type, o = t.pendingProps, o = t.elementType === n ? o : yn(n, o), q5(e, t, n, o, r);
      case 1:
        return n = t.type, o = t.pendingProps, o = t.elementType === n ? o : yn(n, o), Kx(e, t, n, o, r);
      case 3:
        e: {
          if (zR(t), e === null) throw Error(N(387));
          n = t.pendingProps, i = t.memoizedState, o = i.element, uR(e, t), wd(t, n, null, r);
          var s = t.memoizedState;
          if (n = s.element, i.isDehydrated) if (i = { element: n, isDehydrated: !1, cache: s.cache, pendingSuspenseBoundaries: s.pendingSuspenseBoundaries,
          transitions: s.transitions }, t.updateQueue.baseState = i, t.memoizedState = i, t.flags & 256) {
            o = Xs(Error(N(423)), t), t = Xx(e, t, n, r, o);
            break e;
          } else if (n !== o) {
            o = Xs(Error(N(424)), t), t = Xx(e, t, n, r, o);
            break e;
          } else for (xr = ma(t.stateNode.containerInfo.firstChild), Rr = t, Pe = !0, Sn = null, r = dR(t, null, n, r), t.child = r; r; ) r.
          flags = r.flags & -3 | 4096, r = r.sibling;
          else {
            if (Gs(), n === o) {
              t = Ao(e, t, r);
              break e;
            }
            Wt(e, t, n, r);
          }
          t = t.child;
        }
        return t;
      case 5:
        return hR(t), e === null && $5(t), n = t.type, o = t.pendingProps, i = e !== null ? e.memoizedProps : null, s = o.children, N5(n, o) ?
        s = null : i !== null && N5(n, i) && (t.flags |= 32), BR(e, t), Wt(e, t, s, r), t.child;
      case 6:
        return e === null && $5(t), null;
      case 13:
        return HR(e, t, r);
      case 4:
        return Tv(t, t.stateNode.containerInfo), n = t.pendingProps, e === null ? t.child = Ys(t, null, n, r) : Wt(e, t, n, r), t.child;
      case 11:
        return n = t.type, o = t.pendingProps, o = t.elementType === n ? o : yn(n, o), Gx(e, t, n, o, r);
      case 7:
        return Wt(e, t, t.pendingProps, r), t.child;
      case 8:
        return Wt(e, t, t.pendingProps.children, r), t.child;
      case 12:
        return Wt(e, t, t.pendingProps.children, r), t.child;
      case 10:
        e: {
          if (n = t.type._context, o = t.pendingProps, i = t.memoizedProps, s = o.value, Re(vd, n._currentValue), n._currentValue = s, i !==
          null) if (xn(i.value, s)) {
            if (i.children === o.children && !ur.current) {
              t = Ao(e, t, r);
              break e;
            }
          } else for (i = t.child, i !== null && (i.return = t); i !== null; ) {
            var l = i.dependencies;
            if (l !== null) {
              s = i.child;
              for (var u = l.firstContext; u !== null; ) {
                if (u.context === n) {
                  if (i.tag === 1) {
                    u = xo(-1, r & -r), u.tag = 2;
                    var c = i.updateQueue;
                    if (c !== null) {
                      c = c.shared;
                      var p = c.pending;
                      p === null ? u.next = u : (u.next = p.next, p.next = u), c.pending = u;
                    }
                  }
                  i.lanes |= r, u = i.alternate, u !== null && (u.lanes |= r), j5(
                    i.return,
                    r,
                    t
                  ), l.lanes |= r;
                  break;
                }
                u = u.next;
              }
            } else if (i.tag === 10) s = i.type === t.type ? null : i.child;
            else if (i.tag === 18) {
              if (s = i.return, s === null) throw Error(N(341));
              s.lanes |= r, l = s.alternate, l !== null && (l.lanes |= r), j5(s, r, t), s = i.sibling;
            } else s = i.child;
            if (s !== null) s.return = i;
            else for (s = i; s !== null; ) {
              if (s === t) {
                s = null;
                break;
              }
              if (i = s.sibling, i !== null) {
                i.return = s.return, s = i;
                break;
              }
              s = s.return;
            }
            i = s;
          }
          Wt(e, t, o.children, r), t = t.child;
        }
        return t;
      case 9:
        return o = t.type, n = t.pendingProps.children, Vs(t, r), o = Vr(o), n = n(o), t.flags |= 1, Wt(e, t, n, r), t.child;
      case 14:
        return n = t.type, o = yn(n, t.pendingProps), o = yn(n.type, o), Yx(e, t, n, o, r);
      case 15:
        return NR(e, t, t.type, t.pendingProps, r);
      case 17:
        return n = t.type, o = t.pendingProps, o = t.elementType === n ? o : yn(n, o), ed(e, t), t.tag = 1, cr(n) ? (e = !0, hd(t)) : e = !1,
        Vs(t, r), pR(t, n, o), U5(t, n, o, r), G5(null, t, n, !0, e, r);
      case 19:
        return $R(e, t, r);
      case 22:
        return MR(e, t, r);
    }
    throw Error(N(156, t.tag));
  }, "Wk");
  function n6(e, t) {
    return T7(e, t);
  }
  a(n6, "Gk");
  function W$(e, t, r, n) {
    this.tag = e, this.key = r, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index =
    0, this.ref = null, this.pendingProps = t, 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;
  }
  a(W$, "al");
  function $r(e, t, r, n) {
    return new W$(e, t, r, n);
  }
  a($r, "Bg");
  function Uv(e) {
    return e = e.prototype, !(!e || !e.isReactComponent);
  }
  a(Uv, "bj");
  function q$(e) {
    if (typeof e == "function") return Uv(e) ? 1 : 0;
    if (e != null) {
      if (e = e.$$typeof, e === uv) return 11;
      if (e === cv) return 14;
    }
    return 2;
  }
  a(q$, "$k");
  function wa(e, t) {
    var r = e.alternate;
    return r === null ? (r = $r(e.tag, t, e.key, e.mode), r.elementType = e.elementType, r.type = e.type, r.stateNode = e.stateNode, r.alternate =
    e, e.alternate = r) : (r.pendingProps = t, r.type = e.type, r.flags = 0, r.subtreeFlags = 0, r.deletions = null), r.flags = e.flags & 14680064,
    r.childLanes = e.childLanes, r.lanes = e.lanes, r.child = e.child, r.memoizedProps = e.memoizedProps, r.memoizedState = e.memoizedState,
    r.updateQueue = e.updateQueue, t = e.dependencies, r.dependencies = t === null ? null : { lanes: t.lanes, firstContext: t.firstContext },
    r.sibling = e.sibling, r.index = e.index, r.ref = e.ref, r;
  }
  a(wa, "wh");
  function nd(e, t, r, n, o, i) {
    var s = 2;
    if (n = e, typeof e == "function") Uv(e) && (s = 1);
    else if (typeof e == "string") s = 5;
    else e: switch (e) {
      case _s:
        return mi(r.children, o, i, t);
      case lv:
        s = 8, o |= 8;
        break;
      case h5:
        return e = $r(12, r, t, o | 2), e.elementType = h5, e.lanes = i, e;
      case m5:
        return e = $r(13, r, t, o), e.elementType = m5, e.lanes = i, e;
      case g5:
        return e = $r(19, r, t, o), e.elementType = g5, e.lanes = i, e;
      case f7:
        return Bd(r, o, i, t);
      default:
        if (typeof e == "object" && e !== null) switch (e.$$typeof) {
          case c7:
            s = 10;
            break e;
          case p7:
            s = 9;
            break e;
          case uv:
            s = 11;
            break e;
          case cv:
            s = 14;
            break e;
          case ia:
            s = 16, n = null;
            break e;
        }
        throw Error(N(130, e == null ? e : typeof e, ""));
    }
    return t = $r(s, r, t, o), t.elementType = e, t.type = n, t.lanes = i, t;
  }
  a(nd, "yh");
  function mi(e, t, r, n) {
    return e = $r(7, e, n, t), e.lanes = r, e;
  }
  a(mi, "Ah");
  function Bd(e, t, r, n) {
    return e = $r(22, e, n, t), e.elementType = f7, e.lanes = r, e.stateNode = { isHidden: !1 }, e;
  }
  a(Bd, "qj");
  function p5(e, t, r) {
    return e = $r(6, e, null, t), e.lanes = r, e;
  }
  a(p5, "xh");
  function f5(e, t, r) {
    return t = $r(4, e.children !== null ? e.children : [], e.key, t), t.lanes = r, t.stateNode = { containerInfo: e.containerInfo, pendingChildren: null,
    implementation: e.implementation }, t;
  }
  a(f5, "zh");
  function G$(e, t, r, n, o) {
    this.tag = t, this.containerInfo = e, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle =
    -1, this.callbackNode = this.pendingContext = this.context = null, this.callbackPriority = 0, this.eventTimes = K2(0), this.expirationTimes =
    K2(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.
    pendingLanes = 0, this.entanglements = K2(0), this.identifierPrefix = n, this.onRecoverableError = o, this.mutableSourceEagerHydrationData =
    null;
  }
  a(G$, "bl");
  function Wv(e, t, r, n, o, i, s, l, u) {
    return e = new G$(e, t, r, l, u), t === 1 ? (t = 1, i === !0 && (t |= 8)) : t = 0, i = $r(3, null, null, t), e.current = i, i.stateNode =
    e, i.memoizedState = { element: n, isDehydrated: r, cache: null, transitions: null, pendingSuspenseBoundaries: null }, _v(i), e;
  }
  a(Wv, "cl");
  function Y$(e, t, r) {
    var n = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
    return { $$typeof: As, key: n == null ? null : "" + n, children: e, containerInfo: t, implementation: r };
  }
  a(Y$, "dl");
  function o6(e) {
    if (!e) return Ea;
    e = e._reactInternals;
    e: {
      if (bi(e) !== e || e.tag !== 1) throw Error(N(170));
      var t = e;
      do {
        switch (t.tag) {
          case 3:
            t = t.stateNode.context;
            break e;
          case 1:
            if (cr(t.type)) {
              t = t.stateNode.__reactInternalMemoizedMergedChildContext;
              break e;
            }
        }
        t = t.return;
      } while (t !== null);
      throw Error(N(171));
    }
    if (e.tag === 1) {
      var r = e.type;
      if (cr(r)) return nR(e, r, t);
    }
    return t;
  }
  a(o6, "el");
  function a6(e, t, r, n, o, i, s, l, u) {
    return e = Wv(r, n, !0, e, o, i, s, l, u), e.context = o6(null), r = e.current, n = qt(), o = ya(r), i = xo(n, o), i.callback = t ?? null,
    ga(r, i, o), e.current.lanes = o, gp(e, o, n), pr(e, n), e;
  }
  a(a6, "fl");
  function zd(e, t, r, n) {
    var o = t.current, i = qt(), s = ya(o);
    return r = o6(r), t.context === null ? t.context = r : t.pendingContext = r, t = xo(i, s), t.payload = { element: e }, n = n === void 0 ?
    null : n, n !== null && (t.callback = n), e = ga(o, t, s), e !== null && (bn(e, o, s, i), Q0(e, o, s)), s;
  }
  a(zd, "gl");
  function Ad(e) {
    if (e = e.current, !e.child) return null;
    switch (e.child.tag) {
      case 5:
        return e.child.stateNode;
      default:
        return e.child.stateNode;
    }
  }
  a(Ad, "hl");
  function i7(e, t) {
    if (e = e.memoizedState, e !== null && e.dehydrated !== null) {
      var r = e.retryLane;
      e.retryLane = r !== 0 && r < t ? r : t;
    }
  }
  a(i7, "il");
  function qv(e, t) {
    i7(e, t), (e = e.alternate) && i7(e, t);
  }
  a(qv, "jl");
  function K$() {
    return null;
  }
  a(K$, "kl");
  var i6 = typeof reportError == "function" ? reportError : function(e) {
    console.error(e);
  };
  function Gv(e) {
    this._internalRoot = e;
  }
  a(Gv, "ml");
  Hd.prototype.render = Gv.prototype.render = function(e) {
    var t = this._internalRoot;
    if (t === null) throw Error(N(409));
    zd(e, t, null, null);
  };
  Hd.prototype.unmount = Gv.prototype.unmount = function() {
    var e = this._internalRoot;
    if (e !== null) {
      this._internalRoot = null;
      var t = e.containerInfo;
      Si(function() {
        zd(null, e, null, null);
      }), t[Co] = null;
    }
  };
  function Hd(e) {
    this._internalRoot = e;
  }
  a(Hd, "nl");
  Hd.prototype.unstable_scheduleHydration = function(e) {
    if (e) {
      var t = N7();
      e = { blockedOn: null, target: e, priority: t };
      for (var r = 0; r < la.length && t !== 0 && t < la[r].priority; r++) ;
      la.splice(r, 0, e), r === 0 && B7(e);
    }
  };
  function Yv(e) {
    return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11);
  }
  a(Yv, "ol");
  function $d(e) {
    return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11 && (e.nodeType !== 8 || e.nodeValue !== " react-mount-point-uns\
table "));
  }
  a($d, "pl");
  function s7() {
  }
  a(s7, "ql");
  function X$(e, t, r, n, o) {
    if (o) {
      if (typeof n == "function") {
        var i = n;
        n = /* @__PURE__ */ a(function() {
          var c = Ad(s);
          i.call(c);
        }, "d");
      }
      var s = a6(t, n, e, 0, null, !1, !1, "", s7);
      return e._reactRootContainer = s, e[Co] = s.current, sp(e.nodeType === 8 ? e.parentNode : e), Si(), s;
    }
    for (; o = e.lastChild; ) e.removeChild(o);
    if (typeof n == "function") {
      var l = n;
      n = /* @__PURE__ */ a(function() {
        var c = Ad(u);
        l.call(c);
      }, "d");
    }
    var u = Wv(e, 0, !1, null, null, !1, !1, "", s7);
    return e._reactRootContainer = u, e[Co] = u.current, sp(e.nodeType === 8 ? e.parentNode : e), Si(function() {
      zd(t, u, r, n);
    }), u;
  }
  a(X$, "rl");
  function jd(e, t, r, n, o) {
    var i = r._reactRootContainer;
    if (i) {
      var s = i;
      if (typeof o == "function") {
        var l = o;
        o = /* @__PURE__ */ a(function() {
          var u = Ad(s);
          l.call(u);
        }, "e");
      }
      zd(t, s, e, o);
    } else s = X$(r, t, e, o, n);
    return Ad(s);
  }
  a(jd, "sl");
  L7 = /* @__PURE__ */ a(function(e) {
    switch (e.tag) {
      case 3:
        var t = e.stateNode;
        if (t.current.memoizedState.isDehydrated) {
          var r = jc(t.pendingLanes);
          r !== 0 && (dv(t, r | 1), pr(t, Ge()), (le & 6) === 0 && (Qs = Ge() + 500, Ra()));
        }
        break;
      case 13:
        Si(function() {
          var n = Do(e, 1);
          if (n !== null) {
            var o = qt();
            bn(n, e, 1, o);
          }
        }), qv(e, 1);
    }
  }, "Ec");
  hv = /* @__PURE__ */ a(function(e) {
    if (e.tag === 13) {
      var t = Do(e, 134217728);
      if (t !== null) {
        var r = qt();
        bn(t, e, 134217728, r);
      }
      qv(e, 134217728);
    }
  }, "Fc");
  O7 = /* @__PURE__ */ a(function(e) {
    if (e.tag === 13) {
      var t = ya(e), r = Do(e, t);
      if (r !== null) {
        var n = qt();
        bn(r, e, t, n);
      }
      qv(e, t);
    }
  }, "Gc");
  N7 = /* @__PURE__ */ a(function() {
    return me;
  }, "Hc");
  M7 = /* @__PURE__ */ a(function(e, t) {
    var r = me;
    try {
      return me = e, t();
    } finally {
      me = r;
    }
  }, "Ic");
  D5 = /* @__PURE__ */ a(function(e, t, r) {
    switch (t) {
      case "input":
        if (w5(e, r), t = r.name, r.type === "radio" && t != null) {
          for (r = e; r.parentNode; ) r = r.parentNode;
          for (r = r.querySelectorAll("input[name=" + JSON.stringify("" + t) + '][type="radio"]'), t = 0; t < r.length; t++) {
            var n = r[t];
            if (n !== e && n.form === e.form) {
              var o = kd(n);
              if (!o) throw Error(N(90));
              h7(n), w5(n, o);
            }
          }
        }
        break;
      case "textarea":
        g7(e, r);
        break;
      case "select":
        t = r.value, t != null && zs(e, !!r.multiple, t, !1);
    }
  }, "yb");
  x7 = $v;
  R7 = Si;
  var Q$ = { usingClientEntryPoint: !1, Events: [yp, ks, kd, E7, b7, $v] }, Bc = { findFiberByHostInstance: pi, bundleType: 0, version: "18.\
2.0", rendererPackageName: "react-dom" }, J$ = { bundleType: Bc.bundleType, version: Bc.version, rendererPackageName: Bc.rendererPackageName,
  rendererConfig: Bc.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null,
  overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: _o.
  ReactCurrentDispatcher, findHostInstanceByFiber: /* @__PURE__ */ a(function(e) {
    return e = A7(e), e === null ? null : e.stateNode;
  }, "findHostInstanceByFiber"), findFiberByHostInstance: Bc.findFiberByHostInstance || K$, findHostInstancesForRefresh: null, scheduleRefresh: null,
  scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.2.0-next-9e3b772b8-20220608" };
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && (zc = __REACT_DEVTOOLS_GLOBAL_HOOK__, !zc.isDisabled && zc.supportsFiber))
    try {
      _d = zc.inject(J$), qn = zc;
    } catch {
    }
  var zc;
  Ar.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Q$;
  Ar.createPortal = function(e, t) {
    var r = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
    if (!Yv(t)) throw Error(N(200));
    return Y$(e, t, null, r);
  };
  Ar.createRoot = function(e, t) {
    if (!Yv(e)) throw Error(N(299));
    var r = !1, n = "", o = i6;
    return t != null && (t.unstable_strictMode === !0 && (r = !0), t.identifierPrefix !== void 0 && (n = t.identifierPrefix), t.onRecoverableError !==
    void 0 && (o = t.onRecoverableError)), t = Wv(e, 1, !1, null, null, r, !1, n, o), e[Co] = t.current, sp(e.nodeType === 8 ? e.parentNode :
    e), new Gv(t);
  };
  Ar.findDOMNode = function(e) {
    if (e == null) return null;
    if (e.nodeType === 1) return e;
    var t = e._reactInternals;
    if (t === void 0)
      throw typeof e.render == "function" ? Error(N(188)) : (e = Object.keys(e).join(","), Error(N(268, e)));
    return e = A7(t), e = e === null ? null : e.stateNode, e;
  };
  Ar.flushSync = function(e) {
    return Si(e);
  };
  Ar.hydrate = function(e, t, r) {
    if (!$d(t)) throw Error(N(200));
    return jd(null, e, t, !0, r);
  };
  Ar.hydrateRoot = function(e, t, r) {
    if (!Yv(e)) throw Error(N(405));
    var n = r != null && r.hydratedSources || null, o = !1, i = "", s = i6;
    if (r != null && (r.unstable_strictMode === !0 && (o = !0), r.identifierPrefix !== void 0 && (i = r.identifierPrefix), r.onRecoverableError !==
    void 0 && (s = r.onRecoverableError)), t = a6(t, null, e, 1, r ?? null, o, !1, i, s), e[Co] = t.current, sp(e), n) for (e = 0; e < n.length; e++)
     r = n[e], o = r._getVersion, o = o(r._source), t.mutableSourceEagerHydrationData == null ? t.mutableSourceEagerHydrationData = [r, o] :
    t.mutableSourceEagerHydrationData.push(
      r,
      o
    );
    return new Hd(t);
  };
  Ar.render = function(e, t, r) {
    if (!$d(t)) throw Error(N(200));
    return jd(null, e, t, !1, r);
  };
  Ar.unmountComponentAtNode = function(e) {
    if (!$d(e)) throw Error(N(40));
    return e._reactRootContainer ? (Si(function() {
      jd(null, null, e, !1, function() {
        e._reactRootContainer = null, e[Co] = null;
      });
    }), !0) : !1;
  };
  Ar.unstable_batchedUpdates = $v;
  Ar.unstable_renderSubtreeIntoContainer = function(e, t, r, n) {
    if (!$d(r)) throw Error(N(200));
    if (e == null || e._reactInternals === void 0) throw Error(N(38));
    return jd(e, t, r, !1, n);
  };
  Ar.version = "18.2.0-next-9e3b772b8-20220608";
});

// ../node_modules/react-dom/index.js
var Wr = L((Zhe, u6) => {
  "use strict";
  function l6() {
    if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
      try {
        __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l6);
      } catch (e) {
        console.error(e);
      }
  }
  a(l6, "checkDCE");
  l6(), u6.exports = s6();
});

// ../node_modules/react-dom/client.js
var p6 = L((Kv) => {
  "use strict";
  var c6 = Wr();
  Kv.createRoot = c6.createRoot, Kv.hydrateRoot = c6.hydrateRoot;
  var tme;
});

// ../node_modules/ts-dedent/esm/index.js
function st(e) {
  for (var t = [], r = 1; r < arguments.length; r++)
    t[r - 1] = arguments[r];
  var n = Array.from(typeof e == "string" ? [e] : e);
  n[n.length - 1] = n[n.length - 1].replace(/\r?\n([\t ]*)$/, "");
  var o = n.reduce(function(l, u) {
    var c = u.match(/\n([\t ]+|(?!\s).)/g);
    return c ? l.concat(c.map(function(p) {
      var h, m;
      return (m = (h = p.match(/[\t ]/g)) === null || h === void 0 ? void 0 : h.length) !== null && m !== void 0 ? m : 0;
    })) : l;
  }, []);
  if (o.length) {
    var i = new RegExp(`
[	 ]{` + Math.min.apply(Math, o) + "}", "g");
    n = n.map(function(l) {
      return l.replace(i, `
`);
    });
  }
  n[0] = n[0].replace(/^\r?\n/, "");
  var s = n[0];
  return t.forEach(function(l, u) {
    var c = s.match(/(?:^|\n)( *)$/), p = c ? c[1] : "", h = l;
    typeof l == "string" && l.includes(`
`) && (h = String(l).split(`
`).map(function(m, g) {
      return g === 0 ? m : "" + p + m;
    }).join(`
`)), s += h + n[u + 1];
  }), s;
}
var f6, Ca = I(() => {
  a(st, "dedent");
  f6 = st;
});

// src/client-logger/index.ts
var Sp = {};
de(Sp, {
  deprecate: () => To,
  logger: () => ge,
  once: () => _t,
  pretty: () => fr
});
var rj, Da, nj, el, ge, Jv, _t, To, fr, Ht = I(() => {
  "use strict";
  qe();
  ({ LOGLEVEL: rj } = z), Da = {
    trace: 1,
    debug: 2,
    info: 3,
    warn: 4,
    error: 5,
    silent: 10
  }, nj = rj, el = Da[nj] || Da.info, ge = {
    trace: /* @__PURE__ */ a((e, ...t) => {
      el <= Da.trace && console.trace(e, ...t);
    }, "trace"),
    debug: /* @__PURE__ */ a((e, ...t) => {
      el <= Da.debug && console.debug(e, ...t);
    }, "debug"),
    info: /* @__PURE__ */ a((e, ...t) => {
      el <= Da.info && console.info(e, ...t);
    }, "info"),
    warn: /* @__PURE__ */ a((e, ...t) => {
      el <= Da.warn && console.warn(e, ...t);
    }, "warn"),
    error: /* @__PURE__ */ a((e, ...t) => {
      el <= Da.error && console.error(e, ...t);
    }, "error"),
    log: /* @__PURE__ */ a((e, ...t) => {
      el < Da.silent && console.log(e, ...t);
    }, "log")
  }, Jv = /* @__PURE__ */ new Set(), _t = /* @__PURE__ */ a((e) => (t, ...r) => {
    if (!Jv.has(t))
      return Jv.add(t), ge[e](t, ...r);
  }, "once");
  _t.clear = () => Jv.clear();
  _t.trace = _t("trace");
  _t.debug = _t("debug");
  _t.info = _t("info");
  _t.warn = _t("warn");
  _t.error = _t("error");
  _t.log = _t("log");
  To = _t("warn"), fr = /* @__PURE__ */ a((e) => (...t) => {
    let r = [];
    if (t.length) {
      let n = /<span\s+style=(['"])([^'"]*)\1\s*>/gi, o = /<\/span>/gi, i;
      for (r.push(t[0].replace(n, "%c").replace(o, "%c")); i = n.exec(t[0]); )
        r.push(i[2]), r.push("");
      for (let s = 1; s < t.length; s++)
        r.push(t[s]);
    }
    ge[e].apply(ge, r);
  }, "pretty");
  fr.trace = fr("trace");
  fr.debug = fr("debug");
  fr.info = fr("info");
  fr.warn = fr("warn");
  fr.error = fr("error");
});

// ../node_modules/memoizerific/memoizerific.js
var Kn = L((g6, Zv) => {
  (function(e) {
    if (typeof g6 == "object" && typeof Zv < "u")
      Zv.exports = e();
    else if (typeof define == "function" && define.amd)
      define([], e);
    else {
      var t;
      typeof window < "u" ? t = window : typeof global < "u" ? t = global : typeof self < "u" ? t = self : t = this, t.memoizerific = e();
    }
  })(function() {
    var e, t, r;
    return (/* @__PURE__ */ a(function n(o, i, s) {
      function l(p, h) {
        if (!i[p]) {
          if (!o[p]) {
            var m = typeof bc == "function" && bc;
            if (!h && m) return m(p, !0);
            if (u) return u(p, !0);
            var g = new Error("Cannot find module '" + p + "'");
            throw g.code = "MODULE_NOT_FOUND", g;
          }
          var w = i[p] = { exports: {} };
          o[p][0].call(w.exports, function(v) {
            var S = o[p][1][v];
            return l(S || v);
          }, w, w.exports, n, o, i, s);
        }
        return i[p].exports;
      }
      a(l, "s");
      for (var u = typeof bc == "function" && bc, c = 0; c < s.length; c++) l(s[c]);
      return l;
    }, "e"))({ 1: [function(n, o, i) {
      o.exports = function(s) {
        if (typeof Map != "function" || s) {
          var l = n("./similar");
          return new l();
        } else
          return /* @__PURE__ */ new Map();
      };
    }, { "./similar": 2 }], 2: [function(n, o, i) {
      function s() {
        return this.list = [], this.lastItem = void 0, this.size = 0, this;
      }
      a(s, "Similar"), s.prototype.get = function(l) {
        var u;
        if (this.lastItem && this.isEqual(this.lastItem.key, l))
          return this.lastItem.val;
        if (u = this.indexOf(l), u >= 0)
          return this.lastItem = this.list[u], this.list[u].val;
      }, s.prototype.set = function(l, u) {
        var c;
        return this.lastItem && this.isEqual(this.lastItem.key, l) ? (this.lastItem.val = u, this) : (c = this.indexOf(l), c >= 0 ? (this.lastItem =
        this.list[c], this.list[c].val = u, this) : (this.lastItem = { key: l, val: u }, this.list.push(this.lastItem), this.size++, this));
      }, s.prototype.delete = function(l) {
        var u;
        if (this.lastItem && this.isEqual(this.lastItem.key, l) && (this.lastItem = void 0), u = this.indexOf(l), u >= 0)
          return this.size--, this.list.splice(u, 1)[0];
      }, s.prototype.has = function(l) {
        var u;
        return this.lastItem && this.isEqual(this.lastItem.key, l) ? !0 : (u = this.indexOf(l), u >= 0 ? (this.lastItem = this.list[u], !0) :
        !1);
      }, s.prototype.forEach = function(l, u) {
        var c;
        for (c = 0; c < this.size; c++)
          l.call(u || this, this.list[c].val, this.list[c].key, this);
      }, s.prototype.indexOf = function(l) {
        var u;
        for (u = 0; u < this.size; u++)
          if (this.isEqual(this.list[u].key, l))
            return u;
        return -1;
      }, s.prototype.isEqual = function(l, u) {
        return l === u || l !== l && u !== u;
      }, o.exports = s;
    }, {}], 3: [function(n, o, i) {
      var s = n("map-or-similar");
      o.exports = function(p) {
        var h = new s(!1), m = [];
        return function(g) {
          var w = /* @__PURE__ */ a(function() {
            var v = h, S, E, y = arguments.length - 1, b = Array(y + 1), x = !0, R;
            if ((w.numArgs || w.numArgs === 0) && w.numArgs !== y + 1)
              throw new Error("Memoizerific functions should always be called with the same number of arguments");
            for (R = 0; R < y; R++) {
              if (b[R] = {
                cacheItem: v,
                arg: arguments[R]
              }, v.has(arguments[R])) {
                v = v.get(arguments[R]);
                continue;
              }
              x = !1, S = new s(!1), v.set(arguments[R], S), v = S;
            }
            return x && (v.has(arguments[y]) ? E = v.get(arguments[y]) : x = !1), x || (E = g.apply(null, arguments), v.set(arguments[y], E)),
            p > 0 && (b[y] = {
              cacheItem: v,
              arg: arguments[y]
            }, x ? l(m, b) : m.push(b), m.length > p && u(m.shift())), w.wasMemoized = x, w.numArgs = y + 1, E;
          }, "memoizerific");
          return w.limit = p, w.wasMemoized = !1, w.cache = h, w.lru = m, w;
        };
      };
      function l(p, h) {
        var m = p.length, g = h.length, w, v, S;
        for (v = 0; v < m; v++) {
          for (w = !0, S = 0; S < g; S++)
            if (!c(p[v][S].arg, h[S].arg)) {
              w = !1;
              break;
            }
          if (w)
            break;
        }
        p.push(p.splice(v, 1)[0]);
      }
      a(l, "moveToMostRecentLru");
      function u(p) {
        var h = p.length, m = p[h - 1], g, w;
        for (m.cacheItem.delete(m.arg), w = h - 2; w >= 0 && (m = p[w], g = m.cacheItem.get(m.arg), !g || !g.size); w--)
          m.cacheItem.delete(m.arg);
      }
      a(u, "removeCachedResult");
      function c(p, h) {
        return p === h || p !== p && h !== h;
      }
      a(c, "isEqual");
    }, { "map-or-similar": 1 }] }, {}, [3])(3);
  });
});

// ../node_modules/@babel/runtime/helpers/esm/extends.js
function be() {
  return be = Object.assign ? Object.assign.bind() : function(e) {
    for (var t = 1; t < arguments.length; t++) {
      var r = arguments[t];
      for (var n in r) ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]);
    }
    return e;
  }, be.apply(null, arguments);
}
var Xn = I(() => {
  a(be, "_extends");
});

// ../node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
function JU(e) {
  if (e.sheet)
    return e.sheet;
  for (var t = 0; t < document.styleSheets.length; t++)
    if (document.styleSheets[t].ownerNode === e)
      return document.styleSheets[t];
}
function ZU(e) {
  var t = document.createElement("style");
  return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode(
  "")), t.setAttribute("data-s", ""), t;
}
var QU, N6, M6 = I(() => {
  QU = !1;
  a(JU, "sheetForTag");
  a(ZU, "createStyleElement");
  N6 = /* @__PURE__ */ function() {
    function e(r) {
      var n = this;
      this._insertTag = function(o) {
        var i;
        n.tags.length === 0 ? n.insertionPoint ? i = n.insertionPoint.nextSibling : n.prepend ? i = n.container.firstChild : i = n.before : i =
        n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(o, i), n.tags.push(o);
      }, this.isSpeedy = r.speedy === void 0 ? !QU : r.speedy, this.tags = [], this.ctr = 0, this.nonce = r.nonce, this.key = r.key, this.container =
      r.container, this.prepend = r.prepend, this.insertionPoint = r.insertionPoint, this.before = null;
    }
    a(e, "StyleSheet");
    var t = e.prototype;
    return t.hydrate = /* @__PURE__ */ a(function(n) {
      n.forEach(this._insertTag);
    }, "hydrate"), t.insert = /* @__PURE__ */ a(function(n) {
      this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(ZU(this));
      var o = this.tags[this.tags.length - 1];
      if (this.isSpeedy) {
        var i = JU(o);
        try {
          i.insertRule(n, i.cssRules.length);
        } catch {
        }
      } else
        o.appendChild(document.createTextNode(n));
      this.ctr++;
    }, "insert"), t.flush = /* @__PURE__ */ a(function() {
      this.tags.forEach(function(n) {
        var o;
        return (o = n.parentNode) == null ? void 0 : o.removeChild(n);
      }), this.tags = [], this.ctr = 0;
    }, "flush"), e;
  }();
});

// ../node_modules/stylis/src/Enum.js
var Tt, Cp, ce, Gd, ul, cl, B6, Yd, z6, Kd = I(() => {
  Tt = "-ms-", Cp = "-moz-", ce = "-webkit-", Gd = "comm", ul = "rule", cl = "decl", B6 = "@import", Yd = "@keyframes", z6 = "@layer";
});

// ../node_modules/stylis/src/Utility.js
function j6(e, t) {
  return Ye(e, 0) ^ 45 ? (((t << 2 ^ Ye(e, 0)) << 2 ^ Ye(e, 1)) << 2 ^ Ye(e, 2)) << 2 ^ Ye(e, 3) : 0;
}
function Xd(e) {
  return e.trim();
}
function dy(e, t) {
  return (e = t.exec(e)) ? e[0] : e;
}
function se(e, t, r) {
  return e.replace(t, r);
}
function Dp(e, t) {
  return e.indexOf(t);
}
function Ye(e, t) {
  return e.charCodeAt(t) | 0;
}
function _a(e, t, r) {
  return e.slice(t, r);
}
function Yt(e) {
  return e.length;
}
function pl(e) {
  return e.length;
}
function fl(e, t) {
  return t.push(e), e;
}
function hy(e, t) {
  return e.map(t).join("");
}
var H6, xi, $6, dl = I(() => {
  H6 = Math.abs, xi = String.fromCharCode, $6 = Object.assign;
  a(j6, "hash");
  a(Xd, "trim");
  a(dy, "match");
  a(se, "replace");
  a(Dp, "indexof");
  a(Ye, "charat");
  a(_a, "substr");
  a(Yt, "strlen");
  a(pl, "sizeof");
  a(fl, "append");
  a(hy, "combine");
});

// ../node_modules/stylis/src/Tokenizer.js
function Ap(e, t, r, n, o, i, s) {
  return { value: e, root: t, parent: r, type: n, props: o, children: i, line: Qd, column: hl, length: s, return: "" };
}
function vl(e, t) {
  return $6(Ap("", null, null, "", null, null, 0), e, { length: -e.length }, t);
}
function U6() {
  return Je;
}
function W6() {
  return Je = Kt > 0 ? Ye(gl, --Kt) : 0, hl--, Je === 10 && (hl = 1, Qd--), Je;
}
function Xt() {
  return Je = Kt < V6 ? Ye(gl, Kt++) : 0, hl++, Je === 10 && (hl = 1, Qd++), Je;
}
function Gr() {
  return Ye(gl, Kt);
}
function _p() {
  return Kt;
}
function yl(e, t) {
  return _a(gl, e, t);
}
function ml(e) {
  switch (e) {
    // \0 \t \n \r \s whitespace token
    case 0:
    case 9:
    case 10:
    case 13:
    case 32:
      return 5;
    // ! + , / > @ ~ isolate token
    case 33:
    case 43:
    case 44:
    case 47:
    case 62:
    case 64:
    case 126:
    // ; { } breakpoint token
    case 59:
    case 123:
    case 125:
      return 4;
    // : accompanied token
    case 58:
      return 3;
    // " ' ( [ opening delimit token
    case 34:
    case 39:
    case 40:
    case 91:
      return 2;
    // ) ] closing delimit token
    case 41:
    case 93:
      return 1;
  }
  return 0;
}
function Jd(e) {
  return Qd = hl = 1, V6 = Yt(gl = e), Kt = 0, [];
}
function Zd(e) {
  return gl = "", e;
}
function wl(e) {
  return Xd(yl(Kt - 1, my(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
}
function q6(e) {
  for (; (Je = Gr()) && Je < 33; )
    Xt();
  return ml(e) > 2 || ml(Je) > 3 ? "" : " ";
}
function G6(e, t) {
  for (; --t && Xt() && !(Je < 48 || Je > 102 || Je > 57 && Je < 65 || Je > 70 && Je < 97); )
    ;
  return yl(e, _p() + (t < 6 && Gr() == 32 && Xt() == 32));
}
function my(e) {
  for (; Xt(); )
    switch (Je) {
      // ] ) " '
      case e:
        return Kt;
      // " '
      case 34:
      case 39:
        e !== 34 && e !== 39 && my(Je);
        break;
      // (
      case 40:
        e === 41 && my(e);
        break;
      // \
      case 92:
        Xt();
        break;
    }
  return Kt;
}
function Y6(e, t) {
  for (; Xt() && e + Je !== 57; )
    if (e + Je === 84 && Gr() === 47)
      break;
  return "/*" + yl(t, Kt - 1) + "*" + xi(e === 47 ? e : Xt());
}
function K6(e) {
  for (; !ml(Gr()); )
    Xt();
  return yl(e, Kt);
}
var Qd, hl, V6, Kt, Je, gl, gy = I(() => {
  dl();
  Qd = 1, hl = 1, V6 = 0, Kt = 0, Je = 0, gl = "";
  a(Ap, "node");
  a(vl, "copy");
  a(U6, "char");
  a(W6, "prev");
  a(Xt, "next");
  a(Gr, "peek");
  a(_p, "caret");
  a(yl, "slice");
  a(ml, "token");
  a(Jd, "alloc");
  a(Zd, "dealloc");
  a(wl, "delimit");
  a(q6, "whitespace");
  a(G6, "escaping");
  a(my, "delimiter");
  a(Y6, "commenter");
  a(K6, "identifier");
});

// ../node_modules/stylis/src/Parser.js
function J6(e) {
  return Zd(e1("", null, null, null, [""], e = Jd(e), 0, [0], e));
}
function e1(e, t, r, n, o, i, s, l, u) {
  for (var c = 0, p = 0, h = s, m = 0, g = 0, w = 0, v = 1, S = 1, E = 1, y = 0, b = "", x = o, R = i, C = n, D = b; S; )
    switch (w = y, y = Xt()) {
      // (
      case 40:
        if (w != 108 && Ye(D, h - 1) == 58) {
          Dp(D += se(wl(y), "&", "&\f"), "&\f") != -1 && (E = -1);
          break;
        }
      // " ' [
      case 34:
      case 39:
      case 91:
        D += wl(y);
        break;
      // \t \n \r \s
      case 9:
      case 10:
      case 13:
      case 32:
        D += q6(w);
        break;
      // \
      case 92:
        D += G6(_p() - 1, 7);
        continue;
      // /
      case 47:
        switch (Gr()) {
          case 42:
          case 47:
            fl(eW(Y6(Xt(), _p()), t, r), u);
            break;
          default:
            D += "/";
        }
        break;
      // {
      case 123 * v:
        l[c++] = Yt(D) * E;
      // } ; \0
      case 125 * v:
      case 59:
      case 0:
        switch (y) {
          // \0 }
          case 0:
          case 125:
            S = 0;
          // ;
          case 59 + p:
            E == -1 && (D = se(D, /\f/g, "")), g > 0 && Yt(D) - h && fl(g > 32 ? Q6(D + ";", n, r, h - 1) : Q6(se(D, " ", "") + ";", n, r, h -
            2), u);
            break;
          // @ ;
          case 59:
            D += ";";
          // { rule/at-rule
          default:
            if (fl(C = X6(D, t, r, c, p, o, l, b, x = [], R = [], h), i), y === 123)
              if (p === 0)
                e1(D, t, C, C, x, i, h, l, R);
              else
                switch (m === 99 && Ye(D, 3) === 110 ? 100 : m) {
                  // d l m s
                  case 100:
                  case 108:
                  case 109:
                  case 115:
                    e1(e, C, C, n && fl(X6(e, C, C, 0, 0, o, l, b, o, x = [], h), R), o, R, h, l, n ? x : R);
                    break;
                  default:
                    e1(D, C, C, C, [""], R, 0, l, R);
                }
        }
        c = p = g = 0, v = E = 1, b = D = "", h = s;
        break;
      // :
      case 58:
        h = 1 + Yt(D), g = w;
      default:
        if (v < 1) {
          if (y == 123)
            --v;
          else if (y == 125 && v++ == 0 && W6() == 125)
            continue;
        }
        switch (D += xi(y), y * v) {
          // &
          case 38:
            E = p > 0 ? 1 : (D += "\f", -1);
            break;
          // ,
          case 44:
            l[c++] = (Yt(D) - 1) * E, E = 1;
            break;
          // @
          case 64:
            Gr() === 45 && (D += wl(Xt())), m = Gr(), p = h = Yt(b = D += K6(_p())), y++;
            break;
          // -
          case 45:
            w === 45 && Yt(D) == 2 && (v = 0);
        }
    }
  return i;
}
function X6(e, t, r, n, o, i, s, l, u, c, p) {
  for (var h = o - 1, m = o === 0 ? i : [""], g = pl(m), w = 0, v = 0, S = 0; w < n; ++w)
    for (var E = 0, y = _a(e, h + 1, h = H6(v = s[w])), b = e; E < g; ++E)
      (b = Xd(v > 0 ? m[E] + " " + y : se(y, /&\f/g, m[E]))) && (u[S++] = b);
  return Ap(e, t, r, o === 0 ? ul : l, u, c, p);
}
function eW(e, t, r) {
  return Ap(e, t, r, Gd, xi(U6()), _a(e, 2, -2), 0);
}
function Q6(e, t, r, n) {
  return Ap(e, t, r, cl, _a(e, 0, n), _a(e, n + 1, -1), n);
}
var Z6 = I(() => {
  Kd();
  dl();
  gy();
  a(J6, "compile");
  a(e1, "parse");
  a(X6, "ruleset");
  a(eW, "comment");
  a(Q6, "declaration");
});

// ../node_modules/stylis/src/Prefixer.js
var eC = I(() => {
});

// ../node_modules/stylis/src/Serializer.js
function Ri(e, t) {
  for (var r = "", n = pl(e), o = 0; o < n; o++)
    r += t(e[o], o, e, t) || "";
  return r;
}
function tC(e, t, r, n) {
  switch (e.type) {
    case z6:
      if (e.children.length) break;
    case B6:
    case cl:
      return e.return = e.return || e.value;
    case Gd:
      return "";
    case Yd:
      return e.return = e.value + "{" + Ri(e.children, n) + "}";
    case ul:
      e.value = e.props.join(",");
  }
  return Yt(r = Ri(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
}
var rC = I(() => {
  Kd();
  dl();
  a(Ri, "serialize");
  a(tC, "stringify");
});

// ../node_modules/stylis/src/Middleware.js
function nC(e) {
  var t = pl(e);
  return function(r, n, o, i) {
    for (var s = "", l = 0; l < t; l++)
      s += e[l](r, n, o, i) || "";
    return s;
  };
}
function oC(e) {
  return function(t) {
    t.root || (t = t.return) && e(t);
  };
}
var aC = I(() => {
  dl();
  a(nC, "middleware");
  a(oC, "rulesheet");
});

// ../node_modules/stylis/index.js
var iC = I(() => {
  Kd();
  dl();
  Z6();
  eC();
  gy();
  rC();
  aC();
});

// ../node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js
var vy, t1 = I(() => {
  vy = /* @__PURE__ */ a(function(t) {
    var r = /* @__PURE__ */ new WeakMap();
    return function(n) {
      if (r.has(n))
        return r.get(n);
      var o = t(n);
      return r.set(n, o), o;
    };
  }, "weakMemoize");
});

// ../node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
function r1(e) {
  var t = /* @__PURE__ */ Object.create(null);
  return function(r) {
    return t[r] === void 0 && (t[r] = e(r)), t[r];
  };
}
var n1 = I(() => {
  a(r1, "memoize");
});

// ../node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
function lC(e, t) {
  switch (j6(e, t)) {
    // color-adjust
    case 5103:
      return ce + "print-" + e + e;
    // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
    case 5737:
    case 4201:
    case 3177:
    case 3433:
    case 1641:
    case 4457:
    case 2921:
    // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
    case 5572:
    case 6356:
    case 5844:
    case 3191:
    case 6645:
    case 3005:
    // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
    case 6391:
    case 5879:
    case 5623:
    case 6135:
    case 4599:
    case 4855:
    // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
    case 4215:
    case 6389:
    case 5109:
    case 5365:
    case 5621:
    case 3829:
      return ce + e + e;
    // appearance, user-select, transform, hyphens, text-size-adjust
    case 5349:
    case 4246:
    case 4810:
    case 6968:
    case 2756:
      return ce + e + Cp + e + Tt + e + e;
    // flex, flex-direction
    case 6828:
    case 4268:
      return ce + e + Tt + e + e;
    // order
    case 6165:
      return ce + e + Tt + "flex-" + e + e;
    // align-items
    case 5187:
      return ce + e + se(e, /(\w+).+(:[^]+)/, ce + "box-$1$2" + Tt + "flex-$1$2") + e;
    // align-self
    case 5443:
      return ce + e + Tt + "flex-item-" + se(e, /flex-|-self/, "") + e;
    // align-content
    case 4675:
      return ce + e + Tt + "flex-line-pack" + se(e, /align-content|flex-|-self/, "") + e;
    // flex-shrink
    case 5548:
      return ce + e + Tt + se(e, "shrink", "negative") + e;
    // flex-basis
    case 5292:
      return ce + e + Tt + se(e, "basis", "preferred-size") + e;
    // flex-grow
    case 6060:
      return ce + "box-" + se(e, "-grow", "") + ce + e + Tt + se(e, "grow", "positive") + e;
    // transition
    case 4554:
      return ce + se(e, /([^-])(transform)/g, "$1" + ce + "$2") + e;
    // cursor
    case 6187:
      return se(se(se(e, /(zoom-|grab)/, ce + "$1"), /(image-set)/, ce + "$1"), e, "") + e;
    // background, background-image
    case 5495:
    case 3959:
      return se(e, /(image-set\([^]*)/, ce + "$1$`$1");
    // justify-content
    case 4968:
      return se(se(e, /(.+:)(flex-)?(.*)/, ce + "box-pack:$3" + Tt + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + ce + e + e;
    // (margin|padding)-inline-(start|end)
    case 4095:
    case 3583:
    case 4068:
    case 2532:
      return se(e, /(.+)-inline(.+)/, ce + "$1$2") + e;
    // (min|max)?(width|height|inline-size|block-size)
    case 8116:
    case 7059:
    case 5753:
    case 5535:
    case 5445:
    case 5701:
    case 4933:
    case 4677:
    case 5533:
    case 5789:
    case 5021:
    case 4765:
      if (Yt(e) - 1 - t > 6) switch (Ye(e, t + 1)) {
        // (m)ax-content, (m)in-content
        case 109:
          if (Ye(e, t + 4) !== 45) break;
        // (f)ill-available, (f)it-content
        case 102:
          return se(e, /(.+:)(.+)-([^]+)/, "$1" + ce + "$2-$3$1" + Cp + (Ye(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
        // (s)tretch
        case 115:
          return ~Dp(e, "stretch") ? lC(se(e, "stretch", "fill-available"), t) + e : e;
      }
      break;
    // position: sticky
    case 4949:
      if (Ye(e, t + 1) !== 115) break;
    // display: (flex|inline-flex)
    case 6444:
      switch (Ye(e, Yt(e) - 3 - (~Dp(e, "!important") && 10))) {
        // stic(k)y
        case 107:
          return se(e, ":", ":" + ce) + e;
        // (inline-)?fl(e)x
        case 101:
          return se(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + ce + (Ye(e, 14) === 45 ? "inline-" : "") + "box$3$1" + ce + "$2$3$1" + Tt + "$2box$3") +
          e;
      }
      break;
    // writing-mode
    case 5936:
      switch (Ye(e, t + 11)) {
        // vertical-l(r)
        case 114:
          return ce + e + Tt + se(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
        // vertical-r(l)
        case 108:
          return ce + e + Tt + se(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
        // horizontal(-)tb
        case 45:
          return ce + e + Tt + se(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
      }
      return ce + e + Tt + e + e;
  }
  return e;
}
var tW, rW, nW, sC, oW, aW, iW, sW, o1, a1 = I(() => {
  M6();
  iC();
  t1();
  n1();
  tW = /* @__PURE__ */ a(function(t, r, n) {
    for (var o = 0, i = 0; o = i, i = Gr(), o === 38 && i === 12 && (r[n] = 1), !ml(i); )
      Xt();
    return yl(t, Kt);
  }, "identifierWithPointTracking"), rW = /* @__PURE__ */ a(function(t, r) {
    var n = -1, o = 44;
    do
      switch (ml(o)) {
        case 0:
          o === 38 && Gr() === 12 && (r[n] = 1), t[n] += tW(Kt - 1, r, n);
          break;
        case 2:
          t[n] += wl(o);
          break;
        case 4:
          if (o === 44) {
            t[++n] = Gr() === 58 ? "&\f" : "", r[n] = t[n].length;
            break;
          }
        // fallthrough
        default:
          t[n] += xi(o);
      }
    while (o = Xt());
    return t;
  }, "toRules"), nW = /* @__PURE__ */ a(function(t, r) {
    return Zd(rW(Jd(t), r));
  }, "getRules"), sC = /* @__PURE__ */ new WeakMap(), oW = /* @__PURE__ */ a(function(t) {
    if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
    // negative .length indicates that this rule has been already prefixed
    t.length < 1)) {
      for (var r = t.value, n = t.parent, o = t.column === n.column && t.line === n.line; n.type !== "rule"; )
        if (n = n.parent, !n) return;
      if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !sC.get(n)) && !o) {
        sC.set(t, !0);
        for (var i = [], s = nW(r, i), l = n.props, u = 0, c = 0; u < s.length; u++)
          for (var p = 0; p < l.length; p++, c++)
            t.props[c] = i[u] ? s[u].replace(/&\f/g, l[p]) : l[p] + " " + s[u];
      }
    }
  }, "compat"), aW = /* @__PURE__ */ a(function(t) {
    if (t.type === "decl") {
      var r = t.value;
      // charcode for l
      r.charCodeAt(0) === 108 && // charcode for b
      r.charCodeAt(2) === 98 && (t.return = "", t.value = "");
    }
  }, "removeLabel");
  a(lC, "prefix");
  iW = /* @__PURE__ */ a(function(t, r, n, o) {
    if (t.length > -1 && !t.return) switch (t.type) {
      case cl:
        t.return = lC(t.value, t.length);
        break;
      case Yd:
        return Ri([vl(t, {
          value: se(t.value, "@", "@" + ce)
        })], o);
      case ul:
        if (t.length) return hy(t.props, function(i) {
          switch (dy(i, /(::plac\w+|:read-\w+)/)) {
            // :read-(only|write)
            case ":read-only":
            case ":read-write":
              return Ri([vl(t, {
                props: [se(i, /:(read-\w+)/, ":" + Cp + "$1")]
              })], o);
            // :placeholder
            case "::placeholder":
              return Ri([vl(t, {
                props: [se(i, /:(plac\w+)/, ":" + ce + "input-$1")]
              }), vl(t, {
                props: [se(i, /:(plac\w+)/, ":" + Cp + "$1")]
              }), vl(t, {
                props: [se(i, /:(plac\w+)/, Tt + "input-$1")]
              })], o);
          }
          return "";
        });
    }
  }, "prefixer"), sW = [iW], o1 = /* @__PURE__ */ a(function(t) {
    var r = t.key;
    if (r === "css") {
      var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
      Array.prototype.forEach.call(n, function(v) {
        var S = v.getAttribute("data-emotion");
        S.indexOf(" ") !== -1 && (document.head.appendChild(v), v.setAttribute("data-s", ""));
      });
    }
    var o = t.stylisPlugins || sW, i = {}, s, l = [];
    s = t.container || document.head, Array.prototype.forEach.call(
      // this means we will ignore elements which don't have a space in them which
      // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
      document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
      function(v) {
        for (var S = v.getAttribute("data-emotion").split(" "), E = 1; E < S.length; E++)
          i[S[E]] = !0;
        l.push(v);
      }
    );
    var u, c = [oW, aW];
    {
      var p, h = [tC, oC(function(v) {
        p.insert(v);
      })], m = nC(c.concat(o, h)), g = /* @__PURE__ */ a(function(S) {
        return Ri(J6(S), m);
      }, "stylis");
      u = /* @__PURE__ */ a(function(S, E, y, b) {
        p = y, g(S ? S + "{" + E.styles + "}" : E.styles), b && (w.inserted[E.name] = !0);
      }, "insert");
    }
    var w = {
      key: r,
      sheet: new N6({
        key: r,
        container: s,
        nonce: t.nonce,
        speedy: t.speedy,
        prepend: t.prepend,
        insertionPoint: t.insertionPoint
      }),
      nonce: t.nonce,
      inserted: i,
      registered: {},
      insert: u
    };
    return w.sheet.hydrate(l), w;
  }, "createCache");
});

// ../node_modules/react-is/cjs/react-is.production.min.js
var cC = L((ve) => {
  "use strict";
  var yt = typeof Symbol == "function" && Symbol.for, yy = yt ? Symbol.for("react.element") : 60103, wy = yt ? Symbol.for("react.portal") : 60106,
  i1 = yt ? Symbol.for("react.fragment") : 60107, s1 = yt ? Symbol.for("react.strict_mode") : 60108, l1 = yt ? Symbol.for("react.profiler") :
  60114, u1 = yt ? Symbol.for("react.provider") : 60109, c1 = yt ? Symbol.for("react.context") : 60110, Sy = yt ? Symbol.for("react.async_mo\
de") : 60111, p1 = yt ? Symbol.for("react.concurrent_mode") : 60111, f1 = yt ? Symbol.for("react.forward_ref") : 60112, d1 = yt ? Symbol.for(
  "react.suspense") : 60113, lW = yt ? Symbol.for("react.suspense_list") : 60120, h1 = yt ? Symbol.for("react.memo") : 60115, m1 = yt ? Symbol.
  for("react.lazy") : 60116, uW = yt ? Symbol.for("react.block") : 60121, cW = yt ? Symbol.for("react.fundamental") : 60117, pW = yt ? Symbol.
  for("react.responder") : 60118, fW = yt ? Symbol.for("react.scope") : 60119;
  function Ir(e) {
    if (typeof e == "object" && e !== null) {
      var t = e.$$typeof;
      switch (t) {
        case yy:
          switch (e = e.type, e) {
            case Sy:
            case p1:
            case i1:
            case l1:
            case s1:
            case d1:
              return e;
            default:
              switch (e = e && e.$$typeof, e) {
                case c1:
                case f1:
                case m1:
                case h1:
                case u1:
                  return e;
                default:
                  return t;
              }
          }
        case wy:
          return t;
      }
    }
  }
  a(Ir, "z");
  function uC(e) {
    return Ir(e) === p1;
  }
  a(uC, "A");
  ve.AsyncMode = Sy;
  ve.ConcurrentMode = p1;
  ve.ContextConsumer = c1;
  ve.ContextProvider = u1;
  ve.Element = yy;
  ve.ForwardRef = f1;
  ve.Fragment = i1;
  ve.Lazy = m1;
  ve.Memo = h1;
  ve.Portal = wy;
  ve.Profiler = l1;
  ve.StrictMode = s1;
  ve.Suspense = d1;
  ve.isAsyncMode = function(e) {
    return uC(e) || Ir(e) === Sy;
  };
  ve.isConcurrentMode = uC;
  ve.isContextConsumer = function(e) {
    return Ir(e) === c1;
  };
  ve.isContextProvider = function(e) {
    return Ir(e) === u1;
  };
  ve.isElement = function(e) {
    return typeof e == "object" && e !== null && e.$$typeof === yy;
  };
  ve.isForwardRef = function(e) {
    return Ir(e) === f1;
  };
  ve.isFragment = function(e) {
    return Ir(e) === i1;
  };
  ve.isLazy = function(e) {
    return Ir(e) === m1;
  };
  ve.isMemo = function(e) {
    return Ir(e) === h1;
  };
  ve.isPortal = function(e) {
    return Ir(e) === wy;
  };
  ve.isProfiler = function(e) {
    return Ir(e) === l1;
  };
  ve.isStrictMode = function(e) {
    return Ir(e) === s1;
  };
  ve.isSuspense = function(e) {
    return Ir(e) === d1;
  };
  ve.isValidElementType = function(e) {
    return typeof e == "string" || typeof e == "function" || e === i1 || e === p1 || e === l1 || e === s1 || e === d1 || e === lW || typeof e ==
    "object" && e !== null && (e.$$typeof === m1 || e.$$typeof === h1 || e.$$typeof === u1 || e.$$typeof === c1 || e.$$typeof === f1 || e.$$typeof ===
    cW || e.$$typeof === pW || e.$$typeof === fW || e.$$typeof === uW);
  };
  ve.typeOf = Ir;
});

// ../node_modules/react-is/index.js
var fC = L((Bge, pC) => {
  "use strict";
  pC.exports = cC();
});

// ../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
var xy = L((zge, yC) => {
  "use strict";
  var Ey = fC(), dW = {
    childContextTypes: !0,
    contextType: !0,
    contextTypes: !0,
    defaultProps: !0,
    displayName: !0,
    getDefaultProps: !0,
    getDerivedStateFromError: !0,
    getDerivedStateFromProps: !0,
    mixins: !0,
    propTypes: !0,
    type: !0
  }, hW = {
    name: !0,
    length: !0,
    prototype: !0,
    caller: !0,
    callee: !0,
    arguments: !0,
    arity: !0
  }, mW = {
    $$typeof: !0,
    render: !0,
    defaultProps: !0,
    displayName: !0,
    propTypes: !0
  }, gC = {
    $$typeof: !0,
    compare: !0,
    defaultProps: !0,
    displayName: !0,
    propTypes: !0,
    type: !0
  }, by = {};
  by[Ey.ForwardRef] = mW;
  by[Ey.Memo] = gC;
  function dC(e) {
    return Ey.isMemo(e) ? gC : by[e.$$typeof] || dW;
  }
  a(dC, "getStatics");
  var gW = Object.defineProperty, vW = Object.getOwnPropertyNames, hC = Object.getOwnPropertySymbols, yW = Object.getOwnPropertyDescriptor, wW = Object.
  getPrototypeOf, mC = Object.prototype;
  function vC(e, t, r) {
    if (typeof t != "string") {
      if (mC) {
        var n = wW(t);
        n && n !== mC && vC(e, n, r);
      }
      var o = vW(t);
      hC && (o = o.concat(hC(t)));
      for (var i = dC(e), s = dC(t), l = 0; l < o.length; ++l) {
        var u = o[l];
        if (!hW[u] && !(r && r[u]) && !(s && s[u]) && !(i && i[u])) {
          var c = yW(t, u);
          try {
            gW(e, u, c);
          } catch {
          }
        }
      }
    }
    return e;
  }
  a(vC, "hoistNonReactStatics");
  yC.exports = vC;
});

// ../node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js
var wC, SC, EC = I(() => {
  wC = _(xy()), SC = /* @__PURE__ */ a(function(e, t) {
    return (0, wC.default)(e, t);
  }, "hoistNonReactStatics");
});

// ../node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
function Sl(e, t, r) {
  var n = "";
  return r.split(" ").forEach(function(o) {
    e[o] !== void 0 ? t.push(e[o] + ";") : o && (n += o + " ");
  }), n;
}
var SW, Ci, Di, Tp = I(() => {
  SW = !0;
  a(Sl, "getRegisteredStyles");
  Ci = /* @__PURE__ */ a(function(t, r, n) {
    var o = t.key + "-" + r.name;
    // we only need to add the styles to the registered cache if the
    // class name could be used further down
    // the tree but if it's a string tag, we know it won't
    // so we don't have to add it to registered cache.
    // this improves memory usage since we can avoid storing the whole style string
    (n === !1 || // we need to always store it if we're in compat mode and
    // in node since emotion-server relies on whether a style is in
    // the registered cache to know whether a style is global or not
    // also, note that this check will be dead code eliminated in the browser
    SW === !1) && t.registered[o] === void 0 && (t.registered[o] = r.styles);
  }, "registerStyles"), Di = /* @__PURE__ */ a(function(t, r, n) {
    Ci(t, r, n);
    var o = t.key + "-" + r.name;
    if (t.inserted[r.name] === void 0) {
      var i = r;
      do
        t.insert(r === i ? "." + o : "", i, t.sheet, !0), i = i.next;
      while (i !== void 0);
    }
  }, "insertStyles");
});

// ../node_modules/@emotion/hash/dist/emotion-hash.esm.js
function bC(e) {
  for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
    r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
    (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
    r >>> 24, t = /* Math.imul(k, m): */
    (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
    (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
  switch (o) {
    case 3:
      t ^= (e.charCodeAt(n + 2) & 255) << 16;
    case 2:
      t ^= (e.charCodeAt(n + 1) & 255) << 8;
    case 1:
      t ^= e.charCodeAt(n) & 255, t = /* Math.imul(h, m): */
      (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
  }
  return t ^= t >>> 13, t = /* Math.imul(h, m): */
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
}
var xC = I(() => {
  a(bC, "murmur2");
});

// ../node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
var RC, CC = I(() => {
  RC = {
    animationIterationCount: 1,
    aspectRatio: 1,
    borderImageOutset: 1,
    borderImageSlice: 1,
    borderImageWidth: 1,
    boxFlex: 1,
    boxFlexGroup: 1,
    boxOrdinalGroup: 1,
    columnCount: 1,
    columns: 1,
    flex: 1,
    flexGrow: 1,
    flexPositive: 1,
    flexShrink: 1,
    flexNegative: 1,
    flexOrder: 1,
    gridRow: 1,
    gridRowEnd: 1,
    gridRowSpan: 1,
    gridRowStart: 1,
    gridColumn: 1,
    gridColumnEnd: 1,
    gridColumnSpan: 1,
    gridColumnStart: 1,
    msGridRow: 1,
    msGridRowSpan: 1,
    msGridColumn: 1,
    msGridColumnSpan: 1,
    fontWeight: 1,
    lineHeight: 1,
    opacity: 1,
    order: 1,
    orphans: 1,
    scale: 1,
    tabSize: 1,
    widows: 1,
    zIndex: 1,
    zoom: 1,
    WebkitLineClamp: 1,
    // SVG-related properties
    fillOpacity: 1,
    floodOpacity: 1,
    stopOpacity: 1,
    strokeDasharray: 1,
    strokeDashoffset: 1,
    strokeMiterlimit: 1,
    strokeOpacity: 1,
    strokeWidth: 1
  };
});

// ../node_modules/@emotion/serialize/dist/emotion-serialize.esm.js
function Ip(e, t, r) {
  if (r == null)
    return "";
  var n = r;
  if (n.__emotion_styles !== void 0)
    return n;
  switch (typeof r) {
    case "boolean":
      return "";
    case "object": {
      var o = r;
      if (o.anim === 1)
        return Qn = {
          name: o.name,
          styles: o.styles,
          next: Qn
        }, o.name;
      var i = r;
      if (i.styles !== void 0) {
        var s = i.next;
        if (s !== void 0)
          for (; s !== void 0; )
            Qn = {
              name: s.name,
              styles: s.styles,
              next: Qn
            }, s = s.next;
        var l = i.styles + ";";
        return l;
      }
      return CW(e, t, r);
    }
    case "function": {
      if (e !== void 0) {
        var u = Qn, c = r(e);
        return Qn = u, Ip(e, t, c);
      }
      break;
    }
  }
  var p = r;
  if (t == null)
    return p;
  var h = t[p];
  return h !== void 0 ? h : p;
}
function CW(e, t, r) {
  var n = "";
  if (Array.isArray(r))
    for (var o = 0; o < r.length; o++)
      n += Ip(e, t, r[o]) + ";";
  else
    for (var i in r) {
      var s = r[i];
      if (typeof s != "object") {
        var l = s;
        t != null && t[l] !== void 0 ? n += i + "{" + t[l] + "}" : DC(l) && (n += Ry(i) + ":" + AC(i, l) + ";");
      } else {
        if (i === "NO_COMPONENT_SELECTOR" && EW)
          throw new Error(RW);
        if (Array.isArray(s) && typeof s[0] == "string" && (t == null || t[s[0]] === void 0))
          for (var u = 0; u < s.length; u++)
            DC(s[u]) && (n += Ry(i) + ":" + AC(i, s[u]) + ";");
        else {
          var c = Ip(e, t, s);
          switch (i) {
            case "animation":
            case "animationName": {
              n += Ry(i) + ":" + c + ";";
              break;
            }
            default:
              n += i + "{" + c + "}";
          }
        }
      }
    }
  return n;
}
function Ta(e, t, r) {
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
    return e[0];
  var n = !0, o = "";
  Qn = void 0;
  var i = e[0];
  if (i == null || i.raw === void 0)
    n = !1, o += Ip(r, t, i);
  else {
    var s = i;
    o += s[0];
  }
  for (var l = 1; l < e.length; l++)
    if (o += Ip(r, t, e[l]), n) {
      var u = i;
      o += u[l];
    }
  _C.lastIndex = 0;
  for (var c = "", p; (p = _C.exec(o)) !== null; )
    c += "-" + p[1];
  var h = bC(o) + c;
  return {
    name: h,
    styles: o,
    next: Qn
  };
}
var EW, bW, xW, TC, DC, Ry, AC, RW, _C, Qn, Pp = I(() => {
  xC();
  CC();
  n1();
  EW = !1, bW = /[A-Z]|^ms/g, xW = /_EMO_([^_]+?)_([^]*?)_EMO_/g, TC = /* @__PURE__ */ a(function(t) {
    return t.charCodeAt(1) === 45;
  }, "isCustomProperty"), DC = /* @__PURE__ */ a(function(t) {
    return t != null && typeof t != "boolean";
  }, "isProcessableValue"), Ry = /* @__PURE__ */ r1(function(e) {
    return TC(e) ? e : e.replace(bW, "-$&").toLowerCase();
  }), AC = /* @__PURE__ */ a(function(t, r) {
    switch (t) {
      case "animation":
      case "animationName":
        if (typeof r == "string")
          return r.replace(xW, function(n, o, i) {
            return Qn = {
              name: o,
              styles: i,
              next: Qn
            }, o;
          });
    }
    return RC[t] !== 1 && !TC(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
  }, "processStyleValue"), RW = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or \
another Emotion-aware compiler transform.";
  a(Ip, "handleInterpolation");
  a(CW, "createStringFromObject");
  _C = /label:\s*([^\s;{]+)\s*(;|$)/g;
  a(Ta, "serializeStyles");
});

// ../node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js
var kp, DW, IC, El, Cy, Fp = I(() => {
  kp = _(F()), DW = /* @__PURE__ */ a(function(t) {
    return t();
  }, "syncFallback"), IC = kp.useInsertionEffect ? kp.useInsertionEffect : !1, El = IC || DW, Cy = IC || kp.useLayoutEffect;
});

// ../node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js
function Iy(e) {
  var t = e.displayName || e.name || "Component", r = /* @__PURE__ */ wt.forwardRef(/* @__PURE__ */ a(function(o, i) {
    var s = wt.useContext(Rn);
    return /* @__PURE__ */ wt.createElement(e, be({
      theme: s,
      ref: i
    }, o));
  }, "render"));
  return r.displayName = "WithTheme(" + t + ")", SC(r, e);
}
var wt, g1, v1, PC, Ay, Ai, Rn, _y, AW, _W, Ty, y1, Dy, kC, TW, IW, FC, Py = I(() => {
  wt = _(F()), g1 = _(F());
  a1();
  Xn();
  t1();
  EC();
  Tp();
  Pp();
  Fp();
  v1 = !1, PC = /* @__PURE__ */ wt.createContext(
    // we're doing this to avoid preconstruct's dead code elimination in this one case
    // because this module is primarily intended for the browser and node
    // but it's also required in react native and similar environments sometimes
    // and we could have a special build just for that
    // but this is much easier and the native packages
    // might use a different theme context in the future anyway
    typeof HTMLElement < "u" ? /* @__PURE__ */ o1({
      key: "css"
    }) : null
  ), Ay = PC.Provider, Ai = /* @__PURE__ */ a(function(t) {
    return /* @__PURE__ */ (0, g1.forwardRef)(function(r, n) {
      var o = (0, g1.useContext)(PC);
      return t(r, o, n);
    });
  }, "withEmotionCache"), Rn = /* @__PURE__ */ wt.createContext({}), _y = /* @__PURE__ */ a(function() {
    return wt.useContext(Rn);
  }, "useTheme"), AW = /* @__PURE__ */ a(function(t, r) {
    if (typeof r == "function") {
      var n = r(t);
      return n;
    }
    return be({}, t, r);
  }, "getTheme"), _W = /* @__PURE__ */ vy(function(e) {
    return vy(function(t) {
      return AW(e, t);
    });
  }), Ty = /* @__PURE__ */ a(function(t) {
    var r = wt.useContext(Rn);
    return t.theme !== r && (r = _W(r)(t.theme)), /* @__PURE__ */ wt.createElement(Rn.Provider, {
      value: r
    }, t.children);
  }, "ThemeProvider");
  a(Iy, "withTheme");
  y1 = {}.hasOwnProperty, Dy = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", kC = /* @__PURE__ */ a(function(t, r) {
    var n = {};
    for (var o in r)
      y1.call(r, o) && (n[o] = r[o]);
    return n[Dy] = t, n;
  }, "createEmotionProps"), TW = /* @__PURE__ */ a(function(t) {
    var r = t.cache, n = t.serialized, o = t.isStringTag;
    return Ci(r, n, o), El(function() {
      return Di(r, n, o);
    }), null;
  }, "Insertion"), IW = /* @__PURE__ */ Ai(function(e, t, r) {
    var n = e.css;
    typeof n == "string" && t.registered[n] !== void 0 && (n = t.registered[n]);
    var o = e[Dy], i = [n], s = "";
    typeof e.className == "string" ? s = Sl(t.registered, i, e.className) : e.className != null && (s = e.className + " ");
    var l = Ta(i, void 0, wt.useContext(Rn));
    s += t.key + "-" + l.name;
    var u = {};
    for (var c in e)
      y1.call(e, c) && c !== "css" && c !== Dy && !v1 && (u[c] = e[c]);
    return u.className = s, r && (u.ref = r), /* @__PURE__ */ wt.createElement(wt.Fragment, null, /* @__PURE__ */ wt.createElement(TW, {
      cache: t,
      serialized: l,
      isStringTag: typeof o == "string"
    }), /* @__PURE__ */ wt.createElement(o, u));
  }), FC = IW;
});

// ../node_modules/@emotion/react/dist/emotion-react.browser.esm.js
function bl() {
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
    t[r] = arguments[r];
  return Ta(t);
}
function It() {
  var e = bl.apply(void 0, arguments), t = "animation-" + e.name;
  return {
    name: t,
    styles: "@keyframes " + t + "{" + e.styles + "}",
    anim: 1,
    toString: /* @__PURE__ */ a(function() {
      return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
    }, "toString")
  };
}
function kW(e, t, r) {
  var n = [], o = Sl(e, n, r);
  return n.length < 2 ? r : o + t(n);
}
var Yr, y2e, w1, LC, PW, FW, OC, S1 = I(() => {
  Py();
  Py();
  Yr = _(F());
  Tp();
  Fp();
  Pp();
  a1();
  Xn();
  t1();
  y2e = _(xy()), w1 = /* @__PURE__ */ a(function(t, r) {
    var n = arguments;
    if (r == null || !y1.call(r, "css"))
      return Yr.createElement.apply(void 0, n);
    var o = n.length, i = new Array(o);
    i[0] = FC, i[1] = kC(t, r);
    for (var s = 2; s < o; s++)
      i[s] = n[s];
    return Yr.createElement.apply(null, i);
  }, "jsx");
  (function(e) {
    var t;
    t || (t = e.JSX || (e.JSX = {}));
  })(w1 || (w1 = {}));
  LC = /* @__PURE__ */ Ai(function(e, t) {
    var r = e.styles, n = Ta([r], void 0, Yr.useContext(Rn)), o = Yr.useRef();
    return Cy(function() {
      var i = t.key + "-global", s = new t.sheet.constructor({
        key: i,
        nonce: t.sheet.nonce,
        container: t.sheet.container,
        speedy: t.sheet.isSpeedy
      }), l = !1, u = document.querySelector('style[data-emotion="' + i + " " + n.name + '"]');
      return t.sheet.tags.length && (s.before = t.sheet.tags[0]), u !== null && (l = !0, u.setAttribute("data-emotion", i), s.hydrate([u])),
      o.current = [s, l], function() {
        s.flush();
      };
    }, [t]), Cy(function() {
      var i = o.current, s = i[0], l = i[1];
      if (l) {
        i[1] = !1;
        return;
      }
      if (n.next !== void 0 && Di(t, n.next, !0), s.tags.length) {
        var u = s.tags[s.tags.length - 1].nextElementSibling;
        s.before = u, s.flush();
      }
      t.insert("", n, s, !1);
    }, [t, n.name]), null;
  });
  a(bl, "css");
  a(It, "keyframes");
  PW = /* @__PURE__ */ a(function e(t) {
    for (var r = t.length, n = 0, o = ""; n < r; n++) {
      var i = t[n];
      if (i != null) {
        var s = void 0;
        switch (typeof i) {
          case "boolean":
            break;
          case "object": {
            if (Array.isArray(i))
              s = e(i);
            else {
              s = "";
              for (var l in i)
                i[l] && l && (s && (s += " "), s += l);
            }
            break;
          }
          default:
            s = i;
        }
        s && (o && (o += " "), o += s);
      }
    }
    return o;
  }, "classnames");
  a(kW, "merge");
  FW = /* @__PURE__ */ a(function(t) {
    var r = t.cache, n = t.serializedArr;
    return El(function() {
      for (var o = 0; o < n.length; o++)
        Di(r, n[o], !1);
    }), null;
  }, "Insertion"), OC = /* @__PURE__ */ Ai(function(e, t) {
    var r = !1, n = [], o = /* @__PURE__ */ a(function() {
      if (r && v1)
        throw new Error("css can only be used during render");
      for (var c = arguments.length, p = new Array(c), h = 0; h < c; h++)
        p[h] = arguments[h];
      var m = Ta(p, t.registered);
      return n.push(m), Ci(t, m, !1), t.key + "-" + m.name;
    }, "css"), i = /* @__PURE__ */ a(function() {
      if (r && v1)
        throw new Error("cx can only be used during render");
      for (var c = arguments.length, p = new Array(c), h = 0; h < c; h++)
        p[h] = arguments[h];
      return kW(t.registered, o, PW(p));
    }, "cx"), s = {
      css: o,
      cx: i,
      theme: Yr.useContext(Rn)
    }, l = e.children(s);
    return r = !0, /* @__PURE__ */ Yr.createElement(Yr.Fragment, null, /* @__PURE__ */ Yr.createElement(FW, {
      cache: t,
      serializedArr: n
    }), l);
  });
});

// ../node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
var LW, Ia, E1 = I(() => {
  n1();
  LW = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,
  Ia = /* @__PURE__ */ r1(
    function(e) {
      return LW.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
    }
    /* Z+1 */
  );
});

// ../node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js
var Pa, OW, NW, MW, NC, MC, BW, BC, zC = I(() => {
  Xn();
  S1();
  Pp();
  Fp();
  Tp();
  Pa = _(F());
  E1();
  OW = !1, NW = Ia, MW = /* @__PURE__ */ a(function(t) {
    return t !== "theme";
  }, "testOmitPropsOnComponent"), NC = /* @__PURE__ */ a(function(t) {
    return typeof t == "string" && // 96 is one less than the char code
    // for "a" so this is checking that
    // it's a lowercase character
    t.charCodeAt(0) > 96 ? NW : MW;
  }, "getDefaultShouldForwardProp"), MC = /* @__PURE__ */ a(function(t, r, n) {
    var o;
    if (r) {
      var i = r.shouldForwardProp;
      o = t.__emotion_forwardProp && i ? function(s) {
        return t.__emotion_forwardProp(s) && i(s);
      } : i;
    }
    return typeof o != "function" && n && (o = t.__emotion_forwardProp), o;
  }, "composeShouldForwardProps"), BW = /* @__PURE__ */ a(function(t) {
    var r = t.cache, n = t.serialized, o = t.isStringTag;
    return Ci(r, n, o), El(function() {
      return Di(r, n, o);
    }), null;
  }, "Insertion"), BC = /* @__PURE__ */ a(function e(t, r) {
    var n = t.__emotion_real === t, o = n && t.__emotion_base || t, i, s;
    r !== void 0 && (i = r.label, s = r.target);
    var l = MC(t, r, n), u = l || NC(o), c = !u("as");
    return function() {
      var p = arguments, h = n && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
      if (i !== void 0 && h.push("label:" + i + ";"), p[0] == null || p[0].raw === void 0)
        h.push.apply(h, p);
      else {
        var m = p[0];
        h.push(m[0]);
        for (var g = p.length, w = 1; w < g; w++)
          h.push(p[w], m[w]);
      }
      var v = Ai(function(S, E, y) {
        var b = c && S.as || o, x = "", R = [], C = S;
        if (S.theme == null) {
          C = {};
          for (var D in S)
            C[D] = S[D];
          C.theme = Pa.useContext(Rn);
        }
        typeof S.className == "string" ? x = Sl(E.registered, R, S.className) : S.className != null && (x = S.className + " ");
        var A = Ta(h.concat(R), E.registered, C);
        x += E.key + "-" + A.name, s !== void 0 && (x += " " + s);
        var P = c && l === void 0 ? NC(b) : u, k = {};
        for (var M in S)
          c && M === "as" || P(M) && (k[M] = S[M]);
        return k.className = x, y && (k.ref = y), /* @__PURE__ */ Pa.createElement(Pa.Fragment, null, /* @__PURE__ */ Pa.createElement(BW, {
          cache: E,
          serialized: A,
          isStringTag: typeof b == "string"
        }), /* @__PURE__ */ Pa.createElement(b, k));
      });
      return v.displayName = i !== void 0 ? i : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", v.defaultProps =
      t.defaultProps, v.__emotion_real = v, v.__emotion_base = o, v.__emotion_styles = h, v.__emotion_forwardProp = l, Object.defineProperty(
      v, "toString", {
        value: /* @__PURE__ */ a(function() {
          return s === void 0 && OW ? "NO_COMPONENT_SELECTOR" : "." + s;
        }, "value")
      }), v.withComponent = function(S, E) {
        var y = e(S, be({}, r, E, {
          shouldForwardProp: MC(v, E, !0)
        }));
        return y.apply(void 0, h);
      }, v;
    };
  }, "createStyled");
});

// ../node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js
var M2e, zW, T, HC = I(() => {
  zC();
  Xn();
  Pp();
  Fp();
  Tp();
  M2e = _(F());
  E1();
  zW = [
    "a",
    "abbr",
    "address",
    "area",
    "article",
    "aside",
    "audio",
    "b",
    "base",
    "bdi",
    "bdo",
    "big",
    "blockquote",
    "body",
    "br",
    "button",
    "canvas",
    "caption",
    "cite",
    "code",
    "col",
    "colgroup",
    "data",
    "datalist",
    "dd",
    "del",
    "details",
    "dfn",
    "dialog",
    "div",
    "dl",
    "dt",
    "em",
    "embed",
    "fieldset",
    "figcaption",
    "figure",
    "footer",
    "form",
    "h1",
    "h2",
    "h3",
    "h4",
    "h5",
    "h6",
    "head",
    "header",
    "hgroup",
    "hr",
    "html",
    "i",
    "iframe",
    "img",
    "input",
    "ins",
    "kbd",
    "keygen",
    "label",
    "legend",
    "li",
    "link",
    "main",
    "map",
    "mark",
    "marquee",
    "menu",
    "menuitem",
    "meta",
    "meter",
    "nav",
    "noscript",
    "object",
    "ol",
    "optgroup",
    "option",
    "output",
    "p",
    "param",
    "picture",
    "pre",
    "progress",
    "q",
    "rp",
    "rt",
    "ruby",
    "s",
    "samp",
    "script",
    "section",
    "select",
    "small",
    "source",
    "span",
    "strong",
    "style",
    "sub",
    "summary",
    "sup",
    "table",
    "tbody",
    "td",
    "textarea",
    "tfoot",
    "th",
    "thead",
    "time",
    "title",
    "tr",
    "track",
    "u",
    "ul",
    "var",
    "video",
    "wbr",
    // SVG
    "circle",
    "clipPath",
    "defs",
    "ellipse",
    "foreignObject",
    "g",
    "image",
    "line",
    "linearGradient",
    "mask",
    "path",
    "pattern",
    "polygon",
    "polyline",
    "radialGradient",
    "rect",
    "stop",
    "svg",
    "text",
    "tspan"
  ], T = BC.bind(null);
  zW.forEach(function(e) {
    T[e] = T(e);
  });
});

// ../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
function $C(e) {
  if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  return e;
}
var jC = I(() => {
  a($C, "_assertThisInitialized");
});

// ../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
function ka(e, t) {
  return ka = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
    return r.__proto__ = n, r;
  }, ka(e, t);
}
var b1 = I(() => {
  a(ka, "_setPrototypeOf");
});

// ../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
function VC(e, t) {
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, ka(e, t);
}
var UC = I(() => {
  b1();
  a(VC, "_inheritsLoose");
});

// ../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
function x1(e) {
  return x1 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
    return t.__proto__ || Object.getPrototypeOf(t);
  }, x1(e);
}
var WC = I(() => {
  a(x1, "_getPrototypeOf");
});

// ../node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
function qC(e) {
  try {
    return Function.toString.call(e).indexOf("[native code]") !== -1;
  } catch {
    return typeof e == "function";
  }
}
var GC = I(() => {
  a(qC, "_isNativeFunction");
});

// ../node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
function ky() {
  try {
    var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
    }));
  } catch {
  }
  return (ky = /* @__PURE__ */ a(function() {
    return !!e;
  }, "_isNativeReflectConstruct"))();
}
var YC = I(() => {
  a(ky, "_isNativeReflectConstruct");
});

// ../node_modules/@babel/runtime/helpers/esm/construct.js
function KC(e, t, r) {
  if (ky()) return Reflect.construct.apply(null, arguments);
  var n = [null];
  n.push.apply(n, t);
  var o = new (e.bind.apply(e, n))();
  return r && ka(o, r.prototype), o;
}
var XC = I(() => {
  YC();
  b1();
  a(KC, "_construct");
});

// ../node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js
function R1(e) {
  var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
  return R1 = /* @__PURE__ */ a(function(n) {
    if (n === null || !qC(n)) return n;
    if (typeof n != "function") throw new TypeError("Super expression must either be null or a function");
    if (t !== void 0) {
      if (t.has(n)) return t.get(n);
      t.set(n, o);
    }
    function o() {
      return KC(n, arguments, x1(this).constructor);
    }
    return a(o, "Wrapper"), o.prototype = Object.create(n.prototype, {
      constructor: {
        value: o,
        enumerable: !1,
        writable: !0,
        configurable: !0
      }
    }), ka(o, n);
  }, "_wrapNativeSuper"), R1(e);
}
var QC = I(() => {
  WC();
  b1();
  GC();
  XC();
  a(R1, "_wrapNativeSuper");
});

// ../node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js
var JC = I(() => {
});

// ../node_modules/polished/dist/polished.esm.js
function Fy(e) {
  return Math.round(e * 255);
}
function HW(e, t, r) {
  return Fy(e) + "," + Fy(t) + "," + Fy(r);
}
function Lp(e, t, r, n) {
  if (n === void 0 && (n = HW), t === 0)
    return n(r, r, r);
  var o = (e % 360 + 360) % 360 / 60, i = (1 - Math.abs(2 * r - 1)) * t, s = i * (1 - Math.abs(o % 2 - 1)), l = 0, u = 0, c = 0;
  o >= 0 && o < 1 ? (l = i, u = s) : o >= 1 && o < 2 ? (l = s, u = i) : o >= 2 && o < 3 ? (u = i, c = s) : o >= 3 && o < 4 ? (u = s, c = i) :
  o >= 4 && o < 5 ? (l = s, c = i) : o >= 5 && o < 6 && (l = i, c = s);
  var p = r - i / 2, h = l + p, m = u + p, g = c + p;
  return n(h, m, g);
}
function $W(e) {
  if (typeof e != "string") return e;
  var t = e.toLowerCase();
  return ZC[t] ? "#" + ZC[t] : e;
}
function D1(e) {
  if (typeof e != "string")
    throw new Jn(3);
  var t = $W(e);
  if (t.match(jW))
    return {
      red: parseInt("" + t[1] + t[2], 16),
      green: parseInt("" + t[3] + t[4], 16),
      blue: parseInt("" + t[5] + t[6], 16)
    };
  if (t.match(VW)) {
    var r = parseFloat((parseInt("" + t[7] + t[8], 16) / 255).toFixed(2));
    return {
      red: parseInt("" + t[1] + t[2], 16),
      green: parseInt("" + t[3] + t[4], 16),
      blue: parseInt("" + t[5] + t[6], 16),
      alpha: r
    };
  }
  if (t.match(UW))
    return {
      red: parseInt("" + t[1] + t[1], 16),
      green: parseInt("" + t[2] + t[2], 16),
      blue: parseInt("" + t[3] + t[3], 16)
    };
  if (t.match(WW)) {
    var n = parseFloat((parseInt("" + t[4] + t[4], 16) / 255).toFixed(2));
    return {
      red: parseInt("" + t[1] + t[1], 16),
      green: parseInt("" + t[2] + t[2], 16),
      blue: parseInt("" + t[3] + t[3], 16),
      alpha: n
    };
  }
  var o = Ly.exec(t);
  if (o)
    return {
      red: parseInt("" + o[1], 10),
      green: parseInt("" + o[2], 10),
      blue: parseInt("" + o[3], 10)
    };
  var i = qW.exec(t.substring(0, 50));
  if (i)
    return {
      red: parseInt("" + i[1], 10),
      green: parseInt("" + i[2], 10),
      blue: parseInt("" + i[3], 10),
      alpha: parseFloat("" + i[4]) > 1 ? parseFloat("" + i[4]) / 100 : parseFloat("" + i[4])
    };
  var s = GW.exec(t);
  if (s) {
    var l = parseInt("" + s[1], 10), u = parseInt("" + s[2], 10) / 100, c = parseInt("" + s[3], 10) / 100, p = "rgb(" + Lp(l, u, c) + ")", h = Ly.
    exec(p);
    if (!h)
      throw new Jn(4, t, p);
    return {
      red: parseInt("" + h[1], 10),
      green: parseInt("" + h[2], 10),
      blue: parseInt("" + h[3], 10)
    };
  }
  var m = YW.exec(t.substring(0, 50));
  if (m) {
    var g = parseInt("" + m[1], 10), w = parseInt("" + m[2], 10) / 100, v = parseInt("" + m[3], 10) / 100, S = "rgb(" + Lp(g, w, v) + ")", E = Ly.
    exec(S);
    if (!E)
      throw new Jn(4, t, S);
    return {
      red: parseInt("" + E[1], 10),
      green: parseInt("" + E[2], 10),
      blue: parseInt("" + E[3], 10),
      alpha: parseFloat("" + m[4]) > 1 ? parseFloat("" + m[4]) / 100 : parseFloat("" + m[4])
    };
  }
  throw new Jn(5);
}
function KW(e) {
  var t = e.red / 255, r = e.green / 255, n = e.blue / 255, o = Math.max(t, r, n), i = Math.min(t, r, n), s = (o + i) / 2;
  if (o === i)
    return e.alpha !== void 0 ? {
      hue: 0,
      saturation: 0,
      lightness: s,
      alpha: e.alpha
    } : {
      hue: 0,
      saturation: 0,
      lightness: s
    };
  var l, u = o - i, c = s > 0.5 ? u / (2 - o - i) : u / (o + i);
  switch (o) {
    case t:
      l = (r - n) / u + (r < n ? 6 : 0);
      break;
    case r:
      l = (n - t) / u + 2;
      break;
    default:
      l = (t - r) / u + 4;
      break;
  }
  return l *= 60, e.alpha !== void 0 ? {
    hue: l,
    saturation: c,
    lightness: s,
    alpha: e.alpha
  } : {
    hue: l,
    saturation: c,
    lightness: s
  };
}
function eD(e) {
  return KW(D1(e));
}
function _i(e) {
  var t = e.toString(16);
  return t.length === 1 ? "0" + t : t;
}
function Oy(e) {
  return _i(Math.round(e * 255));
}
function QW(e, t, r) {
  return Ny("#" + Oy(e) + Oy(t) + Oy(r));
}
function C1(e, t, r) {
  return Lp(e, t, r, QW);
}
function JW(e, t, r) {
  if (typeof e == "number" && typeof t == "number" && typeof r == "number")
    return C1(e, t, r);
  if (typeof e == "object" && t === void 0 && r === void 0)
    return C1(e.hue, e.saturation, e.lightness);
  throw new Jn(1);
}
function ZW(e, t, r, n) {
  if (typeof e == "number" && typeof t == "number" && typeof r == "number" && typeof n == "number")
    return n >= 1 ? C1(e, t, r) : "rgba(" + Lp(e, t, r) + "," + n + ")";
  if (typeof e == "object" && t === void 0 && r === void 0 && n === void 0)
    return e.alpha >= 1 ? C1(e.hue, e.saturation, e.lightness) : "rgba(" + Lp(e.hue, e.saturation, e.lightness) + "," + e.alpha + ")";
  throw new Jn(2);
}
function My(e, t, r) {
  if (typeof e == "number" && typeof t == "number" && typeof r == "number")
    return Ny("#" + _i(e) + _i(t) + _i(r));
  if (typeof e == "object" && t === void 0 && r === void 0)
    return Ny("#" + _i(e.red) + _i(e.green) + _i(e.blue));
  throw new Jn(6);
}
function Io(e, t, r, n) {
  if (typeof e == "string" && typeof t == "number") {
    var o = D1(e);
    return "rgba(" + o.red + "," + o.green + "," + o.blue + "," + t + ")";
  } else {
    if (typeof e == "number" && typeof t == "number" && typeof r == "number" && typeof n == "number")
      return n >= 1 ? My(e, t, r) : "rgba(" + e + "," + t + "," + r + "," + n + ")";
    if (typeof e == "object" && t === void 0 && r === void 0 && n === void 0)
      return e.alpha >= 1 ? My(e.red, e.green, e.blue) : "rgba(" + e.red + "," + e.green + "," + e.blue + "," + e.alpha + ")";
  }
  throw new Jn(7);
}
function tD(e) {
  if (typeof e != "object") throw new Jn(8);
  if (tq(e)) return Io(e);
  if (eq(e)) return My(e);
  if (nq(e)) return ZW(e);
  if (rq(e)) return JW(e);
  throw new Jn(8);
}
function rD(e, t, r) {
  return /* @__PURE__ */ a(function() {
    var o = r.concat(Array.prototype.slice.call(arguments));
    return o.length >= t ? e.apply(this, o) : rD(e, t, o);
  }, "fn");
}
function A1(e) {
  return rD(e, e.length, []);
}
function _1(e, t, r) {
  return Math.max(e, Math.min(t, r));
}
function oq(e, t) {
  if (t === "transparent") return t;
  var r = eD(t);
  return tD(be({}, r, {
    lightness: _1(0, 1, r.lightness - parseFloat(e))
  }));
}
function iq(e, t) {
  if (t === "transparent") return t;
  var r = eD(t);
  return tD(be({}, r, {
    lightness: _1(0, 1, r.lightness + parseFloat(e))
  }));
}
function lq(e, t) {
  if (t === "transparent") return t;
  var r = D1(t), n = typeof r.alpha == "number" ? r.alpha : 1, o = be({}, r, {
    alpha: _1(0, 1, (n * 100 + parseFloat(e) * 100) / 100)
  });
  return Io(o);
}
function cq(e, t) {
  if (t === "transparent") return t;
  var r = D1(t), n = typeof r.alpha == "number" ? r.alpha : 1, o = be({}, r, {
    alpha: _1(0, 1, +(n * 100 - parseFloat(e) * 100).toFixed(2) / 100)
  });
  return Io(o);
}
var Jn, ZC, jW, VW, UW, WW, Ly, qW, GW, YW, XW, Ny, eq, tq, rq, nq, aq, Zn, sq, Op, uq, nD, pq, Pt, Po = I(() => {
  Xn();
  jC();
  UC();
  QC();
  JC();
  Jn = /* @__PURE__ */ function(e) {
    VC(t, e);
    function t(r) {
      var n;
      if (1)
        n = e.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + r +
        " for more information.") || this;
      else
        for (var o, i, s; s < o; s++)
          ;
      return $C(n);
    }
    return a(t, "PolishedError"), t;
  }(/* @__PURE__ */ R1(Error));
  a(Fy, "colorToInt");
  a(HW, "convertToInt");
  a(Lp, "hslToRgb");
  ZC = {
    aliceblue: "f0f8ff",
    antiquewhite: "faebd7",
    aqua: "00ffff",
    aquamarine: "7fffd4",
    azure: "f0ffff",
    beige: "f5f5dc",
    bisque: "ffe4c4",
    black: "000",
    blanchedalmond: "ffebcd",
    blue: "0000ff",
    blueviolet: "8a2be2",
    brown: "a52a2a",
    burlywood: "deb887",
    cadetblue: "5f9ea0",
    chartreuse: "7fff00",
    chocolate: "d2691e",
    coral: "ff7f50",
    cornflowerblue: "6495ed",
    cornsilk: "fff8dc",
    crimson: "dc143c",
    cyan: "00ffff",
    darkblue: "00008b",
    darkcyan: "008b8b",
    darkgoldenrod: "b8860b",
    darkgray: "a9a9a9",
    darkgreen: "006400",
    darkgrey: "a9a9a9",
    darkkhaki: "bdb76b",
    darkmagenta: "8b008b",
    darkolivegreen: "556b2f",
    darkorange: "ff8c00",
    darkorchid: "9932cc",
    darkred: "8b0000",
    darksalmon: "e9967a",
    darkseagreen: "8fbc8f",
    darkslateblue: "483d8b",
    darkslategray: "2f4f4f",
    darkslategrey: "2f4f4f",
    darkturquoise: "00ced1",
    darkviolet: "9400d3",
    deeppink: "ff1493",
    deepskyblue: "00bfff",
    dimgray: "696969",
    dimgrey: "696969",
    dodgerblue: "1e90ff",
    firebrick: "b22222",
    floralwhite: "fffaf0",
    forestgreen: "228b22",
    fuchsia: "ff00ff",
    gainsboro: "dcdcdc",
    ghostwhite: "f8f8ff",
    gold: "ffd700",
    goldenrod: "daa520",
    gray: "808080",
    green: "008000",
    greenyellow: "adff2f",
    grey: "808080",
    honeydew: "f0fff0",
    hotpink: "ff69b4",
    indianred: "cd5c5c",
    indigo: "4b0082",
    ivory: "fffff0",
    khaki: "f0e68c",
    lavender: "e6e6fa",
    lavenderblush: "fff0f5",
    lawngreen: "7cfc00",
    lemonchiffon: "fffacd",
    lightblue: "add8e6",
    lightcoral: "f08080",
    lightcyan: "e0ffff",
    lightgoldenrodyellow: "fafad2",
    lightgray: "d3d3d3",
    lightgreen: "90ee90",
    lightgrey: "d3d3d3",
    lightpink: "ffb6c1",
    lightsalmon: "ffa07a",
    lightseagreen: "20b2aa",
    lightskyblue: "87cefa",
    lightslategray: "789",
    lightslategrey: "789",
    lightsteelblue: "b0c4de",
    lightyellow: "ffffe0",
    lime: "0f0",
    limegreen: "32cd32",
    linen: "faf0e6",
    magenta: "f0f",
    maroon: "800000",
    mediumaquamarine: "66cdaa",
    mediumblue: "0000cd",
    mediumorchid: "ba55d3",
    mediumpurple: "9370db",
    mediumseagreen: "3cb371",
    mediumslateblue: "7b68ee",
    mediumspringgreen: "00fa9a",
    mediumturquoise: "48d1cc",
    mediumvioletred: "c71585",
    midnightblue: "191970",
    mintcream: "f5fffa",
    mistyrose: "ffe4e1",
    moccasin: "ffe4b5",
    navajowhite: "ffdead",
    navy: "000080",
    oldlace: "fdf5e6",
    olive: "808000",
    olivedrab: "6b8e23",
    orange: "ffa500",
    orangered: "ff4500",
    orchid: "da70d6",
    palegoldenrod: "eee8aa",
    palegreen: "98fb98",
    paleturquoise: "afeeee",
    palevioletred: "db7093",
    papayawhip: "ffefd5",
    peachpuff: "ffdab9",
    peru: "cd853f",
    pink: "ffc0cb",
    plum: "dda0dd",
    powderblue: "b0e0e6",
    purple: "800080",
    rebeccapurple: "639",
    red: "f00",
    rosybrown: "bc8f8f",
    royalblue: "4169e1",
    saddlebrown: "8b4513",
    salmon: "fa8072",
    sandybrown: "f4a460",
    seagreen: "2e8b57",
    seashell: "fff5ee",
    sienna: "a0522d",
    silver: "c0c0c0",
    skyblue: "87ceeb",
    slateblue: "6a5acd",
    slategray: "708090",
    slategrey: "708090",
    snow: "fffafa",
    springgreen: "00ff7f",
    steelblue: "4682b4",
    tan: "d2b48c",
    teal: "008080",
    thistle: "d8bfd8",
    tomato: "ff6347",
    turquoise: "40e0d0",
    violet: "ee82ee",
    wheat: "f5deb3",
    white: "fff",
    whitesmoke: "f5f5f5",
    yellow: "ff0",
    yellowgreen: "9acd32"
  };
  a($W, "nameToHex");
  jW = /^#[a-fA-F0-9]{6}$/, VW = /^#[a-fA-F0-9]{8}$/, UW = /^#[a-fA-F0-9]{3}$/, WW = /^#[a-fA-F0-9]{4}$/, Ly = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,
  qW = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, GW = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,
  YW = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
  a(D1, "parseToRgb");
  a(KW, "rgbToHsl");
  a(eD, "parseToHsl");
  XW = /* @__PURE__ */ a(function(t) {
    return t.length === 7 && t[1] === t[2] && t[3] === t[4] && t[5] === t[6] ? "#" + t[1] + t[3] + t[5] : t;
  }, "reduceHexValue"), Ny = XW;
  a(_i, "numberToHex");
  a(Oy, "colorToHex");
  a(QW, "convertToHex");
  a(C1, "hslToHex");
  a(JW, "hsl");
  a(ZW, "hsla");
  a(My, "rgb");
  a(Io, "rgba");
  eq = /* @__PURE__ */ a(function(t) {
    return typeof t.red == "number" && typeof t.green == "number" && typeof t.blue == "number" && (typeof t.alpha != "number" || typeof t.alpha >
    "u");
  }, "isRgb"), tq = /* @__PURE__ */ a(function(t) {
    return typeof t.red == "number" && typeof t.green == "number" && typeof t.blue == "number" && typeof t.alpha == "number";
  }, "isRgba"), rq = /* @__PURE__ */ a(function(t) {
    return typeof t.hue == "number" && typeof t.saturation == "number" && typeof t.lightness == "number" && (typeof t.alpha != "number" || typeof t.
    alpha > "u");
  }, "isHsl"), nq = /* @__PURE__ */ a(function(t) {
    return typeof t.hue == "number" && typeof t.saturation == "number" && typeof t.lightness == "number" && typeof t.alpha == "number";
  }, "isHsla");
  a(tD, "toColorString");
  a(rD, "curried");
  a(A1, "curry");
  a(_1, "guard");
  a(oq, "darken");
  aq = /* @__PURE__ */ A1(oq), Zn = aq;
  a(iq, "lighten");
  sq = /* @__PURE__ */ A1(iq), Op = sq;
  a(lq, "opacify");
  uq = /* @__PURE__ */ A1(lq), nD = uq;
  a(cq, "transparentize");
  pq = /* @__PURE__ */ A1(cq), Pt = pq;
});

// src/theming/base.ts
var G, Cn, Qt, Np = I(() => {
  "use strict";
  Po();
  G = {
    // Official color palette
    primary: "#FF4785",
    // coral
    secondary: "#029CFD",
    // ocean
    tertiary: "#FAFBFC",
    ancillary: "#22a699",
    // Complimentary
    orange: "#FC521F",
    gold: "#FFAE00",
    green: "#66BF3C",
    seafoam: "#37D5D3",
    purple: "#6F2CAC",
    ultraviolet: "#2A0481",
    // Monochrome
    lightest: "#FFFFFF",
    lighter: "#F7FAFC",
    light: "#EEF3F6",
    mediumlight: "#ECF4F9",
    medium: "#D9E8F2",
    mediumdark: "#73828C",
    dark: "#5C6870",
    darker: "#454E54",
    darkest: "#2E3438",
    // For borders
    border: "hsla(203, 50%, 30%, 0.15)",
    // Status
    positive: "#66BF3C",
    negative: "#FF4400",
    warning: "#E69D00",
    critical: "#FFFFFF",
    // Text
    defaultText: "#2E3438",
    inverseText: "#FFFFFF",
    positiveText: "#448028",
    negativeText: "#D43900",
    warningText: "#A15C20"
  }, Cn = {
    app: "#F6F9FC",
    bar: G.lightest,
    content: G.lightest,
    preview: G.lightest,
    gridCellSize: 10,
    hoverable: Pt(0.9, G.secondary),
    // hover state for items in a list
    // Notification, error, and warning backgrounds
    positive: "#E1FFD4",
    negative: "#FEDED2",
    warning: "#FFF5CF",
    critical: "#FF4400"
  }, Qt = {
    fonts: {
      base: [
        '"Nunito Sans"',
        "-apple-system",
        '".SFNSText-Regular"',
        '"San Francisco"',
        "BlinkMacSystemFont",
        '"Segoe UI"',
        '"Helvetica Neue"',
        "Helvetica",
        "Arial",
        "sans-serif"
      ].join(", "),
      mono: [
        "ui-monospace",
        "Menlo",
        "Monaco",
        '"Roboto Mono"',
        '"Oxygen Mono"',
        '"Ubuntu Monospace"',
        '"Source Code Pro"',
        '"Droid Sans Mono"',
        '"Courier New"',
        "monospace"
      ].join(", ")
    },
    weight: {
      regular: 400,
      bold: 700
    },
    size: {
      s1: 12,
      s2: 14,
      s3: 16,
      m1: 20,
      m2: 24,
      m3: 28,
      l1: 32,
      l2: 40,
      l3: 48,
      code: 90
    }
  };
});

// src/theming/types.ts
var oD = I(() => {
  "use strict";
});

// src/theming/global.ts
var By, zy, aD, iD = I(() => {
  "use strict";
  By = _(Kn(), 1), zy = (0, By.default)(1)(
    ({ typography: e }) => ({
      body: {
        fontFamily: e.fonts.base,
        fontSize: e.size.s3,
        margin: 0,
        WebkitFontSmoothing: "antialiased",
        MozOsxFontSmoothing: "grayscale",
        WebkitTapHighlightColor: "rgba(0, 0, 0, 0)",
        WebkitOverflowScrolling: "touch"
      },
      "*": {
        boxSizing: "border-box"
      },
      "h1, h2, h3, h4, h5, h6": {
        fontWeight: e.weight.regular,
        margin: 0,
        padding: 0
      },
      "button, input, textarea, select": {
        fontFamily: "inherit",
        fontSize: "inherit",
        boxSizing: "border-box"
      },
      sub: {
        fontSize: "0.8em",
        bottom: "-0.2em"
      },
      sup: {
        fontSize: "0.8em",
        top: "-0.2em"
      },
      "b, strong": {
        fontWeight: e.weight.bold
      },
      hr: {
        border: "none",
        borderTop: "1px solid silver",
        clear: "both",
        marginBottom: "1.25rem"
      },
      code: {
        fontFamily: e.fonts.mono,
        WebkitFontSmoothing: "antialiased",
        MozOsxFontSmoothing: "grayscale",
        display: "inline-block",
        paddingLeft: 2,
        paddingRight: 2,
        verticalAlign: "baseline",
        color: "inherit"
      },
      pre: {
        fontFamily: e.fonts.mono,
        WebkitFontSmoothing: "antialiased",
        MozOsxFontSmoothing: "grayscale",
        lineHeight: "18px",
        padding: "11px 1rem",
        whiteSpace: "pre-wrap",
        color: "inherit",
        borderRadius: 3,
        margin: "1rem 0"
      }
    })
  ), aD = (0, By.default)(1)(({
    color: e,
    background: t,
    typography: r
  }) => {
    let n = zy({ typography: r });
    return {
      ...n,
      body: {
        ...n.body,
        color: e.defaultText,
        background: t.app,
        overflow: "hidden"
      },
      hr: {
        ...n.hr,
        borderTop: `1px solid ${e.border}`
      }
    };
  });
});

// src/theming/themes/dark.ts
var fq, sD, lD = I(() => {
  "use strict";
  Np();
  fq = {
    base: "dark",
    // Storybook-specific color palette
    colorPrimary: "#FF4785",
    // coral
    colorSecondary: "#029CFD",
    // ocean
    // UI
    appBg: "#222425",
    appContentBg: "#1B1C1D",
    appPreviewBg: G.lightest,
    appBorderColor: "rgba(255,255,255,.1)",
    appBorderRadius: 4,
    // Fonts
    fontBase: Qt.fonts.base,
    fontCode: Qt.fonts.mono,
    // Text colors
    textColor: "#C9CDCF",
    textInverseColor: "#222425",
    textMutedColor: "#798186",
    // Toolbar default and active colors
    barTextColor: G.mediumdark,
    barHoverColor: G.secondary,
    barSelectedColor: G.secondary,
    barBg: "#292C2E",
    // Form colors
    buttonBg: "#222425",
    buttonBorder: "rgba(255,255,255,.1)",
    booleanBg: "#222425",
    booleanSelectedBg: "#2E3438",
    inputBg: "#1B1C1D",
    inputBorder: "rgba(255,255,255,.1)",
    inputTextColor: G.lightest,
    inputBorderRadius: 4
  }, sD = fq;
});

// src/theming/themes/light.ts
var dq, xl, Hy = I(() => {
  "use strict";
  Np();
  dq = {
    base: "light",
    // Storybook-specific color palette
    colorPrimary: "#FF4785",
    // coral
    colorSecondary: "#029CFD",
    // ocean
    // UI
    appBg: Cn.app,
    appContentBg: G.lightest,
    appPreviewBg: G.lightest,
    appBorderColor: G.border,
    appBorderRadius: 4,
    // Fonts
    fontBase: Qt.fonts.base,
    fontCode: Qt.fonts.mono,
    // Text colors
    textColor: G.darkest,
    textInverseColor: G.lightest,
    textMutedColor: G.dark,
    // Toolbar default and active colors
    barTextColor: G.mediumdark,
    barHoverColor: G.secondary,
    barSelectedColor: G.secondary,
    barBg: G.lightest,
    // Form colors
    buttonBg: Cn.app,
    buttonBorder: G.medium,
    booleanBg: G.mediumlight,
    booleanSelectedBg: G.lightest,
    inputBg: G.lightest,
    inputBorder: G.border,
    inputTextColor: G.darkest,
    inputBorderRadius: 4
  }, xl = dq;
});

// src/theming/utils.ts
var $y, uD, hq, mq, gq, cD, Fa, pD, T1, Mp = I(() => {
  "use strict";
  qe();
  Ht();
  Po();
  ({ window: $y } = z), uD = /* @__PURE__ */ a((e) => ({ color: e }), "mkColor"), hq = /* @__PURE__ */ a((e) => typeof e != "string" ? (ge.warn(
    `Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`
  ), !1) : !0, "isColorString"), mq = /* @__PURE__ */ a((e) => !/(gradient|var|calc)/.test(e), "isValidColorForPolished"), gq = /* @__PURE__ */ a(
  (e, t) => e === "darken" ? Io(`${Zn(1, t)}`, 0.95) : e === "lighten" ? Io(`${Op(1, t)}`, 0.95) : t, "applyPolished"), cD = /* @__PURE__ */ a(
  (e) => (t) => {
    if (!hq(t) || !mq(t))
      return t;
    try {
      return gq(e, t);
    } catch {
      return t;
    }
  }, "colorFactory"), Fa = cD("lighten"), pD = cD("darken"), T1 = /* @__PURE__ */ a(() => !$y || !$y.matchMedia ? "light" : $y.matchMedia("(\
prefers-color-scheme: dark)").matches ? "dark" : "light", "getPreferredColorScheme");
});

// src/theming/create.ts
var Bp = {};
de(Bp, {
  create: () => I1,
  themes: () => Ti
});
var Ti, jy, I1, zp = I(() => {
  "use strict";
  lD();
  Hy();
  Mp();
  Ti = {
    light: xl,
    dark: sD,
    normal: xl
  }, jy = T1(), I1 = /* @__PURE__ */ a((e = { base: jy }, t) => {
    let r = {
      ...Ti[jy],
      ...Ti[e.base] || {},
      ...e,
      base: Ti[e.base] ? e.base : jy
    };
    return {
      ...t,
      ...r,
      barSelectedColor: e.barSelectedColor || r.colorSecondary
    };
  }, "create");
});

// src/theming/animation.ts
var fD, vq, dD, yq, wq, Sq, Eq, hD, mD = I(() => {
  "use strict";
  S1();
  fD = {
    rubber: "cubic-bezier(0.175, 0.885, 0.335, 1.05)"
  }, vq = It`
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
`, dD = It`
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
`, yq = It`
  0% { transform: translateY(1px); }
  25% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(1px); }
`, wq = It`
  0%, 100% { transform:translate3d(0,0,0); }
  12.5%, 62.5% { transform:translate3d(-4px,0,0); }
  37.5%, 87.5% {  transform: translate3d(4px,0,0);  }
`, Sq = bl`
  animation: ${dD} 1.5s ease-in-out infinite;
  color: transparent;
  cursor: progress;
`, Eq = bl`
  transition: all 150ms ease-out;
  transform: translate3d(0, 0, 0);

  &:hover {
    transform: translate3d(0, -2px, 0);
  }

  &:active {
    transform: translate3d(0, 0, 0);
  }
`, hD = {
    rotate360: vq,
    glow: dD,
    float: yq,
    jiggle: wq,
    inlineGlow: Sq,
    hoverable: Eq
  };
});

// src/theming/modules/syntax.ts
var gD, vD, bq, yD, wD = I(() => {
  "use strict";
  Mp();
  gD = {
    BASE_FONT_FAMILY: "Menlo, monospace",
    BASE_FONT_SIZE: "11px",
    BASE_LINE_HEIGHT: 1.2,
    BASE_BACKGROUND_COLOR: "rgb(36, 36, 36)",
    BASE_COLOR: "rgb(213, 213, 213)",
    OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES: 10,
    OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES: 5,
    OBJECT_NAME_COLOR: "rgb(227, 110, 236)",
    OBJECT_VALUE_NULL_COLOR: "rgb(127, 127, 127)",
    OBJECT_VALUE_UNDEFINED_COLOR: "rgb(127, 127, 127)",
    OBJECT_VALUE_REGEXP_COLOR: "rgb(233, 63, 59)",
    OBJECT_VALUE_STRING_COLOR: "rgb(233, 63, 59)",
    OBJECT_VALUE_SYMBOL_COLOR: "rgb(233, 63, 59)",
    OBJECT_VALUE_NUMBER_COLOR: "hsl(252, 100%, 75%)",
    OBJECT_VALUE_BOOLEAN_COLOR: "hsl(252, 100%, 75%)",
    OBJECT_VALUE_FUNCTION_PREFIX_COLOR: "rgb(85, 106, 242)",
    HTML_TAG_COLOR: "rgb(93, 176, 215)",
    HTML_TAGNAME_COLOR: "rgb(93, 176, 215)",
    HTML_TAGNAME_TEXT_TRANSFORM: "lowercase",
    HTML_ATTRIBUTE_NAME_COLOR: "rgb(155, 187, 220)",
    HTML_ATTRIBUTE_VALUE_COLOR: "rgb(242, 151, 102)",
    HTML_COMMENT_COLOR: "rgb(137, 137, 137)",
    HTML_DOCTYPE_COLOR: "rgb(192, 192, 192)",
    ARROW_COLOR: "rgb(145, 145, 145)",
    ARROW_MARGIN_RIGHT: 3,
    ARROW_FONT_SIZE: 12,
    ARROW_ANIMATION_DURATION: "0",
    TREENODE_FONT_FAMILY: "Menlo, monospace",
    TREENODE_FONT_SIZE: "11px",
    TREENODE_LINE_HEIGHT: 1.2,
    TREENODE_PADDING_LEFT: 12,
    TABLE_BORDER_COLOR: "rgb(85, 85, 85)",
    TABLE_TH_BACKGROUND_COLOR: "rgb(44, 44, 44)",
    TABLE_TH_HOVER_COLOR: "rgb(48, 48, 48)",
    TABLE_SORT_ICON_COLOR: "black",
    // 'rgb(48, 57, 66)',
    TABLE_DATA_BACKGROUND_IMAGE: "linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgb\
a(51, 139, 255, 0.0980392))",
    TABLE_DATA_BACKGROUND_SIZE: "128px 32px"
  }, vD = {
    BASE_FONT_FAMILY: "Menlo, monospace",
    BASE_FONT_SIZE: "11px",
    BASE_LINE_HEIGHT: 1.2,
    BASE_BACKGROUND_COLOR: "white",
    BASE_COLOR: "black",
    OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES: 10,
    OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES: 5,
    OBJECT_NAME_COLOR: "rgb(136, 19, 145)",
    OBJECT_VALUE_NULL_COLOR: "rgb(128, 128, 128)",
    OBJECT_VALUE_UNDEFINED_COLOR: "rgb(128, 128, 128)",
    OBJECT_VALUE_REGEXP_COLOR: "rgb(196, 26, 22)",
    OBJECT_VALUE_STRING_COLOR: "rgb(196, 26, 22)",
    OBJECT_VALUE_SYMBOL_COLOR: "rgb(196, 26, 22)",
    OBJECT_VALUE_NUMBER_COLOR: "rgb(28, 0, 207)",
    OBJECT_VALUE_BOOLEAN_COLOR: "rgb(28, 0, 207)",
    OBJECT_VALUE_FUNCTION_PREFIX_COLOR: "rgb(13, 34, 170)",
    HTML_TAG_COLOR: "rgb(168, 148, 166)",
    HTML_TAGNAME_COLOR: "rgb(136, 18, 128)",
    HTML_TAGNAME_TEXT_TRANSFORM: "lowercase",
    HTML_ATTRIBUTE_NAME_COLOR: "rgb(153, 69, 0)",
    HTML_ATTRIBUTE_VALUE_COLOR: "rgb(26, 26, 166)",
    HTML_COMMENT_COLOR: "rgb(35, 110, 37)",
    HTML_DOCTYPE_COLOR: "rgb(192, 192, 192)",
    ARROW_COLOR: "#6e6e6e",
    ARROW_MARGIN_RIGHT: 3,
    ARROW_FONT_SIZE: 12,
    ARROW_ANIMATION_DURATION: "0",
    TREENODE_FONT_FAMILY: "Menlo, monospace",
    TREENODE_FONT_SIZE: "11px",
    TREENODE_LINE_HEIGHT: 1.2,
    TREENODE_PADDING_LEFT: 12,
    TABLE_BORDER_COLOR: "#aaa",
    TABLE_TH_BACKGROUND_COLOR: "#eee",
    TABLE_TH_HOVER_COLOR: "hsla(0, 0%, 90%, 1)",
    TABLE_SORT_ICON_COLOR: "#6e6e6e",
    TABLE_DATA_BACKGROUND_IMAGE: "linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",
    TABLE_DATA_BACKGROUND_SIZE: "128px 32px"
  }, bq = /* @__PURE__ */ a((e) => Object.entries(e).reduce((t, [r, n]) => ({ ...t, [r]: uD(n) }), {}), "convertColors"), yD = /* @__PURE__ */ a(
  ({ colors: e, mono: t }) => {
    let r = bq(e);
    return {
      token: {
        fontFamily: t,
        WebkitFontSmoothing: "antialiased",
        "&.tag": r.red3,
        "&.comment": { ...r.green1, fontStyle: "italic" },
        "&.prolog": { ...r.green1, fontStyle: "italic" },
        "&.doctype": { ...r.green1, fontStyle: "italic" },
        "&.cdata": { ...r.green1, fontStyle: "italic" },
        "&.string": r.red1,
        "&.url": r.cyan1,
        "&.symbol": r.cyan1,
        "&.number": r.cyan1,
        "&.boolean": r.cyan1,
        "&.variable": r.cyan1,
        "&.constant": r.cyan1,
        "&.inserted": r.cyan1,
        "&.atrule": r.blue1,
        "&.keyword": r.blue1,
        "&.attr-value": r.blue1,
        "&.punctuation": r.gray1,
        "&.operator": r.gray1,
        "&.function": r.gray1,
        "&.deleted": r.red2,
        "&.important": {
          fontWeight: "bold"
        },
        "&.bold": {
          fontWeight: "bold"
        },
        "&.italic": {
          fontStyle: "italic"
        },
        "&.class-name": r.cyan2,
        "&.selector": r.red3,
        "&.attr-name": r.red4,
        "&.property": r.red4,
        "&.regex": r.red4,
        "&.entity": r.red4,
        "&.directive.tag .tag": {
          background: "#ffff00",
          ...r.gray1
        }
      },
      "language-json .token.boolean": r.blue1,
      "language-json .token.number": r.blue1,
      "language-json .token.property": r.cyan2,
      namespace: {
        opacity: 0.7
      }
    };
  }, "create");
});

// src/theming/convert.ts
var xq, Rq, Cq, P1, Vy = I(() => {
  "use strict";
  Po();
  mD();
  Np();
  zp();
  wD();
  Mp();
  xq = {
    green1: "#008000",
    red1: "#A31515",
    red2: "#9a050f",
    red3: "#800000",
    red4: "#ff0000",
    gray1: "#393A34",
    cyan1: "#36acaa",
    cyan2: "#2B91AF",
    blue1: "#0000ff",
    blue2: "#00009f"
  }, Rq = {
    green1: "#7C7C7C",
    red1: "#92C379",
    red2: "#9a050f",
    red3: "#A8FF60",
    red4: "#96CBFE",
    gray1: "#EDEDED",
    cyan1: "#C6C5FE",
    cyan2: "#FFFFB6",
    blue1: "#B474DD",
    blue2: "#00009f"
  }, Cq = /* @__PURE__ */ a((e) => ({
    // Changeable colors
    primary: e.colorPrimary,
    secondary: e.colorSecondary,
    tertiary: G.tertiary,
    ancillary: G.ancillary,
    // Complimentary
    orange: G.orange,
    gold: G.gold,
    green: G.green,
    seafoam: G.seafoam,
    purple: G.purple,
    ultraviolet: G.ultraviolet,
    // Monochrome
    lightest: G.lightest,
    lighter: G.lighter,
    light: G.light,
    mediumlight: G.mediumlight,
    medium: G.medium,
    mediumdark: G.mediumdark,
    dark: G.dark,
    darker: G.darker,
    darkest: G.darkest,
    // For borders
    border: G.border,
    // Status
    positive: G.positive,
    negative: G.negative,
    warning: G.warning,
    critical: G.critical,
    defaultText: e.textColor || G.darkest,
    inverseText: e.textInverseColor || G.lightest,
    positiveText: G.positiveText,
    negativeText: G.negativeText,
    warningText: G.warningText
  }), "createColors"), P1 = /* @__PURE__ */ a((e = Ti[T1()]) => {
    let {
      base: t,
      colorPrimary: r,
      colorSecondary: n,
      appBg: o,
      appContentBg: i,
      appPreviewBg: s,
      appBorderColor: l,
      appBorderRadius: u,
      fontBase: c,
      fontCode: p,
      textColor: h,
      textInverseColor: m,
      barTextColor: g,
      barHoverColor: w,
      barSelectedColor: v,
      barBg: S,
      buttonBg: E,
      buttonBorder: y,
      booleanBg: b,
      booleanSelectedBg: x,
      inputBg: R,
      inputBorder: C,
      inputTextColor: D,
      inputBorderRadius: A,
      brandTitle: P,
      brandUrl: k,
      brandImage: M,
      brandTarget: V,
      gridCellSize: H,
      ...X
    } = e;
    return {
      ...X,
      base: t,
      color: Cq(e),
      background: {
        app: o,
        bar: S,
        content: i,
        preview: s,
        gridCellSize: H || Cn.gridCellSize,
        hoverable: Cn.hoverable,
        positive: Cn.positive,
        negative: Cn.negative,
        warning: Cn.warning,
        critical: Cn.critical
      },
      typography: {
        fonts: {
          base: c,
          mono: p
        },
        weight: Qt.weight,
        size: Qt.size
      },
      animation: hD,
      easing: fD,
      input: {
        background: R,
        border: C,
        borderRadius: A,
        color: D
      },
      button: {
        background: E || R,
        border: y || C
      },
      boolean: {
        background: b || C,
        selectedBackground: x || R
      },
      // UI
      layoutMargin: 10,
      appBorderColor: l,
      appBorderRadius: u,
      // Toolbar default/active colors
      barTextColor: g,
      barHoverColor: w || n,
      barSelectedColor: v || n,
      barBg: S,
      // Brand logo/text
      brand: {
        title: P,
        url: k,
        image: M || (P ? null : void 0),
        target: V
      },
      code: yD({
        colors: t === "light" ? xq : Rq,
        mono: p
      }),
      // Addon actions theme
      // API example https://github.com/storybookjs/react-inspector/blob/master/src/styles/themes/chromeLight.tsx
      addonActionsTheme: {
        ...t === "light" ? vD : gD,
        BASE_FONT_FAMILY: p,
        BASE_FONT_SIZE: Qt.size.s2 - 1,
        BASE_LINE_HEIGHT: "18px",
        BASE_BACKGROUND_COLOR: "transparent",
        BASE_COLOR: h,
        ARROW_COLOR: nD(0.2, l),
        ARROW_MARGIN_RIGHT: 4,
        ARROW_FONT_SIZE: 8,
        TREENODE_FONT_FAMILY: p,
        TREENODE_FONT_SIZE: Qt.size.s2 - 1,
        TREENODE_LINE_HEIGHT: "18px",
        TREENODE_PADDING_LEFT: 12
      }
    };
  }, "convert");
});

// ../node_modules/deep-object-diff/mjs/utils.js
var Uy, Ii, Hp, $p, jp = I(() => {
  Uy = /* @__PURE__ */ a((e) => Object.keys(e).length === 0, "isEmpty"), Ii = /* @__PURE__ */ a((e) => e != null && typeof e == "object", "i\
sObject"), Hp = /* @__PURE__ */ a((e, ...t) => Object.prototype.hasOwnProperty.call(e, ...t), "hasOwnProperty"), $p = /* @__PURE__ */ a(() => /* @__PURE__ */ Object.
  create(null), "makeObjectWithoutPrototype");
});

// ../node_modules/deep-object-diff/mjs/diff.js
var SD = I(() => {
  jp();
});

// ../node_modules/deep-object-diff/mjs/added.js
var Wy = I(() => {
  jp();
});

// ../node_modules/deep-object-diff/mjs/deleted.js
var ED, k1, qy = I(() => {
  jp();
  ED = /* @__PURE__ */ a((e, t) => e === t || !Ii(e) || !Ii(t) ? {} : Object.keys(e).reduce((r, n) => {
    if (Hp(t, n)) {
      let o = ED(e[n], t[n]);
      return Ii(o) && Uy(o) || (r[n] = o), r;
    }
    return r[n] = void 0, r;
  }, $p()), "deletedDiff"), k1 = ED;
});

// ../node_modules/deep-object-diff/mjs/updated.js
var Gy = I(() => {
  jp();
});

// ../node_modules/deep-object-diff/mjs/detailed.js
var bD = I(() => {
  Wy();
  qy();
  Gy();
});

// ../node_modules/deep-object-diff/mjs/index.js
var xD = I(() => {
  SD();
  Wy();
  qy();
  Gy();
  bD();
});

// src/theming/ensure.ts
var Iq, RD = I(() => {
  "use strict";
  Ht();
  xD();
  Ca();
  Vy();
  Hy();
  Iq = /* @__PURE__ */ a((e) => {
    if (!e)
      return P1(xl);
    let t = k1(xl, e);
    return Object.keys(t).length && ge.warn(
      st`
          Your theme is missing properties, you should update your theme!

          theme-data missing:
        `,
      t
    ), P1(e);
  }, "ensure");
});

// src/theming/index.ts
var Vp = {};
de(Vp, {
  CacheProvider: () => Ay,
  ClassNames: () => OC,
  Global: () => LC,
  ThemeProvider: () => Ty,
  background: () => Cn,
  color: () => G,
  convert: () => P1,
  create: () => I1,
  createCache: () => o1,
  createGlobal: () => aD,
  createReset: () => zy,
  css: () => bl,
  darken: () => pD,
  ensure: () => Iq,
  ignoreSsrWarning: () => F1,
  isPropValid: () => Ia,
  jsx: () => w1,
  keyframes: () => It,
  lighten: () => Fa,
  styled: () => T,
  themes: () => Ti,
  typography: () => Qt,
  useTheme: () => _y,
  withTheme: () => Iy
});
var F1, Y = I(() => {
  "use strict";
  HC();
  S1();
  Np();
  oD();
  a1();
  E1();
  iD();
  zp();
  Vy();
  RD();
  Mp();
  F1 = "/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";
});

// ../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
function Rl(e, t) {
  if (e == null) return {};
  var r = {};
  for (var n in e) if ({}.hasOwnProperty.call(e, n)) {
    if (t.indexOf(n) >= 0) continue;
    r[n] = e[n];
  }
  return r;
}
var N1 = I(() => {
  a(Rl, "_objectWithoutPropertiesLoose");
});

// ../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
function AD(e, t) {
  if (e == null) return {};
  var r, n, o = Rl(e, t);
  if (Object.getOwnPropertySymbols) {
    var i = Object.getOwnPropertySymbols(e);
    for (n = 0; n < i.length; n++) r = i[n], t.indexOf(r) >= 0 || {}.propertyIsEnumerable.call(e, r) && (o[r] = e[r]);
  }
  return o;
}
var _D = I(() => {
  N1();
  a(AD, "_objectWithoutProperties");
});

// ../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
function Up(e, t) {
  (t == null || t > e.length) && (t = e.length);
  for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
  return n;
}
var Ky = I(() => {
  a(Up, "_arrayLikeToArray");
});

// ../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
function TD(e) {
  if (Array.isArray(e)) return Up(e);
}
var ID = I(() => {
  Ky();
  a(TD, "_arrayWithoutHoles");
});

// ../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
function PD(e) {
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
}
var kD = I(() => {
  a(PD, "_iterableToArray");
});

// ../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
function FD(e, t) {
  if (e) {
    if (typeof e == "string") return Up(e, t);
    var r = {}.toString.call(e).slice(8, -1);
    return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.
    test(r) ? Up(e, t) : void 0;
  }
}
var LD = I(() => {
  Ky();
  a(FD, "_unsupportedIterableToArray");
});

// ../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
function OD() {
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
var ND = I(() => {
  a(OD, "_nonIterableSpread");
});

// ../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
function MD(e) {
  return TD(e) || PD(e) || FD(e) || OD();
}
var BD = I(() => {
  ID();
  kD();
  LD();
  ND();
  a(MD, "_toConsumableArray");
});

// ../node_modules/@babel/runtime/helpers/esm/typeof.js
function Pi(e) {
  "@babel/helpers - typeof";
  return Pi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
    return typeof t;
  } : function(t) {
    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
  }, Pi(e);
}
var Xy = I(() => {
  a(Pi, "_typeof");
});

// ../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
function zD(e, t) {
  if (Pi(e) != "object" || !e) return e;
  var r = e[Symbol.toPrimitive];
  if (r !== void 0) {
    var n = r.call(e, t || "default");
    if (Pi(n) != "object") return n;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return (t === "string" ? String : Number)(e);
}
var HD = I(() => {
  Xy();
  a(zD, "toPrimitive");
});

// ../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
function $D(e) {
  var t = zD(e, "string");
  return Pi(t) == "symbol" ? t : t + "";
}
var jD = I(() => {
  Xy();
  HD();
  a($D, "toPropertyKey");
});

// ../node_modules/@babel/runtime/helpers/esm/defineProperty.js
function M1(e, t, r) {
  return (t = $D(t)) in e ? Object.defineProperty(e, t, {
    value: r,
    enumerable: !0,
    configurable: !0,
    writable: !0
  }) : e[t] = r, e;
}
var Qy = I(() => {
  jD();
  a(M1, "_defineProperty");
});

// ../node_modules/react-syntax-highlighter/dist/esm/create-element.js
function VD(e, t) {
  var r = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var n = Object.getOwnPropertySymbols(e);
    t && (n = n.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), r.push.apply(r, n);
  }
  return r;
}
function Cl(e) {
  for (var t = 1; t < arguments.length; t++) {
    var r = arguments[t] != null ? arguments[t] : {};
    t % 2 ? VD(Object(r), !0).forEach(function(n) {
      M1(e, n, r[n]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : VD(Object(r)).forEach(function(n) {
      Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
    });
  }
  return e;
}
function Pq(e) {
  var t = e.length;
  if (t === 0 || t === 1) return e;
  if (t === 2)
    return [e[0], e[1], "".concat(e[0], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0])];
  if (t === 3)
    return [e[0], e[1], e[2], "".concat(e[0], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0]), "".concat(
    e[1], ".").concat(e[2]), "".concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[1], ".").concat(
    e[2]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(
    e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0])];
  if (t >= 4)
    return [e[0], e[1], e[2], e[3], "".concat(e[0], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2]), "".concat(e[0], ".").concat(e[3]),
    "".concat(e[1], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2]), "".concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[0]),
    "".concat(e[2], ".").concat(e[1]), "".concat(e[2], ".").concat(e[3]), "".concat(e[3], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1]),
    "".concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[3]),
    "".concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(e[3],
    ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1],
    ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2], ".").concat(
    e[3]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[2], ".").concat(
    e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0]), "".concat(
    e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(
    e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(
    e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(
    e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(
    e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat(
    e[2], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(
    e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[1], ".").concat(
    e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(
    e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(
    e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(
    e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(
    e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(
    e[3], ".").concat(e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(
    e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[3], ".").concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(
    e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(
    e[2], ".").concat(e[1], ".").concat(e[0])];
}
function kq(e) {
  if (e.length === 0 || e.length === 1) return e;
  var t = e.join(".");
  return Jy[t] || (Jy[t] = Pq(e)), Jy[t];
}
function Fq(e) {
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 ? arguments[2] : void 0, n = e.filter(
  function(i) {
    return i !== "token";
  }), o = kq(n);
  return o.reduce(function(i, s) {
    return Cl(Cl({}, i), r[s]);
  }, t);
}
function UD(e) {
  return e.join(" ");
}
function Lq(e, t) {
  var r = 0;
  return function(n) {
    return r += 1, n.map(function(o, i) {
      return ki({
        node: o,
        stylesheet: e,
        useInlineStyles: t,
        key: "code-segment-".concat(r, "-").concat(i)
      });
    });
  };
}
function ki(e) {
  var t = e.node, r = e.stylesheet, n = e.style, o = n === void 0 ? {} : n, i = e.useInlineStyles, s = e.key, l = t.properties, u = t.type, c = t.
  tagName, p = t.value;
  if (u === "text")
    return p;
  if (c) {
    var h = Lq(r, i), m;
    if (!i)
      m = Cl(Cl({}, l), {}, {
        className: UD(l.className)
      });
    else {
      var g = Object.keys(r).reduce(function(E, y) {
        return y.split(".").forEach(function(b) {
          E.includes(b) || E.push(b);
        }), E;
      }, []), w = l.className && l.className.includes("token") ? ["token"] : [], v = l.className && w.concat(l.className.filter(function(E) {
        return !g.includes(E);
      }));
      m = Cl(Cl({}, l), {}, {
        className: UD(v) || void 0,
        style: Fq(l.className, Object.assign({}, l.style, o), r)
      });
    }
    var S = h(t.children);
    return /* @__PURE__ */ WD.default.createElement(c, be({
      key: s
    }, m), S);
  }
}
var WD, Jy, Zy = I(() => {
  Xn();
  Qy();
  WD = _(F());
  a(VD, "ownKeys");
  a(Cl, "_objectSpread");
  a(Pq, "powerSetPermutations");
  Jy = {};
  a(kq, "getClassNameCombinations");
  a(Fq, "createStyleObject");
  a(UD, "createClassNameString");
  a(Lq, "createChildren");
  a(ki, "createElement");
});

// ../node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js
var qD, GD = I(() => {
  qD = /* @__PURE__ */ a(function(e, t) {
    var r = e.listLanguages();
    return r.indexOf(t) !== -1;
  }, "default");
});

// ../node_modules/react-syntax-highlighter/dist/esm/highlight.js
function YD(e, t) {
  var r = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var n = Object.getOwnPropertySymbols(e);
    t && (n = n.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), r.push.apply(r, n);
  }
  return r;
}
function to(e) {
  for (var t = 1; t < arguments.length; t++) {
    var r = arguments[t] != null ? arguments[t] : {};
    t % 2 ? YD(Object(r), !0).forEach(function(n) {
      M1(e, n, r[n]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : YD(Object(r)).forEach(function(n) {
      Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
    });
  }
  return e;
}
function Mq(e) {
  return e.match(Nq);
}
function Bq(e) {
  var t = e.lines, r = e.startingLineNumber, n = e.style;
  return t.map(function(o, i) {
    var s = i + r;
    return /* @__PURE__ */ La.default.createElement("span", {
      key: "line-".concat(i),
      className: "react-syntax-highlighter-line-number",
      style: typeof n == "function" ? n(s) : n
    }, "".concat(s, `
`));
  });
}
function zq(e) {
  var t = e.codeString, r = e.codeStyle, n = e.containerStyle, o = n === void 0 ? {
    float: "left",
    paddingRight: "10px"
  } : n, i = e.numberStyle, s = i === void 0 ? {} : i, l = e.startingLineNumber;
  return /* @__PURE__ */ La.default.createElement("code", {
    style: Object.assign({}, r, o)
  }, Bq({
    lines: t.replace(/\n$/, "").split(`
`),
    style: s,
    startingLineNumber: l
  }));
}
function Hq(e) {
  return "".concat(e.toString().length, ".25em");
}
function KD(e, t) {
  return {
    type: "element",
    tagName: "span",
    properties: {
      key: "line-number--".concat(e),
      className: ["comment", "linenumber", "react-syntax-highlighter-line-number"],
      style: t
    },
    children: [{
      type: "text",
      value: e
    }]
  };
}
function XD(e, t, r) {
  var n = {
    display: "inline-block",
    minWidth: Hq(r),
    paddingRight: "1em",
    textAlign: "right",
    userSelect: "none"
  }, o = typeof e == "function" ? e(t) : e, i = to(to({}, n), o);
  return i;
}
function B1(e) {
  var t = e.children, r = e.lineNumber, n = e.lineNumberStyle, o = e.largestLineNumber, i = e.showInlineLineNumbers, s = e.lineProps, l = s ===
  void 0 ? {} : s, u = e.className, c = u === void 0 ? [] : u, p = e.showLineNumbers, h = e.wrapLongLines, m = typeof l == "function" ? l(r) :
  l;
  if (m.className = c, r && i) {
    var g = XD(n, r, o);
    t.unshift(KD(r, g));
  }
  return h & p && (m.style = to(to({}, m.style), {}, {
    display: "flex"
  })), {
    type: "element",
    tagName: "span",
    properties: m,
    children: t
  };
}
function QD(e) {
  for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
  [], n = 0; n < e.length; n++) {
    var o = e[n];
    if (o.type === "text")
      r.push(B1({
        children: [o],
        className: MD(new Set(t))
      }));
    else if (o.children) {
      var i = t.concat(o.properties.className);
      QD(o.children, i).forEach(function(s) {
        return r.push(s);
      });
    }
  }
  return r;
}
function $q(e, t, r, n, o, i, s, l, u) {
  var c, p = QD(e.value), h = [], m = -1, g = 0;
  function w(R, C) {
    var D = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
    return B1({
      children: R,
      lineNumber: C,
      lineNumberStyle: l,
      largestLineNumber: s,
      showInlineLineNumbers: o,
      lineProps: r,
      className: D,
      showLineNumbers: n,
      wrapLongLines: u
    });
  }
  a(w, "createWrappedLine");
  function v(R, C) {
    if (n && C && o) {
      var D = XD(l, C, s);
      R.unshift(KD(C, D));
    }
    return R;
  }
  a(v, "createUnwrappedLine");
  function S(R, C) {
    var D = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
    return t || D.length > 0 ? w(R, C, D) : v(R, C);
  }
  a(S, "createLine");
  for (var E = /* @__PURE__ */ a(function() {
    var C = p[g], D = C.children[0].value, A = Mq(D);
    if (A) {
      var P = D.split(`
`);
      P.forEach(function(k, M) {
        var V = n && h.length + i, H = {
          type: "text",
          value: "".concat(k, `
`)
        };
        if (M === 0) {
          var X = p.slice(m + 1, g).concat(B1({
            children: [H],
            className: C.properties.className
          })), B = S(X, V);
          h.push(B);
        } else if (M === P.length - 1) {
          var O = p[g + 1] && p[g + 1].children && p[g + 1].children[0], K = {
            type: "text",
            value: "".concat(k)
          };
          if (O) {
            var re = B1({
              children: [K],
              className: C.properties.className
            });
            p.splice(g + 1, 0, re);
          } else {
            var Q = [K], ue = S(Q, V, C.properties.className);
            h.push(ue);
          }
        } else {
          var Z = [H], fe = S(Z, V, C.properties.className);
          h.push(fe);
        }
      }), m = g;
    }
    g++;
  }, "_loop"); g < p.length; )
    E();
  if (m !== p.length - 1) {
    var y = p.slice(m + 1, p.length);
    if (y && y.length) {
      var b = n && h.length + i, x = S(y, b);
      h.push(x);
    }
  }
  return t ? h : (c = []).concat.apply(c, h);
}
function jq(e) {
  var t = e.rows, r = e.stylesheet, n = e.useInlineStyles;
  return t.map(function(o, i) {
    return ki({
      node: o,
      stylesheet: r,
      useInlineStyles: n,
      key: "code-segement".concat(i)
    });
  });
}
function JD(e) {
  return e && typeof e.highlightAuto < "u";
}
function Vq(e) {
  var t = e.astGenerator, r = e.language, n = e.code, o = e.defaultCodeValue;
  if (JD(t)) {
    var i = qD(t, r);
    return r === "text" ? {
      value: o,
      language: "text"
    } : i ? t.highlight(r, n) : t.highlightAuto(n);
  }
  try {
    return r && r !== "text" ? {
      value: t.highlight(n, r)
    } : {
      value: o
    };
  } catch {
    return {
      value: o
    };
  }
}
function e4(e, t) {
  return /* @__PURE__ */ a(function(n) {
    var o = n.language, i = n.children, s = n.style, l = s === void 0 ? t : s, u = n.customStyle, c = u === void 0 ? {} : u, p = n.codeTagProps,
    h = p === void 0 ? {
      className: o ? "language-".concat(o) : void 0,
      style: to(to({}, l['code[class*="language-"]']), l['code[class*="language-'.concat(o, '"]')])
    } : p, m = n.useInlineStyles, g = m === void 0 ? !0 : m, w = n.showLineNumbers, v = w === void 0 ? !1 : w, S = n.showInlineLineNumbers, E = S ===
    void 0 ? !0 : S, y = n.startingLineNumber, b = y === void 0 ? 1 : y, x = n.lineNumberContainerStyle, R = n.lineNumberStyle, C = R === void 0 ?
    {} : R, D = n.wrapLines, A = n.wrapLongLines, P = A === void 0 ? !1 : A, k = n.lineProps, M = k === void 0 ? {} : k, V = n.renderer, H = n.
    PreTag, X = H === void 0 ? "pre" : H, B = n.CodeTag, O = B === void 0 ? "code" : B, K = n.code, re = K === void 0 ? (Array.isArray(i) ? i[0] :
    i) || "" : K, Q = n.astGenerator, ue = AD(n, Oq);
    Q = Q || e;
    var Z = v ? /* @__PURE__ */ La.default.createElement(zq, {
      containerStyle: x,
      codeStyle: h.style || {},
      numberStyle: C,
      startingLineNumber: b,
      codeString: re
    }) : null, fe = l.hljs || l['pre[class*="language-"]'] || {
      backgroundColor: "#fff"
    }, Xe = JD(Q) ? "hljs" : "prismjs", Ee = g ? Object.assign({}, ue, {
      style: Object.assign({}, fe, c)
    }) : Object.assign({}, ue, {
      className: ue.className ? "".concat(Xe, " ").concat(ue.className) : Xe,
      style: Object.assign({}, c)
    });
    if (P ? h.style = to(to({}, h.style), {}, {
      whiteSpace: "pre-wrap"
    }) : h.style = to(to({}, h.style), {}, {
      whiteSpace: "pre"
    }), !Q)
      return /* @__PURE__ */ La.default.createElement(X, Ee, Z, /* @__PURE__ */ La.default.createElement(O, h, re));
    (D === void 0 && V || P) && (D = !0), V = V || jq;
    var Oe = [{
      type: "text",
      value: re
    }], We = Vq({
      astGenerator: Q,
      language: o,
      code: re,
      defaultCodeValue: Oe
    });
    We.language === null && (We.value = Oe);
    var ot = We.value.length + b, ir = $q(We, D, M, v, E, b, ot, C, P);
    return /* @__PURE__ */ La.default.createElement(X, Ee, /* @__PURE__ */ La.default.createElement(O, h, !E && Z, V({
      rows: ir,
      stylesheet: l,
      useInlineStyles: g
    })));
  }, "SyntaxHighlighter");
}
var La, Oq, Nq, ZD = I(() => {
  _D();
  BD();
  Qy();
  La = _(F());
  Zy();
  GD();
  Oq = ["language", "children", "style", "customStyle", "codeTagProps", "useInlineStyles", "showLineNumbers", "showInlineLineNumbers", "star\
tingLineNumber", "lineNumberContainerStyle", "lineNumberStyle", "wrapLines", "wrapLongLines", "lineProps", "renderer", "PreTag", "CodeTag", "\
code", "astGenerator"];
  a(YD, "ownKeys");
  a(to, "_objectSpread");
  Nq = /\n/g;
  a(Mq, "getNewLines");
  a(Bq, "getAllLineNumbers");
  a(zq, "AllLineNumbers");
  a(Hq, "getEmWidthOfNumber");
  a(KD, "getInlineLineNumber");
  a(XD, "assembleLineNumberStyles");
  a(B1, "createLineElement");
  a(QD, "flattenCodeTree");
  a($q, "processLines");
  a(jq, "defaultRenderer");
  a(JD, "isHighlightJs");
  a(Vq, "getCodeTree");
  a(e4, "default");
});

// ../node_modules/xtend/immutable.js
var t8 = L((Yye, e8) => {
  e8.exports = Wq;
  var Uq = Object.prototype.hasOwnProperty;
  function Wq() {
    for (var e = {}, t = 0; t < arguments.length; t++) {
      var r = arguments[t];
      for (var n in r)
        Uq.call(r, n) && (e[n] = r[n]);
    }
    return e;
  }
  a(Wq, "extend");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/schema.js
var r4 = L((Xye, n8) => {
  "use strict";
  n8.exports = r8;
  var t4 = r8.prototype;
  t4.space = null;
  t4.normal = {};
  t4.property = {};
  function r8(e, t, r) {
    this.property = e, this.normal = t, r && (this.space = r);
  }
  a(r8, "Schema");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/merge.js
var i8 = L((Jye, a8) => {
  "use strict";
  var o8 = t8(), qq = r4();
  a8.exports = Gq;
  function Gq(e) {
    for (var t = e.length, r = [], n = [], o = -1, i, s; ++o < t; )
      i = e[o], r.push(i.property), n.push(i.normal), s = i.space;
    return new qq(
      o8.apply(null, r),
      o8.apply(null, n),
      s
    );
  }
  a(Gq, "merge");
});

// ../node_modules/hastscript/node_modules/property-information/normalize.js
var z1 = L((e4e, s8) => {
  "use strict";
  s8.exports = Yq;
  function Yq(e) {
    return e.toLowerCase();
  }
  a(Yq, "normalize");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/info.js
var n4 = L((r4e, u8) => {
  "use strict";
  u8.exports = l8;
  var Xr = l8.prototype;
  Xr.space = null;
  Xr.attribute = null;
  Xr.property = null;
  Xr.boolean = !1;
  Xr.booleanish = !1;
  Xr.overloadedBoolean = !1;
  Xr.number = !1;
  Xr.commaSeparated = !1;
  Xr.spaceSeparated = !1;
  Xr.commaOrSpaceSeparated = !1;
  Xr.mustUseProperty = !1;
  Xr.defined = !1;
  function l8(e, t) {
    this.property = e, this.attribute = t;
  }
  a(l8, "Info");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/types.js
var H1 = L((Oa) => {
  "use strict";
  var Kq = 0;
  Oa.boolean = Fi();
  Oa.booleanish = Fi();
  Oa.overloadedBoolean = Fi();
  Oa.number = Fi();
  Oa.spaceSeparated = Fi();
  Oa.commaSeparated = Fi();
  Oa.commaOrSpaceSeparated = Fi();
  function Fi() {
    return Math.pow(2, ++Kq);
  }
  a(Fi, "increment");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/defined-info.js
var a4 = L((i4e, h8) => {
  "use strict";
  var f8 = n4(), c8 = H1();
  h8.exports = o4;
  o4.prototype = new f8();
  o4.prototype.defined = !0;
  var d8 = [
    "boolean",
    "booleanish",
    "overloadedBoolean",
    "number",
    "commaSeparated",
    "spaceSeparated",
    "commaOrSpaceSeparated"
  ], Xq = d8.length;
  function o4(e, t, r, n) {
    var o = -1, i;
    for (p8(this, "space", n), f8.call(this, e, t); ++o < Xq; )
      i = d8[o], p8(this, i, (r & c8[i]) === c8[i]);
  }
  a(o4, "DefinedInfo");
  function p8(e, t, r) {
    r && (e[t] = r);
  }
  a(p8, "mark");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/create.js
var Dl = L((l4e, g8) => {
  "use strict";
  var m8 = z1(), Qq = r4(), Jq = a4();
  g8.exports = Zq;
  function Zq(e) {
    var t = e.space, r = e.mustUseProperty || [], n = e.attributes || {}, o = e.properties, i = e.transform, s = {}, l = {}, u, c;
    for (u in o)
      c = new Jq(
        u,
        i(n, u),
        o[u],
        t
      ), r.indexOf(u) !== -1 && (c.mustUseProperty = !0), s[u] = c, l[m8(u)] = u, l[m8(c.attribute)] = u;
    return new Qq(s, l, t);
  }
  a(Zq, "create");
});

// ../node_modules/hastscript/node_modules/property-information/lib/xlink.js
var y8 = L((c4e, v8) => {
  "use strict";
  var eG = Dl();
  v8.exports = eG({
    space: "xlink",
    transform: tG,
    properties: {
      xLinkActuate: null,
      xLinkArcRole: null,
      xLinkHref: null,
      xLinkRole: null,
      xLinkShow: null,
      xLinkTitle: null,
      xLinkType: null
    }
  });
  function tG(e, t) {
    return "xlink:" + t.slice(5).toLowerCase();
  }
  a(tG, "xlinkTransform");
});

// ../node_modules/hastscript/node_modules/property-information/lib/xml.js
var S8 = L((f4e, w8) => {
  "use strict";
  var rG = Dl();
  w8.exports = rG({
    space: "xml",
    transform: nG,
    properties: {
      xmlLang: null,
      xmlBase: null,
      xmlSpace: null
    }
  });
  function nG(e, t) {
    return "xml:" + t.slice(3).toLowerCase();
  }
  a(nG, "xmlTransform");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/case-sensitive-transform.js
var b8 = L((h4e, E8) => {
  "use strict";
  E8.exports = oG;
  function oG(e, t) {
    return t in e ? e[t] : t;
  }
  a(oG, "caseSensitiveTransform");
});

// ../node_modules/hastscript/node_modules/property-information/lib/util/case-insensitive-transform.js
var i4 = L((g4e, x8) => {
  "use strict";
  var aG = b8();
  x8.exports = iG;
  function iG(e, t) {
    return aG(e, t.toLowerCase());
  }
  a(iG, "caseInsensitiveTransform");
});

// ../node_modules/hastscript/node_modules/property-information/lib/xmlns.js
var C8 = L((y4e, R8) => {
  "use strict";
  var sG = Dl(), lG = i4();
  R8.exports = sG({
    space: "xmlns",
    attributes: {
      xmlnsxlink: "xmlns:xlink"
    },
    transform: lG,
    properties: {
      xmlns: null,
      xmlnsXLink: null
    }
  });
});

// ../node_modules/hastscript/node_modules/property-information/lib/aria.js
var A8 = L((w4e, D8) => {
  "use strict";
  var s4 = H1(), uG = Dl(), hr = s4.booleanish, Qr = s4.number, Li = s4.spaceSeparated;
  D8.exports = uG({
    transform: cG,
    properties: {
      ariaActiveDescendant: null,
      ariaAtomic: hr,
      ariaAutoComplete: null,
      ariaBusy: hr,
      ariaChecked: hr,
      ariaColCount: Qr,
      ariaColIndex: Qr,
      ariaColSpan: Qr,
      ariaControls: Li,
      ariaCurrent: null,
      ariaDescribedBy: Li,
      ariaDetails: null,
      ariaDisabled: hr,
      ariaDropEffect: Li,
      ariaErrorMessage: null,
      ariaExpanded: hr,
      ariaFlowTo: Li,
      ariaGrabbed: hr,
      ariaHasPopup: null,
      ariaHidden: hr,
      ariaInvalid: null,
      ariaKeyShortcuts: null,
      ariaLabel: null,
      ariaLabelledBy: Li,
      ariaLevel: Qr,
      ariaLive: null,
      ariaModal: hr,
      ariaMultiLine: hr,
      ariaMultiSelectable: hr,
      ariaOrientation: null,
      ariaOwns: Li,
      ariaPlaceholder: null,
      ariaPosInSet: Qr,
      ariaPressed: hr,
      ariaReadOnly: hr,
      ariaRelevant: null,
      ariaRequired: hr,
      ariaRoleDescription: Li,
      ariaRowCount: Qr,
      ariaRowIndex: Qr,
      ariaRowSpan: Qr,
      ariaSelected: hr,
      ariaSetSize: Qr,
      ariaSort: null,
      ariaValueMax: Qr,
      ariaValueMin: Qr,
      ariaValueNow: Qr,
      ariaValueText: null,
      role: null
    }
  });
  function cG(e, t) {
    return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
  }
  a(cG, "ariaTransform");
});

// ../node_modules/hastscript/node_modules/property-information/lib/html.js
var T8 = L((E4e, _8) => {
  "use strict";
  var Al = H1(), pG = Dl(), fG = i4(), ae = Al.boolean, dG = Al.overloadedBoolean, Wp = Al.booleanish, _e = Al.number, Jt = Al.spaceSeparated,
  $1 = Al.commaSeparated;
  _8.exports = pG({
    space: "html",
    attributes: {
      acceptcharset: "accept-charset",
      classname: "class",
      htmlfor: "for",
      httpequiv: "http-equiv"
    },
    transform: fG,
    mustUseProperty: ["checked", "multiple", "muted", "selected"],
    properties: {
      // Standard Properties.
      abbr: null,
      accept: $1,
      acceptCharset: Jt,
      accessKey: Jt,
      action: null,
      allow: null,
      allowFullScreen: ae,
      allowPaymentRequest: ae,
      allowUserMedia: ae,
      alt: null,
      as: null,
      async: ae,
      autoCapitalize: null,
      autoComplete: Jt,
      autoFocus: ae,
      autoPlay: ae,
      capture: ae,
      charSet: null,
      checked: ae,
      cite: null,
      className: Jt,
      cols: _e,
      colSpan: null,
      content: null,
      contentEditable: Wp,
      controls: ae,
      controlsList: Jt,
      coords: _e | $1,
      crossOrigin: null,
      data: null,
      dateTime: null,
      decoding: null,
      default: ae,
      defer: ae,
      dir: null,
      dirName: null,
      disabled: ae,
      download: dG,
      draggable: Wp,
      encType: null,
      enterKeyHint: null,
      form: null,
      formAction: null,
      formEncType: null,
      formMethod: null,
      formNoValidate: ae,
      formTarget: null,
      headers: Jt,
      height: _e,
      hidden: ae,
      high: _e,
      href: null,
      hrefLang: null,
      htmlFor: Jt,
      httpEquiv: Jt,
      id: null,
      imageSizes: null,
      imageSrcSet: $1,
      inputMode: null,
      integrity: null,
      is: null,
      isMap: ae,
      itemId: null,
      itemProp: Jt,
      itemRef: Jt,
      itemScope: ae,
      itemType: Jt,
      kind: null,
      label: null,
      lang: null,
      language: null,
      list: null,
      loading: null,
      loop: ae,
      low: _e,
      manifest: null,
      max: null,
      maxLength: _e,
      media: null,
      method: null,
      min: null,
      minLength: _e,
      multiple: ae,
      muted: ae,
      name: null,
      nonce: null,
      noModule: ae,
      noValidate: ae,
      onAbort: null,
      onAfterPrint: null,
      onAuxClick: null,
      onBeforePrint: null,
      onBeforeUnload: null,
      onBlur: null,
      onCancel: null,
      onCanPlay: null,
      onCanPlayThrough: null,
      onChange: null,
      onClick: null,
      onClose: null,
      onContextMenu: null,
      onCopy: null,
      onCueChange: null,
      onCut: null,
      onDblClick: null,
      onDrag: null,
      onDragEnd: null,
      onDragEnter: null,
      onDragExit: null,
      onDragLeave: null,
      onDragOver: null,
      onDragStart: null,
      onDrop: null,
      onDurationChange: null,
      onEmptied: null,
      onEnded: null,
      onError: null,
      onFocus: null,
      onFormData: null,
      onHashChange: null,
      onInput: null,
      onInvalid: null,
      onKeyDown: null,
      onKeyPress: null,
      onKeyUp: null,
      onLanguageChange: null,
      onLoad: null,
      onLoadedData: null,
      onLoadedMetadata: null,
      onLoadEnd: null,
      onLoadStart: null,
      onMessage: null,
      onMessageError: null,
      onMouseDown: null,
      onMouseEnter: null,
      onMouseLeave: null,
      onMouseMove: null,
      onMouseOut: null,
      onMouseOver: null,
      onMouseUp: null,
      onOffline: null,
      onOnline: null,
      onPageHide: null,
      onPageShow: null,
      onPaste: null,
      onPause: null,
      onPlay: null,
      onPlaying: null,
      onPopState: null,
      onProgress: null,
      onRateChange: null,
      onRejectionHandled: null,
      onReset: null,
      onResize: null,
      onScroll: null,
      onSecurityPolicyViolation: null,
      onSeeked: null,
      onSeeking: null,
      onSelect: null,
      onSlotChange: null,
      onStalled: null,
      onStorage: null,
      onSubmit: null,
      onSuspend: null,
      onTimeUpdate: null,
      onToggle: null,
      onUnhandledRejection: null,
      onUnload: null,
      onVolumeChange: null,
      onWaiting: null,
      onWheel: null,
      open: ae,
      optimum: _e,
      pattern: null,
      ping: Jt,
      placeholder: null,
      playsInline: ae,
      poster: null,
      preload: null,
      readOnly: ae,
      referrerPolicy: null,
      rel: Jt,
      required: ae,
      reversed: ae,
      rows: _e,
      rowSpan: _e,
      sandbox: Jt,
      scope: null,
      scoped: ae,
      seamless: ae,
      selected: ae,
      shape: null,
      size: _e,
      sizes: null,
      slot: null,
      span: _e,
      spellCheck: Wp,
      src: null,
      srcDoc: null,
      srcLang: null,
      srcSet: $1,
      start: _e,
      step: null,
      style: null,
      tabIndex: _e,
      target: null,
      title: null,
      translate: null,
      type: null,
      typeMustMatch: ae,
      useMap: null,
      value: Wp,
      width: _e,
      wrap: null,
      // Legacy.
      // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
      align: null,
      // Several. Use CSS `text-align` instead,
      aLink: null,
      // `<body>`. Use CSS `a:active {color}` instead
      archive: Jt,
      // `<object>`. List of URIs to archives
      axis: null,
      // `<td>` and `<th>`. Use `scope` on `<th>`
      background: null,
      // `<body>`. Use CSS `background-image` instead
      bgColor: null,
      // `<body>` and table elements. Use CSS `background-color` instead
      border: _e,
      // `<table>`. Use CSS `border-width` instead,
      borderColor: null,
      // `<table>`. Use CSS `border-color` instead,
      bottomMargin: _e,
      // `<body>`
      cellPadding: null,
      // `<table>`
      cellSpacing: null,
      // `<table>`
      char: null,
      // Several table elements. When `align=char`, sets the character to align on
      charOff: null,
      // Several table elements. When `char`, offsets the alignment
      classId: null,
      // `<object>`
      clear: null,
      // `<br>`. Use CSS `clear` instead
      code: null,
      // `<object>`
      codeBase: null,
      // `<object>`
      codeType: null,
      // `<object>`
      color: null,
      // `<font>` and `<hr>`. Use CSS instead
      compact: ae,
      // Lists. Use CSS to reduce space between items instead
      declare: ae,
      // `<object>`
      event: null,
      // `<script>`
      face: null,
      // `<font>`. Use CSS instead
      frame: null,
      // `<table>`
      frameBorder: null,
      // `<iframe>`. Use CSS `border` instead
      hSpace: _e,
      // `<img>` and `<object>`
      leftMargin: _e,
      // `<body>`
      link: null,
      // `<body>`. Use CSS `a:link {color: *}` instead
      longDesc: null,
      // `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
      lowSrc: null,
      // `<img>`. Use a `<picture>`
      marginHeight: _e,
      // `<body>`
      marginWidth: _e,
      // `<body>`
      noResize: ae,
      // `<frame>`
      noHref: ae,
      // `<area>`. Use no href instead of an explicit `nohref`
      noShade: ae,
      // `<hr>`. Use background-color and height instead of borders
      noWrap: ae,
      // `<td>` and `<th>`
      object: null,
      // `<applet>`
      profile: null,
      // `<head>`
      prompt: null,
      // `<isindex>`
      rev: null,
      // `<link>`
      rightMargin: _e,
      // `<body>`
      rules: null,
      // `<table>`
      scheme: null,
      // `<meta>`
      scrolling: Wp,
      // `<frame>`. Use overflow in the child context
      standby: null,
      // `<object>`
      summary: null,
      // `<table>`
      text: null,
      // `<body>`. Use CSS `color` instead
      topMargin: _e,
      // `<body>`
      valueType: null,
      // `<param>`
      version: null,
      // `<html>`. Use a doctype.
      vAlign: null,
      // Several. Use CSS `vertical-align` instead
      vLink: null,
      // `<body>`. Use CSS `a:visited {color}` instead
      vSpace: _e,
      // `<img>` and `<object>`
      // Non-standard Properties.
      allowTransparency: null,
      autoCorrect: null,
      autoSave: null,
      disablePictureInPicture: ae,
      disableRemotePlayback: ae,
      prefix: null,
      property: null,
      results: _e,
      security: null,
      unselectable: null
    }
  });
});

// ../node_modules/hastscript/node_modules/property-information/html.js
var P8 = L((b4e, I8) => {
  "use strict";
  var hG = i8(), mG = y8(), gG = S8(), vG = C8(), yG = A8(), wG = T8();
  I8.exports = hG([gG, mG, vG, yG, wG]);
});

// ../node_modules/hastscript/node_modules/property-information/find.js
var L8 = L((x4e, F8) => {
  "use strict";
  var SG = z1(), EG = a4(), bG = n4(), l4 = "data";
  F8.exports = CG;
  var xG = /^data[-\w.:]+$/i, k8 = /-[a-z]/g, RG = /[A-Z]/g;
  function CG(e, t) {
    var r = SG(t), n = t, o = bG;
    return r in e.normal ? e.property[e.normal[r]] : (r.length > 4 && r.slice(0, 4) === l4 && xG.test(t) && (t.charAt(4) === "-" ? n = DG(t) :
    t = AG(t), o = EG), new o(n, t));
  }
  a(CG, "find");
  function DG(e) {
    var t = e.slice(5).replace(k8, TG);
    return l4 + t.charAt(0).toUpperCase() + t.slice(1);
  }
  a(DG, "datasetToProperty");
  function AG(e) {
    var t = e.slice(4);
    return k8.test(t) ? e : (t = t.replace(RG, _G), t.charAt(0) !== "-" && (t = "-" + t), l4 + t);
  }
  a(AG, "datasetToAttribute");
  function _G(e) {
    return "-" + e.toLowerCase();
  }
  a(_G, "kebab");
  function TG(e) {
    return e.charAt(1).toUpperCase();
  }
  a(TG, "camelcase");
});

// ../node_modules/hast-util-parse-selector/index.js
var M8 = L((C4e, N8) => {
  "use strict";
  N8.exports = IG;
  var O8 = /[#.]/g;
  function IG(e, t) {
    for (var r = e || "", n = t || "div", o = {}, i = 0, s, l, u; i < r.length; )
      O8.lastIndex = i, u = O8.exec(r), s = r.slice(i, u ? u.index : r.length), s && (l ? l === "#" ? o.id = s : o.className ? o.className.push(
      s) : o.className = [s] : n = s, i += s.length), u && (l = u[0], i++);
    return { type: "element", tagName: n, properties: o, children: [] };
  }
  a(IG, "parse");
});

// ../node_modules/hastscript/node_modules/space-separated-tokens/index.js
var z8 = L((u4) => {
  "use strict";
  u4.parse = FG;
  u4.stringify = LG;
  var B8 = "", PG = " ", kG = /[ \t\n\r\f]+/g;
  function FG(e) {
    var t = String(e || B8).trim();
    return t === B8 ? [] : t.split(kG);
  }
  a(FG, "parse");
  function LG(e) {
    return e.join(PG).trim();
  }
  a(LG, "stringify");
});

// ../node_modules/hastscript/node_modules/comma-separated-tokens/index.js
var $8 = L((p4) => {
  "use strict";
  p4.parse = OG;
  p4.stringify = NG;
  var c4 = ",", H8 = " ", qp = "";
  function OG(e) {
    for (var t = [], r = String(e || qp), n = r.indexOf(c4), o = 0, i = !1, s; !i; )
      n === -1 && (n = r.length, i = !0), s = r.slice(o, n).trim(), (s || !i) && t.push(s), o = n + 1, n = r.indexOf(c4, o);
    return t;
  }
  a(OG, "parse");
  function NG(e, t) {
    var r = t || {}, n = r.padLeft === !1 ? qp : H8, o = r.padRight ? H8 : qp;
    return e[e.length - 1] === qp && (e = e.concat(qp)), e.join(o + c4 + n).trim();
  }
  a(NG, "stringify");
});

// ../node_modules/hastscript/factory.js
var Y8 = L((P4e, G8) => {
  "use strict";
  var MG = L8(), j8 = z1(), BG = M8(), V8 = z8().parse, U8 = $8().parse;
  G8.exports = HG;
  var zG = {}.hasOwnProperty;
  function HG(e, t, r) {
    var n = r ? WG(r) : null;
    return o;
    function o(s, l) {
      var u = BG(s, t), c = Array.prototype.slice.call(arguments, 2), p = u.tagName.toLowerCase(), h;
      if (u.tagName = n && zG.call(n, p) ? n[p] : p, l && $G(l, u) && (c.unshift(l), l = null), l)
        for (h in l)
          i(u.properties, h, l[h]);
      return q8(u.children, c), u.tagName === "template" && (u.content = { type: "root", children: u.children }, u.children = []), u;
    }
    function i(s, l, u) {
      var c, p, h;
      u == null || u !== u || (c = MG(e, l), p = c.property, h = u, typeof h == "string" && (c.spaceSeparated ? h = V8(h) : c.commaSeparated ?
      h = U8(h) : c.commaOrSpaceSeparated && (h = V8(U8(h).join(" ")))), p === "style" && typeof u != "string" && (h = UG(h)), p === "classN\
ame" && s.className && (h = s.className.concat(h)), s[p] = VG(c, p, h));
    }
  }
  a(HG, "factory");
  function $G(e, t) {
    return typeof e == "string" || "length" in e || jG(t.tagName, e);
  }
  a($G, "isChildren");
  function jG(e, t) {
    var r = t.type;
    return e === "input" || !r || typeof r != "string" ? !1 : typeof t.children == "object" && "length" in t.children ? !0 : (r = r.toLowerCase(),
    e === "button" ? r !== "menu" && r !== "submit" && r !== "reset" && r !== "button" : "value" in t);
  }
  a(jG, "isNode");
  function q8(e, t) {
    var r, n;
    if (typeof t == "string" || typeof t == "number") {
      e.push({ type: "text", value: String(t) });
      return;
    }
    if (typeof t == "object" && "length" in t) {
      for (r = -1, n = t.length; ++r < n; )
        q8(e, t[r]);
      return;
    }
    if (typeof t != "object" || !("type" in t))
      throw new Error("Expected node, nodes, or string, got `" + t + "`");
    e.push(t);
  }
  a(q8, "addChild");
  function VG(e, t, r) {
    var n, o, i;
    if (typeof r != "object" || !("length" in r))
      return W8(e, t, r);
    for (o = r.length, n = -1, i = []; ++n < o; )
      i[n] = W8(e, t, r[n]);
    return i;
  }
  a(VG, "parsePrimitives");
  function W8(e, t, r) {
    var n = r;
    return e.number || e.positiveNumber ? !isNaN(n) && n !== "" && (n = Number(n)) : (e.boolean || e.overloadedBoolean) && typeof n == "stri\
ng" && (n === "" || j8(r) === j8(t)) && (n = !0), n;
  }
  a(W8, "parsePrimitive");
  function UG(e) {
    var t = [], r;
    for (r in e)
      t.push([r, e[r]].join(": "));
    return t.join("; ");
  }
  a(UG, "style");
  function WG(e) {
    for (var t = e.length, r = -1, n = {}, o; ++r < t; )
      o = e[r], n[o.toLowerCase()] = o;
    return n;
  }
  a(WG, "createAdjustMap");
});

// ../node_modules/hastscript/html.js
var Q8 = L((F4e, X8) => {
  "use strict";
  var qG = P8(), GG = Y8(), K8 = GG(qG, "div");
  K8.displayName = "html";
  X8.exports = K8;
});

// ../node_modules/hastscript/index.js
var Z8 = L((L4e, J8) => {
  "use strict";
  J8.exports = Q8();
});

// ../node_modules/refractor/node_modules/character-entities-legacy/index.json
var eA = L((O4e, YG) => {
  YG.exports = {
    AElig: "\xC6",
    AMP: "&",
    Aacute: "\xC1",
    Acirc: "\xC2",
    Agrave: "\xC0",
    Aring: "\xC5",
    Atilde: "\xC3",
    Auml: "\xC4",
    COPY: "\xA9",
    Ccedil: "\xC7",
    ETH: "\xD0",
    Eacute: "\xC9",
    Ecirc: "\xCA",
    Egrave: "\xC8",
    Euml: "\xCB",
    GT: ">",
    Iacute: "\xCD",
    Icirc: "\xCE",
    Igrave: "\xCC",
    Iuml: "\xCF",
    LT: "<",
    Ntilde: "\xD1",
    Oacute: "\xD3",
    Ocirc: "\xD4",
    Ograve: "\xD2",
    Oslash: "\xD8",
    Otilde: "\xD5",
    Ouml: "\xD6",
    QUOT: '"',
    REG: "\xAE",
    THORN: "\xDE",
    Uacute: "\xDA",
    Ucirc: "\xDB",
    Ugrave: "\xD9",
    Uuml: "\xDC",
    Yacute: "\xDD",
    aacute: "\xE1",
    acirc: "\xE2",
    acute: "\xB4",
    aelig: "\xE6",
    agrave: "\xE0",
    amp: "&",
    aring: "\xE5",
    atilde: "\xE3",
    auml: "\xE4",
    brvbar: "\xA6",
    ccedil: "\xE7",
    cedil: "\xB8",
    cent: "\xA2",
    copy: "\xA9",
    curren: "\xA4",
    deg: "\xB0",
    divide: "\xF7",
    eacute: "\xE9",
    ecirc: "\xEA",
    egrave: "\xE8",
    eth: "\xF0",
    euml: "\xEB",
    frac12: "\xBD",
    frac14: "\xBC",
    frac34: "\xBE",
    gt: ">",
    iacute: "\xED",
    icirc: "\xEE",
    iexcl: "\xA1",
    igrave: "\xEC",
    iquest: "\xBF",
    iuml: "\xEF",
    laquo: "\xAB",
    lt: "<",
    macr: "\xAF",
    micro: "\xB5",
    middot: "\xB7",
    nbsp: "\xA0",
    not: "\xAC",
    ntilde: "\xF1",
    oacute: "\xF3",
    ocirc: "\xF4",
    ograve: "\xF2",
    ordf: "\xAA",
    ordm: "\xBA",
    oslash: "\xF8",
    otilde: "\xF5",
    ouml: "\xF6",
    para: "\xB6",
    plusmn: "\xB1",
    pound: "\xA3",
    quot: '"',
    raquo: "\xBB",
    reg: "\xAE",
    sect: "\xA7",
    shy: "\xAD",
    sup1: "\xB9",
    sup2: "\xB2",
    sup3: "\xB3",
    szlig: "\xDF",
    thorn: "\xFE",
    times: "\xD7",
    uacute: "\xFA",
    ucirc: "\xFB",
    ugrave: "\xF9",
    uml: "\xA8",
    uuml: "\xFC",
    yacute: "\xFD",
    yen: "\xA5",
    yuml: "\xFF"
  };
});

// ../node_modules/refractor/node_modules/character-reference-invalid/index.json
var tA = L((N4e, KG) => {
  KG.exports = {
    "0": "\uFFFD",
    "128": "\u20AC",
    "130": "\u201A",
    "131": "\u0192",
    "132": "\u201E",
    "133": "\u2026",
    "134": "\u2020",
    "135": "\u2021",
    "136": "\u02C6",
    "137": "\u2030",
    "138": "\u0160",
    "139": "\u2039",
    "140": "\u0152",
    "142": "\u017D",
    "145": "\u2018",
    "146": "\u2019",
    "147": "\u201C",
    "148": "\u201D",
    "149": "\u2022",
    "150": "\u2013",
    "151": "\u2014",
    "152": "\u02DC",
    "153": "\u2122",
    "154": "\u0161",
    "155": "\u203A",
    "156": "\u0153",
    "158": "\u017E",
    "159": "\u0178"
  };
});

// ../node_modules/refractor/node_modules/is-decimal/index.js
var f4 = L((M4e, rA) => {
  "use strict";
  rA.exports = XG;
  function XG(e) {
    var t = typeof e == "string" ? e.charCodeAt(0) : e;
    return t >= 48 && t <= 57;
  }
  a(XG, "decimal");
});

// ../node_modules/refractor/node_modules/is-hexadecimal/index.js
var oA = L((z4e, nA) => {
  "use strict";
  nA.exports = QG;
  function QG(e) {
    var t = typeof e == "string" ? e.charCodeAt(0) : e;
    return t >= 97 && t <= 102 || t >= 65 && t <= 70 || t >= 48 && t <= 57;
  }
  a(QG, "hexadecimal");
});

// ../node_modules/refractor/node_modules/is-alphabetical/index.js
var iA = L(($4e, aA) => {
  "use strict";
  aA.exports = JG;
  function JG(e) {
    var t = typeof e == "string" ? e.charCodeAt(0) : e;
    return t >= 97 && t <= 122 || t >= 65 && t <= 90;
  }
  a(JG, "alphabetical");
});

// ../node_modules/refractor/node_modules/is-alphanumerical/index.js
var lA = L((V4e, sA) => {
  "use strict";
  var ZG = iA(), eY = f4();
  sA.exports = tY;
  function tY(e) {
    return ZG(e) || eY(e);
  }
  a(tY, "alphanumerical");
});

// ../node_modules/refractor/node_modules/parse-entities/decode-entity.browser.js
var cA = L((W4e, uA) => {
  "use strict";
  var j1, rY = 59;
  uA.exports = nY;
  function nY(e) {
    var t = "&" + e + ";", r;
    return j1 = j1 || document.createElement("i"), j1.innerHTML = t, r = j1.textContent, r.charCodeAt(r.length - 1) === rY && e !== "semi" ||
    r === t ? !1 : r;
  }
  a(nY, "decodeEntity");
});

// ../node_modules/refractor/node_modules/parse-entities/index.js
var RA = L((G4e, xA) => {
  "use strict";
  var pA = eA(), fA = tA(), oY = f4(), aY = oA(), gA = lA(), iY = cA();
  xA.exports = wY;
  var sY = {}.hasOwnProperty, _l = String.fromCharCode, lY = Function.prototype, dA = {
    warning: null,
    reference: null,
    text: null,
    warningContext: null,
    referenceContext: null,
    textContext: null,
    position: {},
    additional: null,
    attribute: !1,
    nonTerminated: !0
  }, uY = 9, hA = 10, cY = 12, pY = 32, mA = 38, fY = 59, dY = 60, hY = 61, mY = 35, gY = 88, vY = 120, yY = 65533, Tl = "named", h4 = "hexa\
decimal", m4 = "decimal", g4 = {};
  g4[h4] = 16;
  g4[m4] = 10;
  var V1 = {};
  V1[Tl] = gA;
  V1[m4] = oY;
  V1[h4] = aY;
  var vA = 1, yA = 2, wA = 3, SA = 4, EA = 5, d4 = 6, bA = 7, Na = {};
  Na[vA] = "Named character references must be terminated by a semicolon";
  Na[yA] = "Numeric character references must be terminated by a semicolon";
  Na[wA] = "Named character references cannot be empty";
  Na[SA] = "Numeric character references cannot be empty";
  Na[EA] = "Named character references must be known";
  Na[d4] = "Numeric character references cannot be disallowed";
  Na[bA] = "Numeric character references cannot be outside the permissible Unicode range";
  function wY(e, t) {
    var r = {}, n, o;
    t || (t = {});
    for (o in dA)
      n = t[o], r[o] = n ?? dA[o];
    return (r.position.indent || r.position.start) && (r.indent = r.position.indent || [], r.position = r.position.start), SY(e, r);
  }
  a(wY, "parseEntities");
  function SY(e, t) {
    var r = t.additional, n = t.nonTerminated, o = t.text, i = t.reference, s = t.warning, l = t.textContext, u = t.referenceContext, c = t.
    warningContext, p = t.position, h = t.indent || [], m = e.length, g = 0, w = -1, v = p.column || 1, S = p.line || 1, E = "", y = [], b, x,
    R, C, D, A, P, k, M, V, H, X, B, O, K, re, Q, ue, Z;
    for (typeof r == "string" && (r = r.charCodeAt(0)), re = fe(), k = s ? Xe : lY, g--, m++; ++g < m; )
      if (D === hA && (v = h[w] || 1), D = e.charCodeAt(g), D === mA) {
        if (P = e.charCodeAt(g + 1), P === uY || P === hA || P === cY || P === pY || P === mA || P === dY || P !== P || r && P === r) {
          E += _l(D), v++;
          continue;
        }
        for (B = g + 1, X = B, Z = B, P === mY ? (Z = ++X, P = e.charCodeAt(Z), P === gY || P === vY ? (O = h4, Z = ++X) : O = m4) : O = Tl,
        b = "", H = "", C = "", K = V1[O], Z--; ++Z < m && (P = e.charCodeAt(Z), !!K(P)); )
          C += _l(P), O === Tl && sY.call(pA, C) && (b = C, H = pA[C]);
        R = e.charCodeAt(Z) === fY, R && (Z++, x = O === Tl ? iY(C) : !1, x && (b = C, H = x)), ue = 1 + Z - B, !R && !n || (C ? O === Tl ? (R &&
        !H ? k(EA, 1) : (b !== C && (Z = X + b.length, ue = 1 + Z - X, R = !1), R || (M = b ? vA : wA, t.attribute ? (P = e.charCodeAt(Z), P ===
        hY ? (k(M, ue), H = null) : gA(P) ? H = null : k(M, ue)) : k(M, ue))), A = H) : (R || k(yA, ue), A = parseInt(C, g4[O]), EY(A) ? (k(
        bA, ue), A = _l(yY)) : A in fA ? (k(d4, ue), A = fA[A]) : (V = "", bY(A) && k(d4, ue), A > 65535 && (A -= 65536, V += _l(A >>> 10 | 55296),
        A = 56320 | A & 1023), A = V + _l(A))) : O !== Tl && k(SA, ue)), A ? (Ee(), re = fe(), g = Z - 1, v += Z - B + 1, y.push(A), Q = fe(),
        Q.offset++, i && i.call(
          u,
          A,
          { start: re, end: Q },
          e.slice(B - 1, Z)
        ), re = Q) : (C = e.slice(B - 1, Z), E += C, v += C.length, g = Z - 1);
      } else
        D === 10 && (S++, w++, v = 0), D === D ? (E += _l(D), v++) : Ee();
    return y.join("");
    function fe() {
      return {
        line: S,
        column: v,
        offset: g + (p.offset || 0)
      };
    }
    function Xe(Oe, We) {
      var ot = fe();
      ot.column += We, ot.offset += We, s.call(c, Na[Oe], ot, Oe);
    }
    function Ee() {
      E && (y.push(E), o && o.call(l, E, { start: re, end: fe() }), E = "");
    }
  }
  a(SY, "parse");
  function EY(e) {
    return e >= 55296 && e <= 57343 || e > 1114111;
  }
  a(EY, "prohibited");
  function bY(e) {
    return e >= 1 && e <= 8 || e === 11 || e >= 13 && e <= 31 || e >= 127 && e <= 159 || e >= 64976 && e <= 65007 || (e & 65535) === 65535 ||
    (e & 65535) === 65534;
  }
  a(bY, "disallowed");
});

// ../node_modules/refractor/node_modules/prismjs/components/prism-core.js
var DA = L((K4e, U1) => {
  var xY = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
  var CA = function(e) {
    var t = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, r = 0, n = {}, o = {
      /**
       * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
       * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
       * additional languages or plugins yourself.
       *
       * By setting this value to `true`, Prism will not automatically highlight all code elements on the page.
       *
       * You obviously have to change this value before the automatic highlighting started. To do this, you can add an
       * empty Prism object into the global scope before loading the Prism script like this:
       *
       * ```js
       * window.Prism = window.Prism || {};
       * Prism.manual = true;
       * // add a new <script> to load Prism's script
       * ```
       *
       * @default false
       * @type {boolean}
       * @memberof Prism
       * @public
       */
      manual: e.Prism && e.Prism.manual,
      /**
       * By default, if Prism is in a web worker, it assumes that it is in a worker it created itself, so it uses
       * `addEventListener` to communicate with its parent instance. However, if you're using Prism manually in your
       * own worker, you don't want it to do this.
       *
       * By setting this value to `true`, Prism will not add its own listeners to the worker.
       *
       * You obviously have to change this value before Prism executes. To do this, you can add an
       * empty Prism object into the global scope before loading the Prism script like this:
       *
       * ```js
       * window.Prism = window.Prism || {};
       * Prism.disableWorkerMessageHandler = true;
       * // Load Prism's script
       * ```
       *
       * @default false
       * @type {boolean}
       * @memberof Prism
       * @public
       */
      disableWorkerMessageHandler: e.Prism && e.Prism.disableWorkerMessageHandler,
      /**
       * A namespace for utility methods.
       *
       * All function in this namespace that are not explicitly marked as _public_ are for __internal use only__ and may
       * change or disappear at any time.
       *
       * @namespace
       * @memberof Prism
       */
      util: {
        encode: /* @__PURE__ */ a(function v(S) {
          return S instanceof i ? new i(S.type, v(S.content), S.alias) : Array.isArray(S) ? S.map(v) : S.replace(/&/g, "&amp;").replace(/</g,
          "&lt;").replace(/\u00a0/g, " ");
        }, "encode"),
        /**
         * Returns the name of the type of the given value.
         *
         * @param {any} o
         * @returns {string}
         * @example
         * type(null)      === 'Null'
         * type(undefined) === 'Undefined'
         * type(123)       === 'Number'
         * type('foo')     === 'String'
         * type(true)      === 'Boolean'
         * type([1, 2])    === 'Array'
         * type({})        === 'Object'
         * type(String)    === 'Function'
         * type(/abc+/)    === 'RegExp'
         */
        type: /* @__PURE__ */ a(function(v) {
          return Object.prototype.toString.call(v).slice(8, -1);
        }, "type"),
        /**
         * Returns a unique number for the given object. Later calls will still return the same number.
         *
         * @param {Object} obj
         * @returns {number}
         */
        objId: /* @__PURE__ */ a(function(v) {
          return v.__id || Object.defineProperty(v, "__id", { value: ++r }), v.__id;
        }, "objId"),
        /**
         * Creates a deep clone of the given object.
         *
         * The main intended use of this function is to clone language definitions.
         *
         * @param {T} o
         * @param {Record<number, any>} [visited]
         * @returns {T}
         * @template T
         */
        clone: /* @__PURE__ */ a(function v(S, E) {
          E = E || {};
          var y, b;
          switch (o.util.type(S)) {
            case "Object":
              if (b = o.util.objId(S), E[b])
                return E[b];
              y = /** @type {Record<string, any>} */
              {}, E[b] = y;
              for (var x in S)
                S.hasOwnProperty(x) && (y[x] = v(S[x], E));
              return (
                /** @type {any} */
                y
              );
            case "Array":
              return b = o.util.objId(S), E[b] ? E[b] : (y = [], E[b] = y, /** @type {Array} */
              /** @type {any} */
              S.forEach(function(R, C) {
                y[C] = v(R, E);
              }), /** @type {any} */
              y);
            default:
              return S;
          }
        }, "deepClone"),
        /**
         * Returns the Prism language of the given element set by a `language-xxxx` or `lang-xxxx` class.
         *
         * If no language is set for the element or the element is `null` or `undefined`, `none` will be returned.
         *
         * @param {Element} element
         * @returns {string}
         */
        getLanguage: /* @__PURE__ */ a(function(v) {
          for (; v; ) {
            var S = t.exec(v.className);
            if (S)
              return S[1].toLowerCase();
            v = v.parentElement;
          }
          return "none";
        }, "getLanguage"),
        /**
         * Sets the Prism `language-xxxx` class of the given element.
         *
         * @param {Element} element
         * @param {string} language
         * @returns {void}
         */
        setLanguage: /* @__PURE__ */ a(function(v, S) {
          v.className = v.className.replace(RegExp(t, "gi"), ""), v.classList.add("language-" + S);
        }, "setLanguage"),
        /**
         * Returns the script element that is currently executing.
         *
         * This does __not__ work for line script element.
         *
         * @returns {HTMLScriptElement | null}
         */
        currentScript: /* @__PURE__ */ a(function() {
          if (typeof document > "u")
            return null;
          if ("currentScript" in document)
            return (
              /** @type {any} */
              document.currentScript
            );
          try {
            throw new Error();
          } catch (y) {
            var v = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(y.stack) || [])[1];
            if (v) {
              var S = document.getElementsByTagName("script");
              for (var E in S)
                if (S[E].src == v)
                  return S[E];
            }
            return null;
          }
        }, "currentScript"),
        /**
         * Returns whether a given class is active for `element`.
         *
         * The class can be activated if `element` or one of its ancestors has the given class and it can be deactivated
         * if `element` or one of its ancestors has the negated version of the given class. The _negated version_ of the
         * given class is just the given class with a `no-` prefix.
         *
         * Whether the class is active is determined by the closest ancestor of `element` (where `element` itself is
         * closest ancestor) that has the given class or the negated version of it. If neither `element` nor any of its
         * ancestors have the given class or the negated version of it, then the default activation will be returned.
         *
         * In the paradoxical situation where the closest ancestor contains __both__ the given class and the negated
         * version of it, the class is considered active.
         *
         * @param {Element} element
         * @param {string} className
         * @param {boolean} [defaultActivation=false]
         * @returns {boolean}
         */
        isActive: /* @__PURE__ */ a(function(v, S, E) {
          for (var y = "no-" + S; v; ) {
            var b = v.classList;
            if (b.contains(S))
              return !0;
            if (b.contains(y))
              return !1;
            v = v.parentElement;
          }
          return !!E;
        }, "isActive")
      },
      /**
       * This namespace contains all currently loaded languages and the some helper functions to create and modify languages.
       *
       * @namespace
       * @memberof Prism
       * @public
       */
      languages: {
        /**
         * The grammar for plain, unformatted text.
         */
        plain: n,
        plaintext: n,
        text: n,
        txt: n,
        /**
         * Creates a deep copy of the language with the given id and appends the given tokens.
         *
         * If a token in `redef` also appears in the copied language, then the existing token in the copied language
         * will be overwritten at its original position.
         *
         * ## Best practices
         *
         * Since the position of overwriting tokens (token in `redef` that overwrite tokens in the copied language)
         * doesn't matter, they can technically be in any order. However, this can be confusing to others that trying to
         * understand the language definition because, normally, the order of tokens matters in Prism grammars.
         *
         * Therefore, it is encouraged to order overwriting tokens according to the positions of the overwritten tokens.
         * Furthermore, all non-overwriting tokens should be placed after the overwriting ones.
         *
         * @param {string} id The id of the language to extend. This has to be a key in `Prism.languages`.
         * @param {Grammar} redef The new tokens to append.
         * @returns {Grammar} The new language created.
         * @public
         * @example
         * Prism.languages['css-with-colors'] = Prism.languages.extend('css', {
         *     // Prism.languages.css already has a 'comment' token, so this token will overwrite CSS' 'comment' token
         *     // at its original position
         *     'comment': { ... },
         *     // CSS doesn't have a 'color' token, so this token will be appended
         *     'color': /\b(?:red|green|blue)\b/
         * });
         */
        extend: /* @__PURE__ */ a(function(v, S) {
          var E = o.util.clone(o.languages[v]);
          for (var y in S)
            E[y] = S[y];
          return E;
        }, "extend"),
        /**
         * Inserts tokens _before_ another token in a language definition or any other grammar.
         *
         * ## Usage
         *
         * This helper method makes it easy to modify existing languages. For example, the CSS language definition
         * not only defines CSS highlighting for CSS documents, but also needs to define highlighting for CSS embedded
         * in HTML through `<style>` elements. To do this, it needs to modify `Prism.languages.markup` and add the
         * appropriate tokens. However, `Prism.languages.markup` is a regular JavaScript object literal, so if you do
         * this:
         *
         * ```js
         * Prism.languages.markup.style = {
         *     // token
         * };
         * ```
         *
         * then the `style` token will be added (and processed) at the end. `insertBefore` allows you to insert tokens
         * before existing tokens. For the CSS example above, you would use it like this:
         *
         * ```js
         * Prism.languages.insertBefore('markup', 'cdata', {
         *     'style': {
         *         // token
         *     }
         * });
         * ```
         *
         * ## Special cases
         *
         * If the grammars of `inside` and `insert` have tokens with the same name, the tokens in `inside`'s grammar
         * will be ignored.
         *
         * This behavior can be used to insert tokens after `before`:
         *
         * ```js
         * Prism.languages.insertBefore('markup', 'comment', {
         *     'comment': Prism.languages.markup.comment,
         *     // tokens after 'comment'
         * });
         * ```
         *
         * ## Limitations
         *
         * The main problem `insertBefore` has to solve is iteration order. Since ES2015, the iteration order for object
         * properties is guaranteed to be the insertion order (except for integer keys) but some browsers behave
         * differently when keys are deleted and re-inserted. So `insertBefore` can't be implemented by temporarily
         * deleting properties which is necessary to insert at arbitrary positions.
         *
         * To solve this problem, `insertBefore` doesn't actually insert the given tokens into the target object.
         * Instead, it will create a new object and replace all references to the target object with the new one. This
         * can be done without temporarily deleting properties, so the iteration order is well-defined.
         *
         * However, only references that can be reached from `Prism.languages` or `insert` will be replaced. I.e. if
         * you hold the target object in a variable, then the value of the variable will not change.
         *
         * ```js
         * var oldMarkup = Prism.languages.markup;
         * var newMarkup = Prism.languages.insertBefore('markup', 'comment', { ... });
         *
         * assert(oldMarkup !== Prism.languages.markup);
         * assert(newMarkup === Prism.languages.markup);
         * ```
         *
         * @param {string} inside The property of `root` (e.g. a language id in `Prism.languages`) that contains the
         * object to be modified.
         * @param {string} before The key to insert before.
         * @param {Grammar} insert An object containing the key-value pairs to be inserted.
         * @param {Object<string, any>} [root] The object containing `inside`, i.e. the object that contains the
         * object to be modified.
         *
         * Defaults to `Prism.languages`.
         * @returns {Grammar} The new grammar object.
         * @public
         */
        insertBefore: /* @__PURE__ */ a(function(v, S, E, y) {
          y = y || /** @type {any} */
          o.languages;
          var b = y[v], x = {};
          for (var R in b)
            if (b.hasOwnProperty(R)) {
              if (R == S)
                for (var C in E)
                  E.hasOwnProperty(C) && (x[C] = E[C]);
              E.hasOwnProperty(R) || (x[R] = b[R]);
            }
          var D = y[v];
          return y[v] = x, o.languages.DFS(o.languages, function(A, P) {
            P === D && A != v && (this[A] = x);
          }), x;
        }, "insertBefore"),
        // Traverse a language definition with Depth First Search
        DFS: /* @__PURE__ */ a(function v(S, E, y, b) {
          b = b || {};
          var x = o.util.objId;
          for (var R in S)
            if (S.hasOwnProperty(R)) {
              E.call(S, R, S[R], y || R);
              var C = S[R], D = o.util.type(C);
              D === "Object" && !b[x(C)] ? (b[x(C)] = !0, v(C, E, null, b)) : D === "Array" && !b[x(C)] && (b[x(C)] = !0, v(C, E, R, b));
            }
        }, "DFS")
      },
      plugins: {},
      /**
       * This is the most high-level function in Prism’s API.
       * It fetches all the elements that have a `.language-xxxx` class and then calls {@link Prism.highlightElement} on
       * each one of them.
       *
       * This is equivalent to `Prism.highlightAllUnder(document, async, callback)`.
       *
       * @param {boolean} [async=false] Same as in {@link Prism.highlightAllUnder}.
       * @param {HighlightCallback} [callback] Same as in {@link Prism.highlightAllUnder}.
       * @memberof Prism
       * @public
       */
      highlightAll: /* @__PURE__ */ a(function(v, S) {
        o.highlightAllUnder(document, v, S);
      }, "highlightAll"),
      /**
       * Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
       * {@link Prism.highlightElement} on each one of them.
       *
       * The following hooks will be run:
       * 1. `before-highlightall`
       * 2. `before-all-elements-highlight`
       * 3. All hooks of {@link Prism.highlightElement} for each element.
       *
       * @param {ParentNode} container The root element, whose descendants that have a `.language-xxxx` class will be highlighted.
       * @param {boolean} [async=false] Whether each element is to be highlighted asynchronously using Web Workers.
       * @param {HighlightCallback} [callback] An optional callback to be invoked on each element after its highlighting is done.
       * @memberof Prism
       * @public
       */
      highlightAllUnder: /* @__PURE__ */ a(function(v, S, E) {
        var y = {
          callback: E,
          container: v,
          selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
        };
        o.hooks.run("before-highlightall", y), y.elements = Array.prototype.slice.apply(y.container.querySelectorAll(y.selector)), o.hooks.run(
        "before-all-elements-highlight", y);
        for (var b = 0, x; x = y.elements[b++]; )
          o.highlightElement(x, S === !0, y.callback);
      }, "highlightAllUnder"),
      /**
       * Highlights the code inside a single element.
       *
       * The following hooks will be run:
       * 1. `before-sanity-check`
       * 2. `before-highlight`
       * 3. All hooks of {@link Prism.highlight}. These hooks will be run by an asynchronous worker if `async` is `true`.
       * 4. `before-insert`
       * 5. `after-highlight`
       * 6. `complete`
       *
       * Some the above hooks will be skipped if the element doesn't contain any text or there is no grammar loaded for
       * the element's language.
       *
       * @param {Element} element The element containing the code.
       * It must have a class of `language-xxxx` to be processed, where `xxxx` is a valid language identifier.
       * @param {boolean} [async=false] Whether the element is to be highlighted asynchronously using Web Workers
       * to improve performance and avoid blocking the UI when highlighting very large chunks of code. This option is
       * [disabled by default](https://prismjs.com/faq.html#why-is-asynchronous-highlighting-disabled-by-default).
       *
       * Note: All language definitions required to highlight the code must be included in the main `prism.js` file for
       * asynchronous highlighting to work. You can build your own bundle on the
       * [Download page](https://prismjs.com/download.html).
       * @param {HighlightCallback} [callback] An optional callback to be invoked after the highlighting is done.
       * Mostly useful when `async` is `true`, since in that case, the highlighting is done asynchronously.
       * @memberof Prism
       * @public
       */
      highlightElement: /* @__PURE__ */ a(function(v, S, E) {
        var y = o.util.getLanguage(v), b = o.languages[y];
        o.util.setLanguage(v, y);
        var x = v.parentElement;
        x && x.nodeName.toLowerCase() === "pre" && o.util.setLanguage(x, y);
        var R = v.textContent, C = {
          element: v,
          language: y,
          grammar: b,
          code: R
        };
        function D(P) {
          C.highlightedCode = P, o.hooks.run("before-insert", C), C.element.innerHTML = C.highlightedCode, o.hooks.run("after-highlight", C),
          o.hooks.run("complete", C), E && E.call(C.element);
        }
        if (a(D, "insertHighlightedCode"), o.hooks.run("before-sanity-check", C), x = C.element.parentElement, x && x.nodeName.toLowerCase() ===
        "pre" && !x.hasAttribute("tabindex") && x.setAttribute("tabindex", "0"), !C.code) {
          o.hooks.run("complete", C), E && E.call(C.element);
          return;
        }
        if (o.hooks.run("before-highlight", C), !C.grammar) {
          D(o.util.encode(C.code));
          return;
        }
        if (S && e.Worker) {
          var A = new Worker(o.filename);
          A.onmessage = function(P) {
            D(P.data);
          }, A.postMessage(JSON.stringify({
            language: C.language,
            code: C.code,
            immediateClose: !0
          }));
        } else
          D(o.highlight(C.code, C.grammar, C.language));
      }, "highlightElement"),
      /**
       * Low-level function, only use if you know what you’re doing. It accepts a string of text as input
       * and the language definitions to use, and returns a string with the HTML produced.
       *
       * The following hooks will be run:
       * 1. `before-tokenize`
       * 2. `after-tokenize`
       * 3. `wrap`: On each {@link Token}.
       *
       * @param {string} text A string with the code to be highlighted.
       * @param {Grammar} grammar An object containing the tokens to use.
       *
       * Usually a language definition like `Prism.languages.markup`.
       * @param {string} language The name of the language definition passed to `grammar`.
       * @returns {string} The highlighted HTML.
       * @memberof Prism
       * @public
       * @example
       * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
       */
      highlight: /* @__PURE__ */ a(function(v, S, E) {
        var y = {
          code: v,
          grammar: S,
          language: E
        };
        if (o.hooks.run("before-tokenize", y), !y.grammar)
          throw new Error('The language "' + y.language + '" has no grammar.');
        return y.tokens = o.tokenize(y.code, y.grammar), o.hooks.run("after-tokenize", y), i.stringify(o.util.encode(y.tokens), y.language);
      }, "highlight"),
      /**
       * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
       * and the language definitions to use, and returns an array with the tokenized code.
       *
       * When the language definition includes nested tokens, the function is called recursively on each of these tokens.
       *
       * This method could be useful in other contexts as well, as a very crude parser.
       *
       * @param {string} text A string with the code to be highlighted.
       * @param {Grammar} grammar An object containing the tokens to use.
       *
       * Usually a language definition like `Prism.languages.markup`.
       * @returns {TokenStream} An array of strings and tokens, a token stream.
       * @memberof Prism
       * @public
       * @example
       * let code = `var foo = 0;`;
       * let tokens = Prism.tokenize(code, Prism.languages.javascript);
       * tokens.forEach(token => {
       *     if (token instanceof Prism.Token && token.type === 'number') {
       *         console.log(`Found numeric literal: ${token.content}`);
       *     }
       * });
       */
      tokenize: /* @__PURE__ */ a(function(v, S) {
        var E = S.rest;
        if (E) {
          for (var y in E)
            S[y] = E[y];
          delete S.rest;
        }
        var b = new u();
        return c(b, b.head, v), l(v, b, S, b.head, 0), h(b);
      }, "tokenize"),
      /**
       * @namespace
       * @memberof Prism
       * @public
       */
      hooks: {
        all: {},
        /**
         * Adds the given callback to the list of callbacks for the given hook.
         *
         * The callback will be invoked when the hook it is registered for is run.
         * Hooks are usually directly run by a highlight function but you can also run hooks yourself.
         *
         * One callback function can be registered to multiple hooks and the same hook multiple times.
         *
         * @param {string} name The name of the hook.
         * @param {HookCallback} callback The callback function which is given environment variables.
         * @public
         */
        add: /* @__PURE__ */ a(function(v, S) {
          var E = o.hooks.all;
          E[v] = E[v] || [], E[v].push(S);
        }, "add"),
        /**
         * Runs a hook invoking all registered callbacks with the given environment variables.
         *
         * Callbacks will be invoked synchronously and in the order in which they were registered.
         *
         * @param {string} name The name of the hook.
         * @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
         * @public
         */
        run: /* @__PURE__ */ a(function(v, S) {
          var E = o.hooks.all[v];
          if (!(!E || !E.length))
            for (var y = 0, b; b = E[y++]; )
              b(S);
        }, "run")
      },
      Token: i
    };
    e.Prism = o;
    function i(v, S, E, y) {
      this.type = v, this.content = S, this.alias = E, this.length = (y || "").length | 0;
    }
    a(i, "Token"), i.stringify = /* @__PURE__ */ a(function v(S, E) {
      if (typeof S == "string")
        return S;
      if (Array.isArray(S)) {
        var y = "";
        return S.forEach(function(D) {
          y += v(D, E);
        }), y;
      }
      var b = {
        type: S.type,
        content: v(S.content, E),
        tag: "span",
        classes: ["token", S.type],
        attributes: {},
        language: E
      }, x = S.alias;
      x && (Array.isArray(x) ? Array.prototype.push.apply(b.classes, x) : b.classes.push(x)), o.hooks.run("wrap", b);
      var R = "";
      for (var C in b.attributes)
        R += " " + C + '="' + (b.attributes[C] || "").replace(/"/g, "&quot;") + '"';
      return "<" + b.tag + ' class="' + b.classes.join(" ") + '"' + R + ">" + b.content + "</" + b.tag + ">";
    }, "stringify");
    function s(v, S, E, y) {
      v.lastIndex = S;
      var b = v.exec(E);
      if (b && y && b[1]) {
        var x = b[1].length;
        b.index += x, b[0] = b[0].slice(x);
      }
      return b;
    }
    a(s, "matchPattern");
    function l(v, S, E, y, b, x) {
      for (var R in E)
        if (!(!E.hasOwnProperty(R) || !E[R])) {
          var C = E[R];
          C = Array.isArray(C) ? C : [C];
          for (var D = 0; D < C.length; ++D) {
            if (x && x.cause == R + "," + D)
              return;
            var A = C[D], P = A.inside, k = !!A.lookbehind, M = !!A.greedy, V = A.alias;
            if (M && !A.pattern.global) {
              var H = A.pattern.toString().match(/[imsuy]*$/)[0];
              A.pattern = RegExp(A.pattern.source, H + "g");
            }
            for (var X = A.pattern || A, B = y.next, O = b; B !== S.tail && !(x && O >= x.reach); O += B.value.length, B = B.next) {
              var K = B.value;
              if (S.length > v.length)
                return;
              if (!(K instanceof i)) {
                var re = 1, Q;
                if (M) {
                  if (Q = s(X, O, v, k), !Q || Q.index >= v.length)
                    break;
                  var Xe = Q.index, ue = Q.index + Q[0].length, Z = O;
                  for (Z += B.value.length; Xe >= Z; )
                    B = B.next, Z += B.value.length;
                  if (Z -= B.value.length, O = Z, B.value instanceof i)
                    continue;
                  for (var fe = B; fe !== S.tail && (Z < ue || typeof fe.value == "string"); fe = fe.next)
                    re++, Z += fe.value.length;
                  re--, K = v.slice(O, Z), Q.index -= O;
                } else if (Q = s(X, 0, K, k), !Q)
                  continue;
                var Xe = Q.index, Ee = Q[0], Oe = K.slice(0, Xe), We = K.slice(Xe + Ee.length), ot = O + K.length;
                x && ot > x.reach && (x.reach = ot);
                var ir = B.prev;
                Oe && (ir = c(S, ir, Oe), O += Oe.length), p(S, ir, re);
                var Sc = new i(R, P ? o.tokenize(Ee, P) : Ee, V, Ee);
                if (B = c(S, ir, Sc), We && c(S, B, We), re > 1) {
                  var Ec = {
                    cause: R + "," + D,
                    reach: ot
                  };
                  l(v, S, E, B.prev, O, Ec), x && Ec.reach > x.reach && (x.reach = Ec.reach);
                }
              }
            }
          }
        }
    }
    a(l, "matchGrammar");
    function u() {
      var v = { value: null, prev: null, next: null }, S = { value: null, prev: v, next: null };
      v.next = S, this.head = v, this.tail = S, this.length = 0;
    }
    a(u, "LinkedList");
    function c(v, S, E) {
      var y = S.next, b = { value: E, prev: S, next: y };
      return S.next = b, y.prev = b, v.length++, b;
    }
    a(c, "addAfter");
    function p(v, S, E) {
      for (var y = S.next, b = 0; b < E && y !== v.tail; b++)
        y = y.next;
      S.next = y, y.prev = S, v.length -= b;
    }
    a(p, "removeRange");
    function h(v) {
      for (var S = [], E = v.head.next; E !== v.tail; )
        S.push(E.value), E = E.next;
      return S;
    }
    if (a(h, "toArray"), !e.document)
      return e.addEventListener && (o.disableWorkerMessageHandler || e.addEventListener("message", function(v) {
        var S = JSON.parse(v.data), E = S.language, y = S.code, b = S.immediateClose;
        e.postMessage(o.highlight(y, o.languages[E], E)), b && e.close();
      }, !1)), o;
    var m = o.util.currentScript();
    m && (o.filename = m.src, m.hasAttribute("data-manual") && (o.manual = !0));
    function g() {
      o.manual || o.highlightAll();
    }
    if (a(g, "highlightAutomaticallyCallback"), !o.manual) {
      var w = document.readyState;
      w === "loading" || w === "interactive" && m && m.defer ? document.addEventListener("DOMContentLoaded", g) : window.requestAnimationFrame ?
      window.requestAnimationFrame(g) : window.setTimeout(g, 16);
    }
    return o;
  }(xY);
  typeof U1 < "u" && U1.exports && (U1.exports = CA);
  typeof global < "u" && (global.Prism = CA);
});

// ../node_modules/refractor/lang/markup.js
var y4 = L((Q4e, AA) => {
  "use strict";
  AA.exports = v4;
  v4.displayName = "markup";
  v4.aliases = ["html", "mathml", "svg", "xml", "ssml", "atom", "rss"];
  function v4(e) {
    e.languages.markup = {
      comment: {
        pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
        greedy: !0
      },
      prolog: {
        pattern: /<\?[\s\S]+?\?>/,
        greedy: !0
      },
      doctype: {
        // https://www.w3.org/TR/xml/#NT-doctypedecl
        pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,
        greedy: !0,
        inside: {
          "internal-subset": {
            pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/,
            lookbehind: !0,
            greedy: !0,
            inside: null
            // see below
          },
          string: {
            pattern: /"[^"]*"|'[^']*'/,
            greedy: !0
          },
          punctuation: /^<!|>$|[[\]]/,
          "doctype-tag": /^DOCTYPE/i,
          name: /[^\s<>'"]+/
        }
      },
      cdata: {
        pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
        greedy: !0
      },
      tag: {
        pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,
        greedy: !0,
        inside: {
          tag: {
            pattern: /^<\/?[^\s>\/]+/,
            inside: {
              punctuation: /^<\/?/,
              namespace: /^[^\s>\/:]+:/
            }
          },
          "special-attr": [],
          "attr-value": {
            pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,
            inside: {
              punctuation: [
                {
                  pattern: /^=/,
                  alias: "attr-equals"
                },
                /"|'/
              ]
            }
          },
          punctuation: /\/?>/,
          "attr-name": {
            pattern: /[^\s>\/]+/,
            inside: {
              namespace: /^[^\s>\/:]+:/
            }
          }
        }
      },
      entity: [
        {
          pattern: /&[\da-z]{1,8};/i,
          alias: "named-entity"
        },
        /&#x?[\da-f]{1,8};/i
      ]
    }, e.languages.markup.tag.inside["attr-value"].inside.entity = e.languages.markup.entity, e.languages.markup.doctype.inside["internal-su\
bset"].inside = e.languages.markup, e.hooks.add("wrap", function(t) {
      t.type === "entity" && (t.attributes.title = t.content.value.replace(/&amp;/, "&"));
    }), Object.defineProperty(e.languages.markup.tag, "addInlined", {
      /**
       * Adds an inlined language to markup.
       *
       * An example of an inlined language is CSS with `<style>` tags.
       *
       * @param {string} tagName The name of the tag that contains the inlined language. This name will be treated as
       * case insensitive.
       * @param {string} lang The language key.
       * @example
       * addInlined('style', 'css');
       */
      value: /* @__PURE__ */ a(function(r, n) {
        var o = {};
        o["language-" + n] = {
          pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
          lookbehind: !0,
          inside: e.languages[n]
        }, o.cdata = /^<!\[CDATA\[|\]\]>$/i;
        var i = {
          "included-cdata": {
            pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
            inside: o
          }
        };
        i["language-" + n] = {
          pattern: /[\s\S]+/,
          inside: e.languages[n]
        };
        var s = {};
        s[r] = {
          pattern: RegExp(
            /(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(
              /__/g,
              function() {
                return r;
              }
            ),
            "i"
          ),
          lookbehind: !0,
          greedy: !0,
          inside: i
        }, e.languages.insertBefore("markup", "cdata", s);
      }, "addInlined")
    }), Object.defineProperty(e.languages.markup.tag, "addAttribute", {
      /**
       * Adds an pattern to highlight languages embedded in HTML attributes.
       *
       * An example of an inlined language is CSS with `style` attributes.
       *
       * @param {string} attrName The name of the tag that contains the inlined language. This name will be treated as
       * case insensitive.
       * @param {string} lang The language key.
       * @example
       * addAttribute('style', 'css');
       */
      value: /* @__PURE__ */ a(function(t, r) {
        e.languages.markup.tag.inside["special-attr"].push({
          pattern: RegExp(
            /(^|["'\s])/.source + "(?:" + t + ")" + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,
            "i"
          ),
          lookbehind: !0,
          inside: {
            "attr-name": /^[^\s=]+/,
            "attr-value": {
              pattern: /=[\s\S]+/,
              inside: {
                value: {
                  pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,
                  lookbehind: !0,
                  alias: [r, "language-" + r],
                  inside: e.languages[r]
                },
                punctuation: [
                  {
                    pattern: /^=/,
                    alias: "attr-equals"
                  },
                  /"|'/
                ]
              }
            }
          }
        });
      }, "value")
    }), e.languages.html = e.languages.markup, e.languages.mathml = e.languages.markup, e.languages.svg = e.languages.markup, e.languages.xml =
    e.languages.extend("markup", {}), e.languages.ssml = e.languages.xml, e.languages.atom = e.languages.xml, e.languages.rss = e.languages.
    xml;
  }
  a(v4, "markup");
});

// ../node_modules/refractor/lang/css.js
var S4 = L((Z4e, _A) => {
  "use strict";
  _A.exports = w4;
  w4.displayName = "css";
  w4.aliases = [];
  function w4(e) {
    (function(t) {
      var r = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
      t.languages.css = {
        comment: /\/\*[\s\S]*?\*\//,
        atrule: {
          pattern: /@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,
          inside: {
            rule: /^@[\w-]+/,
            "selector-function-argument": {
              pattern: /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,
              lookbehind: !0,
              alias: "selector"
            },
            keyword: {
              pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/,
              lookbehind: !0
            }
            // See rest below
          }
        },
        url: {
          // https://drafts.csswg.org/css-values-3/#urls
          pattern: RegExp(
            "\\burl\\((?:" + r.source + "|" + /(?:[^\\\r\n()"']|\\[\s\S])*/.source + ")\\)",
            "i"
          ),
          greedy: !0,
          inside: {
            function: /^url/i,
            punctuation: /^\(|\)$/,
            string: {
              pattern: RegExp("^" + r.source + "$"),
              alias: "url"
            }
          }
        },
        selector: {
          pattern: RegExp(
            `(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|` + r.source + ")*(?=\\s*\\{)"
          ),
          lookbehind: !0
        },
        string: {
          pattern: r,
          greedy: !0
        },
        property: {
          pattern: /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,
          lookbehind: !0
        },
        important: /!important\b/i,
        function: {
          pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,
          lookbehind: !0
        },
        punctuation: /[(){};:,]/
      }, t.languages.css.atrule.inside.rest = t.languages.css;
      var n = t.languages.markup;
      n && (n.tag.addInlined("style", "css"), n.tag.addAttribute("style", "css"));
    })(e);
  }
  a(w4, "css");
});

// ../node_modules/refractor/lang/clike.js
var IA = L((twe, TA) => {
  "use strict";
  TA.exports = E4;
  E4.displayName = "clike";
  E4.aliases = [];
  function E4(e) {
    e.languages.clike = {
      comment: [
        {
          pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
          lookbehind: !0,
          greedy: !0
        },
        {
          pattern: /(^|[^\\:])\/\/.*/,
          lookbehind: !0,
          greedy: !0
        }
      ],
      string: {
        pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
        greedy: !0
      },
      "class-name": {
        pattern: /(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,
        lookbehind: !0,
        inside: {
          punctuation: /[.\\]/
        }
      },
      keyword: /\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,
      boolean: /\b(?:false|true)\b/,
      function: /\b\w+(?=\()/,
      number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
      operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,
      punctuation: /[{}[\];(),.:]/
    };
  }
  a(E4, "clike");
});

// ../node_modules/refractor/lang/javascript.js
var kA = L((nwe, PA) => {
  "use strict";
  PA.exports = b4;
  b4.displayName = "javascript";
  b4.aliases = ["js"];
  function b4(e) {
    e.languages.javascript = e.languages.extend("clike", {
      "class-name": [
        e.languages.clike["class-name"],
        {
          pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,
          lookbehind: !0
        }
      ],
      keyword: [
        {
          pattern: /((?:^|\})\s*)catch\b/,
          lookbehind: !0
        },
        {
          pattern: /(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,
          lookbehind: !0
        }
      ],
      // Allow for all non-ASCII characters (See http://stackoverflow.com/a/2008444)
      function: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,
      number: {
        pattern: RegExp(
          /(^|[^\w$])/.source + "(?:" + // constant
          (/NaN|Infinity/.source + "|" + // binary integer
          /0[bB][01]+(?:_[01]+)*n?/.source + "|" + // octal integer
          /0[oO][0-7]+(?:_[0-7]+)*n?/.source + "|" + // hexadecimal integer
          /0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source + "|" + // decimal bigint
          /\d+(?:_\d+)*n/.source + "|" + // decimal number (integer or float) but no bigint
          /(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source) + ")" + /(?![\w$])/.source
        ),
        lookbehind: !0
      },
      operator: /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/
    }), e.languages.javascript["class-name"][0].pattern = /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/, e.languages.
    insertBefore("javascript", "keyword", {
      regex: {
        // eslint-disable-next-line regexp/no-dupe-characters-character-class
        pattern: /((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,
        lookbehind: !0,
        greedy: !0,
        inside: {
          "regex-source": {
            pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/,
            lookbehind: !0,
            alias: "language-regex",
            inside: e.languages.regex
          },
          "regex-delimiter": /^\/|\/$/,
          "regex-flags": /^[a-z]+$/
        }
      },
      // This must be declared before keyword because we use "function" inside the look-forward
      "function-variable": {
        pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
        alias: "function"
      },
      parameter: [
        {
          pattern: /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,
          lookbehind: !0,
          inside: e.languages.javascript
        },
        {
          pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,
          lookbehind: !0,
          inside: e.languages.javascript
        },
        {
          pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,
          lookbehind: !0,
          inside: e.languages.javascript
        },
        {
          pattern: /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,
          lookbehind: !0,
          inside: e.languages.javascript
        }
      ],
      constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/
    }), e.languages.insertBefore("javascript", "string", {
      hashbang: {
        pattern: /^#!.*/,
        greedy: !0,
        alias: "comment"
      },
      "template-string": {
        pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,
        greedy: !0,
        inside: {
          "template-punctuation": {
            pattern: /^`|`$/,
            alias: "string"
          },
          interpolation: {
            pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
            lookbehind: !0,
            inside: {
              "interpolation-punctuation": {
                pattern: /^\$\{|\}$/,
                alias: "punctuation"
              },
              rest: e.languages.javascript
            }
          },
          string: /[\s\S]+/
        }
      },
      "string-property": {
        pattern: /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,
        lookbehind: !0,
        greedy: !0,
        alias: "property"
      }
    }), e.languages.insertBefore("javascript", "operator", {
      "literal-property": {
        pattern: /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,
        lookbehind: !0,
        alias: "property"
      }
    }), e.languages.markup && (e.languages.markup.tag.addInlined("script", "javascript"), e.languages.markup.tag.addAttribute(
      /on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.
      source,
      "javascript"
    )), e.languages.js = e.languages.javascript;
  }
  a(b4, "javascript");
});

// ../node_modules/refractor/core.js
var NA = L((awe, OA) => {
  "use strict";
  var Gp = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global ==
  "object" ? global : {}, RY = zY();
  Gp.Prism = { manual: !0, disableWorkerMessageHandler: !0 };
  var CY = Z8(), DY = RA(), FA = DA(), AY = y4(), _Y = S4(), TY = IA(), IY = kA();
  RY();
  var x4 = {}.hasOwnProperty;
  function LA() {
  }
  a(LA, "Refractor");
  LA.prototype = FA;
  var Ze = new LA();
  OA.exports = Ze;
  Ze.highlight = kY;
  Ze.register = Yp;
  Ze.alias = PY;
  Ze.registered = FY;
  Ze.listLanguages = LY;
  Yp(AY);
  Yp(_Y);
  Yp(TY);
  Yp(IY);
  Ze.util.encode = MY;
  Ze.Token.stringify = OY;
  function Yp(e) {
    if (typeof e != "function" || !e.displayName)
      throw new Error("Expected `function` for `grammar`, got `" + e + "`");
    Ze.languages[e.displayName] === void 0 && e(Ze);
  }
  a(Yp, "register");
  function PY(e, t) {
    var r = Ze.languages, n = e, o, i, s, l;
    t && (n = {}, n[e] = t);
    for (o in n)
      for (i = n[o], i = typeof i == "string" ? [i] : i, s = i.length, l = -1; ++l < s; )
        r[i[l]] = r[o];
  }
  a(PY, "alias");
  function kY(e, t) {
    var r = FA.highlight, n;
    if (typeof e != "string")
      throw new Error("Expected `string` for `value`, got `" + e + "`");
    if (Ze.util.type(t) === "Object")
      n = t, t = null;
    else {
      if (typeof t != "string")
        throw new Error("Expected `string` for `name`, got `" + t + "`");
      if (x4.call(Ze.languages, t))
        n = Ze.languages[t];
      else
        throw new Error("Unknown language: `" + t + "` is not registered");
    }
    return r.call(this, e, n, t);
  }
  a(kY, "highlight");
  function FY(e) {
    if (typeof e != "string")
      throw new Error("Expected `string` for `language`, got `" + e + "`");
    return x4.call(Ze.languages, e);
  }
  a(FY, "registered");
  function LY() {
    var e = Ze.languages, t = [], r;
    for (r in e)
      x4.call(e, r) && typeof e[r] == "object" && t.push(r);
    return t;
  }
  a(LY, "listLanguages");
  function OY(e, t, r) {
    var n;
    return typeof e == "string" ? { type: "text", value: e } : Ze.util.type(e) === "Array" ? NY(e, t) : (n = {
      type: e.type,
      content: Ze.Token.stringify(e.content, t, r),
      tag: "span",
      classes: ["token", e.type],
      attributes: {},
      language: t,
      parent: r
    }, e.alias && (n.classes = n.classes.concat(e.alias)), Ze.hooks.run("wrap", n), CY(
      n.tag + "." + n.classes.join("."),
      BY(n.attributes),
      n.content
    ));
  }
  a(OY, "stringify");
  function NY(e, t) {
    for (var r = [], n = e.length, o = -1, i; ++o < n; )
      i = e[o], i !== "" && i !== null && i !== void 0 && r.push(i);
    for (o = -1, n = r.length; ++o < n; )
      i = r[o], r[o] = Ze.Token.stringify(i, t, r);
    return r;
  }
  a(NY, "stringifyAll");
  function MY(e) {
    return e;
  }
  a(MY, "encode");
  function BY(e) {
    var t;
    for (t in e)
      e[t] = DY(e[t]);
    return e;
  }
  a(BY, "attributes");
  function zY() {
    var e = "Prism" in Gp, t = e ? Gp.Prism : void 0;
    return r;
    function r() {
      e ? Gp.Prism = t : delete Gp.Prism, e = void 0, t = void 0;
    }
  }
  a(zY, "capture");
});

// ../node_modules/react-syntax-highlighter/dist/esm/prism-light.js
var W1, R4, q1, MA = I(() => {
  ZD();
  W1 = _(NA()), R4 = e4(W1.default, {});
  R4.registerLanguage = function(e, t) {
    return W1.default.register(t);
  };
  R4.alias = function(e, t) {
    return W1.default.alias(e, t);
  };
  q1 = R4;
});

// ../node_modules/react-syntax-highlighter/dist/esm/index.js
var BA = I(() => {
  Zy();
});

// ../node_modules/refractor/lang/bash.js
var HA = L((pwe, zA) => {
  "use strict";
  zA.exports = C4;
  C4.displayName = "bash";
  C4.aliases = ["shell"];
  function C4(e) {
    (function(t) {
      var r = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE\
|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|G\
DMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HO\
STTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHON\
E|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OST\
YPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS\
|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRE\
NT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_\
SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", n = {
        pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
        lookbehind: !0,
        alias: "punctuation",
        // this looks reasonably well in all themes
        inside: null
        // see below
      }, o = {
        bash: n,
        environment: {
          pattern: RegExp("\\$" + r),
          alias: "constant"
        },
        variable: [
          // [0]: Arithmetic Environment
          {
            pattern: /\$?\(\([\s\S]+?\)\)/,
            greedy: !0,
            inside: {
              // If there is a $ sign at the beginning highlight $(( and )) as variable
              variable: [
                {
                  pattern: /(^\$\(\([\s\S]+)\)\)/,
                  lookbehind: !0
                },
                /^\$\(\(/
              ],
              number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
              // Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
              operator: /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
              // If there is no $ sign at the beginning highlight (( and )) as punctuation
              punctuation: /\(\(?|\)\)?|,|;/
            }
          },
          // [1]: Command Substitution
          {
            pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
            greedy: !0,
            inside: {
              variable: /^\$\(|^`|\)$|`$/
            }
          },
          // [2]: Brace expansion
          {
            pattern: /\$\{[^}]+\}/,
            greedy: !0,
            inside: {
              operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
              punctuation: /[\[\]]/,
              environment: {
                pattern: RegExp("(\\{)" + r),
                lookbehind: !0,
                alias: "constant"
              }
            }
          },
          /\$(?:\w+|[#?*!@$])/
        ],
        // Escape sequences from echo and printf's manuals, and escaped quotes.
        entity: /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
      };
      t.languages.bash = {
        shebang: {
          pattern: /^#!\s*\/.*/,
          alias: "important"
        },
        comment: {
          pattern: /(^|[^"{\\$])#.*/,
          lookbehind: !0
        },
        "function-name": [
          // a) function foo {
          // b) foo() {
          // c) function foo() {
          // but not “foo {”
          {
            // a) and c)
            pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
            lookbehind: !0,
            alias: "function"
          },
          {
            // b)
            pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
            alias: "function"
          }
        ],
        // Highlight variable names as variables in for and select beginnings.
        "for-or-select": {
          pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
          alias: "variable",
          lookbehind: !0
        },
        // Highlight variable names as variables in the left-hand part
        // of assignments (“=” and “+=”).
        "assign-left": {
          pattern: /(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,
          inside: {
            environment: {
              pattern: RegExp("(^|[\\s;|&]|[<>]\\()" + r),
              lookbehind: !0,
              alias: "constant"
            }
          },
          alias: "variable",
          lookbehind: !0
        },
        string: [
          // Support for Here-documents https://en.wikipedia.org/wiki/Here_document
          {
            pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
            lookbehind: !0,
            greedy: !0,
            inside: o
          },
          // Here-document with quotes around the tag
          // → No expansion (so no “inside”).
          {
            pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
            lookbehind: !0,
            greedy: !0,
            inside: {
              bash: n
            }
          },
          // “Normal” string
          {
            // https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html
            pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
            lookbehind: !0,
            greedy: !0,
            inside: o
          },
          {
            // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
            pattern: /(^|[^$\\])'[^']*'/,
            lookbehind: !0,
            greedy: !0
          },
          {
            // https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
            pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
            greedy: !0,
            inside: {
              entity: o.entity
            }
          }
        ],
        environment: {
          pattern: RegExp("\\$?" + r),
          alias: "constant"
        },
        variable: o.variable,
        function: {
          pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
          lookbehind: !0
        },
        keyword: {
          pattern: /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
          lookbehind: !0
        },
        // https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
        builtin: {
          pattern: /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
          lookbehind: !0,
          // Alias added to make those easier to distinguish from strings.
          alias: "class-name"
        },
        boolean: {
          pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
          lookbehind: !0
        },
        "file-descriptor": {
          pattern: /\B&\d\b/,
          alias: "important"
        },
        operator: {
          // Lots of redirections here, but not just that.
          pattern: /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
          inside: {
            "file-descriptor": {
              pattern: /^\d/,
              alias: "important"
            }
          }
        },
        punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
        number: {
          pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
          lookbehind: !0
        }
      }, n.inside = t.languages.bash;
      for (var i = [
        "comment",
        "function-name",
        "for-or-select",
        "assign-left",
        "string",
        "environment",
        "function",
        "keyword",
        "builtin",
        "boolean",
        "file-descriptor",
        "operator",
        "punctuation",
        "number"
      ], s = o.variable[1].inside, l = 0; l < i.length; l++)
        s[i[l]] = t.languages.bash[i[l]];
      t.languages.shell = t.languages.bash;
    })(e);
  }
  a(C4, "bash");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/bash.js
var $A, jA, VA = I(() => {
  $A = _(HA()), jA = $A.default;
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/css.js
var UA, WA, qA = I(() => {
  UA = _(S4()), WA = UA.default;
});

// ../node_modules/refractor/lang/graphql.js
var YA = L((mwe, GA) => {
  "use strict";
  GA.exports = D4;
  D4.displayName = "graphql";
  D4.aliases = [];
  function D4(e) {
    e.languages.graphql = {
      comment: /#.*/,
      description: {
        pattern: /(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,
        greedy: !0,
        alias: "string",
        inside: {
          "language-markdown": {
            pattern: /(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,
            lookbehind: !0,
            inside: e.languages.markdown
          }
        }
      },
      string: {
        pattern: /"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,
        greedy: !0
      },
      number: /(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
      boolean: /\b(?:false|true)\b/,
      variable: /\$[a-z_]\w*/i,
      directive: {
        pattern: /@[a-z_]\w*/i,
        alias: "function"
      },
      "attr-name": {
        pattern: /\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,
        greedy: !0
      },
      "atom-input": {
        pattern: /\b[A-Z]\w*Input\b/,
        alias: "class-name"
      },
      scalar: /\b(?:Boolean|Float|ID|Int|String)\b/,
      constant: /\b[A-Z][A-Z_\d]*\b/,
      "class-name": {
        pattern: /(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,
        lookbehind: !0
      },
      fragment: {
        pattern: /(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,
        lookbehind: !0,
        alias: "function"
      },
      "definition-mutation": {
        pattern: /(\bmutation\s+)[a-zA-Z_]\w*/,
        lookbehind: !0,
        alias: "function"
      },
      "definition-query": {
        pattern: /(\bquery\s+)[a-zA-Z_]\w*/,
        lookbehind: !0,
        alias: "function"
      },
      keyword: /\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,
      operator: /[!=|&]|\.{3}/,
      "property-query": /\w+(?=\s*\()/,
      object: /\w+(?=\s*\{)/,
      punctuation: /[!(){}\[\]:=,]/,
      property: /\w+/
    }, e.hooks.add("after-tokenize", /* @__PURE__ */ a(function(r) {
      if (r.language !== "graphql")
        return;
      var n = r.tokens.filter(function(S) {
        return typeof S != "string" && S.type !== "comment" && S.type !== "scalar";
      }), o = 0;
      function i(S) {
        return n[o + S];
      }
      a(i, "getToken");
      function s(S, E) {
        E = E || 0;
        for (var y = 0; y < S.length; y++) {
          var b = i(y + E);
          if (!b || b.type !== S[y])
            return !1;
        }
        return !0;
      }
      a(s, "isTokenType");
      function l(S, E) {
        for (var y = 1, b = o; b < n.length; b++) {
          var x = n[b], R = x.content;
          if (x.type === "punctuation" && typeof R == "string") {
            if (S.test(R))
              y++;
            else if (E.test(R) && (y--, y === 0))
              return b;
          }
        }
        return -1;
      }
      a(l, "findClosingBracket");
      function u(S, E) {
        var y = S.alias;
        y ? Array.isArray(y) || (S.alias = y = [y]) : S.alias = y = [], y.push(E);
      }
      for (a(u, "addAlias"); o < n.length; ) {
        var c = n[o++];
        if (c.type === "keyword" && c.content === "mutation") {
          var p = [];
          if (s(["definition-mutation", "punctuation"]) && i(1).content === "(") {
            o += 2;
            var h = l(/^\($/, /^\)$/);
            if (h === -1)
              continue;
            for (; o < h; o++) {
              var m = i(0);
              m.type === "variable" && (u(m, "variable-input"), p.push(m.content));
            }
            o = h + 1;
          }
          if (s(["punctuation", "property-query"]) && i(0).content === "{" && (o++, u(i(0), "property-mutation"), p.length > 0)) {
            var g = l(/^\{$/, /^\}$/);
            if (g === -1)
              continue;
            for (var w = o; w < g; w++) {
              var v = n[w];
              v.type === "variable" && p.indexOf(v.content) >= 0 && u(v, "variable-input");
            }
          }
        }
      }
    }, "afterTokenizeGraphql"));
  }
  a(D4, "graphql");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/graphql.js
var KA, XA, QA = I(() => {
  KA = _(YA()), XA = KA.default;
});

// ../node_modules/refractor/lang/js-extras.js
var ZA = L((ywe, JA) => {
  "use strict";
  JA.exports = A4;
  A4.displayName = "jsExtras";
  A4.aliases = [];
  function A4(e) {
    (function(t) {
      t.languages.insertBefore("javascript", "function-variable", {
        "method-variable": {
          pattern: RegExp(
            "(\\.\\s*)" + t.languages.javascript["function-variable"].pattern.source
          ),
          lookbehind: !0,
          alias: ["function-variable", "method", "function", "property-access"]
        }
      }), t.languages.insertBefore("javascript", "function", {
        method: {
          pattern: RegExp(
            "(\\.\\s*)" + t.languages.javascript.function.source
          ),
          lookbehind: !0,
          alias: ["function", "property-access"]
        }
      }), t.languages.insertBefore("javascript", "constant", {
        "known-class-name": [
          {
            // standard built-ins
            // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
            pattern: /\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,
            alias: "class-name"
          },
          {
            // errors
            pattern: /\b(?:[A-Z]\w*)Error\b/,
            alias: "class-name"
          }
        ]
      });
      function r(u, c) {
        return RegExp(
          u.replace(/<ID>/g, function() {
            return /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source;
          }),
          c
        );
      }
      a(r, "withId"), t.languages.insertBefore("javascript", "keyword", {
        imports: {
          // https://tc39.es/ecma262/#sec-imports
          pattern: r(
            /(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source
          ),
          lookbehind: !0,
          inside: t.languages.javascript
        },
        exports: {
          // https://tc39.es/ecma262/#sec-exports
          pattern: r(
            /(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source
          ),
          lookbehind: !0,
          inside: t.languages.javascript
        }
      }), t.languages.javascript.keyword.unshift(
        {
          pattern: /\b(?:as|default|export|from|import)\b/,
          alias: "module"
        },
        {
          pattern: /\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,
          alias: "control-flow"
        },
        {
          pattern: /\bnull\b/,
          alias: ["null", "nil"]
        },
        {
          pattern: /\bundefined\b/,
          alias: "nil"
        }
      ), t.languages.insertBefore("javascript", "operator", {
        spread: {
          pattern: /\.{3}/,
          alias: "operator"
        },
        arrow: {
          pattern: /=>/,
          alias: "operator"
        }
      }), t.languages.insertBefore("javascript", "punctuation", {
        "property-access": {
          pattern: r(/(\.\s*)#?<ID>/.source),
          lookbehind: !0
        },
        "maybe-class-name": {
          pattern: /(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,
          lookbehind: !0
        },
        dom: {
          // this contains only a few commonly used DOM variables
          pattern: /\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,
          alias: "variable"
        },
        console: {
          pattern: /\bconsole(?=\s*\.)/,
          alias: "class-name"
        }
      });
      for (var n = [
        "function",
        "function-variable",
        "method",
        "method-variable",
        "property-access"
      ], o = 0; o < n.length; o++) {
        var i = n[o], s = t.languages.javascript[i];
        t.util.type(s) === "RegExp" && (s = t.languages.javascript[i] = {
          pattern: s
        });
        var l = s.inside || {};
        s.inside = l, l["maybe-class-name"] = /^[A-Z][\s\S]*/;
      }
    })(e);
  }
  a(A4, "jsExtras");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/js-extras.js
var e9, t9, r9 = I(() => {
  e9 = _(ZA()), t9 = e9.default;
});

// ../node_modules/refractor/lang/json.js
var o9 = L((Ewe, n9) => {
  "use strict";
  n9.exports = _4;
  _4.displayName = "json";
  _4.aliases = ["webmanifest"];
  function _4(e) {
    e.languages.json = {
      property: {
        pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,
        lookbehind: !0,
        greedy: !0
      },
      string: {
        pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,
        lookbehind: !0,
        greedy: !0
      },
      comment: {
        pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
        greedy: !0
      },
      number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
      punctuation: /[{}[\],]/,
      operator: /:/,
      boolean: /\b(?:false|true)\b/,
      null: {
        pattern: /\bnull\b/,
        alias: "keyword"
      }
    }, e.languages.webmanifest = e.languages.json;
  }
  a(_4, "json");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/json.js
var a9, i9, s9 = I(() => {
  a9 = _(o9()), i9 = a9.default;
});

// ../node_modules/refractor/lang/jsx.js
var I4 = L((Rwe, l9) => {
  "use strict";
  l9.exports = T4;
  T4.displayName = "jsx";
  T4.aliases = [];
  function T4(e) {
    (function(t) {
      var r = t.util.clone(t.languages.javascript), n = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, o = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.
      source, i = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
      function s(c, p) {
        return c = c.replace(/<S>/g, function() {
          return n;
        }).replace(/<BRACES>/g, function() {
          return o;
        }).replace(/<SPREAD>/g, function() {
          return i;
        }), RegExp(c, p);
      }
      a(s, "re"), i = s(i).source, t.languages.jsx = t.languages.extend("markup", r), t.languages.jsx.tag.pattern = s(
        /<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.
        source
      ), t.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/, t.languages.jsx.tag.inside["attr-value"].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,
      t.languages.jsx.tag.inside.tag.inside["class-name"] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/, t.languages.jsx.tag.inside.comment = r.comment, t.languages.
      insertBefore(
        "inside",
        "attr-name",
        {
          spread: {
            pattern: s(/<SPREAD>/.source),
            inside: t.languages.jsx
          }
        },
        t.languages.jsx.tag
      ), t.languages.insertBefore(
        "inside",
        "special-attr",
        {
          script: {
            // Allow for two levels of nesting
            pattern: s(/=<BRACES>/.source),
            alias: "language-javascript",
            inside: {
              "script-punctuation": {
                pattern: /^=(?=\{)/,
                alias: "punctuation"
              },
              rest: t.languages.jsx
            }
          }
        },
        t.languages.jsx.tag
      );
      var l = /* @__PURE__ */ a(function(c) {
        return c ? typeof c == "string" ? c : typeof c.content == "string" ? c.content : c.content.map(l).join("") : "";
      }, "stringifyToken"), u = /* @__PURE__ */ a(function(c) {
        for (var p = [], h = 0; h < c.length; h++) {
          var m = c[h], g = !1;
          if (typeof m != "string" && (m.type === "tag" && m.content[0] && m.content[0].type === "tag" ? m.content[0].content[0].content ===
          "</" ? p.length > 0 && p[p.length - 1].tagName === l(m.content[0].content[1]) && p.pop() : m.content[m.content.length - 1].content ===
          "/>" || p.push({
            tagName: l(m.content[0].content[1]),
            openedBraces: 0
          }) : p.length > 0 && m.type === "punctuation" && m.content === "{" ? p[p.length - 1].openedBraces++ : p.length > 0 && p[p.length -
          1].openedBraces > 0 && m.type === "punctuation" && m.content === "}" ? p[p.length - 1].openedBraces-- : g = !0), (g || typeof m ==
          "string") && p.length > 0 && p[p.length - 1].openedBraces === 0) {
            var w = l(m);
            h < c.length - 1 && (typeof c[h + 1] == "string" || c[h + 1].type === "plain-text") && (w += l(c[h + 1]), c.splice(h + 1, 1)), h >
            0 && (typeof c[h - 1] == "string" || c[h - 1].type === "plain-text") && (w = l(c[h - 1]) + w, c.splice(h - 1, 1), h--), c[h] = new t.
            Token(
              "plain-text",
              w,
              null,
              w
            );
          }
          m.content && typeof m.content != "string" && u(m.content);
        }
      }, "walkTokens");
      t.hooks.add("after-tokenize", function(c) {
        c.language !== "jsx" && c.language !== "tsx" || u(c.tokens);
      });
    })(e);
  }
  a(T4, "jsx");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsx.js
var u9, c9, p9 = I(() => {
  u9 = _(I4()), c9 = u9.default;
});

// ../node_modules/refractor/lang/markdown.js
var d9 = L((Awe, f9) => {
  "use strict";
  f9.exports = P4;
  P4.displayName = "markdown";
  P4.aliases = ["md"];
  function P4(e) {
    (function(t) {
      var r = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;
      function n(h) {
        return h = h.replace(/<inner>/g, function() {
          return r;
        }), RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + "(?:" + h + ")");
      }
      a(n, "createInline");
      var o = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, i = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.
      replace(
        /__/g,
        function() {
          return o;
        }
      ), s = /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;
      t.languages.markdown = t.languages.extend("markup", {}), t.languages.insertBefore("markdown", "prolog", {
        "front-matter-block": {
          pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,
          lookbehind: !0,
          greedy: !0,
          inside: {
            punctuation: /^---|---$/,
            "front-matter": {
              pattern: /\S+(?:\s+\S+)*/,
              alias: ["yaml", "language-yaml"],
              inside: t.languages.yaml
            }
          }
        },
        blockquote: {
          // > ...
          pattern: /^>(?:[\t ]*>)*/m,
          alias: "punctuation"
        },
        table: {
          pattern: RegExp(
            "^" + i + s + "(?:" + i + ")*",
            "m"
          ),
          inside: {
            "table-data-rows": {
              pattern: RegExp(
                "^(" + i + s + ")(?:" + i + ")*$"
              ),
              lookbehind: !0,
              inside: {
                "table-data": {
                  pattern: RegExp(o),
                  inside: t.languages.markdown
                },
                punctuation: /\|/
              }
            },
            "table-line": {
              pattern: RegExp("^(" + i + ")" + s + "$"),
              lookbehind: !0,
              inside: {
                punctuation: /\||:?-{3,}:?/
              }
            },
            "table-header-row": {
              pattern: RegExp("^" + i + "$"),
              inside: {
                "table-header": {
                  pattern: RegExp(o),
                  alias: "important",
                  inside: t.languages.markdown
                },
                punctuation: /\|/
              }
            }
          }
        },
        code: [
          {
            // Prefixed by 4 spaces or 1 tab and preceded by an empty line
            pattern: /((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,
            lookbehind: !0,
            alias: "keyword"
          },
          {
            // ```optional language
            // code block
            // ```
            pattern: /^```[\s\S]*?^```$/m,
            greedy: !0,
            inside: {
              "code-block": {
                pattern: /^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,
                lookbehind: !0
              },
              "code-language": {
                pattern: /^(```).+/,
                lookbehind: !0
              },
              punctuation: /```/
            }
          }
        ],
        title: [
          {
            // title 1
            // =======
            // title 2
            // -------
            pattern: /\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,
            alias: "important",
            inside: {
              punctuation: /==+$|--+$/
            }
          },
          {
            // # title 1
            // ###### title 6
            pattern: /(^\s*)#.+/m,
            lookbehind: !0,
            alias: "important",
            inside: {
              punctuation: /^#+|#+$/
            }
          }
        ],
        hr: {
          // ***
          // ---
          // * * *
          // -----------
          pattern: /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,
          lookbehind: !0,
          alias: "punctuation"
        },
        list: {
          // * item
          // + item
          // - item
          // 1. item
          pattern: /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,
          lookbehind: !0,
          alias: "punctuation"
        },
        "url-reference": {
          // [id]: http://example.com "Optional title"
          // [id]: http://example.com 'Optional title'
          // [id]: http://example.com (Optional title)
          // [id]: <http://example.com> "Optional title"
          pattern: /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,
          inside: {
            variable: {
              pattern: /^(!?\[)[^\]]+/,
              lookbehind: !0
            },
            string: /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,
            punctuation: /^[\[\]!:]|[<>]/
          },
          alias: "url"
        },
        bold: {
          // **strong**
          // __strong__
          // allow one nested instance of italic text using the same delimiter
          pattern: n(
            /\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source
          ),
          lookbehind: !0,
          greedy: !0,
          inside: {
            content: {
              pattern: /(^..)[\s\S]+(?=..$)/,
              lookbehind: !0,
              inside: {}
              // see below
            },
            punctuation: /\*\*|__/
          }
        },
        italic: {
          // *em*
          // _em_
          // allow one nested instance of bold text using the same delimiter
          pattern: n(
            /\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source
          ),
          lookbehind: !0,
          greedy: !0,
          inside: {
            content: {
              pattern: /(^.)[\s\S]+(?=.$)/,
              lookbehind: !0,
              inside: {}
              // see below
            },
            punctuation: /[*_]/
          }
        },
        strike: {
          // ~~strike through~~
          // ~strike~
          // eslint-disable-next-line regexp/strict
          pattern: n(/(~~?)(?:(?!~)<inner>)+\2/.source),
          lookbehind: !0,
          greedy: !0,
          inside: {
            content: {
              pattern: /(^~~?)[\s\S]+(?=\1$)/,
              lookbehind: !0,
              inside: {}
              // see below
            },
            punctuation: /~~?/
          }
        },
        "code-snippet": {
          // `code`
          // ``code``
          pattern: /(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,
          lookbehind: !0,
          greedy: !0,
          alias: ["code", "keyword"]
        },
        url: {
          // [example](http://example.com "Optional title")
          // [example][id]
          // [example] [id]
          pattern: n(
            /!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source
          ),
          lookbehind: !0,
          greedy: !0,
          inside: {
            operator: /^!/,
            content: {
              pattern: /(^\[)[^\]]+(?=\])/,
              lookbehind: !0,
              inside: {}
              // see below
            },
            variable: {
              pattern: /(^\][ \t]?\[)[^\]]+(?=\]$)/,
              lookbehind: !0
            },
            url: {
              pattern: /(^\]\()[^\s)]+/,
              lookbehind: !0
            },
            string: {
              pattern: /(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,
              lookbehind: !0
            }
          }
        }
      }), ["url", "bold", "italic", "strike"].forEach(function(h) {
        ["url", "bold", "italic", "strike", "code-snippet"].forEach(function(m) {
          h !== m && (t.languages.markdown[h].inside.content.inside[m] = t.languages.markdown[m]);
        });
      }), t.hooks.add("after-tokenize", function(h) {
        if (h.language !== "markdown" && h.language !== "md")
          return;
        function m(g) {
          if (!(!g || typeof g == "string"))
            for (var w = 0, v = g.length; w < v; w++) {
              var S = g[w];
              if (S.type !== "code") {
                m(S.content);
                continue;
              }
              var E = S.content[1], y = S.content[3];
              if (E && y && E.type === "code-language" && y.type === "code-block" && typeof E.content == "string") {
                var b = E.content.replace(/\b#/g, "sharp").replace(/\b\+\+/g, "pp");
                b = (/[a-z][\w-]*/i.exec(b) || [""])[0].toLowerCase();
                var x = "language-" + b;
                y.alias ? typeof y.alias == "string" ? y.alias = [y.alias, x] : y.alias.push(x) : y.alias = [x];
              }
            }
        }
        a(m, "walkTokens"), m(h.tokens);
      }), t.hooks.add("wrap", function(h) {
        if (h.type === "code-block") {
          for (var m = "", g = 0, w = h.classes.length; g < w; g++) {
            var v = h.classes[g], S = /language-(.+)/.exec(v);
            if (S) {
              m = S[1];
              break;
            }
          }
          var E = t.languages[m];
          if (E)
            h.content = t.highlight(
              p(h.content.value),
              E,
              m
            );
          else if (m && m !== "none" && t.plugins.autoloader) {
            var y = "md-" + (/* @__PURE__ */ new Date()).valueOf() + "-" + Math.floor(Math.random() * 1e16);
            h.attributes.id = y, t.plugins.autoloader.loadLanguages(m, function() {
              var b = document.getElementById(y);
              b && (b.innerHTML = t.highlight(
                b.textContent,
                t.languages[m],
                m
              ));
            });
          }
        }
      });
      var l = RegExp(t.languages.markup.tag.pattern.source, "gi"), u = {
        amp: "&",
        lt: "<",
        gt: ">",
        quot: '"'
      }, c = String.fromCodePoint || String.fromCharCode;
      function p(h) {
        var m = h.replace(l, "");
        return m = m.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(g, w) {
          if (w = w.toLowerCase(), w[0] === "#") {
            var v;
            return w[1] === "x" ? v = parseInt(w.slice(2), 16) : v = Number(w.slice(1)), c(v);
          } else {
            var S = u[w];
            return S || g;
          }
        }), m;
      }
      a(p, "textContent"), t.languages.md = t.languages.markdown;
    })(e);
  }
  a(P4, "markdown");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/markdown.js
var h9, m9, g9 = I(() => {
  h9 = _(d9()), m9 = h9.default;
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/markup.js
var v9, y9, w9 = I(() => {
  v9 = _(y4()), y9 = v9.default;
});

// ../node_modules/refractor/lang/typescript.js
var F4 = L((Pwe, S9) => {
  "use strict";
  S9.exports = k4;
  k4.displayName = "typescript";
  k4.aliases = ["ts"];
  function k4(e) {
    (function(t) {
      t.languages.typescript = t.languages.extend("javascript", {
        "class-name": {
          pattern: /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
          lookbehind: !0,
          greedy: !0,
          inside: null
          // see below
        },
        builtin: /\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/
      }), t.languages.typescript.keyword.push(
        /\b(?:abstract|declare|is|keyof|readonly|require)\b/,
        // keywords that have to be followed by an identifier
        /\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,
        // This is for `import type *, {}`
        /\btype\b(?=\s*(?:[\{*]|$))/
      ), delete t.languages.typescript.parameter, delete t.languages.typescript["literal-property"];
      var r = t.languages.extend("typescript", {});
      delete r["class-name"], t.languages.typescript["class-name"].inside = r, t.languages.insertBefore("typescript", "function", {
        decorator: {
          pattern: /@[$\w\xA0-\uFFFF]+/,
          inside: {
            at: {
              pattern: /^@/,
              alias: "operator"
            },
            function: /^[\s\S]+/
          }
        },
        "generic-function": {
          // e.g. foo<T extends "bar" | "baz">( ...
          pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,
          greedy: !0,
          inside: {
            function: /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,
            generic: {
              pattern: /<[\s\S]+/,
              // everything after the first <
              alias: "class-name",
              inside: r
            }
          }
        }
      }), t.languages.ts = t.languages.typescript;
    })(e);
  }
  a(k4, "typescript");
});

// ../node_modules/refractor/lang/tsx.js
var b9 = L((Fwe, E9) => {
  "use strict";
  var HY = I4(), $Y = F4();
  E9.exports = L4;
  L4.displayName = "tsx";
  L4.aliases = [];
  function L4(e) {
    e.register(HY), e.register($Y), function(t) {
      var r = t.util.clone(t.languages.typescript);
      t.languages.tsx = t.languages.extend("jsx", r), delete t.languages.tsx.parameter, delete t.languages.tsx["literal-property"];
      var n = t.languages.tsx.tag;
      n.pattern = RegExp(
        /(^|[^\w$]|(?=<\/))/.source + "(?:" + n.pattern.source + ")",
        n.pattern.flags
      ), n.lookbehind = !0;
    }(e);
  }
  a(L4, "tsx");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/tsx.js
var x9, R9, C9 = I(() => {
  x9 = _(b9()), R9 = x9.default;
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/typescript.js
var D9, A9, _9 = I(() => {
  D9 = _(F4()), A9 = D9.default;
});

// ../node_modules/refractor/lang/yaml.js
var I9 = L((Mwe, T9) => {
  "use strict";
  T9.exports = O4;
  O4.displayName = "yaml";
  O4.aliases = ["yml"];
  function O4(e) {
    (function(t) {
      var r = /[*&][^\s[\]{},]+/, n = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, o = "(?:" + n.source +
      "(?:[ 	]+" + r.source + ")?|" + r.source + "(?:[ 	]+" + n.source + ")?)", i = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.
      source.replace(
        /<PLAIN>/g,
        function() {
          return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
        }
      ), s = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
      function l(u, c) {
        c = (c || "").replace(/m/g, "") + "m";
        var p = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
          return o;
        }).replace(/<<value>>/g, function() {
          return u;
        });
        return RegExp(p, c);
      }
      a(l, "createValuePattern"), t.languages.yaml = {
        scalar: {
          pattern: RegExp(
            /([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(
              /<<prop>>/g,
              function() {
                return o;
              }
            )
          ),
          lookbehind: !0,
          alias: "string"
        },
        comment: /#.*/,
        key: {
          pattern: RegExp(
            /((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() {
              return o;
            }).replace(/<<key>>/g, function() {
              return "(?:" + i + "|" + s + ")";
            })
          ),
          lookbehind: !0,
          greedy: !0,
          alias: "atrule"
        },
        directive: {
          pattern: /(^[ \t]*)%.+/m,
          lookbehind: !0,
          alias: "important"
        },
        datetime: {
          pattern: l(
            /\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.
            source
          ),
          lookbehind: !0,
          alias: "number"
        },
        boolean: {
          pattern: l(/false|true/.source, "i"),
          lookbehind: !0,
          alias: "important"
        },
        null: {
          pattern: l(/null|~/.source, "i"),
          lookbehind: !0,
          alias: "important"
        },
        string: {
          pattern: l(s),
          lookbehind: !0,
          greedy: !0
        },
        number: {
          pattern: l(
            /[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,
            "i"
          ),
          lookbehind: !0
        },
        tag: n,
        important: r,
        punctuation: /---|[:[\]{}\-,|>?]|\.\.\./
      }, t.languages.yml = t.languages.yaml;
    })(e);
  }
  a(O4, "yaml");
});

// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/yaml.js
var P9, k9, F9 = I(() => {
  P9 = _(I9()), k9 = P9.default;
});

// src/components/components/ActionBar/ActionBar.tsx
var N4, jY, L9, G1, M4 = I(() => {
  "use strict";
  N4 = _(F(), 1);
  Y();
  jY = T.div(({ theme: e }) => ({
    position: "absolute",
    bottom: 0,
    right: 0,
    maxWidth: "100%",
    display: "flex",
    background: e.background.content,
    zIndex: 1
  })), L9 = T.button(
    ({ theme: e }) => ({
      margin: 0,
      border: "0 none",
      padding: "4px 10px",
      cursor: "pointer",
      display: "flex",
      alignItems: "center",
      color: e.color.defaultText,
      background: e.background.content,
      fontSize: 12,
      lineHeight: "16px",
      fontFamily: e.typography.fonts.base,
      fontWeight: e.typography.weight.bold,
      borderTop: `1px solid ${e.appBorderColor}`,
      borderLeft: `1px solid ${e.appBorderColor}`,
      marginLeft: -1,
      borderRadius: "4px 0 0 0",
      "&:not(:last-child)": { borderRight: `1px solid ${e.appBorderColor}` },
      "& + *": {
        borderLeft: `1px solid ${e.appBorderColor}`,
        borderRadius: 0
      },
      "&:focus": {
        boxShadow: `${e.color.secondary} 0 -3px 0 0 inset`,
        outline: "0 none"
      }
    }),
    ({ disabled: e }) => e && {
      cursor: "not-allowed",
      opacity: 0.5
    }
  );
  L9.displayName = "ActionButton";
  G1 = /* @__PURE__ */ a(({ actionItems: e, ...t }) => /* @__PURE__ */ N4.default.createElement(jY, { ...t }, e.map(({ title: r, className: n,
  onClick: o, disabled: i }, s) => /* @__PURE__ */ N4.default.createElement(L9, { key: s, className: n, onClick: o, disabled: !!i }, r))), "\
ActionBar");
});

// ../node_modules/@radix-ui/react-compose-refs/dist/index.mjs
function VY(e, t) {
  typeof e == "function" ? e(t) : e != null && (e.current = t);
}
function B4(...e) {
  return (t) => e.forEach((r) => VY(r, t));
}
function ko(...e) {
  return O9.useCallback(B4(...e), e);
}
var O9, Y1 = I(() => {
  O9 = _(F(), 1);
  a(VY, "setRef");
  a(B4, "composeRefs");
  a(ko, "useComposedRefs");
});

// ../node_modules/react/cjs/react-jsx-runtime.production.min.js
var M9 = L((K1) => {
  "use strict";
  var UY = F(), WY = Symbol.for("react.element"), qY = Symbol.for("react.fragment"), GY = Object.prototype.hasOwnProperty, YY = UY.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.
  ReactCurrentOwner, KY = { key: !0, ref: !0, __self: !0, __source: !0 };
  function N9(e, t, r) {
    var n, o = {}, i = null, s = null;
    r !== void 0 && (i = "" + r), t.key !== void 0 && (i = "" + t.key), t.ref !== void 0 && (s = t.ref);
    for (n in t) GY.call(t, n) && !KY.hasOwnProperty(n) && (o[n] = t[n]);
    if (e && e.defaultProps) for (n in t = e.defaultProps, t) o[n] === void 0 && (o[n] = t[n]);
    return { $$typeof: WY, type: e, key: i, ref: s, props: o, _owner: YY.current };
  }
  a(N9, "q");
  K1.Fragment = qY;
  K1.jsx = N9;
  K1.jsxs = N9;
});

// ../node_modules/react/jsx-runtime.js
var et = L((Gwe, B9) => {
  "use strict";
  B9.exports = M9();
});

// ../node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.mjs
function QY(e) {
  return kt.isValidElement(e) && e.type === XY;
}
function JY(e, t) {
  let r = { ...t };
  for (let n in t) {
    let o = e[n], i = t[n];
    /^on[A-Z]/.test(n) ? o && i ? r[n] = (...l) => {
      i(...l), o(...l);
    } : o && (r[n] = o) : n === "style" ? r[n] = { ...o, ...i } : n === "className" && (r[n] = [o, i].filter(Boolean).join(" "));
  }
  return { ...e, ...r };
}
function ZY(e) {
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
  return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref :
  e.props.ref || e.ref);
}
var kt, Il, H4, z4, XY, z9 = I(() => {
  kt = _(F(), 1);
  Y1();
  Il = _(et(), 1), H4 = kt.forwardRef((e, t) => {
    let { children: r, ...n } = e, o = kt.Children.toArray(r), i = o.find(QY);
    if (i) {
      let s = i.props.children, l = o.map((u) => u === i ? kt.Children.count(s) > 1 ? kt.Children.only(null) : kt.isValidElement(s) ? s.props.
      children : null : u);
      return /* @__PURE__ */ (0, Il.jsx)(z4, { ...n, ref: t, children: kt.isValidElement(s) ? kt.cloneElement(s, void 0, l) : null });
    }
    return /* @__PURE__ */ (0, Il.jsx)(z4, { ...n, ref: t, children: r });
  });
  H4.displayName = "Slot";
  z4 = kt.forwardRef((e, t) => {
    let { children: r, ...n } = e;
    if (kt.isValidElement(r)) {
      let o = ZY(r);
      return kt.cloneElement(r, {
        ...JY(n, r.props),
        // @ts-ignore
        ref: t ? B4(t, o) : o
      });
    }
    return kt.Children.count(r) > 1 ? kt.Children.only(null) : null;
  });
  z4.displayName = "SlotClone";
  XY = /* @__PURE__ */ a(({ children: e }) => /* @__PURE__ */ (0, Il.jsx)(Il.Fragment, { children: e }), "Slottable");
  a(QY, "isSlottable");
  a(JY, "mergeProps");
  a(ZY, "getElementRef");
});

// ../node_modules/@radix-ui/react-primitive/dist/index.mjs
var H9, eK, $9, tK, Pl, j9 = I(() => {
  H9 = _(F(), 1), eK = _(Wr(), 1);
  z9();
  $9 = _(et(), 1), tK = [
    "a",
    "button",
    "div",
    "form",
    "h2",
    "h3",
    "img",
    "input",
    "label",
    "li",
    "nav",
    "ol",
    "p",
    "span",
    "svg",
    "ul"
  ], Pl = tK.reduce((e, t) => {
    let r = H9.forwardRef((n, o) => {
      let { asChild: i, ...s } = n, l = i ? H4 : t;
      return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, $9.jsx)(l, { ...s, ref: o });
    });
    return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
  }, {});
});

// ../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
var V9, Kp, $4 = I(() => {
  V9 = _(F(), 1), Kp = globalThis?.document ? V9.useLayoutEffect : () => {
  };
});

// ../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-presence/dist/index.mjs
function rK(e, t) {
  return W9.useReducer((r, n) => t[r][n] ?? r, e);
}
function nK(e) {
  let [t, r] = mr.useState(), n = mr.useRef({}), o = mr.useRef(e), i = mr.useRef("none"), s = e ? "mounted" : "unmounted", [l, u] = rK(s, {
    mounted: {
      UNMOUNT: "unmounted",
      ANIMATION_OUT: "unmountSuspended"
    },
    unmountSuspended: {
      MOUNT: "mounted",
      ANIMATION_END: "unmounted"
    },
    unmounted: {
      MOUNT: "mounted"
    }
  });
  return mr.useEffect(() => {
    let c = X1(n.current);
    i.current = l === "mounted" ? c : "none";
  }, [l]), Kp(() => {
    let c = n.current, p = o.current;
    if (p !== e) {
      let m = i.current, g = X1(c);
      e ? u("MOUNT") : g === "none" || c?.display === "none" ? u("UNMOUNT") : u(p && m !== g ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
    }
  }, [e, u]), Kp(() => {
    if (t) {
      let c = /* @__PURE__ */ a((h) => {
        let g = X1(n.current).includes(h.animationName);
        h.target === t && g && U9.flushSync(() => u("ANIMATION_END"));
      }, "handleAnimationEnd"), p = /* @__PURE__ */ a((h) => {
        h.target === t && (i.current = X1(n.current));
      }, "handleAnimationStart");
      return t.addEventListener("animationstart", p), t.addEventListener("animationcancel", c), t.addEventListener("animationend", c), () => {
        t.removeEventListener("animationstart", p), t.removeEventListener("animationcancel", c), t.removeEventListener("animationend", c);
      };
    } else
      u("ANIMATION_END");
  }, [t, u]), {
    isPresent: ["mounted", "unmountSuspended"].includes(l),
    ref: mr.useCallback((c) => {
      c && (n.current = getComputedStyle(c)), r(c);
    }, [])
  };
}
function X1(e) {
  return e?.animationName || "none";
}
function oK(e) {
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
  return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref :
  e.props.ref || e.ref);
}
var mr, U9, W9, kl, q9 = I(() => {
  "use client";
  mr = _(F(), 1), U9 = _(Wr(), 1);
  Y1();
  $4();
  W9 = _(F(), 1);
  a(rK, "useStateMachine");
  kl = /* @__PURE__ */ a((e) => {
    let { present: t, children: r } = e, n = nK(t), o = typeof r == "function" ? r({ present: n.isPresent }) : mr.Children.only(r), i = ko(n.
    ref, oK(o));
    return typeof r == "function" || n.isPresent ? mr.cloneElement(o, { ref: i }) : null;
  }, "Presence");
  kl.displayName = "Presence";
  a(nK, "usePresence");
  a(X1, "getAnimationName");
  a(oK, "getElementRef");
});

// ../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-context/dist/index.mjs
function Y9(e, t = []) {
  let r = [];
  function n(i, s) {
    let l = Fo.createContext(s), u = r.length;
    r = [...r, s];
    function c(h) {
      let { scope: m, children: g, ...w } = h, v = m?.[e][u] || l, S = Fo.useMemo(() => w, Object.values(w));
      return /* @__PURE__ */ (0, G9.jsx)(v.Provider, { value: S, children: g });
    }
    a(c, "Provider");
    function p(h, m) {
      let g = m?.[e][u] || l, w = Fo.useContext(g);
      if (w) return w;
      if (s !== void 0) return s;
      throw new Error(`\`${h}\` must be used within \`${i}\``);
    }
    return a(p, "useContext2"), c.displayName = i + "Provider", [c, p];
  }
  a(n, "createContext3");
  let o = /* @__PURE__ */ a(() => {
    let i = r.map((s) => Fo.createContext(s));
    return /* @__PURE__ */ a(function(l) {
      let u = l?.[e] || i;
      return Fo.useMemo(
        () => ({ [`__scope${e}`]: { ...l, [e]: u } }),
        [l, u]
      );
    }, "useScope");
  }, "createScope");
  return o.scopeName = e, [n, aK(o, ...t)];
}
function aK(...e) {
  let t = e[0];
  if (e.length === 1) return t;
  let r = /* @__PURE__ */ a(() => {
    let n = e.map((o) => ({
      useScope: o(),
      scopeName: o.scopeName
    }));
    return /* @__PURE__ */ a(function(i) {
      let s = n.reduce((l, { useScope: u, scopeName: c }) => {
        let h = u(i)[`__scope${c}`];
        return { ...l, ...h };
      }, {});
      return Fo.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
    }, "useComposedScopes");
  }, "createScope");
  return r.scopeName = t.scopeName, r;
}
var Fo, G9, K9 = I(() => {
  Fo = _(F(), 1), G9 = _(et(), 1);
  a(Y9, "createContextScope");
  a(aK, "composeContextScopes");
});

// ../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
function Ma(e) {
  let t = Fl.useRef(e);
  return Fl.useEffect(() => {
    t.current = e;
  }), Fl.useMemo(() => (...r) => t.current?.(...r), []);
}
var Fl, X9 = I(() => {
  Fl = _(F(), 1);
  a(Ma, "useCallbackRef");
});

// ../node_modules/@radix-ui/react-direction/dist/index.mjs
function Q9(e) {
  let t = Q1.useContext(sK);
  return e || t || "ltr";
}
var Q1, iK, sK, J9 = I(() => {
  Q1 = _(F(), 1), iK = _(et(), 1), sK = Q1.createContext(void 0);
  a(Q9, "useDirection");
});

// ../node_modules/@radix-ui/number/dist/index.mjs
function Z9(e, [t, r]) {
  return Math.min(r, Math.max(t, e));
}
var e_ = I(() => {
  a(Z9, "clamp");
});

// ../node_modules/@radix-ui/primitive/dist/index.mjs
function Ba(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
  return /* @__PURE__ */ a(function(o) {
    if (e?.(o), r === !1 || !o.defaultPrevented)
      return t?.(o);
  }, "handleEvent");
}
var t_ = I(() => {
  a(Ba, "composeEventHandlers");
});

// ../node_modules/@radix-ui/react-scroll-area/dist/index.mjs
function lK(e, t) {
  return n_.useReducer((r, n) => t[r][n] ?? r, e);
}
function Z1(e) {
  return e ? parseInt(e, 10) : 0;
}
function h_(e, t) {
  let r = e / t;
  return isNaN(r) ? 0 : r;
}
function eh(e) {
  let t = h_(e.viewport, e.content), r = e.scrollbar.paddingStart + e.scrollbar.paddingEnd, n = (e.scrollbar.size - r) * t;
  return Math.max(n, 18);
}
function vK(e, t, r, n = "ltr") {
  let o = eh(r), i = o / 2, s = t || i, l = o - s, u = r.scrollbar.paddingStart + s, c = r.scrollbar.size - r.scrollbar.paddingEnd - l, p = r.
  content - r.viewport, h = n === "ltr" ? [0, p] : [p * -1, 0];
  return m_([u, c], h)(e);
}
function r_(e, t, r = "ltr") {
  let n = eh(t), o = t.scrollbar.paddingStart + t.scrollbar.paddingEnd, i = t.scrollbar.size - o, s = t.content - t.viewport, l = i - n, u = r ===
  "ltr" ? [0, s] : [s * -1, 0], c = Z9(e, u);
  return m_([0, s], [0, l])(c);
}
function m_(e, t) {
  return (r) => {
    if (e[0] === e[1] || t[0] === t[1]) return t[0];
    let n = (t[1] - t[0]) / (e[1] - e[0]);
    return t[0] + n * (r - e[0]);
  };
}
function g_(e, t) {
  return e > 0 && e < t;
}
function th(e, t) {
  let r = Ma(e), n = q.useRef(0);
  return q.useEffect(() => () => window.clearTimeout(n.current), []), q.useCallback(() => {
    window.clearTimeout(n.current), n.current = window.setTimeout(r, t);
  }, [r, t]);
}
function Ll(e, t) {
  let r = Ma(t);
  Kp(() => {
    let n = 0;
    if (e) {
      let o = new ResizeObserver(() => {
        cancelAnimationFrame(n), n = window.requestAnimationFrame(r);
      });
      return o.observe(e), () => {
        window.cancelAnimationFrame(n), o.unobserve(e);
      };
    }
  }, [e, r]);
}
function wK(e, t) {
  let { asChild: r, children: n } = e;
  if (!r) return typeof t == "function" ? t(n) : t;
  let o = q.Children.only(n);
  return q.cloneElement(o, {
    children: typeof t == "function" ? t(o.props.children) : t
  });
}
var q, n_, pe, j4, o_, R3e, uK, Jr, a_, i_, s_, ro, l_, cK, pK, u_, V4, fK, dK, hK, c_, p_, J1, f_, mK, U4, d_, gK, yK, v_, y_, w_, S_, E_, b_ = I(
() => {
  "use client";
  q = _(F(), 1);
  j9();
  q9();
  K9();
  Y1();
  X9();
  J9();
  $4();
  e_();
  t_();
  n_ = _(F(), 1), pe = _(et(), 1);
  a(lK, "useStateMachine");
  j4 = "ScrollArea", [o_, R3e] = Y9(j4), [uK, Jr] = o_(j4), a_ = q.forwardRef(
    (e, t) => {
      let {
        __scopeScrollArea: r,
        type: n = "hover",
        dir: o,
        scrollHideDelay: i = 600,
        ...s
      } = e, [l, u] = q.useState(null), [c, p] = q.useState(null), [h, m] = q.useState(null), [g, w] = q.useState(null), [v, S] = q.useState(
      null), [E, y] = q.useState(0), [b, x] = q.useState(0), [R, C] = q.useState(!1), [D, A] = q.useState(!1), P = ko(t, (M) => u(M)), k = Q9(
      o);
      return /* @__PURE__ */ (0, pe.jsx)(
        uK,
        {
          scope: r,
          type: n,
          dir: k,
          scrollHideDelay: i,
          scrollArea: l,
          viewport: c,
          onViewportChange: p,
          content: h,
          onContentChange: m,
          scrollbarX: g,
          onScrollbarXChange: w,
          scrollbarXEnabled: R,
          onScrollbarXEnabledChange: C,
          scrollbarY: v,
          onScrollbarYChange: S,
          scrollbarYEnabled: D,
          onScrollbarYEnabledChange: A,
          onCornerWidthChange: y,
          onCornerHeightChange: x,
          children: /* @__PURE__ */ (0, pe.jsx)(
            Pl.div,
            {
              dir: k,
              ...s,
              ref: P,
              style: {
                position: "relative",
                // Pass corner sizes as CSS vars to reduce re-renders of context consumers
                "--radix-scroll-area-corner-width": E + "px",
                "--radix-scroll-area-corner-height": b + "px",
                ...e.style
              }
            }
          )
        }
      );
    }
  );
  a_.displayName = j4;
  i_ = "ScrollAreaViewport", s_ = q.forwardRef(
    (e, t) => {
      let { __scopeScrollArea: r, children: n, asChild: o, nonce: i, ...s } = e, l = Jr(i_, r), u = q.useRef(null), c = ko(t, u, l.onViewportChange);
      return /* @__PURE__ */ (0, pe.jsxs)(pe.Fragment, { children: [
        /* @__PURE__ */ (0, pe.jsx)(
          "style",
          {
            dangerouslySetInnerHTML: {
              __html: `
[data-radix-scroll-area-viewport] {
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
[data-radix-scroll-area-viewport]::-webkit-scrollbar {
  display: none;
}
:where([data-radix-scroll-area-viewport]) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
:where([data-radix-scroll-area-content]) {
  flex-grow: 1;
}
`
            },
            nonce: i
          }
        ),
        /* @__PURE__ */ (0, pe.jsx)(
          Pl.div,
          {
            "data-radix-scroll-area-viewport": "",
            ...s,
            asChild: o,
            ref: c,
            style: {
              /**
               * We don't support `visible` because the intention is to have at least one scrollbar
               * if this component is used and `visible` will behave like `auto` in that case
               * https://developer.mozilla.org/en-US/docs/Web/CSS/overflow#description
               *
               * We don't handle `auto` because the intention is for the native implementation
               * to be hidden if using this component. We just want to ensure the node is scrollable
               * so could have used either `scroll` or `auto` here. We picked `scroll` to prevent
               * the browser from having to work out whether to render native scrollbars or not,
               * we tell it to with the intention of hiding them in CSS.
               */
              overflowX: l.scrollbarXEnabled ? "scroll" : "hidden",
              overflowY: l.scrollbarYEnabled ? "scroll" : "hidden",
              ...e.style
            },
            children: wK({ asChild: o, children: n }, (p) => /* @__PURE__ */ (0, pe.jsx)(
              "div",
              {
                "data-radix-scroll-area-content": "",
                ref: l.onContentChange,
                style: { minWidth: l.scrollbarXEnabled ? "fit-content" : void 0 },
                children: p
              }
            ))
          }
        )
      ] });
    }
  );
  s_.displayName = i_;
  ro = "ScrollAreaScrollbar", l_ = q.forwardRef(
    (e, t) => {
      let { forceMount: r, ...n } = e, o = Jr(ro, e.__scopeScrollArea), { onScrollbarXEnabledChange: i, onScrollbarYEnabledChange: s } = o, l = e.
      orientation === "horizontal";
      return q.useEffect(() => (l ? i(!0) : s(!0), () => {
        l ? i(!1) : s(!1);
      }), [l, i, s]), o.type === "hover" ? /* @__PURE__ */ (0, pe.jsx)(cK, { ...n, ref: t, forceMount: r }) : o.type === "scroll" ? /* @__PURE__ */ (0, pe.jsx)(
      pK, { ...n, ref: t, forceMount: r }) : o.type === "auto" ? /* @__PURE__ */ (0, pe.jsx)(u_, { ...n, ref: t, forceMount: r }) : o.type ===
      "always" ? /* @__PURE__ */ (0, pe.jsx)(V4, { ...n, ref: t }) : null;
    }
  );
  l_.displayName = ro;
  cK = q.forwardRef((e, t) => {
    let { forceMount: r, ...n } = e, o = Jr(ro, e.__scopeScrollArea), [i, s] = q.useState(!1);
    return q.useEffect(() => {
      let l = o.scrollArea, u = 0;
      if (l) {
        let c = /* @__PURE__ */ a(() => {
          window.clearTimeout(u), s(!0);
        }, "handlePointerEnter"), p = /* @__PURE__ */ a(() => {
          u = window.setTimeout(() => s(!1), o.scrollHideDelay);
        }, "handlePointerLeave");
        return l.addEventListener("pointerenter", c), l.addEventListener("pointerleave", p), () => {
          window.clearTimeout(u), l.removeEventListener("pointerenter", c), l.removeEventListener("pointerleave", p);
        };
      }
    }, [o.scrollArea, o.scrollHideDelay]), /* @__PURE__ */ (0, pe.jsx)(kl, { present: r || i, children: /* @__PURE__ */ (0, pe.jsx)(
      u_,
      {
        "data-state": i ? "visible" : "hidden",
        ...n,
        ref: t
      }
    ) });
  }), pK = q.forwardRef((e, t) => {
    let { forceMount: r, ...n } = e, o = Jr(ro, e.__scopeScrollArea), i = e.orientation === "horizontal", s = th(() => u("SCROLL_END"), 100),
    [l, u] = lK("hidden", {
      hidden: {
        SCROLL: "scrolling"
      },
      scrolling: {
        SCROLL_END: "idle",
        POINTER_ENTER: "interacting"
      },
      interacting: {
        SCROLL: "interacting",
        POINTER_LEAVE: "idle"
      },
      idle: {
        HIDE: "hidden",
        SCROLL: "scrolling",
        POINTER_ENTER: "interacting"
      }
    });
    return q.useEffect(() => {
      if (l === "idle") {
        let c = window.setTimeout(() => u("HIDE"), o.scrollHideDelay);
        return () => window.clearTimeout(c);
      }
    }, [l, o.scrollHideDelay, u]), q.useEffect(() => {
      let c = o.viewport, p = i ? "scrollLeft" : "scrollTop";
      if (c) {
        let h = c[p], m = /* @__PURE__ */ a(() => {
          let g = c[p];
          h !== g && (u("SCROLL"), s()), h = g;
        }, "handleScroll");
        return c.addEventListener("scroll", m), () => c.removeEventListener("scroll", m);
      }
    }, [o.viewport, i, u, s]), /* @__PURE__ */ (0, pe.jsx)(kl, { present: r || l !== "hidden", children: /* @__PURE__ */ (0, pe.jsx)(
      V4,
      {
        "data-state": l === "hidden" ? "hidden" : "visible",
        ...n,
        ref: t,
        onPointerEnter: Ba(e.onPointerEnter, () => u("POINTER_ENTER")),
        onPointerLeave: Ba(e.onPointerLeave, () => u("POINTER_LEAVE"))
      }
    ) });
  }), u_ = q.forwardRef((e, t) => {
    let r = Jr(ro, e.__scopeScrollArea), { forceMount: n, ...o } = e, [i, s] = q.useState(!1), l = e.orientation === "horizontal", u = th(() => {
      if (r.viewport) {
        let c = r.viewport.offsetWidth < r.viewport.scrollWidth, p = r.viewport.offsetHeight < r.viewport.scrollHeight;
        s(l ? c : p);
      }
    }, 10);
    return Ll(r.viewport, u), Ll(r.content, u), /* @__PURE__ */ (0, pe.jsx)(kl, { present: n || i, children: /* @__PURE__ */ (0, pe.jsx)(
      V4,
      {
        "data-state": i ? "visible" : "hidden",
        ...o,
        ref: t
      }
    ) });
  }), V4 = q.forwardRef((e, t) => {
    let { orientation: r = "vertical", ...n } = e, o = Jr(ro, e.__scopeScrollArea), i = q.useRef(null), s = q.useRef(0), [l, u] = q.useState(
    {
      content: 0,
      viewport: 0,
      scrollbar: { size: 0, paddingStart: 0, paddingEnd: 0 }
    }), c = h_(l.viewport, l.content), p = {
      ...n,
      sizes: l,
      onSizesChange: u,
      hasThumb: c > 0 && c < 1,
      onThumbChange: /* @__PURE__ */ a((m) => i.current = m, "onThumbChange"),
      onThumbPointerUp: /* @__PURE__ */ a(() => s.current = 0, "onThumbPointerUp"),
      onThumbPointerDown: /* @__PURE__ */ a((m) => s.current = m, "onThumbPointerDown")
    };
    function h(m, g) {
      return vK(m, s.current, l, g);
    }
    return a(h, "getScrollPosition"), r === "horizontal" ? /* @__PURE__ */ (0, pe.jsx)(
      fK,
      {
        ...p,
        ref: t,
        onThumbPositionChange: /* @__PURE__ */ a(() => {
          if (o.viewport && i.current) {
            let m = o.viewport.scrollLeft, g = r_(m, l, o.dir);
            i.current.style.transform = `translate3d(${g}px, 0, 0)`;
          }
        }, "onThumbPositionChange"),
        onWheelScroll: /* @__PURE__ */ a((m) => {
          o.viewport && (o.viewport.scrollLeft = m);
        }, "onWheelScroll"),
        onDragScroll: /* @__PURE__ */ a((m) => {
          o.viewport && (o.viewport.scrollLeft = h(m, o.dir));
        }, "onDragScroll")
      }
    ) : r === "vertical" ? /* @__PURE__ */ (0, pe.jsx)(
      dK,
      {
        ...p,
        ref: t,
        onThumbPositionChange: /* @__PURE__ */ a(() => {
          if (o.viewport && i.current) {
            let m = o.viewport.scrollTop, g = r_(m, l);
            i.current.style.transform = `translate3d(0, ${g}px, 0)`;
          }
        }, "onThumbPositionChange"),
        onWheelScroll: /* @__PURE__ */ a((m) => {
          o.viewport && (o.viewport.scrollTop = m);
        }, "onWheelScroll"),
        onDragScroll: /* @__PURE__ */ a((m) => {
          o.viewport && (o.viewport.scrollTop = h(m));
        }, "onDragScroll")
      }
    ) : null;
  }), fK = q.forwardRef((e, t) => {
    let { sizes: r, onSizesChange: n, ...o } = e, i = Jr(ro, e.__scopeScrollArea), [s, l] = q.useState(), u = q.useRef(null), c = ko(t, u, i.
    onScrollbarXChange);
    return q.useEffect(() => {
      u.current && l(getComputedStyle(u.current));
    }, [u]), /* @__PURE__ */ (0, pe.jsx)(
      p_,
      {
        "data-orientation": "horizontal",
        ...o,
        ref: c,
        sizes: r,
        style: {
          bottom: 0,
          left: i.dir === "rtl" ? "var(--radix-scroll-area-corner-width)" : 0,
          right: i.dir === "ltr" ? "var(--radix-scroll-area-corner-width)" : 0,
          "--radix-scroll-area-thumb-width": eh(r) + "px",
          ...e.style
        },
        onThumbPointerDown: /* @__PURE__ */ a((p) => e.onThumbPointerDown(p.x), "onThumbPointerDown"),
        onDragScroll: /* @__PURE__ */ a((p) => e.onDragScroll(p.x), "onDragScroll"),
        onWheelScroll: /* @__PURE__ */ a((p, h) => {
          if (i.viewport) {
            let m = i.viewport.scrollLeft + p.deltaX;
            e.onWheelScroll(m), g_(m, h) && p.preventDefault();
          }
        }, "onWheelScroll"),
        onResize: /* @__PURE__ */ a(() => {
          u.current && i.viewport && s && n({
            content: i.viewport.scrollWidth,
            viewport: i.viewport.offsetWidth,
            scrollbar: {
              size: u.current.clientWidth,
              paddingStart: Z1(s.paddingLeft),
              paddingEnd: Z1(s.paddingRight)
            }
          });
        }, "onResize")
      }
    );
  }), dK = q.forwardRef((e, t) => {
    let { sizes: r, onSizesChange: n, ...o } = e, i = Jr(ro, e.__scopeScrollArea), [s, l] = q.useState(), u = q.useRef(null), c = ko(t, u, i.
    onScrollbarYChange);
    return q.useEffect(() => {
      u.current && l(getComputedStyle(u.current));
    }, [u]), /* @__PURE__ */ (0, pe.jsx)(
      p_,
      {
        "data-orientation": "vertical",
        ...o,
        ref: c,
        sizes: r,
        style: {
          top: 0,
          right: i.dir === "ltr" ? 0 : void 0,
          left: i.dir === "rtl" ? 0 : void 0,
          bottom: "var(--radix-scroll-area-corner-height)",
          "--radix-scroll-area-thumb-height": eh(r) + "px",
          ...e.style
        },
        onThumbPointerDown: /* @__PURE__ */ a((p) => e.onThumbPointerDown(p.y), "onThumbPointerDown"),
        onDragScroll: /* @__PURE__ */ a((p) => e.onDragScroll(p.y), "onDragScroll"),
        onWheelScroll: /* @__PURE__ */ a((p, h) => {
          if (i.viewport) {
            let m = i.viewport.scrollTop + p.deltaY;
            e.onWheelScroll(m), g_(m, h) && p.preventDefault();
          }
        }, "onWheelScroll"),
        onResize: /* @__PURE__ */ a(() => {
          u.current && i.viewport && s && n({
            content: i.viewport.scrollHeight,
            viewport: i.viewport.offsetHeight,
            scrollbar: {
              size: u.current.clientHeight,
              paddingStart: Z1(s.paddingTop),
              paddingEnd: Z1(s.paddingBottom)
            }
          });
        }, "onResize")
      }
    );
  }), [hK, c_] = o_(ro), p_ = q.forwardRef((e, t) => {
    let {
      __scopeScrollArea: r,
      sizes: n,
      hasThumb: o,
      onThumbChange: i,
      onThumbPointerUp: s,
      onThumbPointerDown: l,
      onThumbPositionChange: u,
      onDragScroll: c,
      onWheelScroll: p,
      onResize: h,
      ...m
    } = e, g = Jr(ro, r), [w, v] = q.useState(null), S = ko(t, (P) => v(P)), E = q.useRef(null), y = q.useRef(""), b = g.viewport, x = n.content -
    n.viewport, R = Ma(p), C = Ma(u), D = th(h, 10);
    function A(P) {
      if (E.current) {
        let k = P.clientX - E.current.left, M = P.clientY - E.current.top;
        c({ x: k, y: M });
      }
    }
    return a(A, "handleDragScroll"), q.useEffect(() => {
      let P = /* @__PURE__ */ a((k) => {
        let M = k.target;
        w?.contains(M) && R(k, x);
      }, "handleWheel");
      return document.addEventListener("wheel", P, { passive: !1 }), () => document.removeEventListener("wheel", P, { passive: !1 });
    }, [b, w, x, R]), q.useEffect(C, [n, C]), Ll(w, D), Ll(g.content, D), /* @__PURE__ */ (0, pe.jsx)(
      hK,
      {
        scope: r,
        scrollbar: w,
        hasThumb: o,
        onThumbChange: Ma(i),
        onThumbPointerUp: Ma(s),
        onThumbPositionChange: C,
        onThumbPointerDown: Ma(l),
        children: /* @__PURE__ */ (0, pe.jsx)(
          Pl.div,
          {
            ...m,
            ref: S,
            style: { position: "absolute", ...m.style },
            onPointerDown: Ba(e.onPointerDown, (P) => {
              P.button === 0 && (P.target.setPointerCapture(P.pointerId), E.current = w.getBoundingClientRect(), y.current = document.body.style.
              webkitUserSelect, document.body.style.webkitUserSelect = "none", g.viewport && (g.viewport.style.scrollBehavior = "auto"), A(P));
            }),
            onPointerMove: Ba(e.onPointerMove, A),
            onPointerUp: Ba(e.onPointerUp, (P) => {
              let k = P.target;
              k.hasPointerCapture(P.pointerId) && k.releasePointerCapture(P.pointerId), document.body.style.webkitUserSelect = y.current, g.
              viewport && (g.viewport.style.scrollBehavior = ""), E.current = null;
            })
          }
        )
      }
    );
  }), J1 = "ScrollAreaThumb", f_ = q.forwardRef(
    (e, t) => {
      let { forceMount: r, ...n } = e, o = c_(J1, e.__scopeScrollArea);
      return /* @__PURE__ */ (0, pe.jsx)(kl, { present: r || o.hasThumb, children: /* @__PURE__ */ (0, pe.jsx)(mK, { ref: t, ...n }) });
    }
  ), mK = q.forwardRef(
    (e, t) => {
      let { __scopeScrollArea: r, style: n, ...o } = e, i = Jr(J1, r), s = c_(J1, r), { onThumbPositionChange: l } = s, u = ko(
        t,
        (h) => s.onThumbChange(h)
      ), c = q.useRef(), p = th(() => {
        c.current && (c.current(), c.current = void 0);
      }, 100);
      return q.useEffect(() => {
        let h = i.viewport;
        if (h) {
          let m = /* @__PURE__ */ a(() => {
            if (p(), !c.current) {
              let g = yK(h, l);
              c.current = g, l();
            }
          }, "handleScroll");
          return l(), h.addEventListener("scroll", m), () => h.removeEventListener("scroll", m);
        }
      }, [i.viewport, p, l]), /* @__PURE__ */ (0, pe.jsx)(
        Pl.div,
        {
          "data-state": s.hasThumb ? "visible" : "hidden",
          ...o,
          ref: u,
          style: {
            width: "var(--radix-scroll-area-thumb-width)",
            height: "var(--radix-scroll-area-thumb-height)",
            ...n
          },
          onPointerDownCapture: Ba(e.onPointerDownCapture, (h) => {
            let g = h.target.getBoundingClientRect(), w = h.clientX - g.left, v = h.clientY - g.top;
            s.onThumbPointerDown({ x: w, y: v });
          }),
          onPointerUp: Ba(e.onPointerUp, s.onThumbPointerUp)
        }
      );
    }
  );
  f_.displayName = J1;
  U4 = "ScrollAreaCorner", d_ = q.forwardRef(
    (e, t) => {
      let r = Jr(U4, e.__scopeScrollArea), n = !!(r.scrollbarX && r.scrollbarY);
      return r.type !== "scroll" && n ? /* @__PURE__ */ (0, pe.jsx)(gK, { ...e, ref: t }) : null;
    }
  );
  d_.displayName = U4;
  gK = q.forwardRef((e, t) => {
    let { __scopeScrollArea: r, ...n } = e, o = Jr(U4, r), [i, s] = q.useState(0), [l, u] = q.useState(0), c = !!(i && l);
    return Ll(o.scrollbarX, () => {
      let p = o.scrollbarX?.offsetHeight || 0;
      o.onCornerHeightChange(p), u(p);
    }), Ll(o.scrollbarY, () => {
      let p = o.scrollbarY?.offsetWidth || 0;
      o.onCornerWidthChange(p), s(p);
    }), c ? /* @__PURE__ */ (0, pe.jsx)(
      Pl.div,
      {
        ...n,
        ref: t,
        style: {
          width: i,
          height: l,
          position: "absolute",
          right: o.dir === "ltr" ? 0 : void 0,
          left: o.dir === "rtl" ? 0 : void 0,
          bottom: 0,
          ...e.style
        }
      }
    ) : null;
  });
  a(Z1, "toInt");
  a(h_, "getThumbRatio");
  a(eh, "getThumbSize");
  a(vK, "getScrollPositionFromPointer");
  a(r_, "getThumbOffsetFromScroll");
  a(m_, "linearScale");
  a(g_, "isScrollingWithinScrollbarBounds");
  yK = /* @__PURE__ */ a((e, t = () => {
  }) => {
    let r = { left: e.scrollLeft, top: e.scrollTop }, n = 0;
    return (/* @__PURE__ */ a(function o() {
      let i = { left: e.scrollLeft, top: e.scrollTop }, s = r.left !== i.left, l = r.top !== i.top;
      (s || l) && t(), r = i, n = window.requestAnimationFrame(o);
    }, "loop"))(), () => window.cancelAnimationFrame(n);
  }, "addUnlinkedScrollListener");
  a(th, "useDebounceCallback");
  a(Ll, "useResizeObserver");
  a(wK, "getSubtree");
  v_ = a_, y_ = s_, w_ = l_, S_ = f_, E_ = d_;
});

// src/components/components/ScrollArea/ScrollArea.tsx
var no, EK, bK, x_, R_, Oi, rh = I(() => {
  "use strict";
  no = _(F(), 1);
  Y();
  b_();
  EK = T(v_)(
    ({ scrollbarsize: e, offset: t }) => ({
      width: "100%",
      height: "100%",
      overflow: "hidden",
      "--scrollbar-size": `${e + t}px`,
      "--radix-scroll-area-thumb-width": `${e}px`
    })
  ), bK = T(y_)({
    width: "100%",
    height: "100%"
  }), x_ = T(w_)(({ offset: e, horizontal: t, vertical: r }) => ({
    display: "flex",
    userSelect: "none",
    // ensures no selection
    touchAction: "none",
    // disable browser handling of all panning and zooming gestures on touch devices
    background: "transparent",
    transition: "all 0.2s ease-out",
    borderRadius: "var(--scrollbar-size)",
    zIndex: 1,
    '&[data-orientation="vertical"]': {
      width: "var(--scrollbar-size)",
      paddingRight: e,
      marginTop: e,
      marginBottom: t === "true" && r === "true" ? 0 : e
    },
    '&[data-orientation="horizontal"]': {
      flexDirection: "column",
      height: "var(--scrollbar-size)",
      paddingBottom: e,
      marginLeft: e,
      marginRight: t === "true" && r === "true" ? 0 : e
    }
  })), R_ = T(S_)(({ theme: e }) => ({
    flex: 1,
    background: e.textMutedColor,
    opacity: 0.5,
    borderRadius: "var(--scrollbar-size)",
    position: "relative",
    transition: "opacity 0.2s ease-out",
    "&:hover": { opacity: 0.8 },
    /* increase target size for touch devices https://www.w3.org/WAI/WCAG21/Understanding/target-size.html */
    "::before": {
      content: '""',
      position: "absolute",
      top: "50%",
      left: "50%",
      transform: "translate(-50%,-50%)",
      width: "100%",
      height: "100%"
    }
  })), Oi = (0, no.forwardRef)(
    ({ children: e, horizontal: t = !1, vertical: r = !1, offset: n = 2, scrollbarSize: o = 6, className: i }, s) => /* @__PURE__ */ no.default.
    createElement(EK, { scrollbarsize: o, offset: n, className: i }, /* @__PURE__ */ no.default.createElement(bK, { ref: s }, e), t && /* @__PURE__ */ no.default.
    createElement(
      x_,
      {
        orientation: "horizontal",
        offset: n,
        horizontal: t.toString(),
        vertical: r.toString()
      },
      /* @__PURE__ */ no.default.createElement(R_, null)
    ), r && /* @__PURE__ */ no.default.createElement(
      x_,
      {
        orientation: "vertical",
        offset: n,
        horizontal: t.toString(),
        vertical: r.toString()
      },
      /* @__PURE__ */ no.default.createElement(R_, null)
    ), t && r && /* @__PURE__ */ no.default.createElement(E_, null))
  );
  Oi.displayName = "ScrollArea";
});

// src/components/components/syntaxhighlighter/syntaxhighlighter.tsx
var W4 = {};
de(W4, {
  SyntaxHighlighter: () => Qp,
  createCopyToClipboardFunction: () => nh,
  default: () => FK,
  supportedLanguages: () => A_
});
function nh() {
  return C_?.clipboard ? (e) => C_.clipboard.writeText(e) : async (e) => {
    let t = Xp.createElement("TEXTAREA"), r = Xp.activeElement;
    t.value = e, Xp.body.appendChild(t), t.select(), Xp.execCommand("copy"), Xp.body.removeChild(t), r.focus();
  };
}
var Pr, D_, C_, Xp, xK, A_, RK, CK, DK, AK, _K, TK, IK, __, PK, kK, Qp, FK, Jp = I(() => {
  "use strict";
  Pr = _(F(), 1);
  Y();
  qe();
  Ht();
  D_ = _(Kn(), 1);
  BA();
  VA();
  qA();
  QA();
  r9();
  s9();
  p9();
  g9();
  w9();
  C9();
  _9();
  F9();
  MA();
  M4();
  rh();
  ({ navigator: C_, document: Xp, window: xK } = z), A_ = {
    jsextra: t9,
    jsx: c9,
    json: i9,
    yml: k9,
    md: m9,
    bash: jA,
    css: WA,
    html: y9,
    tsx: R9,
    typescript: A9,
    graphql: XA
  };
  Object.entries(A_).forEach(([e, t]) => {
    q1.registerLanguage(e, t);
  });
  RK = (0, D_.default)(2)(
    (e) => Object.entries(e.code || {}).reduce((t, [r, n]) => ({ ...t, [`* .${r}`]: n }), {})
  ), CK = nh();
  a(nh, "createCopyToClipboardFunction");
  DK = T.div(
    ({ theme: e }) => ({
      position: "relative",
      overflow: "hidden",
      color: e.color.defaultText
    }),
    ({ theme: e, bordered: t }) => t ? {
      border: `1px solid ${e.appBorderColor}`,
      borderRadius: e.borderRadius,
      background: e.background.content
    } : {},
    ({ showLineNumbers: e }) => e ? {
      // use the before pseudo element to display line numbers
      ".react-syntax-highlighter-line-number::before": {
        content: "attr(data-line-number)"
      }
    } : {}
  ), AK = /* @__PURE__ */ a(({ children: e, className: t }) => /* @__PURE__ */ Pr.default.createElement(Oi, { horizontal: !0, vertical: !0, className: t },
  e), "UnstyledScroller"), _K = T(AK)(
    {
      position: "relative"
    },
    ({ theme: e }) => RK(e)
  ), TK = T.pre(({ theme: e, padded: t }) => ({
    display: "flex",
    justifyContent: "flex-start",
    margin: 0,
    padding: t ? e.layoutMargin : 0
  })), IK = T.div(({ theme: e }) => ({
    flex: 1,
    paddingLeft: 2,
    // TODO: To match theming/global.ts for now
    paddingRight: e.layoutMargin,
    opacity: 1,
    fontFamily: e.typography.fonts.mono
  })), __ = /* @__PURE__ */ a((e) => {
    let t = [...e.children], r = t[0], n = r.children[0].value, o = {
      ...r,
      // empty the line-number element
      children: [],
      properties: {
        ...r.properties,
        // add a data-line-number attribute to line-number element, so we can access the line number with `content: attr(data-line-number)`
        "data-line-number": n,
        // remove the 'userSelect: none' style, which will produce extra empty lines when copy-pasting in firefox
        style: { ...r.properties.style, userSelect: "auto" }
      }
    };
    return t[0] = o, { ...e, children: t };
  }, "processLineNumber"), PK = /* @__PURE__ */ a(({ rows: e, stylesheet: t, useInlineStyles: r }) => e.map((n, o) => ki({
    node: __(n),
    stylesheet: t,
    useInlineStyles: r,
    key: `code-segement${o}`
  })), "defaultRenderer"), kK = /* @__PURE__ */ a((e, t) => t ? e ? ({ rows: r, ...n }) => e({ rows: r.map((o) => __(o)), ...n }) : PK : e, "\
wrapRenderer"), Qp = /* @__PURE__ */ a(({
    children: e,
    language: t = "jsx",
    copyable: r = !1,
    bordered: n = !1,
    padded: o = !1,
    format: i = !0,
    formatter: s = void 0,
    className: l = void 0,
    showLineNumbers: u = !1,
    ...c
  }) => {
    if (typeof e != "string" || !e.trim())
      return null;
    let [p, h] = (0, Pr.useState)("");
    (0, Pr.useEffect)(() => {
      s ? s(i, e).then(h) : h(e.trim());
    }, [e, i, s]);
    let [m, g] = (0, Pr.useState)(!1), w = (0, Pr.useCallback)(
      (S) => {
        S.preventDefault(), CK(p).then(() => {
          g(!0), xK.setTimeout(() => g(!1), 1500);
        }).catch(ge.error);
      },
      [p]
    ), v = kK(c.renderer, u);
    return /* @__PURE__ */ Pr.default.createElement(
      DK,
      {
        bordered: n,
        padded: o,
        showLineNumbers: u,
        className: l
      },
      /* @__PURE__ */ Pr.default.createElement(_K, null, /* @__PURE__ */ Pr.default.createElement(
        q1,
        {
          padded: o || n,
          language: t,
          showLineNumbers: u,
          showInlineLineNumbers: u,
          useInlineStyles: !1,
          PreTag: TK,
          CodeTag: IK,
          lineNumberContainerStyle: {},
          ...c,
          renderer: v
        },
        p
      )),
      r ? /* @__PURE__ */ Pr.default.createElement(G1, { actionItems: [{ title: m ? "Copied" : "Copy", onClick: w }] }) : null
    );
  }, "SyntaxHighlighter");
  Qp.registerLanguage = (...e) => q1.registerLanguage(...e);
  FK = Qp;
});

// ../node_modules/prettier/plugins/html.mjs
function bee(e) {
  if (typeof e == "string") return hT;
  if (Array.isArray(e)) return mT;
  if (!e) return;
  let { type: t } = e;
  if (ET.has(t)) return t;
}
function Ree(e) {
  let t = e === null ? "null" : typeof e;
  if (t !== "string" && t !== "object") return `Unexpected doc '${t}', 
Expected it to be 'string' or 'object'.`;
  if (bT(e)) throw new Error("doc is valid.");
  let r = Object.prototype.toString.call(e);
  if (r !== "[object Object]") return `Unexpected doc '${r}'.`;
  let n = xee([...ET].map((o) => `'${o}'`));
  return `Unexpected doc.type '${e.type}'.
Expected it to be ${n}.`;
}
function io(e) {
  return $i(e), { type: lw, contents: e };
}
function RT(e, t) {
  return $i(t), { type: uw, contents: t, n: e };
}
function lt(e, t = {}) {
  return $i(e), mw(t.expandedStates, !0), { type: cw, id: t.id, contents: e, break: !!t.shouldBreak, expandedStates: t.expandedStates };
}
function Aee(e) {
  return RT(Number.NEGATIVE_INFINITY, e);
}
function _ee(e) {
  return RT({ type: "root" }, e);
}
function CT(e) {
  return mw(e), { type: pw, parts: e };
}
function kh(e, t = "", r = {}) {
  return $i(e), t !== "" && $i(t), { type: fw, breakContents: e, flatContents: t, groupId: r.groupId };
}
function Tee(e, t) {
  return $i(e), { type: dw, contents: e, groupId: t.groupId, negate: t.negate };
}
function mu(e, t) {
  $i(e), mw(t);
  let r = [];
  for (let n = 0; n < t.length; n++) n !== 0 && r.push(e), r.push(t[n]);
  return r;
}
function DT(e, t) {
  if (typeof e == "string") return t(e);
  let r = /* @__PURE__ */ new Map();
  return n(e);
  function n(i) {
    if (r.has(i)) return r.get(i);
    let s = o(i);
    return r.set(i, s), s;
  }
  function o(i) {
    switch (bT(i)) {
      case mT:
        return t(i.map(n));
      case pw:
        return t({ ...i, parts: i.parts.map(n) });
      case fw:
        return t({ ...i, breakContents: n(i.breakContents), flatContents: n(i.flatContents) });
      case cw: {
        let { expandedStates: s, contents: l } = i;
        return s ? (s = s.map(n), l = s[0]) : l = n(l), t({ ...i, contents: l, expandedStates: s });
      }
      case uw:
      case lw:
      case dw:
      case ST:
      case yT:
        return t({ ...i, contents: n(i.contents) });
      case hT:
      case gT:
      case vT:
      case wT:
      case hu:
      case hw:
        return t(i);
      default:
        throw new Dee(i);
    }
  }
}
function _n(e, t = kee) {
  return DT(e, (r) => typeof r == "string" ? mu(t, r.split(`
`)) : r);
}
function Lee(e, t) {
  let r = t === !0 || t === Ch ? Ch : F_, n = r === Ch ? F_ : Ch, o = 0, i = 0;
  for (let s of e) s === r ? o++ : s === n && i++;
  return o > i ? n : r;
}
function Nee(e) {
  if (typeof e != "string") throw new TypeError("Expected a string");
  return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
}
function Vee(e) {
  return e?.type === "front-matter";
}
function AT(e, t) {
  var r;
  if (e.type === "text" || e.type === "comment" || Hh(e) || e.type === "yaml" || e.type === "toml") return null;
  if (e.type === "attribute" && delete t.value, e.type === "docType" && delete t.value, e.type === "angularControlFlowBlock" && (r = e.parameters) !=
  null && r.children) for (let n of t.parameters.children) Wee.has(e.name) ? delete n.expression : n.expression = n.expression.trim();
  e.type === "angularIcuExpression" && (t.switchValue = e.switchValue.trim()), e.type === "angularLetDeclarationInitializer" && delete t.value;
}
async function Gee(e, t) {
  if (e.language === "yaml") {
    let r = e.value.trim(), n = r ? await t(r, { parser: "yaml" }) : "";
    return _ee([e.startDelimiter, e.explicitLanguage, Fe, n, n ? Fe : "", e.endDelimiter]);
  }
}
function $h(e, t = !0) {
  return [io([$t, e]), t ? $t : ""];
}
function gu(e, t) {
  let r = e.type === "NGRoot" ? e.node.type === "NGMicrosyntax" && e.node.body.length === 1 && e.node.body[0].type === "NGMicrosyntaxExpress\
ion" ? e.node.body[0].expression : e.node : e.type === "JsExpressionRoot" ? e.node : e;
  return r && (r.type === "ObjectExpression" || r.type === "ArrayExpression" || (t.parser === "__vue_expression" || t.parser === "__vue_ts_e\
xpression") && (r.type === "TemplateLiteral" || r.type === "StringLiteral"));
}
async function Tn(e, t, r, n) {
  r = { __isInHtmlAttribute: !0, __embeddedInHtml: !0, ...r };
  let o = !0;
  n && (r.__onHtmlBindingRoot = (s, l) => {
    o = n(s, l);
  });
  let i = await t(e, r, t);
  return o ? lt(i) : $h(i);
}
function Kee(e, t, r, n) {
  let { node: o } = r, i = n.originalText.slice(o.sourceSpan.start.offset, o.sourceSpan.end.offset);
  return /^\s*$/u.test(i) ? "" : Tn(i, e, { parser: "__ng_directive", __isInHtmlAttribute: !1 }, gu);
}
function L_(e, t) {
  if (!t) return;
  let r = Qee(t).toLowerCase();
  return e.find(({ filenames: n }) => n?.some((o) => o.toLowerCase() === r)) ?? e.find(({ extensions: n }) => n?.some((o) => r.endsWith(o)));
}
function Jee(e, t) {
  if (t) return e.find(({ name: r }) => r.toLowerCase() === t) ?? e.find(({ aliases: r }) => r?.includes(t)) ?? e.find(({ extensions: r }) => r?.
  includes(`.${t}`));
}
function Zee(e, t) {
  let r = e.plugins.flatMap((o) => o.languages ?? []), n = Jee(r, t.language) ?? L_(r, t.physicalFile) ?? L_(r, t.file) ?? (t.physicalFile, void 0);
  return n?.parsers[0];
}
function ote(e) {
  return e.type === "element" && !e.hasExplicitNamespace && !["html", "svg"].includes(e.namespace);
}
function TT(e, t) {
  return !!(e.type === "ieConditionalComment" && e.lastChild && !e.lastChild.isSelfClosing && !e.lastChild.endSourceSpan || e.type === "ieCo\
nditionalComment" && !e.complete || du(e) && e.children.some((r) => r.type !== "text" && r.type !== "interpolation") || vw(e, t) && !Lo(e) &&
  e.type !== "interpolation");
}
function Vh(e) {
  return e.type === "attribute" || !e.parent || !e.prev ? !1 : ste(e.prev);
}
function ste(e) {
  return e.type === "comment" && e.value.trim() === "prettier-ignore";
}
function Zr(e) {
  return e.type === "text" || e.type === "comment";
}
function Lo(e) {
  return e.type === "element" && (e.fullName === "script" || e.fullName === "style" || e.fullName === "svg:style" || e.fullName === "svg:scr\
ipt" || uf(e) && (e.name === "script" || e.name === "style"));
}
function lte(e) {
  return e.children && !Lo(e);
}
function ute(e) {
  return Lo(e) || e.type === "interpolation" || IT(e);
}
function IT(e) {
  return MT(e).startsWith("pre");
}
function cte(e, t) {
  var r, n;
  let o = i();
  if (o && !e.prev && (n = (r = e.parent) == null ? void 0 : r.tagDefinition) != null && n.ignoreFirstLf) return e.type === "interpolation";
  return o;
  function i() {
    return Hh(e) || e.type === "angularControlFlowBlock" ? !1 : (e.type === "text" || e.type === "interpolation") && e.prev && (e.prev.type ===
    "text" || e.prev.type === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 : du(e.parent) ? !0 : !(!e.prev && (e.
    parent.type === "root" || du(e) && e.parent || Lo(e.parent) || Uh(e.parent, t) || !wte(e.parent.cssDisplay)) || e.prev && !bte(e.prev.cssDisplay));
  }
}
function pte(e, t) {
  return Hh(e) || e.type === "angularControlFlowBlock" ? !1 : (e.type === "text" || e.type === "interpolation") && e.next && (e.next.type ===
  "text" || e.next.type === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 : du(e.parent) ? !0 : !(!e.next && (e.parent.
  type === "root" || du(e) && e.parent || Lo(e.parent) || Uh(e.parent, t) || !Ste(e.parent.cssDisplay)) || e.next && !Ete(e.next.cssDisplay));
}
function fte(e) {
  return xte(e.cssDisplay) && !Lo(e);
}
function Dh(e) {
  return Hh(e) || e.next && e.sourceSpan.end && e.sourceSpan.end.line + 1 < e.next.sourceSpan.start.line;
}
function dte(e) {
  return PT(e) || e.type === "element" && e.children.length > 0 && (["body", "script", "style"].includes(e.name) || e.children.some((t) => mte(
  t))) || e.firstChild && e.firstChild === e.lastChild && e.firstChild.type !== "text" && FT(e.firstChild) && (!e.lastChild.isTrailingSpaceSensitive ||
  LT(e.lastChild));
}
function PT(e) {
  return e.type === "element" && e.children.length > 0 && (["html", "head", "ul", "ol", "select"].includes(e.name) || e.cssDisplay.startsWith(
  "table") && e.cssDisplay !== "table-cell");
}
function Q4(e) {
  return OT(e) || e.prev && hte(e.prev) || kT(e);
}
function hte(e) {
  return OT(e) || e.type === "element" && e.fullName === "br" || kT(e);
}
function kT(e) {
  return FT(e) && LT(e);
}
function FT(e) {
  return e.hasLeadingSpaces && (e.prev ? e.prev.sourceSpan.end.line < e.sourceSpan.start.line : e.parent.type === "root" || e.parent.startSourceSpan.
  end.line < e.sourceSpan.start.line);
}
function LT(e) {
  return e.hasTrailingSpaces && (e.next ? e.next.sourceSpan.start.line > e.sourceSpan.end.line : e.parent.type === "root" || e.parent.endSourceSpan &&
  e.parent.endSourceSpan.start.line > e.sourceSpan.end.line);
}
function OT(e) {
  switch (e.type) {
    case "ieConditionalComment":
    case "comment":
    case "directive":
      return !0;
    case "element":
      return ["script", "select"].includes(e.name);
  }
  return !1;
}
function gw(e) {
  return e.lastChild ? gw(e.lastChild) : e;
}
function mte(e) {
  var t;
  return (t = e.children) == null ? void 0 : t.some((r) => r.type !== "text");
}
function NT(e) {
  if (e) switch (e) {
    case "module":
    case "text/javascript":
    case "text/babel":
    case "application/javascript":
      return "babel";
    case "application/x-typescript":
      return "typescript";
    case "text/markdown":
      return "markdown";
    case "text/html":
      return "html";
    case "text/x-handlebars-template":
      return "glimmer";
    default:
      if (e.endsWith("json") || e.endsWith("importmap") || e === "speculationrules") return "json";
  }
}
function gte(e, t) {
  let { name: r, attrMap: n } = e;
  if (r !== "script" || Object.prototype.hasOwnProperty.call(n, "src")) return;
  let { type: o, lang: i } = e.attrMap;
  return !i && !o ? "babel" : jh(t, { language: i }) ?? NT(o);
}
function vte(e, t) {
  if (!vw(e, t)) return;
  let { attrMap: r } = e;
  if (Object.prototype.hasOwnProperty.call(r, "src")) return;
  let { type: n, lang: o } = r;
  return jh(t, { language: o }) ?? NT(n);
}
function yte(e, t) {
  if (e.name !== "style") return;
  let { lang: r } = e.attrMap;
  return r ? jh(t, { language: r }) : "css";
}
function O_(e, t) {
  return gte(e, t) ?? yte(e, t) ?? vte(e, t);
}
function ff(e) {
  return e === "block" || e === "list-item" || e.startsWith("table");
}
function wte(e) {
  return !ff(e) && e !== "inline-block";
}
function Ste(e) {
  return !ff(e) && e !== "inline-block";
}
function Ete(e) {
  return !ff(e);
}
function bte(e) {
  return !ff(e);
}
function xte(e) {
  return !ff(e) && e !== "inline-block";
}
function du(e) {
  return MT(e).startsWith("pre");
}
function Rte(e, t) {
  let r = e;
  for (; r; ) {
    if (t(r)) return !0;
    r = r.parent;
  }
  return !1;
}
function Cte(e, t) {
  var r;
  if (vu(e, t)) return "block";
  if (((r = e.prev) == null ? void 0 : r.type) === "comment") {
    let o = e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);
    if (o) return o[1];
  }
  let n = !1;
  if (e.type === "element" && e.namespace === "svg") if (Rte(e, (o) => o.fullName === "svg:foreignObject")) n = !0;
  else return e.name === "svg" ? "inline-block" : "block";
  switch (t.htmlWhitespaceSensitivity) {
    case "strict":
      return "inline";
    case "ignore":
      return "block";
    default:
      return e.type === "element" && (!e.namespace || n || uf(e)) && tte[e.name] || ete;
  }
}
function MT(e) {
  return e.type === "element" && (!e.namespace || uf(e)) && nte[e.name] || rte;
}
function Dte(e) {
  let t = Number.POSITIVE_INFINITY;
  for (let r of e.split(`
`)) {
    if (r.length === 0) continue;
    let n = ao.getLeadingWhitespaceCount(r);
    if (n === 0) return 0;
    r.length !== n && n < t && (t = n);
  }
  return t === Number.POSITIVE_INFINITY ? 0 : t;
}
function BT(e, t = Dte(e)) {
  return t === 0 ? e : e.split(`
`).map((r) => r.slice(t)).join(`
`);
}
function zT(e) {
  return kr(!1, kr(!1, e, "&apos;", "'"), "&quot;", '"');
}
function Va(e) {
  return zT(e.value);
}
function Uh(e, t) {
  return vu(e, t) && !Ate.has(e.fullName);
}
function vu(e, t) {
  return t.parser === "vue" && e.type === "element" && e.parent.type === "root" && e.fullName.toLowerCase() !== "html";
}
function vw(e, t) {
  return vu(e, t) && (Uh(e, t) || e.attrMap.lang && e.attrMap.lang !== "html");
}
function _te(e) {
  let t = e.fullName;
  return t.charAt(0) === "#" || t === "slot-scope" || t === "v-slot" || t.startsWith("v-slot:");
}
function Tte(e, t) {
  let r = e.parent;
  if (!vu(r, t)) return !1;
  let n = r.fullName, o = e.fullName;
  return n === "script" && o === "setup" || n === "style" && o === "vars";
}
function HT(e, t = e.value) {
  return e.parent.isWhitespaceSensitive ? e.parent.isIndentationSensitive ? _n(t) : _n(BT(_T(t)), Fe) : mu(St, ao.split(t));
}
function $T(e, t) {
  return vu(e, t) && e.name === "script";
}
async function Ite(e, t) {
  let r = [];
  for (let [n, o] of e.split(jT).entries()) if (n % 2 === 0) r.push(_n(o));
  else try {
    r.push(lt(["{{", io([St, await Tn(o, t, { parser: "__ng_interpolation", __isInHtmlInterpolation: !0 })]), St, "}}"]));
  } catch {
    r.push("{{", _n(o), "}}");
  }
  return r;
}
function yw({ parser: e }) {
  return (t, r, n) => Tn(Va(n.node), t, { parser: e }, gu);
}
function Lte(e, t) {
  if (t.parser !== "angular") return;
  let { node: r } = e, n = r.fullName;
  if (n.startsWith("(") && n.endsWith(")") || n.startsWith("on-")) return Pte;
  if (n.startsWith("[") && n.endsWith("]") || /^bind(?:on)?-/u.test(n) || /^ng-(?:if|show|hide|class|style)$/u.test(n)) return kte;
  if (n.startsWith("*")) return Fte;
  let o = Va(r);
  if (/^i18n(?:-.+)?$/u.test(n)) return () => $h(CT(HT(r, o.trim())), !o.includes("@@"));
  if (jT.test(o)) return (i) => Ite(o, i);
}
function Nte(e, t) {
  let { node: r } = e, n = Va(r);
  if (r.fullName === "class" && !t.parentParser && !n.includes("{{")) return () => n.trim().split(/\s+/u).join(" ");
}
function N_(e) {
  return e === "	" || e === `
` || e === "\f" || e === "\r" || e === " ";
}
function Vte(e) {
  let t = e.length, r, n, o, i, s, l = 0, u;
  function c(g) {
    let w, v = g.exec(e.substring(l));
    if (v) return [w] = v, l += w.length, w;
  }
  a(c, "p");
  let p = [];
  for (; ; ) {
    if (c(zte), l >= t) {
      if (p.length === 0) throw new Error("Must contain one or more image candidate strings.");
      return p;
    }
    u = l, r = c(Hte), n = [], r.slice(-1) === "," ? (r = r.replace($te, ""), m()) : h();
  }
  function h() {
    for (c(Bte), o = "", i = "in descriptor"; ; ) {
      if (s = e.charAt(l), i === "in descriptor") if (N_(s)) o && (n.push(o), o = "", i = "after descriptor");
      else if (s === ",") {
        l += 1, o && n.push(o), m();
        return;
      } else if (s === "(") o += s, i = "in parens";
      else if (s === "") {
        o && n.push(o), m();
        return;
      } else o += s;
      else if (i === "in parens") if (s === ")") o += s, i = "in descriptor";
      else if (s === "") {
        n.push(o), m();
        return;
      } else o += s;
      else if (i === "after descriptor" && !N_(s)) if (s === "") {
        m();
        return;
      } else i = "in descriptor", l -= 1;
      l += 1;
    }
  }
  a(h, "f");
  function m() {
    let g = !1, w, v, S, E, y = {}, b, x, R, C, D;
    for (E = 0; E < n.length; E++) b = n[E], x = b[b.length - 1], R = b.substring(0, b.length - 1), C = parseInt(R, 10), D = parseFloat(R), M_.
    test(R) && x === "w" ? ((w || v) && (g = !0), C === 0 ? g = !0 : w = C) : jte.test(R) && x === "x" ? ((w || v || S) && (g = !0), D < 0 ?
    g = !0 : v = D) : M_.test(R) && x === "h" ? ((S || v) && (g = !0), C === 0 ? g = !0 : S = C) : g = !0;
    if (!g) y.source = { value: r, startOffset: u }, w && (y.width = { value: w }), v && (y.density = { value: v }), S && (y.height = { value: S }),
    p.push(y);
    else throw new Error(`Invalid srcset descriptor found in "${e}" at "${b}".`);
  }
  a(m, "d");
}
function Wte(e) {
  if (e.node.fullName === "srcset" && (e.parent.fullName === "img" || e.parent.fullName === "source")) return () => Gte(Va(e.node));
}
function Gte(e) {
  let t = Ute(e), r = qte.filter((p) => t.some((h) => Object.prototype.hasOwnProperty.call(h, p)));
  if (r.length > 1) throw new Error("Mixed descriptor in srcset is not supported");
  let [n] = r, o = VT[n], i = t.map((p) => p.source.value), s = Math.max(...i.map((p) => p.length)), l = t.map((p) => p[n] ? String(p[n].value) :
  ""), u = l.map((p) => {
    let h = p.indexOf(".");
    return h === -1 ? p.length : h;
  }), c = Math.max(...u);
  return $h(mu([",", St], i.map((p, h) => {
    let m = [p], g = l[h];
    if (g) {
      let w = s - p.length + 1, v = c - u[h], S = " ".repeat(w + v);
      m.push(kh(S, " "), g + o);
    }
    return m;
  })));
}
function Kte(e, t) {
  let { node: r } = e, n = Va(e.node).trim();
  if (r.fullName === "style" && !t.parentParser && !n.includes("{{")) return async (o) => $h(await o(n, { parser: "css", __isHTMLStyleAttribute: !0 }));
}
function Xte(e, t) {
  let { root: r } = e;
  return J4.has(r) || J4.set(r, r.children.some((n) => $T(n, t) && ["ts", "typescript"].includes(n.attrMap.lang))), J4.get(r);
}
function Qte(e, t, r) {
  let { node: n } = r, o = Va(n);
  return Tn(`type T<${o}> = any`, e, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: !0 }, gu);
}
function Jte(e, t, { parseWithTs: r }) {
  return Tn(`function _(${e}) {}`, t, { parser: r ? "babel-ts" : "babel", __isVueBindings: !0 });
}
async function Zte(e, t, r, n) {
  let o = Va(r.node), { left: i, operator: s, right: l } = ere(o), u = ww(r, n);
  return [lt(await Tn(`function _(${i}) {}`, e, { parser: u ? "babel-ts" : "babel", __isVueForBindingLeft: !0 })), " ", s, " ", await Tn(l, e,
  { parser: u ? "__ts_expression" : "__js_expression" })];
}
function ere(e) {
  let t = /(.*?)\s+(in|of)\s+(.*)/su, r = /,([^,\]}]*)(?:,([^,\]}]*))?$/u, n = /^\(|\)$/gu, o = e.match(t);
  if (!o) return;
  let i = {};
  if (i.for = o[3].trim(), !i.for) return;
  let s = kr(!1, o[1].trim(), n, ""), l = s.match(r);
  l ? (i.alias = s.replace(r, ""), i.iterator1 = l[1].trim(), l[2] && (i.iterator2 = l[2].trim())) : i.alias = s;
  let u = [i.alias, i.iterator1, i.iterator2];
  if (!u.some((c, p) => !c && (p === 0 || u.slice(p + 1).some(Boolean)))) return { left: u.filter(Boolean).join(","), operator: o[2], right: i.
  for };
}
function tre(e, t) {
  if (t.parser !== "vue") return;
  let { node: r } = e, n = r.fullName;
  if (n === "v-for") return Zte;
  if (n === "generic" && $T(r.parent, t)) return Qte;
  let o = Va(r), i = ww(e, t);
  if (_te(r) || Tte(r, t)) return (s) => Jte(o, s, { parseWithTs: i });
  if (n.startsWith("@") || n.startsWith("v-on:")) return (s) => rre(o, s, { parseWithTs: i });
  if (n.startsWith(":") || n.startsWith("v-bind:")) return (s) => nre(o, s, { parseWithTs: i });
  if (n.startsWith("v-")) return (s) => UT(o, s, { parseWithTs: i });
}
async function rre(e, t, { parseWithTs: r }) {
  var n;
  try {
    return await UT(e, t, { parseWithTs: r });
  } catch (o) {
    if (((n = o.cause) == null ? void 0 : n.code) !== "BABEL_PARSER_SYNTAX_ERROR") throw o;
  }
  return Tn(e, t, { parser: r ? "__vue_ts_event_binding" : "__vue_event_binding" }, gu);
}
function nre(e, t, { parseWithTs: r }) {
  return Tn(e, t, { parser: r ? "__vue_ts_expression" : "__vue_expression" }, gu);
}
function UT(e, t, { parseWithTs: r }) {
  return Tn(e, t, { parser: r ? "__ts_expression" : "__js_expression" }, gu);
}
function are(e, t) {
  let { node: r } = e;
  if (r.value) {
    if (/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset, r.valueSpan.end.offset)) || t.parser ===
    "lwc" && r.value.startsWith("{") && r.value.endsWith("}")) return [r.rawName, "=", r.value];
    for (let n of [Yte, Kte, Mte, ore, Ote]) {
      let o = n(e, t);
      if (o) return ire(o);
    }
  }
}
function ire(e) {
  return async (t, r, n, o) => {
    let i = await e(t, r, n, o);
    if (i) return i = DT(i, (s) => typeof s == "string" ? kr(!1, s, '"', "&quot;") : s), [n.node.rawName, '="', lt(i), '"'];
  };
}
function lre(e) {
  return Array.isArray(e) && e.length > 0;
}
function df(e) {
  return e.sourceSpan.start.offset;
}
function hf(e) {
  return e.sourceSpan.end.offset;
}
function ow(e, t) {
  return [e.isSelfClosing ? "" : ure(e, t), af(e, t)];
}
function ure(e, t) {
  return e.lastChild && cf(e.lastChild) ? "" : [cre(e, t), Ew(e, t)];
}
function af(e, t) {
  return (e.next ? Vi(e.next) : gf(e.parent)) ? "" : [mf(e, t), ji(e, t)];
}
function cre(e, t) {
  return gf(e) ? mf(e.lastChild, t) : "";
}
function ji(e, t) {
  return cf(e) ? Ew(e.parent, t) : Wh(e) ? bw(e.next, t) : "";
}
function Ew(e, t) {
  if (qT(!e.isSelfClosing), GT(e, t)) return "";
  switch (e.type) {
    case "ieConditionalComment":
      return "<!";
    case "element":
      if (e.hasHtmComponentClosingTag) return "<//";
    default:
      return `</${e.rawName}`;
  }
}
function mf(e, t) {
  if (GT(e, t)) return "";
  switch (e.type) {
    case "ieConditionalComment":
    case "ieConditionalEndComment":
      return "[endif]-->";
    case "ieConditionalStartComment":
      return "]><!-->";
    case "interpolation":
      return "}}";
    case "angularIcuExpression":
      return "}";
    case "element":
      if (e.isSelfClosing) return "/>";
    default:
      return ">";
  }
}
function GT(e, t) {
  return !e.isSelfClosing && !e.endSourceSpan && (Vh(e) || TT(e.parent, t));
}
function Vi(e) {
  return e.prev && e.prev.type !== "docType" && e.type !== "angularControlFlowBlock" && !Zr(e.prev) && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
}
function gf(e) {
  var t;
  return ((t = e.lastChild) == null ? void 0 : t.isTrailingSpaceSensitive) && !e.lastChild.hasTrailingSpaces && !Zr(gw(e.lastChild)) && !du(
  e);
}
function cf(e) {
  return !e.next && !e.hasTrailingSpaces && e.isTrailingSpaceSensitive && Zr(gw(e));
}
function Wh(e) {
  return e.next && !Zr(e.next) && Zr(e) && e.isTrailingSpaceSensitive && !e.hasTrailingSpaces;
}
function pre(e) {
  let t = e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);
  return t ? t[1] ? t[1].split(/\s+/u) : !0 : !1;
}
function qh(e) {
  return !e.prev && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
}
function fre(e, t, r) {
  var n;
  let { node: o } = e;
  if (!Sw(o.attrs)) return o.isSelfClosing ? " " : "";
  let i = ((n = o.prev) == null ? void 0 : n.type) === "comment" && pre(o.prev.value), s = typeof i == "boolean" ? () => i : Array.isArray(i) ?
  (h) => i.includes(h.rawName) : () => !1, l = e.map(({ node: h }) => s(h) ? _n(t.originalText.slice(df(h), hf(h))) : r(), "attrs"), u = o.type ===
  "element" && o.fullName === "script" && o.attrs.length === 1 && o.attrs[0].fullName === "src" && o.children.length === 0, c = t.singleAttributePerLine &&
  o.attrs.length > 1 && !vu(o, t) ? Fe : St, p = [io([u ? " " : St, mu(c, l)])];
  return o.firstChild && qh(o.firstChild) || o.isSelfClosing && gf(o.parent) || u ? p.push(o.isSelfClosing ? " " : "") : p.push(t.bracketSameLine ?
  o.isSelfClosing ? " " : "" : o.isSelfClosing ? St : $t), p;
}
function dre(e) {
  return e.firstChild && qh(e.firstChild) ? "" : xw(e);
}
function aw(e, t, r) {
  let { node: n } = e;
  return [sf(n, t), fre(e, t, r), n.isSelfClosing ? "" : dre(n)];
}
function sf(e, t) {
  return e.prev && Wh(e.prev) ? "" : [Ui(e, t), bw(e, t)];
}
function Ui(e, t) {
  return qh(e) ? xw(e.parent) : Vi(e) ? mf(e.prev, t) : "";
}
function bw(e, t) {
  switch (e.type) {
    case "ieConditionalComment":
    case "ieConditionalStartComment":
      return `<!--[if ${e.condition}`;
    case "ieConditionalEndComment":
      return "<!--<!";
    case "interpolation":
      return "{{";
    case "docType": {
      if (e.value === "html") {
        let r = t.filepath ?? "";
        if (/\.html?$/u.test(r)) return B_;
      }
      return t.originalText.slice(df(e), hf(e)).slice(0, B_.length);
    }
    case "angularIcuExpression":
      return "{";
    case "element":
      if (e.condition) return `<!--[if ${e.condition}]><!--><${e.rawName}`;
    default:
      return `<${e.rawName}`;
  }
}
function xw(e) {
  switch (qT(!e.isSelfClosing), e.type) {
    case "ieConditionalComment":
      return "]>";
    case "element":
      if (e.condition) return "><!--<![endif]-->";
    default:
      return ">";
  }
}
function hre(e, t) {
  if (!e.endSourceSpan) return "";
  let r = e.startSourceSpan.end.offset;
  e.firstChild && qh(e.firstChild) && (r -= xw(e).length);
  let n = e.endSourceSpan.start.offset;
  return e.lastChild && cf(e.lastChild) ? n += Ew(e, t).length : gf(e) && (n -= mf(e.lastChild, t).length), t.originalText.slice(r, n);
}
function gre(e, t) {
  let { node: r } = e;
  switch (r.type) {
    case "element":
      if (Lo(r) || r.type === "interpolation") return;
      if (!r.isSelfClosing && vw(r, t)) {
        let n = O_(r, t);
        return n ? async (o, i) => {
          let s = YT(r, t), l = /^\s*$/u.test(s), u = "";
          return l || (u = await o(_T(s), { parser: n, __embeddedInHtml: !0 }), l = u === ""), [Ui(r, t), lt(aw(e, t, i)), l ? "" : Fe, u, l ?
          "" : Fe, ow(r, t), ji(r, t)];
        } : void 0;
      }
      break;
    case "text":
      if (Lo(r.parent)) {
        let n = O_(r.parent, t);
        if (n) return async (o) => {
          let i = n === "markdown" ? BT(r.value.replace(/^[^\S\n]*\n/u, "")) : r.value, s = { parser: n, __embeddedInHtml: !0 };
          if (t.parser === "html" && n === "babel") {
            let l = "script", { attrMap: u } = r.parent;
            u && (u.type === "module" || u.type === "text/babel" && u["data-type"] === "module") && (l = "module"), s.__babelSourceType = l;
          }
          return [pf, Ui(r, t), await o(i, s), ji(r, t)];
        };
      } else if (r.parent.type === "interpolation") return async (n) => {
        let o = { __isInHtmlInterpolation: !0, __embeddedInHtml: !0 };
        return t.parser === "angular" ? o.parser = "__ng_interpolation" : t.parser === "vue" ? o.parser = ww(e, t) ? "__vue_ts_expression" :
        "__vue_expression" : o.parser = "__js_expression", [io([St, await n(r.value, o)]), r.parent.next && Vi(r.parent.next) ? " " : St];
      };
      break;
    case "attribute":
      return sre(e, t);
    case "front-matter":
      return (n) => Yee(r, n);
    case "angularControlFlowBlockParameters":
      return mre.has(e.parent.name) ? Xee : void 0;
    case "angularLetDeclarationInitializer":
      return (n) => Tn(r.value, n, { parser: "__ng_binding", __isInHtmlAttribute: !1 });
  }
}
function lf(e) {
  if (tf !== null && typeof tf.property) {
    let t = tf;
    return tf = lf.prototype = null, t;
  }
  return tf = lf.prototype = e ?? /* @__PURE__ */ Object.create(null), new lf();
}
function wre(e) {
  return lf(e);
}
function Sre(e, t = "type") {
  wre(e);
  function r(n) {
    let o = n[t], i = e[o];
    if (!Array.isArray(i)) throw Object.assign(new Error(`Missing visitor keys for '${o}'.`), { node: n });
    return i;
  }
  return a(r, "r"), r;
}
function Dre(e) {
  return /^\s*<!--\s*@(?:format|prettier)\s*-->/u.test(e);
}
function Are(e) {
  return `<!-- @format -->

` + e;
}
function KT(e) {
  let t = hf(e);
  return e.type === "element" && !e.endSourceSpan && Sw(e.children) ? Math.max(t, KT(zh(!1, e.children, -1))) : t;
}
function rf(e, t, r) {
  let n = e.node;
  if (Vh(n)) {
    let o = KT(n);
    return [Ui(n, t), _n(ao.trimEnd(t.originalText.slice(df(n) + (n.prev && Wh(n.prev) ? bw(n).length : 0), o - (n.next && Vi(n.next) ? mf(n,
    t).length : 0)))), ji(n, t)];
  }
  return r();
}
function Ah(e, t) {
  return Zr(e) && Zr(t) ? e.isTrailingSpaceSensitive ? e.hasTrailingSpaces ? Q4(t) ? Fe : St : "" : Q4(t) ? Fe : $t : Wh(e) && (Vh(t) || t.firstChild ||
  t.isSelfClosing || t.type === "element" && t.attrs.length > 0) || e.type === "element" && e.isSelfClosing && Vi(t) ? "" : !t.isLeadingSpaceSensitive ||
  Q4(t) || Vi(t) && e.lastChild && cf(e.lastChild) && e.lastChild.lastChild && cf(e.lastChild.lastChild) ? Fe : t.hasLeadingSpaces ? St : $t;
}
function Rw(e, t, r) {
  let { node: n } = e;
  if (PT(n)) return [pf, ...e.map((i) => {
    let s = i.node, l = s.prev ? Ah(s.prev, s) : "";
    return [l ? [l, Dh(s.prev) ? Fe : ""] : "", rf(i, t, r)];
  }, "children")];
  let o = n.children.map(() => Symbol(""));
  return e.map((i, s) => {
    let l = i.node;
    if (Zr(l)) {
      if (l.prev && Zr(l.prev)) {
        let w = Ah(l.prev, l);
        if (w) return Dh(l.prev) ? [Fe, Fe, rf(i, t, r)] : [w, rf(i, t, r)];
      }
      return rf(i, t, r);
    }
    let u = [], c = [], p = [], h = [], m = l.prev ? Ah(l.prev, l) : "", g = l.next ? Ah(l, l.next) : "";
    return m && (Dh(l.prev) ? u.push(Fe, Fe) : m === Fe ? u.push(Fe) : Zr(l.prev) ? c.push(m) : c.push(kh("", $t, { groupId: o[s - 1] }))), g &&
    (Dh(l) ? Zr(l.next) && h.push(Fe, Fe) : g === Fe ? Zr(l.next) && h.push(Fe) : p.push(g)), [...u, lt([...c, lt([rf(i, t, r), ...p], { id: o[s] })]),
    ...h];
  }, "children");
}
function Tre(e, t, r) {
  let { node: n } = e, o = [];
  Ire(e) && o.push("} "), o.push("@", n.name), n.parameters && o.push(" (", lt(r("parameters")), ")"), o.push(" {");
  let i = XT(n);
  return n.children.length > 0 ? (n.firstChild.hasLeadingSpaces = !0, n.lastChild.hasTrailingSpaces = !0, o.push(io([Fe, Rw(e, t, r)])), i &&
  o.push(Fe, "}")) : i && o.push("}"), lt(o, { shouldBreak: !0 });
}
function XT(e) {
  var t, r;
  return !(((t = e.next) == null ? void 0 : t.type) === "angularControlFlowBlock" && (r = _re.get(e.name)) != null && r.has(e.next.name));
}
function Ire(e) {
  let { previous: t } = e;
  return t?.type === "angularControlFlowBlock" && !Vh(t) && !XT(t);
}
function Pre(e, t, r) {
  return [io([$t, mu([";", St], e.map(r, "children"))]), $t];
}
function kre(e, t, r) {
  let { node: n } = e;
  return [sf(n, t), lt([n.switchValue.trim(), ", ", n.clause, n.cases.length > 0 ? [",", io([St, mu(St, e.map(r, "cases"))])] : "", $t]), af(
  n, t)];
}
function Fre(e, t, r) {
  let { node: n } = e;
  return [n.value, " {", lt([io([$t, e.map(({ node: o }) => o.type === "text" && !ao.trim(o.value) ? "" : r(), "expression")]), $t]), "}"];
}
function Lre(e, t, r) {
  let { node: n } = e;
  if (TT(n, t)) return [Ui(n, t), lt(aw(e, t, r)), _n(YT(n, t)), ...ow(n, t), ji(n, t)];
  let o = n.children.length === 1 && (n.firstChild.type === "interpolation" || n.firstChild.type === "angularIcuExpression") && n.firstChild.
  isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, i = Symbol(
  "element-attr-group-id"), s = /* @__PURE__ */ a((p) => lt([lt(aw(e, t, r), { id: i }), p, ow(n, t)]), "a"), l = /* @__PURE__ */ a((p) => o ?
  Tee(p, { groupId: i }) : (Lo(n) || Uh(n, t)) && n.parent.type === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? p : io(p), "\
o"), u = /* @__PURE__ */ a(() => o ? kh($t, "", { groupId: i }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? St :
  n.firstChild.type === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? Aee($t) : $t, "u"), c = /* @__PURE__ */ a(() => (n.next ?
  Vi(n.next) : gf(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : o ? kh($t, "", { groupId: i }) :
  n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? St : (n.lastChild.type === "comment" || n.lastChild.type === "text" &&
  n.isWhitespaceSensitive && n.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${t.tabWidth * (e.ancestors.length - 1)}}$`, "u").test(n.lastChild.
  value) ? "" : $t, "p");
  return n.children.length === 0 ? s(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? St : "") : s([dte(n) ? pf : "", l([u(), Rw(e, t, r)]),
  c()]);
}
function Fh(e) {
  return e >= 9 && e <= 32 || e == 160;
}
function Cw(e) {
  return 48 <= e && e <= 57;
}
function Lh(e) {
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
}
function Ore(e) {
  return e >= 97 && e <= 102 || e >= 65 && e <= 70 || Cw(e);
}
function Dw(e) {
  return e === 10 || e === 13;
}
function z_(e) {
  return 48 <= e && e <= 55;
}
function Z4(e) {
  return e === 39 || e === 34 || e === 96;
}
function Mre(e) {
  return e.replace(Nre, (...t) => t[1].toUpperCase());
}
function zre(e, t) {
  for (let r of Bre) r(e, t);
  return e;
}
function Hre(e) {
  e.walk((t) => {
    if (t.type === "element" && t.tagDefinition.ignoreFirstLf && t.children.length > 0 && t.children[0].type === "text" && t.children[0].value[0] ===
    `
`) {
      let r = t.children[0];
      r.value.length === 1 ? t.removeChild(r) : r.value = r.value.slice(1);
    }
  });
}
function $re(e) {
  let t = /* @__PURE__ */ a((r) => {
    var n, o;
    return r.type === "element" && ((n = r.prev) == null ? void 0 : n.type) === "ieConditionalStartComment" && r.prev.sourceSpan.end.offset ===
    r.startSourceSpan.start.offset && ((o = r.firstChild) == null ? void 0 : o.type) === "ieConditionalEndComment" && r.firstChild.sourceSpan.
    start.offset === r.startSourceSpan.end.offset;
  }, "e");
  e.walk((r) => {
    if (r.children) for (let n = 0; n < r.children.length; n++) {
      let o = r.children[n];
      if (!t(o)) continue;
      let i = o.prev, s = o.firstChild;
      r.removeChild(i), n--;
      let l = new ne(i.sourceSpan.start, s.sourceSpan.end), u = new ne(l.start, o.sourceSpan.end);
      o.condition = i.condition, o.sourceSpan = u, o.startSourceSpan = l, o.removeChild(s);
    }
  });
}
function jre(e, t, r) {
  e.walk((n) => {
    if (n.children) for (let o = 0; o < n.children.length; o++) {
      let i = n.children[o];
      if (i.type !== "text" && !t(i)) continue;
      i.type !== "text" && (i.type = "text", i.value = r(i));
      let s = i.prev;
      !s || s.type !== "text" || (s.value += i.value, s.sourceSpan = new ne(s.sourceSpan.start, i.sourceSpan.end), n.removeChild(i), o--);
    }
  });
}
function Vre(e) {
  return jre(e, (t) => t.type === "cdata", (t) => `<![CDATA[${t.value}]]>`);
}
function Ure(e) {
  let t = /* @__PURE__ */ a((r) => {
    var n, o;
    return r.type === "element" && r.attrs.length === 0 && r.children.length === 1 && r.firstChild.type === "text" && !ao.hasWhitespaceCharacter(
    r.children[0].value) && !r.firstChild.hasLeadingSpaces && !r.firstChild.hasTrailingSpaces && r.isLeadingSpaceSensitive && !r.hasLeadingSpaces &&
    r.isTrailingSpaceSensitive && !r.hasTrailingSpaces && ((n = r.prev) == null ? void 0 : n.type) === "text" && ((o = r.next) == null ? void 0 :
    o.type) === "text";
  }, "e");
  e.walk((r) => {
    if (r.children) for (let n = 0; n < r.children.length; n++) {
      let o = r.children[n];
      if (!t(o)) continue;
      let i = o.prev, s = o.next;
      i.value += `<${o.rawName}>` + o.firstChild.value + `</${o.rawName}>` + s.value, i.sourceSpan = new ne(i.sourceSpan.start, s.sourceSpan.
      end), i.isTrailingSpaceSensitive = s.isTrailingSpaceSensitive, i.hasTrailingSpaces = s.hasTrailingSpaces, r.removeChild(o), n--, r.removeChild(
      s);
    }
  });
}
function Wre(e, t) {
  if (t.parser === "html") return;
  let r = /\{\{(.+?)\}\}/su;
  e.walk((n) => {
    if (lte(n)) for (let o of n.children) {
      if (o.type !== "text") continue;
      let i = o.sourceSpan.start, s = null, l = o.value.split(r);
      for (let u = 0; u < l.length; u++, i = s) {
        let c = l[u];
        if (u % 2 === 0) {
          s = i.moveBy(c.length), c.length > 0 && n.insertChildBefore(o, { type: "text", value: c, sourceSpan: new ne(i, s) });
          continue;
        }
        s = i.moveBy(c.length + 4), n.insertChildBefore(o, { type: "interpolation", sourceSpan: new ne(i, s), children: c.length === 0 ? [] :
        [{ type: "text", value: c, sourceSpan: new ne(i.moveBy(2), s.moveBy(-2)) }] });
      }
      n.removeChild(o);
    }
  });
}
function qre(e) {
  e.walk((t) => {
    if (!t.children) return;
    if (t.children.length === 0 || t.children.length === 1 && t.children[0].type === "text" && ao.trim(t.children[0].value).length === 0) {
      t.hasDanglingSpaces = t.children.length > 0, t.children = [];
      return;
    }
    let r = ute(t), n = IT(t);
    if (!r) for (let o = 0; o < t.children.length; o++) {
      let i = t.children[o];
      if (i.type !== "text") continue;
      let { leadingWhitespace: s, text: l, trailingWhitespace: u } = ite(i.value), c = i.prev, p = i.next;
      l ? (i.value = l, i.sourceSpan = new ne(i.sourceSpan.start.moveBy(s.length), i.sourceSpan.end.moveBy(-u.length)), s && (c && (c.hasTrailingSpaces =
      !0), i.hasLeadingSpaces = !0), u && (i.hasTrailingSpaces = !0, p && (p.hasLeadingSpaces = !0))) : (t.removeChild(i), o--, (s || u) && (c &&
      (c.hasTrailingSpaces = !0), p && (p.hasLeadingSpaces = !0)));
    }
    t.isWhitespaceSensitive = r, t.isIndentationSensitive = n;
  });
}
function Gre(e) {
  e.walk((t) => {
    t.isSelfClosing = !t.children || t.type === "element" && (t.tagDefinition.isVoid || t.endSourceSpan && t.startSourceSpan.start === t.endSourceSpan.
    start && t.startSourceSpan.end === t.endSourceSpan.end);
  });
}
function Yre(e, t) {
  e.walk((r) => {
    r.type === "element" && (r.hasHtmComponentClosingTag = r.endSourceSpan && /^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.
    start.offset, r.endSourceSpan.end.offset)));
  });
}
function Kre(e, t) {
  e.walk((r) => {
    r.cssDisplay = Cte(r, t);
  });
}
function Xre(e, t) {
  e.walk((r) => {
    let { children: n } = r;
    if (n) {
      if (n.length === 0) {
        r.isDanglingSpaceSensitive = fte(r);
        return;
      }
      for (let o of n) o.isLeadingSpaceSensitive = cte(o, t), o.isTrailingSpaceSensitive = pte(o, t);
      for (let o = 0; o < n.length; o++) {
        let i = n[o];
        i.isLeadingSpaceSensitive = (o === 0 || i.prev.isTrailingSpaceSensitive) && i.isLeadingSpaceSensitive, i.isTrailingSpaceSensitive = (o ===
        n.length - 1 || i.next.isLeadingSpaceSensitive) && i.isTrailingSpaceSensitive;
      }
    }
  });
}
function Jre(e, t, r) {
  let { node: n } = e;
  switch (n.type) {
    case "front-matter":
      return _n(n.raw);
    case "root":
      return t.__onHtmlRoot && t.__onHtmlRoot(n), [lt(Rw(e, t, r)), Fe];
    case "element":
    case "ieConditionalComment":
      return Lre(e, t, r);
    case "angularControlFlowBlock":
      return Tre(e, t, r);
    case "angularControlFlowBlockParameters":
      return Pre(e, t, r);
    case "angularControlFlowBlockParameter":
      return ao.trim(n.expression);
    case "angularLetDeclaration":
      return lt(["@let ", lt([n.id, " =", lt(io([St, r("init")]))]), ";"]);
    case "angularLetDeclarationInitializer":
      return n.value;
    case "angularIcuExpression":
      return kre(e, t, r);
    case "angularIcuCase":
      return Fre(e, t, r);
    case "ieConditionalStartComment":
    case "ieConditionalEndComment":
      return [sf(n), af(n)];
    case "interpolation":
      return [sf(n, t), ...e.map(r, "children"), af(n, t)];
    case "text": {
      if (n.parent.type === "interpolation") {
        let l = /\n[^\S\n]*$/u, u = l.test(n.value), c = u ? n.value.replace(l, "") : n.value;
        return [_n(c), u ? Fe : ""];
      }
      let o = Ui(n, t), i = HT(n), s = ji(n, t);
      return i[0] = [o, i[0]], i.push([i.pop(), s]), CT(i);
    }
    case "docType":
      return [lt([sf(n, t), " ", kr(!1, n.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), af(n, t)];
    case "comment":
      return [Ui(n, t), _n(t.originalText.slice(df(n), hf(n))), ji(n, t)];
    case "attribute": {
      if (n.value === null) return n.rawName;
      let o = zT(n.value), i = Oee(o, '"');
      return [n.rawName, "=", i, _n(i === '"' ? kr(!1, o, '"', "&quot;") : kr(!1, o, "'", "&apos;")), i];
    }
    case "cdata":
    default:
      throw new jee(n, "HTML");
  }
}
function Gh(e, t = !0) {
  if (e[0] != ":") return [null, e];
  let r = e.indexOf(":", 1);
  if (r === -1) {
    if (t) throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);
    return [null, e];
  }
  return [e.slice(1, r), e.slice(r + 1)];
}
function Y_(e) {
  return Gh(e)[1] === "ng-container";
}
function K_(e) {
  return Gh(e)[1] === "ng-content";
}
function Ih(e) {
  return e === null ? null : Gh(e)[0];
}
function Nh(e, t) {
  return e ? `:${e}:${t}` : t;
}
function X_() {
  return Ph || (Ph = {}, _h(Ni.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), _h(Ni.STYLE, ["*|style"]), _h(Ni.URL, ["*|formAction",
  "area|href", "area|ping", "audio|src", "a|href", "a|ping", "blockquote|cite", "body|background", "del|cite", "form|action", "img|src", "in\
put|src", "ins|cite", "q|cite", "source|src", "track|src", "video|poster", "video|src"]), _h(Ni.RESOURCE_URL, ["applet|code", "applet|codeba\
se", "base|href", "embed|src", "frame|src", "head|profile", "html|manifest", "iframe|src", "link|href", "media|src", "object|codebase", "obj\
ect|data", "script|src"])), Ph;
}
function _h(e, t) {
  for (let r of t) Ph[r.toLowerCase()] = e;
}
function fne(e) {
  switch (e) {
    case "width":
    case "height":
    case "minWidth":
    case "minHeight":
    case "maxWidth":
    case "maxHeight":
    case "left":
    case "top":
    case "bottom":
    case "right":
    case "fontSize":
    case "outlineWidth":
    case "outlineOffset":
    case "paddingTop":
    case "paddingLeft":
    case "paddingBottom":
    case "paddingRight":
    case "marginTop":
    case "marginLeft":
    case "marginBottom":
    case "marginRight":
    case "borderRadius":
    case "borderWidth":
    case "borderTopWidth":
    case "borderLeftWidth":
    case "borderRightWidth":
    case "borderBottomWidth":
    case "textIndent":
      return !0;
    default:
      return !1;
  }
}
function sw(e) {
  return nf || (Q_ = new te({ canSelfClose: !0 }), nf = Object.assign(/* @__PURE__ */ Object.create(null), { base: new te({ isVoid: !0 }), meta: new te(
  { isVoid: !0 }), area: new te({ isVoid: !0 }), embed: new te({ isVoid: !0 }), link: new te({ isVoid: !0 }), img: new te({ isVoid: !0 }), input: new te(
  { isVoid: !0 }), param: new te({ isVoid: !0 }), hr: new te({ isVoid: !0 }), br: new te({ isVoid: !0 }), source: new te({ isVoid: !0 }), track: new te(
  { isVoid: !0 }), wbr: new te({ isVoid: !0 }), p: new te({ closedByChildren: ["address", "article", "aside", "blockquote", "div", "dl", "fi\
eldset", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "main", "nav", "ol", "p", "pre", "section", "table",
  "ul"], closedByParent: !0 }), thead: new te({ closedByChildren: ["tbody", "tfoot"] }), tbody: new te({ closedByChildren: ["tbody", "tfoot"],
  closedByParent: !0 }), tfoot: new te({ closedByChildren: ["tbody"], closedByParent: !0 }), tr: new te({ closedByChildren: ["tr"], closedByParent: !0 }),
  td: new te({ closedByChildren: ["td", "th"], closedByParent: !0 }), th: new te({ closedByChildren: ["td", "th"], closedByParent: !0 }), col: new te(
  { isVoid: !0 }), svg: new te({ implicitNamespacePrefix: "svg" }), foreignObject: new te({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: !0 }),
  math: new te({ implicitNamespacePrefix: "math" }), li: new te({ closedByChildren: ["li"], closedByParent: !0 }), dt: new te({ closedByChildren: [
  "dt", "dd"] }), dd: new te({ closedByChildren: ["dt", "dd"], closedByParent: !0 }), rb: new te({ closedByChildren: ["rb", "rt", "rtc", "rp"],
  closedByParent: !0 }), rt: new te({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rtc: new te({ closedByChildren: ["\
rb", "rtc", "rp"], closedByParent: !0 }), rp: new te({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), optgroup: new te(
  { closedByChildren: ["optgroup"], closedByParent: !0 }), option: new te({ closedByChildren: ["option", "optgroup"], closedByParent: !0 }),
  pre: new te({ ignoreFirstLf: !0 }), listing: new te({ ignoreFirstLf: !0 }), style: new te({ contentType: An.RAW_TEXT }), script: new te({ contentType: An.
  RAW_TEXT }), title: new te({ contentType: { default: An.ESCAPABLE_RAW_TEXT, svg: An.PARSABLE_DATA } }), textarea: new te({ contentType: An.
  ESCAPABLE_RAW_TEXT, ignoreFirstLf: !0 }) }), new pne().allKnownElementNames().forEach((t) => {
    !nf[t] && Ih(t) === null && (nf[t] = new te({ canSelfClose: !1 }));
  })), nf[e] ?? Q_;
}
function tI(e, t, r = null) {
  let n = [], o = e.visit ? (i) => e.visit(i, r) || i.visit(e, r) : (i) => i.visit(e, r);
  return t.forEach((i) => {
    let s = o(i);
    s && n.push(s);
  }), n;
}
function xne(e, t) {
  if (t != null && !(Array.isArray(t) && t.length == 2)) throw new Error(`Expected '${e}' to be an array, [start, end].`);
  if (t != null) {
    let r = t[0], n = t[1];
    bne.forEach((o) => {
      if (o.test(r) || o.test(n)) throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`);
    });
  }
}
function Dne(e, t, r, n = {}) {
  let o = new Tne(new QT(e, t), r, n);
  return o.tokenize(), new Cne(One(o.tokens), o.errors, o.nonNormalizedIcuExpressions);
}
function Nl(e) {
  return `Unexpected character "${e === 0 ? "EOF" : String.fromCharCode(e)}"`;
}
function eT(e) {
  return `Unknown entity "${e}" - use the "&#<decimal>;" or  "&#x<hex>;" syntax`;
}
function _ne(e, t) {
  return `Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`;
}
function tt(e) {
  return !Fh(e) || e === 0;
}
function tT(e) {
  return Fh(e) || e === 62 || e === 60 || e === 47 || e === 39 || e === 34 || e === 61 || e === 0;
}
function Ine(e) {
  return (e < 97 || 122 < e) && (e < 65 || 90 < e) && (e < 48 || e > 57);
}
function Pne(e) {
  return e === 59 || e === 0 || !Ore(e);
}
function kne(e) {
  return e === 59 || e === 0 || !Lh(e);
}
function Fne(e) {
  return e !== 125;
}
function Lne(e, t) {
  return rT(e) === rT(t);
}
function rT(e) {
  return e >= 97 && e <= 122 ? e - 97 + 65 : e;
}
function nT(e) {
  return Lh(e) || Cw(e) || e === 95;
}
function oT(e) {
  return e !== 59 && tt(e);
}
function One(e) {
  let t = [], r;
  for (let n = 0; n < e.length; n++) {
    let o = e[n];
    r && r.type === 5 && o.type === 5 || r && r.type === 16 && o.type === 16 ? (r.parts[0] += o.parts[0], r.sourceSpan.end = o.sourceSpan.end) :
    (r = o, t.push(r));
  }
  return t;
}
function aT(e, t) {
  return e.length > 0 && e[e.length - 1] === t;
}
function iT(e, t) {
  return Mh[t] !== void 0 ? Mh[t] || e : /^#x[a-f0-9]+$/i.test(t) ? String.fromCodePoint(parseInt(t.slice(2), 16)) : /^#\d+$/.test(t) ? String.
  fromCodePoint(parseInt(t.slice(1), 10)) : e;
}
function sT(e, t = {}) {
  let { canSelfClose: r = !1, allowHtmComponentClosingTags: n = !1, isTagNameCaseSensitive: o = !1, getTagContentType: i, tokenizeAngularBlocks: s = !1,
  tokenizeAngularLetDeclaration: l = !1 } = t;
  return $ne().parse(e, "angular-html-parser", { tokenizeExpansionForms: s, interpolationConfig: void 0, canSelfClose: r, allowHtmComponentClosingTags: n,
  tokenizeBlocks: s, tokenizeLet: l }, o, i);
}
function jne(e, t) {
  let r = new SyntaxError(e + " (" + t.loc.start.line + ":" + t.loc.start.column + ")");
  return Object.assign(r, t);
}
function Une(e) {
  let t = e.slice(0, of);
  if (t !== "---" && t !== "+++") return;
  let r = e.indexOf(`
`, of);
  if (r === -1) return;
  let n = e.slice(of, r).trim(), o = e.indexOf(`
${t}`, r), i = n;
  if (i || (i = t === "+++" ? "toml" : "yaml"), o === -1 && t === "---" && i === "yaml" && (o = e.indexOf(`
...`, r)), o === -1) return;
  let s = o + 1 + of, l = e.charAt(s + 1);
  if (!/\s?/u.test(l)) return;
  let u = e.slice(0, s);
  return { type: "front-matter", language: i, explicitLanguage: n, value: e.slice(r + 1, o), startDelimiter: t, endDelimiter: u.slice(-of), raw: u };
}
function Wne(e) {
  let t = Une(e);
  if (!t) return { content: e };
  let { raw: r } = t;
  return { frontMatter: t, content: kr(!1, r, /[^\n]/gu, " ") + e.slice(r.length) };
}
function Yne(e, t) {
  let r = e.map(t);
  return r.some((n, o) => n !== e[o]) ? r : e;
}
function Xne(e, t) {
  if (e.value) for (let { regex: r, parse: n } of Kne) {
    let o = e.value.match(r);
    if (o) return n(e, t, o);
  }
  return null;
}
function Qne(e, t, r) {
  let [, n, o, i] = r, s = 4 + n.length, l = e.sourceSpan.start.moveBy(s), u = l.moveBy(i.length), [c, p] = (() => {
    try {
      return [!0, t(i, l).children];
    } catch {
      return [!1, [{ type: "text", value: i, sourceSpan: new ne(l, u) }]];
    }
  })();
  return { type: "ieConditionalComment", complete: c, children: p, condition: kr(!1, o.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan, startSourceSpan: new ne(
  e.sourceSpan.start, l), endSourceSpan: new ne(u, e.sourceSpan.end) };
}
function Jne(e, t, r) {
  let [, n] = r;
  return { type: "ieConditionalStartComment", condition: kr(!1, n.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan };
}
function Zne(e) {
  return { type: "ieConditionalEndComment", sourceSpan: e.sourceSpan };
}
function toe(e) {
  if (e.type === "block") {
    if (e.name = kr(!1, e.name.toLowerCase(), /\s+/gu, " ").trim(), e.type = "angularControlFlowBlock", !Sw(e.parameters)) {
      delete e.parameters;
      return;
    }
    for (let t of e.parameters) t.type = "angularControlFlowBlockParameter";
    e.parameters = { type: "angularControlFlowBlockParameters", children: e.parameters, sourceSpan: new ne(e.parameters[0].sourceSpan.start,
    zh(!1, e.parameters, -1).sourceSpan.end) };
  }
}
function roe(e) {
  e.type === "letDeclaration" && (e.type = "angularLetDeclaration", e.id = e.name, e.init = { type: "angularLetDeclarationInitializer", sourceSpan: new ne(
  e.valueSpan.start, e.valueSpan.end), value: e.value }, delete e.name, delete e.value);
}
function noe(e) {
  (e.type === "plural" || e.type === "select") && (e.clause = e.type, e.type = "angularIcuExpression"), e.type === "expansionCase" && (e.type =
  "angularIcuCase");
}
function oI(e, t, r) {
  let { name: n, canSelfClose: o = !0, normalizeTagName: i = !1, normalizeAttributeName: s = !1, allowHtmComponentClosingTags: l = !1, isTagNameCaseSensitive: u = !1,
  shouldParseAsRawText: c } = t, { rootNodes: p, errors: h } = sT(e, { canSelfClose: o, allowHtmComponentClosingTags: l, isTagNameCaseSensitive: u,
  getTagContentType: c ? (...y) => c(...y) ? An.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: n === "angular" ? !0 : void 0, tokenizeAngularLetDeclaration: n ===
  "angular" ? !0 : void 0 });
  if (n === "vue") {
    if (p.some((R) => R.type === "docType" && R.value === "html" || R.type === "element" && R.name.toLowerCase() === "html")) return oI(e, iI,
    r);
    let y, b = /* @__PURE__ */ a(() => y ?? (y = sT(e, { canSelfClose: o, allowHtmComponentClosingTags: l, isTagNameCaseSensitive: u })), "y"),
    x = /* @__PURE__ */ a((R) => b().rootNodes.find(({ startSourceSpan: C }) => C && C.start.offset === R.startSourceSpan.start.offset) ?? R,
    "M");
    for (let [R, C] of p.entries()) {
      let { endSourceSpan: D, startSourceSpan: A } = C;
      if (D === null) h = b().errors, p[R] = x(C);
      else if (ooe(C, r)) {
        let P = b().errors.find((k) => k.span.start.offset > A.start.offset && k.span.start.offset < D.end.offset);
        P && uT(P), p[R] = x(C);
      }
    }
  }
  h.length > 0 && uT(h[0]);
  let m = /* @__PURE__ */ a((y) => {
    let b = y.name.startsWith(":") ? y.name.slice(1).split(":")[0] : null, x = y.nameSpan.toString(), R = b !== null && x.startsWith(`${b}:`),
    C = R ? x.slice(b.length + 1) : x;
    y.name = C, y.namespace = b, y.hasExplicitNamespace = R;
  }, "d"), g = /* @__PURE__ */ a((y) => {
    switch (y.type) {
      case "element":
        m(y);
        for (let b of y.attrs) m(b), b.valueSpan ? (b.value = b.valueSpan.toString(), /["']/u.test(b.value[0]) && (b.value = b.value.slice(1,
        -1))) : b.value = null;
        break;
      case "comment":
        y.value = y.sourceSpan.toString().slice(4, -3);
        break;
      case "text":
        y.value = y.sourceSpan.toString();
        break;
    }
  }, "C"), w = /* @__PURE__ */ a((y, b) => {
    let x = y.toLowerCase();
    return b(x) ? x : y;
  }, "A"), v = /* @__PURE__ */ a((y) => {
    if (y.type === "element" && (i && (!y.namespace || y.namespace === y.tagDefinition.implicitNamespacePrefix || uf(y)) && (y.name = w(y.name,
    (b) => eoe.has(b))), s)) for (let b of y.attrs) b.namespace || (b.name = w(b.name, (x) => nw.has(y.name) && (nw.get("*").has(x) || nw.get(
    y.name).has(x))));
  }, "D"), S = /* @__PURE__ */ a((y) => {
    y.sourceSpan && y.endSourceSpan && (y.sourceSpan = new ne(y.sourceSpan.start, y.endSourceSpan.end));
  }, "R"), E = /* @__PURE__ */ a((y) => {
    if (y.type === "element") {
      let b = sw(u ? y.name : y.name.toLowerCase());
      !y.namespace || y.namespace === b.implicitNamespacePrefix || uf(y) ? y.tagDefinition = b : y.tagDefinition = sw("");
    }
  }, "F");
  return tI(new class extends Sne {
    visitExpansionCase(y, b) {
      n === "angular" && this.visitChildren(b, (x) => {
        x(y.expression);
      });
    }
    visit(y) {
      g(y), E(y), v(y), S(y);
    }
  }(), p), p;
}
function ooe(e, t) {
  var r;
  if (e.type !== "element" || e.name !== "template") return !1;
  let n = (r = e.attrs.find((o) => o.name === "lang")) == null ? void 0 : r.value;
  return !n || jh(t, { language: n }) === "html";
}
function uT(e) {
  let { msg: t, span: { start: r, end: n } } = e;
  throw Vne(t, { loc: { start: { line: r.line + 1, column: r.col + 1 }, end: { line: n.line + 1, column: n.col + 1 } }, cause: e });
}
function aI(e, t, r = {}, n = !0) {
  let { frontMatter: o, content: i } = n ? qne(e) : { frontMatter: null, content: e }, s = new QT(e, r.filepath), l = new iw(s, 0, 0, 0), u = l.
  moveBy(e.length), c = { type: "root", sourceSpan: new ne(l, u), children: oI(i, t, r) };
  if (o) {
    let m = new iw(s, 0, 0, 0), g = m.moveBy(o.raw.length);
    o.sourceSpan = new ne(m, g), c.children.unshift(o);
  }
  let p = new Gne(c), h = /* @__PURE__ */ a((m, g) => {
    let { offset: w } = g, v = kr(!1, e.slice(0, w), /[^\n\r]/gu, " "), S = aI(v + m, t, r, !1);
    S.sourceSpan = new ne(g, zh(!1, S.children, -1).sourceSpan.end);
    let E = S.children[0];
    return E.length === w ? S.children.shift() : (E.sourceSpan = new ne(E.sourceSpan.start.moveBy(w), E.sourceSpan.end), E.value = E.value.slice(
    w)), S;
  }, "f");
  return p.walk((m) => {
    if (m.type === "comment") {
      let g = Xne(m, h);
      g && m.parent.replaceChild(m, g);
    }
    toe(m), roe(m), noe(m);
  }), p;
}
function Yh(e) {
  return { parse: /* @__PURE__ */ a((t, r) => aI(t, e, r), "parse"), hasPragma: Dre, astFormat: "html", locStart: df, locEnd: hf };
}
var yee, cT, pT, fT, za, wee, See, dT, Eee, kr, hT, mT, gT, lw, uw, vT, cw, pw, fw, dw, yT, wT, hu, ST, hw, ET, bT, xee, Ml, Cee, Dee, xT, $i,
mw, pf, Iee, Pee, St, $t, Fe, kee, Fee, zh, Ch, F_, Oee, Dn, Bl, Mee, Bee, zee, Hee, ao, zl, $ee, jee, Hh, Uee, Wee, qee, Yee, Xee, Qee, jh,
ete, tte, rte, nte, uf, ate, _T, ite, Ate, jT, Pte, kte, Fte, Ote, Mte, Bte, zte, Hte, $te, M_, jte, Ute, VT, qte, Yte, J4, ww, ore, sre, WT,
qT, Sw, B_, YT, mre, vre, tf, yre, Ere, bre, xre, Rre, Cre, _re, Nre, Mi, iw, Hl, QT, $l, ne, Oh, jl, JT, Bre, Qre, Zre, ene, tne, H_, $_, rne,
nne, ZT, LEe, j_, V_, U_, W_, q_, Ni, G_, An, Ph, Vl, one, ane, ine, sne, lne, une, eI, cne, Ul, pne, Wl, te, Q_, nf, ql, yu, Gl, dne, Yl, hne,
Kl, mne, Xl, gne, Ql, vne, Jl, Ha, Zl, yne, eu, wne, tu, Ol, ru, J_, nu, Z_, ou, Sne, Mh, Ene, bne, Bi, Rne, rI, au, ew, iu, Cne, Ane, Bh, su,
tw, lu, Tne, $a, nI, ja, Nne, uu, Aw, zi, Zt, cu, Mne, pu, Bne, Hi, zne, fu, Hne, rw, $ne, Vne, of, qne, Th, lT, oo, Gne, Kne, nw, eoe, iI, aoe,
ioe, soe, loe, uoe, sI, lI = I(() => {
  yee = Object.defineProperty, cT = /* @__PURE__ */ a((e) => {
    throw TypeError(e);
  }, "Xr"), pT = /* @__PURE__ */ a((e, t) => {
    for (var r in t) yee(e, r, { get: t[r], enumerable: !0 });
  }, "Jr"), fT = /* @__PURE__ */ a((e, t, r) => t.has(e) || cT("Cannot " + r), "Zr"), za = /* @__PURE__ */ a((e, t, r) => (fT(e, t, "read fr\
om private field"), r ? r.call(e) : t.get(e)), "K"), wee = /* @__PURE__ */ a((e, t, r) => t.has(e) ? cT("Cannot add the same private member \
more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), "en"), See = /* @__PURE__ */ a((e, t, r, n) => (fT(e, t, "write to private\
 field"), n ? n.call(e, r) : t.set(e, r), r), "tn"), dT = {};
  pT(dT, { languages: /* @__PURE__ */ a(() => tne, "languages"), options: /* @__PURE__ */ a(() => nne, "options"), parsers: /* @__PURE__ */ a(
  () => ZT, "parsers"), printers: /* @__PURE__ */ a(() => uoe, "printers") });
  Eee = /* @__PURE__ */ a((e, t, r, n) => {
    if (!(e && t == null)) return t.replaceAll ? t.replaceAll(r, n) : r.global ? t.replace(r, n) : t.split(r).join(n);
  }, "ni"), kr = Eee, hT = "string", mT = "array", gT = "cursor", lw = "indent", uw = "align", vT = "trim", cw = "group", pw = "fill", fw = "\
if-break", dw = "indent-if-break", yT = "line-suffix", wT = "line-suffix-boundary", hu = "line", ST = "label", hw = "break-parent", ET = /* @__PURE__ */ new Set(
  [gT, lw, uw, vT, cw, pw, fw, dw, yT, wT, hu, ST, hw]);
  a(bee, "si");
  bT = bee, xee = /* @__PURE__ */ a((e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e), "ii");
  a(Ree, "ai");
  Cee = (Ml = class extends Error {
    name = "InvalidDocError";
    constructor(t) {
      super(Ree(t)), this.doc = t;
    }
  }, a(Ml, "or"), Ml), Dee = Cee, xT = /* @__PURE__ */ a(() => {
  }, "rn"), $i = xT, mw = xT;
  a(io, "k");
  a(RT, "nn");
  a(lt, "_");
  a(Aee, "sn");
  a(_ee, "an");
  a(CT, "Et");
  a(kh, "le");
  a(Tee, "on");
  pf = { type: hw }, Iee = { type: hu, hard: !0 }, Pee = { type: hu, hard: !0, literal: !0 }, St = { type: hu }, $t = { type: hu, soft: !0 },
  Fe = [Iee, pf], kee = [Pee, pf];
  a(mu, "q");
  Fee = /* @__PURE__ */ a((e, t, r) => {
    if (!(e && t == null)) return Array.isArray(t) || typeof t == "string" ? t[r < 0 ? t.length + r : r] : t.at(r);
  }, "li"), zh = Fee;
  a(DT, "lr");
  a(_n, "B");
  Ch = "'", F_ = '"';
  a(Lee, "ci");
  Oee = Lee;
  a(Nee, "cr");
  Mee = (Bl = class {
    constructor(t) {
      wee(this, Dn), See(this, Dn, new Set(t));
    }
    getLeadingWhitespaceCount(t) {
      let r = za(this, Dn), n = 0;
      for (let o = 0; o < t.length && r.has(t.charAt(o)); o++) n++;
      return n;
    }
    getTrailingWhitespaceCount(t) {
      let r = za(this, Dn), n = 0;
      for (let o = t.length - 1; o >= 0 && r.has(t.charAt(o)); o--) n++;
      return n;
    }
    getLeadingWhitespace(t) {
      let r = this.getLeadingWhitespaceCount(t);
      return t.slice(0, r);
    }
    getTrailingWhitespace(t) {
      let r = this.getTrailingWhitespaceCount(t);
      return t.slice(t.length - r);
    }
    hasLeadingWhitespace(t) {
      return za(this, Dn).has(t.charAt(0));
    }
    hasTrailingWhitespace(t) {
      return za(this, Dn).has(zh(!1, t, -1));
    }
    trimStart(t) {
      let r = this.getLeadingWhitespaceCount(t);
      return t.slice(r);
    }
    trimEnd(t) {
      let r = this.getTrailingWhitespaceCount(t);
      return t.slice(0, t.length - r);
    }
    trim(t) {
      return this.trimEnd(this.trimStart(t));
    }
    split(t, r = !1) {
      let n = `[${Nee([...za(this, Dn)].join(""))}]+`, o = new RegExp(r ? `(${n})` : n, "u");
      return t.split(o);
    }
    hasWhitespaceCharacter(t) {
      let r = za(this, Dn);
      return Array.prototype.some.call(t, (n) => r.has(n));
    }
    hasNonWhitespaceCharacter(t) {
      let r = za(this, Dn);
      return Array.prototype.some.call(t, (n) => !r.has(n));
    }
    isWhitespaceOnly(t) {
      let r = za(this, Dn);
      return Array.prototype.every.call(t, (n) => r.has(n));
    }
  }, a(Bl, "pr"), Bl);
  Dn = /* @__PURE__ */ new WeakMap();
  Bee = Mee, zee = ["	", `
`, "\f", "\r", " "], Hee = new Bee(zee), ao = Hee, $ee = (zl = class extends Error {
    name = "UnexpectedNodeError";
    constructor(t, r, n = "type") {
      super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`), this.node = t;
    }
  }, a(zl, "hr"), zl), jee = $ee;
  a(Vee, "mi");
  Hh = Vee, Uee = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "keySpan", "tagDefinit\
ion", "tokens", "valueTokens", "switchValueSourceSpan", "expSourceSpan", "valueSourceSpan"]), Wee = /* @__PURE__ */ new Set(["if", "else if",
  "for", "switch", "case"]);
  a(AT, "mn");
  AT.ignoredProperties = Uee;
  qee = AT;
  a(Gee, "gi");
  Yee = Gee;
  a($h, "ce");
  a(gu, "Y");
  a(Tn, "T");
  a(Kee, "Ci");
  Xee = Kee, Qee = /* @__PURE__ */ a((e) => String(e).split(/[/\\]/u).pop(), "Si");
  a(L_, "Cn");
  a(Jee, "_i");
  a(Zee, "Ei");
  jh = Zee, ete = "inline", tte = { area: "none", base: "none", basefont: "none", datalist: "none", head: "none", link: "none", meta: "none",
  noembed: "none", noframes: "none", param: "block", rp: "none", script: "block", style: "none", template: "inline", title: "none", html: "b\
lock", body: "block", address: "block", blockquote: "block", center: "block", dialog: "block", div: "block", figure: "block", figcaption: "b\
lock", footer: "block", form: "block", header: "block", hr: "block", legend: "block", listing: "block", main: "block", p: "block", plaintext: "\
block", pre: "block", search: "block", xmp: "block", slot: "contents", ruby: "ruby", rt: "ruby-text", article: "block", aside: "block", h1: "\
block", h2: "block", h3: "block", h4: "block", h5: "block", h6: "block", hgroup: "block", nav: "block", section: "block", dir: "block", dd: "\
block", dl: "block", dt: "block", menu: "block", ol: "block", ul: "block", li: "list-item", table: "table", caption: "table-caption", colgroup: "\
table-column-group", col: "table-column", thead: "table-header-group", tbody: "table-row-group", tfoot: "table-footer-group", tr: "table-row",
  td: "table-cell", th: "table-cell", input: "inline-block", button: "inline-block", fieldset: "block", details: "block", summary: "block", marquee: "\
inline-block", source: "block", track: "block", meter: "inline-block", progress: "inline-block", object: "inline-block", video: "inline-bloc\
k", audio: "inline-block", select: "inline-block", option: "block", optgroup: "block" }, rte = "normal", nte = { listing: "pre", plaintext: "\
pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" };
  a(ote, "Ai");
  uf = ote, ate = /* @__PURE__ */ a((e) => kr(!1, e, /^[\t\f\r ]*\n/gu, ""), "Di"), _T = /* @__PURE__ */ a((e) => ate(ao.trimEnd(e)), "mr"),
  ite = /* @__PURE__ */ a((e) => {
    let t = e, r = ao.getLeadingWhitespace(t);
    r && (t = t.slice(r.length));
    let n = ao.getTrailingWhitespace(t);
    return n && (t = t.slice(0, -n.length)), { leadingWhitespace: r, trailingWhitespace: n, text: t };
  }, "Dn");
  a(TT, "Dt");
  a(Vh, "me");
  a(ste, "vi");
  a(Zr, "O");
  a(Lo, "U");
  a(lte, "vn");
  a(ute, "yn");
  a(IT, "fr");
  a(cte, "wn");
  a(pte, "bn");
  a(fte, "Tn");
  a(Dh, "Qe");
  a(dte, "xn");
  a(PT, "dr");
  a(Q4, "vt");
  a(hte, "yi");
  a(kT, "kn");
  a(FT, "Bn");
  a(LT, "Ln");
  a(OT, "Fn");
  a(gw, "yt");
  a(mte, "wi");
  a(NT, "Nn");
  a(gte, "bi");
  a(vte, "Ti");
  a(yte, "xi");
  a(O_, "gr");
  a(ff, "Xe");
  a(wte, "ki");
  a(Ste, "Bi");
  a(Ete, "Li");
  a(bte, "Fi");
  a(xte, "Ni");
  a(du, "he");
  a(Rte, "Pi");
  a(Cte, "Pn");
  a(MT, "In");
  a(Dte, "Ii");
  a(BT, "Cr");
  a(zT, "Sr");
  a(Va, "P");
  Ate = /* @__PURE__ */ new Set(["template", "style", "script"]);
  a(Uh, "Je");
  a(vu, "fe");
  a(vw, "wt");
  a(_te, "Rn");
  a(Tte, "On");
  a(HT, "bt");
  a($T, "Tt");
  jT = /\{\{(.+?)\}\}/su;
  a(Ite, "$n");
  a(yw, "Er");
  Pte = yw({ parser: "__ng_action" }), kte = yw({ parser: "__ng_binding" }), Fte = yw({ parser: "__ng_directive" });
  a(Lte, "qi");
  Ote = Lte;
  a(Nte, "Hi");
  Mte = Nte;
  a(N_, "Hn");
  Bte = /^[ \t\n\r\u000c]+/, zte = /^[, \t\n\r\u000c]+/, Hte = /^[^ \t\n\r\u000c]+/, $te = /[,]+$/, M_ = /^\d+$/, jte = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
  a(Vte, "Yi");
  Ute = Vte;
  a(Wte, "ji");
  VT = { width: "w", height: "h", density: "x" }, qte = Object.keys(VT);
  a(Gte, "Qi");
  Yte = Wte;
  a(Kte, "Gn");
  J4 = /* @__PURE__ */ new WeakMap();
  a(Xte, "Xi");
  ww = Xte;
  a(Qte, "Yn");
  a(Jte, "jn");
  a(Zte, "Kn");
  a(ere, "Ji");
  a(tre, "Zi");
  a(rre, "ea");
  a(nre, "ta");
  a(UT, "Qn");
  ore = tre;
  a(are, "ra");
  a(ire, "na");
  sre = are, WT = new Proxy(() => {
  }, { get: /* @__PURE__ */ a(() => WT, "get") }), qT = WT;
  a(lre, "sa");
  Sw = lre;
  a(df, "X");
  a(hf, "J");
  a(ow, "Ze");
  a(ure, "ia");
  a(af, "de");
  a(cre, "aa");
  a(ji, "W");
  a(Ew, "xt");
  a(mf, "ge");
  a(GT, "ts");
  a(Vi, "j");
  a(gf, "Ce");
  a(cf, "Se");
  a(Wh, "et");
  a(pre, "oa");
  a(qh, "tt");
  a(fre, "ua");
  a(dre, "la");
  a(aw, "rt");
  a(sf, "_e");
  a(Ui, "z");
  B_ = "<!doctype";
  a(bw, "kt");
  a(xw, "Bt");
  a(hre, "ca");
  YT = hre, mre = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
  a(gre, "ha");
  vre = gre, tf = null;
  a(lf, "st");
  yre = 10;
  for (let e = 0; e <= yre; e++) lf();
  a(wre, "vr");
  a(Sre, "fa");
  Ere = Sre, bre = { "front-matter": [], root: ["children"], element: ["attrs", "children"], ieConditionalComment: ["children"], ieConditionalStartComment: [],
  ieConditionalEndComment: [], interpolation: ["children"], text: ["children"], docType: [], comment: [], attribute: [], cdata: [], angularControlFlowBlock: [
  "children", "parameters"], angularControlFlowBlockParameters: ["children"], angularControlFlowBlockParameter: [], angularLetDeclaration: [
  "init"], angularLetDeclarationInitializer: [], angularIcuExpression: ["cases"], angularIcuCase: ["expression"] }, xre = bre, Rre = Ere(xre),
  Cre = Rre;
  a(Dre, "as");
  a(Are, "os");
  _re = /* @__PURE__ */ new Map([["if", /* @__PURE__ */ new Set(["else if", "else"])], ["else if", /* @__PURE__ */ new Set(["else if", "else"])],
  ["for", /* @__PURE__ */ new Set(["empty"])], ["defer", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["placeholder", /* @__PURE__ */ new Set(
  ["placeholder", "error", "loading"])], ["error", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["loading", /* @__PURE__ */ new Set(
  ["placeholder", "error", "loading"])]]);
  a(KT, "ls");
  a(rf, "it");
  a(Ah, "Ft");
  a(Rw, "Ne");
  a(Tre, "cs");
  a(XT, "ps");
  a(Ire, "Ca");
  a(Pre, "hs");
  a(kre, "ms");
  a(Fre, "fs");
  a(Lre, "ds");
  a(Fh, "at");
  a(Cw, "Nt");
  a(Lh, "ot");
  a(Ore, "gs");
  a(Dw, "Pt");
  a(z_, "yr");
  a(Z4, "It");
  Nre = /-+([a-z0-9])/g;
  a(Mre, "Ss");
  iw = (Mi = class {
    constructor(t, r, n, o) {
      this.file = t, this.offset = r, this.line = n, this.col = o;
    }
    toString() {
      return this.offset != null ? `${this.file.url}@${this.line}:${this.col}` : this.file.url;
    }
    moveBy(t) {
      let r = this.file.content, n = r.length, o = this.offset, i = this.line, s = this.col;
      for (; o > 0 && t < 0; ) if (o--, t++, r.charCodeAt(o) == 10) {
        i--;
        let l = r.substring(0, o - 1).lastIndexOf(`
`);
        s = l > 0 ? o - l : o;
      } else s--;
      for (; o < n && t > 0; ) {
        let l = r.charCodeAt(o);
        o++, t--, l == 10 ? (i++, s = 0) : s++;
      }
      return new Mi(this.file, o, i, s);
    }
    getContext(t, r) {
      let n = this.file.content, o = this.offset;
      if (o != null) {
        o > n.length - 1 && (o = n.length - 1);
        let i = o, s = 0, l = 0;
        for (; s < t && o > 0 && (o--, s++, !(n[o] == `
` && ++l == r)); ) ;
        for (s = 0, l = 0; s < t && i < n.length - 1 && (i++, s++, !(n[i] == `
` && ++l == r)); ) ;
        return { before: n.substring(o, this.offset), after: n.substring(this.offset, i + 1) };
      }
      return null;
    }
  }, a(Mi, "t"), Mi), QT = (Hl = class {
    constructor(t, r) {
      this.content = t, this.url = r;
    }
  }, a(Hl, "Ee"), Hl), ne = ($l = class {
    constructor(t, r, n = t, o = null) {
      this.start = t, this.end = r, this.fullStart = n, this.details = o;
    }
    toString() {
      return this.start.file.content.substring(this.start.offset, this.end.offset);
    }
  }, a($l, "h"), $l);
  (function(e) {
    e[e.WARNING = 0] = "WARNING", e[e.ERROR = 1] = "ERROR";
  })(Oh || (Oh = {}));
  JT = (jl = class {
    constructor(t, r, n = Oh.ERROR) {
      this.span = t, this.msg = r, this.level = n;
    }
    contextualMessage() {
      let t = this.span.start.getContext(100, 3);
      return t ? `${this.msg} ("${t.before}[${Oh[this.level]} ->]${t.after}")` : this.msg;
    }
    toString() {
      let t = this.span.details ? `, ${this.span.details}` : "";
      return `${this.contextualMessage()}: ${this.span.start}${t}`;
    }
  }, a(jl, "Ie"), jl), Bre = [Hre, $re, Vre, Wre, qre, Kre, Gre, Yre, Xre, Ure];
  a(zre, "Ea");
  a(Hre, "Aa");
  a($re, "Da");
  a(jre, "va");
  a(Vre, "ya");
  a(Ure, "wa");
  a(Wre, "ba");
  a(qre, "Ta");
  a(Gre, "xa");
  a(Yre, "ka");
  a(Kre, "Ba");
  a(Xre, "La");
  Qre = zre;
  a(Jre, "Fa");
  Zre = { preprocess: Qre, print: Jre, insertPragma: Are, massageAstNode: qee, embed: vre, getVisitorKeys: Cre }, ene = Zre, tne = [{ linguistLanguageId: 146,
  name: "Angular", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html",
  color: "#e34c26", aliases: ["xhtml"], extensions: [".component.html"], parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [] },
  { linguistLanguageId: 146, name: "HTML", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "\
text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml", ".mjml"], parsers: [
  "html"], vscodeLanguageIds: ["html"] }, { linguistLanguageId: 146, name: "Lightning Web Components", type: "markup", tmScope: "text.html.b\
asic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [], parsers: [
  "lwc"], vscodeLanguageIds: ["html"], filenames: [] }, { linguistLanguageId: 391, name: "Vue", type: "markup", color: "#41b883", extensions: [
  ".vue"], tmScope: "text.html.vue", aceMode: "html", parsers: ["vue"], vscodeLanguageIds: ["vue"] }], H_ = { bracketSpacing: { category: "C\
ommon", type: "boolean", default: !0, description: "Print spaces between brackets.", oppositeDescription: "Do not print spaces between brack\
ets." }, singleQuote: { category: "Common", type: "boolean", default: !1, description: "Use single quotes instead of double quotes." }, proseWrap: {
  category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wra\
p prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap pr\
ose as-is." }] }, bracketSameLine: { category: "Common", type: "boolean", default: !1, description: "Put > of opening tags on the last line \
instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: !1, description: "Enforce single attri\
bute per line in HTML, Vue and JSX." } }, $_ = "HTML", rne = { bracketSameLine: H_.bracketSameLine, htmlWhitespaceSensitivity: { category: $_,
  type: "choice", default: "css", description: "How to handle whitespaces in HTML.", choices: [{ value: "css", description: "Respect the def\
ault value of CSS display property." }, { value: "strict", description: "Whitespaces are considered sensitive." }, { value: "ignore", description: "\
Whitespaces are considered insensitive." }] }, singleAttributePerLine: H_.singleAttributePerLine, vueIndentScriptAndStyle: { category: $_, type: "\
boolean", default: !1, description: "Indent script and style tags in Vue files." } }, nne = rne, ZT = {};
  pT(ZT, { angular: /* @__PURE__ */ a(() => ioe, "angular"), html: /* @__PURE__ */ a(() => aoe, "html"), lwc: /* @__PURE__ */ a(() => loe, "\
lwc"), vue: /* @__PURE__ */ a(() => soe, "vue") });
  LEe = new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`, "g");
  (function(e) {
    e[e.Emulated = 0] = "Emulated", e[e.None = 2] = "None", e[e.ShadowDom = 3] = "ShadowDom";
  })(j_ || (j_ = {}));
  (function(e) {
    e[e.OnPush = 0] = "OnPush", e[e.Default = 1] = "Default";
  })(V_ || (V_ = {}));
  (function(e) {
    e[e.None = 0] = "None", e[e.SignalBased = 1] = "SignalBased", e[e.HasDecoratorInputTransform = 2] = "HasDecoratorInputTransform";
  })(U_ || (U_ = {}));
  W_ = { name: "custom-elements" }, q_ = { name: "no-errors-schema" };
  (function(e) {
    e[e.NONE = 0] = "NONE", e[e.HTML = 1] = "HTML", e[e.STYLE = 2] = "STYLE", e[e.SCRIPT = 3] = "SCRIPT", e[e.URL = 4] = "URL", e[e.RESOURCE_URL =
    5] = "RESOURCE_URL";
  })(Ni || (Ni = {}));
  (function(e) {
    e[e.Error = 0] = "Error", e[e.Warning = 1] = "Warning", e[e.Ignore = 2] = "Ignore";
  })(G_ || (G_ = {}));
  (function(e) {
    e[e.RAW_TEXT = 0] = "RAW_TEXT", e[e.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", e[e.PARSABLE_DATA = 2] = "PARSABLE_DATA";
  })(An || (An = {}));
  a(Gh, "ut");
  a(Y_, "xr");
  a(K_, "kr");
  a(Ih, "Re");
  a(Nh, "Oe");
  a(X_, "Br");
  a(_h, "Ot");
  one = (Vl = class {
  }, a(Vl, "Mt"), Vl), ane = "boolean", ine = "number", sne = "string", lne = "object", une = ["[Element]|textContent,%ariaAtomic,%ariaAutoC\
omplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPo\
pup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlace\
holder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%a\
riaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,\
*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%par\
t,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcrea\
tionerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!dragga\
ble,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrs\
elect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*d\
ragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*key\
press,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouse\
over,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*poi\
nterover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*select\
ionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transition\
start,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spel\
lcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcap\
tion,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|\
accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,\
*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cop\
y,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*f\
ormdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mouse\
down,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*\
pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*\
securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*tr\
ansitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitan\
imationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement\
]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encryp\
ted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend\
,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*co\
py,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*\
formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mous\
edown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,\
*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,\
*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*t\
ransitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkita\
nimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geome\
try^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:\
textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerP\
olicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,pass\
word,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^\
[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*ha\
shchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*stor\
age,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,na\
me,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|valu\
e", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[\
HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|co\
lor,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]\
|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeu\
nload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejection\
handled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "hr^[HTMLElement]|align,color,!noShade,size,width", "head^[HTMLElement]|",
  "h1,h2,h3,h4,h5,h6^[HTMLElement]|align", "html^[HTMLElement]|version", "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentReq\
uest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width", "img^[HTMLEl\
ement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vs\
pace,#width", "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,f\
ormEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,pl\
aceholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,\
#width", "li^[HTMLElement]|type,#value", "label^[HTMLElement]|htmlFor", "legend^[HTMLElement]|align", "link^[HTMLElement]|as,charset,%crossO\
rigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type", "map^[HTMLElement]\
|name", "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width", "menu^[\
HTMLElement]|!compact", "meta^[HTMLElement]|content,httpEquiv,media,name,scheme", "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value",
  "ins,del^[HTMLElement]|cite,dateTime", "ol^[HTMLElement]|!compact,!reversed,#start,type", "object^[HTMLElement]|align,archive,border,code,\
codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width", "optgroup^[HTMLElement]|!disabled,label", "option^[H\
TMLElement]|!defaultSelected,!disabled,label,!selected,text,value", "output^[HTMLElement]|defaultValue,%htmlFor,name,value", "p^[HTMLElement\
]|align", "param^[HTMLElement]|name,type,value,valueType", "picture^[HTMLElement]|", "pre^[HTMLElement]|#width", "progress^[HTMLElement]|#ma\
x,#value", "q,blockquote,cite^[HTMLElement]|", "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%r\
eferrerPolicy,src,text,type", "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value", "sl\
ot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disa\
bled,media,type", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowS\
pan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,\
cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTML\
Element]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLe\
ngth,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]\
|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[H\
TMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":sv\
g:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:ci\
rcle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:\
svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feCo\
nvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:sv\
g:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:\
svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:\
feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecular\
Lighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:sv\
g:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|",
  ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", "\
:svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:s\
vg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disable\
d,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning\
|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|va\
lue", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,ra\
diogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*a\
bort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canp\
lay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut\
,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpoint\
ercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,\
*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*poi\
nterleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securi\
typolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transiti\
oncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimatio\
nstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror\
^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^\
:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:\
math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:\
math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^\
:math:|", ":math:semantics^:math:|"], eI = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "\
innerHTML", readonly: "readOnly", tabindex: "tabIndex" })), cne = Array.from(eI).reduce((e, [t, r]) => (e.set(t, r), e), /* @__PURE__ */ new Map()),
  pne = (Ul = class extends one {
    constructor() {
      super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(), une.forEach((t) => {
        let r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), [o, i] = t.split("|"), s = i.split(","), [l, u] = o.split("^");
        l.split(",").forEach((p) => {
          this._schema.set(p.toLowerCase(), r), this._eventSchema.set(p.toLowerCase(), n);
        });
        let c = u && this._schema.get(u.toLowerCase());
        if (c) {
          for (let [p, h] of c) r.set(p, h);
          for (let p of this._eventSchema.get(u.toLowerCase())) n.add(p);
        }
        s.forEach((p) => {
          if (p.length > 0) switch (p[0]) {
            case "*":
              n.add(p.substring(1));
              break;
            case "!":
              r.set(p.substring(1), ane);
              break;
            case "#":
              r.set(p.substring(1), ine);
              break;
            case "%":
              r.set(p.substring(1), lne);
              break;
            default:
              r.set(p, sne);
          }
        });
      });
    }
    hasProperty(t, r, n) {
      if (n.some((o) => o.name === q_.name)) return !0;
      if (t.indexOf("-") > -1) {
        if (Y_(t) || K_(t)) return !1;
        if (n.some((o) => o.name === W_.name)) return !0;
      }
      return (this._schema.get(t.toLowerCase()) || this._schema.get("unknown")).has(r);
    }
    hasElement(t, r) {
      return r.some((n) => n.name === q_.name) || t.indexOf("-") > -1 && (Y_(t) || K_(t) || r.some((n) => n.name === W_.name)) ? !0 : this._schema.
      has(t.toLowerCase());
    }
    securityContext(t, r, n) {
      n && (r = this.getMappedPropName(r)), t = t.toLowerCase(), r = r.toLowerCase();
      let o = X_()[t + "|" + r];
      return o || (o = X_()["*|" + r], o || Ni.NONE);
    }
    getMappedPropName(t) {
      return eI.get(t) ?? t;
    }
    getDefaultComponentElementName() {
      return "ng-component";
    }
    validateProperty(t) {
      return t.toLowerCase().startsWith("on") ? { error: !0, msg: `Binding to event property '${t}' is disallowed for security reasons, plea\
se use (${t.slice(2)})=...
If '${t}' is a directive input, make sure the directive is imported by the current module.` } : { error: !1 };
    }
    validateAttribute(t) {
      return t.toLowerCase().startsWith("on") ? { error: !0, msg: `Binding to event attribute '${t}' is disallowed for security reasons, ple\
ase use (${t.slice(2)})=...` } : { error: !1 };
    }
    allKnownElementNames() {
      return Array.from(this._schema.keys());
    }
    allKnownAttributesOfElement(t) {
      let r = this._schema.get(t.toLowerCase()) || this._schema.get("unknown");
      return Array.from(r.keys()).map((n) => cne.get(n) ?? n);
    }
    allKnownEventsOfElement(t) {
      return Array.from(this._eventSchema.get(t.toLowerCase()) ?? []);
    }
    normalizeAnimationStyleProperty(t) {
      return Mre(t);
    }
    normalizeAnimationStyleValue(t, r, n) {
      let o = "", i = n.toString().trim(), s = null;
      if (fne(t) && n !== 0 && n !== "0") if (typeof n == "number") o = "px";
      else {
        let l = n.match(/^[+-]?[\d\.]+([a-z]*)$/);
        l && l[1].length == 0 && (s = `Please provide a CSS unit value for ${r}:${n}`);
      }
      return { error: s, value: i + o };
    }
  }, a(Ul, "qt"), Ul);
  a(fne, "Ha");
  te = (Wl = class {
    constructor({ closedByChildren: t, implicitNamespacePrefix: r, contentType: n = An.PARSABLE_DATA, closedByParent: o = !1, isVoid: i = !1,
    ignoreFirstLf: s = !1, preventNamespaceInheritance: l = !1, canSelfClose: u = !1 } = {}) {
      this.closedByChildren = {}, this.closedByParent = !1, t && t.length > 0 && t.forEach((c) => this.closedByChildren[c] = !0), this.isVoid =
      i, this.closedByParent = o || i, this.implicitNamespacePrefix = r || null, this.contentType = n, this.ignoreFirstLf = s, this.preventNamespaceInheritance =
      l, this.canSelfClose = u ?? i;
    }
    isClosedByChild(t) {
      return this.isVoid || t.toLowerCase() in this.closedByChildren;
    }
    getContentType(t) {
      return typeof this.contentType == "object" ? (t === void 0 ? void 0 : this.contentType[t]) ?? this.contentType.default : this.contentType;
    }
  }, a(Wl, "m"), Wl);
  a(sw, "$e");
  yu = (ql = class {
    constructor(t, r) {
      this.sourceSpan = t, this.i18n = r;
    }
  }, a(ql, "ae"), ql), dne = (Gl = class extends yu {
    constructor(t, r, n, o) {
      super(r, o), this.value = t, this.tokens = n, this.type = "text";
    }
    visit(t, r) {
      return t.visitText(this, r);
    }
  }, a(Gl, "Ht"), Gl), hne = (Yl = class extends yu {
    constructor(t, r, n, o) {
      super(r, o), this.value = t, this.tokens = n, this.type = "cdata";
    }
    visit(t, r) {
      return t.visitCdata(this, r);
    }
  }, a(Yl, "Vt"), Yl), mne = (Kl = class extends yu {
    constructor(t, r, n, o, i, s) {
      super(o, s), this.switchValue = t, this.type = r, this.cases = n, this.switchValueSourceSpan = i;
    }
    visit(t, r) {
      return t.visitExpansion(this, r);
    }
  }, a(Kl, "Ut"), Kl), gne = (Xl = class {
    constructor(t, r, n, o, i) {
      this.value = t, this.expression = r, this.sourceSpan = n, this.valueSourceSpan = o, this.expSourceSpan = i, this.type = "expansionCase";
    }
    visit(t, r) {
      return t.visitExpansionCase(this, r);
    }
  }, a(Xl, "Wt"), Xl), vne = (Ql = class extends yu {
    constructor(t, r, n, o, i, s, l) {
      super(n, l), this.name = t, this.value = r, this.keySpan = o, this.valueSpan = i, this.valueTokens = s, this.type = "attribute";
    }
    visit(t, r) {
      return t.visitAttribute(this, r);
    }
    get nameSpan() {
      return this.keySpan;
    }
  }, a(Ql, "zt"), Ql), Ha = (Jl = class extends yu {
    constructor(t, r, n, o, i, s = null, l = null, u) {
      super(o, u), this.name = t, this.attrs = r, this.children = n, this.startSourceSpan = i, this.endSourceSpan = s, this.nameSpan = l, this.
      type = "element";
    }
    visit(t, r) {
      return t.visitElement(this, r);
    }
  }, a(Jl, "G"), Jl), yne = (Zl = class {
    constructor(t, r) {
      this.value = t, this.sourceSpan = r, this.type = "comment";
    }
    visit(t, r) {
      return t.visitComment(this, r);
    }
  }, a(Zl, "Gt"), Zl), wne = (eu = class {
    constructor(t, r) {
      this.value = t, this.sourceSpan = r, this.type = "docType";
    }
    visit(t, r) {
      return t.visitDocType(this, r);
    }
  }, a(eu, "Yt"), eu), Ol = (tu = class extends yu {
    constructor(t, r, n, o, i, s, l = null, u) {
      super(o, u), this.name = t, this.parameters = r, this.children = n, this.nameSpan = i, this.startSourceSpan = s, this.endSourceSpan = l,
      this.type = "block";
    }
    visit(t, r) {
      return t.visitBlock(this, r);
    }
  }, a(tu, "ee"), tu), J_ = (ru = class {
    constructor(t, r) {
      this.expression = t, this.sourceSpan = r, this.type = "blockParameter", this.startSourceSpan = null, this.endSourceSpan = null;
    }
    visit(t, r) {
      return t.visitBlockParameter(this, r);
    }
  }, a(ru, "ct"), ru), Z_ = (nu = class {
    constructor(t, r, n, o, i) {
      this.name = t, this.value = r, this.sourceSpan = n, this.nameSpan = o, this.valueSpan = i, this.type = "letDeclaration", this.startSourceSpan =
      null, this.endSourceSpan = null;
    }
    visit(t, r) {
      return t.visitLetDeclaration(this, r);
    }
  }, a(nu, "pt"), nu);
  a(tI, "jt");
  Sne = (ou = class {
    constructor() {
    }
    visitElement(t, r) {
      this.visitChildren(r, (n) => {
        n(t.attrs), n(t.children);
      });
    }
    visitAttribute(t, r) {
    }
    visitText(t, r) {
    }
    visitCdata(t, r) {
    }
    visitComment(t, r) {
    }
    visitDocType(t, r) {
    }
    visitExpansion(t, r) {
      return this.visitChildren(r, (n) => {
        n(t.cases);
      });
    }
    visitExpansionCase(t, r) {
    }
    visitBlock(t, r) {
      this.visitChildren(r, (n) => {
        n(t.parameters), n(t.children);
      });
    }
    visitBlockParameter(t, r) {
    }
    visitLetDeclaration(t, r) {
    }
    visitChildren(t, r) {
      let n = [], o = this;
      function i(s) {
        s && n.push(tI(o, s, t));
      }
      return a(i, "i"), r(i), Array.prototype.concat.apply([], n);
    }
  }, a(ou, "ht"), ou), Mh = { AElig: "\xC6", AMP: "&", amp: "&", Aacute: "\xC1", Abreve: "\u0102", Acirc: "\xC2", Acy: "\u0410", Afr: "\u{1D504}",
  Agrave: "\xC0", Alpha: "\u0391", Amacr: "\u0100", And: "\u2A53", Aogon: "\u0104", Aopf: "\u{1D538}", ApplyFunction: "\u2061", af: "\u2061",
  Aring: "\xC5", angst: "\xC5", Ascr: "\u{1D49C}", Assign: "\u2254", colone: "\u2254", coloneq: "\u2254", Atilde: "\xC3", Auml: "\xC4", Backslash: "\
\u2216", setminus: "\u2216", setmn: "\u2216", smallsetminus: "\u2216", ssetmn: "\u2216", Barv: "\u2AE7", Barwed: "\u2306", doublebarwedge: "\
\u2306", Bcy: "\u0411", Because: "\u2235", becaus: "\u2235", because: "\u2235", Bernoullis: "\u212C", Bscr: "\u212C", bernou: "\u212C", Beta: "\
\u0392", Bfr: "\u{1D505}", Bopf: "\u{1D539}", Breve: "\u02D8", breve: "\u02D8", Bumpeq: "\u224E", HumpDownHump: "\u224E", bump: "\u224E", CHcy: "\
\u0427", COPY: "\xA9", copy: "\xA9", Cacute: "\u0106", Cap: "\u22D2", CapitalDifferentialD: "\u2145", DD: "\u2145", Cayleys: "\u212D", Cfr: "\
\u212D", Ccaron: "\u010C", Ccedil: "\xC7", Ccirc: "\u0108", Cconint: "\u2230", Cdot: "\u010A", Cedilla: "\xB8", cedil: "\xB8", CenterDot: "\xB7",
  centerdot: "\xB7", middot: "\xB7", Chi: "\u03A7", CircleDot: "\u2299", odot: "\u2299", CircleMinus: "\u2296", ominus: "\u2296", CirclePlus: "\
\u2295", oplus: "\u2295", CircleTimes: "\u2297", otimes: "\u2297", ClockwiseContourIntegral: "\u2232", cwconint: "\u2232", CloseCurlyDoubleQuote: "\
\u201D", rdquo: "\u201D", rdquor: "\u201D", CloseCurlyQuote: "\u2019", rsquo: "\u2019", rsquor: "\u2019", Colon: "\u2237", Proportion: "\u2237",
  Colone: "\u2A74", Congruent: "\u2261", equiv: "\u2261", Conint: "\u222F", DoubleContourIntegral: "\u222F", ContourIntegral: "\u222E", conint: "\
\u222E", oint: "\u222E", Copf: "\u2102", complexes: "\u2102", Coproduct: "\u2210", coprod: "\u2210", CounterClockwiseContourIntegral: "\u2233",
  awconint: "\u2233", Cross: "\u2A2F", Cscr: "\u{1D49E}", Cup: "\u22D3", CupCap: "\u224D", asympeq: "\u224D", DDotrahd: "\u2911", DJcy: "\u0402",
  DScy: "\u0405", DZcy: "\u040F", Dagger: "\u2021", ddagger: "\u2021", Darr: "\u21A1", Dashv: "\u2AE4", DoubleLeftTee: "\u2AE4", Dcaron: "\u010E",
  Dcy: "\u0414", Del: "\u2207", nabla: "\u2207", Delta: "\u0394", Dfr: "\u{1D507}", DiacriticalAcute: "\xB4", acute: "\xB4", DiacriticalDot: "\
\u02D9", dot: "\u02D9", DiacriticalDoubleAcute: "\u02DD", dblac: "\u02DD", DiacriticalGrave: "`", grave: "`", DiacriticalTilde: "\u02DC", tilde: "\
\u02DC", Diamond: "\u22C4", diam: "\u22C4", diamond: "\u22C4", DifferentialD: "\u2146", dd: "\u2146", Dopf: "\u{1D53B}", Dot: "\xA8", DoubleDot: "\
\xA8", die: "\xA8", uml: "\xA8", DotDot: "\u20DC", DotEqual: "\u2250", doteq: "\u2250", esdot: "\u2250", DoubleDownArrow: "\u21D3", Downarrow: "\
\u21D3", dArr: "\u21D3", DoubleLeftArrow: "\u21D0", Leftarrow: "\u21D0", lArr: "\u21D0", DoubleLeftRightArrow: "\u21D4", Leftrightarrow: "\u21D4",
  hArr: "\u21D4", iff: "\u21D4", DoubleLongLeftArrow: "\u27F8", Longleftarrow: "\u27F8", xlArr: "\u27F8", DoubleLongLeftRightArrow: "\u27FA",
  Longleftrightarrow: "\u27FA", xhArr: "\u27FA", DoubleLongRightArrow: "\u27F9", Longrightarrow: "\u27F9", xrArr: "\u27F9", DoubleRightArrow: "\
\u21D2", Implies: "\u21D2", Rightarrow: "\u21D2", rArr: "\u21D2", DoubleRightTee: "\u22A8", vDash: "\u22A8", DoubleUpArrow: "\u21D1", Uparrow: "\
\u21D1", uArr: "\u21D1", DoubleUpDownArrow: "\u21D5", Updownarrow: "\u21D5", vArr: "\u21D5", DoubleVerticalBar: "\u2225", par: "\u2225", parallel: "\
\u2225", shortparallel: "\u2225", spar: "\u2225", DownArrow: "\u2193", ShortDownArrow: "\u2193", darr: "\u2193", downarrow: "\u2193", DownArrowBar: "\
\u2913", DownArrowUpArrow: "\u21F5", duarr: "\u21F5", DownBreve: "\u0311", DownLeftRightVector: "\u2950", DownLeftTeeVector: "\u295E", DownLeftVector: "\
\u21BD", leftharpoondown: "\u21BD", lhard: "\u21BD", DownLeftVectorBar: "\u2956", DownRightTeeVector: "\u295F", DownRightVector: "\u21C1", rhard: "\
\u21C1", rightharpoondown: "\u21C1", DownRightVectorBar: "\u2957", DownTee: "\u22A4", top: "\u22A4", DownTeeArrow: "\u21A7", mapstodown: "\u21A7",
  Dscr: "\u{1D49F}", Dstrok: "\u0110", ENG: "\u014A", ETH: "\xD0", Eacute: "\xC9", Ecaron: "\u011A", Ecirc: "\xCA", Ecy: "\u042D", Edot: "\u0116",
  Efr: "\u{1D508}", Egrave: "\xC8", Element: "\u2208", in: "\u2208", isin: "\u2208", isinv: "\u2208", Emacr: "\u0112", EmptySmallSquare: "\u25FB",
  EmptyVerySmallSquare: "\u25AB", Eogon: "\u0118", Eopf: "\u{1D53C}", Epsilon: "\u0395", Equal: "\u2A75", EqualTilde: "\u2242", eqsim: "\u2242",
  esim: "\u2242", Equilibrium: "\u21CC", rightleftharpoons: "\u21CC", rlhar: "\u21CC", Escr: "\u2130", expectation: "\u2130", Esim: "\u2A73",
  Eta: "\u0397", Euml: "\xCB", Exists: "\u2203", exist: "\u2203", ExponentialE: "\u2147", ee: "\u2147", exponentiale: "\u2147", Fcy: "\u0424",
  Ffr: "\u{1D509}", FilledSmallSquare: "\u25FC", FilledVerySmallSquare: "\u25AA", blacksquare: "\u25AA", squarf: "\u25AA", squf: "\u25AA", Fopf: "\
\u{1D53D}", ForAll: "\u2200", forall: "\u2200", Fouriertrf: "\u2131", Fscr: "\u2131", GJcy: "\u0403", GT: ">", gt: ">", Gamma: "\u0393", Gammad: "\
\u03DC", Gbreve: "\u011E", Gcedil: "\u0122", Gcirc: "\u011C", Gcy: "\u0413", Gdot: "\u0120", Gfr: "\u{1D50A}", Gg: "\u22D9", ggg: "\u22D9", Gopf: "\
\u{1D53E}", GreaterEqual: "\u2265", ge: "\u2265", geq: "\u2265", GreaterEqualLess: "\u22DB", gel: "\u22DB", gtreqless: "\u22DB", GreaterFullEqual: "\
\u2267", gE: "\u2267", geqq: "\u2267", GreaterGreater: "\u2AA2", GreaterLess: "\u2277", gl: "\u2277", gtrless: "\u2277", GreaterSlantEqual: "\
\u2A7E", geqslant: "\u2A7E", ges: "\u2A7E", GreaterTilde: "\u2273", gsim: "\u2273", gtrsim: "\u2273", Gscr: "\u{1D4A2}", Gt: "\u226B", NestedGreaterGreater: "\
\u226B", gg: "\u226B", HARDcy: "\u042A", Hacek: "\u02C7", caron: "\u02C7", Hat: "^", Hcirc: "\u0124", Hfr: "\u210C", Poincareplane: "\u210C",
  HilbertSpace: "\u210B", Hscr: "\u210B", hamilt: "\u210B", Hopf: "\u210D", quaternions: "\u210D", HorizontalLine: "\u2500", boxh: "\u2500",
  Hstrok: "\u0126", HumpEqual: "\u224F", bumpe: "\u224F", bumpeq: "\u224F", IEcy: "\u0415", IJlig: "\u0132", IOcy: "\u0401", Iacute: "\xCD",
  Icirc: "\xCE", Icy: "\u0418", Idot: "\u0130", Ifr: "\u2111", Im: "\u2111", image: "\u2111", imagpart: "\u2111", Igrave: "\xCC", Imacr: "\u012A",
  ImaginaryI: "\u2148", ii: "\u2148", Int: "\u222C", Integral: "\u222B", int: "\u222B", Intersection: "\u22C2", bigcap: "\u22C2", xcap: "\u22C2",
  InvisibleComma: "\u2063", ic: "\u2063", InvisibleTimes: "\u2062", it: "\u2062", Iogon: "\u012E", Iopf: "\u{1D540}", Iota: "\u0399", Iscr: "\
\u2110", imagline: "\u2110", Itilde: "\u0128", Iukcy: "\u0406", Iuml: "\xCF", Jcirc: "\u0134", Jcy: "\u0419", Jfr: "\u{1D50D}", Jopf: "\u{1D541}",
  Jscr: "\u{1D4A5}", Jsercy: "\u0408", Jukcy: "\u0404", KHcy: "\u0425", KJcy: "\u040C", Kappa: "\u039A", Kcedil: "\u0136", Kcy: "\u041A", Kfr: "\
\u{1D50E}", Kopf: "\u{1D542}", Kscr: "\u{1D4A6}", LJcy: "\u0409", LT: "<", lt: "<", Lacute: "\u0139", Lambda: "\u039B", Lang: "\u27EA", Laplacetrf: "\
\u2112", Lscr: "\u2112", lagran: "\u2112", Larr: "\u219E", twoheadleftarrow: "\u219E", Lcaron: "\u013D", Lcedil: "\u013B", Lcy: "\u041B", LeftAngleBracket: "\
\u27E8", lang: "\u27E8", langle: "\u27E8", LeftArrow: "\u2190", ShortLeftArrow: "\u2190", larr: "\u2190", leftarrow: "\u2190", slarr: "\u2190",
  LeftArrowBar: "\u21E4", larrb: "\u21E4", LeftArrowRightArrow: "\u21C6", leftrightarrows: "\u21C6", lrarr: "\u21C6", LeftCeiling: "\u2308",
  lceil: "\u2308", LeftDoubleBracket: "\u27E6", lobrk: "\u27E6", LeftDownTeeVector: "\u2961", LeftDownVector: "\u21C3", dharl: "\u21C3", downharpoonleft: "\
\u21C3", LeftDownVectorBar: "\u2959", LeftFloor: "\u230A", lfloor: "\u230A", LeftRightArrow: "\u2194", harr: "\u2194", leftrightarrow: "\u2194",
  LeftRightVector: "\u294E", LeftTee: "\u22A3", dashv: "\u22A3", LeftTeeArrow: "\u21A4", mapstoleft: "\u21A4", LeftTeeVector: "\u295A", LeftTriangle: "\
\u22B2", vartriangleleft: "\u22B2", vltri: "\u22B2", LeftTriangleBar: "\u29CF", LeftTriangleEqual: "\u22B4", ltrie: "\u22B4", trianglelefteq: "\
\u22B4", LeftUpDownVector: "\u2951", LeftUpTeeVector: "\u2960", LeftUpVector: "\u21BF", uharl: "\u21BF", upharpoonleft: "\u21BF", LeftUpVectorBar: "\
\u2958", LeftVector: "\u21BC", leftharpoonup: "\u21BC", lharu: "\u21BC", LeftVectorBar: "\u2952", LessEqualGreater: "\u22DA", leg: "\u22DA",
  lesseqgtr: "\u22DA", LessFullEqual: "\u2266", lE: "\u2266", leqq: "\u2266", LessGreater: "\u2276", lessgtr: "\u2276", lg: "\u2276", LessLess: "\
\u2AA1", LessSlantEqual: "\u2A7D", leqslant: "\u2A7D", les: "\u2A7D", LessTilde: "\u2272", lesssim: "\u2272", lsim: "\u2272", Lfr: "\u{1D50F}",
  Ll: "\u22D8", Lleftarrow: "\u21DA", lAarr: "\u21DA", Lmidot: "\u013F", LongLeftArrow: "\u27F5", longleftarrow: "\u27F5", xlarr: "\u27F5", LongLeftRightArrow: "\
\u27F7", longleftrightarrow: "\u27F7", xharr: "\u27F7", LongRightArrow: "\u27F6", longrightarrow: "\u27F6", xrarr: "\u27F6", Lopf: "\u{1D543}",
  LowerLeftArrow: "\u2199", swarr: "\u2199", swarrow: "\u2199", LowerRightArrow: "\u2198", searr: "\u2198", searrow: "\u2198", Lsh: "\u21B0",
  lsh: "\u21B0", Lstrok: "\u0141", Lt: "\u226A", NestedLessLess: "\u226A", ll: "\u226A", Map: "\u2905", Mcy: "\u041C", MediumSpace: "\u205F",
  Mellintrf: "\u2133", Mscr: "\u2133", phmmat: "\u2133", Mfr: "\u{1D510}", MinusPlus: "\u2213", mnplus: "\u2213", mp: "\u2213", Mopf: "\u{1D544}",
  Mu: "\u039C", NJcy: "\u040A", Nacute: "\u0143", Ncaron: "\u0147", Ncedil: "\u0145", Ncy: "\u041D", NegativeMediumSpace: "\u200B", NegativeThickSpace: "\
\u200B", NegativeThinSpace: "\u200B", NegativeVeryThinSpace: "\u200B", ZeroWidthSpace: "\u200B", NewLine: `
`, Nfr: "\u{1D511}", NoBreak: "\u2060", NonBreakingSpace: "\xA0", nbsp: "\xA0", Nopf: "\u2115", naturals: "\u2115", Not: "\u2AEC", NotCongruent: "\
\u2262", nequiv: "\u2262", NotCupCap: "\u226D", NotDoubleVerticalBar: "\u2226", npar: "\u2226", nparallel: "\u2226", nshortparallel: "\u2226",
  nspar: "\u2226", NotElement: "\u2209", notin: "\u2209", notinva: "\u2209", NotEqual: "\u2260", ne: "\u2260", NotEqualTilde: "\u2242\u0338",
  nesim: "\u2242\u0338", NotExists: "\u2204", nexist: "\u2204", nexists: "\u2204", NotGreater: "\u226F", ngt: "\u226F", ngtr: "\u226F", NotGreaterEqual: "\
\u2271", nge: "\u2271", ngeq: "\u2271", NotGreaterFullEqual: "\u2267\u0338", ngE: "\u2267\u0338", ngeqq: "\u2267\u0338", NotGreaterGreater: "\
\u226B\u0338", nGtv: "\u226B\u0338", NotGreaterLess: "\u2279", ntgl: "\u2279", NotGreaterSlantEqual: "\u2A7E\u0338", ngeqslant: "\u2A7E\u0338",
  nges: "\u2A7E\u0338", NotGreaterTilde: "\u2275", ngsim: "\u2275", NotHumpDownHump: "\u224E\u0338", nbump: "\u224E\u0338", NotHumpEqual: "\u224F\
\u0338", nbumpe: "\u224F\u0338", NotLeftTriangle: "\u22EA", nltri: "\u22EA", ntriangleleft: "\u22EA", NotLeftTriangleBar: "\u29CF\u0338", NotLeftTriangleEqual: "\
\u22EC", nltrie: "\u22EC", ntrianglelefteq: "\u22EC", NotLess: "\u226E", nless: "\u226E", nlt: "\u226E", NotLessEqual: "\u2270", nle: "\u2270",
  nleq: "\u2270", NotLessGreater: "\u2278", ntlg: "\u2278", NotLessLess: "\u226A\u0338", nLtv: "\u226A\u0338", NotLessSlantEqual: "\u2A7D\u0338",
  nleqslant: "\u2A7D\u0338", nles: "\u2A7D\u0338", NotLessTilde: "\u2274", nlsim: "\u2274", NotNestedGreaterGreater: "\u2AA2\u0338", NotNestedLessLess: "\
\u2AA1\u0338", NotPrecedes: "\u2280", npr: "\u2280", nprec: "\u2280", NotPrecedesEqual: "\u2AAF\u0338", npre: "\u2AAF\u0338", npreceq: "\u2AAF\u0338",
  NotPrecedesSlantEqual: "\u22E0", nprcue: "\u22E0", NotReverseElement: "\u220C", notni: "\u220C", notniva: "\u220C", NotRightTriangle: "\u22EB",
  nrtri: "\u22EB", ntriangleright: "\u22EB", NotRightTriangleBar: "\u29D0\u0338", NotRightTriangleEqual: "\u22ED", nrtrie: "\u22ED", ntrianglerighteq: "\
\u22ED", NotSquareSubset: "\u228F\u0338", NotSquareSubsetEqual: "\u22E2", nsqsube: "\u22E2", NotSquareSuperset: "\u2290\u0338", NotSquareSupersetEqual: "\
\u22E3", nsqsupe: "\u22E3", NotSubset: "\u2282\u20D2", nsubset: "\u2282\u20D2", vnsub: "\u2282\u20D2", NotSubsetEqual: "\u2288", nsube: "\u2288",
  nsubseteq: "\u2288", NotSucceeds: "\u2281", nsc: "\u2281", nsucc: "\u2281", NotSucceedsEqual: "\u2AB0\u0338", nsce: "\u2AB0\u0338", nsucceq: "\
\u2AB0\u0338", NotSucceedsSlantEqual: "\u22E1", nsccue: "\u22E1", NotSucceedsTilde: "\u227F\u0338", NotSuperset: "\u2283\u20D2", nsupset: "\u2283\
\u20D2", vnsup: "\u2283\u20D2", NotSupersetEqual: "\u2289", nsupe: "\u2289", nsupseteq: "\u2289", NotTilde: "\u2241", nsim: "\u2241", NotTildeEqual: "\
\u2244", nsime: "\u2244", nsimeq: "\u2244", NotTildeFullEqual: "\u2247", ncong: "\u2247", NotTildeTilde: "\u2249", nap: "\u2249", napprox: "\
\u2249", NotVerticalBar: "\u2224", nmid: "\u2224", nshortmid: "\u2224", nsmid: "\u2224", Nscr: "\u{1D4A9}", Ntilde: "\xD1", Nu: "\u039D", OElig: "\
\u0152", Oacute: "\xD3", Ocirc: "\xD4", Ocy: "\u041E", Odblac: "\u0150", Ofr: "\u{1D512}", Ograve: "\xD2", Omacr: "\u014C", Omega: "\u03A9",
  ohm: "\u03A9", Omicron: "\u039F", Oopf: "\u{1D546}", OpenCurlyDoubleQuote: "\u201C", ldquo: "\u201C", OpenCurlyQuote: "\u2018", lsquo: "\u2018",
  Or: "\u2A54", Oscr: "\u{1D4AA}", Oslash: "\xD8", Otilde: "\xD5", Otimes: "\u2A37", Ouml: "\xD6", OverBar: "\u203E", oline: "\u203E", OverBrace: "\
\u23DE", OverBracket: "\u23B4", tbrk: "\u23B4", OverParenthesis: "\u23DC", PartialD: "\u2202", part: "\u2202", Pcy: "\u041F", Pfr: "\u{1D513}",
  Phi: "\u03A6", Pi: "\u03A0", PlusMinus: "\xB1", plusmn: "\xB1", pm: "\xB1", Popf: "\u2119", primes: "\u2119", Pr: "\u2ABB", Precedes: "\u227A",
  pr: "\u227A", prec: "\u227A", PrecedesEqual: "\u2AAF", pre: "\u2AAF", preceq: "\u2AAF", PrecedesSlantEqual: "\u227C", prcue: "\u227C", preccurlyeq: "\
\u227C", PrecedesTilde: "\u227E", precsim: "\u227E", prsim: "\u227E", Prime: "\u2033", Product: "\u220F", prod: "\u220F", Proportional: "\u221D",
  prop: "\u221D", propto: "\u221D", varpropto: "\u221D", vprop: "\u221D", Pscr: "\u{1D4AB}", Psi: "\u03A8", QUOT: '"', quot: '"', Qfr: "\u{1D514}",
  Qopf: "\u211A", rationals: "\u211A", Qscr: "\u{1D4AC}", RBarr: "\u2910", drbkarow: "\u2910", REG: "\xAE", circledR: "\xAE", reg: "\xAE", Racute: "\
\u0154", Rang: "\u27EB", Rarr: "\u21A0", twoheadrightarrow: "\u21A0", Rarrtl: "\u2916", Rcaron: "\u0158", Rcedil: "\u0156", Rcy: "\u0420", Re: "\
\u211C", Rfr: "\u211C", real: "\u211C", realpart: "\u211C", ReverseElement: "\u220B", SuchThat: "\u220B", ni: "\u220B", niv: "\u220B", ReverseEquilibrium: "\
\u21CB", leftrightharpoons: "\u21CB", lrhar: "\u21CB", ReverseUpEquilibrium: "\u296F", duhar: "\u296F", Rho: "\u03A1", RightAngleBracket: "\u27E9",
  rang: "\u27E9", rangle: "\u27E9", RightArrow: "\u2192", ShortRightArrow: "\u2192", rarr: "\u2192", rightarrow: "\u2192", srarr: "\u2192", RightArrowBar: "\
\u21E5", rarrb: "\u21E5", RightArrowLeftArrow: "\u21C4", rightleftarrows: "\u21C4", rlarr: "\u21C4", RightCeiling: "\u2309", rceil: "\u2309",
  RightDoubleBracket: "\u27E7", robrk: "\u27E7", RightDownTeeVector: "\u295D", RightDownVector: "\u21C2", dharr: "\u21C2", downharpoonright: "\
\u21C2", RightDownVectorBar: "\u2955", RightFloor: "\u230B", rfloor: "\u230B", RightTee: "\u22A2", vdash: "\u22A2", RightTeeArrow: "\u21A6",
  map: "\u21A6", mapsto: "\u21A6", RightTeeVector: "\u295B", RightTriangle: "\u22B3", vartriangleright: "\u22B3", vrtri: "\u22B3", RightTriangleBar: "\
\u29D0", RightTriangleEqual: "\u22B5", rtrie: "\u22B5", trianglerighteq: "\u22B5", RightUpDownVector: "\u294F", RightUpTeeVector: "\u295C", RightUpVector: "\
\u21BE", uharr: "\u21BE", upharpoonright: "\u21BE", RightUpVectorBar: "\u2954", RightVector: "\u21C0", rharu: "\u21C0", rightharpoonup: "\u21C0",
  RightVectorBar: "\u2953", Ropf: "\u211D", reals: "\u211D", RoundImplies: "\u2970", Rrightarrow: "\u21DB", rAarr: "\u21DB", Rscr: "\u211B",
  realine: "\u211B", Rsh: "\u21B1", rsh: "\u21B1", RuleDelayed: "\u29F4", SHCHcy: "\u0429", SHcy: "\u0428", SOFTcy: "\u042C", Sacute: "\u015A",
  Sc: "\u2ABC", Scaron: "\u0160", Scedil: "\u015E", Scirc: "\u015C", Scy: "\u0421", Sfr: "\u{1D516}", ShortUpArrow: "\u2191", UpArrow: "\u2191",
  uarr: "\u2191", uparrow: "\u2191", Sigma: "\u03A3", SmallCircle: "\u2218", compfn: "\u2218", Sopf: "\u{1D54A}", Sqrt: "\u221A", radic: "\u221A",
  Square: "\u25A1", squ: "\u25A1", square: "\u25A1", SquareIntersection: "\u2293", sqcap: "\u2293", SquareSubset: "\u228F", sqsub: "\u228F",
  sqsubset: "\u228F", SquareSubsetEqual: "\u2291", sqsube: "\u2291", sqsubseteq: "\u2291", SquareSuperset: "\u2290", sqsup: "\u2290", sqsupset: "\
\u2290", SquareSupersetEqual: "\u2292", sqsupe: "\u2292", sqsupseteq: "\u2292", SquareUnion: "\u2294", sqcup: "\u2294", Sscr: "\u{1D4AE}", Star: "\
\u22C6", sstarf: "\u22C6", Sub: "\u22D0", Subset: "\u22D0", SubsetEqual: "\u2286", sube: "\u2286", subseteq: "\u2286", Succeeds: "\u227B", sc: "\
\u227B", succ: "\u227B", SucceedsEqual: "\u2AB0", sce: "\u2AB0", succeq: "\u2AB0", SucceedsSlantEqual: "\u227D", sccue: "\u227D", succcurlyeq: "\
\u227D", SucceedsTilde: "\u227F", scsim: "\u227F", succsim: "\u227F", Sum: "\u2211", sum: "\u2211", Sup: "\u22D1", Supset: "\u22D1", Superset: "\
\u2283", sup: "\u2283", supset: "\u2283", SupersetEqual: "\u2287", supe: "\u2287", supseteq: "\u2287", THORN: "\xDE", TRADE: "\u2122", trade: "\
\u2122", TSHcy: "\u040B", TScy: "\u0426", Tab: "	", Tau: "\u03A4", Tcaron: "\u0164", Tcedil: "\u0162", Tcy: "\u0422", Tfr: "\u{1D517}", Therefore: "\
\u2234", there4: "\u2234", therefore: "\u2234", Theta: "\u0398", ThickSpace: "\u205F\u200A", ThinSpace: "\u2009", thinsp: "\u2009", Tilde: "\
\u223C", sim: "\u223C", thicksim: "\u223C", thksim: "\u223C", TildeEqual: "\u2243", sime: "\u2243", simeq: "\u2243", TildeFullEqual: "\u2245",
  cong: "\u2245", TildeTilde: "\u2248", ap: "\u2248", approx: "\u2248", asymp: "\u2248", thickapprox: "\u2248", thkap: "\u2248", Topf: "\u{1D54B}",
  TripleDot: "\u20DB", tdot: "\u20DB", Tscr: "\u{1D4AF}", Tstrok: "\u0166", Uacute: "\xDA", Uarr: "\u219F", Uarrocir: "\u2949", Ubrcy: "\u040E",
  Ubreve: "\u016C", Ucirc: "\xDB", Ucy: "\u0423", Udblac: "\u0170", Ufr: "\u{1D518}", Ugrave: "\xD9", Umacr: "\u016A", UnderBar: "_", lowbar: "\
_", UnderBrace: "\u23DF", UnderBracket: "\u23B5", bbrk: "\u23B5", UnderParenthesis: "\u23DD", Union: "\u22C3", bigcup: "\u22C3", xcup: "\u22C3",
  UnionPlus: "\u228E", uplus: "\u228E", Uogon: "\u0172", Uopf: "\u{1D54C}", UpArrowBar: "\u2912", UpArrowDownArrow: "\u21C5", udarr: "\u21C5",
  UpDownArrow: "\u2195", updownarrow: "\u2195", varr: "\u2195", UpEquilibrium: "\u296E", udhar: "\u296E", UpTee: "\u22A5", bot: "\u22A5", bottom: "\
\u22A5", perp: "\u22A5", UpTeeArrow: "\u21A5", mapstoup: "\u21A5", UpperLeftArrow: "\u2196", nwarr: "\u2196", nwarrow: "\u2196", UpperRightArrow: "\
\u2197", nearr: "\u2197", nearrow: "\u2197", Upsi: "\u03D2", upsih: "\u03D2", Upsilon: "\u03A5", Uring: "\u016E", Uscr: "\u{1D4B0}", Utilde: "\
\u0168", Uuml: "\xDC", VDash: "\u22AB", Vbar: "\u2AEB", Vcy: "\u0412", Vdash: "\u22A9", Vdashl: "\u2AE6", Vee: "\u22C1", bigvee: "\u22C1", xvee: "\
\u22C1", Verbar: "\u2016", Vert: "\u2016", VerticalBar: "\u2223", mid: "\u2223", shortmid: "\u2223", smid: "\u2223", VerticalLine: "|", verbar: "\
|", vert: "|", VerticalSeparator: "\u2758", VerticalTilde: "\u2240", wr: "\u2240", wreath: "\u2240", VeryThinSpace: "\u200A", hairsp: "\u200A",
  Vfr: "\u{1D519}", Vopf: "\u{1D54D}", Vscr: "\u{1D4B1}", Vvdash: "\u22AA", Wcirc: "\u0174", Wedge: "\u22C0", bigwedge: "\u22C0", xwedge: "\u22C0",
  Wfr: "\u{1D51A}", Wopf: "\u{1D54E}", Wscr: "\u{1D4B2}", Xfr: "\u{1D51B}", Xi: "\u039E", Xopf: "\u{1D54F}", Xscr: "\u{1D4B3}", YAcy: "\u042F",
  YIcy: "\u0407", YUcy: "\u042E", Yacute: "\xDD", Ycirc: "\u0176", Ycy: "\u042B", Yfr: "\u{1D51C}", Yopf: "\u{1D550}", Yscr: "\u{1D4B4}", Yuml: "\
\u0178", ZHcy: "\u0416", Zacute: "\u0179", Zcaron: "\u017D", Zcy: "\u0417", Zdot: "\u017B", Zeta: "\u0396", Zfr: "\u2128", zeetrf: "\u2128",
  Zopf: "\u2124", integers: "\u2124", Zscr: "\u{1D4B5}", aacute: "\xE1", abreve: "\u0103", ac: "\u223E", mstpos: "\u223E", acE: "\u223E\u0333",
  acd: "\u223F", acirc: "\xE2", acy: "\u0430", aelig: "\xE6", afr: "\u{1D51E}", agrave: "\xE0", alefsym: "\u2135", aleph: "\u2135", alpha: "\
\u03B1", amacr: "\u0101", amalg: "\u2A3F", and: "\u2227", wedge: "\u2227", andand: "\u2A55", andd: "\u2A5C", andslope: "\u2A58", andv: "\u2A5A",
  ang: "\u2220", angle: "\u2220", ange: "\u29A4", angmsd: "\u2221", measuredangle: "\u2221", angmsdaa: "\u29A8", angmsdab: "\u29A9", angmsdac: "\
\u29AA", angmsdad: "\u29AB", angmsdae: "\u29AC", angmsdaf: "\u29AD", angmsdag: "\u29AE", angmsdah: "\u29AF", angrt: "\u221F", angrtvb: "\u22BE",
  angrtvbd: "\u299D", angsph: "\u2222", angzarr: "\u237C", aogon: "\u0105", aopf: "\u{1D552}", apE: "\u2A70", apacir: "\u2A6F", ape: "\u224A",
  approxeq: "\u224A", apid: "\u224B", apos: "'", aring: "\xE5", ascr: "\u{1D4B6}", ast: "*", midast: "*", atilde: "\xE3", auml: "\xE4", awint: "\
\u2A11", bNot: "\u2AED", backcong: "\u224C", bcong: "\u224C", backepsilon: "\u03F6", bepsi: "\u03F6", backprime: "\u2035", bprime: "\u2035",
  backsim: "\u223D", bsim: "\u223D", backsimeq: "\u22CD", bsime: "\u22CD", barvee: "\u22BD", barwed: "\u2305", barwedge: "\u2305", bbrktbrk: "\
\u23B6", bcy: "\u0431", bdquo: "\u201E", ldquor: "\u201E", bemptyv: "\u29B0", beta: "\u03B2", beth: "\u2136", between: "\u226C", twixt: "\u226C",
  bfr: "\u{1D51F}", bigcirc: "\u25EF", xcirc: "\u25EF", bigodot: "\u2A00", xodot: "\u2A00", bigoplus: "\u2A01", xoplus: "\u2A01", bigotimes: "\
\u2A02", xotime: "\u2A02", bigsqcup: "\u2A06", xsqcup: "\u2A06", bigstar: "\u2605", starf: "\u2605", bigtriangledown: "\u25BD", xdtri: "\u25BD",
  bigtriangleup: "\u25B3", xutri: "\u25B3", biguplus: "\u2A04", xuplus: "\u2A04", bkarow: "\u290D", rbarr: "\u290D", blacklozenge: "\u29EB",
  lozf: "\u29EB", blacktriangle: "\u25B4", utrif: "\u25B4", blacktriangledown: "\u25BE", dtrif: "\u25BE", blacktriangleleft: "\u25C2", ltrif: "\
\u25C2", blacktriangleright: "\u25B8", rtrif: "\u25B8", blank: "\u2423", blk12: "\u2592", blk14: "\u2591", blk34: "\u2593", block: "\u2588",
  bne: "=\u20E5", bnequiv: "\u2261\u20E5", bnot: "\u2310", bopf: "\u{1D553}", bowtie: "\u22C8", boxDL: "\u2557", boxDR: "\u2554", boxDl: "\u2556",
  boxDr: "\u2553", boxH: "\u2550", boxHD: "\u2566", boxHU: "\u2569", boxHd: "\u2564", boxHu: "\u2567", boxUL: "\u255D", boxUR: "\u255A", boxUl: "\
\u255C", boxUr: "\u2559", boxV: "\u2551", boxVH: "\u256C", boxVL: "\u2563", boxVR: "\u2560", boxVh: "\u256B", boxVl: "\u2562", boxVr: "\u255F",
  boxbox: "\u29C9", boxdL: "\u2555", boxdR: "\u2552", boxdl: "\u2510", boxdr: "\u250C", boxhD: "\u2565", boxhU: "\u2568", boxhd: "\u252C", boxhu: "\
\u2534", boxminus: "\u229F", minusb: "\u229F", boxplus: "\u229E", plusb: "\u229E", boxtimes: "\u22A0", timesb: "\u22A0", boxuL: "\u255B", boxuR: "\
\u2558", boxul: "\u2518", boxur: "\u2514", boxv: "\u2502", boxvH: "\u256A", boxvL: "\u2561", boxvR: "\u255E", boxvh: "\u253C", boxvl: "\u2524",
  boxvr: "\u251C", brvbar: "\xA6", bscr: "\u{1D4B7}", bsemi: "\u204F", bsol: "\\", bsolb: "\u29C5", bsolhsub: "\u27C8", bull: "\u2022", bullet: "\
\u2022", bumpE: "\u2AAE", cacute: "\u0107", cap: "\u2229", capand: "\u2A44", capbrcup: "\u2A49", capcap: "\u2A4B", capcup: "\u2A47", capdot: "\
\u2A40", caps: "\u2229\uFE00", caret: "\u2041", ccaps: "\u2A4D", ccaron: "\u010D", ccedil: "\xE7", ccirc: "\u0109", ccups: "\u2A4C", ccupssm: "\
\u2A50", cdot: "\u010B", cemptyv: "\u29B2", cent: "\xA2", cfr: "\u{1D520}", chcy: "\u0447", check: "\u2713", checkmark: "\u2713", chi: "\u03C7",
  cir: "\u25CB", cirE: "\u29C3", circ: "\u02C6", circeq: "\u2257", cire: "\u2257", circlearrowleft: "\u21BA", olarr: "\u21BA", circlearrowright: "\
\u21BB", orarr: "\u21BB", circledS: "\u24C8", oS: "\u24C8", circledast: "\u229B", oast: "\u229B", circledcirc: "\u229A", ocir: "\u229A", circleddash: "\
\u229D", odash: "\u229D", cirfnint: "\u2A10", cirmid: "\u2AEF", cirscir: "\u29C2", clubs: "\u2663", clubsuit: "\u2663", colon: ":", comma: "\
,", commat: "@", comp: "\u2201", complement: "\u2201", congdot: "\u2A6D", copf: "\u{1D554}", copysr: "\u2117", crarr: "\u21B5", cross: "\u2717",
  cscr: "\u{1D4B8}", csub: "\u2ACF", csube: "\u2AD1", csup: "\u2AD0", csupe: "\u2AD2", ctdot: "\u22EF", cudarrl: "\u2938", cudarrr: "\u2935",
  cuepr: "\u22DE", curlyeqprec: "\u22DE", cuesc: "\u22DF", curlyeqsucc: "\u22DF", cularr: "\u21B6", curvearrowleft: "\u21B6", cularrp: "\u293D",
  cup: "\u222A", cupbrcap: "\u2A48", cupcap: "\u2A46", cupcup: "\u2A4A", cupdot: "\u228D", cupor: "\u2A45", cups: "\u222A\uFE00", curarr: "\u21B7",
  curvearrowright: "\u21B7", curarrm: "\u293C", curlyvee: "\u22CE", cuvee: "\u22CE", curlywedge: "\u22CF", cuwed: "\u22CF", curren: "\xA4", cwint: "\
\u2231", cylcty: "\u232D", dHar: "\u2965", dagger: "\u2020", daleth: "\u2138", dash: "\u2010", hyphen: "\u2010", dbkarow: "\u290F", rBarr: "\
\u290F", dcaron: "\u010F", dcy: "\u0434", ddarr: "\u21CA", downdownarrows: "\u21CA", ddotseq: "\u2A77", eDDot: "\u2A77", deg: "\xB0", delta: "\
\u03B4", demptyv: "\u29B1", dfisht: "\u297F", dfr: "\u{1D521}", diamondsuit: "\u2666", diams: "\u2666", digamma: "\u03DD", gammad: "\u03DD",
  disin: "\u22F2", div: "\xF7", divide: "\xF7", divideontimes: "\u22C7", divonx: "\u22C7", djcy: "\u0452", dlcorn: "\u231E", llcorner: "\u231E",
  dlcrop: "\u230D", dollar: "$", dopf: "\u{1D555}", doteqdot: "\u2251", eDot: "\u2251", dotminus: "\u2238", minusd: "\u2238", dotplus: "\u2214",
  plusdo: "\u2214", dotsquare: "\u22A1", sdotb: "\u22A1", drcorn: "\u231F", lrcorner: "\u231F", drcrop: "\u230C", dscr: "\u{1D4B9}", dscy: "\
\u0455", dsol: "\u29F6", dstrok: "\u0111", dtdot: "\u22F1", dtri: "\u25BF", triangledown: "\u25BF", dwangle: "\u29A6", dzcy: "\u045F", dzigrarr: "\
\u27FF", eacute: "\xE9", easter: "\u2A6E", ecaron: "\u011B", ecir: "\u2256", eqcirc: "\u2256", ecirc: "\xEA", ecolon: "\u2255", eqcolon: "\u2255",
  ecy: "\u044D", edot: "\u0117", efDot: "\u2252", fallingdotseq: "\u2252", efr: "\u{1D522}", eg: "\u2A9A", egrave: "\xE8", egs: "\u2A96", eqslantgtr: "\
\u2A96", egsdot: "\u2A98", el: "\u2A99", elinters: "\u23E7", ell: "\u2113", els: "\u2A95", eqslantless: "\u2A95", elsdot: "\u2A97", emacr: "\
\u0113", empty: "\u2205", emptyset: "\u2205", emptyv: "\u2205", varnothing: "\u2205", emsp13: "\u2004", emsp14: "\u2005", emsp: "\u2003", eng: "\
\u014B", ensp: "\u2002", eogon: "\u0119", eopf: "\u{1D556}", epar: "\u22D5", eparsl: "\u29E3", eplus: "\u2A71", epsi: "\u03B5", epsilon: "\u03B5",
  epsiv: "\u03F5", straightepsilon: "\u03F5", varepsilon: "\u03F5", equals: "=", equest: "\u225F", questeq: "\u225F", equivDD: "\u2A78", eqvparsl: "\
\u29E5", erDot: "\u2253", risingdotseq: "\u2253", erarr: "\u2971", escr: "\u212F", eta: "\u03B7", eth: "\xF0", euml: "\xEB", euro: "\u20AC",
  excl: "!", fcy: "\u0444", female: "\u2640", ffilig: "\uFB03", fflig: "\uFB00", ffllig: "\uFB04", ffr: "\u{1D523}", filig: "\uFB01", fjlig: "\
fj", flat: "\u266D", fllig: "\uFB02", fltns: "\u25B1", fnof: "\u0192", fopf: "\u{1D557}", fork: "\u22D4", pitchfork: "\u22D4", forkv: "\u2AD9",
  fpartint: "\u2A0D", frac12: "\xBD", half: "\xBD", frac13: "\u2153", frac14: "\xBC", frac15: "\u2155", frac16: "\u2159", frac18: "\u215B", frac23: "\
\u2154", frac25: "\u2156", frac34: "\xBE", frac35: "\u2157", frac38: "\u215C", frac45: "\u2158", frac56: "\u215A", frac58: "\u215D", frac78: "\
\u215E", frasl: "\u2044", frown: "\u2322", sfrown: "\u2322", fscr: "\u{1D4BB}", gEl: "\u2A8C", gtreqqless: "\u2A8C", gacute: "\u01F5", gamma: "\
\u03B3", gap: "\u2A86", gtrapprox: "\u2A86", gbreve: "\u011F", gcirc: "\u011D", gcy: "\u0433", gdot: "\u0121", gescc: "\u2AA9", gesdot: "\u2A80",
  gesdoto: "\u2A82", gesdotol: "\u2A84", gesl: "\u22DB\uFE00", gesles: "\u2A94", gfr: "\u{1D524}", gimel: "\u2137", gjcy: "\u0453", glE: "\u2A92",
  gla: "\u2AA5", glj: "\u2AA4", gnE: "\u2269", gneqq: "\u2269", gnap: "\u2A8A", gnapprox: "\u2A8A", gne: "\u2A88", gneq: "\u2A88", gnsim: "\u22E7",
  gopf: "\u{1D558}", gscr: "\u210A", gsime: "\u2A8E", gsiml: "\u2A90", gtcc: "\u2AA7", gtcir: "\u2A7A", gtdot: "\u22D7", gtrdot: "\u22D7", gtlPar: "\
\u2995", gtquest: "\u2A7C", gtrarr: "\u2978", gvertneqq: "\u2269\uFE00", gvnE: "\u2269\uFE00", hardcy: "\u044A", harrcir: "\u2948", harrw: "\
\u21AD", leftrightsquigarrow: "\u21AD", hbar: "\u210F", hslash: "\u210F", planck: "\u210F", plankv: "\u210F", hcirc: "\u0125", hearts: "\u2665",
  heartsuit: "\u2665", hellip: "\u2026", mldr: "\u2026", hercon: "\u22B9", hfr: "\u{1D525}", hksearow: "\u2925", searhk: "\u2925", hkswarow: "\
\u2926", swarhk: "\u2926", hoarr: "\u21FF", homtht: "\u223B", hookleftarrow: "\u21A9", larrhk: "\u21A9", hookrightarrow: "\u21AA", rarrhk: "\
\u21AA", hopf: "\u{1D559}", horbar: "\u2015", hscr: "\u{1D4BD}", hstrok: "\u0127", hybull: "\u2043", iacute: "\xED", icirc: "\xEE", icy: "\u0438",
  iecy: "\u0435", iexcl: "\xA1", ifr: "\u{1D526}", igrave: "\xEC", iiiint: "\u2A0C", qint: "\u2A0C", iiint: "\u222D", tint: "\u222D", iinfin: "\
\u29DC", iiota: "\u2129", ijlig: "\u0133", imacr: "\u012B", imath: "\u0131", inodot: "\u0131", imof: "\u22B7", imped: "\u01B5", incare: "\u2105",
  infin: "\u221E", infintie: "\u29DD", intcal: "\u22BA", intercal: "\u22BA", intlarhk: "\u2A17", intprod: "\u2A3C", iprod: "\u2A3C", iocy: "\
\u0451", iogon: "\u012F", iopf: "\u{1D55A}", iota: "\u03B9", iquest: "\xBF", iscr: "\u{1D4BE}", isinE: "\u22F9", isindot: "\u22F5", isins: "\
\u22F4", isinsv: "\u22F3", itilde: "\u0129", iukcy: "\u0456", iuml: "\xEF", jcirc: "\u0135", jcy: "\u0439", jfr: "\u{1D527}", jmath: "\u0237",
  jopf: "\u{1D55B}", jscr: "\u{1D4BF}", jsercy: "\u0458", jukcy: "\u0454", kappa: "\u03BA", kappav: "\u03F0", varkappa: "\u03F0", kcedil: "\u0137",
  kcy: "\u043A", kfr: "\u{1D528}", kgreen: "\u0138", khcy: "\u0445", kjcy: "\u045C", kopf: "\u{1D55C}", kscr: "\u{1D4C0}", lAtail: "\u291B",
  lBarr: "\u290E", lEg: "\u2A8B", lesseqqgtr: "\u2A8B", lHar: "\u2962", lacute: "\u013A", laemptyv: "\u29B4", lambda: "\u03BB", langd: "\u2991",
  lap: "\u2A85", lessapprox: "\u2A85", laquo: "\xAB", larrbfs: "\u291F", larrfs: "\u291D", larrlp: "\u21AB", looparrowleft: "\u21AB", larrpl: "\
\u2939", larrsim: "\u2973", larrtl: "\u21A2", leftarrowtail: "\u21A2", lat: "\u2AAB", latail: "\u2919", late: "\u2AAD", lates: "\u2AAD\uFE00",
  lbarr: "\u290C", lbbrk: "\u2772", lbrace: "{", lcub: "{", lbrack: "[", lsqb: "[", lbrke: "\u298B", lbrksld: "\u298F", lbrkslu: "\u298D", lcaron: "\
\u013E", lcedil: "\u013C", lcy: "\u043B", ldca: "\u2936", ldrdhar: "\u2967", ldrushar: "\u294B", ldsh: "\u21B2", le: "\u2264", leq: "\u2264",
  leftleftarrows: "\u21C7", llarr: "\u21C7", leftthreetimes: "\u22CB", lthree: "\u22CB", lescc: "\u2AA8", lesdot: "\u2A7F", lesdoto: "\u2A81",
  lesdotor: "\u2A83", lesg: "\u22DA\uFE00", lesges: "\u2A93", lessdot: "\u22D6", ltdot: "\u22D6", lfisht: "\u297C", lfr: "\u{1D529}", lgE: "\
\u2A91", lharul: "\u296A", lhblk: "\u2584", ljcy: "\u0459", llhard: "\u296B", lltri: "\u25FA", lmidot: "\u0140", lmoust: "\u23B0", lmoustache: "\
\u23B0", lnE: "\u2268", lneqq: "\u2268", lnap: "\u2A89", lnapprox: "\u2A89", lne: "\u2A87", lneq: "\u2A87", lnsim: "\u22E6", loang: "\u27EC",
  loarr: "\u21FD", longmapsto: "\u27FC", xmap: "\u27FC", looparrowright: "\u21AC", rarrlp: "\u21AC", lopar: "\u2985", lopf: "\u{1D55D}", loplus: "\
\u2A2D", lotimes: "\u2A34", lowast: "\u2217", loz: "\u25CA", lozenge: "\u25CA", lpar: "(", lparlt: "\u2993", lrhard: "\u296D", lrm: "\u200E",
  lrtri: "\u22BF", lsaquo: "\u2039", lscr: "\u{1D4C1}", lsime: "\u2A8D", lsimg: "\u2A8F", lsquor: "\u201A", sbquo: "\u201A", lstrok: "\u0142",
  ltcc: "\u2AA6", ltcir: "\u2A79", ltimes: "\u22C9", ltlarr: "\u2976", ltquest: "\u2A7B", ltrPar: "\u2996", ltri: "\u25C3", triangleleft: "\u25C3",
  lurdshar: "\u294A", luruhar: "\u2966", lvertneqq: "\u2268\uFE00", lvnE: "\u2268\uFE00", mDDot: "\u223A", macr: "\xAF", strns: "\xAF", male: "\
\u2642", malt: "\u2720", maltese: "\u2720", marker: "\u25AE", mcomma: "\u2A29", mcy: "\u043C", mdash: "\u2014", mfr: "\u{1D52A}", mho: "\u2127",
  micro: "\xB5", midcir: "\u2AF0", minus: "\u2212", minusdu: "\u2A2A", mlcp: "\u2ADB", models: "\u22A7", mopf: "\u{1D55E}", mscr: "\u{1D4C2}",
  mu: "\u03BC", multimap: "\u22B8", mumap: "\u22B8", nGg: "\u22D9\u0338", nGt: "\u226B\u20D2", nLeftarrow: "\u21CD", nlArr: "\u21CD", nLeftrightarrow: "\
\u21CE", nhArr: "\u21CE", nLl: "\u22D8\u0338", nLt: "\u226A\u20D2", nRightarrow: "\u21CF", nrArr: "\u21CF", nVDash: "\u22AF", nVdash: "\u22AE",
  nacute: "\u0144", nang: "\u2220\u20D2", napE: "\u2A70\u0338", napid: "\u224B\u0338", napos: "\u0149", natur: "\u266E", natural: "\u266E", ncap: "\
\u2A43", ncaron: "\u0148", ncedil: "\u0146", ncongdot: "\u2A6D\u0338", ncup: "\u2A42", ncy: "\u043D", ndash: "\u2013", neArr: "\u21D7", nearhk: "\
\u2924", nedot: "\u2250\u0338", nesear: "\u2928", toea: "\u2928", nfr: "\u{1D52B}", nharr: "\u21AE", nleftrightarrow: "\u21AE", nhpar: "\u2AF2",
  nis: "\u22FC", nisd: "\u22FA", njcy: "\u045A", nlE: "\u2266\u0338", nleqq: "\u2266\u0338", nlarr: "\u219A", nleftarrow: "\u219A", nldr: "\u2025",
  nopf: "\u{1D55F}", not: "\xAC", notinE: "\u22F9\u0338", notindot: "\u22F5\u0338", notinvb: "\u22F7", notinvc: "\u22F6", notnivb: "\u22FE",
  notnivc: "\u22FD", nparsl: "\u2AFD\u20E5", npart: "\u2202\u0338", npolint: "\u2A14", nrarr: "\u219B", nrightarrow: "\u219B", nrarrc: "\u2933\u0338",
  nrarrw: "\u219D\u0338", nscr: "\u{1D4C3}", nsub: "\u2284", nsubE: "\u2AC5\u0338", nsubseteqq: "\u2AC5\u0338", nsup: "\u2285", nsupE: "\u2AC6\u0338",
  nsupseteqq: "\u2AC6\u0338", ntilde: "\xF1", nu: "\u03BD", num: "#", numero: "\u2116", numsp: "\u2007", nvDash: "\u22AD", nvHarr: "\u2904",
  nvap: "\u224D\u20D2", nvdash: "\u22AC", nvge: "\u2265\u20D2", nvgt: ">\u20D2", nvinfin: "\u29DE", nvlArr: "\u2902", nvle: "\u2264\u20D2", nvlt: "\
<\u20D2", nvltrie: "\u22B4\u20D2", nvrArr: "\u2903", nvrtrie: "\u22B5\u20D2", nvsim: "\u223C\u20D2", nwArr: "\u21D6", nwarhk: "\u2923", nwnear: "\
\u2927", oacute: "\xF3", ocirc: "\xF4", ocy: "\u043E", odblac: "\u0151", odiv: "\u2A38", odsold: "\u29BC", oelig: "\u0153", ofcir: "\u29BF",
  ofr: "\u{1D52C}", ogon: "\u02DB", ograve: "\xF2", ogt: "\u29C1", ohbar: "\u29B5", olcir: "\u29BE", olcross: "\u29BB", olt: "\u29C0", omacr: "\
\u014D", omega: "\u03C9", omicron: "\u03BF", omid: "\u29B6", oopf: "\u{1D560}", opar: "\u29B7", operp: "\u29B9", or: "\u2228", vee: "\u2228",
  ord: "\u2A5D", order: "\u2134", orderof: "\u2134", oscr: "\u2134", ordf: "\xAA", ordm: "\xBA", origof: "\u22B6", oror: "\u2A56", orslope: "\
\u2A57", orv: "\u2A5B", oslash: "\xF8", osol: "\u2298", otilde: "\xF5", otimesas: "\u2A36", ouml: "\xF6", ovbar: "\u233D", para: "\xB6", parsim: "\
\u2AF3", parsl: "\u2AFD", pcy: "\u043F", percnt: "%", period: ".", permil: "\u2030", pertenk: "\u2031", pfr: "\u{1D52D}", phi: "\u03C6", phiv: "\
\u03D5", straightphi: "\u03D5", varphi: "\u03D5", phone: "\u260E", pi: "\u03C0", piv: "\u03D6", varpi: "\u03D6", planckh: "\u210E", plus: "+",
  plusacir: "\u2A23", pluscir: "\u2A22", plusdu: "\u2A25", pluse: "\u2A72", plussim: "\u2A26", plustwo: "\u2A27", pointint: "\u2A15", popf: "\
\u{1D561}", pound: "\xA3", prE: "\u2AB3", prap: "\u2AB7", precapprox: "\u2AB7", precnapprox: "\u2AB9", prnap: "\u2AB9", precneqq: "\u2AB5", prnE: "\
\u2AB5", precnsim: "\u22E8", prnsim: "\u22E8", prime: "\u2032", profalar: "\u232E", profline: "\u2312", profsurf: "\u2313", prurel: "\u22B0",
  pscr: "\u{1D4C5}", psi: "\u03C8", puncsp: "\u2008", qfr: "\u{1D52E}", qopf: "\u{1D562}", qprime: "\u2057", qscr: "\u{1D4C6}", quatint: "\u2A16",
  quest: "?", rAtail: "\u291C", rHar: "\u2964", race: "\u223D\u0331", racute: "\u0155", raemptyv: "\u29B3", rangd: "\u2992", range: "\u29A5",
  raquo: "\xBB", rarrap: "\u2975", rarrbfs: "\u2920", rarrc: "\u2933", rarrfs: "\u291E", rarrpl: "\u2945", rarrsim: "\u2974", rarrtl: "\u21A3",
  rightarrowtail: "\u21A3", rarrw: "\u219D", rightsquigarrow: "\u219D", ratail: "\u291A", ratio: "\u2236", rbbrk: "\u2773", rbrace: "}", rcub: "\
}", rbrack: "]", rsqb: "]", rbrke: "\u298C", rbrksld: "\u298E", rbrkslu: "\u2990", rcaron: "\u0159", rcedil: "\u0157", rcy: "\u0440", rdca: "\
\u2937", rdldhar: "\u2969", rdsh: "\u21B3", rect: "\u25AD", rfisht: "\u297D", rfr: "\u{1D52F}", rharul: "\u296C", rho: "\u03C1", rhov: "\u03F1",
  varrho: "\u03F1", rightrightarrows: "\u21C9", rrarr: "\u21C9", rightthreetimes: "\u22CC", rthree: "\u22CC", ring: "\u02DA", rlm: "\u200F",
  rmoust: "\u23B1", rmoustache: "\u23B1", rnmid: "\u2AEE", roang: "\u27ED", roarr: "\u21FE", ropar: "\u2986", ropf: "\u{1D563}", roplus: "\u2A2E",
  rotimes: "\u2A35", rpar: ")", rpargt: "\u2994", rppolint: "\u2A12", rsaquo: "\u203A", rscr: "\u{1D4C7}", rtimes: "\u22CA", rtri: "\u25B9",
  triangleright: "\u25B9", rtriltri: "\u29CE", ruluhar: "\u2968", rx: "\u211E", sacute: "\u015B", scE: "\u2AB4", scap: "\u2AB8", succapprox: "\
\u2AB8", scaron: "\u0161", scedil: "\u015F", scirc: "\u015D", scnE: "\u2AB6", succneqq: "\u2AB6", scnap: "\u2ABA", succnapprox: "\u2ABA", scnsim: "\
\u22E9", succnsim: "\u22E9", scpolint: "\u2A13", scy: "\u0441", sdot: "\u22C5", sdote: "\u2A66", seArr: "\u21D8", sect: "\xA7", semi: ";", seswar: "\
\u2929", tosa: "\u2929", sext: "\u2736", sfr: "\u{1D530}", sharp: "\u266F", shchcy: "\u0449", shcy: "\u0448", shy: "\xAD", sigma: "\u03C3", sigmaf: "\
\u03C2", sigmav: "\u03C2", varsigma: "\u03C2", simdot: "\u2A6A", simg: "\u2A9E", simgE: "\u2AA0", siml: "\u2A9D", simlE: "\u2A9F", simne: "\u2246",
  simplus: "\u2A24", simrarr: "\u2972", smashp: "\u2A33", smeparsl: "\u29E4", smile: "\u2323", ssmile: "\u2323", smt: "\u2AAA", smte: "\u2AAC",
  smtes: "\u2AAC\uFE00", softcy: "\u044C", sol: "/", solb: "\u29C4", solbar: "\u233F", sopf: "\u{1D564}", spades: "\u2660", spadesuit: "\u2660",
  sqcaps: "\u2293\uFE00", sqcups: "\u2294\uFE00", sscr: "\u{1D4C8}", star: "\u2606", sub: "\u2282", subset: "\u2282", subE: "\u2AC5", subseteqq: "\
\u2AC5", subdot: "\u2ABD", subedot: "\u2AC3", submult: "\u2AC1", subnE: "\u2ACB", subsetneqq: "\u2ACB", subne: "\u228A", subsetneq: "\u228A",
  subplus: "\u2ABF", subrarr: "\u2979", subsim: "\u2AC7", subsub: "\u2AD5", subsup: "\u2AD3", sung: "\u266A", sup1: "\xB9", sup2: "\xB2", sup3: "\
\xB3", supE: "\u2AC6", supseteqq: "\u2AC6", supdot: "\u2ABE", supdsub: "\u2AD8", supedot: "\u2AC4", suphsol: "\u27C9", suphsub: "\u2AD7", suplarr: "\
\u297B", supmult: "\u2AC2", supnE: "\u2ACC", supsetneqq: "\u2ACC", supne: "\u228B", supsetneq: "\u228B", supplus: "\u2AC0", supsim: "\u2AC8",
  supsub: "\u2AD4", supsup: "\u2AD6", swArr: "\u21D9", swnwar: "\u292A", szlig: "\xDF", target: "\u2316", tau: "\u03C4", tcaron: "\u0165", tcedil: "\
\u0163", tcy: "\u0442", telrec: "\u2315", tfr: "\u{1D531}", theta: "\u03B8", thetasym: "\u03D1", thetav: "\u03D1", vartheta: "\u03D1", thorn: "\
\xFE", times: "\xD7", timesbar: "\u2A31", timesd: "\u2A30", topbot: "\u2336", topcir: "\u2AF1", topf: "\u{1D565}", topfork: "\u2ADA", tprime: "\
\u2034", triangle: "\u25B5", utri: "\u25B5", triangleq: "\u225C", trie: "\u225C", tridot: "\u25EC", triminus: "\u2A3A", triplus: "\u2A39", trisb: "\
\u29CD", tritime: "\u2A3B", trpezium: "\u23E2", tscr: "\u{1D4C9}", tscy: "\u0446", tshcy: "\u045B", tstrok: "\u0167", uHar: "\u2963", uacute: "\
\xFA", ubrcy: "\u045E", ubreve: "\u016D", ucirc: "\xFB", ucy: "\u0443", udblac: "\u0171", ufisht: "\u297E", ufr: "\u{1D532}", ugrave: "\xF9",
  uhblk: "\u2580", ulcorn: "\u231C", ulcorner: "\u231C", ulcrop: "\u230F", ultri: "\u25F8", umacr: "\u016B", uogon: "\u0173", uopf: "\u{1D566}",
  upsi: "\u03C5", upsilon: "\u03C5", upuparrows: "\u21C8", uuarr: "\u21C8", urcorn: "\u231D", urcorner: "\u231D", urcrop: "\u230E", uring: "\
\u016F", urtri: "\u25F9", uscr: "\u{1D4CA}", utdot: "\u22F0", utilde: "\u0169", uuml: "\xFC", uwangle: "\u29A7", vBar: "\u2AE8", vBarv: "\u2AE9",
  vangrt: "\u299C", varsubsetneq: "\u228A\uFE00", vsubne: "\u228A\uFE00", varsubsetneqq: "\u2ACB\uFE00", vsubnE: "\u2ACB\uFE00", varsupsetneq: "\
\u228B\uFE00", vsupne: "\u228B\uFE00", varsupsetneqq: "\u2ACC\uFE00", vsupnE: "\u2ACC\uFE00", vcy: "\u0432", veebar: "\u22BB", veeeq: "\u225A",
  vellip: "\u22EE", vfr: "\u{1D533}", vopf: "\u{1D567}", vscr: "\u{1D4CB}", vzigzag: "\u299A", wcirc: "\u0175", wedbar: "\u2A5F", wedgeq: "\u2259",
  weierp: "\u2118", wp: "\u2118", wfr: "\u{1D534}", wopf: "\u{1D568}", wscr: "\u{1D4CC}", xfr: "\u{1D535}", xi: "\u03BE", xnis: "\u22FB", xopf: "\
\u{1D569}", xscr: "\u{1D4CD}", yacute: "\xFD", yacy: "\u044F", ycirc: "\u0177", ycy: "\u044B", yen: "\xA5", yfr: "\u{1D536}", yicy: "\u0457",
  yopf: "\u{1D56A}", yscr: "\u{1D4CE}", yucy: "\u044E", yuml: "\xFF", zacute: "\u017A", zcaron: "\u017E", zcy: "\u0437", zdot: "\u017C", zeta: "\
\u03B6", zfr: "\u{1D537}", zhcy: "\u0436", zigrarr: "\u21DD", zopf: "\u{1D56B}", zscr: "\u{1D4CF}", zwj: "\u200D", zwnj: "\u200C" }, Ene = "\
\uE500";
  Mh.ngsp = Ene;
  bne = [/@/, /^\s*$/, /[<>]/, /^[{}]$/, /&(#|[a-z])/i, /^\/\//];
  a(xne, "Bs");
  Rne = (Bi = class {
    static fromArray(t) {
      return t ? (xne("interpolation", t), new Bi(t[0], t[1])) : rI;
    }
    constructor(t, r) {
      this.start = t, this.end = r;
    }
  }, a(Bi, "t"), Bi), rI = new Rne("{{", "}}"), ew = (au = class extends JT {
    constructor(t, r, n) {
      super(n, t), this.tokenType = r;
    }
  }, a(au, "ft"), au), Cne = (iu = class {
    constructor(t, r, n) {
      this.tokens = t, this.errors = r, this.nonNormalizedIcuExpressions = n;
    }
  }, a(iu, "Or"), iu);
  a(Dne, "Us");
  Ane = /\r\n?/g;
  a(Nl, "qe");
  a(eT, "Is");
  a(_ne, "co");
  (function(e) {
    e.HEX = "hexadecimal", e.DEC = "decimal";
  })(Bh || (Bh = {}));
  tw = (su = class {
    constructor(t) {
      this.error = t;
    }
  }, a(su, "dt"), su), Tne = (lu = class {
    constructor(t, r, n) {
      this._getTagContentType = r, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._inInterpolation =
      !1, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = n.tokenizeExpansionForms ||
      !1, this._interpolationConfig = n.interpolationConfig || rI, this._leadingTriviaCodePoints = n.leadingTriviaChars && n.leadingTriviaChars.
      map((i) => i.codePointAt(0) || 0), this._canSelfClose = n.canSelfClose || !1, this._allowHtmComponentClosingTags = n.allowHtmComponentClosingTags ||
      !1;
      let o = n.range || { endPos: t.content.length, startPos: 0, startLine: 0, startCol: 0 };
      this._cursor = n.escapedString ? new Nne(t, o) : new nI(t, o), this._preserveLineEndings = n.preserveLineEndings || !1, this._i18nNormalizeLineEndingsInICUs =
      n.i18nNormalizeLineEndingsInICUs || !1, this._tokenizeBlocks = n.tokenizeBlocks ?? !0, this._tokenizeLet = n.tokenizeLet ?? !0;
      try {
        this._cursor.init();
      } catch (i) {
        this.handleError(i);
      }
    }
    _processCarriageReturns(t) {
      return this._preserveLineEndings ? t : t.replace(Ane, `
`);
    }
    tokenize() {
      for (; this._cursor.peek() !== 0; ) {
        let t = this._cursor.clone();
        try {
          if (this._attemptCharCode(60)) if (this._attemptCharCode(33)) this._attemptStr("[CDATA[") ? this._consumeCdata(t) : this._attemptStr(
          "--") ? this._consumeComment(t) : this._attemptStrCaseInsensitive("doctype") ? this._consumeDocType(t) : this._consumeBogusComment(
          t);
          else if (this._attemptCharCode(47)) this._consumeTagClose(t);
          else {
            let r = this._cursor.clone();
            this._attemptCharCode(63) ? (this._cursor = r, this._consumeBogusComment(t)) : this._consumeTagOpen(t);
          }
          else this._tokenizeLet && this._cursor.peek() === 64 && !this._inInterpolation && this._attemptStr("@let") ? this._consumeLetDeclaration(
          t) : this._tokenizeBlocks && this._attemptCharCode(64) ? this._consumeBlockStart(t) : this._tokenizeBlocks && !this._inInterpolation &&
          !this._isInExpansionCase() && !this._isInExpansionForm() && this._attemptCharCode(125) ? this._consumeBlockEnd(t) : this._tokenizeIcu &&
          this._tokenizeExpansionForm() || this._consumeWithInterpolation(5, 8, () => this._isTextEnd(), () => this._isTagStart());
        } catch (r) {
          this.handleError(r);
        }
      }
      this._beginToken(34), this._endToken([]);
    }
    _getBlockName() {
      let t = !1, r = this._cursor.clone();
      return this._attemptCharCodeUntilFn((n) => Fh(n) ? !t : nT(n) ? (t = !0, !1) : !0), this._cursor.getChars(r).trim();
    }
    _consumeBlockStart(t) {
      this._beginToken(25, t);
      let r = this._endToken([this._getBlockName()]);
      if (this._cursor.peek() === 40) if (this._cursor.advance(), this._consumeBlockParameters(), this._attemptCharCodeUntilFn(tt), this._attemptCharCode(
      41)) this._attemptCharCodeUntilFn(tt);
      else {
        r.type = 29;
        return;
      }
      this._attemptCharCode(123) ? (this._beginToken(26), this._endToken([])) : r.type = 29;
    }
    _consumeBlockEnd(t) {
      this._beginToken(27, t), this._endToken([]);
    }
    _consumeBlockParameters() {
      for (this._attemptCharCodeUntilFn(oT); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
        this._beginToken(28);
        let t = this._cursor.clone(), r = null, n = 0;
        for (; this._cursor.peek() !== 59 && this._cursor.peek() !== 0 || r !== null; ) {
          let o = this._cursor.peek();
          if (o === 92) this._cursor.advance();
          else if (o === r) r = null;
          else if (r === null && Z4(o)) r = o;
          else if (o === 40 && r === null) n++;
          else if (o === 41 && r === null) {
            if (n === 0) break;
            n > 0 && n--;
          }
          this._cursor.advance();
        }
        this._endToken([this._cursor.getChars(t)]), this._attemptCharCodeUntilFn(oT);
      }
    }
    _consumeLetDeclaration(t) {
      if (this._beginToken(30, t), Fh(this._cursor.peek())) this._attemptCharCodeUntilFn(tt);
      else {
        let n = this._endToken([this._cursor.getChars(t)]);
        n.type = 33;
        return;
      }
      let r = this._endToken([this._getLetDeclarationName()]);
      if (this._attemptCharCodeUntilFn(tt), !this._attemptCharCode(61)) {
        r.type = 33;
        return;
      }
      this._attemptCharCodeUntilFn((n) => tt(n) && !Dw(n)), this._consumeLetDeclarationValue(), this._cursor.peek() === 59 ? (this._beginToken(
      32), this._endToken([]), this._cursor.advance()) : (r.type = 33, r.sourceSpan = this._cursor.getSpan(t));
    }
    _getLetDeclarationName() {
      let t = this._cursor.clone(), r = !1;
      return this._attemptCharCodeUntilFn((n) => Lh(n) || n === 36 || n === 95 || r && Cw(n) ? (r = !0, !1) : !0), this._cursor.getChars(t).
      trim();
    }
    _consumeLetDeclarationValue() {
      let t = this._cursor.clone();
      for (this._beginToken(31, t); this._cursor.peek() !== 0; ) {
        let r = this._cursor.peek();
        if (r === 59) break;
        Z4(r) && (this._cursor.advance(), this._attemptCharCodeUntilFn((n) => n === 92 ? (this._cursor.advance(), !1) : n === r)), this._cursor.
        advance();
      }
      this._endToken([this._cursor.getChars(t)]);
    }
    _tokenizeExpansionForm() {
      if (this.isExpansionFormStart()) return this._consumeExpansionFormStart(), !0;
      if (Fne(this._cursor.peek()) && this._isInExpansionForm()) return this._consumeExpansionCaseStart(), !0;
      if (this._cursor.peek() === 125) {
        if (this._isInExpansionCase()) return this._consumeExpansionCaseEnd(), !0;
        if (this._isInExpansionForm()) return this._consumeExpansionFormEnd(), !0;
      }
      return !1;
    }
    _beginToken(t, r = this._cursor.clone()) {
      this._currentTokenStart = r, this._currentTokenType = t;
    }
    _endToken(t, r) {
      if (this._currentTokenStart === null) throw new ew("Programming error - attempted to end a token when there was no start to the token",
      this._currentTokenType, this._cursor.getSpan(r));
      if (this._currentTokenType === null) throw new ew("Programming error - attempted to end a token which has no token type", null, this._cursor.
      getSpan(this._currentTokenStart));
      let n = { type: this._currentTokenType, parts: t, sourceSpan: (r ?? this._cursor).getSpan(this._currentTokenStart, this._leadingTriviaCodePoints) };
      return this.tokens.push(n), this._currentTokenStart = null, this._currentTokenType = null, n;
    }
    _createError(t, r) {
      this._isInExpansionForm() && (t += ` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);
      let n = new ew(t, this._currentTokenType, r);
      return this._currentTokenStart = null, this._currentTokenType = null, new tw(n);
    }
    handleError(t) {
      if (t instanceof Aw && (t = this._createError(t.msg, this._cursor.getSpan(t.cursor))), t instanceof tw) this.errors.push(t.error);
      else throw t;
    }
    _attemptCharCode(t) {
      return this._cursor.peek() === t ? (this._cursor.advance(), !0) : !1;
    }
    _attemptCharCodeCaseInsensitive(t) {
      return Lne(this._cursor.peek(), t) ? (this._cursor.advance(), !0) : !1;
    }
    _requireCharCode(t) {
      let r = this._cursor.clone();
      if (!this._attemptCharCode(t)) throw this._createError(Nl(this._cursor.peek()), this._cursor.getSpan(r));
    }
    _attemptStr(t) {
      let r = t.length;
      if (this._cursor.charsLeft() < r) return !1;
      let n = this._cursor.clone();
      for (let o = 0; o < r; o++) if (!this._attemptCharCode(t.charCodeAt(o))) return this._cursor = n, !1;
      return !0;
    }
    _attemptStrCaseInsensitive(t) {
      for (let r = 0; r < t.length; r++) if (!this._attemptCharCodeCaseInsensitive(t.charCodeAt(r))) return !1;
      return !0;
    }
    _requireStr(t) {
      let r = this._cursor.clone();
      if (!this._attemptStr(t)) throw this._createError(Nl(this._cursor.peek()), this._cursor.getSpan(r));
    }
    _requireStrCaseInsensitive(t) {
      let r = this._cursor.clone();
      if (!this._attemptStrCaseInsensitive(t)) throw this._createError(Nl(this._cursor.peek()), this._cursor.getSpan(r));
    }
    _attemptCharCodeUntilFn(t) {
      for (; !t(this._cursor.peek()); ) this._cursor.advance();
    }
    _requireCharCodeUntilFn(t, r) {
      let n = this._cursor.clone();
      if (this._attemptCharCodeUntilFn(t), this._cursor.diff(n) < r) throw this._createError(Nl(this._cursor.peek()), this._cursor.getSpan(n));
    }
    _attemptUntilChar(t) {
      for (; this._cursor.peek() !== t; ) this._cursor.advance();
    }
    _readChar() {
      let t = String.fromCodePoint(this._cursor.peek());
      return this._cursor.advance(), t;
    }
    _consumeEntity(t) {
      this._beginToken(9);
      let r = this._cursor.clone();
      if (this._cursor.advance(), this._attemptCharCode(35)) {
        let n = this._attemptCharCode(120) || this._attemptCharCode(88), o = this._cursor.clone();
        if (this._attemptCharCodeUntilFn(Pne), this._cursor.peek() != 59) {
          this._cursor.advance();
          let s = n ? Bh.HEX : Bh.DEC;
          throw this._createError(_ne(s, this._cursor.getChars(r)), this._cursor.getSpan());
        }
        let i = this._cursor.getChars(o);
        this._cursor.advance();
        try {
          let s = parseInt(i, n ? 16 : 10);
          this._endToken([String.fromCharCode(s), this._cursor.getChars(r)]);
        } catch {
          throw this._createError(eT(this._cursor.getChars(r)), this._cursor.getSpan());
        }
      } else {
        let n = this._cursor.clone();
        if (this._attemptCharCodeUntilFn(kne), this._cursor.peek() != 59) this._beginToken(t, r), this._cursor = n, this._endToken(["&"]);
        else {
          let o = this._cursor.getChars(n);
          this._cursor.advance();
          let i = Mh[o];
          if (!i) throw this._createError(eT(o), this._cursor.getSpan(r));
          this._endToken([i, `&${o};`]);
        }
      }
    }
    _consumeRawText(t, r) {
      this._beginToken(t ? 6 : 7);
      let n = [];
      for (; ; ) {
        let o = this._cursor.clone(), i = r();
        if (this._cursor = o, i) break;
        t && this._cursor.peek() === 38 ? (this._endToken([this._processCarriageReturns(n.join(""))]), n.length = 0, this._consumeEntity(6),
        this._beginToken(6)) : n.push(this._readChar());
      }
      this._endToken([this._processCarriageReturns(n.join(""))]);
    }
    _consumeComment(t) {
      this._beginToken(10, t), this._endToken([]), this._consumeRawText(!1, () => this._attemptStr("-->")), this._beginToken(11), this._requireStr(
      "-->"), this._endToken([]);
    }
    _consumeBogusComment(t) {
      this._beginToken(10, t), this._endToken([]), this._consumeRawText(!1, () => this._cursor.peek() === 62), this._beginToken(11), this._cursor.
      advance(), this._endToken([]);
    }
    _consumeCdata(t) {
      this._beginToken(12, t), this._endToken([]), this._consumeRawText(!1, () => this._attemptStr("]]>")), this._beginToken(13), this._requireStr(
      "]]>"), this._endToken([]);
    }
    _consumeDocType(t) {
      this._beginToken(18, t), this._endToken([]), this._consumeRawText(!1, () => this._cursor.peek() === 62), this._beginToken(19), this._cursor.
      advance(), this._endToken([]);
    }
    _consumePrefixAndName() {
      let t = this._cursor.clone(), r = "";
      for (; this._cursor.peek() !== 58 && !Ine(this._cursor.peek()); ) this._cursor.advance();
      let n;
      this._cursor.peek() === 58 ? (r = this._cursor.getChars(t), this._cursor.advance(), n = this._cursor.clone()) : n = t, this._requireCharCodeUntilFn(
      tT, r === "" ? 0 : 1);
      let o = this._cursor.getChars(n);
      return [r, o];
    }
    _consumeTagOpen(t) {
      let r, n, o, i = [];
      try {
        if (!Lh(this._cursor.peek())) throw this._createError(Nl(this._cursor.peek()), this._cursor.getSpan(t));
        for (o = this._consumeTagOpenStart(t), n = o.parts[0], r = o.parts[1], this._attemptCharCodeUntilFn(tt); this._cursor.peek() !== 47 &&
        this._cursor.peek() !== 62 && this._cursor.peek() !== 60 && this._cursor.peek() !== 0; ) {
          let [l, u] = this._consumeAttributeName();
          if (this._attemptCharCodeUntilFn(tt), this._attemptCharCode(61)) {
            this._attemptCharCodeUntilFn(tt);
            let c = this._consumeAttributeValue();
            i.push({ prefix: l, name: u, value: c });
          } else i.push({ prefix: l, name: u });
          this._attemptCharCodeUntilFn(tt);
        }
        this._consumeTagOpenEnd();
      } catch (l) {
        if (l instanceof tw) {
          o ? o.type = 4 : (this._beginToken(5, t), this._endToken(["<"]));
          return;
        }
        throw l;
      }
      if (this._canSelfClose && this.tokens[this.tokens.length - 1].type === 2) return;
      let s = this._getTagContentType(r, n, this._fullNameStack.length > 0, i);
      this._handleFullNameStackForTagOpen(n, r), s === An.RAW_TEXT ? this._consumeRawTextWithTagClose(n, r, !1) : s === An.ESCAPABLE_RAW_TEXT &&
      this._consumeRawTextWithTagClose(n, r, !0);
    }
    _consumeRawTextWithTagClose(t, r, n) {
      this._consumeRawText(n, () => !this._attemptCharCode(60) || !this._attemptCharCode(47) || (this._attemptCharCodeUntilFn(tt), !this._attemptStrCaseInsensitive(
      t ? `${t}:${r}` : r)) ? !1 : (this._attemptCharCodeUntilFn(tt), this._attemptCharCode(62))), this._beginToken(3), this._requireCharCodeUntilFn(
      (o) => o === 62, 3), this._cursor.advance(), this._endToken([t, r]), this._handleFullNameStackForTagClose(t, r);
    }
    _consumeTagOpenStart(t) {
      this._beginToken(0, t);
      let r = this._consumePrefixAndName();
      return this._endToken(r);
    }
    _consumeAttributeName() {
      let t = this._cursor.peek();
      if (t === 39 || t === 34) throw this._createError(Nl(t), this._cursor.getSpan());
      this._beginToken(14);
      let r = this._consumePrefixAndName();
      return this._endToken(r), r;
    }
    _consumeAttributeValue() {
      let t;
      if (this._cursor.peek() === 39 || this._cursor.peek() === 34) {
        let r = this._cursor.peek();
        this._consumeQuote(r);
        let n = /* @__PURE__ */ a(() => this._cursor.peek() === r, "n");
        t = this._consumeWithInterpolation(16, 17, n, n), this._consumeQuote(r);
      } else {
        let r = /* @__PURE__ */ a(() => tT(this._cursor.peek()), "r");
        t = this._consumeWithInterpolation(16, 17, r, r);
      }
      return t;
    }
    _consumeQuote(t) {
      this._beginToken(15), this._requireCharCode(t), this._endToken([String.fromCodePoint(t)]);
    }
    _consumeTagOpenEnd() {
      let t = this._attemptCharCode(47) ? 2 : 1;
      this._beginToken(t), this._requireCharCode(62), this._endToken([]);
    }
    _consumeTagClose(t) {
      if (this._beginToken(3, t), this._attemptCharCodeUntilFn(tt), this._allowHtmComponentClosingTags && this._attemptCharCode(47)) this._attemptCharCodeUntilFn(
      tt), this._requireCharCode(62), this._endToken([]);
      else {
        let [r, n] = this._consumePrefixAndName();
        this._attemptCharCodeUntilFn(tt), this._requireCharCode(62), this._endToken([r, n]), this._handleFullNameStackForTagClose(r, n);
      }
    }
    _consumeExpansionFormStart() {
      this._beginToken(20), this._requireCharCode(123), this._endToken([]), this._expansionCaseStack.push(20), this._beginToken(7);
      let t = this._readUntil(44), r = this._processCarriageReturns(t);
      if (this._i18nNormalizeLineEndingsInICUs) this._endToken([r]);
      else {
        let o = this._endToken([t]);
        r !== t && this.nonNormalizedIcuExpressions.push(o);
      }
      this._requireCharCode(44), this._attemptCharCodeUntilFn(tt), this._beginToken(7);
      let n = this._readUntil(44);
      this._endToken([n]), this._requireCharCode(44), this._attemptCharCodeUntilFn(tt);
    }
    _consumeExpansionCaseStart() {
      this._beginToken(21);
      let t = this._readUntil(123).trim();
      this._endToken([t]), this._attemptCharCodeUntilFn(tt), this._beginToken(22), this._requireCharCode(123), this._endToken([]), this._attemptCharCodeUntilFn(
      tt), this._expansionCaseStack.push(22);
    }
    _consumeExpansionCaseEnd() {
      this._beginToken(23), this._requireCharCode(125), this._endToken([]), this._attemptCharCodeUntilFn(tt), this._expansionCaseStack.pop();
    }
    _consumeExpansionFormEnd() {
      this._beginToken(24), this._requireCharCode(125), this._endToken([]), this._expansionCaseStack.pop();
    }
    _consumeWithInterpolation(t, r, n, o) {
      this._beginToken(t);
      let i = [];
      for (; !n(); ) {
        let l = this._cursor.clone();
        this._interpolationConfig && this._attemptStr(this._interpolationConfig.start) ? (this._endToken([this._processCarriageReturns(i.join(
        ""))], l), i.length = 0, this._consumeInterpolation(r, l, o), this._beginToken(t)) : this._cursor.peek() === 38 ? (this._endToken([this.
        _processCarriageReturns(i.join(""))]), i.length = 0, this._consumeEntity(t), this._beginToken(t)) : i.push(this._readChar());
      }
      this._inInterpolation = !1;
      let s = this._processCarriageReturns(i.join(""));
      return this._endToken([s]), s;
    }
    _consumeInterpolation(t, r, n) {
      let o = [];
      this._beginToken(t, r), o.push(this._interpolationConfig.start);
      let i = this._cursor.clone(), s = null, l = !1;
      for (; this._cursor.peek() !== 0 && (n === null || !n()); ) {
        let u = this._cursor.clone();
        if (this._isTagStart()) {
          this._cursor = u, o.push(this._getProcessedChars(i, u)), this._endToken(o);
          return;
        }
        if (s === null) if (this._attemptStr(this._interpolationConfig.end)) {
          o.push(this._getProcessedChars(i, u)), o.push(this._interpolationConfig.end), this._endToken(o);
          return;
        } else this._attemptStr("//") && (l = !0);
        let c = this._cursor.peek();
        this._cursor.advance(), c === 92 ? this._cursor.advance() : c === s ? s = null : !l && s === null && Z4(c) && (s = c);
      }
      o.push(this._getProcessedChars(i, this._cursor)), this._endToken(o);
    }
    _getProcessedChars(t, r) {
      return this._processCarriageReturns(r.getChars(t));
    }
    _isTextEnd() {
      return !!(this._isTagStart() || this._cursor.peek() === 0 || this._tokenizeIcu && !this._inInterpolation && (this.isExpansionFormStart() ||
      this._cursor.peek() === 125 && this._isInExpansionCase()) || this._tokenizeBlocks && !this._inInterpolation && !this._isInExpansion() &&
      (this._isBlockStart() || this._cursor.peek() === 64 || this._cursor.peek() === 125));
    }
    _isTagStart() {
      if (this._cursor.peek() === 60) {
        let t = this._cursor.clone();
        t.advance();
        let r = t.peek();
        if (97 <= r && r <= 122 || 65 <= r && r <= 90 || r === 47 || r === 33) return !0;
      }
      return !1;
    }
    _isBlockStart() {
      if (this._tokenizeBlocks && this._cursor.peek() === 64) {
        let t = this._cursor.clone();
        if (t.advance(), nT(t.peek())) return !0;
      }
      return !1;
    }
    _readUntil(t) {
      let r = this._cursor.clone();
      return this._attemptUntilChar(t), this._cursor.getChars(r);
    }
    _isInExpansion() {
      return this._isInExpansionCase() || this._isInExpansionForm();
    }
    _isInExpansionCase() {
      return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === 22;
    }
    _isInExpansionForm() {
      return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === 20;
    }
    isExpansionFormStart() {
      if (this._cursor.peek() !== 123) return !1;
      if (this._interpolationConfig) {
        let t = this._cursor.clone(), r = this._attemptStr(this._interpolationConfig.start);
        return this._cursor = t, !r;
      }
      return !0;
    }
    _handleFullNameStackForTagOpen(t, r) {
      let n = Nh(t, r);
      (this._fullNameStack.length === 0 || this._fullNameStack[this._fullNameStack.length - 1] === n) && this._fullNameStack.push(n);
    }
    _handleFullNameStackForTagClose(t, r) {
      let n = Nh(t, r);
      this._fullNameStack.length !== 0 && this._fullNameStack[this._fullNameStack.length - 1] === n && this._fullNameStack.pop();
    }
  }, a(lu, "$r"), lu);
  a(tt, "b");
  a(tT, "Rs");
  a(Ine, "po");
  a(Pne, "ho");
  a(kne, "mo");
  a(Fne, "fo");
  a(Lne, "go");
  a(rT, "Os");
  a(nT, "$s");
  a(oT, "Ms");
  a(One, "Co");
  nI = ($a = class {
    constructor(t, r) {
      if (t instanceof $a) {
        this.file = t.file, this.input = t.input, this.end = t.end;
        let n = t.state;
        this.state = { peek: n.peek, offset: n.offset, line: n.line, column: n.column };
      } else {
        if (!r) throw new Error("Programming error: the range argument must be provided with a file argument.");
        this.file = t, this.input = t.content, this.end = r.endPos, this.state = { peek: -1, offset: r.startPos, line: r.startLine, column: r.
        startCol };
      }
    }
    clone() {
      return new $a(this);
    }
    peek() {
      return this.state.peek;
    }
    charsLeft() {
      return this.end - this.state.offset;
    }
    diff(t) {
      return this.state.offset - t.state.offset;
    }
    advance() {
      this.advanceState(this.state);
    }
    init() {
      this.updatePeek(this.state);
    }
    getSpan(t, r) {
      t = t || this;
      let n = t;
      if (r) for (; this.diff(t) > 0 && r.indexOf(t.peek()) !== -1; ) n === t && (t = t.clone()), t.advance();
      let o = this.locationFromCursor(t), i = this.locationFromCursor(this), s = n !== t ? this.locationFromCursor(n) : o;
      return new ne(o, i, s);
    }
    getChars(t) {
      return this.input.substring(t.state.offset, this.state.offset);
    }
    charAt(t) {
      return this.input.charCodeAt(t);
    }
    advanceState(t) {
      if (t.offset >= this.end) throw this.state = t, new Aw('Unexpected character "EOF"', this);
      let r = this.charAt(t.offset);
      r === 10 ? (t.line++, t.column = 0) : Dw(r) || t.column++, t.offset++, this.updatePeek(t);
    }
    updatePeek(t) {
      t.peek = t.offset >= this.end ? 0 : this.charAt(t.offset);
    }
    locationFromCursor(t) {
      return new iw(t.file, t.state.offset, t.state.line, t.state.column);
    }
  }, a($a, "t"), $a), Nne = (ja = class extends nI {
    constructor(t, r) {
      t instanceof ja ? (super(t), this.internalState = { ...t.internalState }) : (super(t, r), this.internalState = this.state);
    }
    advance() {
      this.state = this.internalState, super.advance(), this.processEscapeSequence();
    }
    init() {
      super.init(), this.processEscapeSequence();
    }
    clone() {
      return new ja(this);
    }
    getChars(t) {
      let r = t.clone(), n = "";
      for (; r.internalState.offset < this.internalState.offset; ) n += String.fromCodePoint(r.peek()), r.advance();
      return n;
    }
    processEscapeSequence() {
      let t = /* @__PURE__ */ a(() => this.internalState.peek, "e");
      if (t() === 92) if (this.internalState = { ...this.state }, this.advanceState(this.internalState), t() === 110) this.state.peek = 10;
      else if (t() === 114) this.state.peek = 13;
      else if (t() === 118) this.state.peek = 11;
      else if (t() === 116) this.state.peek = 9;
      else if (t() === 98) this.state.peek = 8;
      else if (t() === 102) this.state.peek = 12;
      else if (t() === 117) if (this.advanceState(this.internalState), t() === 123) {
        this.advanceState(this.internalState);
        let r = this.clone(), n = 0;
        for (; t() !== 125; ) this.advanceState(this.internalState), n++;
        this.state.peek = this.decodeHexDigits(r, n);
      } else {
        let r = this.clone();
        this.advanceState(this.internalState), this.advanceState(this.internalState), this.advanceState(this.internalState), this.state.peek =
        this.decodeHexDigits(r, 4);
      }
      else if (t() === 120) {
        this.advanceState(this.internalState);
        let r = this.clone();
        this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 2);
      } else if (z_(t())) {
        let r = "", n = 0, o = this.clone();
        for (; z_(t()) && n < 3; ) o = this.clone(), r += String.fromCodePoint(t()), this.advanceState(this.internalState), n++;
        this.state.peek = parseInt(r, 8), this.internalState = o.internalState;
      } else Dw(this.internalState.peek) ? (this.advanceState(this.internalState), this.state = this.internalState) : this.state.peek = this.
      internalState.peek;
    }
    decodeHexDigits(t, r) {
      let n = this.input.slice(t.internalState.offset, t.internalState.offset + r), o = parseInt(n, 16);
      if (isNaN(o)) throw t.state = t.internalState, new Aw("Invalid hexadecimal escape sequence", t);
      return o;
    }
  }, a(ja, "t"), ja), Aw = (uu = class {
    constructor(t, r) {
      this.msg = t, this.cursor = r;
    }
  }, a(uu, "gt"), uu), Zt = (zi = class extends JT {
    static create(t, r, n) {
      return new zi(t, r, n);
    }
    constructor(t, r, n) {
      super(r, n), this.elementName = t;
    }
  }, a(zi, "t"), zi), Mne = (cu = class {
    constructor(t, r) {
      this.rootNodes = t, this.errors = r;
    }
  }, a(cu, "Vr"), cu), Bne = (pu = class {
    constructor(t) {
      this.getTagDefinition = t;
    }
    parse(t, r, n, o = !1, i) {
      let s = /* @__PURE__ */ a((w) => (v, ...S) => w(v.toLowerCase(), ...S), "a"), l = o ? this.getTagDefinition : s(this.getTagDefinition),
      u = /* @__PURE__ */ a((w) => l(w).getContentType(), "u"), c = o ? i : s(i), p = Dne(t, r, i ? (w, v, S, E) => {
        let y = c(w, v, S, E);
        return y !== void 0 ? y : u(w);
      } : u, n), h = n && n.canSelfClose || !1, m = n && n.allowHtmComponentClosingTags || !1, g = new zne(p.tokens, l, h, m, o);
      return g.build(), new Mne(g.rootNodes, p.errors.concat(g.errors));
    }
  }, a(pu, "tr"), pu), zne = (Hi = class {
    constructor(t, r, n, o, i) {
      this.tokens = t, this.getTagDefinition = r, this.canSelfClose = n, this.allowHtmComponentClosingTags = o, this.isTagNameCaseSensitive =
      i, this._index = -1, this._containerStack = [], this.rootNodes = [], this.errors = [], this._advance();
    }
    build() {
      for (; this._peek.type !== 34; ) this._peek.type === 0 || this._peek.type === 4 ? this._consumeStartTag(this._advance()) : this._peek.
      type === 3 ? (this._closeVoidElement(), this._consumeEndTag(this._advance())) : this._peek.type === 12 ? (this._closeVoidElement(), this.
      _consumeCdata(this._advance())) : this._peek.type === 10 ? (this._closeVoidElement(), this._consumeComment(this._advance())) : this._peek.
      type === 5 || this._peek.type === 7 || this._peek.type === 6 ? (this._closeVoidElement(), this._consumeText(this._advance())) : this._peek.
      type === 20 ? this._consumeExpansion(this._advance()) : this._peek.type === 25 ? (this._closeVoidElement(), this._consumeBlockOpen(this.
      _advance())) : this._peek.type === 27 ? (this._closeVoidElement(), this._consumeBlockClose(this._advance())) : this._peek.type === 29 ?
      (this._closeVoidElement(), this._consumeIncompleteBlock(this._advance())) : this._peek.type === 30 ? (this._closeVoidElement(), this._consumeLet(
      this._advance())) : this._peek.type === 18 ? this._consumeDocType(this._advance()) : this._peek.type === 33 ? (this._closeVoidElement(),
      this._consumeIncompleteLet(this._advance())) : this._advance();
      for (let t of this._containerStack) t instanceof Ol && this.errors.push(Zt.create(t.name, t.sourceSpan, `Unclosed block "${t.name}"`));
    }
    _advance() {
      let t = this._peek;
      return this._index < this.tokens.length - 1 && this._index++, this._peek = this.tokens[this._index], t;
    }
    _advanceIf(t) {
      return this._peek.type === t ? this._advance() : null;
    }
    _consumeCdata(t) {
      let r = this._advance(), n = this._getText(r), o = this._advanceIf(13);
      this._addToParent(new hne(n, new ne(t.sourceSpan.start, (o || r).sourceSpan.end), [r]));
    }
    _consumeComment(t) {
      let r = this._advanceIf(7), n = this._advanceIf(11), o = r != null ? r.parts[0].trim() : null, i = n == null ? t.sourceSpan : new ne(t.
      sourceSpan.start, n.sourceSpan.end, t.sourceSpan.fullStart);
      this._addToParent(new yne(o, i));
    }
    _consumeDocType(t) {
      let r = this._advanceIf(7), n = this._advanceIf(19), o = r != null ? r.parts[0].trim() : null, i = new ne(t.sourceSpan.start, (n || r ||
      t).sourceSpan.end);
      this._addToParent(new wne(o, i));
    }
    _consumeExpansion(t) {
      let r = this._advance(), n = this._advance(), o = [];
      for (; this._peek.type === 21; ) {
        let s = this._parseExpansionCase();
        if (!s) return;
        o.push(s);
      }
      if (this._peek.type !== 24) {
        this.errors.push(Zt.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '}'."));
        return;
      }
      let i = new ne(t.sourceSpan.start, this._peek.sourceSpan.end, t.sourceSpan.fullStart);
      this._addToParent(new mne(r.parts[0], n.parts[0], o, i, r.sourceSpan)), this._advance();
    }
    _parseExpansionCase() {
      let t = this._advance();
      if (this._peek.type !== 22) return this.errors.push(Zt.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '{'.")), null;
      let r = this._advance(), n = this._collectExpansionExpTokens(r);
      if (!n) return null;
      let o = this._advance();
      n.push({ type: 34, parts: [], sourceSpan: o.sourceSpan });
      let i = new Hi(n, this.getTagDefinition, this.canSelfClose, this.allowHtmComponentClosingTags, this.isTagNameCaseSensitive);
      if (i.build(), i.errors.length > 0) return this.errors = this.errors.concat(i.errors), null;
      let s = new ne(t.sourceSpan.start, o.sourceSpan.end, t.sourceSpan.fullStart), l = new ne(r.sourceSpan.start, o.sourceSpan.end, r.sourceSpan.
      fullStart);
      return new gne(t.parts[0], i.rootNodes, s, t.sourceSpan, l);
    }
    _collectExpansionExpTokens(t) {
      let r = [], n = [22];
      for (; ; ) {
        if ((this._peek.type === 20 || this._peek.type === 22) && n.push(this._peek.type), this._peek.type === 23) if (aT(n, 22)) {
          if (n.pop(), n.length === 0) return r;
        } else return this.errors.push(Zt.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
        if (this._peek.type === 24) if (aT(n, 20)) n.pop();
        else return this.errors.push(Zt.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
        if (this._peek.type === 34) return this.errors.push(Zt.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
        r.push(this._advance());
      }
    }
    _getText(t) {
      let r = t.parts[0];
      if (r.length > 0 && r[0] == `
`) {
        let n = this._getClosestParentElement();
        n != null && n.children.length == 0 && this.getTagDefinition(n.name).ignoreFirstLf && (r = r.substring(1));
      }
      return r;
    }
    _consumeText(t) {
      let r = [t], n = t.sourceSpan, o = t.parts[0];
      if (o.length > 0 && o[0] === `
`) {
        let i = this._getContainer();
        i != null && i.children.length === 0 && this.getTagDefinition(i.name).ignoreFirstLf && (o = o.substring(1), r[0] = { type: t.type, sourceSpan: t.
        sourceSpan, parts: [o] });
      }
      for (; this._peek.type === 8 || this._peek.type === 5 || this._peek.type === 9; ) t = this._advance(), r.push(t), t.type === 8 ? o += t.
      parts.join("").replace(/&([^;]+);/g, iT) : t.type === 9 ? o += t.parts[0] : o += t.parts.join("");
      if (o.length > 0) {
        let i = t.sourceSpan;
        this._addToParent(new dne(o, new ne(n.start, i.end, n.fullStart, n.details), r));
      }
    }
    _closeVoidElement() {
      let t = this._getContainer();
      t instanceof Ha && this.getTagDefinition(t.name).isVoid && this._containerStack.pop();
    }
    _consumeStartTag(t) {
      let [r, n] = t.parts, o = [];
      for (; this._peek.type === 14; ) o.push(this._consumeAttr(this._advance()));
      let i = this._getElementFullName(r, n, this._getClosestParentElement()), s = !1;
      if (this._peek.type === 2) {
        this._advance(), s = !0;
        let g = this.getTagDefinition(i);
        this.canSelfClose || g.canSelfClose || Ih(i) !== null || g.isVoid || this.errors.push(Zt.create(i, t.sourceSpan, `Only void, custom \
and foreign elements can be self closed "${t.parts[1]}"`));
      } else this._peek.type === 1 && (this._advance(), s = !1);
      let l = this._peek.sourceSpan.fullStart, u = new ne(t.sourceSpan.start, l, t.sourceSpan.fullStart), c = new ne(t.sourceSpan.start, l, t.
      sourceSpan.fullStart), p = new ne(t.sourceSpan.start.moveBy(1), t.sourceSpan.end), h = new Ha(i, o, [], u, c, void 0, p), m = this._getContainer();
      this._pushContainer(h, m instanceof Ha && this.getTagDefinition(m.name).isClosedByChild(h.name)), s ? this._popContainer(i, Ha, u) : t.
      type === 4 && (this._popContainer(i, Ha, null), this.errors.push(Zt.create(i, u, `Opening tag "${i}" not terminated.`)));
    }
    _pushContainer(t, r) {
      r && this._containerStack.pop(), this._addToParent(t), this._containerStack.push(t);
    }
    _consumeEndTag(t) {
      let r = this.allowHtmComponentClosingTags && t.parts.length === 0 ? null : this._getElementFullName(t.parts[0], t.parts[1], this._getClosestParentElement());
      if (r && this.getTagDefinition(r).isVoid) this.errors.push(Zt.create(r, t.sourceSpan, `Void elements do not have end tags "${t.parts[1]}\
"`));
      else if (!this._popContainer(r, Ha, t.sourceSpan)) {
        let n = `Unexpected closing tag "${r}". It may happen when the tag has already been closed by another tag. For more info see https:/\
/www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;
        this.errors.push(Zt.create(r, t.sourceSpan, n));
      }
    }
    _popContainer(t, r, n) {
      let o = !1;
      for (let i = this._containerStack.length - 1; i >= 0; i--) {
        let s = this._containerStack[i];
        if (Ih(s.name) ? s.name === t : (t == null || s.name.toLowerCase() === t.toLowerCase()) && s instanceof r) return s.endSourceSpan = n,
        s.sourceSpan.end = n !== null ? n.end : s.sourceSpan.end, this._containerStack.splice(i, this._containerStack.length - i), !o;
        (s instanceof Ol || s instanceof Ha && !this.getTagDefinition(s.name).closedByParent) && (o = !0);
      }
      return !1;
    }
    _consumeAttr(t) {
      let r = Nh(t.parts[0], t.parts[1]), n = t.sourceSpan.end, o;
      this._peek.type === 15 && (o = this._advance());
      let i = "", s = [], l, u;
      if (this._peek.type === 16) for (l = this._peek.sourceSpan, u = this._peek.sourceSpan.end; this._peek.type === 16 || this._peek.type ===
      17 || this._peek.type === 9; ) {
        let p = this._advance();
        s.push(p), p.type === 17 ? i += p.parts.join("").replace(/&([^;]+);/g, iT) : p.type === 9 ? i += p.parts[0] : i += p.parts.join(""),
        u = n = p.sourceSpan.end;
      }
      this._peek.type === 15 && (u = n = this._advance().sourceSpan.end);
      let c = l && u && new ne(o?.sourceSpan.start ?? l.start, u, o?.sourceSpan.fullStart ?? l.fullStart);
      return new vne(r, i, new ne(t.sourceSpan.start, n, t.sourceSpan.fullStart), t.sourceSpan, c, s.length > 0 ? s : void 0, void 0);
    }
    _consumeBlockOpen(t) {
      let r = [];
      for (; this._peek.type === 28; ) {
        let l = this._advance();
        r.push(new J_(l.parts[0], l.sourceSpan));
      }
      this._peek.type === 26 && this._advance();
      let n = this._peek.sourceSpan.fullStart, o = new ne(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new ne(t.sourceSpan.start, n, t.
      sourceSpan.fullStart), s = new Ol(t.parts[0], r, [], o, t.sourceSpan, i);
      this._pushContainer(s, !1);
    }
    _consumeBlockClose(t) {
      this._popContainer(null, Ol, t.sourceSpan) || this.errors.push(Zt.create(null, t.sourceSpan, 'Unexpected closing block. The block may \
have been closed earlier. If you meant to write the } character, you should use the "&#125;" HTML entity instead.'));
    }
    _consumeIncompleteBlock(t) {
      let r = [];
      for (; this._peek.type === 28; ) {
        let l = this._advance();
        r.push(new J_(l.parts[0], l.sourceSpan));
      }
      let n = this._peek.sourceSpan.fullStart, o = new ne(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new ne(t.sourceSpan.start, n, t.
      sourceSpan.fullStart), s = new Ol(t.parts[0], r, [], o, t.sourceSpan, i);
      this._pushContainer(s, !1), this._popContainer(null, Ol, null), this.errors.push(Zt.create(t.parts[0], o, `Incomplete block "${t.parts[0]}\
". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`));
    }
    _consumeLet(t) {
      let r = t.parts[0], n, o;
      if (this._peek.type !== 31) {
        this.errors.push(Zt.create(t.parts[0], t.sourceSpan, `Invalid @let declaration "${r}". Declaration must have a value.`));
        return;
      } else n = this._advance();
      if (this._peek.type !== 32) {
        this.errors.push(Zt.create(t.parts[0], t.sourceSpan, `Unterminated @let declaration "${r}". Declaration must be terminated with a se\
micolon.`));
        return;
      } else o = this._advance();
      let i = o.sourceSpan.fullStart, s = new ne(t.sourceSpan.start, i, t.sourceSpan.fullStart), l = t.sourceSpan.toString().lastIndexOf(r),
      u = t.sourceSpan.start.moveBy(l), c = new ne(u, t.sourceSpan.end), p = new Z_(r, n.parts[0], s, c, n.sourceSpan);
      this._addToParent(p);
    }
    _consumeIncompleteLet(t) {
      let r = t.parts[0] ?? "", n = r ? ` "${r}"` : "";
      if (r.length > 0) {
        let o = t.sourceSpan.toString().lastIndexOf(r), i = t.sourceSpan.start.moveBy(o), s = new ne(i, t.sourceSpan.end), l = new ne(t.sourceSpan.
        start, t.sourceSpan.start.moveBy(0)), u = new Z_(r, "", t.sourceSpan, s, l);
        this._addToParent(u);
      }
      this.errors.push(Zt.create(t.parts[0], t.sourceSpan, `Incomplete @let declaration${n}. @let declarations must be written as \`@let <nam\
e> = <value>;\``));
    }
    _getContainer() {
      return this._containerStack.length > 0 ? this._containerStack[this._containerStack.length - 1] : null;
    }
    _getClosestParentElement() {
      for (let t = this._containerStack.length - 1; t > -1; t--) if (this._containerStack[t] instanceof Ha) return this._containerStack[t];
      return null;
    }
    _addToParent(t) {
      let r = this._getContainer();
      r === null ? this.rootNodes.push(t) : r.children.push(t);
    }
    _getElementFullName(t, r, n) {
      if (t === "" && (t = this.getTagDefinition(r).implicitNamespacePrefix || "", t === "" && n != null)) {
        let o = Gh(n.name)[1];
        this.getTagDefinition(o).preventNamespaceInheritance || (t = Ih(n.name));
      }
      return Nh(t, r);
    }
  }, a(Hi, "t"), Hi);
  a(aT, "Ws");
  a(iT, "zs");
  Hne = (fu = class extends Bne {
    constructor() {
      super(sw);
    }
    parse(t, r, n, o = !1, i) {
      return super.parse(t, r, n, o, i);
    }
  }, a(fu, "rr"), fu), rw = null, $ne = /* @__PURE__ */ a(() => (rw || (rw = new Hne()), rw), "So");
  a(sT, "zr");
  a(jne, "_o");
  Vne = jne, of = 3;
  a(Une, "Eo");
  a(Wne, "Ao");
  qne = Wne, Th = { attrs: !0, children: !0, cases: !0, expression: !0 }, lT = /* @__PURE__ */ new Set(["parent"]), Gne = (oo = class {
    constructor(t = {}) {
      for (let r of /* @__PURE__ */ new Set([...lT, ...Object.keys(t)])) this.setProperty(r, t[r]);
    }
    setProperty(t, r) {
      if (this[t] !== r) {
        if (t in Th && (r = r.map((n) => this.createChild(n))), !lT.has(t)) {
          this[t] = r;
          return;
        }
        Object.defineProperty(this, t, { value: r, enumerable: !1, configurable: !0 });
      }
    }
    map(t) {
      let r;
      for (let n in Th) {
        let o = this[n];
        if (o) {
          let i = Yne(o, (s) => s.map(t));
          r !== o && (r || (r = new oo({ parent: this.parent })), r.setProperty(n, i));
        }
      }
      if (r) for (let n in this) n in Th || (r[n] = this[n]);
      return t(r || this);
    }
    walk(t) {
      for (let r in Th) {
        let n = this[r];
        if (n) for (let o = 0; o < n.length; o++) n[o].walk(t);
      }
      t(this);
    }
    createChild(t) {
      let r = t instanceof oo ? t.clone() : new oo(t);
      return r.setProperty("parent", this), r;
    }
    insertChildBefore(t, r) {
      this.children.splice(this.children.indexOf(t), 0, this.createChild(r));
    }
    removeChild(t) {
      this.children.splice(this.children.indexOf(t), 1);
    }
    replaceChild(t, r) {
      this.children[this.children.indexOf(t)] = this.createChild(r);
    }
    clone() {
      return new oo(this);
    }
    get firstChild() {
      var t;
      return (t = this.children) == null ? void 0 : t[0];
    }
    get lastChild() {
      var t;
      return (t = this.children) == null ? void 0 : t[this.children.length - 1];
    }
    get prev() {
      var t, r;
      return (r = (t = this.parent) == null ? void 0 : t.children) == null ? void 0 : r[this.parent.children.indexOf(this) - 1];
    }
    get next() {
      var t, r;
      return (r = (t = this.parent) == null ? void 0 : t.children) == null ? void 0 : r[this.parent.children.indexOf(this) + 1];
    }
    get rawName() {
      return this.hasExplicitNamespace ? this.fullName : this.name;
    }
    get fullName() {
      return this.namespace ? this.namespace + ":" + this.name : this.name;
    }
    get attrMap() {
      return Object.fromEntries(this.attrs.map((t) => [t.fullName, t.value]));
    }
  }, a(oo, "t"), oo);
  a(Yne, "Do");
  Kne = [{ regex: /^(\[if([^\]]*)\]>)(.*?)<!\s*\[endif\]$/su, parse: Qne }, { regex: /^\[if([^\]]*)\]><!$/u, parse: Jne }, { regex: /^<!\s*\[endif\]$/u,
  parse: Zne }];
  a(Xne, "Ks");
  a(Qne, "yo");
  a(Jne, "wo");
  a(Zne, "bo");
  nw = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "autocapitalize", "autofocus", "class", "contenteditable", "dir",
  "draggable", "enterkeyhint", "hidden", "id", "inert", "inputmode", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang",
  "nonce", "popover", "slot", "spellcheck", "style", "tabindex", "title", "translate", "writingsuggestions"])], ["a", /* @__PURE__ */ new Set(
  ["charset", "coords", "download", "href", "hreflang", "name", "ping", "referrerpolicy", "rel", "rev", "shape", "target", "type"])], ["appl\
et", /* @__PURE__ */ new Set(["align", "alt", "archive", "code", "codebase", "height", "hspace", "name", "object", "vspace", "width"])], ["a\
rea", /* @__PURE__ */ new Set(["alt", "coords", "download", "href", "hreflang", "nohref", "ping", "referrerpolicy", "rel", "shape", "target",
  "type"])], ["audio", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "loop", "muted", "preload", "src"])], ["base", /* @__PURE__ */ new Set(
  ["href", "target"])], ["basefont", /* @__PURE__ */ new Set(["color", "face", "size"])], ["blockquote", /* @__PURE__ */ new Set(["cite"])],
  ["body", /* @__PURE__ */ new Set(["alink", "background", "bgcolor", "link", "text", "vlink"])], ["br", /* @__PURE__ */ new Set(["clear"])],
  ["button", /* @__PURE__ */ new Set(["disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "name",
  "popovertarget", "popovertargetaction", "type", "value"])], ["canvas", /* @__PURE__ */ new Set(["height", "width"])], ["caption", /* @__PURE__ */ new Set(
  ["align"])], ["col", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["colgroup", /* @__PURE__ */ new Set(
  ["align", "char", "charoff", "span", "valign", "width"])], ["data", /* @__PURE__ */ new Set(["value"])], ["del", /* @__PURE__ */ new Set([
  "cite", "datetime"])], ["details", /* @__PURE__ */ new Set(["name", "open"])], ["dialog", /* @__PURE__ */ new Set(["open"])], ["dir", /* @__PURE__ */ new Set(
  ["compact"])], ["div", /* @__PURE__ */ new Set(["align"])], ["dl", /* @__PURE__ */ new Set(["compact"])], ["embed", /* @__PURE__ */ new Set(
  ["height", "src", "type", "width"])], ["fieldset", /* @__PURE__ */ new Set(["disabled", "form", "name"])], ["font", /* @__PURE__ */ new Set(
  ["color", "face", "size"])], ["form", /* @__PURE__ */ new Set(["accept", "accept-charset", "action", "autocomplete", "enctype", "method", "\
name", "novalidate", "target"])], ["frame", /* @__PURE__ */ new Set(["frameborder", "longdesc", "marginheight", "marginwidth", "name", "nore\
size", "scrolling", "src"])], ["frameset", /* @__PURE__ */ new Set(["cols", "rows"])], ["h1", /* @__PURE__ */ new Set(["align"])], ["h2", /* @__PURE__ */ new Set(
  ["align"])], ["h3", /* @__PURE__ */ new Set(["align"])], ["h4", /* @__PURE__ */ new Set(["align"])], ["h5", /* @__PURE__ */ new Set(["alig\
n"])], ["h6", /* @__PURE__ */ new Set(["align"])], ["head", /* @__PURE__ */ new Set(["profile"])], ["hr", /* @__PURE__ */ new Set(["align", "\
noshade", "size", "width"])], ["html", /* @__PURE__ */ new Set(["manifest", "version"])], ["iframe", /* @__PURE__ */ new Set(["align", "allo\
w", "allowfullscreen", "allowpaymentrequest", "allowusermedia", "frameborder", "height", "loading", "longdesc", "marginheight", "marginwidth",
  "name", "referrerpolicy", "sandbox", "scrolling", "src", "srcdoc", "width"])], ["img", /* @__PURE__ */ new Set(["align", "alt", "border", "\
crossorigin", "decoding", "fetchpriority", "height", "hspace", "ismap", "loading", "longdesc", "name", "referrerpolicy", "sizes", "src", "sr\
cset", "usemap", "vspace", "width"])], ["input", /* @__PURE__ */ new Set(["accept", "align", "alt", "autocomplete", "checked", "dirname", "d\
isabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "height", "ismap", "list", "max", "maxlength", "\
min", "minlength", "multiple", "name", "pattern", "placeholder", "popovertarget", "popovertargetaction", "readonly", "required", "size", "sr\
c", "step", "type", "usemap", "value", "width"])], ["ins", /* @__PURE__ */ new Set(["cite", "datetime"])], ["isindex", /* @__PURE__ */ new Set(
  ["prompt"])], ["label", /* @__PURE__ */ new Set(["for", "form"])], ["legend", /* @__PURE__ */ new Set(["align"])], ["li", /* @__PURE__ */ new Set(
  ["type", "value"])], ["link", /* @__PURE__ */ new Set(["as", "blocking", "charset", "color", "crossorigin", "disabled", "fetchpriority", "\
href", "hreflang", "imagesizes", "imagesrcset", "integrity", "media", "referrerpolicy", "rel", "rev", "sizes", "target", "type"])], ["map", /* @__PURE__ */ new Set(
  ["name"])], ["menu", /* @__PURE__ */ new Set(["compact"])], ["meta", /* @__PURE__ */ new Set(["charset", "content", "http-equiv", "media",
  "name", "scheme"])], ["meter", /* @__PURE__ */ new Set(["high", "low", "max", "min", "optimum", "value"])], ["object", /* @__PURE__ */ new Set(
  ["align", "archive", "border", "classid", "codebase", "codetype", "data", "declare", "form", "height", "hspace", "name", "standby", "type",
  "typemustmatch", "usemap", "vspace", "width"])], ["ol", /* @__PURE__ */ new Set(["compact", "reversed", "start", "type"])], ["optgroup", /* @__PURE__ */ new Set(
  ["disabled", "label"])], ["option", /* @__PURE__ */ new Set(["disabled", "label", "selected", "value"])], ["output", /* @__PURE__ */ new Set(
  ["for", "form", "name"])], ["p", /* @__PURE__ */ new Set(["align"])], ["param", /* @__PURE__ */ new Set(["name", "type", "value", "valuety\
pe"])], ["pre", /* @__PURE__ */ new Set(["width"])], ["progress", /* @__PURE__ */ new Set(["max", "value"])], ["q", /* @__PURE__ */ new Set(
  ["cite"])], ["script", /* @__PURE__ */ new Set(["async", "blocking", "charset", "crossorigin", "defer", "fetchpriority", "integrity", "lan\
guage", "nomodule", "referrerpolicy", "src", "type"])], ["select", /* @__PURE__ */ new Set(["autocomplete", "disabled", "form", "multiple", "\
name", "required", "size"])], ["slot", /* @__PURE__ */ new Set(["name"])], ["source", /* @__PURE__ */ new Set(["height", "media", "sizes", "\
src", "srcset", "type", "width"])], ["style", /* @__PURE__ */ new Set(["blocking", "media", "type"])], ["table", /* @__PURE__ */ new Set(["a\
lign", "bgcolor", "border", "cellpadding", "cellspacing", "frame", "rules", "summary", "width"])], ["tbody", /* @__PURE__ */ new Set(["align",
  "char", "charoff", "valign"])], ["td", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers",
  "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["template", /* @__PURE__ */ new Set(["shadowrootclonable", "shadowrootdeleg\
atesfocus", "shadowrootmode"])], ["textarea", /* @__PURE__ */ new Set(["autocomplete", "cols", "dirname", "disabled", "form", "maxlength", "\
minlength", "name", "placeholder", "readonly", "required", "rows", "wrap"])], ["tfoot", /* @__PURE__ */ new Set(["align", "char", "charoff",
  "valign"])], ["th", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowra\
p", "rowspan", "scope", "valign", "width"])], ["thead", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["time", /* @__PURE__ */ new Set(
  ["datetime"])], ["tr", /* @__PURE__ */ new Set(["align", "bgcolor", "char", "charoff", "valign"])], ["track", /* @__PURE__ */ new Set(["de\
fault", "kind", "label", "src", "srclang"])], ["ul", /* @__PURE__ */ new Set(["compact", "type"])], ["video", /* @__PURE__ */ new Set(["auto\
play", "controls", "crossorigin", "height", "loop", "muted", "playsinline", "poster", "preload", "src", "width"])]]), eoe = /* @__PURE__ */ new Set(
  ["a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big",
  "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "command", "content", "da\
ta", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "embed", "fieldset", "figcaption", "fig\
ure", "font", "footer", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "ifr\
ame", "image", "img", "input", "ins", "isindex", "kbd", "keygen", "label", "legend", "li", "link", "listing", "main", "map", "mark", "marque\
e", "math", "menu", "menuitem", "meta", "meter", "multicol", "nav", "nextid", "nobr", "noembed", "noframes", "noscript", "object", "ol", "op\
tgroup", "option", "output", "p", "param", "picture", "plaintext", "pre", "progress", "q", "rb", "rbc", "rp", "rt", "rtc", "ruby", "s", "sam\
p", "script", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "sum\
mary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul",
  "var", "video", "wbr", "xmp"]);
  a(toe, "To");
  a(roe, "xo");
  a(noe, "ko");
  a(oI, "Js");
  a(ooe, "Bo");
  a(uT, "Xs");
  a(aI, "Zs");
  a(Yh, "ar");
  iI = { name: "html", normalizeTagName: !0, normalizeAttributeName: !0, allowHtmComponentClosingTags: !0 }, aoe = Yh(iI), ioe = Yh({ name: "\
angular" }), soe = Yh({ name: "vue", isTagNameCaseSensitive: !0, shouldParseAsRawText(e, t, r, n) {
    return e.toLowerCase() !== "html" && !r && (e !== "template" || n.some(({ name: o, value: i }) => o === "lang" && i !== "html" && i !== "" &&
    i !== void 0));
  } }), loe = Yh({ name: "lwc", canSelfClose: !1 }), uoe = { html: ene }, sI = dT;
});

// ../node_modules/prettier/standalone.mjs
function In() {
}
function uI(e, t, r, n, o) {
  for (var i = [], s; t; ) i.push(t), s = t.previousComponent, delete t.previousComponent, t = s;
  i.reverse();
  for (var l = 0, u = i.length, c = 0, p = 0; l < u; l++) {
    var h = i[l];
    if (h.removed) h.value = e.join(n.slice(p, p + h.count)), p += h.count;
    else {
      if (!h.added && o) {
        var m = r.slice(c, c + h.count);
        m = m.map(function(g, w) {
          var v = n[p + w];
          return v.length > g.length ? v : g;
        }), h.value = e.join(m);
      } else h.value = e.join(r.slice(c, c + h.count));
      c += h.count, h.added || (p += h.count);
    }
  }
  return i;
}
function cI(e, t) {
  var r;
  for (r = 0; r < e.length && r < t.length; r++) if (e[r] != t[r]) return e.slice(0, r);
  return e.slice(0, r);
}
function pI(e, t) {
  var r;
  if (!e || !t || e[e.length - 1] != t[t.length - 1]) return "";
  for (r = 0; r < e.length && r < t.length; r++) if (e[e.length - (r + 1)] != t[t.length - (r + 1)]) return e.slice(-r);
  return e.slice(-r);
}
function Lw(e, t, r) {
  if (e.slice(0, t.length) != t) throw Error("string ".concat(JSON.stringify(e), " doesn't start with prefix ").concat(JSON.stringify(t), ";\
 this is a bug"));
  return r + e.slice(t.length);
}
function Ow(e, t, r) {
  if (!t) return e + r;
  if (e.slice(-t.length) != t) throw Error("string ".concat(JSON.stringify(e), " doesn't end with suffix ").concat(JSON.stringify(t), "; thi\
s is a bug"));
  return e.slice(0, -t.length) + r;
}
function yf(e, t) {
  return Lw(e, t, "");
}
function Kh(e, t) {
  return Ow(e, t, "");
}
function fI(e, t) {
  return t.slice(0, Soe(e, t));
}
function Soe(e, t) {
  var r = 0;
  e.length > t.length && (r = e.length - t.length);
  var n = t.length;
  e.length < t.length && (n = e.length);
  var o = Array(n), i = 0;
  o[0] = 0;
  for (var s = 1; s < n; s++) {
    for (t[s] == t[i] ? o[s] = o[i] : o[s] = i; i > 0 && t[s] != t[i]; ) i = o[i];
    t[s] == t[i] && i++;
  }
  i = 0;
  for (var l = r; l < e.length; l++) {
    for (; i > 0 && e[l] != t[i]; ) i = o[i];
    e[l] == t[i] && i++;
  }
  return i;
}
function dI(e, t, r, n) {
  if (t && r) {
    var o = t.value.match(/^\s*/)[0], i = t.value.match(/\s*$/)[0], s = r.value.match(/^\s*/)[0], l = r.value.match(/\s*$/)[0];
    if (e) {
      var u = cI(o, s);
      e.value = Ow(e.value, s, u), t.value = yf(t.value, u), r.value = yf(r.value, u);
    }
    if (n) {
      var c = pI(i, l);
      n.value = Lw(n.value, l, c), t.value = Kh(t.value, c), r.value = Kh(r.value, c);
    }
  } else if (r) e && (r.value = r.value.replace(/^\s*/, "")), n && (n.value = n.value.replace(/^\s*/, ""));
  else if (e && n) {
    var p = n.value.match(/^\s*/)[0], h = t.value.match(/^\s*/)[0], m = t.value.match(/\s*$/)[0], g = cI(p, h);
    t.value = yf(t.value, g);
    var w = pI(yf(p, g), m);
    t.value = Kh(t.value, w), n.value = Lw(n.value, p, w), e.value = Ow(e.value, p, p.slice(0, p.length - w.length));
  } else if (n) {
    var v = n.value.match(/^\s*/)[0], S = t.value.match(/\s*$/)[0], E = fI(S, v);
    t.value = Kh(t.value, E);
  } else if (e) {
    var y = e.value.match(/\s*$/)[0], b = t.value.match(/^\s*/)[0], x = fI(y, b);
    t.value = yf(t.value, x);
  }
}
function Nw(e) {
  "@babel/helpers - typeof";
  return Nw = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
    return typeof t;
  } : function(t) {
    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
  }, Nw(e);
}
function Mw(e, t, r, n, o) {
  t = t || [], r = r || [], n && (e = n(o, e));
  var i;
  for (i = 0; i < t.length; i += 1) if (t[i] === e) return r[i];
  var s;
  if (Object.prototype.toString.call(e) === "[object Array]") {
    for (t.push(e), s = new Array(e.length), r.push(s), i = 0; i < e.length; i += 1) s[i] = Mw(e[i], t, r, n, o);
    return t.pop(), r.pop(), s;
  }
  if (e && e.toJSON && (e = e.toJSON()), Nw(e) === "object" && e !== null) {
    t.push(e), s = {}, r.push(s);
    var l = [], u;
    for (u in e) Object.prototype.hasOwnProperty.call(e, u) && l.push(u);
    for (l.sort(), i = 0; i < l.length; i += 1) u = l[i], s[u] = Mw(e[u], t, r, n, u);
    t.pop(), r.pop();
  } else s = e;
  return s;
}
function Coe(e, t, r) {
  return rm.diff(e, t, r);
}
function Doe(e) {
  let t = e.indexOf("\r");
  return t !== -1 ? e.charAt(t + 1) === `
` ? "crlf" : "cr" : "lf";
}
function Xw(e) {
  switch (e) {
    case "cr":
      return "\r";
    case "crlf":
      return `\r
`;
    default:
      return `
`;
  }
}
function VI(e, t) {
  let r;
  switch (t) {
    case `
`:
      r = /\n/gu;
      break;
    case "\r":
      r = /\r/gu;
      break;
    case `\r
`:
      r = /\r\n/gu;
      break;
    default:
      throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`);
  }
  let n = e.match(r);
  return n ? n.length : 0;
}
function Aoe(e) {
  return am(!1, e, /\r\n?/gu, `
`);
}
function _oe(e) {
  if (typeof e == "string") return Qi;
  if (Array.isArray(e)) return No;
  if (!e) return;
  let { type: t } = e;
  if (UI.has(t)) return t;
}
function Ioe(e) {
  let t = e === null ? "null" : typeof e;
  if (t !== "string" && t !== "object") return `Unexpected doc '${t}', 
Expected it to be 'string' or 'object'.`;
  if (Zi(e)) throw new Error("doc is valid.");
  let r = Object.prototype.toString.call(e);
  if (r !== "[object Object]") return `Unexpected doc '${r}'.`;
  let n = Toe([...UI].map((o) => `'${o}'`));
  return `Unexpected doc.type '${e.type}'.
Expected it to be ${n}.`;
}
function koe(e, t, r, n) {
  let o = [e];
  for (; o.length > 0; ) {
    let i = o.pop();
    if (i === hI) {
      r(o.pop());
      continue;
    }
    r && o.push(i, hI);
    let s = Zi(i);
    if (!s) throw new Bu(i);
    if (t?.(i) !== !1) switch (s) {
      case No:
      case uo: {
        let l = s === No ? i : i.parts;
        for (let u = l.length, c = u - 1; c >= 0; --c) o.push(l[c]);
        break;
      }
      case Fr:
        o.push(i.flatContents, i.breakContents);
        break;
      case vr:
        if (n && i.expandedStates) for (let l = i.expandedStates.length, u = l - 1; u >= 0; --u) o.push(i.expandedStates[u]);
        else o.push(i.contents);
        break;
      case Bo:
      case Mo:
      case Ho:
      case co:
      case $o:
        o.push(i.contents);
        break;
      case Qi:
      case Ji:
      case zo:
      case jo:
      case Ft:
      case en:
        break;
      default:
        throw new Bu(i);
    }
  }
}
function nm(e) {
  return lo(e), { type: Mo, contents: e };
}
function zu(e, t) {
  return lo(t), { type: Bo, contents: t, n: e };
}
function qI(e, t = {}) {
  return lo(e), Jw(t.expandedStates, !0), { type: vr, id: t.id, contents: e, break: !!t.shouldBreak, expandedStates: t.expandedStates };
}
function Foe(e) {
  return zu(Number.NEGATIVE_INFINITY, e);
}
function Loe(e) {
  return zu({ type: "root" }, e);
}
function Ooe(e) {
  return zu(-1, e);
}
function Noe(e, t) {
  return qI(e[0], { ...t, expandedStates: e });
}
function Moe(e) {
  return Jw(e), { type: uo, parts: e };
}
function Boe(e, t = "", r = {}) {
  return lo(e), t !== "" && lo(t), { type: Fr, breakContents: e, flatContents: t, groupId: r.groupId };
}
function zoe(e, t) {
  return lo(e), { type: Ho, contents: e, groupId: t.groupId, negate: t.negate };
}
function Bw(e) {
  return lo(e), { type: $o, contents: e };
}
function XI(e, t) {
  lo(e), Jw(t);
  let r = [];
  for (let n = 0; n < t.length; n++) n !== 0 && r.push(e), r.push(t[n]);
  return r;
}
function QI(e, t, r) {
  lo(e);
  let n = e;
  if (t > 0) {
    for (let o = 0; o < Math.floor(t / r); ++o) n = nm(n);
    n = zu(t % r, n), n = zu(Number.NEGATIVE_INFINITY, n);
  }
  return n;
}
function Voe(e, t) {
  return lo(t), e ? { type: co, label: e, contents: t } : t;
}
function Oo(e) {
  var t;
  if (!e) return "";
  if (Array.isArray(e)) {
    let r = [];
    for (let n of e) if (Array.isArray(n)) r.push(...Oo(n));
    else {
      let o = Oo(n);
      o !== "" && r.push(o);
    }
    return r;
  }
  return e.type === Fr ? { ...e, breakContents: Oo(e.breakContents), flatContents: Oo(e.flatContents) } : e.type === vr ? { ...e, contents: Oo(
  e.contents), expandedStates: (t = e.expandedStates) == null ? void 0 : t.map(Oo) } : e.type === uo ? { type: "fill", parts: e.parts.map(Oo) } :
  e.contents ? { ...e, contents: Oo(e.contents) } : e;
}
function Uoe(e) {
  let t = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ new Set();
  return n(Oo(e));
  function n(i, s, l) {
    var u, c;
    if (typeof i == "string") return JSON.stringify(i);
    if (Array.isArray(i)) {
      let p = i.map(n).filter(Boolean);
      return p.length === 1 ? p[0] : `[${p.join(", ")}]`;
    }
    if (i.type === Ft) {
      let p = ((u = l?.[s + 1]) == null ? void 0 : u.type) === en;
      return i.literal ? p ? "literalline" : "literallineWithoutBreakParent" : i.hard ? p ? "hardline" : "hardlineWithoutBreakParent" : i.soft ?
      "softline" : "line";
    }
    if (i.type === en) return ((c = l?.[s - 1]) == null ? void 0 : c.type) === Ft && l[s - 1].hard ? void 0 : "breakParent";
    if (i.type === zo) return "trim";
    if (i.type === Mo) return "indent(" + n(i.contents) + ")";
    if (i.type === Bo) return i.n === Number.NEGATIVE_INFINITY ? "dedentToRoot(" + n(i.contents) + ")" : i.n < 0 ? "dedent(" + n(i.contents) +
    ")" : i.n.type === "root" ? "markAsRoot(" + n(i.contents) + ")" : "align(" + JSON.stringify(i.n) + ", " + n(i.contents) + ")";
    if (i.type === Fr) return "ifBreak(" + n(i.breakContents) + (i.flatContents ? ", " + n(i.flatContents) : "") + (i.groupId ? (i.flatContents ?
    "" : ', ""') + `, { groupId: ${o(i.groupId)} }` : "") + ")";
    if (i.type === Ho) {
      let p = [];
      i.negate && p.push("negate: true"), i.groupId && p.push(`groupId: ${o(i.groupId)}`);
      let h = p.length > 0 ? `, { ${p.join(", ")} }` : "";
      return `indentIfBreak(${n(i.contents)}${h})`;
    }
    if (i.type === vr) {
      let p = [];
      i.break && i.break !== "propagated" && p.push("shouldBreak: true"), i.id && p.push(`id: ${o(i.id)}`);
      let h = p.length > 0 ? `, { ${p.join(", ")} }` : "";
      return i.expandedStates ? `conditionalGroup([${i.expandedStates.map((m) => n(m)).join(",")}]${h})` : `group(${n(i.contents)}${h})`;
    }
    if (i.type === uo) return `fill([${i.parts.map((p) => n(p)).join(", ")}])`;
    if (i.type === $o) return "lineSuffix(" + n(i.contents) + ")";
    if (i.type === jo) return "lineSuffixBoundary";
    if (i.type === co) return `label(${JSON.stringify(i.label)}, ${n(i.contents)})`;
    throw new Error("Unknown doc type " + i.type);
  }
  function o(i) {
    if (typeof i != "symbol") return JSON.stringify(String(i));
    if (i in t) return t[i];
    let s = i.description || "symbol";
    for (let l = 0; ; l++) {
      let u = s + (l > 0 ? ` #${l}` : "");
      if (!r.has(u)) return r.add(u), t[i] = `Symbol.for(${JSON.stringify(u)})`;
    }
  }
}
function Goe(e) {
  return e === 12288 || e >= 65281 && e <= 65376 || e >= 65504 && e <= 65510;
}
function Yoe(e) {
  return e >= 4352 && e <= 4447 || e === 8986 || e === 8987 || e === 9001 || e === 9002 || e >= 9193 && e <= 9196 || e === 9200 || e === 9203 ||
  e === 9725 || e === 9726 || e === 9748 || e === 9749 || e >= 9776 && e <= 9783 || e >= 9800 && e <= 9811 || e === 9855 || e >= 9866 && e <=
  9871 || e === 9875 || e === 9889 || e === 9898 || e === 9899 || e === 9917 || e === 9918 || e === 9924 || e === 9925 || e === 9934 || e ===
  9940 || e === 9962 || e === 9970 || e === 9971 || e === 9973 || e === 9978 || e === 9981 || e === 9989 || e === 9994 || e === 9995 || e ===
  10024 || e === 10060 || e === 10062 || e >= 10067 && e <= 10069 || e === 10071 || e >= 10133 && e <= 10135 || e === 10160 || e === 10175 ||
  e === 11035 || e === 11036 || e === 11088 || e === 11093 || e >= 11904 && e <= 11929 || e >= 11931 && e <= 12019 || e >= 12032 && e <= 12245 ||
  e >= 12272 && e <= 12287 || e >= 12289 && e <= 12350 || e >= 12353 && e <= 12438 || e >= 12441 && e <= 12543 || e >= 12549 && e <= 12591 ||
  e >= 12593 && e <= 12686 || e >= 12688 && e <= 12773 || e >= 12783 && e <= 12830 || e >= 12832 && e <= 12871 || e >= 12880 && e <= 42124 ||
  e >= 42128 && e <= 42182 || e >= 43360 && e <= 43388 || e >= 44032 && e <= 55203 || e >= 63744 && e <= 64255 || e >= 65040 && e <= 65049 ||
  e >= 65072 && e <= 65106 || e >= 65108 && e <= 65126 || e >= 65128 && e <= 65131 || e >= 94176 && e <= 94180 || e === 94192 || e === 94193 ||
  e >= 94208 && e <= 100343 || e >= 100352 && e <= 101589 || e >= 101631 && e <= 101640 || e >= 110576 && e <= 110579 || e >= 110581 && e <=
  110587 || e === 110589 || e === 110590 || e >= 110592 && e <= 110882 || e === 110898 || e >= 110928 && e <= 110930 || e === 110933 || e >=
  110948 && e <= 110951 || e >= 110960 && e <= 111355 || e >= 119552 && e <= 119638 || e >= 119648 && e <= 119670 || e === 126980 || e === 127183 ||
  e === 127374 || e >= 127377 && e <= 127386 || e >= 127488 && e <= 127490 || e >= 127504 && e <= 127547 || e >= 127552 && e <= 127560 || e ===
  127568 || e === 127569 || e >= 127584 && e <= 127589 || e >= 127744 && e <= 127776 || e >= 127789 && e <= 127797 || e >= 127799 && e <= 127868 ||
  e >= 127870 && e <= 127891 || e >= 127904 && e <= 127946 || e >= 127951 && e <= 127955 || e >= 127968 && e <= 127984 || e === 127988 || e >=
  127992 && e <= 128062 || e === 128064 || e >= 128066 && e <= 128252 || e >= 128255 && e <= 128317 || e >= 128331 && e <= 128334 || e >= 128336 &&
  e <= 128359 || e === 128378 || e === 128405 || e === 128406 || e === 128420 || e >= 128507 && e <= 128591 || e >= 128640 && e <= 128709 ||
  e === 128716 || e >= 128720 && e <= 128722 || e >= 128725 && e <= 128727 || e >= 128732 && e <= 128735 || e === 128747 || e === 128748 || e >=
  128756 && e <= 128764 || e >= 128992 && e <= 129003 || e === 129008 || e >= 129292 && e <= 129338 || e >= 129340 && e <= 129349 || e >= 129351 &&
  e <= 129535 || e >= 129648 && e <= 129660 || e >= 129664 && e <= 129673 || e >= 129679 && e <= 129734 || e >= 129742 && e <= 129756 || e >=
  129759 && e <= 129769 || e >= 129776 && e <= 129784 || e >= 131072 && e <= 196605 || e >= 196608 && e <= 262141;
}
function Qoe(e) {
  if (!e) return 0;
  if (!Xoe.test(e)) return e.length;
  e = e.replace(qoe(), "  ");
  let t = 0;
  for (let r of e) {
    let n = r.codePointAt(0);
    n <= 31 || n >= 127 && n <= 159 || n >= 768 && n <= 879 || (t += Koe(n) ? 1 : 2);
  }
  return t;
}
function lm(e, t) {
  if (typeof e == "string") return t(e);
  let r = /* @__PURE__ */ new Map();
  return n(e);
  function n(i) {
    if (r.has(i)) return r.get(i);
    let s = o(i);
    return r.set(i, s), s;
  }
  function o(i) {
    switch (Zi(i)) {
      case No:
        return t(i.map(n));
      case uo:
        return t({ ...i, parts: i.parts.map(n) });
      case Fr:
        return t({ ...i, breakContents: n(i.breakContents), flatContents: n(i.flatContents) });
      case vr: {
        let { expandedStates: s, contents: l } = i;
        return s ? (s = s.map(n), l = s[0]) : l = n(l), t({ ...i, contents: l, expandedStates: s });
      }
      case Bo:
      case Mo:
      case Ho:
      case co:
      case $o:
        return t({ ...i, contents: n(i.contents) });
      case Qi:
      case Ji:
      case zo:
      case jo:
      case Ft:
      case en:
        return t(i);
      default:
        throw new Bu(i);
    }
  }
}
function t3(e, t, r) {
  let n = r, o = !1;
  function i(s) {
    if (o) return !1;
    let l = t(s);
    l !== void 0 && (o = !0, n = l);
  }
  return a(i, "i"), Qw(e, i), n;
}
function Joe(e) {
  if (e.type === vr && e.break || e.type === Ft && e.hard || e.type === en) return !0;
}
function Zoe(e) {
  return t3(e, Joe, !1);
}
function mI(e) {
  if (e.length > 0) {
    let t = Et(!1, e, -1);
    !t.expandedStates && !t.break && (t.break = "propagated");
  }
  return null;
}
function eae(e) {
  let t = /* @__PURE__ */ new Set(), r = [];
  function n(i) {
    if (i.type === en && mI(r), i.type === vr) {
      if (r.push(i), t.has(i)) return !1;
      t.add(i);
    }
  }
  a(n, "n");
  function o(i) {
    i.type === vr && r.pop().break && mI(r);
  }
  a(o, "u"), Qw(e, n, o, !0);
}
function tae(e) {
  return e.type === Ft && !e.hard ? e.soft ? "" : " " : e.type === Fr ? e.flatContents : e;
}
function rae(e) {
  return lm(e, tae);
}
function gI(e) {
  for (e = [...e]; e.length >= 2 && Et(!1, e, -2).type === Ft && Et(!1, e, -1).type === en; ) e.length -= 2;
  if (e.length > 0) {
    let t = wf(Et(!1, e, -1));
    e[e.length - 1] = t;
  }
  return e;
}
function wf(e) {
  switch (Zi(e)) {
    case Mo:
    case Ho:
    case vr:
    case $o:
    case co: {
      let t = wf(e.contents);
      return { ...e, contents: t };
    }
    case Fr:
      return { ...e, breakContents: wf(e.breakContents), flatContents: wf(e.flatContents) };
    case uo:
      return { ...e, parts: gI(e.parts) };
    case No:
      return gI(e);
    case Qi:
      return e.replace(/[\n\r]*$/u, "");
    case Bo:
    case Ji:
    case zo:
    case jo:
    case Ft:
    case en:
      break;
    default:
      throw new Bu(e);
  }
  return e;
}
function JI(e) {
  return wf(oae(e));
}
function nae(e) {
  switch (Zi(e)) {
    case uo:
      if (e.parts.every((t) => t === "")) return "";
      break;
    case vr:
      if (!e.contents && !e.id && !e.break && !e.expandedStates) return "";
      if (e.contents.type === vr && e.contents.id === e.id && e.contents.break === e.break && e.contents.expandedStates === e.expandedStates)
       return e.contents;
      break;
    case Bo:
    case Mo:
    case Ho:
    case $o:
      if (!e.contents) return "";
      break;
    case Fr:
      if (!e.flatContents && !e.breakContents) return "";
      break;
    case No: {
      let t = [];
      for (let r of e) {
        if (!r) continue;
        let [n, ...o] = Array.isArray(r) ? r : [r];
        typeof n == "string" && typeof Et(!1, t, -1) == "string" ? t[t.length - 1] += n : t.push(n), t.push(...o);
      }
      return t.length === 0 ? "" : t.length === 1 ? t[0] : t;
    }
    case Qi:
    case Ji:
    case zo:
    case jo:
    case Ft:
    case co:
    case en:
      break;
    default:
      throw new Bu(e);
  }
  return e;
}
function oae(e) {
  return lm(e, (t) => nae(t));
}
function aae(e, t = KI) {
  return lm(e, (r) => typeof r == "string" ? XI(t, r.split(`
`)) : r);
}
function iae(e) {
  if (e.type === Ft) return !0;
}
function sae(e) {
  return t3(e, iae, !1);
}
function Jh(e, t) {
  return e.type === co ? { ...e, contents: t(e.contents) } : t(e);
}
function ZI() {
  return { value: "", length: 0, queue: [] };
}
function lae(e, t) {
  return Hw(e, { type: "indent" }, t);
}
function uae(e, t, r) {
  return t === Number.NEGATIVE_INFINITY ? e.root || ZI() : t < 0 ? Hw(e, { type: "dedent" }, r) : t ? t.type === "root" ? { ...e, root: e } :
  Hw(e, { type: typeof t == "string" ? "stringAlign" : "numberAlign", n: t }, r) : e;
}
function Hw(e, t, r) {
  let n = t.type === "dedent" ? e.queue.slice(0, -1) : [...e.queue, t], o = "", i = 0, s = 0, l = 0;
  for (let w of n) switch (w.type) {
    case "indent":
      p(), r.useTabs ? u(1) : c(r.tabWidth);
      break;
    case "stringAlign":
      p(), o += w.n, i += w.n.length;
      break;
    case "numberAlign":
      s += 1, l += w.n;
      break;
    default:
      throw new Error(`Unexpected type '${w.type}'`);
  }
  return m(), { ...e, value: o, length: i, queue: n };
  function u(w) {
    o += "	".repeat(w), i += r.tabWidth * w;
  }
  function c(w) {
    o += " ".repeat(w), i += w;
  }
  function p() {
    r.useTabs ? h() : m();
  }
  function h() {
    s > 0 && u(s), g();
  }
  function m() {
    l > 0 && c(l), g();
  }
  function g() {
    s = 0, l = 0;
  }
}
function $w(e) {
  let t = 0, r = 0, n = e.length;
  e: for (; n--; ) {
    let o = e[n];
    if (o === wu) {
      r++;
      continue;
    }
    for (let i = o.length - 1; i >= 0; i--) {
      let s = o[i];
      if (s === " " || s === "	") t++;
      else {
        e[n] = o.slice(0, i + 1);
        break e;
      }
    }
  }
  if (t > 0 || r > 0) for (e.length = n + 1; r-- > 0; ) e.push(wu);
  return t;
}
function Xh(e, t, r, n, o, i) {
  if (r === Number.POSITIVE_INFINITY) return !0;
  let s = t.length, l = [e], u = [];
  for (; r >= 0; ) {
    if (l.length === 0) {
      if (s === 0) return !0;
      l.push(t[--s]);
      continue;
    }
    let { mode: c, doc: p } = l.pop(), h = Zi(p);
    switch (h) {
      case Qi:
        u.push(p), r -= e3(p);
        break;
      case No:
      case uo: {
        let m = h === No ? p : p.parts, g = p[zw] ?? 0;
        for (let w = m.length - 1; w >= g; w--) l.push({ mode: c, doc: m[w] });
        break;
      }
      case Mo:
      case Bo:
      case Ho:
      case co:
        l.push({ mode: c, doc: p.contents });
        break;
      case zo:
        r += $w(u);
        break;
      case vr: {
        if (i && p.break) return !1;
        let m = p.break ? gr : c, g = p.expandedStates && m === gr ? Et(!1, p.expandedStates, -1) : p.contents;
        l.push({ mode: m, doc: g });
        break;
      }
      case Fr: {
        let m = (p.groupId ? o[p.groupId] || so : c) === gr ? p.breakContents : p.flatContents;
        m && l.push({ mode: c, doc: m });
        break;
      }
      case Ft:
        if (c === gr || p.hard) return !0;
        p.soft || (u.push(" "), r--);
        break;
      case $o:
        n = !0;
        break;
      case jo:
        if (n) return !1;
        break;
    }
  }
  return !1;
}
function um(e, t) {
  let r = {}, n = t.printWidth, o = Xw(t.endOfLine), i = 0, s = [{ ind: ZI(), mode: gr, doc: e }], l = [], u = !1, c = [], p = 0;
  for (eae(e); s.length > 0; ) {
    let { ind: m, mode: g, doc: w } = s.pop();
    switch (Zi(w)) {
      case Qi: {
        let v = o !== `
` ? am(!1, w, `
`, o) : w;
        l.push(v), s.length > 0 && (i += e3(v));
        break;
      }
      case No:
        for (let v = w.length - 1; v >= 0; v--) s.push({ ind: m, mode: g, doc: w[v] });
        break;
      case Ji:
        if (p >= 2) throw new Error("There are too many 'cursor' in doc.");
        l.push(wu), p++;
        break;
      case Mo:
        s.push({ ind: lae(m, t), mode: g, doc: w.contents });
        break;
      case Bo:
        s.push({ ind: uae(m, w.n, t), mode: g, doc: w.contents });
        break;
      case zo:
        i -= $w(l);
        break;
      case vr:
        switch (g) {
          case so:
            if (!u) {
              s.push({ ind: m, mode: w.break ? gr : so, doc: w.contents });
              break;
            }
          case gr: {
            u = !1;
            let v = { ind: m, mode: so, doc: w.contents }, S = n - i, E = c.length > 0;
            if (!w.break && Xh(v, s, S, E, r)) s.push(v);
            else if (w.expandedStates) {
              let y = Et(!1, w.expandedStates, -1);
              if (w.break) {
                s.push({ ind: m, mode: gr, doc: y });
                break;
              } else for (let b = 1; b < w.expandedStates.length + 1; b++) if (b >= w.expandedStates.length) {
                s.push({ ind: m, mode: gr, doc: y });
                break;
              } else {
                let x = w.expandedStates[b], R = { ind: m, mode: so, doc: x };
                if (Xh(R, s, S, E, r)) {
                  s.push(R);
                  break;
                }
              }
            } else s.push({ ind: m, mode: gr, doc: w.contents });
            break;
          }
        }
        w.id && (r[w.id] = Et(!1, s, -1).mode);
        break;
      case uo: {
        let v = n - i, S = w[zw] ?? 0, { parts: E } = w, y = E.length - S;
        if (y === 0) break;
        let b = E[S + 0], x = E[S + 1], R = { ind: m, mode: so, doc: b }, C = { ind: m, mode: gr, doc: b }, D = Xh(R, [], v, c.length > 0, r,
        !0);
        if (y === 1) {
          D ? s.push(R) : s.push(C);
          break;
        }
        let A = { ind: m, mode: so, doc: x }, P = { ind: m, mode: gr, doc: x };
        if (y === 2) {
          D ? s.push(A, R) : s.push(P, C);
          break;
        }
        let k = E[S + 2], M = { ind: m, mode: g, doc: { ...w, [zw]: S + 2 } };
        Xh({ ind: m, mode: so, doc: [b, x, k] }, [], v, c.length > 0, r, !0) ? s.push(M, A, R) : D ? s.push(M, P, R) : s.push(M, P, C);
        break;
      }
      case Fr:
      case Ho: {
        let v = w.groupId ? r[w.groupId] : g;
        if (v === gr) {
          let S = w.type === Fr ? w.breakContents : w.negate ? w.contents : nm(w.contents);
          S && s.push({ ind: m, mode: g, doc: S });
        }
        if (v === so) {
          let S = w.type === Fr ? w.flatContents : w.negate ? nm(w.contents) : w.contents;
          S && s.push({ ind: m, mode: g, doc: S });
        }
        break;
      }
      case $o:
        c.push({ ind: m, mode: g, doc: w.contents });
        break;
      case jo:
        c.length > 0 && s.push({ ind: m, mode: g, doc: Zw });
        break;
      case Ft:
        switch (g) {
          case so:
            if (w.hard) u = !0;
            else {
              w.soft || (l.push(" "), i += 1);
              break;
            }
          case gr:
            if (c.length > 0) {
              s.push({ ind: m, mode: g, doc: w }, ...c.reverse()), c.length = 0;
              break;
            }
            w.literal ? m.root ? (l.push(o, m.root.value), i = m.root.length) : (l.push(o), i = 0) : (i -= $w(l), l.push(o + m.value), i = m.
            length);
            break;
        }
        break;
      case co:
        s.push({ ind: m, mode: g, doc: w.contents });
        break;
      case en:
        break;
      default:
        throw new Bu(w);
    }
    s.length === 0 && c.length > 0 && (s.push(...c.reverse()), c.length = 0);
  }
  let h = l.indexOf(wu);
  if (h !== -1) {
    let m = l.indexOf(wu, h + 1);
    if (m === -1) return { formatted: l.filter((S) => S !== wu).join("") };
    let g = l.slice(0, h).join(""), w = l.slice(h + 1, m).join(""), v = l.slice(m + 1).join("");
    return { formatted: g + w + v, cursorNodeStart: g.length, cursorNodeText: w };
  }
  return { formatted: l.join("") };
}
function cae(e, t, r = 0) {
  let n = 0;
  for (let o = r; o < e.length; ++o) e[o] === "	" ? n = n + t - n % t : n++;
  return n;
}
function dae(e) {
  return e !== null && typeof e == "object";
}
function* cm(e, t) {
  let { getVisitorKeys: r, filter: n = /* @__PURE__ */ a(() => !0, "n") } = t, o = /* @__PURE__ */ a((i) => hae(i) && n(i), "u");
  for (let i of r(e)) {
    let s = e[i];
    if (Array.isArray(s)) for (let l of s) o(l) && (yield l);
    else o(s) && (yield s);
  }
}
function* mae(e, t) {
  let r = [e];
  for (let n = 0; n < r.length; n++) {
    let o = r[n];
    for (let i of cm(o, t)) yield i, r.push(i);
  }
}
function gae(e, t) {
  return cm(e, t).next().done;
}
function Ef(e) {
  return (t, r, n) => {
    let o = !!(n != null && n.backwards);
    if (r === !1) return !1;
    let { length: i } = t, s = r;
    for (; s >= 0 && s < i; ) {
      let l = t.charAt(s);
      if (e instanceof RegExp) {
        if (!e.test(l)) return s;
      } else if (!e.includes(l)) return s;
      o ? s-- : s++;
    }
    return s === -1 || s === i ? s : !1;
  };
}
function yae(e, t, r) {
  let n = !!(r != null && r.backwards);
  if (t === !1) return !1;
  let o = e.charAt(t);
  if (n) {
    if (e.charAt(t - 1) === "\r" && o === `
`) return t - 2;
    if (o === `
` || o === "\r" || o === "\u2028" || o === "\u2029") return t - 1;
  } else {
    if (o === "\r" && e.charAt(t + 1) === `
`) return t + 2;
    if (o === `
` || o === "\r" || o === "\u2028" || o === "\u2029") return t + 1;
  }
  return t;
}
function wae(e, t, r = {}) {
  let n = Wa(e, r.backwards ? t - 1 : t, r), o = Xi(e, n, r);
  return n !== o;
}
function Sae(e) {
  return Array.isArray(e) && e.length > 0;
}
function xae(e) {
  return e ? (t) => e(t, nP) : bae;
}
function Rae(e) {
  let t = e.type || e.kind || "(unknown type)", r = String(e.name || e.id && (typeof e.id == "object" ? e.id.name : e.id) || e.key && (typeof e.
  key == "object" ? e.key.name : e.key) || e.value && (typeof e.value == "object" ? "" : String(e.value)) || e.operator || "");
  return r.length > 20 && (r = r.slice(0, 19) + "\u2026"), t + (r ? " " + r : "");
}
function n3(e, t) {
  (e.comments ?? (e.comments = [])).push(t), t.printed = !1, t.nodeDescription = Rae(e);
}
function Su(e, t) {
  t.leading = !0, t.trailing = !1, n3(e, t);
}
function qi(e, t, r) {
  t.leading = !1, t.trailing = !1, r && (t.marker = r), n3(e, t);
}
function Eu(e, t) {
  t.leading = !1, t.trailing = !0, n3(e, t);
}
function o3(e, t) {
  if (_w.has(e)) return _w.get(e);
  let { printer: { getCommentChildNodes: r, canAttachComment: n, getVisitorKeys: o }, locStart: i, locEnd: s } = t;
  if (!n) return [];
  let l = (r?.(e, t) ?? [...cm(e, { getVisitorKeys: pm(o) })]).flatMap((u) => n(u) ? [u] : o3(u, t));
  return l.sort((u, c) => i(u) - i(c) || s(u) - s(c)), _w.set(e, l), l;
}
function oP(e, t, r, n) {
  let { locStart: o, locEnd: i } = r, s = o(t), l = i(t), u = o3(e, r), c, p, h = 0, m = u.length;
  for (; h < m; ) {
    let g = h + m >> 1, w = u[g], v = o(w), S = i(w);
    if (v <= s && l <= S) return oP(w, t, r, w);
    if (S <= s) {
      c = w, h = g + 1;
      continue;
    }
    if (l <= v) {
      p = w, m = g;
      continue;
    }
    throw new Error("Comment location overlaps with node location");
  }
  if (n?.type === "TemplateLiteral") {
    let { quasis: g } = n, w = Iw(g, t, r);
    c && Iw(g, c, r) !== w && (c = null), p && Iw(g, p, r) !== w && (p = null);
  }
  return { enclosingNode: n, precedingNode: c, followingNode: p };
}
function Cae(e, t) {
  let { comments: r } = e;
  if (delete e.comments, !Eae(r) || !t.printer.canAttachComment) return;
  let n = [], { locStart: o, locEnd: i, printer: { experimentalFeatures: { avoidAstMutation: s = !1 } = {}, handleComments: l = {} }, originalText: u } = t,
  { ownLine: c = Tw, endOfLine: p = Tw, remaining: h = Tw } = l, m = r.map((g, w) => ({ ...oP(e, g, t), comment: g, text: u, options: t, ast: e,
  isLastComment: r.length - 1 === w }));
  for (let [g, w] of m.entries()) {
    let { comment: v, precedingNode: S, enclosingNode: E, followingNode: y, text: b, options: x, ast: R, isLastComment: C } = w;
    if (x.parser === "json" || x.parser === "json5" || x.parser === "jsonc" || x.parser === "__js_expression" || x.parser === "__ts_expressi\
on" || x.parser === "__vue_expression" || x.parser === "__vue_ts_expression") {
      if (o(v) - o(R) <= 0) {
        Su(R, v);
        continue;
      }
      if (i(v) - i(R) >= 0) {
        Eu(R, v);
        continue;
      }
    }
    let D;
    if (s ? D = [w] : (v.enclosingNode = E, v.precedingNode = S, v.followingNode = y, D = [v, b, x, R, C]), Dae(b, x, m, g)) v.placement = "\
ownLine", c(...D) || (y ? Su(y, v) : S ? Eu(S, v) : qi(E || R, v));
    else if (Aae(b, x, m, g)) v.placement = "endOfLine", p(...D) || (S ? Eu(S, v) : y ? Su(y, v) : qi(E || R, v));
    else if (v.placement = "remaining", !h(...D)) if (S && y) {
      let A = n.length;
      A > 0 && n[A - 1].followingNode !== y && vI(n, x), n.push(w);
    } else S ? Eu(S, v) : y ? Su(y, v) : qi(E || R, v);
  }
  if (vI(n, t), !s) for (let g of r) delete g.precedingNode, delete g.enclosingNode, delete g.followingNode;
}
function Dae(e, t, r, n) {
  let { comment: o, precedingNode: i } = r[n], { locStart: s, locEnd: l } = t, u = s(o);
  if (i) for (let c = n - 1; c >= 0; c--) {
    let { comment: p, precedingNode: h } = r[c];
    if (h !== i || !aP(e.slice(l(p), u))) break;
    u = s(p);
  }
  return Ua(e, u, { backwards: !0 });
}
function Aae(e, t, r, n) {
  let { comment: o, followingNode: i } = r[n], { locStart: s, locEnd: l } = t, u = l(o);
  if (i) for (let c = n + 1; c < r.length; c++) {
    let { comment: p, followingNode: h } = r[c];
    if (h !== i || !aP(e.slice(u, s(p)))) break;
    u = l(p);
  }
  return Ua(e, u);
}
function vI(e, t) {
  var r, n;
  let o = e.length;
  if (o === 0) return;
  let { precedingNode: i, followingNode: s } = e[0], l = t.locStart(s), u;
  for (u = o; u > 0; --u) {
    let { comment: c, precedingNode: p, followingNode: h } = e[u - 1];
    Vw.strictEqual(p, i), Vw.strictEqual(h, s);
    let m = t.originalText.slice(t.locEnd(c), l);
    if (((n = (r = t.printer).isGap) == null ? void 0 : n.call(r, m, t)) ?? /^[\s(]*$/u.test(m)) l = t.locStart(c);
    else break;
  }
  for (let [c, { comment: p }] of e.entries()) c < u ? Eu(i, p) : Su(s, p);
  for (let c of [i, s]) c.comments && c.comments.length > 1 && c.comments.sort((p, h) => t.locStart(p) - t.locStart(h));
  e.length = 0;
}
function Iw(e, t, r) {
  let n = r.locStart(t) - 1;
  for (let o = 1; o < e.length; ++o) if (n < r.locStart(e[o])) return o - 1;
  return 0;
}
function _ae(e, t) {
  let r = t - 1;
  r = Wa(e, r, { backwards: !0 }), r = Xi(e, r, { backwards: !0 }), r = Wa(e, r, { backwards: !0 });
  let n = Xi(e, r, { backwards: !0 });
  return r !== n;
}
function iP(e, t) {
  let r = e.node;
  return r.printed = !0, t.printer.printComment(e, t);
}
function Tae(e, t) {
  var r;
  let n = e.node, o = [iP(e, t)], { printer: i, originalText: s, locStart: l, locEnd: u } = t;
  if ((r = i.isBlockComment) != null && r.call(i, n)) {
    let p = Ua(s, u(n)) ? Ua(s, l(n), { backwards: !0 }) ? Ki : YI : " ";
    o.push(p);
  } else o.push(Ki);
  let c = Xi(s, Wa(s, u(n)));
  return c !== !1 && Ua(s, c) && o.push(Ki), o;
}
function Iae(e, t, r) {
  var n;
  let o = e.node, i = iP(e, t), { printer: s, originalText: l, locStart: u } = t, c = (n = s.isBlockComment) == null ? void 0 : n.call(s, o);
  if (r != null && r.hasLineSuffix && !(r != null && r.isBlock) || Ua(l, u(o), { backwards: !0 })) {
    let p = a3(l, u(o));
    return { doc: Bw([Ki, p ? Ki : "", i]), isBlock: c, hasLineSuffix: !0 };
  }
  return !c || r != null && r.hasLineSuffix ? { doc: [Bw([" ", i]), sm], isBlock: c, hasLineSuffix: !0 } : { doc: [" ", i], isBlock: c, hasLineSuffix: !1 };
}
function Pae(e, t) {
  let r = e.node;
  if (!r) return {};
  let n = t[Symbol.for("printedComments")];
  if ((r.comments || []).filter((l) => !n.has(l)).length === 0) return { leading: "", trailing: "" };
  let o = [], i = [], s;
  return e.each(() => {
    let l = e.node;
    if (n != null && n.has(l)) return;
    let { leading: u, trailing: c } = l;
    u ? o.push(Tae(e, t)) : c && (s = Iae(e, t, s), i.push(s.doc));
  }, "comments"), { leading: o, trailing: i };
}
function kae(e, t, r) {
  let { leading: n, trailing: o } = Pae(e, r);
  return !n && !o ? t : Jh(t, (i) => [n, i, o]);
}
function Fae(e) {
  let { [Symbol.for("comments")]: t, [Symbol.for("printedComments")]: r } = e;
  for (let n of t) {
    if (!n.printed && !r.has(n)) throw new Error('Comment "' + n.value.trim() + '" was not printed. Please report this error!');
    delete n.printed;
  }
}
function Lae(e) {
  return () => {
  };
}
function lP({ plugins: e = [], showDeprecated: t = !1 } = {}) {
  let r = e.flatMap((o) => o.languages ?? []), n = [];
  for (let o of Bae(Object.assign({}, ...e.map(({ options: i }) => i), Nae))) !t && o.deprecated || (Array.isArray(o.choices) && (t || (o.choices =
  o.choices.filter((i) => !i.deprecated)), o.name === "parser" && (o.choices = [...o.choices, ...Mae(o.choices, r, e)])), o.pluginDefaults =
  Object.fromEntries(e.filter((i) => {
    var s;
    return ((s = i.defaultOptions) == null ? void 0 : s[o.name]) !== void 0;
  }).map((i) => [i.name, i.defaultOptions[o.name]])), n.push(o));
  return { languages: r, options: n };
}
function* Mae(e, t, r) {
  let n = new Set(e.map((o) => o.value));
  for (let o of t) if (o.parsers) {
    for (let i of o.parsers) if (!n.has(i)) {
      n.add(i);
      let s = r.find((u) => u.parsers && Object.prototype.hasOwnProperty.call(u.parsers, i)), l = o.name;
      s != null && s.name && (l += ` (plugin: ${s.name})`), yield { value: i, description: l };
    }
  }
}
function Bae(e) {
  let t = [];
  for (let [r, n] of Object.entries(e)) {
    let o = { name: r, ...n };
    Array.isArray(o.default) && (o.default = Et(!1, o.default, -1).value), t.push(o);
  }
  return t;
}
function wI(e, t) {
  if (!t) return;
  let r = zae(t).toLowerCase();
  return e.find(({ filenames: n }) => n?.some((o) => o.toLowerCase() === r)) ?? e.find(({ extensions: n }) => n?.some((o) => r.endsWith(o)));
}
function Hae(e, t) {
  if (t) return e.find(({ name: r }) => r.toLowerCase() === t) ?? e.find(({ aliases: r }) => r?.includes(t)) ?? e.find(({ extensions: r }) => r?.
  includes(`.${t}`));
}
function $ae(e, t) {
  let r = e.plugins.flatMap((o) => o.languages ?? []), n = Hae(r, t.language) ?? wI(r, t.physicalFile) ?? wI(r, t.file) ?? (t.physicalFile, void 0);
  return n?.parsers[0];
}
function bI(e, t, r, n) {
  return [`Invalid ${xu.default.red(n.key(e))} value.`, `Expected ${xu.default.blue(r)},`, `but received ${t === uP ? xu.default.gray("nothi\
ng") : xu.default.red(n.value(t))}.`].join(" ");
}
function cP({ text: e, list: t }, r) {
  let n = [];
  return e && n.push(`- ${xu.default.blue(e)}`), t && n.push([`- ${xu.default.blue(t.title)}:`].concat(t.values.map((o) => cP(o, r - EI.length).
  replace(/^|\n/g, `$&${EI}`))).join(`
`)), pP(n, r);
}
function pP(e, t) {
  if (e.length === 1) return e[0];
  let [r, n] = e, [o, i] = e.map((s) => s.split(`
`, 1)[0].length);
  return o > t && o > i ? n : r;
}
function Wae(e, t) {
  if (e === t) return 0;
  let r = e;
  e.length > t.length && (e = t, t = r);
  let n = e.length, o = t.length;
  for (; n > 0 && e.charCodeAt(~-n) === t.charCodeAt(~-o); ) n--, o--;
  let i = 0;
  for (; i < n && e.charCodeAt(i) === t.charCodeAt(i); ) i++;
  if (n -= i, o -= i, n === 0) return o;
  let s, l, u, c, p = 0, h = 0;
  for (; p < n; ) RI[p] = e.charCodeAt(i + p), Pw[p] = ++p;
  for (; h < o; ) for (s = t.charCodeAt(i + h), u = h++, l = h, p = 0; p < n; p++) c = s === RI[p] ? u : u + 1, u = Pw[p], l = Pw[p] = u > l ?
  c > l ? l + 1 : c : c > u ? u + 1 : c;
  return l;
}
function Gae(e, t) {
  let r = new e(t), n = Object.create(r);
  for (let o of qae) o in t && (n[o] = Yae(t[o], r, qa.prototype[o].length));
  return n;
}
function Yae(e, t, r) {
  return typeof e == "function" ? (...n) => e(...n.slice(0, r - 1), t, ...n.slice(r - 1)) : () => e;
}
function CI({ from: e, to: t }) {
  return { from: [e], to: t };
}
function Zae(e, t) {
  let r = /* @__PURE__ */ Object.create(null);
  for (let n of e) {
    let o = n[t];
    if (r[o]) throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);
    r[o] = n;
  }
  return r;
}
function eie(e, t) {
  let r = /* @__PURE__ */ new Map();
  for (let n of e) {
    let o = n[t];
    if (r.has(o)) throw new Error(`Duplicate ${t} ${JSON.stringify(o)}`);
    r.set(o, n);
  }
  return r;
}
function tie() {
  let e = /* @__PURE__ */ Object.create(null);
  return (t) => {
    let r = JSON.stringify(t);
    return e[r] ? !0 : (e[r] = !0, !1);
  };
}
function rie(e, t) {
  let r = [], n = [];
  for (let o of e) t(o) ? r.push(o) : n.push(o);
  return [r, n];
}
function nie(e) {
  return e === Math.floor(e);
}
function oie(e, t) {
  if (e === t) return 0;
  let r = typeof e, n = typeof t, o = ["undefined", "object", "boolean", "number", "string"];
  return r !== n ? o.indexOf(r) - o.indexOf(n) : r !== "string" ? Number(e) - Number(t) : e.localeCompare(t);
}
function aie(e) {
  return (...t) => {
    let r = e(...t);
    return typeof r == "string" ? new Error(r) : r;
  };
}
function DI(e) {
  return e === void 0 ? {} : e;
}
function dP(e) {
  if (typeof e == "string") return { text: e };
  let { text: t, list: r } = e;
  return iie((t || r) !== void 0, "Unexpected `expected` result, there should be at least one field."), r ? { text: t, list: { title: r.title,
  values: r.values.map(dP) } } : { text: t };
}
function AI(e, t) {
  return e === !0 ? !0 : e === !1 ? { value: t } : e;
}
function _I(e, t, r = !1) {
  return e === !1 ? !1 : e === !0 ? r ? !0 : [{ value: t }] : "value" in e ? [e] : e.length === 0 ? !1 : e;
}
function TI(e, t) {
  return typeof e == "string" || "key" in e ? { from: t, to: e } : "from" in e ? { from: e.from, to: e.to } : { from: t, to: e.to };
}
function Uw(e, t) {
  return e === void 0 ? [] : Array.isArray(e) ? e.map((r) => TI(r, t)) : [TI(e, t)];
}
function II(e, t) {
  let r = Uw(typeof e == "object" && "redirect" in e ? e.redirect : e, t);
  return r.length === 0 ? { remain: t, redirect: r } : typeof e == "object" && "remain" in e ? { remain: e.remain, redirect: r } : { redirect: r };
}
function iie(e, t) {
  if (!e) throw new Error(t);
}
function mie(e, t, { logger: r = !1, isCLI: n = !1, passThrough: o = !1, FlagSchema: i, descriptor: s } = {}) {
  if (n) {
    if (!i) throw new Error("'FlagSchema' option is required.");
    if (!s) throw new Error("'descriptor' option is required.");
  } else s = bu;
  let l = o ? Array.isArray(o) ? (m, g) => o.includes(m) ? { [m]: g } : void 0 : (m, g) => ({ [m]: g }) : (m, g, w) => {
    let { _: v, ...S } = w.schemas;
    return fP(m, g, { ...w, schemas: S });
  }, u = gie(t, { isCLI: n, FlagSchema: i }), c = new hie(u, { logger: r, unknown: l, descriptor: s }), p = r !== !1;
  p && kw && (c._hasDeprecationWarned = kw);
  let h = c.normalize(e);
  return p && (kw = c._hasDeprecationWarned), h;
}
function gie(e, { isCLI: t, FlagSchema: r }) {
  let n = [];
  t && n.push(Xae.create({ name: "_" }));
  for (let o of e) n.push(vie(o, { isCLI: t, optionInfos: e, FlagSchema: r })), o.alias && t && n.push(Kae.create({ name: o.alias, sourceName: o.
  name }));
  return n;
}
function vie(e, { isCLI: t, optionInfos: r, FlagSchema: n }) {
  let { name: o } = e, i = { name: o }, s, l = {};
  switch (e.type) {
    case "int":
      s = uie, t && (i.preprocess = Number);
      break;
    case "string":
      s = PI;
      break;
    case "choice":
      s = sie, i.choices = e.choices.map((u) => u != null && u.redirect ? { ...u, redirect: { to: { key: e.name, value: u.redirect } } } : u);
      break;
    case "boolean":
      s = Jae;
      break;
    case "flag":
      s = n, i.flags = r.flatMap((u) => [u.alias, u.description && u.name, u.oppositeDescription && `no-${u.name}`].filter(Boolean));
      break;
    case "path":
      s = PI;
      break;
    default:
      throw new Error(`Unexpected type ${e.type}`);
  }
  if (e.exception ? i.validate = (u, c, p) => e.exception(u) || c.validate(u, p) : i.validate = (u, c, p) => u === void 0 || c.validate(u, p),
  e.redirect && (l.redirect = (u) => u ? { to: typeof e.redirect == "string" ? e.redirect : { key: e.redirect.option, value: e.redirect.value } } :
  void 0), e.deprecated && (l.deprecated = !0), t && !e.array) {
    let u = i.preprocess || ((c) => c);
    i.preprocess = (c, p, h) => p.preprocess(u(Array.isArray(c) ? Et(!1, c, -1) : c), h);
  }
  return e.array ? Qae.create({ ...t ? { preprocess: /* @__PURE__ */ a((u) => Array.isArray(u) ? u : [u], "preprocess") } : {}, ...l, valueSchema: s.
  create(i) }) : s.create({ ...i, ...l });
}
function mP(e, t) {
  if (!t) throw new Error("parserName is required.");
  let r = hP(!1, e, (o) => o.parsers && Object.prototype.hasOwnProperty.call(o.parsers, t));
  if (r) return r;
  let n = `Couldn't resolve parser "${t}".`;
  throw n += " Plugins must be explicitly added to the standalone bundle.", new sP(n);
}
function Sie(e, t) {
  if (!t) throw new Error("astFormat is required.");
  let r = hP(!1, e, (o) => o.printers && Object.prototype.hasOwnProperty.call(o.printers, t));
  if (r) return r;
  let n = `Couldn't find plugin for AST format "${t}".`;
  throw n += " Plugins must be explicitly added to the standalone bundle.", new sP(n);
}
function gP({ plugins: e, parser: t }) {
  let r = mP(e, t);
  return vP(r, t);
}
function vP(e, t) {
  let r = e.parsers[t];
  return typeof r == "function" ? r() : r;
}
function Eie(e, t) {
  let r = e.printers[t];
  return typeof r == "function" ? r() : r;
}
async function bie(e, t = {}) {
  var r;
  let n = { ...e };
  if (!n.parser) if (n.filepath) {
    if (n.parser = jae(n, { physicalFile: n.filepath }), !n.parser) throw new yI(`No parser could be inferred for file "${n.filepath}".`);
  } else throw new yI("No parser and no file path given, couldn't infer a parser.");
  let o = lP({ plugins: e.plugins, showDeprecated: !0 }).options, i = { ...kI, ...Object.fromEntries(o.filter((m) => m.default !== void 0).map(
  (m) => [m.name, m.default])) }, s = mP(n.plugins, n.parser), l = await vP(s, n.parser);
  n.astFormat = l.astFormat, n.locEnd = l.locEnd, n.locStart = l.locStart;
  let u = (r = s.printers) != null && r[l.astFormat] ? s : Sie(n.plugins, l.astFormat), c = await Eie(u, l.astFormat);
  n.printer = c;
  let p = u.defaultOptions ? Object.fromEntries(Object.entries(u.defaultOptions).filter(([, m]) => m !== void 0)) : {}, h = { ...i, ...p };
  for (let [m, g] of Object.entries(h)) (n[m] === null || n[m] === void 0) && (n[m] = g);
  return n.parser === "json" && (n.trailingComma = "none"), yie(n, o, { passThrough: Object.keys(kI), ...t });
}
async function Rie(e, t) {
  let r = await gP(t), n = r.preprocess ? r.preprocess(e, t) : e;
  t.originalText = n;
  let o;
  try {
    o = await r.parse(n, t, t);
  } catch (i) {
    Cie(i, e);
  }
  return { text: n, ast: o };
}
function Cie(e, t) {
  let { loc: r } = e;
  if (r) {
    let n = (0, xie.codeFrameColumns)(t, r, { highlightCode: !0 });
    throw e.message += `
` + n, e.codeFrame = n, e;
  }
  throw e;
}
async function Die(e, t, r, n, o) {
  let { embeddedLanguageFormatting: i, printer: { embed: s, hasPrettierIgnore: l = /* @__PURE__ */ a(() => !1, "s"), getVisitorKeys: u } } = r;
  if (!s || i !== "auto") return;
  if (s.length > 2) throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See h\
ttps://prettier.io/docs/en/plugins.html#optional-embed");
  let c = pm(s.getVisitorKeys ?? u), p = [];
  g();
  let h = e.stack;
  for (let { print: w, node: v, pathStack: S } of p) try {
    e.stack = S;
    let E = await w(m, t, e, r);
    E && o.set(v, E);
  } catch (E) {
    if (globalThis.PRETTIER_DEBUG) throw E;
  }
  e.stack = h;
  function m(w, v) {
    return Aie(w, v, r, n);
  }
  a(m, "f");
  function g() {
    let { node: w } = e;
    if (w === null || typeof w != "object" || l(e)) return;
    for (let S of c(w)) Array.isArray(w[S]) ? e.each(g, S) : e.call(g, S);
    let v = s(e, r);
    if (v) {
      if (typeof v == "function") {
        p.push({ print: v, node: w, pathStack: [...e.stack] });
        return;
      }
      o.set(w, v);
    }
  }
  a(g, "d");
}
async function Aie(e, t, r, n) {
  let o = await Hu({ ...r, ...t, parentParser: r.parser, originalText: e }, { passThrough: !0 }), { ast: i } = await bf(e, o), s = await n(i,
  o);
  return JI(s);
}
function _ie(e, t) {
  let { originalText: r, [Symbol.for("comments")]: n, locStart: o, locEnd: i, [Symbol.for("printedComments")]: s } = t, { node: l } = e, u = o(
  l), c = i(l);
  for (let p of n) o(p) >= u && i(p) <= c && s.add(p);
  return r.slice(u, c);
}
async function fm(e, t) {
  ({ ast: e } = await yP(e, t));
  let r = /* @__PURE__ */ new Map(), n = new fae(e), o = Oae(t), i = /* @__PURE__ */ new Map();
  await Die(n, l, t, fm, i);
  let s = await FI(n, t, l, void 0, i);
  if (Fae(t), t.nodeAfterCursor && !t.nodeBeforeCursor) return [Yi, s];
  if (t.nodeBeforeCursor && !t.nodeAfterCursor) return [s, Yi];
  return s;
  function l(c, p) {
    return c === void 0 || c === n ? u(p) : Array.isArray(c) ? n.call(() => u(p), ...c) : n.call(() => u(p), c);
  }
  function u(c) {
    o(n);
    let p = n.node;
    if (p == null) return "";
    let h = p && typeof p == "object" && c === void 0;
    if (h && r.has(p)) return r.get(p);
    let m = FI(n, t, l, c, i);
    return h && r.set(p, m), m;
  }
}
function FI(e, t, r, n, o) {
  var i;
  let { node: s } = e, { printer: l } = t, u;
  switch ((i = l.hasPrettierIgnore) != null && i.call(l, e) ? u = Tie(e, t) : o.has(s) ? u = o.get(s) : u = l.print(e, t, r, n), s) {
    case t.cursorNode:
      u = Jh(u, (c) => [Yi, c, Yi]);
      break;
    case t.nodeBeforeCursor:
      u = Jh(u, (c) => [c, Yi]);
      break;
    case t.nodeAfterCursor:
      u = Jh(u, (c) => [Yi, c]);
      break;
  }
  return l.printComment && (!l.willPrintOwnComments || !l.willPrintOwnComments(e, t)) && (u = kae(e, u, t)), u;
}
async function yP(e, t) {
  let r = e.comments ?? [];
  t[Symbol.for("comments")] = r, t[Symbol.for("tokens")] = e.tokens ?? [], t[Symbol.for("printedComments")] = /* @__PURE__ */ new Set(), Cae(
  e, t);
  let { printer: { preprocess: n } } = t;
  return e = n ? await n(e, t) : e, { ast: e, comments: r };
}
function Iie(e, t) {
  let { cursorOffset: r, locStart: n, locEnd: o } = t, i = pm(t.printer.getVisitorKeys), s = /* @__PURE__ */ a((g) => n(g) <= r && o(g) >= r,
  "o"), l = e, u = [e];
  for (let g of mae(e, { getVisitorKeys: i, filter: s })) u.push(g), l = g;
  if (gae(l, { getVisitorKeys: i })) return { cursorNode: l };
  let c, p, h = -1, m = Number.POSITIVE_INFINITY;
  for (; u.length > 0 && (c === void 0 || p === void 0); ) {
    l = u.pop();
    let g = c !== void 0, w = p !== void 0;
    for (let v of cm(l, { getVisitorKeys: i })) {
      if (!g) {
        let S = o(v);
        S <= r && S > h && (c = v, h = S);
      }
      if (!w) {
        let S = n(v);
        S >= r && S < m && (p = v, m = S);
      }
    }
  }
  return { nodeBeforeCursor: c, nodeAfterCursor: p };
}
function kie(e, t) {
  let { printer: { massageAstNode: r, getVisitorKeys: n } } = t;
  if (!r) return e;
  let o = pm(n), i = r.ignoredProperties ?? /* @__PURE__ */ new Set();
  return s(e);
  function s(l, u) {
    if (!(l !== null && typeof l == "object")) return l;
    if (Array.isArray(l)) return l.map((m) => s(m, u)).filter(Boolean);
    let c = {}, p = new Set(o(l));
    for (let m in l) !Object.prototype.hasOwnProperty.call(l, m) || i.has(m) || (p.has(m) ? c[m] = s(l[m], l) : c[m] = l[m]);
    let h = r(l, c, u);
    if (h !== null) return h ?? c;
  }
}
function Mie(e, t) {
  let r = [e.node, ...e.parentNodes], n = /* @__PURE__ */ new Set([t.node, ...t.parentNodes]);
  return r.find((o) => wP.has(o.type) && n.has(o));
}
function LI(e) {
  let t = Oie(!1, e, (r) => r.type !== "Program" && r.type !== "File");
  return t === -1 ? e : e.slice(0, t + 1);
}
function Bie(e, t, { locStart: r, locEnd: n }) {
  let o = e.node, i = t.node;
  if (o === i) return { startNode: o, endNode: i };
  let s = r(e.node);
  for (let u of LI(t.parentNodes)) if (r(u) >= s) i = u;
  else break;
  let l = n(t.node);
  for (let u of LI(e.parentNodes)) {
    if (n(u) <= l) o = u;
    else break;
    if (o === i) break;
  }
  return { startNode: o, endNode: i };
}
function Ww(e, t, r, n, o = [], i) {
  let { locStart: s, locEnd: l } = r, u = s(e), c = l(e);
  if (!(t > c || t < u || i === "rangeEnd" && t === u || i === "rangeStart" && t === c)) {
    for (let p of o3(e, r)) {
      let h = Ww(p, t, r, n, [e, ...o], i);
      if (h) return h;
    }
    if (!n || n(e, o[0])) return { node: e, parentNodes: o };
  }
}
function zie(e, t) {
  return t !== "DeclareExportDeclaration" && e !== "TypeParameterDeclaration" && (e === "Directive" || e === "TypeAlias" || e === "TSExportA\
ssignment" || e.startsWith("Declare") || e.startsWith("TSDeclare") || e.endsWith("Statement") || e.endsWith("Declaration"));
}
function OI(e, t, r) {
  if (!t) return !1;
  switch (e.parser) {
    case "flow":
    case "babel":
    case "babel-flow":
    case "babel-ts":
    case "typescript":
    case "acorn":
    case "espree":
    case "meriyah":
    case "__babel_estree":
      return zie(t.type, r?.type);
    case "json":
    case "json5":
    case "jsonc":
    case "json-stringify":
      return wP.has(t.type);
    case "graphql":
      return Hie.has(t.kind);
    case "vue":
      return t.tag !== "root";
  }
  return !1;
}
function $ie(e, t, r) {
  let { rangeStart: n, rangeEnd: o, locStart: i, locEnd: s } = t;
  Vw.ok(o > n);
  let l = e.slice(n, o).search(/\S/u), u = l === -1;
  if (!u) for (n += l; o > n && !/\S/u.test(e[o - 1]); --o) ;
  let c = Ww(r, n, t, (g, w) => OI(t, g, w), [], "rangeStart"), p = u ? c : Ww(r, o, t, (g) => OI(t, g), [], "rangeEnd");
  if (!c || !p) return { rangeStart: 0, rangeEnd: 0 };
  let h, m;
  if (Nie(t)) {
    let g = Mie(c, p);
    h = g, m = g;
  } else ({ startNode: h, endNode: m } = Bie(c, p, t));
  return { rangeStart: Math.min(i(h), i(m)), rangeEnd: Math.max(s(h), s(m)) };
}
async function EP(e, t, r = 0) {
  if (!e || e.trim().length === 0) return { formatted: "", cursorOffset: -1, comments: [] };
  let { ast: n, text: o } = await bf(e, t);
  t.cursorOffset >= 0 && (t = { ...t, ...Pie(n, t) });
  let i = await fm(n, t, r);
  r > 0 && (i = QI([Ki, i], r, t.tabWidth));
  let s = um(i, t);
  if (r > 0) {
    let u = s.formatted.trim();
    s.cursorNodeStart !== void 0 && (s.cursorNodeStart -= s.formatted.indexOf(u), s.cursorNodeStart < 0 && (s.cursorNodeStart = 0, s.cursorNodeText =
    s.cursorNodeText.trimStart()), s.cursorNodeStart + s.cursorNodeText.length > u.length && (s.cursorNodeText = s.cursorNodeText.trimEnd())),
    s.formatted = u + Xw(t.endOfLine);
  }
  let l = t[Symbol.for("comments")];
  if (t.cursorOffset >= 0) {
    let u, c, p, h;
    if ((t.cursorNode || t.nodeBeforeCursor || t.nodeAfterCursor) && s.cursorNodeText) if (p = s.cursorNodeStart, h = s.cursorNodeText, t.cursorNode)
     u = t.locStart(t.cursorNode), c = o.slice(u, t.locEnd(t.cursorNode));
    else {
      if (!t.nodeBeforeCursor && !t.nodeAfterCursor) throw new Error("Cursor location must contain at least one of cursorNode, nodeBeforeCur\
sor, nodeAfterCursor");
      u = t.nodeBeforeCursor ? t.locEnd(t.nodeBeforeCursor) : 0;
      let E = t.nodeAfterCursor ? t.locStart(t.nodeAfterCursor) : o.length;
      c = o.slice(u, E);
    }
    else u = 0, c = o, p = 0, h = s.formatted;
    let m = t.cursorOffset - u;
    if (c === h) return { formatted: s.formatted, cursorOffset: p + m, comments: l };
    let g = c.split("");
    g.splice(m, 0, NI);
    let w = h.split(""), v = Coe(g, w), S = p;
    for (let E of v) if (E.removed) {
      if (E.value.includes(NI)) break;
    } else S += E.count;
    return { formatted: s.formatted, cursorOffset: S, comments: l };
  }
  return { formatted: s.formatted, cursorOffset: -1, comments: l };
}
async function jie(e, t) {
  let { ast: r, text: n } = await bf(e, t), { rangeStart: o, rangeEnd: i } = $ie(n, t, r), s = n.slice(o, i), l = Math.min(o, n.lastIndexOf(
  `
`, o) + 1), u = n.slice(l, o).match(/^\s*/u)[0], c = r3(u, t.tabWidth), p = await EP(s, { ...t, rangeStart: 0, rangeEnd: Number.POSITIVE_INFINITY,
  cursorOffset: t.cursorOffset > o && t.cursorOffset <= i ? t.cursorOffset - o : -1, endOfLine: "lf" }, c), h = p.formatted.trimEnd(), { cursorOffset: m } = t;
  m > i ? m += h.length - s.length : p.cursorOffset >= 0 && (m = p.cursorOffset + o);
  let g = n.slice(0, o) + h + n.slice(i);
  if (t.endOfLine !== "lf") {
    let w = Xw(t.endOfLine);
    m >= 0 && w === `\r
` && (m += VI(g.slice(0, m), `
`)), g = am(!1, g, `
`, w);
  }
  return { formatted: g, cursorOffset: m, comments: p.comments };
}
function Fw(e, t, r) {
  return typeof t != "number" || Number.isNaN(t) || t < 0 || t > e.length ? r : t;
}
function MI(e, t) {
  let { cursorOffset: r, rangeStart: n, rangeEnd: o } = t;
  return r = Fw(e, r, -1), n = Fw(e, n, 0), o = Fw(e, o, e.length), { ...t, cursorOffset: r, rangeStart: n, rangeEnd: o };
}
function bP(e, t) {
  let { cursorOffset: r, rangeStart: n, rangeEnd: o, endOfLine: i } = MI(e, t), s = e.charAt(0) === SP;
  if (s && (e = e.slice(1), r--, n--, o--), i === "auto" && (i = Doe(e)), e.includes("\r")) {
    let l = /* @__PURE__ */ a((u) => VI(e.slice(0, Math.max(u, 0)), `\r
`), "s");
    r -= l(r), n -= l(n), o -= l(o), e = Aoe(e);
  }
  return { hasBOM: s, text: e, options: MI(e, { ...t, cursorOffset: r, rangeStart: n, rangeEnd: o, endOfLine: i }) };
}
async function BI(e, t) {
  let r = await gP(t);
  return !r.hasPragma || r.hasPragma(e);
}
async function xP(e, t) {
  let { hasBOM: r, text: n, options: o } = bP(e, await Hu(t));
  if (o.rangeStart >= o.rangeEnd && n !== "" || o.requirePragma && !await BI(n, o)) return { formatted: e, cursorOffset: t.cursorOffset, comments: [] };
  let i;
  return o.rangeStart > 0 || o.rangeEnd < n.length ? i = await jie(n, o) : (!o.requirePragma && o.insertPragma && o.printer.insertPragma && !await BI(
  n, o) && (n = o.printer.insertPragma(n)), i = await EP(n, o)), r && (i.formatted = SP + i.formatted, i.cursorOffset >= 0 && i.cursorOffset++),
  i;
}
async function Vie(e, t, r) {
  let { text: n, options: o } = bP(e, await Hu(t)), i = await bf(n, o);
  return r && (r.preprocessForPrint && (i.ast = await yP(i.ast, o)), r.massage && (i.ast = Fie(i.ast, o))), i;
}
async function Uie(e, t) {
  t = await Hu(t);
  let r = await fm(e, t);
  return um(r, t);
}
async function Wie(e, t) {
  let r = Uoe(e), { formatted: n } = await xP(r, { ...t, parser: "__js_expression" });
  return n;
}
async function qie(e, t) {
  t = await Hu(t);
  let { ast: r } = await bf(e, t);
  return fm(r, t);
}
async function Gie(e, t) {
  return um(e, await Hu(t));
}
function Jie(e, t) {
  if (t === !1) return !1;
  if (e.charAt(t) === "/" && e.charAt(t + 1) === "*") {
    for (let r = t + 2; r < e.length; ++r) if (e.charAt(r) === "*" && e.charAt(r + 1) === "/") return r + 2;
  }
  return t;
}
function Zie(e, t) {
  return t === !1 ? !1 : e.charAt(t) === "/" && e.charAt(t + 1) === "/" ? rP(e, t) : t;
}
function ese(e, t) {
  let r = null, n = t;
  for (; n !== r; ) r = n, n = Wa(e, n), n = i3(e, n), n = s3(e, n), n = Xi(e, n);
  return n;
}
function tse(e, t) {
  let r = null, n = t;
  for (; n !== r; ) r = n, n = tP(e, n), n = i3(e, n), n = Wa(e, n);
  return n = s3(e, n), n = Xi(e, n), n !== !1 && Ua(e, n);
}
function rse(e, t) {
  let r = e.lastIndexOf(`
`);
  return r === -1 ? 0 : r3(e.slice(r + 1).match(/^[\t ]*/u)[0], t);
}
function ose(e) {
  if (typeof e != "string") throw new TypeError("Expected a string");
  return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
}
function ase(e, t) {
  let r = e.match(new RegExp(`(${ose(t)})+`, "gu"));
  return r === null ? 0 : r.reduce((n, o) => Math.max(n, o.length / t.length), 0);
}
function sse(e, t) {
  let r = l3(e, t);
  return r === !1 ? "" : e.charAt(r);
}
function use(e, t) {
  let r = t === !0 || t === Qh ? Qh : zI, n = r === Qh ? zI : Qh, o = 0, i = 0;
  for (let s of e) s === r ? o++ : s === n && i++;
  return o > i ? n : r;
}
function pse(e, t, r) {
  for (let n = t; n < r; ++n) if (e.charAt(n) === `
`) return !0;
  return !1;
}
function dse(e, t, r = {}) {
  return Wa(e, r.backwards ? t - 1 : t, r) !== t;
}
function mse(e, t, r) {
  let n = t === '"' ? "'" : '"', o = am(!1, e, /\\(.)|(["'])/gsu, (i, s, l) => s === n ? s : l === t ? "\\" + l : l || (r && /^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.
  test(s) ? s : "\\" + s));
  return t + o + t;
}
function vse(e, t, r) {
  return l3(e, r(t));
}
function yse(e, t) {
  return arguments.length === 2 || typeof t == "number" ? l3(e, t) : vse(...arguments);
}
function wse(e, t, r) {
  return a3(e, r(t));
}
function Sse(e, t) {
  return arguments.length === 2 || typeof t == "number" ? a3(e, t) : wse(...arguments);
}
function Ese(e, t, r) {
  return u3(e, r(t));
}
function bse(e, t) {
  return arguments.length === 2 || typeof t == "number" ? u3(e, t) : Ese(...arguments);
}
function Gi(e, t = 1) {
  return async (...r) => {
    let n = r[t] ?? {}, o = n.plugins ?? [];
    return r[t] = { ...n, plugins: Array.isArray(o) ? o : Object.values(o) }, e(...r);
  };
}
async function AP(e, t) {
  let { formatted: r } = await DP(e, { ...t, cursorOffset: -1 });
  return r;
}
async function xse(e, t) {
  return await AP(e, t) === e;
}
var coe, qw, poe, foe, doe, hoe, HI, $I, Gw, moe, om, goe, voe, vf, Yw, yoe, jI, woe, am, BEe, tm, Eoe, im, boe, Kw, xoe, Roe, Sf, rm, Qi, No,
Ji, Mo, Bo, zo, vr, uo, Fr, Ho, $o, jo, Ft, co, en, UI, Zi, Toe, Ru, Poe, Bu, hI, Qw, WI, lo, Jw, Hoe, sm, $oe, Zw, GI, YI, joe, Ki, KI, Yi,
Woe, Et, qoe, Koe, Xoe, e3, gr, so, wu, zw, r3, Wi, jw, Zh, Cu, pae, fae, eP, Vw, hae, vae, Wa, tP, rP, Xi, Ua, Eae, nP, bae, pm, _w, Tw, aP,
a3, Oae, Du, sP, Au, yI, Nae, zae, jae, bu, SI, Vae, xu, uP, em, EI, Uae, xI, Pw, RI, fP, qae, _u, qa, Tu, Kae, Iu, Xae, Pu, Qae, ku, Jae, Fu,
sie, Lu, lie, Ou, uie, Nu, PI, cie, pie, fie, die, Mu, hie, kw, yie, wie, hP, kI, Hu, xie, bf, Tie, Pie, Fie, Lie, Oie, Nie, wP, Hie, SP, NI,
RP, Yie, Kie, Xie, Qie, CP, i3, s3, l3, u3, nse, ise, lse, Qh, zI, cse, fse, hse, gse, DP, Rse, Cse, _P, TP = I(() => {
  coe = Object.create, qw = Object.defineProperty, poe = Object.getOwnPropertyDescriptor, foe = Object.getOwnPropertyNames, doe = Object.getPrototypeOf,
  hoe = Object.prototype.hasOwnProperty, HI = /* @__PURE__ */ a((e) => {
    throw TypeError(e);
  }, "fr"), $I = /* @__PURE__ */ a((e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), "dr"), Gw = /* @__PURE__ */ a((e, t) => {
    for (var r in t) qw(e, r, { get: t[r], enumerable: !0 });
  }, "Bt"), moe = /* @__PURE__ */ a((e, t, r, n) => {
    if (t && typeof t == "object" || typeof t == "function") for (let o of foe(t)) !hoe.call(e, o) && o !== r && qw(e, o, { get: /* @__PURE__ */ a(
    () => t[o], "get"), enumerable: !(n = poe(t, o)) || n.enumerable });
    return e;
  }, "_u"), om = /* @__PURE__ */ a((e, t, r) => (r = e != null ? coe(doe(e)) : {}, moe(t || !e || !e.__esModule ? qw(r, "default", { value: e,
  enumerable: !0 }) : r, e)), "Me"), goe = /* @__PURE__ */ a((e, t, r) => t.has(e) || HI("Cannot " + r), "xu"), voe = /* @__PURE__ */ a((e, t, r) => t.
  has(e) ? HI("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), "pr"), vf = /* @__PURE__ */ a(
  (e, t, r) => (goe(e, t, "access private method"), r), "pe"), Yw = $I((e, t) => {
    "use strict";
    var r = new Proxy(String, { get: /* @__PURE__ */ a(() => r, "get") });
    t.exports = r;
  }), yoe = $I((e) => {
    "use strict";
    Object.defineProperty(e, "__esModule", { value: !0 });
    function t() {
      return new Proxy({}, { get: /* @__PURE__ */ a(() => (i) => i, "get") });
    }
    a(t, "Bi");
    var r = /\r\n|[\n\r\u2028\u2029]/;
    function n(i, s, l) {
      let u = Object.assign({ column: 0, line: -1 }, i.start), c = Object.assign({}, u, i.end), { linesAbove: p = 2, linesBelow: h = 3 } = l ||
      {}, m = u.line, g = u.column, w = c.line, v = c.column, S = Math.max(m - (p + 1), 0), E = Math.min(s.length, w + h);
      m === -1 && (S = 0), w === -1 && (E = s.length);
      let y = w - m, b = {};
      if (y) for (let x = 0; x <= y; x++) {
        let R = x + m;
        if (!g) b[R] = !0;
        else if (x === 0) {
          let C = s[R - 1].length;
          b[R] = [g, C - g + 1];
        } else if (x === y) b[R] = [0, v];
        else {
          let C = s[R - x].length;
          b[R] = [0, C];
        }
      }
      else g === v ? g ? b[m] = [g, 0] : b[m] = !0 : b[m] = [g, v - g];
      return { start: S, end: E, markerLines: b };
    }
    a(n, "wi");
    function o(i, s, l = {}) {
      let u = t(!1), c = i.split(r), { start: p, end: h, markerLines: m } = n(s, c, l), g = s.start && typeof s.start.column == "number", w = String(
      h).length, v = i.split(r, h).slice(p, h).map((S, E) => {
        let y = p + 1 + E, b = ` ${` ${y}`.slice(-w)} |`, x = m[y], R = !m[y + 1];
        if (x) {
          let C = "";
          if (Array.isArray(x)) {
            let D = S.slice(0, Math.max(x[0] - 1, 0)).replace(/[^\t]/g, " "), A = x[1] || 1;
            C = [`
 `, u.gutter(b.replace(/\d/g, " ")), " ", D, u.marker("^").repeat(A)].join(""), R && l.message && (C += " " + u.message(l.message));
          }
          return [u.marker(">"), u.gutter(b), S.length > 0 ? ` ${S}` : "", C].join("");
        } else return ` ${u.gutter(b)}${S.length > 0 ? ` ${S}` : ""}`;
      }).join(`
`);
      return l.message && !g && (v = `${" ".repeat(w + 1)}${l.message}
${v}`), v;
    }
    a(o, "_i"), e.codeFrameColumns = o;
  }), jI = {};
  Gw(jI, { __debug: /* @__PURE__ */ a(() => Cse, "__debug"), check: /* @__PURE__ */ a(() => xse, "check"), doc: /* @__PURE__ */ a(() => RP, "\
doc"), format: /* @__PURE__ */ a(() => AP, "format"), formatWithCursor: /* @__PURE__ */ a(() => DP, "formatWithCursor"), getSupportInfo: /* @__PURE__ */ a(
  () => Rse, "getSupportInfo"), util: /* @__PURE__ */ a(() => CP, "util"), version: /* @__PURE__ */ a(() => Qie, "version") });
  woe = /* @__PURE__ */ a((e, t, r, n) => {
    if (!(e && t == null)) return t.replaceAll ? t.replaceAll(r, n) : r.global ? t.replace(r, n) : t.split(r).join(n);
  }, "bu"), am = woe;
  a(In, "M");
  In.prototype = { diff: /* @__PURE__ */ a(function(e, t) {
    var r, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = n.callback;
    typeof n == "function" && (o = n, n = {});
    var i = this;
    function s(b) {
      return b = i.postProcess(b, n), o ? (setTimeout(function() {
        o(b);
      }, 0), !0) : b;
    }
    a(s, "s"), e = this.castInput(e, n), t = this.castInput(t, n), e = this.removeEmpty(this.tokenize(e, n)), t = this.removeEmpty(this.tokenize(
    t, n));
    var l = t.length, u = e.length, c = 1, p = l + u;
    n.maxEditLength != null && (p = Math.min(p, n.maxEditLength));
    var h = (r = n.timeout) !== null && r !== void 0 ? r : 1 / 0, m = Date.now() + h, g = [{ oldPos: -1, lastComponent: void 0 }], w = this.
    extractCommon(g[0], t, e, 0, n);
    if (g[0].oldPos + 1 >= u && w + 1 >= l) return s(uI(i, g[0].lastComponent, t, e, i.useLongestToken));
    var v = -1 / 0, S = 1 / 0;
    function E() {
      for (var b = Math.max(v, -c); b <= Math.min(S, c); b += 2) {
        var x = void 0, R = g[b - 1], C = g[b + 1];
        R && (g[b - 1] = void 0);
        var D = !1;
        if (C) {
          var A = C.oldPos - b;
          D = C && 0 <= A && A < l;
        }
        var P = R && R.oldPos + 1 < u;
        if (!D && !P) {
          g[b] = void 0;
          continue;
        }
        if (!P || D && R.oldPos < C.oldPos ? x = i.addToPath(C, !0, !1, 0, n) : x = i.addToPath(R, !1, !0, 1, n), w = i.extractCommon(x, t, e,
        b, n), x.oldPos + 1 >= u && w + 1 >= l) return s(uI(i, x.lastComponent, t, e, i.useLongestToken));
        g[b] = x, x.oldPos + 1 >= u && (S = Math.min(S, b - 1)), w + 1 >= l && (v = Math.max(v, b + 1));
      }
      c++;
    }
    if (a(E, "C"), o) (/* @__PURE__ */ a(function b() {
      setTimeout(function() {
        if (c > p || Date.now() > m) return o();
        E() || b();
      }, 0);
    }, "E"))();
    else for (; c <= p && Date.now() <= m; ) {
      var y = E();
      if (y) return y;
    }
  }, "diff"), addToPath: /* @__PURE__ */ a(function(e, t, r, n, o) {
    var i = e.lastComponent;
    return i && !o.oneChangePerToken && i.added === t && i.removed === r ? { oldPos: e.oldPos + n, lastComponent: { count: i.count + 1, added: t,
    removed: r, previousComponent: i.previousComponent } } : { oldPos: e.oldPos + n, lastComponent: { count: 1, added: t, removed: r, previousComponent: i } };
  }, "addToPath"), extractCommon: /* @__PURE__ */ a(function(e, t, r, n, o) {
    for (var i = t.length, s = r.length, l = e.oldPos, u = l - n, c = 0; u + 1 < i && l + 1 < s && this.equals(r[l + 1], t[u + 1], o); ) u++,
    l++, c++, o.oneChangePerToken && (e.lastComponent = { count: 1, previousComponent: e.lastComponent, added: !1, removed: !1 });
    return c && !o.oneChangePerToken && (e.lastComponent = { count: c, previousComponent: e.lastComponent, added: !1, removed: !1 }), e.oldPos =
    l, u;
  }, "extractCommon"), equals: /* @__PURE__ */ a(function(e, t, r) {
    return r.comparator ? r.comparator(e, t) : e === t || r.ignoreCase && e.toLowerCase() === t.toLowerCase();
  }, "equals"), removeEmpty: /* @__PURE__ */ a(function(e) {
    for (var t = [], r = 0; r < e.length; r++) e[r] && t.push(e[r]);
    return t;
  }, "removeEmpty"), castInput: /* @__PURE__ */ a(function(e) {
    return e;
  }, "castInput"), tokenize: /* @__PURE__ */ a(function(e) {
    return Array.from(e);
  }, "tokenize"), join: /* @__PURE__ */ a(function(e) {
    return e.join("");
  }, "join"), postProcess: /* @__PURE__ */ a(function(e) {
    return e;
  }, "postProcess") };
  a(uI, "Fr");
  BEe = new In();
  a(cI, "mr");
  a(pI, "hr");
  a(Lw, "wt");
  a(Ow, "_t");
  a(yf, "we");
  a(Kh, "Ue");
  a(fI, "Er");
  a(Soe, "Nu");
  tm = "a-zA-Z0-9_\\u{C0}-\\u{FF}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}", Eoe = new RegExp("[".
  concat(tm, "]+|\\s+|[^").concat(tm, "]"), "ug"), im = new In();
  im.equals = function(e, t, r) {
    return r.ignoreCase && (e = e.toLowerCase(), t = t.toLowerCase()), e.trim() === t.trim();
  };
  im.tokenize = function(e) {
    var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r;
    if (t.intlSegmenter) {
      if (t.intlSegmenter.resolvedOptions().granularity != "word") throw new Error('The segmenter passed must have a granularity of "word"');
      r = Array.from(t.intlSegmenter.segment(e), function(i) {
        return i.segment;
      });
    } else r = e.match(Eoe) || [];
    var n = [], o = null;
    return r.forEach(function(i) {
      /\s/.test(i) ? o == null ? n.push(i) : n.push(n.pop() + i) : /\s/.test(o) ? n[n.length - 1] == o ? n.push(n.pop() + i) : n.push(o + i) :
      n.push(i), o = i;
    }), n;
  };
  im.join = function(e) {
    return e.map(function(t, r) {
      return r == 0 ? t : t.replace(/^\s+/, "");
    }).join("");
  };
  im.postProcess = function(e, t) {
    if (!e || t.oneChangePerToken) return e;
    var r = null, n = null, o = null;
    return e.forEach(function(i) {
      i.added ? n = i : i.removed ? o = i : ((n || o) && dI(r, o, n, i), r = i, n = null, o = null);
    }), (n || o) && dI(r, o, n, null), e;
  };
  a(dI, "Cr");
  boe = new In();
  boe.tokenize = function(e) {
    var t = new RegExp("(\\r?\\n)|[".concat(tm, "]+|[^\\S\\n\\r]+|[^").concat(tm, "]"), "ug");
    return e.match(t) || [];
  };
  Kw = new In();
  Kw.tokenize = function(e, t) {
    t.stripTrailingCr && (e = e.replace(/\r\n/g, `
`));
    var r = [], n = e.split(/(\n|\r\n)/);
    n[n.length - 1] || n.pop();
    for (var o = 0; o < n.length; o++) {
      var i = n[o];
      o % 2 && !t.newlineIsToken ? r[r.length - 1] += i : r.push(i);
    }
    return r;
  };
  Kw.equals = function(e, t, r) {
    return r.ignoreWhitespace ? ((!r.newlineIsToken || !e.includes(`
`)) && (e = e.trim()), (!r.newlineIsToken || !t.includes(`
`)) && (t = t.trim())) : r.ignoreNewlineAtEof && !r.newlineIsToken && (e.endsWith(`
`) && (e = e.slice(0, -1)), t.endsWith(`
`) && (t = t.slice(0, -1))), In.prototype.equals.call(this, e, t, r);
  };
  xoe = new In();
  xoe.tokenize = function(e) {
    return e.split(/(\S.+?[.!?])(?=\s+|$)/);
  };
  Roe = new In();
  Roe.tokenize = function(e) {
    return e.split(/([{}:;,]|\s+)/);
  };
  a(Nw, "xt");
  Sf = new In();
  Sf.useLongestToken = !0;
  Sf.tokenize = Kw.tokenize;
  Sf.castInput = function(e, t) {
    var r = t.undefinedReplacement, n = t.stringifyReplacer, o = n === void 0 ? function(i, s) {
      return typeof s > "u" ? r : s;
    } : n;
    return typeof e == "string" ? e : JSON.stringify(Mw(e, null, null, o), o, "  ");
  };
  Sf.equals = function(e, t, r) {
    return In.prototype.equals.call(Sf, e.replace(/,([\r\n])/g, "$1"), t.replace(/,([\r\n])/g, "$1"), r);
  };
  a(Mw, "bt");
  rm = new In();
  rm.tokenize = function(e) {
    return e.slice();
  };
  rm.join = rm.removeEmpty = function(e) {
    return e;
  };
  a(Coe, "gr");
  a(Doe, "yr");
  a(Xw, "xe");
  a(VI, "Ot");
  a(Aoe, "Ar");
  Qi = "string", No = "array", Ji = "cursor", Mo = "indent", Bo = "align", zo = "trim", vr = "group", uo = "fill", Fr = "if-break", Ho = "in\
dent-if-break", $o = "line-suffix", jo = "line-suffix-boundary", Ft = "line", co = "label", en = "break-parent", UI = /* @__PURE__ */ new Set(
  [Ji, Mo, Bo, zo, vr, uo, Fr, Ho, $o, jo, Ft, co, en]);
  a(_oe, "Lu");
  Zi = _oe, Toe = /* @__PURE__ */ a((e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e), "Pu");
  a(Ioe, "Iu");
  Poe = (Ru = class extends Error {
    name = "InvalidDocError";
    constructor(t) {
      super(Ioe(t)), this.doc = t;
    }
  }, a(Ru, "St"), Ru), Bu = Poe, hI = {};
  a(koe, "Ru");
  Qw = koe, WI = /* @__PURE__ */ a(() => {
  }, "Br"), lo = WI, Jw = WI;
  a(nm, "le");
  a(zu, "De");
  a(qI, "Tt");
  a(Foe, "wr");
  a(Loe, "_r");
  a(Ooe, "xr");
  a(Noe, "br");
  a(Moe, "Nr");
  a(Boe, "Or");
  a(zoe, "Sr");
  a(Bw, "Ne");
  Hoe = { type: jo }, sm = { type: en }, $oe = { type: zo }, Zw = { type: Ft, hard: !0 }, GI = { type: Ft, hard: !0, literal: !0 }, YI = { type: Ft },
  joe = { type: Ft, soft: !0 }, Ki = [Zw, sm], KI = [GI, sm], Yi = { type: Ji };
  a(XI, "Se");
  a(QI, "Qe");
  a(Voe, "Pr");
  a(Oo, "ee");
  a(Uoe, "Ir");
  Woe = /* @__PURE__ */ a((e, t, r) => {
    if (!(e && t == null)) return Array.isArray(t) || typeof t == "string" ? t[r < 0 ? t.length + r : r] : t.at(r);
  }, "Yu"), Et = Woe, qoe = /* @__PURE__ */ a(() => /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,
  "Rr");
  a(Goe, "Yr");
  a(Yoe, "jr");
  Koe = /* @__PURE__ */ a((e) => !(Goe(e) || Yoe(e)), "Hr"), Xoe = /[^\x20-\x7F]/u;
  a(Qoe, "Hu");
  e3 = Qoe;
  a(lm, "Le");
  a(t3, "Ze");
  a(Joe, "Wu");
  a(Zoe, "Mr");
  a(mI, "Wr");
  a(eae, "Ur");
  a(tae, "$u");
  a(rae, "Vr");
  a(gI, "$r");
  a(wf, "ke");
  a(JI, "et");
  a(nae, "Mu");
  a(oae, "Uu");
  a(aae, "zr");
  a(iae, "Vu");
  a(sae, "Gr");
  a(Jh, "me");
  gr = Symbol("MODE_BREAK"), so = Symbol("MODE_FLAT"), wu = Symbol("cursor"), zw = Symbol("DOC_FILL_PRINTED_LENGTH");
  a(ZI, "Kr");
  a(lae, "zu");
  a(uae, "Gu");
  a(Hw, "Pt");
  a($w, "It");
  a(Xh, "tt");
  a(um, "Ee");
  a(cae, "Ku");
  r3 = cae, pae = (Cu = class {
    constructor(t) {
      voe(this, Wi), this.stack = [t];
    }
    get key() {
      let { stack: t, siblings: r } = this;
      return Et(!1, t, r === null ? -2 : -4) ?? null;
    }
    get index() {
      return this.siblings === null ? null : Et(!1, this.stack, -2);
    }
    get node() {
      return Et(!1, this.stack, -1);
    }
    get parent() {
      return this.getNode(1);
    }
    get grandparent() {
      return this.getNode(2);
    }
    get isInArray() {
      return this.siblings !== null;
    }
    get siblings() {
      let { stack: t } = this, r = Et(!1, t, -3);
      return Array.isArray(r) ? r : null;
    }
    get next() {
      let { siblings: t } = this;
      return t === null ? null : t[this.index + 1];
    }
    get previous() {
      let { siblings: t } = this;
      return t === null ? null : t[this.index - 1];
    }
    get isFirst() {
      return this.index === 0;
    }
    get isLast() {
      let { siblings: t, index: r } = this;
      return t !== null && r === t.length - 1;
    }
    get isRoot() {
      return this.stack.length === 1;
    }
    get root() {
      return this.stack[0];
    }
    get ancestors() {
      return [...vf(this, Wi, Zh).call(this)];
    }
    getName() {
      let { stack: t } = this, { length: r } = t;
      return r > 1 ? Et(!1, t, -2) : null;
    }
    getValue() {
      return Et(!1, this.stack, -1);
    }
    getNode(t = 0) {
      let r = vf(this, Wi, jw).call(this, t);
      return r === -1 ? null : this.stack[r];
    }
    getParentNode(t = 0) {
      return this.getNode(t + 1);
    }
    call(t, ...r) {
      let { stack: n } = this, { length: o } = n, i = Et(!1, n, -1);
      for (let s of r) i = i[s], n.push(s, i);
      try {
        return t(this);
      } finally {
        n.length = o;
      }
    }
    callParent(t, r = 0) {
      let n = vf(this, Wi, jw).call(this, r + 1), o = this.stack.splice(n + 1);
      try {
        return t(this);
      } finally {
        this.stack.push(...o);
      }
    }
    each(t, ...r) {
      let { stack: n } = this, { length: o } = n, i = Et(!1, n, -1);
      for (let s of r) i = i[s], n.push(s, i);
      try {
        for (let s = 0; s < i.length; ++s) n.push(s, i[s]), t(this, s, i), n.length -= 2;
      } finally {
        n.length = o;
      }
    }
    map(t, ...r) {
      let n = [];
      return this.each((o, i, s) => {
        n[i] = t(o, i, s);
      }, ...r), n;
    }
    match(...t) {
      let r = this.stack.length - 1, n = null, o = this.stack[r--];
      for (let i of t) {
        if (o === void 0) return !1;
        let s = null;
        if (typeof n == "number" && (s = n, n = this.stack[r--], o = this.stack[r--]), i && !i(o, n, s)) return !1;
        n = this.stack[r--], o = this.stack[r--];
      }
      return !0;
    }
    findAncestor(t) {
      for (let r of vf(this, Wi, Zh).call(this)) if (t(r)) return r;
    }
    hasAncestor(t) {
      for (let r of vf(this, Wi, Zh).call(this)) if (t(r)) return !0;
      return !1;
    }
  }, a(Cu, "Rt"), Cu);
  Wi = /* @__PURE__ */ new WeakSet(), jw = /* @__PURE__ */ a(function(e) {
    let { stack: t } = this;
    for (let r = t.length - 1; r >= 0; r -= 2) if (!Array.isArray(t[r]) && --e < 0) return r;
    return -1;
  }, "Yt"), Zh = /* @__PURE__ */ a(function* () {
    let { stack: e } = this;
    for (let t = e.length - 3; t >= 0; t -= 2) {
      let r = e[t];
      Array.isArray(r) || (yield r);
    }
  }, "rt");
  fae = pae, eP = new Proxy(() => {
  }, { get: /* @__PURE__ */ a(() => eP, "get") }), Vw = eP;
  a(dae, "Ju");
  hae = dae;
  a(cm, "ge");
  a(mae, "Qr");
  a(gae, "Zr");
  a(Ef, "ye");
  vae = Ef(/\s/u), Wa = Ef(" 	"), tP = Ef(",; 	"), rP = Ef(/[^\n\r]/u);
  a(yae, "qu");
  Xi = yae;
  a(wae, "Xu");
  Ua = wae;
  a(Sae, "Qu");
  Eae = Sae, nP = /* @__PURE__ */ new Set(["tokens", "comments", "parent", "enclosingNode", "precedingNode", "followingNode"]), bae = /* @__PURE__ */ a(
  (e) => Object.keys(e).filter((t) => !nP.has(t)), "Zu");
  a(xae, "ei");
  pm = xae;
  a(Rae, "ti");
  a(n3, "Ht");
  a(Su, "ue");
  a(qi, "re");
  a(Eu, "ie");
  _w = /* @__PURE__ */ new WeakMap();
  a(o3, "it");
  a(oP, "nn");
  Tw = /* @__PURE__ */ a(() => !1, "$t");
  a(Cae, "un");
  aP = /* @__PURE__ */ a((e) => !/[\S\n\u2028\u2029]/u.test(e), "on");
  a(Dae, "ri");
  a(Aae, "ni");
  a(vI, "rn");
  a(Iw, "Mt");
  a(_ae, "ui");
  a3 = _ae;
  a(iP, "sn");
  a(Tae, "ii");
  a(Iae, "oi");
  a(Pae, "si");
  a(kae, "an");
  a(Fae, "Dn");
  a(Lae, "ai");
  Oae = Lae, sP = (Du = class extends Error {
    name = "ConfigError";
  }, a(Du, "Re"), Du), yI = (Au = class extends Error {
    name = "UndefinedParserError";
  }, a(Au, "Ye"), Au), Nae = { cursorOffset: { category: "Special", type: "int", default: -1, range: { start: -1, end: 1 / 0, step: 1 }, description: "\
Print (to stderr) where a cursor at the given position would move to after formatting.", cliCategory: "Editor" }, endOfLine: { category: "Gl\
obal", type: "choice", default: "lf", description: "Which end of line characters to apply.", choices: [{ value: "lf", description: "Line Fee\
d only (\\n), common on Linux and macOS as well as inside git repos" }, { value: "crlf", description: "Carriage Return + Line Feed character\
s (\\r\\n), common on Windows" }, { value: "cr", description: "Carriage Return character only (\\r), used very rarely" }, { value: "auto", description: `\
Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)` }] }, filepath: { category: "Special", type: "\
path", description: "Specify the input filepath. This will be used to do parser inference.", cliName: "stdin-filepath", cliCategory: "Other",
  cliDescription: "Path to the file to pretend that stdin comes from." }, insertPragma: { category: "Special", type: "boolean", default: !1,
  description: "Insert @format pragma into file's first docblock comment.", cliCategory: "Other" }, parser: { category: "Global", type: "cho\
ice", default: void 0, description: "Which parser to use.", exception: /* @__PURE__ */ a((e) => typeof e == "string" || typeof e == "functio\
n", "exception"), choices: [{ value: "flow", description: "Flow" }, { value: "babel", description: "JavaScript" }, { value: "babel-flow", description: "\
Flow" }, { value: "babel-ts", description: "TypeScript" }, { value: "typescript", description: "TypeScript" }, { value: "acorn", description: "\
JavaScript" }, { value: "espree", description: "JavaScript" }, { value: "meriyah", description: "JavaScript" }, { value: "css", description: "\
CSS" }, { value: "less", description: "Less" }, { value: "scss", description: "SCSS" }, { value: "json", description: "JSON" }, { value: "js\
on5", description: "JSON5" }, { value: "jsonc", description: "JSON with Comments" }, { value: "json-stringify", description: "JSON.stringify" },
  { value: "graphql", description: "GraphQL" }, { value: "markdown", description: "Markdown" }, { value: "mdx", description: "MDX" }, { value: "\
vue", description: "Vue" }, { value: "yaml", description: "YAML" }, { value: "glimmer", description: "Ember / Handlebars" }, { value: "html",
  description: "HTML" }, { value: "angular", description: "Angular" }, { value: "lwc", description: "Lightning Web Components" }] }, plugins: {
  type: "path", array: !0, default: [{ value: [] }], category: "Global", description: "Add a plugin. Multiple plugins can be passed as separ\
ate `--plugin`s.", exception: /* @__PURE__ */ a((e) => typeof e == "string" || typeof e == "object", "exception"), cliName: "plugin", cliCategory: "\
Config" }, printWidth: { category: "Global", type: "int", default: 80, description: "The line length where Prettier will try wrap.", range: {
  start: 0, end: 1 / 0, step: 1 } }, rangeEnd: { category: "Special", type: "int", default: 1 / 0, range: { start: 0, end: 1 / 0, step: 1 },
  description: `Format code ending at a given character offset (exclusive).
The range will extend forwards to the end of the selected statement.`, cliCategory: "Editor" }, rangeStart: { category: "Special", type: "in\
t", default: 0, range: { start: 0, end: 1 / 0, step: 1 }, description: `Format code starting at a given character offset.
The range will extend backwards to the start of the first line containing the selected statement.`, cliCategory: "Editor" }, requirePragma: {
  category: "Special", type: "boolean", default: !1, description: `Require either '@prettier' or '@format' to be present in the file's first\
 docblock comment
in order for it to be formatted.`, cliCategory: "Other" }, tabWidth: { type: "int", category: "Global", default: 2, description: "Number of \
spaces per indentation level.", range: { start: 0, end: 1 / 0, step: 1 } }, useTabs: { category: "Global", type: "boolean", default: !1, description: "\
Indent with tabs instead of spaces." }, embeddedLanguageFormatting: { category: "Global", type: "choice", default: "auto", description: "Con\
trol how Prettier formats quoted code embedded in the file.", choices: [{ value: "auto", description: "Format embedded code if Prettier can \
automatically identify it." }, { value: "off", description: "Never automatically format embedded code." }] } };
  a(lP, "ot");
  a(Mae, "Di");
  a(Bae, "li");
  zae = /* @__PURE__ */ a((e) => String(e).split(/[/\\]/u).pop(), "ci");
  a(wI, "fn");
  a(Hae, "fi");
  a($ae, "di");
  jae = $ae, bu = { key: /* @__PURE__ */ a((e) => /^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e) ? e : JSON.stringify(e), "key"), value(e) {
    if (e === null || typeof e != "object") return JSON.stringify(e);
    if (Array.isArray(e)) return `[${e.map((r) => bu.value(r)).join(", ")}]`;
    let t = Object.keys(e);
    return t.length === 0 ? "{}" : `{ ${t.map((r) => `${bu.key(r)}: ${bu.value(e[r])}`).join(", ")} }`;
  }, pair: /* @__PURE__ */ a(({ key: e, value: t }) => bu.value({ [e]: t }), "pair") }, SI = om(Yw(), 1), Vae = /* @__PURE__ */ a((e, t, { descriptor: r }) => {
    let n = [`${SI.default.yellow(typeof e == "string" ? r.key(e) : r.pair(e))} is deprecated`];
    return t && n.push(`we now treat it as ${SI.default.blue(typeof t == "string" ? r.key(t) : r.pair(t))}`), n.join("; ") + ".";
  }, "mn"), xu = om(Yw(), 1), uP = Symbol.for("vnopts.VALUE_NOT_EXIST"), em = Symbol.for("vnopts.VALUE_UNCHANGED"), EI = " ".repeat(2), Uae =
  /* @__PURE__ */ a((e, t, r) => {
    let { text: n, list: o } = r.normalizeExpectedResult(r.schemas[e].expected(r)), i = [];
    return n && i.push(bI(e, t, n, r.descriptor)), o && i.push([bI(e, t, o.title, r.descriptor)].concat(o.values.map((s) => cP(s, r.loggerPrintWidth))).
    join(`
`)), pP(i, r.loggerPrintWidth);
  }, "Cn");
  a(bI, "En");
  a(cP, "gn");
  a(pP, "yn");
  xI = om(Yw(), 1), Pw = [], RI = [];
  a(Wae, "zt");
  fP = /* @__PURE__ */ a((e, t, { descriptor: r, logger: n, schemas: o }) => {
    let i = [`Ignored unknown option ${xI.default.yellow(r.pair({ key: e, value: t }))}.`], s = Object.keys(o).sort().find((l) => Wae(e, l) <
    3);
    s && i.push(`Did you mean ${xI.default.blue(r.key(s))}?`), n.warn(i.join(" "));
  }, "Dt"), qae = ["default", "expected", "validate", "deprecated", "forward", "redirect", "overlap", "preprocess", "postprocess"];
  a(Gae, "Fi");
  qa = (_u = class {
    static create(t) {
      return Gae(this, t);
    }
    constructor(t) {
      this.name = t.name;
    }
    default(t) {
    }
    expected(t) {
      return "nothing";
    }
    validate(t, r) {
      return !1;
    }
    deprecated(t, r) {
      return !1;
    }
    forward(t, r) {
    }
    redirect(t, r) {
    }
    overlap(t, r, n) {
      return t;
    }
    preprocess(t, r) {
      return t;
    }
    postprocess(t, r) {
      return em;
    }
  }, a(_u, "x"), _u);
  a(Yae, "mi");
  Kae = (Tu = class extends qa {
    constructor(t) {
      super(t), this._sourceName = t.sourceName;
    }
    expected(t) {
      return t.schemas[this._sourceName].expected(t);
    }
    validate(t, r) {
      return r.schemas[this._sourceName].validate(t, r);
    }
    redirect(t, r) {
      return this._sourceName;
    }
  }, a(Tu, "lt"), Tu), Xae = (Iu = class extends qa {
    expected() {
      return "anything";
    }
    validate() {
      return !0;
    }
  }, a(Iu, "ct"), Iu), Qae = (Pu = class extends qa {
    constructor({ valueSchema: t, name: r = t.name, ...n }) {
      super({ ...n, name: r }), this._valueSchema = t;
    }
    expected(t) {
      let { text: r, list: n } = t.normalizeExpectedResult(this._valueSchema.expected(t));
      return { text: r && `an array of ${r}`, list: n && { title: "an array of the following values", values: [{ list: n }] } };
    }
    validate(t, r) {
      if (!Array.isArray(t)) return !1;
      let n = [];
      for (let o of t) {
        let i = r.normalizeValidateResult(this._valueSchema.validate(o, r), o);
        i !== !0 && n.push(i.value);
      }
      return n.length === 0 ? !0 : { value: n };
    }
    deprecated(t, r) {
      let n = [];
      for (let o of t) {
        let i = r.normalizeDeprecatedResult(this._valueSchema.deprecated(o, r), o);
        i !== !1 && n.push(...i.map(({ value: s }) => ({ value: [s] })));
      }
      return n;
    }
    forward(t, r) {
      let n = [];
      for (let o of t) {
        let i = r.normalizeForwardResult(this._valueSchema.forward(o, r), o);
        n.push(...i.map(CI));
      }
      return n;
    }
    redirect(t, r) {
      let n = [], o = [];
      for (let i of t) {
        let s = r.normalizeRedirectResult(this._valueSchema.redirect(i, r), i);
        "remain" in s && n.push(s.remain), o.push(...s.redirect.map(CI));
      }
      return n.length === 0 ? { redirect: o } : { redirect: o, remain: n };
    }
    overlap(t, r) {
      return t.concat(r);
    }
  }, a(Pu, "ft"), Pu);
  a(CI, "vn");
  Jae = (ku = class extends qa {
    expected() {
      return "true or false";
    }
    validate(t) {
      return typeof t == "boolean";
    }
  }, a(ku, "dt"), ku);
  a(Zae, "wn");
  a(eie, "_n");
  a(tie, "xn");
  a(rie, "bn");
  a(nie, "Nn");
  a(oie, "On");
  a(aie, "Sn");
  a(DI, "Kt");
  a(dP, "Jt");
  a(AI, "qt");
  a(_I, "Xt");
  a(TI, "Bn");
  a(Uw, "pt");
  a(II, "Qt");
  a(iie, "hi");
  sie = (Fu = class extends qa {
    constructor(t) {
      super(t), this._choices = eie(t.choices.map((r) => r && typeof r == "object" ? r : { value: r }), "value");
    }
    expected({ descriptor: t }) {
      let r = Array.from(this._choices.keys()).map((i) => this._choices.get(i)).filter(({ hidden: i }) => !i).map((i) => i.value).sort(oie).
      map(t.value), n = r.slice(0, -2), o = r.slice(-2);
      return { text: n.concat(o.join(" or ")).join(", "), list: { title: "one of the following values", values: r } };
    }
    validate(t) {
      return this._choices.has(t);
    }
    deprecated(t) {
      let r = this._choices.get(t);
      return r && r.deprecated ? { value: t } : !1;
    }
    forward(t) {
      let r = this._choices.get(t);
      return r ? r.forward : void 0;
    }
    redirect(t) {
      let r = this._choices.get(t);
      return r ? r.redirect : void 0;
    }
  }, a(Fu, "Ft"), Fu), lie = (Lu = class extends qa {
    expected() {
      return "a number";
    }
    validate(t, r) {
      return typeof t == "number";
    }
  }, a(Lu, "mt"), Lu), uie = (Ou = class extends lie {
    expected() {
      return "an integer";
    }
    validate(t, r) {
      return r.normalizeValidateResult(super.validate(t, r), t) === !0 && nie(t);
    }
  }, a(Ou, "ht"), Ou), PI = (Nu = class extends qa {
    expected() {
      return "a string";
    }
    validate(t) {
      return typeof t == "string";
    }
  }, a(Nu, "je"), Nu), cie = bu, pie = fP, fie = Uae, die = Vae, hie = (Mu = class {
    constructor(t, r) {
      let { logger: n = console, loggerPrintWidth: o = 80, descriptor: i = cie, unknown: s = pie, invalid: l = fie, deprecated: u = die, missing: c = /* @__PURE__ */ a(
      () => !1, "D"), required: p = /* @__PURE__ */ a(() => !1, "l"), preprocess: h = /* @__PURE__ */ a((g) => g, "p"), postprocess: m = /* @__PURE__ */ a(
      () => em, "f") } = r || {};
      this._utils = { descriptor: i, logger: n || { warn: /* @__PURE__ */ a(() => {
      }, "warn") }, loggerPrintWidth: o, schemas: Zae(t, "name"), normalizeDefaultResult: DI, normalizeExpectedResult: dP, normalizeDeprecatedResult: _I,
      normalizeForwardResult: Uw, normalizeRedirectResult: II, normalizeValidateResult: AI }, this._unknownHandler = s, this._invalidHandler =
      aie(l), this._deprecatedHandler = u, this._identifyMissing = (g, w) => !(g in w) || c(g, w), this._identifyRequired = p, this._preprocess =
      h, this._postprocess = m, this.cleanHistory();
    }
    cleanHistory() {
      this._hasDeprecationWarned = tie();
    }
    normalize(t) {
      let r = {}, n = [this._preprocess(t, this._utils)], o = /* @__PURE__ */ a(() => {
        for (; n.length !== 0; ) {
          let i = n.shift(), s = this._applyNormalization(i, r);
          n.push(...s);
        }
      }, "i");
      o();
      for (let i of Object.keys(this._utils.schemas)) {
        let s = this._utils.schemas[i];
        if (!(i in r)) {
          let l = DI(s.default(this._utils));
          "value" in l && n.push({ [i]: l.value });
        }
      }
      o();
      for (let i of Object.keys(this._utils.schemas)) {
        if (!(i in r)) continue;
        let s = this._utils.schemas[i], l = r[i], u = s.postprocess(l, this._utils);
        u !== em && (this._applyValidation(u, i, s), r[i] = u);
      }
      return this._applyPostprocess(r), this._applyRequiredCheck(r), r;
    }
    _applyNormalization(t, r) {
      let n = [], { knownKeys: o, unknownKeys: i } = this._partitionOptionKeys(t);
      for (let s of o) {
        let l = this._utils.schemas[s], u = l.preprocess(t[s], this._utils);
        this._applyValidation(u, s, l);
        let c = /* @__PURE__ */ a(({ from: m, to: g }) => {
          n.push(typeof g == "string" ? { [g]: m } : { [g.key]: g.value });
        }, "D"), p = /* @__PURE__ */ a(({ value: m, redirectTo: g }) => {
          let w = _I(l.deprecated(m, this._utils), u, !0);
          if (w !== !1) if (w === !0) this._hasDeprecationWarned(s) || this._utils.logger.warn(this._deprecatedHandler(s, g, this._utils));
          else for (let { value: v } of w) {
            let S = { key: s, value: v };
            if (!this._hasDeprecationWarned(S)) {
              let E = typeof g == "string" ? { key: g, value: v } : g;
              this._utils.logger.warn(this._deprecatedHandler(S, E, this._utils));
            }
          }
        }, "l");
        Uw(l.forward(u, this._utils), u).forEach(c);
        let h = II(l.redirect(u, this._utils), u);
        if (h.redirect.forEach(c), "remain" in h) {
          let m = h.remain;
          r[s] = s in r ? l.overlap(r[s], m, this._utils) : m, p({ value: m });
        }
        for (let { from: m, to: g } of h.redirect) p({ value: m, redirectTo: g });
      }
      for (let s of i) {
        let l = t[s];
        this._applyUnknownHandler(s, l, r, (u, c) => {
          n.push({ [u]: c });
        });
      }
      return n;
    }
    _applyRequiredCheck(t) {
      for (let r of Object.keys(this._utils.schemas)) if (this._identifyMissing(r, t) && this._identifyRequired(r)) throw this._invalidHandler(
      r, uP, this._utils);
    }
    _partitionOptionKeys(t) {
      let [r, n] = rie(Object.keys(t).filter((o) => !this._identifyMissing(o, t)), (o) => o in this._utils.schemas);
      return { knownKeys: r, unknownKeys: n };
    }
    _applyValidation(t, r, n) {
      let o = AI(n.validate(t, this._utils), t);
      if (o !== !0) throw this._invalidHandler(r, o.value, this._utils);
    }
    _applyUnknownHandler(t, r, n, o) {
      let i = this._unknownHandler(t, r, this._utils);
      if (i) for (let s of Object.keys(i)) {
        if (this._identifyMissing(s, i)) continue;
        let l = i[s];
        s in this._utils.schemas ? o(s, l) : n[s] = l;
      }
    }
    _applyPostprocess(t) {
      let r = this._postprocess(t, this._utils);
      if (r !== em) {
        if (r.delete) for (let n of r.delete) delete t[n];
        if (r.override) {
          let { knownKeys: n, unknownKeys: o } = this._partitionOptionKeys(r.override);
          for (let i of n) {
            let s = r.override[i];
            this._applyValidation(s, i, this._utils.schemas[i]), t[i] = s;
          }
          for (let i of o) {
            let s = r.override[i];
            this._applyUnknownHandler(i, s, t, (l, u) => {
              let c = this._utils.schemas[l];
              this._applyValidation(u, l, c), t[l] = u;
            });
          }
        }
      }
    }
  }, a(Mu, "Et"), Mu);
  a(mie, "Ci");
  a(gie, "gi");
  a(vie, "yi");
  yie = mie, wie = /* @__PURE__ */ a((e, t, r) => {
    if (!(e && t == null)) {
      if (t.findLast) return t.findLast(r);
      for (let n = t.length - 1; n >= 0; n--) {
        let o = t[n];
        if (r(o, n, t)) return o;
      }
    }
  }, "Ai"), hP = wie;
  a(mP, "tr");
  a(Sie, "Rn");
  a(gP, "Ct");
  a(vP, "rr");
  a(Eie, "Yn");
  kI = { astFormat: "estree", printer: {}, originalText: void 0, locStart: null, locEnd: null };
  a(bie, "vi");
  Hu = bie, xie = om(yoe(), 1);
  a(Rie, "xi");
  a(Cie, "bi");
  bf = Rie;
  a(Die, "Mn");
  a(Aie, "Ni");
  a(_ie, "Oi");
  Tie = _ie;
  a(fm, "He");
  a(FI, "Vn");
  a(yP, "ur");
  a(Iie, "Si");
  Pie = Iie;
  a(kie, "Ti");
  Fie = kie, Lie = /* @__PURE__ */ a((e, t, r) => {
    if (!(e && t == null)) {
      if (t.findLastIndex) return t.findLastIndex(r);
      for (let n = t.length - 1; n >= 0; n--) {
        let o = t[n];
        if (r(o, n, t)) return n;
      }
      return -1;
    }
  }, "ki"), Oie = Lie, Nie = /* @__PURE__ */ a(({ parser: e }) => e === "json" || e === "json5" || e === "jsonc" || e === "json-stringify", "\
Li");
  a(Mie, "Pi");
  a(LI, "Jn");
  a(Bie, "Ii");
  a(Ww, "ir");
  a(zie, "Ri");
  wP = /* @__PURE__ */ new Set(["JsonRoot", "ObjectExpression", "ArrayExpression", "StringLiteral", "NumericLiteral", "BooleanLiteral", "Nul\
lLiteral", "UnaryExpression", "TemplateLiteral"]), Hie = /* @__PURE__ */ new Set(["OperationDefinition", "FragmentDefinition", "VariableDefi\
nition", "TypeExtensionDefinition", "ObjectTypeDefinition", "FieldDefinition", "DirectiveDefinition", "EnumTypeDefinition", "EnumValueDefini\
tion", "InputValueDefinition", "InputObjectTypeDefinition", "SchemaDefinition", "OperationTypeDefinition", "InterfaceTypeDefinition", "Union\
TypeDefinition", "ScalarTypeDefinition"]);
  a(OI, "qn");
  a($ie, "Qn");
  SP = "\uFEFF", NI = Symbol("cursor");
  a(EP, "nu");
  a(jie, "ji");
  a(Fw, "or");
  a(MI, "eu");
  a(bP, "uu");
  a(BI, "tu");
  a(xP, "sr");
  a(Vie, "iu");
  a(Uie, "ou");
  a(Wie, "su");
  a(qie, "au");
  a(Gie, "Du");
  RP = {};
  Gw(RP, { builders: /* @__PURE__ */ a(() => Yie, "builders"), printer: /* @__PURE__ */ a(() => Kie, "printer"), utils: /* @__PURE__ */ a(() => Xie,
  "utils") });
  Yie = { join: XI, line: YI, softline: joe, hardline: Ki, literalline: KI, group: qI, conditionalGroup: Noe, fill: Moe, lineSuffix: Bw, lineSuffixBoundary: Hoe,
  cursor: Yi, breakParent: sm, ifBreak: Boe, trim: $oe, indent: nm, indentIfBreak: zoe, align: zu, addAlignmentToDoc: QI, markAsRoot: Loe, dedentToRoot: Foe,
  dedent: Ooe, hardlineWithoutBreakParent: Zw, literallineWithoutBreakParent: GI, label: Voe, concat: /* @__PURE__ */ a((e) => e, "concat") },
  Kie = { printDocToString: um }, Xie = { willBreak: Zoe, traverseDoc: Qw, findInDoc: t3, mapDoc: lm, removeLines: rae, stripTrailingHardline: JI,
  replaceEndOfLine: aae, canBreak: sae }, Qie = "3.4.2", CP = {};
  Gw(CP, { addDanglingComment: /* @__PURE__ */ a(() => qi, "addDanglingComment"), addLeadingComment: /* @__PURE__ */ a(() => Su, "addLeading\
Comment"), addTrailingComment: /* @__PURE__ */ a(() => Eu, "addTrailingComment"), getAlignmentSize: /* @__PURE__ */ a(() => r3, "getAlignmen\
tSize"), getIndentSize: /* @__PURE__ */ a(() => nse, "getIndentSize"), getMaxContinuousCount: /* @__PURE__ */ a(() => ise, "getMaxContinuous\
Count"), getNextNonSpaceNonCommentCharacter: /* @__PURE__ */ a(() => lse, "getNextNonSpaceNonCommentCharacter"), getNextNonSpaceNonCommentCharacterIndex: /* @__PURE__ */ a(
  () => yse, "getNextNonSpaceNonCommentCharacterIndex"), getPreferredQuote: /* @__PURE__ */ a(() => cse, "getPreferredQuote"), getStringWidth: /* @__PURE__ */ a(
  () => e3, "getStringWidth"), hasNewline: /* @__PURE__ */ a(() => Ua, "hasNewline"), hasNewlineInRange: /* @__PURE__ */ a(() => fse, "hasNe\
wlineInRange"), hasSpaces: /* @__PURE__ */ a(() => hse, "hasSpaces"), isNextLineEmpty: /* @__PURE__ */ a(() => bse, "isNextLineEmpty"), isNextLineEmptyAfterIndex: /* @__PURE__ */ a(
  () => u3, "isNextLineEmptyAfterIndex"), isPreviousLineEmpty: /* @__PURE__ */ a(() => Sse, "isPreviousLineEmpty"), makeString: /* @__PURE__ */ a(
  () => gse, "makeString"), skip: /* @__PURE__ */ a(() => Ef, "skip"), skipEverythingButNewLine: /* @__PURE__ */ a(() => rP, "skipEverything\
ButNewLine"), skipInlineComment: /* @__PURE__ */ a(() => i3, "skipInlineComment"), skipNewline: /* @__PURE__ */ a(() => Xi, "skipNewline"), skipSpaces: /* @__PURE__ */ a(
  () => Wa, "skipSpaces"), skipToLineEnd: /* @__PURE__ */ a(() => tP, "skipToLineEnd"), skipTrailingComment: /* @__PURE__ */ a(() => s3, "sk\
ipTrailingComment"), skipWhitespace: /* @__PURE__ */ a(() => vae, "skipWhitespace") });
  a(Jie, "Ui");
  i3 = Jie;
  a(Zie, "Vi");
  s3 = Zie;
  a(ese, "zi");
  l3 = ese;
  a(tse, "Gi");
  u3 = tse;
  a(rse, "Ki");
  nse = rse;
  a(ose, "Dr");
  a(ase, "Ji");
  ise = ase;
  a(sse, "qi");
  lse = sse, Qh = "'", zI = '"';
  a(use, "Xi");
  cse = use;
  a(pse, "Qi");
  fse = pse;
  a(dse, "Zi");
  hse = dse;
  a(mse, "eo");
  gse = mse;
  a(vse, "to");
  a(yse, "ro");
  a(wse, "no");
  a(Sse, "uo");
  a(Ese, "io");
  a(bse, "oo");
  a(Gi, "de");
  DP = Gi(xP);
  a(AP, "gu");
  a(xse, "so");
  Rse = Gi(lP, 0), Cse = { parse: Gi(Vie), formatAST: Gi(Uie), formatDoc: Gi(Wie), printToDoc: Gi(qie), printDocToString: Gi(Gie) }, _P = jI;
});

// src/components/components/syntaxhighlighter/formatter.ts
var PP = {};
de(PP, {
  formatter: () => Dse
});
var IP, Dse, kP = I(() => {
  "use strict";
  IP = _(Kn(), 1);
  lI();
  TP();
  Ca();
  Dse = (0, IP.default)(2)(async (e, t) => e === !1 ? t : e === "dedent" || e === !0 ? st(t) : (await _P.format(t, {
    parser: e,
    plugins: [sI],
    htmlWhitespaceSensitivity: "ignore"
  })).trim());
});

// ../node_modules/react-popper/lib/esm/utils.js
var Hm, gS, vS, BF = I(() => {
  Hm = _(F()), gS = /* @__PURE__ */ a(function(t) {
    return t.reduce(function(r, n) {
      var o = n[0], i = n[1];
      return r[o] = i, r;
    }, {});
  }, "fromEntries"), vS = typeof window < "u" && window.document && window.document.createElement ? Hm.useLayoutEffect : Hm.useEffect;
});

// ../node_modules/@popperjs/core/lib/enums.js
var Ve, ht, nt, Ke, $m, Ka, qo, ss, zF, jm, Zu, HF, yS, Vm, tce, rce, nce, oce, ace, ice, sce, lce, uce, $F, Lr = I(() => {
  Ve = "top", ht = "bottom", nt = "right", Ke = "left", $m = "auto", Ka = [Ve, ht, nt, Ke], qo = "start", ss = "end", zF = "clippingParents",
  jm = "viewport", Zu = "popper", HF = "reference", yS = /* @__PURE__ */ Ka.reduce(function(e, t) {
    return e.concat([t + "-" + qo, t + "-" + ss]);
  }, []), Vm = /* @__PURE__ */ [].concat(Ka, [$m]).reduce(function(e, t) {
    return e.concat([t, t + "-" + qo, t + "-" + ss]);
  }, []), tce = "beforeRead", rce = "read", nce = "afterRead", oce = "beforeMain", ace = "main", ice = "afterMain", sce = "beforeWrite", lce =
  "write", uce = "afterWrite", $F = [tce, rce, nce, oce, ace, ice, sce, lce, uce];
});

// ../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js
function bt(e) {
  return e ? (e.nodeName || "").toLowerCase() : null;
}
var Xa = I(() => {
  a(bt, "getNodeName");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getWindow.js
function Le(e) {
  if (e == null)
    return window;
  if (e.toString() !== "[object Window]") {
    var t = e.ownerDocument;
    return t && t.defaultView || window;
  }
  return e;
}
var Ln = I(() => {
  a(Le, "getWindow");
});

// ../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js
function an(e) {
  var t = Le(e).Element;
  return e instanceof t || e instanceof Element;
}
function mt(e) {
  var t = Le(e).HTMLElement;
  return e instanceof t || e instanceof HTMLElement;
}
function ec(e) {
  if (typeof ShadowRoot > "u")
    return !1;
  var t = Le(e).ShadowRoot;
  return e instanceof t || e instanceof ShadowRoot;
}
var Or = I(() => {
  Ln();
  a(an, "isElement");
  a(mt, "isHTMLElement");
  a(ec, "isShadowRoot");
});

// ../node_modules/@popperjs/core/lib/modifiers/applyStyles.js
function cce(e) {
  var t = e.state;
  Object.keys(t.elements).forEach(function(r) {
    var n = t.styles[r] || {}, o = t.attributes[r] || {}, i = t.elements[r];
    !mt(i) || !bt(i) || (Object.assign(i.style, n), Object.keys(o).forEach(function(s) {
      var l = o[s];
      l === !1 ? i.removeAttribute(s) : i.setAttribute(s, l === !0 ? "" : l);
    }));
  });
}
function pce(e) {
  var t = e.state, r = {
    popper: {
      position: t.options.strategy,
      left: "0",
      top: "0",
      margin: "0"
    },
    arrow: {
      position: "absolute"
    },
    reference: {}
  };
  return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow),
  function() {
    Object.keys(t.elements).forEach(function(n) {
      var o = t.elements[n], i = t.attributes[n] || {}, s = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), l = s.reduce(function(u, c) {
        return u[c] = "", u;
      }, {});
      !mt(o) || !bt(o) || (Object.assign(o.style, l), Object.keys(i).forEach(function(u) {
        o.removeAttribute(u);
      }));
    });
  };
}
var jF, VF = I(() => {
  Xa();
  Or();
  a(cce, "applyStyles");
  a(pce, "effect");
  jF = {
    name: "applyStyles",
    enabled: !0,
    phase: "write",
    fn: cce,
    effect: pce,
    requires: ["computeStyles"]
  };
});

// ../node_modules/@popperjs/core/lib/utils/getBasePlacement.js
function xt(e) {
  return e.split("-")[0];
}
var Qa = I(() => {
  a(xt, "getBasePlacement");
});

// ../node_modules/@popperjs/core/lib/utils/math.js
var On, ls, Go, Ja = I(() => {
  On = Math.max, ls = Math.min, Go = Math.round;
});

// ../node_modules/@popperjs/core/lib/utils/userAgent.js
function tc() {
  var e = navigator.userAgentData;
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
    return t.brand + "/" + t.version;
  }).join(" ") : navigator.userAgent;
}
var wS = I(() => {
  a(tc, "getUAString");
});

// ../node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js
function Tf() {
  return !/^((?!chrome|android).)*safari/i.test(tc());
}
var SS = I(() => {
  wS();
  a(Tf, "isLayoutViewport");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js
function sn(e, t, r) {
  t === void 0 && (t = !1), r === void 0 && (r = !1);
  var n = e.getBoundingClientRect(), o = 1, i = 1;
  t && mt(e) && (o = e.offsetWidth > 0 && Go(n.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && Go(n.height) / e.offsetHeight || 1);
  var s = an(e) ? Le(e) : window, l = s.visualViewport, u = !Tf() && r, c = (n.left + (u && l ? l.offsetLeft : 0)) / o, p = (n.top + (u && l ?
  l.offsetTop : 0)) / i, h = n.width / o, m = n.height / i;
  return {
    width: h,
    height: m,
    top: p,
    right: c + h,
    bottom: p + m,
    left: c,
    x: c,
    y: p
  };
}
var rc = I(() => {
  Or();
  Ja();
  Ln();
  SS();
  a(sn, "getBoundingClientRect");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js
function us(e) {
  var t = sn(e), r = e.offsetWidth, n = e.offsetHeight;
  return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
    x: e.offsetLeft,
    y: e.offsetTop,
    width: r,
    height: n
  };
}
var Um = I(() => {
  rc();
  a(us, "getLayoutRect");
});

// ../node_modules/@popperjs/core/lib/dom-utils/contains.js
function If(e, t) {
  var r = t.getRootNode && t.getRootNode();
  if (e.contains(t))
    return !0;
  if (r && ec(r)) {
    var n = t;
    do {
      if (n && e.isSameNode(n))
        return !0;
      n = n.parentNode || n.host;
    } while (n);
  }
  return !1;
}
var ES = I(() => {
  Or();
  a(If, "contains");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js
function tr(e) {
  return Le(e).getComputedStyle(e);
}
var nc = I(() => {
  Ln();
  a(tr, "getComputedStyle");
});

// ../node_modules/@popperjs/core/lib/dom-utils/isTableElement.js
function bS(e) {
  return ["table", "td", "th"].indexOf(bt(e)) >= 0;
}
var UF = I(() => {
  Xa();
  a(bS, "isTableElement");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js
function Lt(e) {
  return ((an(e) ? e.ownerDocument : (
    // $FlowFixMe[prop-missing]
    e.document
  )) || window.document).documentElement;
}
var Yo = I(() => {
  Or();
  a(Lt, "getDocumentElement");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getParentNode.js
function Ko(e) {
  return bt(e) === "html" ? e : (
    // this is a quicker (but less type safe) way to save quite some bytes from the bundle
    // $FlowFixMe[incompatible-return]
    // $FlowFixMe[prop-missing]
    e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
    e.parentNode || // DOM Element detected
    (ec(e) ? e.host : null) || // ShadowRoot detected
    // $FlowFixMe[incompatible-call]: HTMLElement is a Node
    Lt(e)
  );
}
var Pf = I(() => {
  Xa();
  Yo();
  Or();
  a(Ko, "getParentNode");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js
function WF(e) {
  return !mt(e) || // https://github.com/popperjs/popper-core/issues/837
  tr(e).position === "fixed" ? null : e.offsetParent;
}
function fce(e) {
  var t = /firefox/i.test(tc()), r = /Trident/i.test(tc());
  if (r && mt(e)) {
    var n = tr(e);
    if (n.position === "fixed")
      return null;
  }
  var o = Ko(e);
  for (ec(o) && (o = o.host); mt(o) && ["html", "body"].indexOf(bt(o)) < 0; ) {
    var i = tr(o);
    if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !==
    -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
      return o;
    o = o.parentNode;
  }
  return null;
}
function Nn(e) {
  for (var t = Le(e), r = WF(e); r && bS(r) && tr(r).position === "static"; )
    r = WF(r);
  return r && (bt(r) === "html" || bt(r) === "body" && tr(r).position === "static") ? t : r || fce(e) || t;
}
var oc = I(() => {
  Ln();
  Xa();
  nc();
  Or();
  UF();
  Pf();
  wS();
  a(WF, "getTrueOffsetParent");
  a(fce, "getContainingBlock");
  a(Nn, "getOffsetParent");
});

// ../node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js
function cs(e) {
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
}
var Wm = I(() => {
  a(cs, "getMainAxisFromPlacement");
});

// ../node_modules/@popperjs/core/lib/utils/within.js
function ps(e, t, r) {
  return On(e, ls(t, r));
}
function qF(e, t, r) {
  var n = ps(e, t, r);
  return n > r ? r : n;
}
var xS = I(() => {
  Ja();
  a(ps, "within");
  a(qF, "withinMaxClamp");
});

// ../node_modules/@popperjs/core/lib/utils/getFreshSideObject.js
function kf() {
  return {
    top: 0,
    right: 0,
    bottom: 0,
    left: 0
  };
}
var RS = I(() => {
  a(kf, "getFreshSideObject");
});

// ../node_modules/@popperjs/core/lib/utils/mergePaddingObject.js
function Ff(e) {
  return Object.assign({}, kf(), e);
}
var CS = I(() => {
  RS();
  a(Ff, "mergePaddingObject");
});

// ../node_modules/@popperjs/core/lib/utils/expandToHashMap.js
function Lf(e, t) {
  return t.reduce(function(r, n) {
    return r[n] = e, r;
  }, {});
}
var DS = I(() => {
  a(Lf, "expandToHashMap");
});

// ../node_modules/@popperjs/core/lib/modifiers/arrow.js
function hce(e) {
  var t, r = e.state, n = e.name, o = e.options, i = r.elements.arrow, s = r.modifiersData.popperOffsets, l = xt(r.placement), u = cs(l), c = [
  Ke, nt].indexOf(l) >= 0, p = c ? "height" : "width";
  if (!(!i || !s)) {
    var h = dce(o.padding, r), m = us(i), g = u === "y" ? Ve : Ke, w = u === "y" ? ht : nt, v = r.rects.reference[p] + r.rects.reference[u] -
    s[u] - r.rects.popper[p], S = s[u] - r.rects.reference[u], E = Nn(i), y = E ? u === "y" ? E.clientHeight || 0 : E.clientWidth || 0 : 0, b = v /
    2 - S / 2, x = h[g], R = y - m[p] - h[w], C = y / 2 - m[p] / 2 + b, D = ps(x, C, R), A = u;
    r.modifiersData[n] = (t = {}, t[A] = D, t.centerOffset = D - C, t);
  }
}
function mce(e) {
  var t = e.state, r = e.options, n = r.element, o = n === void 0 ? "[data-popper-arrow]" : n;
  o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || If(t.elements.popper, o) && (t.elements.arrow = o));
}
var dce, GF, YF = I(() => {
  Qa();
  Um();
  ES();
  oc();
  Wm();
  xS();
  CS();
  DS();
  Lr();
  dce = /* @__PURE__ */ a(function(t, r) {
    return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
      placement: r.placement
    })) : t, Ff(typeof t != "number" ? t : Lf(t, Ka));
  }, "toPaddingObject");
  a(hce, "arrow");
  a(mce, "effect");
  GF = {
    name: "arrow",
    enabled: !0,
    phase: "main",
    fn: hce,
    effect: mce,
    requires: ["popperOffsets"],
    requiresIfExists: ["preventOverflow"]
  };
});

// ../node_modules/@popperjs/core/lib/utils/getVariation.js
function ln(e) {
  return e.split("-")[1];
}
var ac = I(() => {
  a(ln, "getVariation");
});

// ../node_modules/@popperjs/core/lib/modifiers/computeStyles.js
function vce(e, t) {
  var r = e.x, n = e.y, o = t.devicePixelRatio || 1;
  return {
    x: Go(r * o) / o || 0,
    y: Go(n * o) / o || 0
  };
}
function KF(e) {
  var t, r = e.popper, n = e.popperRect, o = e.placement, i = e.variation, s = e.offsets, l = e.position, u = e.gpuAcceleration, c = e.adaptive,
  p = e.roundOffsets, h = e.isFixed, m = s.x, g = m === void 0 ? 0 : m, w = s.y, v = w === void 0 ? 0 : w, S = typeof p == "function" ? p({
    x: g,
    y: v
  }) : {
    x: g,
    y: v
  };
  g = S.x, v = S.y;
  var E = s.hasOwnProperty("x"), y = s.hasOwnProperty("y"), b = Ke, x = Ve, R = window;
  if (c) {
    var C = Nn(r), D = "clientHeight", A = "clientWidth";
    if (C === Le(r) && (C = Lt(r), tr(C).position !== "static" && l === "absolute" && (D = "scrollHeight", A = "scrollWidth")), C = C, o ===
    Ve || (o === Ke || o === nt) && i === ss) {
      x = ht;
      var P = h && C === R && R.visualViewport ? R.visualViewport.height : (
        // $FlowFixMe[prop-missing]
        C[D]
      );
      v -= P - n.height, v *= u ? 1 : -1;
    }
    if (o === Ke || (o === Ve || o === ht) && i === ss) {
      b = nt;
      var k = h && C === R && R.visualViewport ? R.visualViewport.width : (
        // $FlowFixMe[prop-missing]
        C[A]
      );
      g -= k - n.width, g *= u ? 1 : -1;
    }
  }
  var M = Object.assign({
    position: l
  }, c && gce), V = p === !0 ? vce({
    x: g,
    y: v
  }, Le(r)) : {
    x: g,
    y: v
  };
  if (g = V.x, v = V.y, u) {
    var H;
    return Object.assign({}, M, (H = {}, H[x] = y ? "0" : "", H[b] = E ? "0" : "", H.transform = (R.devicePixelRatio || 1) <= 1 ? "translate\
(" + g + "px, " + v + "px)" : "translate3d(" + g + "px, " + v + "px, 0)", H));
  }
  return Object.assign({}, M, (t = {}, t[x] = y ? v + "px" : "", t[b] = E ? g + "px" : "", t.transform = "", t));
}
function yce(e) {
  var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, i = r.adaptive, s = i === void 0 ? !0 : i, l = r.roundOffsets,
  u = l === void 0 ? !0 : l, c = {
    placement: xt(t.placement),
    variation: ln(t.placement),
    popper: t.elements.popper,
    popperRect: t.rects.popper,
    gpuAcceleration: o,
    isFixed: t.options.strategy === "fixed"
  };
  t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, KF(Object.assign({}, c, {
    offsets: t.modifiersData.popperOffsets,
    position: t.options.strategy,
    adaptive: s,
    roundOffsets: u
  })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, KF(Object.assign({}, c, {
    offsets: t.modifiersData.arrow,
    position: "absolute",
    adaptive: !1,
    roundOffsets: u
  })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
    "data-popper-placement": t.placement
  });
}
var gce, XF, QF = I(() => {
  Lr();
  oc();
  Ln();
  Yo();
  nc();
  Qa();
  ac();
  Ja();
  gce = {
    top: "auto",
    right: "auto",
    bottom: "auto",
    left: "auto"
  };
  a(vce, "roundOffsetsByDPR");
  a(KF, "mapToStyles");
  a(yce, "computeStyles");
  XF = {
    name: "computeStyles",
    enabled: !0,
    phase: "beforeWrite",
    fn: yce,
    data: {}
  };
});

// ../node_modules/@popperjs/core/lib/modifiers/eventListeners.js
function wce(e) {
  var t = e.state, r = e.instance, n = e.options, o = n.scroll, i = o === void 0 ? !0 : o, s = n.resize, l = s === void 0 ? !0 : s, u = Le(t.
  elements.popper), c = [].concat(t.scrollParents.reference, t.scrollParents.popper);
  return i && c.forEach(function(p) {
    p.addEventListener("scroll", r.update, qm);
  }), l && u.addEventListener("resize", r.update, qm), function() {
    i && c.forEach(function(p) {
      p.removeEventListener("scroll", r.update, qm);
    }), l && u.removeEventListener("resize", r.update, qm);
  };
}
var qm, JF, ZF = I(() => {
  Ln();
  qm = {
    passive: !0
  };
  a(wce, "effect");
  JF = {
    name: "eventListeners",
    enabled: !0,
    phase: "write",
    fn: /* @__PURE__ */ a(function() {
    }, "fn"),
    effect: wce,
    data: {}
  };
});

// ../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js
function ic(e) {
  return e.replace(/left|right|bottom|top/g, function(t) {
    return Sce[t];
  });
}
var Sce, eL = I(() => {
  Sce = {
    left: "right",
    right: "left",
    bottom: "top",
    top: "bottom"
  };
  a(ic, "getOppositePlacement");
});

// ../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js
function Gm(e) {
  return e.replace(/start|end/g, function(t) {
    return Ece[t];
  });
}
var Ece, tL = I(() => {
  Ece = {
    start: "end",
    end: "start"
  };
  a(Gm, "getOppositeVariationPlacement");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js
function fs(e) {
  var t = Le(e), r = t.pageXOffset, n = t.pageYOffset;
  return {
    scrollLeft: r,
    scrollTop: n
  };
}
var Ym = I(() => {
  Ln();
  a(fs, "getWindowScroll");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js
function ds(e) {
  return sn(Lt(e)).left + fs(e).scrollLeft;
}
var Km = I(() => {
  rc();
  Yo();
  Ym();
  a(ds, "getWindowScrollBarX");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js
function AS(e, t) {
  var r = Le(e), n = Lt(e), o = r.visualViewport, i = n.clientWidth, s = n.clientHeight, l = 0, u = 0;
  if (o) {
    i = o.width, s = o.height;
    var c = Tf();
    (c || !c && t === "fixed") && (l = o.offsetLeft, u = o.offsetTop);
  }
  return {
    width: i,
    height: s,
    x: l + ds(e),
    y: u
  };
}
var rL = I(() => {
  Ln();
  Yo();
  Km();
  SS();
  a(AS, "getViewportRect");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js
function _S(e) {
  var t, r = Lt(e), n = fs(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, i = On(r.scrollWidth, r.clientWidth, o ? o.scrollWidth :
  0, o ? o.clientWidth : 0), s = On(r.scrollHeight, r.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), l = -n.scrollLeft + ds(
  e), u = -n.scrollTop;
  return tr(o || r).direction === "rtl" && (l += On(r.clientWidth, o ? o.clientWidth : 0) - i), {
    width: i,
    height: s,
    x: l,
    y: u
  };
}
var nL = I(() => {
  Yo();
  nc();
  Km();
  Ym();
  Ja();
  a(_S, "getDocumentRect");
});

// ../node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js
function hs(e) {
  var t = tr(e), r = t.overflow, n = t.overflowX, o = t.overflowY;
  return /auto|scroll|overlay|hidden/.test(r + o + n);
}
var Xm = I(() => {
  nc();
  a(hs, "isScrollParent");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js
function Qm(e) {
  return ["html", "body", "#document"].indexOf(bt(e)) >= 0 ? e.ownerDocument.body : mt(e) && hs(e) ? e : Qm(Ko(e));
}
var oL = I(() => {
  Pf();
  Xm();
  Xa();
  Or();
  a(Qm, "getScrollParent");
});

// ../node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js
function Za(e, t) {
  var r;
  t === void 0 && (t = []);
  var n = Qm(e), o = n === ((r = e.ownerDocument) == null ? void 0 : r.body), i = Le(n), s = o ? [i].concat(i.visualViewport || [], hs(n) ? n :
  []) : n, l = t.concat(s);
  return o ? l : (
    // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
    l.concat(Za(Ko(s)))
  );
}
var TS = I(() => {
  oL();
  Pf();
  Ln();
  Xm();
  a(Za, "listScrollParents");
});

// ../node_modules/@popperjs/core/lib/utils/rectToClientRect.js
function sc(e) {
  return Object.assign({}, e, {
    left: e.x,
    top: e.y,
    right: e.x + e.width,
    bottom: e.y + e.height
  });
}
var IS = I(() => {
  a(sc, "rectToClientRect");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js
function bce(e, t) {
  var r = sn(e, !1, t === "fixed");
  return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.
  width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
}
function aL(e, t, r) {
  return t === jm ? sc(AS(e, r)) : an(t) ? bce(t, r) : sc(_S(Lt(e)));
}
function xce(e) {
  var t = Za(Ko(e)), r = ["absolute", "fixed"].indexOf(tr(e).position) >= 0, n = r && mt(e) ? Nn(e) : e;
  return an(n) ? t.filter(function(o) {
    return an(o) && If(o, n) && bt(o) !== "body";
  }) : [];
}
function PS(e, t, r, n) {
  var o = t === "clippingParents" ? xce(e) : [].concat(t), i = [].concat(o, [r]), s = i[0], l = i.reduce(function(u, c) {
    var p = aL(e, c, n);
    return u.top = On(p.top, u.top), u.right = ls(p.right, u.right), u.bottom = ls(p.bottom, u.bottom), u.left = On(p.left, u.left), u;
  }, aL(e, s, n));
  return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
}
var iL = I(() => {
  Lr();
  rL();
  nL();
  TS();
  oc();
  Yo();
  nc();
  Or();
  rc();
  Pf();
  ES();
  Xa();
  IS();
  Ja();
  a(bce, "getInnerBoundingClientRect");
  a(aL, "getClientRectFromMixedType");
  a(xce, "getClippingParents");
  a(PS, "getClippingRect");
});

// ../node_modules/@popperjs/core/lib/utils/computeOffsets.js
function Of(e) {
  var t = e.reference, r = e.element, n = e.placement, o = n ? xt(n) : null, i = n ? ln(n) : null, s = t.x + t.width / 2 - r.width / 2, l = t.
  y + t.height / 2 - r.height / 2, u;
  switch (o) {
    case Ve:
      u = {
        x: s,
        y: t.y - r.height
      };
      break;
    case ht:
      u = {
        x: s,
        y: t.y + t.height
      };
      break;
    case nt:
      u = {
        x: t.x + t.width,
        y: l
      };
      break;
    case Ke:
      u = {
        x: t.x - r.width,
        y: l
      };
      break;
    default:
      u = {
        x: t.x,
        y: t.y
      };
  }
  var c = o ? cs(o) : null;
  if (c != null) {
    var p = c === "y" ? "height" : "width";
    switch (i) {
      case qo:
        u[c] = u[c] - (t[p] / 2 - r[p] / 2);
        break;
      case ss:
        u[c] = u[c] + (t[p] / 2 - r[p] / 2);
        break;
      default:
    }
  }
  return u;
}
var kS = I(() => {
  Qa();
  ac();
  Wm();
  Lr();
  a(Of, "computeOffsets");
});

// ../node_modules/@popperjs/core/lib/utils/detectOverflow.js
function Mn(e, t) {
  t === void 0 && (t = {});
  var r = t, n = r.placement, o = n === void 0 ? e.placement : n, i = r.strategy, s = i === void 0 ? e.strategy : i, l = r.boundary, u = l ===
  void 0 ? zF : l, c = r.rootBoundary, p = c === void 0 ? jm : c, h = r.elementContext, m = h === void 0 ? Zu : h, g = r.altBoundary, w = g ===
  void 0 ? !1 : g, v = r.padding, S = v === void 0 ? 0 : v, E = Ff(typeof S != "number" ? S : Lf(S, Ka)), y = m === Zu ? HF : Zu, b = e.rects.
  popper, x = e.elements[w ? y : m], R = PS(an(x) ? x : x.contextElement || Lt(e.elements.popper), u, p, s), C = sn(e.elements.reference), D = Of(
  {
    reference: C,
    element: b,
    strategy: "absolute",
    placement: o
  }), A = sc(Object.assign({}, b, D)), P = m === Zu ? A : C, k = {
    top: R.top - P.top + E.top,
    bottom: P.bottom - R.bottom + E.bottom,
    left: R.left - P.left + E.left,
    right: P.right - R.right + E.right
  }, M = e.modifiersData.offset;
  if (m === Zu && M) {
    var V = M[o];
    Object.keys(k).forEach(function(H) {
      var X = [nt, ht].indexOf(H) >= 0 ? 1 : -1, B = [Ve, ht].indexOf(H) >= 0 ? "y" : "x";
      k[H] += V[B] * X;
    });
  }
  return k;
}
var Nf = I(() => {
  iL();
  Yo();
  rc();
  kS();
  IS();
  Lr();
  Or();
  CS();
  DS();
  a(Mn, "detectOverflow");
});

// ../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js
function FS(e, t) {
  t === void 0 && (t = {});
  var r = t, n = r.placement, o = r.boundary, i = r.rootBoundary, s = r.padding, l = r.flipVariations, u = r.allowedAutoPlacements, c = u ===
  void 0 ? Vm : u, p = ln(n), h = p ? l ? yS : yS.filter(function(w) {
    return ln(w) === p;
  }) : Ka, m = h.filter(function(w) {
    return c.indexOf(w) >= 0;
  });
  m.length === 0 && (m = h);
  var g = m.reduce(function(w, v) {
    return w[v] = Mn(e, {
      placement: v,
      boundary: o,
      rootBoundary: i,
      padding: s
    })[xt(v)], w;
  }, {});
  return Object.keys(g).sort(function(w, v) {
    return g[w] - g[v];
  });
}
var sL = I(() => {
  ac();
  Lr();
  Nf();
  Qa();
  a(FS, "computeAutoPlacement");
});

// ../node_modules/@popperjs/core/lib/modifiers/flip.js
function Rce(e) {
  if (xt(e) === $m)
    return [];
  var t = ic(e);
  return [Gm(e), t, Gm(t)];
}
function Cce(e) {
  var t = e.state, r = e.options, n = e.name;
  if (!t.modifiersData[n]._skip) {
    for (var o = r.mainAxis, i = o === void 0 ? !0 : o, s = r.altAxis, l = s === void 0 ? !0 : s, u = r.fallbackPlacements, c = r.padding, p = r.
    boundary, h = r.rootBoundary, m = r.altBoundary, g = r.flipVariations, w = g === void 0 ? !0 : g, v = r.allowedAutoPlacements, S = t.options.
    placement, E = xt(S), y = E === S, b = u || (y || !w ? [ic(S)] : Rce(S)), x = [S].concat(b).reduce(function(Ee, Oe) {
      return Ee.concat(xt(Oe) === $m ? FS(t, {
        placement: Oe,
        boundary: p,
        rootBoundary: h,
        padding: c,
        flipVariations: w,
        allowedAutoPlacements: v
      }) : Oe);
    }, []), R = t.rects.reference, C = t.rects.popper, D = /* @__PURE__ */ new Map(), A = !0, P = x[0], k = 0; k < x.length; k++) {
      var M = x[k], V = xt(M), H = ln(M) === qo, X = [Ve, ht].indexOf(V) >= 0, B = X ? "width" : "height", O = Mn(t, {
        placement: M,
        boundary: p,
        rootBoundary: h,
        altBoundary: m,
        padding: c
      }), K = X ? H ? nt : Ke : H ? ht : Ve;
      R[B] > C[B] && (K = ic(K));
      var re = ic(K), Q = [];
      if (i && Q.push(O[V] <= 0), l && Q.push(O[K] <= 0, O[re] <= 0), Q.every(function(Ee) {
        return Ee;
      })) {
        P = M, A = !1;
        break;
      }
      D.set(M, Q);
    }
    if (A)
      for (var ue = w ? 3 : 1, Z = /* @__PURE__ */ a(function(Oe) {
        var We = x.find(function(ot) {
          var ir = D.get(ot);
          if (ir)
            return ir.slice(0, Oe).every(function(Sc) {
              return Sc;
            });
        });
        if (We)
          return P = We, "break";
      }, "_loop"), fe = ue; fe > 0; fe--) {
        var Xe = Z(fe);
        if (Xe === "break") break;
      }
    t.placement !== P && (t.modifiersData[n]._skip = !0, t.placement = P, t.reset = !0);
  }
}
var lL, uL = I(() => {
  eL();
  Qa();
  tL();
  Nf();
  sL();
  Lr();
  ac();
  a(Rce, "getExpandedFallbackPlacements");
  a(Cce, "flip");
  lL = {
    name: "flip",
    enabled: !0,
    phase: "main",
    fn: Cce,
    requiresIfExists: ["offset"],
    data: {
      _skip: !1
    }
  };
});

// ../node_modules/@popperjs/core/lib/modifiers/hide.js
function cL(e, t, r) {
  return r === void 0 && (r = {
    x: 0,
    y: 0
  }), {
    top: e.top - t.height - r.y,
    right: e.right - t.width + r.x,
    bottom: e.bottom - t.height + r.y,
    left: e.left - t.width - r.x
  };
}
function pL(e) {
  return [Ve, nt, ht, Ke].some(function(t) {
    return e[t] >= 0;
  });
}
function Dce(e) {
  var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, i = t.modifiersData.preventOverflow, s = Mn(t, {
    elementContext: "reference"
  }), l = Mn(t, {
    altBoundary: !0
  }), u = cL(s, n), c = cL(l, o, i), p = pL(u), h = pL(c);
  t.modifiersData[r] = {
    referenceClippingOffsets: u,
    popperEscapeOffsets: c,
    isReferenceHidden: p,
    hasPopperEscaped: h
  }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
    "data-popper-reference-hidden": p,
    "data-popper-escaped": h
  });
}
var fL, dL = I(() => {
  Lr();
  Nf();
  a(cL, "getSideOffsets");
  a(pL, "isAnySideFullyClipped");
  a(Dce, "hide");
  fL = {
    name: "hide",
    enabled: !0,
    phase: "main",
    requiresIfExists: ["preventOverflow"],
    fn: Dce
  };
});

// ../node_modules/@popperjs/core/lib/modifiers/offset.js
function Ace(e, t, r) {
  var n = xt(e), o = [Ke, Ve].indexOf(n) >= 0 ? -1 : 1, i = typeof r == "function" ? r(Object.assign({}, t, {
    placement: e
  })) : r, s = i[0], l = i[1];
  return s = s || 0, l = (l || 0) * o, [Ke, nt].indexOf(n) >= 0 ? {
    x: l,
    y: s
  } : {
    x: s,
    y: l
  };
}
function _ce(e) {
  var t = e.state, r = e.options, n = e.name, o = r.offset, i = o === void 0 ? [0, 0] : o, s = Vm.reduce(function(p, h) {
    return p[h] = Ace(h, t.rects, i), p;
  }, {}), l = s[t.placement], u = l.x, c = l.y;
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += u, t.modifiersData.popperOffsets.y += c), t.modifiersData[n] =
  s;
}
var hL, mL = I(() => {
  Qa();
  Lr();
  a(Ace, "distanceAndSkiddingToXY");
  a(_ce, "offset");
  hL = {
    name: "offset",
    enabled: !0,
    phase: "main",
    requires: ["popperOffsets"],
    fn: _ce
  };
});

// ../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js
function Tce(e) {
  var t = e.state, r = e.name;
  t.modifiersData[r] = Of({
    reference: t.rects.reference,
    element: t.rects.popper,
    strategy: "absolute",
    placement: t.placement
  });
}
var gL, vL = I(() => {
  kS();
  a(Tce, "popperOffsets");
  gL = {
    name: "popperOffsets",
    enabled: !0,
    phase: "read",
    fn: Tce,
    data: {}
  };
});

// ../node_modules/@popperjs/core/lib/utils/getAltAxis.js
function LS(e) {
  return e === "x" ? "y" : "x";
}
var yL = I(() => {
  a(LS, "getAltAxis");
});

// ../node_modules/@popperjs/core/lib/modifiers/preventOverflow.js
function Ice(e) {
  var t = e.state, r = e.options, n = e.name, o = r.mainAxis, i = o === void 0 ? !0 : o, s = r.altAxis, l = s === void 0 ? !1 : s, u = r.boundary,
  c = r.rootBoundary, p = r.altBoundary, h = r.padding, m = r.tether, g = m === void 0 ? !0 : m, w = r.tetherOffset, v = w === void 0 ? 0 : w,
  S = Mn(t, {
    boundary: u,
    rootBoundary: c,
    padding: h,
    altBoundary: p
  }), E = xt(t.placement), y = ln(t.placement), b = !y, x = cs(E), R = LS(x), C = t.modifiersData.popperOffsets, D = t.rects.reference, A = t.
  rects.popper, P = typeof v == "function" ? v(Object.assign({}, t.rects, {
    placement: t.placement
  })) : v, k = typeof P == "number" ? {
    mainAxis: P,
    altAxis: P
  } : Object.assign({
    mainAxis: 0,
    altAxis: 0
  }, P), M = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, V = {
    x: 0,
    y: 0
  };
  if (C) {
    if (i) {
      var H, X = x === "y" ? Ve : Ke, B = x === "y" ? ht : nt, O = x === "y" ? "height" : "width", K = C[x], re = K + S[X], Q = K - S[B], ue = g ?
      -A[O] / 2 : 0, Z = y === qo ? D[O] : A[O], fe = y === qo ? -A[O] : -D[O], Xe = t.elements.arrow, Ee = g && Xe ? us(Xe) : {
        width: 0,
        height: 0
      }, Oe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : kf(), We = Oe[X], ot = Oe[B], ir = ps(0, D[O],
      Ee[O]), Sc = b ? D[O] / 2 - ue - ir - We - k.mainAxis : Z - ir - We - k.mainAxis, Ec = b ? -D[O] / 2 + ue + ir + ot + k.mainAxis : fe +
      ir + ot + k.mainAxis, Jg = t.elements.arrow && Nn(t.elements.arrow), tz = Jg ? x === "y" ? Jg.clientTop || 0 : Jg.clientLeft || 0 : 0,
      xb = (H = M?.[x]) != null ? H : 0, rz = K + Sc - xb - tz, nz = K + Ec - xb, Rb = ps(g ? ls(re, rz) : re, K, g ? On(Q, nz) : Q);
      C[x] = Rb, V[x] = Rb - K;
    }
    if (l) {
      var Cb, oz = x === "x" ? Ve : Ke, az = x === "x" ? ht : nt, ii = C[R], v0 = R === "y" ? "height" : "width", Db = ii + S[oz], Ab = ii -
      S[az], Zg = [Ve, Ke].indexOf(E) !== -1, _b = (Cb = M?.[R]) != null ? Cb : 0, W = Zg ? Db : ii - D[v0] - A[v0] - _b + k.altAxis, Tb = Zg ?
      ii + D[v0] + A[v0] - _b - k.altAxis : Ab, Ib = g && Zg ? qF(W, ii, Tb) : ps(g ? W : Db, ii, g ? Tb : Ab);
      C[R] = Ib, V[R] = Ib - ii;
    }
    t.modifiersData[n] = V;
  }
}
var wL, SL = I(() => {
  Lr();
  Qa();
  Wm();
  yL();
  xS();
  Um();
  oc();
  Nf();
  ac();
  RS();
  Ja();
  a(Ice, "preventOverflow");
  wL = {
    name: "preventOverflow",
    enabled: !0,
    phase: "main",
    fn: Ice,
    requiresIfExists: ["offset"]
  };
});

// ../node_modules/@popperjs/core/lib/modifiers/index.js
var OS = I(() => {
});

// ../node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js
function NS(e) {
  return {
    scrollLeft: e.scrollLeft,
    scrollTop: e.scrollTop
  };
}
var EL = I(() => {
  a(NS, "getHTMLElementScroll");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js
function MS(e) {
  return e === Le(e) || !mt(e) ? fs(e) : NS(e);
}
var bL = I(() => {
  Ym();
  Ln();
  Or();
  EL();
  a(MS, "getNodeScroll");
});

// ../node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js
function Pce(e) {
  var t = e.getBoundingClientRect(), r = Go(t.width) / e.offsetWidth || 1, n = Go(t.height) / e.offsetHeight || 1;
  return r !== 1 || n !== 1;
}
function BS(e, t, r) {
  r === void 0 && (r = !1);
  var n = mt(t), o = mt(t) && Pce(t), i = Lt(t), s = sn(e, o, r), l = {
    scrollLeft: 0,
    scrollTop: 0
  }, u = {
    x: 0,
    y: 0
  };
  return (n || !n && !r) && ((bt(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
  hs(i)) && (l = MS(t)), mt(t) ? (u = sn(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : i && (u.x = ds(i))), {
    x: s.left + l.scrollLeft - u.x,
    y: s.top + l.scrollTop - u.y,
    width: s.width,
    height: s.height
  };
}
var xL = I(() => {
  rc();
  bL();
  Xa();
  Or();
  Km();
  Yo();
  Xm();
  Ja();
  a(Pce, "isElementScaled");
  a(BS, "getCompositeRect");
});

// ../node_modules/@popperjs/core/lib/utils/orderModifiers.js
function kce(e) {
  var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
  e.forEach(function(i) {
    t.set(i.name, i);
  });
  function o(i) {
    r.add(i.name);
    var s = [].concat(i.requires || [], i.requiresIfExists || []);
    s.forEach(function(l) {
      if (!r.has(l)) {
        var u = t.get(l);
        u && o(u);
      }
    }), n.push(i);
  }
  return a(o, "sort"), e.forEach(function(i) {
    r.has(i.name) || o(i);
  }), n;
}
function zS(e) {
  var t = kce(e);
  return $F.reduce(function(r, n) {
    return r.concat(t.filter(function(o) {
      return o.phase === n;
    }));
  }, []);
}
var RL = I(() => {
  Lr();
  a(kce, "order");
  a(zS, "orderModifiers");
});

// ../node_modules/@popperjs/core/lib/utils/debounce.js
function HS(e) {
  var t;
  return function() {
    return t || (t = new Promise(function(r) {
      Promise.resolve().then(function() {
        t = void 0, r(e());
      });
    })), t;
  };
}
var CL = I(() => {
  a(HS, "debounce");
});

// ../node_modules/@popperjs/core/lib/utils/mergeByName.js
function $S(e) {
  var t = e.reduce(function(r, n) {
    var o = r[n.name];
    return r[n.name] = o ? Object.assign({}, o, n, {
      options: Object.assign({}, o.options, n.options),
      data: Object.assign({}, o.data, n.data)
    }) : n, r;
  }, {});
  return Object.keys(t).map(function(r) {
    return t[r];
  });
}
var DL = I(() => {
  a($S, "mergeByName");
});

// ../node_modules/@popperjs/core/lib/createPopper.js
function _L() {
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
    t[r] = arguments[r];
  return !t.some(function(n) {
    return !(n && typeof n.getBoundingClientRect == "function");
  });
}
function TL(e) {
  e === void 0 && (e = {});
  var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, o = t.defaultOptions, i = o === void 0 ? AL : o;
  return /* @__PURE__ */ a(function(l, u, c) {
    c === void 0 && (c = i);
    var p = {
      placement: "bottom",
      orderedModifiers: [],
      options: Object.assign({}, AL, i),
      modifiersData: {},
      elements: {
        reference: l,
        popper: u
      },
      attributes: {},
      styles: {}
    }, h = [], m = !1, g = {
      state: p,
      setOptions: /* @__PURE__ */ a(function(E) {
        var y = typeof E == "function" ? E(p.options) : E;
        v(), p.options = Object.assign({}, i, p.options, y), p.scrollParents = {
          reference: an(l) ? Za(l) : l.contextElement ? Za(l.contextElement) : [],
          popper: Za(u)
        };
        var b = zS($S([].concat(n, p.options.modifiers)));
        return p.orderedModifiers = b.filter(function(x) {
          return x.enabled;
        }), w(), g.update();
      }, "setOptions"),
      // Sync update – it will always be executed, even if not necessary. This
      // is useful for low frequency updates where sync behavior simplifies the
      // logic.
      // For high frequency updates (e.g. `resize` and `scroll` events), always
      // prefer the async Popper#update method
      forceUpdate: /* @__PURE__ */ a(function() {
        if (!m) {
          var E = p.elements, y = E.reference, b = E.popper;
          if (_L(y, b)) {
            p.rects = {
              reference: BS(y, Nn(b), p.options.strategy === "fixed"),
              popper: us(b)
            }, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(k) {
              return p.modifiersData[k.name] = Object.assign({}, k.data);
            });
            for (var x = 0; x < p.orderedModifiers.length; x++) {
              if (p.reset === !0) {
                p.reset = !1, x = -1;
                continue;
              }
              var R = p.orderedModifiers[x], C = R.fn, D = R.options, A = D === void 0 ? {} : D, P = R.name;
              typeof C == "function" && (p = C({
                state: p,
                options: A,
                name: P,
                instance: g
              }) || p);
            }
          }
        }
      }, "forceUpdate"),
      // Async and optimistically optimized update – it will not be executed if
      // not necessary (debounced to run at most once-per-tick)
      update: HS(function() {
        return new Promise(function(S) {
          g.forceUpdate(), S(p);
        });
      }),
      destroy: /* @__PURE__ */ a(function() {
        v(), m = !0;
      }, "destroy")
    };
    if (!_L(l, u))
      return g;
    g.setOptions(c).then(function(S) {
      !m && c.onFirstUpdate && c.onFirstUpdate(S);
    });
    function w() {
      p.orderedModifiers.forEach(function(S) {
        var E = S.name, y = S.options, b = y === void 0 ? {} : y, x = S.effect;
        if (typeof x == "function") {
          var R = x({
            state: p,
            name: E,
            instance: g,
            options: b
          }), C = /* @__PURE__ */ a(function() {
          }, "noopFn");
          h.push(R || C);
        }
      });
    }
    a(w, "runModifierEffects");
    function v() {
      h.forEach(function(S) {
        return S();
      }), h = [];
    }
    return a(v, "cleanupModifierEffects"), g;
  }, "createPopper");
}
var AL, IL = I(() => {
  xL();
  Um();
  TS();
  oc();
  RL();
  CL();
  DL();
  Or();
  AL = {
    placement: "bottom",
    modifiers: [],
    strategy: "absolute"
  };
  a(_L, "areValidElements");
  a(TL, "popperGenerator");
});

// ../node_modules/@popperjs/core/lib/popper.js
var Fce, jS, PL = I(() => {
  IL();
  ZF();
  vL();
  QF();
  VF();
  mL();
  uL();
  SL();
  YF();
  dL();
  OS();
  Fce = [JF, gL, XF, jF, hL, lL, wL, GF, fL], jS = /* @__PURE__ */ TL({
    defaultModifiers: Fce
  });
});

// ../node_modules/@popperjs/core/lib/index.js
var kL = I(() => {
  Lr();
  OS();
  PL();
});

// ../node_modules/react-fast-compare/index.js
var LL = L((i9e, FL) => {
  var Lce = typeof Element < "u", Oce = typeof Map == "function", Nce = typeof Set == "function", Mce = typeof ArrayBuffer == "function" && !!ArrayBuffer.
  isView;
  function Jm(e, t) {
    if (e === t) return !0;
    if (e && t && typeof e == "object" && typeof t == "object") {
      if (e.constructor !== t.constructor) return !1;
      var r, n, o;
      if (Array.isArray(e)) {
        if (r = e.length, r != t.length) return !1;
        for (n = r; n-- !== 0; )
          if (!Jm(e[n], t[n])) return !1;
        return !0;
      }
      var i;
      if (Oce && e instanceof Map && t instanceof Map) {
        if (e.size !== t.size) return !1;
        for (i = e.entries(); !(n = i.next()).done; )
          if (!t.has(n.value[0])) return !1;
        for (i = e.entries(); !(n = i.next()).done; )
          if (!Jm(n.value[1], t.get(n.value[0]))) return !1;
        return !0;
      }
      if (Nce && e instanceof Set && t instanceof Set) {
        if (e.size !== t.size) return !1;
        for (i = e.entries(); !(n = i.next()).done; )
          if (!t.has(n.value[0])) return !1;
        return !0;
      }
      if (Mce && ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) {
        if (r = e.length, r != t.length) return !1;
        for (n = r; n-- !== 0; )
          if (e[n] !== t[n]) return !1;
        return !0;
      }
      if (e.constructor === RegExp) return e.source === t.source && e.flags === t.flags;
      if (e.valueOf !== Object.prototype.valueOf && typeof e.valueOf == "function" && typeof t.valueOf == "function") return e.valueOf() ===
      t.valueOf();
      if (e.toString !== Object.prototype.toString && typeof e.toString == "function" && typeof t.toString == "function") return e.toString() ===
      t.toString();
      if (o = Object.keys(e), r = o.length, r !== Object.keys(t).length) return !1;
      for (n = r; n-- !== 0; )
        if (!Object.prototype.hasOwnProperty.call(t, o[n])) return !1;
      if (Lce && e instanceof Element) return !1;
      for (n = r; n-- !== 0; )
        if (!((o[n] === "_owner" || o[n] === "__v" || o[n] === "__o") && e.$$typeof) && !Jm(e[o[n]], t[o[n]]))
          return !1;
      return !0;
    }
    return e !== e && t !== t;
  }
  a(Jm, "equal");
  FL.exports = /* @__PURE__ */ a(function(t, r) {
    try {
      return Jm(t, r);
    } catch (n) {
      if ((n.message || "").match(/stack|recursion/i))
        return console.warn("react-fast-compare cannot handle circular refs"), !1;
      throw n;
    }
  }, "isEqual");
});

// ../node_modules/react-popper/lib/esm/usePopper.js
var ei, OL, NL, Bce, VS, ML = I(() => {
  ei = _(F()), OL = _(Wr());
  kL();
  NL = _(LL());
  BF();
  Bce = [], VS = /* @__PURE__ */ a(function(t, r, n) {
    n === void 0 && (n = {});
    var o = ei.useRef(null), i = {
      onFirstUpdate: n.onFirstUpdate,
      placement: n.placement || "bottom",
      strategy: n.strategy || "absolute",
      modifiers: n.modifiers || Bce
    }, s = ei.useState({
      styles: {
        popper: {
          position: i.strategy,
          left: "0",
          top: "0"
        },
        arrow: {
          position: "absolute"
        }
      },
      attributes: {}
    }), l = s[0], u = s[1], c = ei.useMemo(function() {
      return {
        name: "updateState",
        enabled: !0,
        phase: "write",
        fn: /* @__PURE__ */ a(function(g) {
          var w = g.state, v = Object.keys(w.elements);
          OL.flushSync(function() {
            u({
              styles: gS(v.map(function(S) {
                return [S, w.styles[S] || {}];
              })),
              attributes: gS(v.map(function(S) {
                return [S, w.attributes[S]];
              }))
            });
          });
        }, "fn"),
        requires: ["computeStyles"]
      };
    }, []), p = ei.useMemo(function() {
      var m = {
        onFirstUpdate: i.onFirstUpdate,
        placement: i.placement,
        strategy: i.strategy,
        modifiers: [].concat(i.modifiers, [c, {
          name: "applyStyles",
          enabled: !1
        }])
      };
      return (0, NL.default)(o.current, m) ? o.current || m : (o.current = m, m);
    }, [i.onFirstUpdate, i.placement, i.strategy, i.modifiers, c]), h = ei.useRef();
    return vS(function() {
      h.current && h.current.setOptions(p);
    }, [p]), vS(function() {
      if (!(t == null || r == null)) {
        var m = n.createPopper || jS, g = m(t, r, p);
        return h.current = g, function() {
          g.destroy(), h.current = null;
        };
      }
    }, [t, r, n.createPopper]), {
      state: h.current ? h.current.state : null,
      styles: l.styles,
      attributes: l.attributes,
      update: h.current ? h.current.update : null,
      forceUpdate: h.current ? h.current.forceUpdate : null
    };
  }, "usePopper");
});

// ../node_modules/react-popper/lib/esm/index.js
var BL = I(() => {
  ML();
});

// ../node_modules/react-popper-tooltip/dist/esm/react-popper-tooltip.js
function $L(e) {
  var t = Se.useRef(e);
  return t.current = e, Se.useCallback(function() {
    return t.current;
  }, []);
}
function Hce(e) {
  var t = e.initial, r = e.value, n = e.onChange, o = n === void 0 ? zce : n;
  if (t === void 0 && r === void 0)
    throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');
  var i = Se.useState(t), s = i[0], l = i[1], u = $L(s), c = Se.useCallback(function(h) {
    var m = u(), g = typeof h == "function" ? h(m) : h;
    typeof g.persist == "function" && g.persist(), l(g), typeof o == "function" && o(g);
  }, [u, o]), p = r !== void 0;
  return [p ? r : s, p ? o : c];
}
function jL(e, t) {
  return e === void 0 && (e = 0), t === void 0 && (t = 0), function() {
    return {
      width: 0,
      height: 0,
      top: t,
      right: e,
      bottom: t,
      left: e,
      x: 0,
      y: 0,
      toJSON: /* @__PURE__ */ a(function() {
        return null;
      }, "toJSON")
    };
  };
}
function VL(e, t) {
  var r, n, o;
  e === void 0 && (e = {}), t === void 0 && (t = {});
  var i = Object.keys(HL).reduce(function(B, O) {
    var K;
    return be({}, B, (K = {}, K[O] = B[O] !== void 0 ? B[O] : HL[O], K));
  }, e), s = Se.useMemo(
    function() {
      return [{
        name: "offset",
        options: {
          offset: i.offset
        }
      }];
    },
    // eslint-disable-next-line react-hooks/exhaustive-deps
    Array.isArray(i.offset) ? i.offset : []
  ), l = be({}, t, {
    placement: t.placement || i.placement,
    modifiers: t.modifiers || s
  }), u = Se.useState(null), c = u[0], p = u[1], h = Se.useState(null), m = h[0], g = h[1], w = Hce({
    initial: i.defaultVisible,
    value: i.visible,
    onChange: i.onVisibleChange
  }), v = w[0], S = w[1], E = Se.useRef();
  Se.useEffect(function() {
    return function() {
      return clearTimeout(E.current);
    };
  }, []);
  var y = VS(i.followCursor ? zL : c, m, l), b = y.styles, x = y.attributes, R = Rl(y, $ce), C = R.update, D = $L({
    visible: v,
    triggerRef: c,
    tooltipRef: m,
    finalConfig: i
  }), A = Se.useCallback(
    function(B) {
      return Array.isArray(i.trigger) ? i.trigger.includes(B) : i.trigger === B;
    },
    // eslint-disable-next-line react-hooks/exhaustive-deps
    Array.isArray(i.trigger) ? i.trigger : [i.trigger]
  ), P = Se.useCallback(function() {
    clearTimeout(E.current), E.current = window.setTimeout(function() {
      return S(!1);
    }, i.delayHide);
  }, [i.delayHide, S]), k = Se.useCallback(function() {
    clearTimeout(E.current), E.current = window.setTimeout(function() {
      return S(!0);
    }, i.delayShow);
  }, [i.delayShow, S]), M = Se.useCallback(function() {
    D().visible ? P() : k();
  }, [D, P, k]);
  Se.useEffect(function() {
    if (D().finalConfig.closeOnOutsideClick) {
      var B = /* @__PURE__ */ a(function(K) {
        var re, Q = D(), ue = Q.tooltipRef, Z = Q.triggerRef, fe = (K.composedPath == null || (re = K.composedPath()) == null ? void 0 : re[0]) ||
        K.target;
        fe instanceof Node && ue != null && Z != null && !ue.contains(fe) && !Z.contains(fe) && P();
      }, "handleClickOutside");
      return document.addEventListener("mousedown", B), function() {
        return document.removeEventListener("mousedown", B);
      };
    }
  }, [D, P]), Se.useEffect(function() {
    if (!(c == null || !A("click")))
      return c.addEventListener("click", M), function() {
        return c.removeEventListener("click", M);
      };
  }, [c, A, M]), Se.useEffect(function() {
    if (!(c == null || !A("double-click")))
      return c.addEventListener("dblclick", M), function() {
        return c.removeEventListener("dblclick", M);
      };
  }, [c, A, M]), Se.useEffect(function() {
    if (!(c == null || !A("right-click"))) {
      var B = /* @__PURE__ */ a(function(K) {
        K.preventDefault(), M();
      }, "preventDefaultAndToggle");
      return c.addEventListener("contextmenu", B), function() {
        return c.removeEventListener("contextmenu", B);
      };
    }
  }, [c, A, M]), Se.useEffect(function() {
    if (!(c == null || !A("focus")))
      return c.addEventListener("focus", k), c.addEventListener("blur", P), function() {
        c.removeEventListener("focus", k), c.removeEventListener("blur", P);
      };
  }, [c, A, k, P]), Se.useEffect(function() {
    if (!(c == null || !A("hover")))
      return c.addEventListener("mouseenter", k), c.addEventListener("mouseleave", P), function() {
        c.removeEventListener("mouseenter", k), c.removeEventListener("mouseleave", P);
      };
  }, [c, A, k, P]), Se.useEffect(function() {
    if (!(m == null || !A("hover") || !D().finalConfig.interactive))
      return m.addEventListener("mouseenter", k), m.addEventListener("mouseleave", P), function() {
        m.removeEventListener("mouseenter", k), m.removeEventListener("mouseleave", P);
      };
  }, [m, A, k, P, D]);
  var V = R == null || (r = R.state) == null || (n = r.modifiersData) == null || (o = n.hide) == null ? void 0 : o.isReferenceHidden;
  Se.useEffect(function() {
    i.closeOnTriggerHidden && V && P();
  }, [i.closeOnTriggerHidden, P, V]), Se.useEffect(function() {
    if (!i.followCursor || c == null) return;
    function B(O) {
      var K = O.clientX, re = O.clientY;
      zL.getBoundingClientRect = jL(K, re), C?.();
    }
    return a(B, "setMousePosition"), c.addEventListener("mousemove", B), function() {
      return c.removeEventListener("mousemove", B);
    };
  }, [i.followCursor, c, C]), Se.useEffect(function() {
    if (!(m == null || C == null || i.mutationObserverOptions == null)) {
      var B = new MutationObserver(C);
      return B.observe(m, i.mutationObserverOptions), function() {
        return B.disconnect();
      };
    }
  }, [i.mutationObserverOptions, m, C]);
  var H = /* @__PURE__ */ a(function(O) {
    return O === void 0 && (O = {}), be({}, O, {
      style: be({}, O.style, b.popper)
    }, x.popper, {
      "data-popper-interactive": i.interactive
    });
  }, "getTooltipProps"), X = /* @__PURE__ */ a(function(O) {
    return O === void 0 && (O = {}), be({}, O, x.arrow, {
      style: be({}, O.style, b.arrow),
      "data-popper-arrow": !0
    });
  }, "getArrowProps");
  return be({
    getArrowProps: X,
    getTooltipProps: H,
    setTooltipRef: g,
    setTriggerRef: p,
    tooltipRef: m,
    triggerRef: c,
    visible: v
  }, R);
}
var Se, zce, $ce, zL, HL, UL = I(() => {
  N1();
  Xn();
  Se = _(F());
  BL();
  a($L, "useGetLatest");
  zce = /* @__PURE__ */ a(function() {
  }, "noop");
  a(Hce, "useControlledState");
  a(jL, "generateBoundingClientRect");
  $ce = ["styles", "attributes"], zL = {
    getBoundingClientRect: jL()
  }, HL = {
    closeOnOutsideClick: !0,
    closeOnTriggerHidden: !1,
    defaultVisible: !1,
    delayHide: 0,
    delayShow: 0,
    followCursor: !1,
    interactive: !1,
    mutationObserverOptions: {
      attributes: !0,
      childList: !0,
      subtree: !0
    },
    offset: [0, 6],
    trigger: "hover"
  };
  a(VL, "usePopperTooltip");
});

// src/components/components/tooltip/Tooltip.tsx
var Zm, WL, un, ti, jce, Vce, US, qL = I(() => {
  "use strict";
  Zm = _(F(), 1);
  Y();
  WL = _(Kn(), 1), un = (0, WL.default)(1e3)(
    (e, t, r, n = 0) => t.split("-")[0] === e ? r : n
  ), ti = 8, jce = T.div(
    {
      position: "absolute",
      borderStyle: "solid"
    },
    ({ placement: e }) => {
      let t = 0, r = 0;
      switch (!0) {
        case (e.startsWith("left") || e.startsWith("right")): {
          r = 8;
          break;
        }
        case (e.startsWith("top") || e.startsWith("bottom")): {
          t = 8;
          break;
        }
        default:
      }
      return { transform: `translate3d(${t}px, ${r}px, 0px)` };
    },
    ({ theme: e, color: t, placement: r }) => ({
      bottom: `${un("top", r, `${ti * -1}px`, "auto")}`,
      top: `${un("bottom", r, `${ti * -1}px`, "auto")}`,
      right: `${un("left", r, `${ti * -1}px`, "auto")}`,
      left: `${un("right", r, `${ti * -1}px`, "auto")}`,
      borderBottomWidth: `${un("top", r, "0", ti)}px`,
      borderTopWidth: `${un("bottom", r, "0", ti)}px`,
      borderRightWidth: `${un("left", r, "0", ti)}px`,
      borderLeftWidth: `${un("right", r, "0", ti)}px`,
      borderTopColor: un(
        "top",
        r,
        e.color[t] || t || e.base === "light" ? Fa(e.background.app) : e.background.app,
        "transparent"
      ),
      borderBottomColor: un(
        "bottom",
        r,
        e.color[t] || t || e.base === "light" ? Fa(e.background.app) : e.background.app,
        "transparent"
      ),
      borderLeftColor: un(
        "left",
        r,
        e.color[t] || t || e.base === "light" ? Fa(e.background.app) : e.background.app,
        "transparent"
      ),
      borderRightColor: un(
        "right",
        r,
        e.color[t] || t || e.base === "light" ? Fa(e.background.app) : e.background.app,
        "transparent"
      )
    })
  ), Vce = T.div(
    ({ hidden: e }) => ({
      display: e ? "none" : "inline-block",
      zIndex: 2147483647
    }),
    ({ theme: e, color: t, hasChrome: r }) => r ? {
      background: t && e.color[t] || t || e.base === "light" ? Fa(e.background.app) : e.background.app,
      filter: `
            drop-shadow(0px 5px 5px rgba(0,0,0,0.05))
            drop-shadow(0 1px 3px rgba(0,0,0,0.1))
          `,
      borderRadius: e.appBorderRadius + 2,
      fontSize: e.typography.size.s1
    } : {}
  ), US = Zm.default.forwardRef(
    ({
      placement: e = "top",
      hasChrome: t = !0,
      children: r,
      arrowProps: n = {},
      tooltipRef: o,
      color: i,
      withArrows: s,
      ...l
    }, u) => /* @__PURE__ */ Zm.default.createElement(Vce, { "data-testid": "tooltip", hasChrome: t, ref: u, ...l, color: i }, t && s && /* @__PURE__ */ Zm.default.
    createElement(jce, { placement: e, ...n, color: i }), r)
  );
  US.displayName = "Tooltip";
});

// src/components/components/tooltip/WithTooltip.tsx
var qS = {};
de(qS, {
  WithToolTipState: () => WS,
  WithTooltip: () => WS,
  WithTooltipPure: () => YL
});
var cn, GL, eg, Uce, Wce, YL, WS, tg = I(() => {
  "use strict";
  cn = _(F(), 1), GL = _(Wr(), 1);
  Y();
  qe();
  UL();
  qL();
  ({ document: eg } = z), Uce = T.div`
  display: inline-block;
  cursor: ${(e) => (
    // @ts-expect-error (non strict)
    e.trigger === "hover" || e.trigger.includes("hover") ? "default" : "pointer"
  )};
`, Wce = T.g`
  cursor: ${(e) => (
    // @ts-expect-error (non strict)
    e.trigger === "hover" || e.trigger.includes("hover") ? "default" : "pointer"
  )};
`, YL = /* @__PURE__ */ a(({
    svg: e = !1,
    trigger: t = "click",
    closeOnOutsideClick: r = !1,
    placement: n = "top",
    modifiers: o = [
      {
        name: "preventOverflow",
        options: {
          padding: 8
        }
      },
      {
        name: "offset",
        options: {
          offset: [8, 8]
        }
      },
      {
        name: "arrow",
        options: {
          padding: 8
        }
      }
    ],
    hasChrome: i = !0,
    defaultVisible: s = !1,
    withArrows: l,
    offset: u,
    tooltip: c,
    children: p,
    closeOnTriggerHidden: h,
    mutationObserverOptions: m,
    delayHide: g,
    visible: w,
    interactive: v,
    delayShow: S,
    strategy: E,
    followCursor: y,
    onVisibleChange: b,
    ...x
  }) => {
    let R = e ? Wce : Uce, {
      getArrowProps: C,
      getTooltipProps: D,
      setTooltipRef: A,
      setTriggerRef: P,
      visible: k,
      state: M
    } = VL(
      {
        trigger: t,
        placement: n,
        defaultVisible: s,
        delayHide: g,
        interactive: v,
        closeOnOutsideClick: r,
        closeOnTriggerHidden: h,
        onVisibleChange: b,
        delayShow: S,
        followCursor: y,
        mutationObserverOptions: m,
        visible: w,
        offset: u
      },
      {
        modifiers: o,
        strategy: E
      }
    ), V = k ? /* @__PURE__ */ cn.default.createElement(
      US,
      {
        placement: M?.placement,
        ref: A,
        hasChrome: i,
        arrowProps: C(),
        withArrows: l,
        ...D()
      },
      typeof c == "function" ? c({ onHide: /* @__PURE__ */ a(() => b(!1), "onHide") }) : c
    ) : null;
    return /* @__PURE__ */ cn.default.createElement(cn.default.Fragment, null, /* @__PURE__ */ cn.default.createElement(R, { trigger: t, ref: P,
    ...x }, p), k && GL.default.createPortal(V, eg.body));
  }, "WithTooltipPure"), WS = /* @__PURE__ */ a(({
    startOpen: e = !1,
    onVisibleChange: t,
    ...r
  }) => {
    let [n, o] = (0, cn.useState)(e), i = (0, cn.useCallback)(
      (s) => {
        t && t(s) === !1 || o(s);
      },
      [t]
    );
    return (0, cn.useEffect)(() => {
      let s = /* @__PURE__ */ a(() => i(!1), "hide");
      eg.addEventListener("keydown", s, !1);
      let l = Array.from(eg.getElementsByTagName("iframe")), u = [];
      return l.forEach((c) => {
        let p = /* @__PURE__ */ a(() => {
          try {
            c.contentWindow.document && (c.contentWindow.document.addEventListener("click", s), u.push(() => {
              try {
                c.contentWindow.document.removeEventListener("click", s);
              } catch {
              }
            }));
          } catch {
          }
        }, "bind");
        p(), c.addEventListener("load", p), u.push(() => {
          c.removeEventListener("load", p);
        });
      }), () => {
        eg.removeEventListener("keydown", s), u.forEach((c) => {
          c();
        });
      };
    }), /* @__PURE__ */ cn.default.createElement(YL, { ...r, visible: n, onVisibleChange: i });
  }, "WithToolTipState");
});

// ../node_modules/picoquery/lib/string-util.js
var ZS = L((JS) => {
  "use strict";
  Object.defineProperty(JS, "__esModule", { value: !0 });
  JS.encodeString = fpe;
  var fo = Array.from({ length: 256 }, (e, t) => "%" + ((t < 16 ? "0" : "") + t.toString(16)).toUpperCase()), ppe = new Int8Array([
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    1,
    0,
    0,
    0,
    0,
    0,
    1,
    1,
    1,
    1,
    0,
    0,
    1,
    1,
    0,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    0,
    0,
    0,
    0,
    1,
    0,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    0,
    0,
    0,
    1,
    0
  ]);
  function fpe(e) {
    let t = e.length;
    if (t === 0)
      return "";
    let r = "", n = 0, o = 0;
    e: for (; o < t; o++) {
      let i = e.charCodeAt(o);
      for (; i < 128; ) {
        if (ppe[i] !== 1 && (n < o && (r += e.slice(n, o)), n = o + 1, r += fo[i]), ++o === t)
          break e;
        i = e.charCodeAt(o);
      }
      if (n < o && (r += e.slice(n, o)), i < 2048) {
        n = o + 1, r += fo[192 | i >> 6] + fo[128 | i & 63];
        continue;
      }
      if (i < 55296 || i >= 57344) {
        n = o + 1, r += fo[224 | i >> 12] + fo[128 | i >> 6 & 63] + fo[128 | i & 63];
        continue;
      }
      if (++o, o >= t)
        throw new Error("URI malformed");
      let s = e.charCodeAt(o) & 1023;
      n = o + 1, i = 65536 + ((i & 1023) << 10 | s), r += fo[240 | i >> 18] + fo[128 | i >> 12 & 63] + fo[128 | i >> 6 & 63] + fo[128 | i & 63];
    }
    return n === 0 ? e : n < t ? r + e.slice(n) : r;
  }
  a(fpe, "encodeString");
});

// ../node_modules/picoquery/lib/shared.js
var cg = L((ho) => {
  "use strict";
  Object.defineProperty(ho, "__esModule", { value: !0 });
  ho.defaultOptions = ho.defaultShouldSerializeObject = ho.defaultValueSerializer = void 0;
  var eE = ZS(), dpe = /* @__PURE__ */ a((e) => {
    switch (typeof e) {
      case "string":
        return (0, eE.encodeString)(e);
      case "bigint":
      case "boolean":
        return "" + e;
      case "number":
        if (Number.isFinite(e))
          return e < 1e21 ? "" + e : (0, eE.encodeString)("" + e);
        break;
    }
    return e instanceof Date ? (0, eE.encodeString)(e.toISOString()) : "";
  }, "defaultValueSerializer");
  ho.defaultValueSerializer = dpe;
  var hpe = /* @__PURE__ */ a((e) => e instanceof Date, "defaultShouldSerializeObject");
  ho.defaultShouldSerializeObject = hpe;
  var TO = /* @__PURE__ */ a((e) => e, "identityFunc");
  ho.defaultOptions = {
    nesting: !0,
    nestingSyntax: "dot",
    arrayRepeat: !1,
    arrayRepeatSyntax: "repeat",
    delimiter: 38,
    valueDeserializer: TO,
    valueSerializer: ho.defaultValueSerializer,
    keyDeserializer: TO,
    shouldSerializeObject: ho.defaultShouldSerializeObject
  };
});

// ../node_modules/picoquery/lib/object-util.js
var tE = L((pg) => {
  "use strict";
  Object.defineProperty(pg, "__esModule", { value: !0 });
  pg.getDeepObject = vpe;
  pg.stringifyObject = IO;
  var vs = cg(), mpe = ZS();
  function gpe(e) {
    return e === "__proto__" || e === "constructor" || e === "prototype";
  }
  a(gpe, "isPrototypeKey");
  function vpe(e, t, r, n, o) {
    if (gpe(t))
      return e;
    let i = e[t];
    return typeof i == "object" && i !== null ? i : !n && (o || typeof r == "number" || typeof r == "string" && r * 0 === 0 && r.indexOf(".") ===
    -1) ? e[t] = [] : e[t] = {};
  }
  a(vpe, "getDeepObject");
  var ype = 20, wpe = "[]", Spe = "[", Epe = "]", bpe = ".";
  function IO(e, t, r = 0, n, o) {
    let { nestingSyntax: i = vs.defaultOptions.nestingSyntax, arrayRepeat: s = vs.defaultOptions.arrayRepeat, arrayRepeatSyntax: l = vs.defaultOptions.
    arrayRepeatSyntax, nesting: u = vs.defaultOptions.nesting, delimiter: c = vs.defaultOptions.delimiter, valueSerializer: p = vs.defaultOptions.
    valueSerializer, shouldSerializeObject: h = vs.defaultOptions.shouldSerializeObject } = t, m = typeof c == "number" ? String.fromCharCode(
    c) : c, g = o === !0 && s, w = i === "dot" || i === "js" && !o;
    if (r > ype)
      return "";
    let v = "", S = !0, E = !1;
    for (let y in e) {
      let b = e[y], x;
      n ? (x = n, g ? l === "bracket" && (x += wpe) : w ? (x += bpe, x += y) : (x += Spe, x += y, x += Epe)) : x = y, S || (v += m), typeof b ==
      "object" && b !== null && !h(b) ? (E = b.pop !== void 0, (u || s && E) && (v += IO(b, t, r + 1, x, E))) : (v += (0, mpe.encodeString)(
      x), v += "=", v += p(b, y)), S && (S = !1);
    }
    return v;
  }
  a(IO, "stringifyObject");
});

// ../node_modules/fast-decode-uri-component/index.js
var LO = L((Q_e, FO) => {
  "use strict";
  var PO = 12, xpe = 0, rE = [
    // The first part of the table maps bytes to character to a transition.
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    2,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    3,
    4,
    4,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    6,
    7,
    7,
    7,
    7,
    7,
    7,
    7,
    7,
    7,
    7,
    7,
    7,
    8,
    7,
    7,
    10,
    9,
    9,
    9,
    11,
    4,
    4,
    4,
    4,
    4,
    4,
    4,
    4,
    4,
    4,
    4,
    // The second part of the table maps a state to a new state when adding a
    // transition.
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    12,
    0,
    0,
    0,
    0,
    24,
    36,
    48,
    60,
    72,
    84,
    96,
    0,
    12,
    12,
    12,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    24,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    24,
    24,
    24,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    24,
    24,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    48,
    48,
    48,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    48,
    48,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    48,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    // The third part maps the current transition to a mask that needs to apply
    // to the byte.
    127,
    63,
    63,
    63,
    0,
    31,
    15,
    15,
    15,
    7,
    7,
    7
  ];
  function Rpe(e) {
    var t = e.indexOf("%");
    if (t === -1) return e;
    for (var r = e.length, n = "", o = 0, i = 0, s = t, l = PO; t > -1 && t < r; ) {
      var u = kO(e[t + 1], 4), c = kO(e[t + 2], 0), p = u | c, h = rE[p];
      if (l = rE[256 + l + h], i = i << 6 | p & rE[364 + h], l === PO)
        n += e.slice(o, s), n += i <= 65535 ? String.fromCharCode(i) : String.fromCharCode(
          55232 + (i >> 10),
          56320 + (i & 1023)
        ), i = 0, o = t + 3, t = s = e.indexOf("%", o);
      else {
        if (l === xpe)
          return null;
        if (t += 3, t < r && e.charCodeAt(t) === 37) continue;
        return null;
      }
    }
    return n + e.slice(o);
  }
  a(Rpe, "decodeURIComponent");
  var Cpe = {
    0: 0,
    1: 1,
    2: 2,
    3: 3,
    4: 4,
    5: 5,
    6: 6,
    7: 7,
    8: 8,
    9: 9,
    a: 10,
    A: 10,
    b: 11,
    B: 11,
    c: 12,
    C: 12,
    d: 13,
    D: 13,
    e: 14,
    E: 14,
    f: 15,
    F: 15
  };
  function kO(e, t) {
    var r = Cpe[e];
    return r === void 0 ? 255 : r << t;
  }
  a(kO, "hexCodeToInt");
  FO.exports = Rpe;
});

// ../node_modules/picoquery/lib/parse.js
var BO = L((Jo) => {
  "use strict";
  var Dpe = Jo && Jo.__importDefault || function(e) {
    return e && e.__esModule ? e : { default: e };
  };
  Object.defineProperty(Jo, "__esModule", { value: !0 });
  Jo.numberValueDeserializer = Jo.numberKeyDeserializer = void 0;
  Jo.parse = Tpe;
  var fg = tE(), ys = cg(), OO = Dpe(LO()), Ape = /* @__PURE__ */ a((e) => {
    let t = Number(e);
    return Number.isNaN(t) ? e : t;
  }, "numberKeyDeserializer");
  Jo.numberKeyDeserializer = Ape;
  var _pe = /* @__PURE__ */ a((e) => {
    let t = Number(e);
    return Number.isNaN(t) ? e : t;
  }, "numberValueDeserializer");
  Jo.numberValueDeserializer = _pe;
  var NO = /\+/g, MO = /* @__PURE__ */ a(function() {
  }, "Empty");
  MO.prototype = /* @__PURE__ */ Object.create(null);
  function dg(e, t, r, n, o) {
    let i = e.substring(t, r);
    return n && (i = i.replace(NO, " ")), o && (i = (0, OO.default)(i) || i), i;
  }
  a(dg, "computeKeySlice");
  function Tpe(e, t) {
    let { valueDeserializer: r = ys.defaultOptions.valueDeserializer, keyDeserializer: n = ys.defaultOptions.keyDeserializer, arrayRepeatSyntax: o = ys.
    defaultOptions.arrayRepeatSyntax, nesting: i = ys.defaultOptions.nesting, arrayRepeat: s = ys.defaultOptions.arrayRepeat, nestingSyntax: l = ys.
    defaultOptions.nestingSyntax, delimiter: u = ys.defaultOptions.delimiter } = t ?? {}, c = typeof u == "string" ? u.charCodeAt(0) : u, p = l ===
    "js", h = new MO();
    if (typeof e != "string")
      return h;
    let m = e.length, g = "", w = -1, v = -1, S = -1, E = h, y, b = "", x = "", R = !1, C = !1, D = !1, A = !1, P = !1, k = !1, M = !1, V = 0,
    H = -1, X = -1, B = -1;
    for (let O = 0; O < m + 1; O++) {
      if (V = O !== m ? e.charCodeAt(O) : c, V === c) {
        if (M = v > w, M || (v = O), S !== v - 1 && (x = dg(e, S + 1, H > -1 ? H : v, D, R), b = n(x), y !== void 0 && (E = (0, fg.getDeepObject)(
        E, y, b, p && P, p && k))), M || b !== "") {
          M && (g = e.slice(v + 1, O), A && (g = g.replace(NO, " ")), C && (g = (0, OO.default)(g) || g));
          let K = r(g, b);
          if (s) {
            let re = E[b];
            re === void 0 ? H > -1 ? E[b] = [K] : E[b] = K : re.pop ? re.push(K) : E[b] = [re, K];
          } else
            E[b] = K;
        }
        g = "", w = O, v = O, R = !1, C = !1, D = !1, A = !1, P = !1, k = !1, H = -1, S = O, E = h, y = void 0, b = "";
      } else V === 93 ? (s && o === "bracket" && B === 91 && (H = X), i && (l === "index" || p) && v <= w && (S !== X && (x = dg(e, S + 1, O,
      D, R), b = n(x), y !== void 0 && (E = (0, fg.getDeepObject)(E, y, b, void 0, p)), y = b, D = !1, R = !1), S = O, k = !0, P = !1)) : V ===
      46 ? i && (l === "dot" || p) && v <= w && (S !== X && (x = dg(e, S + 1, O, D, R), b = n(x), y !== void 0 && (E = (0, fg.getDeepObject)(
      E, y, b, p)), y = b, D = !1, R = !1), P = !0, k = !1, S = O) : V === 91 ? i && (l === "index" || p) && v <= w && (S !== X && (x = dg(e,
      S + 1, O, D, R), b = n(x), p && y !== void 0 && (E = (0, fg.getDeepObject)(E, y, b, p)), y = b, D = !1, R = !1, P = !1, k = !0), S = O) :
      V === 61 ? v <= w ? v = O : C = !0 : V === 43 ? v > w ? A = !0 : D = !0 : V === 37 && (v > w ? C = !0 : R = !0);
      X = O, B = V;
    }
    return h;
  }
  a(Tpe, "parse");
});

// ../node_modules/picoquery/lib/stringify.js
var zO = L((nE) => {
  "use strict";
  Object.defineProperty(nE, "__esModule", { value: !0 });
  nE.stringify = Ppe;
  var Ipe = tE();
  function Ppe(e, t) {
    if (e === null || typeof e != "object")
      return "";
    let r = t ?? {};
    return (0, Ipe.stringifyObject)(e, r);
  }
  a(Ppe, "stringify");
});

// ../node_modules/picoquery/lib/main.js
var HO = L((zn) => {
  "use strict";
  var kpe = zn && zn.__createBinding || (Object.create ? function(e, t, r, n) {
    n === void 0 && (n = r);
    var o = Object.getOwnPropertyDescriptor(t, r);
    (!o || ("get" in o ? !t.__esModule : o.writable || o.configurable)) && (o = { enumerable: !0, get: /* @__PURE__ */ a(function() {
      return t[r];
    }, "get") }), Object.defineProperty(e, n, o);
  } : function(e, t, r, n) {
    n === void 0 && (n = r), e[n] = t[r];
  }), Fpe = zn && zn.__exportStar || function(e, t) {
    for (var r in e) r !== "default" && !Object.prototype.hasOwnProperty.call(t, r) && kpe(t, e, r);
  };
  Object.defineProperty(zn, "__esModule", { value: !0 });
  zn.stringify = zn.parse = void 0;
  var Lpe = BO();
  Object.defineProperty(zn, "parse", { enumerable: !0, get: /* @__PURE__ */ a(function() {
    return Lpe.parse;
  }, "get") });
  var Ope = zO();
  Object.defineProperty(zn, "stringify", { enumerable: !0, get: /* @__PURE__ */ a(function() {
    return Ope.stringify;
  }, "get") });
  Fpe(cg(), zn);
});

// ../node_modules/semver/internal/constants.js
var r0 = L((WFe, WN) => {
  var h0e = "2.0.0", m0e = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
  9007199254740991, g0e = 16, v0e = 250, y0e = [
    "major",
    "premajor",
    "minor",
    "preminor",
    "patch",
    "prepatch",
    "prerelease"
  ];
  WN.exports = {
    MAX_LENGTH: 256,
    MAX_SAFE_COMPONENT_LENGTH: g0e,
    MAX_SAFE_BUILD_LENGTH: v0e,
    MAX_SAFE_INTEGER: m0e,
    RELEASE_TYPES: y0e,
    SEMVER_SPEC_VERSION: h0e,
    FLAG_INCLUDE_PRERELEASE: 1,
    FLAG_LOOSE: 2
  };
});

// ../node_modules/semver/internal/debug.js
var n0 = L((qFe, qN) => {
  var w0e = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...e) => console.
  error("SEMVER", ...e) : () => {
  };
  qN.exports = w0e;
});

// ../node_modules/semver/internal/re.js
var gc = L((vo, GN) => {
  var {
    MAX_SAFE_COMPONENT_LENGTH: qE,
    MAX_SAFE_BUILD_LENGTH: S0e,
    MAX_LENGTH: E0e
  } = r0(), b0e = n0();
  vo = GN.exports = {};
  var x0e = vo.re = [], R0e = vo.safeRe = [], $ = vo.src = [], C0e = vo.safeSrc = [], j = vo.t = {}, D0e = 0, GE = "[a-zA-Z0-9-]", A0e = [
    ["\\s", 1],
    ["\\d", E0e],
    [GE, S0e]
  ], _0e = /* @__PURE__ */ a((e) => {
    for (let [t, r] of A0e)
      e = e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);
    return e;
  }, "makeSafeRegex"), ee = /* @__PURE__ */ a((e, t, r) => {
    let n = _0e(t), o = D0e++;
    b0e(e, o, t), j[e] = o, $[o] = t, C0e[o] = n, x0e[o] = new RegExp(t, r ? "g" : void 0), R0e[o] = new RegExp(n, r ? "g" : void 0);
  }, "createToken");
  ee("NUMERICIDENTIFIER", "0|[1-9]\\d*");
  ee("NUMERICIDENTIFIERLOOSE", "\\d+");
  ee("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${GE}*`);
  ee("MAINVERSION", `(${$[j.NUMERICIDENTIFIER]})\\.(${$[j.NUMERICIDENTIFIER]})\\.(${$[j.NUMERICIDENTIFIER]})`);
  ee("MAINVERSIONLOOSE", `(${$[j.NUMERICIDENTIFIERLOOSE]})\\.(${$[j.NUMERICIDENTIFIERLOOSE]})\\.(${$[j.NUMERICIDENTIFIERLOOSE]})`);
  ee("PRERELEASEIDENTIFIER", `(?:${$[j.NUMERICIDENTIFIER]}|${$[j.NONNUMERICIDENTIFIER]})`);
  ee("PRERELEASEIDENTIFIERLOOSE", `(?:${$[j.NUMERICIDENTIFIERLOOSE]}|${$[j.NONNUMERICIDENTIFIER]})`);
  ee("PRERELEASE", `(?:-(${$[j.PRERELEASEIDENTIFIER]}(?:\\.${$[j.PRERELEASEIDENTIFIER]})*))`);
  ee("PRERELEASELOOSE", `(?:-?(${$[j.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${$[j.PRERELEASEIDENTIFIERLOOSE]})*))`);
  ee("BUILDIDENTIFIER", `${GE}+`);
  ee("BUILD", `(?:\\+(${$[j.BUILDIDENTIFIER]}(?:\\.${$[j.BUILDIDENTIFIER]})*))`);
  ee("FULLPLAIN", `v?${$[j.MAINVERSION]}${$[j.PRERELEASE]}?${$[j.BUILD]}?`);
  ee("FULL", `^${$[j.FULLPLAIN]}$`);
  ee("LOOSEPLAIN", `[v=\\s]*${$[j.MAINVERSIONLOOSE]}${$[j.PRERELEASELOOSE]}?${$[j.BUILD]}?`);
  ee("LOOSE", `^${$[j.LOOSEPLAIN]}$`);
  ee("GTLT", "((?:<|>)?=?)");
  ee("XRANGEIDENTIFIERLOOSE", `${$[j.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
  ee("XRANGEIDENTIFIER", `${$[j.NUMERICIDENTIFIER]}|x|X|\\*`);
  ee("XRANGEPLAIN", `[v=\\s]*(${$[j.XRANGEIDENTIFIER]})(?:\\.(${$[j.XRANGEIDENTIFIER]})(?:\\.(${$[j.XRANGEIDENTIFIER]})(?:${$[j.PRERELEASE]}\
)?${$[j.BUILD]}?)?)?`);
  ee("XRANGEPLAINLOOSE", `[v=\\s]*(${$[j.XRANGEIDENTIFIERLOOSE]})(?:\\.(${$[j.XRANGEIDENTIFIERLOOSE]})(?:\\.(${$[j.XRANGEIDENTIFIERLOOSE]})(\
?:${$[j.PRERELEASELOOSE]})?${$[j.BUILD]}?)?)?`);
  ee("XRANGE", `^${$[j.GTLT]}\\s*${$[j.XRANGEPLAIN]}$`);
  ee("XRANGELOOSE", `^${$[j.GTLT]}\\s*${$[j.XRANGEPLAINLOOSE]}$`);
  ee("COERCEPLAIN", `(^|[^\\d])(\\d{1,${qE}})(?:\\.(\\d{1,${qE}}))?(?:\\.(\\d{1,${qE}}))?`);
  ee("COERCE", `${$[j.COERCEPLAIN]}(?:$|[^\\d])`);
  ee("COERCEFULL", $[j.COERCEPLAIN] + `(?:${$[j.PRERELEASE]})?(?:${$[j.BUILD]})?(?:$|[^\\d])`);
  ee("COERCERTL", $[j.COERCE], !0);
  ee("COERCERTLFULL", $[j.COERCEFULL], !0);
  ee("LONETILDE", "(?:~>?)");
  ee("TILDETRIM", `(\\s*)${$[j.LONETILDE]}\\s+`, !0);
  vo.tildeTrimReplace = "$1~";
  ee("TILDE", `^${$[j.LONETILDE]}${$[j.XRANGEPLAIN]}$`);
  ee("TILDELOOSE", `^${$[j.LONETILDE]}${$[j.XRANGEPLAINLOOSE]}$`);
  ee("LONECARET", "(?:\\^)");
  ee("CARETTRIM", `(\\s*)${$[j.LONECARET]}\\s+`, !0);
  vo.caretTrimReplace = "$1^";
  ee("CARET", `^${$[j.LONECARET]}${$[j.XRANGEPLAIN]}$`);
  ee("CARETLOOSE", `^${$[j.LONECARET]}${$[j.XRANGEPLAINLOOSE]}$`);
  ee("COMPARATORLOOSE", `^${$[j.GTLT]}\\s*(${$[j.LOOSEPLAIN]})$|^$`);
  ee("COMPARATOR", `^${$[j.GTLT]}\\s*(${$[j.FULLPLAIN]})$|^$`);
  ee("COMPARATORTRIM", `(\\s*)${$[j.GTLT]}\\s*(${$[j.LOOSEPLAIN]}|${$[j.XRANGEPLAIN]})`, !0);
  vo.comparatorTrimReplace = "$1$2$3";
  ee("HYPHENRANGE", `^\\s*(${$[j.XRANGEPLAIN]})\\s+-\\s+(${$[j.XRANGEPLAIN]})\\s*$`);
  ee("HYPHENRANGELOOSE", `^\\s*(${$[j.XRANGEPLAINLOOSE]})\\s+-\\s+(${$[j.XRANGEPLAINLOOSE]})\\s*$`);
  ee("STAR", "(<|>)?=?\\s*\\*");
  ee("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
  ee("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
});

// ../node_modules/semver/internal/parse-options.js
var Bg = L((YFe, YN) => {
  var T0e = Object.freeze({ loose: !0 }), I0e = Object.freeze({}), P0e = /* @__PURE__ */ a((e) => e ? typeof e != "object" ? T0e : e : I0e, "\
parseOptions");
  YN.exports = P0e;
});

// ../node_modules/semver/internal/identifiers.js
var YE = L((XFe, QN) => {
  var KN = /^[0-9]+$/, XN = /* @__PURE__ */ a((e, t) => {
    let r = KN.test(e), n = KN.test(t);
    return r && n && (e = +e, t = +t), e === t ? 0 : r && !n ? -1 : n && !r ? 1 : e < t ? -1 : 1;
  }, "compareIdentifiers"), k0e = /* @__PURE__ */ a((e, t) => XN(t, e), "rcompareIdentifiers");
  QN.exports = {
    compareIdentifiers: XN,
    rcompareIdentifiers: k0e
  };
});

// ../node_modules/semver/classes/semver.js
var Vt = L((JFe, tM) => {
  var zg = n0(), { MAX_LENGTH: JN, MAX_SAFE_INTEGER: Hg } = r0(), { safeRe: ZN, safeSrc: eM, t: $g } = gc(), F0e = Bg(), { compareIdentifiers: vc } = YE(),
  fn = class fn {
    constructor(t, r) {
      if (r = F0e(r), t instanceof fn) {
        if (t.loose === !!r.loose && t.includePrerelease === !!r.includePrerelease)
          return t;
        t = t.version;
      } else if (typeof t != "string")
        throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);
      if (t.length > JN)
        throw new TypeError(
          `version is longer than ${JN} characters`
        );
      zg("SemVer", t, r), this.options = r, this.loose = !!r.loose, this.includePrerelease = !!r.includePrerelease;
      let n = t.trim().match(r.loose ? ZN[$g.LOOSE] : ZN[$g.FULL]);
      if (!n)
        throw new TypeError(`Invalid Version: ${t}`);
      if (this.raw = t, this.major = +n[1], this.minor = +n[2], this.patch = +n[3], this.major > Hg || this.major < 0)
        throw new TypeError("Invalid major version");
      if (this.minor > Hg || this.minor < 0)
        throw new TypeError("Invalid minor version");
      if (this.patch > Hg || this.patch < 0)
        throw new TypeError("Invalid patch version");
      n[4] ? this.prerelease = n[4].split(".").map((o) => {
        if (/^[0-9]+$/.test(o)) {
          let i = +o;
          if (i >= 0 && i < Hg)
            return i;
        }
        return o;
      }) : this.prerelease = [], this.build = n[5] ? n[5].split(".") : [], this.format();
    }
    format() {
      return this.version = `${this.major}.${this.minor}.${this.patch}`, this.prerelease.length && (this.version += `-${this.prerelease.join(
      ".")}`), this.version;
    }
    toString() {
      return this.version;
    }
    compare(t) {
      if (zg("SemVer.compare", this.version, this.options, t), !(t instanceof fn)) {
        if (typeof t == "string" && t === this.version)
          return 0;
        t = new fn(t, this.options);
      }
      return t.version === this.version ? 0 : this.compareMain(t) || this.comparePre(t);
    }
    compareMain(t) {
      return t instanceof fn || (t = new fn(t, this.options)), vc(this.major, t.major) || vc(this.minor, t.minor) || vc(this.patch, t.patch);
    }
    comparePre(t) {
      if (t instanceof fn || (t = new fn(t, this.options)), this.prerelease.length && !t.prerelease.length)
        return -1;
      if (!this.prerelease.length && t.prerelease.length)
        return 1;
      if (!this.prerelease.length && !t.prerelease.length)
        return 0;
      let r = 0;
      do {
        let n = this.prerelease[r], o = t.prerelease[r];
        if (zg("prerelease compare", r, n, o), n === void 0 && o === void 0)
          return 0;
        if (o === void 0)
          return 1;
        if (n === void 0)
          return -1;
        if (n === o)
          continue;
        return vc(n, o);
      } while (++r);
    }
    compareBuild(t) {
      t instanceof fn || (t = new fn(t, this.options));
      let r = 0;
      do {
        let n = this.build[r], o = t.build[r];
        if (zg("build compare", r, n, o), n === void 0 && o === void 0)
          return 0;
        if (o === void 0)
          return 1;
        if (n === void 0)
          return -1;
        if (n === o)
          continue;
        return vc(n, o);
      } while (++r);
    }
    // preminor will bump the version up to the next minor release, and immediately
    // down to pre-release. premajor and prepatch work the same way.
    inc(t, r, n) {
      if (t.startsWith("pre")) {
        if (!r && n === !1)
          throw new Error("invalid increment argument: identifier is empty");
        if (r) {
          let o = new RegExp(`^${this.options.loose ? eM[$g.PRERELEASELOOSE] : eM[$g.PRERELEASE]}$`), i = `-${r}`.match(o);
          if (!i || i[1] !== r)
            throw new Error(`invalid identifier: ${r}`);
        }
      }
      switch (t) {
        case "premajor":
          this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", r, n);
          break;
        case "preminor":
          this.prerelease.length = 0, this.patch = 0, this.minor++, this.inc("pre", r, n);
          break;
        case "prepatch":
          this.prerelease.length = 0, this.inc("patch", r, n), this.inc("pre", r, n);
          break;
        // If the input is a non-prerelease version, this acts the same as
        // prepatch.
        case "prerelease":
          this.prerelease.length === 0 && this.inc("patch", r, n), this.inc("pre", r, n);
          break;
        case "release":
          if (this.prerelease.length === 0)
            throw new Error(`version ${this.raw} is not a prerelease`);
          this.prerelease.length = 0;
          break;
        case "major":
          (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) && this.major++, this.minor = 0, this.patch = 0, this.prerelease =
          [];
          break;
        case "minor":
          (this.patch !== 0 || this.prerelease.length === 0) && this.minor++, this.patch = 0, this.prerelease = [];
          break;
        case "patch":
          this.prerelease.length === 0 && this.patch++, this.prerelease = [];
          break;
        // This probably shouldn't be used publicly.
        // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
        case "pre": {
          let o = Number(n) ? 1 : 0;
          if (this.prerelease.length === 0)
            this.prerelease = [o];
          else {
            let i = this.prerelease.length;
            for (; --i >= 0; )
              typeof this.prerelease[i] == "number" && (this.prerelease[i]++, i = -2);
            if (i === -1) {
              if (r === this.prerelease.join(".") && n === !1)
                throw new Error("invalid increment argument: identifier already exists");
              this.prerelease.push(o);
            }
          }
          if (r) {
            let i = [r, o];
            n === !1 && (i = [r]), vc(this.prerelease[0], r) === 0 ? isNaN(this.prerelease[1]) && (this.prerelease = i) : this.prerelease = i;
          }
          break;
        }
        default:
          throw new Error(`invalid increment argument: ${t}`);
      }
      return this.raw = this.format(), this.build.length && (this.raw += `+${this.build.join(".")}`), this;
    }
  };
  a(fn, "SemVer");
  var KE = fn;
  tM.exports = KE;
});

// ../node_modules/semver/functions/parse.js
var xs = L((eLe, nM) => {
  var rM = Vt(), L0e = /* @__PURE__ */ a((e, t, r = !1) => {
    if (e instanceof rM)
      return e;
    try {
      return new rM(e, t);
    } catch (n) {
      if (!r)
        return null;
      throw n;
    }
  }, "parse");
  nM.exports = L0e;
});

// ../node_modules/semver/functions/valid.js
var aM = L((rLe, oM) => {
  var O0e = xs(), N0e = /* @__PURE__ */ a((e, t) => {
    let r = O0e(e, t);
    return r ? r.version : null;
  }, "valid");
  oM.exports = N0e;
});

// ../node_modules/semver/functions/clean.js
var sM = L((oLe, iM) => {
  var M0e = xs(), B0e = /* @__PURE__ */ a((e, t) => {
    let r = M0e(e.trim().replace(/^[=v]+/, ""), t);
    return r ? r.version : null;
  }, "clean");
  iM.exports = B0e;
});

// ../node_modules/semver/functions/inc.js
var cM = L((iLe, uM) => {
  var lM = Vt(), z0e = /* @__PURE__ */ a((e, t, r, n, o) => {
    typeof r == "string" && (o = n, n = r, r = void 0);
    try {
      return new lM(
        e instanceof lM ? e.version : e,
        r
      ).inc(t, n, o).version;
    } catch {
      return null;
    }
  }, "inc");
  uM.exports = z0e;
});

// ../node_modules/semver/functions/diff.js
var dM = L((lLe, fM) => {
  var pM = xs(), H0e = /* @__PURE__ */ a((e, t) => {
    let r = pM(e, null, !0), n = pM(t, null, !0), o = r.compare(n);
    if (o === 0)
      return null;
    let i = o > 0, s = i ? r : n, l = i ? n : r, u = !!s.prerelease.length;
    if (!!l.prerelease.length && !u) {
      if (!l.patch && !l.minor)
        return "major";
      if (l.compareMain(s) === 0)
        return l.minor && !l.patch ? "minor" : "patch";
    }
    let p = u ? "pre" : "";
    return r.major !== n.major ? p + "major" : r.minor !== n.minor ? p + "minor" : r.patch !== n.patch ? p + "patch" : "prerelease";
  }, "diff");
  fM.exports = H0e;
});

// ../node_modules/semver/functions/major.js
var mM = L((cLe, hM) => {
  var $0e = Vt(), j0e = /* @__PURE__ */ a((e, t) => new $0e(e, t).major, "major");
  hM.exports = j0e;
});

// ../node_modules/semver/functions/minor.js
var vM = L((fLe, gM) => {
  var V0e = Vt(), U0e = /* @__PURE__ */ a((e, t) => new V0e(e, t).minor, "minor");
  gM.exports = U0e;
});

// ../node_modules/semver/functions/patch.js
var wM = L((hLe, yM) => {
  var W0e = Vt(), q0e = /* @__PURE__ */ a((e, t) => new W0e(e, t).patch, "patch");
  yM.exports = q0e;
});

// ../node_modules/semver/functions/prerelease.js
var EM = L((gLe, SM) => {
  var G0e = xs(), Y0e = /* @__PURE__ */ a((e, t) => {
    let r = G0e(e, t);
    return r && r.prerelease.length ? r.prerelease : null;
  }, "prerelease");
  SM.exports = Y0e;
});

// ../node_modules/semver/functions/compare.js
var dn = L((yLe, xM) => {
  var bM = Vt(), K0e = /* @__PURE__ */ a((e, t, r) => new bM(e, r).compare(new bM(t, r)), "compare");
  xM.exports = K0e;
});

// ../node_modules/semver/functions/rcompare.js
var CM = L((SLe, RM) => {
  var X0e = dn(), Q0e = /* @__PURE__ */ a((e, t, r) => X0e(t, e, r), "rcompare");
  RM.exports = Q0e;
});

// ../node_modules/semver/functions/compare-loose.js
var AM = L((bLe, DM) => {
  var J0e = dn(), Z0e = /* @__PURE__ */ a((e, t) => J0e(e, t, !0), "compareLoose");
  DM.exports = Z0e;
});

// ../node_modules/semver/functions/compare-build.js
var jg = L((RLe, TM) => {
  var _M = Vt(), ede = /* @__PURE__ */ a((e, t, r) => {
    let n = new _M(e, r), o = new _M(t, r);
    return n.compare(o) || n.compareBuild(o);
  }, "compareBuild");
  TM.exports = ede;
});

// ../node_modules/semver/functions/sort.js
var PM = L((DLe, IM) => {
  var tde = jg(), rde = /* @__PURE__ */ a((e, t) => e.sort((r, n) => tde(r, n, t)), "sort");
  IM.exports = rde;
});

// ../node_modules/semver/functions/rsort.js
var FM = L((_Le, kM) => {
  var nde = jg(), ode = /* @__PURE__ */ a((e, t) => e.sort((r, n) => nde(n, r, t)), "rsort");
  kM.exports = ode;
});

// ../node_modules/semver/functions/gt.js
var o0 = L((ILe, LM) => {
  var ade = dn(), ide = /* @__PURE__ */ a((e, t, r) => ade(e, t, r) > 0, "gt");
  LM.exports = ide;
});

// ../node_modules/semver/functions/lt.js
var Vg = L((kLe, OM) => {
  var sde = dn(), lde = /* @__PURE__ */ a((e, t, r) => sde(e, t, r) < 0, "lt");
  OM.exports = lde;
});

// ../node_modules/semver/functions/eq.js
var XE = L((LLe, NM) => {
  var ude = dn(), cde = /* @__PURE__ */ a((e, t, r) => ude(e, t, r) === 0, "eq");
  NM.exports = cde;
});

// ../node_modules/semver/functions/neq.js
var QE = L((NLe, MM) => {
  var pde = dn(), fde = /* @__PURE__ */ a((e, t, r) => pde(e, t, r) !== 0, "neq");
  MM.exports = fde;
});

// ../node_modules/semver/functions/gte.js
var Ug = L((BLe, BM) => {
  var dde = dn(), hde = /* @__PURE__ */ a((e, t, r) => dde(e, t, r) >= 0, "gte");
  BM.exports = hde;
});

// ../node_modules/semver/functions/lte.js
var Wg = L((HLe, zM) => {
  var mde = dn(), gde = /* @__PURE__ */ a((e, t, r) => mde(e, t, r) <= 0, "lte");
  zM.exports = gde;
});

// ../node_modules/semver/functions/cmp.js
var JE = L((jLe, HM) => {
  var vde = XE(), yde = QE(), wde = o0(), Sde = Ug(), Ede = Vg(), bde = Wg(), xde = /* @__PURE__ */ a((e, t, r, n) => {
    switch (t) {
      case "===":
        return typeof e == "object" && (e = e.version), typeof r == "object" && (r = r.version), e === r;
      case "!==":
        return typeof e == "object" && (e = e.version), typeof r == "object" && (r = r.version), e !== r;
      case "":
      case "=":
      case "==":
        return vde(e, r, n);
      case "!=":
        return yde(e, r, n);
      case ">":
        return wde(e, r, n);
      case ">=":
        return Sde(e, r, n);
      case "<":
        return Ede(e, r, n);
      case "<=":
        return bde(e, r, n);
      default:
        throw new TypeError(`Invalid operator: ${t}`);
    }
  }, "cmp");
  HM.exports = xde;
});

// ../node_modules/semver/functions/coerce.js
var jM = L((ULe, $M) => {
  var Rde = Vt(), Cde = xs(), { safeRe: qg, t: Gg } = gc(), Dde = /* @__PURE__ */ a((e, t) => {
    if (e instanceof Rde)
      return e;
    if (typeof e == "number" && (e = String(e)), typeof e != "string")
      return null;
    t = t || {};
    let r = null;
    if (!t.rtl)
      r = e.match(t.includePrerelease ? qg[Gg.COERCEFULL] : qg[Gg.COERCE]);
    else {
      let u = t.includePrerelease ? qg[Gg.COERCERTLFULL] : qg[Gg.COERCERTL], c;
      for (; (c = u.exec(e)) && (!r || r.index + r[0].length !== e.length); )
        (!r || c.index + c[0].length !== r.index + r[0].length) && (r = c), u.lastIndex = c.index + c[1].length + c[2].length;
      u.lastIndex = -1;
    }
    if (r === null)
      return null;
    let n = r[2], o = r[3] || "0", i = r[4] || "0", s = t.includePrerelease && r[5] ? `-${r[5]}` : "", l = t.includePrerelease && r[6] ? `+${r[6]}` :
    "";
    return Cde(`${n}.${o}.${i}${s}${l}`, t);
  }, "coerce");
  $M.exports = Dde;
});

// ../node_modules/semver/internal/lrucache.js
var UM = L((qLe, VM) => {
  var eb = class eb {
    constructor() {
      this.max = 1e3, this.map = /* @__PURE__ */ new Map();
    }
    get(t) {
      let r = this.map.get(t);
      if (r !== void 0)
        return this.map.delete(t), this.map.set(t, r), r;
    }
    delete(t) {
      return this.map.delete(t);
    }
    set(t, r) {
      if (!this.delete(t) && r !== void 0) {
        if (this.map.size >= this.max) {
          let o = this.map.keys().next().value;
          this.delete(o);
        }
        this.map.set(t, r);
      }
      return this;
    }
  };
  a(eb, "LRUCache");
  var ZE = eb;
  VM.exports = ZE;
});

// ../node_modules/semver/classes/range.js
var hn = L((YLe, YM) => {
  var Ade = /\s+/g, yc = class yc {
    constructor(t, r) {
      if (r = Tde(r), t instanceof yc)
        return t.loose === !!r.loose && t.includePrerelease === !!r.includePrerelease ? t : new yc(t.raw, r);
      if (t instanceof rb)
        return this.raw = t.value, this.set = [[t]], this.formatted = void 0, this;
      if (this.options = r, this.loose = !!r.loose, this.includePrerelease = !!r.includePrerelease, this.raw = t.trim().replace(Ade, " "), this.
      set = this.raw.split("||").map((n) => this.parseRange(n.trim())).filter((n) => n.length), !this.set.length)
        throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
      if (this.set.length > 1) {
        let n = this.set[0];
        if (this.set = this.set.filter((o) => !qM(o[0])), this.set.length === 0)
          this.set = [n];
        else if (this.set.length > 1) {
          for (let o of this.set)
            if (o.length === 1 && Nde(o[0])) {
              this.set = [o];
              break;
            }
        }
      }
      this.formatted = void 0;
    }
    get range() {
      if (this.formatted === void 0) {
        this.formatted = "";
        for (let t = 0; t < this.set.length; t++) {
          t > 0 && (this.formatted += "||");
          let r = this.set[t];
          for (let n = 0; n < r.length; n++)
            n > 0 && (this.formatted += " "), this.formatted += r[n].toString().trim();
        }
      }
      return this.formatted;
    }
    format() {
      return this.range;
    }
    toString() {
      return this.range;
    }
    parseRange(t) {
      let n = ((this.options.includePrerelease && Lde) | (this.options.loose && Ode)) + ":" + t, o = WM.get(n);
      if (o)
        return o;
      let i = this.options.loose, s = i ? Er[or.HYPHENRANGELOOSE] : Er[or.HYPHENRANGE];
      t = t.replace(s, qde(this.options.includePrerelease)), Ie("hyphen replace", t), t = t.replace(Er[or.COMPARATORTRIM], Pde), Ie("compara\
tor trim", t), t = t.replace(Er[or.TILDETRIM], kde), Ie("tilde trim", t), t = t.replace(Er[or.CARETTRIM], Fde), Ie("caret trim", t);
      let l = t.split(" ").map((h) => Mde(h, this.options)).join(" ").split(/\s+/).map((h) => Wde(h, this.options));
      i && (l = l.filter((h) => (Ie("loose invalid filter", h, this.options), !!h.match(Er[or.COMPARATORLOOSE])))), Ie("range list", l);
      let u = /* @__PURE__ */ new Map(), c = l.map((h) => new rb(h, this.options));
      for (let h of c) {
        if (qM(h))
          return [h];
        u.set(h.value, h);
      }
      u.size > 1 && u.has("") && u.delete("");
      let p = [...u.values()];
      return WM.set(n, p), p;
    }
    intersects(t, r) {
      if (!(t instanceof yc))
        throw new TypeError("a Range is required");
      return this.set.some((n) => GM(n, r) && t.set.some((o) => GM(o, r) && n.every((i) => o.every((s) => i.intersects(s, r)))));
    }
    // if ANY of the sets match ALL of its comparators, then pass
    test(t) {
      if (!t)
        return !1;
      if (typeof t == "string")
        try {
          t = new Ide(t, this.options);
        } catch {
          return !1;
        }
      for (let r = 0; r < this.set.length; r++)
        if (Gde(this.set[r], t, this.options))
          return !0;
      return !1;
    }
  };
  a(yc, "Range");
  var tb = yc;
  YM.exports = tb;
  var _de = UM(), WM = new _de(), Tde = Bg(), rb = a0(), Ie = n0(), Ide = Vt(), {
    safeRe: Er,
    t: or,
    comparatorTrimReplace: Pde,
    tildeTrimReplace: kde,
    caretTrimReplace: Fde
  } = gc(), { FLAG_INCLUDE_PRERELEASE: Lde, FLAG_LOOSE: Ode } = r0(), qM = /* @__PURE__ */ a((e) => e.value === "<0.0.0-0", "isNullSet"), Nde = /* @__PURE__ */ a(
  (e) => e.value === "", "isAny"), GM = /* @__PURE__ */ a((e, t) => {
    let r = !0, n = e.slice(), o = n.pop();
    for (; r && n.length; )
      r = n.every((i) => o.intersects(i, t)), o = n.pop();
    return r;
  }, "isSatisfiable"), Mde = /* @__PURE__ */ a((e, t) => (Ie("comp", e, t), e = Hde(e, t), Ie("caret", e), e = Bde(e, t), Ie("tildes", e), e =
  jde(e, t), Ie("xrange", e), e = Ude(e, t), Ie("stars", e), e), "parseComparator"), ar = /* @__PURE__ */ a((e) => !e || e.toLowerCase() ===
  "x" || e === "*", "isX"), Bde = /* @__PURE__ */ a((e, t) => e.trim().split(/\s+/).map((r) => zde(r, t)).join(" "), "replaceTildes"), zde = /* @__PURE__ */ a(
  (e, t) => {
    let r = t.loose ? Er[or.TILDELOOSE] : Er[or.TILDE];
    return e.replace(r, (n, o, i, s, l) => {
      Ie("tilde", e, n, o, i, s, l);
      let u;
      return ar(o) ? u = "" : ar(i) ? u = `>=${o}.0.0 <${+o + 1}.0.0-0` : ar(s) ? u = `>=${o}.${i}.0 <${o}.${+i + 1}.0-0` : l ? (Ie("replace\
Tilde pr", l), u = `>=${o}.${i}.${s}-${l} <${o}.${+i + 1}.0-0`) : u = `>=${o}.${i}.${s} <${o}.${+i + 1}.0-0`, Ie("tilde return", u), u;
    });
  }, "replaceTilde"), Hde = /* @__PURE__ */ a((e, t) => e.trim().split(/\s+/).map((r) => $de(r, t)).join(" "), "replaceCarets"), $de = /* @__PURE__ */ a(
  (e, t) => {
    Ie("caret", e, t);
    let r = t.loose ? Er[or.CARETLOOSE] : Er[or.CARET], n = t.includePrerelease ? "-0" : "";
    return e.replace(r, (o, i, s, l, u) => {
      Ie("caret", e, o, i, s, l, u);
      let c;
      return ar(i) ? c = "" : ar(s) ? c = `>=${i}.0.0${n} <${+i + 1}.0.0-0` : ar(l) ? i === "0" ? c = `>=${i}.${s}.0${n} <${i}.${+s + 1}.0-0` :
      c = `>=${i}.${s}.0${n} <${+i + 1}.0.0-0` : u ? (Ie("replaceCaret pr", u), i === "0" ? s === "0" ? c = `>=${i}.${s}.${l}-${u} <${i}.${s}\
.${+l + 1}-0` : c = `>=${i}.${s}.${l}-${u} <${i}.${+s + 1}.0-0` : c = `>=${i}.${s}.${l}-${u} <${+i + 1}.0.0-0`) : (Ie("no pr"), i === "0" ? s ===
      "0" ? c = `>=${i}.${s}.${l}${n} <${i}.${s}.${+l + 1}-0` : c = `>=${i}.${s}.${l}${n} <${i}.${+s + 1}.0-0` : c = `>=${i}.${s}.${l} <${+i +
      1}.0.0-0`), Ie("caret return", c), c;
    });
  }, "replaceCaret"), jde = /* @__PURE__ */ a((e, t) => (Ie("replaceXRanges", e, t), e.split(/\s+/).map((r) => Vde(r, t)).join(" ")), "repla\
ceXRanges"), Vde = /* @__PURE__ */ a((e, t) => {
    e = e.trim();
    let r = t.loose ? Er[or.XRANGELOOSE] : Er[or.XRANGE];
    return e.replace(r, (n, o, i, s, l, u) => {
      Ie("xRange", e, n, o, i, s, l, u);
      let c = ar(i), p = c || ar(s), h = p || ar(l), m = h;
      return o === "=" && m && (o = ""), u = t.includePrerelease ? "-0" : "", c ? o === ">" || o === "<" ? n = "<0.0.0-0" : n = "*" : o && m ?
      (p && (s = 0), l = 0, o === ">" ? (o = ">=", p ? (i = +i + 1, s = 0, l = 0) : (s = +s + 1, l = 0)) : o === "<=" && (o = "<", p ? i = +i +
      1 : s = +s + 1), o === "<" && (u = "-0"), n = `${o + i}.${s}.${l}${u}`) : p ? n = `>=${i}.0.0${u} <${+i + 1}.0.0-0` : h && (n = `>=${i}\
.${s}.0${u} <${i}.${+s + 1}.0-0`), Ie("xRange return", n), n;
    });
  }, "replaceXRange"), Ude = /* @__PURE__ */ a((e, t) => (Ie("replaceStars", e, t), e.trim().replace(Er[or.STAR], "")), "replaceStars"), Wde = /* @__PURE__ */ a(
  (e, t) => (Ie("replaceGTE0", e, t), e.trim().replace(Er[t.includePrerelease ? or.GTE0PRE : or.GTE0], "")), "replaceGTE0"), qde = /* @__PURE__ */ a(
  (e) => (t, r, n, o, i, s, l, u, c, p, h, m) => (ar(n) ? r = "" : ar(o) ? r = `>=${n}.0.0${e ? "-0" : ""}` : ar(i) ? r = `>=${n}.${o}.0${e ?
  "-0" : ""}` : s ? r = `>=${r}` : r = `>=${r}${e ? "-0" : ""}`, ar(c) ? u = "" : ar(p) ? u = `<${+c + 1}.0.0-0` : ar(h) ? u = `<${c}.${+p +
  1}.0-0` : m ? u = `<=${c}.${p}.${h}-${m}` : e ? u = `<${c}.${p}.${+h + 1}-0` : u = `<=${u}`, `${r} ${u}`.trim()), "hyphenReplace"), Gde = /* @__PURE__ */ a(
  (e, t, r) => {
    for (let n = 0; n < e.length; n++)
      if (!e[n].test(t))
        return !1;
    if (t.prerelease.length && !r.includePrerelease) {
      for (let n = 0; n < e.length; n++)
        if (Ie(e[n].semver), e[n].semver !== rb.ANY && e[n].semver.prerelease.length > 0) {
          let o = e[n].semver;
          if (o.major === t.major && o.minor === t.minor && o.patch === t.patch)
            return !0;
        }
      return !1;
    }
    return !0;
  }, "testSet");
});

// ../node_modules/semver/classes/comparator.js
var a0 = L((XLe, eB) => {
  var i0 = Symbol("SemVer ANY"), s0 = class s0 {
    static get ANY() {
      return i0;
    }
    constructor(t, r) {
      if (r = KM(r), t instanceof s0) {
        if (t.loose === !!r.loose)
          return t;
        t = t.value;
      }
      t = t.trim().split(/\s+/).join(" "), ob("comparator", t, r), this.options = r, this.loose = !!r.loose, this.parse(t), this.semver === i0 ?
      this.value = "" : this.value = this.operator + this.semver.version, ob("comp", this);
    }
    parse(t) {
      let r = this.options.loose ? XM[QM.COMPARATORLOOSE] : XM[QM.COMPARATOR], n = t.match(r);
      if (!n)
        throw new TypeError(`Invalid comparator: ${t}`);
      this.operator = n[1] !== void 0 ? n[1] : "", this.operator === "=" && (this.operator = ""), n[2] ? this.semver = new JM(n[2], this.options.
      loose) : this.semver = i0;
    }
    toString() {
      return this.value;
    }
    test(t) {
      if (ob("Comparator.test", t, this.options.loose), this.semver === i0 || t === i0)
        return !0;
      if (typeof t == "string")
        try {
          t = new JM(t, this.options);
        } catch {
          return !1;
        }
      return nb(t, this.operator, this.semver, this.options);
    }
    intersects(t, r) {
      if (!(t instanceof s0))
        throw new TypeError("a Comparator is required");
      return this.operator === "" ? this.value === "" ? !0 : new ZM(t.value, r).test(this.value) : t.operator === "" ? t.value === "" ? !0 :
      new ZM(this.value, r).test(t.semver) : (r = KM(r), r.includePrerelease && (this.value === "<0.0.0-0" || t.value === "<0.0.0-0") || !r.
      includePrerelease && (this.value.startsWith("<0.0.0") || t.value.startsWith("<0.0.0")) ? !1 : !!(this.operator.startsWith(">") && t.operator.
      startsWith(">") || this.operator.startsWith("<") && t.operator.startsWith("<") || this.semver.version === t.semver.version && this.operator.
      includes("=") && t.operator.includes("=") || nb(this.semver, "<", t.semver, r) && this.operator.startsWith(">") && t.operator.startsWith(
      "<") || nb(this.semver, ">", t.semver, r) && this.operator.startsWith("<") && t.operator.startsWith(">")));
    }
  };
  a(s0, "Comparator");
  var ab = s0;
  eB.exports = ab;
  var KM = Bg(), { safeRe: XM, t: QM } = gc(), nb = JE(), ob = n0(), JM = Vt(), ZM = hn();
});

// ../node_modules/semver/functions/satisfies.js
var l0 = L((JLe, tB) => {
  var Yde = hn(), Kde = /* @__PURE__ */ a((e, t, r) => {
    try {
      t = new Yde(t, r);
    } catch {
      return !1;
    }
    return t.test(e);
  }, "satisfies");
  tB.exports = Kde;
});

// ../node_modules/semver/ranges/to-comparators.js
var nB = L((eOe, rB) => {
  var Xde = hn(), Qde = /* @__PURE__ */ a((e, t) => new Xde(e, t).set.map((r) => r.map((n) => n.value).join(" ").trim().split(" ")), "toComp\
arators");
  rB.exports = Qde;
});

// ../node_modules/semver/ranges/max-satisfying.js
var aB = L((rOe, oB) => {
  var Jde = Vt(), Zde = hn(), e1e = /* @__PURE__ */ a((e, t, r) => {
    let n = null, o = null, i = null;
    try {
      i = new Zde(t, r);
    } catch {
      return null;
    }
    return e.forEach((s) => {
      i.test(s) && (!n || o.compare(s) === -1) && (n = s, o = new Jde(n, r));
    }), n;
  }, "maxSatisfying");
  oB.exports = e1e;
});

// ../node_modules/semver/ranges/min-satisfying.js
var sB = L((oOe, iB) => {
  var t1e = Vt(), r1e = hn(), n1e = /* @__PURE__ */ a((e, t, r) => {
    let n = null, o = null, i = null;
    try {
      i = new r1e(t, r);
    } catch {
      return null;
    }
    return e.forEach((s) => {
      i.test(s) && (!n || o.compare(s) === 1) && (n = s, o = new t1e(n, r));
    }), n;
  }, "minSatisfying");
  iB.exports = n1e;
});

// ../node_modules/semver/ranges/min-version.js
var cB = L((iOe, uB) => {
  var ib = Vt(), o1e = hn(), lB = o0(), a1e = /* @__PURE__ */ a((e, t) => {
    e = new o1e(e, t);
    let r = new ib("0.0.0");
    if (e.test(r) || (r = new ib("0.0.0-0"), e.test(r)))
      return r;
    r = null;
    for (let n = 0; n < e.set.length; ++n) {
      let o = e.set[n], i = null;
      o.forEach((s) => {
        let l = new ib(s.semver.version);
        switch (s.operator) {
          case ">":
            l.prerelease.length === 0 ? l.patch++ : l.prerelease.push(0), l.raw = l.format();
          /* fallthrough */
          case "":
          case ">=":
            (!i || lB(l, i)) && (i = l);
            break;
          case "<":
          case "<=":
            break;
          /* istanbul ignore next */
          default:
            throw new Error(`Unexpected operation: ${s.operator}`);
        }
      }), i && (!r || lB(r, i)) && (r = i);
    }
    return r && e.test(r) ? r : null;
  }, "minVersion");
  uB.exports = a1e;
});

// ../node_modules/semver/ranges/valid.js
var fB = L((lOe, pB) => {
  var i1e = hn(), s1e = /* @__PURE__ */ a((e, t) => {
    try {
      return new i1e(e, t).range || "*";
    } catch {
      return null;
    }
  }, "validRange");
  pB.exports = s1e;
});

// ../node_modules/semver/ranges/outside.js
var Yg = L((cOe, gB) => {
  var l1e = Vt(), mB = a0(), { ANY: u1e } = mB, c1e = hn(), p1e = l0(), dB = o0(), hB = Vg(), f1e = Wg(), d1e = Ug(), h1e = /* @__PURE__ */ a(
  (e, t, r, n) => {
    e = new l1e(e, n), t = new c1e(t, n);
    let o, i, s, l, u;
    switch (r) {
      case ">":
        o = dB, i = f1e, s = hB, l = ">", u = ">=";
        break;
      case "<":
        o = hB, i = d1e, s = dB, l = "<", u = "<=";
        break;
      default:
        throw new TypeError('Must provide a hilo val of "<" or ">"');
    }
    if (p1e(e, t, n))
      return !1;
    for (let c = 0; c < t.set.length; ++c) {
      let p = t.set[c], h = null, m = null;
      if (p.forEach((g) => {
        g.semver === u1e && (g = new mB(">=0.0.0")), h = h || g, m = m || g, o(g.semver, h.semver, n) ? h = g : s(g.semver, m.semver, n) && (m =
        g);
      }), h.operator === l || h.operator === u || (!m.operator || m.operator === l) && i(e, m.semver))
        return !1;
      if (m.operator === u && s(e, m.semver))
        return !1;
    }
    return !0;
  }, "outside");
  gB.exports = h1e;
});

// ../node_modules/semver/ranges/gtr.js
var yB = L((fOe, vB) => {
  var m1e = Yg(), g1e = /* @__PURE__ */ a((e, t, r) => m1e(e, t, ">", r), "gtr");
  vB.exports = g1e;
});

// ../node_modules/semver/ranges/ltr.js
var SB = L((hOe, wB) => {
  var v1e = Yg(), y1e = /* @__PURE__ */ a((e, t, r) => v1e(e, t, "<", r), "ltr");
  wB.exports = y1e;
});

// ../node_modules/semver/ranges/intersects.js
var xB = L((gOe, bB) => {
  var EB = hn(), w1e = /* @__PURE__ */ a((e, t, r) => (e = new EB(e, r), t = new EB(t, r), e.intersects(t, r)), "intersects");
  bB.exports = w1e;
});

// ../node_modules/semver/ranges/simplify.js
var CB = L((yOe, RB) => {
  var S1e = l0(), E1e = dn();
  RB.exports = (e, t, r) => {
    let n = [], o = null, i = null, s = e.sort((p, h) => E1e(p, h, r));
    for (let p of s)
      S1e(p, t, r) ? (i = p, o || (o = p)) : (i && n.push([o, i]), i = null, o = null);
    o && n.push([o, null]);
    let l = [];
    for (let [p, h] of n)
      p === h ? l.push(p) : !h && p === s[0] ? l.push("*") : h ? p === s[0] ? l.push(`<=${h}`) : l.push(`${p} - ${h}`) : l.push(`>=${p}`);
    let u = l.join(" || "), c = typeof t.raw == "string" ? t.raw : String(t);
    return u.length < c.length ? u : t;
  };
});

// ../node_modules/semver/ranges/subset.js
var PB = L((wOe, IB) => {
  var DB = hn(), lb = a0(), { ANY: sb } = lb, u0 = l0(), ub = dn(), b1e = /* @__PURE__ */ a((e, t, r = {}) => {
    if (e === t)
      return !0;
    e = new DB(e, r), t = new DB(t, r);
    let n = !1;
    e: for (let o of e.set) {
      for (let i of t.set) {
        let s = R1e(o, i, r);
        if (n = n || s !== null, s)
          continue e;
      }
      if (n)
        return !1;
    }
    return !0;
  }, "subset"), x1e = [new lb(">=0.0.0-0")], AB = [new lb(">=0.0.0")], R1e = /* @__PURE__ */ a((e, t, r) => {
    if (e === t)
      return !0;
    if (e.length === 1 && e[0].semver === sb) {
      if (t.length === 1 && t[0].semver === sb)
        return !0;
      r.includePrerelease ? e = x1e : e = AB;
    }
    if (t.length === 1 && t[0].semver === sb) {
      if (r.includePrerelease)
        return !0;
      t = AB;
    }
    let n = /* @__PURE__ */ new Set(), o, i;
    for (let g of e)
      g.operator === ">" || g.operator === ">=" ? o = _B(o, g, r) : g.operator === "<" || g.operator === "<=" ? i = TB(i, g, r) : n.add(g.semver);
    if (n.size > 1)
      return null;
    let s;
    if (o && i) {
      if (s = ub(o.semver, i.semver, r), s > 0)
        return null;
      if (s === 0 && (o.operator !== ">=" || i.operator !== "<="))
        return null;
    }
    for (let g of n) {
      if (o && !u0(g, String(o), r) || i && !u0(g, String(i), r))
        return null;
      for (let w of t)
        if (!u0(g, String(w), r))
          return !1;
      return !0;
    }
    let l, u, c, p, h = i && !r.includePrerelease && i.semver.prerelease.length ? i.semver : !1, m = o && !r.includePrerelease && o.semver.prerelease.
    length ? o.semver : !1;
    h && h.prerelease.length === 1 && i.operator === "<" && h.prerelease[0] === 0 && (h = !1);
    for (let g of t) {
      if (p = p || g.operator === ">" || g.operator === ">=", c = c || g.operator === "<" || g.operator === "<=", o) {
        if (m && g.semver.prerelease && g.semver.prerelease.length && g.semver.major === m.major && g.semver.minor === m.minor && g.semver.patch ===
        m.patch && (m = !1), g.operator === ">" || g.operator === ">=") {
          if (l = _B(o, g, r), l === g && l !== o)
            return !1;
        } else if (o.operator === ">=" && !u0(o.semver, String(g), r))
          return !1;
      }
      if (i) {
        if (h && g.semver.prerelease && g.semver.prerelease.length && g.semver.major === h.major && g.semver.minor === h.minor && g.semver.patch ===
        h.patch && (h = !1), g.operator === "<" || g.operator === "<=") {
          if (u = TB(i, g, r), u === g && u !== i)
            return !1;
        } else if (i.operator === "<=" && !u0(i.semver, String(g), r))
          return !1;
      }
      if (!g.operator && (i || o) && s !== 0)
        return !1;
    }
    return !(o && c && !i && s !== 0 || i && p && !o && s !== 0 || m || h);
  }, "simpleSubset"), _B = /* @__PURE__ */ a((e, t, r) => {
    if (!e)
      return t;
    let n = ub(e.semver, t.semver, r);
    return n > 0 ? e : n < 0 || t.operator === ">" && e.operator === ">=" ? t : e;
  }, "higherGT"), TB = /* @__PURE__ */ a((e, t, r) => {
    if (!e)
      return t;
    let n = ub(e.semver, t.semver, r);
    return n < 0 ? e : n > 0 || t.operator === "<" && e.operator === "<=" ? t : e;
  }, "lowerLT");
  IB.exports = b1e;
});

// ../node_modules/semver/index.js
var OB = L((EOe, LB) => {
  var cb = gc(), kB = r0(), C1e = Vt(), FB = YE(), D1e = xs(), A1e = aM(), _1e = sM(), T1e = cM(), I1e = dM(), P1e = mM(), k1e = vM(), F1e = wM(),
  L1e = EM(), O1e = dn(), N1e = CM(), M1e = AM(), B1e = jg(), z1e = PM(), H1e = FM(), $1e = o0(), j1e = Vg(), V1e = XE(), U1e = QE(), W1e = Ug(),
  q1e = Wg(), G1e = JE(), Y1e = jM(), K1e = a0(), X1e = hn(), Q1e = l0(), J1e = nB(), Z1e = aB(), ehe = sB(), the = cB(), rhe = fB(), nhe = Yg(),
  ohe = yB(), ahe = SB(), ihe = xB(), she = CB(), lhe = PB();
  LB.exports = {
    parse: D1e,
    valid: A1e,
    clean: _1e,
    inc: T1e,
    diff: I1e,
    major: P1e,
    minor: k1e,
    patch: F1e,
    prerelease: L1e,
    compare: O1e,
    rcompare: N1e,
    compareLoose: M1e,
    compareBuild: B1e,
    sort: z1e,
    rsort: H1e,
    gt: $1e,
    lt: j1e,
    eq: V1e,
    neq: U1e,
    gte: W1e,
    lte: q1e,
    cmp: G1e,
    coerce: Y1e,
    Comparator: K1e,
    Range: X1e,
    satisfies: Q1e,
    toComparators: J1e,
    maxSatisfying: Z1e,
    minSatisfying: ehe,
    minVersion: the,
    validRange: rhe,
    outside: nhe,
    gtr: ohe,
    ltr: ahe,
    intersects: ihe,
    simplifyRange: she,
    subset: lhe,
    SemVer: C1e,
    re: cb.re,
    src: cb.src,
    tokens: cb.t,
    SEMVER_SPEC_VERSION: kB.SEMVER_SPEC_VERSION,
    RELEASE_TYPES: kB.RELEASE_TYPES,
    compareIdentifiers: FB.compareIdentifiers,
    rcompareIdentifiers: FB.rcompareIdentifiers
  };
});

// ../node_modules/store2/dist/store2.js
var $B = L((Kg, Xg) => {
  (function(e, t) {
    var r = {
      version: "2.14.2",
      areas: {},
      apis: {},
      nsdelim: ".",
      // utilities
      inherit: /* @__PURE__ */ a(function(o, i) {
        for (var s in o)
          i.hasOwnProperty(s) || Object.defineProperty(i, s, Object.getOwnPropertyDescriptor(o, s));
        return i;
      }, "inherit"),
      stringify: /* @__PURE__ */ a(function(o, i) {
        return o === void 0 || typeof o == "function" ? o + "" : JSON.stringify(o, i || r.replace);
      }, "stringify"),
      parse: /* @__PURE__ */ a(function(o, i) {
        try {
          return JSON.parse(o, i || r.revive);
        } catch {
          return o;
        }
      }, "parse"),
      // extension hooks
      fn: /* @__PURE__ */ a(function(o, i) {
        r.storeAPI[o] = i;
        for (var s in r.apis)
          r.apis[s][o] = i;
      }, "fn"),
      get: /* @__PURE__ */ a(function(o, i) {
        return o.getItem(i);
      }, "get"),
      set: /* @__PURE__ */ a(function(o, i, s) {
        o.setItem(i, s);
      }, "set"),
      remove: /* @__PURE__ */ a(function(o, i) {
        o.removeItem(i);
      }, "remove"),
      key: /* @__PURE__ */ a(function(o, i) {
        return o.key(i);
      }, "key"),
      length: /* @__PURE__ */ a(function(o) {
        return o.length;
      }, "length"),
      clear: /* @__PURE__ */ a(function(o) {
        o.clear();
      }, "clear"),
      // core functions
      Store: /* @__PURE__ */ a(function(o, i, s) {
        var l = r.inherit(r.storeAPI, function(c, p, h) {
          return arguments.length === 0 ? l.getAll() : typeof p == "function" ? l.transact(c, p, h) : p !== void 0 ? l.set(c, p, h) : typeof c ==
          "string" || typeof c == "number" ? l.get(c) : typeof c == "function" ? l.each(c) : c ? l.setAll(c, p) : l.clear();
        });
        l._id = o;
        try {
          var u = "__store2_test";
          i.setItem(u, "ok"), l._area = i, i.removeItem(u);
        } catch {
          l._area = r.storage("fake");
        }
        return l._ns = s || "", r.areas[o] || (r.areas[o] = l._area), r.apis[l._ns + l._id] || (r.apis[l._ns + l._id] = l), l;
      }, "Store"),
      storeAPI: {
        // admin functions
        area: /* @__PURE__ */ a(function(o, i) {
          var s = this[o];
          return (!s || !s.area) && (s = r.Store(o, i, this._ns), this[o] || (this[o] = s)), s;
        }, "area"),
        namespace: /* @__PURE__ */ a(function(o, i, s) {
          if (s = s || this._delim || r.nsdelim, !o)
            return this._ns ? this._ns.substring(0, this._ns.length - s.length) : "";
          var l = o, u = this[l];
          if ((!u || !u.namespace) && (u = r.Store(this._id, this._area, this._ns + l + s), u._delim = s, this[l] || (this[l] = u), !i))
            for (var c in r.areas)
              u.area(c, r.areas[c]);
          return u;
        }, "namespace"),
        isFake: /* @__PURE__ */ a(function(o) {
          return o ? (this._real = this._area, this._area = r.storage("fake")) : o === !1 && (this._area = this._real || this._area), this._area.
          name === "fake";
        }, "isFake"),
        toString: /* @__PURE__ */ a(function() {
          return "store" + (this._ns ? "." + this.namespace() : "") + "[" + this._id + "]";
        }, "toString"),
        // storage functions
        has: /* @__PURE__ */ a(function(o) {
          return this._area.has ? this._area.has(this._in(o)) : this._in(o) in this._area;
        }, "has"),
        size: /* @__PURE__ */ a(function() {
          return this.keys().length;
        }, "size"),
        each: /* @__PURE__ */ a(function(o, i) {
          for (var s = 0, l = r.length(this._area); s < l; s++) {
            var u = this._out(r.key(this._area, s));
            if (u !== void 0 && o.call(this, u, this.get(u), i) === !1)
              break;
            l > r.length(this._area) && (l--, s--);
          }
          return i || this;
        }, "each"),
        keys: /* @__PURE__ */ a(function(o) {
          return this.each(function(i, s, l) {
            l.push(i);
          }, o || []);
        }, "keys"),
        get: /* @__PURE__ */ a(function(o, i) {
          var s = r.get(this._area, this._in(o)), l;
          return typeof i == "function" && (l = i, i = null), s !== null ? r.parse(s, l) : i ?? s;
        }, "get"),
        getAll: /* @__PURE__ */ a(function(o) {
          return this.each(function(i, s, l) {
            l[i] = s;
          }, o || {});
        }, "getAll"),
        transact: /* @__PURE__ */ a(function(o, i, s) {
          var l = this.get(o, s), u = i(l);
          return this.set(o, u === void 0 ? l : u), this;
        }, "transact"),
        set: /* @__PURE__ */ a(function(o, i, s) {
          var l = this.get(o), u;
          return l != null && s === !1 ? i : (typeof s == "function" && (u = s, s = void 0), r.set(this._area, this._in(o), r.stringify(i, u),
          s) || l);
        }, "set"),
        setAll: /* @__PURE__ */ a(function(o, i) {
          var s, l;
          for (var u in o)
            l = o[u], this.set(u, l, i) !== l && (s = !0);
          return s;
        }, "setAll"),
        add: /* @__PURE__ */ a(function(o, i, s) {
          var l = this.get(o);
          if (l instanceof Array)
            i = l.concat(i);
          else if (l !== null) {
            var u = typeof l;
            if (u === typeof i && u === "object") {
              for (var c in i)
                l[c] = i[c];
              i = l;
            } else
              i = l + i;
          }
          return r.set(this._area, this._in(o), r.stringify(i, s)), i;
        }, "add"),
        remove: /* @__PURE__ */ a(function(o, i) {
          var s = this.get(o, i);
          return r.remove(this._area, this._in(o)), s;
        }, "remove"),
        clear: /* @__PURE__ */ a(function() {
          return this._ns ? this.each(function(o) {
            r.remove(this._area, this._in(o));
          }, 1) : r.clear(this._area), this;
        }, "clear"),
        clearAll: /* @__PURE__ */ a(function() {
          var o = this._area;
          for (var i in r.areas)
            r.areas.hasOwnProperty(i) && (this._area = r.areas[i], this.clear());
          return this._area = o, this;
        }, "clearAll"),
        // internal use functions
        _in: /* @__PURE__ */ a(function(o) {
          return typeof o != "string" && (o = r.stringify(o)), this._ns ? this._ns + o : o;
        }, "_in"),
        _out: /* @__PURE__ */ a(function(o) {
          return this._ns ? o && o.indexOf(this._ns) === 0 ? o.substring(this._ns.length) : void 0 : (
            // so each() knows to skip it
            o
          );
        }, "_out")
      },
      // end _.storeAPI
      storage: /* @__PURE__ */ a(function(o) {
        return r.inherit(r.storageAPI, { items: {}, name: o });
      }, "storage"),
      storageAPI: {
        length: 0,
        has: /* @__PURE__ */ a(function(o) {
          return this.items.hasOwnProperty(o);
        }, "has"),
        key: /* @__PURE__ */ a(function(o) {
          var i = 0;
          for (var s in this.items)
            if (this.has(s) && o === i++)
              return s;
        }, "key"),
        setItem: /* @__PURE__ */ a(function(o, i) {
          this.has(o) || this.length++, this.items[o] = i;
        }, "setItem"),
        removeItem: /* @__PURE__ */ a(function(o) {
          this.has(o) && (delete this.items[o], this.length--);
        }, "removeItem"),
        getItem: /* @__PURE__ */ a(function(o) {
          return this.has(o) ? this.items[o] : null;
        }, "getItem"),
        clear: /* @__PURE__ */ a(function() {
          for (var o in this.items)
            this.removeItem(o);
        }, "clear")
      }
      // end _.storageAPI
    }, n = (
      // safely set this up (throws error in IE10/32bit mode for local files)
      r.Store("local", function() {
        try {
          return localStorage;
        } catch {
        }
      }())
    );
    n.local = n, n._ = r, n.area("session", function() {
      try {
        return sessionStorage;
      } catch {
      }
    }()), n.area("page", r.storage("page")), typeof t == "function" && t.amd !== void 0 ? t("store2", [], function() {
      return n;
    }) : typeof Xg < "u" && Xg.exports ? Xg.exports = n : (e.store && (r.conflict = e.store), e.store = n);
  })(Kg, Kg && Kg.define);
});

// ../node_modules/browser-dtector/browser-dtector.umd.min.js
var QB = L((Sb, Eb) => {
  (function(e, t) {
    typeof Sb == "object" && typeof Eb < "u" ? Eb.exports = t() : typeof define == "function" && define.amd ? define(t) : (e = typeof globalThis <
    "u" ? globalThis : e || self).BrowserDetector = t();
  })(Sb, function() {
    "use strict";
    function e(s, l) {
      for (var u = 0; u < l.length; u++) {
        var c = l[u];
        c.enumerable = c.enumerable || !1, c.configurable = !0, "value" in c && (c.writable = !0), Object.defineProperty(s, (p = c.key, h = void 0,
        typeof (h = function(m, g) {
          if (typeof m != "object" || m === null) return m;
          var w = m[Symbol.toPrimitive];
          if (w !== void 0) {
            var v = w.call(m, g || "default");
            if (typeof v != "object") return v;
            throw new TypeError("@@toPrimitive must return a primitive value.");
          }
          return (g === "string" ? String : Number)(m);
        }(p, "string")) == "symbol" ? h : String(h)), c);
      }
      var p, h;
    }
    a(e, "e");
    var t = { chrome: "Google Chrome", brave: "Brave", crios: "Google Chrome", edge: "Microsoft Edge", edg: "Microsoft Edge", edgios: "Micro\
soft Edge", fennec: "Mozilla Firefox", jsdom: "JsDOM", mozilla: "Mozilla Firefox", fxios: "Mozilla Firefox", msie: "Microsoft Internet Explo\
rer", opera: "Opera", opios: "Opera", opr: "Opera", opt: "Opera", rv: "Microsoft Internet Explorer", safari: "Safari", samsungbrowser: "Sams\
ung Browser", electron: "Electron" }, r = { android: "Android", androidTablet: "Android Tablet", cros: "Chrome OS", fennec: "Android Tablet",
    ipad: "IPad", iphone: "IPhone", jsdom: "JsDOM", linux: "Linux", mac: "Macintosh", tablet: "Android Tablet", win: "Windows", "windows pho\
ne": "Windows Phone", xbox: "Microsoft Xbox" }, n = /* @__PURE__ */ a(function(s) {
      var l = new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : -1, "})?")), u = Number(
      s).toString().match(l);
      return u ? u[0] : null;
    }, "n"), o = /* @__PURE__ */ a(function() {
      return typeof window < "u" ? window.navigator : null;
    }, "i"), i = function() {
      function s(p) {
        var h;
        (function(m, g) {
          if (!(m instanceof g)) throw new TypeError("Cannot call a class as a function");
        })(this, s), this.userAgent = p || ((h = o()) === null || h === void 0 ? void 0 : h.userAgent) || null;
      }
      a(s, "t");
      var l, u, c;
      return l = s, u = [{ key: "parseUserAgent", value: /* @__PURE__ */ a(function(p) {
        var h, m, g, w = {}, v = p || this.userAgent || "", S = v.toLowerCase().replace(/\s\s+/g, " "), E = /(edge)\/([\w.]+)/.exec(S) || /(edg)[/]([\w.]+)/.
        exec(S) || /(opr)[/]([\w.]+)/.exec(S) || /(opt)[/]([\w.]+)/.exec(S) || /(fxios)[/]([\w.]+)/.exec(S) || /(edgios)[/]([\w.]+)/.exec(S) ||
        /(jsdom)[/]([\w.]+)/.exec(S) || /(samsungbrowser)[/]([\w.]+)/.exec(S) || /(electron)[/]([\w.]+)/.exec(S) || /(chrome)[/]([\w.]+)/.exec(
        S) || /(crios)[/]([\w.]+)/.exec(S) || /(opios)[/]([\w.]+)/.exec(S) || /(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(
        S) || /(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(S) || /(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(
        S) || /(webkit)[/]([\w.]+)/.exec(S) || /(opera)(?:.*version|)[/]([\w.]+)/.exec(S) || /(msie) ([\w.]+)/.exec(S) || /(fennec)[/]([\w.]+)/.
        exec(S) || S.indexOf("trident") >= 0 && /(rv)(?::| )([\w.]+)/.exec(S) || S.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.
        exec(S) || [], y = /(ipad)/.exec(S) || /(ipod)/.exec(S) || /(iphone)/.exec(S) || /(jsdom)/.exec(S) || /(windows phone)/.exec(S) || /(xbox)/.
        exec(S) || /(win)/.exec(S) || /(tablet)/.exec(S) || /(android)/.test(S) && /(mobile)/.test(S) === !1 && ["androidTablet"] || /(android)/.
        exec(S) || /(mac)/.exec(S) || /(linux)/.exec(S) || /(cros)/.exec(S) || [], b = E[5] || E[3] || E[1] || null, x = y[0] || null, R = E[4] ||
        E[2] || null, C = o();
        b === "chrome" && typeof (C == null || (h = C.brave) === null || h === void 0 ? void 0 : h.isBrave) == "function" && (b = "brave"), b &&
        (w[b] = !0), x && (w[x] = !0);
        var D = !!(w.tablet || w.android || w.androidTablet), A = !!(w.ipad || w.tablet || w.androidTablet), P = !!(w.android || w.androidTablet ||
        w.tablet || w.ipad || w.ipod || w.iphone || w["windows phone"]), k = !!(w.cros || w.mac || w.linux || w.win), M = !!(w.brave || w.chrome ||
        w.crios || w.opr || w.safari || w.edg || w.electron), V = !!(w.msie || w.rv);
        return { name: (m = t[b]) !== null && m !== void 0 ? m : null, platform: (g = r[x]) !== null && g !== void 0 ? g : null, userAgent: v,
        version: R, shortVersion: R ? n(parseFloat(R), 2) : null, isAndroid: D, isTablet: A, isMobile: P, isDesktop: k, isWebkit: M, isIE: V };
      }, "value") }, { key: "getBrowserInfo", value: /* @__PURE__ */ a(function() {
        var p = this.parseUserAgent();
        return { name: p.name, platform: p.platform, userAgent: p.userAgent, version: p.version, shortVersion: p.shortVersion };
      }, "value") }], c = [{ key: "VERSION", get: /* @__PURE__ */ a(function() {
        return "3.4.0";
      }, "get") }], u && e(l.prototype, u), c && e(l, c), Object.defineProperty(l, "prototype", { writable: !1 }), s;
    }();
    return i;
  });
});

// src/manager/globals-runtime.ts
qe();

// src/core-events/index.ts
var na = {};
de(na, {
  ARGTYPES_INFO_REQUEST: () => kz,
  ARGTYPES_INFO_RESPONSE: () => Fz,
  CHANNEL_CREATED: () => dz,
  CHANNEL_WS_DISCONNECT: () => t2,
  CONFIG_ERROR: () => r2,
  CREATE_NEW_STORYFILE_REQUEST: () => hz,
  CREATE_NEW_STORYFILE_RESPONSE: () => mz,
  CURRENT_STORY_WAS_SET: () => n2,
  DOCS_PREPARED: () => o2,
  DOCS_RENDERED: () => gz,
  FILE_COMPONENT_SEARCH_REQUEST: () => vz,
  FILE_COMPONENT_SEARCH_RESPONSE: () => yz,
  FORCE_REMOUNT: () => a2,
  FORCE_RE_RENDER: () => wz,
  GLOBALS_UPDATED: () => xc,
  NAVIGATE_URL: () => i2,
  PLAY_FUNCTION_THREW_EXCEPTION: () => Sz,
  PRELOAD_ENTRIES: () => s2,
  PREVIEW_BUILDER_PROGRESS: () => bz,
  PREVIEW_KEYDOWN: () => l2,
  REGISTER_SUBSCRIPTION: () => xz,
  REQUEST_WHATS_NEW_DATA: () => x2,
  RESET_STORY_ARGS: () => u2,
  RESULT_WHATS_NEW_DATA: () => R2,
  SAVE_STORY_REQUEST: () => Iz,
  SAVE_STORY_RESPONSE: () => Pz,
  SELECT_STORY: () => c2,
  SET_CONFIG: () => ra,
  SET_CURRENT_STORY: () => Rc,
  SET_FILTER: () => p2,
  SET_GLOBALS: () => f2,
  SET_INDEX: () => d2,
  SET_STORIES: () => Cc,
  SET_WHATS_NEW_CACHE: () => C2,
  SHARED_STATE_CHANGED: () => w0,
  SHARED_STATE_SET: () => si,
  STORIES_COLLAPSE_ALL: () => h2,
  STORIES_EXPAND_ALL: () => m2,
  STORY_ARGS_UPDATED: () => Dc,
  STORY_CHANGED: () => Ac,
  STORY_ERRORED: () => Rz,
  STORY_FINISHED: () => Az,
  STORY_INDEX_INVALIDATED: () => g2,
  STORY_MISSING: () => v2,
  STORY_PREPARED: () => y2,
  STORY_RENDERED: () => Dz,
  STORY_RENDER_PHASE_CHANGED: () => Cz,
  STORY_SPECIFIED: () => w2,
  STORY_THREW_EXCEPTION: () => _z,
  STORY_UNCHANGED: () => Tz,
  TELEMETRY_ERROR: () => A2,
  TESTING_MODULE_CANCEL_TEST_RUN_REQUEST: () => T2,
  TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE: () => Nz,
  TESTING_MODULE_CRASH_REPORT: () => Lz,
  TESTING_MODULE_PROGRESS_REPORT: () => Oz,
  TESTING_MODULE_RUN_ALL_REQUEST: () => _2,
  TESTING_MODULE_RUN_REQUEST: () => S0,
  TOGGLE_WHATS_NEW_NOTIFICATIONS: () => D2,
  UNHANDLED_ERRORS_WHILE_PLAYING: () => Ez,
  UPDATE_GLOBALS: () => S2,
  UPDATE_QUERY_PARAMS: () => E2,
  UPDATE_STORY_ARGS: () => b2,
  default: () => fz
});
var e2 = /* @__PURE__ */ ((W) => (W.CHANNEL_WS_DISCONNECT = "channelWSDisconnect", W.CHANNEL_CREATED = "channelCreated", W.CONFIG_ERROR = "c\
onfigError", W.STORY_INDEX_INVALIDATED = "storyIndexInvalidated", W.STORY_SPECIFIED = "storySpecified", W.SET_CONFIG = "setConfig", W.SET_STORIES =
"setStories", W.SET_INDEX = "setIndex", W.SET_CURRENT_STORY = "setCurrentStory", W.CURRENT_STORY_WAS_SET = "currentStoryWasSet", W.FORCE_RE_RENDER =
"forceReRender", W.FORCE_REMOUNT = "forceRemount", W.PRELOAD_ENTRIES = "preloadStories", W.STORY_PREPARED = "storyPrepared", W.DOCS_PREPARED =
"docsPrepared", W.STORY_CHANGED = "storyChanged", W.STORY_UNCHANGED = "storyUnchanged", W.STORY_RENDERED = "storyRendered", W.STORY_FINISHED =
"storyFinished", W.STORY_MISSING = "storyMissing", W.STORY_ERRORED = "storyErrored", W.STORY_THREW_EXCEPTION = "storyThrewException", W.STORY_RENDER_PHASE_CHANGED =
"storyRenderPhaseChanged", W.PLAY_FUNCTION_THREW_EXCEPTION = "playFunctionThrewException", W.UNHANDLED_ERRORS_WHILE_PLAYING = "unhandledErro\
rsWhilePlaying", W.UPDATE_STORY_ARGS = "updateStoryArgs", W.STORY_ARGS_UPDATED = "storyArgsUpdated", W.RESET_STORY_ARGS = "resetStoryArgs", W.
SET_FILTER = "setFilter", W.SET_GLOBALS = "setGlobals", W.UPDATE_GLOBALS = "updateGlobals", W.GLOBALS_UPDATED = "globalsUpdated", W.REGISTER_SUBSCRIPTION =
"registerSubscription", W.PREVIEW_KEYDOWN = "previewKeydown", W.PREVIEW_BUILDER_PROGRESS = "preview_builder_progress", W.SELECT_STORY = "sel\
ectStory", W.STORIES_COLLAPSE_ALL = "storiesCollapseAll", W.STORIES_EXPAND_ALL = "storiesExpandAll", W.DOCS_RENDERED = "docsRendered", W.SHARED_STATE_CHANGED =
"sharedStateChanged", W.SHARED_STATE_SET = "sharedStateSet", W.NAVIGATE_URL = "navigateUrl", W.UPDATE_QUERY_PARAMS = "updateQueryParams", W.
REQUEST_WHATS_NEW_DATA = "requestWhatsNewData", W.RESULT_WHATS_NEW_DATA = "resultWhatsNewData", W.SET_WHATS_NEW_CACHE = "setWhatsNewCache", W.
TOGGLE_WHATS_NEW_NOTIFICATIONS = "toggleWhatsNewNotifications", W.TELEMETRY_ERROR = "telemetryError", W.FILE_COMPONENT_SEARCH_REQUEST = "fil\
eComponentSearchRequest", W.FILE_COMPONENT_SEARCH_RESPONSE = "fileComponentSearchResponse", W.SAVE_STORY_REQUEST = "saveStoryRequest", W.SAVE_STORY_RESPONSE =
"saveStoryResponse", W.ARGTYPES_INFO_REQUEST = "argtypesInfoRequest", W.ARGTYPES_INFO_RESPONSE = "argtypesInfoResponse", W.CREATE_NEW_STORYFILE_REQUEST =
"createNewStoryfileRequest", W.CREATE_NEW_STORYFILE_RESPONSE = "createNewStoryfileResponse", W.TESTING_MODULE_CRASH_REPORT = "testingModuleC\
rashReport", W.TESTING_MODULE_PROGRESS_REPORT = "testingModuleProgressReport", W.TESTING_MODULE_RUN_REQUEST = "testingModuleRunRequest", W.TESTING_MODULE_RUN_ALL_REQUEST =
"testingModuleRunAllRequest", W.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST = "testingModuleCancelTestRunRequest", W.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE =
"testingModuleCancelTestRunResponse", W))(e2 || {}), fz = e2, {
  CHANNEL_WS_DISCONNECT: t2,
  CHANNEL_CREATED: dz,
  CONFIG_ERROR: r2,
  CREATE_NEW_STORYFILE_REQUEST: hz,
  CREATE_NEW_STORYFILE_RESPONSE: mz,
  CURRENT_STORY_WAS_SET: n2,
  DOCS_PREPARED: o2,
  DOCS_RENDERED: gz,
  FILE_COMPONENT_SEARCH_REQUEST: vz,
  FILE_COMPONENT_SEARCH_RESPONSE: yz,
  FORCE_RE_RENDER: wz,
  FORCE_REMOUNT: a2,
  GLOBALS_UPDATED: xc,
  NAVIGATE_URL: i2,
  PLAY_FUNCTION_THREW_EXCEPTION: Sz,
  UNHANDLED_ERRORS_WHILE_PLAYING: Ez,
  PRELOAD_ENTRIES: s2,
  PREVIEW_BUILDER_PROGRESS: bz,
  PREVIEW_KEYDOWN: l2,
  REGISTER_SUBSCRIPTION: xz,
  RESET_STORY_ARGS: u2,
  SELECT_STORY: c2,
  SET_CONFIG: ra,
  SET_CURRENT_STORY: Rc,
  SET_FILTER: p2,
  SET_GLOBALS: f2,
  SET_INDEX: d2,
  SET_STORIES: Cc,
  SHARED_STATE_CHANGED: w0,
  SHARED_STATE_SET: si,
  STORIES_COLLAPSE_ALL: h2,
  STORIES_EXPAND_ALL: m2,
  STORY_ARGS_UPDATED: Dc,
  STORY_CHANGED: Ac,
  STORY_ERRORED: Rz,
  STORY_INDEX_INVALIDATED: g2,
  STORY_MISSING: v2,
  STORY_PREPARED: y2,
  STORY_RENDER_PHASE_CHANGED: Cz,
  STORY_RENDERED: Dz,
  STORY_FINISHED: Az,
  STORY_SPECIFIED: w2,
  STORY_THREW_EXCEPTION: _z,
  STORY_UNCHANGED: Tz,
  UPDATE_GLOBALS: S2,
  UPDATE_QUERY_PARAMS: E2,
  UPDATE_STORY_ARGS: b2,
  REQUEST_WHATS_NEW_DATA: x2,
  RESULT_WHATS_NEW_DATA: R2,
  SET_WHATS_NEW_CACHE: C2,
  TOGGLE_WHATS_NEW_NOTIFICATIONS: D2,
  TELEMETRY_ERROR: A2,
  SAVE_STORY_REQUEST: Iz,
  SAVE_STORY_RESPONSE: Pz,
  ARGTYPES_INFO_REQUEST: kz,
  ARGTYPES_INFO_RESPONSE: Fz,
  TESTING_MODULE_CRASH_REPORT: Lz,
  TESTING_MODULE_PROGRESS_REPORT: Oz,
  TESTING_MODULE_RUN_REQUEST: S0,
  TESTING_MODULE_RUN_ALL_REQUEST: _2,
  TESTING_MODULE_CANCEL_TEST_RUN_REQUEST: T2,
  TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE: Nz
} = e2;

// src/manager/globals/globals.ts
var I2 = {
  react: "__REACT__",
  "react-dom": "__REACT_DOM__",
  "react-dom/client": "__REACT_DOM_CLIENT__",
  "@storybook/icons": "__STORYBOOK_ICONS__",
  "storybook/internal/manager-api": "__STORYBOOK_API__",
  "@storybook/manager-api": "__STORYBOOK_API__",
  "@storybook/core/manager-api": "__STORYBOOK_API__",
  "storybook/internal/components": "__STORYBOOK_COMPONENTS__",
  "@storybook/components": "__STORYBOOK_COMPONENTS__",
  "@storybook/core/components": "__STORYBOOK_COMPONENTS__",
  "storybook/internal/channels": "__STORYBOOK_CHANNELS__",
  "@storybook/channels": "__STORYBOOK_CHANNELS__",
  "@storybook/core/channels": "__STORYBOOK_CHANNELS__",
  "storybook/internal/core-errors": "__STORYBOOK_CORE_EVENTS__",
  "@storybook/core-events": "__STORYBOOK_CORE_EVENTS__",
  "@storybook/core/core-events": "__STORYBOOK_CORE_EVENTS__",
  "storybook/internal/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__",
  "@storybook/core-events/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__",
  "@storybook/core/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__",
  "storybook/internal/router": "__STORYBOOK_ROUTER__",
  "@storybook/router": "__STORYBOOK_ROUTER__",
  "@storybook/core/router": "__STORYBOOK_ROUTER__",
  "storybook/internal/theming": "__STORYBOOK_THEMING__",
  "@storybook/theming": "__STORYBOOK_THEMING__",
  "@storybook/core/theming": "__STORYBOOK_THEMING__",
  "storybook/internal/theming/create": "__STORYBOOK_THEMING_CREATE__",
  "@storybook/theming/create": "__STORYBOOK_THEMING_CREATE__",
  "@storybook/core/theming/create": "__STORYBOOK_THEMING_CREATE__",
  "storybook/internal/client-logger": "__STORYBOOK_CLIENT_LOGGER__",
  "@storybook/client-logger": "__STORYBOOK_CLIENT_LOGGER__",
  "@storybook/core/client-logger": "__STORYBOOK_CLIENT_LOGGER__",
  "storybook/internal/types": "__STORYBOOK_TYPES__",
  "@storybook/types": "__STORYBOOK_TYPES__",
  "@storybook/core/types": "__STORYBOOK_TYPES__"
}, Pb = Object.keys(I2);

// src/manager/globals/runtime.ts
var The = _(F(), 1), Ihe = _(Wr(), 1), Phe = _(p6(), 1);

// src/channels/index.ts
var Rp = {};
de(Rp, {
  Channel: () => Yn,
  HEARTBEAT_INTERVAL: () => cy,
  HEARTBEAT_MAX_LATENCY: () => py,
  PostMessageTransport: () => sl,
  WebsocketTransport: () => ll,
  createBrowserChannel: () => XU,
  default: () => KU
});
qe();

// src/shared/universal-store/index.ts
Ca();

// src/shared/universal-store/instances.ts
var Xv = /* @__PURE__ */ new Map();

// src/shared/universal-store/index.ts
var Z$ = "UNIVERSAL_STORE:", qr = {
  PENDING: "PENDING",
  RESOLVED: "RESOLVED",
  REJECTED: "REJECTED"
}, J = class J {
  constructor(t, r) {
    /** Enable debug logs for this store */
    this.debugging = !1;
    // TODO: narrow type of listeners based on event type
    this.listeners = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set()]]);
    /** Gets the current state */
    this.getState = /* @__PURE__ */ a(() => (this.debug("getState", { state: this.state }), this.state), "getState");
    /**
     * Subscribes to store events
     *
     * @returns A function to unsubscribe
     */
    this.subscribe = /* @__PURE__ */ a((t, r) => {
      let n = typeof t == "function", o = n ? "*" : t, i = n ? t : r;
      if (this.debug("subscribe", { eventType: o, listener: i }), !i)
        throw new TypeError(
          `Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`
        );
      return this.listeners.has(o) || this.listeners.set(o, /* @__PURE__ */ new Set()), this.listeners.get(o).add(i), () => {
        this.debug("unsubscribe", { eventType: o, listener: i }), this.listeners.has(o) && (this.listeners.get(o).delete(i), this.listeners.
        get(o)?.size === 0 && this.listeners.delete(o));
      };
    }, "subscribe");
    /** Sends a custom event to the other stores */
    this.send = /* @__PURE__ */ a((t) => {
      if (this.debug("send", { event: t }), this.status !== J.Status.READY)
        throw new TypeError(
          st`Cannot send event before store is ready. You can get the current status with store.status,
        or await store.readyPromise to wait for the store to be ready before sending events.
        ${JSON.stringify(
            {
              event: t,
              id: this.id,
              actor: this.actor,
              environment: this.environment
            },
            null,
            2
          )}`
        );
      this.emitToListeners(t, { actor: this.actor }), this.emitToChannel(t, { actor: this.actor });
    }, "send");
    if (this.debugging = t.debug ?? !1, !J.isInternalConstructing)
      throw new TypeError(
        "UniversalStore is not constructable - use UniversalStore.create() instead"
      );
    if (J.isInternalConstructing = !1, this.id = t.id, this.actorId = Date.now().toString(36) + Math.random().toString(36).substring(2), this.
    actorType = t.leader ? J.ActorType.LEADER : J.ActorType.FOLLOWER, this.state = t.initialState, this.channelEventName = `${Z$}${this.id}`,
    this.debug("constructor", {
      options: t,
      environmentOverrides: r,
      channelEventName: this.channelEventName
    }), this.actor.type === J.ActorType.LEADER)
      this.syncing = {
        state: qr.RESOLVED,
        promise: Promise.resolve()
      };
    else {
      let n, o, i = new Promise((s, l) => {
        n = /* @__PURE__ */ a(() => {
          this.syncing.state === qr.PENDING && (this.syncing.state = qr.RESOLVED, s());
        }, "syncingResolve"), o = /* @__PURE__ */ a((u) => {
          this.syncing.state === qr.PENDING && (this.syncing.state = qr.REJECTED, l(u));
        }, "syncingReject");
      });
      this.syncing = {
        state: qr.PENDING,
        promise: i,
        resolve: n,
        reject: o
      };
    }
    this.getState = this.getState.bind(this), this.setState = this.setState.bind(this), this.subscribe = this.subscribe.bind(this), this.onStateChange =
    this.onStateChange.bind(this), this.send = this.send.bind(this), this.emitToChannel = this.emitToChannel.bind(this), this.prepareThis = this.
    prepareThis.bind(this), this.emitToListeners = this.emitToListeners.bind(this), this.handleChannelEvents = this.handleChannelEvents.bind(
    this), this.debug = this.debug.bind(this), this.channel = r?.channel ?? J.preparation.channel, this.environment = r?.environment ?? J.preparation.
    environment, this.channel && this.environment ? this.prepareThis({ channel: this.channel, environment: this.environment }) : J.preparation.
    promise.then(this.prepareThis);
  }
  static setupPreparationPromise() {
    let t, r, n = new Promise(
      (o, i) => {
        t = /* @__PURE__ */ a((s) => {
          o(s);
        }, "resolveRef"), r = /* @__PURE__ */ a((...s) => {
          i(s);
        }, "rejectRef");
      }
    );
    J.preparation = {
      resolve: t,
      reject: r,
      promise: n
    };
  }
  /** The actor object representing the store instance with a unique ID and a type */
  get actor() {
    return Object.freeze({
      id: this.actorId,
      type: this.actorType,
      environment: this.environment ?? J.Environment.UNKNOWN
    });
  }
  /**
   * The current state of the store, that signals both if the store is prepared by Storybook and
   * also - in the case of a follower - if the state has been synced with the leader's state.
   */
  get status() {
    if (!this.channel || !this.environment)
      return J.Status.UNPREPARED;
    switch (this.syncing?.state) {
      case qr.PENDING:
      case void 0:
        return J.Status.SYNCING;
      case qr.REJECTED:
        return J.Status.ERROR;
      case qr.RESOLVED:
      default:
        return J.Status.READY;
    }
  }
  /**
   * A promise that resolves when the store is fully ready. A leader will be ready when the store
   * has been prepared by Storybook, which is almost instantly.
   *
   * A follower will be ready when the state has been synced with the leader's state, within a few
   * hundred milliseconds.
   */
  untilReady() {
    return Promise.all([J.preparation.promise, this.syncing?.promise]);
  }
  /** Creates a new instance of UniversalStore */
  static create(t) {
    if (!t || typeof t?.id != "string")
      throw new TypeError("id is required and must be a string, when creating a UniversalStore");
    t.debug && console.debug(
      st`[UniversalStore]
        create`,
      { options: t }
    );
    let r = Xv.get(t.id);
    if (r)
      return console.warn(st`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
        You should reuse the existing instance instead of trying to create a new one.`), r;
    J.isInternalConstructing = !0;
    let n = new J(t);
    return Xv.set(t.id, n), n;
  }
  /**
   * Used by Storybook to set the channel for all instances of UniversalStore in the given
   * environment.
   *
   * @internal
   */
  static __prepare(t, r) {
    J.preparation.channel = t, J.preparation.environment = r, J.preparation.resolve({ channel: t, environment: r });
  }
  /**
   * Updates the store's state
   *
   * Either a new state or a state updater function can be passed to the method.
   */
  setState(t) {
    let r = this.state, n = typeof t == "function" ? t(r) : t;
    if (this.debug("setState", { newState: n, previousState: r, updater: t }), this.status !== J.Status.READY)
      throw new TypeError(
        st`Cannot set state before store is ready. You can get the current status with store.status,
        or await store.readyPromise to wait for the store to be ready before sending events.
        ${JSON.stringify(
          {
            newState: n,
            id: this.id,
            actor: this.actor,
            environment: this.environment
          },
          null,
          2
        )}`
      );
    this.state = n;
    let o = {
      type: J.InternalEventType.SET_STATE,
      payload: {
        state: n,
        previousState: r
      }
    };
    this.emitToChannel(o, { actor: this.actor }), this.emitToListeners(o, { actor: this.actor });
  }
  /**
   * Subscribes to state changes
   *
   * @returns Unsubscribe function
   */
  onStateChange(t) {
    return this.debug("onStateChange", { listener: t }), this.subscribe(
      J.InternalEventType.SET_STATE,
      ({ payload: r }, n) => {
        t(r.state, r.previousState, n);
      }
    );
  }
  emitToChannel(t, r) {
    this.debug("emitToChannel", { event: t, eventInfo: r, channel: this.channel }), this.channel?.emit(this.channelEventName, {
      event: t,
      eventInfo: r
    });
  }
  prepareThis({
    channel: t,
    environment: r
  }) {
    this.channel = t, this.environment = r, this.debug("prepared", { channel: t, environment: r }), this.channel.on(this.channelEventName, this.
    handleChannelEvents), this.actor.type === J.ActorType.LEADER ? this.emitToChannel(
      { type: J.InternalEventType.LEADER_CREATED },
      { actor: this.actor }
    ) : (this.emitToChannel(
      { type: J.InternalEventType.FOLLOWER_CREATED },
      { actor: this.actor }
    ), this.emitToChannel(
      { type: J.InternalEventType.EXISTING_STATE_REQUEST },
      { actor: this.actor }
    ), setTimeout(() => {
      this.syncing.reject(
        new TypeError(
          `No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower\
.`
        )
      );
    }, 1e3));
  }
  emitToListeners(t, r) {
    let n = this.listeners.get(t.type), o = this.listeners.get("*");
    this.debug("emitToListeners", {
      event: t,
      eventInfo: r,
      eventTypeListeners: n,
      everythingListeners: o
    }), [...n ?? [], ...o ?? []].forEach(
      (i) => i(t, r)
    );
  }
  handleChannelEvents(t) {
    let { event: r, eventInfo: n } = t;
    if ([n.actor.id, n.forwardingActor?.id].includes(this.actor.id)) {
      this.debug("handleChannelEvents: Ignoring event from self", { channelEvent: t });
      return;
    } else if (this.syncing?.state === qr.PENDING && r.type !== J.InternalEventType.EXISTING_STATE_RESPONSE) {
      this.debug("handleChannelEvents: Ignoring event while syncing", { channelEvent: t });
      return;
    }
    if (this.debug("handleChannelEvents", { channelEvent: t }), this.actor.type === J.ActorType.LEADER) {
      let o = !0;
      switch (r.type) {
        case J.InternalEventType.EXISTING_STATE_REQUEST:
          o = !1;
          let i = {
            type: J.InternalEventType.EXISTING_STATE_RESPONSE,
            payload: this.state
          };
          this.debug("handleChannelEvents: responding to existing state request", {
            responseEvent: i
          }), this.emitToChannel(i, { actor: this.actor });
          break;
        case J.InternalEventType.LEADER_CREATED:
          o = !1, this.syncing.state = qr.REJECTED, this.debug("handleChannelEvents: erroring due to second leader being created", {
            event: r
          }), console.error(
            st`Detected multiple UniversalStore leaders created with the same id "${this.id}".
            Only one leader can exists at a time, your stores are now in an invalid state.
            Leaders detected:
            this: ${JSON.stringify(this.actor, null, 2)}
            other: ${JSON.stringify(n.actor, null, 2)}`
          );
          break;
      }
      o && (this.debug("handleChannelEvents: forwarding event", { channelEvent: t }), this.emitToChannel(r, { actor: n.actor, forwardingActor: this.
      actor }));
    }
    if (this.actor.type === J.ActorType.FOLLOWER)
      switch (r.type) {
        case J.InternalEventType.EXISTING_STATE_RESPONSE:
          if (this.debug("handleChannelEvents: Setting state from leader's existing state response", {
            event: r
          }), this.syncing?.state !== qr.PENDING)
            break;
          this.syncing.resolve?.();
          let o = {
            type: J.InternalEventType.SET_STATE,
            payload: {
              state: r.payload,
              previousState: this.state
            }
          };
          this.state = r.payload, this.emitToListeners(o, n);
          break;
      }
    switch (r.type) {
      case J.InternalEventType.SET_STATE:
        this.debug("handleChannelEvents: Setting state", { event: r }), this.state = r.payload.state;
        break;
    }
    this.emitToListeners(r, { actor: n.actor });
  }
  debug(t, r) {
    this.debugging && console.debug(
      st`[UniversalStore::${this.id}::${this.environment ?? J.Environment.UNKNOWN}]
        ${t}`,
      JSON.stringify(
        {
          data: r,
          actor: this.actor,
          state: this.state,
          status: this.status
        },
        null,
        2
      )
    );
  }
  /**
   * Used to reset the static fields of the UniversalStore class when cleaning up tests
   *
   * @internal
   */
  static __reset() {
    J.preparation.reject(new Error("reset")), J.setupPreparationPromise(), J.isInternalConstructing = !1;
  }
};
a(J, "UniversalStore"), /**
 * Defines the possible actor types in the store system
 *
 * @readonly
 */
J.ActorType = {
  LEADER: "LEADER",
  FOLLOWER: "FOLLOWER"
}, /**
 * Defines the possible environments the store can run in
 *
 * @readonly
 */
J.Environment = {
  SERVER: "SERVER",
  MANAGER: "MANAGER",
  PREVIEW: "PREVIEW",
  UNKNOWN: "UNKNOWN",
  MOCK: "MOCK"
}, /**
 * Internal event types used for store synchronization
 *
 * @readonly
 */
J.InternalEventType = {
  EXISTING_STATE_REQUEST: "__EXISTING_STATE_REQUEST",
  EXISTING_STATE_RESPONSE: "__EXISTING_STATE_RESPONSE",
  SET_STATE: "__SET_STATE",
  LEADER_CREATED: "__LEADER_CREATED",
  FOLLOWER_CREATED: "__FOLLOWER_CREATED"
}, J.Status = {
  UNPREPARED: "UNPREPARED",
  SYNCING: "SYNCING",
  READY: "READY",
  ERROR: "ERROR"
}, // This is used to check if constructor was called from the static factory create()
J.isInternalConstructing = !1, J.setupPreparationPromise();
var _r = J;

// src/channels/main.ts
var ej = /* @__PURE__ */ a((e) => e.transports !== void 0, "isMulti"), tj = /* @__PURE__ */ a(() => Math.random().toString(16).slice(2), "ge\
nerateRandomId"), Qv = class Qv {
  constructor(t = {}) {
    this.sender = tj();
    this.events = {};
    this.data = {};
    this.transports = [];
    this.isAsync = t.async || !1, ej(t) ? (this.transports = t.transports || [], this.transports.forEach((r) => {
      r.setHandler((n) => this.handleEvent(n));
    })) : this.transports = t.transport ? [t.transport] : [], this.transports.forEach((r) => {
      r.setHandler((n) => this.handleEvent(n));
    });
  }
  get hasTransport() {
    return this.transports.length > 0;
  }
  addListener(t, r) {
    this.events[t] = this.events[t] || [], this.events[t].push(r);
  }
  emit(t, ...r) {
    let n = { type: t, args: r, from: this.sender }, o = {};
    r.length >= 1 && r[0] && r[0].options && (o = r[0].options);
    let i = /* @__PURE__ */ a(() => {
      this.transports.forEach((s) => {
        s.send(n, o);
      }), this.handleEvent(n);
    }, "handler");
    this.isAsync ? setImmediate(i) : i();
  }
  last(t) {
    return this.data[t];
  }
  eventNames() {
    return Object.keys(this.events);
  }
  listenerCount(t) {
    let r = this.listeners(t);
    return r ? r.length : 0;
  }
  listeners(t) {
    return this.events[t] || void 0;
  }
  once(t, r) {
    let n = this.onceListener(t, r);
    this.addListener(t, n);
  }
  removeAllListeners(t) {
    t ? this.events[t] && delete this.events[t] : this.events = {};
  }
  removeListener(t, r) {
    let n = this.listeners(t);
    n && (this.events[t] = n.filter((o) => o !== r));
  }
  on(t, r) {
    this.addListener(t, r);
  }
  off(t, r) {
    this.removeListener(t, r);
  }
  handleEvent(t) {
    let r = this.listeners(t.type);
    r && r.length && r.forEach((n) => {
      n.apply(t, t.args);
    }), this.data[t.type] = t.args;
  }
  onceListener(t, r) {
    let n = /* @__PURE__ */ a((...o) => (this.removeListener(t, n), r(...o)), "onceListener");
    return n;
  }
};
a(Qv, "Channel");
var Yn = Qv;

// src/channels/postmessage/index.ts
qe();
Ht();

// ../node_modules/telejson/dist/chunk-465TF3XA.mjs
var oj = Object.create, d6 = Object.defineProperty, aj = Object.getOwnPropertyDescriptor, h6 = Object.getOwnPropertyNames, ij = Object.getPrototypeOf,
sj = Object.prototype.hasOwnProperty, Tr = /* @__PURE__ */ a((e, t) => /* @__PURE__ */ a(function() {
  return t || (0, e[h6(e)[0]])((t = { exports: {} }).exports, t), t.exports;
}, "__require"), "__commonJS"), lj = /* @__PURE__ */ a((e, t, r, n) => {
  if (t && typeof t == "object" || typeof t == "function")
    for (let o of h6(t))
      !sj.call(e, o) && o !== r && d6(e, o, { get: /* @__PURE__ */ a(() => t[o], "get"), enumerable: !(n = aj(t, o)) || n.enumerable });
  return e;
}, "__copyProps"), Vd = /* @__PURE__ */ a((e, t, r) => (r = e != null ? oj(ij(e)) : {}, lj(
  t || !e || !e.__esModule ? d6(r, "default", { value: e, enumerable: !0 }) : r,
  e
)), "__toESM"), uj = [
  "bubbles",
  "cancelBubble",
  "cancelable",
  "composed",
  "currentTarget",
  "defaultPrevented",
  "eventPhase",
  "isTrusted",
  "returnValue",
  "srcElement",
  "target",
  "timeStamp",
  "type"
], cj = ["detail"];
function m6(e) {
  let t = uj.filter((r) => e[r] !== void 0).reduce((r, n) => ({ ...r, [n]: e[n] }), {});
  return e instanceof CustomEvent && cj.filter((r) => e[r] !== void 0).forEach((r) => {
    t[r] = e[r];
  }), t;
}
a(m6, "extractEventHiddenProperties");

// ../node_modules/telejson/dist/index.mjs
var P6 = _(Kn(), 1);
var b6 = Tr({
  "node_modules/has-symbols/shams.js"(e, t) {
    "use strict";
    t.exports = /* @__PURE__ */ a(function() {
      if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
        return !1;
      if (typeof Symbol.iterator == "symbol")
        return !0;
      var n = {}, o = Symbol("test"), i = Object(o);
      if (typeof o == "string" || Object.prototype.toString.call(o) !== "[object Symbol]" || Object.prototype.toString.call(i) !== "[object \
Symbol]")
        return !1;
      var s = 42;
      n[o] = s;
      for (o in n)
        return !1;
      if (typeof Object.keys == "function" && Object.keys(n).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(
      n).length !== 0)
        return !1;
      var l = Object.getOwnPropertySymbols(n);
      if (l.length !== 1 || l[0] !== o || !Object.prototype.propertyIsEnumerable.call(n, o))
        return !1;
      if (typeof Object.getOwnPropertyDescriptor == "function") {
        var u = Object.getOwnPropertyDescriptor(n, o);
        if (u.value !== s || u.enumerable !== !0)
          return !1;
      }
      return !0;
    }, "hasSymbols");
  }
}), x6 = Tr({
  "node_modules/has-symbols/index.js"(e, t) {
    "use strict";
    var r = typeof Symbol < "u" && Symbol, n = b6();
    t.exports = /* @__PURE__ */ a(function() {
      return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 :
      n();
    }, "hasNativeSymbols");
  }
}), pj = Tr({
  "node_modules/function-bind/implementation.js"(e, t) {
    "use strict";
    var r = "Function.prototype.bind called on incompatible ", n = Array.prototype.slice, o = Object.prototype.toString, i = "[object Functi\
on]";
    t.exports = /* @__PURE__ */ a(function(l) {
      var u = this;
      if (typeof u != "function" || o.call(u) !== i)
        throw new TypeError(r + u);
      for (var c = n.call(arguments, 1), p, h = /* @__PURE__ */ a(function() {
        if (this instanceof p) {
          var S = u.apply(
            this,
            c.concat(n.call(arguments))
          );
          return Object(S) === S ? S : this;
        } else
          return u.apply(
            l,
            c.concat(n.call(arguments))
          );
      }, "binder"), m = Math.max(0, u.length - c.length), g = [], w = 0; w < m; w++)
        g.push("$" + w);
      if (p = Function("binder", "return function (" + g.join(",") + "){ return binder.apply(this,arguments); }")(h), u.prototype) {
        var v = /* @__PURE__ */ a(function() {
        }, "Empty2");
        v.prototype = u.prototype, p.prototype = new v(), v.prototype = null;
      }
      return p;
    }, "bind");
  }
}), ty = Tr({
  "node_modules/function-bind/index.js"(e, t) {
    "use strict";
    var r = pj();
    t.exports = Function.prototype.bind || r;
  }
}), fj = Tr({
  "node_modules/has/src/index.js"(e, t) {
    "use strict";
    var r = ty();
    t.exports = r.call(Function.call, Object.prototype.hasOwnProperty);
  }
}), R6 = Tr({
  "node_modules/get-intrinsic/index.js"(e, t) {
    "use strict";
    var r, n = SyntaxError, o = Function, i = TypeError, s = /* @__PURE__ */ a(function(V) {
      try {
        return o('"use strict"; return (' + V + ").constructor;")();
      } catch {
      }
    }, "getEvalledConstructor"), l = Object.getOwnPropertyDescriptor;
    if (l)
      try {
        l({}, "");
      } catch {
        l = null;
      }
    var u = /* @__PURE__ */ a(function() {
      throw new i();
    }, "throwTypeError"), c = l ? function() {
      try {
        return arguments.callee, u;
      } catch {
        try {
          return l(arguments, "callee").get;
        } catch {
          return u;
        }
      }
    }() : u, p = x6()(), h = Object.getPrototypeOf || function(V) {
      return V.__proto__;
    }, m = {}, g = typeof Uint8Array > "u" ? r : h(Uint8Array), w = {
      "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError,
      "%Array%": Array,
      "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer,
      "%ArrayIteratorPrototype%": p ? h([][Symbol.iterator]()) : r,
      "%AsyncFromSyncIteratorPrototype%": r,
      "%AsyncFunction%": m,
      "%AsyncGenerator%": m,
      "%AsyncGeneratorFunction%": m,
      "%AsyncIteratorPrototype%": m,
      "%Atomics%": typeof Atomics > "u" ? r : Atomics,
      "%BigInt%": typeof BigInt > "u" ? r : BigInt,
      "%Boolean%": Boolean,
      "%DataView%": typeof DataView > "u" ? r : DataView,
      "%Date%": Date,
      "%decodeURI%": decodeURI,
      "%decodeURIComponent%": decodeURIComponent,
      "%encodeURI%": encodeURI,
      "%encodeURIComponent%": encodeURIComponent,
      "%Error%": Error,
      "%eval%": eval,
      "%EvalError%": EvalError,
      "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array,
      "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array,
      "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry,
      "%Function%": o,
      "%GeneratorFunction%": m,
      "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array,
      "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array,
      "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array,
      "%isFinite%": isFinite,
      "%isNaN%": isNaN,
      "%IteratorPrototype%": p ? h(h([][Symbol.iterator]())) : r,
      "%JSON%": typeof JSON == "object" ? JSON : r,
      "%Map%": typeof Map > "u" ? r : Map,
      "%MapIteratorPrototype%": typeof Map > "u" || !p ? r : h((/* @__PURE__ */ new Map())[Symbol.iterator]()),
      "%Math%": Math,
      "%Number%": Number,
      "%Object%": Object,
      "%parseFloat%": parseFloat,
      "%parseInt%": parseInt,
      "%Promise%": typeof Promise > "u" ? r : Promise,
      "%Proxy%": typeof Proxy > "u" ? r : Proxy,
      "%RangeError%": RangeError,
      "%ReferenceError%": ReferenceError,
      "%Reflect%": typeof Reflect > "u" ? r : Reflect,
      "%RegExp%": RegExp,
      "%Set%": typeof Set > "u" ? r : Set,
      "%SetIteratorPrototype%": typeof Set > "u" || !p ? r : h((/* @__PURE__ */ new Set())[Symbol.iterator]()),
      "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer,
      "%String%": String,
      "%StringIteratorPrototype%": p ? h(""[Symbol.iterator]()) : r,
      "%Symbol%": p ? Symbol : r,
      "%SyntaxError%": n,
      "%ThrowTypeError%": c,
      "%TypedArray%": g,
      "%TypeError%": i,
      "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array,
      "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray,
      "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array,
      "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array,
      "%URIError%": URIError,
      "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap,
      "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef,
      "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet
    }, v = /* @__PURE__ */ a(function V(H) {
      var X;
      if (H === "%AsyncFunction%")
        X = s("async function () {}");
      else if (H === "%GeneratorFunction%")
        X = s("function* () {}");
      else if (H === "%AsyncGeneratorFunction%")
        X = s("async function* () {}");
      else if (H === "%AsyncGenerator%") {
        var B = V("%AsyncGeneratorFunction%");
        B && (X = B.prototype);
      } else if (H === "%AsyncIteratorPrototype%") {
        var O = V("%AsyncGenerator%");
        O && (X = h(O.prototype));
      }
      return w[H] = X, X;
    }, "doEval2"), S = {
      "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
      "%ArrayPrototype%": ["Array", "prototype"],
      "%ArrayProto_entries%": ["Array", "prototype", "entries"],
      "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
      "%ArrayProto_keys%": ["Array", "prototype", "keys"],
      "%ArrayProto_values%": ["Array", "prototype", "values"],
      "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
      "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
      "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
      "%BooleanPrototype%": ["Boolean", "prototype"],
      "%DataViewPrototype%": ["DataView", "prototype"],
      "%DatePrototype%": ["Date", "prototype"],
      "%ErrorPrototype%": ["Error", "prototype"],
      "%EvalErrorPrototype%": ["EvalError", "prototype"],
      "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
      "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
      "%FunctionPrototype%": ["Function", "prototype"],
      "%Generator%": ["GeneratorFunction", "prototype"],
      "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
      "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
      "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
      "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
      "%JSONParse%": ["JSON", "parse"],
      "%JSONStringify%": ["JSON", "stringify"],
      "%MapPrototype%": ["Map", "prototype"],
      "%NumberPrototype%": ["Number", "prototype"],
      "%ObjectPrototype%": ["Object", "prototype"],
      "%ObjProto_toString%": ["Object", "prototype", "toString"],
      "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
      "%PromisePrototype%": ["Promise", "prototype"],
      "%PromiseProto_then%": ["Promise", "prototype", "then"],
      "%Promise_all%": ["Promise", "all"],
      "%Promise_reject%": ["Promise", "reject"],
      "%Promise_resolve%": ["Promise", "resolve"],
      "%RangeErrorPrototype%": ["RangeError", "prototype"],
      "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
      "%RegExpPrototype%": ["RegExp", "prototype"],
      "%SetPrototype%": ["Set", "prototype"],
      "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
      "%StringPrototype%": ["String", "prototype"],
      "%SymbolPrototype%": ["Symbol", "prototype"],
      "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
      "%TypedArrayPrototype%": ["TypedArray", "prototype"],
      "%TypeErrorPrototype%": ["TypeError", "prototype"],
      "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
      "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
      "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
      "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
      "%URIErrorPrototype%": ["URIError", "prototype"],
      "%WeakMapPrototype%": ["WeakMap", "prototype"],
      "%WeakSetPrototype%": ["WeakSet", "prototype"]
    }, E = ty(), y = fj(), b = E.call(Function.call, Array.prototype.concat), x = E.call(Function.apply, Array.prototype.splice), R = E.call(
    Function.call, String.prototype.replace), C = E.call(Function.call, String.prototype.slice), D = E.call(Function.call, RegExp.prototype.
    exec), A = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, P = /\\(\\)?/g, k = /* @__PURE__ */ a(
    function(H) {
      var X = C(H, 0, 1), B = C(H, -1);
      if (X === "%" && B !== "%")
        throw new n("invalid intrinsic syntax, expected closing `%`");
      if (B === "%" && X !== "%")
        throw new n("invalid intrinsic syntax, expected opening `%`");
      var O = [];
      return R(H, A, function(K, re, Q, ue) {
        O[O.length] = Q ? R(ue, P, "$1") : re || K;
      }), O;
    }, "stringToPath3"), M = /* @__PURE__ */ a(function(H, X) {
      var B = H, O;
      if (y(S, B) && (O = S[B], B = "%" + O[0] + "%"), y(w, B)) {
        var K = w[B];
        if (K === m && (K = v(B)), typeof K > "u" && !X)
          throw new i("intrinsic " + H + " exists, but is not available. Please file an issue!");
        return {
          alias: O,
          name: B,
          value: K
        };
      }
      throw new n("intrinsic " + H + " does not exist!");
    }, "getBaseIntrinsic2");
    t.exports = /* @__PURE__ */ a(function(H, X) {
      if (typeof H != "string" || H.length === 0)
        throw new i("intrinsic name must be a non-empty string");
      if (arguments.length > 1 && typeof X != "boolean")
        throw new i('"allowMissing" argument must be a boolean');
      if (D(/^%?[^%]*%?$/, H) === null)
        throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
      var B = k(H), O = B.length > 0 ? B[0] : "", K = M("%" + O + "%", X), re = K.name, Q = K.value, ue = !1, Z = K.alias;
      Z && (O = Z[0], x(B, b([0, 1], Z)));
      for (var fe = 1, Xe = !0; fe < B.length; fe += 1) {
        var Ee = B[fe], Oe = C(Ee, 0, 1), We = C(Ee, -1);
        if ((Oe === '"' || Oe === "'" || Oe === "`" || We === '"' || We === "'" || We === "`") && Oe !== We)
          throw new n("property names with quotes must have matching quotes");
        if ((Ee === "constructor" || !Xe) && (ue = !0), O += "." + Ee, re = "%" + O + "%", y(w, re))
          Q = w[re];
        else if (Q != null) {
          if (!(Ee in Q)) {
            if (!X)
              throw new i("base intrinsic for " + H + " exists, but the property is not available.");
            return;
          }
          if (l && fe + 1 >= B.length) {
            var ot = l(Q, Ee);
            Xe = !!ot, Xe && "get" in ot && !("originalValue" in ot.get) ? Q = ot.get : Q = Q[Ee];
          } else
            Xe = y(Q, Ee), Q = Q[Ee];
          Xe && !ue && (w[re] = Q);
        }
      }
      return Q;
    }, "GetIntrinsic");
  }
}), dj = Tr({
  "node_modules/call-bind/index.js"(e, t) {
    "use strict";
    var r = ty(), n = R6(), o = n("%Function.prototype.apply%"), i = n("%Function.prototype.call%"), s = n("%Reflect.apply%", !0) || r.call(
    i, o), l = n("%Object.getOwnPropertyDescriptor%", !0), u = n("%Object.defineProperty%", !0), c = n("%Math.max%");
    if (u)
      try {
        u({}, "a", { value: 1 });
      } catch {
        u = null;
      }
    t.exports = /* @__PURE__ */ a(function(m) {
      var g = s(r, i, arguments);
      if (l && u) {
        var w = l(g, "length");
        w.configurable && u(
          g,
          "length",
          { value: 1 + c(0, m.length - (arguments.length - 1)) }
        );
      }
      return g;
    }, "callBind");
    var p = /* @__PURE__ */ a(function() {
      return s(r, o, arguments);
    }, "applyBind2");
    u ? u(t.exports, "apply", { value: p }) : t.exports.apply = p;
  }
}), hj = Tr({
  "node_modules/call-bind/callBound.js"(e, t) {
    "use strict";
    var r = R6(), n = dj(), o = n(r("String.prototype.indexOf"));
    t.exports = /* @__PURE__ */ a(function(s, l) {
      var u = r(s, !!l);
      return typeof u == "function" && o(s, ".prototype.") > -1 ? n(u) : u;
    }, "callBoundIntrinsic");
  }
}), mj = Tr({
  "node_modules/has-tostringtag/shams.js"(e, t) {
    "use strict";
    var r = b6();
    t.exports = /* @__PURE__ */ a(function() {
      return r() && !!Symbol.toStringTag;
    }, "hasToStringTagShams");
  }
}), gj = Tr({
  "node_modules/is-regex/index.js"(e, t) {
    "use strict";
    var r = hj(), n = mj()(), o, i, s, l;
    n && (o = r("Object.prototype.hasOwnProperty"), i = r("RegExp.prototype.exec"), s = {}, u = /* @__PURE__ */ a(function() {
      throw s;
    }, "throwRegexMarker"), l = {
      toString: u,
      valueOf: u
    }, typeof Symbol.toPrimitive == "symbol" && (l[Symbol.toPrimitive] = u));
    var u, c = r("Object.prototype.toString"), p = Object.getOwnPropertyDescriptor, h = "[object RegExp]";
    t.exports = /* @__PURE__ */ a(n ? function(g) {
      if (!g || typeof g != "object")
        return !1;
      var w = p(g, "lastIndex"), v = w && o(w, "value");
      if (!v)
        return !1;
      try {
        i(g, l);
      } catch (S) {
        return S === s;
      }
    } : function(g) {
      return !g || typeof g != "object" && typeof g != "function" ? !1 : c(g) === h;
    }, "isRegex");
  }
}), vj = Tr({
  "node_modules/is-function/index.js"(e, t) {
    t.exports = n;
    var r = Object.prototype.toString;
    function n(o) {
      if (!o)
        return !1;
      var i = r.call(o);
      return i === "[object Function]" || typeof o == "function" && i !== "[object RegExp]" || typeof window < "u" && (o === window.setTimeout ||
      o === window.alert || o === window.confirm || o === window.prompt);
    }
    a(n, "isFunction3");
  }
}), yj = Tr({
  "node_modules/is-symbol/index.js"(e, t) {
    "use strict";
    var r = Object.prototype.toString, n = x6()();
    n ? (o = Symbol.prototype.toString, i = /^Symbol\(.*\)$/, s = /* @__PURE__ */ a(function(u) {
      return typeof u.valueOf() != "symbol" ? !1 : i.test(o.call(u));
    }, "isRealSymbolObject"), t.exports = /* @__PURE__ */ a(function(u) {
      if (typeof u == "symbol")
        return !0;
      if (r.call(u) !== "[object Symbol]")
        return !1;
      try {
        return s(u);
      } catch {
        return !1;
      }
    }, "isSymbol3")) : t.exports = /* @__PURE__ */ a(function(u) {
      return !1;
    }, "isSymbol3");
    var o, i, s;
  }
}), wj = Vd(gj()), Sj = Vd(vj()), Ej = Vd(yj());
function bj(e) {
  return e != null && typeof e == "object" && Array.isArray(e) === !1;
}
a(bj, "isObject");
var xj = typeof global == "object" && global && global.Object === Object && global, Rj = xj, Cj = typeof self == "object" && self && self.Object ===
Object && self, Dj = Rj || Cj || Function("return this")(), ry = Dj, Aj = ry.Symbol, tl = Aj, C6 = Object.prototype, _j = C6.hasOwnProperty,
Tj = C6.toString, Ep = tl ? tl.toStringTag : void 0;
function Ij(e) {
  var t = _j.call(e, Ep), r = e[Ep];
  try {
    e[Ep] = void 0;
    var n = !0;
  } catch {
  }
  var o = Tj.call(e);
  return n && (t ? e[Ep] = r : delete e[Ep]), o;
}
a(Ij, "getRawTag");
var Pj = Ij, kj = Object.prototype, Fj = kj.toString;
function Lj(e) {
  return Fj.call(e);
}
a(Lj, "objectToString");
var Oj = Lj, Nj = "[object Null]", Mj = "[object Undefined]", v6 = tl ? tl.toStringTag : void 0;
function Bj(e) {
  return e == null ? e === void 0 ? Mj : Nj : v6 && v6 in Object(e) ? Pj(e) : Oj(e);
}
a(Bj, "baseGetTag");
var D6 = Bj;
function zj(e) {
  return e != null && typeof e == "object";
}
a(zj, "isObjectLike");
var Hj = zj, $j = "[object Symbol]";
function jj(e) {
  return typeof e == "symbol" || Hj(e) && D6(e) == $j;
}
a(jj, "isSymbol");
var ny = jj;
function Vj(e, t) {
  for (var r = -1, n = e == null ? 0 : e.length, o = Array(n); ++r < n; )
    o[r] = t(e[r], r, e);
  return o;
}
a(Vj, "arrayMap");
var Uj = Vj, Wj = Array.isArray, oy = Wj, qj = 1 / 0, y6 = tl ? tl.prototype : void 0, w6 = y6 ? y6.toString : void 0;
function A6(e) {
  if (typeof e == "string")
    return e;
  if (oy(e))
    return Uj(e, A6) + "";
  if (ny(e))
    return w6 ? w6.call(e) : "";
  var t = e + "";
  return t == "0" && 1 / e == -qj ? "-0" : t;
}
a(A6, "baseToString");
var Gj = A6;
function Yj(e) {
  var t = typeof e;
  return e != null && (t == "object" || t == "function");
}
a(Yj, "isObject2");
var _6 = Yj, Kj = "[object AsyncFunction]", Xj = "[object Function]", Qj = "[object GeneratorFunction]", Jj = "[object Proxy]";
function Zj(e) {
  if (!_6(e))
    return !1;
  var t = D6(e);
  return t == Xj || t == Qj || t == Kj || t == Jj;
}
a(Zj, "isFunction");
var eV = Zj, tV = ry["__core-js_shared__"], ey = tV, S6 = function() {
  var e = /[^.]+$/.exec(ey && ey.keys && ey.keys.IE_PROTO || "");
  return e ? "Symbol(src)_1." + e : "";
}();
function rV(e) {
  return !!S6 && S6 in e;
}
a(rV, "isMasked");
var nV = rV, oV = Function.prototype, aV = oV.toString;
function iV(e) {
  if (e != null) {
    try {
      return aV.call(e);
    } catch {
    }
    try {
      return e + "";
    } catch {
    }
  }
  return "";
}
a(iV, "toSource");
var sV = iV, lV = /[\\^$.*+?()[\]{}|]/g, uV = /^\[object .+?Constructor\]$/, cV = Function.prototype, pV = Object.prototype, fV = cV.toString,
dV = pV.hasOwnProperty, hV = RegExp(
  "^" + fV.call(dV).replace(lV, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
);
function mV(e) {
  if (!_6(e) || nV(e))
    return !1;
  var t = eV(e) ? hV : uV;
  return t.test(sV(e));
}
a(mV, "baseIsNative");
var gV = mV;
function vV(e, t) {
  return e?.[t];
}
a(vV, "getValue");
var yV = vV;
function wV(e, t) {
  var r = yV(e, t);
  return gV(r) ? r : void 0;
}
a(wV, "getNative");
var T6 = wV;
function SV(e, t) {
  return e === t || e !== e && t !== t;
}
a(SV, "eq");
var EV = SV, bV = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, xV = /^\w*$/;
function RV(e, t) {
  if (oy(e))
    return !1;
  var r = typeof e;
  return r == "number" || r == "symbol" || r == "boolean" || e == null || ny(e) ? !0 : xV.test(e) || !bV.test(e) || t != null && e in Object(
  t);
}
a(RV, "isKey");
var CV = RV, DV = T6(Object, "create"), bp = DV;
function AV() {
  this.__data__ = bp ? bp(null) : {}, this.size = 0;
}
a(AV, "hashClear");
var _V = AV;
function TV(e) {
  var t = this.has(e) && delete this.__data__[e];
  return this.size -= t ? 1 : 0, t;
}
a(TV, "hashDelete");
var IV = TV, PV = "__lodash_hash_undefined__", kV = Object.prototype, FV = kV.hasOwnProperty;
function LV(e) {
  var t = this.__data__;
  if (bp) {
    var r = t[e];
    return r === PV ? void 0 : r;
  }
  return FV.call(t, e) ? t[e] : void 0;
}
a(LV, "hashGet");
var OV = LV, NV = Object.prototype, MV = NV.hasOwnProperty;
function BV(e) {
  var t = this.__data__;
  return bp ? t[e] !== void 0 : MV.call(t, e);
}
a(BV, "hashHas");
var zV = BV, HV = "__lodash_hash_undefined__";
function $V(e, t) {
  var r = this.__data__;
  return this.size += this.has(e) ? 0 : 1, r[e] = bp && t === void 0 ? HV : t, this;
}
a($V, "hashSet");
var jV = $V;
function rl(e) {
  var t = -1, r = e == null ? 0 : e.length;
  for (this.clear(); ++t < r; ) {
    var n = e[t];
    this.set(n[0], n[1]);
  }
}
a(rl, "Hash");
rl.prototype.clear = _V;
rl.prototype.delete = IV;
rl.prototype.get = OV;
rl.prototype.has = zV;
rl.prototype.set = jV;
var E6 = rl;
function VV() {
  this.__data__ = [], this.size = 0;
}
a(VV, "listCacheClear");
var UV = VV;
function WV(e, t) {
  for (var r = e.length; r--; )
    if (EV(e[r][0], t))
      return r;
  return -1;
}
a(WV, "assocIndexOf");
var Wd = WV, qV = Array.prototype, GV = qV.splice;
function YV(e) {
  var t = this.__data__, r = Wd(t, e);
  if (r < 0)
    return !1;
  var n = t.length - 1;
  return r == n ? t.pop() : GV.call(t, r, 1), --this.size, !0;
}
a(YV, "listCacheDelete");
var KV = YV;
function XV(e) {
  var t = this.__data__, r = Wd(t, e);
  return r < 0 ? void 0 : t[r][1];
}
a(XV, "listCacheGet");
var QV = XV;
function JV(e) {
  return Wd(this.__data__, e) > -1;
}
a(JV, "listCacheHas");
var ZV = JV;
function eU(e, t) {
  var r = this.__data__, n = Wd(r, e);
  return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
}
a(eU, "listCacheSet");
var tU = eU;
function nl(e) {
  var t = -1, r = e == null ? 0 : e.length;
  for (this.clear(); ++t < r; ) {
    var n = e[t];
    this.set(n[0], n[1]);
  }
}
a(nl, "ListCache");
nl.prototype.clear = UV;
nl.prototype.delete = KV;
nl.prototype.get = QV;
nl.prototype.has = ZV;
nl.prototype.set = tU;
var rU = nl, nU = T6(ry, "Map"), oU = nU;
function aU() {
  this.size = 0, this.__data__ = {
    hash: new E6(),
    map: new (oU || rU)(),
    string: new E6()
  };
}
a(aU, "mapCacheClear");
var iU = aU;
function sU(e) {
  var t = typeof e;
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
}
a(sU, "isKeyable");
var lU = sU;
function uU(e, t) {
  var r = e.__data__;
  return lU(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
}
a(uU, "getMapData");
var qd = uU;
function cU(e) {
  var t = qd(this, e).delete(e);
  return this.size -= t ? 1 : 0, t;
}
a(cU, "mapCacheDelete");
var pU = cU;
function fU(e) {
  return qd(this, e).get(e);
}
a(fU, "mapCacheGet");
var dU = fU;
function hU(e) {
  return qd(this, e).has(e);
}
a(hU, "mapCacheHas");
var mU = hU;
function gU(e, t) {
  var r = qd(this, e), n = r.size;
  return r.set(e, t), this.size += r.size == n ? 0 : 1, this;
}
a(gU, "mapCacheSet");
var vU = gU;
function ol(e) {
  var t = -1, r = e == null ? 0 : e.length;
  for (this.clear(); ++t < r; ) {
    var n = e[t];
    this.set(n[0], n[1]);
  }
}
a(ol, "MapCache");
ol.prototype.clear = iU;
ol.prototype.delete = pU;
ol.prototype.get = dU;
ol.prototype.has = mU;
ol.prototype.set = vU;
var I6 = ol, yU = "Expected a function";
function ay(e, t) {
  if (typeof e != "function" || t != null && typeof t != "function")
    throw new TypeError(yU);
  var r = /* @__PURE__ */ a(function() {
    var n = arguments, o = t ? t.apply(this, n) : n[0], i = r.cache;
    if (i.has(o))
      return i.get(o);
    var s = e.apply(this, n);
    return r.cache = i.set(o, s) || i, s;
  }, "memoized");
  return r.cache = new (ay.Cache || I6)(), r;
}
a(ay, "memoize");
ay.Cache = I6;
var wU = ay, SU = 500;
function EU(e) {
  var t = wU(e, function(n) {
    return r.size === SU && r.clear(), n;
  }), r = t.cache;
  return t;
}
a(EU, "memoizeCapped");
var bU = EU, xU = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, RU = /\\(\\)?/g, CU = bU(
function(e) {
  var t = [];
  return e.charCodeAt(0) === 46 && t.push(""), e.replace(xU, function(r, n, o, i) {
    t.push(o ? i.replace(RU, "$1") : n || r);
  }), t;
}), DU = CU;
function AU(e) {
  return e == null ? "" : Gj(e);
}
a(AU, "toString");
var _U = AU;
function TU(e, t) {
  return oy(e) ? e : CV(e, t) ? [e] : DU(_U(e));
}
a(TU, "castPath");
var IU = TU, PU = 1 / 0;
function kU(e) {
  if (typeof e == "string" || ny(e))
    return e;
  var t = e + "";
  return t == "0" && 1 / e == -PU ? "-0" : t;
}
a(kU, "toKey");
var FU = kU;
function LU(e, t) {
  t = IU(t, e);
  for (var r = 0, n = t.length; e != null && r < n; )
    e = e[FU(t[r++])];
  return r && r == n ? e : void 0;
}
a(LU, "baseGet");
var OU = LU;
function NU(e, t, r) {
  var n = e == null ? void 0 : OU(e, t);
  return n === void 0 ? r : n;
}
a(NU, "get");
var MU = NU, Ud = bj, BU = /* @__PURE__ */ a((e) => {
  let t = null, r = !1, n = !1, o = !1, i = "";
  if (e.indexOf("//") >= 0 || e.indexOf("/*") >= 0)
    for (let s = 0; s < e.length; s += 1)
      !t && !r && !n && !o ? e[s] === '"' || e[s] === "'" || e[s] === "`" ? t = e[s] : e[s] === "/" && e[s + 1] === "*" ? r = !0 : e[s] === "\
/" && e[s + 1] === "/" ? n = !0 : e[s] === "/" && e[s + 1] !== "/" && (o = !0) : (t && (e[s] === t && e[s - 1] !== "\\" || e[s] === `
` && t !== "`") && (t = null), o && (e[s] === "/" && e[s - 1] !== "\\" || e[s] === `
`) && (o = !1), r && e[s - 1] === "/" && e[s - 2] === "*" && (r = !1), n && e[s] === `
` && (n = !1)), !r && !n && (i += e[s]);
  else
    i = e;
  return i;
}, "removeCodeComments"), zU = (0, P6.default)(1e4)(
  (e) => BU(e).replace(/\n\s*/g, "").trim()
), HU = /* @__PURE__ */ a(function(t, r) {
  let n = r.slice(0, r.indexOf("{")), o = r.slice(r.indexOf("{"));
  if (n.includes("=>") || n.includes("function"))
    return r;
  let i = n;
  return i = i.replace(t, "function"), i + o;
}, "convertShorthandMethods2"), $U = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/, xp = /* @__PURE__ */ a((e) => e.match(/^[\[\{\"\}].*[\]\}\"]$/),
"isJSON");
function k6(e) {
  if (!Ud(e))
    return e;
  let t = e, r = !1;
  return typeof Event < "u" && e instanceof Event && (t = m6(t), r = !0), t = Object.keys(t).reduce((n, o) => {
    try {
      t[o] && t[o].toJSON, n[o] = t[o];
    } catch {
      r = !0;
    }
    return n;
  }, {}), r ? t : e;
}
a(k6, "convertUnconventionalData");
var jU = /* @__PURE__ */ a(function(t) {
  let r, n, o, i;
  return /* @__PURE__ */ a(function(l, u) {
    try {
      if (l === "")
        return i = [], r = /* @__PURE__ */ new Map([[u, "[]"]]), n = /* @__PURE__ */ new Map(), o = [], u;
      let c = n.get(this) || this;
      for (; o.length && c !== o[0]; )
        o.shift(), i.pop();
      if (typeof u == "boolean")
        return u;
      if (u === void 0)
        return t.allowUndefined ? "_undefined_" : void 0;
      if (u === null)
        return null;
      if (typeof u == "number")
        return u === -1 / 0 ? "_-Infinity_" : u === 1 / 0 ? "_Infinity_" : Number.isNaN(u) ? "_NaN_" : u;
      if (typeof u == "bigint")
        return `_bigint_${u.toString()}`;
      if (typeof u == "string")
        return $U.test(u) ? t.allowDate ? `_date_${u}` : void 0 : u;
      if ((0, wj.default)(u))
        return t.allowRegExp ? `_regexp_${u.flags}|${u.source}` : void 0;
      if ((0, Sj.default)(u)) {
        if (!t.allowFunction)
          return;
        let { name: h } = u, m = u.toString();
        return m.match(
          /(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/
        ) ? `_function_${h}|${(() => {
        }).toString()}` : `_function_${h}|${zU(HU(l, m))}`;
      }
      if ((0, Ej.default)(u)) {
        if (!t.allowSymbol)
          return;
        let h = Symbol.keyFor(u);
        return h !== void 0 ? `_gsymbol_${h}` : `_symbol_${u.toString().slice(7, -1)}`;
      }
      if (o.length >= t.maxDepth)
        return Array.isArray(u) ? `[Array(${u.length})]` : "[Object]";
      if (u === this)
        return `_duplicate_${JSON.stringify(i)}`;
      if (u instanceof Error && t.allowError)
        return {
          __isConvertedError__: !0,
          errorProperties: {
            ...u.cause ? { cause: u.cause } : {},
            ...u,
            name: u.name,
            message: u.message,
            stack: u.stack,
            "_constructor-name_": u.constructor.name
          }
        };
      if (u.constructor && u.constructor.name && u.constructor.name !== "Object" && !Array.isArray(u) && !t.allowClass)
        return;
      let p = r.get(u);
      if (!p) {
        let h = Array.isArray(u) ? u : k6(u);
        if (u.constructor && u.constructor.name && u.constructor.name !== "Object" && !Array.isArray(u) && t.allowClass)
          try {
            Object.assign(h, { "_constructor-name_": u.constructor.name });
          } catch {
          }
        return i.push(l), o.unshift(h), r.set(u, JSON.stringify(i)), u !== h && n.set(u, h), h;
      }
      return `_duplicate_${p}`;
    } catch {
      return;
    }
  }, "replace");
}, "replacer2"), VU = /* @__PURE__ */ a(function reviver(options) {
  let refs = [], root;
  return /* @__PURE__ */ a(function revive(key, value) {
    if (key === "" && (root = value, refs.forEach(({ target: e, container: t, replacement: r }) => {
      let n = xp(r) ? JSON.parse(r) : r.split(".");
      n.length === 0 ? t[e] = root : t[e] = MU(root, n);
    })), key === "_constructor-name_")
      return value;
    if (Ud(value) && value.__isConvertedError__) {
      let { message: e, ...t } = value.errorProperties, r = new Error(e);
      return Object.assign(r, t), r;
    }
    if (Ud(value) && value["_constructor-name_"] && options.allowFunction) {
      let e = value["_constructor-name_"];
      if (e !== "Object") {
        let t = new Function(`return function ${e.replace(/[^a-zA-Z0-9$_]+/g, "")}(){}`)();
        Object.setPrototypeOf(value, new t());
      }
      return delete value["_constructor-name_"], value;
    }
    if (typeof value == "string" && value.startsWith("_function_") && options.allowFunction) {
      let [, name, source] = value.match(/_function_([^|]*)\|(.*)/) || [], sourceSanitized = source.replace(/[(\(\))|\\| |\]|`]*$/, "");
      if (!options.lazyEval)
        return eval(`(${sourceSanitized})`);
      let result = /* @__PURE__ */ a((...args) => {
        let f = eval(`(${sourceSanitized})`);
        return f(...args);
      }, "result");
      return Object.defineProperty(result, "toString", {
        value: /* @__PURE__ */ a(() => sourceSanitized, "value")
      }), Object.defineProperty(result, "name", {
        value: name
      }), result;
    }
    if (typeof value == "string" && value.startsWith("_regexp_") && options.allowRegExp) {
      let [, e, t] = value.match(/_regexp_([^|]*)\|(.*)/) || [];
      return new RegExp(t, e);
    }
    return typeof value == "string" && value.startsWith("_date_") && options.allowDate ? new Date(value.replace("_date_", "")) : typeof value ==
    "string" && value.startsWith("_duplicate_") ? (refs.push({ target: key, container: this, replacement: value.replace(/^_duplicate_/, "") }),
    null) : typeof value == "string" && value.startsWith("_symbol_") && options.allowSymbol ? Symbol(value.replace("_symbol_", "")) : typeof value ==
    "string" && value.startsWith("_gsymbol_") && options.allowSymbol ? Symbol.for(value.replace("_gsymbol_", "")) : typeof value == "string" &&
    value === "_-Infinity_" ? -1 / 0 : typeof value == "string" && value === "_Infinity_" ? 1 / 0 : typeof value == "string" && value === "_\
NaN_" ? NaN : typeof value == "string" && value.startsWith("_bigint_") && typeof BigInt == "function" ? BigInt(value.replace("_bigint_", "")) :
    value;
  }, "revive");
}, "reviver"), F6 = {
  maxDepth: 10,
  space: void 0,
  allowFunction: !0,
  allowRegExp: !0,
  allowDate: !0,
  allowClass: !0,
  allowError: !0,
  allowUndefined: !0,
  allowSymbol: !0,
  lazyEval: !0
}, al = /* @__PURE__ */ a((e, t = {}) => {
  let r = { ...F6, ...t };
  return JSON.stringify(k6(e), jU(r), t.space);
}, "stringify"), UU = /* @__PURE__ */ a(() => {
  let e = /* @__PURE__ */ new Map();
  return /* @__PURE__ */ a(function t(r) {
    Ud(r) && Object.entries(r).forEach(([n, o]) => {
      o === "_undefined_" ? r[n] = void 0 : e.get(o) || (e.set(o, !0), t(o));
    }), Array.isArray(r) && r.forEach((n, o) => {
      n === "_undefined_" ? (e.set(n, !0), r[o] = void 0) : e.get(n) || (e.set(n, !0), t(n));
    });
  }, "mutateUndefined");
}, "mutator"), il = /* @__PURE__ */ a((e, t = {}) => {
  let r = { ...F6, ...t }, n = JSON.parse(e, VU(r));
  return UU()(n), n;
}, "parse");

// ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js
var WU = !0, iy = "Invariant failed";
function Aa(e, t) {
  if (!e) {
    if (WU)
      throw new Error(iy);
    var r = typeof t == "function" ? t() : t, n = r ? "".concat(iy, ": ").concat(r) : iy;
    throw new Error(n);
  }
}
a(Aa, "invariant");

// src/channels/postmessage/getEventSourceUrl.ts
Ht();
var L6 = /* @__PURE__ */ a((e) => {
  let t = Array.from(
    document.querySelectorAll("iframe[data-is-storybook]")
  ), [r, ...n] = t.filter((i) => {
    try {
      return i.contentWindow?.location.origin === e.source.location.origin && i.contentWindow?.location.pathname === e.source.location.pathname;
    } catch {
    }
    try {
      return i.contentWindow === e.source;
    } catch {
    }
    let s = i.getAttribute("src"), l;
    try {
      if (!s)
        return !1;
      ({ origin: l } = new URL(s, document.location.toString()));
    } catch {
      return !1;
    }
    return l === e.origin;
  }), o = r?.getAttribute("src");
  if (o && n.length === 0) {
    let { protocol: i, host: s, pathname: l } = new URL(o, document.location.toString());
    return `${i}//${s}${l}`;
  }
  return n.length > 0 && ge.error("found multiple candidates for event source"), null;
}, "getEventSourceUrl");

// src/channels/postmessage/index.ts
var { document: sy, location: ly } = z, O6 = "storybook-channel", qU = { allowFunction: !1, maxDepth: 25 }, uy = class uy {
  constructor(t) {
    this.config = t;
    this.connected = !1;
    if (this.buffer = [], typeof z?.addEventListener == "function" && z.addEventListener("message", this.handleEvent.bind(this), !1), t.page !==
    "manager" && t.page !== "preview")
      throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`);
  }
  setHandler(t) {
    this.handler = (...r) => {
      t.apply(this, r), !this.connected && this.getLocalFrame().length && (this.flush(), this.connected = !0);
    };
  }
  /**
   * Sends `event` to the associated window. If the window does not yet exist the event will be
   * stored in a buffer and sent when the window exists.
   *
   * @param event
   */
  send(t, r) {
    let {
      target: n,
      // telejson options
      allowRegExp: o,
      allowFunction: i,
      allowSymbol: s,
      allowDate: l,
      allowError: u,
      allowUndefined: c,
      allowClass: p,
      maxDepth: h,
      space: m,
      lazyEval: g
    } = r || {}, w = Object.fromEntries(
      Object.entries({
        allowRegExp: o,
        allowFunction: i,
        allowSymbol: s,
        allowDate: l,
        allowError: u,
        allowUndefined: c,
        allowClass: p,
        maxDepth: h,
        space: m,
        lazyEval: g
      }).filter(([b, x]) => typeof x < "u")
    ), v = {
      ...qU,
      ...z.CHANNEL_OPTIONS || {},
      ...w
    }, S = this.getFrames(n), E = new URLSearchParams(ly?.search || ""), y = al(
      {
        key: O6,
        event: t,
        refId: E.get("refId")
      },
      v
    );
    return S.length ? (this.buffer.length && this.flush(), S.forEach((b) => {
      try {
        b.postMessage(y, "*");
      } catch {
        ge.error("sending over postmessage fail");
      }
    }), Promise.resolve(null)) : new Promise((b, x) => {
      this.buffer.push({ event: t, resolve: b, reject: x });
    });
  }
  flush() {
    let { buffer: t } = this;
    this.buffer = [], t.forEach((r) => {
      this.send(r.event).then(r.resolve).catch(r.reject);
    });
  }
  getFrames(t) {
    if (this.config.page === "manager") {
      let n = Array.from(
        sy.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")
      ).flatMap((o) => {
        try {
          return o.contentWindow && o.dataset.isStorybook !== void 0 && o.id === t ? [o.contentWindow] : [];
        } catch {
          return [];
        }
      });
      return n?.length ? n : this.getCurrentFrames();
    }
    return z && z.parent && z.parent !== z.self ? [z.parent] : [];
  }
  getCurrentFrames() {
    return this.config.page === "manager" ? Array.from(
      sy.querySelectorAll('[data-is-storybook="true"]')
    ).flatMap((r) => r.contentWindow ? [r.contentWindow] : []) : z && z.parent ? [z.parent] : [];
  }
  getLocalFrame() {
    return this.config.page === "manager" ? Array.from(
      sy.querySelectorAll("#storybook-preview-iframe")
    ).flatMap((r) => r.contentWindow ? [r.contentWindow] : []) : z && z.parent ? [z.parent] : [];
  }
  handleEvent(t) {
    try {
      let { data: r } = t, { key: n, event: o, refId: i } = typeof r == "string" && xp(r) ? il(r, z.CHANNEL_OPTIONS || {}) : r;
      if (n === O6) {
        let s = this.config.page === "manager" ? '<span style="color: #37D5D3; background: black"> manager </span>' : '<span style="color: #\
1EA7FD; background: black"> preview </span>', l = Object.values(na).includes(o.type) ? `<span style="color: #FF4785">${o.type}</span>` : `<s\
pan style="color: #FFAE00">${o.type}</span>`;
        if (i && (o.refId = i), o.source = this.config.page === "preview" ? t.origin : L6(t), !o.source) {
          fr.error(
            `${s} received ${l} but was unable to determine the source of the event`
          );
          return;
        }
        let u = `${s} received ${l} (${r.length})`;
        fr.debug(
          ly.origin !== o.source ? u : `${u} <span style="color: gray">(on ${ly.origin} from ${o.source})</span>`,
          ...o.args
        ), Aa(this.handler, "ChannelHandler should be set"), this.handler(o);
      }
    } catch (r) {
      ge.error(r);
    }
  }
};
a(uy, "PostMessageTransport");
var sl = uy;

// src/channels/websocket/index.ts
qe();
var { WebSocket: GU } = z, cy = 15e3, py = 5e3, fy = class fy {
  constructor({ url: t, onError: r, page: n }) {
    this.buffer = [];
    this.isReady = !1;
    this.isClosed = !1;
    this.pingTimeout = 0;
    this.socket = new GU(t), this.socket.onopen = () => {
      this.isReady = !0, this.heartbeat(), this.flush();
    }, this.socket.onmessage = ({ data: o }) => {
      let i = typeof o == "string" && xp(o) ? il(o) : o;
      Aa(this.handler, "WebsocketTransport handler should be set"), this.handler(i), i.type === "ping" && (this.heartbeat(), this.send({ type: "\
pong" }));
    }, this.socket.onerror = (o) => {
      r && r(o);
    }, this.socket.onclose = (o) => {
      Aa(this.handler, "WebsocketTransport handler should be set"), this.handler({
        type: t2,
        args: [{ reason: o.reason, code: o.code }],
        from: n || "preview"
      }), this.isClosed = !0, clearTimeout(this.pingTimeout);
    };
  }
  heartbeat() {
    clearTimeout(this.pingTimeout), this.pingTimeout = setTimeout(() => {
      this.socket.close(3008, "timeout");
    }, cy + py);
  }
  setHandler(t) {
    this.handler = t;
  }
  send(t) {
    this.isClosed || (this.isReady ? this.sendNow(t) : this.sendLater(t));
  }
  sendLater(t) {
    this.buffer.push(t);
  }
  sendNow(t) {
    let r = al(t, {
      maxDepth: 15,
      allowFunction: !1,
      ...z.CHANNEL_OPTIONS
    });
    this.socket.send(r);
  }
  flush() {
    let { buffer: t } = this;
    this.buffer = [], t.forEach((r) => this.send(r));
  }
};
a(fy, "WebsocketTransport");
var ll = fy;

// src/channels/index.ts
var { CONFIG_TYPE: YU } = z, KU = Yn;
function XU({ page: e, extraTransports: t = [] }) {
  let r = [new sl({ page: e }), ...t];
  if (YU === "DEVELOPMENT") {
    let o = window.location.protocol === "http:" ? "ws" : "wss", { hostname: i, port: s } = window.location, l = `${o}://${i}:${s}/storybook\
-server-channel`;
    r.push(new ll({ url: l, onError: /* @__PURE__ */ a(() => {
    }, "onError"), page: e }));
  }
  let n = new Yn({ transports: r });
  return _r.__prepare(
    n,
    e === "manager" ? _r.Environment.MANAGER : _r.Environment.PREVIEW
  ), n;
}
a(XU, "createBrowserChannel");

// src/components/index.ts
var Wf = {};
de(Wf, {
  A: () => L1,
  ActionBar: () => G1,
  AddonPanel: () => YO,
  Badge: () => P_,
  Bar: () => hg,
  Blockquote: () => O1,
  Button: () => as,
  ClipboardCode: () => sN,
  Code: () => oh,
  DL: () => ah,
  Div: () => ih,
  DocumentWrapper: () => k_,
  EmptyTabContent: () => mg,
  ErrorFormatter: () => wF,
  FlexBar: () => $f,
  Form: () => MF,
  H1: () => sh,
  H2: () => lh,
  H3: () => uh,
  H4: () => ch,
  H5: () => ph,
  H6: () => fh,
  HR: () => dh,
  IconButton: () => Af,
  IconButtonSkeleton: () => VO,
  Icons: () => KO,
  Img: () => hh,
  LI: () => mh,
  Link: () => Rh,
  ListItem: () => rg,
  Loader: () => rN,
  Modal: () => pF,
  OL: () => gh,
  P: () => vh,
  Placeholder: () => hF,
  Pre: () => yh,
  ProgressSpinner: () => oN,
  ResetWrapper: () => Yy,
  ScrollArea: () => Oi,
  Separator: () => Eg,
  Spaced: () => dF,
  Span: () => wh,
  StorybookIcon: () => JO,
  StorybookLogo: () => QO,
  Symbols: () => XO,
  SyntaxHighlighter: () => c3,
  TT: () => Sh,
  TabBar: () => wg,
  TabButton: () => ni,
  TabWrapper: () => qO,
  Table: () => Eh,
  Tabs: () => Sg,
  TabsState: () => vg,
  TooltipLinkList: () => ng,
  TooltipMessage: () => QL,
  TooltipNote: () => ZL,
  UL: () => bh,
  WithTooltip: () => KL,
  WithTooltipPure: () => XL,
  Zoom: () => vF,
  codeCommon: () => eo,
  components: () => pfe,
  createCopyToClipboardFunction: () => nh,
  getStoryHref: () => aN,
  icons: () => Uf,
  interleaveSeparators: () => GO,
  nameSpaceClassNames: () => ke,
  resetComponents: () => lN,
  withReset: () => oe
});
var bg = _(F(), 1);

// src/components/components/typography/components.tsx
var ze = _(F(), 1);

// src/components/components/typography/DocumentFormatting.tsx
var ke = /* @__PURE__ */ a(({ ...e }, t) => {
  let r = [e.class, e.className];
  return delete e.class, e.className = ["sbdocs", `sbdocs-${t}`, ...r].filter(Boolean).join(" "), e;
}, "nameSpaceClassNames");

// src/components/components/typography/ResetWrapper.tsx
Y();

// src/components/components/typography/lib/common.tsx
Po();
var Kr = /* @__PURE__ */ a(({ theme: e }) => ({
  margin: "20px 0 8px",
  padding: 0,
  cursor: "text",
  position: "relative",
  color: e.color.defaultText,
  "&:first-of-type": {
    marginTop: 0,
    paddingTop: 0
  },
  "&:hover a.anchor": {
    textDecoration: "none"
  },
  "& tt, & code": {
    fontSize: "inherit"
  }
}), "headerCommon"), eo = /* @__PURE__ */ a(({ theme: e }) => ({
  lineHeight: 1,
  margin: "0 2px",
  padding: "3px 5px",
  whiteSpace: "nowrap",
  borderRadius: 3,
  fontSize: e.typography.size.s2 - 1,
  border: e.base === "light" ? `1px solid ${e.color.mediumlight}` : `1px solid ${e.color.darker}`,
  color: e.base === "light" ? Pt(0.1, e.color.defaultText) : Pt(0.3, e.color.defaultText),
  backgroundColor: e.base === "light" ? e.color.lighter : e.color.border
}), "codeCommon"), oe = /* @__PURE__ */ a(({ theme: e }) => ({
  fontFamily: e.typography.fonts.base,
  fontSize: e.typography.size.s3,
  margin: 0,
  WebkitFontSmoothing: "antialiased",
  MozOsxFontSmoothing: "grayscale",
  WebkitTapHighlightColor: "rgba(0, 0, 0, 0)",
  WebkitOverflowScrolling: "touch"
}), "withReset"), dr = {
  margin: "16px 0"
};

// src/components/components/typography/ResetWrapper.tsx
var Yy = T.div(oe);

// src/components/components/typography/elements/A.tsx
Y();

// src/components/components/typography/elements/Link.tsx
var CD = _(F(), 1);
var DD = /* @__PURE__ */ a(({
  href: e = "",
  ...t
}) => {
  let n = /^\//.test(e) ? `./?path=${e}` : e, i = /^#.*/.test(e) ? "_self" : "_top";
  return /* @__PURE__ */ CD.default.createElement("a", { href: n, target: i, ...t });
}, "Link");

// src/components/components/typography/elements/A.tsx
var L1 = T(DD)(oe, ({ theme: e }) => ({
  fontSize: "inherit",
  lineHeight: "24px",
  color: e.color.secondary,
  textDecoration: "none",
  "&.absent": {
    color: "#cc0000"
  },
  "&.anchor": {
    display: "block",
    paddingLeft: 30,
    marginLeft: -30,
    cursor: "pointer",
    position: "absolute",
    top: 0,
    left: 0,
    bottom: 0
  }
}));

// src/components/components/typography/elements/Blockquote.tsx
Y();
var O1 = T.blockquote(oe, dr, ({ theme: e }) => ({
  borderLeft: `4px solid ${e.color.medium}`,
  padding: "0 15px",
  color: e.color.dark,
  "& > :first-of-type": {
    marginTop: 0
  },
  "& > :last-child": {
    marginBottom: 0
  }
}));

// src/components/components/typography/elements/Code.tsx
var Zp = _(F(), 1);
Y();
Jp();

// src/components/components/typography/lib/isReactChildString.tsx
var T_ = /* @__PURE__ */ a((e) => typeof e == "string", "isReactChildString");

// src/components/components/typography/elements/Code.tsx
var LK = /[\n\r]/g, OK = T.code(
  ({ theme: e }) => ({
    // from reset
    fontFamily: e.typography.fonts.mono,
    WebkitFontSmoothing: "antialiased",
    MozOsxFontSmoothing: "grayscale",
    display: "inline-block",
    paddingLeft: 2,
    paddingRight: 2,
    verticalAlign: "baseline",
    color: "inherit"
  }),
  eo
), NK = T(Qp)(({ theme: e }) => ({
  // DocBlocks-specific styling and overrides
  fontFamily: e.typography.fonts.mono,
  fontSize: `${e.typography.size.s2 - 1}px`,
  lineHeight: "19px",
  margin: "25px 0 40px",
  borderRadius: e.appBorderRadius,
  boxShadow: e.base === "light" ? "rgba(0, 0, 0, 0.10) 0 1px 3px 0" : "rgba(0, 0, 0, 0.20) 0 2px 5px 0",
  "pre.prismjs": {
    padding: 20,
    background: "inherit"
  }
})), oh = /* @__PURE__ */ a(({
  className: e,
  children: t,
  ...r
}) => {
  let n = (e || "").match(/lang-(\S+)/), o = Zp.Children.toArray(t);
  return o.filter(T_).some((s) => s.match(LK)) ? /* @__PURE__ */ Zp.default.createElement(
    NK,
    {
      bordered: !0,
      copyable: !0,
      language: n?.[1] ?? "text",
      format: !1,
      ...r
    },
    t
  ) : /* @__PURE__ */ Zp.default.createElement(OK, { ...r, className: e }, o);
}, "Code");

// src/components/components/typography/elements/DL.tsx
Y();
var ah = T.dl(oe, dr, {
  padding: 0,
  "& dt": {
    fontSize: "14px",
    fontWeight: "bold",
    fontStyle: "italic",
    padding: 0,
    margin: "16px 0 4px"
  },
  "& dt:first-of-type": {
    padding: 0
  },
  "& dt > :first-of-type": {
    marginTop: 0
  },
  "& dt > :last-child": {
    marginBottom: 0
  },
  "& dd": {
    margin: "0 0 16px",
    padding: "0 15px"
  },
  "& dd > :first-of-type": {
    marginTop: 0
  },
  "& dd > :last-child": {
    marginBottom: 0
  }
});

// src/components/components/typography/elements/Div.tsx
Y();
var ih = T.div(oe);

// src/components/components/typography/elements/H1.tsx
Y();
var sh = T.h1(oe, Kr, ({ theme: e }) => ({
  fontSize: `${e.typography.size.l1}px`,
  fontWeight: e.typography.weight.bold
}));

// src/components/components/typography/elements/H2.tsx
Y();
var lh = T.h2(oe, Kr, ({ theme: e }) => ({
  fontSize: `${e.typography.size.m2}px`,
  paddingBottom: 4,
  borderBottom: `1px solid ${e.appBorderColor}`
}));

// src/components/components/typography/elements/H3.tsx
Y();
var uh = T.h3(oe, Kr, ({ theme: e }) => ({
  fontSize: `${e.typography.size.m1}px`
}));

// src/components/components/typography/elements/H4.tsx
Y();
var ch = T.h4(oe, Kr, ({ theme: e }) => ({
  fontSize: `${e.typography.size.s3}px`
}));

// src/components/components/typography/elements/H5.tsx
Y();
var ph = T.h5(oe, Kr, ({ theme: e }) => ({
  fontSize: `${e.typography.size.s2}px`
}));

// src/components/components/typography/elements/H6.tsx
Y();
var fh = T.h6(oe, Kr, ({ theme: e }) => ({
  fontSize: `${e.typography.size.s2}px`,
  color: e.color.dark
}));

// src/components/components/typography/elements/HR.tsx
Y();
var dh = T.hr(({ theme: e }) => ({
  border: "0 none",
  borderTop: `1px solid ${e.appBorderColor}`,
  height: 4,
  padding: 0
}));

// src/components/components/typography/elements/Img.tsx
Y();
var hh = T.img({
  maxWidth: "100%"
});

// src/components/components/typography/elements/LI.tsx
Y();
var mh = T.li(oe, ({ theme: e }) => ({
  fontSize: e.typography.size.s2,
  color: e.color.defaultText,
  lineHeight: "24px",
  "& + li": {
    marginTop: ".25em"
  },
  "& ul, & ol": {
    marginTop: ".25em",
    marginBottom: 0
  },
  "& code": eo({ theme: e })
}));

// src/components/components/typography/elements/OL.tsx
Y();
var MK = {
  paddingLeft: 30,
  "& :first-of-type": {
    marginTop: 0
  },
  "& :last-child": {
    marginBottom: 0
  }
}, gh = T.ol(oe, dr, MK, {
  listStyle: "decimal"
});

// src/components/components/typography/elements/P.tsx
Y();
var vh = T.p(oe, dr, ({ theme: e }) => ({
  fontSize: e.typography.size.s2,
  lineHeight: "24px",
  color: e.color.defaultText,
  "& code": eo({ theme: e })
}));

// src/components/components/typography/elements/Pre.tsx
Y();
var yh = T.pre(oe, dr, ({ theme: e }) => ({
  // reset
  fontFamily: e.typography.fonts.mono,
  WebkitFontSmoothing: "antialiased",
  MozOsxFontSmoothing: "grayscale",
  lineHeight: "18px",
  padding: "11px 1rem",
  whiteSpace: "pre-wrap",
  color: "inherit",
  borderRadius: 3,
  margin: "1rem 0",
  "&:not(.prismjs)": {
    background: "transparent",
    border: "none",
    borderRadius: 0,
    padding: 0,
    margin: 0
  },
  "& pre, &.prismjs": {
    padding: 15,
    margin: 0,
    whiteSpace: "pre-wrap",
    color: "inherit",
    fontSize: "13px",
    lineHeight: "19px",
    code: {
      color: "inherit",
      fontSize: "inherit"
    }
  },
  "& code": {
    whiteSpace: "pre"
  },
  "& code, & tt": {
    border: "none"
  }
}));

// src/components/components/typography/elements/Span.tsx
Y();
var wh = T.span(oe, ({ theme: e }) => ({
  "&.frame": {
    display: "block",
    overflow: "hidden",
    "& > span": {
      border: `1px solid ${e.color.medium}`,
      display: "block",
      float: "left",
      overflow: "hidden",
      margin: "13px 0 0",
      padding: 7,
      width: "auto"
    },
    "& span img": {
      display: "block",
      float: "left"
    },
    "& span span": {
      clear: "both",
      color: e.color.darkest,
      display: "block",
      padding: "5px 0 0"
    }
  },
  "&.align-center": {
    display: "block",
    overflow: "hidden",
    clear: "both",
    "& > span": {
      display: "block",
      overflow: "hidden",
      margin: "13px auto 0",
      textAlign: "center"
    },
    "& span img": {
      margin: "0 auto",
      textAlign: "center"
    }
  },
  "&.align-right": {
    display: "block",
    overflow: "hidden",
    clear: "both",
    "& > span": {
      display: "block",
      overflow: "hidden",
      margin: "13px 0 0",
      textAlign: "right"
    },
    "& span img": {
      margin: 0,
      textAlign: "right"
    }
  },
  "&.float-left": {
    display: "block",
    marginRight: 13,
    overflow: "hidden",
    float: "left",
    "& span": {
      margin: "13px 0 0"
    }
  },
  "&.float-right": {
    display: "block",
    marginLeft: 13,
    overflow: "hidden",
    float: "right",
    "& > span": {
      display: "block",
      overflow: "hidden",
      margin: "13px auto 0",
      textAlign: "right"
    }
  }
}));

// src/components/components/typography/elements/TT.tsx
Y();
var Sh = T.title(eo);

// src/components/components/typography/elements/Table.tsx
Y();
var Eh = T.table(oe, dr, ({ theme: e }) => ({
  fontSize: e.typography.size.s2,
  lineHeight: "24px",
  padding: 0,
  borderCollapse: "collapse",
  "& tr": {
    borderTop: `1px solid ${e.appBorderColor}`,
    backgroundColor: e.appContentBg,
    margin: 0,
    padding: 0
  },
  "& tr:nth-of-type(2n)": {
    backgroundColor: e.base === "dark" ? e.color.darker : e.color.lighter
  },
  "& tr th": {
    fontWeight: "bold",
    color: e.color.defaultText,
    border: `1px solid ${e.appBorderColor}`,
    margin: 0,
    padding: "6px 13px"
  },
  "& tr td": {
    border: `1px solid ${e.appBorderColor}`,
    color: e.color.defaultText,
    margin: 0,
    padding: "6px 13px"
  },
  "& tr th :first-of-type, & tr td :first-of-type": {
    marginTop: 0
  },
  "& tr th :last-child, & tr td :last-child": {
    marginBottom: 0
  }
}));

// src/components/components/typography/elements/UL.tsx
Y();
var BK = {
  paddingLeft: 30,
  "& :first-of-type": {
    marginTop: 0
  },
  "& :last-child": {
    marginBottom: 0
  }
}, bh = T.ul(oe, dr, BK, { listStyle: "disc" });

// src/components/components/typography/components.tsx
var q4 = {
  h1: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(sh, { ...ke(e, "h1") }), "h1"),
  h2: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(lh, { ...ke(e, "h2") }), "h2"),
  h3: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(uh, { ...ke(e, "h3") }), "h3"),
  h4: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(ch, { ...ke(e, "h4") }), "h4"),
  h5: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(ph, { ...ke(e, "h5") }), "h5"),
  h6: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(fh, { ...ke(e, "h6") }), "h6"),
  pre: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(yh, { ...ke(e, "pre") }), "pre"),
  a: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(L1, { ...ke(e, "a") }), "a"),
  hr: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(dh, { ...ke(e, "hr") }), "hr"),
  dl: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(ah, { ...ke(e, "dl") }), "dl"),
  blockquote: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(O1, { ...ke(e, "blockquote") }), "blockquote"),
  table: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(Eh, { ...ke(e, "table") }), "table"),
  img: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(hh, { ...ke(e, "img") }), "img"),
  div: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(ih, { ...ke(e, "div") }), "div"),
  span: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(wh, { ...ke(e, "span") }), "span"),
  li: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(mh, { ...ke(e, "li") }), "li"),
  ul: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(bh, { ...ke(e, "ul") }), "ul"),
  ol: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(gh, { ...ke(e, "ol") }), "ol"),
  p: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(vh, { ...ke(e, "p") }), "p"),
  code: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(oh, { ...ke(e, "code") }), "code"),
  tt: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(Sh, { ...ke(e, "tt") }), "tt"),
  resetwrapper: /* @__PURE__ */ a((e) => /* @__PURE__ */ ze.default.createElement(Yy, { ...ke(e, "resetwrapper") }), "resetwrapper")
};

// src/components/components/Badge/Badge.tsx
var I_ = _(F(), 1);
Y();
Po();
var HK = T.div(
  ({ theme: e }) => ({
    display: "inline-block",
    fontSize: 11,
    lineHeight: "12px",
    alignSelf: "center",
    padding: "4px 12px",
    borderRadius: "3em",
    fontWeight: e.typography.weight.bold
  }),
  {
    svg: {
      height: 12,
      width: 12,
      marginRight: 4,
      marginTop: -2,
      path: {
        fill: "currentColor"
      }
    }
  },
  ({ theme: e, status: t }) => {
    switch (t) {
      case "critical":
        return {
          color: e.color.critical,
          background: e.background.critical
        };
      case "negative":
        return {
          color: e.color.negativeText,
          background: e.background.negative,
          boxShadow: e.base === "light" ? `inset 0 0 0 1px ${Pt(0.9, e.color.negativeText)}` : "none"
        };
      case "warning":
        return {
          color: e.color.warningText,
          background: e.background.warning,
          boxShadow: e.base === "light" ? `inset 0 0 0 1px ${Pt(0.9, e.color.warningText)}` : "none"
        };
      case "neutral":
        return {
          color: e.color.dark,
          background: e.color.mediumlight,
          boxShadow: e.base === "light" ? `inset 0 0 0 1px ${Pt(0.9, e.color.dark)}` : "none"
        };
      case "positive":
        return {
          color: e.color.positiveText,
          background: e.background.positive,
          boxShadow: e.base === "light" ? `inset 0 0 0 1px ${Pt(0.9, e.color.positiveText)}` : "none"
        };
      default:
        return {};
    }
  }
), P_ = /* @__PURE__ */ a(({ ...e }) => /* @__PURE__ */ I_.default.createElement(HK, { ...e }), "Badge");

// src/components/components/typography/link/link.tsx
var xh = _(F(), 1);
Y();

// ../node_modules/@storybook/icons/dist/index.mjs
var ef = {};
de(ef, {
  AccessibilityAltIcon: () => pee,
  AccessibilityIcon: () => cee,
  AccessibilityIgnoredIcon: () => fee,
  AddIcon: () => aJ,
  AdminIcon: () => eee,
  AlertAltIcon: () => FJ,
  AlertIcon: () => kJ,
  AlignLeftIcon: () => NX,
  AlignRightIcon: () => MX,
  AppleIcon: () => rQ,
  ArrowBottomLeftIcon: () => DZ,
  ArrowBottomRightIcon: () => AZ,
  ArrowDownIcon: () => EZ,
  ArrowLeftIcon: () => bZ,
  ArrowRightIcon: () => xZ,
  ArrowSolidDownIcon: () => TZ,
  ArrowSolidLeftIcon: () => IZ,
  ArrowSolidRightIcon: () => PZ,
  ArrowSolidUpIcon: () => _Z,
  ArrowTopLeftIcon: () => RZ,
  ArrowTopRightIcon: () => CZ,
  ArrowUpIcon: () => SZ,
  AzureDevOpsIcon: () => sQ,
  BackIcon: () => VZ,
  BasketIcon: () => rZ,
  BatchAcceptIcon: () => JQ,
  BatchDenyIcon: () => QQ,
  BeakerIcon: () => nZ,
  BellIcon: () => BJ,
  BitbucketIcon: () => lQ,
  BoldIcon: () => UX,
  BookIcon: () => AX,
  BookmarkHollowIcon: () => WJ,
  BookmarkIcon: () => qJ,
  BottomBarIcon: () => LQ,
  BottomBarToggleIcon: () => OQ,
  BoxIcon: () => HQ,
  BranchIcon: () => ZX,
  BrowserIcon: () => DQ,
  ButtonIcon: () => xJ,
  CPUIcon: () => NQ,
  CalendarIcon: () => LX,
  CameraIcon: () => cX,
  CameraStabilizeIcon: () => YK,
  CategoryIcon: () => IX,
  CertificateIcon: () => JJ,
  ChangedIcon: () => cJ,
  ChatIcon: () => vJ,
  CheckIcon: () => KQ,
  ChevronDownIcon: () => hZ,
  ChevronLeftIcon: () => mZ,
  ChevronRightIcon: () => X4,
  ChevronSmallDownIcon: () => vZ,
  ChevronSmallLeftIcon: () => yZ,
  ChevronSmallRightIcon: () => wZ,
  ChevronSmallUpIcon: () => gZ,
  ChevronUpIcon: () => dZ,
  ChromaticIcon: () => uQ,
  ChromeIcon: () => iQ,
  CircleHollowIcon: () => VJ,
  CircleIcon: () => UJ,
  ClearIcon: () => fJ,
  CloseAltIcon: () => tJ,
  CloseIcon: () => sJ,
  CloudHollowIcon: () => iZ,
  CloudIcon: () => sZ,
  CogIcon: () => VQ,
  CollapseIcon: () => FZ,
  CommandIcon: () => AJ,
  CommentAddIcon: () => hJ,
  CommentIcon: () => dJ,
  CommentsIcon: () => gJ,
  CommitIcon: () => JX,
  CompassIcon: () => GZ,
  ComponentDrivenIcon: () => cQ,
  ComponentIcon: () => VK,
  ContrastIcon: () => aX,
  ContrastIgnoredIcon: () => sX,
  ControlsIcon: () => ZQ,
  CopyIcon: () => TX,
  CreditIcon: () => bJ,
  CrossIcon: () => K4,
  DashboardIcon: () => QZ,
  DatabaseIcon: () => MQ,
  DeleteIcon: () => lJ,
  DiamondIcon: () => GJ,
  DirectionIcon: () => tee,
  DiscordIcon: () => pQ,
  DocChartIcon: () => zX,
  DocListIcon: () => HX,
  DocumentIcon: () => _X,
  DownloadIcon: () => jZ,
  DragIcon: () => $X,
  EditIcon: () => jQ,
  EllipsisIcon: () => qQ,
  EmailIcon: () => LJ,
  ExpandAltIcon: () => kZ,
  ExpandIcon: () => LZ,
  EyeCloseIcon: () => tX,
  EyeIcon: () => eX,
  FaceHappyIcon: () => see,
  FaceNeutralIcon: () => lee,
  FaceSadIcon: () => uee,
  FacebookIcon: () => fQ,
  FailedIcon: () => pJ,
  FastForwardIcon: () => vX,
  FigmaIcon: () => dQ,
  FilterIcon: () => BX,
  FlagIcon: () => aZ,
  FolderIcon: () => PX,
  FormIcon: () => XQ,
  GDriveIcon: () => hQ,
  GithubIcon: () => mQ,
  GitlabIcon: () => gQ,
  GlobeIcon: () => qZ,
  GoogleIcon: () => vQ,
  GraphBarIcon: () => OX,
  GraphLineIcon: () => FX,
  GraphqlIcon: () => yQ,
  GridAltIcon: () => KK,
  GridIcon: () => UK,
  GrowIcon: () => oX,
  HeartHollowIcon: () => YJ,
  HeartIcon: () => KJ,
  HomeIcon: () => ZZ,
  HourglassIcon: () => oZ,
  InfoIcon: () => TJ,
  ItalicIcon: () => WX,
  JumpToIcon: () => jJ,
  KeyIcon: () => SJ,
  LightningIcon: () => rX,
  LightningOffIcon: () => G4,
  LinkBrokenIcon: () => MJ,
  LinkIcon: () => NJ,
  LinkedinIcon: () => RQ,
  LinuxIcon: () => nQ,
  ListOrderedIcon: () => GX,
  ListUnorderedIcon: () => YX,
  LocationIcon: () => YZ,
  LockIcon: () => yJ,
  MarkdownIcon: () => XX,
  MarkupIcon: () => VX,
  MediumIcon: () => wQ,
  MemoryIcon: () => BQ,
  MenuIcon: () => jX,
  MergeIcon: () => tQ,
  MirrorIcon: () => nX,
  MobileIcon: () => _Q,
  MoonIcon: () => SX,
  NutIcon: () => UQ,
  OutboxIcon: () => EJ,
  OutlineIcon: () => WK,
  PaintBrushIcon: () => lX,
  PaperClipIcon: () => qX,
  ParagraphIcon: () => KX,
  PassedIcon: () => uJ,
  PhoneIcon: () => OJ,
  PhotoDragIcon: () => qK,
  PhotoIcon: () => jK,
  PhotoStabilizeIcon: () => GK,
  PinAltIcon: () => nJ,
  PinIcon: () => KZ,
  PlayAllHollowIcon: () => xX,
  PlayBackIcon: () => hX,
  PlayHollowIcon: () => bX,
  PlayIcon: () => dX,
  PlayNextIcon: () => mX,
  PlusIcon: () => eJ,
  PointerDefaultIcon: () => CJ,
  PointerHandIcon: () => DJ,
  PowerIcon: () => $Q,
  PrintIcon: () => kX,
  ProceedIcon: () => UZ,
  ProfileIcon: () => iee,
  PullRequestIcon: () => eQ,
  QuestionIcon: () => IJ,
  RSSIcon: () => zJ,
  RedirectIcon: () => MZ,
  ReduxIcon: () => SQ,
  RefreshIcon: () => WZ,
  ReplyIcon: () => zZ,
  RepoIcon: () => QX,
  RequestChangeIcon: () => mJ,
  RewindIcon: () => gX,
  RulerIcon: () => uX,
  SaveIcon: () => _J,
  SearchIcon: () => XK,
  ShareAltIcon: () => HJ,
  ShareIcon: () => $J,
  ShieldIcon: () => tZ,
  SideBySideIcon: () => CX,
  SidebarAltIcon: () => PQ,
  SidebarAltToggleIcon: () => kQ,
  SidebarIcon: () => IQ,
  SidebarToggleIcon: () => FQ,
  SpeakerIcon: () => fX,
  StackedIcon: () => DX,
  StarHollowIcon: () => XJ,
  StarIcon: () => QJ,
  StatusFailIcon: () => uZ,
  StatusIcon: () => cZ,
  StatusPassIcon: () => fZ,
  StatusWarnIcon: () => pZ,
  StickerIcon: () => lZ,
  StopAltHollowIcon: () => EX,
  StopAltIcon: () => yX,
  StopIcon: () => RX,
  StorybookIcon: () => Y4,
  StructureIcon: () => zQ,
  SubtractIcon: () => iJ,
  SunIcon: () => wX,
  SupportIcon: () => PJ,
  SweepIcon: () => YQ,
  SwitchAltIcon: () => iX,
  SyncIcon: () => HZ,
  TabletIcon: () => AQ,
  ThumbsUpIcon: () => eZ,
  TimeIcon: () => XZ,
  TimerIcon: () => JZ,
  TransferIcon: () => NZ,
  TrashIcon: () => rJ,
  TwitterIcon: () => EQ,
  TypeIcon: () => RJ,
  UbuntuIcon: () => oQ,
  UndoIcon: () => BZ,
  UnfoldIcon: () => OZ,
  UnlockIcon: () => wJ,
  UnpinIcon: () => oJ,
  UploadIcon: () => $Z,
  UserAddIcon: () => oee,
  UserAltIcon: () => nee,
  UserIcon: () => ree,
  UsersIcon: () => aee,
  VSCodeIcon: () => xQ,
  VerifiedIcon: () => ZJ,
  VideoIcon: () => pX,
  WandIcon: () => GQ,
  WatchIcon: () => TQ,
  WindowsIcon: () => aQ,
  WrenchIcon: () => WQ,
  XIcon: () => CQ,
  YoutubeIcon: () => bQ,
  ZoomIcon: () => QK,
  ZoomOutIcon: () => JK,
  ZoomResetIcon: () => ZK,
  iconList: () => $K
});
var d = _(F(), 1), $K = [
  {
    name: "Images",
    icons: [
      "PhotoIcon",
      "ComponentIcon",
      "GridIcon",
      "OutlineIcon",
      "PhotoDragIcon",
      "PhotoStabilizeIcon",
      "CameraStabilizeIcon",
      "GridAltIcon",
      "SearchIcon",
      "ZoomIcon",
      "ZoomOutIcon",
      "ZoomResetIcon",
      "EyeIcon",
      "EyeCloseIcon",
      "LightningIcon",
      "LightningOffIcon",
      "MirrorIcon",
      "GrowIcon",
      "ContrastIcon",
      "SwitchAltIcon",
      "ContrastIgnoredIcon",
      "PaintBrushIcon",
      "RulerIcon",
      "CameraIcon",
      "VideoIcon",
      "SpeakerIcon",
      "PlayIcon",
      "PlayBackIcon",
      "PlayNextIcon",
      "RewindIcon",
      "FastForwardIcon",
      "StopAltIcon",
      "SunIcon",
      "MoonIcon",
      "StopAltHollowIcon",
      "PlayHollowIcon",
      "PlayAllHollowIcon",
      "StopIcon",
      "SideBySideIcon",
      "StackedIcon"
    ]
  },
  {
    name: "Documents",
    icons: [
      "BookIcon",
      "DocumentIcon",
      "CopyIcon",
      "CategoryIcon",
      "FolderIcon",
      "PrintIcon",
      "GraphLineIcon",
      "CalendarIcon",
      "GraphBarIcon",
      "AlignLeftIcon",
      "AlignRightIcon",
      "FilterIcon",
      "DocChartIcon",
      "DocListIcon",
      "DragIcon",
      "MenuIcon"
    ]
  },
  {
    name: "Editing",
    icons: [
      "MarkupIcon",
      "BoldIcon",
      "ItalicIcon",
      "PaperClipIcon",
      "ListOrderedIcon",
      "ListUnorderedIcon",
      "ParagraphIcon",
      "MarkdownIcon"
    ]
  },
  {
    name: "Git",
    icons: [
      "RepoIcon",
      "CommitIcon",
      "BranchIcon",
      "PullRequestIcon",
      "MergeIcon"
    ]
  },
  {
    name: "OS",
    icons: [
      "AppleIcon",
      "LinuxIcon",
      "UbuntuIcon",
      "WindowsIcon",
      "ChromeIcon"
    ]
  },
  {
    name: "Logos",
    icons: [
      "StorybookIcon",
      "AzureDevOpsIcon",
      "BitbucketIcon",
      "ChromaticIcon",
      "ComponentDrivenIcon",
      "DiscordIcon",
      "FacebookIcon",
      "FigmaIcon",
      "GDriveIcon",
      "GithubIcon",
      "GitlabIcon",
      "GoogleIcon",
      "GraphqlIcon",
      "MediumIcon",
      "ReduxIcon",
      "TwitterIcon",
      "YoutubeIcon",
      "VSCodeIcon",
      "LinkedinIcon",
      "XIcon"
    ]
  },
  {
    name: "Devices",
    icons: [
      "BrowserIcon",
      "TabletIcon",
      "MobileIcon",
      "WatchIcon",
      "SidebarIcon",
      "SidebarAltIcon",
      "SidebarAltToggleIcon",
      "SidebarToggleIcon",
      "BottomBarIcon",
      "BottomBarToggleIcon",
      "CPUIcon",
      "DatabaseIcon",
      "MemoryIcon",
      "StructureIcon",
      "BoxIcon",
      "PowerIcon"
    ]
  },
  {
    name: "CRUD",
    icons: [
      "EditIcon",
      "CogIcon",
      "NutIcon",
      "WrenchIcon",
      "EllipsisIcon",
      "WandIcon",
      "SweepIcon",
      "CheckIcon",
      "FormIcon",
      "BatchDenyIcon",
      "BatchAcceptIcon",
      "ControlsIcon",
      "PlusIcon",
      "CloseAltIcon",
      "CrossIcon",
      "TrashIcon",
      "PinAltIcon",
      "UnpinIcon",
      "AddIcon",
      "SubtractIcon",
      "CloseIcon",
      "DeleteIcon",
      "PassedIcon",
      "ChangedIcon",
      "FailedIcon",
      "ClearIcon",
      "CommentIcon",
      "CommentAddIcon",
      "RequestChangeIcon",
      "CommentsIcon",
      "ChatIcon",
      "LockIcon",
      "UnlockIcon",
      "KeyIcon",
      "OutboxIcon",
      "CreditIcon",
      "ButtonIcon",
      "TypeIcon",
      "PointerDefaultIcon",
      "PointerHandIcon",
      "CommandIcon",
      "SaveIcon"
    ]
  },
  {
    name: "Communicate",
    icons: [
      "InfoIcon",
      "QuestionIcon",
      "SupportIcon",
      "AlertIcon",
      "AlertAltIcon",
      "EmailIcon",
      "PhoneIcon",
      "LinkIcon",
      "LinkBrokenIcon",
      "BellIcon",
      "RSSIcon",
      "ShareAltIcon",
      "ShareIcon",
      "JumpToIcon",
      "CircleHollowIcon",
      "CircleIcon",
      "BookmarkHollowIcon",
      "BookmarkIcon",
      "DiamondIcon",
      "HeartHollowIcon",
      "HeartIcon",
      "StarHollowIcon",
      "StarIcon",
      "CertificateIcon",
      "VerifiedIcon",
      "ThumbsUpIcon",
      "ShieldIcon",
      "BasketIcon",
      "BeakerIcon",
      "HourglassIcon",
      "FlagIcon",
      "CloudHollowIcon",
      "CloudIcon",
      "StickerIcon",
      "StatusFailIcon",
      "StatusIcon",
      "StatusWarnIcon",
      "StatusPassIcon"
    ]
  },
  {
    name: "Wayfinding",
    icons: [
      "ChevronUpIcon",
      "ChevronDownIcon",
      "ChevronLeftIcon",
      "ChevronRightIcon",
      "ChevronSmallUpIcon",
      "ChevronSmallDownIcon",
      "ChevronSmallLeftIcon",
      "ChevronSmallRightIcon",
      "ArrowUpIcon",
      "ArrowDownIcon",
      "ArrowLeftIcon",
      "ArrowRightIcon",
      "ArrowTopLeftIcon",
      "ArrowTopRightIcon",
      "ArrowBottomLeftIcon",
      "ArrowBottomRightIcon",
      "ArrowSolidUpIcon",
      "ArrowSolidDownIcon",
      "ArrowSolidLeftIcon",
      "ArrowSolidRightIcon",
      "ExpandAltIcon",
      "CollapseIcon",
      "ExpandIcon",
      "UnfoldIcon",
      "TransferIcon",
      "RedirectIcon",
      "UndoIcon",
      "ReplyIcon",
      "SyncIcon",
      "UploadIcon",
      "DownloadIcon",
      "BackIcon",
      "ProceedIcon",
      "RefreshIcon",
      "GlobeIcon",
      "CompassIcon",
      "LocationIcon",
      "PinIcon",
      "TimeIcon",
      "DashboardIcon",
      "TimerIcon",
      "HomeIcon",
      "AdminIcon",
      "DirectionIcon"
    ]
  },
  {
    name: "People",
    icons: [
      "UserIcon",
      "UserAltIcon",
      "UserAddIcon",
      "UsersIcon",
      "ProfileIcon",
      "FaceHappyIcon",
      "FaceNeutralIcon",
      "FaceSadIcon",
      "AccessibilityIcon",
      "AccessibilityAltIcon",
      "AccessibilityIgnoredIcon"
    ]
  }
], jK = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.\
708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",
      fill: e
    }
  )
)), VK = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5\
 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",
      fill: e
    }
  )
)), UK = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h\
4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.\
5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-\
3.5H12v3.5H8.5z",
      fill: e
    }
  )
)), WK = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.\
5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 00\
0 2z",
      fill: e
    }
  )
)), qK = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-\
2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5\
-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",
      fill: e
    }
  )
)), GK = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M2.5 1H4V0H2.5A2.5 2.5 0 000 2.5V4h1V2.5A1.5 1.5 0 012.5 1z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.25 5.25a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12 2.5v9a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h9a.5.5 0 01.5.5zM3 8.793V3h8v3.793L9.854 5.646a.5.5 0 00-.708 0L6.5 \
8.293 5.354 7.146a.5.5 0 00-.708 0L3 8.793zm6.5-2.086l1.5 1.5V11H3v-.793l2-2 2.146 2.147a.5.5 0 00.708-.708L7.207 9 9.5 6.707z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M10 1h1.5A1.5 1.5 0 0113 2.5V4h1V2.5A2.5 2.5 0 0011.5 0H10v1zM2.5 13H4v1H2.5A2.5 2.5 0 010 11.5V10h1v1.5A1.5 1.5 0 002.5 13zM10 13\
h1.5a1.5 1.5 0 001.5-1.5V10h1v1.5a2.5 2.5 0 01-2.5 2.5H10v-1z",
      fill: e
    }
  )
)), YK = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("g", { clipPath: "url(#prefix__clip0_2484_400)" }, /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M2.5 1A1.5 1.5 0 001 2.5v1a.5.5 0 01-1 0v-1A2.5 2.5 0 012.5 0h1a.5.5 0 010 1h-1zm3.352 1.223A.5.5 0 016.268 2h1.464a.5.5 0 01.416.\
223L9.333 4H11.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5h2.167l1.185-1.777zM11.5 1A1.5 1.5 0 0113 2.5v1a.5.5 0 0\
01 0v-1A2.5 2.5 0 0011.5 0h-1a.5.5 0 000 1h1zm-9 12A1.5 1.5 0 011 11.5v-1a.5.5 0 00-1 0v1A2.5 2.5 0 002.5 14h1a.5.5 0 000-1h-1zm9 0a1.5 1.5 \
0 001.5-1.5v-1a.5.5 0 011 0v1a2.5 2.5 0 01-2.5 2.5h-1a.5.5 0 010-1h1zM8 7a1 1 0 11-2 0 1 1 0 012 0zm1 0a2 2 0 11-4 0 2 2 0 014 0z",
      fill: e
    }
  )),
  /* @__PURE__ */ d.createElement("defs", null, /* @__PURE__ */ d.createElement("clipPath", { id: "prefix__clip0_2484_400" }, /* @__PURE__ */ d.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), KK = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 \
5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",
      fill: e
    }
  )
)), XK = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 \
4.5 0 019 0z",
      fill: e
    }
  )
)), QK = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 \
4.5 0 019 0z",
      fill: e
    }
  )
)), JK = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("path", { d: "M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z", fill: e }),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.\
5 4.5 0 100-9 4.5 4.5 0 000 9z",
      fill: e
    }
  )
)), ZK = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.72\
4 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",
      fill: e
    }
  )
)), eX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("path", { d: "M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z", fill: e }),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L\
14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.\
72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",
      fill: e
    }
  )
)), tX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 00\
2.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.8\
02A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12\
.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.\
58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",
      fill: e
    }
  )
)), rX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a\
.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.\
804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",
      fill: e
    }
  )
)), G4 = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.\
648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.7\
82.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.\
71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",
      fill: e
    }
  )
)), nX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",
      fill: e
    }
  )
)), oX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",
      fill: e
    }
  )
)), aX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm\
1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707\
V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",
      fill: e
    }
  )
)), iX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0\
v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",
      fill: e
    }
  )
)), sX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "g",
    {
      clipPath: "url(#prefix__clip0_2359_559)",
      fillRule: "evenodd",
      clipRule: "evenodd",
      fill: e
    },
    /* @__PURE__ */ d.createElement("path", { d: "M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h7.176a4.526 4.526 0 01-.916-1H1v-9h2v6.5a.499.\
499 0 00.497.5h2.531a4.548 4.548 0 01-.001-1h-1.32l2.16-2.16c.274-.374.603-.703.977-.977L10 4.711v1.316a4.552 4.552 0 011 0V3.504a.48.48 0 0\
0-.038-.191.5.5 0 00-.462-.31H4v-2h9v5.755c.378.253.715.561 1 .913V.504a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm5.2\
93 0H7.707L4 7.71v1.586l5.293-5.293z" }),
    /* @__PURE__ */ d.createElement("path", { d: "M14 10.5a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm-5.5 0A.5.5 0 019 10h3a.5.5 0 010 1H9a.5.5 0 01\
-.5-.5z" })
  ),
  /* @__PURE__ */ d.createElement("defs", null, /* @__PURE__ */ d.createElement("clipPath", { id: "prefix__clip0_2359_559" }, /* @__PURE__ */ d.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), lX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.\
095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.24\
2 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-\
.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",
      fill: e
    }
  )
)), uX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01\
-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",
      fill: e
    }
  )
)), cX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.00\
4v8h12v-8H1z",
      fill: e
    }
  )
)), pX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("path", { d: "M2.5 10a.5.5 0 100-1 .5.5 0 000 1z", fill: e }),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.\
5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",
      fill: e
    }
  )
)), fX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.\
504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",
      fill: e
    }
  )
)), dX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",
      fill: e
    }
  )
)), hX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608\
A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",
      fill: e
    }
  )
)), mX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965\
A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",
      fill: e
    }
  )
)), gX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5\
 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",
      fill: e
    }
  )
)), vX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0\
v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",
      fill: e
    }
  )
)), yX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",
      fill: e
    }
  )
)), wX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("g", { clipPath: "url(#prefix__clip0_1107_3492)", fill: e }, /* @__PURE__ */ d.createElement("path", { d: "\
M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z" }), /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"
    }
  ), /* @__PURE__ */ d.createElement("path", { d: "M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5\
 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5\
.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.\
706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z" })),
  /* @__PURE__ */ d.createElement("defs", null, /* @__PURE__ */ d.createElement("clipPath", { id: "prefix__clip0_1107_3492" }, /* @__PURE__ */ d.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), SX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 15 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("g", { clipPath: "url(#prefix__clip0_1107_3493)" }, /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C\
9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",
      fill: e
    }
  )),
  /* @__PURE__ */ d.createElement("defs", null, /* @__PURE__ */ d.createElement("clipPath", { id: "prefix__clip0_1107_3493" }, /* @__PURE__ */ d.createElement(
    "path",
    {
      fill: "#fff",
      transform: "scale(1.07124)",
      d: "M0 0h14.001v14.002H0z"
    }
  )))
)), EX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M2.2 2.204v9.6h9.6v-9.6H2.2zm-.7-1.2a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11z",
      fill: e
    }
  )
)), bX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4.2 10.88L10.668 7 4.2 3.12v7.76zM3 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L4.212 1.727A.8.8 0 003 2.413z",
      fill: e
    }
  )
)), xX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M5.2 10.88L11.668 7 5.2 3.12v7.76zM4 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L5.212 1.727A.8.8 0 004 2.413zM1.5\
 1.6a.6.6 0 01.6.6v9.6a.6.6 0 11-1.2 0V2.2a.6.6 0 01.6-.6z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M.963 1.932a.6.6 0 01.805-.268l1 .5a.6.6 0 01-.536 1.073l-1-.5a.6.6 0 01-.269-.805zM3.037 11.132a.6.6 0 01-.269.805l-1 .5a.6.6 0 0\
1-.536-1.073l1-.5a.6.6 0 01.805.268z",
      fill: e
    }
  )
)), RX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), CX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",
      fill: e
    }
  )
)), DX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",
      fill: e
    }
  )
)), AX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.\
352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",
      fill: e
    }
  )
)), _X = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 01\
0 1h-5a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5\
 0 00.5.5h2V13H2V1z",
      fill: e
    }
  )
)), TX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a\
.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09\
.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",
      fill: e
    }
  )
)), IX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",
      fill: e
    }
  )
)), PX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.\
5v-8.5a.5.5 0 00-.5-.5H7z",
      fill: e
    }
  )
)), kX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0\
 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4\
zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",
      fill: e
    }
  )
)), FX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7\
.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",
      fill: e
    }
  )
)), LX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 \
01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v\
2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",
      fill: e
    }
  )
)), OX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01\
.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",
      fill: e
    }
  )
)), NX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5z\
M7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",
      fill: e
    }
  )
)), MX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.\
5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",
      fill: e
    }
  )
)), BX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5\
 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",
      fill: e
    }
  )
)), zX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H\
2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",
      fill: e
    }
  )
)), HX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",
      fill: e
    }
  )
)), $X = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",
      fill: e
    }
  )
)), jX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010\
-1h12z",
      fill: e
    }
  )
)), VX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-\
2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.\
5-3a.5.5 0 00-.704-.064z",
      fill: e
    }
  )
)), UX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 10\
0-2.5z",
      fill: e
    }
  )
)), WX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("path", { d: "M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z", fill: e })
)), qX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 \
0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.\
5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",
      fill: e
    }
  )
)), GX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a\
.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1\
H2v-.5z",
      fill: e
    }
  )
)), YX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25\
a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",
      fill: e
    }
  )
)), KX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",
      fill: e
    }
  )
)), XX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",
      fill: e
    }
  )
)), QX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",
      fill: e
    }
  )
)), JX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",
      fill: e
    }
  )
)), ZX = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.14\
3c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.\
5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",
      fill: e
    }
  )
)), eQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.\
5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11\
a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",
      fill: e
    }
  )
)), tQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.0\
9 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0z\
m7 6a.5.5 0 11-1 0 .5.5 0 011 0z",
      fill: e
    }
  )
)), rQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.\
016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.0\
7.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.00\
2h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1\
.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",
      fill: e
    }
  )
)), nQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823\
 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.50\
7 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a\
.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283\
.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 \
00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017\
A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 \
012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.\
5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",
      fill: e
    }
  )
)), oQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("g", { clipPath: "url(#prefix__clip0_1107_3497)", fill: e }, /* @__PURE__ */ d.createElement("path", { d: "\
M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6\
c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.7\
61 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0\
 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99\
-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.7\
8.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.\
23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z" })),
  /* @__PURE__ */ d.createElement("defs", null, /* @__PURE__ */ d.createElement("clipPath", { id: "prefix__clip0_1107_3497" }, /* @__PURE__ */ d.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), aQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",
      fill: e
    }
  )
)), iQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("g", { clipPath: "url(#prefix__clip0_1107_3496)" }, /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 \
6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.\
615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.\
058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.4\
81 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.\
785-1.024-2.433a.115.115 0 01.08-.196z",
      fill: e
    }
  )),
  /* @__PURE__ */ d.createElement("defs", null, /* @__PURE__ */ d.createElement("clipPath", { id: "prefix__clip0_1107_3496" }, /* @__PURE__ */ d.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), Y4 = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.\
044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4\
.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 \
2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.6\
24-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",
      fill: e
    }
  )
)), sQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("g", { clipPath: "url(#prefix__clip0_1107_3503)" }, /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9\
.661l8.784 1.047v-7.55L14 2.581z",
      fill: e
    }
  )),
  /* @__PURE__ */ d.createElement("defs", null, /* @__PURE__ */ d.createElement("clipPath", { id: "prefix__clip0_1107_3503" }, /* @__PURE__ */ d.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), lQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.\
724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",
      fill: e
    }
  )
)), uQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.3\
46-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 \
4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 00\
2.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012\
.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.7\
47a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",
      fill: e
    }
  )
)), cQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.6\
85.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",
      fill: e
    }
  )
)), pQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0\
 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11\
.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01\
-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.04\
5.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767\
.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.\
258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 \
1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",
      fill: e
    }
  )
)), fQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h\
1.934l-.228 2.412L7.401 7l-.002 7z",
      fill: e
    }
  )
)), dQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.60\
4 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397\
h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",
      fill: e
    }
  )
)), hQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.\
42 6.236 4.378 2.7z",
      fill: e
    }
  )
)), mQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.35\
3-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-\
.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236\
c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457\
.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",
      fill: e
    }
  )
)), gQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.\
256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",
      fill: e
    }
  )
)), vQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c\
0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.31\
3-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.\
82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.00\
4.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.\
023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",
      fill: e
    }
  )
)), yQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.26\
5 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.\
033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79\
-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a\
1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.\
035l2.687-1.552a1.168 1.168 0 101.457-1.791z",
      fill: e
    }
  )
)), wQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.07\
4.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00\
.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",
      fill: e
    }
  )
)), SQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.\
314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2\
.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-\
5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1\
.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.32\
6 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505\
-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 \
1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 \
1.825c-.897 1.842-2.478 3.08-4.565 3.488z",
      fill: e
    }
  )
)), EQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 \
1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.\
806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7\
.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",
      fill: e
    }
  )
)), bQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083\
-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-\
.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.\
095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.4\
53c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998\
 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",
      fill: e
    }
  )
)), xQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4\
.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-\
.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",
      fill: e
    }
  )
)), RQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1\
.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 \
1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.06\
6-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",
      fill: e
    }
  )
)), CQ = /* @__PURE__ */ d.forwardRef(
  ({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
    "svg",
    {
      width: t,
      height: t,
      viewBox: "0 0 14 14",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg",
      ref: n,
      ...r
    },
    /* @__PURE__ */ d.createElement(
      "path",
      {
        d: "M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11\
.357h1.18L3.796 1.655H2.502l7.759 10.148z",
        fill: e
      }
    )
  )
), DQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 01\
1 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",
      fill: e
    }
  )
)), AQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v\
-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",
      fill: e
    }
  )
)), _Q = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",
      fill: e
    }
  )
)), TQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-\
.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 \
1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",
      fill: e
    }
  )
)), IQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5\
 0 110 1H3a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",
      fill: e
    }
  )
)), PQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.\
5.5 0 010 1h-1a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",
      fill: e
    }
  )
)), kQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h\
-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.6\
5-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",
      fill: e
    }
  )
)), FQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5\
 0 110 1H2a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.\
5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",
      fill: e
    }
  )
)), LQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.\
5.5 0 010 1h-1a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",
      fill: e
    }
  )
)), OQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.\
5.5 0 000-1h-1z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646\
.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",
      fill: e
    }
  )
)), NQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.\
5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v\
-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",
      fill: e
    }
  )
)), MQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.17\
2 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21\
 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.7\
9 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-\
.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.37\
8-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.\
465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.\
751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013\
 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.\
414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465\
-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",
      fill: e
    }
  )
)), BQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4\
.504z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00\
.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",
      fill: e
    }
  )
)), zQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446z\
m-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",
      fill: e
    }
  )
)), HQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958\
a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V\
4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",
      fill: e
    }
  )
)), $Q = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("path", { d: "M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z", fill: e }),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",
      fill: e
    }
  )
)), jQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l\
2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 1\
2.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",
      fill: e
    }
  )
)), VQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.63\
5 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057\
V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-\
.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.63\
4.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.3\
3A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-\
1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.01\
4c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.50\
2 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.2\
94-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 \
0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",
      fill: e
    }
  )
)), UQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 \
1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",
      fill: e
    }
  )
)), WQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0\
 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",
      fill: e
    }
  )
)), qQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",
      fill: e
    }
  )
)), GQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.633l-.486.272a\
.107.107 0 01-.157-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.21\
4.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.217-1.09.817-.756a.214.214 0 00-.12-.3\
7L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23\
l.97-.544.971.543c.16.09.35-.05.315-.229l-.217-1.09.817-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2zm2.353.94l-1.293-1.293 6.758-6\
.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.039l1.293 1.293z",
      fill: e
    }
  )
)), YQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M9.621 3.914l.379.379 3.146-3.147a.5.5 0 01.708.708L10.707 5l.379.379a3 3 0 010 4.242l-.707.707-.005.005-.008.008-.012.013-1.733 1\
.732a3 3 0 01-4.242 0L.146 7.854a.5.5 0 01.708-.707.915.915 0 001.292 0L4.64 4.654a.52.52 0 01.007-.008l.733-.732a3 3 0 014.242 0zm-4.26 1.4\
32l.139-.139 3.146 3.147a.5.5 0 10.708-.707L6.212 4.505a2 2 0 012.702.116l.731.731.001.002h.002l.73.732a2 2 0 010 2.828l-.706.707-.012.013a.\
503.503 0 00-.014.013l-1.732 1.732a2 2 0 01-2.828 0L3.354 9.647a2.489 2.489 0 001.414-.708l1.086-1.085a.5.5 0 10-.708-.707L4.061 8.232a1.5 1\
.5 0 01-2.01.102c.294-.088.57-.248.803-.48l2.5-2.5a.475.475 0 00.007-.008z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M2 5.004a1 1 0 11-2 0 1 1 0 012 0zM4 3.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",
      fill: e
    }
  )
)), KQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",
      fill: e
    }
  )
)), XQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",
      fill: e
    }
  )
)), QQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5\
.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 \
0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",
      fill: e
    }
  )
)), JQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.\
5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1\
h-2z",
      fill: e
    }
  )
)), ZQ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.\
5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1\
.5A.5.5 0 011 7z",
      fill: e
    }
  )
)), eJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",
      fill: e
    }
  )
)), tJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0\
 0011.97.97L7 5.94 2.03.97z",
      fill: e
    }
  )
)), K4 = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a\
.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",
      fill: e
    }
  )
)), rJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6\
a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",
      fill: e
    }
  )
)), nJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("g", { clipPath: "url(#prefix__clip0_1107_3502)" }, /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-\
3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.\
585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 \
0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",
      fill: e
    }
  )),
  /* @__PURE__ */ d.createElement("defs", null, /* @__PURE__ */ d.createElement("clipPath", { id: "prefix__clip0_1107_3502" }, /* @__PURE__ */ d.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), oJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("g", { clipPath: "url(#prefix__clip0_1107_3501)", fill: e }, /* @__PURE__ */ d.createElement("path", { d: "\
M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 \
0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6\
.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.\
5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 0\
0.708-.708l-11-11z" })),
  /* @__PURE__ */ d.createElement("defs", null, /* @__PURE__ */ d.createElement("clipPath", { id: "prefix__clip0_1107_3501" }, /* @__PURE__ */ d.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), aJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",
      fill: e
    }
  )
)), iJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("path", { d: "M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z", fill: e }),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), sJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5\
.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",
      fill: e
    }
  )
)), lJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.45\
6 8.456z",
      fill: e
    }
  )
)), uJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.\
147a.5.5 0 01.708 0z",
      fill: e
    }
  )
)), cJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",
      fill: e
    }
  )
)), pJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.\
708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",
      fill: e
    }
  )
)), fJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 0\
1.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5\
.854a.5.5 0 010-.708z",
      fill: e
    }
  )
)), dJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 \
0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",
      fill: e
    }
  )
)), hJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.\
5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",
      fill: e
    }
  )
)), mJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.\
5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",
      fill: e
    }
  )
)), gJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00\
.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",
      fill: e
    }
  )
)), vJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42\
 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 \
0 00-1.843 0z",
      fill: e
    }
  )
)), yJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1\
H2v7h10v-7z",
      fill: e
    }
  )
)), wJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("g", { clipPath: "url(#prefix__clip0_1107_3614)", fill: e }, /* @__PURE__ */ d.createElement("path", { d: "\
M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z" }), /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-\
.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"
    }
  )),
  /* @__PURE__ */ d.createElement("defs", null, /* @__PURE__ */ d.createElement("clipPath", { id: "prefix__clip0_1107_3614" }, /* @__PURE__ */ d.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), SJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("path", { d: "M11 4a1 1 0 11-2 0 1 1 0 012 0z", fill: e }),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5\
 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.\
552 0 00.099-.613A3.473 3.473 0 016 4.5z",
      fill: e
    }
  )
)), EJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",
      fill: e
    }
  )
)), bJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("path", { d: "M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z", fill: e }),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",
      fill: e
    }
  )
)), xJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01\
-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",
      fill: e
    }
  )
)), RJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a\
.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",
      fill: e
    }
  )
)), CJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8\
.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274\
 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.35\
8 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1\
.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",
      fill: e
    }
  )
)), DJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.\
47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-\
.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.21\
4-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 \
00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.2\
6.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.\
032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.5\
04l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272\
.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.16\
1c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",
      fill: e
    }
  )
)), AJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 \
113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",
      fill: e
    }
  )
)), _J = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M11.083 12.25H2.917a1.167 1.167 0 01-1.167-1.167V2.917A1.167 1.167 0 012.917 1.75h6.416l2.917 2.917v6.416a1.167 1.167 0 01-1.167 1\
.167z",
      stroke: e,
      strokeLinecap: "round",
      strokeLinejoin: "round"
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M9.917 12.25V7.583H4.083v4.667M4.083 1.75v2.917H8.75",
      stroke: e,
      strokeLinecap: "round",
      strokeLinejoin: "round"
    }
  )
)), TJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",
      fill: e
    }
  )
)), IJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.\
75 0 000 1.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), PJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 1\
1s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6\
.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.\
742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.20\
2-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",
      fill: e
    }
  )
)), kJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.4\
97.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",
      fill: e
    }
  )
)), FJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",
      fill: e
    }
  )
)), LJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-\
.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",
      fill: e
    }
  )
)), OJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1\
.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.\
55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0\
 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 \
2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 0\
14.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c\
-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.22\
2-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.\
57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",
      fill: e
    }
  )
)), NJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 01\
4.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25\
 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",
      fill: e
    }
  )
)), MJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596z\
M12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.\
854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",
      fill: e
    }
  )
)), BJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102\
.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm\
-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",
      fill: e
    }
  )
)), zJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",
      fill: e
    }
  )
)), HJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",
      fill: e
    }
  )
)), $J = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",
      fill: e
    }
  )
)), jJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",
      fill: e
    }
  )
)), VJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",
      fill: e
    }
  )
)), UJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("path", { d: "M14 7A7 7 0 110 7a7 7 0 0114 0z", fill: e })
)), WJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.\
5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",
      fill: e
    }
  )
)), qJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 15",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.\
5.5 0 01.5-.5z",
      fill: e
    }
  )
)), GJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("g", { clipPath: "url(#prefix__clip0_1449_588)" }, /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3\
 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",
      fill: e
    }
  )),
  /* @__PURE__ */ d.createElement("defs", null, /* @__PURE__ */ d.createElement("clipPath", { id: "prefix__clip0_1449_588" }, /* @__PURE__ */ d.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), YJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546\
 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217\
a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459\
.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.5\
12.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115\
.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708\
c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-\
.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-\
1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09\
h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 \
4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",
      fill: e
    }
  )
)), KJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546\
 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217\
a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459\
.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.5\
12.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115\
.086 1.585.262.392.146.734.34 1.026.584z",
      fill: e
    }
  )
)), XJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 \
1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467\
.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.41\
2a.75.75 0 01-.593-.43L7 1.694z",
      fill: e
    }
  )
)), QJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1\
.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",
      fill: e
    }
  )
)), JJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 \
0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",
      fill: e
    }
  )
)), ZJ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.\
154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19\
a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.7\
04.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.9\
9.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.7\
08 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",
      fill: e
    }
  )
)), eZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.\
62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05\
-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 \
.88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.\
33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 \
00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.\
202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.\
98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l\
-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 0\
00 1z",
      fill: e
    }
  )
)), tZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16\
-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7\
 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C\
9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",
      fill: e
    }
  )
)), rZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 \
0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 0\
1-1 0z",
      fill: e
    }
  )
)), nZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm\
1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.5\
97z",
      fill: e
    }
  )
)), oZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("path", { d: "M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z", fill: e }),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.\
631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.95\
6.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.4\
07-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.4\
99 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.12\
8a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",
      fill: e
    }
  )
)), aZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2\
H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",
      fill: e
    }
  )
)), iZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161\
.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",
      fill: e
    }
  )
)), sZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",
      fill: e
    }
  )
)), lZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1\
.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a\
.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-\
1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.\
99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748\
 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.\
663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.\
073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",
      fill: e
    }
  )
)), uZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",
      fill: e
    }
  )
)), cZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("circle", { cx: 7, cy: 7, r: 3, fill: e })
)), pZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a\
.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",
      fill: e
    }
  )
)), fZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",
      fill: e
    }
  )
)), dZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",
      fill: e
    }
  )
)), hZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",
      fill: e
    }
  )
)), mZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",
      fill: e
    }
  )
)), X4 = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",
      fill: e
    }
  )
)), gZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",
      fill: e
    }
  )
)), vZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",
      fill: e
    }
  )
)), yZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",
      fill: e
    }
  )
)), wZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",
      fill: e
    }
  )
)), SZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.70\
8z",
      fill: e
    }
  )
)), EZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 0\
0-.707-.708L7.5 12.293V.5z",
      fill: e
    }
  )
)), bZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.\
5 0 01.708 0z",
      fill: e
    }
  )
)), xZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5\
.5 0 010-.708z",
      fill: e
    }
  )
)), RZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",
      fill: e
    }
  )
)), CZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",
      fill: e
    }
  )
)), DZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",
      fill: e
    }
  )
)), AZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",
      fill: e
    }
  )
)), _Z = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",
      fill: e
    }
  )
)), TZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",
      fill: e
    }
  )
)), IZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",
      fill: e
    }
  )
)), PZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",
      fill: e
    }
  )
)), kZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.\
5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",
      fill: e
    }
  )
)), FZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 \
0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",
      fill: e
    }
  )
)), LZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5\
.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.\
5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.\
793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",
      fill: e
    }
  )
)), OZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.\
5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A\
.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.\
5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",
      fill: e
    }
  )
)), NZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5\
 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",
      fill: e
    }
  )
)), MZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.70\
8L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",
      fill: e
    }
  )
)), BZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 \
0 11-.708.708l-2-2z",
      fill: e
    }
  )
)), zZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11\
-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",
      fill: e
    }
  )
)), HZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.3\
53a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 \
007.917 1.576.5.5 0 017.507 1z",
      fill: e
    }
  )
)), $Z = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), jZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",
      fill: e
    }
  )
)), VZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",
      fill: e
    }
  )
)), UZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",
      fill: e
    }
  )
)), WZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 00\
0 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",
      fill: e
    }
  )
)), qZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-\
.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.0\
56.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065\
 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-\
8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 \
7.5H1.02z",
      fill: e
    }
  )
)), GZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l\
4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), YZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001\
 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",
      fill: e
    }
  )
)), KZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.3\
03 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",
      fill: e
    }
  )
)), XZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",
      fill: e
    }
  )
)), QZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 1\
1c1.629 0 3.194.279 4.65.791z",
      fill: e
    }
  )
)), JZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("path", { d: "M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z", fill: e }),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6\
a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",
      fill: e
    }
  )
)), ZZ = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V\
7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",
      fill: e
    }
  )
)), eee = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0\
 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5z\
M8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",
      fill: e
    }
  )
)), tee = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("g", { clipPath: "url(#prefix__clip0_1107_3594)" }, /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",
      stroke: e,
      strokeWidth: 1.077
    }
  )),
  /* @__PURE__ */ d.createElement("defs", null, /* @__PURE__ */ d.createElement("clipPath", { id: "prefix__clip0_1107_3594" }, /* @__PURE__ */ d.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
)), ree = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.3\
9 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24\
 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",
      fill: e
    }
  )
)), nee = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.\
463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 \
1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",
      fill: e
    }
  )
)), oee = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 \
0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144\
.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.1\
46c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01\
.5-.5z",
      fill: e
    }
  )
)), aee = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-\
.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007\
.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.\
427.2-.646.29z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.6\
74-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.6\
33-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.40\
8-.853-.754-1.312-1.03z",
      fill: e
    }
  )
)), iee = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.\
348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.\
207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.2\
5A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",
      fill: e
    }
  )
)), see = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.\
498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), lee = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), uee = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.49\
8 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",
      fill: e
    }
  )
)), cee = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      d: "M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4\
.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.20\
5-.285l-2.453-.818a.5.5 0 01-.316-.632z",
      fill: e
    }
  ),
  /* @__PURE__ */ d.createElement("path", { d: "M7 4.5a1 1 0 100-2 1 1 0 000 2z", fill: e }),
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",
      fill: e
    }
  )
)), pee = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-\
.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 1\
1-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",
      fill: e
    }
  )
)), fee = /* @__PURE__ */ d.forwardRef(({ color: e = "currentColor", size: t = 14, ...r }, n) => /* @__PURE__ */ d.createElement(
  "svg",
  {
    width: t,
    height: t,
    viewBox: "0 0 14 14",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    ref: n,
    ...r
  },
  /* @__PURE__ */ d.createElement("g", { clipPath: "url(#prefix__clip0_2359_558)", fill: e }, /* @__PURE__ */ d.createElement("path", { d: "\
M7.636 13.972a7 7 0 116.335-6.335c-.28-.34-.609-.637-.976-.883a6 6 0 10-6.24 6.241c.245.367.542.696.881.977z" }), /* @__PURE__ */ d.createElement(
  "path", { d: "M7.511 7.136a4.489 4.489 0 00-1.478 3.915l-.086.173a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205\
-.285l-2.453-.818a.5.5 0 01.316-.948l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243c0 .105.004\
.21.011.316z" }), /* @__PURE__ */ d.createElement("path", { d: "M8 3.5a1 1 0 11-2 0 1 1 0 012 0z" }), /* @__PURE__ */ d.createElement(
    "path",
    {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M14 10.5a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm-5.5 0A.5.5 0 019 10h3a.5.5 0 010 1H9a.5.5 0 01-.5-.5z"
    }
  )),
  /* @__PURE__ */ d.createElement("defs", null, /* @__PURE__ */ d.createElement("clipPath", { id: "prefix__clip0_2359_558" }, /* @__PURE__ */ d.createElement(
  "path", { fill: "#fff", d: "M0 0h14v14H0z" })))
));

// src/components/components/typography/link/link.tsx
Po();
var dee = 0, hee = /* @__PURE__ */ a((e) => e.button === dee && !e.altKey && !e.ctrlKey && !e.metaKey && !e.shiftKey, "isPlainLeftClick"), mee = /* @__PURE__ */ a(
(e, t) => {
  hee(e) && (e.preventDefault(), t(e));
}, "cancelled"), gee = T.span(
  ({ withArrow: e }) => e ? {
    "> svg:last-of-type": {
      height: "0.7em",
      width: "0.7em",
      marginRight: 0,
      marginLeft: "0.25em",
      bottom: "auto",
      verticalAlign: "inherit"
    }
  } : {},
  ({ containsIcon: e }) => e ? {
    svg: {
      height: "1em",
      width: "1em",
      verticalAlign: "middle",
      position: "relative",
      bottom: 0,
      marginRight: 0
    }
  } : {}
), vee = T.a(
  ({ theme: e }) => ({
    display: "inline-block",
    transition: "all 150ms ease-out",
    textDecoration: "none",
    color: e.color.secondary,
    "&:hover, &:focus": {
      cursor: "pointer",
      color: Zn(0.07, e.color.secondary),
      "svg path:not([fill])": {
        fill: Zn(0.07, e.color.secondary)
      }
    },
    "&:active": {
      color: Zn(0.1, e.color.secondary),
      "svg path:not([fill])": {
        fill: Zn(0.1, e.color.secondary)
      }
    },
    svg: {
      display: "inline-block",
      height: "1em",
      width: "1em",
      verticalAlign: "text-top",
      position: "relative",
      bottom: "-0.125em",
      marginRight: "0.4em",
      "& path": {
        fill: e.color.secondary
      }
    }
  }),
  ({ theme: e, secondary: t, tertiary: r }) => {
    let n;
    return t && (n = [e.textMutedColor, e.color.dark, e.color.darker]), r && (n = [e.color.dark, e.color.darkest, e.textMutedColor]), n ? {
      color: n[0],
      "svg path:not([fill])": {
        fill: n[0]
      },
      "&:hover": {
        color: n[1],
        "svg path:not([fill])": {
          fill: n[1]
        }
      },
      "&:active": {
        color: n[2],
        "svg path:not([fill])": {
          fill: n[2]
        }
      }
    } : {};
  },
  ({ nochrome: e }) => e ? {
    color: "inherit",
    "&:hover, &:active": {
      color: "inherit",
      textDecoration: "underline"
    }
  } : {},
  ({ theme: e, inverse: t }) => t ? {
    color: e.color.lightest,
    ":not([fill])": {
      fill: e.color.lightest
    },
    "&:hover": {
      color: e.color.lighter,
      "svg path:not([fill])": {
        fill: e.color.lighter
      }
    },
    "&:active": {
      color: e.color.light,
      "svg path:not([fill])": {
        fill: e.color.light
      }
    }
  } : {},
  ({ isButton: e }) => e ? {
    border: 0,
    borderRadius: 0,
    background: "none",
    padding: 0,
    fontSize: "inherit"
  } : {}
), Rh = /* @__PURE__ */ a(({
  cancel: e = !0,
  children: t,
  onClick: r = void 0,
  withArrow: n = !1,
  containsIcon: o = !1,
  className: i = void 0,
  style: s = void 0,
  ...l
}) => /* @__PURE__ */ xh.default.createElement(
  vee,
  {
    ...l,
    onClick: r && e ? (u) => mee(u, r) : r,
    className: i
  },
  /* @__PURE__ */ xh.default.createElement(gee, { withArrow: n, containsIcon: o }, t, n && /* @__PURE__ */ xh.default.createElement(X4, null))
), "Link");

// src/components/components/typography/DocumentWrapper.tsx
Y();
var k_ = T.div(({ theme: e }) => ({
  fontSize: `${e.typography.size.s2}px`,
  lineHeight: "1.6",
  h1: {
    fontSize: `${e.typography.size.l1}px`,
    fontWeight: e.typography.weight.bold
  },
  h2: {
    fontSize: `${e.typography.size.m2}px`,
    borderBottom: `1px solid ${e.appBorderColor}`
  },
  h3: {
    fontSize: `${e.typography.size.m1}px`
  },
  h4: {
    fontSize: `${e.typography.size.s3}px`
  },
  h5: {
    fontSize: `${e.typography.size.s2}px`
  },
  h6: {
    fontSize: `${e.typography.size.s2}px`,
    color: e.color.dark
  },
  "pre:not(.prismjs)": {
    background: "transparent",
    border: "none",
    borderRadius: 0,
    padding: 0,
    margin: 0
  },
  "pre pre, pre.prismjs": {
    padding: 15,
    margin: 0,
    whiteSpace: "pre-wrap",
    color: "inherit",
    fontSize: "13px",
    lineHeight: "19px"
  },
  "pre pre code, pre.prismjs code": {
    color: "inherit",
    fontSize: "inherit"
  },
  "pre code": {
    margin: 0,
    padding: 0,
    whiteSpace: "pre",
    border: "none",
    background: "transparent"
  },
  "pre code, pre tt": {
    backgroundColor: "transparent",
    border: "none"
  },
  /* GitHub inspired Markdown styles loosely from https://gist.github.com/tuzz/3331384 */
  "body > *:first-of-type": {
    marginTop: "0 !important"
  },
  "body > *:last-child": {
    marginBottom: "0 !important"
  },
  a: {
    color: e.color.secondary,
    textDecoration: "none"
  },
  "a.absent": {
    color: "#cc0000"
  },
  "a.anchor": {
    display: "block",
    paddingLeft: 30,
    marginLeft: -30,
    cursor: "pointer",
    position: "absolute",
    top: 0,
    left: 0,
    bottom: 0
  },
  "h1, h2, h3, h4, h5, h6": {
    margin: "20px 0 10px",
    padding: 0,
    cursor: "text",
    position: "relative",
    "&:first-of-type": {
      marginTop: 0,
      paddingTop: 0
    },
    "&:hover a.anchor": {
      textDecoration: "none"
    },
    "& tt, & code": {
      fontSize: "inherit"
    }
  },
  "h1:first-of-type + h2": {
    marginTop: 0,
    paddingTop: 0
  },
  "p, blockquote, ul, ol, dl, li, table, pre": {
    margin: "15px 0"
  },
  hr: {
    border: "0 none",
    borderTop: `1px solid ${e.appBorderColor}`,
    height: 4,
    padding: 0
  },
  "body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:fi\
rst-of-type": {
    marginTop: 0,
    paddingTop: 0
  },
  "body > h1:first-of-type + h2": {
    marginTop: 0,
    paddingTop: 0
  },
  "a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6": {
    marginTop: 0,
    paddingTop: 0
  },
  "h1 p, h2 p, h3 p, h4 p, h5 p, h6 p": {
    marginTop: 0
  },
  "li p.first": {
    display: "inline-block"
  },
  "ul, ol": {
    paddingLeft: 30,
    "& :first-of-type": {
      marginTop: 0
    },
    "& :last-child": {
      marginBottom: 0
    }
  },
  dl: {
    padding: 0
  },
  "dl dt": {
    fontSize: "14px",
    fontWeight: "bold",
    fontStyle: "italic",
    margin: "0 0 15px",
    padding: "0 15px",
    "&:first-of-type": {
      padding: 0
    },
    "& > :first-of-type": {
      marginTop: 0
    },
    "& > :last-child": {
      marginBottom: 0
    }
  },
  blockquote: {
    borderLeft: `4px solid ${e.color.medium}`,
    padding: "0 15px",
    color: e.color.dark,
    "& > :first-of-type": {
      marginTop: 0
    },
    "& > :last-child": {
      marginBottom: 0
    }
  },
  table: {
    padding: 0,
    borderCollapse: "collapse",
    "& tr": {
      borderTop: `1px solid ${e.appBorderColor}`,
      backgroundColor: "white",
      margin: 0,
      padding: 0,
      "& th": {
        fontWeight: "bold",
        border: `1px solid ${e.appBorderColor}`,
        textAlign: "left",
        margin: 0,
        padding: "6px 13px"
      },
      "& td": {
        border: `1px solid ${e.appBorderColor}`,
        textAlign: "left",
        margin: 0,
        padding: "6px 13px"
      },
      "&:nth-of-type(2n)": {
        backgroundColor: e.color.lighter
      },
      "& th :first-of-type, & td :first-of-type": {
        marginTop: 0
      },
      "& th :last-child, & td :last-child": {
        marginBottom: 0
      }
    }
  },
  img: {
    maxWidth: "100%"
  },
  "span.frame": {
    display: "block",
    overflow: "hidden",
    "& > span": {
      border: `1px solid ${e.color.medium}`,
      display: "block",
      float: "left",
      overflow: "hidden",
      margin: "13px 0 0",
      padding: 7,
      width: "auto"
    },
    "& span img": {
      display: "block",
      float: "left"
    },
    "& span span": {
      clear: "both",
      color: e.color.darkest,
      display: "block",
      padding: "5px 0 0"
    }
  },
  "span.align-center": {
    display: "block",
    overflow: "hidden",
    clear: "both",
    "& > span": {
      display: "block",
      overflow: "hidden",
      margin: "13px auto 0",
      textAlign: "center"
    },
    "& span img": {
      margin: "0 auto",
      textAlign: "center"
    }
  },
  "span.align-right": {
    display: "block",
    overflow: "hidden",
    clear: "both",
    "& > span": {
      display: "block",
      overflow: "hidden",
      margin: "13px 0 0",
      textAlign: "right"
    },
    "& span img": {
      margin: 0,
      textAlign: "right"
    }
  },
  "span.float-left": {
    display: "block",
    marginRight: 13,
    overflow: "hidden",
    float: "left",
    "& span": {
      margin: "13px 0 0"
    }
  },
  "span.float-right": {
    display: "block",
    marginLeft: 13,
    overflow: "hidden",
    float: "right",
    "& > span": {
      display: "block",
      overflow: "hidden",
      margin: "13px auto 0",
      textAlign: "right"
    }
  },
  "code, tt": {
    margin: "0 2px",
    padding: "0 5px",
    whiteSpace: "nowrap",
    border: `1px solid ${e.color.mediumlight}`,
    backgroundColor: e.color.lighter,
    borderRadius: 3,
    color: e.base === "dark" ? e.color.darkest : e.color.dark
  }
}));

// src/components/components/syntaxhighlighter/lazy-syntaxhighlighter.tsx
var tn = _(F(), 1);
var es = [], $u = null, Ase = (0, tn.lazy)(async () => {
  let { SyntaxHighlighter: e } = await Promise.resolve().then(() => (Jp(), W4));
  return es.length > 0 && (es.forEach((t) => {
    e.registerLanguage(...t);
  }), es = []), $u === null && ($u = e), {
    default: /* @__PURE__ */ a((t) => /* @__PURE__ */ tn.default.createElement(e, { ...t }), "default")
  };
}), _se = (0, tn.lazy)(async () => {
  let [{ SyntaxHighlighter: e }, { formatter: t }] = await Promise.all([
    Promise.resolve().then(() => (Jp(), W4)),
    Promise.resolve().then(() => (kP(), PP))
  ]);
  return es.length > 0 && (es.forEach((r) => {
    e.registerLanguage(...r);
  }), es = []), $u === null && ($u = e), {
    default: /* @__PURE__ */ a((r) => /* @__PURE__ */ tn.default.createElement(e, { ...r, formatter: t }), "default")
  };
}), c3 = /* @__PURE__ */ a((e) => /* @__PURE__ */ tn.default.createElement(tn.Suspense, { fallback: /* @__PURE__ */ tn.default.createElement(
"div", null) }, e.format !== !1 ? /* @__PURE__ */ tn.default.createElement(_se, { ...e }) : /* @__PURE__ */ tn.default.createElement(Ase, { ...e })),
"SyntaxHighlighter");
c3.registerLanguage = (...e) => {
  if ($u !== null) {
    $u.registerLanguage(...e);
    return;
  }
  es.push(e);
};

// src/components/index.ts
Jp();
M4();

// src/components/components/Modal/Modal.tsx
var is = _(F(), 1);

// ../node_modules/@radix-ui/react-dialog/dist/index.mjs
var Lm = {};
de(Lm, {
  Close: () => iS,
  Content: () => nS,
  Description: () => aS,
  Dialog: () => V3,
  DialogClose: () => J3,
  DialogContent: () => Y3,
  DialogDescription: () => Q3,
  DialogOverlay: () => G3,
  DialogPortal: () => q3,
  DialogTitle: () => X3,
  DialogTrigger: () => U3,
  Overlay: () => rS,
  Portal: () => tS,
  Root: () => eS,
  Title: () => oS,
  Trigger: () => uue,
  WarningProvider: () => aue,
  createDialogScope: () => Jle
});
var Ce = _(F(), 1);

// ../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.mjs
function ju(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
  return /* @__PURE__ */ a(function(o) {
    if (e?.(o), r === !1 || !o.defaultPrevented)
      return t?.(o);
  }, "handleEvent");
}
a(ju, "composeEventHandlers");

// ../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
var LP = _(F(), 1);
function FP(e, t) {
  if (typeof e == "function")
    return e(t);
  e != null && (e.current = t);
}
a(FP, "setRef");
function p3(...e) {
  return (t) => {
    let r = !1, n = e.map((o) => {
      let i = FP(o, t);
      return !r && typeof i == "function" && (r = !0), i;
    });
    if (r)
      return () => {
        for (let o = 0; o < n.length; o++) {
          let i = n[o];
          typeof i == "function" ? i() : FP(e[o], null);
        }
      };
  };
}
a(p3, "composeRefs");
function dm(...e) {
  return LP.useCallback(p3(...e), e);
}
a(dm, "useComposedRefs");

// ../node_modules/@radix-ui/react-context/dist/index.mjs
var rn = _(F(), 1), f3 = _(et(), 1);
function OP(e, t) {
  let r = rn.createContext(t), n = /* @__PURE__ */ a((i) => {
    let { children: s, ...l } = i, u = rn.useMemo(() => l, Object.values(l));
    return /* @__PURE__ */ (0, f3.jsx)(r.Provider, { value: u, children: s });
  }, "Provider");
  n.displayName = e + "Provider";
  function o(i) {
    let s = rn.useContext(r);
    if (s) return s;
    if (t !== void 0) return t;
    throw new Error(`\`${i}\` must be used within \`${e}\``);
  }
  return a(o, "useContext2"), [n, o];
}
a(OP, "createContext2");
function NP(e, t = []) {
  let r = [];
  function n(i, s) {
    let l = rn.createContext(s), u = r.length;
    r = [...r, s];
    let c = /* @__PURE__ */ a((h) => {
      let { scope: m, children: g, ...w } = h, v = m?.[e]?.[u] || l, S = rn.useMemo(() => w, Object.values(w));
      return /* @__PURE__ */ (0, f3.jsx)(v.Provider, { value: S, children: g });
    }, "Provider");
    c.displayName = i + "Provider";
    function p(h, m) {
      let g = m?.[e]?.[u] || l, w = rn.useContext(g);
      if (w) return w;
      if (s !== void 0) return s;
      throw new Error(`\`${h}\` must be used within \`${i}\``);
    }
    return a(p, "useContext2"), [c, p];
  }
  a(n, "createContext3");
  let o = /* @__PURE__ */ a(() => {
    let i = r.map((s) => rn.createContext(s));
    return /* @__PURE__ */ a(function(l) {
      let u = l?.[e] || i;
      return rn.useMemo(
        () => ({ [`__scope${e}`]: { ...l, [e]: u } }),
        [l, u]
      );
    }, "useScope");
  }, "createScope");
  return o.scopeName = e, [n, Tse(o, ...t)];
}
a(NP, "createContextScope");
function Tse(...e) {
  let t = e[0];
  if (e.length === 1) return t;
  let r = /* @__PURE__ */ a(() => {
    let n = e.map((o) => ({
      useScope: o(),
      scopeName: o.scopeName
    }));
    return /* @__PURE__ */ a(function(i) {
      let s = n.reduce((l, { useScope: u, scopeName: c }) => {
        let h = u(i)[`__scope${c}`];
        return { ...l, ...h };
      }, {});
      return rn.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
    }, "useComposedScopes");
  }, "createScope");
  return r.scopeName = t.scopeName, r;
}
a(Tse, "composeContextScopes");

// ../node_modules/@radix-ui/react-id/dist/index.mjs
var d3 = _(F(), 1);

// ../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
var MP = _(F(), 1), Vo = globalThis?.document ? MP.useLayoutEffect : () => {
};

// ../node_modules/@radix-ui/react-id/dist/index.mjs
var Ise = d3[" useId ".trim().toString()] || (() => {
}), Pse = 0;
function hm(e) {
  let [t, r] = d3.useState(Ise());
  return Vo(() => {
    e || r((n) => n ?? String(Pse++));
  }, [e]), e || (t ? `radix-${t}` : "");
}
a(hm, "useId");

// ../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
var nn = _(F(), 1);
var mm = _(F(), 1);
var kse = nn[" useInsertionEffect ".trim().toString()] || Vo;
function BP({
  prop: e,
  defaultProp: t,
  onChange: r = /* @__PURE__ */ a(() => {
  }, "onChange"),
  caller: n
}) {
  let [o, i, s] = Fse({
    defaultProp: t,
    onChange: r
  }), l = e !== void 0, u = l ? e : o;
  {
    let p = nn.useRef(e !== void 0);
    nn.useEffect(() => {
      let h = p.current;
      h !== l && console.warn(
        `${n} is changing from ${h ? "controlled" : "uncontrolled"} to ${l ? "controlled" : "uncontrolled"}. Components should not switch fr\
om controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
      ), p.current = l;
    }, [l, n]);
  }
  let c = nn.useCallback(
    (p) => {
      if (l) {
        let h = Lse(p) ? p(e) : p;
        h !== e && s.current?.(h);
      } else
        i(p);
    },
    [l, e, i, s]
  );
  return [u, c];
}
a(BP, "useControllableState");
function Fse({
  defaultProp: e,
  onChange: t
}) {
  let [r, n] = nn.useState(e), o = nn.useRef(r), i = nn.useRef(t);
  return kse(() => {
    i.current = t;
  }, [t]), nn.useEffect(() => {
    o.current !== r && (i.current?.(r), o.current = r);
  }, [r, o]), [r, n, i];
}
a(Fse, "useUncontrolledState");
function Lse(e) {
  return typeof e == "function";
}
a(Lse, "isFunction");
var nbe = Symbol("RADIX:SYNC_STATE");

// ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
var He = _(F(), 1);

// ../node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/primitive/dist/index.mjs
function gm(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
  return /* @__PURE__ */ a(function(o) {
    if (e?.(o), r === !1 || !o.defaultPrevented)
      return t?.(o);
  }, "handleEvent");
}
a(gm, "composeEventHandlers");

// ../node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-primitive/dist/index.mjs
var jP = _(F(), 1), VP = _(Wr(), 1);

// ../node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-slot/dist/index.mjs
var ut = _(F(), 1);

// ../node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
var HP = _(F(), 1);
function zP(e, t) {
  if (typeof e == "function")
    return e(t);
  e != null && (e.current = t);
}
a(zP, "setRef");
function h3(...e) {
  return (t) => {
    let r = !1, n = e.map((o) => {
      let i = zP(o, t);
      return !r && typeof i == "function" && (r = !0), i;
    });
    if (r)
      return () => {
        for (let o = 0; o < n.length; o++) {
          let i = n[o];
          typeof i == "function" ? i() : zP(e[o], null);
        }
      };
  };
}
a(h3, "composeRefs");
function m3(...e) {
  return HP.useCallback(h3(...e), e);
}
a(m3, "useComposedRefs");

// ../node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-slot/dist/index.mjs
var vm = _(et(), 1);
// @__NO_SIDE_EFFECTS__
function $P(e) {
  let t = /* @__PURE__ */ Ose(e), r = ut.forwardRef((n, o) => {
    let { children: i, ...s } = n, l = ut.Children.toArray(i), u = l.find(Mse);
    if (u) {
      let c = u.props.children, p = l.map((h) => h === u ? ut.Children.count(c) > 1 ? ut.Children.only(null) : ut.isValidElement(c) ? c.props.
      children : null : h);
      return /* @__PURE__ */ (0, vm.jsx)(t, { ...s, ref: o, children: ut.isValidElement(c) ? ut.cloneElement(c, void 0, p) : null });
    }
    return /* @__PURE__ */ (0, vm.jsx)(t, { ...s, ref: o, children: i });
  });
  return r.displayName = `${e}.Slot`, r;
}
a($P, "createSlot");
// @__NO_SIDE_EFFECTS__
function Ose(e) {
  let t = ut.forwardRef((r, n) => {
    let { children: o, ...i } = r;
    if (ut.isValidElement(o)) {
      let s = zse(o), l = Bse(i, o.props);
      return o.type !== ut.Fragment && (l.ref = n ? h3(n, s) : s), ut.cloneElement(o, l);
    }
    return ut.Children.count(o) > 1 ? ut.Children.only(null) : null;
  });
  return t.displayName = `${e}.SlotClone`, t;
}
a(Ose, "createSlotClone");
var Nse = Symbol("radix.slottable");
function Mse(e) {
  return ut.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Nse;
}
a(Mse, "isSlottable");
function Bse(e, t) {
  let r = { ...t };
  for (let n in t) {
    let o = e[n], i = t[n];
    /^on[A-Z]/.test(n) ? o && i ? r[n] = (...l) => {
      i(...l), o(...l);
    } : o && (r[n] = o) : n === "style" ? r[n] = { ...o, ...i } : n === "className" && (r[n] = [o, i].filter(Boolean).join(" "));
  }
  return { ...e, ...r };
}
a(Bse, "mergeProps");
function zse(e) {
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
  return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref :
  e.props.ref || e.ref);
}
a(zse, "getElementRef");

// ../node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-primitive/dist/index.mjs
var UP = _(et(), 1);
var Hse = [
  "a",
  "button",
  "div",
  "form",
  "h2",
  "h3",
  "img",
  "input",
  "label",
  "li",
  "nav",
  "ol",
  "p",
  "select",
  "span",
  "svg",
  "ul"
], g3 = Hse.reduce((e, t) => {
  let r = $P(`Primitive.${t}`), n = jP.forwardRef((o, i) => {
    let { asChild: s, ...l } = o, u = s ? r : t;
    return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, UP.jsx)(u, { ...l, ref: i });
  });
  return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
}, {});
function WP(e, t) {
  e && VP.flushSync(() => e.dispatchEvent(t));
}
a(WP, "dispatchDiscreteCustomEvent");

// ../node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
var Vu = _(F(), 1);
function v3(e) {
  let t = Vu.useRef(e);
  return Vu.useEffect(() => {
    t.current = e;
  }), Vu.useMemo(() => (...r) => t.current?.(...r), []);
}
a(v3, "useCallbackRef");

// ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
var GP = _(F(), 1);

// ../node_modules/@radix-ui/react-use-escape-keydown/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
var Uu = _(F(), 1);
function qP(e) {
  let t = Uu.useRef(e);
  return Uu.useEffect(() => {
    t.current = e;
  }), Uu.useMemo(() => (...r) => t.current?.(...r), []);
}
a(qP, "useCallbackRef");

// ../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
function YP(e, t = globalThis?.document) {
  let r = qP(e);
  GP.useEffect(() => {
    let n = /* @__PURE__ */ a((o) => {
      o.key === "Escape" && r(o);
    }, "handleKeyDown");
    return t.addEventListener("keydown", n, { capture: !0 }), () => t.removeEventListener("keydown", n, { capture: !0 });
  }, [r, t]);
}
a(YP, "useEscapeKeydown");

// ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
var w3 = _(et(), 1);
var $se = "DismissableLayer", y3 = "dismissableLayer.update", jse = "dismissableLayer.pointerDownOutside", Vse = "dismissableLayer.focusOuts\
ide", KP, QP = He.createContext({
  layers: /* @__PURE__ */ new Set(),
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
  branches: /* @__PURE__ */ new Set()
}), S3 = He.forwardRef(
  (e, t) => {
    let {
      disableOutsidePointerEvents: r = !1,
      onEscapeKeyDown: n,
      onPointerDownOutside: o,
      onFocusOutside: i,
      onInteractOutside: s,
      onDismiss: l,
      ...u
    } = e, c = He.useContext(QP), [p, h] = He.useState(null), m = p?.ownerDocument ?? globalThis?.document, [, g] = He.useState({}), w = m3(
    t, (D) => h(D)), v = Array.from(c.layers), [S] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), E = v.indexOf(S), y = p ? v.indexOf(
    p) : -1, b = c.layersWithOutsidePointerEventsDisabled.size > 0, x = y >= E, R = qse((D) => {
      let A = D.target, P = [...c.branches].some((k) => k.contains(A));
      !x || P || (o?.(D), s?.(D), D.defaultPrevented || l?.());
    }, m), C = Gse((D) => {
      let A = D.target;
      [...c.branches].some((k) => k.contains(A)) || (i?.(D), s?.(D), D.defaultPrevented || l?.());
    }, m);
    return YP((D) => {
      y === c.layers.size - 1 && (n?.(D), !D.defaultPrevented && l && (D.preventDefault(), l()));
    }, m), He.useEffect(() => {
      if (p)
        return r && (c.layersWithOutsidePointerEventsDisabled.size === 0 && (KP = m.body.style.pointerEvents, m.body.style.pointerEvents = "\
none"), c.layersWithOutsidePointerEventsDisabled.add(p)), c.layers.add(p), XP(), () => {
          r && c.layersWithOutsidePointerEventsDisabled.size === 1 && (m.body.style.pointerEvents = KP);
        };
    }, [p, m, r, c]), He.useEffect(() => () => {
      p && (c.layers.delete(p), c.layersWithOutsidePointerEventsDisabled.delete(p), XP());
    }, [p, c]), He.useEffect(() => {
      let D = /* @__PURE__ */ a(() => g({}), "handleUpdate");
      return document.addEventListener(y3, D), () => document.removeEventListener(y3, D);
    }, []), /* @__PURE__ */ (0, w3.jsx)(
      g3.div,
      {
        ...u,
        ref: w,
        style: {
          pointerEvents: b ? x ? "auto" : "none" : void 0,
          ...e.style
        },
        onFocusCapture: gm(e.onFocusCapture, C.onFocusCapture),
        onBlurCapture: gm(e.onBlurCapture, C.onBlurCapture),
        onPointerDownCapture: gm(
          e.onPointerDownCapture,
          R.onPointerDownCapture
        )
      }
    );
  }
);
S3.displayName = $se;
var Use = "DismissableLayerBranch", Wse = He.forwardRef((e, t) => {
  let r = He.useContext(QP), n = He.useRef(null), o = m3(t, n);
  return He.useEffect(() => {
    let i = n.current;
    if (i)
      return r.branches.add(i), () => {
        r.branches.delete(i);
      };
  }, [r.branches]), /* @__PURE__ */ (0, w3.jsx)(g3.div, { ...e, ref: o });
});
Wse.displayName = Use;
function qse(e, t = globalThis?.document) {
  let r = v3(e), n = He.useRef(!1), o = He.useRef(() => {
  });
  return He.useEffect(() => {
    let i = /* @__PURE__ */ a((l) => {
      if (l.target && !n.current) {
        let c = /* @__PURE__ */ a(function() {
          JP(
            jse,
            r,
            p,
            { discrete: !0 }
          );
        }, "handleAndDispatchPointerDownOutsideEvent2");
        var u = c;
        let p = { originalEvent: l };
        l.pointerType === "touch" ? (t.removeEventListener("click", o.current), o.current = c, t.addEventListener("click", o.current, { once: !0 })) :
        c();
      } else
        t.removeEventListener("click", o.current);
      n.current = !1;
    }, "handlePointerDown"), s = window.setTimeout(() => {
      t.addEventListener("pointerdown", i);
    }, 0);
    return () => {
      window.clearTimeout(s), t.removeEventListener("pointerdown", i), t.removeEventListener("click", o.current);
    };
  }, [t, r]), {
    // ensures we check React component tree (not just DOM tree)
    onPointerDownCapture: /* @__PURE__ */ a(() => n.current = !0, "onPointerDownCapture")
  };
}
a(qse, "usePointerDownOutside");
function Gse(e, t = globalThis?.document) {
  let r = v3(e), n = He.useRef(!1);
  return He.useEffect(() => {
    let o = /* @__PURE__ */ a((i) => {
      i.target && !n.current && JP(Vse, r, { originalEvent: i }, {
        discrete: !1
      });
    }, "handleFocus");
    return t.addEventListener("focusin", o), () => t.removeEventListener("focusin", o);
  }, [t, r]), {
    onFocusCapture: /* @__PURE__ */ a(() => n.current = !0, "onFocusCapture"),
    onBlurCapture: /* @__PURE__ */ a(() => n.current = !1, "onBlurCapture")
  };
}
a(Gse, "useFocusOutside");
function XP() {
  let e = new CustomEvent(y3);
  document.dispatchEvent(e);
}
a(XP, "dispatchUpdate");
function JP(e, t, r, { discrete: n }) {
  let o = r.originalEvent.target, i = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: r });
  t && o.addEventListener(e, t, { once: !0 }), n ? WP(o, i) : o.dispatchEvent(i);
}
a(JP, "handleAndDispatchCustomEvent");

// ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
var on = _(F(), 1);

// ../node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
var ek = _(F(), 1);
function ZP(e, t) {
  if (typeof e == "function")
    return e(t);
  e != null && (e.current = t);
}
a(ZP, "setRef");
function E3(...e) {
  return (t) => {
    let r = !1, n = e.map((o) => {
      let i = ZP(o, t);
      return !r && typeof i == "function" && (r = !0), i;
    });
    if (r)
      return () => {
        for (let o = 0; o < n.length; o++) {
          let i = n[o];
          typeof i == "function" ? i() : ZP(e[o], null);
        }
      };
  };
}
a(E3, "composeRefs");
function tk(...e) {
  return ek.useCallback(E3(...e), e);
}
a(tk, "useComposedRefs");

// ../node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.mjs
var nk = _(F(), 1), Zse = _(Wr(), 1);

// ../node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-slot/dist/index.mjs
var ct = _(F(), 1);
var ym = _(et(), 1);
// @__NO_SIDE_EFFECTS__
function rk(e) {
  let t = /* @__PURE__ */ Yse(e), r = ct.forwardRef((n, o) => {
    let { children: i, ...s } = n, l = ct.Children.toArray(i), u = l.find(Xse);
    if (u) {
      let c = u.props.children, p = l.map((h) => h === u ? ct.Children.count(c) > 1 ? ct.Children.only(null) : ct.isValidElement(c) ? c.props.
      children : null : h);
      return /* @__PURE__ */ (0, ym.jsx)(t, { ...s, ref: o, children: ct.isValidElement(c) ? ct.cloneElement(c, void 0, p) : null });
    }
    return /* @__PURE__ */ (0, ym.jsx)(t, { ...s, ref: o, children: i });
  });
  return r.displayName = `${e}.Slot`, r;
}
a(rk, "createSlot");
// @__NO_SIDE_EFFECTS__
function Yse(e) {
  let t = ct.forwardRef((r, n) => {
    let { children: o, ...i } = r;
    if (ct.isValidElement(o)) {
      let s = Jse(o), l = Qse(i, o.props);
      return o.type !== ct.Fragment && (l.ref = n ? E3(n, s) : s), ct.cloneElement(o, l);
    }
    return ct.Children.count(o) > 1 ? ct.Children.only(null) : null;
  });
  return t.displayName = `${e}.SlotClone`, t;
}
a(Yse, "createSlotClone");
var Kse = Symbol("radix.slottable");
function Xse(e) {
  return ct.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Kse;
}
a(Xse, "isSlottable");
function Qse(e, t) {
  let r = { ...t };
  for (let n in t) {
    let o = e[n], i = t[n];
    /^on[A-Z]/.test(n) ? o && i ? r[n] = (...l) => {
      i(...l), o(...l);
    } : o && (r[n] = o) : n === "style" ? r[n] = { ...o, ...i } : n === "className" && (r[n] = [o, i].filter(Boolean).join(" "));
  }
  return { ...e, ...r };
}
a(Qse, "mergeProps");
function Jse(e) {
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
  return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref :
  e.props.ref || e.ref);
}
a(Jse, "getElementRef");

// ../node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.mjs
var ok = _(et(), 1);
var ele = [
  "a",
  "button",
  "div",
  "form",
  "h2",
  "h3",
  "img",
  "input",
  "label",
  "li",
  "nav",
  "ol",
  "p",
  "select",
  "span",
  "svg",
  "ul"
], ak = ele.reduce((e, t) => {
  let r = rk(`Primitive.${t}`), n = nk.forwardRef((o, i) => {
    let { asChild: s, ...l } = o, u = s ? r : t;
    return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, ok.jsx)(u, { ...l, ref: i });
  });
  return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
}, {});

// ../node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
var Wu = _(F(), 1);
function b3(e) {
  let t = Wu.useRef(e);
  return Wu.useEffect(() => {
    t.current = e;
  }), Wu.useMemo(() => (...r) => t.current?.(...r), []);
}
a(b3, "useCallbackRef");

// ../node_modules/@radix-ui/react-focus-scope/dist/index.mjs
var ck = _(et(), 1);
var x3 = "focusScope.autoFocusOnMount", R3 = "focusScope.autoFocusOnUnmount", ik = { bubbles: !1, cancelable: !0 }, tle = "FocusScope", C3 = on.forwardRef(
(e, t) => {
  let {
    loop: r = !1,
    trapped: n = !1,
    onMountAutoFocus: o,
    onUnmountAutoFocus: i,
    ...s
  } = e, [l, u] = on.useState(null), c = b3(o), p = b3(i), h = on.useRef(null), m = tk(t, (v) => u(v)), g = on.useRef({
    paused: !1,
    pause() {
      this.paused = !0;
    },
    resume() {
      this.paused = !1;
    }
  }).current;
  on.useEffect(() => {
    if (n) {
      let y = /* @__PURE__ */ a(function(C) {
        if (g.paused || !l) return;
        let D = C.target;
        l.contains(D) ? h.current = D : Ga(h.current, { select: !0 });
      }, "handleFocusIn2"), b = /* @__PURE__ */ a(function(C) {
        if (g.paused || !l) return;
        let D = C.relatedTarget;
        D !== null && (l.contains(D) || Ga(h.current, { select: !0 }));
      }, "handleFocusOut2"), x = /* @__PURE__ */ a(function(C) {
        if (document.activeElement === document.body)
          for (let A of C)
            A.removedNodes.length > 0 && Ga(l);
      }, "handleMutations2");
      var v = y, S = b, E = x;
      document.addEventListener("focusin", y), document.addEventListener("focusout", b);
      let R = new MutationObserver(x);
      return l && R.observe(l, { childList: !0, subtree: !0 }), () => {
        document.removeEventListener("focusin", y), document.removeEventListener("focusout", b), R.disconnect();
      };
    }
  }, [n, l, g.paused]), on.useEffect(() => {
    if (l) {
      lk.add(g);
      let v = document.activeElement;
      if (!l.contains(v)) {
        let E = new CustomEvent(x3, ik);
        l.addEventListener(x3, c), l.dispatchEvent(E), E.defaultPrevented || (rle(sle(pk(l)), { select: !0 }), document.activeElement === v &&
        Ga(l));
      }
      return () => {
        l.removeEventListener(x3, c), setTimeout(() => {
          let E = new CustomEvent(R3, ik);
          l.addEventListener(R3, p), l.dispatchEvent(E), E.defaultPrevented || Ga(v ?? document.body, { select: !0 }), l.removeEventListener(
          R3, p), lk.remove(g);
        }, 0);
      };
    }
  }, [l, c, p, g]);
  let w = on.useCallback(
    (v) => {
      if (!r && !n || g.paused) return;
      let S = v.key === "Tab" && !v.altKey && !v.ctrlKey && !v.metaKey, E = document.activeElement;
      if (S && E) {
        let y = v.currentTarget, [b, x] = nle(y);
        b && x ? !v.shiftKey && E === x ? (v.preventDefault(), r && Ga(b, { select: !0 })) : v.shiftKey && E === b && (v.preventDefault(), r &&
        Ga(x, { select: !0 })) : E === y && v.preventDefault();
      }
    },
    [r, n, g.paused]
  );
  return /* @__PURE__ */ (0, ck.jsx)(ak.div, { tabIndex: -1, ...s, ref: m, onKeyDown: w });
});
C3.displayName = tle;
function rle(e, { select: t = !1 } = {}) {
  let r = document.activeElement;
  for (let n of e)
    if (Ga(n, { select: t }), document.activeElement !== r) return;
}
a(rle, "focusFirst");
function nle(e) {
  let t = pk(e), r = sk(t, e), n = sk(t.reverse(), e);
  return [r, n];
}
a(nle, "getTabbableEdges");
function pk(e) {
  let t = [], r = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
    acceptNode: /* @__PURE__ */ a((n) => {
      let o = n.tagName === "INPUT" && n.type === "hidden";
      return n.disabled || n.hidden || o ? NodeFilter.FILTER_SKIP : n.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
    }, "acceptNode")
  });
  for (; r.nextNode(); ) t.push(r.currentNode);
  return t;
}
a(pk, "getTabbableCandidates");
function sk(e, t) {
  for (let r of e)
    if (!ole(r, { upTo: t })) return r;
}
a(sk, "findVisible");
function ole(e, { upTo: t }) {
  if (getComputedStyle(e).visibility === "hidden") return !0;
  for (; e; ) {
    if (t !== void 0 && e === t) return !1;
    if (getComputedStyle(e).display === "none") return !0;
    e = e.parentElement;
  }
  return !1;
}
a(ole, "isHidden");
function ale(e) {
  return e instanceof HTMLInputElement && "select" in e;
}
a(ale, "isSelectableInput");
function Ga(e, { select: t = !1 } = {}) {
  if (e && e.focus) {
    let r = document.activeElement;
    e.focus({ preventScroll: !0 }), e !== r && ale(e) && t && e.select();
  }
}
a(Ga, "focus");
var lk = ile();
function ile() {
  let e = [];
  return {
    add(t) {
      let r = e[0];
      t !== r && r?.pause(), e = uk(e, t), e.unshift(t);
    },
    remove(t) {
      e = uk(e, t), e[0]?.resume();
    }
  };
}
a(ile, "createFocusScopesStack");
function uk(e, t) {
  let r = [...e], n = r.indexOf(t);
  return n !== -1 && r.splice(n, 1), r;
}
a(uk, "arrayRemove");
function sle(e) {
  return e.filter((t) => t.tagName !== "A");
}
a(sle, "removeLinks");

// ../node_modules/@radix-ui/react-portal/dist/index.mjs
var Sm = _(F(), 1), yk = _(Wr(), 1);

// ../node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-primitive/dist/index.mjs
var mk = _(F(), 1), hle = _(Wr(), 1);

// ../node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-slot/dist/index.mjs
var pt = _(F(), 1);

// ../node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
var lle = _(F(), 1);
function fk(e, t) {
  if (typeof e == "function")
    return e(t);
  e != null && (e.current = t);
}
a(fk, "setRef");
function dk(...e) {
  return (t) => {
    let r = !1, n = e.map((o) => {
      let i = fk(o, t);
      return !r && typeof i == "function" && (r = !0), i;
    });
    if (r)
      return () => {
        for (let o = 0; o < n.length; o++) {
          let i = n[o];
          typeof i == "function" ? i() : fk(e[o], null);
        }
      };
  };
}
a(dk, "composeRefs");

// ../node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-slot/dist/index.mjs
var wm = _(et(), 1);
// @__NO_SIDE_EFFECTS__
function hk(e) {
  let t = /* @__PURE__ */ ule(e), r = pt.forwardRef((n, o) => {
    let { children: i, ...s } = n, l = pt.Children.toArray(i), u = l.find(ple);
    if (u) {
      let c = u.props.children, p = l.map((h) => h === u ? pt.Children.count(c) > 1 ? pt.Children.only(null) : pt.isValidElement(c) ? c.props.
      children : null : h);
      return /* @__PURE__ */ (0, wm.jsx)(t, { ...s, ref: o, children: pt.isValidElement(c) ? pt.cloneElement(c, void 0, p) : null });
    }
    return /* @__PURE__ */ (0, wm.jsx)(t, { ...s, ref: o, children: i });
  });
  return r.displayName = `${e}.Slot`, r;
}
a(hk, "createSlot");
// @__NO_SIDE_EFFECTS__
function ule(e) {
  let t = pt.forwardRef((r, n) => {
    let { children: o, ...i } = r;
    if (pt.isValidElement(o)) {
      let s = dle(o), l = fle(i, o.props);
      return o.type !== pt.Fragment && (l.ref = n ? dk(n, s) : s), pt.cloneElement(o, l);
    }
    return pt.Children.count(o) > 1 ? pt.Children.only(null) : null;
  });
  return t.displayName = `${e}.SlotClone`, t;
}
a(ule, "createSlotClone");
var cle = Symbol("radix.slottable");
function ple(e) {
  return pt.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === cle;
}
a(ple, "isSlottable");
function fle(e, t) {
  let r = { ...t };
  for (let n in t) {
    let o = e[n], i = t[n];
    /^on[A-Z]/.test(n) ? o && i ? r[n] = (...l) => {
      i(...l), o(...l);
    } : o && (r[n] = o) : n === "style" ? r[n] = { ...o, ...i } : n === "className" && (r[n] = [o, i].filter(Boolean).join(" "));
  }
  return { ...e, ...r };
}
a(fle, "mergeProps");
function dle(e) {
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
  return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref :
  e.props.ref || e.ref);
}
a(dle, "getElementRef");

// ../node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-primitive/dist/index.mjs
var gk = _(et(), 1);
var mle = [
  "a",
  "button",
  "div",
  "form",
  "h2",
  "h3",
  "img",
  "input",
  "label",
  "li",
  "nav",
  "ol",
  "p",
  "select",
  "span",
  "svg",
  "ul"
], vk = mle.reduce((e, t) => {
  let r = hk(`Primitive.${t}`), n = mk.forwardRef((o, i) => {
    let { asChild: s, ...l } = o, u = s ? r : t;
    return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, gk.jsx)(u, { ...l, ref: i });
  });
  return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
}, {});

// ../node_modules/@radix-ui/react-portal/dist/index.mjs
var wk = _(et(), 1), gle = "Portal", D3 = Sm.forwardRef((e, t) => {
  let { container: r, ...n } = e, [o, i] = Sm.useState(!1);
  Vo(() => i(!0), []);
  let s = r || o && globalThis?.document?.body;
  return s ? yk.default.createPortal(/* @__PURE__ */ (0, wk.jsx)(vk.div, { ...n, ref: t }), s) : null;
});
D3.displayName = gle;

// ../node_modules/@radix-ui/react-presence/dist/index.mjs
var yr = _(F(), 1);

// ../node_modules/@radix-ui/react-presence/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
var Ek = _(F(), 1);
function Sk(e, t) {
  if (typeof e == "function")
    return e(t);
  e != null && (e.current = t);
}
a(Sk, "setRef");
function vle(...e) {
  return (t) => {
    let r = !1, n = e.map((o) => {
      let i = Sk(o, t);
      return !r && typeof i == "function" && (r = !0), i;
    });
    if (r)
      return () => {
        for (let o = 0; o < n.length; o++) {
          let i = n[o];
          typeof i == "function" ? i() : Sk(e[o], null);
        }
      };
  };
}
a(vle, "composeRefs");
function bk(...e) {
  return Ek.useCallback(vle(...e), e);
}
a(bk, "useComposedRefs");

// ../node_modules/@radix-ui/react-presence/dist/index.mjs
var xk = _(F(), 1);
function yle(e, t) {
  return xk.useReducer((r, n) => t[r][n] ?? r, e);
}
a(yle, "useStateMachine");
var xf = /* @__PURE__ */ a((e) => {
  let { present: t, children: r } = e, n = wle(t), o = typeof r == "function" ? r({ present: n.isPresent }) : yr.Children.only(r), i = bk(n.
  ref, Sle(o));
  return typeof r == "function" || n.isPresent ? yr.cloneElement(o, { ref: i }) : null;
}, "Presence");
xf.displayName = "Presence";
function wle(e) {
  let [t, r] = yr.useState(), n = yr.useRef(null), o = yr.useRef(e), i = yr.useRef("none"), s = e ? "mounted" : "unmounted", [l, u] = yle(s,
  {
    mounted: {
      UNMOUNT: "unmounted",
      ANIMATION_OUT: "unmountSuspended"
    },
    unmountSuspended: {
      MOUNT: "mounted",
      ANIMATION_END: "unmounted"
    },
    unmounted: {
      MOUNT: "mounted"
    }
  });
  return yr.useEffect(() => {
    let c = Em(n.current);
    i.current = l === "mounted" ? c : "none";
  }, [l]), Vo(() => {
    let c = n.current, p = o.current;
    if (p !== e) {
      let m = i.current, g = Em(c);
      e ? u("MOUNT") : g === "none" || c?.display === "none" ? u("UNMOUNT") : u(p && m !== g ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
    }
  }, [e, u]), Vo(() => {
    if (t) {
      let c, p = t.ownerDocument.defaultView ?? window, h = /* @__PURE__ */ a((g) => {
        let v = Em(n.current).includes(g.animationName);
        if (g.target === t && v && (u("ANIMATION_END"), !o.current)) {
          let S = t.style.animationFillMode;
          t.style.animationFillMode = "forwards", c = p.setTimeout(() => {
            t.style.animationFillMode === "forwards" && (t.style.animationFillMode = S);
          });
        }
      }, "handleAnimationEnd"), m = /* @__PURE__ */ a((g) => {
        g.target === t && (i.current = Em(n.current));
      }, "handleAnimationStart");
      return t.addEventListener("animationstart", m), t.addEventListener("animationcancel", h), t.addEventListener("animationend", h), () => {
        p.clearTimeout(c), t.removeEventListener("animationstart", m), t.removeEventListener("animationcancel", h), t.removeEventListener("a\
nimationend", h);
      };
    } else
      u("ANIMATION_END");
  }, [t, u]), {
    isPresent: ["mounted", "unmountSuspended"].includes(l),
    ref: yr.useCallback((c) => {
      n.current = c ? getComputedStyle(c) : null, r(c);
    }, [])
  };
}
a(wle, "usePresence");
function Em(e) {
  return e?.animationName || "none";
}
a(Em, "getAnimationName");
function Sle(e) {
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
  return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref :
  e.props.ref || e.ref);
}
a(Sle, "getElementRef");

// ../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.mjs
var Rk = _(F(), 1), Dle = _(Wr(), 1);

// ../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs
var ft = _(F(), 1);
var bm = _(et(), 1);
// @__NO_SIDE_EFFECTS__
function xm(e) {
  let t = /* @__PURE__ */ Ele(e), r = ft.forwardRef((n, o) => {
    let { children: i, ...s } = n, l = ft.Children.toArray(i), u = l.find(xle);
    if (u) {
      let c = u.props.children, p = l.map((h) => h === u ? ft.Children.count(c) > 1 ? ft.Children.only(null) : ft.isValidElement(c) ? c.props.
      children : null : h);
      return /* @__PURE__ */ (0, bm.jsx)(t, { ...s, ref: o, children: ft.isValidElement(c) ? ft.cloneElement(c, void 0, p) : null });
    }
    return /* @__PURE__ */ (0, bm.jsx)(t, { ...s, ref: o, children: i });
  });
  return r.displayName = `${e}.Slot`, r;
}
a(xm, "createSlot");
// @__NO_SIDE_EFFECTS__
function Ele(e) {
  let t = ft.forwardRef((r, n) => {
    let { children: o, ...i } = r;
    if (ft.isValidElement(o)) {
      let s = Cle(o), l = Rle(i, o.props);
      return o.type !== ft.Fragment && (l.ref = n ? p3(n, s) : s), ft.cloneElement(o, l);
    }
    return ft.Children.count(o) > 1 ? ft.Children.only(null) : null;
  });
  return t.displayName = `${e}.SlotClone`, t;
}
a(Ele, "createSlotClone");
var ble = Symbol("radix.slottable");
function xle(e) {
  return ft.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ble;
}
a(xle, "isSlottable");
function Rle(e, t) {
  let r = { ...t };
  for (let n in t) {
    let o = e[n], i = t[n];
    /^on[A-Z]/.test(n) ? o && i ? r[n] = (...l) => {
      i(...l), o(...l);
    } : o && (r[n] = o) : n === "style" ? r[n] = { ...o, ...i } : n === "className" && (r[n] = [o, i].filter(Boolean).join(" "));
  }
  return { ...e, ...r };
}
a(Rle, "mergeProps");
function Cle(e) {
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
  return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref :
  e.props.ref || e.ref);
}
a(Cle, "getElementRef");

// ../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.mjs
var Ck = _(et(), 1);
var Ale = [
  "a",
  "button",
  "div",
  "form",
  "h2",
  "h3",
  "img",
  "input",
  "label",
  "li",
  "nav",
  "ol",
  "p",
  "select",
  "span",
  "svg",
  "ul"
], qu = Ale.reduce((e, t) => {
  let r = xm(`Primitive.${t}`), n = Rk.forwardRef((o, i) => {
    let { asChild: s, ...l } = o, u = s ? r : t;
    return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, Ck.jsx)(u, { ...l, ref: i });
  });
  return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
}, {});

// ../node_modules/@radix-ui/react-focus-guards/dist/index.mjs
var Ak = _(F(), 1);
var A3 = 0;
function _k() {
  Ak.useEffect(() => {
    let e = document.querySelectorAll("[data-radix-focus-guard]");
    return document.body.insertAdjacentElement("afterbegin", e[0] ?? Dk()), document.body.insertAdjacentElement("beforeend", e[1] ?? Dk()), A3++,
    () => {
      A3 === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), A3--;
    };
  }, []);
}
a(_k, "useFocusGuards");
function Dk() {
  let e = document.createElement("span");
  return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "\
fixed", e.style.pointerEvents = "none", e;
}
a(Dk, "createFocusGuard");

// ../node_modules/tslib/tslib.es6.mjs
var wr = /* @__PURE__ */ a(function() {
  return wr = Object.assign || /* @__PURE__ */ a(function(t) {
    for (var r, n = 1, o = arguments.length; n < o; n++) {
      r = arguments[n];
      for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
    }
    return t;
  }, "__assign"), wr.apply(this, arguments);
}, "__assign");
function Rm(e, t) {
  var r = {};
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
    for (var o = 0, n = Object.getOwnPropertySymbols(e); o < n.length; o++)
      t.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[o]) && (r[n[o]] = e[n[o]]);
  return r;
}
a(Rm, "__rest");
function Tk(e, t, r) {
  if (r || arguments.length === 2) for (var n = 0, o = t.length, i; n < o; n++)
    (i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
  return e.concat(i || Array.prototype.slice.call(t));
}
a(Tk, "__spreadArray");

// ../node_modules/react-remove-scroll/dist/es2015/Combination.js
var Tm = _(F());

// ../node_modules/react-remove-scroll/dist/es2015/UI.js
var jt = _(F());

// ../node_modules/react-remove-scroll-bar/dist/es2015/constants.js
var ts = "right-scroll-bar-position", rs = "width-before-scroll-bar", _3 = "with-scroll-bars-hidden", T3 = "--removed-body-scroll-bar-size";

// ../node_modules/use-callback-ref/dist/es2015/assignRef.js
function Cm(e, t) {
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
}
a(Cm, "assignRef");

// ../node_modules/use-callback-ref/dist/es2015/useRef.js
var Ik = _(F());
function Pk(e, t) {
  var r = (0, Ik.useState)(function() {
    return {
      // value
      value: e,
      // last callback
      callback: t,
      // "memoized" public interface
      facade: {
        get current() {
          return r.value;
        },
        set current(n) {
          var o = r.value;
          o !== n && (r.value = n, r.callback(n, o));
        }
      }
    };
  })[0];
  return r.callback = t, r.facade;
}
a(Pk, "useCallbackRef");

// ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
var Dm = _(F());
var _le = typeof window < "u" ? Dm.useLayoutEffect : Dm.useEffect, kk = /* @__PURE__ */ new WeakMap();
function I3(e, t) {
  var r = Pk(t || null, function(n) {
    return e.forEach(function(o) {
      return Cm(o, n);
    });
  });
  return _le(function() {
    var n = kk.get(r);
    if (n) {
      var o = new Set(n), i = new Set(e), s = r.current;
      o.forEach(function(l) {
        i.has(l) || Cm(l, null);
      }), i.forEach(function(l) {
        o.has(l) || Cm(l, s);
      });
    }
    kk.set(r, e);
  }, [e]), r;
}
a(I3, "useMergeRefs");

// ../node_modules/use-sidecar/dist/es2015/medium.js
function Tle(e) {
  return e;
}
a(Tle, "ItoI");
function Ile(e, t) {
  t === void 0 && (t = Tle);
  var r = [], n = !1, o = {
    read: /* @__PURE__ */ a(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] : e;
    }, "read"),
    useMedium: /* @__PURE__ */ a(function(i) {
      var s = t(i, n);
      return r.push(s), function() {
        r = r.filter(function(l) {
          return l !== s;
        });
      };
    }, "useMedium"),
    assignSyncMedium: /* @__PURE__ */ a(function(i) {
      for (n = !0; r.length; ) {
        var s = r;
        r = [], s.forEach(i);
      }
      r = {
        push: /* @__PURE__ */ a(function(l) {
          return i(l);
        }, "push"),
        filter: /* @__PURE__ */ a(function() {
          return r;
        }, "filter")
      };
    }, "assignSyncMedium"),
    assignMedium: /* @__PURE__ */ a(function(i) {
      n = !0;
      var s = [];
      if (r.length) {
        var l = r;
        r = [], l.forEach(i), s = r;
      }
      var u = /* @__PURE__ */ a(function() {
        var p = s;
        s = [], p.forEach(i);
      }, "executeQueue"), c = /* @__PURE__ */ a(function() {
        return Promise.resolve().then(u);
      }, "cycle");
      c(), r = {
        push: /* @__PURE__ */ a(function(p) {
          s.push(p), c();
        }, "push"),
        filter: /* @__PURE__ */ a(function(p) {
          return s = s.filter(p), r;
        }, "filter")
      };
    }, "assignMedium")
  };
  return o;
}
a(Ile, "innerCreateMedium");
function P3(e) {
  e === void 0 && (e = {});
  var t = Ile(null);
  return t.options = wr({ async: !0, ssr: !1 }, e), t;
}
a(P3, "createSidecarMedium");

// ../node_modules/use-sidecar/dist/es2015/exports.js
var Fk = _(F());
var Lk = /* @__PURE__ */ a(function(e) {
  var t = e.sideCar, r = Rm(e, ["sideCar"]);
  if (!t)
    throw new Error("Sidecar: please provide `sideCar` property to import the right car");
  var n = t.read();
  if (!n)
    throw new Error("Sidecar medium not found");
  return Fk.createElement(n, wr({}, r));
}, "SideCar");
Lk.isSideCarExport = !0;
function k3(e, t) {
  return e.useMedium(t), Lk;
}
a(k3, "exportSidecar");

// ../node_modules/react-remove-scroll/dist/es2015/medium.js
var Am = P3();

// ../node_modules/react-remove-scroll/dist/es2015/UI.js
var F3 = /* @__PURE__ */ a(function() {
}, "nothing"), Rf = jt.forwardRef(function(e, t) {
  var r = jt.useRef(null), n = jt.useState({
    onScrollCapture: F3,
    onWheelCapture: F3,
    onTouchMoveCapture: F3
  }), o = n[0], i = n[1], s = e.forwardProps, l = e.children, u = e.className, c = e.removeScrollBar, p = e.enabled, h = e.shards, m = e.sideCar,
  g = e.noIsolation, w = e.inert, v = e.allowPinchZoom, S = e.as, E = S === void 0 ? "div" : S, y = e.gapMode, b = Rm(e, ["forwardProps", "c\
hildren", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), x = m,
  R = I3([r, t]), C = wr(wr({}, b), o);
  return jt.createElement(
    jt.Fragment,
    null,
    p && jt.createElement(x, { sideCar: Am, removeScrollBar: c, shards: h, noIsolation: g, inert: w, setCallbacks: i, allowPinchZoom: !!v, lockRef: r,
    gapMode: y }),
    s ? jt.cloneElement(jt.Children.only(l), wr(wr({}, C), { ref: R })) : jt.createElement(E, wr({}, C, { className: u, ref: R }), l)
  );
});
Rf.defaultProps = {
  enabled: !0,
  removeScrollBar: !0,
  inert: !1
};
Rf.classNames = {
  fullWidth: rs,
  zeroRight: ts
};

// ../node_modules/react-remove-scroll/dist/es2015/SideEffect.js
var Te = _(F());

// ../node_modules/react-remove-scroll-bar/dist/es2015/component.js
var Yu = _(F());

// ../node_modules/react-style-singleton/dist/es2015/hook.js
var Mk = _(F());

// ../node_modules/get-nonce/dist/es2015/index.js
var Ok;
var Nk = /* @__PURE__ */ a(function() {
  if (Ok)
    return Ok;
  if (typeof __webpack_nonce__ < "u")
    return __webpack_nonce__;
}, "getNonce");

// ../node_modules/react-style-singleton/dist/es2015/singleton.js
function Ple() {
  if (!document)
    return null;
  var e = document.createElement("style");
  e.type = "text/css";
  var t = Nk();
  return t && e.setAttribute("nonce", t), e;
}
a(Ple, "makeStyleTag");
function kle(e, t) {
  e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
}
a(kle, "injectStyles");
function Fle(e) {
  var t = document.head || document.getElementsByTagName("head")[0];
  t.appendChild(e);
}
a(Fle, "insertStyleTag");
var L3 = /* @__PURE__ */ a(function() {
  var e = 0, t = null;
  return {
    add: /* @__PURE__ */ a(function(r) {
      e == 0 && (t = Ple()) && (kle(t, r), Fle(t)), e++;
    }, "add"),
    remove: /* @__PURE__ */ a(function() {
      e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
    }, "remove")
  };
}, "stylesheetSingleton");

// ../node_modules/react-style-singleton/dist/es2015/hook.js
var O3 = /* @__PURE__ */ a(function() {
  var e = L3();
  return function(t, r) {
    Mk.useEffect(function() {
      return e.add(t), function() {
        e.remove();
      };
    }, [t && r]);
  };
}, "styleHookSingleton");

// ../node_modules/react-style-singleton/dist/es2015/component.js
var Cf = /* @__PURE__ */ a(function() {
  var e = O3(), t = /* @__PURE__ */ a(function(r) {
    var n = r.styles, o = r.dynamic;
    return e(n, o), null;
  }, "Sheet");
  return t;
}, "styleSingleton");

// ../node_modules/react-remove-scroll-bar/dist/es2015/utils.js
var Lle = {
  left: 0,
  top: 0,
  right: 0,
  gap: 0
}, N3 = /* @__PURE__ */ a(function(e) {
  return parseInt(e || "", 10) || 0;
}, "parse"), Ole = /* @__PURE__ */ a(function(e) {
  var t = window.getComputedStyle(document.body), r = t[e === "padding" ? "paddingLeft" : "marginLeft"], n = t[e === "padding" ? "paddingTop" :
  "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
  return [N3(r), N3(n), N3(o)];
}, "getOffset"), M3 = /* @__PURE__ */ a(function(e) {
  if (e === void 0 && (e = "margin"), typeof window > "u")
    return Lle;
  var t = Ole(e), r = document.documentElement.clientWidth, n = window.innerWidth;
  return {
    left: t[0],
    top: t[1],
    right: t[2],
    gap: Math.max(0, n - r + t[2] - t[0])
  };
}, "getGapWidth");

// ../node_modules/react-remove-scroll-bar/dist/es2015/component.js
var Nle = Cf(), Gu = "data-scroll-locked", Mle = /* @__PURE__ */ a(function(e, t, r, n) {
  var o = e.left, i = e.top, s = e.right, l = e.gap;
  return r === void 0 && (r = "margin"), `
  .`.concat(_3, ` {
   overflow: hidden `).concat(n, `;
   padding-right: `).concat(l, "px ").concat(n, `;
  }
  body[`).concat(Gu, `] {
    overflow: hidden `).concat(n, `;
    overscroll-behavior: contain;
    `).concat([
    t && "position: relative ".concat(n, ";"),
    r === "margin" && `
    padding-left: `.concat(o, `px;
    padding-top: `).concat(i, `px;
    padding-right: `).concat(s, `px;
    margin-left:0;
    margin-top:0;
    margin-right: `).concat(l, "px ").concat(n, `;
    `),
    r === "padding" && "padding-right: ".concat(l, "px ").concat(n, ";")
  ].filter(Boolean).join(""), `
  }
  
  .`).concat(ts, ` {
    right: `).concat(l, "px ").concat(n, `;
  }
  
  .`).concat(rs, ` {
    margin-right: `).concat(l, "px ").concat(n, `;
  }
  
  .`).concat(ts, " .").concat(ts, ` {
    right: 0 `).concat(n, `;
  }
  
  .`).concat(rs, " .").concat(rs, ` {
    margin-right: 0 `).concat(n, `;
  }
  
  body[`).concat(Gu, `] {
    `).concat(T3, ": ").concat(l, `px;
  }
`);
}, "getStyles"), Bk = /* @__PURE__ */ a(function() {
  var e = parseInt(document.body.getAttribute(Gu) || "0", 10);
  return isFinite(e) ? e : 0;
}, "getCurrentUseCounter"), Ble = /* @__PURE__ */ a(function() {
  Yu.useEffect(function() {
    return document.body.setAttribute(Gu, (Bk() + 1).toString()), function() {
      var e = Bk() - 1;
      e <= 0 ? document.body.removeAttribute(Gu) : document.body.setAttribute(Gu, e.toString());
    };
  }, []);
}, "useLockAttribute"), B3 = /* @__PURE__ */ a(function(e) {
  var t = e.noRelative, r = e.noImportant, n = e.gapMode, o = n === void 0 ? "margin" : n;
  Ble();
  var i = Yu.useMemo(function() {
    return M3(o);
  }, [o]);
  return Yu.createElement(Nle, { styles: Mle(i, !t, o, r ? "" : "!important") });
}, "RemoveScrollBar");

// ../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
var z3 = !1;
if (typeof window < "u")
  try {
    Df = Object.defineProperty({}, "passive", {
      get: /* @__PURE__ */ a(function() {
        return z3 = !0, !0;
      }, "get")
    }), window.addEventListener("test", Df, Df), window.removeEventListener("test", Df, Df);
  } catch {
    z3 = !1;
  }
var Df, ns = z3 ? { passive: !1 } : !1;

// ../node_modules/react-remove-scroll/dist/es2015/handleScroll.js
var zle = /* @__PURE__ */ a(function(e) {
  return e.tagName === "TEXTAREA";
}, "alwaysContainsScroll"), zk = /* @__PURE__ */ a(function(e, t) {
  if (!(e instanceof Element))
    return !1;
  var r = window.getComputedStyle(e);
  return (
    // not-not-scrollable
    r[t] !== "hidden" && // contains scroll inside self
    !(r.overflowY === r.overflowX && !zle(e) && r[t] === "visible")
  );
}, "elementCanBeScrolled"), Hle = /* @__PURE__ */ a(function(e) {
  return zk(e, "overflowY");
}, "elementCouldBeVScrolled"), $le = /* @__PURE__ */ a(function(e) {
  return zk(e, "overflowX");
}, "elementCouldBeHScrolled"), H3 = /* @__PURE__ */ a(function(e, t) {
  var r = t.ownerDocument, n = t;
  do {
    typeof ShadowRoot < "u" && n instanceof ShadowRoot && (n = n.host);
    var o = Hk(e, n);
    if (o) {
      var i = $k(e, n), s = i[1], l = i[2];
      if (s > l)
        return !0;
    }
    n = n.parentNode;
  } while (n && n !== r.body);
  return !1;
}, "locationCouldBeScrolled"), jle = /* @__PURE__ */ a(function(e) {
  var t = e.scrollTop, r = e.scrollHeight, n = e.clientHeight;
  return [
    t,
    r,
    n
  ];
}, "getVScrollVariables"), Vle = /* @__PURE__ */ a(function(e) {
  var t = e.scrollLeft, r = e.scrollWidth, n = e.clientWidth;
  return [
    t,
    r,
    n
  ];
}, "getHScrollVariables"), Hk = /* @__PURE__ */ a(function(e, t) {
  return e === "v" ? Hle(t) : $le(t);
}, "elementCouldBeScrolled"), $k = /* @__PURE__ */ a(function(e, t) {
  return e === "v" ? jle(t) : Vle(t);
}, "getScrollVariables"), Ule = /* @__PURE__ */ a(function(e, t) {
  return e === "h" && t === "rtl" ? -1 : 1;
}, "getDirectionFactor"), jk = /* @__PURE__ */ a(function(e, t, r, n, o) {
  var i = Ule(e, window.getComputedStyle(t).direction), s = i * n, l = r.target, u = t.contains(l), c = !1, p = s > 0, h = 0, m = 0;
  do {
    var g = $k(e, l), w = g[0], v = g[1], S = g[2], E = v - S - i * w;
    (w || E) && Hk(e, l) && (h += E, m += w), l instanceof ShadowRoot ? l = l.host : l = l.parentNode;
  } while (
    // portaled content
    !u && l !== document.body || // self content
    u && (t.contains(l) || t === l)
  );
  return (p && (o && Math.abs(h) < 1 || !o && s > h) || !p && (o && Math.abs(m) < 1 || !o && -s > m)) && (c = !0), c;
}, "handleScroll");

// ../node_modules/react-remove-scroll/dist/es2015/SideEffect.js
var _m = /* @__PURE__ */ a(function(e) {
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
}, "getTouchXY"), Vk = /* @__PURE__ */ a(function(e) {
  return [e.deltaX, e.deltaY];
}, "getDeltaXY"), Uk = /* @__PURE__ */ a(function(e) {
  return e && "current" in e ? e.current : e;
}, "extractRef"), Wle = /* @__PURE__ */ a(function(e, t) {
  return e[0] === t[0] && e[1] === t[1];
}, "deltaCompare"), qle = /* @__PURE__ */ a(function(e) {
  return `
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
`);
}, "generateStyle"), Gle = 0, Ku = [];
function Wk(e) {
  var t = Te.useRef([]), r = Te.useRef([0, 0]), n = Te.useRef(), o = Te.useState(Gle++)[0], i = Te.useState(Cf)[0], s = Te.useRef(e);
  Te.useEffect(function() {
    s.current = e;
  }, [e]), Te.useEffect(function() {
    if (e.inert) {
      document.body.classList.add("block-interactivity-".concat(o));
      var v = Tk([e.lockRef.current], (e.shards || []).map(Uk), !0).filter(Boolean);
      return v.forEach(function(S) {
        return S.classList.add("allow-interactivity-".concat(o));
      }), function() {
        document.body.classList.remove("block-interactivity-".concat(o)), v.forEach(function(S) {
          return S.classList.remove("allow-interactivity-".concat(o));
        });
      };
    }
  }, [e.inert, e.lockRef.current, e.shards]);
  var l = Te.useCallback(function(v, S) {
    if ("touches" in v && v.touches.length === 2 || v.type === "wheel" && v.ctrlKey)
      return !s.current.allowPinchZoom;
    var E = _m(v), y = r.current, b = "deltaX" in v ? v.deltaX : y[0] - E[0], x = "deltaY" in v ? v.deltaY : y[1] - E[1], R, C = v.target, D = Math.
    abs(b) > Math.abs(x) ? "h" : "v";
    if ("touches" in v && D === "h" && C.type === "range")
      return !1;
    var A = H3(D, C);
    if (!A)
      return !0;
    if (A ? R = D : (R = D === "v" ? "h" : "v", A = H3(D, C)), !A)
      return !1;
    if (!n.current && "changedTouches" in v && (b || x) && (n.current = R), !R)
      return !0;
    var P = n.current || R;
    return jk(P, S, v, P === "h" ? b : x, !0);
  }, []), u = Te.useCallback(function(v) {
    var S = v;
    if (!(!Ku.length || Ku[Ku.length - 1] !== i)) {
      var E = "deltaY" in S ? Vk(S) : _m(S), y = t.current.filter(function(R) {
        return R.name === S.type && (R.target === S.target || S.target === R.shadowParent) && Wle(R.delta, E);
      })[0];
      if (y && y.should) {
        S.cancelable && S.preventDefault();
        return;
      }
      if (!y) {
        var b = (s.current.shards || []).map(Uk).filter(Boolean).filter(function(R) {
          return R.contains(S.target);
        }), x = b.length > 0 ? l(S, b[0]) : !s.current.noIsolation;
        x && S.cancelable && S.preventDefault();
      }
    }
  }, []), c = Te.useCallback(function(v, S, E, y) {
    var b = { name: v, delta: S, target: E, should: y, shadowParent: Yle(E) };
    t.current.push(b), setTimeout(function() {
      t.current = t.current.filter(function(x) {
        return x !== b;
      });
    }, 1);
  }, []), p = Te.useCallback(function(v) {
    r.current = _m(v), n.current = void 0;
  }, []), h = Te.useCallback(function(v) {
    c(v.type, Vk(v), v.target, l(v, e.lockRef.current));
  }, []), m = Te.useCallback(function(v) {
    c(v.type, _m(v), v.target, l(v, e.lockRef.current));
  }, []);
  Te.useEffect(function() {
    return Ku.push(i), e.setCallbacks({
      onScrollCapture: h,
      onWheelCapture: h,
      onTouchMoveCapture: m
    }), document.addEventListener("wheel", u, ns), document.addEventListener("touchmove", u, ns), document.addEventListener("touchstart", p,
    ns), function() {
      Ku = Ku.filter(function(v) {
        return v !== i;
      }), document.removeEventListener("wheel", u, ns), document.removeEventListener("touchmove", u, ns), document.removeEventListener("touc\
hstart", p, ns);
    };
  }, []);
  var g = e.removeScrollBar, w = e.inert;
  return Te.createElement(
    Te.Fragment,
    null,
    w ? Te.createElement(i, { styles: qle(o) }) : null,
    g ? Te.createElement(B3, { gapMode: e.gapMode }) : null
  );
}
a(Wk, "RemoveScrollSideCar");
function Yle(e) {
  for (var t = null; e !== null; )
    e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
  return t;
}
a(Yle, "getOutermostShadowParent");

// ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
var qk = k3(Am, Wk);

// ../node_modules/react-remove-scroll/dist/es2015/Combination.js
var Gk = Tm.forwardRef(function(e, t) {
  return Tm.createElement(Rf, wr({}, e, { ref: t, sideCar: qk }));
});
Gk.classNames = Rf.classNames;
var $3 = Gk;

// ../node_modules/aria-hidden/dist/es2015/index.js
var Kle = /* @__PURE__ */ a(function(e) {
  if (typeof document > "u")
    return null;
  var t = Array.isArray(e) ? e[0] : e;
  return t.ownerDocument.body;
}, "getDefaultParent"), Xu = /* @__PURE__ */ new WeakMap(), Im = /* @__PURE__ */ new WeakMap(), Pm = {}, j3 = 0, Yk = /* @__PURE__ */ a(function(e) {
  return e && (e.host || Yk(e.parentNode));
}, "unwrapHost"), Xle = /* @__PURE__ */ a(function(e, t) {
  return t.map(function(r) {
    if (e.contains(r))
      return r;
    var n = Yk(r);
    return n && e.contains(n) ? n : (console.error("aria-hidden", r, "in not contained inside", e, ". Doing nothing"), null);
  }).filter(function(r) {
    return !!r;
  });
}, "correctTargets"), Qle = /* @__PURE__ */ a(function(e, t, r, n) {
  var o = Xle(t, Array.isArray(e) ? e : [e]);
  Pm[r] || (Pm[r] = /* @__PURE__ */ new WeakMap());
  var i = Pm[r], s = [], l = /* @__PURE__ */ new Set(), u = new Set(o), c = /* @__PURE__ */ a(function(h) {
    !h || l.has(h) || (l.add(h), c(h.parentNode));
  }, "keep");
  o.forEach(c);
  var p = /* @__PURE__ */ a(function(h) {
    !h || u.has(h) || Array.prototype.forEach.call(h.children, function(m) {
      if (l.has(m))
        p(m);
      else
        try {
          var g = m.getAttribute(n), w = g !== null && g !== "false", v = (Xu.get(m) || 0) + 1, S = (i.get(m) || 0) + 1;
          Xu.set(m, v), i.set(m, S), s.push(m), v === 1 && w && Im.set(m, !0), S === 1 && m.setAttribute(r, "true"), w || m.setAttribute(n, "\
true");
        } catch (E) {
          console.error("aria-hidden: cannot operate on ", m, E);
        }
    });
  }, "deep");
  return p(t), l.clear(), j3++, function() {
    s.forEach(function(h) {
      var m = Xu.get(h) - 1, g = i.get(h) - 1;
      Xu.set(h, m), i.set(h, g), m || (Im.has(h) || h.removeAttribute(n), Im.delete(h)), g || h.removeAttribute(r);
    }), j3--, j3 || (Xu = /* @__PURE__ */ new WeakMap(), Xu = /* @__PURE__ */ new WeakMap(), Im = /* @__PURE__ */ new WeakMap(), Pm = {});
  };
}, "applyAttributeToOthers"), Kk = /* @__PURE__ */ a(function(e, t, r) {
  r === void 0 && (r = "data-aria-hidden");
  var n = Array.from(Array.isArray(e) ? e : [e]), o = t || Kle(e);
  return o ? (n.push.apply(n, Array.from(o.querySelectorAll("[aria-live]"))), Qle(n, o, r, "aria-hidden")) : function() {
    return null;
  };
}, "hideOthers");

// ../node_modules/@radix-ui/react-dialog/dist/index.mjs
var we = _(et(), 1);
var Fm = "Dialog", [Xk, Jle] = NP(Fm), [Zle, Pn] = Xk(Fm), V3 = /* @__PURE__ */ a((e) => {
  let {
    __scopeDialog: t,
    children: r,
    open: n,
    defaultOpen: o,
    onOpenChange: i,
    modal: s = !0
  } = e, l = Ce.useRef(null), u = Ce.useRef(null), [c, p] = BP({
    prop: n,
    defaultProp: o ?? !1,
    onChange: i,
    caller: Fm
  });
  return /* @__PURE__ */ (0, we.jsx)(
    Zle,
    {
      scope: t,
      triggerRef: l,
      contentRef: u,
      contentId: hm(),
      titleId: hm(),
      descriptionId: hm(),
      open: c,
      onOpenChange: p,
      onOpenToggle: Ce.useCallback(() => p((h) => !h), [p]),
      modal: s,
      children: r
    }
  );
}, "Dialog");
V3.displayName = Fm;
var Qk = "DialogTrigger", U3 = Ce.forwardRef(
  (e, t) => {
    let { __scopeDialog: r, ...n } = e, o = Pn(Qk, r), i = dm(t, o.triggerRef);
    return /* @__PURE__ */ (0, we.jsx)(
      qu.button,
      {
        type: "button",
        "aria-haspopup": "dialog",
        "aria-expanded": o.open,
        "aria-controls": o.contentId,
        "data-state": Z3(o.open),
        ...n,
        ref: i,
        onClick: ju(e.onClick, o.onOpenToggle)
      }
    );
  }
);
U3.displayName = Qk;
var W3 = "DialogPortal", [eue, Jk] = Xk(W3, {
  forceMount: void 0
}), q3 = /* @__PURE__ */ a((e) => {
  let { __scopeDialog: t, forceMount: r, children: n, container: o } = e, i = Pn(W3, t);
  return /* @__PURE__ */ (0, we.jsx)(eue, { scope: t, forceMount: r, children: Ce.Children.map(n, (s) => /* @__PURE__ */ (0, we.jsx)(xf, { present: r ||
  i.open, children: /* @__PURE__ */ (0, we.jsx)(D3, { asChild: !0, container: o, children: s }) })) });
}, "DialogPortal");
q3.displayName = W3;
var km = "DialogOverlay", G3 = Ce.forwardRef(
  (e, t) => {
    let r = Jk(km, e.__scopeDialog), { forceMount: n = r.forceMount, ...o } = e, i = Pn(km, e.__scopeDialog);
    return i.modal ? /* @__PURE__ */ (0, we.jsx)(xf, { present: n || i.open, children: /* @__PURE__ */ (0, we.jsx)(rue, { ...o, ref: t }) }) :
    null;
  }
);
G3.displayName = km;
var tue = xm("DialogOverlay.RemoveScroll"), rue = Ce.forwardRef(
  (e, t) => {
    let { __scopeDialog: r, ...n } = e, o = Pn(km, r);
    return (
      // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
      // ie. when `Overlay` and `Content` are siblings
      /* @__PURE__ */ (0, we.jsx)($3, { as: tue, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ (0, we.jsx)(
        qu.div,
        {
          "data-state": Z3(o.open),
          ...n,
          ref: t,
          style: { pointerEvents: "auto", ...n.style }
        }
      ) })
    );
  }
), os = "DialogContent", Y3 = Ce.forwardRef(
  (e, t) => {
    let r = Jk(os, e.__scopeDialog), { forceMount: n = r.forceMount, ...o } = e, i = Pn(os, e.__scopeDialog);
    return /* @__PURE__ */ (0, we.jsx)(xf, { present: n || i.open, children: i.modal ? /* @__PURE__ */ (0, we.jsx)(nue, { ...o, ref: t }) : /* @__PURE__ */ (0, we.jsx)(
    oue, { ...o, ref: t }) });
  }
);
Y3.displayName = os;
var nue = Ce.forwardRef(
  (e, t) => {
    let r = Pn(os, e.__scopeDialog), n = Ce.useRef(null), o = dm(t, r.contentRef, n);
    return Ce.useEffect(() => {
      let i = n.current;
      if (i) return Kk(i);
    }, []), /* @__PURE__ */ (0, we.jsx)(
      Zk,
      {
        ...e,
        ref: o,
        trapFocus: r.open,
        disableOutsidePointerEvents: !0,
        onCloseAutoFocus: ju(e.onCloseAutoFocus, (i) => {
          i.preventDefault(), r.triggerRef.current?.focus();
        }),
        onPointerDownOutside: ju(e.onPointerDownOutside, (i) => {
          let s = i.detail.originalEvent, l = s.button === 0 && s.ctrlKey === !0;
          (s.button === 2 || l) && i.preventDefault();
        }),
        onFocusOutside: ju(
          e.onFocusOutside,
          (i) => i.preventDefault()
        )
      }
    );
  }
), oue = Ce.forwardRef(
  (e, t) => {
    let r = Pn(os, e.__scopeDialog), n = Ce.useRef(!1), o = Ce.useRef(!1);
    return /* @__PURE__ */ (0, we.jsx)(
      Zk,
      {
        ...e,
        ref: t,
        trapFocus: !1,
        disableOutsidePointerEvents: !1,
        onCloseAutoFocus: /* @__PURE__ */ a((i) => {
          e.onCloseAutoFocus?.(i), i.defaultPrevented || (n.current || r.triggerRef.current?.focus(), i.preventDefault()), n.current = !1, o.
          current = !1;
        }, "onCloseAutoFocus"),
        onInteractOutside: /* @__PURE__ */ a((i) => {
          e.onInteractOutside?.(i), i.defaultPrevented || (n.current = !0, i.detail.originalEvent.type === "pointerdown" && (o.current = !0));
          let s = i.target;
          r.triggerRef.current?.contains(s) && i.preventDefault(), i.detail.originalEvent.type === "focusin" && o.current && i.preventDefault();
        }, "onInteractOutside")
      }
    );
  }
), Zk = Ce.forwardRef(
  (e, t) => {
    let { __scopeDialog: r, trapFocus: n, onOpenAutoFocus: o, onCloseAutoFocus: i, ...s } = e, l = Pn(os, r), u = Ce.useRef(null), c = dm(t,
    u);
    return _k(), /* @__PURE__ */ (0, we.jsxs)(we.Fragment, { children: [
      /* @__PURE__ */ (0, we.jsx)(
        C3,
        {
          asChild: !0,
          loop: !0,
          trapped: n,
          onMountAutoFocus: o,
          onUnmountAutoFocus: i,
          children: /* @__PURE__ */ (0, we.jsx)(
            S3,
            {
              role: "dialog",
              id: l.contentId,
              "aria-describedby": l.descriptionId,
              "aria-labelledby": l.titleId,
              "data-state": Z3(l.open),
              ...s,
              ref: c,
              onDismiss: /* @__PURE__ */ a(() => l.onOpenChange(!1), "onDismiss")
            }
          )
        }
      ),
      /* @__PURE__ */ (0, we.jsxs)(we.Fragment, { children: [
        /* @__PURE__ */ (0, we.jsx)(iue, { titleId: l.titleId }),
        /* @__PURE__ */ (0, we.jsx)(lue, { contentRef: u, descriptionId: l.descriptionId })
      ] })
    ] });
  }
), K3 = "DialogTitle", X3 = Ce.forwardRef(
  (e, t) => {
    let { __scopeDialog: r, ...n } = e, o = Pn(K3, r);
    return /* @__PURE__ */ (0, we.jsx)(qu.h2, { id: o.titleId, ...n, ref: t });
  }
);
X3.displayName = K3;
var eF = "DialogDescription", Q3 = Ce.forwardRef(
  (e, t) => {
    let { __scopeDialog: r, ...n } = e, o = Pn(eF, r);
    return /* @__PURE__ */ (0, we.jsx)(qu.p, { id: o.descriptionId, ...n, ref: t });
  }
);
Q3.displayName = eF;
var tF = "DialogClose", J3 = Ce.forwardRef(
  (e, t) => {
    let { __scopeDialog: r, ...n } = e, o = Pn(tF, r);
    return /* @__PURE__ */ (0, we.jsx)(
      qu.button,
      {
        type: "button",
        ...n,
        ref: t,
        onClick: ju(e.onClick, () => o.onOpenChange(!1))
      }
    );
  }
);
J3.displayName = tF;
function Z3(e) {
  return e ? "open" : "closed";
}
a(Z3, "getState");
var rF = "DialogTitleWarning", [aue, nF] = OP(rF, {
  contentName: os,
  titleName: K3,
  docsSlug: "dialog"
}), iue = /* @__PURE__ */ a(({ titleId: e }) => {
  let t = nF(rF), r = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.

If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.

For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;
  return Ce.useEffect(() => {
    e && (document.getElementById(e) || console.error(r));
  }, [r, e]), null;
}, "TitleWarning"), sue = "DialogDescriptionWarning", lue = /* @__PURE__ */ a(({ contentRef: e, descriptionId: t }) => {
  let n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${nF(sue).contentName}}.`;
  return Ce.useEffect(() => {
    let o = e.current?.getAttribute("aria-describedby");
    t && o && (document.getElementById(t) || console.warn(n));
  }, [n, e, t]), null;
}, "DescriptionWarning"), eS = V3, uue = U3, tS = q3, rS = G3, nS = Y3, oS = X3, aS = Q3, iS = J3;

// src/components/components/Modal/Modal.styled.tsx
var pS = {};
de(pS, {
  Actions: () => bue,
  CloseButton: () => sF,
  Col: () => uF,
  Container: () => cS,
  Content: () => yue,
  Description: () => Eue,
  Error: () => xue,
  ErrorWrapper: () => cF,
  Header: () => wue,
  Overlay: () => uS,
  Row: () => lF,
  Title: () => Sue
});
var Wo = _(F(), 1);
Y();

// src/components/components/IconButton/IconButton.tsx
var Om = _(F(), 1);

// src/components/components/Button/Button.tsx
var Uo = _(F(), 1);
Y();
Ht();

// ../node_modules/@radix-ui/react-slot/dist/index.mjs
var dt = _(F(), 1);

// ../node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
var cue = _(F(), 1);
function oF(e, t) {
  if (typeof e == "function")
    return e(t);
  e != null && (e.current = t);
}
a(oF, "setRef");
function aF(...e) {
  return (t) => {
    let r = !1, n = e.map((o) => {
      let i = oF(o, t);
      return !r && typeof i == "function" && (r = !0), i;
    });
    if (r)
      return () => {
        for (let o = 0; o < n.length; o++) {
          let i = n[o];
          typeof i == "function" ? i() : oF(e[o], null);
        }
      };
  };
}
a(aF, "composeRefs");

// ../node_modules/@radix-ui/react-slot/dist/index.mjs
var Qu = _(et(), 1);
var lS = dt.forwardRef((e, t) => {
  let { children: r, ...n } = e, o = dt.Children.toArray(r), i = o.find(fue);
  if (i) {
    let s = i.props.children, l = o.map((u) => u === i ? dt.Children.count(s) > 1 ? dt.Children.only(null) : dt.isValidElement(s) ? s.props.
    children : null : u);
    return /* @__PURE__ */ (0, Qu.jsx)(sS, { ...n, ref: t, children: dt.isValidElement(s) ? dt.cloneElement(s, void 0, l) : null });
  }
  return /* @__PURE__ */ (0, Qu.jsx)(sS, { ...n, ref: t, children: r });
});
lS.displayName = "Slot";
var sS = dt.forwardRef((e, t) => {
  let { children: r, ...n } = e;
  if (dt.isValidElement(r)) {
    let o = hue(r), i = due(n, r.props);
    return r.type !== dt.Fragment && (i.ref = t ? aF(t, o) : o), dt.cloneElement(r, i);
  }
  return dt.Children.count(r) > 1 ? dt.Children.only(null) : null;
});
sS.displayName = "SlotClone";
var pue = /* @__PURE__ */ a(({ children: e }) => /* @__PURE__ */ (0, Qu.jsx)(Qu.Fragment, { children: e }), "Slottable");
function fue(e) {
  return dt.isValidElement(e) && e.type === pue;
}
a(fue, "isSlottable");
function due(e, t) {
  let r = { ...t };
  for (let n in t) {
    let o = e[n], i = t[n];
    /^on[A-Z]/.test(n) ? o && i ? r[n] = (...l) => {
      i(...l), o(...l);
    } : o && (r[n] = o) : n === "style" ? r[n] = { ...o, ...i } : n === "className" && (r[n] = [o, i].filter(Boolean).join(" "));
  }
  return { ...e, ...r };
}
a(due, "mergeProps");
function hue(e) {
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
  return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref :
  e.props.ref || e.ref);
}
a(hue, "getElementRef");

// src/components/components/Button/Button.tsx
Po();
var as = (0, Uo.forwardRef)(
  ({
    asChild: e = !1,
    animation: t = "none",
    size: r = "small",
    variant: n = "outline",
    padding: o = "medium",
    disabled: i = !1,
    active: s = !1,
    onClick: l,
    ...u
  }, c) => {
    let p = "button";
    u.isLink && (p = "a"), e && (p = lS);
    let h = n, m = r, [g, w] = (0, Uo.useState)(!1), v = /* @__PURE__ */ a((S) => {
      l && l(S), t !== "none" && w(!0);
    }, "handleClick");
    if ((0, Uo.useEffect)(() => {
      let S = setTimeout(() => {
        g && w(!1);
      }, 1e3);
      return () => clearTimeout(S);
    }, [g]), u.primary && (h = "solid", m = "medium"), (u.secondary || u.tertiary || u.gray || u.outline || u.inForm) && (h = "outline", m =
    "medium"), u.small || u.isLink || u.primary || u.secondary || u.tertiary || u.gray || u.outline || u.inForm || u.containsIcon) {
      let S = Uo.default.Children.toArray(u.children).filter(
        (E) => typeof E == "string" && E !== ""
      );
      To(
        `Use of deprecated props in the button ${S.length > 0 ? `"${S.join(" ")}"` : "component"} detected, see the migration notes at https\
://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`
      );
    }
    return /* @__PURE__ */ Uo.default.createElement(
      mue,
      {
        as: p,
        ref: c,
        variant: h,
        size: m,
        padding: o,
        disabled: i,
        active: s,
        animating: g,
        animation: t,
        onClick: v,
        ...u
      }
    );
  }
);
as.displayName = "Button";
var mue = T("button", {
  shouldForwardProp: /* @__PURE__ */ a((e) => Ia(e), "shouldForwardProp")
})(({ theme: e, variant: t, size: r, disabled: n, active: o, animating: i, animation: s = "none", padding: l }) => ({
  border: 0,
  cursor: n ? "not-allowed" : "pointer",
  display: "inline-flex",
  gap: "6px",
  alignItems: "center",
  justifyContent: "center",
  overflow: "hidden",
  padding: l === "none" ? 0 : l === "small" && r === "small" ? "0 7px" : l === "small" && r === "medium" ? "0 9px" : r === "small" ? "0 10px" :
  r === "medium" ? "0 12px" : 0,
  height: r === "small" ? "28px" : "32px",
  position: "relative",
  textAlign: "center",
  textDecoration: "none",
  transitionProperty: "background, box-shadow",
  transitionDuration: "150ms",
  transitionTimingFunction: "ease-out",
  verticalAlign: "top",
  whiteSpace: "nowrap",
  userSelect: "none",
  opacity: n ? 0.5 : 1,
  margin: 0,
  fontSize: `${e.typography.size.s1}px`,
  fontWeight: e.typography.weight.bold,
  lineHeight: "1",
  background: t === "solid" ? e.color.secondary : t === "outline" ? e.button.background : t === "ghost" && o ? e.background.hoverable : "tra\
nsparent",
  ...t === "ghost" ? {
    // This is a hack to apply bar styles to the button as soon as it is part of a bar
    // It is a temporary solution until we have implemented Theming 2.0.
    ".sb-bar &": {
      background: o ? Pt(0.9, e.barTextColor) : "transparent",
      color: o ? e.barSelectedColor : e.barTextColor,
      "&:hover": {
        color: e.barHoverColor,
        background: Pt(0.86, e.barHoverColor)
      },
      "&:active": {
        color: e.barSelectedColor,
        background: Pt(0.9, e.barSelectedColor)
      },
      "&:focus": {
        boxShadow: `${Io(e.barHoverColor, 1)} 0 0 0 1px inset`,
        outline: "none"
      }
    }
  } : {},
  color: t === "solid" ? e.color.lightest : t === "outline" ? e.input.color : t === "ghost" && o ? e.color.secondary : t === "ghost" ? e.color.
  mediumdark : e.input.color,
  boxShadow: t === "outline" ? `${e.button.border} 0 0 0 1px inset` : "none",
  borderRadius: e.input.borderRadius,
  // Making sure that the button never shrinks below its minimum size
  flexShrink: 0,
  "&:hover": {
    color: t === "ghost" ? e.color.secondary : void 0,
    background: (() => {
      let u = e.color.secondary;
      return t === "solid" && (u = e.color.secondary), t === "outline" && (u = e.button.background), t === "ghost" ? Pt(0.86, e.color.secondary) :
      e.base === "light" ? Zn(0.02, u) : Op(0.03, u);
    })()
  },
  "&:active": {
    color: t === "ghost" ? e.color.secondary : void 0,
    background: (() => {
      let u = e.color.secondary;
      return t === "solid" && (u = e.color.secondary), t === "outline" && (u = e.button.background), t === "ghost" ? e.background.hoverable :
      e.base === "light" ? Zn(0.02, u) : Op(0.03, u);
    })()
  },
  "&:focus": {
    boxShadow: `${Io(e.color.secondary, 1)} 0 0 0 1px inset`,
    outline: "none"
  },
  "> svg": {
    animation: i && s !== "none" ? `${e.animation[s]} 1000ms ease-out` : ""
  }
}));

// src/components/components/IconButton/IconButton.tsx
var Af = (0, Om.forwardRef)(
  ({ padding: e = "small", variant: t = "ghost", ...r }, n) => /* @__PURE__ */ Om.default.createElement(as, { padding: e, variant: t, ref: n,
  ...r })
);
Af.displayName = "IconButton";

// src/components/components/Modal/Modal.styled.tsx
var iF = It({
  from: { opacity: 0 },
  to: { opacity: 1 }
}), gue = It({
  from: { maxHeight: 0 },
  to: {}
}), vue = It({
  from: {
    opacity: 0,
    transform: "translate(-50%, -50%) scale(0.9)"
  },
  to: {
    opacity: 1,
    transform: "translate(-50%, -50%) scale(1)"
  }
}), uS = T.div({
  backdropFilter: "blur(24px)",
  position: "fixed",
  inset: 0,
  width: "100%",
  height: "100%",
  zIndex: 10,
  animation: `${iF} 200ms`
}), cS = T.div(
  ({ theme: e, width: t, height: r }) => ({
    backgroundColor: e.background.bar,
    borderRadius: 6,
    boxShadow: "0px 4px 67px 0px #00000040",
    position: "fixed",
    top: "50%",
    left: "50%",
    transform: "translate(-50%, -50%)",
    width: t ?? 740,
    height: r ?? "auto",
    maxWidth: "calc(100% - 40px)",
    maxHeight: "85vh",
    overflow: "hidden",
    zIndex: 11,
    animation: `${vue} 200ms`,
    "&:focus-visible": {
      outline: "none"
    }
  })
), sF = /* @__PURE__ */ a((e) => /* @__PURE__ */ Wo.default.createElement(iS, { asChild: !0 }, /* @__PURE__ */ Wo.default.createElement(Af, {
...e }, /* @__PURE__ */ Wo.default.createElement(K4, null))), "CloseButton"), yue = T.div({
  display: "flex",
  flexDirection: "column",
  margin: 16,
  gap: 16
}), lF = T.div({
  display: "flex",
  justifyContent: "space-between",
  gap: 16
}), uF = T.div({
  display: "flex",
  flexDirection: "column",
  gap: 4
}), wue = /* @__PURE__ */ a((e) => /* @__PURE__ */ Wo.default.createElement(lF, null, /* @__PURE__ */ Wo.default.createElement(uF, { ...e }),
/* @__PURE__ */ Wo.default.createElement(sF, null)), "Header"), Sue = T(oS)(({ theme: e }) => ({
  margin: 0,
  fontSize: e.typography.size.s3,
  fontWeight: e.typography.weight.bold
})), Eue = T(aS)(({ theme: e }) => ({
  position: "relative",
  zIndex: 1,
  margin: 0,
  fontSize: e.typography.size.s2
})), bue = T.div({
  display: "flex",
  flexDirection: "row-reverse",
  gap: 8
}), cF = T.div(({ theme: e }) => ({
  maxHeight: 100,
  overflow: "auto",
  animation: `${gue} 300ms, ${iF} 300ms`,
  backgroundColor: e.background.critical,
  color: e.color.lightest,
  fontSize: e.typography.size.s2,
  "& > div": {
    position: "relative",
    padding: "8px 16px"
  }
})), xue = /* @__PURE__ */ a(({
  children: e,
  ...t
}) => /* @__PURE__ */ Wo.default.createElement(cF, { ...t }, /* @__PURE__ */ Wo.default.createElement("div", null, e)), "Error");

// src/components/components/Modal/Modal.tsx
function Rue({
  children: e,
  width: t,
  height: r,
  onEscapeKeyDown: n,
  onInteractOutside: o = /* @__PURE__ */ a((u) => u.preventDefault(), "onInteractOutside"),
  className: i,
  container: s,
  ...l
}) {
  return /* @__PURE__ */ is.default.createElement(eS, { ...l }, /* @__PURE__ */ is.default.createElement(tS, { container: s }, /* @__PURE__ */ is.default.
  createElement(rS, { asChild: !0 }, /* @__PURE__ */ is.default.createElement(uS, null)), /* @__PURE__ */ is.default.createElement(
    nS,
    {
      asChild: !0,
      onInteractOutside: o,
      onEscapeKeyDown: n
    },
    /* @__PURE__ */ is.default.createElement(cS, { className: i, width: t, height: r }, e)
  )));
}
a(Rue, "BaseModal");
var pF = Object.assign(Rue, pS, { Dialog: Lm });

// src/components/components/spaced/Spaced.tsx
var fF = _(F(), 1);
Y();
var Cue = /* @__PURE__ */ a((e) => typeof e == "number" ? e : Number(e), "toNumber"), Due = T.div(
  ({ theme: e, col: t, row: r = 1 }) => t ? {
    display: "inline-block",
    verticalAlign: "inherit",
    "& > *": {
      marginLeft: t * e.layoutMargin,
      verticalAlign: "inherit"
    },
    [`& > *:first-child${F1}`]: {
      marginLeft: 0
    }
  } : {
    "& > *": {
      marginTop: r * e.layoutMargin
    },
    [`& > *:first-child${F1}`]: {
      marginTop: 0
    }
  },
  ({ theme: e, outer: t, col: r, row: n }) => {
    switch (!0) {
      case !!(t && r):
        return {
          marginLeft: t * e.layoutMargin,
          marginRight: t * e.layoutMargin
        };
      case !!(t && n):
        return {
          marginTop: t * e.layoutMargin,
          marginBottom: t * e.layoutMargin
        };
      default:
        return {};
    }
  }
), dF = /* @__PURE__ */ a(({ col: e, row: t, outer: r, children: n, ...o }) => {
  let i = Cue(typeof r == "number" || !r ? r : e || t);
  return /* @__PURE__ */ fF.default.createElement(Due, { col: e, row: t, outer: i, ...o }, n);
}, "Spaced");

// src/components/components/placeholder/placeholder.tsx
var Ju = _(F(), 1);
Y();
var Aue = T.div(({ theme: e }) => ({
  fontWeight: e.typography.weight.bold
})), _ue = T.div(), Tue = T.div(({ theme: e }) => ({
  padding: 30,
  textAlign: "center",
  color: e.color.defaultText,
  fontSize: e.typography.size.s2 - 1
})), hF = /* @__PURE__ */ a(({ children: e, ...t }) => {
  let [r, n] = Ju.Children.toArray(e);
  return /* @__PURE__ */ Ju.default.createElement(Tue, { ...t }, /* @__PURE__ */ Ju.default.createElement(Aue, null, r), n && /* @__PURE__ */ Ju.default.
  createElement(_ue, null, n));
}, "Placeholder");

// src/components/index.ts
rh();

// src/components/components/Zoom/ZoomElement.tsx
var kn = _(F(), 1);
Y();

// ../node_modules/use-resize-observer/dist/bundle.esm.js
var rt = _(F());
function Iue(e, t) {
  var r = (0, rt.useRef)(null), n = (0, rt.useRef)(null);
  n.current = t;
  var o = (0, rt.useRef)(null);
  (0, rt.useEffect)(function() {
    i();
  });
  var i = (0, rt.useCallback)(function() {
    var s = o.current, l = n.current, u = s || (l ? l instanceof Element ? l : l.current : null);
    r.current && r.current.element === u && r.current.subscriber === e || (r.current && r.current.cleanup && r.current.cleanup(), r.current =
    {
      element: u,
      subscriber: e,
      // Only calling the subscriber, if there's an actual element to report.
      // Setting cleanup to undefined unless a subscriber returns one, as an existing cleanup function would've been just called.
      cleanup: u ? e(u) : void 0
    });
  }, [e]);
  return (0, rt.useEffect)(function() {
    return function() {
      r.current && r.current.cleanup && (r.current.cleanup(), r.current = null);
    };
  }, []), (0, rt.useCallback)(function(s) {
    o.current = s, i();
  }, [i]);
}
a(Iue, "useResolvedElement");
function mF(e, t, r) {
  return e[t] ? e[t][0] ? e[t][0][r] : (
    // TS complains about this, because the RO entry type follows the spec and does not reflect Firefox's current
    // behaviour of returning objects instead of arrays for `borderBoxSize` and `contentBoxSize`.
    // @ts-ignore
    e[t][r]
  ) : t === "contentBoxSize" ? e.contentRect[r === "inlineSize" ? "width" : "height"] : void 0;
}
a(mF, "extractSize");
function Nm(e) {
  e === void 0 && (e = {});
  var t = e.onResize, r = (0, rt.useRef)(void 0);
  r.current = t;
  var n = e.round || Math.round, o = (0, rt.useRef)(), i = (0, rt.useState)({
    width: void 0,
    height: void 0
  }), s = i[0], l = i[1], u = (0, rt.useRef)(!1);
  (0, rt.useEffect)(function() {
    return u.current = !1, function() {
      u.current = !0;
    };
  }, []);
  var c = (0, rt.useRef)({
    width: void 0,
    height: void 0
  }), p = Iue((0, rt.useCallback)(function(h) {
    return (!o.current || o.current.box !== e.box || o.current.round !== n) && (o.current = {
      box: e.box,
      round: n,
      instance: new ResizeObserver(function(m) {
        var g = m[0], w = e.box === "border-box" ? "borderBoxSize" : e.box === "device-pixel-content-box" ? "devicePixelContentBoxSize" : "c\
ontentBoxSize", v = mF(g, w, "inlineSize"), S = mF(g, w, "blockSize"), E = v ? n(v) : void 0, y = S ? n(S) : void 0;
        if (c.current.width !== E || c.current.height !== y) {
          var b = {
            width: E,
            height: y
          };
          c.current.width = E, c.current.height = y, r.current ? r.current(b) : u.current || l(b);
        }
      })
    }), o.current.instance.observe(h, {
      box: e.box
    }), function() {
      o.current && o.current.instance.unobserve(h);
    };
  }, [e.box, n]), e.ref);
  return (0, rt.useMemo)(function() {
    return {
      ref: p,
      width: s.width,
      height: s.height
    };
  }, [p, s.width, s.height]);
}
a(Nm, "useResizeObserver");

// src/components/components/Zoom/ZoomElement.tsx
var Pue = T.div(
  ({ scale: e = 1, elementHeight: t }) => ({
    height: t || "auto",
    transformOrigin: "top left",
    transform: `scale(${1 / e})`
  })
);
function gF({ scale: e, children: t }) {
  let r = (0, kn.useRef)(null), [n, o] = (0, kn.useState)(0), i = (0, kn.useCallback)(
    ({ height: s }) => {
      s && o(s / e);
    },
    [e]
  );
  return (0, kn.useEffect)(() => {
    r.current && o(r.current.getBoundingClientRect().height);
  }, [e]), Nm({
    ref: r,
    onResize: i
  }), /* @__PURE__ */ kn.default.createElement(Pue, { scale: e, elementHeight: n }, /* @__PURE__ */ kn.default.createElement("div", { ref: r,
  className: "innerZoomElementWrapper" }, t));
}
a(gF, "ZoomElement");

// src/components/components/Zoom/ZoomIFrame.tsx
var _f = _(F(), 1);
var fS = class fS extends _f.Component {
  constructor() {
    super(...arguments);
    // @ts-expect-error (non strict)
    this.iframe = null;
  }
  componentDidMount() {
    let { iFrameRef: r } = this.props;
    this.iframe = r.current;
  }
  shouldComponentUpdate(r) {
    let { scale: n, active: o } = this.props;
    return n !== r.scale && this.setIframeInnerZoom(r.scale), o !== r.active && this.iframe.setAttribute("data-is-storybook", r.active ? "tr\
ue" : "false"), r.children.props.src !== this.props.children.props.src;
  }
  setIframeInnerZoom(r) {
    try {
      Object.assign(this.iframe.contentDocument.body.style, {
        width: `${r * 100}%`,
        height: `${r * 100}%`,
        transform: `scale(${1 / r})`,
        transformOrigin: "top left"
      });
    } catch {
      this.setIframeZoom(r);
    }
  }
  setIframeZoom(r) {
    Object.assign(this.iframe.style, {
      width: `${r * 100}%`,
      height: `${r * 100}%`,
      transform: `scale(${1 / r})`,
      transformOrigin: "top left"
    });
  }
  render() {
    let { children: r } = this.props;
    return /* @__PURE__ */ _f.default.createElement(_f.default.Fragment, null, r);
  }
};
a(fS, "ZoomIFrame");
var Mm = fS;

// src/components/components/Zoom/Zoom.tsx
var vF = {
  Element: gF,
  IFrame: Mm
};

// src/components/components/ErrorFormatter/ErrorFormatter.tsx
var je = _(F(), 1);
Y();
qe();
var { document: kue } = z, Fue = T.strong(({ theme: e }) => ({
  color: e.color.orange
})), Lue = T.strong(({ theme: e }) => ({
  color: e.color.ancillary,
  textDecoration: "underline"
})), yF = T.em(({ theme: e }) => ({
  color: e.textMutedColor
})), Oue = /(Error): (.*)\n/, Nue = /at (?:(.*) )?\(?(.+)\)?/, Mue = /([^@]+)?(?:\/<)?@(.+)?/, Bue = /([^@]+)?@(.+)?/, wF = /* @__PURE__ */ a(
({ error: e }) => {
  if (!e)
    return /* @__PURE__ */ je.default.createElement(je.Fragment, null, "This error has no stack or message");
  if (!e.stack)
    return /* @__PURE__ */ je.default.createElement(je.Fragment, null, e.message || "This error has no stack or message");
  let t = e.stack.toString();
  t && e.message && !t.includes(e.message) && (t = `Error: ${e.message}

${t}`);
  let r = t.match(Oue);
  if (!r)
    return /* @__PURE__ */ je.default.createElement(je.Fragment, null, t);
  let [, n, o] = r, i = t.split(/\n/).slice(1), [, ...s] = i.map((l) => {
    let u = l.match(Nue) || l.match(Mue) || l.match(Bue);
    return u ? {
      name: (u[1] || "").replace("/<", ""),
      location: u[2].replace(kue.location.origin, "")
    } : null;
  }).filter(Boolean);
  return /* @__PURE__ */ je.default.createElement(je.Fragment, null, /* @__PURE__ */ je.default.createElement("span", null, n), ": ", /* @__PURE__ */ je.default.
  createElement(Fue, null, o), /* @__PURE__ */ je.default.createElement("br", null), s.map(
    (l, u) => l?.name ? /* @__PURE__ */ je.default.createElement(je.Fragment, { key: u }, "  ", "at ", /* @__PURE__ */ je.default.createElement(
    Lue, null, l.name), " (", /* @__PURE__ */ je.default.createElement(yF, null, l.location), ")", /* @__PURE__ */ je.default.createElement(
    "br", null)) : /* @__PURE__ */ je.default.createElement(je.Fragment, { key: u }, "  ", "at ", /* @__PURE__ */ je.default.createElement(yF,
    null, l?.location), /* @__PURE__ */ je.default.createElement("br", null))
  ));
}, "ErrorFormatter");

// src/components/components/form/index.tsx
Y();

// src/components/components/form/field/field.tsx
var Bm = _(F(), 1);
Y();
var zue = T.label(({ theme: e }) => ({
  display: "flex",
  borderBottom: `1px solid ${e.appBorderColor}`,
  margin: "0 15px",
  padding: "8px 0",
  "&:last-child": {
    marginBottom: "3rem"
  }
})), Hue = T.span(({ theme: e }) => ({
  minWidth: 100,
  fontWeight: e.typography.weight.bold,
  marginRight: 15,
  display: "flex",
  justifyContent: "flex-start",
  alignItems: "center",
  lineHeight: "16px"
})), SF = /* @__PURE__ */ a(({ label: e, children: t, ...r }) => /* @__PURE__ */ Bm.default.createElement(zue, { ...r }, e ? /* @__PURE__ */ Bm.default.
createElement(Hue, null, /* @__PURE__ */ Bm.default.createElement("span", null, e)) : null, t), "Field");

// src/components/components/form/input/input.tsx
var Ya = _(F(), 1);
Y();

// ../node_modules/react-textarea-autosize/dist/react-textarea-autosize.browser.esm.js
Xn();
N1();
var Fn = _(F());

// ../node_modules/use-latest/dist/use-latest.esm.js
var xF = _(F());

// ../node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js
var EF = _(F()), $ue = EF.useLayoutEffect, bF = $ue;

// ../node_modules/use-latest/dist/use-latest.esm.js
var RF = /* @__PURE__ */ a(function(t) {
  var r = xF.useRef(t);
  return bF(function() {
    r.current = t;
  }), r;
}, "useLatest");

// ../node_modules/use-composed-ref/dist/use-composed-ref.esm.js
var zm = _(F());
var CF = /* @__PURE__ */ a(function(t, r) {
  if (typeof t == "function") {
    t(r);
    return;
  }
  t.current = r;
}, "updateRef"), jue = /* @__PURE__ */ a(function(t, r) {
  var n = (0, zm.useRef)();
  return (0, zm.useCallback)(function(o) {
    t.current = o, n.current && CF(n.current, null), n.current = r, r && CF(r, o);
  }, [r]);
}, "useComposedRef"), DF = jue;

// ../node_modules/react-textarea-autosize/dist/react-textarea-autosize.browser.esm.js
var AF = {
  "min-height": "0",
  "max-height": "none",
  height: "0",
  visibility: "hidden",
  overflow: "hidden",
  position: "absolute",
  "z-index": "-1000",
  top: "0",
  right: "0"
}, Vue = /* @__PURE__ */ a(function(t) {
  Object.keys(AF).forEach(function(r) {
    t.style.setProperty(r, AF[r], "important");
  });
}, "forceHiddenStyles"), _F = Vue, er = null, TF = /* @__PURE__ */ a(function(t, r) {
  var n = t.scrollHeight;
  return r.sizingStyle.boxSizing === "border-box" ? n + r.borderSize : n - r.paddingSize;
}, "getHeight");
function Uue(e, t, r, n) {
  r === void 0 && (r = 1), n === void 0 && (n = 1 / 0), er || (er = document.createElement("textarea"), er.setAttribute("tabindex", "-1"), er.
  setAttribute("aria-hidden", "true"), _F(er)), er.parentNode === null && document.body.appendChild(er);
  var o = e.paddingSize, i = e.borderSize, s = e.sizingStyle, l = s.boxSizing;
  Object.keys(s).forEach(function(m) {
    var g = m;
    er.style[g] = s[g];
  }), _F(er), er.value = t;
  var u = TF(er, e);
  er.value = t, u = TF(er, e), er.value = "x";
  var c = er.scrollHeight - o, p = c * r;
  l === "border-box" && (p = p + o + i), u = Math.max(p, u);
  var h = c * n;
  return l === "border-box" && (h = h + o + i), u = Math.min(h, u), [u, c];
}
a(Uue, "calculateNodeHeight");
var IF = /* @__PURE__ */ a(function() {
}, "noop"), Wue = /* @__PURE__ */ a(function(t, r) {
  return t.reduce(function(n, o) {
    return n[o] = r[o], n;
  }, {});
}, "pick"), que = [
  "borderBottomWidth",
  "borderLeftWidth",
  "borderRightWidth",
  "borderTopWidth",
  "boxSizing",
  "fontFamily",
  "fontSize",
  "fontStyle",
  "fontWeight",
  "letterSpacing",
  "lineHeight",
  "paddingBottom",
  "paddingLeft",
  "paddingRight",
  "paddingTop",
  // non-standard
  "tabSize",
  "textIndent",
  // non-standard
  "textRendering",
  "textTransform",
  "width",
  "wordBreak"
], Gue = !!document.documentElement.currentStyle, Yue = /* @__PURE__ */ a(function(t) {
  var r = window.getComputedStyle(t);
  if (r === null)
    return null;
  var n = Wue(que, r), o = n.boxSizing;
  if (o === "")
    return null;
  Gue && o === "border-box" && (n.width = parseFloat(n.width) + parseFloat(n.borderRightWidth) + parseFloat(n.borderLeftWidth) + parseFloat(
  n.paddingRight) + parseFloat(n.paddingLeft) + "px");
  var i = parseFloat(n.paddingBottom) + parseFloat(n.paddingTop), s = parseFloat(n.borderBottomWidth) + parseFloat(n.borderTopWidth);
  return {
    sizingStyle: n,
    paddingSize: i,
    borderSize: s
  };
}, "getSizingData"), Kue = Yue;
function PF(e, t, r) {
  var n = RF(r);
  Fn.useLayoutEffect(function() {
    var o = /* @__PURE__ */ a(function(s) {
      return n.current(s);
    }, "handler");
    if (e)
      return e.addEventListener(t, o), function() {
        return e.removeEventListener(t, o);
      };
  }, []);
}
a(PF, "useListener");
var Xue = /* @__PURE__ */ a(function(t) {
  PF(window, "resize", t);
}, "useWindowResizeListener"), Que = /* @__PURE__ */ a(function(t) {
  PF(document.fonts, "loadingdone", t);
}, "useFontsLoadedListener"), Jue = ["cacheMeasurements", "maxRows", "minRows", "onChange", "onHeightChange"], Zue = /* @__PURE__ */ a(function(t, r) {
  var n = t.cacheMeasurements, o = t.maxRows, i = t.minRows, s = t.onChange, l = s === void 0 ? IF : s, u = t.onHeightChange, c = u === void 0 ?
  IF : u, p = Rl(t, Jue), h = p.value !== void 0, m = Fn.useRef(null), g = DF(m, r), w = Fn.useRef(0), v = Fn.useRef(), S = /* @__PURE__ */ a(
  function() {
    var b = m.current, x = n && v.current ? v.current : Kue(b);
    if (x) {
      v.current = x;
      var R = Uue(x, b.value || b.placeholder || "x", i, o), C = R[0], D = R[1];
      w.current !== C && (w.current = C, b.style.setProperty("height", C + "px", "important"), c(C, {
        rowHeight: D
      }));
    }
  }, "resizeTextarea"), E = /* @__PURE__ */ a(function(b) {
    h || S(), l(b);
  }, "handleChange");
  return Fn.useLayoutEffect(S), Xue(S), Que(S), /* @__PURE__ */ Fn.createElement("textarea", be({}, p, {
    onChange: E,
    ref: g
  }));
}, "TextareaAutosize"), kF = /* @__PURE__ */ Fn.forwardRef(Zue);

// src/components/components/form/input/input.tsx
var ece = {
  // resets
  appearance: "none",
  border: "0 none",
  boxSizing: "inherit",
  display: " block",
  margin: " 0",
  background: "transparent",
  padding: 0,
  fontSize: "inherit",
  position: "relative"
}, dS = /* @__PURE__ */ a(({ theme: e }) => ({
  ...ece,
  transition: "box-shadow 200ms ease-out, opacity 200ms ease-out",
  color: e.input.color || "inherit",
  background: e.input.background,
  boxShadow: `${e.input.border} 0 0 0 1px inset`,
  borderRadius: e.input.borderRadius,
  fontSize: e.typography.size.s2 - 1,
  lineHeight: "20px",
  padding: "6px 10px",
  // 32
  boxSizing: "border-box",
  height: 32,
  '&[type="file"]': {
    height: "auto"
  },
  "&:focus": {
    boxShadow: `${e.color.secondary} 0 0 0 1px inset`,
    outline: "none"
  },
  "&[disabled]": {
    cursor: "not-allowed",
    opacity: 0.5
  },
  "&:-webkit-autofill": { WebkitBoxShadow: `0 0 0 3em ${e.color.lightest} inset` },
  "&::placeholder": {
    color: e.textMutedColor,
    opacity: 1
  }
}), "styles"), hS = /* @__PURE__ */ a(({ size: e }) => {
  switch (e) {
    case "100%":
      return { width: "100%" };
    case "flex":
      return { flex: 1 };
    case "auto":
    default:
      return { display: "inline" };
  }
}, "sizes"), FF = /* @__PURE__ */ a(({
  align: e
}) => {
  switch (e) {
    case "end":
      return { textAlign: "right" };
    case "center":
      return { textAlign: "center" };
    case "start":
    default:
      return { textAlign: "left" };
  }
}, "alignment"), mS = /* @__PURE__ */ a(({ valid: e, theme: t }) => {
  switch (e) {
    case "valid":
      return { boxShadow: `${t.color.positive} 0 0 0 1px inset !important` };
    case "error":
      return { boxShadow: `${t.color.negative} 0 0 0 1px inset !important` };
    case "warn":
      return {
        boxShadow: `${t.color.warning} 0 0 0 1px inset`
      };
    case void 0:
    case null:
    default:
      return {};
  }
}, "validation"), LF = Object.assign(
  T(
    (0, Ya.forwardRef)(/* @__PURE__ */ a(function({ size: t, valid: r, align: n, ...o }, i) {
      return /* @__PURE__ */ Ya.default.createElement("input", { ...o, ref: i });
    }, "Input"))
  )(dS, hS, FF, mS, {
    minHeight: 32
  }),
  {
    displayName: "Input"
  }
), OF = Object.assign(
  T(
    (0, Ya.forwardRef)(/* @__PURE__ */ a(function({ size: t, valid: r, align: n, ...o }, i) {
      return /* @__PURE__ */ Ya.default.createElement("select", { ...o, ref: i });
    }, "Select"))
  )(dS, hS, mS, {
    height: 32,
    userSelect: "none",
    paddingRight: 20,
    appearance: "menulist"
  }),
  {
    displayName: "Select"
  }
), NF = Object.assign(
  T(
    (0, Ya.forwardRef)(/* @__PURE__ */ a(function({ size: t, valid: r, align: n, ...o }, i) {
      return /* @__PURE__ */ Ya.default.createElement(kF, { ...o, ref: i });
    }, "Textarea"))
  )(dS, hS, FF, mS, ({ height: e = 400 }) => ({
    overflow: "visible",
    maxHeight: e
  })),
  {
    displayName: "Textarea"
  }
);

// src/components/components/form/index.tsx
var MF = Object.assign(
  T.form({
    boxSizing: "border-box",
    width: "100%"
  }),
  {
    Field: SF,
    Input: LF,
    Select: OF,
    Textarea: NF,
    Button: as
  }
);

// src/components/components/tooltip/lazy-WithTooltip.tsx
var Nr = _(F(), 1);
var qce = (0, Nr.lazy)(
  () => Promise.resolve().then(() => (tg(), qS)).then((e) => ({ default: e.WithTooltip }))
), KL = /* @__PURE__ */ a((e) => /* @__PURE__ */ Nr.default.createElement(Nr.Suspense, { fallback: /* @__PURE__ */ Nr.default.createElement(
"div", null) }, /* @__PURE__ */ Nr.default.createElement(qce, { ...e })), "WithTooltip"), Gce = (0, Nr.lazy)(
  () => Promise.resolve().then(() => (tg(), qS)).then((e) => ({ default: e.WithTooltipPure }))
), XL = /* @__PURE__ */ a((e) => /* @__PURE__ */ Nr.default.createElement(Nr.Suspense, { fallback: /* @__PURE__ */ Nr.default.createElement(
"div", null) }, /* @__PURE__ */ Nr.default.createElement(Gce, { ...e })), "WithTooltipPure");

// src/components/components/tooltip/TooltipMessage.tsx
var ms = _(F(), 1);
Y();
var Yce = T.div(({ theme: e }) => ({
  fontWeight: e.typography.weight.bold
})), Kce = T.span(), Xce = T.div(({ theme: e }) => ({
  marginTop: 8,
  textAlign: "center",
  "> *": {
    margin: "0 8px",
    fontWeight: e.typography.weight.bold
  }
})), Qce = T.div(({ theme: e }) => ({
  color: e.color.defaultText,
  lineHeight: "18px"
})), Jce = T.div({
  padding: 15,
  width: 280,
  boxSizing: "border-box"
}), QL = /* @__PURE__ */ a(({ title: e, desc: t, links: r }) => /* @__PURE__ */ ms.default.createElement(Jce, null, /* @__PURE__ */ ms.default.
createElement(Qce, null, e && /* @__PURE__ */ ms.default.createElement(Yce, null, e), t && /* @__PURE__ */ ms.default.createElement(Kce, null,
t)), r && /* @__PURE__ */ ms.default.createElement(Xce, null, r.map(({ title: n, ...o }) => /* @__PURE__ */ ms.default.createElement(Rh, { ...o,
key: n }, n)))), "TooltipMessage");

// src/components/components/tooltip/TooltipNote.tsx
var JL = _(F(), 1);
Y();
var Zce = T.div(({ theme: e }) => ({
  padding: "2px 6px",
  lineHeight: "16px",
  fontSize: 10,
  fontWeight: e.typography.weight.bold,
  color: e.color.lightest,
  boxShadow: "0 0 5px 0 rgba(0, 0, 0, 0.3)",
  borderRadius: 4,
  whiteSpace: "nowrap",
  pointerEvents: "none",
  zIndex: -1,
  background: e.base === "light" ? "rgba(60, 60, 60, 0.9)" : "rgba(0, 0, 0, 0.95)",
  margin: 6
})), ZL = /* @__PURE__ */ a(({ note: e, ...t }) => /* @__PURE__ */ JL.default.createElement(Zce, { ...t }, e), "TooltipNote");

// src/components/components/tooltip/TooltipLinkList.tsx
var po = _(F(), 1);
Y();

// src/components/components/tooltip/ListItem.tsx
var Bn = _(F(), 1);
Y();
var eO = _(Kn(), 1);
var epe = T(({ active: e, loading: t, disabled: r, ...n }) => /* @__PURE__ */ Bn.default.createElement("span", { ...n }))(
  ({ theme: e }) => ({
    color: e.color.defaultText,
    // Previously was theme.typography.weight.normal but this weight does not exists in Theme
    fontWeight: e.typography.weight.regular
  }),
  ({ active: e, theme: t }) => e ? {
    color: t.color.secondary,
    fontWeight: t.typography.weight.bold
  } : {},
  ({ loading: e, theme: t }) => e ? {
    display: "inline-block",
    flex: "none",
    ...t.animation.inlineGlow
  } : {},
  ({ disabled: e, theme: t }) => e ? {
    color: t.textMutedColor
  } : {}
), tpe = T.span({
  display: "flex",
  "& svg": {
    height: 12,
    width: 12,
    margin: "3px 0",
    verticalAlign: "top"
  },
  "& path": {
    fill: "inherit"
  }
}), rpe = T.span(
  {
    flex: 1,
    textAlign: "left",
    display: "flex",
    flexDirection: "column"
  },
  ({ isIndented: e }) => e ? { marginLeft: 24 } : {}
), npe = T.span(
  ({ theme: e }) => ({
    fontSize: "11px",
    lineHeight: "14px"
  }),
  ({ active: e, theme: t }) => e ? {
    color: t.color.secondary
  } : {},
  ({ theme: e, disabled: t }) => t ? {
    color: e.textMutedColor
  } : {}
), ope = T.span(
  ({ active: e, theme: t }) => e ? {
    color: t.color.secondary
  } : {},
  () => ({
    display: "flex",
    maxWidth: 14
  })
), ape = T.div(
  ({ theme: e }) => ({
    width: "100%",
    border: "none",
    borderRadius: e.appBorderRadius,
    background: "none",
    fontSize: e.typography.size.s1,
    transition: "all 150ms ease-out",
    color: e.color.dark,
    textDecoration: "none",
    justifyContent: "space-between",
    lineHeight: "18px",
    padding: "7px 10px",
    display: "flex",
    alignItems: "center",
    "& > * + *": {
      paddingLeft: 10
    }
  }),
  ({ theme: e, href: t, onClick: r }) => (t || r) && {
    cursor: "pointer",
    "&:hover": {
      background: e.background.hoverable
    },
    "&:hover svg": {
      opacity: 1
    }
  },
  ({ theme: e, as: t }) => t === "label" && {
    "&:has(input:not(:disabled))": {
      cursor: "pointer",
      "&:hover": {
        background: e.background.hoverable
      }
    }
  },
  ({ disabled: e }) => e && { cursor: "not-allowed" }
), ipe = (0, eO.default)(100)((e, t, r) => ({
  ...e && {
    as: "button",
    onClick: e
  },
  ...t && {
    as: "a",
    href: t,
    ...r && {
      as: r,
      to: t
    }
  }
})), spe = /* @__PURE__ */ a(({
  loading: e = !1,
  title: t = /* @__PURE__ */ Bn.default.createElement("span", null, "Loading state"),
  center: r = null,
  right: n = null,
  active: o = !1,
  disabled: i = !1,
  isIndented: s,
  href: l = void 0,
  onClick: u = void 0,
  icon: c,
  LinkWrapper: p = void 0,
  ...h
}) => {
  let m = { active: o, disabled: i }, g = ipe(u, l, p);
  return /* @__PURE__ */ Bn.default.createElement(ape, { ...h, ...m, ...g }, /* @__PURE__ */ Bn.default.createElement(Bn.default.Fragment, null,
  c && /* @__PURE__ */ Bn.default.createElement(ope, { ...m }, c), t || r ? /* @__PURE__ */ Bn.default.createElement(rpe, { isIndented: !!(!c &&
  s) }, t && /* @__PURE__ */ Bn.default.createElement(epe, { ...m, loading: e }, t), r && /* @__PURE__ */ Bn.default.createElement(npe, { ...m },
  r)) : null, n && /* @__PURE__ */ Bn.default.createElement(tpe, { ...m }, n)));
}, "ListItem"), rg = spe;

// src/components/components/tooltip/TooltipLinkList.tsx
var lpe = T.div(
  {
    minWidth: 180,
    overflow: "hidden",
    overflowY: "auto",
    maxHeight: 15.5 * 32 + 8
    // 15.5 items at 32px each + 8px padding
  },
  ({ theme: e }) => ({
    borderRadius: e.appBorderRadius + 2
  }),
  ({ theme: e }) => e.base === "dark" ? { background: e.background.content } : {}
), upe = T.div(({ theme: e }) => ({
  padding: 4,
  "& + &": {
    borderTop: `1px solid ${e.appBorderColor}`
  }
})), cpe = /* @__PURE__ */ a(({ id: e, onClick: t, ...r }) => {
  let { active: n, disabled: o, title: i, href: s } = r, l = (0, po.useCallback)(
    (u) => t?.(u, { id: e, active: n, disabled: o, title: i, href: s }),
    [t, e, n, o, i, s]
  );
  return /* @__PURE__ */ po.default.createElement(rg, { id: `list-item-${e}`, ...r, ...t && { onClick: l } });
}, "Item"), ng = /* @__PURE__ */ a(({ links: e, LinkWrapper: t, ...r }) => {
  let n = Array.isArray(e[0]) ? e : [e], o = n.some((i) => i.some((s) => "icon" in s && s.icon));
  return /* @__PURE__ */ po.default.createElement(lpe, { ...r }, n.filter((i) => i.length).map((i, s) => /* @__PURE__ */ po.default.createElement(
  upe, { key: i.map((l) => l.id).join(`~${s}~`) }, i.map((l) => "content" in l ? /* @__PURE__ */ po.default.createElement(po.Fragment, { key: l.
  id }, l.content) : /* @__PURE__ */ po.default.createElement(cpe, { key: l.id, isIndented: o, LinkWrapper: t, ...l })))));
}, "TooltipLinkList");

// src/components/components/tabs/tabs.tsx
var Rt = _(F(), 1);

// ../node_modules/es-toolkit/dist/array/countBy.mjs
function GS(e, t) {
  let r = {};
  for (let n = 0; n < e.length; n++) {
    let o = e[n], i = t(o);
    r[i] = (r[i] ?? 0) + 1;
  }
  return r;
}
a(GS, "countBy");

// ../node_modules/es-toolkit/dist/array/partition.mjs
function og(e, t) {
  let r = [], n = [];
  for (let o = 0; o < e.length; o++) {
    let i = e[o];
    t(i) ? r.push(i) : n.push(i);
  }
  return [r, n];
}
a(og, "partition");

// ../node_modules/es-toolkit/dist/object/pick.mjs
function gs(e, t) {
  let r = {};
  for (let n = 0; n < t.length; n++) {
    let o = t[n];
    Object.prototype.hasOwnProperty.call(e, o) && (r[o] = e[o]);
  }
  return r;
}
a(gs, "pick");

// ../node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
function tO(e) {
  return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
a(tO, "isTypedArray");

// ../node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
function rO(e) {
  return e == null || typeof e != "object" && typeof e != "function";
}
a(rO, "isPrimitive");

// ../node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
function Xo(e) {
  if (typeof e != "object" || e == null)
    return !1;
  if (Object.getPrototypeOf(e) === null)
    return !0;
  if (e.toString() !== "[object Object]")
    return !1;
  let t = e;
  for (; Object.getPrototypeOf(t) !== null; )
    t = Object.getPrototypeOf(t);
  return Object.getPrototypeOf(e) === t;
}
a(Xo, "isPlainObject");

// ../node_modules/es-toolkit/dist/object/mapValues.mjs
function YS(e, t) {
  let r = {}, n = Object.keys(e);
  for (let o = 0; o < n.length; o++) {
    let i = n[o], s = e[i];
    r[i] = t(s, i, e);
  }
  return r;
}
a(YS, "mapValues");

// ../node_modules/es-toolkit/dist/object/cloneDeep.mjs
function nO(e) {
  return lc(e);
}
a(nO, "cloneDeep");
function lc(e, t = /* @__PURE__ */ new Map()) {
  if (rO(e))
    return e;
  if (t.has(e))
    return t.get(e);
  if (Array.isArray(e)) {
    let r = new Array(e.length);
    t.set(e, r);
    for (let n = 0; n < e.length; n++)
      r[n] = lc(e[n], t);
    return Object.prototype.hasOwnProperty.call(e, "index") && (r.index = e.index), Object.prototype.hasOwnProperty.call(e, "input") && (r.input =
    e.input), r;
  }
  if (e instanceof Date)
    return new Date(e.getTime());
  if (e instanceof RegExp) {
    let r = new RegExp(e.source, e.flags);
    return r.lastIndex = e.lastIndex, r;
  }
  if (e instanceof Map) {
    let r = /* @__PURE__ */ new Map();
    t.set(e, r);
    for (let [n, o] of e.entries())
      r.set(n, lc(o, t));
    return r;
  }
  if (e instanceof Set) {
    let r = /* @__PURE__ */ new Set();
    t.set(e, r);
    for (let n of e.values())
      r.add(lc(n, t));
    return r;
  }
  if (typeof Buffer < "u" && Buffer.isBuffer(e))
    return e.subarray();
  if (tO(e)) {
    let r = new (Object.getPrototypeOf(e)).constructor(e.length);
    t.set(e, r);
    for (let n = 0; n < e.length; n++)
      r[n] = lc(e[n], t);
    return r;
  }
  if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer)
    return e.slice(0);
  if (e instanceof DataView) {
    let r = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
    return t.set(e, r), Mf(r, e, t), r;
  }
  if (typeof File < "u" && e instanceof File) {
    let r = new File([e], e.name, { type: e.type });
    return t.set(e, r), Mf(r, e, t), r;
  }
  if (e instanceof Blob) {
    let r = new Blob([e], { type: e.type });
    return t.set(e, r), Mf(r, e, t), r;
  }
  if (e instanceof Error) {
    let r = new e.constructor();
    return t.set(e, r), r.message = e.message, r.name = e.name, r.stack = e.stack, r.cause = e.cause, Mf(r, e, t), r;
  }
  if (typeof e == "object" && e !== null) {
    let r = {};
    return t.set(e, r), Mf(r, e, t), r;
  }
  return e;
}
a(lc, "cloneDeepImpl");
function Mf(e, t, r) {
  let n = Object.keys(t);
  for (let o = 0; o < n.length; o++) {
    let i = n[o], s = Object.getOwnPropertyDescriptor(t, i);
    (s?.writable || s?.set) && (e[i] = lc(t[i], r));
  }
}
a(Mf, "copyProperties");

// ../node_modules/es-toolkit/dist/compat/predicate/isObjectLike.mjs
function uc(e) {
  return typeof e == "object" && e !== null;
}
a(uc, "isObjectLike");

// ../node_modules/es-toolkit/dist/object/merge.mjs
function ag(e, t) {
  let r = Object.keys(t);
  for (let n = 0; n < r.length; n++) {
    let o = r[n], i = t[o], s = e[o];
    Array.isArray(i) ? e[o] = ag(s ?? [], i) : uc(s) && uc(i) ? e[o] = ag(s ?? {}, i) : (s === void 0 || i !== void 0) && (e[o] = i);
  }
  return e;
}
a(ag, "merge");

// ../node_modules/es-toolkit/dist/object/toMerged.mjs
function Bf(e, t) {
  return ag(nO(e), t);
}
a(Bf, "toMerged");

// ../node_modules/es-toolkit/dist/object/mergeWith.mjs
function ri(e, t, r) {
  let n = Object.keys(t);
  for (let o = 0; o < n.length; o++) {
    let i = n[o], s = t[i], l = e[i], u = r(l, s, i, e, t);
    u != null ? e[i] = u : Array.isArray(s) ? e[i] = ri(l ?? [], s, r) : uc(l) && uc(s) ? e[i] = ri(l ?? {}, s, r) : (l === void 0 || s !== void 0) &&
    (e[i] = s);
  }
  return e;
}
a(ri, "mergeWith");

// ../node_modules/es-toolkit/dist/compat/_internal/tags.mjs
var oO = "[object RegExp]", aO = "[object String]", iO = "[object Number]", sO = "[object Boolean]", KS = "[object Arguments]", lO = "[objec\
t Symbol]", uO = "[object Date]", cO = "[object Map]", pO = "[object Set]", fO = "[object Array]", dO = "[object Function]", hO = "[object A\
rrayBuffer]", ig = "[object Object]", mO = "[object Error]", gO = "[object DataView]", vO = "[object Uint8Array]", yO = "[object Uint8Clampe\
dArray]", wO = "[object Uint16Array]", SO = "[object Uint32Array]", EO = "[object BigUint64Array]", bO = "[object Int8Array]", xO = "[object\
 Int16Array]", RO = "[object Int32Array]", CO = "[object BigInt64Array]", DO = "[object Float32Array]", AO = "[object Float64Array]";

// ../node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
function XS(e) {
  return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
a(XS, "getSymbols");

// ../node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
function QS(e) {
  return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
}
a(QS, "getTag");

// ../node_modules/es-toolkit/dist/predicate/isEqual.mjs
function rr(e, t) {
  if (typeof e == typeof t)
    switch (typeof e) {
      case "bigint":
      case "string":
      case "boolean":
      case "symbol":
      case "undefined":
        return e === t;
      case "number":
        return e === t || Object.is(e, t);
      case "function":
        return e === t;
      case "object":
        return Qo(e, t);
    }
  return Qo(e, t);
}
a(rr, "isEqual");
function Qo(e, t, r) {
  if (Object.is(e, t))
    return !0;
  let n = QS(e), o = QS(t);
  if (n === KS && (n = ig), o === KS && (o = ig), n !== o)
    return !1;
  switch (n) {
    case aO:
      return e.toString() === t.toString();
    case iO: {
      let l = e.valueOf(), u = t.valueOf();
      return l === u || Number.isNaN(l) && Number.isNaN(u);
    }
    case sO:
    case uO:
    case lO:
      return Object.is(e.valueOf(), t.valueOf());
    case oO:
      return e.source === t.source && e.flags === t.flags;
    case dO:
      return e === t;
  }
  r = r ?? /* @__PURE__ */ new Map();
  let i = r.get(e), s = r.get(t);
  if (i != null && s != null)
    return i === t;
  r.set(e, t), r.set(t, e);
  try {
    switch (n) {
      case cO: {
        if (e.size !== t.size)
          return !1;
        for (let [l, u] of e.entries())
          if (!t.has(l) || !Qo(u, t.get(l), r))
            return !1;
        return !0;
      }
      case pO: {
        if (e.size !== t.size)
          return !1;
        let l = Array.from(e.values()), u = Array.from(t.values());
        for (let c = 0; c < l.length; c++) {
          let p = l[c], h = u.findIndex((m) => Qo(p, m, r));
          if (h === -1)
            return !1;
          u.splice(h, 1);
        }
        return !0;
      }
      case fO:
      case vO:
      case yO:
      case wO:
      case SO:
      case EO:
      case bO:
      case xO:
      case RO:
      case CO:
      case DO:
      case AO: {
        if (typeof Buffer < "u" && Buffer.isBuffer(e) !== Buffer.isBuffer(t) || e.length !== t.length)
          return !1;
        for (let l = 0; l < e.length; l++)
          if (!Qo(e[l], t[l], r))
            return !1;
        return !0;
      }
      case hO:
        return e.byteLength !== t.byteLength ? !1 : Qo(new Uint8Array(e), new Uint8Array(t), r);
      case gO:
        return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : Qo(e.buffer, t.buffer, r);
      case mO:
        return e.name === t.name && e.message === t.message;
      case ig: {
        if (!(Qo(e.constructor, t.constructor, r) || Xo(e) && Xo(t)))
          return !1;
        let u = [...Object.keys(e), ...XS(e)], c = [...Object.keys(t), ...XS(t)];
        if (u.length !== c.length)
          return !1;
        for (let p = 0; p < u.length; p++) {
          let h = u[p], m = e[h];
          if (!Object.prototype.hasOwnProperty.call(t, h))
            return !1;
          let g = t[h];
          if (!Qo(m, g, r))
            return !1;
        }
        return !0;
      }
      default:
        return !1;
    }
  } finally {
    r.delete(e), r.delete(t);
  }
}
a(Qo, "areObjectsEqual");

// src/shared/universal-store/mock.ts
Ca();
var lg = class lg extends _r {
  constructor(t, r) {
    _r.isInternalConstructing = !0, super(
      { ...t, leader: !0 },
      { channel: new Yn({}), environment: _r.Environment.MOCK }
    ), _r.isInternalConstructing = !1, typeof r?.fn == "function" && (this.testUtils = r, this.getState = r.fn(this.getState), this.setState =
    r.fn(this.setState), this.subscribe = r.fn(this.subscribe), this.onStateChange = r.fn(this.onStateChange), this.send = r.fn(this.send));
  }
  /** Create a mock universal store. This is just an alias for the constructor */
  static create(t, r) {
    return new lg(t, r);
  }
  unsubscribeAll() {
    if (!this.testUtils)
      throw new Error(
        f6`Cannot call unsubscribeAll on a store that does not have testUtils.
        Please provide testUtils as the second argument when creating the store.`
      );
    let t = /* @__PURE__ */ a((r) => {
      try {
        r.value();
      } catch {
      }
    }, "callReturnedUnsubscribeFn");
    this.subscribe.mock?.results.forEach(t), this.onStateChange.mock?.results.forEach(t);
  }
};
a(lg, "MockUniversalStore");
var sg = lg;

// src/storybook-error.ts
function _O({
  code: e,
  category: t
}) {
  let r = String(e).padStart(4, "0");
  return `SB_${t}_${r}`;
}
a(_O, "parseErrorCode");
var ug = class ug extends Error {
  constructor(r) {
    super(ug.getFullMessage(r));
    /**
     * Data associated with the error. Used to provide additional information in the error message or
     * to be passed to telemetry.
     */
    this.data = {};
    /** Flag used to easily determine if the error originates from Storybook. */
    this.fromStorybook = !0;
    this.category = r.category, this.documentation = r.documentation ?? !1, this.code = r.code;
  }
  get fullErrorCode() {
    return _O({ code: this.code, category: this.category });
  }
  /** Overrides the default `Error.name` property in the format: SB_<CATEGORY>_<CODE>. */
  get name() {
    let r = this.constructor.name;
    return `${this.fullErrorCode} (${r})`;
  }
  /** Generates the error message along with additional documentation link (if applicable). */
  static getFullMessage({
    documentation: r,
    code: n,
    category: o,
    message: i
  }) {
    let s;
    return r === !0 ? s = `https://storybook.js.org/error/${_O({ code: n, category: o })}` : typeof r == "string" ? s = r : Array.isArray(r) &&
    (s = `
${r.map((l) => `	- ${l}`).join(`
`)}`), `${i}${s != null ? `

More info: ${s}
` : ""}`;
  }
};
a(ug, "StorybookError");
var zf = ug;

// src/csf/index.ts
var mo = /* @__PURE__ */ a((e) => e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi, "-").replace(/-+/g,
"-").replace(/^-+/, "").replace(/-+$/, ""), "sanitize"), $O = /* @__PURE__ */ a((e, t) => {
  let r = mo(e);
  if (r === "")
    throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);
  return r;
}, "sanitizeSafe"), Hf = /* @__PURE__ */ a((e, t) => `${$O(e, "kind")}${t ? `--${$O(t, "name")}` : ""}`, "toId");

// src/components/components/tabs/tabs.tsx
Y();

// src/components/components/bar/bar.tsx
var Zo = _(F(), 1);
Y();
rh();
var oE = T.div(
  {
    display: "flex",
    whiteSpace: "nowrap",
    flexBasis: "auto",
    marginLeft: 3,
    marginRight: 3
  },
  ({ scrollable: e }) => e ? { flexShrink: 0 } : {},
  ({ left: e }) => e ? {
    "& > *": {
      marginLeft: 4
    }
  } : {},
  ({ right: e }) => e ? {
    marginLeft: 30,
    "& > *": {
      marginRight: 4
    }
  } : {}
);
oE.displayName = "Side";
var Npe = /* @__PURE__ */ a(({ children: e, className: t, scrollable: r }) => r ? /* @__PURE__ */ Zo.default.createElement(Oi, { vertical: !1,
className: t }, e) : /* @__PURE__ */ Zo.default.createElement("div", { className: t }, e), "UnstyledBar"), hg = T(Npe)(
  ({ theme: e, scrollable: t = !0 }) => ({
    color: e.barTextColor,
    width: "100%",
    height: 40,
    flexShrink: 0,
    overflow: t ? "auto" : "hidden",
    overflowY: "hidden"
  }),
  ({ theme: e, border: t = !1 }) => t ? {
    boxShadow: `${e.appBorderColor}  0 -1px 0 0 inset`,
    background: e.barBg
  } : {}
);
hg.displayName = "Bar";
var Mpe = T.div(({ bgColor: e }) => ({
  display: "flex",
  justifyContent: "space-between",
  position: "relative",
  flexWrap: "nowrap",
  flexShrink: 0,
  height: 40,
  backgroundColor: e || ""
})), $f = /* @__PURE__ */ a(({ children: e, backgroundColor: t, className: r, ...n }) => {
  let [o, i] = Zo.Children.toArray(e);
  return /* @__PURE__ */ Zo.default.createElement(hg, { className: `sb-bar ${r}`, ...n }, /* @__PURE__ */ Zo.default.createElement(Mpe, { bgColor: t },
  /* @__PURE__ */ Zo.default.createElement(oE, { scrollable: n.scrollable, left: !0 }, o), i ? /* @__PURE__ */ Zo.default.createElement(oE, {
  right: !0 }, i) : null));
}, "FlexBar");
$f.displayName = "FlexBar";

// src/components/components/bar/button.tsx
var ws = _(F(), 1);
Y();
var Bpe = /* @__PURE__ */ a((e) => typeof e.props.href == "string", "isLink"), zpe = /* @__PURE__ */ a((e) => typeof e.props.href != "string",
"isButton");
function Hpe({ children: e, ...t }, r) {
  let n = { props: t, ref: r };
  if (Bpe(n))
    return /* @__PURE__ */ ws.default.createElement("a", { ref: n.ref, ...n.props }, e);
  if (zpe(n))
    return /* @__PURE__ */ ws.default.createElement("button", { ref: n.ref, type: "button", ...n.props }, e);
  throw new Error("invalid props");
}
a(Hpe, "ForwardRefFunction");
var jO = (0, ws.forwardRef)(Hpe);
jO.displayName = "ButtonOrLink";
var ni = T(jO, { shouldForwardProp: Ia })(
  {
    whiteSpace: "normal",
    display: "inline-flex",
    overflow: "hidden",
    verticalAlign: "top",
    justifyContent: "center",
    alignItems: "center",
    textAlign: "center",
    textDecoration: "none",
    "&:empty": {
      display: "none"
    },
    "&[hidden]": {
      display: "none"
    }
  },
  ({ theme: e }) => ({
    padding: "0 15px",
    transition: "color 0.2s linear, border-bottom-color 0.2s linear",
    height: 40,
    lineHeight: "12px",
    cursor: "pointer",
    background: "transparent",
    border: "0 solid transparent",
    borderTop: "3px solid transparent",
    borderBottom: "3px solid transparent",
    fontWeight: "bold",
    fontSize: 13,
    "&:focus": {
      outline: "0 none",
      borderBottomColor: e.barSelectedColor
    }
  }),
  ({ active: e, textColor: t, theme: r }) => e ? {
    color: t || r.barSelectedColor,
    borderBottomColor: r.barSelectedColor
  } : {
    color: t || r.barTextColor,
    borderBottomColor: "transparent",
    "&:hover": {
      color: r.barHoverColor
    }
  }
);
ni.displayName = "TabButton";
var $pe = T.div(({ theme: e }) => ({
  width: 14,
  height: 14,
  backgroundColor: e.appBorderColor,
  animation: `${e.animation.glow} 1.5s ease-in-out infinite`
})), jpe = T.div({
  marginTop: 6,
  padding: 7,
  height: 28
}), VO = /* @__PURE__ */ a(() => /* @__PURE__ */ ws.default.createElement(jpe, null, /* @__PURE__ */ ws.default.createElement($pe, null)), "\
IconButtonSkeleton");

// src/components/components/tabs/EmptyTabContent.tsx
var jf = _(F(), 1);
Y();
var Vpe = T.div(({ theme: e }) => ({
  height: "100%",
  display: "flex",
  padding: 30,
  alignItems: "center",
  justifyContent: "center",
  flexDirection: "column",
  gap: 15,
  background: e.background.content
})), Upe = T.div({
  display: "flex",
  flexDirection: "column",
  gap: 4,
  maxWidth: 415
}), Wpe = T.div(({ theme: e }) => ({
  fontWeight: e.typography.weight.bold,
  fontSize: e.typography.size.s2 - 1,
  textAlign: "center",
  color: e.textColor
})), qpe = T.div(({ theme: e }) => ({
  fontWeight: e.typography.weight.regular,
  fontSize: e.typography.size.s2 - 1,
  textAlign: "center",
  color: e.textMutedColor
})), mg = /* @__PURE__ */ a(({ title: e, description: t, footer: r }) => /* @__PURE__ */ jf.default.createElement(Vpe, null, /* @__PURE__ */ jf.default.
createElement(Upe, null, /* @__PURE__ */ jf.default.createElement(Wpe, null, e), t && /* @__PURE__ */ jf.default.createElement(qpe, null, t)),
r), "EmptyTabContent");

// src/components/components/tabs/tabs.helpers.tsx
var gg = _(F(), 1);
Y();
var aE = T.div(
  ({ active: e }) => e ? { display: "block" } : { display: "none" }
), UO = /* @__PURE__ */ a((e) => gg.Children.toArray(e).map(
  // @ts-expect-error (non strict)
  ({
    props: { title: t, id: r, color: n, children: o }
  }) => {
    let i = Array.isArray(
      o
    ) ? o[0] : o;
    return {
      title: t,
      id: r,
      ...n ? { color: n } : {},
      render: typeof i == "function" ? i : ({ active: l }) => /* @__PURE__ */ gg.default.createElement(aE, { active: l, role: "tabpanel" }, i)
    };
  }
), "childrenToList");

// src/components/components/tabs/tabs.hooks.tsx
var Ue = _(F(), 1);
Y();
tg();
var Gpe = T.span(({ theme: e, isActive: t }) => ({
  display: "inline-block",
  width: 0,
  height: 0,
  marginLeft: 8,
  color: t ? e.color.secondary : e.color.mediumdark,
  borderRight: "3px solid transparent",
  borderLeft: "3px solid transparent",
  borderTop: "3px solid",
  transition: "transform .1s ease-out"
})), Ype = T(ni)(({ active: e, theme: t, preActive: r }) => `
    color: ${r || e ? t.barSelectedColor : t.barTextColor};
    .addon-collapsible-icon {
      color: ${r || e ? t.barSelectedColor : t.barTextColor};
    }
    &:hover {
      color: ${t.barHoverColor};
      .addon-collapsible-icon {
        color: ${t.barHoverColor};
      }
    }
  `);
function WO(e) {
  let t = (0, Ue.useRef)(), r = (0, Ue.useRef)(), n = (0, Ue.useRef)(/* @__PURE__ */ new Map()), { width: o = 1 } = Nm({
    // @ts-expect-error (non strict)
    ref: t
  }), [i, s] = (0, Ue.useState)(e), [l, u] = (0, Ue.useState)([]), c = (0, Ue.useRef)(e), p = (0, Ue.useCallback)(
    ({
      menuName: m,
      actions: g
    }) => {
      let w = l.some(({ active: E }) => E), [v, S] = (0, Ue.useState)(!1);
      return /* @__PURE__ */ Ue.default.createElement(Ue.default.Fragment, null, /* @__PURE__ */ Ue.default.createElement(
        WS,
        {
          interactive: !0,
          visible: v,
          onVisibleChange: S,
          placement: "bottom",
          delayHide: 100,
          tooltip: /* @__PURE__ */ Ue.default.createElement(
            ng,
            {
              links: l.map(({ title: E, id: y, color: b, active: x }) => ({
                id: y,
                title: E,
                color: b,
                active: x,
                onClick: /* @__PURE__ */ a((R) => {
                  R.preventDefault(), g.onSelect(y);
                }, "onClick")
              }))
            }
          )
        },
        /* @__PURE__ */ Ue.default.createElement(
          Ype,
          {
            ref: r,
            active: w,
            preActive: v,
            style: { visibility: l.length ? "visible" : "hidden" },
            "aria-hidden": !l.length,
            className: "tabbutton",
            type: "button",
            role: "tab"
          },
          m,
          /* @__PURE__ */ Ue.default.createElement(
            Gpe,
            {
              className: "addon-collapsible-icon",
              isActive: w || v
            }
          )
        )
      ), l.map(({ title: E, id: y, color: b }, x) => {
        let R = `index-${x}`;
        return /* @__PURE__ */ Ue.default.createElement(
          ni,
          {
            id: `tabbutton-${mo(y) ?? R}`,
            style: { visibility: "hidden" },
            "aria-hidden": !0,
            tabIndex: -1,
            ref: (C) => {
              n.current.set(y, C);
            },
            className: "tabbutton",
            type: "button",
            key: y,
            textColor: b,
            role: "tab"
          },
          E
        );
      }));
    },
    [l]
  ), h = (0, Ue.useCallback)(() => {
    if (!t.current || !r.current)
      return;
    let { x: m, width: g } = t.current.getBoundingClientRect(), { width: w } = r.current.getBoundingClientRect(), v = l.length ? m + g - w :
    m + g, S = [], E = 0, y = e.filter((b) => {
      let { id: x } = b, R = n.current.get(x), { width: C = 0 } = R?.getBoundingClientRect() || {}, D = m + E + C > v;
      return (!D || !R) && S.push(b), E += C, D;
    });
    (S.length !== i.length || c.current !== e) && (s(S), u(y), c.current = e);
  }, [l.length, e, i]);
  return (0, Ue.useLayoutEffect)(h, [h, o]), {
    tabRefs: n,
    addonsRef: r,
    tabBarRef: t,
    visibleList: i,
    invisibleList: l,
    AddonTab: p
  };
}
a(WO, "useList");

// src/components/components/tabs/tabs.tsx
var Kpe = "/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */", Xpe = T.div(
  ({ theme: e, bordered: t }) => t ? {
    backgroundClip: "padding-box",
    border: `1px solid ${e.appBorderColor}`,
    borderRadius: e.appBorderRadius,
    overflow: "hidden",
    boxSizing: "border-box"
  } : {},
  ({ absolute: e }) => e ? {
    width: "100%",
    height: "100%",
    boxSizing: "border-box",
    display: "flex",
    flexDirection: "column"
  } : {
    display: "block"
  }
), wg = T.div({
  overflow: "hidden",
  "&:first-of-type": {
    marginLeft: -3
  },
  whiteSpace: "nowrap",
  flexGrow: 1
});
wg.displayName = "TabBar";
var Qpe = T.div(
  {
    display: "block",
    position: "relative"
  },
  ({ theme: e }) => ({
    fontSize: e.typography.size.s2 - 1,
    background: e.background.content
  }),
  ({ bordered: e, theme: t }) => e ? {
    borderRadius: `0 0 ${t.appBorderRadius - 1}px ${t.appBorderRadius - 1}px`
  } : {},
  ({ absolute: e, bordered: t }) => e ? {
    height: `calc(100% - ${t ? 42 : 40}px)`,
    position: "absolute",
    left: 0 + (t ? 1 : 0),
    right: 0 + (t ? 1 : 0),
    bottom: 0 + (t ? 1 : 0),
    top: 40 + (t ? 1 : 0),
    overflow: "auto",
    [`& > *:first-child${Kpe}`]: {
      position: "absolute",
      left: 0 + (t ? 1 : 0),
      right: 0 + (t ? 1 : 0),
      bottom: 0 + (t ? 1 : 0),
      top: 0 + (t ? 1 : 0),
      height: `calc(100% - ${t ? 2 : 0}px)`,
      overflow: "auto"
    }
  } : {}
), qO = /* @__PURE__ */ a(({ active: e, render: t, children: r }) => /* @__PURE__ */ Rt.default.createElement(aE, { active: e }, t ? t() : r),
"TabWrapper");
var Sg = (0, Rt.memo)(
  ({
    children: e,
    selected: t = null,
    actions: r,
    absolute: n = !1,
    bordered: o = !1,
    tools: i = null,
    backgroundColor: s,
    id: l = null,
    menuName: u = "Tabs",
    emptyState: c,
    showToolsWhenEmpty: p
  }) => {
    let h = (0, Rt.useMemo)(
      () => UO(e).map((E, y) => ({
        ...E,
        active: t ? E.id === t : y === 0
      })),
      [e, t]
    ), { visibleList: m, tabBarRef: g, tabRefs: w, AddonTab: v } = WO(h), S = c ?? /* @__PURE__ */ Rt.default.createElement(mg, { title: "No\
thing found" });
    return !p && h.length === 0 ? S : (
      // @ts-expect-error (non strict)
      /* @__PURE__ */ Rt.default.createElement(Xpe, { absolute: n, bordered: o, id: l }, /* @__PURE__ */ Rt.default.createElement($f, { scrollable: !1,
      border: !0, backgroundColor: s }, /* @__PURE__ */ Rt.default.createElement(wg, { style: { whiteSpace: "normal" }, ref: g, role: "tabli\
st" }, m.map(({ title: E, id: y, active: b, color: x }, R) => {
        let C = `index-${R}`;
        return /* @__PURE__ */ Rt.default.createElement(
          ni,
          {
            id: `tabbutton-${mo(y) ?? C}`,
            ref: (D) => {
              w.current.set(y, D);
            },
            className: `tabbutton ${b ? "tabbutton-active" : ""}`,
            type: "button",
            key: y,
            active: b,
            textColor: x,
            onClick: (D) => {
              D.preventDefault(), r.onSelect(y);
            },
            role: "tab"
          },
          typeof E == "function" ? /* @__PURE__ */ Rt.default.createElement("title", null) : E
        );
      }), /* @__PURE__ */ Rt.default.createElement(v, { menuName: u, actions: r })), i), /* @__PURE__ */ Rt.default.createElement(Qpe, { id: "\
panel-tab-content", bordered: o, absolute: n }, h.length ? h.map(({ id: E, active: y, render: b }) => Rt.default.createElement(b, { key: E, active: y },
      null)) : S))
    );
  }
);
Sg.displayName = "Tabs";
var yg = class yg extends Rt.Component {
  constructor(r) {
    super(r);
    this.handlers = {
      onSelect: /* @__PURE__ */ a((r) => this.setState({ selected: r }), "onSelect")
    };
    this.state = {
      selected: r.initial
    };
  }
  render() {
    let { bordered: r = !1, absolute: n = !1, children: o, backgroundColor: i, menuName: s } = this.props, { selected: l } = this.state;
    return /* @__PURE__ */ Rt.default.createElement(
      Sg,
      {
        bordered: r,
        absolute: n,
        selected: l,
        backgroundColor: i,
        menuName: s,
        actions: this.handlers
      },
      o
    );
  }
};
a(yg, "TabsState"), yg.defaultProps = {
  children: [],
  // @ts-expect-error (non strict)
  initial: null,
  absolute: !1,
  bordered: !1,
  backgroundColor: "",
  // @ts-expect-error (non strict)
  menuName: void 0
};
var vg = yg;

// src/components/components/bar/separator.tsx
var Vf = _(F(), 1);
Y();
var Eg = T.span(
  ({ theme: e }) => ({
    width: 1,
    height: 20,
    background: e.appBorderColor,
    marginLeft: 2,
    marginRight: 2
  }),
  ({ force: e }) => e ? {} : {
    "& + &": {
      display: "none"
    }
  }
);
Eg.displayName = "Separator";
var GO = /* @__PURE__ */ a((e) => e.reduce(
  (t, r, n) => r ? /* @__PURE__ */ Vf.default.createElement(Vf.Fragment, { key: r.id || r.key || `f-${n}` }, t, n > 0 ? /* @__PURE__ */ Vf.default.
  createElement(Eg, { key: `s-${n}` }) : null, r.render() || r) : t,
  null
), "interleaveSeparators");

// src/components/components/addon-panel/addon-panel.tsx
var cc = _(F(), 1);
var Jpe = /* @__PURE__ */ a((e) => {
  let t = (0, cc.useRef)();
  return (0, cc.useEffect)(() => {
    t.current = e;
  }, [e]), t.current;
}, "usePrevious"), Zpe = /* @__PURE__ */ a((e, t) => {
  let r = Jpe(t);
  return e ? t : r;
}, "useUpdate"), YO = /* @__PURE__ */ a(({ active: e, children: t }) => (
  // the hidden attribute is an valid html element that's both accessible and works to visually hide content
  /* @__PURE__ */ cc.default.createElement("div", { hidden: !e }, Zpe(e, t))
), "AddonPanel");

// src/components/components/icon/icon.tsx
var pc = _(F(), 1);
Y();
Ht();
var efe = ef, tfe = T.svg`
  display: inline-block;
  shape-rendering: inherit;
  vertical-align: middle;
  fill: currentColor;
  path {
    fill: currentColor;
  }
`, KO = /* @__PURE__ */ a(({
  icon: e,
  useSymbol: t,
  __suppressDeprecationWarning: r = !1,
  ...n
}) => {
  r || To(
    `Use of the deprecated Icons ${`(${e})` || ""} component detected. Please use the @storybook/icons component directly. For more informat\
ions, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`
  );
  let o = Uf[e] || null;
  if (!o)
    return ge.warn(
      `Use of an unknown prop ${`(${e})` || ""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons c\
omponent directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-i\
s-deprecated`
    ), null;
  let i = efe[o];
  return /* @__PURE__ */ pc.default.createElement(i, { ...n });
}, "Icons"), XO = (0, pc.memo)(/* @__PURE__ */ a(function({ icons: t = Object.keys(Uf) }) {
  return /* @__PURE__ */ pc.default.createElement(
    tfe,
    {
      viewBox: "0 0 14 14",
      style: { position: "absolute", width: 0, height: 0 },
      "data-chromatic": "ignore"
    },
    t.map((r) => /* @__PURE__ */ pc.default.createElement("symbol", { id: `icon--${r}`, key: r }, Uf[r]))
  );
}, "Symbols")), Uf = {
  user: "UserIcon",
  useralt: "UserAltIcon",
  useradd: "UserAddIcon",
  users: "UsersIcon",
  profile: "ProfileIcon",
  facehappy: "FaceHappyIcon",
  faceneutral: "FaceNeutralIcon",
  facesad: "FaceSadIcon",
  accessibility: "AccessibilityIcon",
  accessibilityalt: "AccessibilityAltIcon",
  arrowup: "ChevronUpIcon",
  arrowdown: "ChevronDownIcon",
  arrowleft: "ChevronLeftIcon",
  arrowright: "ChevronRightIcon",
  arrowupalt: "ArrowUpIcon",
  arrowdownalt: "ArrowDownIcon",
  arrowleftalt: "ArrowLeftIcon",
  arrowrightalt: "ArrowRightIcon",
  expandalt: "ExpandAltIcon",
  collapse: "CollapseIcon",
  expand: "ExpandIcon",
  unfold: "UnfoldIcon",
  transfer: "TransferIcon",
  redirect: "RedirectIcon",
  undo: "UndoIcon",
  reply: "ReplyIcon",
  sync: "SyncIcon",
  upload: "UploadIcon",
  download: "DownloadIcon",
  back: "BackIcon",
  proceed: "ProceedIcon",
  refresh: "RefreshIcon",
  globe: "GlobeIcon",
  compass: "CompassIcon",
  location: "LocationIcon",
  pin: "PinIcon",
  time: "TimeIcon",
  dashboard: "DashboardIcon",
  timer: "TimerIcon",
  home: "HomeIcon",
  admin: "AdminIcon",
  info: "InfoIcon",
  question: "QuestionIcon",
  support: "SupportIcon",
  alert: "AlertIcon",
  email: "EmailIcon",
  phone: "PhoneIcon",
  link: "LinkIcon",
  unlink: "LinkBrokenIcon",
  bell: "BellIcon",
  rss: "RSSIcon",
  sharealt: "ShareAltIcon",
  share: "ShareIcon",
  circle: "CircleIcon",
  circlehollow: "CircleHollowIcon",
  bookmarkhollow: "BookmarkHollowIcon",
  bookmark: "BookmarkIcon",
  hearthollow: "HeartHollowIcon",
  heart: "HeartIcon",
  starhollow: "StarHollowIcon",
  star: "StarIcon",
  certificate: "CertificateIcon",
  verified: "VerifiedIcon",
  thumbsup: "ThumbsUpIcon",
  shield: "ShieldIcon",
  basket: "BasketIcon",
  beaker: "BeakerIcon",
  hourglass: "HourglassIcon",
  flag: "FlagIcon",
  cloudhollow: "CloudHollowIcon",
  edit: "EditIcon",
  cog: "CogIcon",
  nut: "NutIcon",
  wrench: "WrenchIcon",
  ellipsis: "EllipsisIcon",
  check: "CheckIcon",
  form: "FormIcon",
  batchdeny: "BatchDenyIcon",
  batchaccept: "BatchAcceptIcon",
  controls: "ControlsIcon",
  plus: "PlusIcon",
  closeAlt: "CloseAltIcon",
  cross: "CrossIcon",
  trash: "TrashIcon",
  pinalt: "PinAltIcon",
  unpin: "UnpinIcon",
  add: "AddIcon",
  subtract: "SubtractIcon",
  close: "CloseIcon",
  delete: "DeleteIcon",
  passed: "PassedIcon",
  changed: "ChangedIcon",
  failed: "FailedIcon",
  clear: "ClearIcon",
  comment: "CommentIcon",
  commentadd: "CommentAddIcon",
  requestchange: "RequestChangeIcon",
  comments: "CommentsIcon",
  lock: "LockIcon",
  unlock: "UnlockIcon",
  key: "KeyIcon",
  outbox: "OutboxIcon",
  credit: "CreditIcon",
  button: "ButtonIcon",
  type: "TypeIcon",
  pointerdefault: "PointerDefaultIcon",
  pointerhand: "PointerHandIcon",
  browser: "BrowserIcon",
  tablet: "TabletIcon",
  mobile: "MobileIcon",
  watch: "WatchIcon",
  sidebar: "SidebarIcon",
  sidebaralt: "SidebarAltIcon",
  sidebaralttoggle: "SidebarAltToggleIcon",
  sidebartoggle: "SidebarToggleIcon",
  bottombar: "BottomBarIcon",
  bottombartoggle: "BottomBarToggleIcon",
  cpu: "CPUIcon",
  database: "DatabaseIcon",
  memory: "MemoryIcon",
  structure: "StructureIcon",
  box: "BoxIcon",
  power: "PowerIcon",
  photo: "PhotoIcon",
  component: "ComponentIcon",
  grid: "GridIcon",
  outline: "OutlineIcon",
  photodrag: "PhotoDragIcon",
  search: "SearchIcon",
  zoom: "ZoomIcon",
  zoomout: "ZoomOutIcon",
  zoomreset: "ZoomResetIcon",
  eye: "EyeIcon",
  eyeclose: "EyeCloseIcon",
  lightning: "LightningIcon",
  lightningoff: "LightningOffIcon",
  contrast: "ContrastIcon",
  switchalt: "SwitchAltIcon",
  mirror: "MirrorIcon",
  grow: "GrowIcon",
  paintbrush: "PaintBrushIcon",
  ruler: "RulerIcon",
  stop: "StopIcon",
  camera: "CameraIcon",
  video: "VideoIcon",
  speaker: "SpeakerIcon",
  play: "PlayIcon",
  playback: "PlayBackIcon",
  playnext: "PlayNextIcon",
  rewind: "RewindIcon",
  fastforward: "FastForwardIcon",
  stopalt: "StopAltIcon",
  sidebyside: "SideBySideIcon",
  stacked: "StackedIcon",
  sun: "SunIcon",
  moon: "MoonIcon",
  book: "BookIcon",
  document: "DocumentIcon",
  copy: "CopyIcon",
  category: "CategoryIcon",
  folder: "FolderIcon",
  print: "PrintIcon",
  graphline: "GraphLineIcon",
  calendar: "CalendarIcon",
  graphbar: "GraphBarIcon",
  menu: "MenuIcon",
  menualt: "MenuIcon",
  filter: "FilterIcon",
  docchart: "DocChartIcon",
  doclist: "DocListIcon",
  markup: "MarkupIcon",
  bold: "BoldIcon",
  paperclip: "PaperClipIcon",
  listordered: "ListOrderedIcon",
  listunordered: "ListUnorderedIcon",
  paragraph: "ParagraphIcon",
  markdown: "MarkdownIcon",
  repository: "RepoIcon",
  commit: "CommitIcon",
  branch: "BranchIcon",
  pullrequest: "PullRequestIcon",
  merge: "MergeIcon",
  apple: "AppleIcon",
  linux: "LinuxIcon",
  ubuntu: "UbuntuIcon",
  windows: "WindowsIcon",
  storybook: "StorybookIcon",
  azuredevops: "AzureDevOpsIcon",
  bitbucket: "BitbucketIcon",
  chrome: "ChromeIcon",
  chromatic: "ChromaticIcon",
  componentdriven: "ComponentDrivenIcon",
  discord: "DiscordIcon",
  facebook: "FacebookIcon",
  figma: "FigmaIcon",
  gdrive: "GDriveIcon",
  github: "GithubIcon",
  gitlab: "GitlabIcon",
  google: "GoogleIcon",
  graphql: "GraphqlIcon",
  medium: "MediumIcon",
  redux: "ReduxIcon",
  twitter: "TwitterIcon",
  youtube: "YoutubeIcon",
  vscode: "VSCodeIcon"
};

// src/components/brand/StorybookLogo.tsx
var Hn = _(F(), 1);
var QO = /* @__PURE__ */ a(({ alt: e, ...t }) => /* @__PURE__ */ Hn.default.createElement("svg", { width: "200px", height: "40px", viewBox: "\
0 0 200 40", ...t, role: "img" }, e ? /* @__PURE__ */ Hn.default.createElement("title", null, e) : null, /* @__PURE__ */ Hn.default.createElement(
"defs", null, /* @__PURE__ */ Hn.default.createElement(
  "path",
  {
    d: "M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",
    id: "a"
  }
)), /* @__PURE__ */ Hn.default.createElement("g", { fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ Hn.default.createElement(
  "path",
  {
    d: "M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.\
3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 \
1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.\
8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1\
.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.\
3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.\
4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2\
.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c\
1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-\
2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.\
1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6\
.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-\
2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.\
2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 \
1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0\
-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",
    fill: "currentColor"
  }
), /* @__PURE__ */ Hn.default.createElement("mask", { id: "b", fill: "#fff" }, /* @__PURE__ */ Hn.default.createElement("use", { xlinkHref: "\
#a" })), /* @__PURE__ */ Hn.default.createElement("use", { fill: "#FF4785", fillRule: "nonzero", xlinkHref: "#a" }), /* @__PURE__ */ Hn.default.
createElement(
  "path",
  {
    d: "M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-\
8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10\
.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",
    fill: "#FFF",
    fillRule: "nonzero",
    mask: "url(#b)"
  }
))), "StorybookLogo");

// src/components/brand/StorybookIcon.tsx
var Ss = _(F(), 1);
var JO = /* @__PURE__ */ a((e) => /* @__PURE__ */ Ss.default.createElement("svg", { viewBox: "0 0 64 64", ...e }, /* @__PURE__ */ Ss.default.
createElement("title", null, "Storybook icon"), /* @__PURE__ */ Ss.default.createElement("g", { id: "Artboard", stroke: "none", strokeWidth: "\
1", fill: "none", fillRule: "evenodd" }, /* @__PURE__ */ Ss.default.createElement(
  "path",
  {
    d: "M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331\
489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57\
.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.751758\
5,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",
    id: "path-1",
    fill: "#FF4785",
    fillRule: "nonzero"
  }
), /* @__PURE__ */ Ss.default.createElement(
  "path",
  {
    d: "M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.035887\
8 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.49\
65208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37\
.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.73267\
52 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.773\
8035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",
    id: "path9_fill-path",
    fill: "#FFFFFF",
    fillRule: "nonzero"
  }
), /* @__PURE__ */ Ss.default.createElement(
  "path",
  {
    d: "M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403\
237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0\
022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",
    id: "Path",
    fill: "#FFFFFF"
  }
))), "StorybookIcon");

// src/components/components/Loader/Loader.tsx
var go = _(F(), 1);
Y();
Po();

// src/components/components/shared/animation.ts
Y();
var ZO = It`
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
`;

// src/components/components/Loader/Loader.tsx
var rfe = T.div(({ size: e = 32 }) => ({
  borderRadius: "50%",
  cursor: "progress",
  display: "inline-block",
  overflow: "hidden",
  position: "absolute",
  transition: "all 200ms ease-out",
  verticalAlign: "top",
  top: "50%",
  left: "50%",
  marginTop: -(e / 2),
  marginLeft: -(e / 2),
  height: e,
  width: e,
  zIndex: 4,
  borderWidth: 2,
  borderStyle: "solid",
  borderColor: "rgba(97, 97, 97, 0.29)",
  borderTopColor: "rgb(100,100,100)",
  animation: `${ZO} 0.7s linear infinite`,
  mixBlendMode: "difference"
})), eN = T.div({
  position: "absolute",
  display: "flex",
  flexDirection: "column",
  justifyContent: "center",
  alignItems: "center",
  width: "100%",
  height: "100%"
}), nfe = T.div(({ theme: e }) => ({
  position: "relative",
  width: "80%",
  marginBottom: "0.75rem",
  maxWidth: 300,
  height: 5,
  borderRadius: 5,
  background: Pt(0.8, e.color.secondary),
  overflow: "hidden",
  cursor: "progress"
})), ofe = T.div(({ theme: e }) => ({
  position: "absolute",
  top: 0,
  left: 0,
  height: "100%",
  background: e.color.secondary
})), tN = T.div(({ theme: e }) => ({
  minHeight: "2em",
  fontSize: `${e.typography.size.s1}px`,
  color: e.textMutedColor
})), afe = T(G4)(({ theme: e }) => ({
  width: 20,
  height: 20,
  marginBottom: "0.5rem",
  color: e.textMutedColor
})), ife = It`
  from { content: "..." }
  33% { content: "." }
  66% { content: ".." }
  to { content: "..." }
`, sfe = T.span({
  "&::after": {
    content: "'...'",
    animation: `${ife} 1s linear infinite`,
    animationDelay: "1s",
    display: "inline-block",
    width: "1em",
    height: "auto"
  }
}), rN = /* @__PURE__ */ a(({ progress: e, error: t, size: r, ...n }) => {
  if (t)
    return /* @__PURE__ */ go.default.createElement(eN, { "aria-label": t.toString(), "aria-live": "polite", role: "status", ...n }, /* @__PURE__ */ go.default.
    createElement(afe, null), /* @__PURE__ */ go.default.createElement(tN, null, t.message));
  if (e) {
    let { value: o, modules: i } = e, { message: s } = e;
    return i && (s += ` ${i.complete} / ${i.total} modules`), /* @__PURE__ */ go.default.createElement(
      eN,
      {
        "aria-label": "Content is loading...",
        "aria-live": "polite",
        "aria-valuemin": 0,
        "aria-valuemax": 100,
        "aria-valuenow": o * 100,
        "aria-valuetext": s,
        role: "progressbar",
        ...n
      },
      /* @__PURE__ */ go.default.createElement(nfe, null, /* @__PURE__ */ go.default.createElement(ofe, { style: { width: `${o * 100}%` } })),
      /* @__PURE__ */ go.default.createElement(tN, null, s, o < 1 && /* @__PURE__ */ go.default.createElement(sfe, { key: s }))
    );
  }
  return /* @__PURE__ */ go.default.createElement(
    rfe,
    {
      "aria-label": "Content is loading...",
      "aria-live": "polite",
      role: "status",
      size: r,
      ...n
    }
  );
}, "Loader");

// src/components/components/ProgressSpinner/ProgressSpinner.tsx
var ea = _(F(), 1);
Y();
var iE = "http://www.w3.org/2000/svg", lfe = It({
  "0%": {
    transform: "rotate(0deg)"
  },
  "100%": {
    transform: "rotate(360deg)"
  }
}), nN = T.div(({ size: e }) => ({
  display: "inline-flex",
  alignItems: "center",
  justifyContent: "center",
  position: "relative",
  minWidth: e,
  minHeight: e
})), sE = T.svg(
  ({ size: e, width: t }) => ({
    position: "absolute",
    width: `${e}px!important`,
    height: `${e}px!important`,
    transform: "rotate(-90deg)",
    circle: {
      r: (e - Math.ceil(t)) / 2,
      cx: e / 2,
      cy: e / 2,
      opacity: 0.15,
      fill: "transparent",
      stroke: "currentColor",
      strokeWidth: t,
      strokeLinecap: "round",
      strokeDasharray: Math.PI * (e - Math.ceil(t))
    }
  }),
  ({ progress: e }) => e && {
    circle: {
      opacity: 0.75
    }
  },
  ({ spinner: e }) => e && {
    animation: `${lfe} 1s linear infinite`,
    circle: {
      opacity: 0.25
    }
  }
), oN = /* @__PURE__ */ a(({
  percentage: e = void 0,
  running: t = !0,
  size: r = 24,
  width: n = 1.5,
  children: o = null,
  ...i
}) => typeof e == "number" ? /* @__PURE__ */ ea.default.createElement(nN, { size: r, ...i }, o, /* @__PURE__ */ ea.default.createElement(sE,
{ size: r, width: n, xmlns: iE }, /* @__PURE__ */ ea.default.createElement("circle", null)), t && /* @__PURE__ */ ea.default.createElement(sE,
{ size: r, width: n, xmlns: iE, spinner: !0 }, /* @__PURE__ */ ea.default.createElement("circle", { strokeDashoffset: Math.PI * (r - Math.ceil(
n)) * (1 - e / 100) })), /* @__PURE__ */ ea.default.createElement(sE, { size: r, width: n, xmlns: iE, progress: !0 }, /* @__PURE__ */ ea.default.
createElement("circle", { strokeDashoffset: Math.PI * (r - Math.ceil(n)) * (1 - e / 100) }))) : /* @__PURE__ */ ea.default.createElement(nN,
{ size: r, ...i }, o), "ProgressSpinner");

// src/components/components/utils/getStoryHref.ts
function ufe(e) {
  let t = {}, r = e.split("&");
  for (let n = 0; n < r.length; n++) {
    let o = r[n].split("=");
    t[decodeURIComponent(o[0])] = decodeURIComponent(o[1] || "");
  }
  return t;
}
a(ufe, "parseQuery");
var aN = /* @__PURE__ */ a((e, t, r = {}) => {
  let [n, o] = e.split("?"), i = o ? {
    ...ufe(o),
    ...r,
    id: t
  } : {
    ...r,
    id: t
  };
  return `${n}?${Object.entries(i).map((s) => `${s[0]}=${s[1]}`).join("&")}`;
}, "getStoryHref");

// src/components/components/clipboard/ClipboardCode.tsx
var iN = _(F(), 1);
Y();
var cfe = T.pre`
  line-height: 18px;
  padding: 11px 1rem;
  white-space: pre-wrap;
  background: rgba(0, 0, 0, 0.05);
  color: ${G.darkest};
  border-radius: 3px;
  margin: 1rem 0;
  width: 100%;
  display: block;
  overflow: hidden;
  font-family: ${Qt.fonts.mono};
  font-size: ${Qt.size.s2 - 1}px;
`, sN = /* @__PURE__ */ a(({ code: e, ...t }) => /* @__PURE__ */ iN.default.createElement(cfe, { id: "clipboard-code", ...t }, e), "Clipboar\
dCode");

// src/components/index.ts
var pfe = q4, lN = {};
Object.keys(q4).forEach((e) => {
  lN[e] = (0, bg.forwardRef)((t, r) => (0, bg.createElement)(e, { ...t, ref: r }));
});

// src/router/index.ts
var Jf = {};
de(Jf, {
  BaseLocationProvider: () => Lfe,
  DEEPLY_EQUAL: () => qf,
  Link: () => bN,
  Location: () => gE,
  LocationProvider: () => Ffe,
  Match: () => vE,
  Route: () => xN,
  buildArgsParam: () => Cg,
  deepDiff: () => xg,
  getMatch: () => pE,
  parsePath: () => cE,
  queryFromLocation: () => Yf,
  stringifyQuery: () => vfe,
  useNavigate: () => kfe
});

// src/router/utils.ts
Ht();
var Rg = _(Kn(), 1), Gf = _(HO(), 1);
Ca();
var ffe = /\/([^/]+)\/(?:(.*)_)?([^/]+)?/, cE = (0, Rg.default)(1e3)((e) => {
  let t = {
    viewMode: void 0,
    storyId: void 0,
    refId: void 0
  };
  if (e) {
    let [, r, n, o] = e.toLowerCase().match(ffe) || [];
    r && Object.assign(t, {
      viewMode: r,
      storyId: o,
      refId: n
    });
  }
  return t;
}), qf = Symbol("Deeply equal"), xg = /* @__PURE__ */ a((e, t) => {
  if (typeof e != typeof t)
    return t;
  if (rr(e, t))
    return qf;
  if (Array.isArray(e) && Array.isArray(t)) {
    let r = t.reduce((n, o, i) => {
      let s = xg(e[i], o);
      return s !== qf && (n[i] = s), n;
    }, new Array(t.length));
    return t.length >= e.length ? r : r.concat(new Array(e.length - t.length).fill(void 0));
  }
  return Xo(e) && Xo(t) ? Object.keys({ ...e, ...t }).reduce((r, n) => {
    let o = xg(e?.[n], t?.[n]);
    return o === qf ? r : Object.assign(r, { [n]: o });
  }, {}) : t;
}, "deepDiff"), uN = /^[a-zA-Z0-9 _-]*$/, dfe = /^-?[0-9]+(\.[0-9]+)?$/, cN = /^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i, pN = /^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,
lE = /* @__PURE__ */ a((e = "", t) => e === null || e === "" || !uN.test(e) ? !1 : t == null || t instanceof Date || typeof t == "number" ||
typeof t == "boolean" ? !0 : typeof t == "string" ? uN.test(t) || dfe.test(t) || cN.test(t) || pN.test(t) : Array.isArray(t) ? t.every((r) => lE(
e, r)) : Xo(t) ? Object.entries(t).every(([r, n]) => lE(r, n)) : !1, "validateArgs"), uE = /* @__PURE__ */ a((e) => e === void 0 ? "!undefin\
ed" : e === null ? "!null" : typeof e == "string" ? cN.test(e) ? `!hex(${e.slice(1)})` : pN.test(e) ? `!${e.replace(/[\s%]/g, "")}` : e : typeof e ==
"boolean" ? `!${e}` : e instanceof Date ? `!date(${e.toISOString()})` : Array.isArray(e) ? e.map(uE) : Xo(e) ? Object.entries(e).reduce(
  (t, [r, n]) => Object.assign(t, { [r]: uE(n) }),
  {}
) : e, "encodeSpecialValues"), hfe = /* @__PURE__ */ a((e) => {
  switch (e) {
    case "%20":
      return "+";
    case "%5B":
      return "[";
    case "%5D":
      return "]";
    case "%2C":
      return ",";
    case "%3A":
      return ":";
  }
  return e;
}, "decodeKnownQueryChar"), mfe = /%[0-9A-F]{2}/g, Cg = /* @__PURE__ */ a((e, t) => {
  let r = xg(e, t);
  if (!r || r === qf)
    return "";
  let n = Object.entries(r).reduce((o, [i, s]) => lE(i, s) ? Object.assign(o, { [i]: s }) : (_t.warn(st`
      Omitted potentially unsafe URL args.

      More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
    `), o), {});
  return (0, Gf.stringify)(uE(n), {
    delimiter: ";",
    // we don't actually create multiple query params
    nesting: !0,
    nestingSyntax: "js"
    // encode objects using dot notation: obj.key=val
  }).replace(mfe, hfe).split(";").map((o) => o.replace("=", ":")).join(";");
}, "buildArgsParam"), gfe = (0, Rg.default)(1e3)((e) => e !== void 0 ? (0, Gf.parse)(e) : {}), Yf = /* @__PURE__ */ a((e) => gfe(e.search ? e.
search.slice(1) : ""), "queryFromLocation"), vfe = /* @__PURE__ */ a((e) => {
  let t = (0, Gf.stringify)(e);
  return t ? "?" + t : "";
}, "stringifyQuery"), pE = (0, Rg.default)(1e3)((e, t, r = !0) => {
  if (r) {
    if (typeof t != "string")
      throw new Error("startsWith only works with string targets");
    return e && e.startsWith(t) ? { path: e } : null;
  }
  let n = typeof t == "string" && e === t, o = e && t && e.match(t);
  return n || o ? { path: e } : null;
});

// src/router/router.tsx
var ai = _(F(), 1);
qe();

// ../node_modules/react-router-dom/index.js
var Sr = _(F());

// ../node_modules/history/index.js
Xn();
var oi;
(function(e) {
  e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
})(oi || (oi = {}));
var fN = function(e) {
  return e;
};
var dN = "beforeunload";
var yfe = "popstate";
function gN(e) {
  e === void 0 && (e = {});
  var t = e, r = t.window, n = r === void 0 ? document.defaultView : r, o = n.history;
  function i() {
    var D = n.location, A = D.pathname, P = D.search, k = D.hash, M = o.state || {};
    return [M.idx, fN({
      pathname: A,
      search: P,
      hash: k,
      state: M.usr || null,
      key: M.key || "default"
    })];
  }
  a(i, "getIndexAndLocation");
  var s = null;
  function l() {
    if (s)
      g.call(s), s = null;
    else {
      var D = oi.Pop, A = i(), P = A[0], k = A[1];
      if (g.length) {
        if (P != null) {
          var M = p - P;
          M && (s = {
            action: D,
            location: k,
            retry: /* @__PURE__ */ a(function() {
              R(M * -1);
            }, "retry")
          }, R(M));
        }
      } else
        y(D);
    }
  }
  a(l, "handlePop"), n.addEventListener(yfe, l);
  var u = oi.Pop, c = i(), p = c[0], h = c[1], m = mN(), g = mN();
  p == null && (p = 0, o.replaceState(be({}, o.state, {
    idx: p
  }), ""));
  function w(D) {
    return typeof D == "string" ? D : Dg(D);
  }
  a(w, "createHref");
  function v(D, A) {
    return A === void 0 && (A = null), fN(be({
      pathname: h.pathname,
      hash: "",
      search: ""
    }, typeof D == "string" ? fc(D) : D, {
      state: A,
      key: wfe()
    }));
  }
  a(v, "getNextLocation");
  function S(D, A) {
    return [{
      usr: D.state,
      key: D.key,
      idx: A
    }, w(D)];
  }
  a(S, "getHistoryStateAndUrl");
  function E(D, A, P) {
    return !g.length || (g.call({
      action: D,
      location: A,
      retry: P
    }), !1);
  }
  a(E, "allowTx");
  function y(D) {
    u = D;
    var A = i();
    p = A[0], h = A[1], m.call({
      action: u,
      location: h
    });
  }
  a(y, "applyTx");
  function b(D, A) {
    var P = oi.Push, k = v(D, A);
    function M() {
      b(D, A);
    }
    if (a(M, "retry"), E(P, k, M)) {
      var V = S(k, p + 1), H = V[0], X = V[1];
      try {
        o.pushState(H, "", X);
      } catch {
        n.location.assign(X);
      }
      y(P);
    }
  }
  a(b, "push");
  function x(D, A) {
    var P = oi.Replace, k = v(D, A);
    function M() {
      x(D, A);
    }
    if (a(M, "retry"), E(P, k, M)) {
      var V = S(k, p), H = V[0], X = V[1];
      o.replaceState(H, "", X), y(P);
    }
  }
  a(x, "replace");
  function R(D) {
    o.go(D);
  }
  a(R, "go");
  var C = {
    get action() {
      return u;
    },
    get location() {
      return h;
    },
    createHref: w,
    push: b,
    replace: x,
    go: R,
    back: /* @__PURE__ */ a(function() {
      R(-1);
    }, "back"),
    forward: /* @__PURE__ */ a(function() {
      R(1);
    }, "forward"),
    listen: /* @__PURE__ */ a(function(A) {
      return m.push(A);
    }, "listen"),
    block: /* @__PURE__ */ a(function(A) {
      var P = g.push(A);
      return g.length === 1 && n.addEventListener(dN, hN), function() {
        P(), g.length || n.removeEventListener(dN, hN);
      };
    }, "block")
  };
  return C;
}
a(gN, "createBrowserHistory");
function hN(e) {
  e.preventDefault(), e.returnValue = "";
}
a(hN, "promptBeforeUnload");
function mN() {
  var e = [];
  return {
    get length() {
      return e.length;
    },
    push: /* @__PURE__ */ a(function(r) {
      return e.push(r), function() {
        e = e.filter(function(n) {
          return n !== r;
        });
      };
    }, "push"),
    call: /* @__PURE__ */ a(function(r) {
      e.forEach(function(n) {
        return n && n(r);
      });
    }, "call")
  };
}
a(mN, "createEvents");
function wfe() {
  return Math.random().toString(36).substr(2, 8);
}
a(wfe, "createKey");
function Dg(e) {
  var t = e.pathname, r = t === void 0 ? "/" : t, n = e.search, o = n === void 0 ? "" : n, i = e.hash, s = i === void 0 ? "" : i;
  return o && o !== "?" && (r += o.charAt(0) === "?" ? o : "?" + o), s && s !== "#" && (r += s.charAt(0) === "#" ? s : "#" + s), r;
}
a(Dg, "createPath");
function fc(e) {
  var t = {};
  if (e) {
    var r = e.indexOf("#");
    r >= 0 && (t.hash = e.substr(r), e = e.substr(0, r));
    var n = e.indexOf("?");
    n >= 0 && (t.search = e.substr(n), e = e.substr(0, n)), e && (t.pathname = e);
  }
  return t;
}
a(fc, "parsePath");

// ../node_modules/react-router/index.js
var ye = _(F());
function Ag(e, t) {
  if (!e) throw new Error(t);
}
a(Ag, "invariant");
var _g = /* @__PURE__ */ (0, ye.createContext)(null), Tg = /* @__PURE__ */ (0, ye.createContext)(null), fE = /* @__PURE__ */ (0, ye.createContext)(
{
  outlet: null,
  matches: []
});
function Kf(e) {
  let {
    basename: t = "/",
    children: r = null,
    location: n,
    navigationType: o = oi.Pop,
    navigator: i,
    static: s = !1
  } = e;
  Xf() && Ag(!1);
  let l = xfe(t), u = (0, ye.useMemo)(() => ({
    basename: l,
    navigator: i,
    static: s
  }), [l, i, s]);
  typeof n == "string" && (n = fc(n));
  let {
    pathname: c = "/",
    search: p = "",
    hash: h = "",
    state: m = null,
    key: g = "default"
  } = n, w = (0, ye.useMemo)(() => {
    let v = bfe(c, l);
    return v == null ? null : {
      pathname: v,
      search: p,
      hash: h,
      state: m,
      key: g
    };
  }, [l, c, p, h, m, g]);
  return w == null ? null : /* @__PURE__ */ (0, ye.createElement)(_g.Provider, {
    value: u
  }, /* @__PURE__ */ (0, ye.createElement)(Tg.Provider, {
    children: r,
    value: {
      location: w,
      navigationType: o
    }
  }));
}
a(Kf, "Router");
function dE(e) {
  Xf() || Ag(!1);
  let {
    basename: t,
    navigator: r
  } = (0, ye.useContext)(_g), {
    hash: n,
    pathname: o,
    search: i
  } = Ig(e), s = o;
  if (t !== "/") {
    let l = Efe(e), u = l != null && l.endsWith("/");
    s = o === "/" ? t + (u ? "/" : "") : wN([t, o]);
  }
  return r.createHref({
    pathname: s,
    search: i,
    hash: n
  });
}
a(dE, "useHref");
function Xf() {
  return (0, ye.useContext)(Tg) != null;
}
a(Xf, "useInRouterContext");
function Es() {
  return Xf() || Ag(!1), (0, ye.useContext)(Tg).location;
}
a(Es, "useLocation");
function Qf() {
  Xf() || Ag(!1);
  let {
    basename: e,
    navigator: t
  } = (0, ye.useContext)(_g), {
    matches: r
  } = (0, ye.useContext)(fE), {
    pathname: n
  } = Es(), o = JSON.stringify(r.map((l) => l.pathnameBase)), i = (0, ye.useRef)(!1);
  return (0, ye.useEffect)(() => {
    i.current = !0;
  }), (0, ye.useCallback)(function(l, u) {
    if (u === void 0 && (u = {}), !i.current) return;
    if (typeof l == "number") {
      t.go(l);
      return;
    }
    let c = yN(l, JSON.parse(o), n);
    e !== "/" && (c.pathname = wN([e, c.pathname])), (u.replace ? t.replace : t.push)(c, u.state);
  }, [e, t, o, n]);
}
a(Qf, "useNavigate");
function Ig(e) {
  let {
    matches: t
  } = (0, ye.useContext)(fE), {
    pathname: r
  } = Es(), n = JSON.stringify(t.map((o) => o.pathnameBase));
  return (0, ye.useMemo)(() => yN(e, JSON.parse(n), r), [e, n, r]);
}
a(Ig, "useResolvedPath");
function vN(e, t) {
  t === void 0 && (t = "/");
  let {
    pathname: r,
    search: n = "",
    hash: o = ""
  } = typeof e == "string" ? fc(e) : e;
  return {
    pathname: r ? r.startsWith("/") ? r : Sfe(r, t) : t,
    search: Rfe(n),
    hash: Cfe(o)
  };
}
a(vN, "resolvePath");
function Sfe(e, t) {
  let r = t.replace(/\/+$/, "").split("/");
  return e.split("/").forEach((o) => {
    o === ".." ? r.length > 1 && r.pop() : o !== "." && r.push(o);
  }), r.length > 1 ? r.join("/") : "/";
}
a(Sfe, "resolvePathname");
function yN(e, t, r) {
  let n = typeof e == "string" ? fc(e) : e, o = e === "" || n.pathname === "" ? "/" : n.pathname, i;
  if (o == null)
    i = r;
  else {
    let l = t.length - 1;
    if (o.startsWith("..")) {
      let u = o.split("/");
      for (; u[0] === ".."; )
        u.shift(), l -= 1;
      n.pathname = u.join("/");
    }
    i = l >= 0 ? t[l] : "/";
  }
  let s = vN(n, i);
  return o && o !== "/" && o.endsWith("/") && !s.pathname.endsWith("/") && (s.pathname += "/"), s;
}
a(yN, "resolveTo");
function Efe(e) {
  return e === "" || e.pathname === "" ? "/" : typeof e == "string" ? fc(e).pathname : e.pathname;
}
a(Efe, "getToPathname");
function bfe(e, t) {
  if (t === "/") return e;
  if (!e.toLowerCase().startsWith(t.toLowerCase()))
    return null;
  let r = e.charAt(t.length);
  return r && r !== "/" ? null : e.slice(t.length) || "/";
}
a(bfe, "stripBasename");
var wN = /* @__PURE__ */ a((e) => e.join("/").replace(/\/\/+/g, "/"), "joinPaths"), xfe = /* @__PURE__ */ a((e) => e.replace(/\/+$/, "").replace(
/^\/*/, "/"), "normalizePathname"), Rfe = /* @__PURE__ */ a((e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, "normalizeSearch"),
Cfe = /* @__PURE__ */ a((e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, "normalizeHash");

// ../node_modules/react-router-dom/index.js
function hE() {
  return hE = Object.assign || function(e) {
    for (var t = 1; t < arguments.length; t++) {
      var r = arguments[t];
      for (var n in r)
        Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
    }
    return e;
  }, hE.apply(this, arguments);
}
a(hE, "_extends");
function Dfe(e, t) {
  if (e == null) return {};
  var r = {}, n = Object.keys(e), o, i;
  for (i = 0; i < n.length; i++)
    o = n[i], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
  return r;
}
a(Dfe, "_objectWithoutPropertiesLoose");
var Afe = ["onClick", "reloadDocument", "replace", "state", "target", "to"];
function SN(e) {
  let {
    basename: t,
    children: r,
    window: n
  } = e, o = (0, Sr.useRef)();
  o.current == null && (o.current = gN({
    window: n
  }));
  let i = o.current, [s, l] = (0, Sr.useState)({
    action: i.action,
    location: i.location
  });
  return (0, Sr.useLayoutEffect)(() => i.listen(l), [i]), /* @__PURE__ */ (0, Sr.createElement)(Kf, {
    basename: t,
    children: r,
    location: s.location,
    navigationType: s.action,
    navigator: i
  });
}
a(SN, "BrowserRouter");
function _fe(e) {
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
}
a(_fe, "isModifiedEvent");
var EN = /* @__PURE__ */ (0, Sr.forwardRef)(/* @__PURE__ */ a(function(t, r) {
  let {
    onClick: n,
    reloadDocument: o,
    replace: i = !1,
    state: s,
    target: l,
    to: u
  } = t, c = Dfe(t, Afe), p = dE(u), h = Tfe(u, {
    replace: i,
    state: s,
    target: l
  });
  function m(g) {
    n && n(g), !g.defaultPrevented && !o && h(g);
  }
  return a(m, "handleClick"), // eslint-disable-next-line jsx-a11y/anchor-has-content
  /* @__PURE__ */ (0, Sr.createElement)("a", hE({}, c, {
    href: p,
    onClick: m,
    ref: r,
    target: l
  }));
}, "LinkWithRef"));
function Tfe(e, t) {
  let {
    target: r,
    replace: n,
    state: o
  } = t === void 0 ? {} : t, i = Qf(), s = Es(), l = Ig(e);
  return (0, Sr.useCallback)((u) => {
    if (u.button === 0 && // Ignore everything but left clicks
    (!r || r === "_self") && // Let browser handle "target=_blank" etc.
    !_fe(u)) {
      u.preventDefault();
      let c = !!n || Dg(s) === Dg(l);
      i(e, {
        replace: c,
        state: o
      });
    }
  }, [s, i, l, n, o, r, e]);
}
a(Tfe, "useLinkClickHandler");

// src/router/router.tsx
var { document: mE } = z, Pfe = /* @__PURE__ */ a(() => `${mE.location.pathname}?`, "getBase"), kfe = /* @__PURE__ */ a(() => {
  let e = Qf();
  return (0, ai.useCallback)((t, { plain: r, ...n } = {}) => {
    if (typeof t == "string" && t.startsWith("#")) {
      t === "#" ? e(mE.location.search) : mE.location.hash = t;
      return;
    }
    if (typeof t == "string") {
      let o = r ? t : `?path=${t}`;
      return e(o, n);
    }
    if (typeof t == "number")
      return e(t);
  }, []);
}, "useNavigate"), bN = /* @__PURE__ */ a(({ to: e, children: t, ...r }) => /* @__PURE__ */ ai.default.createElement(EN, { to: `${Pfe()}path\
=${e}`, ...r }, t), "Link");
bN.displayName = "QueryLink";
var gE = /* @__PURE__ */ a(({ children: e }) => {
  let t = Es(), { path: r, singleStory: n } = Yf(t), { viewMode: o, storyId: i, refId: s } = cE(r);
  return /* @__PURE__ */ ai.default.createElement(ai.default.Fragment, null, e({
    path: r || "/",
    location: t,
    viewMode: o,
    storyId: i,
    refId: s,
    singleStory: n === "true"
  }));
}, "Location");
gE.displayName = "QueryLocation";
function vE({
  children: e,
  path: t,
  startsWith: r = !1
}) {
  return /* @__PURE__ */ ai.default.createElement(gE, null, ({ path: n, ...o }) => e({
    match: pE(n, t, r),
    ...o
  }));
}
a(vE, "Match");
vE.displayName = "QueryMatch";
function xN(e) {
  let { children: t, ...r } = e;
  return r.startsWith === void 0 && (r.startsWith = !1), /* @__PURE__ */ ai.default.createElement(vE, { ...r }, ({ match: o }) => o ? t : null);
}
a(xN, "Route");
xN.displayName = "Route";
var Ffe = /* @__PURE__ */ a((...e) => SN(...e), "LocationProvider"), Lfe = /* @__PURE__ */ a((...e) => Kf(...e), "BaseLocationProvider");

// src/manager/globals/runtime.ts
Y();
zp();

// src/types/index.ts
var e0 = {};
de(e0, {
  Addon_TypesEnum: () => Zf
});

// src/types/modules/addons.ts
var Zf = /* @__PURE__ */ ((c) => (c.TAB = "tab", c.PANEL = "panel", c.TOOL = "tool", c.TOOLEXTRA = "toolextra", c.PREVIEW = "preview", c.experimental_PAGE =
"page", c.experimental_SIDEBAR_BOTTOM = "sidebar-bottom", c.experimental_SIDEBAR_TOP = "sidebar-top", c.experimental_TEST_PROVIDER = "test-p\
rovider", c))(Zf || {});

// src/manager/globals/runtime.ts
Ht();

// src/manager-api/index.ts
var h0 = {};
de(h0, {
  ActiveTabs: () => ghe,
  Consumer: () => WB,
  ManagerContext: () => d0,
  Provider: () => gb,
  RequestResponseError: () => p0,
  addons: () => AN,
  combineParameters: () => AE,
  controlOrMetaKey: () => r0e,
  controlOrMetaSymbol: () => t0e,
  eventMatchesShortcut: () => o0e,
  eventToShortcut: () => Ng,
  experimental_MockUniversalStore: () => sg,
  experimental_UniversalStore: () => _r,
  experimental_requestResponse: () => mhe,
  experimental_useUniversalStore: () => UB,
  isMacLike: () => Og,
  isShortcutTaken: () => n0e,
  keyToSymbol: () => jN,
  merge: () => $n,
  mockChannel: () => kg,
  optionOrAltSymbol: () => $N,
  shortcutMatchesShortcut: () => Mg,
  shortcutToHumanString: () => a0e,
  types: () => _he,
  useAddonState: () => bhe,
  useArgTypes: () => Ahe,
  useArgs: () => xhe,
  useChannel: () => GB,
  useGlobalTypes: () => Che,
  useGlobals: () => Rhe,
  useParameter: () => Ehe,
  useSharedState: () => YB,
  useStoryPrepared: () => She,
  useStorybookApi: () => ta,
  useStorybookState: () => whe
});

// src/manager-api/root.tsx
var he = _(F(), 1);
Ht();

// src/manager-api/context.ts
var RN = _(F(), 1);
var CN = /* @__PURE__ */ a(({ api: e, state: t }) => (0, RN.createContext)({ api: e, state: t }), "createContext");

// src/manager-api/lib/merge.ts
Ht();
var $n = /* @__PURE__ */ a((e, ...t) => {
  let r = {};
  r = ri({}, e, (n, o) => {
    if (Array.isArray(o) && Array.isArray(n))
      return o.forEach((i) => {
        n.find((l) => l === i || rr(l, i)) || n.push(i);
      }), n;
    if (Array.isArray(n))
      return ge.log(["the types mismatch, picking", n]), n;
  });
  for (let n of t)
    r = ri(r, n, (o, i) => {
      if (Array.isArray(i) && Array.isArray(o))
        return i.forEach((s) => {
          o.find((u) => u === s || rr(u, s)) || o.push(s);
        }), o;
      if (Array.isArray(o))
        return ge.log(["the types mismatch, picking", o]), o;
    });
  return r;
}, "default"), DN = /* @__PURE__ */ a((e, ...t) => {
  let r = {};
  r = ri({}, e, (n, o) => {
    if (Array.isArray(o))
      return o;
  });
  for (let n of t)
    r = ri(r, n, (o, i) => {
      if (Array.isArray(i))
        return i;
    });
  return r;
}, "noArrayMerge");

// src/manager-api/initial-state.ts
var Ofe = /* @__PURE__ */ a((...e) => e.reduce((t, r) => $n(t, r), {}), "main"), Pg = Ofe;

// src/manager-api/lib/addons.ts
qe();
Ht();

// src/manager-api/lib/storybook-channel-mock.ts
function kg() {
  let e = {
    setHandler: /* @__PURE__ */ a(() => {
    }, "setHandler"),
    send: /* @__PURE__ */ a(() => {
    }, "send")
  };
  return new Yn({ transport: e });
}
a(kg, "mockChannel");

// src/manager-api/lib/addons.ts
var SE = class SE {
  constructor() {
    this.loaders = {};
    this.elements = {};
    this.config = {};
    this.getChannel = /* @__PURE__ */ a(() => (this.channel || this.setChannel(kg()), this.channel), "getChannel");
    this.ready = /* @__PURE__ */ a(() => this.promise, "ready");
    this.hasChannel = /* @__PURE__ */ a(() => !!this.channel, "hasChannel");
    this.setChannel = /* @__PURE__ */ a((t) => {
      this.channel = t, this.resolve();
    }, "setChannel");
    this.setConfig = /* @__PURE__ */ a((t) => {
      Object.assign(this.config, t), this.hasChannel() ? this.getChannel().emit(ra, this.config) : this.ready().then((r) => {
        r.emit(ra, this.config);
      });
    }, "setConfig");
    this.getConfig = /* @__PURE__ */ a(() => this.config, "getConfig");
    /**
     * Registers an addon loader function.
     *
     * @param {string} id - The id of the addon loader.
     * @param {(api: API) => void} callback - The function that will be called to register the addon.
     * @returns {void}
     */
    this.register = /* @__PURE__ */ a((t, r) => {
      this.loaders[t] && ge.warn(`${t} was loaded twice, this could have bad side-effects`), this.loaders[t] = r;
    }, "register");
    this.loadAddons = /* @__PURE__ */ a((t) => {
      Object.values(this.loaders).forEach((r) => r(t));
    }, "loadAddons");
    this.promise = new Promise((t) => {
      this.resolve = () => t(this.getChannel());
    });
  }
  getElements(t) {
    return this.elements[t] || (this.elements[t] = {}), this.elements[t];
  }
  /**
   * Adds an addon to the addon store.
   *
   * @param {string} id - The id of the addon.
   * @param {Addon_Type} addon - The addon to add.
   * @returns {void}
   */
  add(t, r) {
    let { type: n } = r, o = this.getElements(n);
    o[t] = { ...r, id: t };
  }
  experimental_getRegisteredAddons() {
    return Object.keys(this.loaders);
  }
};
a(SE, "AddonStore");
var wE = SE, yE = "__STORYBOOK_ADDONS_MANAGER";
function Nfe() {
  return z[yE] || (z[yE] = new wE()), z[yE];
}
a(Nfe, "getAddonsStore");
var AN = Nfe();

// src/manager-api/modules/addons.ts
var bE = {};
de(bE, {
  ensurePanel: () => EE,
  init: () => Mfe
});
function EE(e, t, r) {
  let n = Object.keys(e);
  return n.indexOf(t) >= 0 ? t : n.length ? n[0] : r;
}
a(EE, "ensurePanel");
var Mfe = /* @__PURE__ */ a(({ provider: e, store: t, fullAPI: r }) => {
  let n = {
    getElements: /* @__PURE__ */ a((o) => e.getElements(o), "getElements"),
    getSelectedPanel: /* @__PURE__ */ a(() => {
      let { selectedPanel: o } = t.getState();
      return EE(n.getElements("panel"), o, o);
    }, "getSelectedPanel"),
    setSelectedPanel: /* @__PURE__ */ a((o) => {
      t.setState({ selectedPanel: o }, { persistence: "session" });
    }, "setSelectedPanel"),
    setAddonState(o, i, s) {
      let l = typeof i == "function" ? i : () => i;
      return t.setState(
        (u) => ({ ...u, addons: { ...u.addons, [o]: l(u.addons[o]) } }),
        s
      ).then(() => n.getAddonState(o));
    },
    getAddonState: /* @__PURE__ */ a((o) => t.getState().addons[o] || globalThis?.STORYBOOK_ADDON_STATE[o], "getAddonState")
  };
  return {
    api: n,
    state: {
      selectedPanel: EE(
        n.getElements("panel"),
        t.getState().selectedPanel
      ),
      addons: {}
    }
  };
}, "init");

// src/manager-api/modules/channel.ts
var xE = {};
de(xE, {
  init: () => Bfe
});
var Bfe = /* @__PURE__ */ a(({ provider: e }) => ({ api: {
  getChannel: /* @__PURE__ */ a(() => e.channel, "getChannel"),
  on: /* @__PURE__ */ a((r, n) => (e.channel?.on(r, n), () => e.channel?.off(r, n)), "on"),
  off: /* @__PURE__ */ a((r, n) => e.channel?.off(r, n), "off"),
  once: /* @__PURE__ */ a((r, n) => e.channel?.once(r, n), "once"),
  emit: /* @__PURE__ */ a((r, n, ...o) => {
    n?.options?.target && n.options.target !== "storybook-preview-iframe" && !n.options.target.startsWith("storybook-ref-") && (n.options.target =
    n.options.target !== "storybook_internal" ? `storybook-ref-${n.options.target}` : "storybook-preview-iframe"), e.channel?.emit(r, n, ...o);
  }, "emit")
}, state: {} }), "init");

// src/manager-api/modules/experimental_testmodule.ts
var RE = {};
de(RE, {
  init: () => Hfe
});
var zfe = {
  details: {},
  cancellable: !1,
  cancelling: !1,
  running: !1,
  failed: !1,
  crashed: !1
}, Hfe = /* @__PURE__ */ a(({ store: e, fullAPI: t }) => {
  let r = {
    testProviders: e.getState().testProviders || {}
  }, n = {
    getTestProviderState(i) {
      let { testProviders: s } = e.getState();
      return s?.[i];
    },
    updateTestProviderState(i, s) {
      return e.setState(
        ({ testProviders: l }) => {
          let u = l[i], c = u.stateUpdater?.(u, s) ?? {
            ...u,
            ...s,
            details: { ...u.details, ...s.details }
          };
          return { testProviders: { ...l, [i]: c } };
        },
        { persistence: "session" }
      );
    },
    clearTestProviderState(i) {
      let s = {
        cancelling: !1,
        running: !1,
        failed: !1,
        crashed: !1,
        progress: void 0
      };
      return e.setState(
        ({ testProviders: l }) => ({ testProviders: { ...l, [i]: { ...l[i], ...s } } }),
        { persistence: "session" }
      );
    },
    runTestProvider(i, s) {
      let l = e.getState().index;
      Aa(l, "The index is currently unavailable"), n.updateTestProviderState(i, {
        running: !0,
        failed: !1,
        crashed: !1,
        progress: void 0
      });
      let u = new URL("index.json", window.location.href).toString();
      if (!s?.entryId) {
        let m = {
          providerId: i,
          indexUrl: u
        };
        return t.emit(S0, m), t.emit(_2, { providerId: i }), () => n.cancelTestProvider(i);
      }
      let c = l[s.entryId];
      Aa(c, `No entry found in the index for id '${s.entryId}'`);
      let p = /* @__PURE__ */ a((m, g = []) => {
        let w = l[m];
        return w.type === "story" ? g.push(w.id) : "children" in w && w.children.forEach((v) => p(v, g)), g;
      }, "findStories"), h = {
        providerId: i,
        indexUrl: u,
        storyIds: p(s.entryId)
      };
      return t.emit(S0, h), () => n.cancelTestProvider(i);
    },
    cancelTestProvider(i) {
      n.updateTestProviderState(i, { cancelling: !0 }), t.emit(T2, { providerId: i });
    }
  };
  return { init: /* @__PURE__ */ a(async () => {
    let i = Object.fromEntries(
      Object.entries(t.getElements("test-provider")).map(
        ([s, l]) => [
          s,
          {
            ...l,
            ...zfe,
            ...r?.testProviders?.[s] || {},
            running: !1
          }
        ]
      )
    );
    e.setState({ testProviders: i }, { persistence: "session" });
  }, "initModule"), state: r, api: n };
}, "init");

// src/manager-api/modules/globals.ts
var IE = {};
de(IE, {
  init: () => Kfe
});
Ht();

// ../node_modules/dequal/dist/index.mjs
var _N = Object.prototype.hasOwnProperty;
function TN(e, t, r) {
  for (r of e.keys())
    if (pn(r, t)) return r;
}
a(TN, "find");
function pn(e, t) {
  var r, n, o;
  if (e === t) return !0;
  if (e && t && (r = e.constructor) === t.constructor) {
    if (r === Date) return e.getTime() === t.getTime();
    if (r === RegExp) return e.toString() === t.toString();
    if (r === Array) {
      if ((n = e.length) === t.length)
        for (; n-- && pn(e[n], t[n]); ) ;
      return n === -1;
    }
    if (r === Set) {
      if (e.size !== t.size)
        return !1;
      for (n of e)
        if (o = n, o && typeof o == "object" && (o = TN(t, o), !o) || !t.has(o)) return !1;
      return !0;
    }
    if (r === Map) {
      if (e.size !== t.size)
        return !1;
      for (n of e)
        if (o = n[0], o && typeof o == "object" && (o = TN(t, o), !o) || !pn(n[1], t.get(o)))
          return !1;
      return !0;
    }
    if (r === ArrayBuffer)
      e = new Uint8Array(e), t = new Uint8Array(t);
    else if (r === DataView) {
      if ((n = e.byteLength) === t.byteLength)
        for (; n-- && e.getInt8(n) === t.getInt8(n); ) ;
      return n === -1;
    }
    if (ArrayBuffer.isView(e)) {
      if ((n = e.byteLength) === t.byteLength)
        for (; n-- && e[n] === t[n]; ) ;
      return n === -1;
    }
    if (!r || typeof e == "object") {
      n = 0;
      for (r in e)
        if (_N.call(e, r) && ++n && !_N.call(t, r) || !(r in t) || !pn(e[r], t[r])) return !1;
      return Object.keys(t).length === n;
    }
  }
  return e !== e && t !== t;
}
a(pn, "dequal");

// src/manager-api/lib/events.ts
Ht();

// src/manager-api/modules/refs.ts
var TE = {};
de(TE, {
  defaultStoryMapper: () => BN,
  getSourceType: () => _E,
  init: () => Yfe
});
qe();
Ca();

// src/manager-api/lib/stories.ts
var CE = _(Kn(), 1);
Ca();

// src/manager-api/lib/intersect.ts
var IN = /* @__PURE__ */ a((e, t) => !Array.isArray(e) || !Array.isArray(t) || !e.length || !t.length ? [] : e.reduce((r, n) => (t.includes(
n) && r.push(n), r), []), "default");

// src/manager-api/lib/stories.ts
var $fe = /\s*\/\s*/, PN = /* @__PURE__ */ a(({
  globalParameters: e,
  kindParameters: t,
  stories: r
}) => YS(r, (n) => ({
  ...n,
  parameters: AE(
    e,
    t[n.kind],
    n.parameters
  )
})), "denormalizeStoryParameters");
var kN = /* @__PURE__ */ a((e) => ({ v: 5, entries: Object.entries(e).reduce(
  (r, [n, o]) => {
    if (!o)
      return r;
    let { docsOnly: i, fileName: s, ...l } = o.parameters, u = {
      title: o.kind,
      id: n,
      name: o.name,
      importPath: s
    };
    if (i)
      r[n] = {
        type: "docs",
        tags: ["stories-mdx"],
        storiesImports: [],
        ...u
      };
    else {
      let { argTypes: c, args: p, initialArgs: h } = o;
      r[n] = {
        type: "story",
        ...u,
        parameters: l,
        argTypes: c,
        args: p,
        initialArgs: h
      };
    }
    return r;
  },
  {}
) }), "transformSetStoriesStoryDataToPreparedStoryIndex"), jfe = /* @__PURE__ */ a((e) => ({
  v: 3,
  stories: Object.values(e.stories).reduce(
    (t, r) => (t[r.id] = {
      ...r,
      title: r.kind,
      name: r.name || r.story,
      importPath: r.parameters.fileName || ""
    }, t),
    {}
  )
}), "transformStoryIndexV2toV3"), Vfe = /* @__PURE__ */ a((e) => {
  let t = GS(Object.values(e.stories), (r) => r.title);
  return {
    v: 4,
    entries: Object.values(e.stories).reduce(
      (r, n) => {
        let o = "story";
        return (n.parameters?.docsOnly || n.name === "Page" && t[n.title] === 1) && (o = "docs"), r[n.id] = {
          type: o,
          ...o === "docs" && { tags: ["stories-mdx"], storiesImports: [] },
          ...n
        }, delete r[n.id].story, delete r[n.id].kind, r;
      },
      {}
    )
  };
}, "transformStoryIndexV3toV4"), Ufe = /* @__PURE__ */ a((e) => ({
  v: 5,
  entries: Object.values(e.entries).reduce(
    (t, r) => (t[r.id] = {
      ...r,
      tags: r.tags ? ["dev", "test", ...r.tags] : ["dev"]
    }, t),
    {}
  )
}), "transformStoryIndexV4toV5"), dc = /* @__PURE__ */ a((e, { provider: t, docsOptions: r, filters: n, status: o }) => {
  if (!e.v)
    throw new Error("Composition: Missing stories.json version");
  let i = e;
  i = i.v === 2 ? jfe(i) : i, i = i.v === 3 ? Vfe(i) : i, i = i.v === 4 ? Ufe(i) : i, i = i;
  let s = Object.values(i.entries).filter((v) => {
    let S = !0, E = o[v.id];
    return Object.values(E ?? {}).some(({ status: y }) => y === "error") || Object.values(n).forEach((y) => {
      S !== !1 && (S = y({ ...v, status: E }));
    }), S;
  }), { sidebar: l = {} } = t.getConfig(), { showRoots: u, collapsedRoots: c = [], renderLabel: p } = l, h = typeof u < "u", m = s.reduce((v, S) => {
    if (r.docsMode && S.type !== "docs")
      return v;
    let { title: E } = S, y = E.trim().split($fe), b = (!h || u) && y.length > 1 ? [y.shift()] : [], x = [...b, ...y], R = x.reduce((C, D, A) => {
      let P = A > 0 && C[A - 1], k = mo(P ? `${P}-${D}` : D);
      if (D.trim() === "")
        throw new Error(st`Invalid title ${E} ending in slash.`);
      if (P === k)
        throw new Error(
          st`
          Invalid part '${D}', leading to id === parentId ('${k}'), inside title '${E}'
          
          Did you create a path that uses the separator char accidentally, such as 'Vue <docs/>' where '/' is a separator char? See https://github.com/storybookjs/storybook/issues/6128
          `
        );
      return C.push(k), C;
    }, []);
    return R.forEach((C, D) => {
      let A = R[D + 1] || S.id;
      b.length && D === 0 ? v[C] = $n(v[C] || {}, {
        type: "root",
        id: C,
        name: x[D],
        tags: [],
        depth: D,
        renderLabel: p,
        startCollapsed: c.includes(C),
        // Note that this will later get appended to the previous list of children (see below)
        children: [A]
      }) : (!v[C] || v[C].type === "component") && D === R.length - 1 ? v[C] = $n(v[C] || {}, {
        type: "component",
        id: C,
        name: x[D],
        tags: [],
        parent: R[D - 1],
        depth: D,
        renderLabel: p,
        ...A && {
          children: [A]
        }
      }) : v[C] = $n(v[C] || {}, {
        type: "group",
        id: C,
        name: x[D],
        tags: [],
        parent: R[D - 1],
        depth: D,
        renderLabel: p,
        ...A && {
          children: [A]
        }
      });
    }), v[S.id] = {
      type: "story",
      tags: [],
      ...S,
      depth: R.length,
      parent: R[R.length - 1],
      renderLabel: p,
      prepared: !!S.parameters
    }, v;
  }, {});
  function g(v, S) {
    return v[S.id] || (v[S.id] = S, (S.type === "root" || S.type === "group" || S.type === "component") && (S.children.forEach((E) => g(v, m[E])),
    S.tags = S.children.reduce((E, y) => {
      let b = v[y];
      return E === null ? b.tags : IN(E, b.tags);
    }, null))), v;
  }
  a(g, "addItem");
  let w = Object.values(m).filter((v) => v.type !== "root" && !v.parent).reduce(g, {});
  return Object.values(m).filter((v) => v.type === "root").reduce(g, w);
}, "transformStoryIndexToStoriesHash"), DE = /* @__PURE__ */ a((e, t) => t ? Object.fromEntries(
  Object.entries(e).map(([r, n]) => {
    let o = t[r];
    return n.type === "story" && o?.type === "story" && o.prepared ? [r, { ...o, ...n, prepared: !0 }] : [r, n];
  })
) : e, "addPreparedStories"), FN = (0, CE.default)(1)((e) => Object.entries(e).reduce((t, r) => {
  let n = r[1];
  return n.type === "component" && t.push([...n.children]), t;
}, [])), LN = (0, CE.default)(1)((e) => Object.keys(e).filter((t) => ["story", "docs"].includes(e[t].type)));

// src/manager-api/modules/refs.ts
var { location: Wfe, fetch: ON } = z, _E = /* @__PURE__ */ a((e, t) => {
  let { origin: r, pathname: n } = Wfe, { origin: o, pathname: i } = new URL(e), s = `${r + n}`.replace("/iframe.html", "").replace(/\/$/, ""),
  l = `${o + i}`.replace("/iframe.html", "").replace(/\/$/, "");
  return s === l ? ["local", l] : t || e ? ["external", l] : [null, null];
}, "getSourceType"), BN = /* @__PURE__ */ a((e, t) => ({ ...t, kind: t.kind.replace("|", "/") }), "defaultStoryMapper"), NN = /* @__PURE__ */ a(
(e, t) => Object.entries(e).reduce((r, [n, o]) => ({ ...r, [n]: { ...o, refId: t.id } }), {}), "addRefIds");
async function MN(e) {
  if (!e)
    return {};
  try {
    let t = await e;
    if (t === !1 || t === !0)
      throw new Error("Unexpected boolean response");
    if (!t.ok)
      throw new Error(`Unexpected response not OK: ${t.statusText}`);
    let r = await t.json();
    return r.entries || r.stories ? { storyIndex: r } : r;
  } catch (t) {
    return { indexError: t };
  }
}
a(MN, "handleRequest");
var qfe = /* @__PURE__ */ a((e) => {
  let t = /https?:\/\/(.+:.+)@/, r = e, n, [, o] = e.match(t) || [];
  return o && (r = e.replace(`${o}@`, ""), n = btoa(`${o}`)), {
    url: r,
    authorization: n
  };
}, "parseUrl"), Gfe = /* @__PURE__ */ a((e, t, r) => {
  let { storyMapper: n } = r;
  return n ? Object.entries(e).reduce((o, [i, s]) => ({ ...o, [i]: n(t, s) }), {}) : e;
}, "map"), Yfe = /* @__PURE__ */ a(({ store: e, provider: t, singleStory: r, docsOptions: n = {} }, { runCheck: o = !0 } = {}) => {
  let i = {
    findRef: /* @__PURE__ */ a((u) => {
      let c = i.getRefs();
      return Object.values(c).find(({ url: p }) => p.match(u));
    }, "findRef"),
    changeRefVersion: /* @__PURE__ */ a(async (u, c) => {
      let { versions: p, title: h } = i.getRefs()[u], m = {
        id: u,
        url: c,
        versions: p,
        title: h,
        index: {},
        filteredIndex: {},
        expanded: !0
      };
      await i.setRef(u, { ...m, type: "unknown" }, !1), await i.checkRef(m);
    }, "changeRefVersion"),
    changeRefState: /* @__PURE__ */ a((u, c) => {
      let { [u]: p, ...h } = i.getRefs();
      h[u] = { ...p, previewInitialized: c }, e.setState({
        refs: h
      });
    }, "changeRefState"),
    checkRef: /* @__PURE__ */ a(async (u) => {
      let { id: c, url: p, version: h, type: m } = u, g = m === "server-checked", w = {}, v = h ? `?version=${h}` : "", S = g ? "omit" : "in\
clude", E = qfe(p), y = {
        Accept: "application/json"
      };
      E.authorization && Object.assign(y, {
        Authorization: `Basic ${E.authorization}`
      });
      let [b, x] = await Promise.all(
        ["index.json", "stories.json"].map(
          async (C) => MN(
            ON(`${E.url}/${C}${v}`, {
              headers: y,
              credentials: S
            })
          )
        )
      );
      if (!b.indexError || !x.indexError) {
        let C = await MN(
          ON(`${E.url}/metadata.json${v}`, {
            headers: y,
            credentials: S,
            cache: "no-cache"
          }).catch(() => !1)
        );
        Object.assign(w, {
          ...b.indexError ? x : b,
          ...!C.indexError && C
        });
      } else g || (w.indexError = {
        message: st`
            Error: Loading of ref failed
              at fetch (lib/api/src/modules/refs.ts)

            URL: ${E.url}

            We weren't able to load the above URL,
            it's possible a CORS error happened.

            Please check your dev-tools network tab.
          `
      });
      let R = u.versions && Object.keys(u.versions).length ? u.versions : w.versions;
      await i.setRef(c, {
        id: c,
        url: E.url,
        ...w,
        ...R ? { versions: R } : {},
        type: w.storyIndex ? "lazy" : "auto-inject"
      });
    }, "checkRef"),
    getRefs: /* @__PURE__ */ a(() => {
      let { refs: u = {} } = e.getState();
      return u;
    }, "getRefs"),
    setRef: /* @__PURE__ */ a(async (u, { storyIndex: c, setStoriesData: p, ...h }, m = !1) => {
      if (r)
        return;
      let g, w, v, { filters: S } = e.getState(), { storyMapper: E = BN } = t.getConfig(), y = i.getRefs()[u];
      (c || p) && (g = p ? kN(
        Gfe(p, y, { storyMapper: E })
      ) : c, v = dc(c, {
        provider: t,
        docsOptions: n,
        filters: S,
        status: {}
      }), w = dc(c, {
        provider: t,
        docsOptions: n,
        filters: {},
        status: {}
      })), w && (w = NN(w, y)), v && (v = NN(v, y)), await i.updateRef(u, { ...y, ...h, index: w, filteredIndex: v, internal_index: g });
    }, "setRef"),
    updateRef: /* @__PURE__ */ a(async (u, c) => {
      let { [u]: p, ...h } = i.getRefs();
      h[u] = { ...p, ...c };
      let m = Object.keys(l).reduce((g, w) => (g[w] = h[w], g), {});
      await e.setState({
        refs: m
      });
    }, "updateRef")
  }, s = !r && z.REFS || {}, l = s;
  return o && new Promise(async (u) => {
    for (let c of Object.values(s))
      await i.checkRef({ ...c, stories: {} });
    u(void 0);
  }), {
    api: i,
    state: {
      refs: l
    }
  };
}, "init");

// src/manager-api/lib/events.ts
var nr = /* @__PURE__ */ a((e, t) => {
  let { source: r, refId: n, type: o } = e, [i, s] = _E(r, n), l;
  (n || i === "external") && (l = n && t.getRefs()[n] ? t.getRefs()[n] : t.findRef(s));
  let u = {
    source: r,
    sourceType: i,
    sourceLocation: s,
    refId: n,
    ref: l,
    type: o
  };
  switch (!0) {
    case typeof n == "string":
    case i === "local":
    case i === "external":
      return u;
    // if we couldn't find the source, something risky happened, we ignore the input, and log a warning
    default:
      return ge.warn(`Received a ${o} frame that was not configured as a ref`), null;
  }
}, "getEventMetadata");

// src/manager-api/modules/globals.ts
var Kfe = /* @__PURE__ */ a(({ store: e, fullAPI: t, provider: r }) => {
  let n = {
    getGlobals() {
      return e.getState().globals;
    },
    getUserGlobals() {
      return e.getState().userGlobals;
    },
    getStoryGlobals() {
      return e.getState().storyGlobals;
    },
    getGlobalTypes() {
      return e.getState().globalTypes;
    },
    updateGlobals(s) {
      r.channel?.emit(S2, {
        globals: s,
        options: {
          target: "storybook-preview-iframe"
        }
      });
    }
  }, o = {
    globals: {},
    userGlobals: {},
    storyGlobals: {},
    globalTypes: {}
  }, i = /* @__PURE__ */ a(({
    globals: s,
    storyGlobals: l,
    userGlobals: u
  }) => {
    let {
      globals: c,
      userGlobals: p,
      storyGlobals: h
    } = e.getState();
    pn(s, c) || e.setState({ globals: s }), pn(u, p) || e.setState({ userGlobals: u }), pn(l, h) || e.setState({ storyGlobals: l });
  }, "updateGlobals");
  return r.channel?.on(
    xc,
    /* @__PURE__ */ a(function({ globals: l, storyGlobals: u, userGlobals: c }) {
      let { ref: p } = nr(this, t);
      p ? ge.warn(
        "received a GLOBALS_UPDATED from a non-local ref. This is not currently supported."
      ) : i({ globals: l, storyGlobals: u, userGlobals: c });
    }, "handleGlobalsUpdated")
  ), r.channel?.on(
    f2,
    /* @__PURE__ */ a(function({ globals: l, globalTypes: u }) {
      let { ref: c } = nr(this, t), p = e.getState()?.globals;
      c ? Object.keys(l).length > 0 && ge.warn("received globals from a non-local ref. This is not currently supported.") : e.setState({ globals: l,
      userGlobals: l, globalTypes: u }), p && Object.keys(p).length !== 0 && !pn(l, p) && n.updateGlobals(p);
    }, "handleSetGlobals")
  ), {
    api: n,
    state: o
  };
}, "init");

// src/manager-api/modules/layout.ts
var Lg = {};
de(Lg, {
  ActiveTabs: () => HN,
  defaultLayoutState: () => Mr,
  focusableUIElements: () => t0,
  init: () => Qfe
});
zp();
qe();
var { document: Xfe } = z, HN = {
  SIDEBAR: "sidebar",
  CANVAS: "canvas",
  ADDONS: "addons"
}, Mr = {
  ui: {
    enableShortcuts: !0
  },
  layout: {
    initialActive: HN.CANVAS,
    showToolbar: !0,
    navSize: 300,
    bottomPanelHeight: 300,
    rightPanelWidth: 400,
    recentVisibleSizes: {
      navSize: 300,
      bottomPanelHeight: 300,
      rightPanelWidth: 400
    },
    panelPosition: "bottom",
    showTabs: !0
  },
  selectedPanel: void 0,
  theme: I1()
}, t0 = {
  storySearchField: "storybook-explorer-searchfield",
  storyListMenu: "storybook-explorer-menu",
  storyPanelRoot: "storybook-panel-root"
}, PE = /* @__PURE__ */ a((e) => e.layout.navSize > 0, "getIsNavShown"), kE = /* @__PURE__ */ a((e) => {
  let { bottomPanelHeight: t, rightPanelWidth: r, panelPosition: n } = e.layout;
  return n === "bottom" && t > 0 || n === "right" && r > 0;
}, "getIsPanelShown"), zN = /* @__PURE__ */ a((e) => !PE(e) && !kE(e), "getIsFullscreen"), Fg = /* @__PURE__ */ a((e) => ({
  navSize: e.navSize > 0 ? e.navSize : e.recentVisibleSizes.navSize,
  bottomPanelHeight: e.bottomPanelHeight > 0 ? e.bottomPanelHeight : e.recentVisibleSizes.bottomPanelHeight,
  rightPanelWidth: e.rightPanelWidth > 0 ? e.rightPanelWidth : e.recentVisibleSizes.rightPanelWidth
}), "getRecentVisibleSizes"), Qfe = /* @__PURE__ */ a(({ store: e, provider: t, singleStory: r }) => {
  let n = {
    toggleFullscreen(i) {
      return e.setState(
        (s) => {
          let l = zN(s), u = typeof i == "boolean" ? i : !l;
          return u === l ? { layout: s.layout } : u ? {
            layout: {
              ...s.layout,
              navSize: 0,
              bottomPanelHeight: 0,
              rightPanelWidth: 0,
              recentVisibleSizes: Fg(s.layout)
            }
          } : {
            layout: {
              ...s.layout,
              navSize: s.singleStory ? 0 : s.layout.recentVisibleSizes.navSize,
              bottomPanelHeight: s.layout.recentVisibleSizes.bottomPanelHeight,
              rightPanelWidth: s.layout.recentVisibleSizes.rightPanelWidth
            }
          };
        },
        { persistence: "session" }
      );
    },
    togglePanel(i) {
      return e.setState(
        (s) => {
          let l = kE(s), u = typeof i == "boolean" ? i : !l;
          return u === l ? { layout: s.layout } : u ? {
            layout: {
              ...s.layout,
              bottomPanelHeight: s.layout.recentVisibleSizes.bottomPanelHeight,
              rightPanelWidth: s.layout.recentVisibleSizes.rightPanelWidth
            }
          } : {
            layout: {
              ...s.layout,
              bottomPanelHeight: 0,
              rightPanelWidth: 0,
              recentVisibleSizes: Fg(s.layout)
            }
          };
        },
        { persistence: "session" }
      );
    },
    togglePanelPosition(i) {
      return e.setState(
        (s) => {
          let l = i || (s.layout.panelPosition === "right" ? "bottom" : "right");
          return {
            layout: {
              ...s.layout,
              panelPosition: l,
              bottomPanelHeight: s.layout.recentVisibleSizes.bottomPanelHeight,
              rightPanelWidth: s.layout.recentVisibleSizes.rightPanelWidth
            }
          };
        },
        { persistence: "permanent" }
      );
    },
    toggleNav(i) {
      return e.setState(
        (s) => {
          if (s.singleStory)
            return { layout: s.layout };
          let l = PE(s), u = typeof i == "boolean" ? i : !l;
          return u === l ? { layout: s.layout } : u ? {
            layout: {
              ...s.layout,
              navSize: s.layout.recentVisibleSizes.navSize
            }
          } : {
            layout: {
              ...s.layout,
              navSize: 0,
              recentVisibleSizes: Fg(s.layout)
            }
          };
        },
        { persistence: "session" }
      );
    },
    toggleToolbar(i) {
      return e.setState(
        (s) => {
          let l = typeof i < "u" ? i : !s.layout.showToolbar;
          return {
            layout: {
              ...s.layout,
              showToolbar: l
            }
          };
        },
        { persistence: "session" }
      );
    },
    setSizes({
      navSize: i,
      bottomPanelHeight: s,
      rightPanelWidth: l
    }) {
      return e.setState(
        (u) => {
          let c = {
            ...u.layout,
            navSize: i ?? u.layout.navSize,
            bottomPanelHeight: s ?? u.layout.bottomPanelHeight,
            rightPanelWidth: l ?? u.layout.rightPanelWidth
          };
          return {
            layout: {
              ...c,
              recentVisibleSizes: Fg(c)
            }
          };
        },
        { persistence: "session" }
      );
    },
    focusOnUIElement(i, s) {
      if (!i)
        return;
      let l = Xfe.getElementById(i);
      l && (l.focus(), s && l.select());
    },
    getInitialOptions() {
      let { theme: i, selectedPanel: s, ...l } = t.getConfig();
      return {
        ...Mr,
        layout: {
          ...Bf(
            Mr.layout,
            gs(l, Object.keys(Mr.layout))
          ),
          ...r && { navSize: 0 }
        },
        ui: Bf(Mr.ui, gs(l, Object.keys(Mr.ui))),
        selectedPanel: s || Mr.selectedPanel,
        theme: i || Mr.theme
      };
    },
    getIsFullscreen() {
      return zN(e.getState());
    },
    getIsPanelShown() {
      return kE(e.getState());
    },
    getIsNavShown() {
      return PE(e.getState());
    },
    setOptions: /* @__PURE__ */ a((i) => {
      let { layout: s, ui: l, selectedPanel: u, theme: c } = e.getState();
      if (!i)
        return;
      let p = {
        ...s,
        ...i.layout || {},
        ...gs(i, Object.keys(s)),
        ...r && { navSize: 0 }
      }, h = {
        ...l,
        ...i.ui,
        ...Bf(i.ui || {}, gs(i, Object.keys(l)))
      }, m = {
        ...c,
        ...i.theme
      }, g = {};
      rr(l, h) || (g.ui = h), rr(s, p) || (g.layout = p), i.selectedPanel && !rr(u, i.selectedPanel) && (g.selectedPanel = i.selectedPanel),
      Object.keys(g).length && e.setState(g, { persistence: "permanent" }), rr(c, m) || e.setState({ theme: m });
    }, "setOptions")
  }, o = gs(e.getState(), ["layout", "selectedPanel"]);
  return t.channel?.on(ra, () => {
    n.setOptions($n(n.getInitialOptions(), o));
  }), {
    api: n,
    state: $n(n.getInitialOptions(), o)
  };
}, "init");

// src/manager-api/modules/notifications.ts
var FE = {};
de(FE, {
  init: () => Jfe
});
var Jfe = /* @__PURE__ */ a(({ store: e }) => ({ api: {
  addNotification: /* @__PURE__ */ a((n) => {
    e.setState(({ notifications: o }) => {
      let [i, s] = og(o, (l) => l.id === n.id);
      return i.forEach((l) => {
        l.onClear && l.onClear({ dismissed: !1, timeout: !1 });
      }), { notifications: [...s, n] };
    });
  }, "addNotification"),
  clearNotification: /* @__PURE__ */ a((n) => {
    e.setState(({ notifications: o }) => {
      let [i, s] = og(o, (l) => l.id === n);
      return i.forEach((l) => {
        l.onClear && l.onClear({ dismissed: !1, timeout: !1 });
      }), { notifications: s };
    });
  }, "clearNotification")
}, state: { notifications: [] } }), "init");

// src/manager-api/modules/provider.ts
var LE = {};
de(LE, {
  init: () => Zfe
});
var Zfe = /* @__PURE__ */ a(({ provider: e, fullAPI: t }) => ({
  api: e.renderPreview ? { renderPreview: e.renderPreview } : {},
  state: {},
  init: /* @__PURE__ */ a(() => {
    e.handleAPI(t);
  }, "init")
}), "init");

// src/manager-api/modules/settings.ts
var OE = {};
de(OE, {
  init: () => e0e
});
var e0e = /* @__PURE__ */ a(({ store: e, navigate: t, fullAPI: r }) => ({
  state: { settings: { lastTrackedStoryId: null } },
  api: {
    closeSettings: /* @__PURE__ */ a(() => {
      let {
        settings: { lastTrackedStoryId: i }
      } = e.getState();
      i ? r.selectStory(i) : r.selectFirstStory();
    }, "closeSettings"),
    changeSettingsTab: /* @__PURE__ */ a((i) => {
      t(`/settings/${i}`);
    }, "changeSettingsTab"),
    isSettingsScreenActive: /* @__PURE__ */ a(() => {
      let { path: i } = r.getUrlState();
      return !!(i || "").match(/^\/settings/);
    }, "isSettingsScreenActive"),
    retrieveSelection() {
      let { settings: i } = e.getState();
      return i.lastTrackedStoryId;
    },
    storeSelection: /* @__PURE__ */ a(async () => {
      let { storyId: i, settings: s } = e.getState();
      await e.setState({
        settings: { ...s, lastTrackedStoryId: i }
      });
    }, "storeSelection")
  }
}), "init");

// src/manager-api/modules/shortcuts.ts
var HE = {};
de(HE, {
  controlOrMetaKey: () => hc,
  defaultShortcuts: () => mc,
  init: () => s0e,
  isMacLike: () => UN,
  keys: () => zE
});
qe();

// src/manager-api/lib/shortcut.ts
qe();
var { navigator: NE } = z, Og = /* @__PURE__ */ a(() => NE && NE.platform ? !!NE.platform.match(/(Mac|iPhone|iPod|iPad)/i) : !1, "isMacLike"),
t0e = /* @__PURE__ */ a(() => Og() ? "\u2318" : "ctrl", "controlOrMetaSymbol"), r0e = /* @__PURE__ */ a(() => Og() ? "meta" : "control", "co\
ntrolOrMetaKey"), $N = /* @__PURE__ */ a(() => Og() ? "\u2325" : "alt", "optionOrAltSymbol"), n0e = /* @__PURE__ */ a((e, t) => JSON.stringify(
e) === JSON.stringify(t), "isShortcutTaken"), Ng = /* @__PURE__ */ a((e) => {
  if (["Meta", "Alt", "Control", "Shift"].includes(e.key))
    return null;
  let t = [];
  if (e.altKey && t.push("alt"), e.ctrlKey && t.push("control"), e.metaKey && t.push("meta"), e.shiftKey && t.push("shift"), e.key && e.key.
  length === 1 && e.key !== " ") {
    let r = e.key.toUpperCase(), n = e.code?.toUpperCase().replace("KEY", "").replace("DIGIT", "");
    n && n.length === 1 && n !== r ? t.push([r, n]) : t.push(r);
  }
  return e.key === " " && t.push("space"), e.key === "Escape" && t.push("escape"), e.key === "ArrowRight" && t.push("ArrowRight"), e.key ===
  "ArrowDown" && t.push("ArrowDown"), e.key === "ArrowUp" && t.push("ArrowUp"), e.key === "ArrowLeft" && t.push("ArrowLeft"), t.length > 0 ?
  t : null;
}, "eventToShortcut"), Mg = /* @__PURE__ */ a((e, t) => !e || !t || (e.join("").startsWith("shift/") && e.shift(), e.length !== t.length) ? !1 :
!e.find(
  (r, n) => Array.isArray(r) ? !r.includes(t[n]) : r !== t[n]
), "shortcutMatchesShortcut"), o0e = /* @__PURE__ */ a((e, t) => Mg(Ng(e), t), "eventMatchesShortcut"), jN = /* @__PURE__ */ a((e) => e === "\
alt" ? $N() : e === "control" ? "\u2303" : e === "meta" ? "\u2318" : e === "shift" ? "\u21E7\u200B" : e === "Enter" || e === "Backspace" || e ===
"Esc" || e === "escape" ? "" : e === " " ? "SPACE" : e === "ArrowUp" ? "\u2191" : e === "ArrowDown" ? "\u2193" : e === "ArrowLeft" ? "\u2190" :
e === "ArrowRight" ? "\u2192" : e.toUpperCase(), "keyToSymbol"), a0e = /* @__PURE__ */ a((e) => e.map(jN).join(" "), "shortcutToHumanString");

// src/manager-api/modules/shortcuts.ts
var { navigator: ME, document: VN } = z, UN = /* @__PURE__ */ a(() => ME && ME.platform ? !!ME.platform.match(/(Mac|iPhone|iPod|iPad)/i) : !1,
"isMacLike"), hc = /* @__PURE__ */ a(() => UN() ? "meta" : "control", "controlOrMetaKey");
function zE(e) {
  return Object.keys(e);
}
a(zE, "keys");
var mc = Object.freeze({
  fullScreen: ["alt", "F"],
  togglePanel: ["alt", "A"],
  panelPosition: ["alt", "D"],
  toggleNav: ["alt", "S"],
  toolbar: ["alt", "T"],
  search: [hc(), "K"],
  focusNav: ["1"],
  focusIframe: ["2"],
  focusPanel: ["3"],
  prevComponent: ["alt", "ArrowUp"],
  nextComponent: ["alt", "ArrowDown"],
  prevStory: ["alt", "ArrowLeft"],
  nextStory: ["alt", "ArrowRight"],
  shortcutsPage: [hc(), "shift", ","],
  aboutPage: [hc(), ","],
  escape: ["escape"],
  // This one is not customizable
  collapseAll: [hc(), "shift", "ArrowUp"],
  expandAll: [hc(), "shift", "ArrowDown"],
  remount: ["alt", "R"]
}), BE = {};
function i0e(e) {
  let t = e.target;
  return /input|textarea/i.test(t.tagName) || t.getAttribute("contenteditable") !== null;
}
a(i0e, "focusInInput");
var s0e = /* @__PURE__ */ a(({ store: e, fullAPI: t, provider: r }) => {
  let n = {
    // Getting and setting shortcuts
    getShortcutKeys() {
      return e.getState().shortcuts;
    },
    getDefaultShortcuts() {
      return {
        ...mc,
        ...n.getAddonsShortcutDefaults()
      };
    },
    getAddonsShortcuts() {
      return BE;
    },
    getAddonsShortcutLabels() {
      let l = {};
      return Object.entries(n.getAddonsShortcuts()).forEach(([u, { label: c }]) => {
        l[u] = c;
      }), l;
    },
    getAddonsShortcutDefaults() {
      let l = {};
      return Object.entries(n.getAddonsShortcuts()).forEach(([u, { defaultShortcut: c }]) => {
        l[u] = c;
      }), l;
    },
    async setShortcuts(l) {
      return await e.setState({ shortcuts: l }, { persistence: "permanent" }), l;
    },
    async restoreAllDefaultShortcuts() {
      return n.setShortcuts(n.getDefaultShortcuts());
    },
    async setShortcut(l, u) {
      let c = n.getShortcutKeys();
      return await n.setShortcuts({ ...c, [l]: u }), u;
    },
    async setAddonShortcut(l, u) {
      let c = n.getShortcutKeys();
      return await n.setShortcuts({
        ...c,
        [`${l}-${u.actionName}`]: u.defaultShortcut
      }), BE[`${l}-${u.actionName}`] = u, u;
    },
    async restoreDefaultShortcut(l) {
      let u = n.getDefaultShortcuts()[l];
      return n.setShortcut(l, u);
    },
    // Listening to shortcut events
    handleKeydownEvent(l) {
      let u = Ng(l), c = n.getShortcutKeys(), h = zE(c).find(
        (m) => Mg(u, c[m])
      );
      h && n.handleShortcutFeature(h, l);
    },
    // warning: event might not have a full prototype chain because it may originate from the channel
    handleShortcutFeature(l, u) {
      let {
        ui: { enableShortcuts: c },
        storyId: p
      } = e.getState();
      if (c)
        switch (u?.preventDefault && u.preventDefault(), l) {
          case "escape": {
            t.getIsFullscreen() ? t.toggleFullscreen(!1) : t.getIsNavShown() && t.toggleNav(!0);
            break;
          }
          case "focusNav": {
            t.getIsFullscreen() && t.toggleFullscreen(!1), t.getIsNavShown() || t.toggleNav(!0), t.focusOnUIElement(t0.storyListMenu);
            break;
          }
          case "search": {
            t.getIsFullscreen() && t.toggleFullscreen(!1), t.getIsNavShown() || t.toggleNav(!0), setTimeout(() => {
              t.focusOnUIElement(t0.storySearchField, !0);
            }, 0);
            break;
          }
          case "focusIframe": {
            let h = VN.getElementById("storybook-preview-iframe");
            if (h)
              try {
                h.contentWindow.focus();
              } catch {
              }
            break;
          }
          case "focusPanel": {
            t.getIsFullscreen() && t.toggleFullscreen(!1), t.getIsPanelShown() || t.togglePanel(!0), t.focusOnUIElement(t0.storyPanelRoot);
            break;
          }
          case "nextStory": {
            t.jumpToStory(1);
            break;
          }
          case "prevStory": {
            t.jumpToStory(-1);
            break;
          }
          case "nextComponent": {
            t.jumpToComponent(1);
            break;
          }
          case "prevComponent": {
            t.jumpToComponent(-1);
            break;
          }
          case "fullScreen": {
            t.toggleFullscreen();
            break;
          }
          case "togglePanel": {
            t.togglePanel();
            break;
          }
          case "toggleNav": {
            t.toggleNav();
            break;
          }
          case "toolbar": {
            t.toggleToolbar();
            break;
          }
          case "panelPosition": {
            t.getIsFullscreen() && t.toggleFullscreen(!1), t.getIsPanelShown() || t.togglePanel(!0), t.togglePanelPosition();
            break;
          }
          case "aboutPage": {
            t.navigate("/settings/about");
            break;
          }
          case "shortcutsPage": {
            t.navigate("/settings/shortcuts");
            break;
          }
          case "collapseAll": {
            t.emit(h2);
            break;
          }
          case "expandAll": {
            t.emit(m2);
            break;
          }
          case "remount": {
            t.emit(a2, { storyId: p });
            break;
          }
          default:
            BE[l].action();
            break;
        }
    }
  }, { shortcuts: o = mc } = e.getState(), i = {
    // Any saved shortcuts that are still in our set of defaults
    shortcuts: zE(mc).reduce(
      (l, u) => ({ ...l, [u]: o[u] || mc[u] }),
      mc
    )
  };
  return { api: n, state: i, init: /* @__PURE__ */ a(() => {
    VN.addEventListener("keydown", (l) => {
      i0e(l) || n.handleKeydownEvent(l);
    }), r.channel?.on(l2, (l) => {
      n.handleKeydownEvent(l.event);
    });
  }, "initModule") };
}, "init");

// src/manager-api/modules/stories.ts
var jE = {};
de(jE, {
  init: () => p0e
});
qe();
Ht();
var { fetch: l0e } = z, u0e = "./index.json", c0e = ["enableShortcuts", "theme", "showRoots"];
function $E(e) {
  if (!e || typeof e == "string")
    return e;
  let t = { ...e };
  return c0e.forEach((r) => {
    r in t && delete t[r];
  }), t;
}
a($E, "removeRemovedOptions");
var p0e = /* @__PURE__ */ a(({
  fullAPI: e,
  store: t,
  navigate: r,
  provider: n,
  storyId: o,
  viewMode: i,
  docsOptions: s = {}
}) => {
  let l = {
    storyId: Hf,
    getData: /* @__PURE__ */ a((c, p) => {
      let h = l.resolveStory(c, p);
      if (h?.type === "story" || h?.type === "docs")
        return h;
    }, "getData"),
    isPrepared: /* @__PURE__ */ a((c, p) => {
      let h = l.getData(c, p);
      return h ? h.type === "story" ? h.prepared : !0 : !1;
    }, "isPrepared"),
    resolveStory: /* @__PURE__ */ a((c, p) => {
      let { refs: h, index: m } = t.getState();
      if (!(p && !h[p]))
        return p ? h?.[p]?.index?.[c] ?? void 0 : m ? m[c] : void 0;
    }, "resolveStory"),
    getCurrentStoryData: /* @__PURE__ */ a(() => {
      let { storyId: c, refId: p } = t.getState();
      return l.getData(c, p);
    }, "getCurrentStoryData"),
    getParameters: /* @__PURE__ */ a((c, p) => {
      let { storyId: h, refId: m } = typeof c == "string" ? { storyId: c, refId: void 0 } : c, g = l.getData(h, m);
      if (["story", "docs"].includes(g?.type)) {
        let { parameters: w } = g;
        if (w)
          return p ? w[p] : w;
      }
      return null;
    }, "getParameters"),
    getCurrentParameter: /* @__PURE__ */ a((c) => {
      let { storyId: p, refId: h } = t.getState();
      return l.getParameters({ storyId: p, refId: h }, c) || void 0;
    }, "getCurrentParameter"),
    jumpToComponent: /* @__PURE__ */ a((c) => {
      let { index: p, storyId: h, refs: m, refId: g } = t.getState();
      if (!l.getData(h, g))
        return;
      let v = g ? m[g].index || {} : p;
      if (!v)
        return;
      let S = l.findSiblingStoryId(h, v, c, !0);
      S && l.selectStory(S, void 0, { ref: g });
    }, "jumpToComponent"),
    jumpToStory: /* @__PURE__ */ a((c) => {
      let { index: p, storyId: h, refs: m, refId: g } = t.getState(), w = l.getData(h, g);
      if (!w)
        return;
      let v = w.refId ? m[w.refId].index : p;
      if (!v)
        return;
      let S = l.findSiblingStoryId(h, v, c, !1);
      S && l.selectStory(S, void 0, { ref: g });
    }, "jumpToStory"),
    selectFirstStory: /* @__PURE__ */ a(() => {
      let { index: c } = t.getState();
      if (!c)
        return;
      let p = Object.keys(c).find((h) => c[h].type === "story");
      if (p) {
        l.selectStory(p);
        return;
      }
      r("/");
    }, "selectFirstStory"),
    selectStory: /* @__PURE__ */ a((c = void 0, p = void 0, h = {}) => {
      let { ref: m } = h, { storyId: g, index: w, refs: v } = t.getState(), S = m ? v[m].index : w, E = g?.split("--", 2)[0];
      if (S)
        if (p)
          if (c) {
            let y = m ? `${m}_${Hf(c, p)}` : Hf(c, p);
            if (S[y])
              l.selectStory(y, void 0, h);
            else {
              let b = S[mo(c)];
              if (b?.type === "component") {
                let x = b.children.find((R) => S[R].name === p);
                x && l.selectStory(x, void 0, h);
              }
            }
          } else {
            let y = Hf(E, p);
            l.selectStory(y, void 0, h);
          }
        else {
          let y = c ? S[c] || S[mo(c)] : S[E];
          if (!y)
            throw new Error(`Unknown id or title: '${c}'`);
          t.setState({
            settings: { ...t.getState().settings, lastTrackedStoryId: y.id }
          });
          let b = l.findLeafEntry(S, y.id), x = b.refId ? `${b.refId}_${b.id}` : b.id;
          r(`/${b.type}/${x}`);
        }
    }, "selectStory"),
    findLeafEntry(c, p) {
      let h = c[p];
      if (h.type === "docs" || h.type === "story")
        return h;
      let m = h.children[0];
      return l.findLeafEntry(c, m);
    },
    findLeafStoryId(c, p) {
      return l.findLeafEntry(c, p)?.id;
    },
    findSiblingStoryId(c, p, h, m) {
      if (m) {
        let v = FN(p), S = v.findIndex((E) => E.includes(c));
        return S === v.length - 1 && h > 0 || S === 0 && h < 0 ? void 0 : v[S + h] ? v[S + h][0] : void 0;
      }
      let g = LN(p), w = g.indexOf(c);
      if (!(w === g.length - 1 && h > 0) && !(w === 0 && h < 0))
        return g[w + h];
    },
    updateStoryArgs: /* @__PURE__ */ a((c, p) => {
      let { id: h, refId: m } = c;
      n.channel?.emit(b2, {
        storyId: h,
        updatedArgs: p,
        options: { target: m }
      });
    }, "updateStoryArgs"),
    resetStoryArgs: /* @__PURE__ */ a((c, p) => {
      let { id: h, refId: m } = c;
      n.channel?.emit(u2, {
        storyId: h,
        argNames: p,
        options: { target: m }
      });
    }, "resetStoryArgs"),
    fetchIndex: /* @__PURE__ */ a(async () => {
      try {
        let c = await l0e(u0e);
        if (c.status !== 200)
          throw new Error(await c.text());
        let p = await c.json();
        if (p.v < 3) {
          ge.warn(`Skipping story index with version v${p.v}, awaiting SET_STORIES.`);
          return;
        }
        await l.setIndex(p);
      } catch (c) {
        await t.setState({ indexError: c });
      }
    }, "fetchIndex"),
    // The story index we receive on SET_INDEX is "prepared" in that it has parameters
    // The story index we receive on fetchStoryIndex is not, but all the prepared fields are optional
    // so we can cast one to the other easily enough
    setIndex: /* @__PURE__ */ a(async (c) => {
      let { filteredIndex: p, index: h, status: m, filters: g } = t.getState(), w = dc(c, {
        provider: n,
        docsOptions: s,
        status: m,
        filters: g
      }), v = dc(c, {
        provider: n,
        docsOptions: s,
        status: m,
        filters: {}
      });
      await t.setState({
        internal_index: c,
        filteredIndex: DE(w, p),
        index: DE(v, h),
        indexError: void 0
      });
    }, "setIndex"),
    // FIXME: is there a bug where filtered stories get added back in on updateStory???
    updateStory: /* @__PURE__ */ a(async (c, p, h) => {
      if (h) {
        let { id: m, index: g, filteredIndex: w } = h;
        g[c] = {
          ...g[c],
          ...p
        }, w[c] = {
          ...w[c],
          ...p
        }, await e.updateRef(m, { index: g, filteredIndex: w });
      } else {
        let { index: m, filteredIndex: g } = t.getState();
        m && (m[c] = {
          ...m[c],
          ...p
        }), g && (g[c] = {
          ...g[c],
          ...p
        }), (m || g) && await t.setState({ index: m, filteredIndex: g });
      }
    }, "updateStory"),
    updateDocs: /* @__PURE__ */ a(async (c, p, h) => {
      if (h) {
        let { id: m, index: g, filteredIndex: w } = h;
        g[c] = {
          ...g[c],
          ...p
        }, w[c] = {
          ...w[c],
          ...p
        }, await e.updateRef(m, { index: g, filteredIndex: w });
      } else {
        let { index: m, filteredIndex: g } = t.getState();
        m && (m[c] = {
          ...m[c],
          ...p
        }), g && (g[c] = {
          ...g[c],
          ...p
        }), (m || g) && await t.setState({ index: m, filteredIndex: g });
      }
    }, "updateDocs"),
    setPreviewInitialized: /* @__PURE__ */ a(async (c) => {
      c ? e.updateRef(c.id, { previewInitialized: !0 }) : t.setState({ previewInitialized: !0 });
    }, "setPreviewInitialized"),
    getCurrentStoryStatus: /* @__PURE__ */ a(() => {
      let { status: c, storyId: p } = t.getState();
      return c[p];
    }, "getCurrentStoryStatus"),
    /* EXPERIMENTAL APIs */
    experimental_updateStatus: /* @__PURE__ */ a(async (c, p) => {
      let { status: h, internal_index: m } = t.getState(), g = { ...h }, w = typeof p == "function" ? p(h) : p;
      if (!(!c || Object.keys(w).length === 0) && (Object.entries(w).forEach(([v, S]) => {
        !v || typeof S != "object" || (g[v] = { ...g[v] || {} }, S === null ? delete g[v][c] : g[v][c] = S, Object.keys(g[v]).length === 0 &&
        delete g[v]);
      }), await t.setState({ status: g }, { persistence: "session" }), m)) {
        await l.setIndex(m);
        let v = await e.getRefs();
        Object.entries(v).forEach(([S, { internal_index: E, ...y }]) => {
          e.setRef(S, { ...y, storyIndex: E }, !0);
        });
      }
    }, "experimental_updateStatus"),
    experimental_setFilter: /* @__PURE__ */ a(async (c, p) => {
      await t.setState({ filters: { ...t.getState().filters, [c]: p } });
      let { internal_index: h } = t.getState();
      if (!h)
        return;
      await l.setIndex(h);
      let m = await e.getRefs();
      Object.entries(m).forEach(([g, { internal_index: w, ...v }]) => {
        e.setRef(g, { ...v, storyIndex: w }, !0);
      }), n.channel?.emit(p2, { id: c });
    }, "experimental_setFilter")
  };
  n.channel?.on(
    w2,
    /* @__PURE__ */ a(function({
      storyId: p,
      viewMode: h
    }) {
      let { sourceType: m } = nr(this, e);
      if (m === "local") {
        let g = t.getState(), w = g.path === "/" || g.viewMode === "story" || g.viewMode === "docs", v = g.viewMode && g.storyId, S = g.viewMode !==
        h || g.storyId !== p, { type: E } = g.index?.[g.storyId] || {};
        w && (v && S && !(E === "root" || E === "component" || E === "group") ? n.channel?.emit(Rc, {
          storyId: g.storyId,
          viewMode: g.viewMode
        }) : S && r(`/${h}/${p}`));
      }
    }, "handler")
  ), n.channel?.on(n2, /* @__PURE__ */ a(function() {
    let { ref: p } = nr(this, e);
    l.setPreviewInitialized(p);
  }, "handler")), n.channel?.on(Ac, /* @__PURE__ */ a(function() {
    let { sourceType: p } = nr(this, e);
    if (p === "local") {
      let h = l.getCurrentParameter("options");
      h && e.setOptions($E(h));
    }
  }, "handler")), n.channel?.on(
    y2,
    /* @__PURE__ */ a(function({ id: p, ...h }) {
      let { ref: m, sourceType: g } = nr(this, e);
      if (l.updateStory(p, { ...h, prepared: !0 }, m), !m && !t.getState().hasCalledSetOptions) {
        let { options: w } = h.parameters;
        e.setOptions($E(w)), t.setState({ hasCalledSetOptions: !0 });
      }
      if (g === "local") {
        let { storyId: w, index: v, refId: S } = t.getState();
        if (!v)
          return;
        let E = Array.from(
          /* @__PURE__ */ new Set([
            l.findSiblingStoryId(w, v, 1, !0),
            l.findSiblingStoryId(w, v, -1, !0)
          ])
        ).filter(Boolean);
        n.channel?.emit(s2, {
          ids: E,
          options: { target: S }
        });
      }
    }, "handler")
  ), n.channel?.on(
    o2,
    /* @__PURE__ */ a(function({ id: p, ...h }) {
      let { ref: m } = nr(this, e);
      l.updateStory(p, { ...h, prepared: !0 }, m);
    }, "handler")
  ), n.channel?.on(d2, /* @__PURE__ */ a(function(p) {
    let { ref: h } = nr(this, e);
    if (h)
      e.setRef(h.id, { ...h, storyIndex: p }, !0);
    else {
      l.setIndex(p);
      let m = l.getCurrentParameter("options");
      e.setOptions($E(m));
    }
  }, "handler")), n.channel?.on(Cc, /* @__PURE__ */ a(function(p) {
    let { ref: h } = nr(this, e), m = p.v ? PN(p) : p.stories;
    if (h)
      e.setRef(h.id, { ...h, setStoriesData: m }, !0);
    else
      throw new Error("Cannot call SET_STORIES for local frame");
  }, "handler")), n.channel?.on(
    c2,
    /* @__PURE__ */ a(function({
      kind: p,
      title: h = p,
      story: m,
      name: g = m,
      storyId: w,
      ...v
    }) {
      let { ref: S } = nr(this, e);
      S ? e.selectStory(w || h, g, { ...v, ref: S.id }) : e.selectStory(w || h, g, v);
    }, "handler")
  ), n.channel?.on(
    Dc,
    /* @__PURE__ */ a(function({ storyId: p, args: h }) {
      let { ref: m } = nr(this, e);
      l.updateStory(p, { args: h }, m);
    }, "handleStoryArgsUpdated")
  ), n.channel?.on(r2, /* @__PURE__ */ a(function(p) {
    let { ref: h } = nr(this, e);
    l.setPreviewInitialized(h);
  }, "handleConfigError")), n.channel?.on(v2, /* @__PURE__ */ a(function(p) {
    let { ref: h } = nr(this, e);
    l.setPreviewInitialized(h);
  }, "handleConfigError")), n.channel?.on(ra, () => {
    let c = n.getConfig();
    c?.sidebar?.filters && t.setState({
      filters: {
        ...t.getState().filters,
        ...c?.sidebar?.filters
      }
    });
  });
  let u = n.getConfig();
  return {
    api: l,
    state: {
      storyId: o,
      viewMode: i,
      hasCalledSetOptions: !1,
      previewInitialized: !1,
      status: {},
      filters: u?.sidebar?.filters || {}
    },
    init: /* @__PURE__ */ a(async () => {
      n.channel?.on(g2, () => l.fetchIndex()), await l.fetchIndex();
    }, "init")
  };
}, "init");

// src/manager-api/modules/url.ts
var WE = {};
de(WE, {
  init: () => d0e
});
qe();
var { window: VE } = z, bs = /* @__PURE__ */ a((e) => {
  if (e === "true" || e === "1")
    return !0;
  if (e === "false" || e === "0")
    return !1;
}, "parseBoolean"), UE, f0e = /* @__PURE__ */ a(({
  state: { location: e, path: t, viewMode: r, storyId: n },
  singleStory: o
}) => {
  let {
    full: i,
    panel: s,
    nav: l,
    shortcuts: u,
    addonPanel: c,
    tabs: p,
    path: h,
    ...m
    // the rest gets passed to the iframe
  } = Yf(e), g, w, v;
  bs(i) === !0 ? (g = 0, w = 0, v = 0) : bs(i) === !1 && (g = Mr.layout.navSize, w = Mr.layout.bottomPanelHeight, v = Mr.layout.rightPanelWidth),
  o || (bs(l) === !0 && (g = Mr.layout.navSize), bs(l) === !1 && (g = 0)), bs(s) === !1 && (w = 0, v = 0);
  let S = {
    navSize: g,
    bottomPanelHeight: w,
    rightPanelWidth: v,
    panelPosition: ["right", "bottom"].includes(s) ? s : void 0,
    showTabs: bs(p)
  }, E = {
    enableShortcuts: bs(u)
  }, y = c || void 0, b = n, x = pn(UE, m) ? UE : m;
  return UE = x, { viewMode: r, layout: S, ui: E, selectedPanel: y, location: e, path: t, customQueryParams: x, storyId: b };
}, "initialUrlSupport"), d0e = /* @__PURE__ */ a((e) => {
  let { store: t, navigate: r, provider: n, fullAPI: o } = e, i = /* @__PURE__ */ a((c, p = {}, h = {}) => {
    let m = Object.entries(p).filter(([, w]) => w).sort(([w], [v]) => w < v ? -1 : 1).map(([w, v]) => `${w}=${v}`), g = [c, ...m].join("&");
    return r(g, h);
  }, "navigateTo"), s = {
    getQueryParam(c) {
      let { customQueryParams: p } = t.getState();
      return p ? p[c] : void 0;
    },
    getUrlState() {
      let { location: c, path: p, customQueryParams: h, storyId: m, url: g, viewMode: w } = t.getState();
      return {
        path: p,
        hash: c.hash ?? "",
        queryParams: h,
        storyId: m,
        url: g,
        viewMode: w
      };
    },
    setQueryParams(c) {
      let { customQueryParams: p } = t.getState(), h = {}, m = {
        ...p,
        ...Object.entries(c).reduce((g, [w, v]) => (v !== null && (g[w] = v), g), h)
      };
      pn(p, m) || (t.setState({ customQueryParams: m }), n.channel?.emit(E2, m));
    },
    applyQueryParams(c, p) {
      let { path: h, hash: m = "", queryParams: g } = s.getUrlState();
      i(`${h}${m}`, { ...g, ...c }, p), s.setQueryParams(c);
    },
    navigateUrl(c, p) {
      r(c, { plain: !0, ...p });
    }
  }, l = /* @__PURE__ */ a(() => {
    let { path: c, hash: p = "", queryParams: h, viewMode: m } = s.getUrlState();
    if (m !== "story")
      return;
    let g = o.getCurrentStoryData();
    if (g?.type !== "story")
      return;
    let { args: w, initialArgs: v } = g, S = Cg(v, w);
    i(`${c}${p}`, { ...h, args: S }, { replace: !0 }), s.setQueryParams({ args: S });
  }, "updateArgsParam");
  n.channel?.on(Rc, () => l());
  let u;
  return n.channel?.on(Dc, () => {
    "requestIdleCallback" in VE ? (u && VE.cancelIdleCallback(u), u = VE.requestIdleCallback(l, { timeout: 1e3 })) : (u && clearTimeout(u), setTimeout(
    l, 100));
  }), n.channel?.on(xc, ({ userGlobals: c, initialGlobals: p }) => {
    let { path: h, hash: m = "", queryParams: g } = s.getUrlState(), w = Cg(p, c);
    i(`${h}${m}`, { ...g, globals: w }, { replace: !0 }), s.setQueryParams({ globals: w });
  }), n.channel?.on(i2, (c, p) => {
    s.navigateUrl(c, p);
  }), {
    api: s,
    state: f0e(e)
  };
}, "init");

// src/manager-api/modules/versions.ts
var pb = {};
de(pb, {
  init: () => phe
});
qe();
var BB = _(Kn(), 1), mn = _(OB(), 1);

// src/manager-api/version.ts
var NB = "8.6.15";

// src/manager-api/modules/versions.ts
var { VERSIONCHECK: uhe } = z, MB = (0, BB.default)(1)(() => {
  try {
    return { ...JSON.parse(uhe).data || {} };
  } catch {
    return {};
  }
}), che = /* @__PURE__ */ a((e) => e.includes("vue") ? "vue" : e, "normalizeRendererName"), phe = /* @__PURE__ */ a(({ store: e }) => {
  let { dismissedVersionNotification: t } = e.getState(), r = {
    versions: {
      current: {
        version: NB
      },
      ...MB()
    },
    dismissedVersionNotification: t
  }, n = {
    getCurrentVersion: /* @__PURE__ */ a(() => {
      let {
        versions: { current: i }
      } = e.getState();
      return i;
    }, "getCurrentVersion"),
    getLatestVersion: /* @__PURE__ */ a(() => {
      let {
        versions: { latest: i, next: s, current: l }
      } = e.getState();
      return l && mn.default.prerelease(l.version) && s ? i && mn.default.gt(i.version, s.version) ? i : s : i;
    }, "getLatestVersion"),
    // TODO: Move this to it's own "info" module later
    getDocsUrl: /* @__PURE__ */ a(({ subpath: i, versioned: s, renderer: l }) => {
      let {
        versions: { latest: u, current: c }
      } = e.getState(), p = "https://storybook.js.org/docs/";
      if (s && c?.version && u?.version) {
        let g = mn.default.diff(u.version, c.version);
        g === "patch" || g === null || (p += `${mn.default.major(c.version)}.${mn.default.minor(c.version)}/`);
      }
      let [h, m] = i?.split("#") || [];
      if (h && (p += `${h}/`), l && typeof z.STORYBOOK_RENDERER < "u") {
        let g = z.STORYBOOK_RENDERER;
        g && (p += `?renderer=${che(g)}`);
      }
      return m && (p += `#${m}`), p;
    }, "getDocsUrl"),
    versionUpdateAvailable: /* @__PURE__ */ a(() => {
      let i = n.getLatestVersion(), s = n.getCurrentVersion();
      if (i) {
        if (!i.version || !s.version)
          return !0;
        let u = !!mn.default.prerelease(s.version) ? `${mn.default.major(s.version)}.${mn.default.minor(s.version)}.${mn.default.patch(
          s.version
        )}` : s.version, c = mn.default.diff(u, i.version);
        return mn.default.gt(i.version, u) && c !== "patch" && !c.includes("pre");
      }
      return !1;
    }, "versionUpdateAvailable")
  };
  return { init: /* @__PURE__ */ a(async () => {
    let { versions: i = {} } = e.getState(), { latest: s, next: l } = MB();
    await e.setState({
      versions: { ...i, latest: s, next: l }
    });
  }, "initModule"), state: r, api: n };
}, "init");

// src/manager-api/modules/whatsnew.tsx
var fb = {};
de(fb, {
  init: () => fhe
});
var HB = _(F(), 1);
qe();
var zB = "whats-new", fhe = /* @__PURE__ */ a(({ fullAPI: e, store: t, provider: r }) => {
  let n = {
    whatsNewData: void 0
  };
  function o(c) {
    t.setState({ whatsNewData: c }), n.whatsNewData = c;
  }
  a(o, "setWhatsNewState");
  let i = {
    isWhatsNewUnread() {
      return n.whatsNewData?.status === "SUCCESS" && !n.whatsNewData.postIsRead;
    },
    whatsNewHasBeenRead() {
      n.whatsNewData?.status === "SUCCESS" && (l({ lastReadPost: n.whatsNewData.url }), o({ ...n.whatsNewData, postIsRead: !0 }), e.clearNotification(
      zB));
    },
    toggleWhatsNewNotifications() {
      n.whatsNewData?.status === "SUCCESS" && (o({
        ...n.whatsNewData,
        disableWhatsNewNotifications: !n.whatsNewData.disableWhatsNewNotifications
      }), r.channel?.emit(D2, {
        disableWhatsNewNotifications: n.whatsNewData.disableWhatsNewNotifications
      }));
    }
  };
  function s() {
    return r.channel?.emit(x2), new Promise(
      (c) => r.channel?.once(
        R2,
        ({ data: p }) => c(p)
      )
    );
  }
  a(s, "getLatestWhatsNewPost");
  function l(c) {
    r.channel?.emit(C2, c);
  }
  return a(l, "setWhatsNewCache"), { init: /* @__PURE__ */ a(async () => {
    if (z.CONFIG_TYPE !== "DEVELOPMENT")
      return;
    let c = await s();
    o(c);
    let p = e.getUrlState();
    !(p?.path === "/onboarding" || p.queryParams?.onboarding === "true") && c.status === "SUCCESS" && !c.disableWhatsNewNotifications && c.showNotification &&
    e.addNotification({
      id: zB,
      link: "/settings/whats-new",
      content: {
        headline: c.title,
        subHeadline: "Learn what's new in Storybook"
      },
      icon: /* @__PURE__ */ HB.default.createElement(Y4, null),
      onClear({ dismissed: m }) {
        m && l({ lastDismissedPost: c.url });
      }
    });
  }, "initModule"), state: n, api: i };
}, "init");

// src/manager-api/store.ts
var wc = _($B(), 1);

// src/manager-api/lib/store-setup.ts
var jB = /* @__PURE__ */ a((e) => {
  e.fn("set", function(t, r) {
    return e.set(
      // @ts-expect-error('this' implicitly has type 'any')
      this._area,
      // @ts-expect-error('this' implicitly has type 'any')
      this._in(t),
      al(r, { maxDepth: 50, allowFunction: !1 })
    );
  }), e.fn("get", function(t, r) {
    let n = e.get(this._area, this._in(t));
    return n !== null ? il(n) : r || n;
  });
}, "default");

// src/manager-api/store.ts
jB(wc.default._);
var VB = "@storybook/manager/store";
function db(e) {
  return e.get(VB) || {};
}
a(db, "get");
function dhe(e, t) {
  return e.set(VB, t);
}
a(dhe, "set");
function hhe(e, t) {
  let r = db(e);
  return dhe(e, { ...r, ...t });
}
a(hhe, "update");
var hb = class hb {
  constructor({ setState: t, getState: r }) {
    this.upstreamSetState = t, this.upstreamGetState = r;
  }
  // The assumption is that this will be called once, to initialize the React state
  // when the module is instantiated
  getInitialState(t) {
    return { ...t, ...db(wc.default.local), ...db(wc.default.session) };
  }
  getState() {
    return this.upstreamGetState();
  }
  async setState(t, r, n) {
    let o, i;
    typeof r == "function" ? (o = r, i = n) : i = r;
    let { persistence: s = "none" } = i || {}, l = {}, u = {};
    typeof t == "function" ? l = /* @__PURE__ */ a((p) => (u = t(p), u), "patch") : (l = t, u = l);
    let c = await new Promise((p) => {
      this.upstreamSetState(l, () => {
        p(this.getState());
      });
    });
    if (s !== "none") {
      let p = s === "session" ? wc.default.session : wc.default.local;
      await hhe(p, u);
    }
    return o && o(c), c;
  }
};
a(hb, "Store");
var c0 = hb;

// src/manager-api/lib/request-response.ts
var mb = class mb extends Error {
  constructor(r, n) {
    super(r);
    this.payload = void 0;
    this.payload = n;
  }
};
a(mb, "RequestResponseError");
var p0 = mb, mhe = /* @__PURE__ */ a((e, t, r, n, o = 5e3) => {
  let i;
  return new Promise((s, l) => {
    let u = {
      id: Math.random().toString(16).slice(2),
      payload: n
    }, c = /* @__PURE__ */ a((p) => {
      p.id === u.id && (clearTimeout(i), e.off(r, c), p.success ? s(p.payload) : l(new p0(p.error, p.payload)));
    }, "responseHandler");
    e.emit(t, u), e.on(r, c), i = setTimeout(() => {
      e.off(r, c), l(new p0("Timed out waiting for response"));
    }, o);
  });
}, "experimental_requestResponse");

// src/shared/universal-store/use-universal-store-manager.ts
var f0 = _(F(), 1);
var UB = /* @__PURE__ */ a((e, t) => {
  let r = f0.useCallback(
    (i) => e.onStateChange((s, l) => {
      if (!t) {
        i();
        return;
      }
      let u = t(s), c = t(l);
      !rr(u, c) && i();
    }),
    [e, t]
  ), n = f0.useCallback(
    () => t ? t(e.getState()) : e.getState(),
    [e, t]
  );
  return [f0.useSyncExternalStore(r, n), e.setState];
}, "useUniversalStore");

// src/manager-api/root.tsx
var { ActiveTabs: ghe } = Lg;
var d0 = CN({ api: void 0, state: Pg({}) }), AE = /* @__PURE__ */ a((...e) => DN({}, ...e), "combineParameters"), Qg = class Qg extends he.Component {
  constructor(r) {
    super(r);
    this.api = {};
    this.initModules = /* @__PURE__ */ a(() => {
      this.modules.forEach((r) => {
        "init" in r && r.init();
      });
    }, "initModules");
    let {
      location: n,
      path: o,
      refId: i,
      viewMode: s = r.docsOptions.docsMode ? "docs" : r.viewMode,
      singleStory: l,
      storyId: u,
      docsOptions: c,
      navigate: p
    } = r, h = new c0({
      getState: /* @__PURE__ */ a(() => this.state, "getState"),
      setState: /* @__PURE__ */ a((E, y) => (this.setState(E, () => y(this.state)), this.state), "setState")
    }), m = { location: n, path: o, viewMode: s, singleStory: l, storyId: u, refId: i }, g = { docsOptions: c };
    this.state = h.getInitialState(Pg({ ...m, ...g }));
    let w = {
      navigate: p,
      store: h,
      provider: r.provider
    };
    this.modules = [
      LE,
      xE,
      bE,
      Lg,
      FE,
      RE,
      OE,
      HE,
      jE,
      TE,
      IE,
      WE,
      pb,
      fb
    ].map(
      (E) => E.init({ ...m, ...g, ...w, state: this.state, fullAPI: this.api })
    );
    let v = Pg(this.state, ...this.modules.map((E) => E.state)), S = Object.assign(this.api, { navigate: p }, ...this.modules.map((E) => E.api));
    this.state = v, this.api = S;
  }
  static getDerivedStateFromProps(r, n) {
    return n.path !== r.path ? {
      ...n,
      location: r.location,
      path: r.path,
      refId: r.refId,
      viewMode: r.viewMode,
      storyId: r.storyId
    } : null;
  }
  shouldComponentUpdate(r, n) {
    let o = this.props, i = this.state;
    return o.path !== r.path || !rr(i, n);
  }
  render() {
    let { children: r } = this.props, n = {
      state: this.state,
      api: this.api
    };
    return /* @__PURE__ */ he.default.createElement(vhe, { effect: this.initModules }, /* @__PURE__ */ he.default.createElement(d0.Provider,
    { value: n }, /* @__PURE__ */ he.default.createElement(WB, null, r)));
  }
};
a(Qg, "ManagerProvider"), Qg.displayName = "Manager";
var gb = Qg, vhe = /* @__PURE__ */ a(({ children: e, effect: t }) => (he.default.useEffect(t, []), e), "EffectOnMount"), yhe = /* @__PURE__ */ a(
(e) => e, "defaultFilter");
function WB({
  // @ts-expect-error (Converted from ts-ignore)
  filter: e = yhe,
  children: t
}) {
  let r = (0, he.useContext)(d0), n = (0, he.useRef)(t), o = (0, he.useRef)(e);
  if (typeof n.current != "function")
    return /* @__PURE__ */ he.default.createElement(he.Fragment, null, n.current);
  let i = o.current(r), s = (0, he.useMemo)(() => [...Object.entries(i).reduce((l, u) => l.concat(u), [])], [r.state]);
  return (0, he.useMemo)(() => {
    let l = n.current;
    return /* @__PURE__ */ he.default.createElement(l, { ...i });
  }, s);
}
a(WB, "ManagerConsumer");
function whe() {
  let { state: e } = (0, he.useContext)(d0);
  return {
    ...e,
    // deprecated fields for back-compat
    get storiesHash() {
      return To("state.storiesHash is deprecated, please use state.index"), this.index || {};
    },
    get storiesConfigured() {
      return To("state.storiesConfigured is deprecated, please use state.previewInitialized"), this.previewInitialized;
    },
    get storiesFailed() {
      return To("state.storiesFailed is deprecated, please use state.indexError"), this.indexError;
    }
  };
}
a(whe, "useStorybookState");
function ta() {
  let { api: e } = (0, he.useContext)(d0);
  return e;
}
a(ta, "useStorybookApi");
function qB(e, t) {
  return typeof e > "u" ? t : e;
}
a(qB, "orDefault");
var GB = /* @__PURE__ */ a((e, t = []) => {
  let r = ta();
  return (0, he.useEffect)(() => (Object.entries(e).forEach(([n, o]) => r.on(n, o)), () => {
    Object.entries(e).forEach(([n, o]) => r.off(n, o));
  }), t), r.emit;
}, "useChannel");
function She(e) {
  return ta().isPrepared(e);
}
a(She, "useStoryPrepared");
function Ehe(e, t) {
  let n = ta().getCurrentParameter(e);
  return qB(n, t);
}
a(Ehe, "useParameter");
globalThis.STORYBOOK_ADDON_STATE = {};
var { STORYBOOK_ADDON_STATE: yo } = globalThis;
function YB(e, t) {
  let r = ta(), n = r.getAddonState(e) || yo[e], o = qB(
    n,
    yo[e] ? yo[e] : t
  ), i = !1;
  o === t && t !== void 0 && (yo[e] = t, i = !0), (0, he.useEffect)(() => {
    i && r.setAddonState(e, t);
  }, [i]);
  let s = (0, he.useCallback)(
    async (p, h) => {
      await r.setAddonState(e, p, h);
      let m = r.getAddonState(e);
      return yo[e] = m, m;
    },
    [r, e]
  ), l = (0, he.useMemo)(() => {
    let p = {
      [`${w0}-client-${e}`]: s,
      [`${si}-client-${e}`]: s
    }, h = {
      [Cc]: async () => {
        let m = r.getAddonState(e);
        m ? (yo[e] = m, r.emit(`${si}-manager-${e}`, m)) : yo[e] ? (await s(yo[e]), r.emit(`${si}-manager-${e}`, yo[e])) : t !== void 0 && (await s(
        t), yo[e] = t, r.emit(`${si}-manager-${e}`, t));
      },
      [Ac]: () => {
        let m = r.getAddonState(e);
        m !== void 0 && r.emit(`${si}-manager-${e}`, m);
      }
    };
    return {
      ...p,
      ...h
    };
  }, [e]), u = GB(l), c = (0, he.useCallback)(
    async (p, h) => {
      await s(p, h);
      let m = r.getAddonState(e);
      u(`${w0}-manager-${e}`, m);
    },
    [r, u, s, e]
  );
  return [o, c];
}
a(YB, "useSharedState");
function bhe(e, t) {
  return YB(e, t);
}
a(bhe, "useAddonState");
function xhe() {
  let { getCurrentStoryData: e, updateStoryArgs: t, resetStoryArgs: r } = ta(), n = e(), o = n?.type === "story" ? n.args : {}, i = n?.type ===
  "story" ? n.initialArgs : {}, s = (0, he.useCallback)(
    (u) => t(n, u),
    [n, t]
  ), l = (0, he.useCallback)(
    (u) => r(n, u),
    [n, r]
  );
  return [o, s, l, i];
}
a(xhe, "useArgs");
function Rhe() {
  let e = ta();
  return [e.getGlobals(), e.updateGlobals, e.getStoryGlobals(), e.getUserGlobals()];
}
a(Rhe, "useGlobals");
function Che() {
  return ta().getGlobalTypes();
}
a(Che, "useGlobalTypes");
function Dhe() {
  let { getCurrentStoryData: e } = ta();
  return e();
}
a(Dhe, "useCurrentStory");
function Ahe() {
  let e = Dhe();
  return e?.type === "story" && e.argTypes || {};
}
a(Ahe, "useArgTypes");
var _he = Zf;

// src/manager-errors.ts
var g0 = {};
de(g0, {
  Category: () => KB,
  ProviderDoesNotExtendBaseProviderError: () => vb,
  UncaughtManagerError: () => m0
});
var KB = /* @__PURE__ */ ((u) => (u.MANAGER_UNCAUGHT = "MANAGER_UNCAUGHT", u.MANAGER_UI = "MANAGER_UI", u.MANAGER_API = "MANAGER_API", u.MANAGER_CLIENT_LOGGER =
"MANAGER_CLIENT-LOGGER", u.MANAGER_CHANNELS = "MANAGER_CHANNELS", u.MANAGER_CORE_EVENTS = "MANAGER_CORE-EVENTS", u.MANAGER_ROUTER = "MANAGER\
_ROUTER", u.MANAGER_THEMING = "MANAGER_THEMING", u))(KB || {}), yb = class yb extends zf {
  constructor() {
    super({
      category: "MANAGER_UI",
      code: 1,
      message: "The Provider passed into Storybook's UI is not extended from the base Provider. Please check your Provider implementation."
    });
  }
};
a(yb, "ProviderDoesNotExtendBaseProviderError");
var vb = yb, wb = class wb extends zf {
  constructor(r) {
    super({
      category: "MANAGER_UNCAUGHT",
      code: 1,
      message: r.error.message
    });
    this.data = r;
    this.stack = r.error.stack;
  }
};
a(wb, "UncaughtManagerError");
var m0 = wb;

// src/manager/globals/runtime.ts
var XB = {
  react: The,
  "react-dom": Ihe,
  "react-dom/client": Phe,
  "@storybook/icons": ef,
  "storybook/internal/components": Wf,
  "@storybook/components": Wf,
  "@storybook/core/components": Wf,
  "storybook/internal/manager-api": h0,
  "@storybook/manager-api": h0,
  "@storybook/core/manager-api": h0,
  "storybook/internal/router": Jf,
  "@storybook/router": Jf,
  "@storybook/core/router": Jf,
  "storybook/internal/theming": Vp,
  "@storybook/theming": Vp,
  "@storybook/core/theming": Vp,
  "storybook/internal/theming/create": Bp,
  "@storybook/theming/create": Bp,
  "@storybook/core/theming/create": Bp,
  "storybook/internal/channels": Rp,
  "@storybook/channels": Rp,
  "@storybook/core/channels": Rp,
  "storybook/internal/core-errors": na,
  "@storybook/core-events": na,
  "@storybook/core/core-events": na,
  "storybook/internal/types": e0,
  "@storybook/types": e0,
  "@storybook/core/types": e0,
  "storybook/internal/manager-errors": g0,
  "@storybook/core-events/manager-errors": g0,
  "@storybook/core/manager-errors": g0,
  "storybook/internal/client-logger": Sp,
  "@storybook/client-logger": Sp,
  "@storybook/core/client-logger": Sp
};

// src/manager/utils/prepareForTelemetry.ts
qe();
var JB = _(QB(), 1);
var bb;
function khe() {
  return bb || (bb = new JB.default(z.navigator?.userAgent).getBrowserInfo()), bb;
}
a(khe, "getBrowserInfo");
var Fhe = [
  // It's a harmless issue with react-resize-detector that supposedly will be gone when we move to React 18.
  // https://github.com/maslianok/react-resize-detector/issues/45#issuecomment-1500958024
  "ResizeObserver loop completed with undelivered notifications.",
  "ResizeObserver loop limit exceeded",
  // Safari does not seem to provide any helpful info on window.onerror
  // https://bugs.webkit.org/show_bug.cgi?id=132945
  "Script error."
], ZB = /* @__PURE__ */ a((e) => Fhe.includes(e?.message), "shouldSkipError");
function ez(e) {
  let t = e;
  return (e.target === z || e.currentTarget === z || e.srcElement === z) && (t = new Error(e.message), t.name = e.name || t.name), e.fromStorybook ||
  (t = new m0({ error: t })), t.browserInfo = khe(), t;
}
a(ez, "prepareForTelemetry");

// src/manager/globals-runtime.ts
Pb.forEach((e) => {
  z[I2[e]] = XB[e];
});
z.sendTelemetryError = (e) => {
  ZB(e) || z.__STORYBOOK_ADDONS_CHANNEL__.emit(A2, ez(e));
};
z.addEventListener("error", (e) => {
  let t = e.error || e;
  z.sendTelemetryError(t);
});
z.addEventListener("unhandledrejection", ({ reason: e }) => {
  z.sendTelemetryError(e);
});
