fansunited-frontend-components 0.0.61 → 0.0.63
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/Betslip.d.ts +1 -1
- package/Betslip.d.ts.map +1 -1
- package/Betslip.js +1 -1
- package/ChanceGame.js +28 -27
- package/ChanceGameComponent.d.ts +1 -1
- package/ChanceGameComponent.d.ts.map +1 -1
- package/ClassicQuizPlay.d.ts +1 -1
- package/ClassicQuizPlay.d.ts.map +1 -1
- package/ClassicQuizPlay.js +23 -22
- package/CollectLead.d.ts +1 -1
- package/CollectLead.d.ts.map +1 -1
- package/CollectLead.js +6 -6
- package/Discussion.d.ts +1 -1
- package/Discussion.d.ts.map +1 -1
- package/Discussion.js +1 -1
- package/EitherOrPlay.d.ts +1 -1
- package/EitherOrPlay.d.ts.map +1 -1
- package/EitherOrPlay.js +27 -25
- package/EventCard.d.ts +5 -0
- package/EventCard.d.ts.map +1 -0
- package/EventGamePlay.d.ts +1 -1
- package/EventGamePlay.d.ts.map +1 -1
- package/EventGamePlay.js +35 -33
- package/Leaderboard.d.ts +1 -1
- package/Leaderboard.d.ts.map +1 -1
- package/Leaderboard.js +335 -331
- package/MatchQuizPlay.d.ts +1 -1
- package/MatchQuizPlay.d.ts.map +1 -1
- package/MatchQuizPlay.js +30 -28
- package/PersonalityQuizPlay.d.ts +1 -1
- package/PersonalityQuizPlay.d.ts.map +1 -1
- package/PersonalityQuizPlay.js +22 -21
- package/PickThePair.js +11 -10
- package/PickThePairComponent.d.ts +1 -1
- package/PickThePairComponent.d.ts.map +1 -1
- package/PollVote.d.ts +1 -1
- package/PollVote.d.ts.map +1 -1
- package/PollVote.js +20 -19
- package/Predictor.d.ts +1 -1
- package/Predictor.d.ts.map +1 -1
- package/Predictor.js +26 -24
- package/README.md +243 -5
- package/Standings.d.ts +5 -0
- package/Standings.d.ts.map +1 -0
- package/Standings.js +1626 -0
- package/TopX.js +29 -25
- package/chunks/{AlertMessage-BL6P8IGY.js → AlertMessage-AyMEW3JL.js} +17 -17
- package/chunks/{ArrowRightAlt-Cv7HlloG.js → ArrowRightAlt-DVXOeIJN.js} +10 -10
- package/chunks/{Avatar-DxI6WjFC.js → Avatar-CBP4sabd.js} +8 -8
- package/chunks/Button-DOVRR2Sy.js +748 -0
- package/chunks/{ChanceGameEmbedVariant-CX6xaIi6.js → ChanceGameEmbedVariant-kBcjiKzu.js} +23 -22
- package/chunks/CheckCircle-ByRrHC2p.js +12 -0
- package/chunks/Chip-DeEjQ2-F.js +363 -0
- package/chunks/{Close-uNT6hIb-.js → Close-CS-wfAnO.js} +1 -1
- package/chunks/{Close-BY4UrWwN.js → Close-CdWk2nDh.js} +1 -1
- package/chunks/{CollectLeadForm-BGqpL_RS.js → CollectLeadForm-DevgGzsO.js} +1492 -1842
- package/chunks/{Divider-BuQemoza.js → Divider-D6QU-XQ5.js} +6 -6
- package/chunks/{Edit-Cx3MCmg0.js → Edit-B2N_Ry9g.js} +41 -40
- package/chunks/{EmojiEvents-CTkNXSCR.js → EmojiEvents-E7Oqv7rk.js} +1 -1
- package/chunks/{FavoriteBorder-ByGJB3_t.js → FavoriteBorder-CguT2h2c.js} +1 -1
- package/chunks/{FormControl-BbMcWOns.js → FormControl-D32DP14w.js} +21 -20
- package/chunks/{FormLabel-BtT3kbwT.js → FormLabel-BYtvETHS.js} +8 -8
- package/chunks/{Input-AE_MIs2X.js → Input-D81KBU9B.js} +9 -9
- package/chunks/{KeyboardArrowDown-uQ27mdjR.js → KeyboardArrowDown-CvGmYfHu.js} +3 -3
- package/chunks/{ModalDialog-ComYpWek.js → ModalDialog-D63x8ebf.js} +57 -56
- package/chunks/{NotFoundSkeleton-CNLtkSd8.js → NotFoundSkeleton-B4r94g0a.js} +90 -88
- package/chunks/{Notification-DhQ49EEM.js → Notification-wXJmjBSg.js} +46 -45
- package/chunks/{OverlayApiErrorSkeleton-C2rA6QrQ.js → OverlayApiErrorSkeleton-DwV9wIov.js} +29 -28
- package/chunks/{OverlayLeadAfterCollection-DTYcL4qZ.js → OverlayLeadAfterCollection-CI5NIwUv.js} +10 -10
- package/chunks/{OverlayScoreStateSkeleton-B6gnpmAb.js → OverlayScoreStateSkeleton-wpxvfC5x.js} +10 -10
- package/chunks/Person-DvjCrwnY.js +8 -0
- package/chunks/{PickOneOfX-0lu9_gyg.js → PickOneOfX-DunXqSn1.js} +211 -210
- package/chunks/{Popper-B8ETzmL_.js → Popper-0XuEHl9i.js} +45 -44
- package/chunks/{Portal-QyPKLDoD.js → Portal-4mtEzZlO.js} +6 -6
- package/chunks/{PrizeCard-C4uB4BtX.js → PrizeCard-CjZXXFx3.js} +4083 -3116
- package/chunks/Select-B_VR6iKu.js +1162 -0
- package/chunks/{Spinner-DN1WtGKZ.js → Spinner-htM_pA9-.js} +2 -2
- package/chunks/{SplitLeadAfterCollection-DciMzUEh.js → SplitLeadAfterCollection-CowadlL1.js} +6 -6
- package/chunks/{Stack-CKYSoY8y.js → Stack-BrwF24Ji.js} +19 -19
- package/chunks/{StandardContentSkeleton-praFw8d5.js → StandardContentSkeleton-Bk0sSsby.js} +1 -1
- package/chunks/{Person-FOtZp8_j.js → Table-OBls_6ml.js} +42 -46
- package/chunks/{Tabs-B0X4JiHF.js → Tabs-DW1eIofJ.js} +23 -23
- package/chunks/{Textarea-DkNFdAAC.js → Textarea-DDJ2mdR3.js} +10 -9
- package/chunks/{TimerOutlined-Dhtg7ugR.js → TimerOutlined-BmAAC-Vi.js} +3 -3
- package/chunks/Typography-DjxaMiey.js +1529 -0
- package/chunks/areArraysEqual-B3mXtHvh.js +6 -0
- package/chunks/{CheckCircle-BdPDdjme.js → createSvgIcon-C-cmTwJ_.js} +44 -51
- package/chunks/{helpers-B7ClL9wI.js → helpers-B7-TtMzO.js} +1 -1
- package/chunks/index-8rxXfewU.js +4 -0
- package/chunks/index-BBrO1Htm.js +845 -0
- package/chunks/{index-BRXNdOZ9.js → index-BqoOC2KB.js} +1 -1
- package/chunks/{main-Co41z5OJ.js → main-Bgyyz19Z.js} +20 -20
- package/chunks/{main-DDbrdN8d.js → main-C8ApxGVj.js} +96 -94
- package/chunks/useControlled-BYdyS7Pn.js +31 -0
- package/chunks/useEventCallback-BpsnMnDw.js +19 -0
- package/chunks/{useForwardedInput-xtVMFYxn.js → useForwardedInput-D2NH4BlT.js} +9 -9
- package/chunks/{useImageVariant-y8lhk_d6.js → useImageVariant-qiW-rMPJ.js} +1 -1
- package/chunks/variantColorInheritance-Bgtz8MKI.js +1175 -0
- package/chunks/{areArraysEqual-DkSw-_2f.js → visuallyHidden-B8J7BVSJ.js} +2 -6
- package/components.d.ts +3 -2
- package/components.d.ts.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +1539 -37
- package/package.json +10 -2
- package/chunks/Button-B_IYd2Jd.js +0 -2271
- package/chunks/Select-U-Jes3gR.js +0 -2327
- package/chunks/index-5MPtbA_r.js +0 -706
- package/chunks/index-D6dx63al.js +0 -4
- package/chunks/useEventCallback-VI3dKPOa.js +0 -47
package/Betslip.d.ts
CHANGED
package/Betslip.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Betslip.d.ts","sourceRoot":"","sources":["../../src/Betslip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Betslip.d.ts","sourceRoot":"","sources":["../../src/Betslip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAoB,CAAC"}
|
package/Betslip.js
CHANGED
package/ChanceGame.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { jsx as t, jsxs as w, Fragment as re } from "react/jsx-runtime";
|
|
2
|
-
import { h as Ce, g as Je, l as Ke } from "./chunks/helpers-
|
|
2
|
+
import { h as Ce, g as Je, l as Ke } from "./chunks/helpers-B7-TtMzO.js";
|
|
3
3
|
import Z, { useState as qe, useEffect as Qe } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import { S as at } from "./chunks/Spinner-
|
|
4
|
+
import { l as K, o as Ze, c as ve, a as ie, k as Se, B as m, u as se, I as ue, b as we, e as xe, H as Te, W as fe, j as $e, t as et, i as tt, D as ne, f as ot, C as nt, g as rt, E as lt, h as it } from "./chunks/PrizeCard-CjZXXFx3.js";
|
|
5
|
+
import { S as at } from "./chunks/Spinner-htM_pA9-.js";
|
|
6
6
|
import { createPortal as st } from "react-dom";
|
|
7
7
|
import { u as ct } from "./chunks/useInfoPage-BHdgKdme.js";
|
|
8
|
-
import { N as dt, S as Ae, O as Ie } from "./chunks/NotFoundSkeleton-
|
|
9
|
-
import { u as mt, S as le, c as Ee, D as Ge, C as ut, W as ht, d as xt, e as ft, f as pt, O as gt, F as bt, b as ye, a as yt, P as vt } from "./chunks/PickOneOfX-
|
|
10
|
-
import { b as pe, d as He, a as Ne } from "./chunks/useImageVariant-
|
|
11
|
-
import { T as D
|
|
8
|
+
import { N as dt, S as Ae, O as Ie } from "./chunks/NotFoundSkeleton-B4r94g0a.js";
|
|
9
|
+
import { u as mt, S as le, c as Ee, D as Ge, C as ut, W as ht, d as xt, e as ft, f as pt, O as gt, F as bt, b as ye, a as yt, P as vt } from "./chunks/PickOneOfX-DunXqSn1.js";
|
|
10
|
+
import { b as pe, d as He, a as Ne } from "./chunks/useImageVariant-qiW-rMPJ.js";
|
|
11
|
+
import { T as D } from "./chunks/Typography-DjxaMiey.js";
|
|
12
|
+
import { B as he } from "./chunks/Button-DOVRR2Sy.js";
|
|
12
13
|
const ke = ({
|
|
13
14
|
children: e,
|
|
14
15
|
brandingBorderColor: s,
|
|
@@ -67,9 +68,9 @@ const ke = ({
|
|
|
67
68
|
showInlineResult: k,
|
|
68
69
|
hasEntered: $,
|
|
69
70
|
confettiActive: z,
|
|
70
|
-
spinDuration:
|
|
71
|
-
shakeAnimationDuration:
|
|
72
|
-
confettiVelocityMultiplier:
|
|
71
|
+
spinDuration: j,
|
|
72
|
+
shakeAnimationDuration: P,
|
|
73
|
+
confettiVelocityMultiplier: U,
|
|
73
74
|
confettiGravity: A,
|
|
74
75
|
handleSpin: I,
|
|
75
76
|
handleReset: v,
|
|
@@ -88,7 +89,7 @@ const ke = ({
|
|
|
88
89
|
{
|
|
89
90
|
active: z,
|
|
90
91
|
primaryColor: r,
|
|
91
|
-
velocityMultiplier:
|
|
92
|
+
velocityMultiplier: U,
|
|
92
93
|
gravity: A,
|
|
93
94
|
onComplete: ee
|
|
94
95
|
}
|
|
@@ -257,7 +258,7 @@ const ke = ({
|
|
|
257
258
|
transform: $ ? "scale(1)" : "scale(0.85)",
|
|
258
259
|
transition: "opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
259
260
|
// Shake animation
|
|
260
|
-
animation: X ? `wheelShake ${
|
|
261
|
+
animation: X ? `wheelShake ${P / 2}ms ease-in-out 2` : "none",
|
|
261
262
|
"@keyframes wheelShake": {
|
|
262
263
|
"0%, 100%": { transform: "translateX(0)" },
|
|
263
264
|
"10%, 30%, 50%, 70%, 90%": { transform: "translateX(-8px)" },
|
|
@@ -288,7 +289,7 @@ const ke = ({
|
|
|
288
289
|
isStandard: y,
|
|
289
290
|
rotation: N,
|
|
290
291
|
isSpinning: T,
|
|
291
|
-
spinDuration:
|
|
292
|
+
spinDuration: j
|
|
292
293
|
}
|
|
293
294
|
),
|
|
294
295
|
!y && !h && n && /* @__PURE__ */ t(
|
|
@@ -701,7 +702,7 @@ const ke = ({
|
|
|
701
702
|
compactCards: g = !1
|
|
702
703
|
}) => {
|
|
703
704
|
var Fe, We, _e, Oe;
|
|
704
|
-
const i = K(), u = ie(), _ = ve(), y = we(), h = xe(), C = Se(), E = n || c, M = l || r, f = S === "standard", L = S === "overlay", H = f ? Ce(c) : "", W = H ? H.replace(/[^\d,]/g, "") : "", B = g ? i ? 80 : 110 : i ? 100 : 140, T = g ? i ? 104 : 143 : i ? 130 : 180, N = g ? i ? 90 : 130 : i ? 120 : 180, b = g ? i ? "16px" : "32px" : i ? "24px" : "48px", X = g ? i ? "12px" : "32px" : i ? "16px" : "48px", R = Ee(r, O), k = JSON.parse(e.body), $ = k.segments || [], z = e.labels || {},
|
|
705
|
+
const i = K(), u = ie(), _ = ve(), y = we(), h = xe(), C = Se(), E = n || c, M = l || r, f = S === "standard", L = S === "overlay", H = f ? Ce(c) : "", W = H ? H.replace(/[^\d,]/g, "") : "", B = g ? i ? 80 : 110 : i ? 100 : 140, T = g ? i ? 104 : 143 : i ? 130 : 180, N = g ? i ? 90 : 130 : i ? 120 : 180, b = g ? i ? "16px" : "32px" : i ? "24px" : "48px", X = g ? i ? "12px" : "32px" : i ? "16px" : "48px", R = Ee(r, O), k = JSON.parse(e.body), $ = k.segments || [], z = e.labels || {}, j = k.mode || ((Fe = k.config) == null ? void 0 : Fe.mode) || "fair", P = ((We = k.config) == null ? void 0 : We.pace) || "normal", U = ((_e = k.config) == null ? void 0 : _e.revealAll) ?? !1, A = ((Oe = k.config) == null ? void 0 : Oe.decorations) ?? !1, I = $.some((ae) => {
|
|
705
706
|
var J;
|
|
706
707
|
return (J = ae.images) == null ? void 0 : J.idle;
|
|
707
708
|
}), {
|
|
@@ -716,11 +717,11 @@ const ke = ({
|
|
|
716
717
|
crossfadedCards: oe,
|
|
717
718
|
revealedOtherCards: ce,
|
|
718
719
|
flipDuration: Xe,
|
|
719
|
-
crossfadeDuration:
|
|
720
|
-
loseAnimationDuration:
|
|
720
|
+
crossfadeDuration: je,
|
|
721
|
+
loseAnimationDuration: Pe,
|
|
721
722
|
handlePick: Re,
|
|
722
723
|
handleReset: ge
|
|
723
|
-
} = pt({ segments: $, mode:
|
|
724
|
+
} = pt({ segments: $, mode: j, pace: P, revealAll: U }), ze = () => /* @__PURE__ */ w(re, { children: [
|
|
724
725
|
A && /* @__PURE__ */ t(
|
|
725
726
|
Ge,
|
|
726
727
|
{
|
|
@@ -929,7 +930,7 @@ const ke = ({
|
|
|
929
930
|
perspective: "1200px"
|
|
930
931
|
},
|
|
931
932
|
children: (ee ?? $).map((ae, J) => {
|
|
932
|
-
const be = `card-${J}`, de = v !== null, Be = Q.has(be), me = ce.has(be),
|
|
933
|
+
const be = `card-${J}`, de = v !== null, Be = Q.has(be), me = ce.has(be), Ue = de && !Be && !me, De = oe.has(be), Ye = de && !De && !me;
|
|
933
934
|
return /* @__PURE__ */ t(
|
|
934
935
|
m,
|
|
935
936
|
{
|
|
@@ -955,7 +956,7 @@ const ke = ({
|
|
|
955
956
|
isRevealed: de,
|
|
956
957
|
hasEntered: V,
|
|
957
958
|
objectSize: N,
|
|
958
|
-
crossfadeDuration:
|
|
959
|
+
crossfadeDuration: je,
|
|
959
960
|
isStandard: f,
|
|
960
961
|
primaryColor: r,
|
|
961
962
|
dangerColor: d,
|
|
@@ -969,14 +970,14 @@ const ke = ({
|
|
|
969
970
|
selectedSegment: v,
|
|
970
971
|
isFlipped: Be,
|
|
971
972
|
isOtherRevealed: me,
|
|
972
|
-
shouldDim:
|
|
973
|
+
shouldDim: Ue,
|
|
973
974
|
isRevealed: de,
|
|
974
975
|
showLoseAnimation: q,
|
|
975
976
|
hasEntered: V,
|
|
976
977
|
cardWidth: B,
|
|
977
978
|
cardHeight: T,
|
|
978
979
|
flipDuration: Xe,
|
|
979
|
-
loseAnimationDuration:
|
|
980
|
+
loseAnimationDuration: Pe,
|
|
980
981
|
cardBaseColor: E,
|
|
981
982
|
shimmerColor: M,
|
|
982
983
|
primaryColor: r,
|
|
@@ -1306,14 +1307,14 @@ const ke = ({
|
|
|
1306
1307
|
enableReset: s = !1,
|
|
1307
1308
|
defaultImagePlaceholderUrl: a
|
|
1308
1309
|
}) => {
|
|
1309
|
-
var f, L, H, W, B, T, N, b, X, R, k, $, z, P, U,
|
|
1310
|
+
var f, L, H, W, B, T, N, b, X, R, k, $, z, j, P, U, A, I, v;
|
|
1310
1311
|
const { t: r } = se(), x = K(), o = $e(), c = xe(), d = ((f = e.branding) == null ? void 0 : f.colors) || null, n = (L = e.branding) == null ? void 0 : L.images, l = x ? (n == null ? void 0 : n.mobile_background_image) || (n == null ? void 0 : n.background_image) || "" : (n == null ? void 0 : n.background_image) || "", F = x ? (n == null ? void 0 : n.mobile_logo) || (n == null ? void 0 : n.main_logo) || "" : (n == null ? void 0 : n.main_logo) || "", O = a || (x ? He : Ne), p = l || pe(
|
|
1311
1312
|
{
|
|
1312
1313
|
images: e.images,
|
|
1313
1314
|
imagePlaceholder: O
|
|
1314
1315
|
},
|
|
1315
1316
|
fe.OVERLAY
|
|
1316
|
-
), S = o.colorSchemes.dark.textColor, g = (d == null ? void 0 : d.content_color) || S, i = (d == null ? void 0 : d.primary_color) || ((T = (B = (W = (H = o.colorSchemes) == null ? void 0 : H.light) == null ? void 0 : W.palette) == null ? void 0 : B.primary) == null ? void 0 : T.plainColor), u = (R = (X = (b = (N = o.colorSchemes) == null ? void 0 : N.light) == null ? void 0 : b.palette) == null ? void 0 : X.primary) == null ? void 0 : R.onPrimary, _ = (d == null ? void 0 : d.background_color) || (($ = (k = o.colorSchemes) == null ? void 0 : k.dark) == null ? void 0 : $.surfaceVariant), y = (
|
|
1317
|
+
), S = o.colorSchemes.dark.textColor, g = (d == null ? void 0 : d.content_color) || S, i = (d == null ? void 0 : d.primary_color) || ((T = (B = (W = (H = o.colorSchemes) == null ? void 0 : H.light) == null ? void 0 : W.palette) == null ? void 0 : B.primary) == null ? void 0 : T.plainColor), u = (R = (X = (b = (N = o.colorSchemes) == null ? void 0 : N.light) == null ? void 0 : b.palette) == null ? void 0 : X.primary) == null ? void 0 : R.onPrimary, _ = (d == null ? void 0 : d.background_color) || (($ = (k = o.colorSchemes) == null ? void 0 : k.dark) == null ? void 0 : $.surfaceVariant), y = (U = (P = (j = (z = o.colorSchemes) == null ? void 0 : z.light) == null ? void 0 : j.palette) == null ? void 0 : P.danger) == null ? void 0 : U.plainColor, h = o.customFontFamily.dark.primary, C = o.customRadius.dark.md, E = (I = (A = o.customRadius) == null ? void 0 : A.light) == null ? void 0 : I.xl, M = Le({
|
|
1317
1318
|
spacingScale: c,
|
|
1318
1319
|
mdBorderRadius: C,
|
|
1319
1320
|
contentBgColor: _,
|
|
@@ -1469,14 +1470,14 @@ const ke = ({
|
|
|
1469
1470
|
enableReset: s = !1,
|
|
1470
1471
|
defaultImagePlaceholderUrl: a
|
|
1471
1472
|
}) => {
|
|
1472
|
-
var L, H, W, B, T, N, b, X, R, k, $, z, P, U,
|
|
1473
|
+
var L, H, W, B, T, N, b, X, R, k, $, z, j, P, U, A, I, v, ee, te, Y, G, q, V, Q, oe, ce;
|
|
1473
1474
|
const { t: r } = se(), x = K(), o = $e(), c = xe(), d = ((L = e.branding) == null ? void 0 : L.colors) || null, n = (H = e.branding) == null ? void 0 : H.images, l = x ? (n == null ? void 0 : n.mobile_background_image) || (n == null ? void 0 : n.background_image) || "" : (n == null ? void 0 : n.background_image) || "", F = x ? (n == null ? void 0 : n.mobile_logo) || (n == null ? void 0 : n.main_logo) || "" : (n == null ? void 0 : n.main_logo) || "", O = a || (x ? He : Ne), p = l || pe(
|
|
1474
1475
|
{
|
|
1475
1476
|
images: e.images,
|
|
1476
1477
|
imagePlaceholder: O
|
|
1477
1478
|
},
|
|
1478
1479
|
fe.OVERLAY
|
|
1479
|
-
), S = o.colorSchemes.dark.textColor, g = (d == null ? void 0 : d.content_color) || S, i = (d == null ? void 0 : d.primary_color) || ((N = (T = (B = (W = o.colorSchemes) == null ? void 0 : W.light) == null ? void 0 : B.palette) == null ? void 0 : T.primary) == null ? void 0 : N.plainColor), u = (d == null ? void 0 : d.secondary_color) || ((k = (R = (X = (b = o.colorSchemes) == null ? void 0 : b.light) == null ? void 0 : X.palette) == null ? void 0 : R.danger) == null ? void 0 : k.plainColor), _ = (
|
|
1480
|
+
), S = o.colorSchemes.dark.textColor, g = (d == null ? void 0 : d.content_color) || S, i = (d == null ? void 0 : d.primary_color) || ((N = (T = (B = (W = o.colorSchemes) == null ? void 0 : W.light) == null ? void 0 : B.palette) == null ? void 0 : T.primary) == null ? void 0 : N.plainColor), u = (d == null ? void 0 : d.secondary_color) || ((k = (R = (X = (b = o.colorSchemes) == null ? void 0 : b.light) == null ? void 0 : X.palette) == null ? void 0 : R.danger) == null ? void 0 : k.plainColor), _ = (P = (j = (z = ($ = o.colorSchemes) == null ? void 0 : $.light) == null ? void 0 : z.palette) == null ? void 0 : j.primary) == null ? void 0 : P.onPrimary, y = (d == null ? void 0 : d.background_color) || ((A = (U = o.colorSchemes) == null ? void 0 : U.dark) == null ? void 0 : A.surfaceVariant), h = (te = (ee = (v = (I = o.colorSchemes) == null ? void 0 : I.light) == null ? void 0 : v.palette) == null ? void 0 : ee.danger) == null ? void 0 : te.plainColor, C = o.customFontFamily.dark.primary, E = o.customRadius.dark.md, M = (G = (Y = o.customRadius) == null ? void 0 : Y.light) == null ? void 0 : G.xl, f = Le({
|
|
1480
1481
|
spacingScale: c,
|
|
1481
1482
|
mdBorderRadius: E,
|
|
1482
1483
|
contentBgColor: y,
|
|
@@ -1628,7 +1629,7 @@ const ke = ({
|
|
|
1628
1629
|
F,
|
|
1629
1630
|
O
|
|
1630
1631
|
] });
|
|
1631
|
-
}, Ot = (e) => /* @__PURE__ */ t(_t, { ...e, children: /* @__PURE__ */ t(Wt, { ...e }) }),
|
|
1632
|
+
}, Ot = (e) => /* @__PURE__ */ t(_t, { ...e, children: /* @__PURE__ */ t(Wt, { ...e }) }), Mt = Ot;
|
|
1632
1633
|
export {
|
|
1633
|
-
|
|
1634
|
+
Mt as ChanceGame
|
|
1634
1635
|
};
|
package/ChanceGameComponent.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChanceGameComponent.d.ts","sourceRoot":"","sources":["../../src/ChanceGameComponent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChanceGameComponent.d.ts","sourceRoot":"","sources":["../../src/ChanceGameComponent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAuB,CAAC"}
|
package/ClassicQuizPlay.d.ts
CHANGED
package/ClassicQuizPlay.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClassicQuizPlay.d.ts","sourceRoot":"","sources":["../../src/ClassicQuizPlay.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ClassicQuizPlay.d.ts","sourceRoot":"","sources":["../../src/ClassicQuizPlay.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAA4B,CAAC"}
|
package/ClassicQuizPlay.js
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { jsx as t, jsxs as g, Fragment as r2 } from "react/jsx-runtime";
|
|
2
2
|
import k2, { useState as $, useEffect as I2, useCallback as u0, useMemo as H2 } from "react";
|
|
3
|
-
import { u as O, B as l,
|
|
4
|
-
import { P as h0 } from "./chunks/Portal-
|
|
3
|
+
import { u as O, B as l, j as m2, a as z, c as X, b as c2, k as p2, e as S2, l as K, m as _2, n as q2, o as E2, W as U, p as m0, q as C0, r as g0, s as l0, i as f0 } from "./chunks/PrizeCard-CjZXXFx3.js";
|
|
4
|
+
import { P as h0 } from "./chunks/Portal-4mtEzZlO.js";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import { g as x0, e as Q2, h as T2, s as y0, i as S0, a as o0, b as b0 } from "./chunks/helpers-
|
|
7
|
-
import { S as L0 } from "./chunks/Spinner-
|
|
8
|
-
import { S as I0, a as w0, b as r0, C as X2, c as e0 } from "./chunks/ChanceGameEmbedVariant-
|
|
9
|
-
import {
|
|
10
|
-
import { A as A2, O as A0 } from "./chunks/ArrowRightAlt-
|
|
11
|
-
import { A as w2, O as F0, S as B0, N as P0 } from "./chunks/NotFoundSkeleton-
|
|
12
|
-
import { u as M2, d as b2, a as L2, b as f2 } from "./chunks/useImageVariant-
|
|
6
|
+
import { g as x0, e as Q2, h as T2, s as y0, i as S0, a as o0, b as b0 } from "./chunks/helpers-B7-TtMzO.js";
|
|
7
|
+
import { S as L0 } from "./chunks/Spinner-htM_pA9-.js";
|
|
8
|
+
import { S as I0, a as w0, b as r0, C as X2, c as e0 } from "./chunks/ChanceGameEmbedVariant-kBcjiKzu.js";
|
|
9
|
+
import { H as z0, A as Z2 } from "./chunks/index-BBrO1Htm.js";
|
|
10
|
+
import { A as A2, O as A0 } from "./chunks/ArrowRightAlt-DVXOeIJN.js";
|
|
11
|
+
import { A as w2, O as F0, S as B0, N as P0 } from "./chunks/NotFoundSkeleton-B4r94g0a.js";
|
|
12
|
+
import { u as M2, d as b2, a as L2, b as f2 } from "./chunks/useImageVariant-qiW-rMPJ.js";
|
|
13
13
|
import { u as W2 } from "./chunks/useEmbedCode-DCWnWGak.js";
|
|
14
|
-
import {
|
|
15
|
-
import { T as T0 } from "./chunks/TimerOutlined-
|
|
16
|
-
import { C as Q0 } from "./chunks/CollectLeadForm-
|
|
17
|
-
import {
|
|
18
|
-
import { S as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { S as
|
|
24
|
-
import { S as
|
|
14
|
+
import { T as x } from "./chunks/Typography-DjxaMiey.js";
|
|
15
|
+
import { T as T0 } from "./chunks/TimerOutlined-BmAAC-Vi.js";
|
|
16
|
+
import { C as Q0 } from "./chunks/CollectLeadForm-DevgGzsO.js";
|
|
17
|
+
import { B as E } from "./chunks/Button-DOVRR2Sy.js";
|
|
18
|
+
import { R as U2, A as V2, O as c0, S as s0 } from "./chunks/OverlayApiErrorSkeleton-DwV9wIov.js";
|
|
19
|
+
import { S as t0 } from "./chunks/StandardContentSkeleton-Bk0sSsby.js";
|
|
20
|
+
import { T as k0, a as M0, b as n0, t as i0, c as a0 } from "./chunks/Tabs-DW1eIofJ.js";
|
|
21
|
+
import { C as v0 } from "./chunks/CheckCircle-ByRrHC2p.js";
|
|
22
|
+
import { A as D0, I as R0, W as H0 } from "./chunks/AlertMessage-AyMEW3JL.js";
|
|
23
|
+
import { S as Z0 } from "./chunks/Stack-BrwF24Ji.js";
|
|
24
|
+
import { S as p0, O as _0, a as q0, b as E0 } from "./chunks/OverlayLeadAfterCollection-CI5NIwUv.js";
|
|
25
|
+
import { S as W0, a as U0 } from "./chunks/SplitLeadAfterCollection-CowadlL1.js";
|
|
25
26
|
const j2 = ({
|
|
26
27
|
shareCTA: e,
|
|
27
28
|
defaultShare: i,
|
|
@@ -4861,7 +4862,7 @@ const pe = (e) => {
|
|
|
4861
4862
|
);
|
|
4862
4863
|
}
|
|
4863
4864
|
return u2();
|
|
4864
|
-
}, _e = (e) => /* @__PURE__ */ t(h0, { packageName: "classic-quiz-play", ...e, children: /* @__PURE__ */ t(pe, { ...e }) }),
|
|
4865
|
+
}, _e = (e) => /* @__PURE__ */ t(h0, { packageName: "classic-quiz-play", ...e, children: /* @__PURE__ */ t(pe, { ...e }) }), u1 = _e;
|
|
4865
4866
|
export {
|
|
4866
|
-
|
|
4867
|
+
u1 as ClassicQuizPlay
|
|
4867
4868
|
};
|
package/CollectLead.d.ts
CHANGED
package/CollectLead.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollectLead.d.ts","sourceRoot":"","sources":["../../src/CollectLead.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CollectLead.d.ts","sourceRoot":"","sources":["../../src/CollectLead.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAAwB,CAAC"}
|
package/CollectLead.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as n, jsxs as g, Fragment as r } from "react/jsx-runtime";
|
|
2
2
|
import { createContext as ce } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { P as se } from "./chunks/Portal-
|
|
3
|
+
import { b as Y, l as Q, B as o, u as de, m as J, j as K, e as X, s as Z, W as w, c as U, a as h, k as me } from "./chunks/PrizeCard-CjZXXFx3.js";
|
|
4
|
+
import { P as se } from "./chunks/Portal-4mtEzZlO.js";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import { g as ge, a as xe, h as oe } from "./chunks/helpers-
|
|
7
|
-
import { d as le, a as ae, b as ee } from "./chunks/useImageVariant-
|
|
8
|
-
import { T as u } from "./chunks/
|
|
9
|
-
import { C as fe } from "./chunks/CollectLeadForm-
|
|
6
|
+
import { g as ge, a as xe, h as oe } from "./chunks/helpers-B7-TtMzO.js";
|
|
7
|
+
import { d as le, a as ae, b as ee } from "./chunks/useImageVariant-qiW-rMPJ.js";
|
|
8
|
+
import { T as u } from "./chunks/Typography-DjxaMiey.js";
|
|
9
|
+
import { C as fe } from "./chunks/CollectLeadForm-DevgGzsO.js";
|
|
10
10
|
const te = (e) => {
|
|
11
11
|
const i = Y().secondary, m = Q(), a = ge(e.primaryUrl, e.secondaryUrl, "logo");
|
|
12
12
|
if (!e.brandingLogo)
|
package/Discussion.d.ts
CHANGED
package/Discussion.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Discussion.d.ts","sourceRoot":"","sources":["../../src/Discussion.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Discussion.d.ts","sourceRoot":"","sources":["../../src/Discussion.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAuB,CAAC"}
|
package/Discussion.js
CHANGED
package/EitherOrPlay.d.ts
CHANGED
package/EitherOrPlay.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EitherOrPlay.d.ts","sourceRoot":"","sources":["../../src/EitherOrPlay.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"EitherOrPlay.d.ts","sourceRoot":"","sources":["../../src/EitherOrPlay.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAyB,CAAC"}
|
package/EitherOrPlay.js
CHANGED
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
import { jsx as t, jsxs as g, Fragment as De } from "react/jsx-runtime";
|
|
2
2
|
import { useState as D, useEffect as me, useRef as qe, useCallback as Oe } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { P as Vt } from "./chunks/Portal-
|
|
3
|
+
import { r as Ce, b as be, q as ze, B as r, u as se, l as xe, a as K, c as fe, e as pe, J as Ht, j as Me, k as jt, W as Se, s as St, i as Gt } from "./chunks/PrizeCard-CjZXXFx3.js";
|
|
4
|
+
import { P as Vt } from "./chunks/Portal-4mtEzZlO.js";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import { S as He } from "./chunks/Spinner-
|
|
7
|
-
import {
|
|
8
|
-
import { g as Yt, h as re, e as je, a as Ct } from "./chunks/helpers-
|
|
9
|
-
import { S as _t, N as qt, O as Kt } from "./chunks/NotFoundSkeleton-
|
|
10
|
-
import { u as Xt, b as Ge, d as Ke, a as Xe } from "./chunks/useImageVariant-
|
|
11
|
-
import { A as Ze, O as Zt } from "./chunks/ArrowRightAlt-
|
|
12
|
-
import { T as x
|
|
13
|
-
import { F as Fe, a as It } from "./chunks/FavoriteBorder-
|
|
14
|
-
import { E as Pe } from "./chunks/EmojiEvents-
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
6
|
+
import { S as He } from "./chunks/Spinner-htM_pA9-.js";
|
|
7
|
+
import { Z as Nt } from "./chunks/index-BBrO1Htm.js";
|
|
8
|
+
import { g as Yt, h as re, e as je, a as Ct } from "./chunks/helpers-B7-TtMzO.js";
|
|
9
|
+
import { S as _t, N as qt, O as Kt } from "./chunks/NotFoundSkeleton-B4r94g0a.js";
|
|
10
|
+
import { u as Xt, b as Ge, d as Ke, a as Xe } from "./chunks/useImageVariant-qiW-rMPJ.js";
|
|
11
|
+
import { A as Ze, O as Zt } from "./chunks/ArrowRightAlt-DVXOeIJN.js";
|
|
12
|
+
import { T as x } from "./chunks/Typography-DjxaMiey.js";
|
|
13
|
+
import { F as Fe, a as It } from "./chunks/FavoriteBorder-CguT2h2c.js";
|
|
14
|
+
import { E as Pe } from "./chunks/EmojiEvents-E7Oqv7rk.js";
|
|
15
|
+
import { B as ge } from "./chunks/Button-DOVRR2Sy.js";
|
|
16
|
+
import { C as Ne } from "./chunks/CheckCircle-ByRrHC2p.js";
|
|
17
|
+
import { T as Jt } from "./chunks/TimerOutlined-BmAAC-Vi.js";
|
|
18
|
+
import { S as we } from "./chunks/Stack-BrwF24Ji.js";
|
|
19
|
+
import { A as Qt, S as Tt, O as en } from "./chunks/OverlayApiErrorSkeleton-DwV9wIov.js";
|
|
20
|
+
import { P as tn } from "./chunks/Person-DvjCrwnY.js";
|
|
21
|
+
import { S as nn, T as rn } from "./chunks/Table-OBls_6ml.js";
|
|
22
|
+
import { A as on } from "./chunks/Avatar-CBP4sabd.js";
|
|
23
|
+
import { t as vt, T as Pt, a as kt, b as Ee, c as We } from "./chunks/Tabs-DW1eIofJ.js";
|
|
24
|
+
import { S as ln, a as an, O as sn, b as cn } from "./chunks/OverlayLeadAfterCollection-CI5NIwUv.js";
|
|
25
|
+
import { C as dn } from "./chunks/CollectLeadForm-DevgGzsO.js";
|
|
24
26
|
const un = Ce([/* @__PURE__ */ t("path", {
|
|
25
27
|
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
|
|
26
28
|
}, "0"), /* @__PURE__ */ t("path", {
|
|
@@ -2077,8 +2079,8 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2077
2079
|
children: d("eitherOr.leaderboard.top50Note", "Top 50")
|
|
2078
2080
|
}
|
|
2079
2081
|
),
|
|
2080
|
-
/* @__PURE__ */ t(
|
|
2081
|
-
|
|
2082
|
+
/* @__PURE__ */ t(nn, { sx: z.tableContainer, children: /* @__PURE__ */ g(
|
|
2083
|
+
rn,
|
|
2082
2084
|
{
|
|
2083
2085
|
variant: "outlined",
|
|
2084
2086
|
hoverRow: !1,
|
|
@@ -2104,7 +2106,7 @@ const un = Ce([/* @__PURE__ */ t("path", {
|
|
|
2104
2106
|
J + 1
|
|
2105
2107
|
] }) }),
|
|
2106
2108
|
/* @__PURE__ */ t("td", { style: z.tableCellName, children: /* @__PURE__ */ g(r, { sx: z.nameCell, children: [
|
|
2107
|
-
/* @__PURE__ */ t(on, { src: oe, sx: z.leaderboardAvatar, children: !oe && /* @__PURE__ */ t(
|
|
2109
|
+
/* @__PURE__ */ t(on, { src: oe, sx: z.leaderboardAvatar, children: !oe && /* @__PURE__ */ t(tn, { sx: z.avatarIcon }) }),
|
|
2108
2110
|
/* @__PURE__ */ t(
|
|
2109
2111
|
x,
|
|
2110
2112
|
{
|
|
@@ -3833,7 +3835,7 @@ const Dn = (e) => {
|
|
|
3833
3835
|
onPlayAgain: G
|
|
3834
3836
|
}
|
|
3835
3837
|
) : /* @__PURE__ */ t(De, {});
|
|
3836
|
-
}, Fn = (e) => /* @__PURE__ */ t(Vt, { packageName: "either-or-play", ...e, children: /* @__PURE__ */ t(Dn, { ...e }) }),
|
|
3838
|
+
}, Fn = (e) => /* @__PURE__ */ t(Vt, { packageName: "either-or-play", ...e, children: /* @__PURE__ */ t(Dn, { ...e }) }), sr = Fn;
|
|
3837
3839
|
export {
|
|
3838
|
-
|
|
3840
|
+
sr as EitherOrPlay
|
|
3839
3841
|
};
|
package/EventCard.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventCard.d.ts","sourceRoot":"","sources":["../../src/EventCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAsB,CAAC"}
|
package/EventGamePlay.d.ts
CHANGED
package/EventGamePlay.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventGamePlay.d.ts","sourceRoot":"","sources":["../../src/EventGamePlay.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"EventGamePlay.d.ts","sourceRoot":"","sources":["../../src/EventGamePlay.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAA0B,CAAC"}
|
package/EventGamePlay.js
CHANGED
|
@@ -1,30 +1,32 @@
|
|
|
1
1
|
import { jsx as t, jsxs as m, Fragment as j } from "react/jsx-runtime";
|
|
2
2
|
import Je, { useState as Q, useEffect as je, useRef as At, createContext as zt, useCallback as et, useMemo as Ve } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { P as Bt } from "./chunks/Portal-
|
|
3
|
+
import { l as Y, c as J, a as p, k as He, B as i, b as q, e as ae, j as ue, u as ne, m as We, q as Se, n as It, w as Dt, p as Mt, W as le, s as Ee, o as kt } from "./chunks/PrizeCard-CjZXXFx3.js";
|
|
4
|
+
import { P as Bt } from "./chunks/Portal-4mtEzZlO.js";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import { g as Ht, h as N, e as tt, s as Le, a as Wt, b as Et } from "./chunks/helpers-
|
|
7
|
-
import { S as Ft } from "./chunks/Spinner-
|
|
8
|
-
import { a as $t, b as Lt, S as Ut, C as xt, c as yt } from "./chunks/ChanceGameEmbedVariant-
|
|
9
|
-
import { N as Xe } from "./chunks/Notification-
|
|
10
|
-
import {
|
|
11
|
-
import { T as ht, D as Nt, S as Tt, R as Ue, N as Ot, O as qt } from "./chunks/NotFoundSkeleton-
|
|
12
|
-
import { b as Ce, d as Me, a as Be } from "./chunks/useImageVariant-
|
|
13
|
-
import { T as x
|
|
14
|
-
import { K as Yt, a as _t, H as Zt, D as Xt, E as Kt } from "./chunks/Edit-
|
|
15
|
-
import { I as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
6
|
+
import { g as Ht, h as N, e as tt, s as Le, a as Wt, b as Et } from "./chunks/helpers-B7-TtMzO.js";
|
|
7
|
+
import { S as Ft } from "./chunks/Spinner-htM_pA9-.js";
|
|
8
|
+
import { a as $t, b as Lt, S as Ut, C as xt, c as yt } from "./chunks/ChanceGameEmbedVariant-kBcjiKzu.js";
|
|
9
|
+
import { N as Xe } from "./chunks/Notification-wXJmjBSg.js";
|
|
10
|
+
import { L as Vt, G as W, q as jt } from "./chunks/index-BBrO1Htm.js";
|
|
11
|
+
import { T as ht, D as Nt, S as Tt, R as Ue, N as Ot, O as qt } from "./chunks/NotFoundSkeleton-B4r94g0a.js";
|
|
12
|
+
import { b as Ce, d as Me, a as Be } from "./chunks/useImageVariant-qiW-rMPJ.js";
|
|
13
|
+
import { T as x } from "./chunks/Typography-DjxaMiey.js";
|
|
14
|
+
import { K as Yt, a as _t, H as Zt, D as Xt, E as Kt } from "./chunks/Edit-B2N_Ry9g.js";
|
|
15
|
+
import { I as De, B as Re } from "./chunks/Button-DOVRR2Sy.js";
|
|
16
|
+
import { I as wt } from "./chunks/Input-D81KBU9B.js";
|
|
17
|
+
import { S as Qt, a as Jt } from "./chunks/Select-B_VR6iKu.js";
|
|
18
|
+
import { C as en } from "./chunks/Close-CdWk2nDh.js";
|
|
19
|
+
import { M as tn, a as nn } from "./chunks/ModalDialog-D63x8ebf.js";
|
|
20
|
+
import { S as Rt, T as pt } from "./chunks/Table-OBls_6ml.js";
|
|
21
|
+
import { A as Qe, S as an, O as on } from "./chunks/OverlayApiErrorSkeleton-DwV9wIov.js";
|
|
22
|
+
import { C as ln } from "./chunks/CheckCircle-ByRrHC2p.js";
|
|
23
|
+
import { A as rn, I as cn, W as dn } from "./chunks/AlertMessage-AyMEW3JL.js";
|
|
24
|
+
import { S as sn } from "./chunks/Stack-BrwF24Ji.js";
|
|
25
|
+
import { T as mn, a as gn, b as bt, t as St, c as Ct } from "./chunks/Tabs-DW1eIofJ.js";
|
|
26
|
+
import { P as vt } from "./chunks/Person-DvjCrwnY.js";
|
|
27
|
+
import { A as Pt } from "./chunks/Avatar-CBP4sabd.js";
|
|
26
28
|
import { C as un, a as fn } from "./chunks/chevron-right-B3IZtaMT.js";
|
|
27
|
-
import { O as xn } from "./chunks/OverlayScoreStateSkeleton-
|
|
29
|
+
import { O as xn } from "./chunks/OverlayScoreStateSkeleton-wpxvfC5x.js";
|
|
28
30
|
const yn = (e, n, a) => {
|
|
29
31
|
const [r, c] = Q(null), [d, f] = Q(null), o = async () => {
|
|
30
32
|
try {
|
|
@@ -4421,7 +4423,7 @@ const yn = (e, n, a) => {
|
|
|
4421
4423
|
},
|
|
4422
4424
|
children: [
|
|
4423
4425
|
/* @__PURE__ */ t(
|
|
4424
|
-
|
|
4426
|
+
bt,
|
|
4425
4427
|
{
|
|
4426
4428
|
sx: {
|
|
4427
4429
|
display: "flex",
|
|
@@ -4436,7 +4438,7 @@ const yn = (e, n, a) => {
|
|
|
4436
4438
|
bgcolor: r ? "#FAFAFA14" : "#2121210A"
|
|
4437
4439
|
// Highlight selected tab
|
|
4438
4440
|
},
|
|
4439
|
-
[`&.${
|
|
4441
|
+
[`&.${St.selected}`]: {
|
|
4440
4442
|
bgcolor: r ? "#FAFAFA14" : "#2121210A",
|
|
4441
4443
|
// Highlight selected tab
|
|
4442
4444
|
borderBottom: "3px solid " + H,
|
|
@@ -4496,7 +4498,7 @@ const yn = (e, n, a) => {
|
|
|
4496
4498
|
}
|
|
4497
4499
|
),
|
|
4498
4500
|
/* @__PURE__ */ t(
|
|
4499
|
-
|
|
4501
|
+
bt,
|
|
4500
4502
|
{
|
|
4501
4503
|
sx: {
|
|
4502
4504
|
display: "flex",
|
|
@@ -4511,7 +4513,7 @@ const yn = (e, n, a) => {
|
|
|
4511
4513
|
bgcolor: r ? "#FAFAFA14" : "#2121210A"
|
|
4512
4514
|
// Highlight selected tab
|
|
4513
4515
|
},
|
|
4514
|
-
[`&.${
|
|
4516
|
+
[`&.${St.selected}`]: {
|
|
4515
4517
|
bgcolor: r ? "#FAFAFA14" : "#2121210A",
|
|
4516
4518
|
// Highlight selected tab
|
|
4517
4519
|
borderBottom: "3px solid " + H,
|
|
@@ -4574,7 +4576,7 @@ const yn = (e, n, a) => {
|
|
|
4574
4576
|
}
|
|
4575
4577
|
),
|
|
4576
4578
|
/* @__PURE__ */ t(
|
|
4577
|
-
|
|
4579
|
+
Ct,
|
|
4578
4580
|
{
|
|
4579
4581
|
value: 0,
|
|
4580
4582
|
sx: {
|
|
@@ -4585,7 +4587,7 @@ const yn = (e, n, a) => {
|
|
|
4585
4587
|
}
|
|
4586
4588
|
),
|
|
4587
4589
|
/* @__PURE__ */ t(
|
|
4588
|
-
|
|
4590
|
+
Ct,
|
|
4589
4591
|
{
|
|
4590
4592
|
value: 1,
|
|
4591
4593
|
sx: {
|
|
@@ -4834,7 +4836,7 @@ const yn = (e, n, a) => {
|
|
|
4834
4836
|
n.position
|
|
4835
4837
|
] }) }),
|
|
4836
4838
|
/* @__PURE__ */ t("td", { style: v.tableCellName, children: /* @__PURE__ */ m(i, { sx: v.nameCell, children: [
|
|
4837
|
-
/* @__PURE__ */ t(Pt, { sx: v.leaderboardAvatar, children: /* @__PURE__ */ t(
|
|
4839
|
+
/* @__PURE__ */ t(Pt, { sx: v.leaderboardAvatar, children: /* @__PURE__ */ t(vt, { sx: v.avatarIcon }) }),
|
|
4838
4840
|
/* @__PURE__ */ t(x, { sx: v.nameText, children: d("eventGame.leaderboard.you") })
|
|
4839
4841
|
] }) }),
|
|
4840
4842
|
/* @__PURE__ */ t("td", { style: v.tableCellPoints, children: /* @__PURE__ */ t(x, { sx: v.pointsText, children: n.totalPoints }) })
|
|
@@ -4857,7 +4859,7 @@ const yn = (e, n, a) => {
|
|
|
4857
4859
|
{
|
|
4858
4860
|
src: ((R = I.profileModel) == null ? void 0 : R.avatar) || void 0,
|
|
4859
4861
|
sx: v.leaderboardAvatar,
|
|
4860
|
-
children: (H = I.profileModel) != null && H.avatar ? /* @__PURE__ */ t(j, {}) : /* @__PURE__ */ t(
|
|
4862
|
+
children: (H = I.profileModel) != null && H.avatar ? /* @__PURE__ */ t(j, {}) : /* @__PURE__ */ t(vt, { sx: v.avatarIcon })
|
|
4861
4863
|
}
|
|
4862
4864
|
),
|
|
4863
4865
|
/* @__PURE__ */ t(x, { sx: v.nameText, children: $ ? d("eventGame.leaderboard.you") : ((y = I.profileModel) == null ? void 0 : y.nickname) || ((z = I.profileModel) == null ? void 0 : z.name) })
|
|
@@ -7963,7 +7965,7 @@ const li = (e) => {
|
|
|
7963
7965
|
H(),
|
|
7964
7966
|
/* @__PURE__ */ t(Xe, { notification: P, onClose: T })
|
|
7965
7967
|
] });
|
|
7966
|
-
}, ri = (e) => /* @__PURE__ */ t(Bt, { packageName: "event-game-play", ...e, children: /* @__PURE__ */ t(li, { ...e }) }),
|
|
7968
|
+
}, ri = (e) => /* @__PURE__ */ t(Bt, { packageName: "event-game-play", ...e, children: /* @__PURE__ */ t(li, { ...e }) }), Wi = ri;
|
|
7967
7969
|
export {
|
|
7968
|
-
|
|
7970
|
+
Wi as EventGamePlay
|
|
7969
7971
|
};
|
package/Leaderboard.d.ts
CHANGED
package/Leaderboard.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Leaderboard.d.ts","sourceRoot":"","sources":["../../src/Leaderboard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Leaderboard.d.ts","sourceRoot":"","sources":["../../src/Leaderboard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAAwB,CAAC"}
|