lorgg-v2-components 0.2.4 → 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.
- package/CHANGELOG.md +10 -0
- package/dist/components/library/TournamentPlayerRow/TournamentPlayerRow.vue.d.ts +7 -13
- package/dist/components/library/TournamentPlayerRow/types.d.ts +10 -8
- package/dist/components/library/TournamentPlayerTable/TournamentPlayerTable.vue.d.ts +7 -13
- package/dist/components/library/TournamentPlayerTable/types.d.ts +5 -17
- package/dist/components/setup/i18n.d.ts +13 -0
- package/dist/components/setup/locales/de.d.ts +1 -0
- package/dist/components/setup/locales/de.d.ts.map +1 -1
- package/dist/components/setup/locales/en.d.ts +1 -0
- package/dist/components/setup/locales/en.d.ts.map +1 -1
- package/dist/components/setup/locales/es.d.ts +1 -0
- package/dist/components/setup/locales/es.d.ts.map +1 -1
- package/dist/components/setup/locales/fr.d.ts +1 -0
- package/dist/components/setup/locales/fr.d.ts.map +1 -1
- package/dist/components/setup/locales/it.d.ts +1 -0
- package/dist/components/setup/locales/it.d.ts.map +1 -1
- package/dist/components/setup/locales/ja.d.ts +1 -0
- package/dist/components/setup/locales/ja.d.ts.map +1 -1
- package/dist/components/setup/locales/ko.d.ts +1 -0
- package/dist/components/setup/locales/ko.d.ts.map +1 -1
- package/dist/components/setup/locales/pl.d.ts +1 -0
- package/dist/components/setup/locales/pl.d.ts.map +1 -1
- package/dist/components/setup/locales/pt.d.ts +1 -0
- package/dist/components/setup/locales/pt.d.ts.map +1 -1
- package/dist/components/setup/locales/ru.d.ts +1 -0
- package/dist/components/setup/locales/ru.d.ts.map +1 -1
- package/dist/components/setup/locales/th.d.ts +1 -0
- package/dist/components/setup/locales/th.d.ts.map +1 -1
- package/dist/components/setup/locales/tr.d.ts +1 -0
- package/dist/components/setup/locales/tr.d.ts.map +1 -1
- package/dist/components/setup/locales/zh.d.ts +1 -0
- package/dist/components/setup/locales/zh.d.ts.map +1 -1
- package/dist/lorgg-components.cjs.js +14 -14
- package/dist/lorgg-components.css +1 -1
- package/dist/lorgg-components.es.js +338 -323
- package/dist/lorgg-components.umd.js +21 -21
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
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()) :
|
|
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
|
|
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 (
|
|
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 (
|
|
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 (
|
|
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
|
|
1362
|
-
switch (S = null,
|
|
1361
|
+
const O = S || y.nextToken();
|
|
1362
|
+
switch (S = null, O.type) {
|
|
1363
1363
|
case 0:
|
|
1364
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
2480
|
-
if (d && le(
|
|
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:
|
|
2486
|
+
message: O
|
|
2487
2487
|
};
|
|
2488
2488
|
z.meta = yn({}, e.__meta, /* @__PURE__ */ n8() || {}), $E(z);
|
|
2489
2489
|
}
|
|
2490
|
-
return
|
|
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
|
|
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 =
|
|
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 =
|
|
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:
|
|
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 =
|
|
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 =
|
|
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 =
|
|
4373
|
-
function
|
|
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:
|
|
4497
|
+
getPostTranslationHandler: O,
|
|
4498
4498
|
setPostTranslationHandler: z,
|
|
4499
4499
|
getMissingHandler: ae,
|
|
4500
4500
|
setMissingHandler: ue,
|
|
@@ -4968,7 +4968,8 @@ If there are any issues, please contact the tournament organizer.`
|
|
|
4968
4968
|
vs: "vs",
|
|
4969
4969
|
game: "Game",
|
|
4970
4970
|
tie: "Tie",
|
|
4971
|
-
submit: "Submit"
|
|
4971
|
+
submit: "Submit",
|
|
4972
|
+
current: "Current"
|
|
4972
4973
|
},
|
|
4973
4974
|
profile: {
|
|
4974
4975
|
winrateOverTime: "Winrate over Time",
|
|
@@ -5302,7 +5303,8 @@ Keine Sorge – verdiene neue über die folgenden Methoden!`,
|
|
|
5302
5303
|
tie: "Unentschieden",
|
|
5303
5304
|
submit: "Absenden",
|
|
5304
5305
|
attackTokenOddsWr: "Angriffstoken: Gewinnrate Chancen",
|
|
5305
|
-
attackTokenEvensWr: "Angriffstoken: Gerade Gewinnrate"
|
|
5306
|
+
attackTokenEvensWr: "Angriffstoken: Gerade Gewinnrate",
|
|
5307
|
+
current: "Aktuell"
|
|
5306
5308
|
},
|
|
5307
5309
|
descriptions: {
|
|
5308
5310
|
deckDecks: "Finde Decks, die ähnlich wie „{title}“ sind, für abwechslungsreiche Spielmöglichkeiten.",
|
|
@@ -5727,7 +5729,8 @@ No te preocupes, puedes conseguir más usando los métodos de abajo.`,
|
|
|
5727
5729
|
tie: "Empate",
|
|
5728
5730
|
submit: "Enviar",
|
|
5729
5731
|
attackTokenOddsWr: "Token de Ataque: Probabilidades de Winrate",
|
|
5730
|
-
attackTokenEvensWr: "Token de Ataque: Winrate de Pares"
|
|
5732
|
+
attackTokenEvensWr: "Token de Ataque: Winrate de Pares",
|
|
5733
|
+
current: "Actual"
|
|
5731
5734
|
},
|
|
5732
5735
|
descriptions: {
|
|
5733
5736
|
deckDecks: 'Encuentra mazos similares a "{title}" para opciones de juego variadas.',
|
|
@@ -6152,7 +6155,8 @@ Pas d’inquiétude, vous pouvez en gagner avec les méthodes ci-dessous !`,
|
|
|
6152
6155
|
tie: "Égalité",
|
|
6153
6156
|
submit: "Envoyer",
|
|
6154
6157
|
attackTokenOddsWr: "Jeton d'attaque : Cote de taux de victoire",
|
|
6155
|
-
attackTokenEvensWr: "Jeton d'attaque : Taux de victoire pairs"
|
|
6158
|
+
attackTokenEvensWr: "Jeton d'attaque : Taux de victoire pairs",
|
|
6159
|
+
current: "Actuel"
|
|
6156
6160
|
},
|
|
6157
6161
|
descriptions: {
|
|
6158
6162
|
deckDecks: 'Trouvez des decks similaires à "{title}" pour des options de jeu variées.',
|
|
@@ -6577,7 +6581,8 @@ Niente paura, puoi ottenerne altri con i metodi qui sotto!`,
|
|
|
6577
6581
|
tie: "Pareggio",
|
|
6578
6582
|
submit: "Invia",
|
|
6579
6583
|
attackTokenOddsWr: "Token d'Attacco: Odds Winrate",
|
|
6580
|
-
attackTokenEvensWr: "Token d'Attacco: Winrate Pari"
|
|
6584
|
+
attackTokenEvensWr: "Token d'Attacco: Winrate Pari",
|
|
6585
|
+
current: "Attuale"
|
|
6581
6586
|
},
|
|
6582
6587
|
descriptions: {
|
|
6583
6588
|
deckDecks: 'Trova mazzi simili a "{title}" per opzioni di gioco variegate.',
|
|
@@ -7002,7 +7007,8 @@ Niente paura, puoi ottenerne altri con i metodi qui sotto!`,
|
|
|
7002
7007
|
tie: "引き分け",
|
|
7003
7008
|
submit: "送信",
|
|
7004
7009
|
attackTokenOddsWr: "攻撃トークン: 勝率のオッズ",
|
|
7005
|
-
attackTokenEvensWr: "攻撃トークン: 偶数の勝率"
|
|
7010
|
+
attackTokenEvensWr: "攻撃トークン: 偶数の勝率",
|
|
7011
|
+
current: "現在"
|
|
7006
7012
|
},
|
|
7007
7013
|
descriptions: {
|
|
7008
7014
|
deckDecks: "{title} に似たデッキを見つけて、さまざまなプレイオプションを楽しもう。",
|
|
@@ -7427,7 +7433,8 @@ Niente paura, puoi ottenerne altri con i metodi qui sotto!`,
|
|
|
7427
7433
|
tie: "무승부",
|
|
7428
7434
|
submit: "제출",
|
|
7429
7435
|
attackTokenOddsWr: "공격 토큰: 확률 승률",
|
|
7430
|
-
attackTokenEvensWr: "공격 토큰: 짝수 승률"
|
|
7436
|
+
attackTokenEvensWr: "공격 토큰: 짝수 승률",
|
|
7437
|
+
current: "현재"
|
|
7431
7438
|
},
|
|
7432
7439
|
descriptions: {
|
|
7433
7440
|
deckDecks: '"{title}"와 유사한 덱을 찾아 다양한 게임 플레이 옵션을 즐기세요.',
|
|
@@ -7852,7 +7859,8 @@ Bez obaw — możesz zdobyć więcej, korzystając z poniższych metod!`,
|
|
|
7852
7859
|
tie: "Remis",
|
|
7853
7860
|
submit: "Wyślij",
|
|
7854
7861
|
attackTokenOddsWr: "Token Ataku: Szansa na Wygraną",
|
|
7855
|
-
attackTokenEvensWr: "Token Ataku: Wygrane Parzyste"
|
|
7862
|
+
attackTokenEvensWr: "Token Ataku: Wygrane Parzyste",
|
|
7863
|
+
current: "Aktualny"
|
|
7856
7864
|
},
|
|
7857
7865
|
descriptions: {
|
|
7858
7866
|
deckDecks: 'Znajdź talie podobne do "{title}" dla zróżnicowanych opcji rozgrywki.',
|
|
@@ -8277,7 +8285,8 @@ Não se preocupe, é possível ganhar mais usando os métodos abaixo!`,
|
|
|
8277
8285
|
tie: "Empate",
|
|
8278
8286
|
submit: "Enviar",
|
|
8279
8287
|
attackTokenOddsWr: "Token de Ataque: Odds Winrate",
|
|
8280
|
-
attackTokenEvensWr: "Token de Ataque: Taxa de Vitória em Números Pares"
|
|
8288
|
+
attackTokenEvensWr: "Token de Ataque: Taxa de Vitória em Números Pares",
|
|
8289
|
+
current: "Atual"
|
|
8281
8290
|
},
|
|
8282
8291
|
descriptions: {
|
|
8283
8292
|
deckDecks: 'Encontre decks semelhantes a "{title}" para opções de jogabilidade variadas.',
|
|
@@ -8703,7 +8712,8 @@ Não se preocupe, é possível ganhar mais usando os métodos abaixo!`,
|
|
|
8703
8712
|
tie: "เสมอ",
|
|
8704
8713
|
submit: "ส่ง",
|
|
8705
8714
|
attackTokenOddsWr: "Token การโจมตี: อัตราชนะ",
|
|
8706
|
-
attackTokenEvensWr: "Token การโจมตี: อัตราชนะคู่"
|
|
8715
|
+
attackTokenEvensWr: "Token การโจมตี: อัตราชนะคู่",
|
|
8716
|
+
current: "ปัจจุบัน"
|
|
8707
8717
|
},
|
|
8708
8718
|
descriptions: {
|
|
8709
8719
|
deckDecks: 'ค้นหาเด็คที่คล้ายกับ "{title}" เพื่อทางเลือกในการเล่นที่หลากหลาย',
|
|
@@ -9128,7 +9138,8 @@ Merak etmeyin, aşağıdaki yöntemlerle daha fazlasını kazanabilirsiniz!`,
|
|
|
9128
9138
|
tie: "Beraberlik",
|
|
9129
9139
|
submit: "Gönder",
|
|
9130
9140
|
attackTokenOddsWr: "Saldırı Tokeni: Şans Kazanma Oranı",
|
|
9131
|
-
attackTokenEvensWr: "İtibari Saldırı: Eşitler Kazanma Oranı"
|
|
9141
|
+
attackTokenEvensWr: "İtibari Saldırı: Eşitler Kazanma Oranı",
|
|
9142
|
+
current: "Mevcut"
|
|
9132
9143
|
},
|
|
9133
9144
|
descriptions: {
|
|
9134
9145
|
deckDecks: '"{title}" ile benzer desteleri bul, çeşitli oyun seçenekleri için.',
|
|
@@ -9553,7 +9564,8 @@ Merak etmeyin, aşağıdaki yöntemlerle daha fazlasını kazanabilirsiniz!`,
|
|
|
9553
9564
|
tie: "Ничья",
|
|
9554
9565
|
submit: "Отправить",
|
|
9555
9566
|
attackTokenOddsWr: "Токен атаки: Шансы на победу",
|
|
9556
|
-
attackTokenEvensWr: "Токен атаки: Процент побед четных"
|
|
9567
|
+
attackTokenEvensWr: "Токен атаки: Процент побед четных",
|
|
9568
|
+
current: "Текущий"
|
|
9557
9569
|
},
|
|
9558
9570
|
descriptions: {
|
|
9559
9571
|
deckDecks: "Найдите колоды, похожие на «{title}», для разнообразия игрового процесса.",
|
|
@@ -9978,7 +9990,8 @@ Merak etmeyin, aşağıdaki yöntemlerle daha fazlasını kazanabilirsiniz!`,
|
|
|
9978
9990
|
tie: "平局",
|
|
9979
9991
|
submit: "提交",
|
|
9980
9992
|
attackTokenOddsWr: "攻击标记:胜率概率",
|
|
9981
|
-
attackTokenEvensWr: "攻击令牌:平局胜率"
|
|
9993
|
+
attackTokenEvensWr: "攻击令牌:平局胜率",
|
|
9994
|
+
current: "当前"
|
|
9982
9995
|
},
|
|
9983
9996
|
descriptions: {
|
|
9984
9997
|
deckDecks: "找到与“{title}”相似的卡组,以获得多样的游戏选项。",
|
|
@@ -13706,8 +13719,8 @@ function lT() {
|
|
|
13706
13719
|
marginRight: "marginBottom"
|
|
13707
13720
|
}[Q];
|
|
13708
13721
|
}
|
|
13709
|
-
function n(Q,
|
|
13710
|
-
return parseFloat(Q.getPropertyValue(t(
|
|
13722
|
+
function n(Q, O) {
|
|
13723
|
+
return parseFloat(Q.getPropertyValue(t(O)) || 0);
|
|
13711
13724
|
}
|
|
13712
13725
|
const r = e.params, {
|
|
13713
13726
|
wrapperEl: a,
|
|
@@ -13735,13 +13748,13 @@ function lT() {
|
|
|
13735
13748
|
const P = r.slidesPerView === "auto" && r.breakpoints && Object.keys(r.breakpoints).filter((Q) => typeof r.breakpoints[Q].slidesPerView < "u").length > 0;
|
|
13736
13749
|
for (let Q = 0; Q < d; Q += 1) {
|
|
13737
13750
|
F = 0;
|
|
13738
|
-
let
|
|
13739
|
-
if (u[Q] && (
|
|
13751
|
+
let O;
|
|
13752
|
+
if (u[Q] && (O = u[Q]), S && e.grid.updateSlide(Q, O, d, t), !(u[Q] && fi(O, "display") === "none")) {
|
|
13740
13753
|
if (r.slidesPerView === "auto") {
|
|
13741
13754
|
P && (u[Q].style[t("width")] = "");
|
|
13742
|
-
const z = getComputedStyle(
|
|
13743
|
-
if (ae && (
|
|
13744
|
-
F = e.isHorizontal() ? x0(
|
|
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);
|
|
13745
13758
|
else {
|
|
13746
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");
|
|
13747
13760
|
if (Be && Be === "border-box")
|
|
@@ -13750,11 +13763,11 @@ function lT() {
|
|
|
13750
13763
|
const {
|
|
13751
13764
|
clientWidth: Ce,
|
|
13752
13765
|
offsetWidth: De
|
|
13753
|
-
} =
|
|
13766
|
+
} = O;
|
|
13754
13767
|
F = J + te + Ee + Ae + _e + (De - Ce);
|
|
13755
13768
|
}
|
|
13756
13769
|
}
|
|
13757
|
-
ae && (
|
|
13770
|
+
ae && (O.style.transform = ae), ue && (O.style.webkitTransform = ue), r.roundLengths && (F = Math.floor(F));
|
|
13758
13771
|
} else
|
|
13759
13772
|
F = (s - (r.slidesPerView - 1) * m) / r.slidesPerView, r.roundLengths && (F = Math.floor(F)), u[Q] && (u[Q].style[t("width")] = `${F}px`);
|
|
13760
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;
|
|
@@ -13762,26 +13775,26 @@ function lT() {
|
|
|
13762
13775
|
}
|
|
13763
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) {
|
|
13764
13777
|
const Q = [];
|
|
13765
|
-
for (let
|
|
13766
|
-
let z = f[
|
|
13767
|
-
r.roundLengths && (z = Math.floor(z)), f[
|
|
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);
|
|
13768
13781
|
}
|
|
13769
13782
|
f = Q, Math.floor(e.virtualSize - s) - Math.floor(f[f.length - 1]) > 1 && f.push(e.virtualSize - s);
|
|
13770
13783
|
}
|
|
13771
13784
|
if (l && r.loop) {
|
|
13772
13785
|
const Q = h[0] + m;
|
|
13773
13786
|
if (r.slidesPerGroup > 1) {
|
|
13774
|
-
const
|
|
13775
|
-
for (let ae = 0; ae <
|
|
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)
|
|
13776
13789
|
f.push(f[f.length - 1] + z);
|
|
13777
13790
|
}
|
|
13778
|
-
for (let
|
|
13791
|
+
for (let O = 0; O < e.virtual.slidesBefore + e.virtual.slidesAfter; O += 1)
|
|
13779
13792
|
r.slidesPerGroup === 1 && f.push(f[f.length - 1] + Q), p.push(p[p.length - 1] + Q), e.virtualSize += Q;
|
|
13780
13793
|
}
|
|
13781
13794
|
if (f.length === 0 && (f = [0]), m !== 0) {
|
|
13782
13795
|
const Q = e.isHorizontal() && o ? "marginLeft" : t("marginRight");
|
|
13783
|
-
u.filter((
|
|
13784
|
-
|
|
13796
|
+
u.filter((O, z) => !r.cssMode || r.loop ? !0 : z !== u.length - 1).forEach((O) => {
|
|
13797
|
+
O.style[Q] = `${m}px`;
|
|
13785
13798
|
});
|
|
13786
13799
|
}
|
|
13787
13800
|
if (r.centeredSlides && r.centeredSlidesBounds) {
|
|
@@ -13789,19 +13802,19 @@ function lT() {
|
|
|
13789
13802
|
h.forEach((z) => {
|
|
13790
13803
|
Q += z + (m || 0);
|
|
13791
13804
|
}), Q -= m;
|
|
13792
|
-
const
|
|
13793
|
-
f = f.map((z) => z <= 0 ? -v : z >
|
|
13805
|
+
const O = Q - s;
|
|
13806
|
+
f = f.map((z) => z <= 0 ? -v : z > O ? O + g : z);
|
|
13794
13807
|
}
|
|
13795
13808
|
if (r.centerInsufficientSlides) {
|
|
13796
13809
|
let Q = 0;
|
|
13797
|
-
if (h.forEach((
|
|
13798
|
-
Q +=
|
|
13810
|
+
if (h.forEach((O) => {
|
|
13811
|
+
Q += O + (m || 0);
|
|
13799
13812
|
}), Q -= m, Q < s) {
|
|
13800
|
-
const
|
|
13813
|
+
const O = (s - Q) / 2;
|
|
13801
13814
|
f.forEach((z, ae) => {
|
|
13802
|
-
f[ae] = z -
|
|
13815
|
+
f[ae] = z - O;
|
|
13803
13816
|
}), p.forEach((z, ae) => {
|
|
13804
|
-
p[ae] = z +
|
|
13817
|
+
p[ae] = z + O;
|
|
13805
13818
|
});
|
|
13806
13819
|
}
|
|
13807
13820
|
}
|
|
@@ -13812,12 +13825,12 @@ function lT() {
|
|
|
13812
13825
|
slidesSizesGrid: h
|
|
13813
13826
|
}), r.centeredSlides && r.cssMode && !r.centeredSlidesBounds) {
|
|
13814
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`);
|
|
13815
|
-
const Q = -e.snapGrid[0],
|
|
13816
|
-
e.snapGrid = e.snapGrid.map((z) => z + Q), e.slidesGrid = e.slidesGrid.map((z) => z +
|
|
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);
|
|
13817
13830
|
}
|
|
13818
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")) {
|
|
13819
|
-
const Q = `${r.containerModifierClass}backface-hidden`,
|
|
13820
|
-
d <= r.maxBackfaceHiddenSlides ?
|
|
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);
|
|
13821
13834
|
}
|
|
13822
13835
|
}
|
|
13823
13836
|
function cT(e) {
|
|
@@ -16323,7 +16336,7 @@ const vU = (e) => {
|
|
|
16323
16336
|
}), $l(() => {
|
|
16324
16337
|
!a || !a.value || a.value.off("_slideClass", A);
|
|
16325
16338
|
});
|
|
16326
|
-
const l =
|
|
16339
|
+
const l = D(() => ({
|
|
16327
16340
|
isActive: s.value.indexOf("swiper-slide-active") >= 0,
|
|
16328
16341
|
isVisible: s.value.indexOf("swiper-slide-visible") >= 0,
|
|
16329
16342
|
isPrev: s.value.indexOf("swiper-slide-prev") >= 0,
|
|
@@ -16359,7 +16372,7 @@ const yU = {
|
|
|
16359
16372
|
props: yU,
|
|
16360
16373
|
setup(e) {
|
|
16361
16374
|
var o;
|
|
16362
|
-
const t = e, n = [dU], r = N(null), a = N((o = r.value) == null ? void 0 : o.clientWidth), i =
|
|
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);
|
|
16363
16376
|
function s() {
|
|
16364
16377
|
var A;
|
|
16365
16378
|
a.value = (A = r.value) == null ? void 0 : A.clientWidth;
|
|
@@ -16677,14 +16690,14 @@ function L0(e) {
|
|
|
16677
16690
|
}
|
|
16678
16691
|
var Q = Object.assign({
|
|
16679
16692
|
position: o
|
|
16680
|
-
}, l && VU),
|
|
16693
|
+
}, l && VU), O = c === !0 ? $U({
|
|
16681
16694
|
x: f,
|
|
16682
16695
|
y: h
|
|
16683
16696
|
}, sr(n)) : {
|
|
16684
16697
|
x: f,
|
|
16685
16698
|
y: h
|
|
16686
16699
|
};
|
|
16687
|
-
if (f =
|
|
16700
|
+
if (f = O.x, h = O.y, A) {
|
|
16688
16701
|
var z;
|
|
16689
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));
|
|
16690
16703
|
}
|
|
@@ -16900,10 +16913,10 @@ function Cl(e, t) {
|
|
|
16900
16913
|
right: F.right - C.right + g.right
|
|
16901
16914
|
}, Q = e.modifiersData.offset;
|
|
16902
16915
|
if (d === mA && Q) {
|
|
16903
|
-
var
|
|
16916
|
+
var O = Q[a];
|
|
16904
16917
|
Object.keys(P).forEach(function(z) {
|
|
16905
16918
|
var ae = [kr, Cr].indexOf(z) >= 0 ? 1 : -1, ue = [qn, Cr].indexOf(z) >= 0 ? "y" : "x";
|
|
16906
|
-
P[z] +=
|
|
16919
|
+
P[z] += O[ue] * ae;
|
|
16907
16920
|
});
|
|
16908
16921
|
}
|
|
16909
16922
|
return P;
|
|
@@ -16947,7 +16960,7 @@ function aD(e) {
|
|
|
16947
16960
|
allowedAutoPlacements: h
|
|
16948
16961
|
}) : de);
|
|
16949
16962
|
}, []), C = t.rects.reference, B = t.rects.popper, E = /* @__PURE__ */ new Map(), S = !0, F = m[0], P = 0; P < m.length; P++) {
|
|
16950
|
-
var Q = m[P],
|
|
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, {
|
|
16951
16964
|
placement: Q,
|
|
16952
16965
|
boundary: c,
|
|
16953
16966
|
rootBoundary: u,
|
|
@@ -16956,7 +16969,7 @@ function aD(e) {
|
|
|
16956
16969
|
}), te = ae ? z ? kr : Yn : z ? Cr : qn;
|
|
16957
16970
|
C[ue] > B[ue] && (te = Cu(te));
|
|
16958
16971
|
var Ee = Cu(te), Ae = [];
|
|
16959
|
-
if (i && Ae.push(J[
|
|
16972
|
+
if (i && Ae.push(J[O] <= 0), o && Ae.push(J[te] <= 0, J[Ee] <= 0), Ae.every(function(we) {
|
|
16960
16973
|
return we;
|
|
16961
16974
|
})) {
|
|
16962
16975
|
F = Q, S = !1;
|
|
@@ -17090,7 +17103,7 @@ function pD(e) {
|
|
|
17090
17103
|
} : Object.assign({
|
|
17091
17104
|
mainAxis: 0,
|
|
17092
17105
|
altAxis: 0
|
|
17093
|
-
}, F), Q = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null,
|
|
17106
|
+
}, F), Q = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, O = {
|
|
17094
17107
|
x: 0,
|
|
17095
17108
|
y: 0
|
|
17096
17109
|
};
|
|
@@ -17100,13 +17113,13 @@ function pD(e) {
|
|
|
17100
17113
|
width: 0,
|
|
17101
17114
|
height: 0
|
|
17102
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);
|
|
17103
|
-
B[m] = Bn,
|
|
17116
|
+
B[m] = Bn, O[m] = Bn - te;
|
|
17104
17117
|
}
|
|
17105
17118
|
if (o) {
|
|
17106
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);
|
|
17107
|
-
B[C] = q,
|
|
17120
|
+
B[C] = q, O[C] = q - I;
|
|
17108
17121
|
}
|
|
17109
|
-
t.modifiersData[r] =
|
|
17122
|
+
t.modifiersData[r] = O;
|
|
17110
17123
|
}
|
|
17111
17124
|
}
|
|
17112
17125
|
const hD = {
|
|
@@ -17722,7 +17735,7 @@ function eO(e, t) {
|
|
|
17722
17735
|
function Q() {
|
|
17723
17736
|
return P()[0] === "hold";
|
|
17724
17737
|
}
|
|
17725
|
-
function
|
|
17738
|
+
function O() {
|
|
17726
17739
|
var $;
|
|
17727
17740
|
return !!(($ = m.props.render) != null && $.$$tippy);
|
|
17728
17741
|
}
|
|
@@ -17905,7 +17918,7 @@ function eO(e, t) {
|
|
|
17905
17918
|
}
|
|
17906
17919
|
function Ht() {
|
|
17907
17920
|
jt();
|
|
17908
|
-
var $ = m.props, ge = $.popperOptions, ke = $.placement, At = $.offset, Ze = $.getReferenceClientRect, Vt = $.moveTransition, An =
|
|
17921
|
+
var $ = m.props, ge = $.popperOptions, ke = $.placement, At = $.offset, Ze = $.getReferenceClientRect, Vt = $.moveTransition, An = O() ? zh(B).arrow : null, ma = Ze ? {
|
|
17909
17922
|
getBoundingClientRect: Ze,
|
|
17910
17923
|
contextElement: Ze.contextElement || z()
|
|
17911
17924
|
} : e, fA = {
|
|
@@ -17915,7 +17928,7 @@ function eO(e, t) {
|
|
|
17915
17928
|
requires: ["computeStyles"],
|
|
17916
17929
|
fn: function(Nn) {
|
|
17917
17930
|
var Vr = Nn.state;
|
|
17918
|
-
if (
|
|
17931
|
+
if (O()) {
|
|
17919
17932
|
var pA = ue(), hA = pA.box;
|
|
17920
17933
|
["placement", "reference-hidden", "escaped"].forEach(function(es) {
|
|
17921
17934
|
es === "placement" ? hA.setAttribute("data-placement", Vr.placement) : Vr.attributes.popper["data-popper-" + es] ? hA.setAttribute("data-" + es, "") : hA.removeAttribute("data-" + es);
|
|
@@ -17948,7 +17961,7 @@ function eO(e, t) {
|
|
|
17948
17961
|
adaptive: !Vt
|
|
17949
17962
|
}
|
|
17950
17963
|
}, fA];
|
|
17951
|
-
|
|
17964
|
+
O() && An && va.push({
|
|
17952
17965
|
name: "arrow",
|
|
17953
17966
|
options: {
|
|
17954
17967
|
element: An,
|
|
@@ -18028,18 +18041,18 @@ function eO(e, t) {
|
|
|
18028
18041
|
process.env.NODE_ENV !== "production" && Fa(m.state.isDestroyed, to("show"));
|
|
18029
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);
|
|
18030
18043
|
if (!($ || ge || ke || At) && !z().hasAttribute("disabled") && (Ee("onShow", [m], !1), m.props.onShow(m) !== !1)) {
|
|
18031
|
-
if (m.state.isVisible = !0,
|
|
18044
|
+
if (m.state.isVisible = !0, O() && (B.style.visibility = "visible"), te(), de(), m.state.isMounted || (B.style.transition = "none"), O()) {
|
|
18032
18045
|
var Vt = ue(), An = Vt.box, ma = Vt.content;
|
|
18033
18046
|
up([An, ma], 0);
|
|
18034
18047
|
}
|
|
18035
18048
|
d = function() {
|
|
18036
18049
|
var va;
|
|
18037
18050
|
if (!(!m.state.isVisible || l)) {
|
|
18038
|
-
if (l = !0, B.offsetHeight, B.style.transition = m.props.moveTransition,
|
|
18051
|
+
if (l = !0, B.offsetHeight, B.style.transition = m.props.moveTransition, O() && m.props.animation) {
|
|
18039
18052
|
var Zs = ue(), Nn = Zs.box, Vr = Zs.content;
|
|
18040
18053
|
up([Nn, Vr], Ze), K0([Nn, Vr], "visible");
|
|
18041
18054
|
}
|
|
18042
|
-
Ae(), _e(), V0(fp, m), (va = m.popperInstance) == null || va.forceUpdate(), Ee("onMount", [m]), m.props.animation &&
|
|
18055
|
+
Ae(), _e(), V0(fp, m), (va = m.popperInstance) == null || va.forceUpdate(), Ee("onMount", [m]), m.props.animation && O() && Xe(Ze, function() {
|
|
18043
18056
|
m.state.isShown = !0, Ee("onShown", [m]);
|
|
18044
18057
|
});
|
|
18045
18058
|
}
|
|
@@ -18050,11 +18063,11 @@ function eO(e, t) {
|
|
|
18050
18063
|
process.env.NODE_ENV !== "production" && Fa(m.state.isDestroyed, to("hide"));
|
|
18051
18064
|
var $ = !m.state.isVisible, ge = m.state.isDestroyed, ke = !m.state.isEnabled, At = cp(m.props.duration, 1, ar.duration);
|
|
18052
18065
|
if (!($ || ge || ke) && (Ee("onHide", [m], !1), m.props.onHide(m) !== !1)) {
|
|
18053
|
-
if (m.state.isVisible = !1, m.state.isShown = !1, l = !1, s = !1,
|
|
18066
|
+
if (m.state.isVisible = !1, m.state.isShown = !1, l = !1, s = !1, O() && (B.style.visibility = "hidden"), Be(), G(), te(!0), O()) {
|
|
18054
18067
|
var Ze = ue(), Vt = Ze.box, An = Ze.content;
|
|
18055
18068
|
m.props.animation && (up([Vt, An], At), K0([Vt, An], "hidden"));
|
|
18056
18069
|
}
|
|
18057
|
-
Ae(), _e(), m.props.animation ?
|
|
18070
|
+
Ae(), _e(), m.props.animation ? O() && pe(At, m.unmount) : m.unmount();
|
|
18058
18071
|
}
|
|
18059
18072
|
}
|
|
18060
18073
|
function Hn($) {
|
|
@@ -18183,7 +18196,7 @@ const W_ = {
|
|
|
18183
18196
|
setup(e) {
|
|
18184
18197
|
const { t } = oe(), n = e, r = N(null), a = N(null);
|
|
18185
18198
|
let i = null;
|
|
18186
|
-
const s = N(!1), o = Bs(n.cardProp, n.cardCodeProp), A =
|
|
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(() => {
|
|
18187
18200
|
if (o.value === void 0)
|
|
18188
18201
|
return [];
|
|
18189
18202
|
const g = [];
|
|
@@ -18191,7 +18204,7 @@ const W_ = {
|
|
|
18191
18204
|
for (const b of o.value.associatedCardRefs)
|
|
18192
18205
|
g.push(Jn().cardJsonObject[b]);
|
|
18193
18206
|
return g;
|
|
18194
|
-
}), c =
|
|
18207
|
+
}), c = D(() => {
|
|
18195
18208
|
if (o.value === void 0)
|
|
18196
18209
|
return [];
|
|
18197
18210
|
const g = [];
|
|
@@ -18202,11 +18215,11 @@ const W_ = {
|
|
|
18202
18215
|
y && g.push(y);
|
|
18203
18216
|
}
|
|
18204
18217
|
return g;
|
|
18205
|
-
}), u =
|
|
18218
|
+
}), u = D(() => n.isRoot && (d.value !== null || o.value && (o.value.keywordRefs.length > 0 || o.value.associatedCardRefs.length > 0))), d = D(() => {
|
|
18206
18219
|
var b;
|
|
18207
18220
|
const g = tm().acquiredCards;
|
|
18208
18221
|
return g === void 0 ? null : g[((b = o.value) == null ? void 0 : b.cardCode) ?? 0] ?? 0;
|
|
18209
|
-
}), f =
|
|
18222
|
+
}), f = D(() => o.value === void 0 ? null : n.isDeckBuilder && n.deckList[o.value.cardCode] === 3 ? "disabled" : null);
|
|
18210
18223
|
be(
|
|
18211
18224
|
() => n.showTippyLocation,
|
|
18212
18225
|
(g) => {
|
|
@@ -18758,15 +18771,15 @@ var Pe = H({
|
|
|
18758
18771
|
}
|
|
18759
18772
|
},
|
|
18760
18773
|
setup: function(t, n) {
|
|
18761
|
-
var r = n.attrs, a =
|
|
18774
|
+
var r = n.attrs, a = D(function() {
|
|
18762
18775
|
return Z0(t.icon);
|
|
18763
|
-
}), i =
|
|
18776
|
+
}), i = D(function() {
|
|
18764
18777
|
return XA("classes", _O(t));
|
|
18765
|
-
}), s =
|
|
18778
|
+
}), s = D(function() {
|
|
18766
18779
|
return XA("transform", typeof t.transform == "string" ? Yu.transform(t.transform) : t.transform);
|
|
18767
|
-
}), o =
|
|
18780
|
+
}), o = D(function() {
|
|
18768
18781
|
return XA("mask", Z0(t.mask));
|
|
18769
|
-
}), A =
|
|
18782
|
+
}), A = D(function() {
|
|
18770
18783
|
var c = Tr(Tr(Tr(Tr({}, i.value), s.value), o.value), {}, {
|
|
18771
18784
|
symbol: t.symbol,
|
|
18772
18785
|
maskId: t.maskId
|
|
@@ -18779,7 +18792,7 @@ var Pe = H({
|
|
|
18779
18792
|
}, {
|
|
18780
18793
|
immediate: !0
|
|
18781
18794
|
});
|
|
18782
|
-
var l =
|
|
18795
|
+
var l = D(function() {
|
|
18783
18796
|
return A.value ? Um(A.value.abstract[0], {}, r) : null;
|
|
18784
18797
|
});
|
|
18785
18798
|
return function() {
|
|
@@ -18796,7 +18809,7 @@ H({
|
|
|
18796
18809
|
}
|
|
18797
18810
|
},
|
|
18798
18811
|
setup: function(t, n) {
|
|
18799
|
-
var r = n.slots, a = A_.familyPrefix, i =
|
|
18812
|
+
var r = n.slots, a = A_.familyPrefix, i = D(function() {
|
|
18800
18813
|
return ["".concat(a, "-layers")].concat($h(t.fixedWidth ? ["".concat(a, "-fw")] : []));
|
|
18801
18814
|
});
|
|
18802
18815
|
return function() {
|
|
@@ -18830,14 +18843,14 @@ H({
|
|
|
18830
18843
|
}
|
|
18831
18844
|
},
|
|
18832
18845
|
setup: function(t, n) {
|
|
18833
|
-
var r = n.attrs, a = A_.familyPrefix, i =
|
|
18846
|
+
var r = n.attrs, a = A_.familyPrefix, i = D(function() {
|
|
18834
18847
|
return XA("classes", [].concat($h(t.counter ? ["".concat(a, "-layers-counter")] : []), $h(t.position ? ["".concat(a, "-layers-").concat(t.position)] : [])));
|
|
18835
|
-
}), s =
|
|
18848
|
+
}), s = D(function() {
|
|
18836
18849
|
return XA("transform", typeof t.transform == "string" ? Yu.transform(t.transform) : t.transform);
|
|
18837
|
-
}), o =
|
|
18850
|
+
}), o = D(function() {
|
|
18838
18851
|
var l = kF(t.value.toString(), Tr(Tr({}, s.value), i.value)), c = l.abstract;
|
|
18839
18852
|
return t.counter && (c[0].attributes.class = c[0].attributes.class.replace("fa-layers-text", "")), c[0];
|
|
18840
|
-
}), A =
|
|
18853
|
+
}), A = D(function() {
|
|
18841
18854
|
return Um(o.value, {}, r);
|
|
18842
18855
|
});
|
|
18843
18856
|
return function() {
|
|
@@ -18858,16 +18871,16 @@ const IO = { class: "card-slice" }, TO = {
|
|
|
18858
18871
|
setup(e, { emit: t }) {
|
|
18859
18872
|
const n = e;
|
|
18860
18873
|
console.log("props.color", n.color);
|
|
18861
|
-
const r = Bs(n.cardProp, n.cardCodeProp, !1), a = t, i = N(null), s = N(null), o = N(null), A = N(null), l =
|
|
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(() => {
|
|
18862
18875
|
let f = n.color;
|
|
18863
18876
|
return !f && r.value && (f = ps(r.value, null, !0)), n.color === null && (f = "var(--color-background-2-rgb)"), { "--color": f };
|
|
18864
|
-
}), c =
|
|
18877
|
+
}), c = D(() => r.value ? He().callbacks.cardImageCallback(
|
|
18865
18878
|
r.value.cardCode,
|
|
18866
18879
|
Wt.Slice
|
|
18867
|
-
) : ""), u =
|
|
18880
|
+
) : ""), u = D(() => {
|
|
18868
18881
|
const f = ["card-slice-wrapper"];
|
|
18869
18882
|
return n.maintainAspectRatio && f.push("maintain-aspect-ratio"), f;
|
|
18870
|
-
}), d =
|
|
18883
|
+
}), d = D(() => {
|
|
18871
18884
|
const f = tm().acquiredCards;
|
|
18872
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;
|
|
18873
18886
|
});
|
|
@@ -19008,7 +19021,7 @@ function Nt(e) {
|
|
|
19008
19021
|
) }));
|
|
19009
19022
|
}
|
|
19010
19023
|
function HO(e, t) {
|
|
19011
|
-
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 =
|
|
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]);
|
|
19012
19025
|
return {
|
|
19013
19026
|
iv: s,
|
|
19014
19027
|
internalValue: s,
|
|
@@ -19112,7 +19125,7 @@ function KO(e, t, n) {
|
|
|
19112
19125
|
canDeselect: F,
|
|
19113
19126
|
max: P,
|
|
19114
19127
|
strict: Q,
|
|
19115
|
-
closeOnSelect:
|
|
19128
|
+
closeOnSelect: O,
|
|
19116
19129
|
closeOnDeselect: z,
|
|
19117
19130
|
groups: ae,
|
|
19118
19131
|
reverse: ue,
|
|
@@ -19124,10 +19137,10 @@ function KO(e, t, n) {
|
|
|
19124
19137
|
disabledProp: Be,
|
|
19125
19138
|
searchStart: Ce,
|
|
19126
19139
|
searchFilter: De
|
|
19127
|
-
} = 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 =
|
|
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({
|
|
19128
19141
|
get: () => Ht.value,
|
|
19129
19142
|
set: (M) => Ht.value = M
|
|
19130
|
-
}), he = Nt(() => A.value || l.value || !1), Ge = Nt(() => u.value !== void 0 ? u.value : d.value !== void 0 ? d.value : !0), Le =
|
|
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(() => {
|
|
19131
19144
|
if (ae.value) {
|
|
19132
19145
|
let M = q.value || /* istanbul ignore next */
|
|
19133
19146
|
[], re = [];
|
|
@@ -19141,13 +19154,13 @@ function KO(e, t, n) {
|
|
|
19141
19154
|
[]);
|
|
19142
19155
|
return zt.value.length && (M = M.concat(zt.value)), M;
|
|
19143
19156
|
}
|
|
19144
|
-
}), $e =
|
|
19157
|
+
}), $e = D(() => {
|
|
19145
19158
|
let M = Le.value;
|
|
19146
19159
|
return ue.value && (M = M.reverse()), ge.value.length && (M = ge.value.concat(M)), $f(M);
|
|
19147
|
-
}), V =
|
|
19160
|
+
}), V = D(() => {
|
|
19148
19161
|
let M = $e.value;
|
|
19149
19162
|
return U.value > 0 && (M = M.slice(0, U.value)), M;
|
|
19150
|
-
}), q =
|
|
19163
|
+
}), q = D(() => {
|
|
19151
19164
|
if (!ae.value)
|
|
19152
19165
|
return [];
|
|
19153
19166
|
let M = [], re = Ht.value || /* istanbul ignore next */
|
|
@@ -19157,14 +19170,14 @@ function KO(e, t, n) {
|
|
|
19157
19170
|
[te.value]: [...zt.value],
|
|
19158
19171
|
__CREATE__: !0
|
|
19159
19172
|
}), M.concat(re);
|
|
19160
|
-
}), Je =
|
|
19173
|
+
}), Je = D(() => {
|
|
19161
19174
|
let M = [...q.value].map((re) => ({ ...re }));
|
|
19162
19175
|
return ge.value.length && (M[0] && M[0].__CREATE__ ? M[0][te.value] = [...ge.value, ...M[0][te.value]] : M = [{
|
|
19163
19176
|
[S.value]: " ",
|
|
19164
19177
|
[te.value]: [...ge.value],
|
|
19165
19178
|
__CREATE__: !0
|
|
19166
19179
|
}].concat(M)), M;
|
|
19167
|
-
}), mt =
|
|
19180
|
+
}), mt = D(() => {
|
|
19168
19181
|
if (!ae.value)
|
|
19169
19182
|
return [];
|
|
19170
19183
|
let M = Je.value;
|
|
@@ -19179,7 +19192,7 @@ function KO(e, t, n) {
|
|
|
19179
19192
|
__VISIBLE__: $f(qt).map((ts) => Object.assign({}, ts, re[Be.value] ? { [Be.value]: !0 } : {}))
|
|
19180
19193
|
};
|
|
19181
19194
|
}));
|
|
19182
|
-
}), Hn =
|
|
19195
|
+
}), Hn = D(() => {
|
|
19183
19196
|
switch (a.value) {
|
|
19184
19197
|
case "single":
|
|
19185
19198
|
return !Gr(de.value[B.value]);
|
|
@@ -19187,12 +19200,12 @@ function KO(e, t, n) {
|
|
|
19187
19200
|
case "tags":
|
|
19188
19201
|
return !Gr(de.value) && de.value.length > 0;
|
|
19189
19202
|
}
|
|
19190
|
-
}), ii =
|
|
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 ? [] : [{
|
|
19191
19204
|
[B.value]: pe.value,
|
|
19192
19205
|
[ke.value[0]]: pe.value,
|
|
19193
19206
|
[c.value]: pe.value,
|
|
19194
19207
|
__CREATE__: !0
|
|
19195
|
-
}]), ke =
|
|
19208
|
+
}]), ke = D(() => i.value ? Array.isArray(i.value) ? i.value : [i.value] : [c.value]), At = Nt(() => {
|
|
19196
19209
|
switch (a.value) {
|
|
19197
19210
|
case "single":
|
|
19198
19211
|
return null;
|
|
@@ -19259,7 +19272,7 @@ function KO(e, t, n) {
|
|
|
19259
19272
|
F.value && An(M), z.value && (on(), Oe());
|
|
19260
19273
|
return;
|
|
19261
19274
|
}
|
|
19262
|
-
M && Vf(M), C.value && Xe(),
|
|
19275
|
+
M && Vf(M), C.value && Xe(), O.value && (on(), Oe()), M && Vt(M);
|
|
19263
19276
|
break;
|
|
19264
19277
|
case "multiple":
|
|
19265
19278
|
if (M && Nn(M)) {
|
|
@@ -19270,7 +19283,7 @@ function KO(e, t, n) {
|
|
|
19270
19283
|
t.emit("max", we);
|
|
19271
19284
|
return;
|
|
19272
19285
|
}
|
|
19273
|
-
M && (Vf(M), Vt(M)), C.value && Xe(), o.value && on(),
|
|
19286
|
+
M && (Vf(M), Vt(M)), C.value && Xe(), o.value && on(), O.value && Oe();
|
|
19274
19287
|
break;
|
|
19275
19288
|
case "tags":
|
|
19276
19289
|
if (M && Nn(M)) {
|
|
@@ -19281,10 +19294,10 @@ function KO(e, t, n) {
|
|
|
19281
19294
|
t.emit("max", we);
|
|
19282
19295
|
return;
|
|
19283
19296
|
}
|
|
19284
|
-
M && Vf(M), C.value && Xe(), M && Vt(M), o.value && on(),
|
|
19297
|
+
M && Vf(M), C.value && Xe(), M && Vt(M), o.value && on(), O.value && Oe();
|
|
19285
19298
|
break;
|
|
19286
19299
|
}
|
|
19287
|
-
|
|
19300
|
+
O.value || wn();
|
|
19288
19301
|
}, VS = (M) => {
|
|
19289
19302
|
if (!(Vr(M) || a.value === "single" || !Ae.value)) {
|
|
19290
19303
|
switch (a.value) {
|
|
@@ -19295,7 +19308,7 @@ function KO(e, t, n) {
|
|
|
19295
19308
|
), o.value && Gt.value && dn(mt.value.filter((re) => !re[Be.value])[Gt.value.index]);
|
|
19296
19309
|
break;
|
|
19297
19310
|
}
|
|
19298
|
-
|
|
19311
|
+
O.value && ne();
|
|
19299
19312
|
}
|
|
19300
19313
|
}, Vf = (M) => {
|
|
19301
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());
|
|
@@ -19439,23 +19452,23 @@ function WO(e, t, n) {
|
|
|
19439
19452
|
groupSelect: l,
|
|
19440
19453
|
disabledProp: c,
|
|
19441
19454
|
groupOptions: u
|
|
19442
|
-
} = 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 =
|
|
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(() => {
|
|
19443
19456
|
const G = F.value ? g.value : (
|
|
19444
19457
|
/* istanbul ignore next */
|
|
19445
19458
|
we(g.value)
|
|
19446
19459
|
), pe = E.value.map((wt) => wt[s.value]).indexOf(G[s.value]);
|
|
19447
19460
|
let Xe = E.value[pe - 1];
|
|
19448
19461
|
return Xe === void 0 && (Xe = z.value), Xe;
|
|
19449
|
-
}),
|
|
19462
|
+
}), O = D(() => {
|
|
19450
19463
|
let G = E.value.map((pe) => pe.label).indexOf(F.value ? g.value[s.value] : we(g.value)[s.value]) + 1;
|
|
19451
19464
|
return E.value.length <= G && (G = 0), E.value[G];
|
|
19452
|
-
}), z =
|
|
19465
|
+
}), z = D(() => [...E.value].slice(-1)[0]), ae = D(() => g.value.__VISIBLE__.filter((G) => !G[c.value])[0]), ue = D(() => {
|
|
19453
19466
|
const G = P.value.__VISIBLE__.filter((pe) => !pe[c.value]);
|
|
19454
19467
|
return G[G.map((pe) => pe[r.value]).indexOf(g.value[r.value]) - 1];
|
|
19455
|
-
}), J =
|
|
19468
|
+
}), J = D(() => {
|
|
19456
19469
|
const G = we(g.value).__VISIBLE__.filter((pe) => !pe[c.value]);
|
|
19457
19470
|
return G[G.map((pe) => pe[r.value]).indexOf(g.value[r.value]) + 1];
|
|
19458
|
-
}), te =
|
|
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 = () => {
|
|
19459
19472
|
b(B.value[0] || null);
|
|
19460
19473
|
}, Be = () => {
|
|
19461
19474
|
!g.value || g.value[c.value] === !0 || (F.value ? h(g.value) : p(g.value));
|
|
@@ -19464,7 +19477,7 @@ function WO(e, t, n) {
|
|
|
19464
19477
|
b((o.value && S.value ? E.value[0].__CREATE__ ? B.value[0] : E.value[0] : B.value[0]) || null);
|
|
19465
19478
|
else if (o.value && S.value) {
|
|
19466
19479
|
let G = F.value ? ae.value : J.value;
|
|
19467
|
-
G === void 0 && (G =
|
|
19480
|
+
G === void 0 && (G = O.value, G.__CREATE__ && (G = G[u.value][0])), b(G || /* istanbul ignore next */
|
|
19468
19481
|
null);
|
|
19469
19482
|
} else {
|
|
19470
19483
|
let G = B.value.map((pe) => pe[r.value]).indexOf(g.value[r.value]) + 1;
|
|
@@ -19888,10 +19901,10 @@ function Pm(e, t) {
|
|
|
19888
19901
|
right: F.right - C.right + g.right
|
|
19889
19902
|
}, Q = e.modifiersData.offset;
|
|
19890
19903
|
if (d === vA && Q) {
|
|
19891
|
-
var
|
|
19904
|
+
var O = Q[a];
|
|
19892
19905
|
Object.keys(P).forEach(function(z) {
|
|
19893
19906
|
var ae = [Pi, sa].indexOf(z) >= 0 ? 1 : -1, ue = [Lr, sa].indexOf(z) >= 0 ? "y" : "x";
|
|
19894
|
-
P[z] +=
|
|
19907
|
+
P[z] += O[ue] * ae;
|
|
19895
19908
|
});
|
|
19896
19909
|
}
|
|
19897
19910
|
return P;
|
|
@@ -20088,14 +20101,14 @@ function iy(e) {
|
|
|
20088
20101
|
}
|
|
20089
20102
|
var Q = Object.assign({
|
|
20090
20103
|
position: o
|
|
20091
|
-
}, l && FL),
|
|
20104
|
+
}, l && FL), O = c === !0 ? IL({
|
|
20092
20105
|
x: f,
|
|
20093
20106
|
y: h
|
|
20094
20107
|
}, or(n)) : {
|
|
20095
20108
|
x: f,
|
|
20096
20109
|
y: h
|
|
20097
20110
|
};
|
|
20098
|
-
if (f =
|
|
20111
|
+
if (f = O.x, h = O.y, A) {
|
|
20099
20112
|
var z;
|
|
20100
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));
|
|
20101
20114
|
}
|
|
@@ -20199,7 +20212,7 @@ function HL(e) {
|
|
|
20199
20212
|
} : Object.assign({
|
|
20200
20213
|
mainAxis: 0,
|
|
20201
20214
|
altAxis: 0
|
|
20202
|
-
}, F), Q = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null,
|
|
20215
|
+
}, F), Q = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, O = {
|
|
20203
20216
|
x: 0,
|
|
20204
20217
|
y: 0
|
|
20205
20218
|
};
|
|
@@ -20209,13 +20222,13 @@ function HL(e) {
|
|
|
20209
20222
|
width: 0,
|
|
20210
20223
|
height: 0
|
|
20211
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);
|
|
20212
|
-
B[m] = Bn,
|
|
20225
|
+
B[m] = Bn, O[m] = Bn - te;
|
|
20213
20226
|
}
|
|
20214
20227
|
if (o) {
|
|
20215
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);
|
|
20216
|
-
B[C] = q,
|
|
20229
|
+
B[C] = q, O[C] = q - I;
|
|
20217
20230
|
}
|
|
20218
|
-
t.modifiersData[r] =
|
|
20231
|
+
t.modifiersData[r] = O;
|
|
20219
20232
|
}
|
|
20220
20233
|
}
|
|
20221
20234
|
var NL = {
|
|
@@ -20283,7 +20296,7 @@ function WL(e) {
|
|
|
20283
20296
|
allowedAutoPlacements: h
|
|
20284
20297
|
}) : de);
|
|
20285
20298
|
}, []), C = t.rects.reference, B = t.rects.popper, E = /* @__PURE__ */ new Map(), S = !0, F = m[0], P = 0; P < m.length; P++) {
|
|
20286
|
-
var Q = m[P],
|
|
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, {
|
|
20287
20300
|
placement: Q,
|
|
20288
20301
|
boundary: c,
|
|
20289
20302
|
rootBoundary: u,
|
|
@@ -20292,7 +20305,7 @@ function WL(e) {
|
|
|
20292
20305
|
}), te = ae ? z ? Pi : Na : z ? sa : Lr;
|
|
20293
20306
|
C[ue] > B[ue] && (te = Su(te));
|
|
20294
20307
|
var Ee = Su(te), Ae = [];
|
|
20295
|
-
if (i && Ae.push(J[
|
|
20308
|
+
if (i && Ae.push(J[O] <= 0), o && Ae.push(J[te] <= 0, J[Ee] <= 0), Ae.every(function(we) {
|
|
20296
20309
|
return we;
|
|
20297
20310
|
})) {
|
|
20298
20311
|
F = Q, S = !1;
|
|
@@ -20454,7 +20467,7 @@ function YL(e, t, n) {
|
|
|
20454
20467
|
createTag: u,
|
|
20455
20468
|
createOption: d,
|
|
20456
20469
|
reverse: f
|
|
20457
|
-
} = 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,
|
|
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 = () => {
|
|
20458
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)]);
|
|
20459
20472
|
};
|
|
20460
20473
|
return {
|
|
@@ -20498,7 +20511,7 @@ function YL(e, t, n) {
|
|
|
20498
20511
|
J(), m(), Ae.preventDefault();
|
|
20499
20512
|
break;
|
|
20500
20513
|
case "Escape":
|
|
20501
|
-
|
|
20514
|
+
O();
|
|
20502
20515
|
break;
|
|
20503
20516
|
case "ArrowUp":
|
|
20504
20517
|
if (Ae.preventDefault(), !o.value)
|
|
@@ -20591,7 +20604,7 @@ function XL(e, t, n) {
|
|
|
20591
20604
|
...r.value
|
|
20592
20605
|
})), g = Nt(() => !!(o.value && i.value && (!f.value || f.value && p.value.length)));
|
|
20593
20606
|
return {
|
|
20594
|
-
classList:
|
|
20607
|
+
classList: D(() => {
|
|
20595
20608
|
const y = v.value;
|
|
20596
20609
|
return {
|
|
20597
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 : []),
|
|
@@ -20678,17 +20691,17 @@ function ZL(e, t, n) {
|
|
|
20678
20691
|
searchable: c
|
|
20679
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(() => {
|
|
20680
20693
|
if (u.value) {
|
|
20681
|
-
let
|
|
20682
|
-
return
|
|
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;
|
|
20683
20696
|
}
|
|
20684
|
-
}), y = Nt(() => r.value), m = Nt(() => o.value !== "single"), C =
|
|
20685
|
-
let
|
|
20686
|
-
return c.value && (
|
|
20687
|
-
}), E = (
|
|
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} ❎`;
|
|
20688
20701
|
return tt(() => {
|
|
20689
20702
|
if (a.value && document && document.querySelector) {
|
|
20690
|
-
let
|
|
20691
|
-
h.value =
|
|
20703
|
+
let O = document.querySelector(`[for="${a.value}"]`);
|
|
20704
|
+
h.value = O ? O.innerText : null;
|
|
20692
20705
|
}
|
|
20693
20706
|
}), {
|
|
20694
20707
|
arias: B,
|
|
@@ -21745,7 +21758,7 @@ const Ya = /* @__PURE__ */ K(UQ, [["__scopeId", "data-v-ab68e9be"]]), DQ = {
|
|
|
21745
21758
|
props: DQ,
|
|
21746
21759
|
emits: ["clear:filterArray"],
|
|
21747
21760
|
setup(e, { emit: t }) {
|
|
21748
|
-
const n = e, r = t, a =
|
|
21761
|
+
const n = e, r = t, a = D(() => n.filterArray && n.filterArray.length > 0 ? "clickable" : null);
|
|
21749
21762
|
function i() {
|
|
21750
21763
|
r("clear:filterArray");
|
|
21751
21764
|
}
|
|
@@ -21838,7 +21851,7 @@ const ql = /* @__PURE__ */ K(NQ, [["__scopeId", "data-v-727f5a58"]]), zQ = {
|
|
|
21838
21851
|
props: VQ,
|
|
21839
21852
|
emits: ["update:isSelected"],
|
|
21840
21853
|
setup(e, { emit: t }) {
|
|
21841
|
-
const n = e, r = t, a =
|
|
21854
|
+
const n = e, r = t, a = D(() => (console.log(n.icon), { content: n.icon }));
|
|
21842
21855
|
function i() {
|
|
21843
21856
|
r("update:isSelected", !n.isSelected);
|
|
21844
21857
|
}
|
|
@@ -21872,7 +21885,7 @@ const Mn = /* @__PURE__ */ K(WQ, [["__scopeId", "data-v-ab8b99a4"]]), GQ = {
|
|
|
21872
21885
|
props: GQ,
|
|
21873
21886
|
emits: ["update:selectedOption"],
|
|
21874
21887
|
setup(e, { emit: t }) {
|
|
21875
|
-
const n = e, r = t, a =
|
|
21888
|
+
const n = e, r = t, a = D(() => ({
|
|
21876
21889
|
left: `calc(var(--spacing-1) + (100% - calc(var(--spacing-1) * 2)) / ${n.options.length} * ${n.selectedOption})`,
|
|
21877
21890
|
width: `calc((100% - calc(var(--spacing-1) * 2)) / ${n.options.length})`
|
|
21878
21891
|
}));
|
|
@@ -21915,7 +21928,7 @@ const Xd = /* @__PURE__ */ K(JQ, [["__scopeId", "data-v-d5d9745a"]]), ZQ = { cla
|
|
|
21915
21928
|
props: zQ,
|
|
21916
21929
|
emits: ["update:filterArray"],
|
|
21917
21930
|
setup(e, { emit: t }) {
|
|
21918
|
-
const { t: n } = oe(), r = e, a = t, i =
|
|
21931
|
+
const { t: n } = oe(), r = e, a = t, i = D(() => Re().dataJson.ranks.sort(
|
|
21919
21932
|
(c, u) => u.order - c.order
|
|
21920
21933
|
)), s = er(r.filterArray), o = N(0);
|
|
21921
21934
|
be(s, () => {
|
|
@@ -22050,7 +22063,7 @@ const aC = /* @__PURE__ */ K(cM, [["__scopeId", "data-v-a94d786a"]]), uM = {
|
|
|
22050
22063
|
props: uM,
|
|
22051
22064
|
emits: ["update:filterArray"],
|
|
22052
22065
|
setup(e, { emit: t }) {
|
|
22053
|
-
const { t: n } = oe(), r = e, a = t, i =
|
|
22066
|
+
const { t: n } = oe(), r = e, a = t, i = D(() => Re().dataJson.rarities.filter(
|
|
22054
22067
|
(l) => l.nameRef !== "None"
|
|
22055
22068
|
)), s = er(r.filterArray);
|
|
22056
22069
|
be(s, () => {
|
|
@@ -22167,7 +22180,7 @@ const aC = /* @__PURE__ */ K(cM, [["__scopeId", "data-v-a94d786a"]]), uM = {
|
|
|
22167
22180
|
props: yM,
|
|
22168
22181
|
emits: ["update:filterArray"],
|
|
22169
22182
|
setup(e, { emit: t }) {
|
|
22170
|
-
const { t: n } = oe(), r = e, a = t, i = N(r.filterArray), s =
|
|
22183
|
+
const { t: n } = oe(), r = e, a = t, i = N(r.filterArray), s = D(() => Re().dataJson.keywords.filter(
|
|
22171
22184
|
(A) => A.showInFilter
|
|
22172
22185
|
));
|
|
22173
22186
|
be(i, () => {
|
|
@@ -22284,7 +22297,7 @@ const aC = /* @__PURE__ */ K(cM, [["__scopeId", "data-v-a94d786a"]]), uM = {
|
|
|
22284
22297
|
A && (s.value = A);
|
|
22285
22298
|
const l = i.find((p) => p.startsWith("season_"));
|
|
22286
22299
|
l && (o.value = l);
|
|
22287
|
-
const c =
|
|
22300
|
+
const c = D(() => r.allowZero && i.filter((p) => p.startsWith("patch")).length > 0 || !r.allowZero && i.filter((p) => !p.startsWith("patch")).length === 0);
|
|
22288
22301
|
be(i, () => {
|
|
22289
22302
|
a("update:filterArray", i);
|
|
22290
22303
|
}), be(s, (p, h) => {
|
|
@@ -22392,7 +22405,7 @@ const aA = /* @__PURE__ */ K(FM, [["__scopeId", "data-v-921cb269"]]), IM = {
|
|
|
22392
22405
|
props: TM,
|
|
22393
22406
|
emits: ["update:cardCodes"],
|
|
22394
22407
|
setup(e, { emit: t }) {
|
|
22395
|
-
const { t: n } = oe(), r = e, a = t, i = N(r.cardCodes), s =
|
|
22408
|
+
const { t: n } = oe(), r = e, a = t, i = N(r.cardCodes), s = D(() => {
|
|
22396
22409
|
let o = c_().cardJson.sort(
|
|
22397
22410
|
(A, l) => A.name.localeCompare(l.name)
|
|
22398
22411
|
);
|
|
@@ -22552,10 +22565,10 @@ const Jd = /* @__PURE__ */ K(LM, [["__scopeId", "data-v-c93a9e90"]]), QM = {
|
|
|
22552
22565
|
props: MM,
|
|
22553
22566
|
emits: ["update:filterArray"],
|
|
22554
22567
|
setup(e, { emit: t }) {
|
|
22555
|
-
const { t: n } = oe(), r = e, a = t, i =
|
|
22568
|
+
const { t: n } = oe(), r = e, a = t, i = D(() => {
|
|
22556
22569
|
const d = Re().dataJson.queues;
|
|
22557
22570
|
return Object.values(Re().dataJson.formats).filter((f) => f.availableQueues.some((p) => !d[p].excludeInMassFilter));
|
|
22558
|
-
}), s =
|
|
22571
|
+
}), s = D(() => i.value.filter((d) => !d.inDropdown)), o = D(() => i.value.filter((d) => d.inDropdown)), A = er(r.filterArray), l = N(null);
|
|
22559
22572
|
tt(() => {
|
|
22560
22573
|
A.length > 0 && o.value.map((d) => d.nameRef).includes(A[0]) && (l.value = A[0]);
|
|
22561
22574
|
}), be(A, () => {
|
|
@@ -22614,7 +22627,7 @@ const Xl = /* @__PURE__ */ K(RM, [["__scopeId", "data-v-22de9b40"]]), HM = {
|
|
|
22614
22627
|
props: HM,
|
|
22615
22628
|
emits: ["update:filterArray"],
|
|
22616
22629
|
setup(e, { emit: t }) {
|
|
22617
|
-
const { t: n } = oe(), r = e, a = t, i = N(r.filterArray), s =
|
|
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));
|
|
22618
22631
|
be(i, () => {
|
|
22619
22632
|
a("update:filterArray", i.value);
|
|
22620
22633
|
});
|
|
@@ -22665,7 +22678,7 @@ const Xl = /* @__PURE__ */ K(RM, [["__scopeId", "data-v-22de9b40"]]), HM = {
|
|
|
22665
22678
|
props: NM,
|
|
22666
22679
|
emits: ["clear:filterObject"],
|
|
22667
22680
|
setup(e, { emit: t }) {
|
|
22668
|
-
const n = e, r = t, a =
|
|
22681
|
+
const n = e, r = t, a = D(() => n.filterObject && Object.values(n.filterObject).some((s) => s.length > 0) ? "clickable" : null);
|
|
22669
22682
|
function i() {
|
|
22670
22683
|
r("clear:filterObject");
|
|
22671
22684
|
}
|
|
@@ -22694,7 +22707,7 @@ const Vs = /* @__PURE__ */ K($M, [["__scopeId", "data-v-6a93fcc1"]]), KM = /* @_
|
|
|
22694
22707
|
be(a, () => {
|
|
22695
22708
|
r("update:filters", a);
|
|
22696
22709
|
});
|
|
22697
|
-
const i =
|
|
22710
|
+
const i = D(() => {
|
|
22698
22711
|
var o;
|
|
22699
22712
|
return (o = Re().dataJson.formats[a.formatFilters[0] ?? "Standard"]) == null ? void 0 : o.availableQueues;
|
|
22700
22713
|
});
|
|
@@ -22821,7 +22834,7 @@ const nd = /* @__PURE__ */ K(qM, [["__scopeId", "data-v-e9c34cae"]]), YM = /* @_
|
|
|
22821
22834
|
be(i, () => {
|
|
22822
22835
|
a("update:filters", i);
|
|
22823
22836
|
});
|
|
22824
|
-
const s =
|
|
22837
|
+
const s = D(() => {
|
|
22825
22838
|
var A;
|
|
22826
22839
|
return i.formatFilters.length === 0 ? [] : (A = Re().dataJson.formats[i.formatFilters[0] ?? "Standard"]) == null ? void 0 : A.availableQueues;
|
|
22827
22840
|
});
|
|
@@ -23015,7 +23028,7 @@ const cC = /* @__PURE__ */ K(nP, [["__scopeId", "data-v-6c23ee29"]]), rP = {
|
|
|
23015
23028
|
props: rP,
|
|
23016
23029
|
emits: ["update:filterArray"],
|
|
23017
23030
|
setup(e, { emit: t }) {
|
|
23018
|
-
const { t: n } = oe(), r = e, a = t, i =
|
|
23031
|
+
const { t: n } = oe(), r = e, a = t, i = D(() => Re().dataJson.types.filter(
|
|
23019
23032
|
(l) => ["Unit", "Spell", "Landmark", "Equipment"].includes(l.nameRef)
|
|
23020
23033
|
)), s = er(r.filterArray);
|
|
23021
23034
|
be(s, () => {
|
|
@@ -23120,7 +23133,7 @@ const cC = /* @__PURE__ */ K(nP, [["__scopeId", "data-v-6c23ee29"]]), rP = {
|
|
|
23120
23133
|
be(i, () => {
|
|
23121
23134
|
a("update:filters", i);
|
|
23122
23135
|
});
|
|
23123
|
-
const s =
|
|
23136
|
+
const s = D(() => {
|
|
23124
23137
|
var A;
|
|
23125
23138
|
return "formatFilters" in i ? (A = Re().dataJson.formats[i.formatFilters[0] ?? "Standard"]) == null ? void 0 : A.availableQueues : [];
|
|
23126
23139
|
});
|
|
@@ -23224,7 +23237,7 @@ const Nm = /* @__PURE__ */ K(fP, [["__scopeId", "data-v-715107fe"]]), pP = { cla
|
|
|
23224
23237
|
__name: "RegionItem",
|
|
23225
23238
|
props: cP,
|
|
23226
23239
|
setup(e) {
|
|
23227
|
-
const t = e, n = N(null), r = N(null), a =
|
|
23240
|
+
const t = e, n = N(null), r = N(null), a = D(() => Re().dataJson.regions.find(
|
|
23228
23241
|
(i) => i.nameRef == t.regionRef
|
|
23229
23242
|
) ?? Re().dataJson.runeterraChampions.find(
|
|
23230
23243
|
(i) => i.nameRef === t.regionRef
|
|
@@ -23282,7 +23295,7 @@ const Zd = /* @__PURE__ */ K(gP, [["__scopeId", "data-v-3d756f50"]]), mP = {
|
|
|
23282
23295
|
__name: "RegionsLine",
|
|
23283
23296
|
props: mP,
|
|
23284
23297
|
setup(e) {
|
|
23285
|
-
const { t } = oe(), n = e, r =
|
|
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(() => {
|
|
23286
23299
|
const o = {};
|
|
23287
23300
|
for (const A of Dd(r.value))
|
|
23288
23301
|
o[A] = 0;
|
|
@@ -23423,7 +23436,7 @@ const dC = /* @__PURE__ */ K(wP, [["__scopeId", "data-v-f1f94f8b"]]), BP = {
|
|
|
23423
23436
|
__name: "CardsRow",
|
|
23424
23437
|
props: BP,
|
|
23425
23438
|
setup(e) {
|
|
23426
|
-
const t = e, n =
|
|
23439
|
+
const t = e, n = D(() => ["", He().callbacks.cardImageCallback(t.cardCode, Wt.Banner)]);
|
|
23427
23440
|
return (r, a) => {
|
|
23428
23441
|
const i = sn("RouterLink");
|
|
23429
23442
|
return w(), R(i, {
|
|
@@ -23548,7 +23561,7 @@ const pC = /* @__PURE__ */ K(LP, [["render", MP], ["__scopeId", "data-v-91218ab0
|
|
|
23548
23561
|
setup(e, { emit: t }) {
|
|
23549
23562
|
const { t: n } = oe(), r = e, a = t, i = {
|
|
23550
23563
|
"--background-image": `url(${He().callbacks.cardImageCallback("01FR008", Wt.Full)})`
|
|
23551
|
-
}, s =
|
|
23564
|
+
}, s = D(() => r.headingItems.filter((o) => o.isShown));
|
|
23552
23565
|
return (o, A) => (w(), x("div", PP, [
|
|
23553
23566
|
_("div", RP, [
|
|
23554
23567
|
A[0] || (A[0] = _("div", { class: "heading-background-outer" }, [
|
|
@@ -23681,7 +23694,7 @@ const WP = /* @__PURE__ */ H({
|
|
|
23681
23694
|
title: c.title
|
|
23682
23695
|
};
|
|
23683
23696
|
})
|
|
23684
|
-
), A =
|
|
23697
|
+
), A = D(() => ({ "--table-grid-template-columns": `repeat(${Object.values(r.cardsRowToggle).reduce(
|
|
23685
23698
|
(u, d) => d ? u + 1 : u,
|
|
23686
23699
|
0
|
|
23687
23700
|
)}, 1fr)` }));
|
|
@@ -23762,7 +23775,7 @@ const hC = /* @__PURE__ */ K(XP, [["render", ZP]]), e7 = {
|
|
|
23762
23775
|
__name: "GemsCost",
|
|
23763
23776
|
props: e7,
|
|
23764
23777
|
setup(e) {
|
|
23765
|
-
const { t } = oe(), n = e, r = N(null), a = N(null), i =
|
|
23778
|
+
const { t } = oe(), n = e, r = N(null), a = N(null), i = D(() => Ku(n.deck, !1)), s = D(() => Ku(n.deck, !0));
|
|
23766
23779
|
return tt(() => {
|
|
23767
23780
|
bt(r.value, {
|
|
23768
23781
|
content: a.value,
|
|
@@ -23812,7 +23825,7 @@ const gC = /* @__PURE__ */ K(s7, [["__scopeId", "data-v-25f680e9"]]), o7 = { cla
|
|
|
23812
23825
|
tr: "Türkçe",
|
|
23813
23826
|
ru: "Русский",
|
|
23814
23827
|
zh: "中文"
|
|
23815
|
-
}, a = tA(), i = N(!1), s =
|
|
23828
|
+
}, a = tA(), i = N(!1), s = D(() => n.sort((A) => A === t.value ? -1 : 1));
|
|
23816
23829
|
function o() {
|
|
23817
23830
|
i.value = !0;
|
|
23818
23831
|
}
|
|
@@ -23895,10 +23908,10 @@ const rd = /* @__PURE__ */ K(l7, [["__scopeId", "data-v-8a6f5e0d"]]), c7 = {
|
|
|
23895
23908
|
__name: "CircleCardItem",
|
|
23896
23909
|
props: mC,
|
|
23897
23910
|
setup(e) {
|
|
23898
|
-
const t = e, n = Bs(t.cardProp, t.cardCodeProp, !0), r = N(null), a = N(null), i = N(null), s = N(null), 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(() => {
|
|
23899
23912
|
var l;
|
|
23900
23913
|
return He().callbacks.cardImageCallback(((l = n.value) == null ? void 0 : l.cardCode) ?? "", Wt.Icon);
|
|
23901
|
-
}), A =
|
|
23914
|
+
}), A = D(() => n.value === void 0 ? "--color-primary-2" : ps(n.value, t.regions));
|
|
23902
23915
|
return tt(() => {
|
|
23903
23916
|
t.ignoreCardItem || bt(r.value, {
|
|
23904
23917
|
content: a.value,
|
|
@@ -23978,7 +23991,7 @@ const Xi = /* @__PURE__ */ K(f7, [["__scopeId", "data-v-3ea9e838"]]), p7 = {
|
|
|
23978
23991
|
__name: "DeckHighlightCards",
|
|
23979
23992
|
props: p7,
|
|
23980
23993
|
setup(e) {
|
|
23981
|
-
const t = e, n =
|
|
23994
|
+
const t = e, n = D(() => {
|
|
23982
23995
|
if (t.cards)
|
|
23983
23996
|
return t.cards;
|
|
23984
23997
|
if (t.cardCodes)
|
|
@@ -28872,15 +28885,15 @@ class Ks extends Rn {
|
|
|
28872
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) {
|
|
28873
28886
|
return as(r, J, h);
|
|
28874
28887
|
};
|
|
28875
|
-
let b, y, m, C, B, E, S, F, P, Q,
|
|
28888
|
+
let b, y, m, C, B, E, S, F, P, Q, O, z;
|
|
28876
28889
|
if (s === "top")
|
|
28877
28890
|
b = g(this.bottom), E = this.bottom - d, F = b - v, Q = g(t.top) + v, z = t.bottom;
|
|
28878
28891
|
else if (s === "bottom")
|
|
28879
28892
|
b = g(this.top), Q = t.top, z = g(t.bottom) - v, E = b + v, F = this.top + d;
|
|
28880
28893
|
else if (s === "left")
|
|
28881
|
-
b = g(this.right), B = this.right - d, S = b - v, P = g(t.left) + v,
|
|
28894
|
+
b = g(this.right), B = this.right - d, S = b - v, P = g(t.left) + v, O = t.right;
|
|
28882
28895
|
else if (s === "right")
|
|
28883
|
-
b = g(this.left), P = t.left,
|
|
28896
|
+
b = g(this.left), P = t.left, O = g(t.right) - v, B = b + v, S = this.left + d;
|
|
28884
28897
|
else if (n === "x") {
|
|
28885
28898
|
if (s === "center")
|
|
28886
28899
|
b = g((t.top + t.bottom) / 2 + 0.5);
|
|
@@ -28896,19 +28909,19 @@ class Ks extends Rn {
|
|
|
28896
28909
|
const J = Object.keys(s)[0], te = s[J];
|
|
28897
28910
|
b = g(this.chart.scales[J].getPixelForValue(te));
|
|
28898
28911
|
}
|
|
28899
|
-
B = b - v, S = B - d, P = t.left,
|
|
28912
|
+
B = b - v, S = B - d, P = t.left, O = t.right;
|
|
28900
28913
|
}
|
|
28901
28914
|
const ae = Ie(a.ticks.maxTicksLimit, u), ue = Math.max(1, Math.ceil(u / ae));
|
|
28902
28915
|
for (y = 0; y < u; y += ue) {
|
|
28903
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;
|
|
28904
|
-
m = uH(this, y, A), m !== void 0 && (C = as(r, m, Ae), l ? B = S = P =
|
|
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({
|
|
28905
28918
|
tx1: B,
|
|
28906
28919
|
ty1: E,
|
|
28907
28920
|
tx2: S,
|
|
28908
28921
|
ty2: F,
|
|
28909
28922
|
x1: P,
|
|
28910
28923
|
y1: Q,
|
|
28911
|
-
x2:
|
|
28924
|
+
x2: O,
|
|
28912
28925
|
y2: z,
|
|
28913
28926
|
width: Ae,
|
|
28914
28927
|
color: _e,
|
|
@@ -28924,7 +28937,7 @@ class Ks extends Rn {
|
|
|
28924
28937
|
}
|
|
28925
28938
|
_computeLabelItems(t) {
|
|
28926
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 = [];
|
|
28927
|
-
let g, b, y, m, C, B, E, S, F, P, Q,
|
|
28940
|
+
let g, b, y, m, C, B, E, S, F, P, Q, O, z = "middle";
|
|
28928
28941
|
if (a === "top")
|
|
28929
28942
|
B = this.bottom - p, E = this._getXAxisLabelAlignment();
|
|
28930
28943
|
else if (a === "bottom")
|
|
@@ -28960,11 +28973,11 @@ class Ks extends Rn {
|
|
|
28960
28973
|
S = this.getPixelForTick(g) + i.labelOffset, F = this._resolveTickFontOptions(g), P = F.lineHeight, Q = it(m) ? m.length : 1;
|
|
28961
28974
|
const J = Q / 2, te = ue.color, Ee = ue.textStrokeColor, Ae = ue.textStrokeWidth;
|
|
28962
28975
|
let _e = E;
|
|
28963
|
-
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 ?
|
|
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);
|
|
28964
28977
|
let Be;
|
|
28965
28978
|
if (ue.showLabelBackdrop) {
|
|
28966
28979
|
const Ce = tn(ue.backdropPadding), De = ae.heights[g], we = ae.widths[g];
|
|
28967
|
-
let de =
|
|
28980
|
+
let de = O - Ce.top, G = 0 - Ce.left;
|
|
28968
28981
|
switch (z) {
|
|
28969
28982
|
case "middle":
|
|
28970
28983
|
de -= De / 2;
|
|
@@ -28995,7 +29008,7 @@ class Ks extends Rn {
|
|
|
28995
29008
|
v.push({
|
|
28996
29009
|
label: m,
|
|
28997
29010
|
font: F,
|
|
28998
|
-
textOffset:
|
|
29011
|
+
textOffset: O,
|
|
28999
29012
|
options: {
|
|
29000
29013
|
rotation: h,
|
|
29001
29014
|
color: te,
|
|
@@ -30215,16 +30228,16 @@ function ud(e, t, n, r, a, i) {
|
|
|
30215
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;
|
|
30216
30229
|
f = (p - Ee) / 2;
|
|
30217
30230
|
}
|
|
30218
|
-
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,
|
|
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;
|
|
30219
30232
|
if (e.beginPath(), i) {
|
|
30220
30233
|
const ue = (F + P) / 2;
|
|
30221
30234
|
if (e.arc(s, o, u, F, ue), e.arc(s, o, u, ue, P), m > 0) {
|
|
30222
30235
|
const Ae = ro(S, P, s, o);
|
|
30223
30236
|
e.arc(Ae.x, Ae.y, m, P, b + Tt);
|
|
30224
30237
|
}
|
|
30225
|
-
const J = ro(
|
|
30238
|
+
const J = ro(O, b, s, o);
|
|
30226
30239
|
if (e.lineTo(J.x, J.y), B > 0) {
|
|
30227
|
-
const Ae = ro(
|
|
30240
|
+
const Ae = ro(O, ae, s, o);
|
|
30228
30241
|
e.arc(Ae.x, Ae.y, B, b + Tt, ae + Math.PI);
|
|
30229
30242
|
}
|
|
30230
30243
|
const te = (b - B / d + (g + C / d)) / 2;
|
|
@@ -31391,16 +31404,16 @@ class d2 extends Rn {
|
|
|
31391
31404
|
pointStyle: S.pointStyle,
|
|
31392
31405
|
rotation: S.rotation,
|
|
31393
31406
|
borderWidth: F
|
|
31394
|
-
}, Q = A.xPlus(B, p / 2),
|
|
31395
|
-
UC(a, P, Q,
|
|
31407
|
+
}, Q = A.xPlus(B, p / 2), O = E + d;
|
|
31408
|
+
UC(a, P, Q, O, s.pointStyleWidth && p);
|
|
31396
31409
|
} else {
|
|
31397
|
-
const P = E + Math.max((u - h) / 2, 0), Q = A.leftForLtr(B, p),
|
|
31398
|
-
a.beginPath(), Object.values(
|
|
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, {
|
|
31399
31412
|
x: Q,
|
|
31400
31413
|
y: P,
|
|
31401
31414
|
w: p,
|
|
31402
31415
|
h,
|
|
31403
|
-
radius:
|
|
31416
|
+
radius: O
|
|
31404
31417
|
}) : a.rect(Q, P, p, h), a.fill(), F !== 0 && a.stroke();
|
|
31405
31418
|
}
|
|
31406
31419
|
a.restore();
|
|
@@ -31423,10 +31436,10 @@ class d2 extends Rn {
|
|
|
31423
31436
|
this.legendItems.forEach((B, E) => {
|
|
31424
31437
|
a.strokeStyle = B.fontColor, a.fillStyle = B.fontColor;
|
|
31425
31438
|
const S = a.measureText(B.text).width, F = A.textAlign(B.textAlign || (B.textAlign = s.textAlign)), P = p + d + S;
|
|
31426
|
-
let Q = f.x,
|
|
31427
|
-
A.setWidth(this.width), y ? E > 0 && Q + P + c > this.right && (
|
|
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));
|
|
31428
31441
|
const z = A.x(Q);
|
|
31429
|
-
if (g(z,
|
|
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)
|
|
31430
31443
|
f.x += P + c;
|
|
31431
31444
|
else if (typeof B.text != "string") {
|
|
31432
31445
|
const ae = l.lineHeight;
|
|
@@ -32367,11 +32380,11 @@ function iz(e, t) {
|
|
|
32367
32380
|
for (g && (d && E !== s ? (n.push({
|
|
32368
32381
|
value: s
|
|
32369
32382
|
}), E < s && Q++, el(Math.round((E + Q * C) * B) / B, s, y2(s, m, e)) && Q++) : E < s && Q++); Q < F; ++Q) {
|
|
32370
|
-
const
|
|
32371
|
-
if (b &&
|
|
32383
|
+
const O = Math.round((E + Q * C) * B) / B;
|
|
32384
|
+
if (b && O > o)
|
|
32372
32385
|
break;
|
|
32373
32386
|
n.push({
|
|
32374
|
-
value:
|
|
32387
|
+
value: O
|
|
32375
32388
|
});
|
|
32376
32389
|
}
|
|
32377
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({
|
|
@@ -34130,7 +34143,7 @@ const pg = /* @__PURE__ */ H({
|
|
|
34130
34143
|
setup(e) {
|
|
34131
34144
|
const t = N(null);
|
|
34132
34145
|
at.register(...ua);
|
|
34133
|
-
const n = e, r =
|
|
34146
|
+
const n = e, r = D(() => {
|
|
34134
34147
|
const i = n.info === "typeRef" ? "types" : "rarities", s = {}, o = en(n.deckCode);
|
|
34135
34148
|
for (const l in o) {
|
|
34136
34149
|
const c = Jn().cardJsonObject[l];
|
|
@@ -38965,13 +38978,13 @@ const If = /* @__PURE__ */ H({
|
|
|
38965
38978
|
topRight: 9999,
|
|
38966
38979
|
bottomLeft: 9999,
|
|
38967
38980
|
bottomRight: 9999
|
|
38968
|
-
}, i =
|
|
38981
|
+
}, i = D(() => ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+"]), s = D(() => {
|
|
38969
38982
|
if (console.log(r.deck), r.deck)
|
|
38970
38983
|
return r.deck;
|
|
38971
38984
|
if (console.log(r.deckCode), r.deckCode)
|
|
38972
38985
|
return en(r.deckCode);
|
|
38973
38986
|
throw console.log("props.deckCode"), new Error("Deck or DeckCode must be defined");
|
|
38974
|
-
}), o =
|
|
38987
|
+
}), o = D(() => {
|
|
38975
38988
|
const c = {}, u = Dd(s.value);
|
|
38976
38989
|
for (const d of u)
|
|
38977
38990
|
c[d] = i.value.map(() => 0);
|
|
@@ -38987,7 +39000,7 @@ const If = /* @__PURE__ */ H({
|
|
|
38987
39000
|
c[p][f.cost] += s.value[d];
|
|
38988
39001
|
}
|
|
38989
39002
|
return c;
|
|
38990
|
-
}), A =
|
|
39003
|
+
}), A = D(() => {
|
|
38991
39004
|
const c = [];
|
|
38992
39005
|
for (let u = 0; u < Object.keys(o.value).length; u++) {
|
|
38993
39006
|
const d = Object.keys(o.value)[u];
|
|
@@ -39162,9 +39175,9 @@ const AZ = /* @__PURE__ */ K(oZ, [["__scopeId", "data-v-9743903e"]]), lZ = /* @_
|
|
|
39162
39175
|
props: v7,
|
|
39163
39176
|
emits: ["update:filters"],
|
|
39164
39177
|
setup(e, { emit: t }) {
|
|
39165
|
-
const { t: n } = oe(), r = e, a = t, i = er(r.filters), s =
|
|
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(
|
|
39166
39179
|
(c) => Do(Jn().cardJsonObject[c])
|
|
39167
|
-
)), A =
|
|
39180
|
+
)), A = D(() => {
|
|
39168
39181
|
var c;
|
|
39169
39182
|
return (c = Re().dataJson.formats[i.formatFilters[0] ?? "Standard"]) == null ? void 0 : c.availableQueues;
|
|
39170
39183
|
});
|
|
@@ -39293,7 +39306,7 @@ const cZ = /* @__PURE__ */ K(lZ, [["__scopeId", "data-v-b95c4f38"]]), uZ = {
|
|
|
39293
39306
|
__name: "DeckSummary",
|
|
39294
39307
|
props: uZ,
|
|
39295
39308
|
setup(e) {
|
|
39296
|
-
const t = e, n =
|
|
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"));
|
|
39297
39310
|
function l(c) {
|
|
39298
39311
|
return c.reduce((u, d) => u + t.deck[d.cardCode], 0);
|
|
39299
39312
|
}
|
|
@@ -39608,13 +39621,13 @@ const i3 = /* @__PURE__ */ K($Z, [["__scopeId", "data-v-b921ee68"]]), KZ = {
|
|
|
39608
39621
|
__name: "SimulateMulligan",
|
|
39609
39622
|
props: GZ,
|
|
39610
39623
|
setup(e) {
|
|
39611
|
-
const { t } = oe(), n = e, r =
|
|
39624
|
+
const { t } = oe(), n = e, r = D(() => {
|
|
39612
39625
|
const l = [];
|
|
39613
39626
|
for (const c in n.deck)
|
|
39614
39627
|
for (let u = 0; u < n.deck[c]; u++)
|
|
39615
39628
|
l.push(c);
|
|
39616
39629
|
return l;
|
|
39617
|
-
}), a =
|
|
39630
|
+
}), a = D(() => {
|
|
39618
39631
|
const l = Array.from(r.value);
|
|
39619
39632
|
for (const c of i.value)
|
|
39620
39633
|
c !== null && l.splice(
|
|
@@ -39763,7 +39776,7 @@ const l3 = /* @__PURE__ */ K(tee, [["render", ree]]), aee = {
|
|
|
39763
39776
|
__name: "UploadDeckToLorButton",
|
|
39764
39777
|
props: aee,
|
|
39765
39778
|
setup(e) {
|
|
39766
|
-
const { t } = oe(), n = e, r =
|
|
39779
|
+
const { t } = oe(), n = e, r = D(() => Ln().user ? t("deck.uploadDeckToLor") : t("deck.signInToUpload")), a = N(null);
|
|
39767
39780
|
let i;
|
|
39768
39781
|
function s() {
|
|
39769
39782
|
Ln().user && He().callbacks.uploadDeckToLorCallback(
|
|
@@ -39858,7 +39871,7 @@ const j1 = /* @__PURE__ */ K(iee, [["__scopeId", "data-v-b942bc9b"]]), see = { c
|
|
|
39858
39871
|
props: u3,
|
|
39859
39872
|
emits: ["click:share", "click:edit-name", "click:update-privacy", "click:delete"],
|
|
39860
39873
|
setup(e, { emit: t }) {
|
|
39861
|
-
const { t: n } = oe(), r = e, a = t, i =
|
|
39874
|
+
const { t: n } = oe(), r = e, a = t, i = D(() => en(r.deckCode));
|
|
39862
39875
|
return console.log(i), (s, o) => (w(), x("div", oee, [
|
|
39863
39876
|
r.showButtons.deleteDeck || r.showButtons.updateDeckPrivacy || r.showButtons.editDeckName ? (w(), x("div", Aee, [
|
|
39864
39877
|
r.showButtons.deleteDeck ? (w(), R(r3, {
|
|
@@ -43826,8 +43839,8 @@ var zae = function(e, t) {
|
|
|
43826
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);
|
|
43827
43840
|
var g = Math.max.apply(Math, v);
|
|
43828
43841
|
g > 1 && (i /= g, s /= g, A /= g, l /= g, u /= g, d /= g, p /= g, h /= g);
|
|
43829
|
-
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),
|
|
43830
|
-
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 +
|
|
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));
|
|
43831
43844
|
}
|
|
43832
43845
|
return e;
|
|
43833
43846
|
}()
|
|
@@ -44526,7 +44539,7 @@ var Ot = function(e, t, n, r, a) {
|
|
|
44526
44539
|
switch (l.label) {
|
|
44527
44540
|
case 0:
|
|
44528
44541
|
r = n.styles.backgroundImage.length - 1, a = function(c) {
|
|
44529
|
-
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,
|
|
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;
|
|
44530
44543
|
return Cn(this, function(G) {
|
|
44531
44544
|
switch (G.label) {
|
|
44532
44545
|
case 0:
|
|
@@ -44552,9 +44565,9 @@ var Ot = function(e, t, n, r, a) {
|
|
|
44552
44565
|
null,
|
|
44553
44566
|
null,
|
|
44554
44567
|
null
|
|
44555
|
-
]), P = F[0], Q = F[1],
|
|
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) {
|
|
44556
44569
|
return Be.addColorStop(pe.stop, fn(pe.color));
|
|
44557
|
-
}), 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 * (
|
|
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;
|
|
44558
44571
|
case 6:
|
|
44559
44572
|
return r--, [
|
|
44560
44573
|
2
|
|
@@ -44792,7 +44805,7 @@ var Ot = function(e, t, n, r, a) {
|
|
|
44792
44805
|
typeof window < "u" && AS.setContext(window);
|
|
44793
44806
|
var Qie = function(e, t) {
|
|
44794
44807
|
return On(void 0, void 0, void 0, function() {
|
|
44795
|
-
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,
|
|
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;
|
|
44796
44809
|
return Cn(this, function(de) {
|
|
44797
44810
|
switch (de.label) {
|
|
44798
44811
|
case 0:
|
|
@@ -44808,7 +44821,7 @@ var Qie = function(e, t) {
|
|
|
44808
44821
|
proxy: t.proxy,
|
|
44809
44822
|
useCORS: (P = t.useCORS) !== null && P !== void 0 ? P : !1
|
|
44810
44823
|
}, i = Tg({ logging: (Q = t.logging) !== null && Q !== void 0 ? Q : !0, cache: t.cache }, a), s = {
|
|
44811
|
-
windowWidth: (
|
|
44824
|
+
windowWidth: (O = t.windowWidth) !== null && O !== void 0 ? O : r.innerWidth,
|
|
44812
44825
|
windowHeight: (z = t.windowHeight) !== null && z !== void 0 ? z : r.innerHeight,
|
|
44813
44826
|
scrollX: (ae = t.scrollX) !== null && ae !== void 0 ? ae : r.pageXOffset,
|
|
44814
44827
|
scrollY: (ue = t.scrollY) !== null && ue !== void 0 ? ue : r.pageYOffset
|
|
@@ -44890,7 +44903,7 @@ const Rie = /* @__PURE__ */ K(Pie, [["__scopeId", "data-v-4b809ad3"]]), Hie = {
|
|
|
44890
44903
|
props: uee,
|
|
44891
44904
|
emits: ["click:share", "click:edit-name", "click:update-privacy", "click:delete", "click:save"],
|
|
44892
44905
|
setup(e, { emit: t }) {
|
|
44893
|
-
const { t: n } = oe(), r = e, a = t, i = N(), s = N(r.deckName ?? nm(r.deckCode)), o = N(!1), A =
|
|
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(() => {
|
|
44894
44907
|
var f;
|
|
44895
44908
|
const d = (f = Ui(l.value, A.value, 1)[0]) == null ? void 0 : f.cardCode;
|
|
44896
44909
|
return {
|
|
@@ -44987,7 +45000,7 @@ const nv = /* @__PURE__ */ K($ie, [["__scopeId", "data-v-5716c6cc"]]), Kie = {
|
|
|
44987
45000
|
__name: "DeckHighlightEye",
|
|
44988
45001
|
props: Kie,
|
|
44989
45002
|
setup(e) {
|
|
44990
|
-
const t = e, n = N(null), r = N(null), a = N(!1), i = N(!1), s =
|
|
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));
|
|
44991
45004
|
tt(() => {
|
|
44992
45005
|
var l;
|
|
44993
45006
|
bt((l = r.value) == null ? void 0 : l.$el, {
|
|
@@ -45085,7 +45098,7 @@ const rv = /* @__PURE__ */ K(Gie, [["__scopeId", "data-v-a655bad6"]]), jie = {
|
|
|
45085
45098
|
__name: "DeckHighlight",
|
|
45086
45099
|
props: jie,
|
|
45087
45100
|
setup(e) {
|
|
45088
|
-
const t = e, n =
|
|
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)));
|
|
45089
45102
|
return (s, o) => (w(), x("div", {
|
|
45090
45103
|
class: ye(["deck-highlight", t.showEye ? "" : "hide-eye"])
|
|
45091
45104
|
}, [
|
|
@@ -45139,7 +45152,7 @@ const Ki = /* @__PURE__ */ K(qie, [["__scopeId", "data-v-7d2e0511"]]), Yie = {
|
|
|
45139
45152
|
be(a, () => {
|
|
45140
45153
|
r("update:filters", a);
|
|
45141
45154
|
});
|
|
45142
|
-
const i =
|
|
45155
|
+
const i = D(() => {
|
|
45143
45156
|
var o;
|
|
45144
45157
|
return (o = Re().dataJson.formats[a.formatFilters[0] ?? "Standard"]) == null ? void 0 : o.availableQueues;
|
|
45145
45158
|
});
|
|
@@ -45318,10 +45331,10 @@ const gS = /* @__PURE__ */ K(ase, [["__scopeId", "data-v-e4cddaa9"]]), ise = { c
|
|
|
45318
45331
|
props: Jie,
|
|
45319
45332
|
emits: ["click:share", "click:edit-name", "click:update-privacy", "click:delete"],
|
|
45320
45333
|
setup(e, { emit: t }) {
|
|
45321
|
-
const n = la(ei), r = e, a = t, i = N(!1), s =
|
|
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(
|
|
45322
45335
|
u.cardCode,
|
|
45323
45336
|
Wt.Banner
|
|
45324
|
-
))), l =
|
|
45337
|
+
))), l = D(
|
|
45325
45338
|
() => ({
|
|
45326
45339
|
showButtons: {
|
|
45327
45340
|
deleteDeck: r.type === "built" ? r.showOwnerButtons : !1,
|
|
@@ -45342,7 +45355,7 @@ const gS = /* @__PURE__ */ K(ase, [["__scopeId", "data-v-e4cddaa9"]]), ise = { c
|
|
|
45342
45355
|
deckName: r.type === "built" ? r.name : void 0,
|
|
45343
45356
|
isPrivate: r.type === "built" ? r.isPrivate : void 0
|
|
45344
45357
|
})
|
|
45345
|
-
), c =
|
|
45358
|
+
), c = D(() => {
|
|
45346
45359
|
const u = [];
|
|
45347
45360
|
if (r.type !== "similar")
|
|
45348
45361
|
return u;
|
|
@@ -45651,7 +45664,7 @@ Report: I am spiderbit on left forearm. Sydell claims a misunderstanding, but hi
|
|
|
45651
45664
|
points: s
|
|
45652
45665
|
}), a.length > 10 && a.splice(0, 1);
|
|
45653
45666
|
}
|
|
45654
|
-
const r =
|
|
45667
|
+
const r = D(() => {
|
|
45655
45668
|
const a = [], i = Jn().cardJsonObject;
|
|
45656
45669
|
let s = 0;
|
|
45657
45670
|
for (const o in i) {
|
|
@@ -45803,7 +45816,7 @@ const $se = /* @__PURE__ */ K(Vse, [["__scopeId", "data-v-a8d77f09"]]), Kse = {
|
|
|
45803
45816
|
__name: "MatchItem",
|
|
45804
45817
|
props: Kse,
|
|
45805
45818
|
setup(e) {
|
|
45806
|
-
const { t } = oe(), n = la(ei), r = e, a =
|
|
45819
|
+
const { t } = oe(), n = la(ei), r = e, a = D(() => en(r.deckCode)), i = D(() => en(r.opponentDeckCode)), s = D(() => {
|
|
45807
45820
|
const l = c_().cardJson;
|
|
45808
45821
|
return !l || l.length === 0 ? [] : [
|
|
45809
45822
|
Ui(Pn(a.value), a.value, 1)[0],
|
|
@@ -45818,7 +45831,7 @@ const $se = /* @__PURE__ */ K(Vse, [["__scopeId", "data-v-a8d77f09"]]), Kse = {
|
|
|
45818
45831
|
Wt.Banner
|
|
45819
45832
|
)
|
|
45820
45833
|
);
|
|
45821
|
-
}), o =
|
|
45834
|
+
}), o = D(
|
|
45822
45835
|
() => ({
|
|
45823
45836
|
showButtons: {
|
|
45824
45837
|
deleteDeck: !1,
|
|
@@ -45836,7 +45849,7 @@ const $se = /* @__PURE__ */ K(Vse, [["__scopeId", "data-v-a8d77f09"]]), Kse = {
|
|
|
45836
45849
|
deckBuilderRouterLink: r.deckBuilderRouterLink,
|
|
45837
45850
|
archetypeRouterLink: r.archetypeRouterLink
|
|
45838
45851
|
})
|
|
45839
|
-
), A =
|
|
45852
|
+
), A = D(
|
|
45840
45853
|
() => ({
|
|
45841
45854
|
showButtons: {
|
|
45842
45855
|
deleteDeck: !1,
|
|
@@ -46038,13 +46051,13 @@ const yS = /* @__PURE__ */ K(aoe, [["__scopeId", "data-v-41d779ee"]]), ioe = {
|
|
|
46038
46051
|
__name: "LeaderboardDetailRow",
|
|
46039
46052
|
props: ioe,
|
|
46040
46053
|
setup(e) {
|
|
46041
|
-
const t = e, n =
|
|
46054
|
+
const t = e, n = D(() => t.selected_banner_card ? [
|
|
46042
46055
|
"",
|
|
46043
46056
|
He().callbacks.cardImageCallback(
|
|
46044
46057
|
t.selected_banner_card,
|
|
46045
46058
|
Wt.Banner
|
|
46046
46059
|
)
|
|
46047
|
-
] : []), r =
|
|
46060
|
+
] : []), r = D(() => t.change === null || t.change === void 0 ? [] : t.change === 0 ? ["neutral"] : [t.change > 0 ? "good" : "bad"]);
|
|
46048
46061
|
return (a, i) => {
|
|
46049
46062
|
const s = sn("RouterLink");
|
|
46050
46063
|
return w(), R(s, {
|
|
@@ -46245,7 +46258,7 @@ const _S = /* @__PURE__ */ K(Boe, [["render", Coe], ["__scopeId", "data-v-81223d
|
|
|
46245
46258
|
props: hoe,
|
|
46246
46259
|
emits: ["click:share", "click:edit-name", "click:update-privacy", "click:delete"],
|
|
46247
46260
|
setup(e, { emit: t }) {
|
|
46248
|
-
const { t: n } = oe(), r = la(ei), a = e, i = t, s = N(!1), 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(() => {
|
|
46249
46262
|
var v;
|
|
46250
46263
|
const h = (v = Ui(A.value, o.value, 1)[0]) == null ? void 0 : v.cardCode;
|
|
46251
46264
|
return {
|
|
@@ -46254,9 +46267,9 @@ const _S = /* @__PURE__ */ K(Boe, [["render", Coe], ["__scopeId", "data-v-81223d
|
|
|
46254
46267
|
Wt.Full
|
|
46255
46268
|
)})`
|
|
46256
46269
|
};
|
|
46257
|
-
}), d =
|
|
46270
|
+
}), d = D(() => Fx(A.value)), f = D(() => d.value.map(
|
|
46258
46271
|
(h) => Re().dataJson.cardFormats.find((v) => v.nameRef === h)
|
|
46259
|
-
).filter((h) => h !== void 0).sort((h, v) => h.order - v.order)[0]), p =
|
|
46272
|
+
).filter((h) => h !== void 0).sort((h, v) => h.order - v.order)[0]), p = D(
|
|
46260
46273
|
() => ({
|
|
46261
46274
|
showButtons: {
|
|
46262
46275
|
deleteDeck: a.type === "built" ? a.showOwnerButtons : !1,
|
|
@@ -46423,7 +46436,7 @@ const dA = /* @__PURE__ */ K($oe, [["__scopeId", "data-v-20cc8387"]]), Koe = {
|
|
|
46423
46436
|
__name: "LeaderboardTop",
|
|
46424
46437
|
props: Koe,
|
|
46425
46438
|
setup(e) {
|
|
46426
|
-
const t = e, n =
|
|
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)));
|
|
46427
46440
|
return (r, a) => (w(), x("div", Woe, [
|
|
46428
46441
|
a[0] || (a[0] = _("div", { class: "heading-background" }, null, -1)),
|
|
46429
46442
|
_("div", Goe, [
|
|
@@ -46456,7 +46469,7 @@ const qoe = /* @__PURE__ */ K(joe, [["__scopeId", "data-v-48a25357"]]), Yoe = {
|
|
|
46456
46469
|
__name: "CardItem3d",
|
|
46457
46470
|
props: Yoe,
|
|
46458
46471
|
setup(e) {
|
|
46459
|
-
const t = e, n =
|
|
46472
|
+
const t = e, n = D(() => {
|
|
46460
46473
|
const s = Bs(void 0, t.cardCode, !1).value ?? Bs(void 0, "05BC160", !1).value;
|
|
46461
46474
|
if (s === void 0 || !s.regionRefs || s.regionRefs.length === 0)
|
|
46462
46475
|
return {};
|
|
@@ -46464,7 +46477,7 @@ const qoe = /* @__PURE__ */ K(joe, [["__scopeId", "data-v-48a25357"]]), Yoe = {
|
|
|
46464
46477
|
return Uo(o) && (o = "Runeterra"), {
|
|
46465
46478
|
content: `url(${He().callbacks.cardbackCallback(o)})`
|
|
46466
46479
|
};
|
|
46467
|
-
}), r =
|
|
46480
|
+
}), r = D(() => {
|
|
46468
46481
|
var o;
|
|
46469
46482
|
const s = ((o = Bs(void 0, t.cardCode, !1).value) == null ? void 0 : o.cardCode) ?? "05BC160";
|
|
46470
46483
|
return {
|
|
@@ -46474,7 +46487,7 @@ const qoe = /* @__PURE__ */ K(joe, [["__scopeId", "data-v-48a25357"]]), Yoe = {
|
|
|
46474
46487
|
)}")`,
|
|
46475
46488
|
"background-size": "cover"
|
|
46476
46489
|
};
|
|
46477
|
-
}), a =
|
|
46490
|
+
}), a = D(() => t.flipped ? ["flipped"] : []);
|
|
46478
46491
|
return (i, s) => (w(), x("div", Xoe, [
|
|
46479
46492
|
_("div", {
|
|
46480
46493
|
class: ye(["card", a.value])
|
|
@@ -46668,7 +46681,7 @@ const lAe = /* @__PURE__ */ K(AAe, [["__scopeId", "data-v-53ddcbb6"]]), cAe = {
|
|
|
46668
46681
|
setup(e) {
|
|
46669
46682
|
const t = N(null);
|
|
46670
46683
|
at.register(...ua);
|
|
46671
|
-
const n = e, r =
|
|
46684
|
+
const n = e, r = D(() => ({
|
|
46672
46685
|
labels: ["Wins", "Losses"],
|
|
46673
46686
|
datasets: [
|
|
46674
46687
|
{
|
|
@@ -46838,7 +46851,7 @@ const DAe = /* @__PURE__ */ H({
|
|
|
46838
46851
|
setup(e) {
|
|
46839
46852
|
const t = N();
|
|
46840
46853
|
at.register(...ua), at.register(Xs);
|
|
46841
|
-
const n = e, r =
|
|
46854
|
+
const n = e, r = D(() => n.data.slice().sort((s, o) => +s.date - +o.date)), a = D(() => {
|
|
46842
46855
|
let s;
|
|
46843
46856
|
return n.type === "totalPlayers" ? s = Re().dataJson.servers.filter((o) => n.server === null ? !0 : o.nameRef === n.server).map((o) => ({
|
|
46844
46857
|
label: o.name,
|
|
@@ -46924,7 +46937,7 @@ const DAe = /* @__PURE__ */ H({
|
|
|
46924
46937
|
setup(e) {
|
|
46925
46938
|
const { t } = oe(), n = N();
|
|
46926
46939
|
at.register(...ua), at.register(Xs), at.register(kf);
|
|
46927
|
-
const r = e, a =
|
|
46940
|
+
const r = e, a = D(() => ({
|
|
46928
46941
|
labels: r.data.map((s) => s.quantity),
|
|
46929
46942
|
datasets: [
|
|
46930
46943
|
{
|
|
@@ -47008,10 +47021,10 @@ const DAe = /* @__PURE__ */ H({
|
|
|
47008
47021
|
setup(e) {
|
|
47009
47022
|
const { t } = oe(), n = N();
|
|
47010
47023
|
at.register(...ua), at.register(Xs), at.register(kf);
|
|
47011
|
-
const r = e, a =
|
|
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(() => ({
|
|
47012
47025
|
losses: i.value.map((c) => c.matches - c.wins),
|
|
47013
47026
|
wins: i.value.map((c) => c.wins)
|
|
47014
|
-
})), A =
|
|
47027
|
+
})), A = D(() => ({
|
|
47015
47028
|
labels: s.value,
|
|
47016
47029
|
datasets: Object.entries(o.value).map((c, u) => ({
|
|
47017
47030
|
backgroundColor: c[0] === "wins" ? `rgba(${Di("--color-good-rgb")}, 0.5)` : `rgba(${Di("--color-bad-rgb")}, 0.5)`,
|
|
@@ -47120,9 +47133,9 @@ ${t("general.winrate")}: ${We(d / u * 100, 1, 3)}%`;
|
|
|
47120
47133
|
setup(e) {
|
|
47121
47134
|
const { t } = oe(), n = N();
|
|
47122
47135
|
at.register(...ua), at.register(Xs), at.register(kf);
|
|
47123
|
-
const r = e, a =
|
|
47136
|
+
const r = e, a = D(
|
|
47124
47137
|
() => Object.values(Cx(r.data, (o) => o.copy))
|
|
47125
|
-
), i =
|
|
47138
|
+
), i = D(() => ({
|
|
47126
47139
|
labels: Array.from(
|
|
47127
47140
|
r.data.reduce(
|
|
47128
47141
|
(o, A) => o.add(A.round),
|
|
@@ -47232,7 +47245,7 @@ ${t("general.winrate")}: ${We(d / u * 100, 1, 3)}%`;
|
|
|
47232
47245
|
setup(e) {
|
|
47233
47246
|
const { t } = oe(), n = N();
|
|
47234
47247
|
at.register(...ua), at.register(Xs);
|
|
47235
|
-
const r = e, a =
|
|
47248
|
+
const r = e, a = D(() => ({
|
|
47236
47249
|
labels: r.data.map((o) => o.label),
|
|
47237
47250
|
datasets: [
|
|
47238
47251
|
{
|
|
@@ -47248,7 +47261,7 @@ ${t("general.winrate")}: ${We(d / u * 100, 1, 3)}%`;
|
|
|
47248
47261
|
borderColor: "rgba(0, 0, 0, 0.05)"
|
|
47249
47262
|
}
|
|
47250
47263
|
]
|
|
47251
|
-
})), i =
|
|
47264
|
+
})), i = D(() => ({
|
|
47252
47265
|
plugins: {
|
|
47253
47266
|
legend: {
|
|
47254
47267
|
display: !1
|
|
@@ -47445,9 +47458,9 @@ const $Ae = /* @__PURE__ */ K(VAe, [["__scopeId", "data-v-3cbac27b"]]), KAe = {
|
|
|
47445
47458
|
__name: "ProfileRegionRow",
|
|
47446
47459
|
props: KAe,
|
|
47447
47460
|
setup(e) {
|
|
47448
|
-
const t = e, n =
|
|
47461
|
+
const t = e, n = D(() => Re().dataJson.regions.find(
|
|
47449
47462
|
(a) => a.nameRef === t.regionNameRef
|
|
47450
|
-
)), r =
|
|
47463
|
+
)), r = D(() => {
|
|
47451
47464
|
var a;
|
|
47452
47465
|
return He().callbacks.cardImageCallback(((a = n.value) == null ? void 0 : a.cardCode) ?? "", Wt.Banner);
|
|
47453
47466
|
});
|
|
@@ -47555,7 +47568,7 @@ const JAe = /* @__PURE__ */ K(XAe, [["__scopeId", "data-v-2dae645c"]]), ZAe = {
|
|
|
47555
47568
|
__name: "ProfileArchetypeRow",
|
|
47556
47569
|
props: ele,
|
|
47557
47570
|
setup(e) {
|
|
47558
|
-
const t = e, n =
|
|
47571
|
+
const t = e, n = D(() => en(t.deckCode)), r = D(() => Pn(n.value)), a = D(() => {
|
|
47559
47572
|
var s;
|
|
47560
47573
|
const i = (s = Ui(r.value, n.value, 1)[0]) == null ? void 0 : s.cardCode;
|
|
47561
47574
|
return He().callbacks.cardImageCallback(i ?? "", Wt.Banner);
|
|
@@ -47668,7 +47681,7 @@ const sle = /* @__PURE__ */ K(ile, [["__scopeId", "data-v-f883a9d9"]]), ole = {
|
|
|
47668
47681
|
name: n("leaderboard.totalPlayers"),
|
|
47669
47682
|
nameRef: "totalPlayers"
|
|
47670
47683
|
}
|
|
47671
|
-
], o = N(a.selectedRegion), A = N(a.selectedPlayers), l = N(a.selectedGraphOption), c =
|
|
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));
|
|
47672
47685
|
return be(o, (u) => {
|
|
47673
47686
|
i("update:selectedRegion", u), i("update:selectedPlayers", []);
|
|
47674
47687
|
}), be(A, (u) => {
|
|
@@ -48016,7 +48029,7 @@ const ES = /* @__PURE__ */ K(Ole, [["__scopeId", "data-v-511803da"]]), Lle = {
|
|
|
48016
48029
|
__name: "DashboardCardRow",
|
|
48017
48030
|
props: Lle,
|
|
48018
48031
|
setup(e) {
|
|
48019
|
-
const t = e, n =
|
|
48032
|
+
const t = e, n = D(() => Jn().cardJsonObject[t.cardCode]), r = D(() => {
|
|
48020
48033
|
var a;
|
|
48021
48034
|
return He().callbacks.cardImageCallback(((a = n.value) == null ? void 0 : a.cardCode) ?? "", Wt.Banner);
|
|
48022
48035
|
});
|
|
@@ -48124,7 +48137,7 @@ const Kle = /* @__PURE__ */ K(Vle, [["render", $le]]), Wle = {
|
|
|
48124
48137
|
__name: "DashboardLeaderboardRow",
|
|
48125
48138
|
props: Wle,
|
|
48126
48139
|
setup(e) {
|
|
48127
|
-
const t = e, n =
|
|
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"]);
|
|
48128
48141
|
return (a, i) => (w(), x("div", {
|
|
48129
48142
|
class: "profile-champion-row wrapper",
|
|
48130
48143
|
style: xe({ "--index": t.index })
|
|
@@ -48187,9 +48200,9 @@ const IS = /* @__PURE__ */ K(Zle, [["__scopeId", "data-v-7abf758d"]]), ece = {
|
|
|
48187
48200
|
__name: "RevealDayOption",
|
|
48188
48201
|
props: ece,
|
|
48189
48202
|
setup(e) {
|
|
48190
|
-
const t = la(ei), n = e, r = N(null), a = N(null), i =
|
|
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
|
|
48191
48204
|
${i.value.toLocaleDateString()}` : `Cards Revealed
|
|
48192
|
-
${t(i.value).fromNow()}`)), A =
|
|
48205
|
+
${t(i.value).fromNow()}`)), A = D(() => {
|
|
48193
48206
|
const l = [];
|
|
48194
48207
|
return n.activated && l.push("activated"), n.soon && l.push("soon"), s.value && l.push("past"), l;
|
|
48195
48208
|
});
|
|
@@ -48372,7 +48385,7 @@ const hce = /* @__PURE__ */ K(pce, [["__scopeId", "data-v-89a26f2c"]]), gce = {
|
|
|
48372
48385
|
sortDirection: Qe.NOT_SORTABLE,
|
|
48373
48386
|
title: n("general.favoriteDeck")
|
|
48374
48387
|
}
|
|
48375
|
-
]), s =
|
|
48388
|
+
]), s = D(() => ({
|
|
48376
48389
|
"--columns": i.value.filter((A) => A.isShown).length
|
|
48377
48390
|
}));
|
|
48378
48391
|
function o(A) {
|
|
@@ -48476,7 +48489,7 @@ const QS = /* @__PURE__ */ K(Lce, [["render", Mce], ["__scopeId", "data-v-e5501f
|
|
|
48476
48489
|
setup(e, { emit: t }) {
|
|
48477
48490
|
const { t: n } = oe(), r = e, a = N(), i = N();
|
|
48478
48491
|
let s;
|
|
48479
|
-
const o = t, A =
|
|
48492
|
+
const o = t, A = D(() => {
|
|
48480
48493
|
const c = Ln().user;
|
|
48481
48494
|
if (!c || !c.isPremium && !c.isAdFree)
|
|
48482
48495
|
return n("general.premium");
|
|
@@ -48978,7 +48991,7 @@ const Sue = /* @__PURE__ */ K(kue, [["__scopeId", "data-v-fe0f916c"]]), xue = {
|
|
|
48978
48991
|
__name: "ArchetypesRow",
|
|
48979
48992
|
props: xue,
|
|
48980
48993
|
setup(e) {
|
|
48981
|
-
const t = e, n =
|
|
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(() => ({
|
|
48982
48995
|
showButtons: {
|
|
48983
48996
|
deleteDeck: !1,
|
|
48984
48997
|
updateDeckPrivacy: !1,
|
|
@@ -49167,37 +49180,37 @@ const fs = /* @__PURE__ */ K(Hue, [["__scopeId", "data-v-2e6bb287"]]), Nue = {
|
|
|
49167
49180
|
isError: c(d)
|
|
49168
49181
|
};
|
|
49169
49182
|
}
|
|
49170
|
-
const r =
|
|
49183
|
+
const r = D(
|
|
49171
49184
|
() => n(
|
|
49172
49185
|
(l) => l.typeRef === "Unit" && l.supertype === "Champion",
|
|
49173
49186
|
(l) => l > 6,
|
|
49174
49187
|
"Champion"
|
|
49175
49188
|
)
|
|
49176
|
-
), a =
|
|
49189
|
+
), a = D(
|
|
49177
49190
|
() => n(
|
|
49178
49191
|
(l) => l.typeRef === "Unit" && l.supertype === "",
|
|
49179
49192
|
() => !1,
|
|
49180
49193
|
"Follower"
|
|
49181
49194
|
)
|
|
49182
|
-
), i =
|
|
49195
|
+
), i = D(
|
|
49183
49196
|
() => n(
|
|
49184
49197
|
(l) => l.typeRef === "Spell",
|
|
49185
49198
|
() => !1,
|
|
49186
49199
|
"Spell"
|
|
49187
49200
|
)
|
|
49188
|
-
), s =
|
|
49201
|
+
), s = D(
|
|
49189
49202
|
() => n(
|
|
49190
49203
|
(l) => l.typeRef === "Landmark",
|
|
49191
49204
|
() => !1,
|
|
49192
49205
|
"Landmark"
|
|
49193
49206
|
)
|
|
49194
|
-
), o =
|
|
49207
|
+
), o = D(
|
|
49195
49208
|
() => n(
|
|
49196
49209
|
(l) => l.typeRef === "Equipment",
|
|
49197
49210
|
() => !1,
|
|
49198
49211
|
"Equipment"
|
|
49199
49212
|
)
|
|
49200
|
-
), A =
|
|
49213
|
+
), A = D(
|
|
49201
49214
|
() => n(
|
|
49202
49215
|
() => !0,
|
|
49203
49216
|
(l) => l !== 40,
|
|
@@ -49324,7 +49337,7 @@ const Yue = /* @__PURE__ */ K(que, [["__scopeId", "data-v-bb4c05e4"]]), Xue = {
|
|
|
49324
49337
|
__name: "CardOverview",
|
|
49325
49338
|
props: Xue,
|
|
49326
49339
|
setup(e) {
|
|
49327
|
-
const t = e, n = Bs(t.cardProp, t.cardCodeProp, !0), r = N(!1), a =
|
|
49340
|
+
const t = e, n = Bs(t.cardProp, t.cardCodeProp, !0), r = N(!1), a = D(() => {
|
|
49328
49341
|
if (n.value === void 0)
|
|
49329
49342
|
return [];
|
|
49330
49343
|
const l = [];
|
|
@@ -49335,14 +49348,14 @@ const Yue = /* @__PURE__ */ K(que, [["__scopeId", "data-v-bb4c05e4"]]), Xue = {
|
|
|
49335
49348
|
u && l.push(u);
|
|
49336
49349
|
}
|
|
49337
49350
|
return l;
|
|
49338
|
-
}), i =
|
|
49351
|
+
}), i = D(() => {
|
|
49339
49352
|
if (n.value === void 0 || !n.value.regionRefs || n.value.regionRefs.length === 0)
|
|
49340
49353
|
return null;
|
|
49341
49354
|
const l = Re().dataJson;
|
|
49342
49355
|
return Uo(n.value.regionRefs[0]) ? l.runeterraChampions.find(
|
|
49343
49356
|
(c) => c.nameRef === n.value.regionRefs[0]
|
|
49344
49357
|
) ?? l.regions[0] : l.regions.find((c) => c.nameRef === n.value.regionRefs[0]) ?? l.regions[0];
|
|
49345
|
-
}), s =
|
|
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]);
|
|
49346
49359
|
return (l, c) => {
|
|
49347
49360
|
var u, d, f, p, h, v, g, b;
|
|
49348
49361
|
return w(), x("div", Jue, [
|
|
@@ -49591,11 +49604,11 @@ const Ide = /* @__PURE__ */ K(Fde, [["__scopeId", "data-v-90be9f81"]]), Tde = {
|
|
|
49591
49604
|
props: Sde,
|
|
49592
49605
|
emits: ["update:card-quantity", "input:deck-code", "click:save"],
|
|
49593
49606
|
setup(e, { emit: t }) {
|
|
49594
|
-
const { t: n } = oe(), r = e, a = t, i =
|
|
49607
|
+
const { t: n } = oe(), r = e, a = t, i = D(() => {
|
|
49595
49608
|
if (r.deckCode === void 0)
|
|
49596
49609
|
throw new Error("DeckCode must be defined");
|
|
49597
49610
|
return en(r.deckCode);
|
|
49598
|
-
}), s =
|
|
49611
|
+
}), s = D(() => Pn(i.value)), o = D(
|
|
49599
49612
|
() => ({
|
|
49600
49613
|
showButtons: {
|
|
49601
49614
|
deleteDeck: !1,
|
|
@@ -49696,7 +49709,7 @@ const Pde = {
|
|
|
49696
49709
|
setup(e) {
|
|
49697
49710
|
const t = N(null);
|
|
49698
49711
|
at.register(...ua);
|
|
49699
|
-
const n = e, r =
|
|
49712
|
+
const n = e, r = D(() => ({
|
|
49700
49713
|
labels: n.data.map((i) => i.region),
|
|
49701
49714
|
datasets: [
|
|
49702
49715
|
{
|
|
@@ -49803,7 +49816,7 @@ const NS = /* @__PURE__ */ K(Nde, [["__scopeId", "data-v-79fac15d"]]), zde = {
|
|
|
49803
49816
|
setup(e) {
|
|
49804
49817
|
const t = N(null);
|
|
49805
49818
|
at.register(...ua);
|
|
49806
|
-
const n = e, r =
|
|
49819
|
+
const n = e, r = D(() => ({
|
|
49807
49820
|
labels: ["Value", "Max"],
|
|
49808
49821
|
datasets: [
|
|
49809
49822
|
{
|
|
@@ -49916,12 +49929,9 @@ const tfe = /* @__PURE__ */ K(efe, [["__scopeId", "data-v-420a5855"]]), nfe = {
|
|
|
49916
49929
|
required: !0,
|
|
49917
49930
|
default: {
|
|
49918
49931
|
player: !0,
|
|
49919
|
-
|
|
49920
|
-
|
|
49921
|
-
|
|
49922
|
-
matches: !0,
|
|
49923
|
-
winrate: !0,
|
|
49924
|
-
deck: !0
|
|
49932
|
+
matchWLs: !0,
|
|
49933
|
+
gameWLs: !0,
|
|
49934
|
+
winrate: !0
|
|
49925
49935
|
}
|
|
49926
49936
|
},
|
|
49927
49937
|
loading: {
|
|
@@ -50005,12 +50015,9 @@ const tfe = /* @__PURE__ */ K(efe, [["__scopeId", "data-v-420a5855"]]), nfe = {
|
|
|
50005
50015
|
required: !0,
|
|
50006
50016
|
default: {
|
|
50007
50017
|
player: !0,
|
|
50008
|
-
|
|
50009
|
-
|
|
50010
|
-
|
|
50011
|
-
matches: !0,
|
|
50012
|
-
winrate: !0,
|
|
50013
|
-
deck: !0
|
|
50018
|
+
matchWLs: !0,
|
|
50019
|
+
gameWLs: !0,
|
|
50020
|
+
winrate: !0
|
|
50014
50021
|
}
|
|
50015
50022
|
}
|
|
50016
50023
|
}, afe = {
|
|
@@ -50039,7 +50046,7 @@ const tfe = /* @__PURE__ */ K(efe, [["__scopeId", "data-v-420a5855"]]), nfe = {
|
|
|
50039
50046
|
__name: "TournamentDeckResult",
|
|
50040
50047
|
props: afe,
|
|
50041
50048
|
setup(e) {
|
|
50042
|
-
const t = e, n =
|
|
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(
|
|
50043
50050
|
() => ({
|
|
50044
50051
|
showButtons: {
|
|
50045
50052
|
deleteDeck: !1,
|
|
@@ -50087,22 +50094,35 @@ const tfe = /* @__PURE__ */ K(efe, [["__scopeId", "data-v-420a5855"]]), nfe = {
|
|
|
50087
50094
|
]));
|
|
50088
50095
|
}
|
|
50089
50096
|
});
|
|
50090
|
-
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 = {
|
|
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({
|
|
50091
50104
|
__name: "TournamentPlayerRow",
|
|
50092
50105
|
props: rfe,
|
|
50093
50106
|
setup(e) {
|
|
50094
|
-
const { t } = oe(), n = e, r = N(null), a = N(0), i = N(!1), s =
|
|
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 ? [
|
|
50095
50110
|
"",
|
|
50096
50111
|
He().callbacks.cardImageCallback(
|
|
50097
50112
|
n.selectedBannerCard,
|
|
50098
50113
|
Wt.Banner
|
|
50099
50114
|
)
|
|
50100
50115
|
] : []);
|
|
50101
|
-
|
|
50116
|
+
tt(() => {
|
|
50102
50117
|
r.value && (a.value = r.value.clientHeight);
|
|
50103
|
-
})
|
|
50104
|
-
|
|
50105
|
-
|
|
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, {
|
|
50106
50126
|
to: n.routerLink,
|
|
50107
50127
|
class: "wrapper"
|
|
50108
50128
|
}, {
|
|
@@ -50116,7 +50136,7 @@ const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { c
|
|
|
50116
50136
|
style: xe({
|
|
50117
50137
|
"--height": a.value + "px"
|
|
50118
50138
|
}),
|
|
50119
|
-
onClick:
|
|
50139
|
+
onClick: u[0] || (u[0] = dt(() => {
|
|
50120
50140
|
}, ["stop", "prevent"]))
|
|
50121
50141
|
}, [
|
|
50122
50142
|
_("div", cfe, [
|
|
@@ -50138,7 +50158,7 @@ const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { c
|
|
|
50138
50158
|
heading: k(t)("tournament.gameWinrate")
|
|
50139
50159
|
}, {
|
|
50140
50160
|
default: Y(() => [
|
|
50141
|
-
_("div", ffe, L(k(We)(
|
|
50161
|
+
_("div", ffe, L(k(We)(o.value * 100, 1, 3) + "%"), 1)
|
|
50142
50162
|
]),
|
|
50143
50163
|
_: 1
|
|
50144
50164
|
}, 8, ["heading"]),
|
|
@@ -50146,20 +50166,20 @@ const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { c
|
|
|
50146
50166
|
heading: k(t)("tournament.oppGameWinrate")
|
|
50147
50167
|
}, {
|
|
50148
50168
|
default: Y(() => [
|
|
50149
|
-
_("div", pfe, L(k(We)(n.
|
|
50169
|
+
_("div", pfe, L(k(We)(n.opponentsGameWinrate * 100, 1, 3) + "%"), 1)
|
|
50150
50170
|
]),
|
|
50151
50171
|
_: 1
|
|
50152
50172
|
}, 8, ["heading"])
|
|
50153
50173
|
]),
|
|
50154
50174
|
_("div", hfe, [
|
|
50155
|
-
(w(!0), x(X, null, ce(n.decks, (
|
|
50156
|
-
key:
|
|
50157
|
-
"deck-code":
|
|
50175
|
+
(w(!0), x(X, null, ce(n.decks, (f) => (w(), R(Or, {
|
|
50176
|
+
key: f.deckCode,
|
|
50177
|
+
"deck-code": f.deckCode,
|
|
50158
50178
|
results: {
|
|
50159
50179
|
type: "multiple",
|
|
50160
|
-
wins:
|
|
50161
|
-
losses:
|
|
50162
|
-
bans:
|
|
50180
|
+
wins: f.wins,
|
|
50181
|
+
losses: f.losses,
|
|
50182
|
+
bans: f.bans
|
|
50163
50183
|
}
|
|
50164
50184
|
}, null, 8, ["deck-code", "results"]))), 128))
|
|
50165
50185
|
])
|
|
@@ -50168,10 +50188,10 @@ const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { c
|
|
|
50168
50188
|
], 4),
|
|
50169
50189
|
_("div", gfe, [
|
|
50170
50190
|
_("div", mfe, [
|
|
50171
|
-
(w(!0), x(X, null, ce(
|
|
50172
|
-
key:
|
|
50191
|
+
(w(!0), x(X, null, ce(A.value, (f) => (w(), x("div", {
|
|
50192
|
+
key: f,
|
|
50173
50193
|
class: "background-card",
|
|
50174
|
-
style: xe({ "--background-image": `url(${
|
|
50194
|
+
style: xe({ "--background-image": `url(${f})` })
|
|
50175
50195
|
}, null, 4))), 128))
|
|
50176
50196
|
])
|
|
50177
50197
|
]),
|
|
@@ -50179,7 +50199,7 @@ const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { c
|
|
|
50179
50199
|
n.shownColumns.player ? (w(), x("div", {
|
|
50180
50200
|
key: 0,
|
|
50181
50201
|
class: "column-content card-wrapper",
|
|
50182
|
-
onClick:
|
|
50202
|
+
onClick: u[1] || (u[1] = dt(() => {
|
|
50183
50203
|
}, ["stop", "prevent"]))
|
|
50184
50204
|
}, [
|
|
50185
50205
|
T($t, {
|
|
@@ -50193,23 +50213,18 @@ const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { c
|
|
|
50193
50213
|
"router-link": n.routerLink
|
|
50194
50214
|
}, null, 8, ["card-code-prop", "color", "mana-number", "name", "router-link"])
|
|
50195
50215
|
])) : W("", !0),
|
|
50196
|
-
|
|
50197
|
-
|
|
50198
|
-
|
|
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,
|
|
50199
50220
|
class: "column-content",
|
|
50200
50221
|
style: xe({
|
|
50201
|
-
color: `var(${k(br)(
|
|
50202
|
-
n.matchWins / (n.matchWins + n.matchLosses)
|
|
50203
|
-
)})`
|
|
50222
|
+
color: `var(${k(br)(s.value)})`
|
|
50204
50223
|
})
|
|
50205
|
-
}, L(k(We)(
|
|
50206
|
-
n.matchWins / (n.matchWins + n.matchLosses) * 100,
|
|
50207
|
-
1,
|
|
50208
|
-
3
|
|
50209
|
-
) + "%"), 5),
|
|
50224
|
+
}, L(k(We)(s.value * 100, 1, 3) + "%"), 5)) : W("", !0),
|
|
50210
50225
|
_("div", {
|
|
50211
50226
|
class: "column-content options-button",
|
|
50212
|
-
onClick:
|
|
50227
|
+
onClick: u[2] || (u[2] = dt((f) => i.value = !i.value, ["stop", "prevent"]))
|
|
50213
50228
|
}, [
|
|
50214
50229
|
T(k(Pe), {
|
|
50215
50230
|
class: "icon",
|
|
@@ -50224,7 +50239,7 @@ const Or = /* @__PURE__ */ K(lfe, [["__scopeId", "data-v-8aaa4e70"]]), cfe = { c
|
|
|
50224
50239
|
};
|
|
50225
50240
|
}
|
|
50226
50241
|
});
|
|
50227
|
-
const Bfe = /* @__PURE__ */ K(wfe, [["__scopeId", "data-v-
|
|
50242
|
+
const Bfe = /* @__PURE__ */ K(wfe, [["__scopeId", "data-v-4ec8059f"]]), _fe = /* @__PURE__ */ H({
|
|
50228
50243
|
__name: "TournamentPlayerTable",
|
|
50229
50244
|
props: nfe,
|
|
50230
50245
|
emits: ["sort-updated"],
|
|
@@ -50254,7 +50269,7 @@ const Bfe = /* @__PURE__ */ K(wfe, [["__scopeId", "data-v-3656be66"]]), _fe = /*
|
|
|
50254
50269
|
sortDirection: Qe.NEITHER,
|
|
50255
50270
|
title: n("general.winrate")
|
|
50256
50271
|
}
|
|
50257
|
-
]), s =
|
|
50272
|
+
]), s = D(() => ({
|
|
50258
50273
|
"--columns": i.value.filter((A) => A.isShown).length
|
|
50259
50274
|
}));
|
|
50260
50275
|
function o(A) {
|
|
@@ -50347,7 +50362,7 @@ const Ffe = /* @__PURE__ */ K(Efe, [["__scopeId", "data-v-cfee2da2"]]), Ife = {
|
|
|
50347
50362
|
props: Ife,
|
|
50348
50363
|
emits: ["update:result-to-show"],
|
|
50349
50364
|
setup(e, { emit: t }) {
|
|
50350
|
-
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 =
|
|
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");
|
|
50351
50366
|
function d(h) {
|
|
50352
50367
|
c("update:result-to-show", h);
|
|
50353
50368
|
}
|
|
@@ -50943,7 +50958,7 @@ const kpe = /* @__PURE__ */ K(Cpe, [["__scopeId", "data-v-9f936feb"]]), Spe = {
|
|
|
50943
50958
|
__name: "TournamentFeedEventCheckIn",
|
|
50944
50959
|
props: Spe,
|
|
50945
50960
|
setup(e) {
|
|
50946
|
-
const { t } = oe(), n = tA(), r = e, a =
|
|
50961
|
+
const { t } = oe(), n = tA(), r = e, a = D(() => ({
|
|
50947
50962
|
name: "profile",
|
|
50948
50963
|
params: { id: r.id, lang: n.params.lang }
|
|
50949
50964
|
}));
|
|
@@ -51206,7 +51221,7 @@ const ehe = /* @__PURE__ */ K(Zpe, [["__scopeId", "data-v-8ad5656f"]]), the = {
|
|
|
51206
51221
|
__name: "TournamentFeedEventSignUp",
|
|
51207
51222
|
props: the,
|
|
51208
51223
|
setup(e) {
|
|
51209
|
-
const { t } = oe(), n = tA(), r =
|
|
51224
|
+
const { t } = oe(), n = tA(), r = D(() => ({
|
|
51210
51225
|
name: "profile",
|
|
51211
51226
|
params: { id: a.id, lang: n.params.lang }
|
|
51212
51227
|
})), a = e;
|