lorgg-v2-components 0.2.5 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var ZS = Object.defineProperty;
2
2
  var ex = (e, t, n) => t in e ? ZS(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var se = (e, t, n) => (ex(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { defineComponent as H, ref as N, onMounted as tt, openBlock as w, createElementBlock as x, Fragment as X, renderList as ce, unref as k, normalizeClass as ye, createElementVNode as _, toDisplayString as L, createCommentVNode as W, computed as O, h as mn, getCurrentInstance as ra, inject as la, onUnmounted as Td, shallowRef as Ua, onBeforeMount as tx, watch as be, effectScope as nx, isRef as rx, createVNode as T, Text as ax, onUpdated as Fw, provide as Iw, nextTick as Ha, onBeforeUnmount as $l, onBeforeUpdate as ix, withCtx as Y, createBlock as R, resolveComponent as sn, createTextVNode as Kt, normalizeStyle as xe, withModifiers as dt, mergeProps as yt, renderSlot as _t, withKeys as lv, Teleport as sx, toRefs as Ar, customRef as ox, resolveDirective as Ud, withDirectives as En, vModelText as Zg, vShow as sh, reactive as er, createStaticVNode as $u, normalizeProps as oh, guardReactiveProps as cv } from "vue";
4
+ import { defineComponent as H, ref as N, onMounted as tt, openBlock as w, createElementBlock as x, Fragment as X, renderList as ce, unref as k, normalizeClass as ye, createElementVNode as _, toDisplayString as L, createCommentVNode as W, computed as D, h as mn, getCurrentInstance as ra, inject as la, onUnmounted as Td, shallowRef as Ua, onBeforeMount as tx, watch as be, effectScope as nx, isRef as rx, createVNode as T, Text as ax, onUpdated as Fw, provide as Iw, nextTick as Ha, onBeforeUnmount as $l, onBeforeUpdate as ix, withCtx as Y, createBlock as R, resolveComponent as sn, createTextVNode as Kt, normalizeStyle as xe, withModifiers as dt, mergeProps as yt, renderSlot as _t, withKeys as lv, Teleport as sx, toRefs as Ar, customRef as ox, resolveDirective as Ud, withDirectives as En, vModelText as Zg, vShow as sh, reactive as er, createStaticVNode as $u, normalizeProps as oh, guardReactiveProps as cv } from "vue";
5
5
  import { defineStore as Za } from "pinia";
6
6
  import { useRouter as Ax, useRoute as tA, RouterLink as si } from "vue-router";
7
7
  const uv = Za("toasts", {
@@ -547,7 +547,7 @@ function Ex(e) {
547
547
  document.body.appendChild(t), t.value = e, t.select(), document.execCommand("copy"), document.body.removeChild(t);
548
548
  }
549
549
  function Bs(e, t, n = !0) {
550
- return O(() => {
550
+ return D(() => {
551
551
  if (e)
552
552
  return e;
553
553
  if (!t) {
@@ -952,7 +952,7 @@ function nE(e, t = {}) {
952
952
  return !1;
953
953
  const he = () => {
954
954
  const Le = I.currentPeek();
955
- return Le === "{" ? g(I.peek()) : Le === "@" || Le === "%" || Le === "|" || Le === ":" || Le === "." || Le === ba || !Le ? !1 : Le === Dn ? (I.peek(), he()) : D(I, !1);
955
+ return Le === "{" ? g(I.peek()) : Le === "@" || Le === "%" || Le === "|" || Le === ":" || Le === "." || Le === ba || !Le ? !1 : Le === Dn ? (I.peek(), he()) : O(I, !1);
956
956
  }, Ge = he();
957
957
  return I.resetPeek(), Ge;
958
958
  }
@@ -968,7 +968,7 @@ function nE(e, t = {}) {
968
968
  hasSpace: U.length > 0
969
969
  };
970
970
  }
971
- function D(I, U = !0) {
971
+ function O(I, U = !0) {
972
972
  const j = (Ge = !1, Le = "", $e = !1) => {
973
973
  const V = I.currentPeek();
974
974
  return V === "{" ? Le === "%" ? !1 : Ge : V === "@" || !V ? Le === "%" ? !0 : Ge : V === "%" ? (I.peek(), j(Ge, "%", !0)) : V === "|" ? Le === "%" || $e ? !0 : !(Le === ba || Le === Dn) : V === ba ? (I.peek(), j(!0, ba, $e)) : V === Dn ? (I.peek(), j(!0, Dn, $e)) : !0;
@@ -1036,12 +1036,12 @@ function nE(e, t = {}) {
1036
1036
  if (j === "{" || j === "}" || j === "@" || j === "|" || !j)
1037
1037
  break;
1038
1038
  if (j === "%")
1039
- if (D(I))
1039
+ if (O(I))
1040
1040
  U += j, I.next();
1041
1041
  else
1042
1042
  break;
1043
1043
  else if (j === ba || j === Dn)
1044
- if (D(I))
1044
+ if (O(I))
1045
1045
  U += j, I.next();
1046
1046
  else {
1047
1047
  if (P(I))
@@ -1230,7 +1230,7 @@ function nE(e, t = {}) {
1230
1230
  const { isModulo: Ge, hasSpace: Le } = Q(I);
1231
1231
  if (Ge)
1232
1232
  return Le ? d(U, 0, we(I)) : d(U, 4, De(I));
1233
- if (D(I))
1233
+ if (O(I))
1234
1234
  return d(U, 0, we(I));
1235
1235
  break;
1236
1236
  }
@@ -1358,22 +1358,22 @@ function sE(e = {}) {
1358
1358
  E.items = [];
1359
1359
  let S = null, F = null;
1360
1360
  do {
1361
- const D = S || y.nextToken();
1362
- switch (S = null, D.type) {
1361
+ const O = S || y.nextToken();
1362
+ switch (S = null, O.type) {
1363
1363
  case 0:
1364
- D.value == null && a(y, Te.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, Er(D)), E.items.push(A(y, D.value || ""));
1364
+ O.value == null && a(y, Te.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, Er(O)), E.items.push(A(y, O.value || ""));
1365
1365
  break;
1366
1366
  case 6:
1367
- D.value == null && a(y, Te.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, Er(D)), E.items.push(l(y, D.value || ""));
1367
+ O.value == null && a(y, Te.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, Er(O)), E.items.push(l(y, O.value || ""));
1368
1368
  break;
1369
1369
  case 4:
1370
1370
  F = !0;
1371
1371
  break;
1372
1372
  case 5:
1373
- D.value == null && a(y, Te.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, Er(D)), E.items.push(c(y, D.value || "", !!F)), F && (i(y, Md.USE_MODULO_SYNTAX, m.lastStartLoc, 0, Er(D)), F = null);
1373
+ O.value == null && a(y, Te.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, Er(O)), E.items.push(c(y, O.value || "", !!F)), F && (i(y, Md.USE_MODULO_SYNTAX, m.lastStartLoc, 0, Er(O)), F = null);
1374
1374
  break;
1375
1375
  case 7:
1376
- D.value == null && a(y, Te.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, Er(D)), E.items.push(u(y, D.value || ""));
1376
+ O.value == null && a(y, Te.UNEXPECTED_LEXICAL_ANALYSIS, m.lastStartLoc, 0, Er(O)), E.items.push(u(y, O.value || ""));
1377
1377
  break;
1378
1378
  case 8: {
1379
1379
  const z = p(y);
@@ -2271,7 +2271,7 @@ function a8(e = {}) {
2271
2271
  process.env.NODE_ENV !== "production" && ft(e.messageCompiler) && Mw(Is(Qn.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
2272
2272
  const C = ft(e.messageResolver) ? e.messageResolver : nB || UE, B = ft(e.localeFallbacker) ? e.localeFallbacker : rB || jE, E = et(e.fallbackContext) ? e.fallbackContext : void 0, S = e, F = et(S.__datetimeFormatters) ? S.__datetimeFormatters : /* @__PURE__ */ new Map(), P = et(S.__numberFormatters) ? S.__numberFormatters : /* @__PURE__ */ new Map(), Q = et(S.__meta) ? S.__meta : {};
2273
2273
  Iv++;
2274
- const D = {
2274
+ const O = {
2275
2275
  version: n,
2276
2276
  cid: Iv,
2277
2277
  locale: r,
@@ -2295,7 +2295,7 @@ function a8(e = {}) {
2295
2295
  onWarn: t,
2296
2296
  __meta: Q
2297
2297
  };
2298
- return D.datetimeFormats = o, D.numberFormats = A, D.__datetimeFormatters = F, D.__numberFormatters = P, process.env.NODE_ENV !== "production" && (D.__v_emitter = S.__v_emitter != null ? S.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && VE(D, n, Q), D;
2298
+ return O.datetimeFormats = o, O.numberFormats = A, O.__datetimeFormatters = F, O.__numberFormatters = P, process.env.NODE_ENV !== "production" && (O.__v_emitter = S.__v_emitter != null ? S.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && VE(O, n, Q), O;
2299
2299
  }
2300
2300
  const jf = (e) => ({ [e]: ht() });
2301
2301
  function Rd(e, t) {
@@ -2476,18 +2476,18 @@ function Dv(e, ...t) {
2476
2476
  if (B)
2477
2477
  return m;
2478
2478
  const F = p8(e, b, y, l), P = NE(F), Q = u8(e, S, P);
2479
- let D = r ? r(Q, A) : Q;
2480
- if (d && le(D) && (D = Lx(D)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2479
+ let O = r ? r(Q, A) : Q;
2480
+ if (d && le(O) && (O = Lx(O)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2481
2481
  const z = {
2482
2482
  timestamp: Date.now(),
2483
2483
  key: le(A) ? A : hr(m) ? m.key : "",
2484
2484
  locale: b || (hr(m) ? m.locale : ""),
2485
2485
  format: le(m) ? m : hr(m) ? m.source : "",
2486
- message: D
2486
+ message: O
2487
2487
  };
2488
2488
  z.meta = yn({}, e.__meta, /* @__PURE__ */ n8() || {}), $E(z);
2489
2489
  }
2490
- return D;
2490
+ return O;
2491
2491
  }
2492
2492
  function c8(e) {
2493
2493
  kt(e.list) ? e.list = e.list.map((t) => le(t) ? gv(t) : t) : et(e.named) && Object.keys(e.named).forEach((t) => {
@@ -3142,17 +3142,17 @@ function lm(e = {}, t) {
3142
3142
  f.value
3143
3143
  ];
3144
3144
  }
3145
- const D = O({
3145
+ const O = D({
3146
3146
  get: () => l.value,
3147
3147
  set: (V) => {
3148
3148
  l.value = V, F.locale = l.value;
3149
3149
  }
3150
- }), z = O({
3150
+ }), z = D({
3151
3151
  get: () => c.value,
3152
3152
  set: (V) => {
3153
3153
  c.value = V, F.fallbackLocale = c.value, gA(F, l.value, V);
3154
3154
  }
3155
- }), ae = O(() => u.value), ue = /* @__PURE__ */ O(() => d.value), J = /* @__PURE__ */ O(() => f.value);
3155
+ }), ae = D(() => u.value), ue = /* @__PURE__ */ D(() => d.value), J = /* @__PURE__ */ D(() => f.value);
3156
3156
  function te() {
3157
3157
  return ft(m) ? m : null;
3158
3158
  }
@@ -3335,7 +3335,7 @@ function lm(e = {}, t) {
3335
3335
  }));
3336
3336
  const $e = {
3337
3337
  id: zv,
3338
- locale: D,
3338
+ locale: O,
3339
3339
  fallbackLocale: z,
3340
3340
  get inheritLocale() {
3341
3341
  return A;
@@ -4359,18 +4359,18 @@ function o5(e, t, n, r = {}) {
4359
4359
  u.value
4360
4360
  ];
4361
4361
  }
4362
- const E = O({
4362
+ const E = D({
4363
4363
  get: () => i.value ? i.value.locale.value : o.value,
4364
4364
  set: (ne) => {
4365
4365
  i.value && (i.value.locale.value = ne), o.value = ne;
4366
4366
  }
4367
- }), S = O({
4367
+ }), S = D({
4368
4368
  get: () => i.value ? i.value.fallbackLocale.value : A.value,
4369
4369
  set: (ne) => {
4370
4370
  i.value && (i.value.fallbackLocale.value = ne), A.value = ne;
4371
4371
  }
4372
- }), F = O(() => i.value ? i.value.messages.value : l.value), P = O(() => c.value), Q = O(() => u.value);
4373
- function D() {
4372
+ }), F = D(() => i.value ? i.value.messages.value : l.value), P = D(() => c.value), Q = D(() => u.value);
4373
+ function O() {
4374
4374
  return i.value ? i.value.getPostTranslationHandler() : g;
4375
4375
  }
4376
4376
  function z(ne) {
@@ -4494,7 +4494,7 @@ function o5(e, t, n, r = {}) {
4494
4494
  i.value && (i.value.escapeParameter = ne);
4495
4495
  },
4496
4496
  t: te,
4497
- getPostTranslationHandler: D,
4497
+ getPostTranslationHandler: O,
4498
4498
  setPostTranslationHandler: z,
4499
4499
  getMissingHandler: ae,
4500
4500
  setMissingHandler: ue,
@@ -13719,8 +13719,8 @@ function lT() {
13719
13719
  marginRight: "marginBottom"
13720
13720
  }[Q];
13721
13721
  }
13722
- function n(Q, D) {
13723
- return parseFloat(Q.getPropertyValue(t(D)) || 0);
13722
+ function n(Q, O) {
13723
+ return parseFloat(Q.getPropertyValue(t(O)) || 0);
13724
13724
  }
13725
13725
  const r = e.params, {
13726
13726
  wrapperEl: a,
@@ -13748,13 +13748,13 @@ function lT() {
13748
13748
  const P = r.slidesPerView === "auto" && r.breakpoints && Object.keys(r.breakpoints).filter((Q) => typeof r.breakpoints[Q].slidesPerView < "u").length > 0;
13749
13749
  for (let Q = 0; Q < d; Q += 1) {
13750
13750
  F = 0;
13751
- let D;
13752
- if (u[Q] && (D = u[Q]), S && e.grid.updateSlide(Q, D, d, t), !(u[Q] && fi(D, "display") === "none")) {
13751
+ let O;
13752
+ if (u[Q] && (O = u[Q]), S && e.grid.updateSlide(Q, O, d, t), !(u[Q] && fi(O, "display") === "none")) {
13753
13753
  if (r.slidesPerView === "auto") {
13754
13754
  P && (u[Q].style[t("width")] = "");
13755
- const z = getComputedStyle(D), ae = D.style.transform, ue = D.style.webkitTransform;
13756
- if (ae && (D.style.transform = "none"), ue && (D.style.webkitTransform = "none"), r.roundLengths)
13757
- F = e.isHorizontal() ? x0(D, "width", !0) : x0(D, "height", !0);
13755
+ const z = getComputedStyle(O), ae = O.style.transform, ue = O.style.webkitTransform;
13756
+ if (ae && (O.style.transform = "none"), ue && (O.style.webkitTransform = "none"), r.roundLengths)
13757
+ F = e.isHorizontal() ? x0(O, "width", !0) : x0(O, "height", !0);
13758
13758
  else {
13759
13759
  const J = n(z, "width"), te = n(z, "padding-left"), Ee = n(z, "padding-right"), Ae = n(z, "margin-left"), _e = n(z, "margin-right"), Be = z.getPropertyValue("box-sizing");
13760
13760
  if (Be && Be === "border-box")
@@ -13763,11 +13763,11 @@ function lT() {
13763
13763
  const {
13764
13764
  clientWidth: Ce,
13765
13765
  offsetWidth: De
13766
- } = D;
13766
+ } = O;
13767
13767
  F = J + te + Ee + Ae + _e + (De - Ce);
13768
13768
  }
13769
13769
  }
13770
- ae && (D.style.transform = ae), ue && (D.style.webkitTransform = ue), r.roundLengths && (F = Math.floor(F));
13770
+ ae && (O.style.transform = ae), ue && (O.style.webkitTransform = ue), r.roundLengths && (F = Math.floor(F));
13771
13771
  } else
13772
13772
  F = (s - (r.slidesPerView - 1) * m) / r.slidesPerView, r.roundLengths && (F = Math.floor(F)), u[Q] && (u[Q].style[t("width")] = `${F}px`);
13773
13773
  u[Q] && (u[Q].swiperSlideSize = F), h.push(F), r.centeredSlides ? (C = C + F / 2 + B / 2 + m, B === 0 && Q !== 0 && (C = C - s / 2 - m), Q === 0 && (C = C - s / 2 - m), Math.abs(C) < 1 / 1e3 && (C = 0), r.roundLengths && (C = Math.floor(C)), E % r.slidesPerGroup === 0 && f.push(C), p.push(C)) : (r.roundLengths && (C = Math.floor(C)), (E - Math.min(e.params.slidesPerGroupSkip, E)) % e.params.slidesPerGroup === 0 && f.push(C), p.push(C), C = C + F + m), e.virtualSize += F + m, B = F, E += 1;
@@ -13775,26 +13775,26 @@ function lT() {
13775
13775
  }
13776
13776
  if (e.virtualSize = Math.max(e.virtualSize, s) + g, o && A && (r.effect === "slide" || r.effect === "coverflow") && (a.style.width = `${e.virtualSize + m}px`), r.setWrapperSize && (a.style[t("width")] = `${e.virtualSize + m}px`), S && e.grid.updateWrapperSize(F, f, t), !r.centeredSlides) {
13777
13777
  const Q = [];
13778
- for (let D = 0; D < f.length; D += 1) {
13779
- let z = f[D];
13780
- r.roundLengths && (z = Math.floor(z)), f[D] <= e.virtualSize - s && Q.push(z);
13778
+ for (let O = 0; O < f.length; O += 1) {
13779
+ let z = f[O];
13780
+ r.roundLengths && (z = Math.floor(z)), f[O] <= e.virtualSize - s && Q.push(z);
13781
13781
  }
13782
13782
  f = Q, Math.floor(e.virtualSize - s) - Math.floor(f[f.length - 1]) > 1 && f.push(e.virtualSize - s);
13783
13783
  }
13784
13784
  if (l && r.loop) {
13785
13785
  const Q = h[0] + m;
13786
13786
  if (r.slidesPerGroup > 1) {
13787
- const D = Math.ceil((e.virtual.slidesBefore + e.virtual.slidesAfter) / r.slidesPerGroup), z = Q * r.slidesPerGroup;
13788
- for (let ae = 0; ae < D; ae += 1)
13787
+ const O = Math.ceil((e.virtual.slidesBefore + e.virtual.slidesAfter) / r.slidesPerGroup), z = Q * r.slidesPerGroup;
13788
+ for (let ae = 0; ae < O; ae += 1)
13789
13789
  f.push(f[f.length - 1] + z);
13790
13790
  }
13791
- for (let D = 0; D < e.virtual.slidesBefore + e.virtual.slidesAfter; D += 1)
13791
+ for (let O = 0; O < e.virtual.slidesBefore + e.virtual.slidesAfter; O += 1)
13792
13792
  r.slidesPerGroup === 1 && f.push(f[f.length - 1] + Q), p.push(p[p.length - 1] + Q), e.virtualSize += Q;
13793
13793
  }
13794
13794
  if (f.length === 0 && (f = [0]), m !== 0) {
13795
13795
  const Q = e.isHorizontal() && o ? "marginLeft" : t("marginRight");
13796
- u.filter((D, z) => !r.cssMode || r.loop ? !0 : z !== u.length - 1).forEach((D) => {
13797
- D.style[Q] = `${m}px`;
13796
+ u.filter((O, z) => !r.cssMode || r.loop ? !0 : z !== u.length - 1).forEach((O) => {
13797
+ O.style[Q] = `${m}px`;
13798
13798
  });
13799
13799
  }
13800
13800
  if (r.centeredSlides && r.centeredSlidesBounds) {
@@ -13802,19 +13802,19 @@ function lT() {
13802
13802
  h.forEach((z) => {
13803
13803
  Q += z + (m || 0);
13804
13804
  }), Q -= m;
13805
- const D = Q - s;
13806
- f = f.map((z) => z <= 0 ? -v : z > D ? D + g : z);
13805
+ const O = Q - s;
13806
+ f = f.map((z) => z <= 0 ? -v : z > O ? O + g : z);
13807
13807
  }
13808
13808
  if (r.centerInsufficientSlides) {
13809
13809
  let Q = 0;
13810
- if (h.forEach((D) => {
13811
- Q += D + (m || 0);
13810
+ if (h.forEach((O) => {
13811
+ Q += O + (m || 0);
13812
13812
  }), Q -= m, Q < s) {
13813
- const D = (s - Q) / 2;
13813
+ const O = (s - Q) / 2;
13814
13814
  f.forEach((z, ae) => {
13815
- f[ae] = z - D;
13815
+ f[ae] = z - O;
13816
13816
  }), p.forEach((z, ae) => {
13817
- p[ae] = z + D;
13817
+ p[ae] = z + O;
13818
13818
  });
13819
13819
  }
13820
13820
  }
@@ -13825,12 +13825,12 @@ function lT() {
13825
13825
  slidesSizesGrid: h
13826
13826
  }), r.centeredSlides && r.cssMode && !r.centeredSlidesBounds) {
13827
13827
  kc(a, "--swiper-centered-offset-before", `${-f[0]}px`), kc(a, "--swiper-centered-offset-after", `${e.size / 2 - h[h.length - 1] / 2}px`);
13828
- const Q = -e.snapGrid[0], D = -e.slidesGrid[0];
13829
- e.snapGrid = e.snapGrid.map((z) => z + Q), e.slidesGrid = e.slidesGrid.map((z) => z + D);
13828
+ const Q = -e.snapGrid[0], O = -e.slidesGrid[0];
13829
+ e.snapGrid = e.snapGrid.map((z) => z + Q), e.slidesGrid = e.slidesGrid.map((z) => z + O);
13830
13830
  }
13831
13831
  if (d !== c && e.emit("slidesLengthChange"), f.length !== b && (e.params.watchOverflow && e.checkOverflow(), e.emit("snapGridLengthChange")), p.length !== y && e.emit("slidesGridLengthChange"), r.watchSlidesProgress && e.updateSlidesOffset(), !l && !r.cssMode && (r.effect === "slide" || r.effect === "fade")) {
13832
- const Q = `${r.containerModifierClass}backface-hidden`, D = e.el.classList.contains(Q);
13833
- d <= r.maxBackfaceHiddenSlides ? D || e.el.classList.add(Q) : D && e.el.classList.remove(Q);
13832
+ const Q = `${r.containerModifierClass}backface-hidden`, O = e.el.classList.contains(Q);
13833
+ d <= r.maxBackfaceHiddenSlides ? O || e.el.classList.add(Q) : O && e.el.classList.remove(Q);
13834
13834
  }
13835
13835
  }
13836
13836
  function cT(e) {
@@ -16336,7 +16336,7 @@ const vU = (e) => {
16336
16336
  }), $l(() => {
16337
16337
  !a || !a.value || a.value.off("_slideClass", A);
16338
16338
  });
16339
- const l = O(() => ({
16339
+ const l = D(() => ({
16340
16340
  isActive: s.value.indexOf("swiper-slide-active") >= 0,
16341
16341
  isVisible: s.value.indexOf("swiper-slide-visible") >= 0,
16342
16342
  isPrev: s.value.indexOf("swiper-slide-prev") >= 0,
@@ -16372,7 +16372,7 @@ const yU = {
16372
16372
  props: yU,
16373
16373
  setup(e) {
16374
16374
  var o;
16375
- const t = e, n = [dU], r = N(null), a = N((o = r.value) == null ? void 0 : o.clientWidth), i = O(() => a.value === void 0 ? !0 : a.value < 400);
16375
+ const t = e, n = [dU], r = N(null), a = N((o = r.value) == null ? void 0 : o.clientWidth), i = D(() => a.value === void 0 ? !0 : a.value < 400);
16376
16376
  function s() {
16377
16377
  var A;
16378
16378
  a.value = (A = r.value) == null ? void 0 : A.clientWidth;
@@ -16690,14 +16690,14 @@ function L0(e) {
16690
16690
  }
16691
16691
  var Q = Object.assign({
16692
16692
  position: o
16693
- }, l && VU), D = c === !0 ? $U({
16693
+ }, l && VU), O = c === !0 ? $U({
16694
16694
  x: f,
16695
16695
  y: h
16696
16696
  }, sr(n)) : {
16697
16697
  x: f,
16698
16698
  y: h
16699
16699
  };
16700
- if (f = D.x, h = D.y, A) {
16700
+ if (f = O.x, h = O.y, A) {
16701
16701
  var z;
16702
16702
  return Object.assign({}, Q, (z = {}, z[m] = b ? "0" : "", z[y] = g ? "0" : "", z.transform = (C.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + h + "px)" : "translate3d(" + f + "px, " + h + "px, 0)", z));
16703
16703
  }
@@ -16913,10 +16913,10 @@ function Cl(e, t) {
16913
16913
  right: F.right - C.right + g.right
16914
16914
  }, Q = e.modifiersData.offset;
16915
16915
  if (d === mA && Q) {
16916
- var D = Q[a];
16916
+ var O = Q[a];
16917
16917
  Object.keys(P).forEach(function(z) {
16918
16918
  var ae = [kr, Cr].indexOf(z) >= 0 ? 1 : -1, ue = [qn, Cr].indexOf(z) >= 0 ? "y" : "x";
16919
- P[z] += D[ue] * ae;
16919
+ P[z] += O[ue] * ae;
16920
16920
  });
16921
16921
  }
16922
16922
  return P;
@@ -16960,7 +16960,7 @@ function aD(e) {
16960
16960
  allowedAutoPlacements: h
16961
16961
  }) : de);
16962
16962
  }, []), C = t.rects.reference, B = t.rects.popper, E = /* @__PURE__ */ new Map(), S = !0, F = m[0], P = 0; P < m.length; P++) {
16963
- var Q = m[P], D = ta(Q), z = Ho(Q) === Mo, ae = [qn, Cr].indexOf(D) >= 0, ue = ae ? "width" : "height", J = Cl(t, {
16963
+ var Q = m[P], O = ta(Q), z = Ho(Q) === Mo, ae = [qn, Cr].indexOf(O) >= 0, ue = ae ? "width" : "height", J = Cl(t, {
16964
16964
  placement: Q,
16965
16965
  boundary: c,
16966
16966
  rootBoundary: u,
@@ -16969,7 +16969,7 @@ function aD(e) {
16969
16969
  }), te = ae ? z ? kr : Yn : z ? Cr : qn;
16970
16970
  C[ue] > B[ue] && (te = Cu(te));
16971
16971
  var Ee = Cu(te), Ae = [];
16972
- if (i && Ae.push(J[D] <= 0), o && Ae.push(J[te] <= 0, J[Ee] <= 0), Ae.every(function(we) {
16972
+ if (i && Ae.push(J[O] <= 0), o && Ae.push(J[te] <= 0, J[Ee] <= 0), Ae.every(function(we) {
16973
16973
  return we;
16974
16974
  })) {
16975
16975
  F = Q, S = !1;
@@ -17103,7 +17103,7 @@ function pD(e) {
17103
17103
  } : Object.assign({
17104
17104
  mainAxis: 0,
17105
17105
  altAxis: 0
17106
- }, F), Q = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, D = {
17106
+ }, F), Q = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, O = {
17107
17107
  x: 0,
17108
17108
  y: 0
17109
17109
  };
@@ -17113,13 +17113,13 @@ function pD(e) {
17113
17113
  width: 0,
17114
17114
  height: 0
17115
17115
  }, de = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : I_(), G = de[ae], pe = de[ue], Xe = jA(0, E[J], we[J]), wt = y ? E[J] / 2 - _e - Xe - G - P.mainAxis : Be - Xe - G - P.mainAxis, Gt = y ? -E[J] / 2 + _e + Xe + pe + P.mainAxis : Ce + Xe + pe + P.mainAxis, dn = t.elements.arrow && jl(t.elements.arrow), on = dn ? m === "y" ? dn.clientTop || 0 : dn.clientLeft || 0 : 0, wn = (z = Q == null ? void 0 : Q[m]) != null ? z : 0, ne = te + wt - wn - on, Oe = te + Gt - wn, Bn = jA(f ? Ju(Ee, ne) : Ee, te, f ? _s(Ae, Oe) : Ae);
17116
- B[m] = Bn, D[m] = Bn - te;
17116
+ B[m] = Bn, O[m] = Bn - te;
17117
17117
  }
17118
17118
  if (o) {
17119
17119
  var zt, Ht = m === "x" ? qn : Yn, jt = m === "x" ? Cr : kr, I = B[C], U = C === "y" ? "height" : "width", j = I + v[Ht], he = I - v[jt], Ge = [qn, Yn].indexOf(g) !== -1, Le = (zt = Q == null ? void 0 : Q[C]) != null ? zt : 0, $e = Ge ? j : I - E[U] - S[U] - Le + P.altAxis, V = Ge ? I + E[U] + S[U] - Le - P.altAxis : he, q = f && Ge ? PU($e, I, V) : jA(f ? $e : j, I, f ? V : he);
17120
- B[C] = q, D[C] = q - I;
17120
+ B[C] = q, O[C] = q - I;
17121
17121
  }
17122
- t.modifiersData[r] = D;
17122
+ t.modifiersData[r] = O;
17123
17123
  }
17124
17124
  }
17125
17125
  const hD = {
@@ -17735,7 +17735,7 @@ function eO(e, t) {
17735
17735
  function Q() {
17736
17736
  return P()[0] === "hold";
17737
17737
  }
17738
- function D() {
17738
+ function O() {
17739
17739
  var $;
17740
17740
  return !!(($ = m.props.render) != null && $.$$tippy);
17741
17741
  }
@@ -17918,7 +17918,7 @@ function eO(e, t) {
17918
17918
  }
17919
17919
  function Ht() {
17920
17920
  jt();
17921
- var $ = m.props, ge = $.popperOptions, ke = $.placement, At = $.offset, Ze = $.getReferenceClientRect, Vt = $.moveTransition, An = D() ? zh(B).arrow : null, ma = Ze ? {
17921
+ var $ = m.props, ge = $.popperOptions, ke = $.placement, At = $.offset, Ze = $.getReferenceClientRect, Vt = $.moveTransition, An = O() ? zh(B).arrow : null, ma = Ze ? {
17922
17922
  getBoundingClientRect: Ze,
17923
17923
  contextElement: Ze.contextElement || z()
17924
17924
  } : e, fA = {
@@ -17928,7 +17928,7 @@ function eO(e, t) {
17928
17928
  requires: ["computeStyles"],
17929
17929
  fn: function(Nn) {
17930
17930
  var Vr = Nn.state;
17931
- if (D()) {
17931
+ if (O()) {
17932
17932
  var pA = ue(), hA = pA.box;
17933
17933
  ["placement", "reference-hidden", "escaped"].forEach(function(es) {
17934
17934
  es === "placement" ? hA.setAttribute("data-placement", Vr.placement) : Vr.attributes.popper["data-popper-" + es] ? hA.setAttribute("data-" + es, "") : hA.removeAttribute("data-" + es);
@@ -17961,7 +17961,7 @@ function eO(e, t) {
17961
17961
  adaptive: !Vt
17962
17962
  }
17963
17963
  }, fA];
17964
- D() && An && va.push({
17964
+ O() && An && va.push({
17965
17965
  name: "arrow",
17966
17966
  options: {
17967
17967
  element: An,
@@ -18041,18 +18041,18 @@ function eO(e, t) {
18041
18041
  process.env.NODE_ENV !== "production" && Fa(m.state.isDestroyed, to("show"));
18042
18042
  var $ = m.state.isVisible, ge = m.state.isDestroyed, ke = !m.state.isEnabled, At = qr.isTouch && !m.props.touch, Ze = cp(m.props.duration, 0, ar.duration);
18043
18043
  if (!($ || ge || ke || At) && !z().hasAttribute("disabled") && (Ee("onShow", [m], !1), m.props.onShow(m) !== !1)) {
18044
- if (m.state.isVisible = !0, D() && (B.style.visibility = "visible"), te(), de(), m.state.isMounted || (B.style.transition = "none"), D()) {
18044
+ if (m.state.isVisible = !0, O() && (B.style.visibility = "visible"), te(), de(), m.state.isMounted || (B.style.transition = "none"), O()) {
18045
18045
  var Vt = ue(), An = Vt.box, ma = Vt.content;
18046
18046
  up([An, ma], 0);
18047
18047
  }
18048
18048
  d = function() {
18049
18049
  var va;
18050
18050
  if (!(!m.state.isVisible || l)) {
18051
- if (l = !0, B.offsetHeight, B.style.transition = m.props.moveTransition, D() && m.props.animation) {
18051
+ if (l = !0, B.offsetHeight, B.style.transition = m.props.moveTransition, O() && m.props.animation) {
18052
18052
  var Zs = ue(), Nn = Zs.box, Vr = Zs.content;
18053
18053
  up([Nn, Vr], Ze), K0([Nn, Vr], "visible");
18054
18054
  }
18055
- Ae(), _e(), V0(fp, m), (va = m.popperInstance) == null || va.forceUpdate(), Ee("onMount", [m]), m.props.animation && D() && Xe(Ze, function() {
18055
+ Ae(), _e(), V0(fp, m), (va = m.popperInstance) == null || va.forceUpdate(), Ee("onMount", [m]), m.props.animation && O() && Xe(Ze, function() {
18056
18056
  m.state.isShown = !0, Ee("onShown", [m]);
18057
18057
  });
18058
18058
  }
@@ -18063,11 +18063,11 @@ function eO(e, t) {
18063
18063
  process.env.NODE_ENV !== "production" && Fa(m.state.isDestroyed, to("hide"));
18064
18064
  var $ = !m.state.isVisible, ge = m.state.isDestroyed, ke = !m.state.isEnabled, At = cp(m.props.duration, 1, ar.duration);
18065
18065
  if (!($ || ge || ke) && (Ee("onHide", [m], !1), m.props.onHide(m) !== !1)) {
18066
- if (m.state.isVisible = !1, m.state.isShown = !1, l = !1, s = !1, D() && (B.style.visibility = "hidden"), Be(), G(), te(!0), D()) {
18066
+ if (m.state.isVisible = !1, m.state.isShown = !1, l = !1, s = !1, O() && (B.style.visibility = "hidden"), Be(), G(), te(!0), O()) {
18067
18067
  var Ze = ue(), Vt = Ze.box, An = Ze.content;
18068
18068
  m.props.animation && (up([Vt, An], At), K0([Vt, An], "hidden"));
18069
18069
  }
18070
- Ae(), _e(), m.props.animation ? D() && pe(At, m.unmount) : m.unmount();
18070
+ Ae(), _e(), m.props.animation ? O() && pe(At, m.unmount) : m.unmount();
18071
18071
  }
18072
18072
  }
18073
18073
  function Hn($) {
@@ -18196,7 +18196,7 @@ const W_ = {
18196
18196
  setup(e) {
18197
18197
  const { t } = oe(), n = e, r = N(null), a = N(null);
18198
18198
  let i = null;
18199
- const s = N(!1), o = Bs(n.cardProp, n.cardCodeProp), A = O(() => o.value === void 0 || d.value === null ? null : n.quantityNeeded !== void 0 && d.value < n.quantityNeeded ? "bad" : null), l = O(() => {
18199
+ const s = N(!1), o = Bs(n.cardProp, n.cardCodeProp), A = D(() => o.value === void 0 || d.value === null ? null : n.quantityNeeded !== void 0 && d.value < n.quantityNeeded ? "bad" : null), l = D(() => {
18200
18200
  if (o.value === void 0)
18201
18201
  return [];
18202
18202
  const g = [];
@@ -18204,7 +18204,7 @@ const W_ = {
18204
18204
  for (const b of o.value.associatedCardRefs)
18205
18205
  g.push(Jn().cardJsonObject[b]);
18206
18206
  return g;
18207
- }), c = O(() => {
18207
+ }), c = D(() => {
18208
18208
  if (o.value === void 0)
18209
18209
  return [];
18210
18210
  const g = [];
@@ -18215,11 +18215,11 @@ const W_ = {
18215
18215
  y && g.push(y);
18216
18216
  }
18217
18217
  return g;
18218
- }), u = O(() => n.isRoot && (d.value !== null || o.value && (o.value.keywordRefs.length > 0 || o.value.associatedCardRefs.length > 0))), d = O(() => {
18218
+ }), u = D(() => n.isRoot && (d.value !== null || o.value && (o.value.keywordRefs.length > 0 || o.value.associatedCardRefs.length > 0))), d = D(() => {
18219
18219
  var b;
18220
18220
  const g = tm().acquiredCards;
18221
18221
  return g === void 0 ? null : g[((b = o.value) == null ? void 0 : b.cardCode) ?? 0] ?? 0;
18222
- }), f = O(() => o.value === void 0 ? null : n.isDeckBuilder && n.deckList[o.value.cardCode] === 3 ? "disabled" : null);
18222
+ }), f = D(() => o.value === void 0 ? null : n.isDeckBuilder && n.deckList[o.value.cardCode] === 3 ? "disabled" : null);
18223
18223
  be(
18224
18224
  () => n.showTippyLocation,
18225
18225
  (g) => {
@@ -18771,15 +18771,15 @@ var Pe = H({
18771
18771
  }
18772
18772
  },
18773
18773
  setup: function(t, n) {
18774
- var r = n.attrs, a = O(function() {
18774
+ var r = n.attrs, a = D(function() {
18775
18775
  return Z0(t.icon);
18776
- }), i = O(function() {
18776
+ }), i = D(function() {
18777
18777
  return XA("classes", _O(t));
18778
- }), s = O(function() {
18778
+ }), s = D(function() {
18779
18779
  return XA("transform", typeof t.transform == "string" ? Yu.transform(t.transform) : t.transform);
18780
- }), o = O(function() {
18780
+ }), o = D(function() {
18781
18781
  return XA("mask", Z0(t.mask));
18782
- }), A = O(function() {
18782
+ }), A = D(function() {
18783
18783
  var c = Tr(Tr(Tr(Tr({}, i.value), s.value), o.value), {}, {
18784
18784
  symbol: t.symbol,
18785
18785
  maskId: t.maskId
@@ -18792,7 +18792,7 @@ var Pe = H({
18792
18792
  }, {
18793
18793
  immediate: !0
18794
18794
  });
18795
- var l = O(function() {
18795
+ var l = D(function() {
18796
18796
  return A.value ? Um(A.value.abstract[0], {}, r) : null;
18797
18797
  });
18798
18798
  return function() {
@@ -18809,7 +18809,7 @@ H({
18809
18809
  }
18810
18810
  },
18811
18811
  setup: function(t, n) {
18812
- var r = n.slots, a = A_.familyPrefix, i = O(function() {
18812
+ var r = n.slots, a = A_.familyPrefix, i = D(function() {
18813
18813
  return ["".concat(a, "-layers")].concat($h(t.fixedWidth ? ["".concat(a, "-fw")] : []));
18814
18814
  });
18815
18815
  return function() {
@@ -18843,14 +18843,14 @@ H({
18843
18843
  }
18844
18844
  },
18845
18845
  setup: function(t, n) {
18846
- var r = n.attrs, a = A_.familyPrefix, i = O(function() {
18846
+ var r = n.attrs, a = A_.familyPrefix, i = D(function() {
18847
18847
  return XA("classes", [].concat($h(t.counter ? ["".concat(a, "-layers-counter")] : []), $h(t.position ? ["".concat(a, "-layers-").concat(t.position)] : [])));
18848
- }), s = O(function() {
18848
+ }), s = D(function() {
18849
18849
  return XA("transform", typeof t.transform == "string" ? Yu.transform(t.transform) : t.transform);
18850
- }), o = O(function() {
18850
+ }), o = D(function() {
18851
18851
  var l = kF(t.value.toString(), Tr(Tr({}, s.value), i.value)), c = l.abstract;
18852
18852
  return t.counter && (c[0].attributes.class = c[0].attributes.class.replace("fa-layers-text", "")), c[0];
18853
- }), A = O(function() {
18853
+ }), A = D(function() {
18854
18854
  return Um(o.value, {}, r);
18855
18855
  });
18856
18856
  return function() {
@@ -18871,16 +18871,16 @@ const IO = { class: "card-slice" }, TO = {
18871
18871
  setup(e, { emit: t }) {
18872
18872
  const n = e;
18873
18873
  console.log("props.color", n.color);
18874
- const r = Bs(n.cardProp, n.cardCodeProp, !1), a = t, i = N(null), s = N(null), o = N(null), A = N(null), l = O(() => {
18874
+ const r = Bs(n.cardProp, n.cardCodeProp, !1), a = t, i = N(null), s = N(null), o = N(null), A = N(null), l = D(() => {
18875
18875
  let f = n.color;
18876
18876
  return !f && r.value && (f = ps(r.value, null, !0)), n.color === null && (f = "var(--color-background-2-rgb)"), { "--color": f };
18877
- }), c = O(() => r.value ? He().callbacks.cardImageCallback(
18877
+ }), c = D(() => r.value ? He().callbacks.cardImageCallback(
18878
18878
  r.value.cardCode,
18879
18879
  Wt.Slice
18880
- ) : ""), u = O(() => {
18880
+ ) : ""), u = D(() => {
18881
18881
  const f = ["card-slice-wrapper"];
18882
18882
  return n.maintainAspectRatio && f.push("maintain-aspect-ratio"), f;
18883
- }), d = O(() => {
18883
+ }), d = D(() => {
18884
18884
  const f = tm().acquiredCards;
18885
18885
  return r.value === void 0 || n.quantityNumber === void 0 || n.quantityNumber > 3 || f === void 0 || n.showPlusMinus ? null : (f[r.value.cardCode] ?? 0) < n.quantityNumber ? "missing-quantity" : null;
18886
18886
  });
@@ -19021,7 +19021,7 @@ function Nt(e) {
19021
19021
  ) }));
19022
19022
  }
19023
19023
  function HO(e, t) {
19024
- const { value: n, modelValue: r, mode: a, valueProp: i } = Ar(e), s = N(a.value !== "single" ? [] : {}), o = Nt(() => r.value !== void 0 ? r.value : n.value), A = O(() => a.value === "single" ? s.value[i.value] : s.value.map((c) => c[i.value])), l = Nt(() => a.value !== "single" ? s.value.map((c) => c[i.value]).join(",") : s.value[i.value]);
19024
+ const { value: n, modelValue: r, mode: a, valueProp: i } = Ar(e), s = N(a.value !== "single" ? [] : {}), o = Nt(() => r.value !== void 0 ? r.value : n.value), A = D(() => a.value === "single" ? s.value[i.value] : s.value.map((c) => c[i.value])), l = Nt(() => a.value !== "single" ? s.value.map((c) => c[i.value]).join(",") : s.value[i.value]);
19025
19025
  return {
19026
19026
  iv: s,
19027
19027
  internalValue: s,
@@ -19125,7 +19125,7 @@ function KO(e, t, n) {
19125
19125
  canDeselect: F,
19126
19126
  max: P,
19127
19127
  strict: Q,
19128
- closeOnSelect: D,
19128
+ closeOnSelect: O,
19129
19129
  closeOnDeselect: z,
19130
19130
  groups: ae,
19131
19131
  reverse: ue,
@@ -19137,10 +19137,10 @@ function KO(e, t, n) {
19137
19137
  disabledProp: Be,
19138
19138
  searchStart: Ce,
19139
19139
  searchFilter: De
19140
- } = Ar(e), we = ra().proxy, de = n.iv, G = n.ev, pe = n.search, Xe = n.clearSearch, wt = n.update, Gt = n.pointer, dn = n.setPointer, on = n.clearPointer, wn = n.focus, ne = n.deactivate, Oe = n.close, Bn = n.localize, zt = N([]), Ht = N([]), jt = N(!1), I = N(null), U = N(J.value && s.value === -1 ? 10 : s.value), j = O({
19140
+ } = Ar(e), we = ra().proxy, de = n.iv, G = n.ev, pe = n.search, Xe = n.clearSearch, wt = n.update, Gt = n.pointer, dn = n.setPointer, on = n.clearPointer, wn = n.focus, ne = n.deactivate, Oe = n.close, Bn = n.localize, zt = N([]), Ht = N([]), jt = N(!1), I = N(null), U = N(J.value && s.value === -1 ? 10 : s.value), j = D({
19141
19141
  get: () => Ht.value,
19142
19142
  set: (M) => Ht.value = M
19143
- }), he = Nt(() => A.value || l.value || !1), Ge = Nt(() => u.value !== void 0 ? u.value : d.value !== void 0 ? d.value : !0), Le = O(() => {
19143
+ }), he = Nt(() => A.value || l.value || !1), Ge = Nt(() => u.value !== void 0 ? u.value : d.value !== void 0 ? d.value : !0), Le = D(() => {
19144
19144
  if (ae.value) {
19145
19145
  let M = q.value || /* istanbul ignore next */
19146
19146
  [], re = [];
@@ -19154,13 +19154,13 @@ function KO(e, t, n) {
19154
19154
  []);
19155
19155
  return zt.value.length && (M = M.concat(zt.value)), M;
19156
19156
  }
19157
- }), $e = O(() => {
19157
+ }), $e = D(() => {
19158
19158
  let M = Le.value;
19159
19159
  return ue.value && (M = M.reverse()), ge.value.length && (M = ge.value.concat(M)), $f(M);
19160
- }), V = O(() => {
19160
+ }), V = D(() => {
19161
19161
  let M = $e.value;
19162
19162
  return U.value > 0 && (M = M.slice(0, U.value)), M;
19163
- }), q = O(() => {
19163
+ }), q = D(() => {
19164
19164
  if (!ae.value)
19165
19165
  return [];
19166
19166
  let M = [], re = Ht.value || /* istanbul ignore next */
@@ -19170,14 +19170,14 @@ function KO(e, t, n) {
19170
19170
  [te.value]: [...zt.value],
19171
19171
  __CREATE__: !0
19172
19172
  }), M.concat(re);
19173
- }), Je = O(() => {
19173
+ }), Je = D(() => {
19174
19174
  let M = [...q.value].map((re) => ({ ...re }));
19175
19175
  return ge.value.length && (M[0] && M[0].__CREATE__ ? M[0][te.value] = [...ge.value, ...M[0][te.value]] : M = [{
19176
19176
  [S.value]: " ",
19177
19177
  [te.value]: [...ge.value],
19178
19178
  __CREATE__: !0
19179
19179
  }].concat(M)), M;
19180
- }), mt = O(() => {
19180
+ }), mt = D(() => {
19181
19181
  if (!ae.value)
19182
19182
  return [];
19183
19183
  let M = Je.value;
@@ -19192,7 +19192,7 @@ function KO(e, t, n) {
19192
19192
  __VISIBLE__: $f(qt).map((ts) => Object.assign({}, ts, re[Be.value] ? { [Be.value]: !0 } : {}))
19193
19193
  };
19194
19194
  }));
19195
- }), Hn = O(() => {
19195
+ }), Hn = D(() => {
19196
19196
  switch (a.value) {
19197
19197
  case "single":
19198
19198
  return !Gr(de.value[B.value]);
@@ -19200,12 +19200,12 @@ function KO(e, t, n) {
19200
19200
  case "tags":
19201
19201
  return !Gr(de.value) && de.value.length > 0;
19202
19202
  }
19203
- }), ii = O(() => f.value !== void 0 ? f.value(de.value, we) : de.value && de.value.length > 1 ? `${de.value.length} options selected` : "1 option selected"), zr = Nt(() => !Le.value.length && !jt.value && !ge.value.length), $ = Nt(() => Le.value.length > 0 && V.value.length == 0 && (pe.value && ae.value || !ae.value)), ge = O(() => he.value === !1 || !pe.value ? [] : GS(pe.value) !== -1 ? [] : [{
19203
+ }), ii = D(() => f.value !== void 0 ? f.value(de.value, we) : de.value && de.value.length > 1 ? `${de.value.length} options selected` : "1 option selected"), zr = Nt(() => !Le.value.length && !jt.value && !ge.value.length), $ = Nt(() => Le.value.length > 0 && V.value.length == 0 && (pe.value && ae.value || !ae.value)), ge = D(() => he.value === !1 || !pe.value ? [] : GS(pe.value) !== -1 ? [] : [{
19204
19204
  [B.value]: pe.value,
19205
19205
  [ke.value[0]]: pe.value,
19206
19206
  [c.value]: pe.value,
19207
19207
  __CREATE__: !0
19208
- }]), ke = O(() => i.value ? Array.isArray(i.value) ? i.value : [i.value] : [c.value]), At = Nt(() => {
19208
+ }]), ke = D(() => i.value ? Array.isArray(i.value) ? i.value : [i.value] : [c.value]), At = Nt(() => {
19209
19209
  switch (a.value) {
19210
19210
  case "single":
19211
19211
  return null;
@@ -19272,7 +19272,7 @@ function KO(e, t, n) {
19272
19272
  F.value && An(M), z.value && (on(), Oe());
19273
19273
  return;
19274
19274
  }
19275
- M && Vf(M), C.value && Xe(), D.value && (on(), Oe()), M && Vt(M);
19275
+ M && Vf(M), C.value && Xe(), O.value && (on(), Oe()), M && Vt(M);
19276
19276
  break;
19277
19277
  case "multiple":
19278
19278
  if (M && Nn(M)) {
@@ -19283,7 +19283,7 @@ function KO(e, t, n) {
19283
19283
  t.emit("max", we);
19284
19284
  return;
19285
19285
  }
19286
- M && (Vf(M), Vt(M)), C.value && Xe(), o.value && on(), D.value && Oe();
19286
+ M && (Vf(M), Vt(M)), C.value && Xe(), o.value && on(), O.value && Oe();
19287
19287
  break;
19288
19288
  case "tags":
19289
19289
  if (M && Nn(M)) {
@@ -19294,10 +19294,10 @@ function KO(e, t, n) {
19294
19294
  t.emit("max", we);
19295
19295
  return;
19296
19296
  }
19297
- M && Vf(M), C.value && Xe(), M && Vt(M), o.value && on(), D.value && Oe();
19297
+ M && Vf(M), C.value && Xe(), M && Vt(M), o.value && on(), O.value && Oe();
19298
19298
  break;
19299
19299
  }
19300
- D.value || wn();
19300
+ O.value || wn();
19301
19301
  }, VS = (M) => {
19302
19302
  if (!(Vr(M) || a.value === "single" || !Ae.value)) {
19303
19303
  switch (a.value) {
@@ -19308,7 +19308,7 @@ function KO(e, t, n) {
19308
19308
  ), o.value && Gt.value && dn(mt.value.filter((re) => !re[Be.value])[Gt.value.index]);
19309
19309
  break;
19310
19310
  }
19311
- D.value && ne();
19311
+ O.value && ne();
19312
19312
  }
19313
19313
  }, Vf = (M) => {
19314
19314
  ya(M[B.value]) === void 0 && he.value && (t.emit("tag", M[B.value], we), t.emit("option", M[B.value], we), t.emit("create", M[B.value], we), Ge.value && qS(M), Xe());
@@ -19452,23 +19452,23 @@ function WO(e, t, n) {
19452
19452
  groupSelect: l,
19453
19453
  disabledProp: c,
19454
19454
  groupOptions: u
19455
- } = Ar(e), d = n.fo, f = n.fg, p = n.handleOptionClick, h = n.handleGroupClick, v = n.search, g = n.pointer, b = n.setPointer, y = n.clearPointer, m = n.multiselect, C = n.isOpen, B = O(() => d.value.filter((G) => !G[c.value])), E = O(() => f.value.filter((G) => !G[c.value])), S = Nt(() => A.value !== "single" && l.value), F = Nt(() => g.value && g.value.group), P = O(() => we(g.value)), Q = O(() => {
19455
+ } = Ar(e), d = n.fo, f = n.fg, p = n.handleOptionClick, h = n.handleGroupClick, v = n.search, g = n.pointer, b = n.setPointer, y = n.clearPointer, m = n.multiselect, C = n.isOpen, B = D(() => d.value.filter((G) => !G[c.value])), E = D(() => f.value.filter((G) => !G[c.value])), S = Nt(() => A.value !== "single" && l.value), F = Nt(() => g.value && g.value.group), P = D(() => we(g.value)), Q = D(() => {
19456
19456
  const G = F.value ? g.value : (
19457
19457
  /* istanbul ignore next */
19458
19458
  we(g.value)
19459
19459
  ), pe = E.value.map((wt) => wt[s.value]).indexOf(G[s.value]);
19460
19460
  let Xe = E.value[pe - 1];
19461
19461
  return Xe === void 0 && (Xe = z.value), Xe;
19462
- }), D = O(() => {
19462
+ }), O = D(() => {
19463
19463
  let G = E.value.map((pe) => pe.label).indexOf(F.value ? g.value[s.value] : we(g.value)[s.value]) + 1;
19464
19464
  return E.value.length <= G && (G = 0), E.value[G];
19465
- }), z = O(() => [...E.value].slice(-1)[0]), ae = O(() => g.value.__VISIBLE__.filter((G) => !G[c.value])[0]), ue = O(() => {
19465
+ }), z = D(() => [...E.value].slice(-1)[0]), ae = D(() => g.value.__VISIBLE__.filter((G) => !G[c.value])[0]), ue = D(() => {
19466
19466
  const G = P.value.__VISIBLE__.filter((pe) => !pe[c.value]);
19467
19467
  return G[G.map((pe) => pe[r.value]).indexOf(g.value[r.value]) - 1];
19468
- }), J = O(() => {
19468
+ }), J = D(() => {
19469
19469
  const G = we(g.value).__VISIBLE__.filter((pe) => !pe[c.value]);
19470
19470
  return G[G.map((pe) => pe[r.value]).indexOf(g.value[r.value]) + 1];
19471
- }), te = O(() => [...Q.value.__VISIBLE__.filter((G) => !G[c.value])].slice(-1)[0]), Ee = O(() => [...z.value.__VISIBLE__.filter((G) => !G[c.value])].slice(-1)[0]), Ae = (G) => g.value && (!G.group && g.value[r.value] === G[r.value] || G.group !== void 0 && g.value[s.value] === G[s.value]) ? !0 : void 0, _e = () => {
19471
+ }), te = D(() => [...Q.value.__VISIBLE__.filter((G) => !G[c.value])].slice(-1)[0]), Ee = D(() => [...z.value.__VISIBLE__.filter((G) => !G[c.value])].slice(-1)[0]), Ae = (G) => g.value && (!G.group && g.value[r.value] === G[r.value] || G.group !== void 0 && g.value[s.value] === G[s.value]) ? !0 : void 0, _e = () => {
19472
19472
  b(B.value[0] || null);
19473
19473
  }, Be = () => {
19474
19474
  !g.value || g.value[c.value] === !0 || (F.value ? h(g.value) : p(g.value));
@@ -19477,7 +19477,7 @@ function WO(e, t, n) {
19477
19477
  b((o.value && S.value ? E.value[0].__CREATE__ ? B.value[0] : E.value[0] : B.value[0]) || null);
19478
19478
  else if (o.value && S.value) {
19479
19479
  let G = F.value ? ae.value : J.value;
19480
- G === void 0 && (G = D.value, G.__CREATE__ && (G = G[u.value][0])), b(G || /* istanbul ignore next */
19480
+ G === void 0 && (G = O.value, G.__CREATE__ && (G = G[u.value][0])), b(G || /* istanbul ignore next */
19481
19481
  null);
19482
19482
  } else {
19483
19483
  let G = B.value.map((pe) => pe[r.value]).indexOf(g.value[r.value]) + 1;
@@ -19901,10 +19901,10 @@ function Pm(e, t) {
19901
19901
  right: F.right - C.right + g.right
19902
19902
  }, Q = e.modifiersData.offset;
19903
19903
  if (d === vA && Q) {
19904
- var D = Q[a];
19904
+ var O = Q[a];
19905
19905
  Object.keys(P).forEach(function(z) {
19906
19906
  var ae = [Pi, sa].indexOf(z) >= 0 ? 1 : -1, ue = [Lr, sa].indexOf(z) >= 0 ? "y" : "x";
19907
- P[z] += D[ue] * ae;
19907
+ P[z] += O[ue] * ae;
19908
19908
  });
19909
19909
  }
19910
19910
  return P;
@@ -20101,14 +20101,14 @@ function iy(e) {
20101
20101
  }
20102
20102
  var Q = Object.assign({
20103
20103
  position: o
20104
- }, l && FL), D = c === !0 ? IL({
20104
+ }, l && FL), O = c === !0 ? IL({
20105
20105
  x: f,
20106
20106
  y: h
20107
20107
  }, or(n)) : {
20108
20108
  x: f,
20109
20109
  y: h
20110
20110
  };
20111
- if (f = D.x, h = D.y, A) {
20111
+ if (f = O.x, h = O.y, A) {
20112
20112
  var z;
20113
20113
  return Object.assign({}, Q, (z = {}, z[m] = b ? "0" : "", z[y] = g ? "0" : "", z.transform = (C.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + h + "px)" : "translate3d(" + f + "px, " + h + "px, 0)", z));
20114
20114
  }
@@ -20212,7 +20212,7 @@ function HL(e) {
20212
20212
  } : Object.assign({
20213
20213
  mainAxis: 0,
20214
20214
  altAxis: 0
20215
- }, F), Q = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, D = {
20215
+ }, F), Q = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, O = {
20216
20216
  x: 0,
20217
20217
  y: 0
20218
20218
  };
@@ -20222,13 +20222,13 @@ function HL(e) {
20222
20222
  width: 0,
20223
20223
  height: 0
20224
20224
  }, de = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : nC(), G = de[ae], pe = de[ue], Xe = ku(0, E[J], we[J]), wt = y ? E[J] / 2 - _e - Xe - G - P.mainAxis : Be - Xe - G - P.mainAxis, Gt = y ? -E[J] / 2 + _e + Xe + pe + P.mainAxis : Ce + Xe + pe + P.mainAxis, dn = t.elements.arrow && qd(t.elements.arrow), on = dn ? m === "y" ? dn.clientTop || 0 : dn.clientLeft || 0 : 0, wn = (z = Q == null ? void 0 : Q[m]) != null ? z : 0, ne = te + wt - wn - on, Oe = te + Gt - wn, Bn = ku(f ? td(Ee, ne) : Ee, te, f ? Cs(Ae, Oe) : Ae);
20225
- B[m] = Bn, D[m] = Bn - te;
20225
+ B[m] = Bn, O[m] = Bn - te;
20226
20226
  }
20227
20227
  if (o) {
20228
20228
  var zt, Ht = m === "x" ? Lr : Na, jt = m === "x" ? sa : Pi, I = B[C], U = C === "y" ? "height" : "width", j = I + v[Ht], he = I - v[jt], Ge = [Lr, Na].indexOf(g) !== -1, Le = (zt = Q == null ? void 0 : Q[C]) != null ? zt : 0, $e = Ge ? j : I - E[U] - S[U] - Le + P.altAxis, V = Ge ? I + E[U] + S[U] - Le - P.altAxis : he, q = f && Ge ? RL($e, I, V) : ku(f ? $e : j, I, f ? V : he);
20229
- B[C] = q, D[C] = q - I;
20229
+ B[C] = q, O[C] = q - I;
20230
20230
  }
20231
- t.modifiersData[r] = D;
20231
+ t.modifiersData[r] = O;
20232
20232
  }
20233
20233
  }
20234
20234
  var NL = {
@@ -20296,7 +20296,7 @@ function WL(e) {
20296
20296
  allowedAutoPlacements: h
20297
20297
  }) : de);
20298
20298
  }, []), C = t.rects.reference, B = t.rects.popper, E = /* @__PURE__ */ new Map(), S = !0, F = m[0], P = 0; P < m.length; P++) {
20299
- var Q = m[P], D = ki(Q), z = Ko(Q) === $o, ae = [Lr, sa].indexOf(D) >= 0, ue = ae ? "width" : "height", J = Pm(t, {
20299
+ var Q = m[P], O = ki(Q), z = Ko(Q) === $o, ae = [Lr, sa].indexOf(O) >= 0, ue = ae ? "width" : "height", J = Pm(t, {
20300
20300
  placement: Q,
20301
20301
  boundary: c,
20302
20302
  rootBoundary: u,
@@ -20305,7 +20305,7 @@ function WL(e) {
20305
20305
  }), te = ae ? z ? Pi : Na : z ? sa : Lr;
20306
20306
  C[ue] > B[ue] && (te = Su(te));
20307
20307
  var Ee = Su(te), Ae = [];
20308
- if (i && Ae.push(J[D] <= 0), o && Ae.push(J[te] <= 0, J[Ee] <= 0), Ae.every(function(we) {
20308
+ if (i && Ae.push(J[O] <= 0), o && Ae.push(J[te] <= 0, J[Ee] <= 0), Ae.every(function(we) {
20309
20309
  return we;
20310
20310
  })) {
20311
20311
  F = Q, S = !1;
@@ -20467,7 +20467,7 @@ function YL(e, t, n) {
20467
20467
  createTag: u,
20468
20468
  createOption: d,
20469
20469
  reverse: f
20470
- } = Ar(e), p = ra().proxy, h = n.iv, v = n.update, g = n.deselect, b = n.search, y = n.setPointer, m = n.selectPointer, C = n.backwardPointer, B = n.forwardPointer, E = n.multiselect, S = n.wrapper, F = n.tags, P = n.isOpen, Q = n.open, D = n.blur, z = n.fo, ae = Nt(() => u.value || d.value || !1), ue = Nt(() => a.value !== void 0 ? a.value : c.value !== void 0 ? c.value : ["enter"]), J = () => {
20470
+ } = Ar(e), p = ra().proxy, h = n.iv, v = n.update, g = n.deselect, b = n.search, y = n.setPointer, m = n.selectPointer, C = n.backwardPointer, B = n.forwardPointer, E = n.multiselect, S = n.wrapper, F = n.tags, P = n.isOpen, Q = n.open, O = n.blur, z = n.fo, ae = Nt(() => u.value || d.value || !1), ue = Nt(() => a.value !== void 0 ? a.value : c.value !== void 0 ? c.value : ["enter"]), J = () => {
20471
20471
  r.value === "tags" && !o.value && ae.value && s.value && !l.value && y(z.value[z.value.map((Ae) => Ae[A.value]).indexOf(b.value)]);
20472
20472
  };
20473
20473
  return {
@@ -20511,7 +20511,7 @@ function YL(e, t, n) {
20511
20511
  J(), m(), Ae.preventDefault();
20512
20512
  break;
20513
20513
  case "Escape":
20514
- D();
20514
+ O();
20515
20515
  break;
20516
20516
  case "ArrowUp":
20517
20517
  if (Ae.preventDefault(), !o.value)
@@ -20604,7 +20604,7 @@ function XL(e, t, n) {
20604
20604
  ...r.value
20605
20605
  })), g = Nt(() => !!(o.value && i.value && (!f.value || f.value && p.value.length)));
20606
20606
  return {
20607
- classList: O(() => {
20607
+ classList: D(() => {
20608
20608
  const y = v.value;
20609
20609
  return {
20610
20610
  container: [y.container].concat(a.value ? y.containerDisabled : []).concat(g.value && h.value === "top" ? y.containerOpenTop : []).concat(g.value && h.value !== "top" ? y.containerOpen : []).concat(u.value ? y.containerActive : []),
@@ -20691,17 +20691,17 @@ function ZL(e, t, n) {
20691
20691
  searchable: c
20692
20692
  } = Ar(e), u = n.pointer, d = n.iv, f = n.hasSelected, p = n.multipleLabelText, h = N(null), v = Nt(() => `${a.value ? a.value + "-" : ""}assist`), g = Nt(() => `${a.value ? a.value + "-" : ""}multiselect-options`), b = Nt(() => {
20693
20693
  if (u.value) {
20694
- let D = a.value ? `${a.value}-` : "";
20695
- return D += `${u.value.group ? "multiselect-group" : "multiselect-option"}-`, D += u.value.group ? u.value.index : u.value[i.value], D;
20694
+ let O = a.value ? `${a.value}-` : "";
20695
+ return O += `${u.value.group ? "multiselect-group" : "multiselect-option"}-`, O += u.value.group ? u.value.index : u.value[i.value], O;
20696
20696
  }
20697
- }), y = Nt(() => r.value), m = Nt(() => o.value !== "single"), C = O(() => o.value === "single" && f.value ? d.value[s.value] : o.value === "multiple" && f.value ? p.value : o.value === "tags" && f.value ? d.value.map((D) => D[s.value]).join(", ") : ""), B = O(() => {
20698
- let D = { ...l.value };
20699
- return c.value && (D["aria-labelledby"] = D["aria-labelledby"] ? `${v.value} ${D["aria-labelledby"]}` : v.value, C.value && D["aria-label"] && (D["aria-label"] = `${C.value}, ${D["aria-label"]}`)), D;
20700
- }), E = (D) => `${a.value ? a.value + "-" : ""}multiselect-option-${D[i.value]}`, S = (D) => `${a.value ? a.value + "-" : ""}multiselect-group-${D.index}`, F = (D) => `${D}`, P = (D) => `${D}`, Q = (D) => `${D} ❎`;
20697
+ }), y = Nt(() => r.value), m = Nt(() => o.value !== "single"), C = D(() => o.value === "single" && f.value ? d.value[s.value] : o.value === "multiple" && f.value ? p.value : o.value === "tags" && f.value ? d.value.map((O) => O[s.value]).join(", ") : ""), B = D(() => {
20698
+ let O = { ...l.value };
20699
+ return c.value && (O["aria-labelledby"] = O["aria-labelledby"] ? `${v.value} ${O["aria-labelledby"]}` : v.value, C.value && O["aria-label"] && (O["aria-label"] = `${C.value}, ${O["aria-label"]}`)), O;
20700
+ }), E = (O) => `${a.value ? a.value + "-" : ""}multiselect-option-${O[i.value]}`, S = (O) => `${a.value ? a.value + "-" : ""}multiselect-group-${O.index}`, F = (O) => `${O}`, P = (O) => `${O}`, Q = (O) => `${O} ❎`;
20701
20701
  return tt(() => {
20702
20702
  if (a.value && document && document.querySelector) {
20703
- let D = document.querySelector(`[for="${a.value}"]`);
20704
- h.value = D ? D.innerText : null;
20703
+ let O = document.querySelector(`[for="${a.value}"]`);
20704
+ h.value = O ? O.innerText : null;
20705
20705
  }
20706
20706
  }), {
20707
20707
  arias: B,
@@ -21758,7 +21758,7 @@ const Ya = /* @__PURE__ */ K(UQ, [["__scopeId", "data-v-ab68e9be"]]), DQ = {
21758
21758
  props: DQ,
21759
21759
  emits: ["clear:filterArray"],
21760
21760
  setup(e, { emit: t }) {
21761
- const n = e, r = t, a = O(() => n.filterArray && n.filterArray.length > 0 ? "clickable" : null);
21761
+ const n = e, r = t, a = D(() => n.filterArray && n.filterArray.length > 0 ? "clickable" : null);
21762
21762
  function i() {
21763
21763
  r("clear:filterArray");
21764
21764
  }
@@ -21851,7 +21851,7 @@ const ql = /* @__PURE__ */ K(NQ, [["__scopeId", "data-v-727f5a58"]]), zQ = {
21851
21851
  props: VQ,
21852
21852
  emits: ["update:isSelected"],
21853
21853
  setup(e, { emit: t }) {
21854
- const n = e, r = t, a = O(() => (console.log(n.icon), { content: n.icon }));
21854
+ const n = e, r = t, a = D(() => (console.log(n.icon), { content: n.icon }));
21855
21855
  function i() {
21856
21856
  r("update:isSelected", !n.isSelected);
21857
21857
  }
@@ -21885,7 +21885,7 @@ const Mn = /* @__PURE__ */ K(WQ, [["__scopeId", "data-v-ab8b99a4"]]), GQ = {
21885
21885
  props: GQ,
21886
21886
  emits: ["update:selectedOption"],
21887
21887
  setup(e, { emit: t }) {
21888
- const n = e, r = t, a = O(() => ({
21888
+ const n = e, r = t, a = D(() => ({
21889
21889
  left: `calc(var(--spacing-1) + (100% - calc(var(--spacing-1) * 2)) / ${n.options.length} * ${n.selectedOption})`,
21890
21890
  width: `calc((100% - calc(var(--spacing-1) * 2)) / ${n.options.length})`
21891
21891
  }));
@@ -21928,7 +21928,7 @@ const Xd = /* @__PURE__ */ K(JQ, [["__scopeId", "data-v-d5d9745a"]]), ZQ = { cla
21928
21928
  props: zQ,
21929
21929
  emits: ["update:filterArray"],
21930
21930
  setup(e, { emit: t }) {
21931
- const { t: n } = oe(), r = e, a = t, i = O(() => Re().dataJson.ranks.sort(
21931
+ const { t: n } = oe(), r = e, a = t, i = D(() => Re().dataJson.ranks.sort(
21932
21932
  (c, u) => u.order - c.order
21933
21933
  )), s = er(r.filterArray), o = N(0);
21934
21934
  be(s, () => {
@@ -22063,7 +22063,7 @@ const aC = /* @__PURE__ */ K(cM, [["__scopeId", "data-v-a94d786a"]]), uM = {
22063
22063
  props: uM,
22064
22064
  emits: ["update:filterArray"],
22065
22065
  setup(e, { emit: t }) {
22066
- const { t: n } = oe(), r = e, a = t, i = O(() => Re().dataJson.rarities.filter(
22066
+ const { t: n } = oe(), r = e, a = t, i = D(() => Re().dataJson.rarities.filter(
22067
22067
  (l) => l.nameRef !== "None"
22068
22068
  )), s = er(r.filterArray);
22069
22069
  be(s, () => {
@@ -22180,7 +22180,7 @@ const aC = /* @__PURE__ */ K(cM, [["__scopeId", "data-v-a94d786a"]]), uM = {
22180
22180
  props: yM,
22181
22181
  emits: ["update:filterArray"],
22182
22182
  setup(e, { emit: t }) {
22183
- const { t: n } = oe(), r = e, a = t, i = N(r.filterArray), s = O(() => Re().dataJson.keywords.filter(
22183
+ const { t: n } = oe(), r = e, a = t, i = N(r.filterArray), s = D(() => Re().dataJson.keywords.filter(
22184
22184
  (A) => A.showInFilter
22185
22185
  ));
22186
22186
  be(i, () => {
@@ -22297,7 +22297,7 @@ const aC = /* @__PURE__ */ K(cM, [["__scopeId", "data-v-a94d786a"]]), uM = {
22297
22297
  A && (s.value = A);
22298
22298
  const l = i.find((p) => p.startsWith("season_"));
22299
22299
  l && (o.value = l);
22300
- const c = O(() => r.allowZero && i.filter((p) => p.startsWith("patch")).length > 0 || !r.allowZero && i.filter((p) => !p.startsWith("patch")).length === 0);
22300
+ const c = D(() => r.allowZero && i.filter((p) => p.startsWith("patch")).length > 0 || !r.allowZero && i.filter((p) => !p.startsWith("patch")).length === 0);
22301
22301
  be(i, () => {
22302
22302
  a("update:filterArray", i);
22303
22303
  }), be(s, (p, h) => {
@@ -22405,7 +22405,7 @@ const aA = /* @__PURE__ */ K(FM, [["__scopeId", "data-v-921cb269"]]), IM = {
22405
22405
  props: TM,
22406
22406
  emits: ["update:cardCodes"],
22407
22407
  setup(e, { emit: t }) {
22408
- const { t: n } = oe(), r = e, a = t, i = N(r.cardCodes), s = O(() => {
22408
+ const { t: n } = oe(), r = e, a = t, i = N(r.cardCodes), s = D(() => {
22409
22409
  let o = c_().cardJson.sort(
22410
22410
  (A, l) => A.name.localeCompare(l.name)
22411
22411
  );
@@ -22565,10 +22565,10 @@ const Jd = /* @__PURE__ */ K(LM, [["__scopeId", "data-v-c93a9e90"]]), QM = {
22565
22565
  props: MM,
22566
22566
  emits: ["update:filterArray"],
22567
22567
  setup(e, { emit: t }) {
22568
- const { t: n } = oe(), r = e, a = t, i = O(() => {
22568
+ const { t: n } = oe(), r = e, a = t, i = D(() => {
22569
22569
  const d = Re().dataJson.queues;
22570
22570
  return Object.values(Re().dataJson.formats).filter((f) => f.availableQueues.some((p) => !d[p].excludeInMassFilter));
22571
- }), s = O(() => i.value.filter((d) => !d.inDropdown)), o = O(() => i.value.filter((d) => d.inDropdown)), A = er(r.filterArray), l = N(null);
22571
+ }), s = D(() => i.value.filter((d) => !d.inDropdown)), o = D(() => i.value.filter((d) => d.inDropdown)), A = er(r.filterArray), l = N(null);
22572
22572
  tt(() => {
22573
22573
  A.length > 0 && o.value.map((d) => d.nameRef).includes(A[0]) && (l.value = A[0]);
22574
22574
  }), be(A, () => {
@@ -22627,7 +22627,7 @@ const Xl = /* @__PURE__ */ K(RM, [["__scopeId", "data-v-22de9b40"]]), HM = {
22627
22627
  props: HM,
22628
22628
  emits: ["update:filterArray"],
22629
22629
  setup(e, { emit: t }) {
22630
- const { t: n } = oe(), r = e, a = t, i = N(r.filterArray), s = O(() => Object.values(Re().dataJson.queues).filter((A) => r.availableQueues.includes(A.nameRef) && !A.excludeInMassFilter));
22630
+ const { t: n } = oe(), r = e, a = t, i = N(r.filterArray), s = D(() => Object.values(Re().dataJson.queues).filter((A) => r.availableQueues.includes(A.nameRef) && !A.excludeInMassFilter));
22631
22631
  be(i, () => {
22632
22632
  a("update:filterArray", i.value);
22633
22633
  });
@@ -22678,7 +22678,7 @@ const Xl = /* @__PURE__ */ K(RM, [["__scopeId", "data-v-22de9b40"]]), HM = {
22678
22678
  props: NM,
22679
22679
  emits: ["clear:filterObject"],
22680
22680
  setup(e, { emit: t }) {
22681
- const n = e, r = t, a = O(() => n.filterObject && Object.values(n.filterObject).some((s) => s.length > 0) ? "clickable" : null);
22681
+ const n = e, r = t, a = D(() => n.filterObject && Object.values(n.filterObject).some((s) => s.length > 0) ? "clickable" : null);
22682
22682
  function i() {
22683
22683
  r("clear:filterObject");
22684
22684
  }
@@ -22707,7 +22707,7 @@ const Vs = /* @__PURE__ */ K($M, [["__scopeId", "data-v-6a93fcc1"]]), KM = /* @_
22707
22707
  be(a, () => {
22708
22708
  r("update:filters", a);
22709
22709
  });
22710
- const i = O(() => {
22710
+ const i = D(() => {
22711
22711
  var o;
22712
22712
  return (o = Re().dataJson.formats[a.formatFilters[0] ?? "Standard"]) == null ? void 0 : o.availableQueues;
22713
22713
  });
@@ -22834,7 +22834,7 @@ const nd = /* @__PURE__ */ K(qM, [["__scopeId", "data-v-e9c34cae"]]), YM = /* @_
22834
22834
  be(i, () => {
22835
22835
  a("update:filters", i);
22836
22836
  });
22837
- const s = O(() => {
22837
+ const s = D(() => {
22838
22838
  var A;
22839
22839
  return i.formatFilters.length === 0 ? [] : (A = Re().dataJson.formats[i.formatFilters[0] ?? "Standard"]) == null ? void 0 : A.availableQueues;
22840
22840
  });
@@ -23028,7 +23028,7 @@ const cC = /* @__PURE__ */ K(nP, [["__scopeId", "data-v-6c23ee29"]]), rP = {
23028
23028
  props: rP,
23029
23029
  emits: ["update:filterArray"],
23030
23030
  setup(e, { emit: t }) {
23031
- const { t: n } = oe(), r = e, a = t, i = O(() => Re().dataJson.types.filter(
23031
+ const { t: n } = oe(), r = e, a = t, i = D(() => Re().dataJson.types.filter(
23032
23032
  (l) => ["Unit", "Spell", "Landmark", "Equipment"].includes(l.nameRef)
23033
23033
  )), s = er(r.filterArray);
23034
23034
  be(s, () => {
@@ -23133,7 +23133,7 @@ const cC = /* @__PURE__ */ K(nP, [["__scopeId", "data-v-6c23ee29"]]), rP = {
23133
23133
  be(i, () => {
23134
23134
  a("update:filters", i);
23135
23135
  });
23136
- const s = O(() => {
23136
+ const s = D(() => {
23137
23137
  var A;
23138
23138
  return "formatFilters" in i ? (A = Re().dataJson.formats[i.formatFilters[0] ?? "Standard"]) == null ? void 0 : A.availableQueues : [];
23139
23139
  });
@@ -23237,7 +23237,7 @@ const Nm = /* @__PURE__ */ K(fP, [["__scopeId", "data-v-715107fe"]]), pP = { cla
23237
23237
  __name: "RegionItem",
23238
23238
  props: cP,
23239
23239
  setup(e) {
23240
- const t = e, n = N(null), r = N(null), a = O(() => Re().dataJson.regions.find(
23240
+ const t = e, n = N(null), r = N(null), a = D(() => Re().dataJson.regions.find(
23241
23241
  (i) => i.nameRef == t.regionRef
23242
23242
  ) ?? Re().dataJson.runeterraChampions.find(
23243
23243
  (i) => i.nameRef === t.regionRef
@@ -23295,7 +23295,7 @@ const Zd = /* @__PURE__ */ K(gP, [["__scopeId", "data-v-3d756f50"]]), mP = {
23295
23295
  __name: "RegionsLine",
23296
23296
  props: mP,
23297
23297
  setup(e) {
23298
- const { t } = oe(), n = e, r = O(() => n.deck ? n.deck : en(n.deckCode)), a = O(() => n.cards ? n.cards : Pn(r.value)), i = O(() => {
23298
+ const { t } = oe(), n = e, r = D(() => n.deck ? n.deck : en(n.deckCode)), a = D(() => n.cards ? n.cards : Pn(r.value)), i = D(() => {
23299
23299
  const o = {};
23300
23300
  for (const A of Dd(r.value))
23301
23301
  o[A] = 0;
@@ -23436,7 +23436,7 @@ const dC = /* @__PURE__ */ K(wP, [["__scopeId", "data-v-f1f94f8b"]]), BP = {
23436
23436
  __name: "CardsRow",
23437
23437
  props: BP,
23438
23438
  setup(e) {
23439
- const t = e, n = O(() => ["", He().callbacks.cardImageCallback(t.cardCode, Wt.Banner)]);
23439
+ const t = e, n = D(() => ["", He().callbacks.cardImageCallback(t.cardCode, Wt.Banner)]);
23440
23440
  return (r, a) => {
23441
23441
  const i = sn("RouterLink");
23442
23442
  return w(), R(i, {
@@ -23561,7 +23561,7 @@ const pC = /* @__PURE__ */ K(LP, [["render", MP], ["__scopeId", "data-v-91218ab0
23561
23561
  setup(e, { emit: t }) {
23562
23562
  const { t: n } = oe(), r = e, a = t, i = {
23563
23563
  "--background-image": `url(${He().callbacks.cardImageCallback("01FR008", Wt.Full)})`
23564
- }, s = O(() => r.headingItems.filter((o) => o.isShown));
23564
+ }, s = D(() => r.headingItems.filter((o) => o.isShown));
23565
23565
  return (o, A) => (w(), x("div", PP, [
23566
23566
  _("div", RP, [
23567
23567
  A[0] || (A[0] = _("div", { class: "heading-background-outer" }, [
@@ -23694,7 +23694,7 @@ const WP = /* @__PURE__ */ H({
23694
23694
  title: c.title
23695
23695
  };
23696
23696
  })
23697
- ), A = O(() => ({ "--table-grid-template-columns": `repeat(${Object.values(r.cardsRowToggle).reduce(
23697
+ ), A = D(() => ({ "--table-grid-template-columns": `repeat(${Object.values(r.cardsRowToggle).reduce(
23698
23698
  (u, d) => d ? u + 1 : u,
23699
23699
  0
23700
23700
  )}, 1fr)` }));
@@ -23775,7 +23775,7 @@ const hC = /* @__PURE__ */ K(XP, [["render", ZP]]), e7 = {
23775
23775
  __name: "GemsCost",
23776
23776
  props: e7,
23777
23777
  setup(e) {
23778
- const { t } = oe(), n = e, r = N(null), a = N(null), i = O(() => Ku(n.deck, !1)), s = O(() => Ku(n.deck, !0));
23778
+ const { t } = oe(), n = e, r = N(null), a = N(null), i = D(() => Ku(n.deck, !1)), s = D(() => Ku(n.deck, !0));
23779
23779
  return tt(() => {
23780
23780
  bt(r.value, {
23781
23781
  content: a.value,
@@ -23825,7 +23825,7 @@ const gC = /* @__PURE__ */ K(s7, [["__scopeId", "data-v-25f680e9"]]), o7 = { cla
23825
23825
  tr: "Türkçe",
23826
23826
  ru: "Русский",
23827
23827
  zh: "中文"
23828
- }, a = tA(), i = N(!1), s = O(() => n.sort((A) => A === t.value ? -1 : 1));
23828
+ }, a = tA(), i = N(!1), s = D(() => n.sort((A) => A === t.value ? -1 : 1));
23829
23829
  function o() {
23830
23830
  i.value = !0;
23831
23831
  }
@@ -23908,10 +23908,10 @@ const rd = /* @__PURE__ */ K(l7, [["__scopeId", "data-v-8a6f5e0d"]]), c7 = {
23908
23908
  __name: "CircleCardItem",
23909
23909
  props: mC,
23910
23910
  setup(e) {
23911
- const t = e, n = Bs(t.cardProp, t.cardCodeProp, !0), r = N(null), a = N(null), i = N(null), s = N(null), o = O(() => {
23911
+ const t = e, n = Bs(t.cardProp, t.cardCodeProp, !0), r = N(null), a = N(null), i = N(null), s = N(null), o = D(() => {
23912
23912
  var l;
23913
23913
  return He().callbacks.cardImageCallback(((l = n.value) == null ? void 0 : l.cardCode) ?? "", Wt.Icon);
23914
- }), A = O(() => n.value === void 0 ? "--color-primary-2" : ps(n.value, t.regions));
23914
+ }), A = D(() => n.value === void 0 ? "--color-primary-2" : ps(n.value, t.regions));
23915
23915
  return tt(() => {
23916
23916
  t.ignoreCardItem || bt(r.value, {
23917
23917
  content: a.value,
@@ -23991,7 +23991,7 @@ const Xi = /* @__PURE__ */ K(f7, [["__scopeId", "data-v-3ea9e838"]]), p7 = {
23991
23991
  __name: "DeckHighlightCards",
23992
23992
  props: p7,
23993
23993
  setup(e) {
23994
- const t = e, n = O(() => {
23994
+ const t = e, n = D(() => {
23995
23995
  if (t.cards)
23996
23996
  return t.cards;
23997
23997
  if (t.cardCodes)
@@ -28885,15 +28885,15 @@ class Ks extends Rn {
28885
28885
  const n = this.axis, r = this.chart, a = this.options, { grid: i, position: s, border: o } = a, A = i.offset, l = this.isHorizontal(), u = this.ticks.length + (A ? 1 : 0), d = BA(i), f = [], p = o.setContext(this.getContext()), h = p.display ? p.width : 0, v = h / 2, g = function(J) {
28886
28886
  return as(r, J, h);
28887
28887
  };
28888
- let b, y, m, C, B, E, S, F, P, Q, D, z;
28888
+ let b, y, m, C, B, E, S, F, P, Q, O, z;
28889
28889
  if (s === "top")
28890
28890
  b = g(this.bottom), E = this.bottom - d, F = b - v, Q = g(t.top) + v, z = t.bottom;
28891
28891
  else if (s === "bottom")
28892
28892
  b = g(this.top), Q = t.top, z = g(t.bottom) - v, E = b + v, F = this.top + d;
28893
28893
  else if (s === "left")
28894
- b = g(this.right), B = this.right - d, S = b - v, P = g(t.left) + v, D = t.right;
28894
+ b = g(this.right), B = this.right - d, S = b - v, P = g(t.left) + v, O = t.right;
28895
28895
  else if (s === "right")
28896
- b = g(this.left), P = t.left, D = g(t.right) - v, B = b + v, S = this.left + d;
28896
+ b = g(this.left), P = t.left, O = g(t.right) - v, B = b + v, S = this.left + d;
28897
28897
  else if (n === "x") {
28898
28898
  if (s === "center")
28899
28899
  b = g((t.top + t.bottom) / 2 + 0.5);
@@ -28909,19 +28909,19 @@ class Ks extends Rn {
28909
28909
  const J = Object.keys(s)[0], te = s[J];
28910
28910
  b = g(this.chart.scales[J].getPixelForValue(te));
28911
28911
  }
28912
- B = b - v, S = B - d, P = t.left, D = t.right;
28912
+ B = b - v, S = B - d, P = t.left, O = t.right;
28913
28913
  }
28914
28914
  const ae = Ie(a.ticks.maxTicksLimit, u), ue = Math.max(1, Math.ceil(u / ae));
28915
28915
  for (y = 0; y < u; y += ue) {
28916
28916
  const J = this.getContext(y), te = i.setContext(J), Ee = o.setContext(J), Ae = te.lineWidth, _e = te.color, Be = Ee.dash || [], Ce = Ee.dashOffset, De = te.tickWidth, we = te.tickColor, de = te.tickBorderDash || [], G = te.tickBorderDashOffset;
28917
- m = uH(this, y, A), m !== void 0 && (C = as(r, m, Ae), l ? B = S = P = D = C : E = F = Q = z = C, f.push({
28917
+ m = uH(this, y, A), m !== void 0 && (C = as(r, m, Ae), l ? B = S = P = O = C : E = F = Q = z = C, f.push({
28918
28918
  tx1: B,
28919
28919
  ty1: E,
28920
28920
  tx2: S,
28921
28921
  ty2: F,
28922
28922
  x1: P,
28923
28923
  y1: Q,
28924
- x2: D,
28924
+ x2: O,
28925
28925
  y2: z,
28926
28926
  width: Ae,
28927
28927
  color: _e,
@@ -28937,7 +28937,7 @@ class Ks extends Rn {
28937
28937
  }
28938
28938
  _computeLabelItems(t) {
28939
28939
  const n = this.axis, r = this.options, { position: a, ticks: i } = r, s = this.isHorizontal(), o = this.ticks, { align: A, crossAlign: l, padding: c, mirror: u } = i, d = BA(r.grid), f = d + c, p = u ? -c : f, h = -an(this.labelRotation), v = [];
28940
- let g, b, y, m, C, B, E, S, F, P, Q, D, z = "middle";
28940
+ let g, b, y, m, C, B, E, S, F, P, Q, O, z = "middle";
28941
28941
  if (a === "top")
28942
28942
  B = this.bottom - p, E = this._getXAxisLabelAlignment();
28943
28943
  else if (a === "bottom")
@@ -28973,11 +28973,11 @@ class Ks extends Rn {
28973
28973
  S = this.getPixelForTick(g) + i.labelOffset, F = this._resolveTickFontOptions(g), P = F.lineHeight, Q = it(m) ? m.length : 1;
28974
28974
  const J = Q / 2, te = ue.color, Ee = ue.textStrokeColor, Ae = ue.textStrokeWidth;
28975
28975
  let _e = E;
28976
- s ? (C = S, E === "inner" && (g === b - 1 ? _e = this.options.reverse ? "left" : "right" : g === 0 ? _e = this.options.reverse ? "right" : "left" : _e = "center"), a === "top" ? l === "near" || h !== 0 ? D = -Q * P + P / 2 : l === "center" ? D = -ae.highest.height / 2 - J * P + P : D = -ae.highest.height + P / 2 : l === "near" || h !== 0 ? D = P / 2 : l === "center" ? D = ae.highest.height / 2 - J * P : D = ae.highest.height - Q * P, u && (D *= -1), h !== 0 && !ue.showLabelBackdrop && (C += P / 2 * Math.sin(h))) : (B = S, D = (1 - Q) * P / 2);
28976
+ s ? (C = S, E === "inner" && (g === b - 1 ? _e = this.options.reverse ? "left" : "right" : g === 0 ? _e = this.options.reverse ? "right" : "left" : _e = "center"), a === "top" ? l === "near" || h !== 0 ? O = -Q * P + P / 2 : l === "center" ? O = -ae.highest.height / 2 - J * P + P : O = -ae.highest.height + P / 2 : l === "near" || h !== 0 ? O = P / 2 : l === "center" ? O = ae.highest.height / 2 - J * P : O = ae.highest.height - Q * P, u && (O *= -1), h !== 0 && !ue.showLabelBackdrop && (C += P / 2 * Math.sin(h))) : (B = S, O = (1 - Q) * P / 2);
28977
28977
  let Be;
28978
28978
  if (ue.showLabelBackdrop) {
28979
28979
  const Ce = tn(ue.backdropPadding), De = ae.heights[g], we = ae.widths[g];
28980
- let de = D - Ce.top, G = 0 - Ce.left;
28980
+ let de = O - Ce.top, G = 0 - Ce.left;
28981
28981
  switch (z) {
28982
28982
  case "middle":
28983
28983
  de -= De / 2;
@@ -29008,7 +29008,7 @@ class Ks extends Rn {
29008
29008
  v.push({
29009
29009
  label: m,
29010
29010
  font: F,
29011
- textOffset: D,
29011
+ textOffset: O,
29012
29012
  options: {
29013
29013
  rotation: h,
29014
29014
  color: te,
@@ -30228,16 +30228,16 @@ function ud(e, t, n, r, a, i) {
30228
30228
  const ue = c > 0 ? c - r : 0, J = u > 0 ? u - r : 0, te = (ue + J) / 2, Ee = te !== 0 ? p * te / (te + r) : p;
30229
30229
  f = (p - Ee) / 2;
30230
30230
  }
30231
- const h = Math.max(1e-3, p * u - n / Me) / u, v = (p - h) / 2, g = A + v + f, b = a - v - f, { outerStart: y, outerEnd: m, innerStart: C, innerEnd: B } = VH(t, d, u, b - g), E = u - y, S = u - m, F = g + y / E, P = b - m / S, Q = d + C, D = d + B, z = g + C / Q, ae = b - B / D;
30231
+ const h = Math.max(1e-3, p * u - n / Me) / u, v = (p - h) / 2, g = A + v + f, b = a - v - f, { outerStart: y, outerEnd: m, innerStart: C, innerEnd: B } = VH(t, d, u, b - g), E = u - y, S = u - m, F = g + y / E, P = b - m / S, Q = d + C, O = d + B, z = g + C / Q, ae = b - B / O;
30232
30232
  if (e.beginPath(), i) {
30233
30233
  const ue = (F + P) / 2;
30234
30234
  if (e.arc(s, o, u, F, ue), e.arc(s, o, u, ue, P), m > 0) {
30235
30235
  const Ae = ro(S, P, s, o);
30236
30236
  e.arc(Ae.x, Ae.y, m, P, b + Tt);
30237
30237
  }
30238
- const J = ro(D, b, s, o);
30238
+ const J = ro(O, b, s, o);
30239
30239
  if (e.lineTo(J.x, J.y), B > 0) {
30240
- const Ae = ro(D, ae, s, o);
30240
+ const Ae = ro(O, ae, s, o);
30241
30241
  e.arc(Ae.x, Ae.y, B, b + Tt, ae + Math.PI);
30242
30242
  }
30243
30243
  const te = (b - B / d + (g + C / d)) / 2;
@@ -31404,16 +31404,16 @@ class d2 extends Rn {
31404
31404
  pointStyle: S.pointStyle,
31405
31405
  rotation: S.rotation,
31406
31406
  borderWidth: F
31407
- }, Q = A.xPlus(B, p / 2), D = E + d;
31408
- UC(a, P, Q, D, s.pointStyleWidth && p);
31407
+ }, Q = A.xPlus(B, p / 2), O = E + d;
31408
+ UC(a, P, Q, O, s.pointStyleWidth && p);
31409
31409
  } else {
31410
- const P = E + Math.max((u - h) / 2, 0), Q = A.leftForLtr(B, p), D = xi(S.borderRadius);
31411
- a.beginPath(), Object.values(D).some((z) => z !== 0) ? Go(a, {
31410
+ const P = E + Math.max((u - h) / 2, 0), Q = A.leftForLtr(B, p), O = xi(S.borderRadius);
31411
+ a.beginPath(), Object.values(O).some((z) => z !== 0) ? Go(a, {
31412
31412
  x: Q,
31413
31413
  y: P,
31414
31414
  w: p,
31415
31415
  h,
31416
- radius: D
31416
+ radius: O
31417
31417
  }) : a.rect(Q, P, p, h), a.fill(), F !== 0 && a.stroke();
31418
31418
  }
31419
31419
  a.restore();
@@ -31436,10 +31436,10 @@ class d2 extends Rn {
31436
31436
  this.legendItems.forEach((B, E) => {
31437
31437
  a.strokeStyle = B.fontColor, a.fillStyle = B.fontColor;
31438
31438
  const S = a.measureText(B.text).width, F = A.textAlign(B.textAlign || (B.textAlign = s.textAlign)), P = p + d + S;
31439
- let Q = f.x, D = f.y;
31440
- A.setWidth(this.width), y ? E > 0 && Q + P + c > this.right && (D = f.y += C, f.line++, Q = f.x = kn(i, this.left + c, this.right - r[f.line])) : E > 0 && D + C > this.bottom && (Q = f.x = Q + n[f.line].width + c, f.line++, D = f.y = kn(i, this.top + m + c, this.bottom - n[f.line].height));
31439
+ let Q = f.x, O = f.y;
31440
+ A.setWidth(this.width), y ? E > 0 && Q + P + c > this.right && (O = f.y += C, f.line++, Q = f.x = kn(i, this.left + c, this.right - r[f.line])) : E > 0 && O + C > this.bottom && (Q = f.x = Q + n[f.line].width + c, f.line++, O = f.y = kn(i, this.top + m + c, this.bottom - n[f.line].height));
31441
31441
  const z = A.x(Q);
31442
- if (g(z, D, B), Q = i9(F, Q + p + d, y ? Q + P : this.right, t.rtl), b(A.x(Q), D, B), y)
31442
+ if (g(z, O, B), Q = i9(F, Q + p + d, y ? Q + P : this.right, t.rtl), b(A.x(Q), O, B), y)
31443
31443
  f.x += P + c;
31444
31444
  else if (typeof B.text != "string") {
31445
31445
  const ae = l.lineHeight;
@@ -32380,11 +32380,11 @@ function iz(e, t) {
32380
32380
  for (g && (d && E !== s ? (n.push({
32381
32381
  value: s
32382
32382
  }), E < s && Q++, el(Math.round((E + Q * C) * B) / B, s, y2(s, m, e)) && Q++) : E < s && Q++); Q < F; ++Q) {
32383
- const D = Math.round((E + Q * C) * B) / B;
32384
- if (b && D > o)
32383
+ const O = Math.round((E + Q * C) * B) / B;
32384
+ if (b && O > o)
32385
32385
  break;
32386
32386
  n.push({
32387
- value: D
32387
+ value: O
32388
32388
  });
32389
32389
  }
32390
32390
  return b && d && S !== o ? n.length && el(n[n.length - 1].value, o, y2(o, m, e)) ? n[n.length - 1].value = o : n.push({
@@ -34143,7 +34143,7 @@ const pg = /* @__PURE__ */ H({
34143
34143
  setup(e) {
34144
34144
  const t = N(null);
34145
34145
  at.register(...ua);
34146
- const n = e, r = O(() => {
34146
+ const n = e, r = D(() => {
34147
34147
  const i = n.info === "typeRef" ? "types" : "rarities", s = {}, o = en(n.deckCode);
34148
34148
  for (const l in o) {
34149
34149
  const c = Jn().cardJsonObject[l];
@@ -38978,13 +38978,13 @@ const If = /* @__PURE__ */ H({
38978
38978
  topRight: 9999,
38979
38979
  bottomLeft: 9999,
38980
38980
  bottomRight: 9999
38981
- }, i = O(() => ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+"]), s = O(() => {
38981
+ }, i = D(() => ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+"]), s = D(() => {
38982
38982
  if (console.log(r.deck), r.deck)
38983
38983
  return r.deck;
38984
38984
  if (console.log(r.deckCode), r.deckCode)
38985
38985
  return en(r.deckCode);
38986
38986
  throw console.log("props.deckCode"), new Error("Deck or DeckCode must be defined");
38987
- }), o = O(() => {
38987
+ }), o = D(() => {
38988
38988
  const c = {}, u = Dd(s.value);
38989
38989
  for (const d of u)
38990
38990
  c[d] = i.value.map(() => 0);
@@ -39000,7 +39000,7 @@ const If = /* @__PURE__ */ H({
39000
39000
  c[p][f.cost] += s.value[d];
39001
39001
  }
39002
39002
  return c;
39003
- }), A = O(() => {
39003
+ }), A = D(() => {
39004
39004
  const c = [];
39005
39005
  for (let u = 0; u < Object.keys(o.value).length; u++) {
39006
39006
  const d = Object.keys(o.value)[u];
@@ -39175,9 +39175,9 @@ const AZ = /* @__PURE__ */ K(oZ, [["__scopeId", "data-v-9743903e"]]), lZ = /* @_
39175
39175
  props: v7,
39176
39176
  emits: ["update:filters"],
39177
39177
  setup(e, { emit: t }) {
39178
- const { t: n } = oe(), r = e, a = t, i = er(r.filters), s = O(() => Sx(r.deckcode)), o = O(() => Object.keys(en(r.deckcode)).filter(
39178
+ const { t: n } = oe(), r = e, a = t, i = er(r.filters), s = D(() => Sx(r.deckcode)), o = D(() => Object.keys(en(r.deckcode)).filter(
39179
39179
  (c) => Do(Jn().cardJsonObject[c])
39180
- )), A = O(() => {
39180
+ )), A = D(() => {
39181
39181
  var c;
39182
39182
  return (c = Re().dataJson.formats[i.formatFilters[0] ?? "Standard"]) == null ? void 0 : c.availableQueues;
39183
39183
  });
@@ -39306,7 +39306,7 @@ const cZ = /* @__PURE__ */ K(lZ, [["__scopeId", "data-v-b95c4f38"]]), uZ = {
39306
39306
  __name: "DeckSummary",
39307
39307
  props: uZ,
39308
39308
  setup(e) {
39309
- const t = e, n = O(() => t.cardsProp ? t.cardsProp : Pn(t.deck)), r = O(() => Od(n.value)), a = O(() => n.value.filter((c) => Do(c))), i = O(() => n.value.filter((c) => c.typeRef === "Unit" && c.supertype === "")), s = O(() => n.value.filter((c) => c.typeRef === "Spell")), o = O(() => n.value.filter((c) => c.typeRef === "Landmark")), A = O(() => n.value.filter((c) => c.typeRef === "Equipment"));
39309
+ const t = e, n = D(() => t.cardsProp ? t.cardsProp : Pn(t.deck)), r = D(() => Od(n.value)), a = D(() => n.value.filter((c) => Do(c))), i = D(() => n.value.filter((c) => c.typeRef === "Unit" && c.supertype === "")), s = D(() => n.value.filter((c) => c.typeRef === "Spell")), o = D(() => n.value.filter((c) => c.typeRef === "Landmark")), A = D(() => n.value.filter((c) => c.typeRef === "Equipment"));
39310
39310
  function l(c) {
39311
39311
  return c.reduce((u, d) => u + t.deck[d.cardCode], 0);
39312
39312
  }
@@ -39621,13 +39621,13 @@ const i3 = /* @__PURE__ */ K($Z, [["__scopeId", "data-v-b921ee68"]]), KZ = {
39621
39621
  __name: "SimulateMulligan",
39622
39622
  props: GZ,
39623
39623
  setup(e) {
39624
- const { t } = oe(), n = e, r = O(() => {
39624
+ const { t } = oe(), n = e, r = D(() => {
39625
39625
  const l = [];
39626
39626
  for (const c in n.deck)
39627
39627
  for (let u = 0; u < n.deck[c]; u++)
39628
39628
  l.push(c);
39629
39629
  return l;
39630
- }), a = O(() => {
39630
+ }), a = D(() => {
39631
39631
  const l = Array.from(r.value);
39632
39632
  for (const c of i.value)
39633
39633
  c !== null && l.splice(
@@ -39776,7 +39776,7 @@ const l3 = /* @__PURE__ */ K(tee, [["render", ree]]), aee = {
39776
39776
  __name: "UploadDeckToLorButton",
39777
39777
  props: aee,
39778
39778
  setup(e) {
39779
- const { t } = oe(), n = e, r = O(() => Ln().user ? t("deck.uploadDeckToLor") : t("deck.signInToUpload")), a = N(null);
39779
+ const { t } = oe(), n = e, r = D(() => Ln().user ? t("deck.uploadDeckToLor") : t("deck.signInToUpload")), a = N(null);
39780
39780
  let i;
39781
39781
  function s() {
39782
39782
  Ln().user && He().callbacks.uploadDeckToLorCallback(
@@ -39871,7 +39871,7 @@ const j1 = /* @__PURE__ */ K(iee, [["__scopeId", "data-v-b942bc9b"]]), see = { c
39871
39871
  props: u3,
39872
39872
  emits: ["click:share", "click:edit-name", "click:update-privacy", "click:delete"],
39873
39873
  setup(e, { emit: t }) {
39874
- const { t: n } = oe(), r = e, a = t, i = O(() => en(r.deckCode));
39874
+ const { t: n } = oe(), r = e, a = t, i = D(() => en(r.deckCode));
39875
39875
  return console.log(i), (s, o) => (w(), x("div", oee, [
39876
39876
  r.showButtons.deleteDeck || r.showButtons.updateDeckPrivacy || r.showButtons.editDeckName ? (w(), x("div", Aee, [
39877
39877
  r.showButtons.deleteDeck ? (w(), R(r3, {
@@ -43839,8 +43839,8 @@ var zae = function(e, t) {
43839
43839
  v.push((i + A) / r.width), v.push((p + u) / r.width), v.push((s + h) / r.height), v.push((l + d) / r.height);
43840
43840
  var g = Math.max.apply(Math, v);
43841
43841
  g > 1 && (i /= g, s /= g, A /= g, l /= g, u /= g, d /= g, p /= g, h /= g);
43842
- var b = r.width - A, y = r.height - d, m = r.width - u, C = r.height - h, B = n.borderTopWidth, E = n.borderRightWidth, S = n.borderBottomWidth, F = n.borderLeftWidth, P = Ct(n.paddingTop, t.bounds.width), Q = Ct(n.paddingRight, t.bounds.width), D = Ct(n.paddingBottom, t.bounds.width), z = Ct(n.paddingLeft, t.bounds.width);
43843
- this.topLeftBorderDoubleOuterBox = i > 0 || s > 0 ? Ot(r.left + F / 3, r.top + B / 3, i - F / 3, s - B / 3, ct.TOP_LEFT) : new fe(r.left + F / 3, r.top + B / 3), this.topRightBorderDoubleOuterBox = i > 0 || s > 0 ? Ot(r.left + b, r.top + B / 3, A - E / 3, l - B / 3, ct.TOP_RIGHT) : new fe(r.left + r.width - E / 3, r.top + B / 3), this.bottomRightBorderDoubleOuterBox = u > 0 || d > 0 ? Ot(r.left + m, r.top + y, u - E / 3, d - S / 3, ct.BOTTOM_RIGHT) : new fe(r.left + r.width - E / 3, r.top + r.height - S / 3), this.bottomLeftBorderDoubleOuterBox = p > 0 || h > 0 ? Ot(r.left + F / 3, r.top + C, p - F / 3, h - S / 3, ct.BOTTOM_LEFT) : new fe(r.left + F / 3, r.top + r.height - S / 3), this.topLeftBorderDoubleInnerBox = i > 0 || s > 0 ? Ot(r.left + F * 2 / 3, r.top + B * 2 / 3, i - F * 2 / 3, s - B * 2 / 3, ct.TOP_LEFT) : new fe(r.left + F * 2 / 3, r.top + B * 2 / 3), this.topRightBorderDoubleInnerBox = i > 0 || s > 0 ? Ot(r.left + b, r.top + B * 2 / 3, A - E * 2 / 3, l - B * 2 / 3, ct.TOP_RIGHT) : new fe(r.left + r.width - E * 2 / 3, r.top + B * 2 / 3), this.bottomRightBorderDoubleInnerBox = u > 0 || d > 0 ? Ot(r.left + m, r.top + y, u - E * 2 / 3, d - S * 2 / 3, ct.BOTTOM_RIGHT) : new fe(r.left + r.width - E * 2 / 3, r.top + r.height - S * 2 / 3), this.bottomLeftBorderDoubleInnerBox = p > 0 || h > 0 ? Ot(r.left + F * 2 / 3, r.top + C, p - F * 2 / 3, h - S * 2 / 3, ct.BOTTOM_LEFT) : new fe(r.left + F * 2 / 3, r.top + r.height - S * 2 / 3), this.topLeftBorderStroke = i > 0 || s > 0 ? Ot(r.left + F / 2, r.top + B / 2, i - F / 2, s - B / 2, ct.TOP_LEFT) : new fe(r.left + F / 2, r.top + B / 2), this.topRightBorderStroke = i > 0 || s > 0 ? Ot(r.left + b, r.top + B / 2, A - E / 2, l - B / 2, ct.TOP_RIGHT) : new fe(r.left + r.width - E / 2, r.top + B / 2), this.bottomRightBorderStroke = u > 0 || d > 0 ? Ot(r.left + m, r.top + y, u - E / 2, d - S / 2, ct.BOTTOM_RIGHT) : new fe(r.left + r.width - E / 2, r.top + r.height - S / 2), this.bottomLeftBorderStroke = p > 0 || h > 0 ? Ot(r.left + F / 2, r.top + C, p - F / 2, h - S / 2, ct.BOTTOM_LEFT) : new fe(r.left + F / 2, r.top + r.height - S / 2), this.topLeftBorderBox = i > 0 || s > 0 ? Ot(r.left, r.top, i, s, ct.TOP_LEFT) : new fe(r.left, r.top), this.topRightBorderBox = A > 0 || l > 0 ? Ot(r.left + b, r.top, A, l, ct.TOP_RIGHT) : new fe(r.left + r.width, r.top), this.bottomRightBorderBox = u > 0 || d > 0 ? Ot(r.left + m, r.top + y, u, d, ct.BOTTOM_RIGHT) : new fe(r.left + r.width, r.top + r.height), this.bottomLeftBorderBox = p > 0 || h > 0 ? Ot(r.left, r.top + C, p, h, ct.BOTTOM_LEFT) : new fe(r.left, r.top + r.height), this.topLeftPaddingBox = i > 0 || s > 0 ? Ot(r.left + F, r.top + B, Math.max(0, i - F), Math.max(0, s - B), ct.TOP_LEFT) : new fe(r.left + F, r.top + B), this.topRightPaddingBox = A > 0 || l > 0 ? Ot(r.left + Math.min(b, r.width - E), r.top + B, b > r.width + E ? 0 : Math.max(0, A - E), Math.max(0, l - B), ct.TOP_RIGHT) : new fe(r.left + r.width - E, r.top + B), this.bottomRightPaddingBox = u > 0 || d > 0 ? Ot(r.left + Math.min(m, r.width - F), r.top + Math.min(y, r.height - S), Math.max(0, u - E), Math.max(0, d - S), ct.BOTTOM_RIGHT) : new fe(r.left + r.width - E, r.top + r.height - S), this.bottomLeftPaddingBox = p > 0 || h > 0 ? Ot(r.left + F, r.top + Math.min(C, r.height - S), Math.max(0, p - F), Math.max(0, h - S), ct.BOTTOM_LEFT) : new fe(r.left + F, r.top + r.height - S), this.topLeftContentBox = i > 0 || s > 0 ? Ot(r.left + F + z, r.top + B + P, Math.max(0, i - (F + z)), Math.max(0, s - (B + P)), ct.TOP_LEFT) : new fe(r.left + F + z, r.top + B + P), this.topRightContentBox = A > 0 || l > 0 ? Ot(r.left + Math.min(b, r.width + F + z), r.top + B + P, b > r.width + F + z ? 0 : A - F + z, l - (B + P), ct.TOP_RIGHT) : new fe(r.left + r.width - (E + Q), r.top + B + P), this.bottomRightContentBox = u > 0 || d > 0 ? Ot(r.left + Math.min(m, r.width - (F + z)), r.top + Math.min(y, r.height + B + P), Math.max(0, u - (E + Q)), d - (S + D), ct.BOTTOM_RIGHT) : new fe(r.left + r.width - (E + Q), r.top + r.height - (S + D)), this.bottomLeftContentBox = p > 0 || h > 0 ? Ot(r.left + F + z, r.top + C, Math.max(0, p - (F + z)), h - (S + D), ct.BOTTOM_LEFT) : new fe(r.left + F + z, r.top + r.height - (S + D));
43842
+ var b = r.width - A, y = r.height - d, m = r.width - u, C = r.height - h, B = n.borderTopWidth, E = n.borderRightWidth, S = n.borderBottomWidth, F = n.borderLeftWidth, P = Ct(n.paddingTop, t.bounds.width), Q = Ct(n.paddingRight, t.bounds.width), O = Ct(n.paddingBottom, t.bounds.width), z = Ct(n.paddingLeft, t.bounds.width);
43843
+ this.topLeftBorderDoubleOuterBox = i > 0 || s > 0 ? Ot(r.left + F / 3, r.top + B / 3, i - F / 3, s - B / 3, ct.TOP_LEFT) : new fe(r.left + F / 3, r.top + B / 3), this.topRightBorderDoubleOuterBox = i > 0 || s > 0 ? Ot(r.left + b, r.top + B / 3, A - E / 3, l - B / 3, ct.TOP_RIGHT) : new fe(r.left + r.width - E / 3, r.top + B / 3), this.bottomRightBorderDoubleOuterBox = u > 0 || d > 0 ? Ot(r.left + m, r.top + y, u - E / 3, d - S / 3, ct.BOTTOM_RIGHT) : new fe(r.left + r.width - E / 3, r.top + r.height - S / 3), this.bottomLeftBorderDoubleOuterBox = p > 0 || h > 0 ? Ot(r.left + F / 3, r.top + C, p - F / 3, h - S / 3, ct.BOTTOM_LEFT) : new fe(r.left + F / 3, r.top + r.height - S / 3), this.topLeftBorderDoubleInnerBox = i > 0 || s > 0 ? Ot(r.left + F * 2 / 3, r.top + B * 2 / 3, i - F * 2 / 3, s - B * 2 / 3, ct.TOP_LEFT) : new fe(r.left + F * 2 / 3, r.top + B * 2 / 3), this.topRightBorderDoubleInnerBox = i > 0 || s > 0 ? Ot(r.left + b, r.top + B * 2 / 3, A - E * 2 / 3, l - B * 2 / 3, ct.TOP_RIGHT) : new fe(r.left + r.width - E * 2 / 3, r.top + B * 2 / 3), this.bottomRightBorderDoubleInnerBox = u > 0 || d > 0 ? Ot(r.left + m, r.top + y, u - E * 2 / 3, d - S * 2 / 3, ct.BOTTOM_RIGHT) : new fe(r.left + r.width - E * 2 / 3, r.top + r.height - S * 2 / 3), this.bottomLeftBorderDoubleInnerBox = p > 0 || h > 0 ? Ot(r.left + F * 2 / 3, r.top + C, p - F * 2 / 3, h - S * 2 / 3, ct.BOTTOM_LEFT) : new fe(r.left + F * 2 / 3, r.top + r.height - S * 2 / 3), this.topLeftBorderStroke = i > 0 || s > 0 ? Ot(r.left + F / 2, r.top + B / 2, i - F / 2, s - B / 2, ct.TOP_LEFT) : new fe(r.left + F / 2, r.top + B / 2), this.topRightBorderStroke = i > 0 || s > 0 ? Ot(r.left + b, r.top + B / 2, A - E / 2, l - B / 2, ct.TOP_RIGHT) : new fe(r.left + r.width - E / 2, r.top + B / 2), this.bottomRightBorderStroke = u > 0 || d > 0 ? Ot(r.left + m, r.top + y, u - E / 2, d - S / 2, ct.BOTTOM_RIGHT) : new fe(r.left + r.width - E / 2, r.top + r.height - S / 2), this.bottomLeftBorderStroke = p > 0 || h > 0 ? Ot(r.left + F / 2, r.top + C, p - F / 2, h - S / 2, ct.BOTTOM_LEFT) : new fe(r.left + F / 2, r.top + r.height - S / 2), this.topLeftBorderBox = i > 0 || s > 0 ? Ot(r.left, r.top, i, s, ct.TOP_LEFT) : new fe(r.left, r.top), this.topRightBorderBox = A > 0 || l > 0 ? Ot(r.left + b, r.top, A, l, ct.TOP_RIGHT) : new fe(r.left + r.width, r.top), this.bottomRightBorderBox = u > 0 || d > 0 ? Ot(r.left + m, r.top + y, u, d, ct.BOTTOM_RIGHT) : new fe(r.left + r.width, r.top + r.height), this.bottomLeftBorderBox = p > 0 || h > 0 ? Ot(r.left, r.top + C, p, h, ct.BOTTOM_LEFT) : new fe(r.left, r.top + r.height), this.topLeftPaddingBox = i > 0 || s > 0 ? Ot(r.left + F, r.top + B, Math.max(0, i - F), Math.max(0, s - B), ct.TOP_LEFT) : new fe(r.left + F, r.top + B), this.topRightPaddingBox = A > 0 || l > 0 ? Ot(r.left + Math.min(b, r.width - E), r.top + B, b > r.width + E ? 0 : Math.max(0, A - E), Math.max(0, l - B), ct.TOP_RIGHT) : new fe(r.left + r.width - E, r.top + B), this.bottomRightPaddingBox = u > 0 || d > 0 ? Ot(r.left + Math.min(m, r.width - F), r.top + Math.min(y, r.height - S), Math.max(0, u - E), Math.max(0, d - S), ct.BOTTOM_RIGHT) : new fe(r.left + r.width - E, r.top + r.height - S), this.bottomLeftPaddingBox = p > 0 || h > 0 ? Ot(r.left + F, r.top + Math.min(C, r.height - S), Math.max(0, p - F), Math.max(0, h - S), ct.BOTTOM_LEFT) : new fe(r.left + F, r.top + r.height - S), this.topLeftContentBox = i > 0 || s > 0 ? Ot(r.left + F + z, r.top + B + P, Math.max(0, i - (F + z)), Math.max(0, s - (B + P)), ct.TOP_LEFT) : new fe(r.left + F + z, r.top + B + P), this.topRightContentBox = A > 0 || l > 0 ? Ot(r.left + Math.min(b, r.width + F + z), r.top + B + P, b > r.width + F + z ? 0 : A - F + z, l - (B + P), ct.TOP_RIGHT) : new fe(r.left + r.width - (E + Q), r.top + B + P), this.bottomRightContentBox = u > 0 || d > 0 ? Ot(r.left + Math.min(m, r.width - (F + z)), r.top + Math.min(y, r.height + B + P), Math.max(0, u - (E + Q)), d - (S + O), ct.BOTTOM_RIGHT) : new fe(r.left + r.width - (E + Q), r.top + r.height - (S + O)), this.bottomLeftContentBox = p > 0 || h > 0 ? Ot(r.left + F + z, r.top + C, Math.max(0, p - (F + z)), h - (S + O), ct.BOTTOM_LEFT) : new fe(r.left + F + z, r.top + r.height - (S + O));
43844
43844
  }
43845
43845
  return e;
43846
43846
  }()
@@ -44539,7 +44539,7 @@ var Ot = function(e, t, n, r, a) {
44539
44539
  switch (l.label) {
44540
44540
  case 0:
44541
44541
  r = n.styles.backgroundImage.length - 1, a = function(c) {
44542
- var u, d, f, P, J, te, z, ae, S, p, P, J, te, z, ae, h, v, g, b, y, m, C, B, E, S, F, P, Q, D, z, ae, ue, J, te, Ee, Ae, _e, Be, Ce, De, we, de;
44542
+ var u, d, f, P, J, te, z, ae, S, p, P, J, te, z, ae, h, v, g, b, y, m, C, B, E, S, F, P, Q, O, z, ae, ue, J, te, Ee, Ae, _e, Be, Ce, De, we, de;
44543
44543
  return Cn(this, function(G) {
44544
44544
  switch (G.label) {
44545
44545
  case 0:
@@ -44565,9 +44565,9 @@ var Ot = function(e, t, n, r, a) {
44565
44565
  null,
44566
44566
  null,
44567
44567
  null
44568
- ]), P = F[0], Q = F[1], D = F[2], z = F[3], ae = F[4], ue = c.position.length === 0 ? [Y1] : c.position, J = Ct(ue[0], z), te = Ct(ue[ue.length - 1], ae), Ee = one(c, J, te, z, ae), Ae = Ee[0], _e = Ee[1], Ae > 0 && _e > 0 && (Be = i.ctx.createRadialGradient(Q + J, D + te, 0, Q + J, D + te, Ae), qb(c.stops, Ae * 2).forEach(function(pe) {
44568
+ ]), P = F[0], Q = F[1], O = F[2], z = F[3], ae = F[4], ue = c.position.length === 0 ? [Y1] : c.position, J = Ct(ue[0], z), te = Ct(ue[ue.length - 1], ae), Ee = one(c, J, te, z, ae), Ae = Ee[0], _e = Ee[1], Ae > 0 && _e > 0 && (Be = i.ctx.createRadialGradient(Q + J, O + te, 0, Q + J, O + te, Ae), qb(c.stops, Ae * 2).forEach(function(pe) {
44569
44569
  return Be.addColorStop(pe.stop, fn(pe.color));
44570
- }), i.path(P), i.ctx.fillStyle = Be, Ae !== _e ? (Ce = n.bounds.left + 0.5 * n.bounds.width, De = n.bounds.top + 0.5 * n.bounds.height, we = _e / Ae, de = 1 / we, i.ctx.save(), i.ctx.translate(Ce, De), i.ctx.transform(1, 0, 0, we, 0, 0), i.ctx.translate(-Ce, -De), i.ctx.fillRect(Q, de * (D - De) + De, z, ae * de), i.ctx.restore()) : i.ctx.fill())), G.label = 6;
44570
+ }), i.path(P), i.ctx.fillStyle = Be, Ae !== _e ? (Ce = n.bounds.left + 0.5 * n.bounds.width, De = n.bounds.top + 0.5 * n.bounds.height, we = _e / Ae, de = 1 / we, i.ctx.save(), i.ctx.translate(Ce, De), i.ctx.transform(1, 0, 0, we, 0, 0), i.ctx.translate(-Ce, -De), i.ctx.fillRect(Q, de * (O - De) + De, z, ae * de), i.ctx.restore()) : i.ctx.fill())), G.label = 6;
44571
44571
  case 6:
44572
44572
  return r--, [
44573
44573
  2
@@ -44805,7 +44805,7 @@ var Ot = function(e, t, n, r, a) {
44805
44805
  typeof window < "u" && AS.setContext(window);
44806
44806
  var Qie = function(e, t) {
44807
44807
  return On(void 0, void 0, void 0, function() {
44808
- var n, r, a, i, s, o, A, l, c, u, d, f, p, h, v, g, b, y, m, C, E, B, E, S, F, P, Q, D, z, ae, ue, J, te, Ee, Ae, _e, Be, Ce, De, we;
44808
+ var n, r, a, i, s, o, A, l, c, u, d, f, p, h, v, g, b, y, m, C, E, B, E, S, F, P, Q, O, z, ae, ue, J, te, Ee, Ae, _e, Be, Ce, De, we;
44809
44809
  return Cn(this, function(de) {
44810
44810
  switch (de.label) {
44811
44811
  case 0:
@@ -44821,7 +44821,7 @@ var Qie = function(e, t) {
44821
44821
  proxy: t.proxy,
44822
44822
  useCORS: (P = t.useCORS) !== null && P !== void 0 ? P : !1
44823
44823
  }, i = Tg({ logging: (Q = t.logging) !== null && Q !== void 0 ? Q : !0, cache: t.cache }, a), s = {
44824
- windowWidth: (D = t.windowWidth) !== null && D !== void 0 ? D : r.innerWidth,
44824
+ windowWidth: (O = t.windowWidth) !== null && O !== void 0 ? O : r.innerWidth,
44825
44825
  windowHeight: (z = t.windowHeight) !== null && z !== void 0 ? z : r.innerHeight,
44826
44826
  scrollX: (ae = t.scrollX) !== null && ae !== void 0 ? ae : r.pageXOffset,
44827
44827
  scrollY: (ue = t.scrollY) !== null && ue !== void 0 ? ue : r.pageYOffset
@@ -44903,7 +44903,7 @@ const Rie = /* @__PURE__ */ K(Pie, [["__scopeId", "data-v-4b809ad3"]]), Hie = {
44903
44903
  props: uee,
44904
44904
  emits: ["click:share", "click:edit-name", "click:update-privacy", "click:delete", "click:save"],
44905
44905
  setup(e, { emit: t }) {
44906
- const { t: n } = oe(), r = e, a = t, i = N(), s = N(r.deckName ?? nm(r.deckCode)), o = N(!1), A = O(() => r.deck ? r.deck : en(r.deckCode)), l = O(() => r.cards ? r.cards : Pn(A.value)), c = O(() => {
44906
+ const { t: n } = oe(), r = e, a = t, i = N(), s = N(r.deckName ?? nm(r.deckCode)), o = N(!1), A = D(() => r.deck ? r.deck : en(r.deckCode)), l = D(() => r.cards ? r.cards : Pn(A.value)), c = D(() => {
44907
44907
  var f;
44908
44908
  const d = (f = Ui(l.value, A.value, 1)[0]) == null ? void 0 : f.cardCode;
44909
44909
  return {
@@ -45000,7 +45000,7 @@ const nv = /* @__PURE__ */ K($ie, [["__scopeId", "data-v-5716c6cc"]]), Kie = {
45000
45000
  __name: "DeckHighlightEye",
45001
45001
  props: Kie,
45002
45002
  setup(e) {
45003
- const t = e, n = N(null), r = N(null), a = N(!1), i = N(!1), s = O(() => t.deck ? t.deck : en(t.deckCode)), o = O(() => t.cards ? t.cards : Pn(s.value));
45003
+ const t = e, n = N(null), r = N(null), a = N(!1), i = N(!1), s = D(() => t.deck ? t.deck : en(t.deckCode)), o = D(() => t.cards ? t.cards : Pn(s.value));
45004
45004
  tt(() => {
45005
45005
  var l;
45006
45006
  bt((l = r.value) == null ? void 0 : l.$el, {
@@ -45098,7 +45098,7 @@ const rv = /* @__PURE__ */ K(Gie, [["__scopeId", "data-v-a655bad6"]]), jie = {
45098
45098
  __name: "DeckHighlight",
45099
45099
  props: jie,
45100
45100
  setup(e) {
45101
- const t = e, n = O(() => t.deck ? t.deck : en(t.deckCode)), r = O(() => t.cards ? t.cards : Pn(n.value)), a = O(() => Od(r.value)), i = O(() => r.value.filter((s) => Do(s)));
45101
+ const t = e, n = D(() => t.deck ? t.deck : en(t.deckCode)), r = D(() => t.cards ? t.cards : Pn(n.value)), a = D(() => Od(r.value)), i = D(() => r.value.filter((s) => Do(s)));
45102
45102
  return (s, o) => (w(), x("div", {
45103
45103
  class: ye(["deck-highlight", t.showEye ? "" : "hide-eye"])
45104
45104
  }, [
@@ -45152,7 +45152,7 @@ const Ki = /* @__PURE__ */ K(qie, [["__scopeId", "data-v-7d2e0511"]]), Yie = {
45152
45152
  be(a, () => {
45153
45153
  r("update:filters", a);
45154
45154
  });
45155
- const i = O(() => {
45155
+ const i = D(() => {
45156
45156
  var o;
45157
45157
  return (o = Re().dataJson.formats[a.formatFilters[0] ?? "Standard"]) == null ? void 0 : o.availableQueues;
45158
45158
  });
@@ -45331,10 +45331,10 @@ const gS = /* @__PURE__ */ K(ase, [["__scopeId", "data-v-e4cddaa9"]]), ise = { c
45331
45331
  props: Jie,
45332
45332
  emits: ["click:share", "click:edit-name", "click:update-privacy", "click:delete"],
45333
45333
  setup(e, { emit: t }) {
45334
- const n = la(ei), r = e, a = t, i = N(!1), s = O(() => en(r.deckCode)), o = O(() => Pn(s.value)), A = O(() => Ui(o.value, s.value, 2).map((u) => He().callbacks.cardImageCallback(
45334
+ const n = la(ei), r = e, a = t, i = N(!1), s = D(() => en(r.deckCode)), o = D(() => Pn(s.value)), A = D(() => Ui(o.value, s.value, 2).map((u) => He().callbacks.cardImageCallback(
45335
45335
  u.cardCode,
45336
45336
  Wt.Banner
45337
- ))), l = O(
45337
+ ))), l = D(
45338
45338
  () => ({
45339
45339
  showButtons: {
45340
45340
  deleteDeck: r.type === "built" ? r.showOwnerButtons : !1,
@@ -45355,7 +45355,7 @@ const gS = /* @__PURE__ */ K(ase, [["__scopeId", "data-v-e4cddaa9"]]), ise = { c
45355
45355
  deckName: r.type === "built" ? r.name : void 0,
45356
45356
  isPrivate: r.type === "built" ? r.isPrivate : void 0
45357
45357
  })
45358
- ), c = O(() => {
45358
+ ), c = D(() => {
45359
45359
  const u = [];
45360
45360
  if (r.type !== "similar")
45361
45361
  return u;
@@ -45664,7 +45664,7 @@ Report: I am spiderbit on left forearm. Sydell claims a misunderstanding, but hi
45664
45664
  points: s
45665
45665
  }), a.length > 10 && a.splice(0, 1);
45666
45666
  }
45667
- const r = O(() => {
45667
+ const r = D(() => {
45668
45668
  const a = [], i = Jn().cardJsonObject;
45669
45669
  let s = 0;
45670
45670
  for (const o in i) {
@@ -45816,7 +45816,7 @@ const $se = /* @__PURE__ */ K(Vse, [["__scopeId", "data-v-a8d77f09"]]), Kse = {
45816
45816
  __name: "MatchItem",
45817
45817
  props: Kse,
45818
45818
  setup(e) {
45819
- const { t } = oe(), n = la(ei), r = e, a = O(() => en(r.deckCode)), i = O(() => en(r.opponentDeckCode)), s = O(() => {
45819
+ const { t } = oe(), n = la(ei), r = e, a = D(() => en(r.deckCode)), i = D(() => en(r.opponentDeckCode)), s = D(() => {
45820
45820
  const l = c_().cardJson;
45821
45821
  return !l || l.length === 0 ? [] : [
45822
45822
  Ui(Pn(a.value), a.value, 1)[0],
@@ -45831,7 +45831,7 @@ const $se = /* @__PURE__ */ K(Vse, [["__scopeId", "data-v-a8d77f09"]]), Kse = {
45831
45831
  Wt.Banner
45832
45832
  )
45833
45833
  );
45834
- }), o = O(
45834
+ }), o = D(
45835
45835
  () => ({
45836
45836
  showButtons: {
45837
45837
  deleteDeck: !1,
@@ -45849,7 +45849,7 @@ const $se = /* @__PURE__ */ K(Vse, [["__scopeId", "data-v-a8d77f09"]]), Kse = {
45849
45849
  deckBuilderRouterLink: r.deckBuilderRouterLink,
45850
45850
  archetypeRouterLink: r.archetypeRouterLink
45851
45851
  })
45852
- ), A = O(
45852
+ ), A = D(
45853
45853
  () => ({
45854
45854
  showButtons: {
45855
45855
  deleteDeck: !1,
@@ -46051,13 +46051,13 @@ const yS = /* @__PURE__ */ K(aoe, [["__scopeId", "data-v-41d779ee"]]), ioe = {
46051
46051
  __name: "LeaderboardDetailRow",
46052
46052
  props: ioe,
46053
46053
  setup(e) {
46054
- const t = e, n = O(() => t.selected_banner_card ? [
46054
+ const t = e, n = D(() => t.selected_banner_card ? [
46055
46055
  "",
46056
46056
  He().callbacks.cardImageCallback(
46057
46057
  t.selected_banner_card,
46058
46058
  Wt.Banner
46059
46059
  )
46060
- ] : []), r = O(() => t.change === null || t.change === void 0 ? [] : t.change === 0 ? ["neutral"] : [t.change > 0 ? "good" : "bad"]);
46060
+ ] : []), r = D(() => t.change === null || t.change === void 0 ? [] : t.change === 0 ? ["neutral"] : [t.change > 0 ? "good" : "bad"]);
46061
46061
  return (a, i) => {
46062
46062
  const s = sn("RouterLink");
46063
46063
  return w(), R(s, {
@@ -46258,7 +46258,7 @@ const _S = /* @__PURE__ */ K(Boe, [["render", Coe], ["__scopeId", "data-v-81223d
46258
46258
  props: hoe,
46259
46259
  emits: ["click:share", "click:edit-name", "click:update-privacy", "click:delete"],
46260
46260
  setup(e, { emit: t }) {
46261
- const { t: n } = oe(), r = la(ei), a = e, i = t, s = N(!1), o = O(() => en(a.deckCode)), A = O(() => Pn(o.value)), l = O(() => Od(A.value)), c = O(() => A.value.filter((h) => Do(h))), u = O(() => {
46261
+ const { t: n } = oe(), r = la(ei), a = e, i = t, s = N(!1), o = D(() => en(a.deckCode)), A = D(() => Pn(o.value)), l = D(() => Od(A.value)), c = D(() => A.value.filter((h) => Do(h))), u = D(() => {
46262
46262
  var v;
46263
46263
  const h = (v = Ui(A.value, o.value, 1)[0]) == null ? void 0 : v.cardCode;
46264
46264
  return {
@@ -46267,9 +46267,9 @@ const _S = /* @__PURE__ */ K(Boe, [["render", Coe], ["__scopeId", "data-v-81223d
46267
46267
  Wt.Full
46268
46268
  )})`
46269
46269
  };
46270
- }), d = O(() => Fx(A.value)), f = O(() => d.value.map(
46270
+ }), d = D(() => Fx(A.value)), f = D(() => d.value.map(
46271
46271
  (h) => Re().dataJson.cardFormats.find((v) => v.nameRef === h)
46272
- ).filter((h) => h !== void 0).sort((h, v) => h.order - v.order)[0]), p = O(
46272
+ ).filter((h) => h !== void 0).sort((h, v) => h.order - v.order)[0]), p = D(
46273
46273
  () => ({
46274
46274
  showButtons: {
46275
46275
  deleteDeck: a.type === "built" ? a.showOwnerButtons : !1,
@@ -46436,7 +46436,7 @@ const dA = /* @__PURE__ */ K($oe, [["__scopeId", "data-v-20cc8387"]]), Koe = {
46436
46436
  __name: "LeaderboardTop",
46437
46437
  props: Koe,
46438
46438
  setup(e) {
46439
- const t = e, n = O(() => Re().dataJson.servers.map((r) => t.players.filter((a) => a.server === r.nameRef).sort((a, i) => a.rank - i.rank).slice(0, 10)));
46439
+ const t = e, n = D(() => Re().dataJson.servers.map((r) => t.players.filter((a) => a.server === r.nameRef).sort((a, i) => a.rank - i.rank).slice(0, 10)));
46440
46440
  return (r, a) => (w(), x("div", Woe, [
46441
46441
  a[0] || (a[0] = _("div", { class: "heading-background" }, null, -1)),
46442
46442
  _("div", Goe, [
@@ -46469,7 +46469,7 @@ const qoe = /* @__PURE__ */ K(joe, [["__scopeId", "data-v-48a25357"]]), Yoe = {
46469
46469
  __name: "CardItem3d",
46470
46470
  props: Yoe,
46471
46471
  setup(e) {
46472
- const t = e, n = O(() => {
46472
+ const t = e, n = D(() => {
46473
46473
  const s = Bs(void 0, t.cardCode, !1).value ?? Bs(void 0, "05BC160", !1).value;
46474
46474
  if (s === void 0 || !s.regionRefs || s.regionRefs.length === 0)
46475
46475
  return {};
@@ -46477,7 +46477,7 @@ const qoe = /* @__PURE__ */ K(joe, [["__scopeId", "data-v-48a25357"]]), Yoe = {
46477
46477
  return Uo(o) && (o = "Runeterra"), {
46478
46478
  content: `url(${He().callbacks.cardbackCallback(o)})`
46479
46479
  };
46480
- }), r = O(() => {
46480
+ }), r = D(() => {
46481
46481
  var o;
46482
46482
  const s = ((o = Bs(void 0, t.cardCode, !1).value) == null ? void 0 : o.cardCode) ?? "05BC160";
46483
46483
  return {
@@ -46487,7 +46487,7 @@ const qoe = /* @__PURE__ */ K(joe, [["__scopeId", "data-v-48a25357"]]), Yoe = {
46487
46487
  )}")`,
46488
46488
  "background-size": "cover"
46489
46489
  };
46490
- }), a = O(() => t.flipped ? ["flipped"] : []);
46490
+ }), a = D(() => t.flipped ? ["flipped"] : []);
46491
46491
  return (i, s) => (w(), x("div", Xoe, [
46492
46492
  _("div", {
46493
46493
  class: ye(["card", a.value])
@@ -46681,7 +46681,7 @@ const lAe = /* @__PURE__ */ K(AAe, [["__scopeId", "data-v-53ddcbb6"]]), cAe = {
46681
46681
  setup(e) {
46682
46682
  const t = N(null);
46683
46683
  at.register(...ua);
46684
- const n = e, r = O(() => ({
46684
+ const n = e, r = D(() => ({
46685
46685
  labels: ["Wins", "Losses"],
46686
46686
  datasets: [
46687
46687
  {
@@ -46851,7 +46851,7 @@ const DAe = /* @__PURE__ */ H({
46851
46851
  setup(e) {
46852
46852
  const t = N();
46853
46853
  at.register(...ua), at.register(Xs);
46854
- const n = e, r = O(() => n.data.slice().sort((s, o) => +s.date - +o.date)), a = O(() => {
46854
+ const n = e, r = D(() => n.data.slice().sort((s, o) => +s.date - +o.date)), a = D(() => {
46855
46855
  let s;
46856
46856
  return n.type === "totalPlayers" ? s = Re().dataJson.servers.filter((o) => n.server === null ? !0 : o.nameRef === n.server).map((o) => ({
46857
46857
  label: o.name,
@@ -46937,7 +46937,7 @@ const DAe = /* @__PURE__ */ H({
46937
46937
  setup(e) {
46938
46938
  const { t } = oe(), n = N();
46939
46939
  at.register(...ua), at.register(Xs), at.register(kf);
46940
- const r = e, a = O(() => ({
46940
+ const r = e, a = D(() => ({
46941
46941
  labels: r.data.map((s) => s.quantity),
46942
46942
  datasets: [
46943
46943
  {
@@ -47021,10 +47021,10 @@ const DAe = /* @__PURE__ */ H({
47021
47021
  setup(e) {
47022
47022
  const { t } = oe(), n = N();
47023
47023
  at.register(...ua), at.register(Xs), at.register(kf);
47024
- const r = e, a = O(() => r.data.length === 0 ? !1 : typeof r.data[0].column != "string"), i = O(() => a.value ? r.data.slice().sort((c, u) => c.column.getTime() - u.column.getTime()) : r.data), s = O(() => [...new Set(i.value.map((c) => c.column))]), o = O(() => ({
47024
+ const r = e, a = D(() => r.data.length === 0 ? !1 : typeof r.data[0].column != "string"), i = D(() => a.value ? r.data.slice().sort((c, u) => c.column.getTime() - u.column.getTime()) : r.data), s = D(() => [...new Set(i.value.map((c) => c.column))]), o = D(() => ({
47025
47025
  losses: i.value.map((c) => c.matches - c.wins),
47026
47026
  wins: i.value.map((c) => c.wins)
47027
- })), A = O(() => ({
47027
+ })), A = D(() => ({
47028
47028
  labels: s.value,
47029
47029
  datasets: Object.entries(o.value).map((c, u) => ({
47030
47030
  backgroundColor: c[0] === "wins" ? `rgba(${Di("--color-good-rgb")}, 0.5)` : `rgba(${Di("--color-bad-rgb")}, 0.5)`,
@@ -47133,9 +47133,9 @@ ${t("general.winrate")}: ${We(d / u * 100, 1, 3)}%`;
47133
47133
  setup(e) {
47134
47134
  const { t } = oe(), n = N();
47135
47135
  at.register(...ua), at.register(Xs), at.register(kf);
47136
- const r = e, a = O(
47136
+ const r = e, a = D(
47137
47137
  () => Object.values(Cx(r.data, (o) => o.copy))
47138
- ), i = O(() => ({
47138
+ ), i = D(() => ({
47139
47139
  labels: Array.from(
47140
47140
  r.data.reduce(
47141
47141
  (o, A) => o.add(A.round),
@@ -47245,7 +47245,7 @@ ${t("general.winrate")}: ${We(d / u * 100, 1, 3)}%`;
47245
47245
  setup(e) {
47246
47246
  const { t } = oe(), n = N();
47247
47247
  at.register(...ua), at.register(Xs);
47248
- const r = e, a = O(() => ({
47248
+ const r = e, a = D(() => ({
47249
47249
  labels: r.data.map((o) => o.label),
47250
47250
  datasets: [
47251
47251
  {
@@ -47261,7 +47261,7 @@ ${t("general.winrate")}: ${We(d / u * 100, 1, 3)}%`;
47261
47261
  borderColor: "rgba(0, 0, 0, 0.05)"
47262
47262
  }
47263
47263
  ]
47264
- })), i = O(() => ({
47264
+ })), i = D(() => ({
47265
47265
  plugins: {
47266
47266
  legend: {
47267
47267
  display: !1
@@ -47458,9 +47458,9 @@ const $Ae = /* @__PURE__ */ K(VAe, [["__scopeId", "data-v-3cbac27b"]]), KAe = {
47458
47458
  __name: "ProfileRegionRow",
47459
47459
  props: KAe,
47460
47460
  setup(e) {
47461
- const t = e, n = O(() => Re().dataJson.regions.find(
47461
+ const t = e, n = D(() => Re().dataJson.regions.find(
47462
47462
  (a) => a.nameRef === t.regionNameRef
47463
- )), r = O(() => {
47463
+ )), r = D(() => {
47464
47464
  var a;
47465
47465
  return He().callbacks.cardImageCallback(((a = n.value) == null ? void 0 : a.cardCode) ?? "", Wt.Banner);
47466
47466
  });
@@ -47568,7 +47568,7 @@ const JAe = /* @__PURE__ */ K(XAe, [["__scopeId", "data-v-2dae645c"]]), ZAe = {
47568
47568
  __name: "ProfileArchetypeRow",
47569
47569
  props: ele,
47570
47570
  setup(e) {
47571
- const t = e, n = O(() => en(t.deckCode)), r = O(() => Pn(n.value)), a = O(() => {
47571
+ const t = e, n = D(() => en(t.deckCode)), r = D(() => Pn(n.value)), a = D(() => {
47572
47572
  var s;
47573
47573
  const i = (s = Ui(r.value, n.value, 1)[0]) == null ? void 0 : s.cardCode;
47574
47574
  return He().callbacks.cardImageCallback(i ?? "", Wt.Banner);
@@ -47681,7 +47681,7 @@ const sle = /* @__PURE__ */ K(ile, [["__scopeId", "data-v-f883a9d9"]]), ole = {
47681
47681
  name: n("leaderboard.totalPlayers"),
47682
47682
  nameRef: "totalPlayers"
47683
47683
  }
47684
- ], o = N(a.selectedRegion), A = N(a.selectedPlayers), l = N(a.selectedGraphOption), c = O(() => o.value === null ? a.players : a.players.filter((u) => u.server === o.value));
47684
+ ], o = N(a.selectedRegion), A = N(a.selectedPlayers), l = N(a.selectedGraphOption), c = D(() => o.value === null ? a.players : a.players.filter((u) => u.server === o.value));
47685
47685
  return be(o, (u) => {
47686
47686
  i("update:selectedRegion", u), i("update:selectedPlayers", []);
47687
47687
  }), be(A, (u) => {
@@ -48029,7 +48029,7 @@ const ES = /* @__PURE__ */ K(Ole, [["__scopeId", "data-v-511803da"]]), Lle = {
48029
48029
  __name: "DashboardCardRow",
48030
48030
  props: Lle,
48031
48031
  setup(e) {
48032
- const t = e, n = O(() => Jn().cardJsonObject[t.cardCode]), r = O(() => {
48032
+ const t = e, n = D(() => Jn().cardJsonObject[t.cardCode]), r = D(() => {
48033
48033
  var a;
48034
48034
  return He().callbacks.cardImageCallback(((a = n.value) == null ? void 0 : a.cardCode) ?? "", Wt.Banner);
48035
48035
  });
@@ -48137,7 +48137,7 @@ const Kle = /* @__PURE__ */ K(Vle, [["render", $le]]), Wle = {
48137
48137
  __name: "DashboardLeaderboardRow",
48138
48138
  props: Wle,
48139
48139
  setup(e) {
48140
- const t = e, n = O(() => t.selectedBannerCard === void 0 ? null : He().callbacks.cardImageCallback(t.selectedBannerCard, Wt.Banner)), r = O(() => t.change === void 0 ? [] : t.change === 0 ? ["neutral"] : [t.change > 0 ? "good" : "bad"]);
48140
+ const t = e, n = D(() => t.selectedBannerCard === void 0 ? null : He().callbacks.cardImageCallback(t.selectedBannerCard, Wt.Banner)), r = D(() => t.change === void 0 ? [] : t.change === 0 ? ["neutral"] : [t.change > 0 ? "good" : "bad"]);
48141
48141
  return (a, i) => (w(), x("div", {
48142
48142
  class: "profile-champion-row wrapper",
48143
48143
  style: xe({ "--index": t.index })
@@ -48200,9 +48200,9 @@ const IS = /* @__PURE__ */ K(Zle, [["__scopeId", "data-v-7abf758d"]]), ece = {
48200
48200
  __name: "RevealDayOption",
48201
48201
  props: ece,
48202
48202
  setup(e) {
48203
- const t = la(ei), n = e, r = N(null), a = N(null), i = O(() => (console.log(n.date, `${n.date}T10:00:00-08:00`), /* @__PURE__ */ new Date(`${n.date}T10:00:00-08:00`))), s = O(() => i.value.getTime() < (/* @__PURE__ */ new Date()).getTime()), o = O(() => (console.log(i.value), s.value ? `Revealed Cards
48203
+ const t = la(ei), n = e, r = N(null), a = N(null), i = D(() => (console.log(n.date, `${n.date}T10:00:00-08:00`), /* @__PURE__ */ new Date(`${n.date}T10:00:00-08:00`))), s = D(() => i.value.getTime() < (/* @__PURE__ */ new Date()).getTime()), o = D(() => (console.log(i.value), s.value ? `Revealed Cards
48204
48204
  ${i.value.toLocaleDateString()}` : `Cards Revealed
48205
- ${t(i.value).fromNow()}`)), A = O(() => {
48205
+ ${t(i.value).fromNow()}`)), A = D(() => {
48206
48206
  const l = [];
48207
48207
  return n.activated && l.push("activated"), n.soon && l.push("soon"), s.value && l.push("past"), l;
48208
48208
  });
@@ -48385,7 +48385,7 @@ const hce = /* @__PURE__ */ K(pce, [["__scopeId", "data-v-89a26f2c"]]), gce = {
48385
48385
  sortDirection: Qe.NOT_SORTABLE,
48386
48386
  title: n("general.favoriteDeck")
48387
48387
  }
48388
- ]), s = O(() => ({
48388
+ ]), s = D(() => ({
48389
48389
  "--columns": i.value.filter((A) => A.isShown).length
48390
48390
  }));
48391
48391
  function o(A) {
@@ -48489,7 +48489,7 @@ const QS = /* @__PURE__ */ K(Lce, [["render", Mce], ["__scopeId", "data-v-e5501f
48489
48489
  setup(e, { emit: t }) {
48490
48490
  const { t: n } = oe(), r = e, a = N(), i = N();
48491
48491
  let s;
48492
- const o = t, A = O(() => {
48492
+ const o = t, A = D(() => {
48493
48493
  const c = Ln().user;
48494
48494
  if (!c || !c.isPremium && !c.isAdFree)
48495
48495
  return n("general.premium");
@@ -48991,7 +48991,7 @@ const Sue = /* @__PURE__ */ K(kue, [["__scopeId", "data-v-fe0f916c"]]), xue = {
48991
48991
  __name: "ArchetypesRow",
48992
48992
  props: xue,
48993
48993
  setup(e) {
48994
- const t = e, n = O(() => en(t.deckCode)), r = O(() => Pn(n.value)), a = O(() => t.cards.map((s) => He().callbacks.cardImageCallback(s, Wt.Banner))), i = O(() => ({
48994
+ const t = e, n = D(() => en(t.deckCode)), r = D(() => Pn(n.value)), a = D(() => t.cards.map((s) => He().callbacks.cardImageCallback(s, Wt.Banner))), i = D(() => ({
48995
48995
  showButtons: {
48996
48996
  deleteDeck: !1,
48997
48997
  updateDeckPrivacy: !1,
@@ -49180,37 +49180,37 @@ const fs = /* @__PURE__ */ K(Hue, [["__scopeId", "data-v-2e6bb287"]]), Nue = {
49180
49180
  isError: c(d)
49181
49181
  };
49182
49182
  }
49183
- const r = O(
49183
+ const r = D(
49184
49184
  () => n(
49185
49185
  (l) => l.typeRef === "Unit" && l.supertype === "Champion",
49186
49186
  (l) => l > 6,
49187
49187
  "Champion"
49188
49188
  )
49189
- ), a = O(
49189
+ ), a = D(
49190
49190
  () => n(
49191
49191
  (l) => l.typeRef === "Unit" && l.supertype === "",
49192
49192
  () => !1,
49193
49193
  "Follower"
49194
49194
  )
49195
- ), i = O(
49195
+ ), i = D(
49196
49196
  () => n(
49197
49197
  (l) => l.typeRef === "Spell",
49198
49198
  () => !1,
49199
49199
  "Spell"
49200
49200
  )
49201
- ), s = O(
49201
+ ), s = D(
49202
49202
  () => n(
49203
49203
  (l) => l.typeRef === "Landmark",
49204
49204
  () => !1,
49205
49205
  "Landmark"
49206
49206
  )
49207
- ), o = O(
49207
+ ), o = D(
49208
49208
  () => n(
49209
49209
  (l) => l.typeRef === "Equipment",
49210
49210
  () => !1,
49211
49211
  "Equipment"
49212
49212
  )
49213
- ), A = O(
49213
+ ), A = D(
49214
49214
  () => n(
49215
49215
  () => !0,
49216
49216
  (l) => l !== 40,
@@ -49337,7 +49337,7 @@ const Yue = /* @__PURE__ */ K(que, [["__scopeId", "data-v-bb4c05e4"]]), Xue = {
49337
49337
  __name: "CardOverview",
49338
49338
  props: Xue,
49339
49339
  setup(e) {
49340
- const t = e, n = Bs(t.cardProp, t.cardCodeProp, !0), r = N(!1), a = O(() => {
49340
+ const t = e, n = Bs(t.cardProp, t.cardCodeProp, !0), r = N(!1), a = D(() => {
49341
49341
  if (n.value === void 0)
49342
49342
  return [];
49343
49343
  const l = [];
@@ -49348,14 +49348,14 @@ const Yue = /* @__PURE__ */ K(que, [["__scopeId", "data-v-bb4c05e4"]]), Xue = {
49348
49348
  u && l.push(u);
49349
49349
  }
49350
49350
  return l;
49351
- }), i = O(() => {
49351
+ }), i = D(() => {
49352
49352
  if (n.value === void 0 || !n.value.regionRefs || n.value.regionRefs.length === 0)
49353
49353
  return null;
49354
49354
  const l = Re().dataJson;
49355
49355
  return Uo(n.value.regionRefs[0]) ? l.runeterraChampions.find(
49356
49356
  (c) => c.nameRef === n.value.regionRefs[0]
49357
49357
  ) ?? l.regions[0] : l.regions.find((c) => c.nameRef === n.value.regionRefs[0]) ?? l.regions[0];
49358
- }), s = O(() => n.value === void 0 ? null : Re().dataJson.rarities.find((l) => l.nameRef === n.value.rarityRef) ?? Re().dataJson.rarities[0]), o = O(() => n.value === void 0 ? null : Re().dataJson.types.find((l) => l.nameRef === n.value.typeRef) ?? Re().dataJson.types[0]), A = O(() => n.value === void 0 ? null : Re().dataJson.sets.find((l) => l.nameRef === n.value.set) ?? Re().dataJson.sets[0]);
49358
+ }), s = D(() => n.value === void 0 ? null : Re().dataJson.rarities.find((l) => l.nameRef === n.value.rarityRef) ?? Re().dataJson.rarities[0]), o = D(() => n.value === void 0 ? null : Re().dataJson.types.find((l) => l.nameRef === n.value.typeRef) ?? Re().dataJson.types[0]), A = D(() => n.value === void 0 ? null : Re().dataJson.sets.find((l) => l.nameRef === n.value.set) ?? Re().dataJson.sets[0]);
49359
49359
  return (l, c) => {
49360
49360
  var u, d, f, p, h, v, g, b;
49361
49361
  return w(), x("div", Jue, [
@@ -49604,11 +49604,11 @@ const Ide = /* @__PURE__ */ K(Fde, [["__scopeId", "data-v-90be9f81"]]), Tde = {
49604
49604
  props: Sde,
49605
49605
  emits: ["update:card-quantity", "input:deck-code", "click:save"],
49606
49606
  setup(e, { emit: t }) {
49607
- const { t: n } = oe(), r = e, a = t, i = O(() => {
49607
+ const { t: n } = oe(), r = e, a = t, i = D(() => {
49608
49608
  if (r.deckCode === void 0)
49609
49609
  throw new Error("DeckCode must be defined");
49610
49610
  return en(r.deckCode);
49611
- }), s = O(() => Pn(i.value)), o = O(
49611
+ }), s = D(() => Pn(i.value)), o = D(
49612
49612
  () => ({
49613
49613
  showButtons: {
49614
49614
  deleteDeck: !1,
@@ -49709,7 +49709,7 @@ const Pde = {
49709
49709
  setup(e) {
49710
49710
  const t = N(null);
49711
49711
  at.register(...ua);
49712
- const n = e, r = O(() => ({
49712
+ const n = e, r = D(() => ({
49713
49713
  labels: n.data.map((i) => i.region),
49714
49714
  datasets: [
49715
49715
  {
@@ -49816,7 +49816,7 @@ const NS = /* @__PURE__ */ K(Nde, [["__scopeId", "data-v-79fac15d"]]), zde = {
49816
49816
  setup(e) {
49817
49817
  const t = N(null);
49818
49818
  at.register(...ua);
49819
- const n = e, r = O(() => ({
49819
+ const n = e, r = D(() => ({
49820
49820
  labels: ["Value", "Max"],
49821
49821
  datasets: [
49822
49822
  {
@@ -49929,12 +49929,9 @@ const tfe = /* @__PURE__ */ K(efe, [["__scopeId", "data-v-420a5855"]]), nfe = {
49929
49929
  required: !0,
49930
49930
  default: {
49931
49931
  player: !0,
49932
- lp: !0,
49933
- change: !0,
49934
- wins: !0,
49935
- matches: !0,
49936
- winrate: !0,
49937
- deck: !0
49932
+ matchWLs: !0,
49933
+ gameWLs: !0,
49934
+ winrate: !0
49938
49935
  }
49939
49936
  },
49940
49937
  loading: {
@@ -50018,12 +50015,9 @@ const tfe = /* @__PURE__ */ K(efe, [["__scopeId", "data-v-420a5855"]]), nfe = {
50018
50015
  required: !0,
50019
50016
  default: {
50020
50017
  player: !0,
50021
- lp: !0,
50022
- change: !0,
50023
- wins: !0,
50024
- matches: !0,
50025
- winrate: !0,
50026
- deck: !0
50018
+ matchWLs: !0,
50019
+ gameWLs: !0,
50020
+ winrate: !0
50027
50021
  }
50028
50022
  }
50029
50023
  }, afe = {
@@ -50052,7 +50046,7 @@ const tfe = /* @__PURE__ */ K(efe, [["__scopeId", "data-v-420a5855"]]), nfe = {
50052
50046
  __name: "TournamentDeckResult",
50053
50047
  props: afe,
50054
50048
  setup(e) {
50055
- const t = e, n = O(() => t.results.type === "multiple" ? "" : t.results.isBanned ? "ban" : t.results.isVictory === null ? "" : t.results.isVictory === !1 ? "times" : "check"), r = O(() => n.value === "check"), a = O(
50049
+ const t = e, n = D(() => t.results.type === "multiple" ? "" : t.results.isBanned ? "ban" : t.results.isVictory === null ? "" : t.results.isVictory === !1 ? "times" : "check"), r = D(() => n.value === "check"), a = D(
50056
50050
  () => ({
50057
50051
  showButtons: {
50058
50052
  deleteDeck: !1,
@@ -50100,22 +50094,35 @@ const tfe = /* @__PURE__ */ K(efe, [["__scopeId", "data-v-420a5855"]]), nfe = {
50100
50094
  ]));
50101
50095
  }
50102
50096
  });
50103
- const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { class: "tournament-player-additional-data-wrapper" }, ufe = { class: "tournament-player-additional-data-content-top" }, dfe = { class: "winrate-wrapper" }, ffe = { class: "winrate-wrapper" }, pfe = { class: "winrate-wrapper" }, hfe = { class: "tournament-player-additional-data-content-bottom" }, gfe = { class: "row tournament-player-row-background-wrapper" }, mfe = { class: "tournament-player-row-background" }, vfe = { class: "row tournament-player-row wrapper" }, yfe = { class: "column-content" }, bfe = { class: "column-content" }, wfe = /* @__PURE__ */ H({
50097
+ const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { class: "tournament-player-additional-data-wrapper" }, ufe = { class: "tournament-player-additional-data-content-top" }, dfe = { class: "winrate-wrapper" }, ffe = { class: "winrate-wrapper" }, pfe = { class: "winrate-wrapper" }, hfe = { class: "tournament-player-additional-data-content-bottom" }, gfe = { class: "row tournament-player-row-background-wrapper" }, mfe = { class: "tournament-player-row-background" }, vfe = { class: "row tournament-player-row wrapper" }, yfe = {
50098
+ key: 1,
50099
+ class: "column-content"
50100
+ }, bfe = {
50101
+ key: 2,
50102
+ class: "column-content"
50103
+ }, wfe = /* @__PURE__ */ H({
50104
50104
  __name: "TournamentPlayerRow",
50105
50105
  props: rfe,
50106
50106
  setup(e) {
50107
- const { t } = oe(), n = e, r = N(null), a = N(0), i = N(!1), s = O(() => n.selectedBannerCard ? [
50107
+ const { t } = oe(), n = e, r = N(null), a = N(0), i = N(!1), s = D(
50108
+ () => l(n.matchWins, n.matchLosses)
50109
+ ), o = D(() => l(n.gameWins, n.gameLosses)), A = D(() => n.selectedBannerCard ? [
50108
50110
  "",
50109
50111
  He().callbacks.cardImageCallback(
50110
50112
  n.selectedBannerCard,
50111
50113
  Wt.Banner
50112
50114
  )
50113
50115
  ] : []);
50114
- return tt(() => {
50116
+ tt(() => {
50115
50117
  r.value && (a.value = r.value.clientHeight);
50116
- }), (o, A) => {
50117
- const l = sn("RouterLink");
50118
- return w(), R(l, {
50118
+ });
50119
+ function l(c, u) {
50120
+ const d = c + u;
50121
+ return d === 0 ? 0 : c / d;
50122
+ }
50123
+ return (c, u) => {
50124
+ const d = sn("RouterLink");
50125
+ return w(), R(d, {
50119
50126
  to: n.routerLink,
50120
50127
  class: "wrapper"
50121
50128
  }, {
@@ -50129,7 +50136,7 @@ const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { c
50129
50136
  style: xe({
50130
50137
  "--height": a.value + "px"
50131
50138
  }),
50132
- onClick: A[0] || (A[0] = dt(() => {
50139
+ onClick: u[0] || (u[0] = dt(() => {
50133
50140
  }, ["stop", "prevent"]))
50134
50141
  }, [
50135
50142
  _("div", cfe, [
@@ -50151,7 +50158,7 @@ const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { c
50151
50158
  heading: k(t)("tournament.gameWinrate")
50152
50159
  }, {
50153
50160
  default: Y(() => [
50154
- _("div", ffe, L(k(We)(n.opponentsMatchWinrate * 100, 1, 3) + "%"), 1)
50161
+ _("div", ffe, L(k(We)(o.value * 100, 1, 3) + "%"), 1)
50155
50162
  ]),
50156
50163
  _: 1
50157
50164
  }, 8, ["heading"]),
@@ -50159,20 +50166,20 @@ const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { c
50159
50166
  heading: k(t)("tournament.oppGameWinrate")
50160
50167
  }, {
50161
50168
  default: Y(() => [
50162
- _("div", pfe, L(k(We)(n.opponentsMatchWinrate * 100, 1, 3) + "%"), 1)
50169
+ _("div", pfe, L(k(We)(n.opponentsGameWinrate * 100, 1, 3) + "%"), 1)
50163
50170
  ]),
50164
50171
  _: 1
50165
50172
  }, 8, ["heading"])
50166
50173
  ]),
50167
50174
  _("div", hfe, [
50168
- (w(!0), x(X, null, ce(n.decks, (c) => (w(), R(Or, {
50169
- key: c.deckCode,
50170
- "deck-code": c.deckCode,
50175
+ (w(!0), x(X, null, ce(n.decks, (f) => (w(), R(Or, {
50176
+ key: f.deckCode,
50177
+ "deck-code": f.deckCode,
50171
50178
  results: {
50172
50179
  type: "multiple",
50173
- wins: c.wins,
50174
- losses: c.losses,
50175
- bans: c.bans
50180
+ wins: f.wins,
50181
+ losses: f.losses,
50182
+ bans: f.bans
50176
50183
  }
50177
50184
  }, null, 8, ["deck-code", "results"]))), 128))
50178
50185
  ])
@@ -50181,10 +50188,10 @@ const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { c
50181
50188
  ], 4),
50182
50189
  _("div", gfe, [
50183
50190
  _("div", mfe, [
50184
- (w(!0), x(X, null, ce(s.value, (c) => (w(), x("div", {
50185
- key: c,
50191
+ (w(!0), x(X, null, ce(A.value, (f) => (w(), x("div", {
50192
+ key: f,
50186
50193
  class: "background-card",
50187
- style: xe({ "--background-image": `url(${c})` })
50194
+ style: xe({ "--background-image": `url(${f})` })
50188
50195
  }, null, 4))), 128))
50189
50196
  ])
50190
50197
  ]),
@@ -50192,7 +50199,7 @@ const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { c
50192
50199
  n.shownColumns.player ? (w(), x("div", {
50193
50200
  key: 0,
50194
50201
  class: "column-content card-wrapper",
50195
- onClick: A[1] || (A[1] = dt(() => {
50202
+ onClick: u[1] || (u[1] = dt(() => {
50196
50203
  }, ["stop", "prevent"]))
50197
50204
  }, [
50198
50205
  T($t, {
@@ -50206,23 +50213,18 @@ const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { c
50206
50213
  "router-link": n.routerLink
50207
50214
  }, null, 8, ["card-code-prop", "color", "mana-number", "name", "router-link"])
50208
50215
  ])) : W("", !0),
50209
- _("div", yfe, L(n.matchWins) + " - " + L(n.matchLosses), 1),
50210
- _("div", bfe, L(n.gameWins) + " - " + L(n.gameLosses), 1),
50211
- _("div", {
50216
+ n.shownColumns.matchWLs ? (w(), x("div", yfe, L(n.matchWins) + " - " + L(n.matchLosses), 1)) : W("", !0),
50217
+ n.shownColumns.gameWLs ? (w(), x("div", bfe, L(n.gameWins) + " - " + L(n.gameLosses), 1)) : W("", !0),
50218
+ n.shownColumns.winrate ? (w(), x("div", {
50219
+ key: 3,
50212
50220
  class: "column-content",
50213
50221
  style: xe({
50214
- color: `var(${k(br)(
50215
- n.matchWins / (n.matchWins + n.matchLosses)
50216
- )})`
50222
+ color: `var(${k(br)(s.value)})`
50217
50223
  })
50218
- }, L(k(We)(
50219
- n.matchWins / (n.matchWins + n.matchLosses) * 100,
50220
- 1,
50221
- 3
50222
- ) + "%"), 5),
50224
+ }, L(k(We)(s.value * 100, 1, 3) + "%"), 5)) : W("", !0),
50223
50225
  _("div", {
50224
50226
  class: "column-content options-button",
50225
- onClick: A[2] || (A[2] = dt((c) => i.value = !i.value, ["stop", "prevent"]))
50227
+ onClick: u[2] || (u[2] = dt((f) => i.value = !i.value, ["stop", "prevent"]))
50226
50228
  }, [
50227
50229
  T(k(Pe), {
50228
50230
  class: "icon",
@@ -50237,7 +50239,7 @@ const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { c
50237
50239
  };
50238
50240
  }
50239
50241
  });
50240
- const Bfe = /* @__PURE__ */ K(wfe, [["__scopeId", "data-v-3656be66"]]), _fe = /* @__PURE__ */ H({
50242
+ const Bfe = /* @__PURE__ */ K(wfe, [["__scopeId", "data-v-4ec8059f"]]), _fe = /* @__PURE__ */ H({
50241
50243
  __name: "TournamentPlayerTable",
50242
50244
  props: nfe,
50243
50245
  emits: ["sort-updated"],
@@ -50267,7 +50269,7 @@ const Bfe = /* @__PURE__ */ K(wfe, [["__scopeId", "data-v-3656be66"]]), _fe = /*
50267
50269
  sortDirection: Qe.NEITHER,
50268
50270
  title: n("general.winrate")
50269
50271
  }
50270
- ]), s = O(() => ({
50272
+ ]), s = D(() => ({
50271
50273
  "--columns": i.value.filter((A) => A.isShown).length
50272
50274
  }));
50273
50275
  function o(A) {
@@ -50360,7 +50362,7 @@ const Ffe = /* @__PURE__ */ K(Efe, [["__scopeId", "data-v-cfee2da2"]]), Ife = {
50360
50362
  props: Ife,
50361
50363
  emits: ["update:result-to-show"],
50362
50364
  setup(e, { emit: t }) {
50363
- const n = tA(), r = e, a = N(null), i = N(null), s = N(null), o = N([]), A = N(null), l = N(null), c = t, u = O(() => r.playerNumber === 1 ? "player1" : "player2");
50365
+ const n = tA(), r = e, a = N(null), i = N(null), s = N(null), o = N([]), A = N(null), l = N(null), c = t, u = D(() => r.playerNumber === 1 ? "player1" : "player2");
50364
50366
  function d(h) {
50365
50367
  c("update:result-to-show", h);
50366
50368
  }
@@ -50956,7 +50958,7 @@ const kpe = /* @__PURE__ */ K(Cpe, [["__scopeId", "data-v-9f936feb"]]), Spe = {
50956
50958
  __name: "TournamentFeedEventCheckIn",
50957
50959
  props: Spe,
50958
50960
  setup(e) {
50959
- const { t } = oe(), n = tA(), r = e, a = O(() => ({
50961
+ const { t } = oe(), n = tA(), r = e, a = D(() => ({
50960
50962
  name: "profile",
50961
50963
  params: { id: r.id, lang: n.params.lang }
50962
50964
  }));
@@ -51219,7 +51221,7 @@ const ehe = /* @__PURE__ */ K(Zpe, [["__scopeId", "data-v-8ad5656f"]]), the = {
51219
51221
  __name: "TournamentFeedEventSignUp",
51220
51222
  props: the,
51221
51223
  setup(e) {
51222
- const { t } = oe(), n = tA(), r = O(() => ({
51224
+ const { t } = oe(), n = tA(), r = D(() => ({
51223
51225
  name: "profile",
51224
51226
  params: { id: a.id, lang: n.params.lang }
51225
51227
  })), a = e;