!(function () {
  const e = document.createElement("link").relList;
  if (!(e && e.supports && e.supports("modulepreload"))) {
    for (const e of document.querySelectorAll('link[rel="modulepreload"]'))
      t(e);
    new MutationObserver((e) => {
      for (const n of e)
        if ("childList" === n.type)
          for (const e of n.addedNodes)
            "LINK" === e.tagName && "modulepreload" === e.rel && t(e);
    }).observe(document, { childList: !0, subtree: !0 });
  }
  function t(e) {
    if (e.ep) return;
    e.ep = !0;
    const t = (function (e) {
      const t = {};
      return (
        e.integrity && (t.integrity = e.integrity),
        e.referrerpolicy && (t.referrerPolicy = e.referrerpolicy),
        "use-credentials" === e.crossorigin
          ? (t.credentials = "include")
          : "anonymous" === e.crossorigin
          ? (t.credentials = "omit")
          : (t.credentials = "same-origin"),
        t
      );
    })(e);
    fetch(e.href, t);
  }
})();
const e = {};
function t(e, t) {
  const n = Object.create(null),
    o = e.split(",");
  for (let r = 0; r < o.length; r++) n[o[r]] = !0;
  return t ? (e) => !!n[e.toLowerCase()] : (e) => !!n[e];
}
const n = t(
  "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly"
);
function o(e) {
  return !!e || "" === e;
}
const r = t(
  "animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width"
);
function i(e) {
  if (S(e)) {
    const t = {};
    for (let n = 0; n < e.length; n++) {
      const o = e[n],
        r = E(o) ? a(o) : i(o);
      if (r) for (const e in r) t[e] = r[e];
    }
    return t;
  }
  return E(e) || $(e) ? e : void 0;
}
const s = /;(?![^(]*\))/g,
  l = /:(.+)/;
function a(e) {
  const t = {};
  return (
    e.split(s).forEach((e) => {
      if (e) {
        const n = e.split(l);
        n.length > 1 && (t[n[0].trim()] = n[1].trim());
      }
    }),
    t
  );
}
function c(e) {
  let t = "";
  if (E(e)) t = e;
  else if (S(e))
    for (let n = 0; n < e.length; n++) {
      const o = c(e[n]);
      o && (t += o + " ");
    }
  else if ($(e)) for (const n in e) e[n] && (t += n + " ");
  return t.trim();
}
const u = (e) =>
    E(e)
      ? e
      : null == e
      ? ""
      : S(e) || ($(e) && (e.toString === A || !k(e.toString)))
      ? JSON.stringify(e, d, 2)
      : String(e),
  d = (e, t) =>
    t && t.__v_isRef
      ? d(e, t.value)
      : T(t)
      ? {
          [`Map(${t.size})`]: [...t.entries()].reduce(
            (e, [t, n]) => ((e[`${t} =>`] = n), e),
            {}
          ),
        }
      : C(t)
      ? { [`Set(${t.size})`]: [...t.values()] }
      : !$(t) || S(t) || I(t)
      ? t
      : String(t),
  f = {},
  p = [],
  h = () => {},
  g = () => !1,
  m = /^on[^a-z]/,
  v = (e) => m.test(e),
  y = (e) => e.startsWith("onUpdate:"),
  b = Object.assign,
  _ = (e, t) => {
    const n = e.indexOf(t);
    n > -1 && e.splice(n, 1);
  },
  w = Object.prototype.hasOwnProperty,
  x = (e, t) => w.call(e, t),
  S = Array.isArray,
  T = (e) => "[object Map]" === O(e),
  C = (e) => "[object Set]" === O(e),
  k = (e) => "function" == typeof e,
  E = (e) => "string" == typeof e,
  M = (e) => "symbol" == typeof e,
  $ = (e) => null !== e && "object" == typeof e,
  L = (e) => $(e) && k(e.then) && k(e.catch),
  A = Object.prototype.toString,
  O = (e) => A.call(e),
  I = (e) => "[object Object]" === O(e),
  P = (e) => E(e) && "NaN" !== e && "-" !== e[0] && "" + parseInt(e, 10) === e,
  B = t(
    ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
  ),
  N = (e) => {
    const t = Object.create(null);
    return (n) => t[n] || (t[n] = e(n));
  },
  F = /-(\w)/g,
  R = N((e) => e.replace(F, (e, t) => (t ? t.toUpperCase() : ""))),
  D = /\B([A-Z])/g,
  W = N((e) => e.replace(D, "-$1").toLowerCase()),
  j = N((e) => e.charAt(0).toUpperCase() + e.slice(1)),
  H = N((e) => (e ? `on${j(e)}` : "")),
  V = (e, t) => !Object.is(e, t),
  q = (e, t) => {
    for (let n = 0; n < e.length; n++) e[n](t);
  },
  z = (e, t, n) => {
    Object.defineProperty(e, t, { configurable: !0, enumerable: !1, value: n });
  },
  X = (e) => {
    const t = parseFloat(e);
    return isNaN(t) ? e : t;
  };
let Y;
const U = [
  "ad",
  "ad-content-page",
  "ad-draw",
  "audio",
  "button",
  "camera",
  "canvas",
  "checkbox",
  "checkbox-group",
  "cover-image",
  "cover-view",
  "editor",
  "form",
  "functional-page-navigator",
  "icon",
  "image",
  "input",
  "label",
  "live-player",
  "live-pusher",
  "map",
  "movable-area",
  "movable-view",
  "navigator",
  "official-account",
  "open-data",
  "picker",
  "picker-view",
  "picker-view-column",
  "progress",
  "radio",
  "radio-group",
  "rich-text",
  "scroll-view",
  "slider",
  "swiper",
  "swiper-item",
  "switch",
  "text",
  "textarea",
  "video",
  "view",
  "web-view",
].map((e) => "uni-" + e);
const K = /^([a-z-]+:)?\/\//i,
  G = /^data:.*,.*/;
function Z(e) {
  return e && (e.appContext ? e.proxy : e);
}
function Q(e) {
  if (!e) return;
  let t = e.type.name;
  for (
    ;
    t && ((n = W(t)), -1 !== U.indexOf("uni-" + n.replace("v-uni-", "")));

  )
    t = (e = e.parent).type.name;
  var n;
  return e.proxy;
}
function J(e) {
  return 1 === e.nodeType;
}
function ee(e) {
  return 0 === e.indexOf("/");
}
function te(e) {
  return ee(e) ? e : "/" + e;
}
function ne(e, t = null) {
  let n;
  return (...o) => (e && ((n = e.apply(t, o)), (e = null)), n);
}
function oe(e) {
  return R(e.substring(5));
}
const re = ne(() => {
  const e = HTMLElement.prototype,
    t = e.setAttribute;
  e.setAttribute = function (e, n) {
    if (e.startsWith("data-") && this.tagName.startsWith("UNI-")) {
      (this.__uniDataset || (this.__uniDataset = {}))[oe(e)] = n;
    }
    t.call(this, e, n);
  };
  const n = e.removeAttribute;
  e.removeAttribute = function (e) {
    this.__uniDataset &&
      e.startsWith("data-") &&
      this.tagName.startsWith("UNI-") &&
      delete this.__uniDataset[oe(e)],
      n.call(this, e);
  };
});
function ie(e) {
  return b({}, e.dataset, e.__uniDataset);
}
function se(e) {
  return { passive: e };
}
function le(e) {
  const { id: t, offsetTop: n, offsetLeft: o } = e;
  return { id: t, dataset: ie(e), offsetTop: n, offsetLeft: o };
}
function ae(e) {
  try {
    return decodeURIComponent("" + e);
  } catch (t) {}
  return "" + e;
}
function ce(e = {}) {
  const t = {};
  return (
    Object.keys(e).forEach((n) => {
      try {
        t[n] = ae(e[n]);
      } catch (o) {
        t[n] = e[n];
      }
    }),
    t
  );
}
const ue = /\+/g;
function de(e) {
  const t = {};
  if ("" === e || "?" === e) return t;
  const n = ("?" === e[0] ? e.slice(1) : e).split("&");
  for (let o = 0; o < n.length; ++o) {
    const e = n[o].replace(ue, " ");
    let r = e.indexOf("="),
      i = ae(r < 0 ? e : e.slice(0, r)),
      s = r < 0 ? null : ae(e.slice(r + 1));
    if (i in t) {
      let e = t[i];
      S(e) || (e = t[i] = [e]), e.push(s);
    } else t[i] = s;
  }
  return t;
}
class fe {
  constructor(e, t) {
    (this.id = e),
      (this.listener = {}),
      (this.emitCache = {}),
      t &&
        Object.keys(t).forEach((e) => {
          this.on(e, t[e]);
        });
  }
  emit(e, ...t) {
    const n = this.listener[e];
    if (!n) return (this.emitCache[e] || (this.emitCache[e] = [])).push(t);
    n.forEach((e) => {
      e.fn.apply(e.fn, t);
    }),
      (this.listener[e] = n.filter((e) => "once" !== e.type));
  }
  on(e, t) {
    this._addListener(e, "on", t), this._clearCache(e);
  }
  once(e, t) {
    this._addListener(e, "once", t), this._clearCache(e);
  }
  off(e, t) {
    const n = this.listener[e];
    if (n)
      if (t)
        for (let o = 0; o < n.length; )
          n[o].fn === t && (n.splice(o, 1), o--), o++;
      else delete this.listener[e];
  }
  _clearCache(e) {
    const t = this.emitCache[e];
    if (t) for (; t.length > 0; ) this.emit.apply(this, [e, ...t.shift()]);
  }
  _addListener(e, t, n) {
    (this.listener[e] || (this.listener[e] = [])).push({ fn: n, type: t });
  }
}
const pe = [
    "onInit",
    "onLoad",
    "onShow",
    "onHide",
    "onUnload",
    "onBackPress",
    "onPageScroll",
    "onTabItemTap",
    "onReachBottom",
    "onPullDownRefresh",
    "onShareTimeline",
    "onShareAppMessage",
    "onAddToFavorites",
    "onSaveExitState",
    "onNavigationBarButtonTap",
    "onNavigationBarSearchInputClicked",
    "onNavigationBarSearchInputChanged",
    "onNavigationBarSearchInputConfirmed",
    "onNavigationBarSearchInputFocusChanged",
  ],
  he = ["onLoad", "onShow"];
const ge = [
    "onShow",
    "onHide",
    "onLaunch",
    "onError",
    "onThemeChange",
    "onPageNotFound",
    "onUnhandledRejection",
    "onInit",
    "onLoad",
    "onReady",
    "onUnload",
    "onResize",
    "onBackPress",
    "onPageScroll",
    "onTabItemTap",
    "onReachBottom",
    "onPullDownRefresh",
    "onShareTimeline",
    "onAddToFavorites",
    "onShareAppMessage",
    "onSaveExitState",
    "onNavigationBarButtonTap",
    "onNavigationBarSearchInputClicked",
    "onNavigationBarSearchInputChanged",
    "onNavigationBarSearchInputConfirmed",
    "onNavigationBarSearchInputFocusChanged",
  ],
  me = [];
const ve = function () {};
ve.prototype = {
  on: function (e, t, n) {
    var o = this.e || (this.e = {});
    return (o[e] || (o[e] = [])).push({ fn: t, ctx: n }), this;
  },
  once: function (e, t, n) {
    var o = this;
    function r() {
      o.off(e, r), t.apply(n, arguments);
    }
    return (r._ = t), this.on(e, r, n);
  },
  emit: function (e) {
    for (
      var t = [].slice.call(arguments, 1),
        n = ((this.e || (this.e = {}))[e] || []).slice(),
        o = 0,
        r = n.length;
      o < r;
      o++
    )
      n[o].fn.apply(n[o].ctx, t);
    return this;
  },
  off: function (e, t) {
    var n = this.e || (this.e = {}),
      o = n[e],
      r = [];
    if (o && t)
      for (var i = 0, s = o.length; i < s; i++)
        o[i].fn !== t && o[i].fn._ !== t && r.push(o[i]);
    return r.length ? (n[e] = r) : delete n[e], this;
  },
};
var ye = ve;
let be;
class _e {
  constructor(e = !1) {
    (this.active = !0),
      (this.effects = []),
      (this.cleanups = []),
      !e &&
        be &&
        ((this.parent = be),
        (this.index = (be.scopes || (be.scopes = [])).push(this) - 1));
  }
  run(e) {
    if (this.active) {
      const t = be;
      try {
        return (be = this), e();
      } finally {
        be = t;
      }
    }
  }
  on() {
    be = this;
  }
  off() {
    be = this.parent;
  }
  stop(e) {
    if (this.active) {
      let t, n;
      for (t = 0, n = this.effects.length; t < n; t++) this.effects[t].stop();
      for (t = 0, n = this.cleanups.length; t < n; t++) this.cleanups[t]();
      if (this.scopes)
        for (t = 0, n = this.scopes.length; t < n; t++) this.scopes[t].stop(!0);
      if (this.parent && !e) {
        const e = this.parent.scopes.pop();
        e &&
          e !== this &&
          ((this.parent.scopes[this.index] = e), (e.index = this.index));
      }
      this.active = !1;
    }
  }
}
const we = (e) => {
    const t = new Set(e);
    return (t.w = 0), (t.n = 0), t;
  },
  xe = (e) => (e.w & ke) > 0,
  Se = (e) => (e.n & ke) > 0,
  Te = new WeakMap();
let Ce = 0,
  ke = 1;
let Ee;
const Me = Symbol(""),
  $e = Symbol("");
class Le {
  constructor(e, t = null, n) {
    (this.fn = e),
      (this.scheduler = t),
      (this.active = !0),
      (this.deps = []),
      (this.parent = void 0),
      (function (e, t = be) {
        t && t.active && t.effects.push(e);
      })(this, n);
  }
  run() {
    if (!this.active) return this.fn();
    let e = Ee,
      t = Oe;
    for (; e; ) {
      if (e === this) return;
      e = e.parent;
    }
    try {
      return (
        (this.parent = Ee),
        (Ee = this),
        (Oe = !0),
        (ke = 1 << ++Ce),
        Ce <= 30
          ? (({ deps: e }) => {
              if (e.length) for (let t = 0; t < e.length; t++) e[t].w |= ke;
            })(this)
          : Ae(this),
        this.fn()
      );
    } finally {
      Ce <= 30 &&
        ((e) => {
          const { deps: t } = e;
          if (t.length) {
            let n = 0;
            for (let o = 0; o < t.length; o++) {
              const r = t[o];
              xe(r) && !Se(r) ? r.delete(e) : (t[n++] = r),
                (r.w &= ~ke),
                (r.n &= ~ke);
            }
            t.length = n;
          }
        })(this),
        (ke = 1 << --Ce),
        (Ee = this.parent),
        (Oe = t),
        (this.parent = void 0),
        this.deferStop && this.stop();
    }
  }
  stop() {
    Ee === this
      ? (this.deferStop = !0)
      : this.active &&
        (Ae(this), this.onStop && this.onStop(), (this.active = !1));
  }
}
function Ae(e) {
  const { deps: t } = e;
  if (t.length) {
    for (let n = 0; n < t.length; n++) t[n].delete(e);
    t.length = 0;
  }
}
let Oe = !0;
const Ie = [];
function Pe() {
  Ie.push(Oe), (Oe = !1);
}
function Be() {
  const e = Ie.pop();
  Oe = void 0 === e || e;
}
function Ne(e, t, n) {
  if (Oe && Ee) {
    let t = Te.get(e);
    t || Te.set(e, (t = new Map()));
    let o = t.get(n);
    o || t.set(n, (o = we())), Fe(o);
  }
}
function Fe(e, t) {
  let n = !1;
  Ce <= 30 ? Se(e) || ((e.n |= ke), (n = !xe(e))) : (n = !e.has(Ee)),
    n && (e.add(Ee), Ee.deps.push(e));
}
function Re(e, t, n, o, r, i) {
  const s = Te.get(e);
  if (!s) return;
  let l = [];
  if ("clear" === t) l = [...s.values()];
  else if ("length" === n && S(e))
    s.forEach((e, t) => {
      ("length" === t || t >= o) && l.push(e);
    });
  else
    switch ((void 0 !== n && l.push(s.get(n)), t)) {
      case "add":
        S(e)
          ? P(n) && l.push(s.get("length"))
          : (l.push(s.get(Me)), T(e) && l.push(s.get($e)));
        break;
      case "delete":
        S(e) || (l.push(s.get(Me)), T(e) && l.push(s.get($e)));
        break;
      case "set":
        T(e) && l.push(s.get(Me));
    }
  if (1 === l.length) l[0] && De(l[0]);
  else {
    const e = [];
    for (const t of l) t && e.push(...t);
    De(we(e));
  }
}
function De(e, t) {
  for (const n of S(e) ? e : [...e])
    (n !== Ee || n.allowRecurse) && (n.scheduler ? n.scheduler() : n.run());
}
const We = t("__proto__,__v_isRef,__isVue"),
  je = new Set(
    Object.getOwnPropertyNames(Symbol)
      .map((e) => Symbol[e])
      .filter(M)
  ),
  He = Ye(),
  Ve = Ye(!1, !0),
  qe = Ye(!0),
  ze = Xe();
function Xe() {
  const e = {};
  return (
    ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
      e[t] = function (...e) {
        const n = At(this);
        for (let t = 0, r = this.length; t < r; t++) Ne(n, 0, t + "");
        const o = n[t](...e);
        return -1 === o || !1 === o ? n[t](...e.map(At)) : o;
      };
    }),
    ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
      e[t] = function (...e) {
        Pe();
        const n = At(this)[t].apply(this, e);
        return Be(), n;
      };
    }),
    e
  );
}
function Ye(e = !1, t = !1) {
  return function (n, o, r) {
    if ("__v_isReactive" === o) return !e;
    if ("__v_isReadonly" === o) return e;
    if ("__v_isShallow" === o) return t;
    if ("__v_raw" === o && r === (e ? (t ? xt : wt) : t ? _t : bt).get(n))
      return n;
    const i = S(n);
    if (!e && i && x(ze, o)) return Reflect.get(ze, o, r);
    const s = Reflect.get(n, o, r);
    if (M(o) ? je.has(o) : We(o)) return s;
    if ((e || Ne(n, 0, o), t)) return s;
    if (Ft(s)) {
      return !i || !P(o) ? s.value : s;
    }
    return $(s) ? (e ? Ct(s) : Tt(s)) : s;
  };
}
function Ue(e = !1) {
  return function (t, n, o, r) {
    let i = t[n];
    if (Mt(i) && Ft(i) && !Ft(o)) return !1;
    if (
      !e &&
      !Mt(o) &&
      ($t(o) || ((o = At(o)), (i = At(i))), !S(t) && Ft(i) && !Ft(o))
    )
      return (i.value = o), !0;
    const s = S(t) && P(n) ? Number(n) < t.length : x(t, n),
      l = Reflect.set(t, n, o, r);
    return (
      t === At(r) && (s ? V(o, i) && Re(t, "set", n, o) : Re(t, "add", n, o)), l
    );
  };
}
const Ke = {
    get: He,
    set: Ue(),
    deleteProperty: function (e, t) {
      const n = x(e, t);
      e[t];
      const o = Reflect.deleteProperty(e, t);
      return o && n && Re(e, "delete", t, void 0), o;
    },
    has: function (e, t) {
      const n = Reflect.has(e, t);
      return (M(t) && je.has(t)) || Ne(e, 0, t), n;
    },
    ownKeys: function (e) {
      return Ne(e, 0, S(e) ? "length" : Me), Reflect.ownKeys(e);
    },
  },
  Ge = { get: qe, set: (e, t) => !0, deleteProperty: (e, t) => !0 },
  Ze = b({}, Ke, { get: Ve, set: Ue(!0) }),
  Qe = (e) => e,
  Je = (e) => Reflect.getPrototypeOf(e);
function et(e, t, n = !1, o = !1) {
  const r = At((e = e.__v_raw)),
    i = At(t);
  t !== i && !n && Ne(r, 0, t), !n && Ne(r, 0, i);
  const { has: s } = Je(r),
    l = o ? Qe : n ? Pt : It;
  return s.call(r, t)
    ? l(e.get(t))
    : s.call(r, i)
    ? l(e.get(i))
    : void (e !== r && e.get(t));
}
function tt(e, t = !1) {
  const n = this.__v_raw,
    o = At(n),
    r = At(e);
  return (
    e !== r && !t && Ne(o, 0, e),
    !t && Ne(o, 0, r),
    e === r ? n.has(e) : n.has(e) || n.has(r)
  );
}
function nt(e, t = !1) {
  return (e = e.__v_raw), !t && Ne(At(e), 0, Me), Reflect.get(e, "size", e);
}
function ot(e) {
  e = At(e);
  const t = At(this);
  return Je(t).has.call(t, e) || (t.add(e), Re(t, "add", e, e)), this;
}
function rt(e, t) {
  t = At(t);
  const n = At(this),
    { has: o, get: r } = Je(n);
  let i = o.call(n, e);
  i || ((e = At(e)), (i = o.call(n, e)));
  const s = r.call(n, e);
  return (
    n.set(e, t), i ? V(t, s) && Re(n, "set", e, t) : Re(n, "add", e, t), this
  );
}
function it(e) {
  const t = At(this),
    { has: n, get: o } = Je(t);
  let r = n.call(t, e);
  r || ((e = At(e)), (r = n.call(t, e))), o && o.call(t, e);
  const i = t.delete(e);
  return r && Re(t, "delete", e, void 0), i;
}
function st() {
  const e = At(this),
    t = 0 !== e.size,
    n = e.clear();
  return t && Re(e, "clear", void 0, void 0), n;
}
function lt(e, t) {
  return function (n, o) {
    const r = this,
      i = r.__v_raw,
      s = At(i),
      l = t ? Qe : e ? Pt : It;
    return !e && Ne(s, 0, Me), i.forEach((e, t) => n.call(o, l(e), l(t), r));
  };
}
function at(e, t, n) {
  return function (...o) {
    const r = this.__v_raw,
      i = At(r),
      s = T(i),
      l = "entries" === e || (e === Symbol.iterator && s),
      a = "keys" === e && s,
      c = r[e](...o),
      u = n ? Qe : t ? Pt : It;
    return (
      !t && Ne(i, 0, a ? $e : Me),
      {
        next() {
          const { value: e, done: t } = c.next();
          return t
            ? { value: e, done: t }
            : { value: l ? [u(e[0]), u(e[1])] : u(e), done: t };
        },
        [Symbol.iterator]() {
          return this;
        },
      }
    );
  };
}
function ct(e) {
  return function (...t) {
    return "delete" !== e && this;
  };
}
function ut() {
  const e = {
      get(e) {
        return et(this, e);
      },
      get size() {
        return nt(this);
      },
      has: tt,
      add: ot,
      set: rt,
      delete: it,
      clear: st,
      forEach: lt(!1, !1),
    },
    t = {
      get(e) {
        return et(this, e, !1, !0);
      },
      get size() {
        return nt(this);
      },
      has: tt,
      add: ot,
      set: rt,
      delete: it,
      clear: st,
      forEach: lt(!1, !0),
    },
    n = {
      get(e) {
        return et(this, e, !0);
      },
      get size() {
        return nt(this, !0);
      },
      has(e) {
        return tt.call(this, e, !0);
      },
      add: ct("add"),
      set: ct("set"),
      delete: ct("delete"),
      clear: ct("clear"),
      forEach: lt(!0, !1),
    },
    o = {
      get(e) {
        return et(this, e, !0, !0);
      },
      get size() {
        return nt(this, !0);
      },
      has(e) {
        return tt.call(this, e, !0);
      },
      add: ct("add"),
      set: ct("set"),
      delete: ct("delete"),
      clear: ct("clear"),
      forEach: lt(!0, !0),
    };
  return (
    ["keys", "values", "entries", Symbol.iterator].forEach((r) => {
      (e[r] = at(r, !1, !1)),
        (n[r] = at(r, !0, !1)),
        (t[r] = at(r, !1, !0)),
        (o[r] = at(r, !0, !0));
    }),
    [e, n, t, o]
  );
}
const [dt, ft, pt, ht] = ut();
function gt(e, t) {
  const n = t ? (e ? ht : pt) : e ? ft : dt;
  return (t, o, r) =>
    "__v_isReactive" === o
      ? !e
      : "__v_isReadonly" === o
      ? e
      : "__v_raw" === o
      ? t
      : Reflect.get(x(n, o) && o in t ? n : t, o, r);
}
const mt = { get: gt(!1, !1) },
  vt = { get: gt(!1, !0) },
  yt = { get: gt(!0, !1) },
  bt = new WeakMap(),
  _t = new WeakMap(),
  wt = new WeakMap(),
  xt = new WeakMap();
function St(e) {
  return e.__v_skip || !Object.isExtensible(e)
    ? 0
    : (function (e) {
        switch (e) {
          case "Object":
          case "Array":
            return 1;
          case "Map":
          case "Set":
          case "WeakMap":
          case "WeakSet":
            return 2;
          default:
            return 0;
        }
      })(((e) => O(e).slice(8, -1))(e));
}
function Tt(e) {
  return Mt(e) ? e : kt(e, !1, Ke, mt, bt);
}
function Ct(e) {
  return kt(e, !0, Ge, yt, wt);
}
function kt(e, t, n, o, r) {
  if (!$(e)) return e;
  if (e.__v_raw && (!t || !e.__v_isReactive)) return e;
  const i = r.get(e);
  if (i) return i;
  const s = St(e);
  if (0 === s) return e;
  const l = new Proxy(e, 2 === s ? o : n);
  return r.set(e, l), l;
}
function Et(e) {
  return Mt(e) ? Et(e.__v_raw) : !(!e || !e.__v_isReactive);
}
function Mt(e) {
  return !(!e || !e.__v_isReadonly);
}
function $t(e) {
  return !(!e || !e.__v_isShallow);
}
function Lt(e) {
  return Et(e) || Mt(e);
}
function At(e) {
  const t = e && e.__v_raw;
  return t ? At(t) : e;
}
function Ot(e) {
  return z(e, "__v_skip", !0), e;
}
const It = (e) => ($(e) ? Tt(e) : e),
  Pt = (e) => ($(e) ? Ct(e) : e);
function Bt(e) {
  Oe && Ee && Fe((e = At(e)).dep || (e.dep = we()));
}
function Nt(e, t) {
  (e = At(e)).dep && De(e.dep);
}
function Ft(e) {
  return !(!e || !0 !== e.__v_isRef);
}
function Rt(e) {
  return Wt(e, !1);
}
function Dt(e) {
  return Wt(e, !0);
}
function Wt(e, t) {
  return Ft(e) ? e : new jt(e, t);
}
class jt {
  constructor(e, t) {
    (this.__v_isShallow = t),
      (this.dep = void 0),
      (this.__v_isRef = !0),
      (this._rawValue = t ? e : At(e)),
      (this._value = t ? e : It(e));
  }
  get value() {
    return Bt(this), this._value;
  }
  set value(e) {
    (e = this.__v_isShallow ? e : At(e)),
      V(e, this._rawValue) &&
        ((this._rawValue = e),
        (this._value = this.__v_isShallow ? e : It(e)),
        Nt(this));
  }
}
const Ht = {
  get: (e, t, n) => {
    return Ft((o = Reflect.get(e, t, n))) ? o.value : o;
    var o;
  },
  set: (e, t, n, o) => {
    const r = e[t];
    return Ft(r) && !Ft(n) ? ((r.value = n), !0) : Reflect.set(e, t, n, o);
  },
};
function Vt(e) {
  return Et(e) ? e : new Proxy(e, Ht);
}
class qt {
  constructor(e, t, n, o) {
    (this._setter = t),
      (this.dep = void 0),
      (this.__v_isRef = !0),
      (this._dirty = !0),
      (this.effect = new Le(e, () => {
        this._dirty || ((this._dirty = !0), Nt(this));
      })),
      (this.effect.computed = this),
      (this.effect.active = this._cacheable = !o),
      (this.__v_isReadonly = n);
  }
  get value() {
    const e = At(this);
    return (
      Bt(e),
      (!e._dirty && e._cacheable) ||
        ((e._dirty = !1), (e._value = e.effect.run())),
      e._value
    );
  }
  set value(e) {
    this._setter(e);
  }
}
function zt(e, t, n, o) {
  let r;
  try {
    r = o ? e(...o) : e();
  } catch (i) {
    Yt(i, t, n);
  }
  return r;
}
function Xt(e, t, n, o) {
  if (k(e)) {
    const r = zt(e, t, n, o);
    return (
      r &&
        L(r) &&
        r.catch((e) => {
          Yt(e, t, n);
        }),
      r
    );
  }
  const r = [];
  for (let i = 0; i < e.length; i++) r.push(Xt(e[i], t, n, o));
  return r;
}
function Yt(e, t, n, o = !0) {
  t && t.vnode;
  if (t) {
    let o = t.parent;
    const r = t.proxy,
      i = n;
    for (; o; ) {
      const t = o.ec;
      if (t)
        for (let n = 0; n < t.length; n++) if (!1 === t[n](e, r, i)) return;
      o = o.parent;
    }
    const s = t.appContext.config.errorHandler;
    if (s) return void zt(s, null, 10, [e, r, i]);
  }
  !(function (e, t, n, o = !0) {
    console.error(e);
  })(e, 0, 0, o);
}
let Ut = !1,
  Kt = !1;
const Gt = [];
let Zt = 0;
const Qt = [];
let Jt = null,
  en = 0;
const tn = [];
let nn = null,
  on = 0;
const rn = Promise.resolve();
let sn = null,
  ln = null;
function an(e) {
  const t = sn || rn;
  return e ? t.then(this ? e.bind(this) : e) : t;
}
function cn(e) {
  (Gt.length && Gt.includes(e, Ut && e.allowRecurse ? Zt + 1 : Zt)) ||
    e === ln ||
    (null == e.id
      ? Gt.push(e)
      : Gt.splice(
          (function (e) {
            let t = Zt + 1,
              n = Gt.length;
            for (; t < n; ) {
              const o = (t + n) >>> 1;
              hn(Gt[o]) < e ? (t = o + 1) : (n = o);
            }
            return t;
          })(e.id),
          0,
          e
        ),
    un());
}
function un() {
  Ut || Kt || ((Kt = !0), (sn = rn.then(gn)));
}
function dn(e, t, n, o) {
  S(e)
    ? n.push(...e)
    : (t && t.includes(e, e.allowRecurse ? o + 1 : o)) || n.push(e),
    un();
}
function fn(e, t = null) {
  if (Qt.length) {
    for (
      ln = t, Jt = [...new Set(Qt)], Qt.length = 0, en = 0;
      en < Jt.length;
      en++
    )
      Jt[en]();
    (Jt = null), (en = 0), (ln = null), fn(e, t);
  }
}
function pn(e) {
  if (tn.length) {
    const e = [...new Set(tn)];
    if (((tn.length = 0), nn)) return void nn.push(...e);
    for (nn = e, nn.sort((e, t) => hn(e) - hn(t)), on = 0; on < nn.length; on++)
      nn[on]();
    (nn = null), (on = 0);
  }
}
const hn = (e) => (null == e.id ? 1 / 0 : e.id);
function gn(e) {
  (Kt = !1), (Ut = !0), fn(e), Gt.sort((e, t) => hn(e) - hn(t));
  try {
    for (Zt = 0; Zt < Gt.length; Zt++) {
      const e = Gt[Zt];
      e && !1 !== e.active && zt(e, null, 14);
    }
  } finally {
    (Zt = 0),
      (Gt.length = 0),
      pn(),
      (Ut = !1),
      (sn = null),
      (Gt.length || Qt.length || tn.length) && gn(e);
  }
}
function mn(e, t, ...n) {
  if (e.isUnmounted) return;
  const o = e.vnode.props || f;
  let r = n;
  const i = t.startsWith("update:"),
    s = i && t.slice(7);
  if (s && s in o) {
    const e = `${"modelValue" === s ? "model" : s}Modifiers`,
      { number: t, trim: i } = o[e] || f;
    i ? (r = n.map((e) => e.trim())) : t && (r = n.map(X));
  }
  let l,
    a = o[(l = H(t))] || o[(l = H(R(t)))];
  !a && i && (a = o[(l = H(W(t)))]), a && Xt(a, e, 6, vn(e, a, r));
  const c = o[l + "Once"];
  if (c) {
    if (e.emitted) {
      if (e.emitted[l]) return;
    } else e.emitted = {};
    (e.emitted[l] = !0), Xt(c, e, 6, vn(e, c, r));
  }
}
function vn(e, t, n) {
  if (1 !== n.length) return n;
  if (k(t)) {
    if (t.length < 2) return n;
  } else if (!t.find((e) => e.length >= 2)) return n;
  const o = n[0];
  if (
    o &&
    x(o, "type") &&
    x(o, "timeStamp") &&
    x(o, "target") &&
    x(o, "currentTarget") &&
    x(o, "detail")
  ) {
    const t = e.proxy,
      o = t.$gcd(t, !0);
    o && n.push(o);
  }
  return n;
}
function yn(e, t, n = !1) {
  const o = t.emitsCache,
    r = o.get(e);
  if (void 0 !== r) return r;
  const i = e.emits;
  let s = {},
    l = !1;
  if (!k(e)) {
    const o = (e) => {
      const n = yn(e, t, !0);
      n && ((l = !0), b(s, n));
    };
    !n && t.mixins.length && t.mixins.forEach(o),
      e.extends && o(e.extends),
      e.mixins && e.mixins.forEach(o);
  }
  return i || l
    ? (S(i) ? i.forEach((e) => (s[e] = null)) : b(s, i), o.set(e, s), s)
    : (o.set(e, null), null);
}
function bn(e, t) {
  return (
    !(!e || !v(t)) &&
    ((t = t.slice(2).replace(/Once$/, "")),
    x(e, t[0].toLowerCase() + t.slice(1)) || x(e, W(t)) || x(e, t))
  );
}
let _n = null,
  wn = null;
function xn(e) {
  const t = _n;
  return (_n = e), (wn = (e && e.type.__scopeId) || null), t;
}
function Sn(e, t = _n, n) {
  if (!t) return e;
  if (e._n) return e;
  const o = (...n) => {
    o._d && ir(-1);
    const r = xn(t),
      i = e(...n);
    return xn(r), o._d && ir(1), i;
  };
  return (o._n = !0), (o._c = !0), (o._d = !0), o;
}
function Tn(e) {
  const {
    type: t,
    vnode: n,
    proxy: o,
    withProxy: r,
    props: i,
    propsOptions: [s],
    slots: l,
    attrs: a,
    emit: c,
    render: u,
    renderCache: d,
    data: f,
    setupState: p,
    ctx: h,
    inheritAttrs: g,
  } = e;
  let m, v;
  const b = xn(e);
  try {
    if (4 & n.shapeFlag) {
      const e = r || o;
      (m = br(u.call(e, e, d, i, p, f, h))), (v = a);
    } else {
      const e = t;
      0,
        (m = br(
          e.length > 1 ? e(i, { attrs: a, slots: l, emit: c }) : e(i, null)
        )),
        (v = t.props ? a : Cn(a));
    }
  } catch (w) {
    (tr.length = 0), Yt(w, e, 1), (m = gr(Jo));
  }
  let _ = m;
  if (v && !1 !== g) {
    const e = Object.keys(v),
      { shapeFlag: t } = _;
    e.length && 7 & t && (s && e.some(y) && (v = kn(v, s)), (_ = mr(_, v)));
  }
  return (
    n.dirs && (_.dirs = _.dirs ? _.dirs.concat(n.dirs) : n.dirs),
    n.transition && (_.transition = n.transition),
    (m = _),
    xn(b),
    m
  );
}
const Cn = (e) => {
    let t;
    for (const n in e)
      ("class" === n || "style" === n || v(n)) && ((t || (t = {}))[n] = e[n]);
    return t;
  },
  kn = (e, t) => {
    const n = {};
    for (const o in e) (y(o) && o.slice(9) in t) || (n[o] = e[o]);
    return n;
  };
function En(e, t, n) {
  const o = Object.keys(t);
  if (o.length !== Object.keys(e).length) return !0;
  for (let r = 0; r < o.length; r++) {
    const i = o[r];
    if (t[i] !== e[i] && !bn(n, i)) return !0;
  }
  return !1;
}
function Mn(e, t) {
  if (Or) {
    let n = Or.provides;
    const o = Or.parent && Or.parent.provides;
    o === n && (n = Or.provides = Object.create(o)),
      (n[e] = t),
      "app" === Or.type.mpType && Or.appContext.app.provide(e, t);
  } else;
}
function $n(e, t, n = !1) {
  const o = Or || _n;
  if (o) {
    const r =
      null == o.parent
        ? o.vnode.appContext && o.vnode.appContext.provides
        : o.parent.provides;
    if (r && e in r) return r[e];
    if (arguments.length > 1) return n && k(t) ? t.call(o.proxy) : t;
  }
}
function Ln(e, t) {
  return In(e, null, t);
}
const An = {};
function On(e, t, n) {
  return In(e, t, n);
}
function In(
  e,
  t,
  { immediate: n, deep: o, flush: r, onTrack: i, onTrigger: s } = f
) {
  const l = Or;
  let a,
    c,
    u = !1,
    d = !1;
  if (
    (Ft(e)
      ? ((a = () => e.value), (u = $t(e)))
      : Et(e)
      ? ((a = () => e), (o = !0))
      : S(e)
      ? ((d = !0),
        (u = e.some(Et)),
        (a = () =>
          e.map((e) =>
            Ft(e) ? e.value : Et(e) ? Nn(e) : k(e) ? zt(e, l, 2) : void 0
          )))
      : (a = k(e)
          ? t
            ? () => zt(e, l, 2)
            : () => {
                if (!l || !l.isUnmounted) return c && c(), Xt(e, l, 3, [p]);
              }
          : h),
    t && o)
  ) {
    const e = a;
    a = () => Nn(e());
  }
  let p = (e) => {
    c = y.onStop = () => {
      zt(e, l, 4);
    };
  };
  if (Fr)
    return (p = h), t ? n && Xt(t, l, 3, [a(), d ? [] : void 0, p]) : a(), h;
  let g = d ? [] : An;
  const m = () => {
    if (y.active)
      if (t) {
        const e = y.run();
        (o || u || (d ? e.some((e, t) => V(e, g[t])) : V(e, g))) &&
          (c && c(), Xt(t, l, 3, [e, g === An ? void 0 : g, p]), (g = e));
      } else y.run();
  };
  let v;
  (m.allowRecurse = !!t),
    (v =
      "sync" === r
        ? m
        : "post" === r
        ? () => Ho(m, l && l.suspense)
        : () => {
            !l || l.isMounted
              ? (function (e) {
                  dn(e, Jt, Qt, en);
                })(m)
              : m();
          });
  const y = new Le(a, v);
  return (
    t
      ? n
        ? m()
        : (g = y.run())
      : "post" === r
      ? Ho(y.run.bind(y), l && l.suspense)
      : y.run(),
    () => {
      y.stop(), l && l.scope && _(l.scope.effects, y);
    }
  );
}
function Pn(e, t, n) {
  const o = this.proxy,
    r = E(e) ? (e.includes(".") ? Bn(o, e) : () => o[e]) : e.bind(o, o);
  let i;
  k(t) ? (i = t) : ((i = t.handler), (n = t));
  const s = Or;
  Pr(this);
  const l = In(r, i.bind(o), n);
  return s ? Pr(s) : Br(), l;
}
function Bn(e, t) {
  const n = t.split(".");
  return () => {
    let t = e;
    for (let e = 0; e < n.length && t; e++) t = t[n[e]];
    return t;
  };
}
function Nn(e, t) {
  if (!$(e) || e.__v_skip) return e;
  if ((t = t || new Set()).has(e)) return e;
  if ((t.add(e), Ft(e))) Nn(e.value, t);
  else if (S(e)) for (let n = 0; n < e.length; n++) Nn(e[n], t);
  else if (C(e) || T(e))
    e.forEach((e) => {
      Nn(e, t);
    });
  else if (I(e)) for (const n in e) Nn(e[n], t);
  return e;
}
const Fn = [Function, Array],
  Rn = {
    name: "BaseTransition",
    props: {
      mode: String,
      appear: Boolean,
      persisted: Boolean,
      onBeforeEnter: Fn,
      onEnter: Fn,
      onAfterEnter: Fn,
      onEnterCancelled: Fn,
      onBeforeLeave: Fn,
      onLeave: Fn,
      onAfterLeave: Fn,
      onLeaveCancelled: Fn,
      onBeforeAppear: Fn,
      onAppear: Fn,
      onAfterAppear: Fn,
      onAppearCancelled: Fn,
    },
    setup(e, { slots: t }) {
      const n = Ir(),
        o = (function () {
          const e = {
            isMounted: !1,
            isLeaving: !1,
            isUnmounting: !1,
            leavingVNodes: new Map(),
          };
          return (
            no(() => {
              e.isMounted = !0;
            }),
            io(() => {
              e.isUnmounting = !0;
            }),
            e
          );
        })();
      let r;
      return () => {
        const i = t.default && qn(t.default(), !0);
        if (!i || !i.length) return;
        let s = i[0];
        if (i.length > 1)
          for (const e of i)
            if (e.type !== Jo) {
              s = e;
              break;
            }
        const l = At(e),
          { mode: a } = l;
        if (o.isLeaving) return jn(s);
        const c = Hn(s);
        if (!c) return jn(s);
        const u = Wn(c, l, o, n);
        Vn(c, u);
        const d = n.subTree,
          f = d && Hn(d);
        let p = !1;
        const { getTransitionKey: h } = c.type;
        if (h) {
          const e = h();
          void 0 === r ? (r = e) : e !== r && ((r = e), (p = !0));
        }
        if (f && f.type !== Jo && (!ur(c, f) || p)) {
          const e = Wn(f, l, o, n);
          if ((Vn(f, e), "out-in" === a))
            return (
              (o.isLeaving = !0),
              (e.afterLeave = () => {
                (o.isLeaving = !1), n.update();
              }),
              jn(s)
            );
          "in-out" === a &&
            c.type !== Jo &&
            (e.delayLeave = (e, t, n) => {
              (Dn(o, f)[String(f.key)] = f),
                (e._leaveCb = () => {
                  t(), (e._leaveCb = void 0), delete u.delayedLeave;
                }),
                (u.delayedLeave = n);
            });
        }
        return s;
      };
    },
  };
function Dn(e, t) {
  const { leavingVNodes: n } = e;
  let o = n.get(t.type);
  return o || ((o = Object.create(null)), n.set(t.type, o)), o;
}
function Wn(e, t, n, o) {
  const {
      appear: r,
      mode: i,
      persisted: s = !1,
      onBeforeEnter: l,
      onEnter: a,
      onAfterEnter: c,
      onEnterCancelled: u,
      onBeforeLeave: d,
      onLeave: f,
      onAfterLeave: p,
      onLeaveCancelled: h,
      onBeforeAppear: g,
      onAppear: m,
      onAfterAppear: v,
      onAppearCancelled: y,
    } = t,
    b = String(e.key),
    _ = Dn(n, e),
    w = (e, t) => {
      e && Xt(e, o, 9, t);
    },
    x = {
      mode: i,
      persisted: s,
      beforeEnter(t) {
        let o = l;
        if (!n.isMounted) {
          if (!r) return;
          o = g || l;
        }
        t._leaveCb && t._leaveCb(!0);
        const i = _[b];
        i && ur(e, i) && i.el._leaveCb && i.el._leaveCb(), w(o, [t]);
      },
      enter(e) {
        let t = a,
          o = c,
          i = u;
        if (!n.isMounted) {
          if (!r) return;
          (t = m || a), (o = v || c), (i = y || u);
        }
        let s = !1;
        const l = (e._enterCb = (t) => {
          s ||
            ((s = !0),
            w(t ? i : o, [e]),
            x.delayedLeave && x.delayedLeave(),
            (e._enterCb = void 0));
        });
        t ? (t(e, l), t.length <= 1 && l()) : l();
      },
      leave(t, o) {
        const r = String(e.key);
        if ((t._enterCb && t._enterCb(!0), n.isUnmounting)) return o();
        w(d, [t]);
        let i = !1;
        const s = (t._leaveCb = (n) => {
          i ||
            ((i = !0),
            o(),
            w(n ? h : p, [t]),
            (t._leaveCb = void 0),
            _[r] === e && delete _[r]);
        });
        (_[r] = e), f ? (f(t, s), f.length <= 1 && s()) : s();
      },
      clone: (e) => Wn(e, t, n, o),
    };
  return x;
}
function jn(e) {
  if (Un(e)) return ((e = mr(e)).children = null), e;
}
function Hn(e) {
  return Un(e) ? (e.children ? e.children[0] : void 0) : e;
}
function Vn(e, t) {
  6 & e.shapeFlag && e.component
    ? Vn(e.component.subTree, t)
    : 128 & e.shapeFlag
    ? ((e.ssContent.transition = t.clone(e.ssContent)),
      (e.ssFallback.transition = t.clone(e.ssFallback)))
    : (e.transition = t);
}
function qn(e, t = !1, n) {
  let o = [],
    r = 0;
  for (let i = 0; i < e.length; i++) {
    let s = e[i];
    const l = null == n ? s.key : String(n) + String(null != s.key ? s.key : i);
    s.type === Zo
      ? (128 & s.patchFlag && r++, (o = o.concat(qn(s.children, t, l))))
      : (t || s.type !== Jo) && o.push(null != l ? mr(s, { key: l }) : s);
  }
  if (r > 1) for (let i = 0; i < o.length; i++) o[i].patchFlag = -2;
  return o;
}
function zn(e) {
  return k(e) ? { setup: e, name: e.name } : e;
}
const Xn = (e) => !!e.type.__asyncLoader;
function Yn(e, { vnode: { ref: t, props: n, children: o } }) {
  const r = gr(e, n, o);
  return (r.ref = t), r;
}
const Un = (e) => e.type.__isKeepAlive;
function Kn(e, t) {
  Zn(e, "a", t);
}
function Gn(e, t) {
  Zn(e, "da", t);
}
function Zn(e, t, n = Or) {
  const o =
    e.__wdc ||
    (e.__wdc = () => {
      let t = n;
      for (; t; ) {
        if (t.isDeactivated) return;
        t = t.parent;
      }
      return e();
    });
  if (((o.__called = !1), Jn(t, o, n), n)) {
    let e = n.parent;
    for (; e && e.parent; )
      Un(e.parent.vnode) && Qn(o, t, n, e), (e = e.parent);
  }
}
function Qn(e, t, n, o) {
  const r = Jn(t, e, o, !0);
  so(() => {
    _(o[t], r);
  }, n);
}
function Jn(e, t, n = Or, o = !1) {
  if (n) {
    if (((r = e), pe.indexOf(r) > -1)) {
      if (n.type.__reserved) return;
      if (
        n !== n.root &&
        ((n = n.root),
        (function (e) {
          return he.indexOf(e) > -1;
        })(e))
      ) {
        const o = n.proxy;
        Xt(t.bind(o), n, e, "onLoad" === e ? [o.$page.options] : []);
      }
    }
    const i = n[e] || (n[e] = []),
      s =
        t.__weh ||
        (t.__weh = (...o) => {
          if (n.isUnmounted) return;
          Pe(), Pr(n);
          const r = Xt(t, n, e, o);
          return Br(), Be(), r;
        });
    return o ? i.unshift(s) : i.push(s), s;
  }
  var r;
}
const eo =
    (e) =>
    (t, n = Or) =>
      (!Fr || "sp" === e) && Jn(e, t, n),
  to = eo("bm"),
  no = eo("m"),
  oo = eo("bu"),
  ro = eo("u"),
  io = eo("bum"),
  so = eo("um"),
  lo = eo("sp"),
  ao = eo("rtg"),
  co = eo("rtc");
function uo(e, t = Or) {
  Jn("ec", e, t);
}
let fo = !0;
function po(e) {
  const t = mo(e),
    n = e.proxy,
    o = e.ctx;
  (fo = !1), t.beforeCreate && ho(t.beforeCreate, e, "bc");
  const {
    data: r,
    computed: i,
    methods: s,
    watch: l,
    provide: a,
    inject: c,
    created: u,
    beforeMount: d,
    mounted: f,
    beforeUpdate: p,
    updated: g,
    activated: m,
    deactivated: v,
    beforeDestroy: y,
    beforeUnmount: b,
    destroyed: _,
    unmounted: w,
    render: x,
    renderTracked: T,
    renderTriggered: C,
    errorCaptured: E,
    serverPrefetch: M,
    expose: L,
    inheritAttrs: A,
    components: O,
    directives: I,
    filters: P,
  } = t;
  if (
    (c &&
      (function (e, t, n = h, o = !1) {
        S(e) && (e = _o(e));
        for (const r in e) {
          const n = e[r];
          let i;
          (i = $(n)
            ? "default" in n
              ? $n(n.from || r, n.default, !0)
              : $n(n.from || r)
            : $n(n)),
            Ft(i) && o
              ? Object.defineProperty(t, r, {
                  enumerable: !0,
                  configurable: !0,
                  get: () => i.value,
                  set: (e) => (i.value = e),
                })
              : (t[r] = i);
        }
      })(c, o, null, e.appContext.config.unwrapInjectedRef),
    s)
  )
    for (const h in s) {
      const e = s[h];
      k(e) && (o[h] = e.bind(n));
    }
  if (r) {
    const t = r.call(n, n);
    $(t) && (e.data = Tt(t));
  }
  if (((fo = !0), i))
    for (const S in i) {
      const e = i[S],
        t = k(e) ? e.bind(n, n) : k(e.get) ? e.get.bind(n, n) : h,
        r = !k(e) && k(e.set) ? e.set.bind(n) : h,
        s = jr({ get: t, set: r });
      Object.defineProperty(o, S, {
        enumerable: !0,
        configurable: !0,
        get: () => s.value,
        set: (e) => (s.value = e),
      });
    }
  if (l) for (const h in l) go(l[h], o, n, h);
  if (a) {
    const e = k(a) ? a.call(n) : a;
    Reflect.ownKeys(e).forEach((t) => {
      Mn(t, e[t]);
    });
  }
  function B(e, t) {
    S(t) ? t.forEach((t) => e(t.bind(n))) : t && e(t.bind(n));
  }
  if (
    (u && ho(u, e, "c"),
    B(to, d),
    B(no, f),
    B(oo, p),
    B(ro, g),
    B(Kn, m),
    B(Gn, v),
    B(uo, E),
    B(co, T),
    B(ao, C),
    B(io, b),
    B(so, w),
    B(lo, M),
    S(L))
  )
    if (L.length) {
      const t = e.exposed || (e.exposed = {});
      L.forEach((e) => {
        Object.defineProperty(t, e, {
          get: () => n[e],
          set: (t) => (n[e] = t),
        });
      });
    } else e.exposed || (e.exposed = {});
  x && e.render === h && (e.render = x),
    null != A && (e.inheritAttrs = A),
    O && (e.components = O),
    I && (e.directives = I);
  const N = e.appContext.config.globalProperties.$applyOptions;
  N && N(t, e, n);
}
function ho(e, t, n) {
  Xt(S(e) ? e.map((e) => e.bind(t.proxy)) : e.bind(t.proxy), t, n);
}
function go(e, t, n, o) {
  const r = o.includes(".") ? Bn(n, o) : () => n[o];
  if (E(e)) {
    const n = t[e];
    k(n) && On(r, n);
  } else if (k(e)) On(r, e.bind(n));
  else if ($(e))
    if (S(e)) e.forEach((e) => go(e, t, n, o));
    else {
      const o = k(e.handler) ? e.handler.bind(n) : t[e.handler];
      k(o) && On(r, o, e);
    }
}
function mo(e) {
  const t = e.type,
    { mixins: n, extends: o } = t,
    {
      mixins: r,
      optionsCache: i,
      config: { optionMergeStrategies: s },
    } = e.appContext,
    l = i.get(t);
  let a;
  return (
    l
      ? (a = l)
      : r.length || n || o
      ? ((a = {}), r.length && r.forEach((e) => vo(a, e, s, !0)), vo(a, t, s))
      : (a = t),
    i.set(t, a),
    a
  );
}
function vo(e, t, n, o = !1) {
  const { mixins: r, extends: i } = t;
  i && vo(e, i, n, !0), r && r.forEach((t) => vo(e, t, n, !0));
  for (const s in t)
    if (o && "expose" === s);
    else {
      const o = yo[s] || (n && n[s]);
      e[s] = o ? o(e[s], t[s]) : t[s];
    }
  return e;
}
const yo = {
  data: bo,
  props: xo,
  emits: xo,
  methods: xo,
  computed: xo,
  beforeCreate: wo,
  created: wo,
  beforeMount: wo,
  mounted: wo,
  beforeUpdate: wo,
  updated: wo,
  beforeDestroy: wo,
  beforeUnmount: wo,
  destroyed: wo,
  unmounted: wo,
  activated: wo,
  deactivated: wo,
  errorCaptured: wo,
  serverPrefetch: wo,
  components: xo,
  directives: xo,
  watch: function (e, t) {
    if (!e) return t;
    if (!t) return e;
    const n = b(Object.create(null), e);
    for (const o in t) n[o] = wo(e[o], t[o]);
    return n;
  },
  provide: bo,
  inject: function (e, t) {
    return xo(_o(e), _o(t));
  },
};
function bo(e, t) {
  return t
    ? e
      ? function () {
          return b(
            k(e) ? e.call(this, this) : e,
            k(t) ? t.call(this, this) : t
          );
        }
      : t
    : e;
}
function _o(e) {
  if (S(e)) {
    const t = {};
    for (let n = 0; n < e.length; n++) t[e[n]] = e[n];
    return t;
  }
  return e;
}
function wo(e, t) {
  return e ? [...new Set([].concat(e, t))] : t;
}
function xo(e, t) {
  return e ? b(b(Object.create(null), e), t) : t;
}
function So(e, t, n, o = !1) {
  const r = {},
    i = {};
  z(i, dr, 1), (e.propsDefaults = Object.create(null)), To(e, t, r, i);
  for (const s in e.propsOptions[0]) s in r || (r[s] = void 0);
  n
    ? (e.props = o ? r : kt(r, !1, Ze, vt, _t))
    : e.type.props
    ? (e.props = r)
    : (e.props = i),
    (e.attrs = i);
}
function To(e, t, n, o) {
  const [r, i] = e.propsOptions;
  let s,
    l = !1;
  if (t)
    for (let a in t) {
      if (B(a)) continue;
      const c = t[a];
      let u;
      r && x(r, (u = R(a)))
        ? i && i.includes(u)
          ? ((s || (s = {}))[u] = c)
          : (n[u] = c)
        : bn(e.emitsOptions, a) ||
          (a in o && c === o[a]) ||
          ((o[a] = c), (l = !0));
    }
  if (i) {
    const t = At(n),
      o = s || f;
    for (let s = 0; s < i.length; s++) {
      const l = i[s];
      n[l] = Co(r, t, l, o[l], e, !x(o, l));
    }
  }
  return l;
}
function Co(e, t, n, o, r, i) {
  const s = e[n];
  if (null != s) {
    const e = x(s, "default");
    if (e && void 0 === o) {
      const e = s.default;
      if (s.type !== Function && k(e)) {
        const { propsDefaults: i } = r;
        n in i ? (o = i[n]) : (Pr(r), (o = i[n] = e.call(null, t)), Br());
      } else o = e;
    }
    s[0] &&
      (i && !e ? (o = !1) : !s[1] || ("" !== o && o !== W(n)) || (o = !0));
  }
  return o;
}
function ko(e, t, n = !1) {
  const o = t.propsCache,
    r = o.get(e);
  if (r) return r;
  const i = e.props,
    s = {},
    l = [];
  let a = !1;
  if (!k(e)) {
    const o = (e) => {
      a = !0;
      const [n, o] = ko(e, t, !0);
      b(s, n), o && l.push(...o);
    };
    !n && t.mixins.length && t.mixins.forEach(o),
      e.extends && o(e.extends),
      e.mixins && e.mixins.forEach(o);
  }
  if (!i && !a) return o.set(e, p), p;
  if (S(i))
    for (let u = 0; u < i.length; u++) {
      const e = R(i[u]);
      Eo(e) && (s[e] = f);
    }
  else if (i)
    for (const u in i) {
      const e = R(u);
      if (Eo(e)) {
        const t = i[u],
          n = (s[e] = S(t) || k(t) ? { type: t } : t);
        if (n) {
          const t = Lo(Boolean, n.type),
            o = Lo(String, n.type);
          (n[0] = t > -1),
            (n[1] = o < 0 || t < o),
            (t > -1 || x(n, "default")) && l.push(e);
        }
      }
    }
  const c = [s, l];
  return o.set(e, c), c;
}
function Eo(e) {
  return "$" !== e[0];
}
function Mo(e) {
  const t = e && e.toString().match(/^\s*function (\w+)/);
  return t ? t[1] : null === e ? "null" : "";
}
function $o(e, t) {
  return Mo(e) === Mo(t);
}
function Lo(e, t) {
  return S(t) ? t.findIndex((t) => $o(t, e)) : k(t) && $o(t, e) ? 0 : -1;
}
const Ao = (e) => "_" === e[0] || "$stable" === e,
  Oo = (e) => (S(e) ? e.map(br) : [br(e)]),
  Io = (e, t, n) => {
    const o = Sn((...e) => Oo(t(...e)), n);
    return (o._c = !1), o;
  },
  Po = (e, t, n) => {
    const o = e._ctx;
    for (const r in e) {
      if (Ao(r)) continue;
      const n = e[r];
      if (k(n)) t[r] = Io(0, n, o);
      else if (null != n) {
        const e = Oo(n);
        t[r] = () => e;
      }
    }
  },
  Bo = (e, t) => {
    const n = Oo(t);
    e.slots.default = () => n;
  };
function No(e, t) {
  const n = _n;
  if (null === n) return e;
  const o = Wr(n) || n.proxy,
    r = e.dirs || (e.dirs = []);
  for (let i = 0; i < t.length; i++) {
    let [e, n, s, l = f] = t[i];
    k(e) && (e = { mounted: e, updated: e }),
      e.deep && Nn(n),
      r.push({
        dir: e,
        instance: o,
        value: n,
        oldValue: void 0,
        arg: s,
        modifiers: l,
      });
  }
  return e;
}
function Fo(e, t, n, o) {
  const r = e.dirs,
    i = t && t.dirs;
  for (let s = 0; s < r.length; s++) {
    const l = r[s];
    i && (l.oldValue = i[s].value);
    let a = l.dir[o];
    a && (Pe(), Xt(a, n, 8, [e.el, l, e, t]), Be());
  }
}
function Ro() {
  return {
    app: null,
    config: {
      isNativeTag: g,
      performance: !1,
      globalProperties: {},
      optionMergeStrategies: {},
      errorHandler: void 0,
      warnHandler: void 0,
      compilerOptions: {},
    },
    mixins: [],
    components: {},
    directives: {},
    provides: Object.create(null),
    optionsCache: new WeakMap(),
    propsCache: new WeakMap(),
    emitsCache: new WeakMap(),
  };
}
let Do = 0;
function Wo(e, t) {
  return function (n, o = null) {
    k(n) || (n = Object.assign({}, n)), null == o || $(o) || (o = null);
    const r = Ro(),
      i = new Set();
    let s = !1;
    const l = (r.app = {
      _uid: Do++,
      _component: n,
      _props: o,
      _container: null,
      _context: r,
      _instance: null,
      version: Hr,
      get config() {
        return r.config;
      },
      set config(e) {},
      use: (e, ...t) => (
        i.has(e) ||
          (e && k(e.install)
            ? (i.add(e), e.install(l, ...t))
            : k(e) && (i.add(e), e(l, ...t))),
        l
      ),
      mixin: (e) => (r.mixins.includes(e) || r.mixins.push(e), l),
      component: (e, t) => (t ? ((r.components[e] = t), l) : r.components[e]),
      directive: (e, t) => (t ? ((r.directives[e] = t), l) : r.directives[e]),
      mount(i, a, c) {
        if (!s) {
          const u = gr(n, o);
          return (
            (u.appContext = r),
            a && t ? t(u, i) : e(u, i, c),
            (s = !0),
            (l._container = i),
            (i.__vue_app__ = l),
            Wr(u.component) || u.component.proxy
          );
        }
      },
      unmount() {
        s && (e(null, l._container), delete l._container.__vue_app__);
      },
      provide: (e, t) => ((r.provides[e] = t), l),
    });
    return l;
  };
}
function jo(e, t, n, o, r = !1) {
  if (S(e))
    return void e.forEach((e, i) => jo(e, t && (S(t) ? t[i] : t), n, o, r));
  if (Xn(o) && !r) return;
  const i = 4 & o.shapeFlag ? Wr(o.component) || o.component.proxy : o.el,
    s = r ? null : i,
    { i: l, r: a } = e,
    c = t && t.r,
    u = l.refs === f ? (l.refs = {}) : l.refs,
    d = l.setupState;
  if (
    (null != c &&
      c !== a &&
      (E(c)
        ? ((u[c] = null), x(d, c) && (d[c] = null))
        : Ft(c) && (c.value = null)),
    k(a))
  )
    zt(a, l, 12, [s, u]);
  else {
    const t = E(a),
      o = Ft(a);
    if (t || o) {
      const o = () => {
        if (e.f) {
          const n = t ? u[a] : a.value;
          r
            ? S(n) && _(n, i)
            : S(n)
            ? n.includes(i) || n.push(i)
            : t
            ? ((u[a] = [i]), x(d, a) && (d[a] = u[a]))
            : ((a.value = [i]), e.k && (u[e.k] = a.value));
        } else
          t
            ? ((u[a] = s), x(d, a) && (d[a] = s))
            : Ft(a) && ((a.value = s), e.k && (u[e.k] = s));
      };
      s ? ((o.id = -1), Ho(o, n)) : o();
    }
  }
}
const Ho = function (e, t) {
  t && t.pendingBranch
    ? S(e)
      ? t.effects.push(...e)
      : t.effects.push(e)
    : dn(e, nn, tn, on);
};
function Vo(e) {
  return (function (e, t) {
    (
      Y ||
      (Y =
        "undefined" != typeof globalThis
          ? globalThis
          : "undefined" != typeof self
          ? self
          : "undefined" != typeof window
          ? window
          : "undefined" != typeof global
          ? global
          : {})
    ).__VUE__ = !0;
    const {
        insert: n,
        remove: o,
        patchProp: r,
        forcePatchProp: i,
        createElement: s,
        createText: l,
        createComment: a,
        setText: c,
        setElementText: u,
        parentNode: d,
        nextSibling: g,
        setScopeId: m = h,
        cloneNode: v,
        insertStaticContent: y,
      } = e,
      _ = (
        e,
        t,
        n,
        o = null,
        r = null,
        i = null,
        s = !1,
        l = null,
        a = !!t.dynamicChildren
      ) => {
        if (e === t) return;
        e && !ur(e, t) && ((o = ne(e)), Z(e, r, i, !0), (e = null)),
          -2 === t.patchFlag && ((a = !1), (t.dynamicChildren = null));
        const { type: c, ref: u, shapeFlag: d } = t;
        switch (c) {
          case Qo:
            w(e, t, n, o);
            break;
          case Jo:
            S(e, t, n, o);
            break;
          case er:
            null == e && T(t, n, o, s);
            break;
          case Zo:
            N(e, t, n, o, r, i, s, l, a);
            break;
          default:
            1 & d
              ? E(e, t, n, o, r, i, s, l, a)
              : 6 & d
              ? F(e, t, n, o, r, i, s, l, a)
              : (64 & d || 128 & d) && c.process(e, t, n, o, r, i, s, l, a, re);
        }
        null != u && r && jo(u, e && e.ref, i, t || e, !t);
      },
      w = (e, t, o, r) => {
        if (null == e) n((t.el = l(t.children)), o, r);
        else {
          const n = (t.el = e.el);
          t.children !== e.children && c(n, t.children);
        }
      },
      S = (e, t, o, r) => {
        null == e ? n((t.el = a(t.children || "")), o, r) : (t.el = e.el);
      },
      T = (e, t, n, o) => {
        [e.el, e.anchor] = y(e.children, t, n, o, e.el, e.anchor);
      },
      C = ({ el: e, anchor: t }, o, r) => {
        let i;
        for (; e && e !== t; ) (i = g(e)), n(e, o, r), (e = i);
        n(t, o, r);
      },
      k = ({ el: e, anchor: t }) => {
        let n;
        for (; e && e !== t; ) (n = g(e)), o(e), (e = n);
        o(t);
      },
      E = (e, t, n, o, r, i, s, l, a) => {
        (s = s || "svg" === t.type),
          null == e ? M(t, n, o, r, i, s, l, a) : O(e, t, r, i, s, l, a);
      },
      M = (e, t, o, i, l, a, c, d) => {
        let f, p;
        const {
          type: h,
          props: g,
          shapeFlag: m,
          transition: y,
          patchFlag: b,
          dirs: _,
        } = e;
        if (e.el && void 0 !== v && -1 === b) f = e.el = v(e.el);
        else {
          if (
            ((f = e.el = s(e.type, a, g && g.is, g)),
            8 & m
              ? u(f, e.children)
              : 16 & m &&
                A(e.children, f, null, i, l, a && "foreignObject" !== h, c, d),
            _ && Fo(e, null, i, "created"),
            g)
          ) {
            for (const t in g)
              "value" === t ||
                B(t) ||
                r(f, t, null, g[t], a, e.children, i, l, te);
            "value" in g && r(f, "value", null, g.value),
              (p = g.onVnodeBeforeMount) && Sr(p, i, e);
          }
          $(f, e, e.scopeId, c, i);
        }
        Object.defineProperty(f, "__vueParentComponent", {
          value: i,
          enumerable: !1,
        }),
          _ && Fo(e, null, i, "beforeMount");
        const w = (!l || (l && !l.pendingBranch)) && y && !y.persisted;
        w && y.beforeEnter(f),
          n(f, t, o),
          ((p = g && g.onVnodeMounted) || w || _) &&
            Ho(() => {
              p && Sr(p, i, e), w && y.enter(f), _ && Fo(e, null, i, "mounted");
            }, l);
      },
      $ = (e, t, n, o, r) => {
        if ((n && m(e, n), o)) for (let i = 0; i < o.length; i++) m(e, o[i]);
        if (r) {
          if (t === r.subTree) {
            const t = r.vnode;
            $(e, t, t.scopeId, t.slotScopeIds, r.parent);
          }
        }
      },
      A = (e, t, n, o, r, i, s, l, a = 0) => {
        for (let c = a; c < e.length; c++) {
          const a = (e[c] = l ? _r(e[c]) : br(e[c]));
          _(null, a, t, n, o, r, i, s, l);
        }
      },
      O = (e, t, n, o, s, l, a) => {
        const c = (t.el = e.el);
        let { patchFlag: d, dynamicChildren: p, dirs: h } = t;
        d |= 16 & e.patchFlag;
        const g = e.props || f,
          m = t.props || f;
        let v;
        n && qo(n, !1),
          (v = m.onVnodeBeforeUpdate) && Sr(v, n, t, e),
          h && Fo(t, e, n, "beforeUpdate"),
          n && qo(n, !0);
        const y = s && "foreignObject" !== t.type;
        if (
          (p
            ? I(e.dynamicChildren, p, c, n, o, y, l)
            : a || X(e, t, c, null, n, o, y, l, !1),
          d > 0)
        ) {
          if (16 & d) P(c, t, g, m, n, o, s);
          else if (
            (2 & d && g.class !== m.class && r(c, "class", null, m.class, s),
            4 & d && r(c, "style", g.style, m.style, s),
            8 & d)
          ) {
            const l = t.dynamicProps;
            for (let t = 0; t < l.length; t++) {
              const a = l[t],
                u = g[a],
                d = m[a];
              (d !== u || "value" === a || (i && i(c, a))) &&
                r(c, a, u, d, s, e.children, n, o, te);
            }
          }
          1 & d && e.children !== t.children && u(c, t.children);
        } else a || null != p || P(c, t, g, m, n, o, s);
        ((v = m.onVnodeUpdated) || h) &&
          Ho(() => {
            v && Sr(v, n, t, e), h && Fo(t, e, n, "updated");
          }, o);
      },
      I = (e, t, n, o, r, i, s) => {
        for (let l = 0; l < t.length; l++) {
          const a = e[l],
            c = t[l],
            u =
              a.el && (a.type === Zo || !ur(a, c) || 70 & a.shapeFlag)
                ? d(a.el)
                : n;
          _(a, c, u, null, o, r, i, s, !0);
        }
      },
      P = (e, t, n, o, s, l, a) => {
        if (n !== o) {
          for (const c in o) {
            if (B(c)) continue;
            const u = o[c],
              d = n[c];
            ((u !== d && "value" !== c) || (i && i(e, c))) &&
              r(e, c, d, u, a, t.children, s, l, te);
          }
          if (n !== f)
            for (const i in n)
              B(i) || i in o || r(e, i, n[i], null, a, t.children, s, l, te);
          "value" in o && r(e, "value", n.value, o.value);
        }
      },
      N = (e, t, o, r, i, s, a, c, u) => {
        const d = (t.el = e ? e.el : l("")),
          f = (t.anchor = e ? e.anchor : l(""));
        let { patchFlag: p, dynamicChildren: h, slotScopeIds: g } = t;
        g && (c = c ? c.concat(g) : g),
          null == e
            ? (n(d, o, r), n(f, o, r), A(t.children, o, f, i, s, a, c, u))
            : p > 0 && 64 & p && h && e.dynamicChildren
            ? (I(e.dynamicChildren, h, o, i, s, a, c),
              (null != t.key || (i && t === i.subTree)) && zo(e, t, !0))
            : X(e, t, o, f, i, s, a, c, u);
      },
      F = (e, t, n, o, r, i, s, l, a) => {
        (t.slotScopeIds = l),
          null == e
            ? 512 & t.shapeFlag
              ? r.ctx.activate(t, n, o, s, a)
              : D(t, n, o, r, i, s, a)
            : j(e, t, a);
      },
      D = (e, t, n, o, r, i, s) => {
        const l = (e.component = (function (e, t, n) {
          const o = e.type,
            r = (t ? t.appContext : e.appContext) || Lr,
            i = {
              uid: Ar++,
              vnode: e,
              type: o,
              parent: t,
              appContext: r,
              root: null,
              next: null,
              subTree: null,
              effect: null,
              update: null,
              scope: new _e(!0),
              render: null,
              proxy: null,
              exposed: null,
              exposeProxy: null,
              withProxy: null,
              provides: t ? t.provides : Object.create(r.provides),
              accessCache: null,
              renderCache: [],
              components: null,
              directives: null,
              propsOptions: ko(o, r),
              emitsOptions: yn(o, r),
              emit: null,
              emitted: null,
              propsDefaults: f,
              inheritAttrs: o.inheritAttrs,
              ctx: f,
              data: f,
              props: f,
              attrs: f,
              slots: f,
              refs: f,
              setupState: f,
              setupContext: null,
              suspense: n,
              suspenseId: n ? n.pendingId : 0,
              asyncDep: null,
              asyncResolved: !1,
              isMounted: !1,
              isUnmounted: !1,
              isDeactivated: !1,
              bc: null,
              c: null,
              bm: null,
              m: null,
              bu: null,
              u: null,
              um: null,
              bum: null,
              bda: null,
              da: null,
              ba: null,
              a: null,
              rtg: null,
              rtc: null,
              ec: null,
              sp: null,
            };
          (i.ctx = { _: i }),
            (i.root = t ? t.root : i),
            (i.emit = mn.bind(null, i)),
            e.ce && e.ce(i);
          return i;
        })(e, o, r));
        if (
          (Un(e) && (l.ctx.renderer = re),
          (function (e, t = !1) {
            Fr = t;
            const { props: n, children: o } = e.vnode,
              r = Nr(e);
            So(e, n, r, t),
              ((e, t) => {
                if (32 & e.vnode.shapeFlag) {
                  const n = t._;
                  n ? ((e.slots = At(t)), z(t, "_", n)) : Po(t, (e.slots = {}));
                } else (e.slots = {}), t && Bo(e, t);
                z(e.slots, dr, 1);
              })(e, o);
            const i = r
              ? (function (e, t) {
                  const n = e.type;
                  (e.accessCache = Object.create(null)),
                    (e.proxy = Ot(new Proxy(e.ctx, $r)));
                  const { setup: o } = n;
                  if (o) {
                    const n = (e.setupContext =
                      o.length > 1
                        ? (function (e) {
                            const t = (t) => {
                              e.exposed = t || {};
                            };
                            let n;
                            return {
                              get attrs() {
                                return (
                                  n ||
                                  (n = (function (e) {
                                    return new Proxy(e.attrs, {
                                      get: (t, n) => (Ne(e, 0, "$attrs"), t[n]),
                                    });
                                  })(e))
                                );
                              },
                              slots: e.slots,
                              emit: e.emit,
                              expose: t,
                            };
                          })(e)
                        : null);
                    Pr(e), Pe();
                    const r = zt(o, e, 0, [e.props, n]);
                    if ((Be(), Br(), L(r))) {
                      if ((r.then(Br, Br), t))
                        return r
                          .then((n) => {
                            Rr(e, n, t);
                          })
                          .catch((t) => {
                            Yt(t, e, 0);
                          });
                      e.asyncDep = r;
                    } else Rr(e, r, t);
                  } else Dr(e, t);
                })(e, t)
              : void 0;
            Fr = !1;
          })(l),
          l.asyncDep)
        ) {
          if ((r && r.registerDep(l, H), !e.el)) {
            const e = (l.subTree = gr(Jo));
            S(null, e, t, n);
          }
        } else H(l, e, t, n, r, i, s);
      },
      j = (e, t, n) => {
        const o = (t.component = e.component);
        if (
          (function (e, t, n) {
            const { props: o, children: r, component: i } = e,
              { props: s, children: l, patchFlag: a } = t,
              c = i.emitsOptions;
            if (t.dirs || t.transition) return !0;
            if (!(n && a >= 0))
              return (
                !((!r && !l) || (l && l.$stable)) ||
                (o !== s && (o ? !s || En(o, s, c) : !!s))
              );
            if (1024 & a) return !0;
            if (16 & a) return o ? En(o, s, c) : !!s;
            if (8 & a) {
              const e = t.dynamicProps;
              for (let t = 0; t < e.length; t++) {
                const n = e[t];
                if (s[n] !== o[n] && !bn(c, n)) return !0;
              }
            }
            return !1;
          })(e, t, n)
        ) {
          if (o.asyncDep && !o.asyncResolved) return void V(o, t, n);
          (o.next = t),
            (function (e) {
              const t = Gt.indexOf(e);
              t > Zt && Gt.splice(t, 1);
            })(o.update),
            o.update();
        } else (t.component = e.component), (t.el = e.el), (o.vnode = t);
      },
      H = (e, t, n, o, r, i, s) => {
        const l = () => {
            if (e.isMounted) {
              let t,
                { next: n, bu: o, u: l, parent: a, vnode: c } = e,
                u = n;
              qo(e, !1),
                n ? ((n.el = c.el), V(e, n, s)) : (n = c),
                o && q(o),
                (t = n.props && n.props.onVnodeBeforeUpdate) && Sr(t, a, n, c),
                qo(e, !0);
              const f = Tn(e),
                p = e.subTree;
              (e.subTree = f),
                _(p, f, d(p.el), ne(p), e, r, i),
                (n.el = f.el),
                null === u &&
                  (function ({ vnode: e, parent: t }, n) {
                    for (; t && t.subTree === e; )
                      ((e = t.vnode).el = n), (t = t.parent);
                  })(e, f.el),
                l && Ho(l, r),
                (t = n.props && n.props.onVnodeUpdated) &&
                  Ho(() => Sr(t, a, n, c), r);
            } else {
              let s;
              const { el: l, props: a } = t,
                { bm: c, m: u, parent: d } = e,
                f = Xn(t);
              if (
                (qo(e, !1),
                c && q(c),
                !f && (s = a && a.onVnodeBeforeMount) && Sr(s, d, t),
                qo(e, !0),
                l && se)
              ) {
                const n = () => {
                  (e.subTree = Tn(e)), se(l, e.subTree, e, r, null);
                };
                f
                  ? t.type.__asyncLoader().then(() => !e.isUnmounted && n())
                  : n();
              } else {
                const s = (e.subTree = Tn(e));
                _(null, s, n, o, e, r, i), (t.el = s.el);
              }
              if ((u && Ho(u, r), !f && (s = a && a.onVnodeMounted))) {
                const e = t;
                Ho(() => Sr(s, d, e), r);
              }
              const { ba: p, a: h } = e;
              256 & t.shapeFlag &&
                (p &&
                  (function (e) {
                    for (let t = 0; t < e.length; t++) {
                      const n = e[t];
                      n.__called || (n(), (n.__called = !0));
                    }
                  })(p),
                h && Ho(h, r),
                p &&
                  Ho(() => {
                    p.forEach((e) => (e.__called = !1));
                  }, r)),
                (e.isMounted = !0),
                (t = n = o = null);
            }
          },
          a = (e.effect = new Le(l, () => cn(e.update), e.scope)),
          c = (e.update = a.run.bind(a));
        (c.id = e.uid), qo(e, !0), c();
      },
      V = (e, t, n) => {
        t.component = e;
        const o = e.vnode.props;
        (e.vnode = t),
          (e.next = null),
          (function (e, t, n, o) {
            const {
                props: r,
                attrs: i,
                vnode: { patchFlag: s },
              } = e,
              l = At(r),
              [a] = e.propsOptions;
            let c = !1;
            if (!(o || s > 0) || 16 & s) {
              let o;
              To(e, t, r, i) && (c = !0);
              for (const i in l)
                (t && (x(t, i) || ((o = W(i)) !== i && x(t, o)))) ||
                  (a
                    ? !n ||
                      (void 0 === n[i] && void 0 === n[o]) ||
                      (r[i] = Co(a, l, i, void 0, e, !0))
                    : delete r[i]);
              if (i !== l)
                for (const e in i) (t && x(t, e)) || (delete i[e], (c = !0));
            } else if (8 & s) {
              const n = e.vnode.dynamicProps;
              for (let o = 0; o < n.length; o++) {
                let s = n[o];
                if (bn(e.emitsOptions, s)) continue;
                const u = t[s];
                if (a)
                  if (x(i, s)) u !== i[s] && ((i[s] = u), (c = !0));
                  else {
                    const t = R(s);
                    r[t] = Co(a, l, t, u, e, !1);
                  }
                else u !== i[s] && ((i[s] = u), (c = !0));
              }
            }
            c && Re(e, "set", "$attrs");
          })(e, t.props, o, n),
          ((e, t, n) => {
            const { vnode: o, slots: r } = e;
            let i = !0,
              s = f;
            if (32 & o.shapeFlag) {
              const e = t._;
              e
                ? n && 1 === e
                  ? (i = !1)
                  : (b(r, t), n || 1 !== e || delete r._)
                : ((i = !t.$stable), Po(t, r)),
                (s = t);
            } else t && (Bo(e, t), (s = { default: 1 }));
            if (i) for (const l in r) Ao(l) || l in s || delete r[l];
          })(e, t.children, n),
          Pe(),
          fn(void 0, e.update),
          Be();
      },
      X = (e, t, n, o, r, i, s, l, a = !1) => {
        const c = e && e.children,
          d = e ? e.shapeFlag : 0,
          f = t.children,
          { patchFlag: p, shapeFlag: h } = t;
        if (p > 0) {
          if (128 & p) return void K(c, f, n, o, r, i, s, l, a);
          if (256 & p) return void U(c, f, n, o, r, i, s, l, a);
        }
        8 & h
          ? (16 & d && te(c, r, i), f !== c && u(n, f))
          : 16 & d
          ? 16 & h
            ? K(c, f, n, o, r, i, s, l, a)
            : te(c, r, i, !0)
          : (8 & d && u(n, ""), 16 & h && A(f, n, o, r, i, s, l, a));
      },
      U = (e, t, n, o, r, i, s, l, a) => {
        t = t || p;
        const c = (e = e || p).length,
          u = t.length,
          d = Math.min(c, u);
        let f;
        for (f = 0; f < d; f++) {
          const o = (t[f] = a ? _r(t[f]) : br(t[f]));
          _(e[f], o, n, null, r, i, s, l, a);
        }
        c > u ? te(e, r, i, !0, !1, d) : A(t, n, o, r, i, s, l, a, d);
      },
      K = (e, t, n, o, r, i, s, l, a) => {
        let c = 0;
        const u = t.length;
        let d = e.length - 1,
          f = u - 1;
        for (; c <= d && c <= f; ) {
          const o = e[c],
            u = (t[c] = a ? _r(t[c]) : br(t[c]));
          if (!ur(o, u)) break;
          _(o, u, n, null, r, i, s, l, a), c++;
        }
        for (; c <= d && c <= f; ) {
          const o = e[d],
            c = (t[f] = a ? _r(t[f]) : br(t[f]));
          if (!ur(o, c)) break;
          _(o, c, n, null, r, i, s, l, a), d--, f--;
        }
        if (c > d) {
          if (c <= f) {
            const e = f + 1,
              d = e < u ? t[e].el : o;
            for (; c <= f; )
              _(null, (t[c] = a ? _r(t[c]) : br(t[c])), n, d, r, i, s, l, a),
                c++;
          }
        } else if (c > f) for (; c <= d; ) Z(e[c], r, i, !0), c++;
        else {
          const h = c,
            g = c,
            m = new Map();
          for (c = g; c <= f; c++) {
            const e = (t[c] = a ? _r(t[c]) : br(t[c]));
            null != e.key && m.set(e.key, c);
          }
          let v,
            y = 0;
          const b = f - g + 1;
          let w = !1,
            x = 0;
          const S = new Array(b);
          for (c = 0; c < b; c++) S[c] = 0;
          for (c = h; c <= d; c++) {
            const o = e[c];
            if (y >= b) {
              Z(o, r, i, !0);
              continue;
            }
            let u;
            if (null != o.key) u = m.get(o.key);
            else
              for (v = g; v <= f; v++)
                if (0 === S[v - g] && ur(o, t[v])) {
                  u = v;
                  break;
                }
            void 0 === u
              ? Z(o, r, i, !0)
              : ((S[u - g] = c + 1),
                u >= x ? (x = u) : (w = !0),
                _(o, t[u], n, null, r, i, s, l, a),
                y++);
          }
          const T = w
            ? (function (e) {
                const t = e.slice(),
                  n = [0];
                let o, r, i, s, l;
                const a = e.length;
                for (o = 0; o < a; o++) {
                  const a = e[o];
                  if (0 !== a) {
                    if (((r = n[n.length - 1]), e[r] < a)) {
                      (t[o] = r), n.push(o);
                      continue;
                    }
                    for (i = 0, s = n.length - 1; i < s; )
                      (l = (i + s) >> 1), e[n[l]] < a ? (i = l + 1) : (s = l);
                    a < e[n[i]] && (i > 0 && (t[o] = n[i - 1]), (n[i] = o));
                  }
                }
                (i = n.length), (s = n[i - 1]);
                for (; i-- > 0; ) (n[i] = s), (s = t[s]);
                return n;
              })(S)
            : p;
          for (v = T.length - 1, c = b - 1; c >= 0; c--) {
            const e = g + c,
              d = t[e],
              f = e + 1 < u ? t[e + 1].el : o;
            0 === S[c]
              ? _(null, d, n, f, r, i, s, l, a)
              : w && (v < 0 || c !== T[v] ? G(d, n, f, 2) : v--);
          }
        }
      },
      G = (e, t, o, r, i = null) => {
        const { el: s, type: l, transition: a, children: c, shapeFlag: u } = e;
        if (6 & u) return void G(e.component.subTree, t, o, r);
        if (128 & u) return void e.suspense.move(t, o, r);
        if (64 & u) return void l.move(e, t, o, re);
        if (l === Zo) {
          n(s, t, o);
          for (let e = 0; e < c.length; e++) G(c[e], t, o, r);
          return void n(e.anchor, t, o);
        }
        if (l === er) return void C(e, t, o);
        if (2 !== r && 1 & u && a)
          if (0 === r) a.beforeEnter(s), n(s, t, o), Ho(() => a.enter(s), i);
          else {
            const { leave: e, delayLeave: r, afterLeave: i } = a,
              l = () => n(s, t, o),
              c = () => {
                e(s, () => {
                  l(), i && i();
                });
              };
            r ? r(s, l, c) : c();
          }
        else n(s, t, o);
      },
      Z = (e, t, n, o = !1, r = !1) => {
        const {
          type: i,
          props: s,
          ref: l,
          children: a,
          dynamicChildren: c,
          shapeFlag: u,
          patchFlag: d,
          dirs: f,
        } = e;
        if ((null != l && jo(l, null, n, e, !0), 256 & u))
          return void t.ctx.deactivate(e);
        const p = 1 & u && f,
          h = !Xn(e);
        let g;
        if ((h && (g = s && s.onVnodeBeforeUnmount) && Sr(g, t, e), 6 & u))
          ee(e.component, n, o);
        else {
          if (128 & u) return void e.suspense.unmount(n, o);
          p && Fo(e, null, t, "beforeUnmount"),
            64 & u
              ? e.type.remove(e, t, n, r, re, o)
              : c && (i !== Zo || (d > 0 && 64 & d))
              ? te(c, t, n, !1, !0)
              : ((i === Zo && 384 & d) || (!r && 16 & u)) && te(a, t, n),
            o && Q(e);
        }
        ((h && (g = s && s.onVnodeUnmounted)) || p) &&
          Ho(() => {
            g && Sr(g, t, e), p && Fo(e, null, t, "unmounted");
          }, n);
      },
      Q = (e) => {
        const { type: t, el: n, anchor: r, transition: i } = e;
        if (t === Zo) return void J(n, r);
        if (t === er) return void k(e);
        const s = () => {
          o(n), i && !i.persisted && i.afterLeave && i.afterLeave();
        };
        if (1 & e.shapeFlag && i && !i.persisted) {
          const { leave: t, delayLeave: o } = i,
            r = () => t(n, s);
          o ? o(e.el, s, r) : r();
        } else s();
      },
      J = (e, t) => {
        let n;
        for (; e !== t; ) (n = g(e)), o(e), (e = n);
        o(t);
      },
      ee = (e, t, n) => {
        const { bum: o, scope: r, update: i, subTree: s, um: l } = e;
        o && q(o),
          r.stop(),
          i && ((i.active = !1), Z(s, e, t, n)),
          l && Ho(l, t),
          Ho(() => {
            e.isUnmounted = !0;
          }, t),
          t &&
            t.pendingBranch &&
            !t.isUnmounted &&
            e.asyncDep &&
            !e.asyncResolved &&
            e.suspenseId === t.pendingId &&
            (t.deps--, 0 === t.deps && t.resolve());
      },
      te = (e, t, n, o = !1, r = !1, i = 0) => {
        for (let s = i; s < e.length; s++) Z(e[s], t, n, o, r);
      },
      ne = (e) =>
        6 & e.shapeFlag
          ? ne(e.component.subTree)
          : 128 & e.shapeFlag
          ? e.suspense.next()
          : g(e.anchor || e.el),
      oe = (e, t, n) => {
        null == e
          ? t._vnode && Z(t._vnode, null, null, !0)
          : _(t._vnode || null, e, t, null, null, null, n),
          pn(),
          (t._vnode = e);
      },
      re = {
        p: _,
        um: Z,
        m: G,
        r: Q,
        mt: D,
        mc: A,
        pc: X,
        pbc: I,
        n: ne,
        o: e,
      };
    let ie, se;
    t && ([ie, se] = t(re));
    return { render: oe, hydrate: ie, createApp: Wo(oe, ie) };
  })(e);
}
function qo({ effect: e, update: t }, n) {
  e.allowRecurse = t.allowRecurse = n;
}
function zo(e, t, n = !1) {
  const o = e.children,
    r = t.children;
  if (S(o) && S(r))
    for (let i = 0; i < o.length; i++) {
      const e = o[i];
      let t = r[i];
      1 & t.shapeFlag &&
        !t.dynamicChildren &&
        ((t.patchFlag <= 0 || 32 === t.patchFlag) &&
          ((t = r[i] = _r(r[i])), (t.el = e.el)),
        n || zo(e, t));
    }
}
function Xo(e, t) {
  return Ko("components", e, !0, t) || e;
}
const Yo = Symbol();
function Uo(e) {
  return E(e) ? Ko("components", e, !1) || e : e || Yo;
}
function Ko(e, t, n = !0, o = !1) {
  const r = _n || Or;
  if (r) {
    const n = r.type;
    if ("components" === e) {
      const e = (function (e) {
        return (k(e) && e.displayName) || e.name;
      })(n);
      if (e && (e === t || e === R(t) || e === j(R(t)))) return n;
    }
    const i = Go(r[e] || n[e], t) || Go(r.appContext[e], t);
    return !i && o ? n : i;
  }
}
function Go(e, t) {
  return e && (e[t] || e[R(t)] || e[j(R(t))]);
}
const Zo = Symbol(void 0),
  Qo = Symbol(void 0),
  Jo = Symbol(void 0),
  er = Symbol(void 0),
  tr = [];
let nr = null;
function or(e = !1) {
  tr.push((nr = e ? null : []));
}
let rr = 1;
function ir(e) {
  rr += e;
}
function sr(e) {
  return (
    (e.dynamicChildren = rr > 0 ? nr || p : null),
    tr.pop(),
    (nr = tr[tr.length - 1] || null),
    rr > 0 && nr && nr.push(e),
    e
  );
}
function lr(e, t, n, o, r, i) {
  return sr(hr(e, t, n, o, r, i, !0));
}
function ar(e, t, n, o, r) {
  return sr(gr(e, t, n, o, r, !0));
}
function cr(e) {
  return !!e && !0 === e.__v_isVNode;
}
function ur(e, t) {
  return e.type === t.type && e.key === t.key;
}
const dr = "__vInternal",
  fr = ({ key: e }) => (null != e ? e : null),
  pr = ({ ref: e, ref_key: t, ref_for: n }) =>
    null != e
      ? E(e) || Ft(e) || k(e)
        ? { i: _n, r: e, k: t, f: !!n }
        : e
      : null;
function hr(
  e,
  t = null,
  n = null,
  o = 0,
  r = null,
  i = e === Zo ? 0 : 1,
  s = !1,
  l = !1
) {
  const a = {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e,
    props: t,
    key: t && fr(t),
    ref: t && pr(t),
    scopeId: wn,
    slotScopeIds: null,
    children: n,
    component: null,
    suspense: null,
    ssContent: null,
    ssFallback: null,
    dirs: null,
    transition: null,
    el: null,
    anchor: null,
    target: null,
    targetAnchor: null,
    staticCount: 0,
    shapeFlag: i,
    patchFlag: o,
    dynamicProps: r,
    dynamicChildren: null,
    appContext: null,
  };
  return (
    l
      ? (wr(a, n), 128 & i && e.normalize(a))
      : n && (a.shapeFlag |= E(n) ? 8 : 16),
    rr > 0 &&
      !s &&
      nr &&
      (a.patchFlag > 0 || 6 & i) &&
      32 !== a.patchFlag &&
      nr.push(a),
    a
  );
}
const gr = function (e, t = null, n = null, o = 0, r = null, s = !1) {
  (e && e !== Yo) || (e = Jo);
  if (cr(e)) {
    const o = mr(e, t, !0);
    return n && wr(o, n), o;
  }
  (l = e), k(l) && "__vccOpts" in l && (e = e.__vccOpts);
  var l;
  if (t) {
    t = (function (e) {
      return e ? (Lt(e) || dr in e ? b({}, e) : e) : null;
    })(t);
    let { class: e, style: n } = t;
    e && !E(e) && (t.class = c(e)),
      $(n) && (Lt(n) && !S(n) && (n = b({}, n)), (t.style = i(n)));
  }
  const a = E(e)
    ? 1
    : ((e) => e.__isSuspense)(e)
    ? 128
    : ((e) => e.__isTeleport)(e)
    ? 64
    : $(e)
    ? 4
    : k(e)
    ? 2
    : 0;
  return hr(e, t, n, o, r, a, s, !0);
};
function mr(e, t, n = !1) {
  const { props: o, ref: r, patchFlag: i, children: s } = e,
    l = t ? xr(o || {}, t) : o;
  return {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e.type,
    props: l,
    key: l && fr(l),
    ref:
      t && t.ref ? (n && r ? (S(r) ? r.concat(pr(t)) : [r, pr(t)]) : pr(t)) : r,
    scopeId: e.scopeId,
    slotScopeIds: e.slotScopeIds,
    children: s,
    target: e.target,
    targetAnchor: e.targetAnchor,
    staticCount: e.staticCount,
    shapeFlag: e.shapeFlag,
    patchFlag: t && e.type !== Zo ? (-1 === i ? 16 : 16 | i) : i,
    dynamicProps: e.dynamicProps,
    dynamicChildren: e.dynamicChildren,
    appContext: e.appContext,
    dirs: e.dirs,
    transition: e.transition,
    component: e.component,
    suspense: e.suspense,
    ssContent: e.ssContent && mr(e.ssContent),
    ssFallback: e.ssFallback && mr(e.ssFallback),
    el: e.el,
    anchor: e.anchor,
  };
}
function vr(e = " ", t = 0) {
  return gr(Qo, null, e, t);
}
function yr(e = "", t = !1) {
  return t ? (or(), ar(Jo, null, e)) : gr(Jo, null, e);
}
function br(e) {
  return null == e || "boolean" == typeof e
    ? gr(Jo)
    : S(e)
    ? gr(Zo, null, e.slice())
    : "object" == typeof e
    ? _r(e)
    : gr(Qo, null, String(e));
}
function _r(e) {
  return null === e.el || e.memo ? e : mr(e);
}
function wr(e, t) {
  let n = 0;
  const { shapeFlag: o } = e;
  if (null == t) t = null;
  else if (S(t)) n = 16;
  else if ("object" == typeof t) {
    if (65 & o) {
      const n = t.default;
      return void (n && (n._c && (n._d = !1), wr(e, n()), n._c && (n._d = !0)));
    }
    {
      n = 32;
      const o = t._;
      o || dr in t
        ? 3 === o &&
          _n &&
          (1 === _n.slots._ ? (t._ = 1) : ((t._ = 2), (e.patchFlag |= 1024)))
        : (t._ctx = _n);
    }
  } else
    k(t)
      ? ((t = { default: t, _ctx: _n }), (n = 32))
      : ((t = String(t)), 64 & o ? ((n = 16), (t = [vr(t)])) : (n = 8));
  (e.children = t), (e.shapeFlag |= n);
}
function xr(...e) {
  const t = {};
  for (let n = 0; n < e.length; n++) {
    const o = e[n];
    for (const e in o)
      if ("class" === e)
        t.class !== o.class && (t.class = c([t.class, o.class]));
      else if ("style" === e) t.style = i([t.style, o.style]);
      else if (v(e)) {
        const n = t[e],
          r = o[e];
        !r ||
          n === r ||
          (S(n) && n.includes(r)) ||
          (t[e] = n ? [].concat(n, r) : r);
      } else "" !== e && (t[e] = o[e]);
  }
  return t;
}
function Sr(e, t, n, o = null) {
  Xt(e, t, 7, [n, o]);
}
function Tr(e, t, n, o) {
  let r;
  const i = n && n[o];
  if (S(e) || E(e)) {
    r = new Array(e.length);
    for (let n = 0, o = e.length; n < o; n++)
      r[n] = t(e[n], n, void 0, i && i[n]);
  } else if ("number" == typeof e) {
    r = new Array(e);
    for (let n = 0; n < e; n++) r[n] = t(n + 1, n, void 0, i && i[n]);
  } else if ($(e))
    if (e[Symbol.iterator])
      r = Array.from(e, (e, n) => t(e, n, void 0, i && i[n]));
    else {
      const n = Object.keys(e);
      r = new Array(n.length);
      for (let o = 0, s = n.length; o < s; o++) {
        const s = n[o];
        r[o] = t(e[s], s, o, i && i[o]);
      }
    }
  else r = [];
  return n && (n[o] = r), r;
}
function Cr(e, t, n = {}, o, r) {
  if (_n.isCE || (_n.parent && Xn(_n.parent) && _n.parent.isCE))
    return gr("slot", "default" === t ? null : { name: t }, o && o());
  let i = e[t];
  i && i._c && (i._d = !1), or();
  const s = i && kr(i(n)),
    l = ar(
      Zo,
      { key: n.key || `_${t}` },
      s || (o ? o() : []),
      s && 1 === e._ ? 64 : -2
    );
  return (
    !r && l.scopeId && (l.slotScopeIds = [l.scopeId + "-s"]),
    i && i._c && (i._d = !0),
    l
  );
}
function kr(e) {
  return e.some(
    (e) => !cr(e) || (e.type !== Jo && !(e.type === Zo && !kr(e.children)))
  )
    ? e
    : null;
}
const Er = (e) => (e ? (Nr(e) ? Wr(e) || e.proxy : Er(e.parent)) : null),
  Mr = b(Object.create(null), {
    $: (e) => e,
    $el: (e) => e.vnode.el,
    $data: (e) => e.data,
    $props: (e) => e.props,
    $attrs: (e) => e.attrs,
    $slots: (e) => e.slots,
    $refs: (e) => e.refs,
    $parent: (e) => Er(e.parent),
    $root: (e) => Er(e.root),
    $emit: (e) => e.emit,
    $options: (e) => mo(e),
    $forceUpdate: (e) => () => cn(e.update),
    $nextTick: (e) => an.bind(e.proxy),
    $watch: (e) => Pn.bind(e),
  }),
  $r = {
    get({ _: e }, t) {
      const {
        ctx: n,
        setupState: o,
        data: r,
        props: i,
        accessCache: s,
        type: l,
        appContext: a,
      } = e;
      let c;
      if ("$" !== t[0]) {
        const l = s[t];
        if (void 0 !== l)
          switch (l) {
            case 1:
              return o[t];
            case 2:
              return r[t];
            case 4:
              return n[t];
            case 3:
              return i[t];
          }
        else {
          if (o !== f && x(o, t)) return (s[t] = 1), o[t];
          if (r !== f && x(r, t)) return (s[t] = 2), r[t];
          if ((c = e.propsOptions[0]) && x(c, t)) return (s[t] = 3), i[t];
          if (n !== f && x(n, t)) return (s[t] = 4), n[t];
          fo && (s[t] = 0);
        }
      }
      const u = Mr[t];
      let d, p;
      return u
        ? ("$attrs" === t && Ne(e, 0, t), u(e))
        : (d = l.__cssModules) && (d = d[t])
        ? d
        : n !== f && x(n, t)
        ? ((s[t] = 4), n[t])
        : ((p = a.config.globalProperties), x(p, t) ? p[t] : void 0);
    },
    set({ _: e }, t, n) {
      const { data: o, setupState: r, ctx: i } = e;
      return r !== f && x(r, t)
        ? ((r[t] = n), !0)
        : o !== f && x(o, t)
        ? ((o[t] = n), !0)
        : !x(e.props, t) &&
          ("$" !== t[0] || !(t.slice(1) in e)) &&
          ((i[t] = n), !0);
    },
    has(
      {
        _: {
          data: e,
          setupState: t,
          accessCache: n,
          ctx: o,
          appContext: r,
          propsOptions: i,
        },
      },
      s
    ) {
      let l;
      return (
        !!n[s] ||
        (e !== f && x(e, s)) ||
        (t !== f && x(t, s)) ||
        ((l = i[0]) && x(l, s)) ||
        x(o, s) ||
        x(Mr, s) ||
        x(r.config.globalProperties, s)
      );
    },
    defineProperty(e, t, n) {
      return (
        null != n.get
          ? (e._.accessCache[t] = 0)
          : x(n, "value") && this.set(e, t, n.value, null),
        Reflect.defineProperty(e, t, n)
      );
    },
  },
  Lr = Ro();
let Ar = 0;
let Or = null;
const Ir = () => Or || _n,
  Pr = (e) => {
    (Or = e), e.scope.on();
  },
  Br = () => {
    Or && Or.scope.off(), (Or = null);
  };
function Nr(e) {
  return 4 & e.vnode.shapeFlag;
}
let Fr = !1;
function Rr(e, t, n) {
  k(t)
    ? e.type.__ssrInlineRender
      ? (e.ssrRender = t)
      : (e.render = t)
    : $(t) && (e.setupState = Vt(t)),
    Dr(e, n);
}
function Dr(e, t, n) {
  const o = e.type;
  e.render || (e.render = o.render || h), Pr(e), Pe(), po(e), Be(), Br();
}
function Wr(e) {
  if (e.exposed)
    return (
      e.exposeProxy ||
      (e.exposeProxy = new Proxy(Vt(Ot(e.exposed)), {
        get: (t, n) => (n in t ? t[n] : n in Mr ? Mr[n](e) : void 0),
      }))
    );
}
const jr = (e, t) =>
  (function (e, t, n = !1) {
    let o, r;
    const i = k(e);
    return (
      i ? ((o = e), (r = h)) : ((o = e.get), (r = e.set)),
      new qt(o, r, i || !r, n)
    );
  })(e, 0, Fr);
const Hr = "3.2.33",
  Vr = "undefined" != typeof document ? document : null,
  qr = Vr && Vr.createElement("template"),
  zr = {
    insert: (e, t, n) => {
      t.insertBefore(e, n || null);
    },
    remove: (e) => {
      const t = e.parentNode;
      t && t.removeChild(e);
    },
    createElement: (e, t, n, o) => {
      const r = t
        ? Vr.createElementNS("http://www.w3.org/2000/svg", e)
        : Vr.createElement(e, n ? { is: n } : void 0);
      return (
        "select" === e &&
          o &&
          null != o.multiple &&
          r.setAttribute("multiple", o.multiple),
        r
      );
    },
    createText: (e) => Vr.createTextNode(e),
    createComment: (e) => Vr.createComment(e),
    setText: (e, t) => {
      e.nodeValue = t;
    },
    setElementText: (e, t) => {
      e.textContent = t;
    },
    parentNode: (e) => e.parentNode,
    nextSibling: (e) => e.nextSibling,
    querySelector: (e) => Vr.querySelector(e),
    setScopeId(e, t) {
      e.setAttribute(t, "");
    },
    cloneNode(e) {
      const t = e.cloneNode(!0);
      return "_value" in e && (t._value = e._value), t;
    },
    insertStaticContent(e, t, n, o, r, i) {
      const s = n ? n.previousSibling : t.lastChild;
      if (r && (r === i || r.nextSibling))
        for (
          ;
          t.insertBefore(r.cloneNode(!0), n), r !== i && (r = r.nextSibling);

        );
      else {
        qr.innerHTML = o ? `<svg>${e}</svg>` : e;
        const r = qr.content;
        if (o) {
          const e = r.firstChild;
          for (; e.firstChild; ) r.appendChild(e.firstChild);
          r.removeChild(e);
        }
        t.insertBefore(r, n);
      }
      return [
        s ? s.nextSibling : t.firstChild,
        n ? n.previousSibling : t.lastChild,
      ];
    },
  };
const Xr = /\s*!important$/;
function Yr(e, t, n) {
  if (S(n)) n.forEach((n) => Yr(e, t, n));
  else if ((null == n && (n = ""), (n = Zr(n)), t.startsWith("--")))
    e.setProperty(t, n);
  else {
    const o = (function (e, t) {
      const n = Kr[t];
      if (n) return n;
      let o = R(t);
      if ("filter" !== o && o in e) return (Kr[t] = o);
      o = j(o);
      for (let r = 0; r < Ur.length; r++) {
        const n = Ur[r] + o;
        if (n in e) return (Kr[t] = n);
      }
      return t;
    })(e, t);
    Xr.test(n)
      ? e.setProperty(W(o), n.replace(Xr, ""), "important")
      : (e[o] = n);
  }
}
const Ur = ["Webkit", "Moz", "ms"],
  Kr = {};
const Gr = /\b([+-]?\d+(\.\d+)?)[r|u]px\b/g,
  Zr = (e) =>
    "function" != typeof rpx2px
      ? e
      : E(e)
      ? e.replace(Gr, (e, t) => rpx2px(t) + "px")
      : e,
  Qr = "http://www.w3.org/1999/xlink";
const [Jr, ei] = (() => {
  let e = Date.now,
    t = !1;
  if ("undefined" != typeof window) {
    Date.now() > document.createEvent("Event").timeStamp &&
      (e = () => performance.now());
    const n = navigator.userAgent.match(/firefox\/(\d+)/i);
    t = !!(n && Number(n[1]) <= 53);
  }
  return [e, t];
})();
let ti = 0;
const ni = Promise.resolve(),
  oi = () => {
    ti = 0;
  };
function ri(e, t, n, o, r = null) {
  const i = e._vei || (e._vei = {}),
    s = i[t];
  if (o && s) s.value = o;
  else {
    const [n, l] = (function (e) {
      let t;
      if (ii.test(e)) {
        let n;
        for (t = {}; (n = e.match(ii)); )
          (e = e.slice(0, e.length - n[0].length)),
            (t[n[0].toLowerCase()] = !0);
      }
      return [W(e.slice(2)), t];
    })(t);
    if (o) {
      const s = (i[t] = (function (e, t) {
        const n = (e) => {
          const o = e.timeStamp || Jr();
          if (ei || o >= n.attached - 1) {
            const o = t && t.proxy,
              r = o && o.$nne,
              { value: i } = n;
            if (r && S(i)) {
              const n = si(e, i);
              for (let o = 0; o < n.length; o++) {
                const i = n[o];
                Xt(i, t, 5, i.__wwe ? [e] : r(e));
              }
              return;
            }
            Xt(si(e, i), t, 5, r && !i.__wwe ? r(e, i, t) : [e]);
          }
        };
        return (
          (n.value = e),
          (n.attached = (() => ti || (ni.then(oi), (ti = Jr())))()),
          n
        );
      })(o, r));
      !(function (e, t, n, o) {
        e.addEventListener(t, n, o);
      })(e, n, s, l);
    } else
      s &&
        (!(function (e, t, n, o) {
          e.removeEventListener(t, n, o);
        })(e, n, s, l),
        (i[t] = void 0));
  }
}
const ii = /(?:Once|Passive|Capture)$/;
function si(e, t) {
  if (S(t)) {
    const n = e.stopImmediatePropagation;
    return (
      (e.stopImmediatePropagation = () => {
        n.call(e), (e._stopped = !0);
      }),
      t.map((e) => {
        const t = (t) => !t._stopped && e && e(t);
        return (t.__wwe = e.__wwe), t;
      })
    );
  }
  return t;
}
const li = /^on[a-z]/;
const ai = "transition",
  ci = (e, { slots: t }) =>
    (function (e, t, n) {
      const o = arguments.length;
      return 2 === o
        ? $(t) && !S(t)
          ? cr(t)
            ? gr(e, null, [t])
            : gr(e, t)
          : gr(e, null, t)
        : (o > 3
            ? (n = Array.prototype.slice.call(arguments, 2))
            : 3 === o && cr(n) && (n = [n]),
          gr(e, t, n));
    })(
      Rn,
      (function (e) {
        const t = {};
        for (const b in e) b in ui || (t[b] = e[b]);
        if (!1 === e.css) return t;
        const {
            name: n = "v",
            type: o,
            duration: r,
            enterFromClass: i = `${n}-enter-from`,
            enterActiveClass: s = `${n}-enter-active`,
            enterToClass: l = `${n}-enter-to`,
            appearFromClass: a = i,
            appearActiveClass: c = s,
            appearToClass: u = l,
            leaveFromClass: d = `${n}-leave-from`,
            leaveActiveClass: f = `${n}-leave-active`,
            leaveToClass: p = `${n}-leave-to`,
          } = e,
          h = (function (e) {
            if (null == e) return null;
            if ($(e)) return [pi(e.enter), pi(e.leave)];
            {
              const t = pi(e);
              return [t, t];
            }
          })(r),
          g = h && h[0],
          m = h && h[1],
          {
            onBeforeEnter: v,
            onEnter: y,
            onEnterCancelled: _,
            onLeave: w,
            onLeaveCancelled: x,
            onBeforeAppear: S = v,
            onAppear: T = y,
            onAppearCancelled: C = _,
          } = t,
          k = (e, t, n) => {
            gi(e, t ? u : l), gi(e, t ? c : s), n && n();
          },
          E = (e, t) => {
            gi(e, p), gi(e, f), t && t();
          },
          M = (e) => (t, n) => {
            const r = e ? T : y,
              s = () => k(t, e, n);
            di(r, [t, s]),
              mi(() => {
                gi(t, e ? a : i), hi(t, e ? u : l), fi(r) || yi(t, o, g, s);
              });
          };
        return b(t, {
          onBeforeEnter(e) {
            di(v, [e]), hi(e, i), hi(e, s);
          },
          onBeforeAppear(e) {
            di(S, [e]), hi(e, a), hi(e, c);
          },
          onEnter: M(!1),
          onAppear: M(!0),
          onLeave(e, t) {
            const n = () => E(e, t);
            hi(e, d),
              document.body.offsetHeight,
              hi(e, f),
              mi(() => {
                gi(e, d), hi(e, p), fi(w) || yi(e, o, m, n);
              }),
              di(w, [e, n]);
          },
          onEnterCancelled(e) {
            k(e, !1), di(_, [e]);
          },
          onAppearCancelled(e) {
            k(e, !0), di(C, [e]);
          },
          onLeaveCancelled(e) {
            E(e), di(x, [e]);
          },
        });
      })(e),
      t
    );
ci.displayName = "Transition";
const ui = {
  name: String,
  type: String,
  css: { type: Boolean, default: !0 },
  duration: [String, Number, Object],
  enterFromClass: String,
  enterActiveClass: String,
  enterToClass: String,
  appearFromClass: String,
  appearActiveClass: String,
  appearToClass: String,
  leaveFromClass: String,
  leaveActiveClass: String,
  leaveToClass: String,
};
ci.props = b({}, Rn.props, ui);
const di = (e, t = []) => {
    S(e) ? e.forEach((e) => e(...t)) : e && e(...t);
  },
  fi = (e) => !!e && (S(e) ? e.some((e) => e.length > 1) : e.length > 1);
function pi(e) {
  return X(e);
}
function hi(e, t) {
  t.split(/\s+/).forEach((t) => t && e.classList.add(t)),
    (e._vtc || (e._vtc = new Set())).add(t);
}
function gi(e, t) {
  t.split(/\s+/).forEach((t) => t && e.classList.remove(t));
  const { _vtc: n } = e;
  n && (n.delete(t), n.size || (e._vtc = void 0));
}
function mi(e) {
  requestAnimationFrame(() => {
    requestAnimationFrame(e);
  });
}
let vi = 0;
function yi(e, t, n, o) {
  const r = (e._endId = ++vi),
    i = () => {
      r === e._endId && o();
    };
  if (n) return setTimeout(i, n);
  const {
    type: s,
    timeout: l,
    propCount: a,
  } = (function (e, t) {
    const n = window.getComputedStyle(e),
      o = (e) => (n[e] || "").split(", "),
      r = o("transitionDelay"),
      i = o("transitionDuration"),
      s = bi(r, i),
      l = o("animationDelay"),
      a = o("animationDuration"),
      c = bi(l, a);
    let u = null,
      d = 0,
      f = 0;
    t === ai
      ? s > 0 && ((u = ai), (d = s), (f = i.length))
      : "animation" === t
      ? c > 0 && ((u = "animation"), (d = c), (f = a.length))
      : ((d = Math.max(s, c)),
        (u = d > 0 ? (s > c ? ai : "animation") : null),
        (f = u ? (u === ai ? i.length : a.length) : 0));
    const p = u === ai && /\b(transform|all)(,|$)/.test(n.transitionProperty);
    return { type: u, timeout: d, propCount: f, hasTransform: p };
  })(e, t);
  if (!s) return o();
  const c = s + "end";
  let u = 0;
  const d = () => {
      e.removeEventListener(c, f), i();
    },
    f = (t) => {
      t.target === e && ++u >= a && d();
    };
  setTimeout(() => {
    u < a && d();
  }, l + 1),
    e.addEventListener(c, f);
}
function bi(e, t) {
  for (; e.length < t.length; ) e = e.concat(e);
  return Math.max(...t.map((t, n) => _i(t) + _i(e[n])));
}
function _i(e) {
  return 1e3 * Number(e.slice(0, -1).replace(",", "."));
}
const wi = ["ctrl", "shift", "alt", "meta"],
  xi = {
    stop: (e) => e.stopPropagation(),
    prevent: (e) => e.preventDefault(),
    self: (e) => e.target !== e.currentTarget,
    ctrl: (e) => !e.ctrlKey,
    shift: (e) => !e.shiftKey,
    alt: (e) => !e.altKey,
    meta: (e) => !e.metaKey,
    left: (e) => "button" in e && 0 !== e.button,
    middle: (e) => "button" in e && 1 !== e.button,
    right: (e) => "button" in e && 2 !== e.button,
    exact: (e, t) => wi.some((n) => e[`${n}Key`] && !t.includes(n)),
  },
  Si =
    (e, t) =>
    (n, ...o) => {
      for (let e = 0; e < t.length; e++) {
        const o = xi[t[e]];
        if (o && o(n, t)) return;
      }
      return e(n, ...o);
    },
  Ti = {
    beforeMount(e, { value: t }, { transition: n }) {
      (e._vod = "none" === e.style.display ? "" : e.style.display),
        n && t ? n.beforeEnter(e) : Ci(e, t);
    },
    mounted(e, { value: t }, { transition: n }) {
      n && t && n.enter(e);
    },
    updated(e, { value: t, oldValue: n }, { transition: o }) {
      !t != !n &&
        (o
          ? t
            ? (o.beforeEnter(e), Ci(e, !0), o.enter(e))
            : o.leave(e, () => {
                Ci(e, !1);
              })
          : Ci(e, t));
    },
    beforeUnmount(e, { value: t }) {
      Ci(e, t);
    },
  };
function Ci(e, t) {
  e.style.display = t ? e._vod : "none";
}
const ki = b(
  {
    patchProp: (e, t, r, i, s = !1, l, a, c, u) => {
      if (0 === t.indexOf("change:"))
        return (function (e, t, n, o = null) {
          if (!n || !o) return;
          const r = t.replace("change:", ""),
            { attrs: i } = o,
            s = i[r],
            l = (e.__wxsProps || (e.__wxsProps = {}))[r];
          if (l === s) return;
          e.__wxsProps[r] = s;
          const a = o.proxy;
          an(() => {
            n(s, l, a.$gcd(a, !0), a.$gcd(a, !1));
          });
        })(e, t, i, a);
      "class" === t
        ? (function (e, t, n) {
            const { __wxsAddClass: o, __wxsRemoveClass: r } = e;
            r &&
              r.length &&
              ((t = (t || "")
                .split(/\s+/)
                .filter((e) => -1 === r.indexOf(e))
                .join(" ")),
              (r.length = 0)),
              o && o.length && (t = (t || "") + " " + o.join(" "));
            const i = e._vtc;
            i && (t = (t ? [t, ...i] : [...i]).join(" ")),
              null == t
                ? e.removeAttribute("class")
                : n
                ? e.setAttribute("class", t)
                : (e.className = t);
          })(e, i, s)
        : "style" === t
        ? (function (e, t, n) {
            const o = e.style,
              r = E(n);
            if (n && !r) {
              for (const e in n) Yr(o, e, n[e]);
              if (t && !E(t)) for (const e in t) null == n[e] && Yr(o, e, "");
            } else {
              const i = o.display;
              r ? t !== n && (o.cssText = n) : t && e.removeAttribute("style"),
                "_vod" in e && (o.display = i);
            }
            const { __wxsStyle: i } = e;
            if (i) for (const s in i) Yr(o, s, i[s]);
          })(e, r, i)
        : v(t)
        ? y(t) || ri(e, t, 0, i, a)
        : (
            "." === t[0]
              ? ((t = t.slice(1)), 1)
              : "^" === t[0]
              ? ((t = t.slice(1)), 0)
              : (function (e, t, n, o) {
                  if (o)
                    return (
                      "innerHTML" === t ||
                      "textContent" === t ||
                      !!(t in e && li.test(t) && k(n))
                    );
                  if (
                    "spellcheck" === t ||
                    "draggable" === t ||
                    "translate" === t
                  )
                    return !1;
                  if ("form" === t) return !1;
                  if ("list" === t && "INPUT" === e.tagName) return !1;
                  if ("type" === t && "TEXTAREA" === e.tagName) return !1;
                  if (li.test(t) && E(n)) return !1;
                  return t in e;
                })(e, t, i, s)
          )
        ? (function (e, t, n, r, i, s, l) {
            if ("innerHTML" === t || "textContent" === t)
              return r && l(r, i, s), void (e[t] = null == n ? "" : n);
            if (
              "value" === t &&
              "PROGRESS" !== e.tagName &&
              !e.tagName.includes("-")
            ) {
              e._value = n;
              const o = null == n ? "" : n;
              return (
                (e.value === o && "OPTION" !== e.tagName) || (e.value = o),
                void (null == n && e.removeAttribute(t))
              );
            }
            let a = !1;
            if ("" === n || null == n) {
              const r = typeof e[t];
              "boolean" === r
                ? (n = o(n))
                : null == n && "string" === r
                ? ((n = ""), (a = !0))
                : "number" === r && ((n = 0), (a = !0));
            }
            try {
              e[t] = n;
            } catch (c) {}
            a && e.removeAttribute(t);
          })(e, t, i, l, a, c, u)
        : ("true-value" === t
            ? (e._trueValue = i)
            : "false-value" === t && (e._falseValue = i),
          (function (e, t, r, i, s) {
            if (i && t.startsWith("xlink:"))
              null == r
                ? e.removeAttributeNS(Qr, t.slice(6, t.length))
                : e.setAttributeNS(Qr, t, r);
            else {
              const i = n(t);
              null == r || (i && !o(r))
                ? e.removeAttribute(t)
                : e.setAttribute(t, i ? "" : r);
            }
          })(e, t, i, s));
    },
    forcePatchProp: (e, t) =>
      0 === t.indexOf("change:") ||
      ("class" === t && e.__wxsClassChanged
        ? ((e.__wxsClassChanged = !1), !0)
        : !("style" !== t || !e.__wxsStyleChanged) &&
          ((e.__wxsStyleChanged = !1), !0)),
  },
  zr
);
let Ei;
const Mi = (...e) => {
  const t = (Ei || (Ei = Vo(ki))).createApp(...e),
    { mount: n } = t;
  return (
    (t.mount = (e) => {
      const o = (function (e) {
        if (E(e)) {
          return document.querySelector(e);
        }
        return e;
      })(e);
      if (!o) return;
      const r = t._component;
      k(r) || r.render || r.template || (r.template = o.innerHTML),
        (o.innerHTML = "");
      const i = n(o, !1, o instanceof SVGElement);
      return (
        o instanceof Element &&
          (o.removeAttribute("v-cloak"), o.setAttribute("data-v-app", "")),
        i
      );
    }),
    t
  );
};
const $i = Array.isArray,
  Li = ["{", "}"];
const Ai = /^(?:\d)+/,
  Oi = /^(?:\w)+/;
const Ii = Object.prototype.hasOwnProperty,
  Pi = (e, t) => Ii.call(e, t),
  Bi = new (class {
    constructor() {
      this._caches = Object.create(null);
    }
    interpolate(e, t, n = Li) {
      if (!t) return [e];
      let o = this._caches[e];
      return (
        o ||
          ((o = (function (e, [t, n]) {
            const o = [];
            let r = 0,
              i = "";
            for (; r < e.length; ) {
              let s = e[r++];
              if (s === t) {
                i && o.push({ type: "text", value: i }), (i = "");
                let t = "";
                for (s = e[r++]; void 0 !== s && s !== n; )
                  (t += s), (s = e[r++]);
                const l = s === n,
                  a = Ai.test(t)
                    ? "list"
                    : l && Oi.test(t)
                    ? "named"
                    : "unknown";
                o.push({ value: t, type: a });
              } else i += s;
            }
            return i && o.push({ type: "text", value: i }), o;
          })(e, n)),
          (this._caches[e] = o)),
        (function (e, t) {
          const n = [];
          let o = 0;
          const r = $i(t)
            ? "list"
            : ((i = t),
              null !== i && "object" == typeof i ? "named" : "unknown");
          var i;
          if ("unknown" === r) return n;
          for (; o < e.length; ) {
            const i = e[o];
            switch (i.type) {
              case "text":
                n.push(i.value);
                break;
              case "list":
                n.push(t[parseInt(i.value, 10)]);
                break;
              case "named":
                "named" === r && n.push(t[i.value]);
            }
            o++;
          }
          return n;
        })(o, t)
      );
    }
  })();
function Ni(e, t) {
  if (!e) return;
  if (((e = e.trim().replace(/_/g, "-")), t && t[e])) return e;
  if ("chinese" === (e = e.toLowerCase())) return "zh-Hans";
  if (0 === e.indexOf("zh"))
    return e.indexOf("-hans") > -1
      ? "zh-Hans"
      : e.indexOf("-hant") > -1
      ? "zh-Hant"
      : ((n = e),
        ["-tw", "-hk", "-mo", "-cht"].find((e) => -1 !== n.indexOf(e))
          ? "zh-Hant"
          : "zh-Hans");
  var n;
  const o = (function (e, t) {
    return t.find((t) => 0 === e.indexOf(t));
  })(e, ["en", "fr", "es"]);
  return o || void 0;
}
class Fi {
  constructor({
    locale: e,
    fallbackLocale: t,
    messages: n,
    watcher: o,
    formater: r,
  }) {
    (this.locale = "en"),
      (this.fallbackLocale = "en"),
      (this.message = {}),
      (this.messages = {}),
      (this.watchers = []),
      t && (this.fallbackLocale = t),
      (this.formater = r || Bi),
      (this.messages = n || {}),
      this.setLocale(e || "en"),
      o && this.watchLocale(o);
  }
  setLocale(e) {
    const t = this.locale;
    (this.locale = Ni(e, this.messages) || this.fallbackLocale),
      this.messages[this.locale] || (this.messages[this.locale] = {}),
      (this.message = this.messages[this.locale]),
      t !== this.locale &&
        this.watchers.forEach((e) => {
          e(this.locale, t);
        });
  }
  getLocale() {
    return this.locale;
  }
  watchLocale(e) {
    const t = this.watchers.push(e) - 1;
    return () => {
      this.watchers.splice(t, 1);
    };
  }
  add(e, t, n = !0) {
    const o = this.messages[e];
    o
      ? n
        ? Object.assign(o, t)
        : Object.keys(t).forEach((e) => {
            Pi(o, e) || (o[e] = t[e]);
          })
      : (this.messages[e] = t);
  }
  f(e, t, n) {
    return this.formater.interpolate(e, t, n).join("");
  }
  t(e, t, n) {
    let o = this.message;
    return (
      "string" == typeof t
        ? (t = Ni(t, this.messages)) && (o = this.messages[t])
        : (n = t),
      Pi(o, e)
        ? this.formater.interpolate(o[e], n).join("")
        : (console.warn(
            `Cannot translate the value of keypath ${e}. Use the value of keypath as default.`
          ),
          e)
    );
  }
}
function Ri(e, t = {}, n, o) {
  "string" != typeof e && ([e, t] = [t, e]),
    "string" != typeof e &&
      (e =
        "undefined" != typeof uni && Va
          ? Va()
          : "undefined" != typeof global && global.getLocale
          ? global.getLocale()
          : "en"),
    "string" != typeof n &&
      (n =
        ("undefined" != typeof __uniConfig && __uniConfig.fallbackLocale) ||
        "en");
  const r = new Fi({ locale: e, fallbackLocale: n, messages: t, watcher: o });
  let i = (e, t) => {
    {
      let e = !1;
      i = function (t, n) {
        const o = Ou().$vm;
        return (
          o &&
            (o.$locale,
            e ||
              ((e = !0),
              (function (e, t) {
                e.$watchLocale
                  ? e.$watchLocale((e) => {
                      t.setLocale(e);
                    })
                  : e.$watch(
                      () => e.$locale,
                      (e) => {
                        t.setLocale(e);
                      }
                    );
              })(o, r))),
          r.t(t, n)
        );
      };
    }
    return i(e, t);
  };
  return {
    i18n: r,
    f: (e, t, n) => r.f(e, t, n),
    t: (e, t) => i(e, t),
    add: (e, t, n = !0) => r.add(e, t, n),
    watch: (e) => r.watchLocale(e),
    getLocale: () => r.getLocale(),
    setLocale: (e) => r.setLocale(e),
  };
}
/*!
 * vue-router v4.0.14
 * (c) 2022 Eduardo San Martin Morote
 * @license MIT
 */ const Di =
    "function" == typeof Symbol && "symbol" == typeof Symbol.toStringTag,
  Wi = (e) => (Di ? Symbol(e) : "_vr_" + e);
var ji, Hi, Vi, qi;
((Hi = ji || (ji = {})).pop = "pop"),
  (Hi.push = "push"),
  ((qi = Vi || (Vi = {})).back = "back"),
  (qi.forward = "forward"),
  (qi.unknown = "");
const zi = Wi("nf");
var Xi, Yi;
((Yi = Xi || (Xi = {}))[(Yi.aborted = 4)] = "aborted"),
  (Yi[(Yi.cancelled = 8)] = "cancelled"),
  (Yi[(Yi.duplicated = 16)] = "duplicated");
const Ui = ne(
  () =>
    "undefined" != typeof __uniConfig &&
    __uniConfig.locales &&
    !!Object.keys(__uniConfig.locales).length
);
let Ki;
function Gi() {
  if (!Ki) {
    let e;
    if (
      ((e =
        (window.localStorage && localStorage.UNI_LOCALE) ||
        __uniConfig.locale ||
        navigator.language),
      (Ki = Ri(e)),
      Ui())
    ) {
      const t = Object.keys(__uniConfig.locales || {});
      t.length && t.forEach((e) => Ki.add(e, __uniConfig.locales[e])),
        Ki.setLocale(e);
    }
  }
  return Ki;
}
function Zi(e, t, n) {
  return t.reduce((t, o, r) => ((t[e + o] = n[r]), t), {});
}
const Qi = ne(() => {
    const e = "uni.async.",
      t = ["error"];
    Gi().add(
      "en",
      Zi(e, t, ["The connection timed out, click the screen to try again."]),
      !1
    ),
      Gi().add(
        "es",
        Zi(e, t, [
          "Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo.",
        ]),
        !1
      ),
      Gi().add(
        "fr",
        Zi(e, t, [
          "La connexion a expiré, cliquez sur l'écran pour réessayer.",
        ]),
        !1
      ),
      Gi().add("zh-Hans", Zi(e, t, ["连接服务器超时，点击屏幕重试"]), !1),
      Gi().add("zh-Hant", Zi(e, t, ["連接服務器超時，點擊屏幕重試"]), !1);
  }),
  Ji = ne(() => {
    const e = "uni.showModal.",
      t = ["cancel", "confirm"];
    Gi().add("en", Zi(e, t, ["Cancel", "OK"]), !1),
      Gi().add("es", Zi(e, t, ["Cancelar", "OK"]), !1),
      Gi().add("fr", Zi(e, t, ["Annuler", "OK"]), !1),
      Gi().add("zh-Hans", Zi(e, t, ["取消", "确定"]), !1),
      Gi().add("zh-Hant", Zi(e, t, ["取消", "確定"]), !1);
  }),
  es = ne(() => {
    const e = "uni.video.",
      t = ["danmu", "volume"];
    Gi().add("en", Zi(e, t, ["Danmu", "Volume"]), !1),
      Gi().add("es", Zi(e, t, ["Danmu", "Volumen"]), !1),
      Gi().add("fr", Zi(e, t, ["Danmu", "Le Volume"]), !1),
      Gi().add("zh-Hans", Zi(e, t, ["弹幕", "音量"]), !1),
      Gi().add("zh-Hant", Zi(e, t, ["彈幕", "音量"]), !1);
  });
function ts(e) {
  const t = new ye();
  return {
    on: (e, n) => t.on(e, n),
    once: (e, n) => t.once(e, n),
    off: (e, n) => t.off(e, n),
    emit: (e, ...n) => t.emit(e, ...n),
    subscribe(n, o, r = !1) {
      t[r ? "once" : "on"](`${e}.${n}`, o);
    },
    unsubscribe(n, o) {
      t.off(`${e}.${n}`, o);
    },
    subscribeHandler(n, o, r) {
      t.emit(`${e}.${n}`, o, r);
    },
  };
}
let ns = 1;
const os = Object.create(null);
function rs(e, t) {
  return e + "." + t;
}
function is({ id: e, name: t, args: n }, o) {
  t = rs(o, t);
  const r = (t) => {
      e && Md.publishHandler("invokeViewApi." + e, t);
    },
    i = os[t];
  i ? i(n, r) : r({});
}
const ss = b(ts("service"), {
    invokeServiceMethod: (e, t, n) => {
      const { subscribe: o, publishHandler: r } = Md,
        i = n ? ns++ : 0;
      n && o("invokeServiceApi." + i, n, !0),
        r("invokeServiceApi", { id: i, name: e, args: t });
    },
  }),
  ls = se(!0);
let as;
function cs() {
  as && (clearTimeout(as), (as = null));
}
let us = 0,
  ds = 0;
function fs(e) {
  if ((cs(), 1 !== e.touches.length)) return;
  const { pageX: t, pageY: n } = e.touches[0];
  (us = t),
    (ds = n),
    (as = setTimeout(function () {
      const t = new CustomEvent("longpress", {
        bubbles: !0,
        cancelable: !0,
        target: e.target,
        currentTarget: e.currentTarget,
      });
      (t.touches = e.touches),
        (t.changedTouches = e.changedTouches),
        e.target.dispatchEvent(t);
    }, 350));
}
function ps(e) {
  if (!as) return;
  if (1 !== e.touches.length) return cs();
  const { pageX: t, pageY: n } = e.touches[0];
  return Math.abs(t - us) > 10 || Math.abs(n - ds) > 10 ? cs() : void 0;
}
function hs(e, t) {
  const n = Number(e);
  return isNaN(n) ? t : n;
}
function gs() {
  const e = __uniConfig.globalStyle || {},
    t = hs(e.rpxCalcMaxDeviceWidth, 960),
    n = hs(e.rpxCalcBaseDeviceWidth, 375);
  function o() {
    let e = (function () {
      const e =
          /^Apple/.test(navigator.vendor) &&
          "number" == typeof window.orientation,
        t = e && 90 === Math.abs(window.orientation);
      var n = e
        ? Math[t ? "max" : "min"](screen.width, screen.height)
        : screen.width;
      return (
        Math.min(window.innerWidth, document.documentElement.clientWidth, n) ||
        n
      );
    })();
    (e = e <= t ? e : n),
      (document.documentElement.style.fontSize = e / 23.4375 + "px");
  }
  o(),
    document.addEventListener("DOMContentLoaded", o),
    window.addEventListener("load", o),
    window.addEventListener("resize", o);
}
function ms() {
  gs(),
    re(),
    window.addEventListener("touchstart", fs, ls),
    window.addEventListener("touchmove", ps, ls),
    window.addEventListener("touchend", cs, ls),
    window.addEventListener("touchcancel", cs, ls);
}
var vs,
  ys,
  bs = ["top", "left", "right", "bottom"],
  _s = {};
function ws() {
  return (ys =
    "CSS" in window && "function" == typeof CSS.supports
      ? CSS.supports("top: env(safe-area-inset-top)")
        ? "env"
        : CSS.supports("top: constant(safe-area-inset-top)")
        ? "constant"
        : ""
      : "");
}
function xs() {
  if ((ys = "string" == typeof ys ? ys : ws())) {
    var e = [],
      t = !1;
    try {
      var n = Object.defineProperty({}, "passive", {
        get: function () {
          t = { passive: !0 };
        },
      });
      window.addEventListener("test", null, n);
    } catch (l) {}
    var o = document.createElement("div");
    r(o, {
      position: "absolute",
      left: "0",
      top: "0",
      width: "0",
      height: "0",
      zIndex: "-1",
      overflow: "hidden",
      visibility: "hidden",
    }),
      bs.forEach(function (e) {
        s(o, e);
      }),
      document.body.appendChild(o),
      i(),
      (vs = !0);
  } else
    bs.forEach(function (e) {
      _s[e] = 0;
    });
  function r(e, t) {
    var n = e.style;
    Object.keys(t).forEach(function (e) {
      var o = t[e];
      n[e] = o;
    });
  }
  function i(t) {
    t
      ? e.push(t)
      : e.forEach(function (e) {
          e();
        });
  }
  function s(e, n) {
    var o = document.createElement("div"),
      s = document.createElement("div"),
      l = document.createElement("div"),
      a = document.createElement("div"),
      c = {
        position: "absolute",
        width: "100px",
        height: "200px",
        boxSizing: "border-box",
        overflow: "hidden",
        paddingBottom: ys + "(safe-area-inset-" + n + ")",
      };
    r(o, c),
      r(s, c),
      r(l, {
        transition: "0s",
        animation: "none",
        width: "400px",
        height: "400px",
      }),
      r(a, {
        transition: "0s",
        animation: "none",
        width: "250%",
        height: "250%",
      }),
      o.appendChild(l),
      s.appendChild(a),
      e.appendChild(o),
      e.appendChild(s),
      i(function () {
        o.scrollTop = s.scrollTop = 1e4;
        var e = o.scrollTop,
          r = s.scrollTop;
        function i() {
          this.scrollTop !== (this === o ? e : r) &&
            ((o.scrollTop = s.scrollTop = 1e4),
            (e = o.scrollTop),
            (r = s.scrollTop),
            (function (e) {
              Ts.length ||
                setTimeout(function () {
                  var e = {};
                  Ts.forEach(function (t) {
                    e[t] = _s[t];
                  }),
                    (Ts.length = 0),
                    Cs.forEach(function (t) {
                      t(e);
                    });
                }, 0);
              Ts.push(e);
            })(n));
        }
        o.addEventListener("scroll", i, t), s.addEventListener("scroll", i, t);
      });
    var u = getComputedStyle(o);
    Object.defineProperty(_s, n, {
      configurable: !0,
      get: function () {
        return parseFloat(u.paddingBottom);
      },
    });
  }
}
function Ss(e) {
  return vs || xs(), _s[e];
}
var Ts = [];
var Cs = [];
var ks = {
  get support() {
    return 0 != ("string" == typeof ys ? ys : ws()).length;
  },
  get top() {
    return Ss("top");
  },
  get left() {
    return Ss("left");
  },
  get right() {
    return Ss("right");
  },
  get bottom() {
    return Ss("bottom");
  },
  onChange: function (e) {
    ws() && (vs || xs(), "function" == typeof e && Cs.push(e));
  },
  offChange: function (e) {
    var t = Cs.indexOf(e);
    t >= 0 && Cs.splice(t, 1);
  },
};
const Es = Si(() => {}, ["prevent"]),
  Ms = Si(() => {}, ["stop"]);
function $s(e, t) {
  return parseInt((e.getPropertyValue(t).match(/\d+/) || ["0"])[0]);
}
function Ls() {
  const e = $s(document.documentElement.style, "--window-top");
  return e ? e + ks.top : 0;
}
function As() {
  const e = document.documentElement.style,
    t = Ls(),
    n = $s(e, "--window-bottom"),
    o = $s(e, "--window-left"),
    r = $s(e, "--window-right");
  return {
    top: t,
    bottom: n ? n + ks.bottom : 0,
    left: o ? o + ks.left : 0,
    right: r ? r + ks.right : 0,
  };
}
function Os(e) {
  const t = document.documentElement.style;
  Object.keys(e).forEach((n) => {
    t.setProperty(n, e[n]);
  });
}
function Is(e) {
  return -1 !== (e += "").indexOf("rpx") || -1 !== e.indexOf("upx");
}
function Ps(e, t = !1) {
  if (t)
    return (function (e) {
      if (!Is(e)) return e;
      return e.replace(
        /(\d+(\.\d+)?)[ru]px/g,
        (e, t) => ya(parseFloat(t)) + "px"
      );
    })(e);
  if ("string" == typeof e) {
    const t = parseInt(e) || 0;
    return Is(e) ? ya(t) : t;
  }
  return e;
}
function Bs() {
  const e = _u(),
    t = e.length;
  if (t) return e[t - 1];
}
function Ns() {
  const e = Bs();
  if (e) return e.$page.meta;
}
function Fs() {
  const e = Ns();
  return e ? e.id : -1;
}
function Rs() {
  const e = Bs();
  if (e) return e.$vm;
}
const Ds = ["navigationBar", "pullToRefresh"];
function Ws(e, t) {
  const n = JSON.parse(JSON.stringify(__uniConfig.globalStyle || {})),
    o = b({ id: t }, n, e);
  Ds.forEach((t) => {
    o[t] = b({}, n[t], e[t]);
  });
  const { navigationBar: r } = o;
  return r.titleText && r.titleImage && (r.titleText = ""), o;
}
function js(e, t, n) {
  if (E(e)) (n = t), (t = e), (e = Rs());
  else if ("number" == typeof e) {
    const t = _u().find((t) => t.$page.id === e);
    e = t ? t.$vm : Rs();
  }
  if (!e) return;
  const o = e.$[t];
  return (
    o &&
    ((e, t) => {
      let n;
      for (let o = 0; o < e.length; o++) n = e[o](t);
      return n;
    })(o, n)
  );
}
function Hs(e) {
  e.preventDefault();
}
let Vs,
  qs = 0;
function zs({ onPageScroll: e, onReachBottom: t, onReachBottomDistance: n }) {
  let o = !1,
    r = !1,
    i = !0;
  const s = () => {
    function s() {
      if (
        (() => {
          const { scrollHeight: e } = document.documentElement,
            t = window.innerHeight,
            o = window.scrollY,
            i = o > 0 && e > t && o + t + n >= e,
            s = Math.abs(e - qs) > n;
          return !i || (r && !s)
            ? (!i && r && (r = !1), !1)
            : ((qs = e), (r = !0), !0);
        })()
      )
        return (
          t && t(),
          (i = !1),
          setTimeout(function () {
            i = !0;
          }, 350),
          !0
        );
    }
    e && e(window.pageYOffset),
      t && i && (s() || (Vs = setTimeout(s, 300))),
      (o = !1);
  };
  return function () {
    clearTimeout(Vs), o || requestAnimationFrame(s), (o = !0);
  };
}
function Xs(e, t) {
  if (0 === t.indexOf("/")) return t;
  if (0 === t.indexOf("./")) return Xs(e, t.slice(2));
  const n = t.split("/"),
    o = n.length;
  let r = 0;
  for (; r < o && ".." === n[r]; r++);
  n.splice(0, r), (t = n.join("/"));
  const i = e.length > 0 ? e.split("/") : [];
  return i.splice(i.length - r - 1, r + 1), te(i.concat(n).join("/"));
}
class Ys {
  constructor(e) {
    (this.$bindClass = !1),
      (this.$bindStyle = !1),
      (this.$vm = e),
      (this.$el = (function (e) {
        const { vnode: t } = e;
        if (J(t.el)) return t.el;
        const { subTree: n } = e;
        if (16 & n.shapeFlag) {
          const e = n.children.find((e) => e.el && J(e.el));
          if (e) return e.el;
        }
        return t.el;
      })(e.$)),
      this.$el.getAttribute &&
        ((this.$bindClass = !!this.$el.getAttribute("class")),
        (this.$bindStyle = !!this.$el.getAttribute("style")));
  }
  selectComponent(e) {
    if (!this.$el || !e) return;
    const t = Zs(this.$el.querySelector(e));
    return t ? Us(t, !1) : void 0;
  }
  selectAllComponents(e) {
    if (!this.$el || !e) return [];
    const t = [],
      n = this.$el.querySelectorAll(e);
    for (let o = 0; o < n.length; o++) {
      const e = Zs(n[o]);
      e && t.push(Us(e, !1));
    }
    return t;
  }
  forceUpdate(e) {
    "class" === e
      ? this.$bindClass
        ? ((this.$el.__wxsClassChanged = !0), this.$vm.$forceUpdate())
        : this.updateWxsClass()
      : "style" === e &&
        (this.$bindStyle
          ? ((this.$el.__wxsStyleChanged = !0), this.$vm.$forceUpdate())
          : this.updateWxsStyle());
  }
  updateWxsClass() {
    const { __wxsAddClass: e } = this.$el;
    e.length && (this.$el.className = e.join(" "));
  }
  updateWxsStyle() {
    const { __wxsStyle: e } = this.$el;
    e &&
      this.$el.setAttribute(
        "style",
        (function (e) {
          let t = "";
          if (!e || E(e)) return t;
          for (const n in e) {
            const o = e[n],
              i = n.startsWith("--") ? n : W(n);
            (E(o) || ("number" == typeof o && r(i))) && (t += `${i}:${o};`);
          }
          return t;
        })(e)
      );
  }
  setStyle(e) {
    return this.$el && e
      ? ("string" == typeof e && (e = a(e)),
        I(e) && ((this.$el.__wxsStyle = e), this.forceUpdate("style")),
        this)
      : this;
  }
  addClass(e) {
    if (!this.$el || !e) return this;
    const t = this.$el.__wxsAddClass || (this.$el.__wxsAddClass = []);
    return -1 === t.indexOf(e) && (t.push(e), this.forceUpdate("class")), this;
  }
  removeClass(e) {
    if (!this.$el || !e) return this;
    const { __wxsAddClass: t } = this.$el;
    if (t) {
      const n = t.indexOf(e);
      n > -1 && t.splice(n, 1);
    }
    const n = this.$el.__wxsRemoveClass || (this.$el.__wxsRemoveClass = []);
    return -1 === n.indexOf(e) && (n.push(e), this.forceUpdate("class")), this;
  }
  hasClass(e) {
    return this.$el && this.$el.classList.contains(e);
  }
  getDataset() {
    return this.$el && this.$el.dataset;
  }
  callMethod(e, t = {}) {
    const n = this.$vm[e];
    k(n)
      ? n(JSON.parse(JSON.stringify(t)))
      : this.$vm.ownerId &&
        Md.publishHandler("onWxsInvokeCallMethod", {
          nodeId: this.$el.__id,
          ownerId: this.$vm.ownerId,
          method: e,
          args: t,
        });
  }
  requestAnimationFrame(e) {
    return window.requestAnimationFrame(e);
  }
  getState() {
    return this.$el && (this.$el.__wxsState || (this.$el.__wxsState = {}));
  }
  triggerEvent(e, t = {}) {
    return this.$vm.$emit(e, t), this;
  }
  getComputedStyle(e) {
    if (this.$el) {
      const t = window.getComputedStyle(this.$el);
      return e && e.length ? e.reduce((e, n) => ((e[n] = t[n]), e), {}) : t;
    }
    return {};
  }
  setTimeout(e, t) {
    return window.setTimeout(e, t);
  }
  clearTimeout(e) {
    return window.clearTimeout(e);
  }
  getBoundingClientRect() {
    return this.$el.getBoundingClientRect();
  }
}
function Us(e, t = !0) {
  if ((t && e && (e = Q(e.$)), e && e.$el))
    return (
      e.$el.__wxsComponentDescriptor ||
        (e.$el.__wxsComponentDescriptor = new Ys(e)),
      e.$el.__wxsComponentDescriptor
    );
}
function Ks(e, t) {
  return Us(e, t);
}
function Gs(e, t, n) {
  if (t) {
    Object.defineProperty(e, "instance", { get: () => Ks(n.proxy, !1) });
    const o = (function (e, t) {
      if (!t || e.length < 2) return !1;
      const n = Q(t);
      if (!n) return !1;
      const o = n.$.type;
      return !(!o.$wxs && !o.$renderjs) && n;
    })(t, n);
    if (o) return [e, Ks(o, !1)];
  }
}
function Zs(e) {
  if (e) return e.__vueParentComponent && e.__vueParentComponent.proxy;
}
function Qs(e) {
  for (; e && 0 !== e.tagName.indexOf("UNI-"); ) e = e.parentElement;
  return e;
}
function Js(e, t = !1) {
  const { type: n, timeStamp: o, target: r, currentTarget: i } = e,
    s = {
      type: n,
      timeStamp: o,
      target: le(t ? r : Qs(r)),
      detail: {},
      currentTarget: le(i),
    };
  return (
    e._stopped && (s._stopped = !0),
    e.type.startsWith("touch") &&
      ((s.touches = e.touches), (s.changedTouches = e.changedTouches)),
    s
  );
}
function el(e, t) {
  return {
    force: 1,
    identifier: 0,
    clientX: e.clientX,
    clientY: e.clientY - t,
    pageX: e.pageX,
    pageY: e.pageY - t,
  };
}
function tl(e, t) {
  const n = [];
  for (let o = 0; o < e.length; o++) {
    const {
      identifier: r,
      pageX: i,
      pageY: s,
      clientX: l,
      clientY: a,
      force: c,
    } = e[o];
    n.push({
      identifier: r,
      pageX: i,
      pageY: s - t,
      clientX: l,
      clientY: a - t,
      force: c || 0,
    });
  }
  return n;
}
var nl = {
  __proto__: null,
  [Symbol.toStringTag]: "Module",
  $nne: function (e, t, n) {
    const { currentTarget: o } = e;
    if (!(e instanceof Event && o instanceof HTMLElement)) return [e];
    const r = 0 !== o.tagName.indexOf("UNI-");
    if (r) return [e];
    const i = Js(e, r);
    if ("click" === e.type)
      !(function (e, t) {
        const { x: n, y: o } = t,
          r = Ls();
        (e.detail = { x: n, y: o - r }),
          (e.touches = e.changedTouches = [el(t, r)]);
      })(i, e);
    else if (
      ((e) =>
        0 === e.type.indexOf("mouse") || ["contextmenu"].includes(e.type))(e)
    )
      !(function (e, t) {
        const n = Ls();
        (e.pageX = t.pageX),
          (e.pageY = t.pageY - n),
          (e.clientX = t.clientX),
          (e.clientY = t.clientY - n),
          (e.touches = e.changedTouches = [el(t, n)]);
      })(i, e);
    else if (e instanceof TouchEvent) {
      const t = Ls();
      (i.touches = tl(e.touches, t)),
        (i.changedTouches = tl(e.changedTouches, t));
    }
    return (
      (function (e, t) {
        b(e, {
          preventDefault: () => t.preventDefault(),
          stopPropagation: () => t.stopPropagation(),
        });
      })(i, e),
      Gs(i, t, n) || [i]
    );
  },
  createNativeEvent: Js,
};
function ol(e) {
  !(function (e) {
    const t = e.globalProperties;
    b(t, nl), (t.$gcd = Ks);
  })(e._context.config);
}
let rl = 1;
function il() {
  return Fs() + ".invokeViewApi";
}
const sl = b(ts("view"), {
  invokeOnCallback: (e, t) => $d.emit("api." + e, t),
  invokeViewMethod: (e, t, n, o) => {
    const { subscribe: r, publishHandler: i } = $d,
      s = o ? rl++ : 0;
    o && r("invokeViewApi." + s, o, !0),
      i(il(), { id: s, name: e, args: t }, n);
  },
  invokeViewMethodKeepAlive: (e, t, n, o) => {
    const { subscribe: r, unsubscribe: i, publishHandler: s } = $d,
      l = rl++,
      a = "invokeViewApi." + l;
    return (
      r(a, n),
      s(il(), { id: l, name: e, args: t }, o),
      () => {
        i(a);
      }
    );
  },
});
function ll(e) {
  js(Bs(), "onResize", e), $d.invokeOnCallback("onWindowResize", e);
}
function al(e) {
  const t = Bs();
  js(Ou(), "onShow", e), js(t, "onShow");
}
function cl() {
  js(Ou(), "onHide"), js(Bs(), "onHide");
}
const ul = ["onPageScroll", "onReachBottom"];
function dl() {
  ul.forEach((e) =>
    $d.subscribe(
      e,
      (function (e) {
        return (t, n) => {
          js(parseInt(n), e, t);
        };
      })(e)
    )
  );
}
function fl() {
  !(function () {
    const { on: e } = $d;
    e("onResize", ll),
      e("onAppEnterForeground", al),
      e("onAppEnterBackground", cl);
  })(),
    dl();
}
function pl() {
  if (this.$route) {
    const e = this.$route.meta;
    return (
      e.eventChannel || (e.eventChannel = new fe(this.$page.id)), e.eventChannel
    );
  }
}
function hl(e) {
  e._context.config.globalProperties.getOpenerEventChannel = pl;
}
function gl() {
  return {
    path: "",
    query: {},
    scene: 1001,
    referrerInfo: { appId: "", extraData: {} },
  };
}
function ml(e) {
  return /^-?\d+[ur]px$/i.test(e)
    ? e.replace(/(^-?\d+)[ur]px$/i, (e, t) => `${ya(parseFloat(t))}px`)
    : /^-?[\d\.]+$/.test(e)
    ? `${e}px`
    : e || "";
}
function vl(e) {
  const t = e.animation;
  if (!t || !t.actions || !t.actions.length) return;
  let n = 0;
  const o = t.actions,
    r = t.actions.length;
  function i() {
    const t = o[n],
      s = t.option.transition,
      l = (function (e) {
        const t = [
            "matrix",
            "matrix3d",
            "scale",
            "scale3d",
            "rotate3d",
            "skew",
            "translate",
            "translate3d",
          ],
          n = [
            "scaleX",
            "scaleY",
            "scaleZ",
            "rotate",
            "rotateX",
            "rotateY",
            "rotateZ",
            "skewX",
            "skewY",
            "translateX",
            "translateY",
            "translateZ",
          ],
          o = ["opacity", "background-color"],
          r = ["width", "height", "left", "right", "top", "bottom"],
          i = e.animates,
          s = e.option,
          l = s.transition,
          a = {},
          c = [];
        return (
          i.forEach((e) => {
            let i = e.type,
              s = [...e.args];
            if (t.concat(n).includes(i))
              i.startsWith("rotate") || i.startsWith("skew")
                ? (s = s.map((e) => parseFloat(e) + "deg"))
                : i.startsWith("translate") && (s = s.map(ml)),
                n.indexOf(i) >= 0 && (s.length = 1),
                c.push(`${i}(${s.join(",")})`);
            else if (o.concat(r).includes(s[0])) {
              i = s[0];
              const e = s[1];
              a[i] = r.includes(i) ? ml(e) : e;
            }
          }),
          (a.transform = a.webkitTransform = c.join(" ")),
          (a.transition = a.webkitTransition =
            Object.keys(a)
              .map(
                (e) =>
                  `${(function (e) {
                    return e
                      .replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`)
                      .replace("webkit", "-webkit");
                  })(e)} ${l.duration}ms ${l.timingFunction} ${l.delay}ms`
              )
              .join(",")),
          (a.transformOrigin = a.webkitTransformOrigin = s.transformOrigin),
          a
        );
      })(t);
    Object.keys(l).forEach((t) => {
      e.$el.style[t] = l[t];
    }),
      (n += 1),
      n < r && setTimeout(i, s.duration + s.delay);
  }
  setTimeout(() => {
    i();
  }, 0);
}
var yl = {
  props: ["animation"],
  watch: {
    animation: {
      deep: !0,
      handler() {
        vl(this);
      },
    },
  },
  mounted() {
    vl(this);
  },
};
const bl = (e) => {
    e.__reserved = !0;
    const { props: t, mixins: n } = e;
    return (t && t.animation) || (n || (e.mixins = [])).push(yl), _l(e);
  },
  _l = (e) => ((e.__reserved = !0), (e.compatConfig = { MODE: 3 }), zn(e)),
  wl = {
    hoverClass: { type: String, default: "none" },
    hoverStopPropagation: { type: Boolean, default: !1 },
    hoverStartTime: { type: [Number, String], default: 50 },
    hoverStayTime: { type: [Number, String], default: 400 },
  };
function xl(e) {
  return (e.__wwe = !0), e;
}
function Sl(e, t) {
  return (n, o, r) => {
    e.value &&
      t(
        n,
        (function (e, t, n, o) {
          const r = le(n);
          return {
            type: o.type || e,
            timeStamp: t.timeStamp || 0,
            target: r,
            currentTarget: r,
            detail: o,
          };
        })(n, o, e.value, r || {})
      );
  };
}
function Tl(e) {
  return 0 === te(e).indexOf("./") ? te(e) : "./" + e;
}
function Cl(e) {
  const { base: t, assets: n } = __uniConfig.router;
  if (
    ("./" === t &&
      (0 === e.indexOf("./static/") ||
        (n && 0 === e.indexOf("./" + n + "/"))) &&
      (e = e.slice(1)),
    0 === e.indexOf("/"))
  ) {
    if (0 !== e.indexOf("//")) return Tl(e.slice(1));
    e = "https:" + e;
  }
  if (K.test(e) || G.test(e) || 0 === e.indexOf("blob:")) return e;
  const o = _u();
  return o.length ? Tl(Xs(o[o.length - 1].$page.route, e).slice(1)) : e;
}
const kl = navigator.userAgent,
  El = /android/i.test(kl),
  Ml = /iphone|ipad|ipod/i.test(kl),
  $l = kl.match(/Windows NT ([\d|\d.\d]*)/i),
  Ll = /Macintosh|Mac/i.test(kl),
  Al = /Linux|X11/i.test(kl),
  Ol = Ll && navigator.maxTouchPoints > 0;
function Il() {
  return (
    /^Apple/.test(navigator.vendor) && "number" == typeof window.orientation
  );
}
function Pl(e) {
  return e && 90 === Math.abs(window.orientation);
}
function Bl(e, t) {
  return e
    ? Math[t ? "max" : "min"](screen.width, screen.height)
    : screen.width;
}
function Nl(e) {
  return (
    Math.min(window.innerWidth, document.documentElement.clientWidth, e) || e
  );
}
function Fl(e, t, n, o) {
  $d.invokeViewMethod("video." + e, { videoId: e, type: n, data: o }, t);
}
function Rl(e, t) {
  const n = {},
    { top: o } = As();
  if (
    (t.id && (n.id = e.id), t.dataset && (n.dataset = ie(e)), t.rect || t.size)
  ) {
    const r = e.getBoundingClientRect();
    t.rect &&
      ((n.left = r.left),
      (n.right = r.right),
      (n.top = r.top - o),
      (n.bottom = r.bottom - o)),
      t.size && ((n.width = r.width), (n.height = r.height));
  }
  if (
    (Array.isArray(t.properties) &&
      t.properties.forEach((e) => {
        e = e.replace(/-([a-z])/g, function (e, t) {
          return t.toUpperCase();
        });
      }),
    t.scrollOffset)
  )
    if ("UNI-SCROLL-VIEW" === e.tagName) {
      const t = e.children[0].children[0];
      (n.scrollLeft = t.scrollLeft),
        (n.scrollTop = t.scrollTop),
        (n.scrollHeight = t.scrollHeight),
        (n.scrollWidth = t.scrollWidth);
    } else
      (n.scrollLeft = 0),
        (n.scrollTop = 0),
        (n.scrollHeight = 0),
        (n.scrollWidth = 0);
  if (Array.isArray(t.computedStyle)) {
    const o = getComputedStyle(e);
    t.computedStyle.forEach((e) => {
      n[e] = o[e];
    });
  }
  return (
    t.context &&
      (n.contextInfo = (function (e) {
        return e.__uniContextInfo;
      })(e)),
    n
  );
}
function Dl(e, t) {
  return (
    e.matches ||
    e.matchesSelector ||
    e.mozMatchesSelector ||
    e.msMatchesSelector ||
    e.oMatchesSelector ||
    e.webkitMatchesSelector ||
    function (e) {
      const t = this.parentElement.querySelectorAll(e);
      let n = t.length;
      for (; --n >= 0 && t.item(n) !== this; );
      return n > -1;
    }
  ).call(e, t);
}
function Wl(e, t, n) {
  const o = [];
  t.forEach(({ component: t, selector: n, single: r, fields: i }) => {
    null === t
      ? o.push(
          (function (e) {
            const t = {};
            if (
              (e.id && (t.id = ""),
              e.dataset && (t.dataset = {}),
              e.rect &&
                ((t.left = 0), (t.right = 0), (t.top = 0), (t.bottom = 0)),
              e.size &&
                ((t.width = document.documentElement.clientWidth),
                (t.height = document.documentElement.clientHeight)),
              e.scrollOffset)
            ) {
              const e = document.documentElement,
                n = document.body;
              (t.scrollLeft = e.scrollLeft || n.scrollLeft || 0),
                (t.scrollTop = e.scrollTop || n.scrollTop || 0),
                (t.scrollHeight = e.scrollHeight || n.scrollHeight || 0),
                (t.scrollWidth = e.scrollWidth || n.scrollWidth || 0);
            }
            return t;
          })(i)
        )
      : o.push(
          (function (e, t, n, o, r) {
            const i = (function (e, t) {
                return e ? e.$el : t.$el;
              })(t, e),
              s = i.parentElement;
            if (!s) return o ? null : [];
            const { nodeType: l } = i,
              a = 3 === l || 8 === l;
            if (o) {
              const e = a
                ? s.querySelector(n)
                : Dl(i, n)
                ? i
                : i.querySelector(n);
              return e ? Rl(e, r) : null;
            }
            {
              let e = [];
              const t = (a ? s : i).querySelectorAll(n);
              return (
                t &&
                  t.length &&
                  [].forEach.call(t, (t) => {
                    e.push(Rl(t, r));
                  }),
                !a && Dl(i, n) && e.unshift(Rl(i, r)),
                e
              );
            }
          })(e, t, n, r, i)
        );
  }),
    n(o);
}
function jl(e) {
  return function () {
    try {
      return e.apply(e, arguments);
    } catch (t) {
      console.error(t);
    }
  };
}
let Hl = 1;
const Vl = {};
function ql(e, t, n) {
  if ("number" == typeof e) {
    const o = Vl[e];
    if (o) return o.keepAlive || delete Vl[e], o.callback(t, n);
  }
  return t;
}
const zl = "success",
  Xl = "fail",
  Yl = "complete";
function Ul(e, t = {}, { beforeAll: n, beforeSuccess: o } = {}) {
  I(t) || (t = {});
  const {
      success: r,
      fail: i,
      complete: s,
    } = (function (e) {
      const t = {};
      for (const n in e) {
        const o = e[n];
        k(o) && ((t[n] = jl(o)), delete e[n]);
      }
      return t;
    })(t),
    l = k(r),
    a = k(i),
    c = k(s),
    u = Hl++;
  return (
    (function (e, t, n, o = !1) {
      Vl[e] = { name: t, keepAlive: o, callback: n };
    })(u, e, (u) => {
      ((u = u || {}).errMsg = (function (e, t) {
        return e && -1 !== e.indexOf(":fail")
          ? t + e.substring(e.indexOf(":fail"))
          : t + ":ok";
      })(u.errMsg, e)),
        k(n) && n(u),
        u.errMsg === e + ":ok" ? (k(o) && o(u, t), l && r(u)) : a && i(u),
        c && s(u);
    }),
    u
  );
}
const Kl = "success",
  Gl = "fail",
  Zl = "complete",
  Ql = {},
  Jl = {};
function ea(e) {
  return function (t) {
    return e(t) || t;
  };
}
function ta(e, t) {
  let n = !1;
  for (let o = 0; o < e.length; o++) {
    const r = e[o];
    if (n) n = Promise.resolve(ea(r));
    else {
      const e = r(t);
      if ((L(e) && (n = Promise.resolve(e)), !1 === e))
        return { then() {}, catch() {} };
    }
  }
  return n || { then: (e) => e(t), catch() {} };
}
function na(e, t = {}) {
  return (
    [Kl, Gl, Zl].forEach((n) => {
      const o = e[n];
      if (!S(o)) return;
      const r = t[n];
      t[n] = function (e) {
        ta(o, e).then((e) => (k(r) && r(e)) || e);
      };
    }),
    t
  );
}
function oa(e, t) {
  const n = [];
  S(Ql.returnValue) && n.push(...Ql.returnValue);
  const o = Jl[e];
  return (
    o && S(o.returnValue) && n.push(...o.returnValue),
    n.forEach((e) => {
      t = e(t) || t;
    }),
    t
  );
}
function ra(e, t, n, o) {
  const r = (function (e) {
    const t = Object.create(null);
    Object.keys(Ql).forEach((e) => {
      "returnValue" !== e && (t[e] = Ql[e].slice());
    });
    const n = Jl[e];
    return (
      n &&
        Object.keys(n).forEach((e) => {
          "returnValue" !== e && (t[e] = (t[e] || []).concat(n[e]));
        }),
      t
    );
  })(e);
  if (r && Object.keys(r).length) {
    if (S(r.invoke)) {
      return ta(r.invoke, n).then((e) => t(na(r, e), ...o));
    }
    return t(na(r, n), ...o);
  }
  return t(n, ...o);
}
function ia(e, t) {
  return (n = {}, ...o) =>
    (function (e) {
      return !(!I(e) || ![zl, Xl, Yl].find((t) => k(e[t])));
    })(n)
      ? oa(e, ra(e, t, n, o))
      : oa(
          e,
          new Promise((r, i) => {
            ra(e, t, b(n, { success: r, fail: i }), o);
          })
        );
}
function sa(e, t, n, o) {
  return ql(e, b({ errMsg: t + ":fail" + (n ? " " + n : "") }, o));
}
function la(e, t, n, o) {
  if (o && o.beforeInvoke) {
    const e = o.beforeInvoke(t);
    if (E(e)) return e;
  }
  const r = (function (e, t) {
    const n = e[0];
    if (!t || (!I(t.formatArgs) && I(n))) return;
    const o = t.formatArgs,
      r = Object.keys(o);
    for (let i = 0; i < r.length; i++) {
      const t = r[i],
        s = o[t];
      if (k(s)) {
        const o = s(e[0][t], n);
        if (E(o)) return o;
      } else x(n, t) || (n[t] = s);
    }
  })(t, o);
  if (r) return r;
}
function aa(e, t, n, o) {
  return (n) => {
    const r = Ul(e, n, o),
      i = la(0, [n], 0, o);
    return i
      ? sa(r, e, i)
      : t(n, {
          resolve: (t) =>
            (function (e, t, n) {
              return ql(e, b(n || {}, { errMsg: t + ":ok" }));
            })(r, e, t),
          reject: (t, n) =>
            sa(
              r,
              e,
              (function (e) {
                return !e || E(e)
                  ? e
                  : e.stack
                  ? (console.error(e.message + "\n" + e.stack), e.message)
                  : e;
              })(t),
              n
            ),
        });
  };
}
function ca(e, t, n, o) {
  return (function (e, t, n, o) {
    return (...e) => {
      const n = la(0, e, 0, o);
      if (n) throw new Error(n);
      return t.apply(null, e);
    };
  })(0, t, 0, o);
}
function ua(e, t, n, o) {
  return ia(
    e,
    (function (e, t, n, o) {
      return aa(e, t, 0, o);
    })(e, t, 0, o)
  );
}
let da = !1,
  fa = 0,
  pa = 0,
  ha = 960,
  ga = 375;
function ma() {
  const {
    platform: e,
    pixelRatio: t,
    windowWidth: n,
  } = (function () {
    const e = Il(),
      t = Nl(Bl(e, Pl(e)));
    return {
      platform: Ml ? "ios" : "other",
      pixelRatio: window.devicePixelRatio,
      windowWidth: t,
    };
  })();
  (fa = n), (pa = t), (da = "ios" === e);
}
function va(e, t) {
  const n = Number(e);
  return isNaN(n) ? t : n;
}
const ya = ca(0, (e, t) => {
    if (
      (0 === fa &&
        (ma(),
        (function () {
          const e = __uniConfig.globalStyle || {};
          (ha = va(e.rpxCalcMaxDeviceWidth, 960)),
            (ga = va(e.rpxCalcBaseDeviceWidth, 375));
        })()),
      0 === (e = Number(e)))
    )
      return 0;
    let n = t || fa;
    n = n <= ha ? n : ga;
    let o = (e / 750) * n;
    return (
      o < 0 && (o = -o),
      (o = Math.floor(o + 1e-4)),
      0 === o && (o = 1 !== pa && da ? 0.5 : 1),
      e < 0 ? -o : o
    );
  }),
  ba = new ye(),
  _a = ca(0, (e, t) => (ba.on(e, t), () => ba.off(e, t))),
  wa = ca(0, (e, t) => {
    e
      ? (Array.isArray(e) || (e = [e]), e.forEach((e) => ba.off(e, t)))
      : (ba.e = {});
  });
[{ name: "id", type: String, required: !0 }].concat({
  name: "componentInstance",
  type: Object,
});
const xa = [0.5, 0.8, 1, 1.25, 1.5, 2];
const Sa = (e, t, n, o) => {
  !(function (e, t, n, o, r) {
    $d.invokeViewMethod("map." + e, { type: n, data: o }, t, r);
  })(e, t, n, o, (e) => {
    o &&
      ((e, t) => {
        const n = t.errMsg || "";
        new RegExp("\\:\\s*fail").test(n)
          ? e.fail && e.fail(t)
          : e.success && e.success(t),
          e.complete && e.complete(t);
      })(o, e);
  });
};
const Ta = {
  aliceblue: "#f0f8ff",
  antiquewhite: "#faebd7",
  aqua: "#00ffff",
  aquamarine: "#7fffd4",
  azure: "#f0ffff",
  beige: "#f5f5dc",
  bisque: "#ffe4c4",
  black: "#000000",
  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",
  darkgrey: "#a9a9a9",
  darkgreen: "#006400",
  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",
  grey: "#808080",
  green: "#008000",
  greenyellow: "#adff2f",
  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",
  lightgrey: "#d3d3d3",
  lightgreen: "#90ee90",
  lightpink: "#ffb6c1",
  lightsalmon: "#ffa07a",
  lightseagreen: "#20b2aa",
  lightskyblue: "#87cefa",
  lightslategray: "#778899",
  lightslategrey: "#778899",
  lightsteelblue: "#b0c4de",
  lightyellow: "#ffffe0",
  lime: "#00ff00",
  limegreen: "#32cd32",
  linen: "#faf0e6",
  magenta: "#ff00ff",
  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: "#663399",
  red: "#ff0000",
  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: "#ffffff",
  whitesmoke: "#f5f5f5",
  yellow: "#ffff00",
  yellowgreen: "#9acd32",
  transparent: "#00000000",
};
function Ca(e) {
  var t = null;
  if (null != (t = /^#([0-9|A-F|a-f]{6})$/.exec((e = e || "#000000")))) {
    return [
      parseInt(t[1].slice(0, 2), 16),
      parseInt(t[1].slice(2, 4), 16),
      parseInt(t[1].slice(4), 16),
      255,
    ];
  }
  if (null != (t = /^#([0-9|A-F|a-f]{3})$/.exec(e))) {
    let e = t[1].slice(0, 1),
      n = t[1].slice(1, 2),
      o = t[1].slice(2, 3);
    return (
      (e = parseInt(e + e, 16)),
      (n = parseInt(n + n, 16)),
      (o = parseInt(o + o, 16)),
      [e, n, o, 255]
    );
  }
  if (null != (t = /^rgb\((.+)\)$/.exec(e)))
    return t[1]
      .split(",")
      .map(function (e) {
        return Math.min(255, parseInt(e.trim()));
      })
      .concat(255);
  if (null != (t = /^rgba\((.+)\)$/.exec(e)))
    return t[1].split(",").map(function (e, t) {
      return 3 === t
        ? Math.floor(255 * parseFloat(e.trim()))
        : Math.min(255, parseInt(e.trim()));
    });
  var n = e.toLowerCase();
  if (x(Ta, n)) {
    t = /^#([0-9|A-F|a-f]{6,8})$/.exec(Ta[n]);
    const e = parseInt(t[1].slice(0, 2), 16),
      o = parseInt(t[1].slice(2, 4), 16),
      r = parseInt(t[1].slice(4, 6), 16);
    let i = parseInt(t[1].slice(6, 8), 16);
    return (i = i >= 0 ? i : 255), [e, o, r, i];
  }
  return console.error("unsupported color:" + e), [0, 0, 0, 255];
}
class ka {
  constructor(e, t) {
    (this.type = e), (this.data = t), (this.colorStop = []);
  }
  addColorStop(e, t) {
    this.colorStop.push([e, Ca(t)]);
  }
}
class Ea {
  constructor(e, t) {
    (this.type = "pattern"), (this.data = e), (this.colorStop = t);
  }
}
class Ma {
  constructor(e) {
    this.width = e;
  }
}
const $a = [
    "onCanplay",
    "onPlay",
    "onPause",
    "onStop",
    "onEnded",
    "onTimeUpdate",
    "onError",
    "onWaiting",
    "onSeeking",
    "onSeeked",
  ],
  La = [
    "offCanplay",
    "offPlay",
    "offPause",
    "offStop",
    "offEnded",
    "offTimeUpdate",
    "offError",
    "offWaiting",
    "offSeeking",
    "offSeeked",
  ];
let Aa = 0,
  Oa = {};
const Ia = {
  canvas: class {
    constructor(e, t) {
      (this.id = e),
        (this.pageId = t),
        (this.actions = []),
        (this.path = []),
        (this.subpath = []),
        (this.drawingState = []),
        (this.state = {
          lineDash: [0, 0],
          shadowOffsetX: 0,
          shadowOffsetY: 0,
          shadowBlur: 0,
          shadowColor: [0, 0, 0, 0],
          font: "10px sans-serif",
          fontSize: 10,
          fontWeight: "normal",
          fontStyle: "normal",
          fontFamily: "sans-serif",
        });
    }
    draw(e = !1, t) {
      var n = [...this.actions];
      (this.actions = []),
        (this.path = []),
        (function (e, t, n, o, r) {
          $d.invokeViewMethod(`canvas.${e}`, { type: n, data: o }, t, (e) => {
            r && r(e);
          });
        })(
          this.id,
          this.pageId,
          "actionsChanged",
          { actions: n, reserve: e },
          t
        );
    }
    createLinearGradient(e, t, n, o) {
      return new ka("linear", [e, t, n, o]);
    }
    createCircularGradient(e, t, n) {
      return new ka("radial", [e, t, n]);
    }
    createPattern(e, t) {
      if (void 0 === t)
        console.error(
          "Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present."
        );
      else {
        if (!(["repeat", "repeat-x", "repeat-y", "no-repeat"].indexOf(t) < 0))
          return new Ea(e, t);
        console.error(
          "Failed to execute 'createPattern' on 'CanvasContext': The provided type ('" +
            t +
            "') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'."
        );
      }
    }
    measureText(e) {
      let t = 0;
      return (
        (t = (function (e, t) {
          const n = document.createElement("canvas").getContext("2d");
          return (n.font = t), n.measureText(e).width || 0;
        })(e, this.state.font)),
        new Ma(t)
      );
    }
    save() {
      this.actions.push({ method: "save", data: [] }),
        this.drawingState.push(this.state);
    }
    restore() {
      this.actions.push({ method: "restore", data: [] }),
        (this.state = this.drawingState.pop() || {
          lineDash: [0, 0],
          shadowOffsetX: 0,
          shadowOffsetY: 0,
          shadowBlur: 0,
          shadowColor: [0, 0, 0, 0],
          font: "10px sans-serif",
          fontSize: 10,
          fontWeight: "normal",
          fontStyle: "normal",
          fontFamily: "sans-serif",
        });
    }
    beginPath() {
      (this.path = []), (this.subpath = []);
    }
    moveTo(e, t) {
      this.path.push({ method: "moveTo", data: [e, t] }),
        (this.subpath = [[e, t]]);
    }
    lineTo(e, t) {
      0 === this.path.length && 0 === this.subpath.length
        ? this.path.push({ method: "moveTo", data: [e, t] })
        : this.path.push({ method: "lineTo", data: [e, t] }),
        this.subpath.push([e, t]);
    }
    quadraticCurveTo(e, t, n, o) {
      this.path.push({ method: "quadraticCurveTo", data: [e, t, n, o] }),
        this.subpath.push([n, o]);
    }
    bezierCurveTo(e, t, n, o, r, i) {
      this.path.push({ method: "bezierCurveTo", data: [e, t, n, o, r, i] }),
        this.subpath.push([r, i]);
    }
    arc(e, t, n, o, r, i = !1) {
      this.path.push({ method: "arc", data: [e, t, n, o, r, i] }),
        this.subpath.push([e, t]);
    }
    rect(e, t, n, o) {
      this.path.push({ method: "rect", data: [e, t, n, o] }),
        (this.subpath = [[e, t]]);
    }
    arcTo(e, t, n, o, r) {
      this.path.push({ method: "arcTo", data: [e, t, n, o, r] }),
        this.subpath.push([n, o]);
    }
    clip() {
      this.actions.push({ method: "clip", data: [...this.path] });
    }
    closePath() {
      this.path.push({ method: "closePath", data: [] }),
        this.subpath.length && (this.subpath = [this.subpath.shift()]);
    }
    clearActions() {
      (this.actions = []), (this.path = []), (this.subpath = []);
    }
    getActions() {
      var e = [...this.actions];
      return this.clearActions(), e;
    }
    set lineDashOffset(e) {
      this.actions.push({ method: "setLineDashOffset", data: [e] });
    }
    set globalCompositeOperation(e) {
      this.actions.push({ method: "setGlobalCompositeOperation", data: [e] });
    }
    set shadowBlur(e) {
      this.actions.push({ method: "setShadowBlur", data: [e] });
    }
    set shadowColor(e) {
      this.actions.push({ method: "setShadowColor", data: [e] });
    }
    set shadowOffsetX(e) {
      this.actions.push({ method: "setShadowOffsetX", data: [e] });
    }
    set shadowOffsetY(e) {
      this.actions.push({ method: "setShadowOffsetY", data: [e] });
    }
    set font(e) {
      var t = this;
      this.state.font = e;
      var n = e.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);
      if (n) {
        var o = n[1].trim().split(/\s/),
          r = parseFloat(n[3]),
          i = n[7],
          s = [];
        o.forEach(function (e, n) {
          ["italic", "oblique", "normal"].indexOf(e) > -1
            ? (s.push({ method: "setFontStyle", data: [e] }),
              (t.state.fontStyle = e))
            : ["bold", "normal"].indexOf(e) > -1
            ? (s.push({ method: "setFontWeight", data: [e] }),
              (t.state.fontWeight = e))
            : 0 === n
            ? (s.push({ method: "setFontStyle", data: ["normal"] }),
              (t.state.fontStyle = "normal"))
            : 1 === n && l();
        }),
          1 === o.length && l(),
          (o = s
            .map(function (e) {
              return e.data[0];
            })
            .join(" ")),
          (this.state.fontSize = r),
          (this.state.fontFamily = i),
          this.actions.push({ method: "setFont", data: [`${o} ${r}px ${i}`] });
      } else
        console.warn(
          "Failed to set 'font' on 'CanvasContext': invalid format."
        );
      function l() {
        s.push({ method: "setFontWeight", data: ["normal"] }),
          (t.state.fontWeight = "normal");
      }
    }
    get font() {
      return this.state.font;
    }
    set fillStyle(e) {
      this.setFillStyle(e);
    }
    set strokeStyle(e) {
      this.setStrokeStyle(e);
    }
    set globalAlpha(e) {
      (e = Math.floor(255 * parseFloat(e))),
        this.actions.push({ method: "setGlobalAlpha", data: [e] });
    }
    set textAlign(e) {
      this.actions.push({ method: "setTextAlign", data: [e] });
    }
    set lineCap(e) {
      this.actions.push({ method: "setLineCap", data: [e] });
    }
    set lineJoin(e) {
      this.actions.push({ method: "setLineJoin", data: [e] });
    }
    set lineWidth(e) {
      this.actions.push({ method: "setLineWidth", data: [e] });
    }
    set miterLimit(e) {
      this.actions.push({ method: "setMiterLimit", data: [e] });
    }
    set textBaseline(e) {
      this.actions.push({ method: "setTextBaseline", data: [e] });
    }
  },
  map: class {
    constructor(e, t) {
      (this.id = e), (this.pageId = t);
    }
    getCenterLocation(e) {
      Sa(this.id, this.pageId, "getCenterLocation", e);
    }
    moveToLocation(e) {
      Sa(this.id, this.pageId, "moveToLocation", e);
    }
    getScale(e) {
      Sa(this.id, this.pageId, "getScale", e);
    }
    getRegion(e) {
      Sa(this.id, this.pageId, "getRegion", e);
    }
    includePoints(e) {
      Sa(this.id, this.pageId, "includePoints", e);
    }
    translateMarker(e) {
      Sa(this.id, this.pageId, "translateMarker", e);
    }
    $getAppMap() {}
    addCustomLayer(e) {
      Sa(this.id, this.pageId, "addCustomLayer", e);
    }
    removeCustomLayer(e) {
      Sa(this.id, this.pageId, "removeCustomLayer", e);
    }
    addGroundOverlay(e) {
      Sa(this.id, this.pageId, "addGroundOverlay", e);
    }
    removeGroundOverlay(e) {
      Sa(this.id, this.pageId, "removeGroundOverlay", e);
    }
    updateGroundOverlay(e) {
      Sa(this.id, this.pageId, "updateGroundOverlay", e);
    }
    initMarkerCluster(e) {
      Sa(this.id, this.pageId, "initMarkerCluster", e);
    }
    addMarkers(e) {
      Sa(this.id, this.pageId, "addMarkers", e);
    }
    removeMarkers(e) {
      Sa(this.id, this.pageId, "removeMarkers", e);
    }
    moveAlong(e) {
      Sa(this.id, this.pageId, "moveAlong", e);
    }
    openMapApp(e) {
      Sa(this.id, this.pageId, "openMapApp", e);
    }
    on(e) {
      Sa(this.id, this.pageId, "on", e);
    }
  },
  video: class {
    constructor(e, t) {
      (this.id = e), (this.pageId = t);
    }
    play() {
      Fl(this.id, this.pageId, "play");
    }
    pause() {
      Fl(this.id, this.pageId, "pause");
    }
    stop() {
      Fl(this.id, this.pageId, "stop");
    }
    seek(e) {
      Fl(this.id, this.pageId, "seek", { position: e });
    }
    sendDanmu(e) {
      Fl(this.id, this.pageId, "sendDanmu", e);
    }
    playbackRate(e) {
      ~xa.indexOf(e) || (e = 1),
        Fl(this.id, this.pageId, "playbackRate", { rate: e });
    }
    requestFullScreen(e = {}) {
      Fl(this.id, this.pageId, "requestFullScreen", e);
    }
    exitFullScreen() {
      Fl(this.id, this.pageId, "exitFullScreen");
    }
    showStatusBar() {
      Fl(this.id, this.pageId, "showStatusBar");
    }
    hideStatusBar() {
      Fl(this.id, this.pageId, "hideStatusBar");
    }
  },
  editor: class {
    constructor(e, t) {
      (this.id = e), (this.pageId = t);
    }
    format(e, t) {
      this._exec("format", { name: e, value: t });
    }
    insertDivider() {
      this._exec("insertDivider");
    }
    insertImage(e) {
      this._exec("insertImage", e);
    }
    insertText(e) {
      this._exec("insertText", e);
    }
    setContents(e) {
      this._exec("setContents", e);
    }
    getContents(e) {
      this._exec("getContents", e);
    }
    clear(e) {
      this._exec("clear", e);
    }
    removeFormat(e) {
      this._exec("removeFormat", e);
    }
    undo(e) {
      this._exec("undo", e);
    }
    redo(e) {
      this._exec("redo", e);
    }
    blur(e) {
      this._exec("blur", e);
    }
    getSelectionText(e) {
      this._exec("getSelectionText", e);
    }
    scrollIntoView(e) {
      this._exec("scrollIntoView", e);
    }
    _exec(e, t) {
      !(function (e, t, n, o) {
        const r = { options: o },
          i = o && ("success" in o || "fail" in o || "complete" in o);
        if (i) {
          const e = String(Aa++);
          (r.callbackId = e), (Oa[e] = o);
        }
        $d.invokeViewMethod(
          `editor.${e}`,
          { type: n, data: r },
          t,
          ({ callbackId: e, data: t }) => {
            i &&
              ((function (e, t) {
                (e = e || {}),
                  "string" == typeof t && (t = { errMsg: t }),
                  /:ok$/.test(t.errMsg)
                    ? "function" == typeof e.success && e.success(t)
                    : "function" == typeof e.fail && e.fail(t),
                  "function" == typeof e.complete && e.complete(t);
              })(Oa[e], t),
              delete Oa[e]);
          }
        );
      })(this.id, this.pageId, e, t);
    }
  },
};
function Pa(e) {
  if (e && e.contextInfo) {
    const { id: t, type: n, page: o } = e.contextInfo,
      r = Ia[n];
    (e.context = new r(t, o)), delete e.contextInfo;
  }
}
class Ba {
  constructor(e, t, n, o) {
    (this._selectorQuery = e),
      (this._component = t),
      (this._selector = n),
      (this._single = o);
  }
  boundingClientRect(e) {
    return (
      this._selectorQuery._push(
        this._selector,
        this._component,
        this._single,
        { id: !0, dataset: !0, rect: !0, size: !0 },
        e
      ),
      this._selectorQuery
    );
  }
  fields(e, t) {
    return (
      this._selectorQuery._push(
        this._selector,
        this._component,
        this._single,
        e,
        t
      ),
      this._selectorQuery
    );
  }
  scrollOffset(e) {
    return (
      this._selectorQuery._push(
        this._selector,
        this._component,
        this._single,
        { id: !0, dataset: !0, scrollOffset: !0 },
        e
      ),
      this._selectorQuery
    );
  }
  context(e) {
    return (
      this._selectorQuery._push(
        this._selector,
        this._component,
        this._single,
        { context: !0 },
        e
      ),
      this._selectorQuery
    );
  }
  node(e) {
    return this._selectorQuery;
  }
}
class Na {
  constructor(e) {
    (this._component = void 0),
      (this._page = e),
      (this._queue = []),
      (this._queueCb = []);
  }
  exec(e) {
    return (
      Wl(this._page, this._queue, (t) => {
        const n = this._queueCb;
        t.forEach((e, t) => {
          Array.isArray(e) ? e.forEach(Pa) : Pa(e);
          const o = n[t];
          "function" == typeof o && o.call(this, e);
        }),
          "function" == typeof e && e.call(this, t);
      }),
      this._nodesRef
    );
  }
  in(e) {
    return (this._component = Z(e)), this;
  }
  select(e) {
    return (this._nodesRef = new Ba(this, this._component, e, !0));
  }
  selectAll(e) {
    return (this._nodesRef = new Ba(this, this._component, e, !1));
  }
  selectViewport() {
    return (this._nodesRef = new Ba(this, null, "", !0));
  }
  _push(e, t, n, o, r) {
    this._queue.push({ component: t, selector: e, single: n, fields: o }),
      this._queueCb.push(r);
  }
}
const Fa = ca(
    0,
    (e) => (
      (e = Z(e)) &&
        !(function (e) {
          const t = Z(e);
          if (t.$page) return t.$page.id;
          if (!t.$) return;
          const n = t.$.root.proxy;
          return n && n.$page ? n.$page.id : void 0;
        })(e) &&
        (e = null),
      new Na(e || Rs())
    )
  ),
  Ra = { formatArgs: {} },
  Da = {
    duration: 400,
    timingFunction: "linear",
    delay: 0,
    transformOrigin: "50% 50% 0",
  };
class Wa {
  constructor(e) {
    (this.actions = []),
      (this.currentTransform = {}),
      (this.currentStepAnimates = []),
      (this.option = b({}, Da, e));
  }
  _getOption(e) {
    const t = { transition: b({}, this.option, e), transformOrigin: "" };
    return (
      (t.transformOrigin = t.transition.transformOrigin),
      delete t.transition.transformOrigin,
      t
    );
  }
  _pushAnimates(e, t) {
    this.currentStepAnimates.push({ type: e, args: t });
  }
  _converType(e) {
    return e.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`);
  }
  _getValue(e) {
    return "number" == typeof e ? `${e}px` : e;
  }
  export() {
    const e = this.actions;
    return (this.actions = []), { actions: e };
  }
  step(e) {
    return (
      this.currentStepAnimates.forEach((e) => {
        "style" !== e.type
          ? (this.currentTransform[e.type] = e)
          : (this.currentTransform[`${e.type}.${e.args[0]}`] = e);
      }),
      this.actions.push({
        animates: Object.values(this.currentTransform),
        option: this._getOption(e),
      }),
      (this.currentStepAnimates = []),
      this
    );
  }
}
const ja = ne(() => {
    const e = ["opacity", "backgroundColor"],
      t = ["width", "height", "left", "right", "top", "bottom"];
    [
      "matrix",
      "matrix3d",
      "rotate",
      "rotate3d",
      "rotateX",
      "rotateY",
      "rotateZ",
      "scale",
      "scale3d",
      "scaleX",
      "scaleY",
      "scaleZ",
      "skew",
      "skewX",
      "skewY",
      "translate",
      "translate3d",
      "translateX",
      "translateY",
      "translateZ",
    ]
      .concat(e, t)
      .forEach((n) => {
        Wa.prototype[n] = function (...o) {
          return (
            e.concat(t).includes(n)
              ? this._pushAnimates("style", [
                  this._converType(n),
                  t.includes(n) ? this._getValue(o[0]) : o[0],
                ])
              : this._pushAnimates(n, o),
            this
          );
        };
      });
  }),
  Ha = ca(0, (e) => (ja(), new Wa(e)), 0, Ra),
  Va = ca(0, () => {
    const e = Ou();
    return e && e.$vm ? e.$vm.$locale : Gi().getLocale();
  }),
  qa = {
    onUnhandledRejection: [],
    onPageNotFound: [],
    onError: [],
    onShow: [],
    onHide: [],
  };
const za = {
    formatArgs: {
      src(e, t) {
        t.src = Cl(e);
      },
    },
  },
  Xa = {
    formatArgs: {
      urls(e, t) {
        t.urls = e.map((e) => ("string" == typeof e && e ? Cl(e) : ""));
      },
      current(e, t) {
        "number" == typeof e
          ? (t.current = e > 0 && e < t.urls.length ? e : 0)
          : "string" == typeof e && e && (t.current = Cl(e));
      },
    },
  };
Ka([
  "slide-in-right",
  "slide-in-left",
  "slide-in-top",
  "slide-in-bottom",
  "fade-in",
  "zoom-out",
  "zoom-fade-out",
  "pop-in",
  "none",
]),
  Ka([
    "slide-out-right",
    "slide-out-left",
    "slide-out-top",
    "slide-out-bottom",
    "fade-out",
    "zoom-in",
    "zoom-fade-in",
    "pop-out",
    "none",
  ]);
const Ya = Qa("navigateTo"),
  Ua = {
    formatArgs: {
      delta(e, t) {
        (e = parseInt(e + "") || 1), (t.delta = Math.min(_u().length - 1, e));
      },
    },
  };
function Ka(e) {
  return {
    animationType: {
      type: String,
      validator(t) {
        if (t && -1 === e.indexOf(t))
          return (
            "`" +
            t +
            "` is not supported for `animationType` (supported values are: `" +
            e.join("`|`") +
            "`)"
          );
      },
    },
    animationDuration: { type: Number },
  };
}
let Ga;
function Za() {
  Ga = "";
}
function Qa(e) {
  return { formatArgs: { url: Ja(e) }, beforeAll: Za };
}
function Ja(e) {
  return function (t, n) {
    if (!t) return 'Missing required args: "url"';
    const o = (t = (function (e) {
        if (0 === e.indexOf("/")) return e;
        let t = "";
        const n = _u();
        return n.length && (t = n[n.length - 1].$page.route), Xs(t, e);
      })(t)).split("?")[0],
      r = (function (e, t = !1) {
        return t
          ? __uniRoutes.find((t) => t.path === e || t.alias === e)
          : __uniRoutes.find((t) => t.path === e);
      })(o, !0);
    if (!r) return "page `" + t + "` is not found";
    if ("navigateTo" === e || "redirectTo" === e) {
      if (r.meta.isTabBar) return `can not ${e} a tabbar page`;
    } else if ("switchTab" === e && !r.meta.isTabBar)
      return "can not switch to no-tabBar page";
    if (
      (("switchTab" !== e && "preloadPage" !== e) ||
        !r.meta.isTabBar ||
        "appLaunch" === n.openType ||
        (t = o),
      r.meta.isEntry && (t = t.replace(r.alias, "/")),
      (n.url = (function (e) {
        if ("string" != typeof e) return e;
        const t = e.indexOf("?");
        if (-1 === t) return e;
        const n = e
          .slice(t + 1)
          .trim()
          .replace(/^(\?|#|&)/, "");
        if (!n) return e;
        e = e.slice(0, t);
        const o = [];
        return (
          n.split("&").forEach((e) => {
            const t = e.replace(/\+/g, " ").split("="),
              n = t.shift(),
              r = t.length > 0 ? t.join("=") : "";
            o.push(n + "=" + encodeURIComponent(r));
          }),
          o.length ? e + "?" + o.join("&") : e
        );
      })(t)),
      "unPreloadPage" !== e)
    )
      if ("preloadPage" !== e) {
        if (Ga === t && "appLaunch" !== n.openType) return `${Ga} locked`;
        __uniConfig.ready && (Ga = t);
      } else if (r.meta.isTabBar) {
        const e = _u(),
          t = r.path.slice(1);
        if (e.find((e) => e.route === t))
          return "tabBar page `" + t + "` already exists";
      }
  };
}
const ec = { formatArgs: { duration: 300 } },
  tc =
    (Boolean,
    {
      beforeInvoke() {
        Ji();
      },
      formatArgs: {
        title: "",
        content: "",
        showCancel: !0,
        cancelText(e, t) {
          if (!x(t, "cancelText")) {
            const { t: e } = Gi();
            t.cancelText = e("uni.showModal.cancel");
          }
        },
        cancelColor: "#000",
        confirmText(e, t) {
          if (!x(t, "confirmText")) {
            const { t: e } = Gi();
            t.confirmText = e("uni.showModal.confirm");
          }
        },
        confirmColor: "#007aff",
      },
    }),
  nc = gl(),
  oc = gl();
var rc = bl({
  name: "ResizeSensor",
  props: { initial: { type: Boolean, default: !1 } },
  emits: ["resize"],
  setup(e, { emit: t }) {
    const n = Rt(null),
      o = (function (e) {
        return () => {
          const { firstElementChild: t, lastElementChild: n } = e.value;
          (t.scrollLeft = 1e5),
            (t.scrollTop = 1e5),
            (n.scrollLeft = 1e5),
            (n.scrollTop = 1e5);
        };
      })(n),
      r = (function (e, t, n) {
        const o = Tt({ width: -1, height: -1 });
        return (
          On(
            () => b({}, o),
            (e) => t("resize", e)
          ),
          () => {
            const t = e.value;
            (o.width = t.offsetWidth), (o.height = t.offsetHeight), n();
          }
        );
      })(n, t, o);
    return (
      (function (e, t, n, o) {
        Kn(o),
          no(() => {
            t.initial && an(n);
            const r = e.value;
            r.offsetParent !== r.parentElement &&
              (r.parentElement.style.position = "relative"),
              "AnimationEvent" in window || o();
          });
      })(n, e, r, o),
      () =>
        gr(
          "uni-resize-sensor",
          { ref: n, onAnimationstartOnce: r },
          [
            gr("div", { onScroll: r }, [gr("div", null, null)], 40, [
              "onScroll",
            ]),
            gr("div", { onScroll: r }, [gr("div", null, null)], 40, [
              "onScroll",
            ]),
          ],
          40,
          ["onAnimationstartOnce"]
        )
    );
  },
});
const ic = {
    src: { type: String, default: "" },
    mode: { type: String, default: "scaleToFill" },
    lazyLoad: { type: [Boolean, String], default: !1 },
    draggable: { type: Boolean, default: !1 },
  },
  sc = {
    widthFix: ["offsetWidth", "height", (e, t) => e / t],
    heightFix: ["offsetHeight", "width", (e, t) => e * t],
  },
  lc = {
    aspectFit: ["center center", "contain"],
    aspectFill: ["center center", "cover"],
    widthFix: [, "100% 100%"],
    heightFix: [, "100% 100%"],
    top: ["center top"],
    bottom: ["center bottom"],
    center: ["center center"],
    left: ["left center"],
    right: ["right center"],
    "top left": ["left top"],
    "top right": ["right top"],
    "bottom left": ["left bottom"],
    "bottom right": ["right bottom"],
  };
var ac = bl({
  name: "Image",
  props: ic,
  setup(e, { emit: t }) {
    const n = Rt(null),
      o = (function (e, t) {
        const n = Rt(""),
          o = jr(() => {
            let e = "auto",
              o = "";
            const r = lc[t.mode];
            return (
              r
                ? (r[0] && (o = r[0]), r[1] && (e = r[1]))
                : ((o = "0% 0%"), (e = "100% 100%")),
              `background-image:${
                n.value ? 'url("' + n.value + '")' : "none"
              };background-position:${o};background-size:${e};`
            );
          }),
          r = Tt({
            rootEl: e,
            src: jr(() => (t.src ? Cl(t.src) : "")),
            origWidth: 0,
            origHeight: 0,
            origStyle: { width: "", height: "" },
            modeStyle: o,
            imgSrc: n,
          });
        return (
          no(() => {
            const t = e.value.style;
            (r.origWidth = Number(t.width) || 0),
              (r.origHeight = Number(t.height) || 0);
          }),
          r
        );
      })(n, e),
      r = Sl(n, t),
      { fixSize: i } = (function (e, t, n) {
        const o = () => {
            const { mode: o } = t,
              r = sc[o];
            if (!r) return;
            const { origWidth: i, origHeight: s } = n,
              l = i && s ? i / s : 0;
            if (!l) return;
            const a = e.value,
              c = a[r[0]];
            c &&
              (a.style[r[1]] =
                (function (e) {
                  cc && e > 10 && (e = 2 * Math.round(e / 2));
                  return e;
                })(r[2](c, l)) + "px");
          },
          r = () => {
            const { style: t } = e.value,
              {
                origStyle: { width: o, height: r },
              } = n;
            (t.width = o), (t.height = r);
          };
        return (
          On(
            () => t.mode,
            (e, t) => {
              sc[t] && r(), sc[e] && o();
            }
          ),
          { fixSize: o, resetSize: r }
        );
      })(n, e, o);
    return (
      (function (e, t, n) {
        let o;
        const r = (t = 0, n = 0, o = "") => {
            (e.origWidth = t), (e.origHeight = n), (e.imgSrc = o);
          },
          i = (i) => {
            if (!i) return s(), void r();
            (o = o || new Image()),
              (o.onload = (e) => {
                const { width: l, height: a } = o;
                r(l, a, i), t(), s(), n("load", e, { width: l, height: a });
              }),
              (o.onerror = (t) => {
                r(),
                  s(),
                  n("error", t, { errMsg: `GET ${e.src} 404 (Not Found)` });
              }),
              (o.src = i);
          },
          s = () => {
            o && ((o.onload = null), (o.onerror = null), (o = null));
          };
        On(
          () => e.src,
          (e) => i(e)
        ),
          no(() => i(e.src)),
          io(() => s());
      })(o, i, r),
      () => {
        const { mode: t } = e,
          { imgSrc: r, modeStyle: s, src: l } = o;
        let a;
        return (
          (a = r
            ? gr("img", { src: r, draggable: e.draggable }, null, 8, [
                "src",
                "draggable",
              ])
            : gr("img", null, null)),
          gr(
            "uni-image",
            { ref: n },
            [
              gr("div", { style: s }, null, 4),
              a,
              sc[t]
                ? gr(rc, { onResize: i }, null, 8, ["onResize"])
                : gr("span", null, null),
            ],
            512
          )
        );
      }
    );
  },
});
const cc = "Google Inc." === navigator.vendor;
const uc = se(!0),
  dc = [];
let fc,
  pc = 0;
const hc = (e) => dc.forEach((t) => (t.userAction = e));
function gc(e = { userAction: !1 }) {
  if (!fc) {
    ["touchstart", "touchmove", "touchend", "mousedown", "mouseup"].forEach(
      (e) => {
        document.addEventListener(
          e,
          function () {
            !pc && hc(!0),
              pc++,
              setTimeout(() => {
                !--pc && hc(!1);
              }, 0);
          },
          uc
        );
      }
    ),
      (fc = !0);
  }
  dc.push(e);
}
function mc() {
  const e = Tt({ userAction: !1 });
  return (
    no(() => {
      gc(e);
    }),
    io(() => {
      !(function (e) {
        const t = dc.indexOf(e);
        t >= 0 && dc.splice(t, 1);
      })(e);
    }),
    { state: e }
  );
}
const vc = ["class", "style"],
  yc = /^on[A-Z]+/,
  bc = (e = {}) => {
    const { excludeListeners: t = !1, excludeKeys: n = [] } = e,
      o = Ir(),
      r = Dt({}),
      i = Dt({}),
      s = Dt({}),
      l = n.concat(vc);
    return (
      (o.attrs = Tt(o.attrs)),
      Ln(() => {
        const e = ((n = o.attrs), Object.keys(n).map((e) => [e, n[e]])).reduce(
          (e, [n, o]) => (
            l.includes(n)
              ? (e.exclude[n] = o)
              : yc.test(n)
              ? (t || (e.attrs[n] = o), (e.listeners[n] = o))
              : (e.attrs[n] = o),
            e
          ),
          { exclude: {}, attrs: {}, listeners: {} }
        );
        var n;
        (r.value = e.attrs), (i.value = e.listeners), (s.value = e.exclude);
      }),
      { $attrs: r, $listeners: i, $excludeAttrs: s }
    );
  };
function _c(e) {
  const t = [];
  return (
    Array.isArray(e) &&
      e.forEach((e) => {
        cr(e)
          ? e.type === Zo
            ? t.push(..._c(e.children))
            : t.push(e)
          : Array.isArray(e) && t.push(..._c(e));
      }),
    t
  );
}
var wc = bl({
  inheritAttrs: !1,
  name: "MovableArea",
  props: { scaleArea: { type: Boolean, default: !1 } },
  setup(e, { slots: t }) {
    const n = Rt(null),
      o = Rt(!1);
    let { setContexts: r, events: i } = (function (e, t) {
      const n = Rt(0),
        o = Rt(0),
        r = Tt({ x: null, y: null }),
        i = Rt(null);
      let s = null,
        l = [];
      function a(t) {
        t &&
          1 !== t &&
          (e.scaleArea
            ? l.forEach(function (e) {
                e._setScale(t);
              })
            : s && s._setScale(t));
      }
      function c(e, n = l) {
        let o = t.value;
        function r(e) {
          for (let t = 0; t < n.length; t++) {
            const o = n[t];
            if (e === o.rootRef.value) return o;
          }
          return e === o || e === document.body || e === document
            ? null
            : r(e.parentNode);
        }
        return r(e);
      }
      const u = xl((t) => {
          let n = t.touches;
          if (n && n.length > 1) {
            let t = { x: n[1].pageX - n[0].pageX, y: n[1].pageY - n[0].pageY };
            if (((i.value = xc(t)), (r.x = t.x), (r.y = t.y), !e.scaleArea)) {
              let e = c(n[0].target),
                t = c(n[1].target);
              s = e && e === t ? e : null;
            }
          }
        }),
        d = xl((e) => {
          let t = e.touches;
          if (t && t.length > 1) {
            e.preventDefault();
            let n = { x: t[1].pageX - t[0].pageX, y: t[1].pageY - t[0].pageY };
            if (null !== r.x && i.value && i.value > 0) {
              a(xc(n) / i.value);
            }
            (r.x = n.x), (r.y = n.y);
          }
        }),
        f = xl((t) => {
          let n = t.touches;
          (n && n.length) ||
            (t.changedTouches &&
              ((r.x = 0),
              (r.y = 0),
              (i.value = null),
              e.scaleArea
                ? l.forEach(function (e) {
                    e._endScale();
                  })
                : s && s._endScale()));
        });
      function p() {
        h(),
          l.forEach(function (e, t) {
            e.setParent();
          });
      }
      function h() {
        let e = window.getComputedStyle(t.value),
          r = t.value.getBoundingClientRect();
        (n.value =
          r.width -
          ["Left", "Right"].reduce(function (t, n) {
            const o = "padding" + n;
            return t + parseFloat(e["border" + n + "Width"]) + parseFloat(e[o]);
          }, 0)),
          (o.value =
            r.height -
            ["Top", "Bottom"].reduce(function (t, n) {
              const o = "padding" + n;
              return (
                t + parseFloat(e["border" + n + "Width"]) + parseFloat(e[o])
              );
            }, 0));
      }
      return (
        Mn("movableAreaWidth", n),
        Mn("movableAreaHeight", o),
        {
          setContexts(e) {
            l = e;
          },
          events: {
            _onTouchstart: u,
            _onTouchmove: d,
            _onTouchend: f,
            _resize: p,
          },
        }
      );
    })(e, n);
    const { $listeners: s, $attrs: l, $excludeAttrs: a } = bc(),
      c = s.value;
    ["onTouchstart", "onTouchmove", "onTouchend"].forEach((e) => {
      let t = c[e],
        n = i[`_${e}`];
      c[e] = t ? [].concat(t, n) : n;
    }),
      no(() => {
        i._resize(), (o.value = !0);
      });
    let u = [];
    const d = [];
    function f() {
      const e = [];
      for (let t = 0; t < u.length; t++) {
        let n = u[t];
        n = n.el;
        const o = d.find((e) => n === e.rootRef.value);
        o && e.push(Ot(o));
      }
      r(e);
    }
    return (
      Mn("_isMounted", o),
      Mn("movableAreaRootRef", n),
      Mn("addMovableViewContext", (e) => {
        d.push(e), f();
      }),
      Mn("removeMovableViewContext", (e) => {
        const t = d.indexOf(e);
        t >= 0 && (d.splice(t, 1), f());
      }),
      () => {
        const e = t.default && t.default();
        return (
          (u = _c(e)),
          gr(
            "uni-movable-area",
            xr({ ref: n }, l.value, a.value, c),
            [gr(rc, { onReize: i._resize }, null, 8, ["onReize"]), u],
            16
          )
        );
      }
    );
  },
});
function xc(e) {
  return Math.sqrt(e.x * e.x + e.y * e.y);
}
const Sc = function (e, t, n, o) {
  e.addEventListener(
    t,
    (e) => {
      "function" == typeof n &&
        !1 === n(e) &&
        ((void 0 === e.cancelable || e.cancelable) && e.preventDefault(),
        e.stopPropagation());
    },
    { passive: !1 }
  );
};
let Tc, Cc;
function kc(e, t, n) {
  io(() => {
    document.removeEventListener("mousemove", Tc),
      document.removeEventListener("mouseup", Cc);
  });
  let o = 0,
    r = 0,
    i = 0,
    s = 0;
  const l = function (e, n, l, a) {
    if (
      !1 ===
      t({
        cancelable: e.cancelable,
        target: e.target,
        currentTarget: e.currentTarget,
        preventDefault: e.preventDefault.bind(e),
        stopPropagation: e.stopPropagation.bind(e),
        touches: e.touches,
        changedTouches: e.changedTouches,
        detail: {
          state: n,
          x: l,
          y: a,
          dx: l - o,
          dy: a - r,
          ddx: l - i,
          ddy: a - s,
          timeStamp: e.timeStamp,
        },
      })
    )
      return !1;
  };
  let a,
    c,
    u = null;
  Sc(e, "touchstart", function (e) {
    if (((a = !0), 1 === e.touches.length && !u))
      return (
        (u = e),
        (o = i = e.touches[0].pageX),
        (r = s = e.touches[0].pageY),
        l(e, "start", o, r)
      );
  }),
    Sc(e, "mousedown", function (e) {
      if (((c = !0), !a && !u))
        return (
          (u = e), (o = i = e.pageX), (r = s = e.pageY), l(e, "start", o, r)
        );
    }),
    Sc(e, "touchmove", function (e) {
      if (1 === e.touches.length && u) {
        const t = l(e, "move", e.touches[0].pageX, e.touches[0].pageY);
        return (i = e.touches[0].pageX), (s = e.touches[0].pageY), t;
      }
    });
  const d = (Tc = function (e) {
    if (!a && c && u) {
      const t = l(e, "move", e.pageX, e.pageY);
      return (i = e.pageX), (s = e.pageY), t;
    }
  });
  document.addEventListener("mousemove", d),
    Sc(e, "touchend", function (e) {
      if (0 === e.touches.length && u)
        return (
          (a = !1),
          (u = null),
          l(e, "end", e.changedTouches[0].pageX, e.changedTouches[0].pageY)
        );
    });
  const f = (Cc = function (e) {
    if (((c = !1), !a && u)) return (u = null), l(e, "end", e.pageX, e.pageY);
  });
  document.addEventListener("mouseup", f),
    Sc(e, "touchcancel", function (e) {
      if (u) {
        a = !1;
        const t = u;
        return (
          (u = null),
          l(e, n ? "cancel" : "end", t.touches[0].pageX, t.touches[0].pageY)
        );
      }
    });
}
function Ec(e, t, n) {
  return e > t - n && e < t + n;
}
function Mc(e, t) {
  return Ec(e, 0, t);
}
function $c() {}
function Lc(e, t) {
  (this._m = e), (this._f = 1e3 * t), (this._startTime = 0), (this._v = 0);
}
function Ac(e, t, n) {
  (this._m = e),
    (this._k = t),
    (this._c = n),
    (this._solution = null),
    (this._endPosition = 0),
    (this._startTime = 0);
}
function Oc(e, t, n) {
  (this._springX = new Ac(e, t, n)),
    (this._springY = new Ac(e, t, n)),
    (this._springScale = new Ac(e, t, n)),
    (this._startTime = 0);
}
($c.prototype.x = function (e) {
  return Math.sqrt(e);
}),
  (Lc.prototype.setV = function (e, t) {
    const n = Math.pow(Math.pow(e, 2) + Math.pow(t, 2), 0.5);
    (this._x_v = e),
      (this._y_v = t),
      (this._x_a = (-this._f * this._x_v) / n),
      (this._y_a = (-this._f * this._y_v) / n),
      (this._t = Math.abs(e / this._x_a) || Math.abs(t / this._y_a)),
      (this._lastDt = null),
      (this._startTime = new Date().getTime());
  }),
  (Lc.prototype.setS = function (e, t) {
    (this._x_s = e), (this._y_s = t);
  }),
  (Lc.prototype.s = function (e) {
    void 0 === e && (e = (new Date().getTime() - this._startTime) / 1e3),
      e > this._t && ((e = this._t), (this._lastDt = e));
    let t = this._x_v * e + 0.5 * this._x_a * Math.pow(e, 2) + this._x_s,
      n = this._y_v * e + 0.5 * this._y_a * Math.pow(e, 2) + this._y_s;
    return (
      ((this._x_a > 0 && t < this._endPositionX) ||
        (this._x_a < 0 && t > this._endPositionX)) &&
        (t = this._endPositionX),
      ((this._y_a > 0 && n < this._endPositionY) ||
        (this._y_a < 0 && n > this._endPositionY)) &&
        (n = this._endPositionY),
      { x: t, y: n }
    );
  }),
  (Lc.prototype.ds = function (e) {
    return (
      void 0 === e && (e = (new Date().getTime() - this._startTime) / 1e3),
      e > this._t && (e = this._t),
      { dx: this._x_v + this._x_a * e, dy: this._y_v + this._y_a * e }
    );
  }),
  (Lc.prototype.delta = function () {
    return {
      x: (-1.5 * Math.pow(this._x_v, 2)) / this._x_a || 0,
      y: (-1.5 * Math.pow(this._y_v, 2)) / this._y_a || 0,
    };
  }),
  (Lc.prototype.dt = function () {
    return -this._x_v / this._x_a;
  }),
  (Lc.prototype.done = function () {
    const e =
      Ec(this.s().x, this._endPositionX) ||
      Ec(this.s().y, this._endPositionY) ||
      this._lastDt === this._t;
    return (this._lastDt = null), e;
  }),
  (Lc.prototype.setEnd = function (e, t) {
    (this._endPositionX = e), (this._endPositionY = t);
  }),
  (Lc.prototype.reconfigure = function (e, t) {
    (this._m = e), (this._f = 1e3 * t);
  }),
  (Ac.prototype._solve = function (e, t) {
    const n = this._c,
      o = this._m,
      r = this._k,
      i = n * n - 4 * o * r;
    if (0 === i) {
      const r = -n / (2 * o),
        i = e,
        s = t / (r * e);
      return {
        x: function (e) {
          return (i + s * e) * Math.pow(Math.E, r * e);
        },
        dx: function (e) {
          const t = Math.pow(Math.E, r * e);
          return r * (i + s * e) * t + s * t;
        },
      };
    }
    if (i > 0) {
      const r = (-n - Math.sqrt(i)) / (2 * o),
        s = (-n + Math.sqrt(i)) / (2 * o),
        l = (t - r * e) / (s - r),
        a = e - l;
      return {
        x: function (e) {
          let t, n;
          return (
            e === this._t && ((t = this._powER1T), (n = this._powER2T)),
            (this._t = e),
            t || (t = this._powER1T = Math.pow(Math.E, r * e)),
            n || (n = this._powER2T = Math.pow(Math.E, s * e)),
            a * t + l * n
          );
        },
        dx: function (e) {
          let t, n;
          return (
            e === this._t && ((t = this._powER1T), (n = this._powER2T)),
            (this._t = e),
            t || (t = this._powER1T = Math.pow(Math.E, r * e)),
            n || (n = this._powER2T = Math.pow(Math.E, s * e)),
            a * r * t + l * s * n
          );
        },
      };
    }
    const s = Math.sqrt(4 * o * r - n * n) / (2 * o),
      l = (-n / 2) * o,
      a = e,
      c = (t - l * e) / s;
    return {
      x: function (e) {
        return (
          Math.pow(Math.E, l * e) * (a * Math.cos(s * e) + c * Math.sin(s * e))
        );
      },
      dx: function (e) {
        const t = Math.pow(Math.E, l * e),
          n = Math.cos(s * e),
          o = Math.sin(s * e);
        return t * (c * s * n - a * s * o) + l * t * (c * o + a * n);
      },
    };
  }),
  (Ac.prototype.x = function (e) {
    return (
      void 0 === e && (e = (new Date().getTime() - this._startTime) / 1e3),
      this._solution ? this._endPosition + this._solution.x(e) : 0
    );
  }),
  (Ac.prototype.dx = function (e) {
    return (
      void 0 === e && (e = (new Date().getTime() - this._startTime) / 1e3),
      this._solution ? this._solution.dx(e) : 0
    );
  }),
  (Ac.prototype.setEnd = function (e, t, n) {
    if (
      (n || (n = new Date().getTime()), e !== this._endPosition || !Mc(t, 0.1))
    ) {
      t = t || 0;
      let o = this._endPosition;
      this._solution &&
        (Mc(t, 0.1) && (t = this._solution.dx((n - this._startTime) / 1e3)),
        (o = this._solution.x((n - this._startTime) / 1e3)),
        Mc(t, 0.1) && (t = 0),
        Mc(o, 0.1) && (o = 0),
        (o += this._endPosition)),
        (this._solution && Mc(o - e, 0.1) && Mc(t, 0.1)) ||
          ((this._endPosition = e),
          (this._solution = this._solve(o - this._endPosition, t)),
          (this._startTime = n));
    }
  }),
  (Ac.prototype.snap = function (e) {
    (this._startTime = new Date().getTime()),
      (this._endPosition = e),
      (this._solution = {
        x: function () {
          return 0;
        },
        dx: function () {
          return 0;
        },
      });
  }),
  (Ac.prototype.done = function (e) {
    return (
      e || (e = new Date().getTime()),
      Ec(this.x(), this._endPosition, 0.1) && Mc(this.dx(), 0.1)
    );
  }),
  (Ac.prototype.reconfigure = function (e, t, n) {
    (this._m = e),
      (this._k = t),
      (this._c = n),
      this.done() ||
        ((this._solution = this._solve(
          this.x() - this._endPosition,
          this.dx()
        )),
        (this._startTime = new Date().getTime()));
  }),
  (Ac.prototype.springConstant = function () {
    return this._k;
  }),
  (Ac.prototype.damping = function () {
    return this._c;
  }),
  (Ac.prototype.configuration = function () {
    return [
      {
        label: "Spring Constant",
        read: this.springConstant.bind(this),
        write: function (e, t) {
          e.reconfigure(1, t, e.damping());
        }.bind(this, this),
        min: 100,
        max: 1e3,
      },
      {
        label: "Damping",
        read: this.damping.bind(this),
        write: function (e, t) {
          e.reconfigure(1, e.springConstant(), t);
        }.bind(this, this),
        min: 1,
        max: 500,
      },
    ];
  }),
  (Oc.prototype.setEnd = function (e, t, n, o) {
    const r = new Date().getTime();
    this._springX.setEnd(e, o, r),
      this._springY.setEnd(t, o, r),
      this._springScale.setEnd(n, o, r),
      (this._startTime = r);
  }),
  (Oc.prototype.x = function () {
    const e = (new Date().getTime() - this._startTime) / 1e3;
    return {
      x: this._springX.x(e),
      y: this._springY.x(e),
      scale: this._springScale.x(e),
    };
  }),
  (Oc.prototype.done = function () {
    const e = new Date().getTime();
    return (
      this._springX.done(e) &&
      this._springY.done(e) &&
      this._springScale.done(e)
    );
  }),
  (Oc.prototype.reconfigure = function (e, t, n) {
    this._springX.reconfigure(e, t, n),
      this._springY.reconfigure(e, t, n),
      this._springScale.reconfigure(e, t, n);
  });
function Ic(e, t) {
  return +((1e3 * e - 1e3 * t) / 1e3).toFixed(1);
}
var Pc = bl({
  name: "MovableView",
  props: {
    direction: { type: String, default: "none" },
    inertia: { type: [Boolean, String], default: !1 },
    outOfBounds: { type: [Boolean, String], default: !1 },
    x: { type: [Number, String], default: 0 },
    y: { type: [Number, String], default: 0 },
    damping: { type: [Number, String], default: 20 },
    friction: { type: [Number, String], default: 2 },
    disabled: { type: [Boolean, String], default: !1 },
    scale: { type: [Boolean, String], default: !1 },
    scaleMin: { type: [Number, String], default: 0.5 },
    scaleMax: { type: [Number, String], default: 10 },
    scaleValue: { type: [Number, String], default: 1 },
    animation: { type: [Boolean, String], default: !0 },
  },
  emits: ["change", "scale"],
  setup(e, { slots: t, emit: n }) {
    const o = Rt(null),
      r = Sl(o, n),
      { setParent: i } = (function (e, t, n) {
        const o = $n("movableAreaWidth", Rt(0)),
          r = $n("movableAreaHeight", Rt(0)),
          i = $n("_isMounted", Rt(!1)),
          s = $n("movableAreaRootRef"),
          l = $n("addMovableViewContext", () => {}),
          a = $n("removeMovableViewContext", () => {}),
          c = Rt(Wc(e.x)),
          u = Rt(Wc(e.y)),
          d = Rt(Number(e.scaleValue) || 1),
          f = Rt(0),
          p = Rt(0),
          h = Rt(0),
          g = Rt(0),
          m = Rt(0),
          v = Rt(0);
        let y = null,
          b = null;
        const _ = { x: 0, y: 0 },
          w = { x: 0, y: 0 };
        let x,
          S,
          T = 1,
          C = 1,
          k = 0,
          E = 0,
          M = !1,
          $ = !1,
          L = null,
          A = null;
        const O = new $c(),
          I = new $c(),
          P = { historyX: [0, 0], historyY: [0, 0], historyT: [0, 0] },
          B = jr(() => {
            let t = Number(e.damping);
            return isNaN(t) ? 20 : t;
          }),
          N = jr(() => {
            let t = Number(e.friction);
            return isNaN(t) || t <= 0 ? 2 : t;
          }),
          F = jr(() => {
            let t = Number(e.scaleMin);
            return isNaN(t) ? 0.5 : t;
          }),
          R = jr(() => {
            let t = Number(e.scaleMax);
            return isNaN(t) ? 10 : t;
          }),
          D = jr(() => "all" === e.direction || "horizontal" === e.direction),
          W = jr(() => "all" === e.direction || "vertical" === e.direction),
          j = new Oc(1, (9 * Math.pow(B.value, 2)) / 40, B.value),
          H = new Lc(1, N.value);
        function V() {
          b && b.cancel(), y && y.cancel();
        }
        function q(e) {
          if (D.value) {
            if (e + w.x === k) return k;
            y && y.cancel(), ie(e + w.x, u.value + w.y, T);
          }
          return e;
        }
        function z(e) {
          if (W.value) {
            if (e + w.y === E) return E;
            y && y.cancel(), ie(c.value + w.x, e + w.y, T);
          }
          return e;
        }
        function X() {
          if (!e.scale) return !1;
          ne(T, !0), oe(T);
        }
        function Y(t) {
          return !!e.scale && (ne((t = re(t)), !0), oe(t), t);
        }
        function U() {
          M ||
            e.disabled ||
            (V(),
            (P.historyX = [0, 0]),
            (P.historyY = [0, 0]),
            (P.historyT = [0, 0]),
            D.value && (x = k),
            W.value && (S = E),
            (n.value.style.willChange = "transform"),
            (L = null),
            (A = null),
            ($ = !0));
        }
        function K(t) {
          if (!M && !e.disabled && $) {
            let n = k,
              o = E;
            if (
              (null === A &&
                (A =
                  Math.abs(t.detail.dx / t.detail.dy) > 1
                    ? "htouchmove"
                    : "vtouchmove"),
              D.value &&
                ((n = t.detail.dx + x),
                P.historyX.shift(),
                P.historyX.push(n),
                W.value ||
                  null !== L ||
                  (L = Math.abs(t.detail.dx / t.detail.dy) < 1)),
              W.value &&
                ((o = t.detail.dy + S),
                P.historyY.shift(),
                P.historyY.push(o),
                D.value ||
                  null !== L ||
                  (L = Math.abs(t.detail.dy / t.detail.dx) < 1)),
              P.historyT.shift(),
              P.historyT.push(t.detail.timeStamp),
              !L)
            ) {
              t.preventDefault();
              let r = "touch";
              n < h.value
                ? e.outOfBounds
                  ? ((r = "touch-out-of-bounds"),
                    (n = h.value - O.x(h.value - n)))
                  : (n = h.value)
                : n > m.value &&
                  (e.outOfBounds
                    ? ((r = "touch-out-of-bounds"),
                      (n = m.value + O.x(n - m.value)))
                    : (n = m.value)),
                o < g.value
                  ? e.outOfBounds
                    ? ((r = "touch-out-of-bounds"),
                      (o = g.value - I.x(g.value - o)))
                    : (o = g.value)
                  : o > v.value &&
                    (e.outOfBounds
                      ? ((r = "touch-out-of-bounds"),
                        (o = v.value + I.x(o - v.value)))
                      : (o = v.value)),
                Nc(function () {
                  le(n, o, T, r);
                });
            }
          }
        }
        function G() {
          if (
            !M &&
            !e.disabled &&
            $ &&
            ((n.value.style.willChange = "auto"),
            ($ = !1),
            !L && !se("out-of-bounds") && e.inertia)
          ) {
            const e =
                (1e3 * (P.historyX[1] - P.historyX[0])) /
                (P.historyT[1] - P.historyT[0]),
              t =
                (1e3 * (P.historyY[1] - P.historyY[0])) /
                (P.historyT[1] - P.historyT[0]);
            H.setV(e, t), H.setS(k, E);
            const n = H.delta().x,
              o = H.delta().y;
            let r = n + k,
              i = o + E;
            r < h.value
              ? ((r = h.value), (i = E + ((h.value - k) * o) / n))
              : r > m.value &&
                ((r = m.value), (i = E + ((m.value - k) * o) / n)),
              i < g.value
                ? ((i = g.value), (r = k + ((g.value - E) * n) / o))
                : i > v.value &&
                  ((i = v.value), (r = k + ((v.value - E) * n) / o)),
              H.setEnd(r, i),
              (b = Dc(
                H,
                function () {
                  let e = H.s();
                  le(e.x, e.y, T, "friction");
                },
                function () {
                  b.cancel();
                }
              ));
          }
          e.outOfBounds || e.inertia || V();
        }
        function Z(e, t) {
          let n = !1;
          return (
            e > m.value
              ? ((e = m.value), (n = !0))
              : e < h.value && ((e = h.value), (n = !0)),
            t > v.value
              ? ((t = v.value), (n = !0))
              : t < g.value && ((t = g.value), (n = !0)),
            { x: e, y: t, outOfBounds: n }
          );
        }
        function Q() {
          (_.x = Fc(n.value, s.value)), (_.y = Rc(n.value, s.value));
        }
        function J(e) {
          e = re((e = e || T));
          let t = n.value.getBoundingClientRect();
          (p.value = t.height / T), (f.value = t.width / T);
          let o = p.value * e,
            r = f.value * e;
          (w.x = (r - f.value) / 2), (w.y = (o - p.value) / 2);
        }
        function ee() {
          let e = 0 - _.x + w.x,
            t = o.value - f.value - _.x - w.x;
          (h.value = Math.min(e, t)), (m.value = Math.max(e, t));
          let n = 0 - _.y + w.y,
            i = r.value - p.value - _.y - w.y;
          (g.value = Math.min(n, i)), (v.value = Math.max(n, i));
        }
        function te() {
          M = !0;
        }
        function ne(t, n) {
          if (e.scale) {
            J((t = re(t))), ee();
            const e = Z(k, E),
              o = e.x,
              r = e.y;
            n
              ? ie(o, r, t, "", !0, !0)
              : Nc(function () {
                  le(o, r, t, "", !0, !0);
                });
          }
        }
        function oe(e) {
          C = e;
        }
        function re(e) {
          return (
            (e = Math.max(0.5, F.value, e)), (e = Math.min(10, R.value, e))
          );
        }
        function ie(t, n, o, r, i, s) {
          V(), D.value || (t = k), W.value || (n = E), e.scale || (o = T);
          let l = Z(t, n);
          (t = l.x),
            (n = l.y),
            e.animation
              ? ((j._springX._solution = null),
                (j._springY._solution = null),
                (j._springScale._solution = null),
                (j._springX._endPosition = k),
                (j._springY._endPosition = E),
                (j._springScale._endPosition = T),
                j.setEnd(t, n, o, 1),
                (y = Dc(
                  j,
                  function () {
                    let e = j.x();
                    le(e.x, e.y, e.scale, r, i, s);
                  },
                  function () {
                    y.cancel();
                  }
                )))
              : le(t, n, o, r, i, s);
        }
        function se(e) {
          let t = Z(k, E),
            n = t.x,
            o = t.y,
            r = t.outOfBounds;
          return r && ie(n, o, T, e), r;
        }
        function le(o, r, i, s = "", l, a) {
          (null !== o && "NaN" !== o.toString() && "number" == typeof o) ||
            (o = k || 0),
            (null !== r && "NaN" !== r.toString() && "number" == typeof r) ||
              (r = E || 0),
            (o = Number(o.toFixed(1))),
            (r = Number(r.toFixed(1))),
            (i = Number(i.toFixed(1))),
            (k === o && E === r) ||
              l ||
              t("change", {}, { x: Ic(o, w.x), y: Ic(r, w.y), source: s }),
            e.scale || (i = T),
            (i = +(i = re(i)).toFixed(3)),
            a && i !== T && t("scale", {}, { x: o, y: r, scale: i });
          let c =
            "translateX(" +
            o +
            "px) translateY(" +
            r +
            "px) translateZ(0px) scale(" +
            i +
            ")";
          (n.value.style.transform = c),
            (n.value.style.webkitTransform = c),
            (k = o),
            (E = r),
            (T = i);
        }
        function ae() {
          if (!i.value) return;
          V();
          let t = e.scale ? d.value : 1;
          Q(), J(t), ee(), (k = c.value + w.x), (E = u.value + w.y);
          let n = Z(k, E);
          le(n.x, n.y, t, "", !0), oe(t);
        }
        function ce() {
          (M = !1), oe(T);
        }
        function ue(e) {
          e && ((e *= C), te(), ne(e));
        }
        return (
          On(
            () => e.x,
            (e) => {
              c.value = Wc(e);
            }
          ),
          On(
            () => e.y,
            (e) => {
              u.value = Wc(e);
            }
          ),
          On(c, (e) => {
            q(e);
          }),
          On(u, (e) => {
            z(e);
          }),
          On(
            () => e.scaleValue,
            (e) => {
              d.value = Number(e) || 0;
            }
          ),
          On(d, (e) => {
            Y(e);
          }),
          On(F, () => {
            X();
          }),
          On(R, () => {
            X();
          }),
          no(() => {
            kc(n.value, (e) => {
              switch (e.detail.state) {
                case "start":
                  U();
                  break;
                case "move":
                  K(e);
                  break;
                case "end":
                  G();
              }
            }),
              ae(),
              H.reconfigure(1, N.value),
              j.reconfigure(1, (9 * Math.pow(B.value, 2)) / 40, B.value),
              (n.value.style.transformOrigin = "center");
            const e = {
              rootRef: n,
              setParent: ae,
              _endScale: ce,
              _setScale: ue,
            };
            l(e),
              so(() => {
                a(e);
              });
          }),
          so(() => {
            V();
          }),
          { setParent: ae }
        );
      })(e, r, o);
    return () =>
      gr(
        "uni-movable-view",
        { ref: o },
        [
          gr(rc, { onResize: i }, null, 8, ["onResize"]),
          t.default && t.default(),
        ],
        512
      );
  },
});
let Bc = !1;
function Nc(e) {
  Bc ||
    ((Bc = !0),
    requestAnimationFrame(function () {
      e(), (Bc = !1);
    }));
}
function Fc(e, t) {
  if (e === t) return 0;
  let n = e.offsetLeft;
  return e.offsetParent ? (n += Fc(e.offsetParent, t)) : 0;
}
function Rc(e, t) {
  if (e === t) return 0;
  let n = e.offsetTop;
  return e.offsetParent ? (n += Rc(e.offsetParent, t)) : 0;
}
function Dc(e, t, n) {
  let o = { id: 0, cancelled: !1 };
  return (
    (function e(t, n, o, r) {
      if (!t || !t.cancelled) {
        o(n);
        let i = n.done();
        i ||
          t.cancelled ||
          (t.id = requestAnimationFrame(e.bind(null, t, n, o, r))),
          i && r && r(n);
      }
    })(o, e, t, n),
    {
      cancel: function (e) {
        e && e.id && cancelAnimationFrame(e.id), e && (e.cancelled = !0);
      }.bind(null, o),
      model: e,
    }
  );
}
function Wc(e) {
  return /\d+[ur]px$/i.test(e) ? ya(parseFloat(e)) : Number(e) || 0;
}
const jc = se(!0);
var Hc = bl({
  name: "ScrollView",
  compatConfig: { MODE: 3 },
  props: {
    scrollX: { type: [Boolean, String], default: !1 },
    scrollY: { type: [Boolean, String], default: !1 },
    upperThreshold: { type: [Number, String], default: 50 },
    lowerThreshold: { type: [Number, String], default: 50 },
    scrollTop: { type: [Number, String], default: 0 },
    scrollLeft: { type: [Number, String], default: 0 },
    scrollIntoView: { type: String, default: "" },
    scrollWithAnimation: { type: [Boolean, String], default: !1 },
    enableBackToTop: { type: [Boolean, String], default: !1 },
    refresherEnabled: { type: [Boolean, String], default: !1 },
    refresherThreshold: { type: Number, default: 45 },
    refresherDefaultStyle: { type: String, default: "back" },
    refresherBackground: { type: String, default: "#fff" },
    refresherTriggered: { type: [Boolean, String], default: !1 },
  },
  emits: [
    "scroll",
    "scrolltoupper",
    "scrolltolower",
    "refresherrefresh",
    "refresherrestore",
    "refresherpulling",
    "refresherabort",
    "update:refresherTriggered",
  ],
  setup(e, { emit: t, slots: n }) {
    const o = Rt(null),
      r = Rt(null),
      i = Rt(null),
      s = Rt(null),
      l = Rt(null),
      a = Sl(o, t),
      {
        state: c,
        scrollTopNumber: u,
        scrollLeftNumber: d,
      } = (function (e) {
        const t = jr(() => Number(e.scrollTop) || 0),
          n = jr(() => Number(e.scrollLeft) || 0);
        return {
          state: Tt({
            lastScrollTop: t.value,
            lastScrollLeft: n.value,
            lastScrollToUpperTime: 0,
            lastScrollToLowerTime: 0,
            refresherHeight: 0,
            refreshRotate: 0,
            refreshState: "",
          }),
          scrollTopNumber: t,
          scrollLeftNumber: n,
        };
      })(e);
    !(function (e, t, n, o, r, i, s, l, a) {
      let c = !1,
        u = 0,
        d = !1,
        f = () => {};
      const p = jr(() => {
          let t = Number(e.upperThreshold);
          return isNaN(t) ? 50 : t;
        }),
        h = jr(() => {
          let t = Number(e.lowerThreshold);
          return isNaN(t) ? 50 : t;
        });
      function g(e, t) {
        const n = s.value;
        let o = 0,
          r = "";
        if (
          (e < 0
            ? (e = 0)
            : "x" === t && e > n.scrollWidth - n.offsetWidth
            ? (e = n.scrollWidth - n.offsetWidth)
            : "y" === t &&
              e > n.scrollHeight - n.offsetHeight &&
              (e = n.scrollHeight - n.offsetHeight),
          "x" === t
            ? (o = n.scrollLeft - e)
            : "y" === t && (o = n.scrollTop - e),
          0 === o)
        )
          return;
        let i = l.value;
        (i.style.transition = "transform .3s ease-out"),
          (i.style.webkitTransition = "-webkit-transform .3s ease-out"),
          "x" === t
            ? (r = "translateX(" + o + "px) translateZ(0)")
            : "y" === t && (r = "translateY(" + o + "px) translateZ(0)"),
          i.removeEventListener("transitionend", f),
          i.removeEventListener("webkitTransitionEnd", f),
          (f = () => _(e, t)),
          i.addEventListener("transitionend", f),
          i.addEventListener("webkitTransitionEnd", f),
          "x" === t
            ? (n.style.overflowX = "hidden")
            : "y" === t && (n.style.overflowY = "hidden"),
          (i.style.transform = r),
          (i.style.webkitTransform = r);
      }
      function m(n) {
        const o = n.target;
        r("scroll", n, {
          scrollLeft: o.scrollLeft,
          scrollTop: o.scrollTop,
          scrollHeight: o.scrollHeight,
          scrollWidth: o.scrollWidth,
          deltaX: t.lastScrollLeft - o.scrollLeft,
          deltaY: t.lastScrollTop - o.scrollTop,
        }),
          e.scrollY &&
            (o.scrollTop <= p.value &&
              t.lastScrollTop - o.scrollTop > 0 &&
              n.timeStamp - t.lastScrollToUpperTime > 200 &&
              (r("scrolltoupper", n, { direction: "top" }),
              (t.lastScrollToUpperTime = n.timeStamp)),
            o.scrollTop + o.offsetHeight + h.value >= o.scrollHeight &&
              t.lastScrollTop - o.scrollTop < 0 &&
              n.timeStamp - t.lastScrollToLowerTime > 200 &&
              (r("scrolltolower", n, { direction: "bottom" }),
              (t.lastScrollToLowerTime = n.timeStamp))),
          e.scrollX &&
            (o.scrollLeft <= p.value &&
              t.lastScrollLeft - o.scrollLeft > 0 &&
              n.timeStamp - t.lastScrollToUpperTime > 200 &&
              (r("scrolltoupper", n, { direction: "left" }),
              (t.lastScrollToUpperTime = n.timeStamp)),
            o.scrollLeft + o.offsetWidth + h.value >= o.scrollWidth &&
              t.lastScrollLeft - o.scrollLeft < 0 &&
              n.timeStamp - t.lastScrollToLowerTime > 200 &&
              (r("scrolltolower", n, { direction: "right" }),
              (t.lastScrollToLowerTime = n.timeStamp))),
          (t.lastScrollTop = o.scrollTop),
          (t.lastScrollLeft = o.scrollLeft);
      }
      function v(t) {
        e.scrollY &&
          (e.scrollWithAnimation ? g(t, "y") : (s.value.scrollTop = t));
      }
      function y(t) {
        e.scrollX &&
          (e.scrollWithAnimation ? g(t, "x") : (s.value.scrollLeft = t));
      }
      function b(t) {
        if (t) {
          if (!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))
            return void console.error(`id error: scroll-into-view=${t}`);
          let n = i.value.querySelector("#" + t);
          if (n) {
            let t = s.value.getBoundingClientRect(),
              o = n.getBoundingClientRect();
            if (e.scrollX) {
              let n = o.left - t.left,
                r = s.value.scrollLeft + n;
              e.scrollWithAnimation ? g(r, "x") : (s.value.scrollLeft = r);
            }
            if (e.scrollY) {
              let n = o.top - t.top,
                r = s.value.scrollTop + n;
              e.scrollWithAnimation ? g(r, "y") : (s.value.scrollTop = r);
            }
          }
        }
      }
      function _(t, n) {
        (l.value.style.transition = ""),
          (l.value.style.webkitTransition = ""),
          (l.value.style.transform = ""),
          (l.value.style.webkitTransform = "");
        let o = s.value;
        "x" === n
          ? ((o.style.overflowX = e.scrollX ? "auto" : "hidden"),
            (o.scrollLeft = t))
          : "y" === n &&
            ((o.style.overflowY = e.scrollY ? "auto" : "hidden"),
            (o.scrollTop = t)),
          l.value.removeEventListener("transitionend", f),
          l.value.removeEventListener("webkitTransitionEnd", f);
      }
      function w(n) {
        switch (n) {
          case "refreshing":
            (t.refresherHeight = e.refresherThreshold),
              c ||
                ((c = !0),
                r("refresherrefresh", {}, {}),
                a("update:refresherTriggered", !0));
            break;
          case "restore":
          case "refresherabort":
            (c = !1),
              (t.refresherHeight = u = 0),
              "restore" === n && ((d = !1), r("refresherrestore", {}, {})),
              "refresherabort" === n &&
                d &&
                ((d = !1), r("refresherabort", {}, {}));
        }
        t.refreshState = n;
      }
      no(() => {
        an(() => {
          v(n.value), y(o.value);
        }),
          b(e.scrollIntoView);
        let i = function (e) {
            e.preventDefault(), e.stopPropagation(), m(e);
          },
          l = { x: 0, y: 0 },
          a = null,
          f = function (n) {
            if (null === l) return;
            let o = n.touches[0].pageX,
              i = n.touches[0].pageY,
              f = s.value;
            if (Math.abs(o - l.x) > Math.abs(i - l.y))
              if (e.scrollX) {
                if (0 === f.scrollLeft && o > l.x) return void (a = !1);
                if (f.scrollWidth === f.offsetWidth + f.scrollLeft && o < l.x)
                  return void (a = !1);
                a = !0;
              } else a = !1;
            else if (e.scrollY)
              if (0 === f.scrollTop && i > l.y)
                (a = !1),
                  e.refresherEnabled &&
                    !1 !== n.cancelable &&
                    n.preventDefault();
              else {
                if (f.scrollHeight === f.offsetHeight + f.scrollTop && i < l.y)
                  return void (a = !1);
                a = !0;
              }
            else a = !1;
            if (
              (a && n.stopPropagation(),
              0 === f.scrollTop &&
                1 === n.touches.length &&
                (t.refreshState = "pulling"),
              e.refresherEnabled && "pulling" === t.refreshState)
            ) {
              const o = i - l.y;
              0 === u && (u = i),
                c
                  ? ((t.refresherHeight = o + e.refresherThreshold), (d = !1))
                  : ((t.refresherHeight = i - u),
                    t.refresherHeight > 0 &&
                      ((d = !0), r("refresherpulling", n, { deltaY: o })));
              const s = t.refresherHeight / e.refresherThreshold;
              t.refreshRotate = 360 * (s > 1 ? 1 : s);
            }
          },
          p = function (e) {
            1 === e.touches.length &&
              (l = { x: e.touches[0].pageX, y: e.touches[0].pageY });
          },
          h = function (n) {
            (l = null),
              t.refresherHeight >= e.refresherThreshold
                ? w("refreshing")
                : w("refresherabort");
          };
        s.value.addEventListener("touchstart", p, jc),
          s.value.addEventListener("touchmove", f, se(!1)),
          s.value.addEventListener("scroll", i, se(!1)),
          s.value.addEventListener("touchend", h, jc),
          io(() => {
            s.value.removeEventListener("touchstart", p),
              s.value.removeEventListener("touchmove", f),
              s.value.removeEventListener("scroll", i),
              s.value.removeEventListener("touchend", h);
          });
      }),
        Kn(() => {
          e.scrollY && (s.value.scrollTop = t.lastScrollTop),
            e.scrollX && (s.value.scrollLeft = t.lastScrollLeft);
        }),
        On(n, (e) => {
          v(e);
        }),
        On(o, (e) => {
          y(e);
        }),
        On(
          () => e.scrollIntoView,
          (e) => {
            b(e);
          }
        ),
        On(
          () => e.refresherTriggered,
          (e) => {
            !0 === e ? w("refreshing") : !1 === e && w("restore");
          }
        );
    })(e, c, u, d, a, o, r, s, t);
    const f = jr(() => {
      let t = "";
      return (
        e.scrollX ? (t += "overflow-x:auto;") : (t += "overflow-x:hidden;"),
        e.scrollY ? (t += "overflow-y:auto;") : (t += "overflow-y:hidden;"),
        t
      );
    });
    return () => {
      const {
          refresherEnabled: t,
          refresherBackground: a,
          refresherDefaultStyle: u,
        } = e,
        { refresherHeight: d, refreshState: p, refreshRotate: h } = c;
      return gr(
        "uni-scroll-view",
        { ref: o },
        [
          gr(
            "div",
            { ref: i, class: "uni-scroll-view" },
            [
              gr(
                "div",
                { ref: r, style: f.value, class: "uni-scroll-view" },
                [
                  gr(
                    "div",
                    { ref: s, class: "uni-scroll-view-content" },
                    [
                      t
                        ? gr(
                            "div",
                            {
                              ref: l,
                              style: { backgroundColor: a, height: d + "px" },
                              class: "uni-scroll-view-refresher",
                            },
                            [
                              "none" !== u
                                ? gr(
                                    "div",
                                    { class: "uni-scroll-view-refresh" },
                                    [
                                      gr(
                                        "div",
                                        {
                                          class:
                                            "uni-scroll-view-refresh-inner",
                                        },
                                        [
                                          "pulling" == p
                                            ? gr(
                                                "svg",
                                                {
                                                  key: "refresh__icon",
                                                  style: {
                                                    transform:
                                                      "rotate(" + h + "deg)",
                                                  },
                                                  fill: "#2BD009",
                                                  class:
                                                    "uni-scroll-view-refresh__icon",
                                                  width: "24",
                                                  height: "24",
                                                  viewBox: "0 0 24 24",
                                                },
                                                [
                                                  gr(
                                                    "path",
                                                    {
                                                      d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z",
                                                    },
                                                    null
                                                  ),
                                                  gr(
                                                    "path",
                                                    {
                                                      d: "M0 0h24v24H0z",
                                                      fill: "none",
                                                    },
                                                    null
                                                  ),
                                                ],
                                                4
                                              )
                                            : null,
                                          "refreshing" == p
                                            ? gr(
                                                "svg",
                                                {
                                                  key: "refresh__spinner",
                                                  class:
                                                    "uni-scroll-view-refresh__spinner",
                                                  width: "24",
                                                  height: "24",
                                                  viewBox: "25 25 50 50",
                                                },
                                                [
                                                  gr(
                                                    "circle",
                                                    {
                                                      cx: "50",
                                                      cy: "50",
                                                      r: "20",
                                                      fill: "none",
                                                      style: "color: #2bd009",
                                                      "stroke-width": "3",
                                                    },
                                                    null
                                                  ),
                                                ]
                                              )
                                            : null,
                                        ]
                                      ),
                                    ]
                                  )
                                : null,
                              "none" == u ? n.refresher && n.refresher() : null,
                            ],
                            4
                          )
                        : null,
                      n.default && n.default(),
                    ],
                    512
                  ),
                ],
                4
              ),
            ],
            512
          ),
        ],
        512
      );
    };
  },
});
function Vc(e, t, n, o, r, i) {
  function s() {
    c && (clearTimeout(c), (c = null));
  }
  let l,
    a,
    c = null,
    u = !0,
    d = 0,
    f = 1,
    p = null,
    h = !1,
    g = 0,
    m = "";
  const v = jr(() => e.circular && n.value.length > t.displayMultipleItems);
  function y(r) {
    (Math.floor(2 * d) === Math.floor(2 * r) &&
      Math.ceil(2 * d) === Math.ceil(2 * r)) ||
      (v.value &&
        (function (o) {
          if (!u)
            for (
              let r = n.value,
                i = r.length,
                s = o + t.displayMultipleItems,
                l = 0;
              l < i;
              l++
            ) {
              const t = r[l],
                n = Math.floor(o / i) * i + l,
                a = n + i,
                c = n - i,
                u = Math.max(o - (n + 1), n - s, 0),
                d = Math.max(o - (a + 1), a - s, 0),
                f = Math.max(o - (c + 1), c - s, 0),
                p = Math.min(u, d, f),
                h = [n, a, c][[u, d, f].indexOf(p)];
              t.updatePosition(h, e.vertical);
            }
        })(r));
    const s =
        "translate(" +
        (e.vertical ? "0" : 100 * -r * f + "%") +
        ", " +
        (e.vertical ? 100 * -r * f + "%" : "0") +
        ") translateZ(0)",
      a = o.value;
    if (
      (a && ((a.style.webkitTransform = s), (a.style.transform = s)),
      (d = r),
      !l)
    ) {
      if (r % 1 == 0) return;
      l = r;
    }
    r -= Math.floor(l);
    const c = n.value;
    r <= -(c.length - 1) ? (r += c.length) : r >= c.length && (r -= c.length),
      (r = l % 1 > 0.5 || l < 0 ? r - 1 : r),
      i(
        "transition",
        {},
        {
          dx: e.vertical ? 0 : r * a.offsetWidth,
          dy: e.vertical ? r * a.offsetHeight : 0,
        }
      );
  }
  function b(e) {
    const o = n.value.length;
    if (!o) return -1;
    const r = ((Math.round(e) % o) + o) % o;
    if (v.value) {
      if (o <= t.displayMultipleItems) return 0;
    } else if (r > o - t.displayMultipleItems)
      return o - t.displayMultipleItems;
    return r;
  }
  function _() {
    p = null;
  }
  function w() {
    if (!p) return void (h = !1);
    const e = p,
      o = e.toPos,
      r = e.acc,
      s = e.endTime,
      c = e.source,
      u = s - Date.now();
    if (u <= 0) {
      y(o), (p = null), (h = !1), (l = null);
      const e = n.value[t.current];
      if (e) {
        const n = e.getItemId();
        i(
          "animationfinish",
          {},
          { current: t.current, currentItemId: n, source: c }
        );
      }
      return;
    }
    y(o + (r * u * u) / 2), (a = requestAnimationFrame(w));
  }
  function x(e, o, r) {
    _();
    const i = t.duration,
      s = n.value.length;
    let l = d;
    if (v.value)
      if (r < 0) {
        for (; l < e; ) l += s;
        for (; l - s > e; ) l -= s;
      } else if (r > 0) {
        for (; l > e; ) l -= s;
        for (; l + s < e; ) l += s;
        l + s - e < e - l && (l += s);
      } else {
        for (; l + s < e; ) l += s;
        for (; l - s > e; ) l -= s;
        l + s - e < e - l && (l += s);
      }
    (p = {
      toPos: e,
      acc: (2 * (l - e)) / (i * i),
      endTime: Date.now() + i,
      source: o,
    }),
      h || ((h = !0), (a = requestAnimationFrame(w)));
  }
  function S() {
    s();
    const e = n.value,
      o = function () {
        (c = null),
          (m = "autoplay"),
          v.value
            ? (t.current = b(t.current + 1))
            : (t.current =
                t.current + t.displayMultipleItems < e.length
                  ? t.current + 1
                  : 0),
          x(t.current, "autoplay", v.value ? 1 : 0),
          (c = setTimeout(o, t.interval));
      };
    u || e.length <= t.displayMultipleItems || (c = setTimeout(o, t.interval));
  }
  function T(e) {
    e ? S() : s();
  }
  return (
    On([() => e.current, () => e.currentItemId, () => [...n.value]], () => {
      let o = -1;
      if (e.currentItemId)
        for (let t = 0, r = n.value; t < r.length; t++) {
          if (r[t].getItemId() === e.currentItemId) {
            o = t;
            break;
          }
        }
      o < 0 && (o = Math.round(e.current) || 0),
        (o = o < 0 ? 0 : o),
        t.current !== o && ((m = ""), (t.current = o));
    }),
    On(
      [
        () => e.vertical,
        () => v.value,
        () => t.displayMultipleItems,
        () => [...n.value],
      ],
      function () {
        s(), p && (y(p.toPos), (p = null));
        const r = n.value;
        for (let t = 0; t < r.length; t++) r[t].updatePosition(t, e.vertical);
        f = 1;
        const i = o.value;
        if (1 === t.displayMultipleItems && r.length) {
          const e = r[0].getBoundingClientRect(),
            t = i.getBoundingClientRect();
          (f = e.width / t.width), (f > 0 && f < 1) || (f = 1);
        }
        const l = d;
        d = -2;
        const a = t.current;
        a >= 0
          ? ((u = !1),
            t.userTracking
              ? (y(l + a - g), (g = a))
              : (y(a), e.autoplay && S()))
          : ((u = !0), y(-t.displayMultipleItems - 1));
      }
    ),
    On(
      () => t.interval,
      () => {
        c && (s(), S());
      }
    ),
    On(
      () => t.current,
      (e, o) => {
        !(function (e, o) {
          const r = m;
          m = "";
          const s = n.value;
          if (!r) {
            const t = s.length;
            x(e, "", v.value && o + ((t - e) % t) > t / 2 ? 1 : 0);
          }
          const l = s[e];
          if (l) {
            const e = (t.currentItemId = l.getItemId());
            i(
              "change",
              {},
              { current: t.current, currentItemId: e, source: r }
            );
          }
        })(e, o),
          r("update:current", e);
      }
    ),
    On(
      () => t.currentItemId,
      (e) => {
        r("update:currentItemId", e);
      }
    ),
    On(() => e.autoplay && !t.userTracking, T),
    T(e.autoplay && !t.userTracking),
    no(() => {
      let r = !1,
        i = 0,
        l = 0;
      function a(e) {
        t.userTracking = !1;
        const n = i / Math.abs(i);
        let o = 0;
        !e && Math.abs(i) > 0.2 && (o = 0.5 * n);
        const r = b(d + o);
        e
          ? y(g)
          : ((m = "touch"),
            (t.current = r),
            x(r, "touch", 0 !== o ? o : 0 === r && v.value && d >= 1 ? 1 : 0));
      }
      kc(o.value, (c) => {
        if (!e.disableTouch && !u) {
          if ("start" === c.detail.state)
            return (
              (t.userTracking = !0),
              (r = !1),
              s(),
              (g = d),
              (i = 0),
              (l = Date.now()),
              void _()
            );
          if ("end" === c.detail.state) return a(!1);
          if ("cancel" === c.detail.state) return a(!0);
          if (t.userTracking) {
            if (!r) {
              r = !0;
              const n = Math.abs(c.detail.dx),
                o = Math.abs(c.detail.dy);
              if (
                (((n >= o && e.vertical) || (n <= o && !e.vertical)) &&
                  (t.userTracking = !1),
                !t.userTracking)
              )
                return void (e.autoplay && S());
            }
            return (
              (function (r) {
                const s = l;
                l = Date.now();
                const a = n.value.length - t.displayMultipleItems;
                function c(e) {
                  return 0.5 - 0.25 / (e + 0.5);
                }
                function u(e, t) {
                  let n = g + e;
                  (i = 0.6 * i + 0.4 * t),
                    v.value ||
                      ((n < 0 || n > a) &&
                        (n < 0 ? (n = -c(-n)) : n > a && (n = a + c(n - a)),
                        (i = 0))),
                    y(n);
                }
                const d = l - s || 1,
                  f = o.value;
                e.vertical
                  ? u(-r.dy / f.offsetHeight, -r.ddy / d)
                  : u(-r.dx / f.offsetWidth, -r.ddx / d);
              })(c.detail),
              !1
            );
          }
        }
      });
    }),
    so(() => {
      s(), cancelAnimationFrame(a);
    }),
    {
      onSwiperDotClick: function (e) {
        x((t.current = e), (m = "click"), v.value ? 1 : 0);
      },
    }
  );
}
var qc = bl({
  name: "Swiper",
  props: {
    indicatorDots: { type: [Boolean, String], default: !1 },
    vertical: { type: [Boolean, String], default: !1 },
    autoplay: { type: [Boolean, String], default: !1 },
    circular: { type: [Boolean, String], default: !1 },
    interval: { type: [Number, String], default: 5e3 },
    duration: { type: [Number, String], default: 500 },
    current: { type: [Number, String], default: 0 },
    indicatorColor: { type: String, default: "" },
    indicatorActiveColor: { type: String, default: "" },
    previousMargin: { type: String, default: "" },
    nextMargin: { type: String, default: "" },
    currentItemId: { type: String, default: "" },
    skipHiddenItemLayout: { type: [Boolean, String], default: !1 },
    displayMultipleItems: { type: [Number, String], default: 1 },
    disableTouch: { type: [Boolean, String], default: !1 },
  },
  emits: [
    "change",
    "transition",
    "animationfinish",
    "update:current",
    "update:currentItemId",
  ],
  setup(e, { slots: t, emit: n }) {
    const o = Rt(null),
      r = Sl(o, n),
      i = Rt(null),
      s = Rt(null),
      l = (function (e) {
        return Tt({
          interval: jr(() => {
            const t = Number(e.interval);
            return isNaN(t) ? 5e3 : t;
          }),
          duration: jr(() => {
            const t = Number(e.duration);
            return isNaN(t) ? 500 : t;
          }),
          displayMultipleItems: jr(() => {
            const t = Math.round(e.displayMultipleItems);
            return isNaN(t) ? 1 : t;
          }),
          current: Math.round(e.current) || 0,
          currentItemId: e.currentItemId,
          userTracking: !1,
        });
      })(e),
      a = jr(() => {
        let t = {};
        return (
          (e.nextMargin || e.previousMargin) &&
            (t = e.vertical
              ? {
                  left: 0,
                  right: 0,
                  top: Ps(e.previousMargin, !0),
                  bottom: Ps(e.nextMargin, !0),
                }
              : {
                  top: 0,
                  bottom: 0,
                  left: Ps(e.previousMargin, !0),
                  right: Ps(e.nextMargin, !0),
                }),
          t
        );
      }),
      c = jr(() => {
        const t = Math.abs(100 / l.displayMultipleItems) + "%";
        return {
          width: e.vertical ? "100%" : t,
          height: e.vertical ? t : "100%",
        };
      });
    let u = [];
    const d = [],
      f = Rt([]);
    function p() {
      const e = [];
      for (let t = 0; t < u.length; t++) {
        let n = u[t];
        n instanceof Element || (n = n.el);
        const o = d.find((e) => n === e.rootRef.value);
        o && e.push(Ot(o));
      }
      f.value = e;
    }
    Mn("addSwiperContext", function (e) {
      d.push(e), p();
    });
    Mn("removeSwiperContext", function (e) {
      const t = d.indexOf(e);
      t >= 0 && (d.splice(t, 1), p());
    });
    const { onSwiperDotClick: h } = Vc(e, l, f, s, n, r);
    return () => {
      const n = t.default && t.default();
      return (
        (u = _c(n)),
        gr(
          "uni-swiper",
          { ref: o },
          [
            gr(
              "div",
              { ref: i, class: "uni-swiper-wrapper" },
              [
                gr(
                  "div",
                  { class: "uni-swiper-slides", style: a.value },
                  [
                    gr(
                      "div",
                      {
                        ref: s,
                        class: "uni-swiper-slide-frame",
                        style: c.value,
                      },
                      [n],
                      4
                    ),
                  ],
                  4
                ),
                e.indicatorDots &&
                  gr(
                    "div",
                    {
                      class: [
                        "uni-swiper-dots",
                        e.vertical
                          ? "uni-swiper-dots-vertical"
                          : "uni-swiper-dots-horizontal",
                      ],
                    },
                    [
                      f.value.map((t, n, o) =>
                        gr(
                          "div",
                          {
                            onClick: () => h(n),
                            class: {
                              "uni-swiper-dot": !0,
                              "uni-swiper-dot-active":
                                (n < l.current + l.displayMultipleItems &&
                                  n >= l.current) ||
                                n <
                                  l.current + l.displayMultipleItems - o.length,
                            },
                            style: {
                              background:
                                n === l.current
                                  ? e.indicatorActiveColor
                                  : e.indicatorColor,
                            },
                          },
                          null,
                          14,
                          ["onClick"]
                        )
                      ),
                    ],
                    2
                  ),
              ],
              512
            ),
          ],
          512
        )
      );
    };
  },
});
var zc = bl({
  name: "SwiperItem",
  props: { itemId: { type: String, default: "" } },
  setup(e, { slots: t }) {
    const n = Rt(null),
      o = {
        rootRef: n,
        getItemId: () => e.itemId,
        getBoundingClientRect: () => n.value.getBoundingClientRect(),
        updatePosition(e, t) {
          const o = t ? "0" : 100 * e + "%",
            r = t ? 100 * e + "%" : "0",
            i = n.value,
            s = `translate(${o},${r}) translateZ(0)`;
          i && ((i.style.webkitTransform = s), (i.style.transform = s));
        },
      };
    return (
      no(() => {
        const e = $n("addSwiperContext");
        e && e(o);
      }),
      so(() => {
        const e = $n("removeSwiperContext");
        e && e(o);
      }),
      () =>
        gr(
          "uni-swiper-item",
          {
            ref: n,
            style: { position: "absolute", width: "100%", height: "100%" },
          },
          [t.default && t.default()],
          512
        )
    );
  },
});
const Xc = { ensp: " ", emsp: " ", nbsp: " " };
function Yc(e, t) {
  return e
    .replace(/\\n/g, "\n")
    .split("\n")
    .map((e) =>
      (function (e, { space: t, decode: n }) {
        if (!e) return e;
        t && Xc[t] && (e = e.replace(/ /g, Xc[t]));
        if (!n) return e;
        return e
          .replace(/&nbsp;/g, Xc.nbsp)
          .replace(/&ensp;/g, Xc.ensp)
          .replace(/&emsp;/g, Xc.emsp)
          .replace(/&lt;/g, "<")
          .replace(/&gt;/g, ">")
          .replace(/&amp;/g, "&")
          .replace(/&quot;/g, '"')
          .replace(/&apos;/g, "'");
      })(e, t)
    );
}
var Uc = bl({
    name: "Text",
    props: {
      selectable: { type: [Boolean, String], default: !1 },
      space: { type: String, default: "" },
      decode: { type: [Boolean, String], default: !1 },
    },
    setup:
      (e, { slots: t }) =>
      () => {
        const n = [];
        return (
          t.default &&
            t.default().forEach((t) => {
              if (8 & t.shapeFlag && t.type !== Jo) {
                const o = Yc(t.children, { space: e.space, decode: e.decode }),
                  r = o.length - 1;
                o.forEach((e, t) => {
                  (0 !== t || e) && n.push(vr(e)), t !== r && n.push(gr("br"));
                });
              } else n.push(t);
            }),
          gr(
            "uni-text",
            { selectable: !!e.selectable || null },
            [gr("span", null, n)],
            8,
            ["selectable"]
          )
        );
      },
  }),
  Kc = bl({
    name: "View",
    props: b({}, wl),
    setup(e, { slots: t }) {
      const { hovering: n, binding: o } = (function (e) {
        const t = Rt(!1);
        let n,
          o,
          r = !1;
        function i() {
          requestAnimationFrame(() => {
            clearTimeout(o),
              (o = setTimeout(() => {
                t.value = !1;
              }, parseInt(e.hoverStayTime)));
          });
        }
        return {
          hovering: t,
          binding: {
            onTouchstartPassive: function (o) {
              o._hoverPropagationStopped ||
                (e.hoverClass &&
                  "none" !== e.hoverClass &&
                  !e.disabled &&
                  (o.touches.length > 1 ||
                    (e.hoverStopPropagation &&
                      (o._hoverPropagationStopped = !0),
                    (r = !0),
                    (n = setTimeout(() => {
                      (t.value = !0), r || i();
                    }, parseInt(e.hoverStartTime))))));
            },
            onTouchend: function () {
              (r = !1), t.value && i();
            },
            onTouchcancel: function () {
              (r = !1), (t.value = !1), clearTimeout(n);
            },
          },
        };
      })(e);
      return () => {
        const r = e.hoverClass;
        return r && "none" !== r
          ? gr(
              "uni-view",
              xr({ class: n.value ? r : "" }, o),
              [t.default && t.default()],
              16
            )
          : gr("uni-view", null, [t.default && t.default()]);
      };
    },
  });
function Gc(e, t) {
  if ((t || (t = e.id), t)) return e.$options.name.toLowerCase() + "." + t;
}
function Zc(e, t, n) {
  e &&
    (function (e, t, n) {
      (t = rs(e, t)), os[t] || (os[t] = n);
    })(n || Fs(), e, ({ type: e, data: n }, o) => {
      t(e, n, o);
    });
}
function Qc(e, t) {
  e &&
    (function (e, t) {
      (t = rs(e, t)), delete os[t];
    })(t || Fs(), e);
}
let Jc = 0;
function eu(e) {
  const t = Ir().root.proxy.$page.id,
    n = Ir().proxy,
    o = n.$options.name.toLowerCase(),
    r = e || n.id || "context" + Jc++;
  return (
    no(() => {
      n.$el.__uniContextInfo = { id: r, type: o, page: t };
    }),
    `${o}.${r}`
  );
}
function tu(e, t, n, o) {
  k(t) && Jn(e, t.bind(n), o);
}
function nu(e, t, n) {
  !(function (e, t, n) {
    const o = e.mpType || n.$mpType;
    if (
      o &&
      (Object.keys(e).forEach((o) => {
        if (0 === o.indexOf("on")) {
          const r = e[o];
          S(r) ? r.forEach((e) => tu(o, e, n, t)) : tu(o, r, n, t);
        }
      }),
      "page" === o)
    ) {
      t.__isVisible = !0;
      try {
        js(n, "onLoad", t.attrs.__pageQuery),
          delete t.attrs.__pageQuery,
          js(n, "onShow");
      } catch (r) {
        console.error(r.message + "\n" + r.stack);
      }
    }
  })(e, t, n);
}
function ou(e, t, n) {
  return (e[t] = n);
}
function ru(e, t, n) {
  if (!t) throw e;
  const o = Ou();
  if (!o || !o.$vm) throw e;
  js(o.$vm, "onError", e);
}
function iu(e, t) {
  return e ? [...new Set([].concat(e, t))] : t;
}
function su(e) {
  const t = e._context.config;
  var n;
  k(e._component.onError) && (t.errorHandler = ru),
    (n = t.optionMergeStrategies),
    ge.forEach((e) => {
      n[e] = iu;
    });
  const o = t.globalProperties;
  (o.$set = ou),
    (o.$applyOptions = nu),
    (function (e) {
      me.forEach((t) => t(e));
    })(e);
}
const lu = Symbol("upm");
function au() {
  return $n(lu);
}
function cu(e) {
  const t = (function (e) {
    return Tt(JSON.parse(JSON.stringify(Ws(__uniRoutes[0].meta, e))));
  })(e);
  return Mn(lu, t), t;
}
function uu() {
  const e = location.href,
    t = e.indexOf("?"),
    n = e.indexOf("#", t > -1 ? t : 0);
  let o = {};
  t > -1 && (o = de(e.slice(t + 1, n > -1 ? n : e.length)));
  const { meta: r } = __uniRoutes[0],
    i = te(r.route);
  return { meta: r, query: o, path: i, matched: [{ path: i }] };
}
function du() {
  return (history.state && history.state.__id__) || 1;
}
const fu = window.CSS && window.CSS.supports;
function pu(e) {
  return fu && (fu(e) || fu.apply(window.CSS, e.split(":")));
}
const hu = pu("top:env(a)"),
  gu = pu("top:constant(a)"),
  mu = (() => (hu ? "env" : gu ? "constant" : ""))();
function vu(e) {
  Os({ "--window-top": yu(0), "--window-bottom": yu(0) });
}
function yu(e) {
  return mu ? `calc(${e}px + ${mu}(safe-area-inset-bottom))` : `${e}px`;
}
const bu = new Map();
function _u() {
  const e = [],
    t = bu.values();
  for (const n of t) n.$.__isTabBar ? n.$.__isActive && e.push(n) : e.push(n);
  return e;
}
let wu,
  xu,
  Su = du();
function Tu(e) {
  const t = au();
  return (function (e, t, n, o, r) {
    const { id: i, route: s } = o;
    return {
      id: i,
      path: te(s),
      route: s,
      fullPath: t,
      options: n,
      meta: o,
      openType: e,
      eventChannel: r,
      statusBarStyle:
        "#000000" === o.navigationBar.titleColor ? "dark" : "light",
    };
  })("navigateTo", __uniRoutes[0].path, {}, t);
}
function Cu(e) {
  e.$route;
  const t = Tu();
  var n, o;
  !(function (e, t) {
    (e.route = t.route),
      (e.$vm = e),
      (e.$page = t),
      (e.$mpType = "page"),
      t.meta.isTabBar && ((e.$.__isTabBar = !0), (e.$.__isActive = !0));
  })(e, t),
    bu.set(((n = t.path), (o = t.id), n + "$$" + o), e);
}
function ku(e, t) {
  !(function (e) {
    const t = Mu(e),
      { body: n } = document;
    wu && n.removeAttribute(wu), t && n.setAttribute(t, ""), (wu = t);
  })(e),
    vu(),
    (function (e) {
      const t = "nvue-dir-" + __uniConfig.nvue["flex-direction"];
      e.isNVue
        ? (document.body.setAttribute("nvue", ""),
          document.body.setAttribute(t, ""))
        : (document.body.removeAttribute("nvue"),
          document.body.removeAttribute(t));
    })(t),
    (function (e, t) {
      document.removeEventListener("touchmove", Hs),
        xu && document.removeEventListener("scroll", xu);
      if (t.disableScroll) return document.addEventListener("touchmove", Hs);
      const { onPageScroll: n, onReachBottom: o } = e,
        r = "transparent" === t.navigationBar.type;
      if (!n && !o && !r) return;
      const i = {},
        s = e.proxy.$page.id;
      (n || r) &&
        (i.onPageScroll = (function (e, t, n) {
          return (o) => {
            t && Md.publishHandler("onPageScroll", { scrollTop: o }, e),
              n && Md.emit(e + ".onPageScroll", { scrollTop: o });
          };
        })(s, n, r));
      o &&
        ((i.onReachBottomDistance = t.onReachBottomDistance || 50),
        (i.onReachBottom = () => Md.publishHandler("onReachBottom", {}, s)));
      (xu = zs(i)),
        requestAnimationFrame(() => document.addEventListener("scroll", xu));
    })(e, t);
}
function Eu(e) {
  const t = Mu(e);
  t &&
    (function (e) {
      const t = document.querySelector("uni-page-body");
      t && t.setAttribute(e, "");
    })(t);
}
function Mu(e) {
  return e.type.__scopeId;
}
var $u = {
  install(e) {
    su(e), ol(e), hl(e), (e.config.warnHandler = Lu);
  },
};
function Lu(e, t, n) {
  if (t) {
    if ("PageMetaHead" === t.$.type.name) return;
    const e = t.$.parent;
    if (e && "PageMeta" === e.type.name) return;
  }
  const o = [`[Vue warn]: ${e}`];
  n.length && o.push("\n", n), console.warn(...o);
}
let Au;
function Ou() {
  return Au;
}
function Iu(e) {
  (Au = e),
    (function (e) {
      (e.$vm = e), (e.$mpType = "app");
      const t = Rt(Gi().getLocale());
      Object.defineProperty(e, "$locale", {
        get: () => t.value,
        set(e) {
          t.value = e;
        },
      });
    })(Au),
    (function (e, t) {
      const n = e.$options || {};
      (n.globalData = b(n.globalData || {}, t)),
        Object.defineProperty(e, "globalData", {
          get: () => n.globalData,
          set(e) {
            n.globalData = e;
          },
        });
    })(Au),
    fl(),
    ms();
}
function Pu(e, { clone: t, init: n, setup: o, before: r }) {
  t && (e = b({}, e)), r && r(e);
  const i = e.setup;
  return (
    (e.setup = (e, t) => {
      const r = Ir();
      n(r.proxy);
      const s = o(r);
      if (i) return i(s || e, t);
    }),
    e
  );
}
function Bu(e, t) {
  return e && (e.__esModule || "Module" === e[Symbol.toStringTag])
    ? Pu(e.default, t)
    : Pu(e, t);
}
function Nu(e) {
  return Bu(e, {
    clone: !0,
    init: Cu,
    setup(e) {
      e.root = e;
      const t = ce(uu().query);
      (e.attrs.__pageQuery = t), (e.proxy.$page.options = t);
      const n = au();
      var o, r, i;
      return (
        to(() => {
          ku(e, n);
        }),
        no(() => {
          Eu(e);
          const { onReady: t } = e;
          t && q(t);
        }),
        Zn(
          () => {
            if (!e.__isVisible) {
              ku(e, n), (e.__isVisible = !0);
              const { onShow: t } = e;
              t && q(t);
            }
          },
          "ba",
          o
        ),
        (function (e, t) {
          Zn(e, "bda", t);
        })(() => {
          if (e.__isVisible && !e.__isUnload) {
            e.__isVisible = !1;
            const { onHide: t } = e;
            t && q(t);
          }
        }),
        (r = n.id),
        Md.subscribe(rs(r, "invokeViewApi"), i ? i(is) : is),
        io(() => {
          !(function (e) {
            Md.unsubscribe(rs(e, "invokeViewApi")),
              Object.keys(os).forEach((t) => {
                0 === t.indexOf(e + ".") && delete os[t];
              });
          })(n.id);
        }),
        t
      );
    },
  });
}
function Fu() {
  const {
      windowWidth: e,
      windowHeight: t,
      screenWidth: n,
      screenHeight: o,
    } = Zu(),
    r = 90 === Math.abs(Number(window.orientation)) ? "landscape" : "portrait";
  $d.emit("onResize", {
    deviceOrientation: r,
    size: { windowWidth: e, windowHeight: t, screenWidth: n, screenHeight: o },
  });
}
function Ru(e) {
  I(e.data) &&
    "WEB_INVOKE_APPSERVICE" === e.data.type &&
    $d.emit("onWebInvokeAppService", e.data.data, e.data.pageId);
}
function Du() {
  const { emit: e } = $d;
  "visible" === document.visibilityState
    ? e("onAppEnterForeground", b({}, oc))
    : e("onAppEnterBackground");
}
function Wu(e) {
  e = e > 0 && e < 1 / 0 ? e : 0;
  const t = Math.floor(e / 3600),
    n = Math.floor((e % 3600) / 60),
    o = Math.floor((e % 3600) % 60),
    r = (t < 10 ? "0" : "") + t;
  let i = (n < 10 ? "0" : "") + n + ":" + ((o < 10 ? "0" : "") + o);
  return "00" !== r && (i = r + ":" + i), i;
}
function ju(e, t, n) {
  const o = Tt({
      gestureType: "none",
      volumeOld: 0,
      volumeNew: 0,
      currentTimeOld: 0,
      currentTimeNew: 0,
    }),
    r = { x: 0, y: 0 };
  return {
    state: o,
    onTouchstart: function (e) {
      const t = e.targetTouches[0];
      (r.x = t.pageX),
        (r.y = t.pageY),
        (o.gestureType = "none"),
        (o.volumeOld = 0),
        (o.currentTimeOld = o.currentTimeNew = 0);
    },
    onTouchmove: function (i) {
      function s() {
        i.stopPropagation(), i.preventDefault();
      }
      n.fullscreen && s();
      const l = o.gestureType;
      if ("stop" === l) return;
      const a = i.targetTouches[0],
        c = a.pageX,
        u = a.pageY,
        d = r,
        f = t.value;
      if (
        ("progress" === l
          ? (function (e) {
              const n = t.value.duration;
              let r = (e / 600) * n + o.currentTimeOld;
              r < 0 ? (r = 0) : r > n && (r = n);
              o.currentTimeNew = r;
            })(c - d.x)
          : "volume" === l &&
            (function (e) {
              const n = t.value,
                r = o.volumeOld;
              let i;
              "number" == typeof r &&
                ((i = r - e / 200),
                i < 0 ? (i = 0) : i > 1 && (i = 1),
                (n.volume = i),
                (o.volumeNew = i));
            })(u - d.y),
        "none" === l)
      )
        if (Math.abs(c - d.x) > Math.abs(u - d.y)) {
          if (!e.enableProgressGesture) return void (o.gestureType = "stop");
          (o.gestureType = "progress"),
            (o.currentTimeOld = o.currentTimeNew = f.currentTime),
            n.fullscreen || s();
        } else {
          if (!e.pageGesture) return void (o.gestureType = "stop");
          (o.gestureType = "volume"),
            (o.volumeOld = f.volume),
            n.fullscreen || s();
        }
    },
    onTouchend: function (e) {
      const n = t.value;
      "none" !== o.gestureType &&
        "stop" !== o.gestureType &&
        (e.stopPropagation(), e.preventDefault()),
        "progress" === o.gestureType &&
          o.currentTimeOld !== o.currentTimeNew &&
          (n.currentTime = o.currentTimeNew),
        (o.gestureType = "none");
    },
  };
}
function Hu(e, t, n, o, r, i, s) {
  const l = {
    play: e,
    pause: t,
    seek: n,
    sendDanmu: o,
    playbackRate: r,
    requestFullScreen: i,
    exitFullScreen: s,
  };
  !(function (e, t, n, o) {
    const r = Ir().proxy;
    no(() => {
      Zc(t || Gc(r), e, o),
        (!n && t) ||
          On(
            () => r.id,
            (t, n) => {
              Zc(Gc(r, t), e, o), Qc(n && Gc(r, n));
            }
          );
    }),
      io(() => {
        Qc(t || Gc(r), o);
      });
  })(
    (e, t) => {
      let n;
      switch (e) {
        case "seek":
          n = t.position;
          break;
        case "sendDanmu":
          n = t;
          break;
        case "playbackRate":
          n = t.rate;
      }
      e in l && l[e](n);
    },
    eu(),
    !0
  );
}
var Vu = bl({
  name: "Video",
  props: {
    id: { type: String, default: "" },
    src: { type: String, default: "" },
    duration: { type: [Number, String], default: "" },
    controls: { type: [Boolean, String], default: !0 },
    danmuList: { type: Array, default: () => [] },
    danmuBtn: { type: [Boolean, String], default: !1 },
    enableDanmu: { type: [Boolean, String], default: !1 },
    autoplay: { type: [Boolean, String], default: !1 },
    loop: { type: [Boolean, String], default: !1 },
    muted: { type: [Boolean, String], default: !1 },
    objectFit: { type: String, default: "contain" },
    poster: { type: String, default: "" },
    direction: { type: [String, Number], default: "" },
    showProgress: { type: Boolean, default: !0 },
    initialTime: { type: [String, Number], default: 0 },
    showFullscreenBtn: { type: [Boolean, String], default: !0 },
    pageGesture: { type: [Boolean, String], default: !1 },
    enableProgressGesture: { type: [Boolean, String], default: !0 },
    showPlayBtn: { type: [Boolean, String], default: !0 },
    showCenterPlayBtn: { type: [Boolean, String], default: !0 },
  },
  emits: [
    "fullscreenchange",
    "progress",
    "loadedmetadata",
    "waiting",
    "error",
    "play",
    "pause",
    "ended",
    "timeupdate",
  ],
  setup(e, { emit: t, attrs: n, slots: o }) {
    const r = Rt(null),
      i = Rt(null),
      s = Sl(r, t),
      { state: l } = mc(),
      { $attrs: a } = bc({ excludeListeners: !0 }),
      { t: c } = Gi();
    es();
    const {
        videoRef: u,
        state: d,
        play: f,
        pause: p,
        seek: h,
        playbackRate: g,
        toggle: m,
        onDurationChange: v,
        onLoadedMetadata: y,
        onProgress: b,
        onWaiting: _,
        onVideoError: w,
        onPlay: x,
        onPause: S,
        onEnded: T,
        onTimeUpdate: C,
      } = (function (e, t, n) {
        const o = Rt(null),
          r = jr(() => Cl(e.src)),
          i = Tt({
            start: !1,
            src: r,
            playing: !1,
            currentTime: 0,
            duration: 0,
            progress: 0,
            buffered: 0,
          });
        function s(e) {
          const t = e.target,
            n = t.buffered;
          n.length && (i.buffered = (n.end(n.length - 1) / t.duration) * 100);
        }
        return (
          On(
            () => r.value,
            () => {
              (i.playing = !1), (i.currentTime = 0);
            }
          ),
          On(
            () => i.buffered,
            (e) => {
              n("progress", {}, { buffered: e });
            }
          ),
          {
            videoRef: o,
            state: i,
            play: function () {
              const e = o.value;
              (i.start = !0), e.play();
            },
            pause: function () {
              o.value.pause();
            },
            seek: function (e) {
              const t = o.value;
              "number" != typeof (e = Number(e)) ||
                isNaN(e) ||
                (t.currentTime = e);
            },
            playbackRate: function (e) {
              o.value.playbackRate = e;
            },
            toggle: function () {
              const e = o.value;
              i.playing ? e.pause() : e.play();
            },
            onDurationChange: function ({ target: e }) {
              i.duration = e.duration;
            },
            onLoadedMetadata: function (t) {
              const o = Number(e.initialTime) || 0,
                r = t.target;
              o > 0 && (r.currentTime = o),
                n("loadedmetadata", t, {
                  width: r.videoWidth,
                  height: r.videoHeight,
                  duration: r.duration,
                }),
                s(t);
            },
            onProgress: s,
            onWaiting: function (e) {
              n("waiting", e, {});
            },
            onVideoError: function (e) {
              (i.playing = !1), n("error", e, {});
            },
            onPlay: function (e) {
              (i.start = !0), (i.playing = !0), n("play", e, {});
            },
            onPause: function (e) {
              (i.playing = !1), n("pause", e, {});
            },
            onEnded: function (e) {
              (i.playing = !1), n("ended", e, {});
            },
            onTimeUpdate: function (e) {
              const t = e.target,
                o = (i.currentTime = t.currentTime);
              n("timeupdate", e, { currentTime: o, duration: t.duration });
            },
          }
        );
      })(e, 0, s),
      {
        state: k,
        danmuRef: E,
        updateDanmu: M,
        toggleDanmu: $,
        sendDanmu: L,
      } = (function (e, t) {
        const n = Rt(null),
          o = Tt({ enable: Boolean(e.enableDanmu) });
        let r = { time: 0, index: -1 };
        const i = Array.isArray(e.danmuList)
          ? JSON.parse(JSON.stringify(e.danmuList))
          : [];
        function s(e) {
          const t = document.createElement("p");
          (t.className = "uni-video-danmu-item"), (t.innerText = e.text);
          let o = `bottom: ${100 * Math.random()}%;color: ${e.color};`;
          t.setAttribute("style", o),
            n.value.appendChild(t),
            setTimeout(function () {
              (o +=
                "left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);"),
                t.setAttribute("style", o),
                setTimeout(function () {
                  t.remove();
                }, 4e3);
            }, 17);
        }
        return (
          i.sort(function (e, t) {
            return (e.time || 0) - (t.time || 0);
          }),
          {
            state: o,
            danmuRef: n,
            updateDanmu: function (e) {
              const n = e.target.currentTime,
                l = r,
                a = { time: n, index: l.index };
              if (n > l.time)
                for (let r = l.index + 1; r < i.length; r++) {
                  const e = i[r];
                  if (!(n >= (e.time || 0))) break;
                  (a.index = r), t.playing && o.enable && s(e);
                }
              else if (n < l.time)
                for (let t = l.index - 1; t > -1 && n <= (i[t].time || 0); t--)
                  a.index = t - 1;
              r = a;
            },
            toggleDanmu: function () {
              o.enable = !o.enable;
            },
            sendDanmu: function (e) {
              i.splice(r.index + 1, 0, {
                text: String(e.text),
                color: e.color,
                time: t.currentTime || 0,
              });
            },
          }
        );
      })(e, d),
      {
        state: A,
        onFullscreenChange: O,
        emitFullscreenChange: I,
        toggleFullscreen: P,
        requestFullScreen: B,
        exitFullScreen: N,
      } = (function (e, t, n, o, r) {
        const i = Tt({ fullscreen: !1 }),
          s = /^Apple/.test(navigator.vendor);
        function l(t) {
          (i.fullscreen = t),
            e("fullscreenchange", {}, { fullScreen: t, direction: "vertical" });
        }
        function a(e) {
          const i = r.value,
            a = t.value,
            c = n.value;
          let u;
          e
            ? (!document.fullscreenEnabled &&
                !document.webkitFullscreenEnabled) ||
              (s && !o.userAction)
              ? c.webkitEnterFullScreen
                ? c.webkitEnterFullScreen()
                : ((u = !0),
                  a.remove(),
                  a.classList.add("uni-video-type-fullscreen"),
                  document.body.appendChild(a))
              : a[
                  document.fullscreenEnabled
                    ? "requestFullscreen"
                    : "webkitRequestFullscreen"
                ]()
            : document.fullscreenEnabled || document.webkitFullscreenEnabled
            ? document.fullscreenElement
              ? document.exitFullscreen()
              : document.webkitFullscreenElement &&
                document.webkitExitFullscreen()
            : c.webkitExitFullScreen
            ? c.webkitExitFullScreen()
            : ((u = !0),
              a.remove(),
              a.classList.remove("uni-video-type-fullscreen"),
              i.appendChild(a)),
            u && l(e);
        }
        function c() {
          a(!1);
        }
        return (
          io(c),
          {
            state: i,
            onFullscreenChange: function (e, t) {
              (t && document.fullscreenEnabled) ||
                l(
                  !(
                    !document.fullscreenElement &&
                    !document.webkitFullscreenElement
                  )
                );
            },
            emitFullscreenChange: l,
            toggleFullscreen: a,
            requestFullScreen: function () {
              a(!0);
            },
            exitFullScreen: c,
          }
        );
      })(s, i, u, l, r),
      {
        state: F,
        onTouchstart: R,
        onTouchend: D,
        onTouchmove: W,
      } = ju(e, u, A),
      {
        state: j,
        progressRef: H,
        ballRef: V,
        clickProgress: q,
        toggleControls: z,
      } = (function (e, t, n) {
        const o = Rt(null),
          r = Rt(null),
          i = jr(() => e.showCenterPlayBtn && !t.start),
          s = Rt(!0),
          l = jr(() => !i.value && e.controls && s.value),
          a = Tt({
            touching: !1,
            controlsTouching: !1,
            centerPlayBtnShow: i,
            controlsShow: l,
            controlsVisible: s,
          });
        let c;
        function u() {
          c = setTimeout(() => {
            a.controlsVisible = !1;
          }, 3e3);
        }
        function d() {
          c && (clearTimeout(c), (c = null));
        }
        return (
          io(() => {
            c && clearTimeout(c);
          }),
          On(
            () => a.controlsShow && t.playing && !a.controlsTouching,
            (e) => {
              e ? u() : d();
            }
          ),
          On(
            [
              () => t.currentTime,
              () => {
                e.duration;
              },
            ],
            function () {
              a.touching || (t.progress = (t.currentTime / t.duration) * 100);
            }
          ),
          no(() => {
            const e = se(!1);
            let i,
              s,
              l,
              c = !0;
            const u = r.value;
            function d(e) {
              const n = e.targetTouches[0],
                r = n.pageX,
                a = n.pageY;
              if (c && Math.abs(r - i) < Math.abs(a - s)) return void f(e);
              c = !1;
              const u = o.value.offsetWidth;
              let d = l + ((r - i) / u) * 100;
              d < 0 ? (d = 0) : d > 100 && (d = 100),
                (t.progress = d),
                e.preventDefault(),
                e.stopPropagation();
            }
            function f(o) {
              (a.controlsTouching = !1),
                a.touching &&
                  (u.removeEventListener("touchmove", d, e),
                  c ||
                    (o.preventDefault(),
                    o.stopPropagation(),
                    n((t.duration * t.progress) / 100)),
                  (a.touching = !1));
            }
            u.addEventListener("touchstart", (n) => {
              a.controlsTouching = !0;
              const o = n.targetTouches[0];
              (i = o.pageX),
                (s = o.pageY),
                (l = t.progress),
                (c = !0),
                (a.touching = !0),
                u.addEventListener("touchmove", d, e);
            }),
              u.addEventListener("touchend", f),
              u.addEventListener("touchcancel", f);
          }),
          {
            state: a,
            progressRef: o,
            ballRef: r,
            clickProgress: function (e) {
              const r = o.value;
              let i = e.target,
                s = e.offsetX;
              for (; i && i !== r; ) (s += i.offsetLeft), (i = i.parentNode);
              const l = r.offsetWidth;
              let a = 0;
              s >= 0 && s <= l && ((a = s / l), n(t.duration * a));
            },
            toggleControls: function () {
              a.controlsVisible = !a.controlsVisible;
            },
            autoHideStart: u,
            autoHideEnd: d,
          }
        );
      })(e, d, h);
    return (
      Hu(f, p, h, L, g, B, N),
      () =>
        gr(
          "uni-video",
          { ref: r, id: e.id },
          [
            gr(
              "div",
              {
                ref: i,
                class: "uni-video-container",
                onTouchstart: R,
                onTouchend: D,
                onTouchmove: W,
                onFullscreenchange: Si(O, ["stop"]),
                onWebkitfullscreenchange: Si((e) => O(e, !0), ["stop"]),
              },
              [
                gr(
                  "video",
                  xr(
                    {
                      ref: u,
                      style: { "object-fit": e.objectFit },
                      muted: !!e.muted,
                      loop: !!e.loop,
                      src: d.src,
                      poster: e.poster,
                      autoplay: !!e.autoplay,
                    },
                    a.value,
                    {
                      class: "uni-video-video",
                      "webkit-playsinline": !0,
                      playsinline: !0,
                      onClick: z,
                      onDurationchange: v,
                      onLoadedmetadata: y,
                      onProgress: b,
                      onWaiting: _,
                      onError: w,
                      onPlay: x,
                      onPause: S,
                      onEnded: T,
                      onTimeupdate: (e) => {
                        C(e), M(e);
                      },
                      onWebkitbeginfullscreen: () => I(!0),
                      onX5videoenterfullscreen: () => I(!0),
                      onWebkitendfullscreen: () => I(!1),
                      onX5videoexitfullscreen: () => I(!1),
                    }
                  ),
                  null,
                  16,
                  [
                    "muted",
                    "loop",
                    "src",
                    "poster",
                    "autoplay",
                    "webkit-playsinline",
                    "playsinline",
                    "onClick",
                    "onDurationchange",
                    "onLoadedmetadata",
                    "onProgress",
                    "onWaiting",
                    "onError",
                    "onPlay",
                    "onPause",
                    "onEnded",
                    "onTimeupdate",
                    "onWebkitbeginfullscreen",
                    "onX5videoenterfullscreen",
                    "onWebkitendfullscreen",
                    "onX5videoexitfullscreen",
                  ]
                ),
                No(
                  gr(
                    "div",
                    {
                      class: "uni-video-bar uni-video-bar-full",
                      onClick: Si(() => {}, ["stop"]),
                    },
                    [
                      gr("div", { class: "uni-video-controls" }, [
                        No(
                          gr(
                            "div",
                            {
                              class: {
                                "uni-video-control-button": !0,
                                "uni-video-control-button-play": !d.playing,
                                "uni-video-control-button-pause": d.playing,
                              },
                              onClick: Si(m, ["stop"]),
                            },
                            null,
                            10,
                            ["onClick"]
                          ),
                          [[Ti, e.showPlayBtn]]
                        ),
                        gr("div", { class: "uni-video-current-time" }, [
                          Wu(d.currentTime),
                        ]),
                        gr(
                          "div",
                          {
                            ref: H,
                            class: "uni-video-progress-container",
                            onClick: Si(q, ["stop"]),
                          },
                          [
                            gr("div", { class: "uni-video-progress" }, [
                              gr(
                                "div",
                                {
                                  style: { width: d.buffered + "%" },
                                  class: "uni-video-progress-buffered",
                                },
                                null,
                                4
                              ),
                              gr(
                                "div",
                                {
                                  ref: V,
                                  style: { left: d.progress + "%" },
                                  class: "uni-video-ball",
                                },
                                [gr("div", { class: "uni-video-inner" }, null)],
                                4
                              ),
                            ]),
                          ],
                          8,
                          ["onClick"]
                        ),
                        gr("div", { class: "uni-video-duration" }, [
                          Wu(Number(e.duration) || d.duration),
                        ]),
                      ]),
                      No(
                        gr(
                          "div",
                          {
                            class: {
                              "uni-video-danmu-button": !0,
                              "uni-video-danmu-button-active": k.enable,
                            },
                            onClick: Si($, ["stop"]),
                          },
                          [c("uni.video.danmu")],
                          10,
                          ["onClick"]
                        ),
                        [[Ti, e.danmuBtn]]
                      ),
                      No(
                        gr(
                          "div",
                          {
                            class: {
                              "uni-video-fullscreen": !0,
                              "uni-video-type-fullscreen": A.fullscreen,
                            },
                            onClick: Si(() => P(!A.fullscreen), ["stop"]),
                          },
                          null,
                          10,
                          ["onClick"]
                        ),
                        [[Ti, e.showFullscreenBtn]]
                      ),
                    ],
                    8,
                    ["onClick"]
                  ),
                  [[Ti, j.controlsShow]]
                ),
                No(
                  gr(
                    "div",
                    { ref: E, style: "z-index: 0;", class: "uni-video-danmu" },
                    null,
                    512
                  ),
                  [[Ti, d.start && k.enable]]
                ),
                j.centerPlayBtnShow &&
                  gr(
                    "div",
                    {
                      class: "uni-video-cover",
                      onClick: Si(() => {}, ["stop"]),
                    },
                    [
                      gr(
                        "div",
                        {
                          class: "uni-video-cover-play-button",
                          onClick: Si(f, ["stop"]),
                        },
                        null,
                        8,
                        ["onClick"]
                      ),
                      gr("p", { class: "uni-video-cover-duration" }, [
                        Wu(Number(e.duration) || d.duration),
                      ]),
                    ],
                    8,
                    ["onClick"]
                  ),
                gr(
                  "div",
                  {
                    class: {
                      "uni-video-toast": !0,
                      "uni-video-toast-volume": "volume" === F.gestureType,
                    },
                  },
                  [
                    gr("div", { class: "uni-video-toast-title" }, [
                      c("uni.video.volume"),
                    ]),
                    gr(
                      "svg",
                      {
                        class: "uni-video-toast-icon",
                        width: "200px",
                        height: "200px",
                        viewBox: "0 0 1024 1024",
                        version: "1.1",
                        xmlns: "http://www.w3.org/2000/svg",
                      },
                      [
                        gr(
                          "path",
                          {
                            d: "M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z",
                          },
                          null
                        ),
                      ]
                    ),
                    gr("div", { class: "uni-video-toast-value" }, [
                      gr(
                        "div",
                        {
                          style: { width: 100 * F.volumeNew + "%" },
                          class: "uni-video-toast-value-content",
                        },
                        [
                          gr("div", { class: "uni-video-toast-volume-grids" }, [
                            Tr(10, () =>
                              gr(
                                "div",
                                { class: "uni-video-toast-volume-grids-item" },
                                null
                              )
                            ),
                          ]),
                        ],
                        4
                      ),
                    ]),
                  ],
                  2
                ),
                gr(
                  "div",
                  {
                    class: {
                      "uni-video-toast": !0,
                      "uni-video-toast-progress": "progress" === F.gestureType,
                    },
                  },
                  [
                    gr("div", { class: "uni-video-toast-title" }, [
                      Wu(F.currentTimeNew),
                      " / ",
                      Wu(d.duration),
                    ]),
                  ],
                  2
                ),
                gr("div", { class: "uni-video-slots" }, [
                  o.default && o.default(),
                ]),
              ],
              40,
              [
                "onTouchstart",
                "onTouchend",
                "onTouchmove",
                "onFullscreenchange",
                "onWebkitfullscreenchange",
              ]
            ),
          ],
          8,
          ["id"]
        )
    );
  },
});
const qu = ne(() => {
  $a.forEach((e) => {
    zu.prototype[e] = function (t) {
      "function" == typeof t && this._events[e].push(t);
    };
  }),
    La.forEach((e) => {
      zu.prototype[e] = function (t) {
        var n = this._events[e.replace("off", "on")],
          o = n.indexOf(t);
        o >= 0 && n.splice(o, 1);
      };
    });
});
class zu {
  constructor() {
    this._src = "";
    var e = (this._audio = new Audio());
    this._stoping = !1;
    [
      "src",
      "autoplay",
      "loop",
      "duration",
      "currentTime",
      "paused",
      "volume",
    ].forEach((t) => {
      Object.defineProperty(this, t, {
        set:
          "src" === t
            ? (t) => ((e.src = Cl(t)), (this._src = t), t)
            : (n) => ((e[t] = n), n),
        get: "src" === t ? () => this._src : () => e[t],
      });
    }),
      (this.startTime = 0),
      Object.defineProperty(this, "obeyMuteSwitch", {
        set: () => !1,
        get: () => !1,
      }),
      Object.defineProperty(this, "buffered", {
        get() {
          var t = e.buffered;
          return t.length ? t.end(t.length - 1) : 0;
        },
      }),
      (this._events = {}),
      $a.forEach((e) => {
        this._events[e] = [];
      }),
      e.addEventListener("loadedmetadata", () => {
        var t = Number(this.startTime) || 0;
        t > 0 && (e.currentTime = t);
      });
    var t = ["canplay", "pause", "seeking", "seeked", "timeUpdate"];
    t.concat(["play", "ended", "error", "waiting"]).forEach((n) => {
      e.addEventListener(
        n.toLowerCase(),
        () => {
          if (this._stoping && t.indexOf(n) >= 0) return;
          const e = `on${n.slice(0, 1).toUpperCase()}${n.slice(1)}`;
          this._events[e].forEach((e) => {
            e();
          });
        },
        !1
      );
    }),
      qu();
  }
  play() {
    (this._stoping = !1), this._audio.play();
  }
  pause() {
    this._audio.pause();
  }
  stop() {
    (this._stoping = !0),
      this._audio.pause(),
      (this._audio.currentTime = 0),
      this._events.onStop.forEach((e) => {
        e();
      });
  }
  seek(e) {
    (this._stoping = !1),
      "number" != typeof (e = Number(e)) ||
        isNaN(e) ||
        (this._audio.currentTime = e);
  }
  destroy() {
    this.stop();
  }
}
const Xu = ca(0, () => new zu()),
  Yu = ua(
    "makePhoneCall",
    ({ phoneNumber: e }, { resolve: t }) => (
      (window.location.href = `tel:${e}`), t()
    )
  ),
  Uu = window.localStorage || window.sessionStorage || {};
let Ku;
function Gu() {
  if (((Ku = Ku || Uu.__DC_STAT_UUID), !Ku)) {
    Ku = Date.now() + "" + Math.floor(1e7 * Math.random());
    try {
      Uu.__DC_STAT_UUID = Ku;
    } catch (e) {}
  }
  return Ku;
}
const Zu = ca(0, () => {
    const e = window.devicePixelRatio,
      t = Il(),
      n = Pl(t),
      o = Bl(t, n),
      r = (function (e, t) {
        return e
          ? Math[t ? "min" : "max"](screen.height, screen.width)
          : screen.height;
      })(t, n),
      i = Nl(o);
    let s = window.innerHeight;
    const l = navigator.language,
      a = ks.top;
    let c,
      u,
      d = "";
    if (Ml) {
      c = "iOS";
      const e = kl.match(/OS\s([\w_]+)\slike/);
      e && (u = e[1].replace(/_/g, "."));
      const t = kl.match(/\(([a-zA-Z]+);/);
      t && (d = t[1]);
    } else if (El) {
      c = "Android";
      const e = kl.match(/Android[\s/]([\w\.]+)[;\s]/);
      e && (u = e[1]);
      const t = kl.match(/\((.+?)\)/),
        n = t ? t[1].split(";") : kl.split(" "),
        o = [
          /\bAndroid\b/i,
          /\bLinux\b/i,
          /\bU\b/i,
          /^\s?[a-z][a-z]$/i,
          /^\s?[a-z][a-z]-[a-z][a-z]$/i,
          /\bwv\b/i,
          /\/[\d\.,]+$/,
          /^\s?[\d\.,]+$/,
          /\bBrowser\b/i,
          /\bMobile\b/i,
        ];
      for (let r = 0; r < n.length; r++) {
        const e = n[r];
        if (e.indexOf("Build") > 0) {
          d = e.split("Build")[0].trim();
          break;
        }
        let t;
        for (let n = 0; n < o.length; n++)
          if (o[n].test(e)) {
            t = !0;
            break;
          }
        if (!t) {
          d = e.trim();
          break;
        }
      }
    } else if (Ol)
      (d = "iPad"),
        (c = "iOS"),
        (u = "function" == typeof window.BigInt ? "14.0" : "13.0");
    else if ($l || Ll || Al) {
      (d = "PC"), (c = "PC"), (u = "0");
      let e = kl.match(/\((.+?)\)/)[1];
      if ($l) {
        switch (((c = "Windows"), $l[1])) {
          case "5.1":
            u = "XP";
            break;
          case "6.0":
            u = "Vista";
            break;
          case "6.1":
            u = "7";
            break;
          case "6.2":
            u = "8";
            break;
          case "6.3":
            u = "8.1";
            break;
          case "10.0":
            u = "10";
        }
        const t = e && e.match(/[Win|WOW]([\d]+)/);
        t && (u += ` x${t[1]}`);
      } else
        Ll
          ? ((c = "Mac"),
            (u = (e && e.match(/Mac OS X (.+)/)) || ""),
            u &&
              ((u = u[1].replace(/_/g, ".")),
              -1 !== u.indexOf(";") && (u = u.split(";")[0])))
          : Al &&
            ((c = "Linux"),
            (u = (e && e.match(/Linux (.*)/)) || ""),
            u && ((u = u[1]), -1 !== u.indexOf(";") && (u = u.split(";")[0])));
    } else (c = "Other"), (u = "0");
    const f = `${c} ${u}`,
      p = c.toLocaleLowerCase(),
      h = {
        left: ks.left,
        right: i - ks.right,
        top: ks.top,
        bottom: s - ks.bottom,
        width: i - ks.left - ks.right,
        height: s - ks.top - ks.bottom,
      },
      { top: g, bottom: m } = As();
    return (
      (s -= g),
      (s -= m),
      {
        windowTop: g,
        windowBottom: m,
        windowWidth: i,
        windowHeight: s,
        pixelRatio: e,
        screenWidth: o,
        screenHeight: r,
        language: l,
        statusBarHeight: a,
        system: f,
        platform: p,
        model: d,
        safeArea: h,
        safeAreaInsets: {
          top: ks.top,
          right: ks.right,
          bottom: ks.bottom,
          left: ks.left,
        },
        version: "",
        SDKVersion: "",
        deviceId: Gu(),
      }
    );
  }),
  Qu = { esc: ["Esc", "Escape"], enter: ["Enter"] },
  Ju = Object.keys(Qu);
const ed = gr("div", { class: "uni-mask" }, null, -1);
function td(e, t, n) {
  return (
    (t.onClose = (...e) => ((t.visible = !1), n.apply(null, e))),
    Mi(zn({ setup: () => () => (or(), ar(e, t, null, 16)) }))
  );
}
function nd(e) {
  let t = document.getElementById(e);
  return (
    t ||
      ((t = document.createElement("div")),
      (t.id = e),
      document.body.append(t)),
    t
  );
}
function od(e, { onEsc: t, onEnter: n }) {
  const o = Rt(e.visible),
    { key: r, disable: i } = (function () {
      const e = Rt(""),
        t = Rt(!1),
        n = (n) => {
          if (t.value) return;
          const o = Ju.find((e) => -1 !== Qu[e].indexOf(n.key));
          o && (e.value = o), an(() => (e.value = ""));
        };
      return (
        no(() => {
          document.addEventListener("keyup", n);
        }),
        io(() => {
          document.removeEventListener("keyup", n);
        }),
        { key: e, disable: t }
      );
    })();
  return (
    On(
      () => e.visible,
      (e) => (o.value = e)
    ),
    On(
      () => o.value,
      (e) => (i.value = !e)
    ),
    Ln(() => {
      const { value: e } = r;
      "esc" === e ? t && t() : "enter" === e && n && n();
    }),
    o
  );
}
var rd = zn({
  props: {
    title: { type: String, default: "" },
    content: { type: String, default: "" },
    showCancel: { type: Boolean, default: !0 },
    cancelText: { type: String, default: "Cancel" },
    cancelColor: { type: String, default: "#000000" },
    confirmText: { type: String, default: "OK" },
    confirmColor: { type: String, default: "#007aff" },
    visible: { type: Boolean },
    editable: { type: Boolean, default: !1 },
    placeholderText: { type: String, default: "" },
  },
  setup(e, { emit: t }) {
    const n = Rt(""),
      o = () => (s.value = !1),
      r = () => (o(), t("close", "cancel")),
      i = () => (o(), t("close", "confirm", n.value)),
      s = od(e, {
        onEsc: r,
        onEnter: () => {
          !e.editable && i();
        },
      });
    return () => {
      const {
        title: t,
        content: o,
        showCancel: l,
        confirmText: a,
        confirmColor: c,
        editable: u,
        placeholderText: d,
      } = e;
      return (
        (n.value = o),
        gr(
          ci,
          { name: "uni-fade" },
          {
            default: () => [
              No(
                gr(
                  "uni-modal",
                  { onTouchmove: Es },
                  [
                    ed,
                    gr("div", { class: "uni-modal" }, [
                      t &&
                        gr("div", { class: "uni-modal__hd" }, [
                          gr(
                            "strong",
                            { class: "uni-modal__title", textContent: t },
                            null,
                            8,
                            ["textContent"]
                          ),
                        ]),
                      u
                        ? gr(
                            "textarea",
                            {
                              class: "uni-modal__textarea",
                              rows: "1",
                              placeholder: d,
                              value: o,
                              onInput: (e) => (n.value = e.target.value),
                            },
                            null,
                            40,
                            ["placeholder", "value", "onInput"]
                          )
                        : gr(
                            "div",
                            {
                              class: "uni-modal__bd",
                              onTouchmovePassive: Ms,
                              textContent: o,
                            },
                            null,
                            40,
                            ["onTouchmovePassive", "textContent"]
                          ),
                      gr("div", { class: "uni-modal__ft" }, [
                        l &&
                          gr(
                            "div",
                            {
                              style: { color: e.cancelColor },
                              class: "uni-modal__btn uni-modal__btn_default",
                              onClick: r,
                            },
                            [e.cancelText],
                            12,
                            ["onClick"]
                          ),
                        gr(
                          "div",
                          {
                            style: { color: c },
                            class: "uni-modal__btn uni-modal__btn_primary",
                            onClick: i,
                          },
                          [a],
                          12,
                          ["onClick"]
                        ),
                      ]),
                    ]),
                  ],
                  40,
                  ["onTouchmove"]
                ),
                [[Ti, s.value]]
              ),
            ],
          }
        )
      );
    };
  },
});
let id;
const sd = ne(() => {
  $d.on("onHidePopup", () => (id.visible = !1));
});
let ld;
function ad(e, t) {
  const n = "confirm" === e,
    o = { confirm: n, cancel: "cancel" === e };
  n && id.editable && (o.content = t), ld && ld(o);
}
const cd = ua(
  "showModal",
  (e, { resolve: t }) => {
    sd(),
      (ld = t),
      id
        ? (b(id, e), (id.visible = !0))
        : ((id = Tt(e)),
          an(
            () => (
              td(rd, id, ad).mount(nd("u-a-m")), an(() => (id.visible = !0))
            )
          ));
  },
  0,
  tc
);
const ud = ua(
  "getImageInfo",
  ({ src: e }, { resolve: t, reject: n }) => {
    const o = new Image();
    (o.onload = function () {
      t({
        width: o.naturalWidth,
        height: o.naturalHeight,
        path:
          0 === e.indexOf("/")
            ? window.location.protocol + "//" + window.location.host + e
            : e,
      });
    }),
      (o.onerror = function () {
        n();
      }),
      (o.src = e);
  },
  0,
  za
);
gc();
let dd = 0,
  fd = "";
function pd(e) {
  let t = dd;
  (dd += e ? 1 : -1),
    (dd = Math.max(0, dd)),
    dd > 0
      ? 0 === t &&
        ((fd = document.body.style.overflow),
        (document.body.style.overflow = "hidden"))
      : ((document.body.style.overflow = fd), (fd = ""));
}
var hd = _l({
  name: "ImageView",
  props: { src: { type: String, default: "" } },
  setup(e) {
    const t = Tt({ direction: "none" });
    let n = 1,
      o = 0,
      r = 0,
      i = 0,
      s = 0;
    function l({ detail: e }) {
      n = e.scale;
    }
    function a(e) {
      const t = e.target.getBoundingClientRect();
      (o = t.width), (r = t.height);
    }
    function c(e) {
      const t = e.target.getBoundingClientRect();
      (i = t.width), (s = t.height), d(e);
    }
    function u(e) {
      const l = n * o > i,
        a = n * r > s;
      (t.direction =
        l && a ? "all" : l ? "horizontal" : a ? "vertical" : "none"),
        d(e);
    }
    function d(e) {
      ("all" !== t.direction && "horizontal" !== t.direction) ||
        e.stopPropagation();
    }
    return () => {
      const n = {
        position: "absolute",
        left: "0",
        top: "0",
        width: "100%",
        height: "100%",
      };
      return gr(
        wc,
        {
          style: n,
          onTouchstart: xl(c),
          onTouchmove: xl(d),
          onTouchend: xl(u),
        },
        {
          default: () => [
            gr(
              Pc,
              {
                style: n,
                direction: t.direction,
                inertia: !0,
                scale: !0,
                "scale-min": "1",
                "scale-max": "4",
                onScale: l,
              },
              {
                default: () => [
                  gr(
                    "img",
                    {
                      src: e.src,
                      style: {
                        position: "absolute",
                        left: "50%",
                        top: "50%",
                        transform: "translate(-50%, -50%)",
                        maxHeight: "100%",
                        maxWidth: "100%",
                      },
                      onLoad: a,
                    },
                    null,
                    40,
                    ["src", "onLoad"]
                  ),
                ],
              },
              8,
              ["style", "direction", "inertia", "scale", "onScale"]
            ),
          ],
        },
        8,
        ["style", "onTouchstart", "onTouchmove", "onTouchend"]
      );
    };
  },
});
function gd(e) {
  let t = "number" == typeof e.current ? e.current : e.urls.indexOf(e.current);
  return (t = t < 0 ? 0 : t), t;
}
var md = _l({
  name: "ImagePreview",
  props: {
    urls: { type: Array, default: () => [] },
    current: { type: [Number, String], default: 0 },
  },
  emits: ["close"],
  setup(e, { emit: t }) {
    no(() => pd(!0)), so(() => pd(!1));
    const n = Rt(null),
      o = Rt(gd(e));
    let r;
    function i() {
      r ||
        an(() => {
          t("close");
        });
    }
    function s(e) {
      o.value = e.detail.current;
    }
    return (
      On(
        () => e.current,
        () => (o.value = gd(e))
      ),
      no(() => {
        const e = n.value;
        let t = 0,
          o = 0;
        e.addEventListener("mousedown", (e) => {
          (r = !1), (t = e.clientX), (o = e.clientY);
        }),
          e.addEventListener("mouseup", (e) => {
            (Math.abs(e.clientX - t) > 20 || Math.abs(e.clientY - o) > 20) &&
              (r = !0);
          });
      }),
      () => {
        let t;
        return gr(
          "div",
          {
            ref: n,
            style: {
              display: "block",
              position: "fixed",
              left: "0",
              top: "0",
              width: "100%",
              height: "100%",
              zIndex: 999,
              background: "rgba(0,0,0,0.8)",
            },
            onClick: i,
          },
          [
            gr(
              qc,
              {
                current: o.value,
                onChange: s,
                "indicator-dots": !1,
                autoplay: !1,
                style: {
                  position: "absolute",
                  left: "0",
                  top: "0",
                  width: "100%",
                  height: "100%",
                },
              },
              ((r = t =
                e.urls.map((e) =>
                  gr(zc, null, {
                    default: () => [gr(hd, { src: e }, null, 8, ["src"])],
                  })
                )),
              "function" == typeof r ||
              ("[object Object]" === Object.prototype.toString.call(r) &&
                !cr(r))
                ? t
                : { default: () => [t], _: 1 }),
              8,
              ["current", "onChange"]
            ),
          ],
          8,
          ["onClick"]
        );
        var r;
      }
    );
  },
});
let vd,
  yd = null;
const bd = () => {
    (yd = null),
      an(() => {
        null == vd || vd.unmount(), (vd = null);
      });
  },
  _d = ua(
    "previewImage",
    (e, { resolve: t }) => {
      yd
        ? b(yd, e)
        : ((yd = Tt(e)),
          an(() => {
            (vd = td(md, yd, bd)), vd.mount(nd("u-a-p"));
          })),
        t();
    },
    0,
    Xa
  ),
  wd = ua(
    "navigateBack",
    (e, { resolve: t, reject: n }) => {
      let o = !0;
      return (
        !0 === js("onBackPress", { from: e.from }) && (o = !1),
        o ? (Ou().$router.go(-e.delta), t()) : n("onBackPress")
      );
    },
    0,
    Ua
  );
function xd({ type: e, url: t, events: n }, o) {
  const r = Ou().$router,
    { path: i, query: s } = (function (e) {
      const [t, n] = e.split("?", 2);
      return { path: t, query: de(n || "") };
    })(t);
  return new Promise((t, l) => {
    const a = (function (e, t) {
      return { __id__: t || ++Su, __type__: e };
    })(e, o);
    r["navigateTo" === e ? "push" : "replace"]({
      path: i,
      query: s,
      state: a,
      force: !0,
    }).then((o) => {
      if (
        (function (e, t) {
          return e instanceof Error && zi in e && (null == t || !!(e.type & t));
        })(o)
      )
        return l(o.message);
      if ("navigateTo" === e) {
        const e = new fe(a.__id__, n);
        return (
          (r.currentRoute.value.meta.eventChannel = e), t({ eventChannel: e })
        );
      }
      return t();
    });
  });
}
const Sd = ua(
  "navigateTo",
  ({ url: e, events: t }, { resolve: n, reject: o }) =>
    xd({ type: "navigateTo", url: e, events: t }).then(n).catch(o),
  0,
  Ya
);
function Td(e) {
  function t() {
    var t;
    (t = e.navigationBar.titleText), (document.title = t);
  }
  Ln(t), Kn(t);
}
const Cd = ua("setNavigationBarTitle", (e, { resolve: t, reject: n }) => {
    !(function (e, t, n, o, r) {
      if (!e) return r("page not found");
      const { navigationBar: i } = e;
      switch (t) {
        case "setNavigationBarColor":
          const { frontColor: e, backgroundColor: t, animation: o } = n,
            { duration: r, timingFunc: s } = o;
          e && (i.titleColor = "#000000" === e ? "#000000" : "#ffffff"),
            t && (i.backgroundColor = t),
            (i.duration = r + "ms"),
            (i.timingFunc = s);
          break;
        case "showNavigationBarLoading":
          i.loading = !0;
          break;
        case "hideNavigationBarLoading":
          i.loading = !1;
          break;
        case "setNavigationBarTitle":
          const { title: l } = n;
          i.titleText = l;
      }
      o();
    })(Ns(), "setNavigationBarTitle", e, t, n);
  }),
  kd = ua(
    "pageScrollTo",
    ({ scrollTop: e, selector: t, duration: n }, { resolve: o }) => {
      !(function (e, t, n) {
        if (E(e)) {
          const t = document.querySelector(e);
          if (t) {
            const { height: o, top: r } = t.getBoundingClientRect();
            (e = r + window.pageYOffset), n && (e -= o);
          }
        }
        e < 0 && (e = 0);
        const o = document.documentElement,
          { clientHeight: r, scrollHeight: i } = o;
        if (((e = Math.min(e, i - r)), 0 === t))
          return void (o.scrollTop = document.body.scrollTop = e);
        if (window.scrollY === e) return;
        const s = (t) => {
          if (t <= 0) return void window.scrollTo(0, e);
          const n = e - window.scrollY;
          requestAnimationFrame(function () {
            window.scrollTo(0, window.scrollY + (n / t) * 10), s(t - 10);
          });
        };
        s(t);
      })(t || e || 0, n, !0),
        o();
    },
    0,
    ec
  );
var Ed = _l({
  name: "Layout",
  setup(e, { emit: t }) {
    const n = Rt(null);
    Os({
      "--status-bar-height": "0px",
      "--top-window-height": "0px",
      "--window-left": "0px",
      "--window-right": "0px",
      "--window-margin": "0px",
      "--tab-bar-height": "0px",
    });
    const { layoutState: o, windowState: r } = (function () {
      uu();
      {
        const e = Tt({ marginWidth: 0 });
        return (
          On(
            () => e.marginWidth,
            (e) => Os({ "--window-margin": e + "px" })
          ),
          { layoutState: e }
        );
      }
    })();
    !(function (e, t) {
      const n = uu();
      function o() {
        const n = document.body.clientWidth,
          o = parseInt(
            String(__uniConfig.globalStyle.maxWidth || Number.MAX_SAFE_INTEGER)
          );
        let r = !1;
        (r = n > o),
          r && o
            ? ((e.marginWidth = (n - o) / 2),
              an(() => {
                const e = t.value;
                e &&
                  e.setAttribute(
                    "style",
                    "max-width:" + o + "px;margin:0 auto;"
                  );
              }))
            : ((e.marginWidth = 0),
              an(() => {
                const e = t.value;
                e && e.removeAttribute("style");
              }));
      }
      On([() => n.path], o),
        no(() => {
          o(), window.addEventListener("resize", o);
        });
    })(o, n);
    const i = (function (e) {
      const t = Rt(!1);
      return jr(() => ({
        "uni-app--showtabbar": e && e.value,
        "uni-app--maxwidth": t.value,
      }));
    })(!1);
    return () => {
      const e = gr(__uniRoutes[0].component);
      return gr("uni-app", { ref: n, class: i.value }, [e, !1], 2);
    };
  },
});
const Md = b(ss, {
    publishHandler(e, t, n) {
      $d.subscribeHandler(e, t, n);
    },
  }),
  $d = b(sl, {
    publishHandler(e, t, n) {
      Md.subscribeHandler(e, t, n);
    },
  });
var Ld = _l({
    name: "PageBody",
    setup: (e, t) => () =>
      gr(Zo, null, [
        !1,
        gr(
          "uni-page-wrapper",
          null,
          [gr("uni-page-body", null, [Cr(t.slots, "default")])],
          16
        ),
      ]),
  }),
  Ad = _l({
    name: "Page",
    setup(e, t) {
      const n = cu(du());
      return (
        n.navigationBar,
        Td(n),
        () => gr("uni-page", { "data-page": n.route }, [Od(t)])
      );
    },
  });
function Od(e) {
  return (
    or(), ar(Ld, { key: 0 }, { default: Sn(() => [Cr(e.slots, "page")]), _: 3 })
  );
}
function Id() {
  window.location.reload();
}
var Pd = _l({
  name: "AsyncError",
  setup() {
    Qi();
    const { t: e } = Gi();
    return () =>
      gr(
        "div",
        { class: "uni-async-error", onClick: Id },
        [e("uni.async.error")],
        8,
        ["onClick"]
      );
  },
});
const Bd = { class: "uni-async-loading" },
  Nd = gr("i", { class: "uni-loading" }, null, -1);
var Fd = _l({
  name: "AsyncLoading",
  render: () => (or(), ar("div", Bd, [Nd])),
});
const Rd = {
  loading: "AsyncLoading",
  error: "AsyncError",
  delay: 200,
  timeout: 6e4,
  suspensible: !0,
};
(window.uni = {}), (window.wx = {}), (window.rpx2px = ya);
const Dd = {},
  Wd = Object.assign;
(window.________ = !0),
  delete window.________,
  (window.__uniConfig = Wd(
    {
      globalStyle: {
        backgroundColor: "#F8F8F8",
        navigationBar: {
          backgroundColor: "#F8F8F8",
          titleText: "uni-app",
          titleColor: "#000000",
        },
      },
      easycom: {
        autoscan: !0,
        custom: {
          "^file-(.*)": "@/components/file-$1.vue",
          "^li-(.*)": "@/components/li-$1.vue",
        },
      },
      compilerVersion: "3.4.6",
    },
    {
      async: Rd,
      debug: !1,
      networkTimeout: {
        request: 6e4,
        connectSocket: 6e4,
        uploadFile: 6e4,
        downloadFile: 6e4,
      },
      sdkConfigs: {},
      qqMapKey: void 0,
      googleMapKey: void 0,
      nvue: { "flex-direction": "column" },
      locale: "",
      fallbackLocale: "",
      locales: Object.keys(Dd).reduce((e, t) => {
        const n = t.replace(/\.\/locale\/(uni-app.)?(.*).json/, "$2");
        return Wd(e[n] || (e[n] = {}), Dd[t].default), e;
      }, {}),
      router: { mode: "hash", base: "/", assets: "assets" },
    }
  )),
  (window.__uniLayout = window.__uniLayout || {});
const jd = () => {
    return ((t = () => import("./pages-index.b4c387ec.js")),
    (n = ["assets/pages-index.b4c387ec.js", "assets/index.8afc321a.css"]),
    n && 0 !== n.length
      ? Promise.all(
          n.map((t) => {
            if ((t = `./${t}`) in e) return;
            e[t] = !0;
            const n = t.endsWith(".css"),
              o = n ? '[rel="stylesheet"]' : "";
            if (document.querySelector(`link[href="${t}"]${o}`)) return;
            const r = document.createElement("link");
            return (
              (r.rel = n ? "stylesheet" : "modulepreload"),
              n || ((r.as = "script"), (r.crossOrigin = "")),
              (r.href = t),
              document.head.appendChild(r),
              n
                ? new Promise((e, n) => {
                    r.addEventListener("load", e),
                      r.addEventListener("error", () =>
                        n(new Error(`Unable to preload CSS for ${t}`))
                      );
                  })
                : void 0
            );
          })
        ).then(() => t())
      : t()).then((e) => Nu(e.default || e));
    var t, n;
  },
  Hd = (function (e) {
    k(e) && (e = { loader: e });
    const {
      loader: t,
      loadingComponent: n,
      errorComponent: o,
      delay: r = 200,
      timeout: i,
      suspensible: s = !0,
      onError: l,
    } = e;
    let a,
      c = null,
      u = 0;
    const d = () => {
      let e;
      return (
        c ||
        (e = c =
          t()
            .catch((e) => {
              if (((e = e instanceof Error ? e : new Error(String(e))), l))
                return new Promise((t, n) => {
                  l(
                    e,
                    () => t((u++, (c = null), d())),
                    () => n(e),
                    u + 1
                  );
                });
              throw e;
            })
            .then((t) =>
              e !== c && c
                ? c
                : (t &&
                    (t.__esModule || "Module" === t[Symbol.toStringTag]) &&
                    (t = t.default),
                  (a = t),
                  t)
            ))
      );
    };
    return zn({
      name: "AsyncComponentWrapper",
      __asyncLoader: d,
      get __asyncResolved() {
        return a;
      },
      setup() {
        const e = Or;
        if (a) return () => Yn(a, e);
        const t = (t) => {
          (c = null), Yt(t, e, 13, !o);
        };
        if ((s && e.suspense) || Fr)
          return d()
            .then((t) => () => Yn(t, e))
            .catch((e) => (t(e), () => (o ? gr(o, { error: e }) : null)));
        const l = Rt(!1),
          u = Rt(),
          f = Rt(!!r);
        return (
          r &&
            setTimeout(() => {
              f.value = !1;
            }, r),
          null != i &&
            setTimeout(() => {
              if (!l.value && !u.value) {
                const e = new Error(`Async component timed out after ${i}ms.`);
                t(e), (u.value = e);
              }
            }, i),
          d()
            .then(() => {
              (l.value = !0),
                e.parent && Un(e.parent.vnode) && cn(e.parent.update);
            })
            .catch((e) => {
              t(e), (u.value = e);
            }),
          () =>
            l.value && a
              ? Yn(a, e)
              : u.value && o
              ? gr(o, { error: u.value })
              : n && !f.value
              ? gr(n)
              : void 0
        );
      },
    });
  })(
    Wd(
      { loader: jd },
      {
        loadingComponent: Fd,
        errorComponent: Pd,
        delay: Rd.delay,
        timeout: Rd.timeout,
        suspensible: Rd.suspensible,
      }
    )
  );
window.__uniRoutes = [
  {
    path: "/",
    alias: "/pages/index",
    component: {
      setup() {
        const e = Ou(),
          t = (e && e.$route && e.$route.query) || {};
        return () => {
          return (
            (e = Hd),
            (n = t),
            or(),
            ar(Ad, null, {
              page: Sn(() => [gr(e, Wd({}, n, { ref: "page" }), null, 512)]),
              _: 1,
            })
          );
          var e, n;
        };
      },
    },
    loader: jd,
    meta: {
      isQuit: !0,
      isEntry: !0,
      navigationBar: { titleText: "装修预览", style: "custom" },
    },
  },
].map((e) => ((e.meta.route = (e.alias || e.path).slice(1)), e));
const Vd = {
  onLaunch: function () {
    console.log("App Launch");
  },
  onShow: function () {
    console.log("App Show");
  },
  onHide: function () {
    console.log("App Hide");
  },
};
Bu(Vd, {
  init: Iu,
  setup(e) {
    const t = uu();
    return (
      to(() => {
        var n;
        (n = e),
          Object.keys(qa).forEach((e) => {
            qa[e].forEach((t) => {
              Jn(e, t, n);
            });
          });
        const { onLaunch: o, onShow: r, onPageNotFound: i } = e,
          s = (function ({ path: e, query: t }) {
            return b(nc, { path: e, query: t }), b(oc, nc), b({}, nc);
          })({
            path: t.path.slice(1) || __uniRoutes[0].meta.route,
            query: ce(t.query),
          });
        o && q(o, s), r && q(r, s);
      }),
      no(() => {
        window.addEventListener(
          "resize",
          (function (e, t, { clearTimeout: n, setTimeout: o }) {
            let r;
            const i = function () {
              n(r), (r = o(() => e.apply(this, arguments), t));
            };
            return (
              (i.cancel = function () {
                n(r);
              }),
              i
            );
          })(Fu, 50, { setTimeout: setTimeout, clearTimeout: clearTimeout })
        ),
          window.addEventListener("message", Ru),
          document.addEventListener("visibilitychange", Du);
      }),
      t.query
    );
  },
  before(e) {
    e.mpType = "app";
    const { setup: t } = e;
    e.setup = (e, n) => (t && t(e, n), () => (or(), ar(Ed)));
  },
}),
  Mi(Vd).use($u).mount("#app");
export {
  _a as $,
  Cd as A,
  _d as B,
  Sd as C,
  kd as D,
  Ha as E,
  Zo as F,
  hr as G,
  Hc as H,
  Xu as I,
  cd as J,
  Vu as K,
  Yu as L,
  zc as S,
  c as a,
  E as b,
  ar as c,
  Fa as d,
  wd as e,
  gr as f,
  Zu as g,
  Si as h,
  Uc as i,
  yr as j,
  vr as k,
  Cr as l,
  lr as m,
  i as n,
  or as o,
  Kc as p,
  ac as q,
  Uo as r,
  Tr as s,
  u as t,
  qc as u,
  Xo as v,
  Sn as w,
  wa as x,
  ud as y,
  ya as z,
};
