const me = "user-transaction-history", Se = (
  /* user-transaction-history */
  { hydratedSelectorName: "hydrated" }
);
var Ee = Object.defineProperty, ke = (e, t) => {
  for (var r in t)
    Ee(e, r, { get: t[r], enumerable: !0 });
}, C = /* @__PURE__ */ new WeakMap(), b = (e) => C.get(e), dt = (e, t) => C.set(t.$lazyInstance$ = e, t), be = (e, t) => {
  const r = {
    $flags$: 0,
    $hostElement$: e,
    $cmpMeta$: t,
    $instanceValues$: /* @__PURE__ */ new Map()
  };
  return r.$onReadyPromise$ = new Promise((s) => r.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], C.set(e, r);
}, G = (e, t) => t in e, L = (e, t) => (0, console.error)(e, t), H = /* @__PURE__ */ new Map(), Le = (e, t, r) => {
  const s = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
  if (!n)
    return;
  const i = H.get(n);
  if (i)
    return i[s];
  {
    const a = ($) => (H.set(n, $), $[s]);
    switch (n) {
      case "user-transaction-history_2":
        return import(
          /* webpackMode: "lazy" */
          "../stencil/user-transaction-history_2-DhoaUKCv.js"
        ).then(a, L);
    }
  }
  return import(
    /* @vite-ignore */
    /* webpackInclude: /\.entry\.js$/ */
    /* webpackExclude: /\.system\.entry\.js$/ */
    /* webpackMode: "lazy" */
    `./${n}.entry.js`
  ).then((a) => (H.set(n, a), a[s]), L);
}, j = /* @__PURE__ */ new Map(), we = "{visibility:hidden}.hydrated{visibility:inherit}", te = "slot-fb{display:contents}slot-fb[hidden]{display:none}", X = "http://www.w3.org/1999/xlink", x = typeof window < "u" ? window : {}, m = x.document || { head: {} }, p = {
  $flags$: 0,
  $resourcesUrl$: "",
  jmp: (e) => e(),
  raf: (e) => requestAnimationFrame(e),
  ael: (e, t, r, s) => e.addEventListener(t, r, s),
  rel: (e, t, r, s) => e.removeEventListener(t, r, s),
  ce: (e, t) => new CustomEvent(e, t)
}, xe = /* @__PURE__ */ (() => {
  let e = !1;
  try {
    m.addEventListener(
      "e",
      null,
      Object.defineProperty({}, "passive", {
        get() {
          e = !0;
        }
      })
    );
  } catch {
  }
  return e;
})(), Pe = (e) => Promise.resolve(e), Te = /* @__PURE__ */ (() => {
  try {
    return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
  } catch {
  }
  return !1;
})(), q = !1, Y = [], se = [], _e = (e, t) => (r) => {
  e.push(r), q || (q = !0, p.$flags$ & 4 ? D(z) : p.raf(z));
}, J = (e) => {
  for (let t = 0; t < e.length; t++)
    try {
      e[t](performance.now());
    } catch (r) {
      L(r);
    }
  e.length = 0;
}, z = () => {
  J(Y), J(se), (q = Y.length > 0) && p.raf(z);
}, D = (e) => Pe().then(e), Ae = /* @__PURE__ */ _e(se), vt = (e) => {
  const t = new URL(e, p.$resourcesUrl$);
  return t.origin !== x.location.origin ? t.href : t.pathname;
}, K = {}, Oe = "http://www.w3.org/2000/svg", je = "http://www.w3.org/1999/xhtml", Ie = (e) => e != null, F = (e) => (e = typeof e, e === "object" || e === "function");
function re(e) {
  var t, r, s;
  return (s = (r = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : r.getAttribute("content")) != null ? s : void 0;
}
var Ue = {};
ke(Ue, {
  err: () => ne,
  map: () => He,
  ok: () => B,
  unwrap: () => qe,
  unwrapErr: () => ze
});
var B = (e) => ({
  isOk: !0,
  isErr: !1,
  value: e
}), ne = (e) => ({
  isOk: !1,
  isErr: !0,
  value: e
});
function He(e, t) {
  if (e.isOk) {
    const r = t(e.value);
    return r instanceof Promise ? r.then((s) => B(s)) : B(r);
  }
  if (e.isErr) {
    const r = e.value;
    return ne(r);
  }
  throw "should never get here";
}
var qe = (e) => {
  if (e.isOk)
    return e.value;
  throw e.value;
}, ze = (e) => {
  if (e.isErr)
    return e.value;
  throw e.value;
}, k = (e, t = "") => () => {
}, Be = (e, t) => () => {
}, ae = (e, t, ...r) => {
  let s = null, n = null, i = !1, a = !1;
  const $ = [], l = (c) => {
    for (let f = 0; f < c.length; f++)
      s = c[f], Array.isArray(s) ? l(s) : s != null && typeof s != "boolean" && ((i = typeof e != "function" && !F(s)) && (s = String(s)), i && a ? $[$.length - 1].$text$ += s : $.push(i ? I(null, s) : s), a = i);
  };
  if (l(r), t) {
    t.key && (n = t.key);
    {
      const c = t.className || t.class;
      c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
    }
  }
  if (typeof e == "function")
    return e(
      t === null ? {} : t,
      $,
      Fe
    );
  const o = I(e, null);
  return o.$attrs$ = t, $.length > 0 && (o.$children$ = $), o.$key$ = n, o;
}, I = (e, t) => {
  const r = {
    $flags$: 0,
    $tag$: e,
    $text$: t,
    $elm$: null,
    $children$: null
  };
  return r.$attrs$ = null, r.$key$ = null, r;
}, Ce = {}, De = (e) => e && e.$tag$ === Ce, Fe = {
  forEach: (e, t) => e.map(R).forEach(t),
  map: (e, t) => e.map(R).map(t).map(Me)
}, R = (e) => ({
  vattrs: e.$attrs$,
  vchildren: e.$children$,
  vkey: e.$key$,
  vname: e.$name$,
  vtag: e.$tag$,
  vtext: e.$text$
}), Me = (e) => {
  if (typeof e.vtag == "function") {
    const r = { ...e.vattrs };
    return e.vkey && (r.key = e.vkey), e.vname && (r.name = e.vname), ae(e.vtag, r, ...e.vchildren || []);
  }
  const t = I(e.vtag, e.vtext);
  return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
}, We = (e, t) => e != null && !F(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, Ge = (e) => b(e).$hostElement$, pt = (e, t, r) => {
  const s = Ge(e);
  return {
    emit: (n) => le(s, t, {
      bubbles: !0,
      composed: !0,
      cancelable: !0,
      detail: n
    })
  };
}, le = (e, t, r) => {
  const s = p.ce(t, r);
  return e.dispatchEvent(s), s;
}, Q = /* @__PURE__ */ new WeakMap(), Xe = (e, t, r) => {
  let s = j.get(e);
  Te && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, j.set(e, s);
}, Ye = (e, t, r) => {
  var s;
  const n = ie(t), i = j.get(n);
  if (e = e.nodeType === 11 ? e : m, i)
    if (typeof i == "string") {
      e = e.head || e;
      let a = Q.get(e), $;
      if (a || Q.set(e, a = /* @__PURE__ */ new Set()), !a.has(n)) {
        {
          $ = m.createElement("style"), $.innerHTML = i;
          const l = (s = p.$nonce$) != null ? s : re(m);
          l != null && $.setAttribute("nonce", l), e.insertBefore($, e.querySelector("link"));
        }
        t.$flags$ & 4 && ($.innerHTML += te), a && a.add(n);
      }
    } else
      e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
  return n;
}, Je = (e) => {
  const t = e.$cmpMeta$, r = e.$hostElement$, s = t.$flags$, n = k("attachStyles", t.$tagName$), i = Ye(
    r.shadowRoot ? r.shadowRoot : r.getRootNode(),
    t
  );
  s & 10 && (r["s-sc"] = i, r.classList.add(i + "-h")), n();
}, ie = (e, t) => "sc-" + e.$tagName$, Z = (e, t, r, s, n, i) => {
  if (r !== s) {
    let a = G(e, t), $ = t.toLowerCase();
    if (t === "class") {
      const l = e.classList, o = N(r), c = N(s);
      l.remove(...o.filter((f) => f && !c.includes(f))), l.add(...c.filter((f) => f && !o.includes(f)));
    } else if (t === "style") {
      for (const l in r)
        (!s || s[l] == null) && (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
      for (const l in s)
        (!r || s[l] !== r[l]) && (l.includes("-") ? e.style.setProperty(l, s[l]) : e.style[l] = s[l]);
    } else if (t !== "key")
      if (t === "ref")
        s && s(e);
      else if (!a && t[0] === "o" && t[1] === "n") {
        if (t[2] === "-" ? t = t.slice(3) : G(x, $) ? t = $.slice(2) : t = $[2] + t.slice(3), r || s) {
          const l = t.endsWith($e);
          t = t.replace(Re, ""), r && p.rel(e, t, r, l), s && p.ael(e, t, s, l);
        }
      } else {
        const l = F(s);
        if ((a || l && s !== null) && !n)
          try {
            if (e.tagName.includes("-"))
              e[t] = s;
            else {
              const c = s ?? "";
              t === "list" ? a = !1 : (r == null || e[t] != c) && (e[t] = c);
            }
          } catch {
          }
        let o = !1;
        $ !== ($ = $.replace(/^xlink\:?/, "")) && (t = $, o = !0), s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && (o ? e.removeAttributeNS(X, t) : e.removeAttribute(t)) : (!a || i & 4 || n) && !l && (s = s === !0 ? "" : s, o ? e.setAttributeNS(X, t, s) : e.setAttribute(t, s));
      }
  }
}, Ke = /\s/, N = (e) => e ? e.split(Ke) : [], $e = "Capture", Re = new RegExp($e + "$"), oe = (e, t, r) => {
  const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || K, i = t.$attrs$ || K;
  for (const a of V(Object.keys(n)))
    a in i || Z(s, a, n[a], void 0, r, t.$flags$);
  for (const a of V(Object.keys(i)))
    Z(s, a, n[a], i[a], r, t.$flags$);
};
function V(e) {
  return e.includes("ref") ? (
    // we need to sort these to ensure that `'ref'` is the last attr
    [...e.filter((t) => t !== "ref"), "ref"]
  ) : (
    // no need to sort, return the original array
    e
  );
}
var A, M, y = !1, U = (e, t, r, s) => {
  const n = t.$children$[r];
  let i = 0, a, $;
  if (n.$text$ !== null)
    a = n.$elm$ = m.createTextNode(n.$text$);
  else {
    if (y || (y = n.$tag$ === "svg"), a = n.$elm$ = m.createElementNS(
      y ? Oe : je,
      n.$tag$
    ), y && n.$tag$ === "foreignObject" && (y = !1), oe(null, n, y), Ie(A) && a["s-si"] !== A && a.classList.add(a["s-si"] = A), n.$children$)
      for (i = 0; i < n.$children$.length; ++i)
        $ = U(e, n, i), $ && a.appendChild($);
    n.$tag$ === "svg" ? y = !1 : a.tagName === "foreignObject" && (y = !0);
  }
  return a["s-hn"] = M, a;
}, ce = (e, t, r, s, n, i) => {
  let a = e, $;
  for (a.shadowRoot && a.tagName === M && (a = a.shadowRoot); n <= i; ++n)
    s[n] && ($ = U(null, r, n), $ && (s[n].$elm$ = $, O(a, $, t)));
}, fe = (e, t, r) => {
  for (let s = t; s <= r; ++s) {
    const n = e[s];
    if (n) {
      const i = n.$elm$;
      ue(n), i && i.remove();
    }
  }
}, Qe = (e, t, r, s, n = !1) => {
  let i = 0, a = 0, $ = 0, l = 0, o = t.length - 1, c = t[0], f = t[o], u = s.length - 1, d = s[0], v = s[u], g, S;
  for (; i <= o && a <= u; )
    if (c == null)
      c = t[++i];
    else if (f == null)
      f = t[--o];
    else if (d == null)
      d = s[++a];
    else if (v == null)
      v = s[--u];
    else if (_(c, d, n))
      w(c, d, n), c = t[++i], d = s[++a];
    else if (_(f, v, n))
      w(f, v, n), f = t[--o], v = s[--u];
    else if (_(c, v, n))
      w(c, v, n), O(e, c.$elm$, f.$elm$.nextSibling), c = t[++i], v = s[--u];
    else if (_(f, d, n))
      w(f, d, n), O(e, f.$elm$, c.$elm$), f = t[--o], d = s[++a];
    else {
      for ($ = -1, l = i; l <= o; ++l)
        if (t[l] && t[l].$key$ !== null && t[l].$key$ === d.$key$) {
          $ = l;
          break;
        }
      $ >= 0 ? (S = t[$], S.$tag$ !== d.$tag$ ? g = U(t && t[a], r, $) : (w(S, d, n), t[$] = void 0, g = S.$elm$), d = s[++a]) : (g = U(t && t[a], r, a), d = s[++a]), g && O(c.$elm$.parentNode, g, c.$elm$);
    }
  i > o ? ce(
    e,
    s[u + 1] == null ? null : s[u + 1].$elm$,
    r,
    s,
    a,
    u
  ) : a > u && fe(t, i, o);
}, _ = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, r = !1) => {
  const s = t.$elm$ = e.$elm$, n = e.$children$, i = t.$children$, a = t.$tag$, $ = t.$text$;
  $ === null ? (y = a === "svg" ? !0 : a === "foreignObject" ? !1 : y, oe(e, t, y), n !== null && i !== null ? Qe(s, n, t, i, r) : i !== null ? (e.$text$ !== null && (s.textContent = ""), ce(s, null, t, i, 0, i.length - 1)) : n !== null && fe(n, 0, n.length - 1), y && a === "svg" && (y = !1)) : e.$text$ !== $ && (s.data = $);
}, ue = (e) => {
  e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ue);
}, O = (e, t, r) => e?.insertBefore(t, r), Ze = (e, t, r = !1) => {
  const s = e.$hostElement$, n = e.$cmpMeta$, i = e.$vnode$ || I(null, null), a = De(t) ? t : ae(null, null, t);
  if (M = s.tagName, n.$attrsToReflect$ && (a.$attrs$ = a.$attrs$ || {}, n.$attrsToReflect$.map(
    ([$, l]) => a.$attrs$[l] = s[$]
  )), r && a.$attrs$)
    for (const $ of Object.keys(a.$attrs$))
      s.hasAttribute($) && !["key", "ref", "style", "class"].includes($) && (a.$attrs$[$] = s[$]);
  a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = i.$elm$ = s.shadowRoot || s, A = s["s-sc"], n.$flags$ & 1, w(i, a, r);
}, de = (e, t) => {
  t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
}, W = (e, t) => {
  if (e.$flags$ |= 16, e.$flags$ & 4) {
    e.$flags$ |= 512;
    return;
  }
  return de(e, e.$ancestorComponent$), Ae(() => Ne(e, t));
}, Ne = (e, t) => {
  const r = e.$hostElement$, s = k("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
  if (!n)
    throw new Error(
      `Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
    );
  let i;
  return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([a, $]) => P(n, a, $)), e.$queuedListeners$ = void 0), i = P(n, "componentWillLoad")), s(), Ve(i, () => tt(e, n, t));
}, Ve = (e, t) => et(e) ? e.then(t).catch((r) => {
  console.error(r), t();
}) : t(), et = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", tt = async (e, t, r) => {
  var s;
  const n = e.$hostElement$, i = k("update", e.$cmpMeta$.$tagName$), a = n["s-rc"];
  r && Je(e);
  const $ = k("render", e.$cmpMeta$.$tagName$);
  st(e, t, n, r), a && (a.map((l) => l()), n["s-rc"] = void 0), $(), i();
  {
    const l = (s = n["s-p"]) != null ? s : [], o = () => rt(e);
    l.length === 0 ? o() : (Promise.all(l).then(o), e.$flags$ |= 4, l.length = 0);
  }
}, st = (e, t, r, s) => {
  try {
    t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ze(e, t, s);
  } catch (n) {
    L(n, e.$hostElement$);
  }
  return null;
}, rt = (e) => {
  const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = k("postUpdate", t), n = e.$lazyInstance$, i = e.$ancestorComponent$;
  P(n, "componentDidRender"), e.$flags$ & 64 ? s() : (e.$flags$ |= 64, pe(r), P(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), i || ve()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && D(() => W(e, !1)), e.$flags$ &= -517;
}, ve = (e) => {
  pe(m.documentElement), D(() => le(x, "appload", { detail: { namespace: me } }));
}, P = (e, t, r) => {
  if (e && e[t])
    try {
      return e[t](r);
    } catch (s) {
      L(s);
    }
}, pe = (e) => {
  var t;
  return e.classList.add((t = Se.hydratedSelectorName) != null ? t : "hydrated");
}, nt = (e, t) => b(e).$instanceValues$.get(t), at = (e, t, r, s) => {
  const n = b(e);
  if (!n)
    throw new Error(
      `Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
    );
  const i = n.$hostElement$, a = n.$instanceValues$.get(t), $ = n.$flags$, l = n.$lazyInstance$;
  r = We(r, s.$members$[t][0]);
  const o = Number.isNaN(a) && Number.isNaN(r), c = r !== a && !o;
  if ((!($ & 8) || a === void 0) && c && (n.$instanceValues$.set(t, r), l)) {
    if (s.$watchers$ && $ & 128) {
      const f = s.$watchers$[t];
      f && f.map((u) => {
        try {
          l[u](r, a, t);
        } catch (d) {
          L(d, i);
        }
      });
    }
    ($ & 18) === 2 && W(n, !1);
  }
}, ge = (e, t, r) => {
  var s, n;
  const i = e.prototype;
  if (t.$members$ || t.$watchers$ || e.watchers) {
    e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
    const a = Object.entries((s = t.$members$) != null ? s : {});
    if (a.map(([$, [l]]) => {
      (l & 31 || r & 2 && l & 32) && Object.defineProperty(i, $, {
        get() {
          return nt(this, $);
        },
        set(o) {
          at(this, $, o, t);
        },
        configurable: !0,
        enumerable: !0
      });
    }), r & 1) {
      const $ = /* @__PURE__ */ new Map();
      i.attributeChangedCallback = function(l, o, c) {
        p.jmp(() => {
          var f;
          const u = $.get(l);
          if (this.hasOwnProperty(u))
            c = this[u], delete this[u];
          else {
            if (i.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
              return;
            if (u == null) {
              const d = b(this), v = d?.$flags$;
              if (v && !(v & 8) && v & 128 && c !== o) {
                const g = d.$lazyInstance$, S = (f = t.$watchers$) == null ? void 0 : f[l];
                S?.forEach((h) => {
                  g[h] != null && g[h].call(g, c, o, l);
                });
              }
              return;
            }
          }
          this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
        });
      }, e.observedAttributes = Array.from(
        /* @__PURE__ */ new Set([
          ...Object.keys((n = t.$watchers$) != null ? n : {}),
          ...a.filter(
            ([l, o]) => o[0] & 15
            /* HasAttribute */
          ).map(([l, o]) => {
            var c;
            const f = o[1] || l;
            return $.set(f, l), o[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([l, f])), f;
          })
        ])
      );
    }
  }
  return e;
}, lt = async (e, t, r, s) => {
  let n;
  if (!(t.$flags$ & 32)) {
    if (t.$flags$ |= 32, r.$lazyBundleId$) {
      const l = Le(r);
      if (l && "then" in l) {
        const c = Be();
        n = await l, c();
      } else
        n = l;
      if (!n)
        throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
      n.isProxied || (r.$watchers$ = n.watchers, ge(
        n,
        r,
        2
        /* proxyState */
      ), n.isProxied = !0);
      const o = k("createInstance", r.$tagName$);
      t.$flags$ |= 8;
      try {
        new n(t);
      } catch (c) {
        L(c);
      }
      t.$flags$ &= -9, t.$flags$ |= 128, o();
    } else {
      n = e.constructor;
      const l = e.localName;
      customElements.whenDefined(l).then(
        () => t.$flags$ |= 128
        /* isWatchReady */
      );
    }
    if (n && n.style) {
      let l;
      typeof n.style == "string" && (l = n.style);
      const o = ie(r);
      if (!j.has(o)) {
        const c = k("registerStyles", r.$tagName$);
        Xe(o, l, !!(r.$flags$ & 1)), c();
      }
    }
  }
  const i = t.$ancestorComponent$, a = () => W(t, !0);
  i && i["s-rc"] ? i["s-rc"].push(a) : a();
}, it = (e) => {
}, $t = (e) => {
  if (!(p.$flags$ & 1)) {
    const t = b(e), r = t.$cmpMeta$, s = k("connectedCallback", r.$tagName$);
    if (t.$flags$ & 1)
      he(e, t, r.$listeners$), t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => it());
    else {
      t.$flags$ |= 1;
      {
        let n = e;
        for (; n = n.parentNode || n.host; )
          if (n["s-p"]) {
            de(t, t.$ancestorComponent$ = n);
            break;
          }
      }
      r.$members$ && Object.entries(r.$members$).map(([n, [i]]) => {
        if (i & 31 && e.hasOwnProperty(n)) {
          const a = e[n];
          delete e[n], e[n] = a;
        }
      }), lt(e, t, r);
    }
    s();
  }
}, ee = (e) => {
  P(e, "disconnectedCallback");
}, ot = async (e) => {
  if (!(p.$flags$ & 1)) {
    const t = b(e);
    t.$rmListeners$ && (t.$rmListeners$.map((r) => r()), t.$rmListeners$ = void 0), t?.$lazyInstance$ ? ee(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => ee(t.$lazyInstance$));
  }
}, gt = (e, t = {}) => {
  var r;
  const s = k(), n = [], i = t.exclude || [], a = x.customElements, $ = m.head, l = /* @__PURE__ */ $.querySelector("meta[charset]"), o = /* @__PURE__ */ m.createElement("style"), c = [];
  let f, u = !0;
  Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
  let d = !1;
  if (e.map((v) => {
    v[1].map((g) => {
      var S;
      const h = {
        $flags$: g[0],
        $tagName$: g[1],
        $members$: g[2],
        $listeners$: g[3]
      };
      h.$flags$ & 4 && (d = !0), h.$members$ = g[2], h.$listeners$ = g[3], h.$attrsToReflect$ = [], h.$watchers$ = (S = g[4]) != null ? S : {};
      const T = h.$tagName$, ye = class extends HTMLElement {
        // StencilLazyHost
        constructor(E) {
          if (super(E), this.hasRegisteredEventListeners = !1, E = this, be(E, h), h.$flags$ & 1) {
            if (!E.shadowRoot)
              E.attachShadow({ mode: "open" });
            else if (E.shadowRoot.mode !== "open")
              throw new Error(
                `Unable to re-use existing shadow root for ${h.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
              );
          }
        }
        connectedCallback() {
          const E = b(this);
          this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, he(this, E, h.$listeners$)), f && (clearTimeout(f), f = null), u ? c.push(this) : p.jmp(() => $t(this));
        }
        disconnectedCallback() {
          p.jmp(() => ot(this));
        }
        componentOnReady() {
          return b(this).$onReadyPromise$;
        }
      };
      h.$lazyBundleId$ = v[0], !i.includes(T) && !a.get(T) && (n.push(T), a.define(
        T,
        ge(
          ye,
          h,
          1
          /* isElementConstructor */
        )
      ));
    });
  }), n.length > 0 && (d && (o.textContent += te), o.textContent += n.sort() + we, o.innerHTML.length)) {
    o.setAttribute("data-styles", "");
    const v = (r = p.$nonce$) != null ? r : re(m);
    v != null && o.setAttribute("nonce", v), $.insertBefore(o, l ? l.nextSibling : $.firstChild);
  }
  u = !1, c.length ? c.map((v) => v.connectedCallback()) : p.jmp(() => f = setTimeout(ve, 30)), s();
}, he = (e, t, r, s) => {
  r && r.map(([n, i, a]) => {
    const $ = ft(e, n), l = ct(t, a), o = ut(n);
    p.ael($, i, l, o), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => p.rel($, i, l, o));
  });
}, ct = (e, t) => (r) => {
  var s;
  try {
    e.$flags$ & 256 ? (s = e.$lazyInstance$) == null || s[t](r) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, r]);
  } catch (n) {
    L(n);
  }
}, ft = (e, t) => t & 8 ? x : e, ut = (e) => xe ? {
  passive: (e & 1) !== 0,
  capture: (e & 2) !== 0
} : (e & 2) !== 0, ht = (e) => p.$nonce$ = e;
export {
  Ce as H,
  Ge as a,
  gt as b,
  pt as c,
  vt as g,
  ae as h,
  Pe as p,
  dt as r,
  ht as s
};
