fansunited-management-components 1.11.0 → 1.11.1
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/index.es.js +105 -101
- package/index.umd.js +2 -2
- package/package.json +1 -1
package/index.es.js
CHANGED
|
@@ -37,7 +37,7 @@ var C = (e, t, r) => new Promise((n, i) => {
|
|
|
37
37
|
l((r = r.apply(e, t)).next());
|
|
38
38
|
});
|
|
39
39
|
import * as z from "react";
|
|
40
|
-
import Mr, { createContext as oc, useState as pe, useEffect as
|
|
40
|
+
import Mr, { createContext as oc, useState as pe, useEffect as or, forwardRef as Lf, useContext as Zo, useRef as kt, useLayoutEffect as Ff, useMemo as wn, useCallback as Ht, Component as S1, Fragment as Pd } from "react";
|
|
41
41
|
import * as T1 from "react-dom";
|
|
42
42
|
import E1, { unstable_batchedUpdates as A1, createPortal as O1 } from "react-dom";
|
|
43
43
|
var vt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
@@ -10378,7 +10378,7 @@ function N0(e) {
|
|
|
10378
10378
|
}
|
|
10379
10379
|
return e instanceof hr ? n.credentialFromError(e) : n.credentialFromResult(e);
|
|
10380
10380
|
}
|
|
10381
|
-
function
|
|
10381
|
+
function ur(e, t) {
|
|
10382
10382
|
return t.catch((r) => {
|
|
10383
10383
|
throw r instanceof hr && bP(e, r), r;
|
|
10384
10384
|
}).then((r) => {
|
|
@@ -10396,7 +10396,7 @@ function zd(e, t) {
|
|
|
10396
10396
|
const r = yield t;
|
|
10397
10397
|
return {
|
|
10398
10398
|
verificationId: r.verificationId,
|
|
10399
|
-
confirm: (n) =>
|
|
10399
|
+
confirm: (n) => ur(e, r.confirm(n))
|
|
10400
10400
|
};
|
|
10401
10401
|
});
|
|
10402
10402
|
}
|
|
@@ -10411,7 +10411,7 @@ class wP {
|
|
|
10411
10411
|
return this.resolver.hints;
|
|
10412
10412
|
}
|
|
10413
10413
|
resolveSignIn(t) {
|
|
10414
|
-
return
|
|
10414
|
+
return ur($0(this.auth), this.resolver.resolveSignIn(t));
|
|
10415
10415
|
}
|
|
10416
10416
|
}
|
|
10417
10417
|
/**
|
|
@@ -10457,7 +10457,7 @@ class In {
|
|
|
10457
10457
|
}
|
|
10458
10458
|
linkWithCredential(t) {
|
|
10459
10459
|
return C(this, null, function* () {
|
|
10460
|
-
return
|
|
10460
|
+
return ur(this.auth, f0(this._delegate, t));
|
|
10461
10461
|
});
|
|
10462
10462
|
}
|
|
10463
10463
|
linkWithPhoneNumber(t, r) {
|
|
@@ -10467,7 +10467,7 @@ class In {
|
|
|
10467
10467
|
}
|
|
10468
10468
|
linkWithPopup(t) {
|
|
10469
10469
|
return C(this, null, function* () {
|
|
10470
|
-
return
|
|
10470
|
+
return ur(this.auth, VA(this._delegate, t, zn));
|
|
10471
10471
|
});
|
|
10472
10472
|
}
|
|
10473
10473
|
linkWithRedirect(t) {
|
|
@@ -10480,14 +10480,14 @@ class In {
|
|
|
10480
10480
|
}
|
|
10481
10481
|
reauthenticateWithCredential(t) {
|
|
10482
10482
|
return C(this, null, function* () {
|
|
10483
|
-
return
|
|
10483
|
+
return ur(this.auth, h0(this._delegate, t));
|
|
10484
10484
|
});
|
|
10485
10485
|
}
|
|
10486
10486
|
reauthenticateWithPhoneNumber(t, r) {
|
|
10487
10487
|
return zd(this.auth, FA(this._delegate, t, r));
|
|
10488
10488
|
}
|
|
10489
10489
|
reauthenticateWithPopup(t) {
|
|
10490
|
-
return
|
|
10490
|
+
return ur(this.auth, UA(this._delegate, t, zn));
|
|
10491
10491
|
}
|
|
10492
10492
|
reauthenticateWithRedirect(t) {
|
|
10493
10493
|
return C(this, null, function* () {
|
|
@@ -10636,7 +10636,7 @@ class Hd {
|
|
|
10636
10636
|
}
|
|
10637
10637
|
createUserWithEmailAndPassword(t, r) {
|
|
10638
10638
|
return C(this, null, function* () {
|
|
10639
|
-
return
|
|
10639
|
+
return ur(this._delegate, LE(this._delegate, t, r));
|
|
10640
10640
|
});
|
|
10641
10641
|
}
|
|
10642
10642
|
fetchProvidersForEmail(t) {
|
|
@@ -10657,7 +10657,7 @@ class Hd {
|
|
|
10657
10657
|
/* exp.AuthErrorCode.OPERATION_NOT_SUPPORTED */
|
|
10658
10658
|
);
|
|
10659
10659
|
const t = yield eO(this._delegate, zn);
|
|
10660
|
-
return t ?
|
|
10660
|
+
return t ? ur(this._delegate, Promise.resolve(t)) : {
|
|
10661
10661
|
credential: null,
|
|
10662
10662
|
user: null
|
|
10663
10663
|
};
|
|
@@ -10709,19 +10709,19 @@ class Hd {
|
|
|
10709
10709
|
return this.signInWithCredential(t);
|
|
10710
10710
|
}
|
|
10711
10711
|
signInAnonymously() {
|
|
10712
|
-
return
|
|
10712
|
+
return ur(this._delegate, EE(this._delegate));
|
|
10713
10713
|
}
|
|
10714
10714
|
signInWithCredential(t) {
|
|
10715
|
-
return
|
|
10715
|
+
return ur(this._delegate, pc(this._delegate, t));
|
|
10716
10716
|
}
|
|
10717
10717
|
signInWithCustomToken(t) {
|
|
10718
|
-
return
|
|
10718
|
+
return ur(this._delegate, PE(this._delegate, t));
|
|
10719
10719
|
}
|
|
10720
10720
|
signInWithEmailAndPassword(t, r) {
|
|
10721
|
-
return
|
|
10721
|
+
return ur(this._delegate, FE(this._delegate, t, r));
|
|
10722
10722
|
}
|
|
10723
10723
|
signInWithEmailLink(t, r) {
|
|
10724
|
-
return
|
|
10724
|
+
return ur(this._delegate, BE(this._delegate, t, r));
|
|
10725
10725
|
}
|
|
10726
10726
|
signInWithPhoneNumber(t, r) {
|
|
10727
10727
|
return zd(this._delegate, DA(this._delegate, t, r));
|
|
@@ -10733,7 +10733,7 @@ class Hd {
|
|
|
10733
10733
|
this._delegate,
|
|
10734
10734
|
"operation-not-supported-in-this-environment"
|
|
10735
10735
|
/* exp.AuthErrorCode.OPERATION_NOT_SUPPORTED */
|
|
10736
|
-
),
|
|
10736
|
+
), ur(this._delegate, HA(this._delegate, t, zn));
|
|
10737
10737
|
});
|
|
10738
10738
|
}
|
|
10739
10739
|
signInWithRedirect(t) {
|
|
@@ -11722,7 +11722,7 @@ function ZP(e, t) {
|
|
|
11722
11722
|
}
|
|
11723
11723
|
}
|
|
11724
11724
|
kl.prototype = new Error(), kl.prototype.name = "InvalidTokenError";
|
|
11725
|
-
var j0 = ZP,
|
|
11725
|
+
var j0 = ZP, fr = { native: "id", sportradar: "sportradar_id", sportal365: "sportal365_id", enetpulse: "enetpulse_id", api_football: "api_football_id" }, tg = { PREDICTOR_USER_RELATED_OPERATION: "https://docs.fansunitedmedia.com/docs/predictor-operations#user-related-operations" }, rg = ["matchId", "matchType", "market", "prediction"], eR = (/* @__PURE__ */ new Map()).set("FT_1X2", "fullTimeOneXTwo").set("HT_1X2", "halfTimeOneXTwo").set("BOTH_TEAMS_SCORE", "bothTeamsScore").set("DOUBLE_CHANCE", "doubleChance").set("HT_FT", "halfTimeFullTime").set("PLAYER_SCORE", "playerScore").set("PLAYER_YELLOW_CARD", "playerYellowCard").set("PLAYER_RED_CARD", "playerRedCard").set("RED_CARD_MATCH", "redCardMatch").set("PENALTY_MATCH", "penaltyMatch").set("PLAYER_SCORE_FIRST_GOAL", "playerScoreFirstGoal").set("CORNERS_MATCH", "cornersMatch").set("CORRECT_SCORE", "correctScore").set("CORRECT_SCORE_ADVANCED", "correctScoreAdvanced").set("CORRECT_SCORE_HT", "correctScoreHalfTime").set("PLAYER_SCORE_HATTRICK", "playerScoreHattrick").set("PLAYER_SCORE_TWICE", "playerScoreTwice").set("OVER_GOALS_0_5", "overZeroPointFiveGoals").set("OVER_GOALS_1_5", "overOnePointFiveGoals").set("OVER_GOALS_2_5", "overTwoPointFiveGoals").set("OVER_GOALS_3_5", "overThreePointFiveGoals").set("OVER_GOALS_4_5", "overFourPointFiveGoals").set("OVER_GOALS_5_5", "overFivePointFiveGoals").set("OVER_GOALS_6_5", "overSixPointFiveGoals").set("OVER_CORNERS_6_5", "overSixPointFiveCorners").set("OVER_CORNERS_7_5", "overSevenPointFiveCorners").set("OVER_CORNERS_8_5", "overEightPointFiveCorners").set("OVER_CORNERS_9_5", "overNinePointFiveCorners").set("OVER_CORNERS_10_5", "overTenPointFiveCorners").set("OVER_CORNERS_11_5", "overElevenPointFiveCorners").set("OVER_CORNERS_12_5", "overTwelvePointFiveCorners").set("OVER_CORNERS_13_5", "overThirteenPointFiveCorners"), ng = { UNEXPECTED_STATUS_PROP: `Unexpected provided property 'status'. You can NOT use this property for this method. For more information visit our documentation:
|
|
11726
11726
|
${tg.PREDICTOR_USER_RELATED_OPERATION}`, UNEXPECTED_TYPE_PROP: `Unexpected provided property 'type'. You can NOT use this property for this method. For more information visit our documentation:
|
|
11727
11727
|
${tg.PREDICTOR_USER_RELATED_OPERATION}` }, tR = (e, t) => `The prediction '${e}' is invalid for market '${t}'. Please check again have you passed appropriate prediction model. For more information please visit our documentation: https://docs.fansunitedmedia.com/sdks/js/match.quiz#gamerelatedoperations`, z0 = (e) => `The market '${e}' is not supported from Fans United. For more information please visit our documentation: https://docs.fansunitedmedia.com/docs/predictor-operations#make-football-prediction`, rR = (e) => `The market '${e}' is not valid for Top X game. The only available market is CORRECT_SCORE.`, nR = (e) => `The field/s '${e.length > 1 ? e.join(", ") : e[0]}' is/are invalid. For more information please visit our documentation: https://docs.fansunitedmedia.com/docs/javascript-sdk`, iR = (e, t) => `The following field/s is/are missing from ${e}: '${t.length > 1 ? t.join(", ") : t[0]}'. For more information please visit our documentation: https://docs.fansunitedmedia.com/docs/predictor-operations#make-football-prediction`, aR = (e, t) => `The field ${e} has incorrect type. The correct type is ${t}`, Ms = class {
|
|
11728
11728
|
constructor(e, t) {
|
|
@@ -11815,7 +11815,7 @@ var j0 = ZP, dr = { native: "id", sportradar: "sportradar_id", sportal365: "spor
|
|
|
11815
11815
|
});
|
|
11816
11816
|
this.baseUrl = t, this.configuration = e, this.apiSignInUrl = `?key=${e.apiKey}&client_id=${e.clientId}`, this.errorHandlingMode = e.errorHandlingMode, this.idSchema = e.idSchema, this.headers = { "Content-Type": "application/json" };
|
|
11817
11817
|
}
|
|
11818
|
-
}, oR = "/countries",
|
|
11818
|
+
}, oR = "/countries", lr = "/profile", Ds = "/profiles", H0 = class extends Xr {
|
|
11819
11819
|
constructor(t) {
|
|
11820
11820
|
super(t, Nr(t.environment, "profile"));
|
|
11821
11821
|
o(this, "profileRemapper", null);
|
|
@@ -11828,7 +11828,7 @@ var j0 = ZP, dr = { native: "id", sportradar: "sportradar_id", sportal365: "spor
|
|
|
11828
11828
|
return t && (n += `&disable_cache=${i}`), (yield this.fetchWithoutAuth(n, "There was a problem fetching profile countries")).data;
|
|
11829
11829
|
}));
|
|
11830
11830
|
o(this, "getProfile", (t) => C(this, null, function* () {
|
|
11831
|
-
let r = `${
|
|
11831
|
+
let r = `${lr}${this.apiSignInUrl}`, n = "";
|
|
11832
11832
|
if (t) {
|
|
11833
11833
|
r = `${Ds}/${t}${this.apiSignInUrl}`, n = `There was a problem fetching the following profile: ${t}`;
|
|
11834
11834
|
let i = yield this.fetchWithoutAuth(r, n);
|
|
@@ -11863,51 +11863,51 @@ var j0 = ZP, dr = { native: "id", sportradar: "sportradar_id", sportal365: "spor
|
|
|
11863
11863
|
return this.profileRemapper.profilesFromResponse(l.data);
|
|
11864
11864
|
}));
|
|
11865
11865
|
o(this, "getFollowers", (t, r) => C(this, null, function* () {
|
|
11866
|
-
let n = `${
|
|
11866
|
+
let n = `${lr}/followers${this.apiSignInUrl}`, i = "There was a problem fetching the followers for own profile";
|
|
11867
11867
|
if (t && !r) {
|
|
11868
|
-
n = `${
|
|
11868
|
+
n = `${lr}/followers${this.apiSignInUrl}${t.constructFilterUrl()}`;
|
|
11869
11869
|
let s = yield this.fetchWithAuth(n, i);
|
|
11870
11870
|
return this.followersRemapper.followersFromResponse(s);
|
|
11871
11871
|
} else if (!t && !r) {
|
|
11872
11872
|
let s = yield this.fetchWithAuth(n, i);
|
|
11873
11873
|
return this.followersRemapper.followersFromResponse(s);
|
|
11874
11874
|
}
|
|
11875
|
-
t && r ? n = `${
|
|
11875
|
+
t && r ? n = `${lr}/${r}/followers${this.apiSignInUrl}${t.constructFilterUrl()}` : !t && r && (n = `${lr}/${r}/followers${this.apiSignInUrl}`), i = `There was a problem fetching the followers for profile: ${r}`;
|
|
11876
11876
|
let a = yield this.fetchWithoutAuth(n, i);
|
|
11877
11877
|
return this.followersRemapper.followersFromResponse(a);
|
|
11878
11878
|
}));
|
|
11879
11879
|
o(this, "getFollowing", (t, r) => C(this, null, function* () {
|
|
11880
|
-
let n = `${
|
|
11880
|
+
let n = `${lr}/following${this.apiSignInUrl}`, i = "There was a problem fetching the followers of own profile";
|
|
11881
11881
|
if (t && !r) {
|
|
11882
|
-
n = `${
|
|
11882
|
+
n = `${lr}/following${this.apiSignInUrl}${t.constructFilterUrl()}`;
|
|
11883
11883
|
let s = yield this.fetchWithAuth(n, i);
|
|
11884
11884
|
return this.followingRemapper.followingFromResponse(s);
|
|
11885
11885
|
} else if (!t && !r) {
|
|
11886
11886
|
let s = yield this.fetchWithAuth(n, i);
|
|
11887
11887
|
return this.followingRemapper.followingFromResponse(s);
|
|
11888
11888
|
}
|
|
11889
|
-
t && r ? n = `${
|
|
11889
|
+
t && r ? n = `${lr}/${r}/following${this.apiSignInUrl}${t.constructFilterUrl()}` : !t && r && (n = `${lr}/${r}/following${this.apiSignInUrl}`), i = `There was a problem fetching the followers of the following profile: ${r}`;
|
|
11890
11890
|
let a = yield this.fetchWithoutAuth(n, i);
|
|
11891
11891
|
return this.followingRemapper.followingFromResponse(a);
|
|
11892
11892
|
}));
|
|
11893
11893
|
o(this, "follow", (t) => C(this, null, function* () {
|
|
11894
11894
|
let r = new Zm();
|
|
11895
11895
|
r.profile_ids = t;
|
|
11896
|
-
let n =
|
|
11896
|
+
let n = lr + `/follow${this.apiSignInUrl}`, i = `There was a problem with following profiles: ${t.join(",")}`, a = "POST", s = yield this.fetchWithAuth(n, i, a, r);
|
|
11897
11897
|
return this.followingRemapper.followResponse(s.data);
|
|
11898
11898
|
}));
|
|
11899
11899
|
o(this, "unfollow", (t) => C(this, null, function* () {
|
|
11900
11900
|
let r = new Zm();
|
|
11901
11901
|
r.profile_ids = t;
|
|
11902
|
-
let n =
|
|
11902
|
+
let n = lr + `/follow${this.apiSignInUrl}`, i = `There was a problem with unfollowing profiles: ${t.join(",")}`;
|
|
11903
11903
|
return yield this.fetchWithAuth(n, i, "DELETE", r), !0;
|
|
11904
11904
|
}));
|
|
11905
11905
|
o(this, "getBadges", (t) => C(this, null, function* () {
|
|
11906
|
-
let r = `${
|
|
11907
|
-
return t ? (r = `${
|
|
11906
|
+
let r = `${lr}/badges${this.apiSignInUrl}`, n = "There was a problem with fetching own badges";
|
|
11907
|
+
return t ? (r = `${lr}/${t}/badges${this.apiSignInUrl}`, n = "There was a problem with fetching the badges", (yield this.fetchWithoutAuth(r, n)).data) : (yield this.fetchWithAuth(r, n)).data;
|
|
11908
11908
|
}));
|
|
11909
11909
|
o(this, "updateProfile", (t) => C(this, null, function* () {
|
|
11910
|
-
let r =
|
|
11910
|
+
let r = lr + this.apiSignInUrl, n = "There was a problem updating the own profile", i = "PATCH", a = yield this.fetchWithAuth(r, n, i, t);
|
|
11911
11911
|
return this.profileRemapper.fullProfileFromResponse(a.data);
|
|
11912
11912
|
}));
|
|
11913
11913
|
this.lang = t.lang, this.profileRemapper = new GP(), this.followingRemapper = new KP(), this.followersRemapper = new JP();
|
|
@@ -11973,26 +11973,26 @@ var j0 = ZP, dr = { native: "id", sportradar: "sportradar_id", sportal365: "spor
|
|
|
11973
11973
|
this.setData(Wu);
|
|
11974
11974
|
});
|
|
11975
11975
|
o(this, "getEntityById", (e = "", t = "") => this.getData().football.ids.find((r) => {
|
|
11976
|
-
let n =
|
|
11976
|
+
let n = fr[this.idSchema];
|
|
11977
11977
|
return r && `${r[n]}` === t && r.resource === e;
|
|
11978
11978
|
}));
|
|
11979
11979
|
o(this, "getEntity", (e, t, r) => Array.isArray(e) ? this.getData().football.ids.filter((n) => {
|
|
11980
|
-
let i =
|
|
11980
|
+
let i = fr[r];
|
|
11981
11981
|
return n && e.includes(`${n[i]}`) && n.resource === t;
|
|
11982
11982
|
}) : this.getData().football.ids.find((n) => {
|
|
11983
|
-
let i =
|
|
11983
|
+
let i = fr[r];
|
|
11984
11984
|
return n && `${n[i]}` === e && n.resource === t;
|
|
11985
11985
|
}));
|
|
11986
11986
|
o(this, "getEntityByNativeId", (e = "", t = "") => this.getData().football.ids.find((r) => r && `${r.id}` === t && r.resource === e));
|
|
11987
11987
|
o(this, "checkForExistingIdObjs", (e, t) => {
|
|
11988
|
-
let r =
|
|
11988
|
+
let r = fr[t], n = {};
|
|
11989
11989
|
return Object.keys(e).forEach((i) => {
|
|
11990
11990
|
let a = e[i], s = this.getEntity(a, i, t).map((c) => c[r]), l = e[i].filter((c) => !s.includes(c));
|
|
11991
11991
|
n[i] = a.map((c) => l.includes(c) ? { id: c, exists: !1 } : { id: c, exists: !0 });
|
|
11992
11992
|
}), n;
|
|
11993
11993
|
});
|
|
11994
11994
|
o(this, "getIdsByType", (e, t, r) => {
|
|
11995
|
-
let n =
|
|
11995
|
+
let n = fr[r], i = fr[t], a = {};
|
|
11996
11996
|
return Object.keys(e).forEach((s) => {
|
|
11997
11997
|
let l = e[s], c = [];
|
|
11998
11998
|
this.getData().football.ids.forEach((u) => {
|
|
@@ -12113,29 +12113,29 @@ var lR = jP(VP()), Qe = class {
|
|
|
12113
12113
|
o(this, "getEntityById", (e, t) => {
|
|
12114
12114
|
let r = Qe.nodeCache.get("ids");
|
|
12115
12115
|
return r ? r.find((n) => {
|
|
12116
|
-
let i =
|
|
12116
|
+
let i = fr[this.idSchema];
|
|
12117
12117
|
return n && `${n[i]}` === t && n.resource === e;
|
|
12118
12118
|
}) : null;
|
|
12119
12119
|
});
|
|
12120
12120
|
o(this, "getEntity", (e, t, r) => {
|
|
12121
12121
|
let n = Qe.nodeCache.get("ids");
|
|
12122
12122
|
return n ? Array.isArray(e) ? [] : null : Array.isArray(e) ? n.filter((i) => {
|
|
12123
|
-
let a =
|
|
12123
|
+
let a = fr[r];
|
|
12124
12124
|
return i && e.includes(`${i[a]}`) && i.resource === t;
|
|
12125
12125
|
}) : n.find((i) => {
|
|
12126
|
-
let a =
|
|
12126
|
+
let a = fr[r];
|
|
12127
12127
|
return i && `${i[a]}` === e && i.resource === t;
|
|
12128
12128
|
});
|
|
12129
12129
|
});
|
|
12130
12130
|
o(this, "checkForExistingIdObjs", (e, t) => {
|
|
12131
|
-
let r =
|
|
12131
|
+
let r = fr[t], n = {};
|
|
12132
12132
|
return Object.keys(e).forEach((i) => {
|
|
12133
12133
|
let a = e[i], s = this.getEntity(a, i, t).map((c) => c[r]), l = e[i].filter((c) => !s.includes(c));
|
|
12134
12134
|
n[i] = a.map((c) => l.includes(c) ? { id: c, exists: !1 } : { id: c, exists: !0 });
|
|
12135
12135
|
}), n;
|
|
12136
12136
|
});
|
|
12137
12137
|
o(this, "getIdsByType", (e, t, r) => {
|
|
12138
|
-
let n =
|
|
12138
|
+
let n = fr[r], i = fr[t], a = Qe.nodeCache.get("ids"), s = {};
|
|
12139
12139
|
return a ? (Object.keys(e).forEach((l) => {
|
|
12140
12140
|
let c = e[l], u = [];
|
|
12141
12141
|
a.forEach((d) => {
|
|
@@ -15913,12 +15913,12 @@ var Ac = class {
|
|
|
15913
15913
|
}));
|
|
15914
15914
|
o(this, "handleMatchModel", (e, t) => {
|
|
15915
15915
|
e[t.matchId] ? (t.matchModel = e[t.matchId], delete t.matchModel.availableMarkets, t.matchId = t.matchModel.id) : (t.matchModel = null, this.idMapping.idSchema !== "native" && this.idMapping.idMappingFacade.getEntityById(t.matchId, "match", "native").then((r) => {
|
|
15916
|
-
t.matchId = r[
|
|
15916
|
+
t.matchId = r[fr[this.idMapping.idSchema]];
|
|
15917
15917
|
}));
|
|
15918
15918
|
});
|
|
15919
15919
|
o(this, "remapMatchIdForResultsMarkets", (e, t) => {
|
|
15920
15920
|
e[t.matchId] ? t.matchId = e[t.matchId].id : this.idMapping.idMappingFacade.getEntityById(t.matchId, "match", "native").then((r) => {
|
|
15921
|
-
t.matchId = r[
|
|
15921
|
+
t.matchId = r[fr[this.idMapping.idSchema]];
|
|
15922
15922
|
});
|
|
15923
15923
|
});
|
|
15924
15924
|
o(this, "deleteUnexpectedProperties", (e) => (e.status && (console.warn(ng.UNEXPECTED_STATUS_PROP), delete e.status), e.type && (console.warn(ng.UNEXPECTED_TYPE_PROP), delete e.type), e));
|
|
@@ -20115,7 +20115,7 @@ const XL = (e, t) => !e && !t ? null : !e && t ? (console.warn(
|
|
|
20115
20115
|
return /* @__PURE__ */ I.jsx(_h.Provider, { value: { sdk: i, https: a }, children: t });
|
|
20116
20116
|
}, c_ = oc(null), eF = ({ children: e, environment: t }) => {
|
|
20117
20117
|
const [r, n] = pe(null), [i, a] = pe(!0);
|
|
20118
|
-
return
|
|
20118
|
+
return or(() => ss(t).onAuthStateChanged((l) => {
|
|
20119
20119
|
A1(() => {
|
|
20120
20120
|
a(!1), n(l);
|
|
20121
20121
|
});
|
|
@@ -41868,7 +41868,7 @@ const I8 = [{
|
|
|
41868
41868
|
elementType: O8,
|
|
41869
41869
|
externalForwardedProps: fe,
|
|
41870
41870
|
ownerState: le
|
|
41871
|
-
}), [$n,
|
|
41871
|
+
}), [$n, sr] = be("endDecorator", {
|
|
41872
41872
|
className: _e.endDecorator,
|
|
41873
41873
|
elementType: P8,
|
|
41874
41874
|
externalForwardedProps: fe,
|
|
@@ -41886,7 +41886,7 @@ const I8 = [{
|
|
|
41886
41886
|
children: F
|
|
41887
41887
|
})), /* @__PURE__ */ I.jsx(Me, L({}, Le, {
|
|
41888
41888
|
children: J
|
|
41889
|
-
})), $ && /* @__PURE__ */ I.jsx($n, L({},
|
|
41889
|
+
})), $ && /* @__PURE__ */ I.jsx($n, L({}, sr, {
|
|
41890
41890
|
children: $
|
|
41891
41891
|
})), j && /* @__PURE__ */ I.jsx(Ja, L({}, Xa, {
|
|
41892
41892
|
children: j
|
|
@@ -44563,7 +44563,7 @@ const Ut = /* @__PURE__ */ z.forwardRef(function(t, r) {
|
|
|
44563
44563
|
color: N,
|
|
44564
44564
|
variant: F,
|
|
44565
44565
|
size: $
|
|
44566
|
-
}), $n = J7(tn),
|
|
44566
|
+
}), $n = J7(tn), sr = L({}, V, {
|
|
44567
44567
|
component: l,
|
|
44568
44568
|
slots: j,
|
|
44569
44569
|
slotProps: W
|
|
@@ -44605,13 +44605,13 @@ const Ut = /* @__PURE__ */ z.forwardRef(function(t, r) {
|
|
|
44605
44605
|
ref: null,
|
|
44606
44606
|
className: $n.root,
|
|
44607
44607
|
elementType: X7,
|
|
44608
|
-
externalForwardedProps:
|
|
44608
|
+
externalForwardedProps: sr,
|
|
44609
44609
|
ownerState: tn
|
|
44610
44610
|
}), [J, te] = be("arrow", {
|
|
44611
44611
|
ref: B,
|
|
44612
44612
|
className: $n.arrow,
|
|
44613
44613
|
elementType: Z7,
|
|
44614
|
-
externalForwardedProps:
|
|
44614
|
+
externalForwardedProps: sr,
|
|
44615
44615
|
ownerState: tn
|
|
44616
44616
|
});
|
|
44617
44617
|
return /* @__PURE__ */ I.jsxs(z.Fragment, {
|
|
@@ -46737,7 +46737,7 @@ const uK = ({ color: e }) => e === "warning" ? /* @__PURE__ */ I.jsx(HC, {}) : /
|
|
|
46737
46737
|
] });
|
|
46738
46738
|
}, dK = ({ labels: e, showFilters: t, onClick: r }) => /* @__PURE__ */ I.jsx(Ut, { title: t ? e.hideFilters : e.showFilters, children: /* @__PURE__ */ I.jsx(Tr, { "aria-label": "Filters", onClick: r, children: /* @__PURE__ */ I.jsx(NC, {}) }) }), UC = ({ labels: e, onChangeImages: t }) => {
|
|
46739
46739
|
const [r, n] = pe(!1), [i, a] = pe(!1), [s, l] = pe(!1), [c, u] = pe(!1), [d, f] = pe(1), [h, p] = pe(""), [g, m] = pe(null), [y, b] = pe([]), { https: v } = Xt();
|
|
46740
|
-
|
|
46740
|
+
or(() => {
|
|
46741
46741
|
T();
|
|
46742
46742
|
}, [d]);
|
|
46743
46743
|
const w = () => u(!c), _ = () => f((R) => R - 1), x = () => f((R) => R + 1), S = () => C(void 0, null, function* () {
|
|
@@ -46849,7 +46849,7 @@ const VC = ue("input")`
|
|
|
46849
46849
|
width: 1px;
|
|
46850
46850
|
`;
|
|
46851
46851
|
var py = !1, li, wf, _f, yl, bl, WC, wl, xf, Cf, If, qC, Sf, Tf, GC, YC;
|
|
46852
|
-
function
|
|
46852
|
+
function cr() {
|
|
46853
46853
|
if (!py) {
|
|
46854
46854
|
py = !0;
|
|
46855
46855
|
var e = navigator.userAgent, t = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e), r = /(Mac OS X)|(Windows)|(Linux)/.exec(e);
|
|
@@ -46878,7 +46878,7 @@ var Ef = {
|
|
|
46878
46878
|
* @return float|NaN Version number (if match) or NaN.
|
|
46879
46879
|
*/
|
|
46880
46880
|
ie: function() {
|
|
46881
|
-
return
|
|
46881
|
+
return cr() || li;
|
|
46882
46882
|
},
|
|
46883
46883
|
/**
|
|
46884
46884
|
* Check if we're in Internet Explorer compatibility mode.
|
|
@@ -46887,7 +46887,7 @@ var Ef = {
|
|
|
46887
46887
|
* not compatibility mode or not ie
|
|
46888
46888
|
*/
|
|
46889
46889
|
ieCompatibilityMode: function() {
|
|
46890
|
-
return
|
|
46890
|
+
return cr() || WC > li;
|
|
46891
46891
|
},
|
|
46892
46892
|
/**
|
|
46893
46893
|
* Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
|
|
@@ -46904,7 +46904,7 @@ var Ef = {
|
|
|
46904
46904
|
* @return float|NaN Version number (if match) or NaN.
|
|
46905
46905
|
*/
|
|
46906
46906
|
firefox: function() {
|
|
46907
|
-
return
|
|
46907
|
+
return cr() || wf;
|
|
46908
46908
|
},
|
|
46909
46909
|
/**
|
|
46910
46910
|
* Check if the UA is Opera.
|
|
@@ -46913,7 +46913,7 @@ var Ef = {
|
|
|
46913
46913
|
* @return float|NaN Version number (if match) or NaN.
|
|
46914
46914
|
*/
|
|
46915
46915
|
opera: function() {
|
|
46916
|
-
return
|
|
46916
|
+
return cr() || _f;
|
|
46917
46917
|
},
|
|
46918
46918
|
/**
|
|
46919
46919
|
* Check if the UA is WebKit.
|
|
@@ -46922,7 +46922,7 @@ var Ef = {
|
|
|
46922
46922
|
* @return float|NaN Version number (if match) or NaN.
|
|
46923
46923
|
*/
|
|
46924
46924
|
webkit: function() {
|
|
46925
|
-
return
|
|
46925
|
+
return cr() || yl;
|
|
46926
46926
|
},
|
|
46927
46927
|
/**
|
|
46928
46928
|
* For Push
|
|
@@ -46938,7 +46938,7 @@ var Ef = {
|
|
|
46938
46938
|
* @return float|NaN Version number (if match) or NaN.
|
|
46939
46939
|
*/
|
|
46940
46940
|
chrome: function() {
|
|
46941
|
-
return
|
|
46941
|
+
return cr() || bl;
|
|
46942
46942
|
},
|
|
46943
46943
|
/**
|
|
46944
46944
|
* Check if the user is running Windows.
|
|
@@ -46946,7 +46946,7 @@ var Ef = {
|
|
|
46946
46946
|
* @return bool `true' if the user's OS is Windows.
|
|
46947
46947
|
*/
|
|
46948
46948
|
windows: function() {
|
|
46949
|
-
return
|
|
46949
|
+
return cr() || xf;
|
|
46950
46950
|
},
|
|
46951
46951
|
/**
|
|
46952
46952
|
* Check if the user is running Mac OS X.
|
|
@@ -46955,7 +46955,7 @@ var Ef = {
|
|
|
46955
46955
|
* otherwise true/false.
|
|
46956
46956
|
*/
|
|
46957
46957
|
osx: function() {
|
|
46958
|
-
return
|
|
46958
|
+
return cr() || wl;
|
|
46959
46959
|
},
|
|
46960
46960
|
/**
|
|
46961
46961
|
* Check if the user is running Linux.
|
|
@@ -46963,7 +46963,7 @@ var Ef = {
|
|
|
46963
46963
|
* @return bool `true' if the user's OS is some flavor of Linux.
|
|
46964
46964
|
*/
|
|
46965
46965
|
linux: function() {
|
|
46966
|
-
return
|
|
46966
|
+
return cr() || Cf;
|
|
46967
46967
|
},
|
|
46968
46968
|
/**
|
|
46969
46969
|
* Check if the user is running on an iPhone or iPod platform.
|
|
@@ -46972,19 +46972,19 @@ var Ef = {
|
|
|
46972
46972
|
* iPhone OS.
|
|
46973
46973
|
*/
|
|
46974
46974
|
iphone: function() {
|
|
46975
|
-
return
|
|
46975
|
+
return cr() || Sf;
|
|
46976
46976
|
},
|
|
46977
46977
|
mobile: function() {
|
|
46978
|
-
return
|
|
46978
|
+
return cr() || Sf || Tf || If || YC;
|
|
46979
46979
|
},
|
|
46980
46980
|
nativeApp: function() {
|
|
46981
|
-
return
|
|
46981
|
+
return cr() || GC;
|
|
46982
46982
|
},
|
|
46983
46983
|
android: function() {
|
|
46984
|
-
return
|
|
46984
|
+
return cr() || If;
|
|
46985
46985
|
},
|
|
46986
46986
|
ipad: function() {
|
|
46987
|
-
return
|
|
46987
|
+
return cr() || Tf;
|
|
46988
46988
|
}
|
|
46989
46989
|
}, mK = Ef, Ks = !!(typeof window != "undefined" && window.document && window.document.createElement), gK = {
|
|
46990
46990
|
canUseDOM: Ks,
|
|
@@ -48148,7 +48148,7 @@ var ZC = {}, hd = [
|
|
|
48148
48148
|
hourAriaLabel: "Hour",
|
|
48149
48149
|
minuteAriaLabel: "Minute",
|
|
48150
48150
|
time_24hr: !1
|
|
48151
|
-
},
|
|
48151
|
+
}, dr = function(e, t) {
|
|
48152
48152
|
return t === void 0 && (t = 2), ("000" + e).slice(t * -1);
|
|
48153
48153
|
}, Pr = function(e) {
|
|
48154
48154
|
return e === !0 ? 1 : 0;
|
|
@@ -48305,10 +48305,10 @@ var md = function() {
|
|
|
48305
48305
|
return Zl(Ro.n(e, t, r) - 1, !1, t);
|
|
48306
48306
|
},
|
|
48307
48307
|
G: function(e, t, r) {
|
|
48308
|
-
return
|
|
48308
|
+
return dr(Ro.h(e, t, r));
|
|
48309
48309
|
},
|
|
48310
48310
|
H: function(e) {
|
|
48311
|
-
return
|
|
48311
|
+
return dr(e.getHours());
|
|
48312
48312
|
},
|
|
48313
48313
|
J: function(e, t) {
|
|
48314
48314
|
return t.ordinal !== void 0 ? e.getDate() + t.ordinal(e.getDate()) : e.getDate();
|
|
@@ -48320,7 +48320,7 @@ var md = function() {
|
|
|
48320
48320
|
return Zl(e.getMonth(), !0, t);
|
|
48321
48321
|
},
|
|
48322
48322
|
S: function(e) {
|
|
48323
|
-
return
|
|
48323
|
+
return dr(e.getSeconds());
|
|
48324
48324
|
},
|
|
48325
48325
|
U: function(e) {
|
|
48326
48326
|
return e.getTime() / 1e3;
|
|
@@ -48329,16 +48329,16 @@ var md = function() {
|
|
|
48329
48329
|
return r.getWeek(e);
|
|
48330
48330
|
},
|
|
48331
48331
|
Y: function(e) {
|
|
48332
|
-
return
|
|
48332
|
+
return dr(e.getFullYear(), 4);
|
|
48333
48333
|
},
|
|
48334
48334
|
d: function(e) {
|
|
48335
|
-
return
|
|
48335
|
+
return dr(e.getDate());
|
|
48336
48336
|
},
|
|
48337
48337
|
h: function(e) {
|
|
48338
48338
|
return e.getHours() % 12 ? e.getHours() % 12 : 12;
|
|
48339
48339
|
},
|
|
48340
48340
|
i: function(e) {
|
|
48341
|
-
return
|
|
48341
|
+
return dr(e.getMinutes());
|
|
48342
48342
|
},
|
|
48343
48343
|
j: function(e) {
|
|
48344
48344
|
return e.getDate();
|
|
@@ -48347,7 +48347,7 @@ var md = function() {
|
|
|
48347
48347
|
return t.weekdays.longhand[e.getDay()];
|
|
48348
48348
|
},
|
|
48349
48349
|
m: function(e) {
|
|
48350
|
-
return
|
|
48350
|
+
return dr(e.getMonth() + 1);
|
|
48351
48351
|
},
|
|
48352
48352
|
n: function(e) {
|
|
48353
48353
|
return e.getMonth() + 1;
|
|
@@ -48475,7 +48475,7 @@ function nQ(e, t) {
|
|
|
48475
48475
|
config: rr(rr({}, la), Pt.defaultConfig),
|
|
48476
48476
|
l10n: Qo
|
|
48477
48477
|
};
|
|
48478
|
-
r.parseDate = Af({ config: r.config, l10n: r.l10n }), r._handlers = [], r.pluginElements = [], r.loadedPlugins = [], r._bind = m, r._setHoursFromDate = h, r._positionCalendar = re, r.changeMonth = P, r.changeYear = G, r.clear = M, r.close = B, r.onMouseOver = se, r._createElement = rt, r.createDay = S, r.destroy = H, r.isEnabled = K, r.jumpToDate = v, r.updateValue =
|
|
48478
|
+
r.parseDate = Af({ config: r.config, l10n: r.l10n }), r._handlers = [], r.pluginElements = [], r.loadedPlugins = [], r._bind = m, r._setHoursFromDate = h, r._positionCalendar = re, r.changeMonth = P, r.changeYear = G, r.clear = M, r.close = B, r.onMouseOver = se, r._createElement = rt, r.createDay = S, r.destroy = H, r.isEnabled = K, r.jumpToDate = v, r.updateValue = sr, r.open = Ae, r.redraw = ae, r.set = qe, r.setDate = le, r.toggle = Me;
|
|
48479
48479
|
function n() {
|
|
48480
48480
|
r.utils = {
|
|
48481
48481
|
getDaysInMonth: function(Q, J) {
|
|
@@ -48484,7 +48484,7 @@ function nQ(e, t) {
|
|
|
48484
48484
|
};
|
|
48485
48485
|
}
|
|
48486
48486
|
function i() {
|
|
48487
|
-
r.element = r.input = e, r.isOpen = !1, ze(), Z(), ke(), fe(), n(), r.isMobile || x(), b(), (r.selectedDates.length || r.config.noCalendar) && (r.config.enableTime && h(r.config.noCalendar ? r.latestSelectedDateObj : void 0),
|
|
48487
|
+
r.element = r.input = e, r.isOpen = !1, ze(), Z(), ke(), fe(), n(), r.isMobile || x(), b(), (r.selectedDates.length || r.config.noCalendar) && (r.config.enableTime && h(r.config.noCalendar ? r.latestSelectedDateObj : void 0), sr(!1)), l();
|
|
48488
48488
|
var Q = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
48489
48489
|
!r.isMobile && Q && re(), Le("onReady");
|
|
48490
48490
|
}
|
|
@@ -48511,7 +48511,7 @@ function nQ(e, t) {
|
|
|
48511
48511
|
}
|
|
48512
48512
|
Q !== void 0 && Q.type !== "blur" && Xa(Q);
|
|
48513
48513
|
var ne = r._input.value;
|
|
48514
|
-
f(),
|
|
48514
|
+
f(), sr(), r._input.value !== ne && r._debouncedChange();
|
|
48515
48515
|
}
|
|
48516
48516
|
function u(Q, J) {
|
|
48517
48517
|
return Q % 12 + 12 * Pr(J === r.l10n.amPM[1]);
|
|
@@ -48554,7 +48554,7 @@ function nQ(e, t) {
|
|
|
48554
48554
|
J && J instanceof Date && p(J.getHours(), J.getMinutes(), J.getSeconds());
|
|
48555
48555
|
}
|
|
48556
48556
|
function p(Q, J, te) {
|
|
48557
|
-
r.latestSelectedDateObj !== void 0 && r.latestSelectedDateObj.setHours(Q % 24, J, te || 0, 0), !(!r.hourElement || !r.minuteElement || r.isMobile) && (r.hourElement.value =
|
|
48557
|
+
r.latestSelectedDateObj !== void 0 && r.latestSelectedDateObj.setHours(Q % 24, J, te || 0, 0), !(!r.hourElement || !r.minuteElement || r.isMobile) && (r.hourElement.value = dr(r.config.time_24hr ? Q : (12 + Q) % 12 + 12 * Pr(Q % 12 === 0)), r.minuteElement.value = dr(J), r.amPM !== void 0 && (r.amPM.textContent = r.l10n.amPM[Pr(Q >= 12)]), r.secondElement !== void 0 && (r.secondElement.value = dr(te)));
|
|
48558
48558
|
}
|
|
48559
48559
|
function g(Q) {
|
|
48560
48560
|
var J = wr(Q), te = parseInt(J.value) + (Q.delta || 0);
|
|
@@ -48748,10 +48748,10 @@ function nQ(e, t) {
|
|
|
48748
48748
|
var ne = Zs("flatpickr-minute", {
|
|
48749
48749
|
"aria-label": r.l10n.minuteAriaLabel
|
|
48750
48750
|
});
|
|
48751
|
-
if (r.minuteElement = ne.getElementsByTagName("input")[0], r.hourElement.tabIndex = r.minuteElement.tabIndex = -1, r.hourElement.value =
|
|
48751
|
+
if (r.minuteElement = ne.getElementsByTagName("input")[0], r.hourElement.tabIndex = r.minuteElement.tabIndex = -1, r.hourElement.value = dr(r.latestSelectedDateObj ? r.latestSelectedDateObj.getHours() : r.config.time_24hr ? Q.hours : d(Q.hours)), r.minuteElement.value = dr(r.latestSelectedDateObj ? r.latestSelectedDateObj.getMinutes() : Q.minutes), r.hourElement.setAttribute("step", r.config.hourIncrement.toString()), r.minuteElement.setAttribute("step", r.config.minuteIncrement.toString()), r.hourElement.setAttribute("min", r.config.time_24hr ? "0" : "1"), r.hourElement.setAttribute("max", r.config.time_24hr ? "23" : "12"), r.hourElement.setAttribute("maxlength", "2"), r.minuteElement.setAttribute("min", "0"), r.minuteElement.setAttribute("max", "59"), r.minuteElement.setAttribute("maxlength", "2"), r.timeContainer.appendChild(te), r.timeContainer.appendChild(J), r.timeContainer.appendChild(ne), r.config.time_24hr && r.timeContainer.classList.add("time24hr"), r.config.enableSeconds) {
|
|
48752
48752
|
r.timeContainer.classList.add("hasSeconds");
|
|
48753
48753
|
var xe = Zs("flatpickr-second");
|
|
48754
|
-
r.secondElement = xe.getElementsByTagName("input")[0], r.secondElement.value =
|
|
48754
|
+
r.secondElement = xe.getElementsByTagName("input")[0], r.secondElement.value = dr(r.latestSelectedDateObj ? r.latestSelectedDateObj.getSeconds() : Q.seconds), r.secondElement.setAttribute("step", r.minuteElement.getAttribute("step")), r.secondElement.setAttribute("min", "0"), r.secondElement.setAttribute("max", "59"), r.secondElement.setAttribute("maxlength", "2"), r.timeContainer.appendChild(rt("span", "flatpickr-time-separator", ":")), r.timeContainer.appendChild(xe);
|
|
48755
48755
|
}
|
|
48756
48756
|
return r.config.time_24hr || (r.amPM = rt("span", "flatpickr-am-pm", r.l10n.amPM[Pr((r.latestSelectedDateObj ? r.hourElement.value : r.config.defaultHour) > 11)]), r.amPM.title = r.l10n.toggleTitle, r.amPM.tabIndex = -1, r.timeContainer.appendChild(r.amPM)), r.timeContainer;
|
|
48757
48757
|
}
|
|
@@ -48958,11 +48958,11 @@ function nQ(e, t) {
|
|
|
48958
48958
|
switch (Q.key) {
|
|
48959
48959
|
case r.l10n.amPM[0].charAt(0):
|
|
48960
48960
|
case r.l10n.amPM[0].charAt(0).toLowerCase():
|
|
48961
|
-
r.amPM.textContent = r.l10n.amPM[0], f(),
|
|
48961
|
+
r.amPM.textContent = r.l10n.amPM[0], f(), sr();
|
|
48962
48962
|
break;
|
|
48963
48963
|
case r.l10n.amPM[1].charAt(0):
|
|
48964
48964
|
case r.l10n.amPM[1].charAt(0).toLowerCase():
|
|
48965
|
-
r.amPM.textContent = r.l10n.amPM[1], f(),
|
|
48965
|
+
r.amPM.textContent = r.l10n.amPM[1], f(), sr();
|
|
48966
48966
|
break;
|
|
48967
48967
|
}
|
|
48968
48968
|
(te || Y(J)) && Le("onKeyDown", Q);
|
|
@@ -49011,7 +49011,7 @@ function nQ(e, t) {
|
|
|
49011
49011
|
var te = r.config["_" + Q + "Date"] = r.parseDate(J, r.config.dateFormat), ne = r.config["_" + (Q === "min" ? "max" : "min") + "Date"];
|
|
49012
49012
|
te !== void 0 && (r[Q === "min" ? "minDateHasTime" : "maxDateHasTime"] = te.getHours() > 0 || te.getMinutes() > 0 || te.getSeconds() > 0), r.selectedDates && (r.selectedDates = r.selectedDates.filter(function(xe) {
|
|
49013
49013
|
return K(xe);
|
|
49014
|
-
}), !r.selectedDates.length && Q === "min" && h(te),
|
|
49014
|
+
}), !r.selectedDates.length && Q === "min" && h(te), sr()), r.daysContainer && (ae(), te !== void 0 ? r.currentYearElement[Q] = te.getFullYear().toString() : r.currentYearElement.removeAttribute(Q), r.currentYearElement.disabled = !!ne && te !== void 0 && ne.getFullYear() === te.getFullYear());
|
|
49015
49015
|
};
|
|
49016
49016
|
}
|
|
49017
49017
|
function ze() {
|
|
@@ -49175,7 +49175,7 @@ function nQ(e, t) {
|
|
|
49175
49175
|
var Fe = r.currentYear !== xe.getFullYear();
|
|
49176
49176
|
r.currentYear = xe.getFullYear(), r.currentMonth = xe.getMonth(), Fe && (Le("onYearChange"), D()), Le("onMonthChange");
|
|
49177
49177
|
}
|
|
49178
|
-
if (tn(), k(),
|
|
49178
|
+
if (tn(), k(), sr(), !Pe && r.config.mode !== "range" && r.config.showMonths === 1 ? T(ne) : r.selectedDateElem !== void 0 && r.hourElement === void 0 && r.selectedDateElem && r.selectedDateElem.focus(), r.hourElement !== void 0 && r.hourElement !== void 0 && r.hourElement.focus(), r.config.closeOnSelect) {
|
|
49179
49179
|
var Ke = r.config.mode === "single" && !r.config.enableTime, De = r.config.mode === "range" && r.selectedDates.length === 2 && !r.config.enableTime;
|
|
49180
49180
|
(Ke || De) && we();
|
|
49181
49181
|
}
|
|
@@ -49205,7 +49205,7 @@ function nQ(e, t) {
|
|
|
49205
49205
|
r.config[Q] = J, Te[Q] !== void 0 ? Te[Q].forEach(function(ne) {
|
|
49206
49206
|
return ne();
|
|
49207
49207
|
}) : hd.indexOf(Q) > -1 && (r.config[Q] = pd(J));
|
|
49208
|
-
r.redraw(),
|
|
49208
|
+
r.redraw(), sr(!0);
|
|
49209
49209
|
}
|
|
49210
49210
|
function Ge(Q, J) {
|
|
49211
49211
|
var te = [];
|
|
@@ -49243,7 +49243,7 @@ function nQ(e, t) {
|
|
|
49243
49243
|
function le(Q, J, te) {
|
|
49244
49244
|
if (J === void 0 && (J = !1), te === void 0 && (te = r.config.dateFormat), Q !== 0 && !Q || Q instanceof Array && Q.length === 0)
|
|
49245
49245
|
return r.clear(J);
|
|
49246
|
-
Ge(Q, te), r.latestSelectedDateObj = r.selectedDates[r.selectedDates.length - 1], r.redraw(), v(void 0, J), h(), r.selectedDates.length === 0 && r.clear(!1),
|
|
49246
|
+
Ge(Q, te), r.latestSelectedDateObj = r.selectedDates[r.selectedDates.length - 1], r.redraw(), v(void 0, J), h(), r.selectedDates.length === 0 && r.clear(!1), sr(J), J && Le("onChange");
|
|
49247
49247
|
}
|
|
49248
49248
|
function _e(Q) {
|
|
49249
49249
|
return Q.slice().map(function(J) {
|
|
@@ -49324,7 +49324,7 @@ function nQ(e, t) {
|
|
|
49324
49324
|
return r.config.mode !== "range" || r.config.enableTime || xe.indexOf(te) === ne;
|
|
49325
49325
|
}).join(r.config.mode !== "range" ? r.config.conjunction : r.l10n.rangeSeparator);
|
|
49326
49326
|
}
|
|
49327
|
-
function
|
|
49327
|
+
function sr(Q) {
|
|
49328
49328
|
Q === void 0 && (Q = !0), r.mobileInput !== void 0 && r.mobileFormatStr && (r.mobileInput.value = r.latestSelectedDateObj !== void 0 ? r.formatDate(r.latestSelectedDateObj, r.mobileFormatStr) : ""), r.input.value = $n(r.config.dateFormat), r.altInput !== void 0 && (r.altInput.value = $n(r.config.altFormat)), Q !== !1 && Le("onValueUpdate");
|
|
49329
49329
|
}
|
|
49330
49330
|
function Ja(Q) {
|
|
@@ -49338,7 +49338,7 @@ function nQ(e, t) {
|
|
|
49338
49338
|
var xe = parseFloat(ne.getAttribute("min")), Pe = parseFloat(ne.getAttribute("max")), Ye = parseFloat(ne.getAttribute("step")), Fe = parseInt(ne.value, 10), Ke = Q.delta || (J ? Q.which === 38 ? 1 : -1 : 0), De = Fe + Ye * Ke;
|
|
49339
49339
|
if (typeof ne.value != "undefined" && ne.value.length === 2) {
|
|
49340
49340
|
var He = ne === r.hourElement, dt = ne === r.minuteElement;
|
|
49341
|
-
De < xe ? (De = Pe + De + Pr(!He) + (Pr(He) && Pr(!r.amPM)), dt && _(void 0, -1, r.hourElement)) : De > Pe && (De = ne === r.hourElement ? De - Pe - Pr(!r.amPM) : xe, dt && _(void 0, 1, r.hourElement)), r.amPM && He && (Ye === 1 ? De + Fe === 23 : Math.abs(De - Fe) > Ye) && (r.amPM.textContent = r.l10n.amPM[Pr(r.amPM.textContent === r.l10n.amPM[0])]), ne.value =
|
|
49341
|
+
De < xe ? (De = Pe + De + Pr(!He) + (Pr(He) && Pr(!r.amPM)), dt && _(void 0, -1, r.hourElement)) : De > Pe && (De = ne === r.hourElement ? De - Pe - Pr(!r.amPM) : xe, dt && _(void 0, 1, r.hourElement)), r.amPM && He && (Ye === 1 ? De + Fe === 23 : Math.abs(De - Fe) > Ye) && (r.amPM.textContent = r.l10n.amPM[Pr(r.amPM.textContent === r.l10n.amPM[0])]), ne.value = dr(De);
|
|
49342
49342
|
}
|
|
49343
49343
|
}
|
|
49344
49344
|
return i(), r;
|
|
@@ -51818,7 +51818,7 @@ function yX(e) {
|
|
|
51818
51818
|
}, [p, h, f]), m = Ht(function(y) {
|
|
51819
51819
|
y && (y.removeEventListener("wheel", f, !1), y.removeEventListener("touchstart", h, !1), y.removeEventListener("touchmove", p, !1));
|
|
51820
51820
|
}, [p, h, f]);
|
|
51821
|
-
return
|
|
51821
|
+
return or(function() {
|
|
51822
51822
|
if (t) {
|
|
51823
51823
|
var y = u.current;
|
|
51824
51824
|
return g(y), function() {
|
|
@@ -51878,7 +51878,7 @@ function bX(e) {
|
|
|
51878
51878
|
}), u && By() && (u.removeEventListener("touchmove", Fy, qi), c && (c.removeEventListener("touchstart", Ny, qi), c.removeEventListener("touchmove", $y, qi)));
|
|
51879
51879
|
}
|
|
51880
51880
|
}, [n]);
|
|
51881
|
-
return
|
|
51881
|
+
return or(function() {
|
|
51882
51882
|
if (t) {
|
|
51883
51883
|
var c = a.current;
|
|
51884
51884
|
return s(c), function() {
|
|
@@ -53709,7 +53709,7 @@ const cZ = (e) => {
|
|
|
53709
53709
|
const p = h.map((g) => ({ entity_id: g, entity_type: "GAME" }));
|
|
53710
53710
|
e.onChange(p);
|
|
53711
53711
|
}, d = () => s(!a);
|
|
53712
|
-
return
|
|
53712
|
+
return or(() => {
|
|
53713
53713
|
c();
|
|
53714
53714
|
}, []), /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
53715
53715
|
n.length > 0 ? /* @__PURE__ */ I.jsxs(
|
|
@@ -53779,7 +53779,7 @@ const cZ = (e) => {
|
|
|
53779
53779
|
const p = h.map((g) => ({ entity_id: g, entity_type: "TEMPLATE" }));
|
|
53780
53780
|
e.onChange(p);
|
|
53781
53781
|
}, d = () => s(!a);
|
|
53782
|
-
return
|
|
53782
|
+
return or(() => {
|
|
53783
53783
|
c();
|
|
53784
53784
|
}, []), /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
53785
53785
|
n.length > 0 ? /* @__PURE__ */ I.jsxs(
|
|
@@ -53869,7 +53869,7 @@ const cZ = (e) => {
|
|
|
53869
53869
|
}
|
|
53870
53870
|
n([]);
|
|
53871
53871
|
});
|
|
53872
|
-
return
|
|
53872
|
+
return or(() => (a(), () => n(null)), [t]), r;
|
|
53873
53873
|
}, Pu = ({ my: e }) => /* @__PURE__ */ I.jsx(
|
|
53874
53874
|
Re,
|
|
53875
53875
|
{
|
|
@@ -54233,7 +54233,7 @@ function ree(e) {
|
|
|
54233
54233
|
var t = e.defaultOptions, r = t === void 0 ? !1 : t, n = e.cacheOptions, i = n === void 0 ? !1 : n, a = e.loadOptions;
|
|
54234
54234
|
e.options;
|
|
54235
54235
|
var s = e.isLoading, l = s === void 0 ? !1 : s, c = e.onInputChange, u = e.filterOption, d = u === void 0 ? null : u, f = en(e, tee), h = f.inputValue, p = kt(void 0), g = kt(!1), m = pe(Array.isArray(r) ? r : void 0), y = jt(m, 2), b = y[0], v = y[1], w = pe(typeof h != "undefined" ? h : ""), _ = jt(w, 2), x = _[0], S = _[1], T = pe(r === !0), E = jt(T, 2), R = E[0], O = E[1], A = pe(void 0), k = jt(A, 2), D = k[0], N = k[1], F = pe([]), $ = jt(F, 2), j = $[0], W = $[1], V = pe(!1), U = jt(V, 2), P = U[0], M = U[1], B = pe({}), H = jt(B, 2), Y = H[0], q = H[1], G = pe(void 0), K = jt(G, 2), X = K[0], ee = K[1], ie = pe(void 0), se = jt(ie, 2), Ce = se[0], Ae = se[1];
|
|
54236
|
-
i !== Ce && (q({}), Ae(i)), r !== X && (v(Array.isArray(r) ? r : void 0), ee(r)),
|
|
54236
|
+
i !== Ce && (q({}), Ae(i)), r !== X && (v(Array.isArray(r) ? r : void 0), ee(r)), or(function() {
|
|
54237
54237
|
return g.current = !0, function() {
|
|
54238
54238
|
g.current = !1;
|
|
54239
54239
|
};
|
|
@@ -54245,7 +54245,7 @@ function ree(e) {
|
|
|
54245
54245
|
return re();
|
|
54246
54246
|
});
|
|
54247
54247
|
}, [a]);
|
|
54248
|
-
|
|
54248
|
+
or(function() {
|
|
54249
54249
|
r === !0 && Oe(x, function(Z) {
|
|
54250
54250
|
g.current && (v(Z || []), O(!!p.current));
|
|
54251
54251
|
});
|
|
@@ -54853,7 +54853,7 @@ const _ee = (e, t, r) => {
|
|
|
54853
54853
|
console.error(l), c.error.code !== 404 && c.error.status !== "code_unknown_contest" && r(), i(new NI());
|
|
54854
54854
|
}
|
|
54855
54855
|
});
|
|
54856
|
-
return
|
|
54856
|
+
return or(() => {
|
|
54857
54857
|
s();
|
|
54858
54858
|
}, []), n;
|
|
54859
54859
|
};
|
|
@@ -55288,7 +55288,7 @@ const Wte = (e, t) => t || e || "-------------", Df = (e, t) => Array.isArray(e)
|
|
|
55288
55288
|
}
|
|
55289
55289
|
d(!1);
|
|
55290
55290
|
});
|
|
55291
|
-
return
|
|
55291
|
+
return or(() => {
|
|
55292
55292
|
h();
|
|
55293
55293
|
}, [n]), { leaderboard: a, hasMoreParticipants: l, isLeaderboardLoading: u };
|
|
55294
55294
|
};
|
|
@@ -55481,7 +55481,7 @@ const Qte = (e) => {
|
|
|
55481
55481
|
minHeight: "36px"
|
|
55482
55482
|
}),
|
|
55483
55483
|
menu: (e) => he(ce({}, e), {
|
|
55484
|
-
|
|
55484
|
+
menuPosition: "fixed"
|
|
55485
55485
|
}),
|
|
55486
55486
|
input: (e) => he(ce({}, e), {
|
|
55487
55487
|
"input:focus": {
|
|
@@ -55811,7 +55811,7 @@ function yre(e) {
|
|
|
55811
55811
|
setCaretTimeout: null,
|
|
55812
55812
|
focusTimeout: null
|
|
55813
55813
|
});
|
|
55814
|
-
|
|
55814
|
+
or(function() {
|
|
55815
55815
|
return $(!0), function() {
|
|
55816
55816
|
clearTimeout(W.current.setCaretTimeout), clearTimeout(W.current.focusTimeout);
|
|
55817
55817
|
};
|
|
@@ -55842,14 +55842,14 @@ function yre(e) {
|
|
|
55842
55842
|
}
|
|
55843
55843
|
Z !== E && D(U(Z, ae), { event: me, source: oe });
|
|
55844
55844
|
};
|
|
55845
|
-
|
|
55845
|
+
or(function() {
|
|
55846
55846
|
var de = k.current, Z = de.formattedValue, re = de.numAsString;
|
|
55847
55847
|
(E !== Z || R !== re) && D(U(E, R), {
|
|
55848
55848
|
event: void 0,
|
|
55849
55849
|
source: Jo.props
|
|
55850
55850
|
});
|
|
55851
55851
|
}, [E, R]);
|
|
55852
|
-
var Y = j.current ? Od(j.current) : void 0, q = typeof window != "undefined" ? Ff :
|
|
55852
|
+
var Y = j.current ? Od(j.current) : void 0, q = typeof window != "undefined" ? Ff : or;
|
|
55853
55853
|
q(function() {
|
|
55854
55854
|
var de = j.current;
|
|
55855
55855
|
if (E !== k.current.formattedValue && de) {
|
|
@@ -56217,8 +56217,12 @@ const Ere = z.forwardRef(function(t, r) {
|
|
|
56217
56217
|
const [t, r] = pe([]), [n, i] = pe(!1), { sdk: a } = Xt(), s = () => i(!n), l = (d) => {
|
|
56218
56218
|
const f = d;
|
|
56219
56219
|
r(f), e.onChangeTags(f);
|
|
56220
|
-
}
|
|
56221
|
-
|
|
56220
|
+
};
|
|
56221
|
+
or(() => {
|
|
56222
|
+
Ore(e.tags, a, r, s);
|
|
56223
|
+
}, []);
|
|
56224
|
+
const u = Ka((d, f) => {
|
|
56225
|
+
if (d) {
|
|
56222
56226
|
const h = {
|
|
56223
56227
|
query: d
|
|
56224
56228
|
};
|