fansunited-widgets-cdn 0.0.86-RC8 → 0.0.86
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/chunks/{Alert-B6o66mYo.js → Alert-DyM0oQgv.js} +32 -32
- package/chunks/{CardContent-NCZhfGcZ.js → CardContent-JGV7AYRJ.js} +19 -18
- package/chunks/{ChevronRight-1pLZ7T0v.js → ChevronRight-BjivYvSo.js} +11 -11
- package/chunks/{ClassicQuizWrapper-n2epPO4k.js → ClassicQuizWrapper-ChR6VdmQ.js} +8 -9
- package/chunks/{CollectLeadForm-C_3plJtn-Dr8J3eDw.js → CollectLeadForm-iZpBeMTk-Be-1nl3u.js} +2 -2
- package/chunks/{CollectLeadWrapper-CCtTZAxL.js → CollectLeadWrapper-DWGnbQNs.js} +22 -23
- package/chunks/{EitherOrById-ClGwMK0b.js → EitherOrById-HLRwnSut.js} +65 -65
- package/chunks/{EitherOrPreviewWrapper-BYiKyYwi.js → EitherOrPreviewWrapper-Bhb40ehK.js} +10 -10
- package/chunks/{Error-BurPfBJw-DWYn31sK.js → Error-D0HPar1M-CvBCxjku.js} +3 -3
- package/chunks/{EventGameWrapper-BphusLTk.js → EventGameWrapper-FLrbgLNx.js} +95 -96
- package/chunks/{Grid-yjqNNhEx.js → Grid-BgTvl7U0.js} +37 -37
- package/chunks/{IconButton-D7onwgY0.js → IconButton-UDap3hOW.js} +21 -21
- package/chunks/{List-8Vy9IZiv.js → List-CaGDrvb1.js} +23 -23
- package/chunks/{MatchPredictionContainer-BGytBwLo.js → MatchPredictionContainer-CCryS3WW.js} +7 -7
- package/chunks/{MatchQuizWrapper-BGjldBpF.js → MatchQuizWrapper-CNPkFMYb.js} +149 -150
- package/chunks/{OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js → OverlayLeadAfterCollection-CwqTKIoQ-B249CJNS.js} +3 -3
- package/chunks/{OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js → OverlayScoreStateSkeleton-CR-b8BTk-CcF6Sgb_.js} +8 -8
- package/chunks/{PersonalityQuizWrapper-BgLFw5tM.js → PersonalityQuizWrapper-D0_OHdgC.js} +315 -314
- package/chunks/{PlayerOfTheMatch-CImBLG3T.js → PlayerOfTheMatch-KHUAoy28.js} +96 -96
- package/chunks/{PollWrapper-QpIKCCVF.js → PollWrapper-Dsi16RT3.js} +8 -9
- package/chunks/{Portal-DegkUXpU-ByGP9zS1.js → Portal-Cvhw2F3y-CfNE9zHV.js} +313 -314
- package/chunks/{PreviewQuizById-Ba6yhxKV.js → PreviewQuizById-DdmuvcAL.js} +1019 -996
- package/chunks/{Sheet-U5EnSrgg.js → Sheet-x5Z9YdFs.js} +35 -35
- package/chunks/{Stack-DbDi7kPO.js → Stack-DZB2vzbp.js} +36 -36
- package/chunks/{Tabs-leN3Fb8D--YMyy3EM.js → Tabs-DmfafFAr-bCryBf-H.js} +2 -2
- package/chunks/{TeamNextMatchPrediction-9VSQOCcC.js → TeamNextMatchPrediction-C-fToJvQ.js} +2 -2
- package/chunks/{Tutorial-CRJLOovs.js → Tutorial-BI9zKJw5.js} +72 -73
- package/chunks/{createLucideIcon-CMWOQsDL.js → createLucideIcon-89uTOJaq.js} +8 -8
- package/chunks/{createSvgIcon-D9D4a1R9.js → createSvgIcon-DsrdSWLs.js} +167 -167
- package/chunks/{default-quiz-bg-ADjjIfPj.js → default-quiz-bg-CbX4gLOf.js} +15 -14
- package/chunks/{index-UwW9niUj.js → index-BJtPwLU2.js} +1 -1
- package/chunks/{index-CPTAlr_t.js → index-BXdeff8G.js} +1 -1
- package/chunks/{index-Da0AXb_O.js → index-BwmaB0Jc.js} +1 -1
- package/chunks/{index-CviTG4Nv.js → index-CSM_gD0c.js} +1 -1
- package/chunks/{index-BycLbIYY.js → index-CfNoJqrf.js} +1 -1
- package/chunks/{index-C6KAc5B_.js → index-CowyrOBF.js} +1 -1
- package/chunks/{index-DUQ2LFod-Cw45tHim.js → index-CsLtqiB_-DH3NMQxW.js} +32 -29
- package/chunks/{index-DwR4J2nN.js → index-CtAJur0I.js} +1 -1
- package/chunks/{index-CILd3yUc.js → index-DBucbNfJ.js} +1 -1
- package/chunks/{index-CHV6tlpH.js → index-DRDXyva1.js} +9 -9
- package/chunks/{index-CvGJXa6l.js → index-DRsTGSlf.js} +1 -1
- package/chunks/{index-CK2RXrJm.js → index-DXh1obfA.js} +1 -1
- package/chunks/{index-B74jHeYm.js → index-Dbuicm10.js} +2 -2
- package/chunks/{index-BfVvJg5R.js → index-DoDwv4Hi.js} +1 -1
- package/chunks/{index-CiB_Gqim.js → index-SdhwlCm-.js} +1 -1
- package/chunks/{index-0ADq_9jd.js → index-TCdxAH9x.js} +1 -1
- package/chunks/{init-C-gCorsh.js → init-CxQCMVyG.js} +1 -1
- package/chunks/main-Cx-uBTln.js +51049 -0
- package/chunks/resolveProps-DfBmYyXU.js +1632 -0
- package/chunks/{users-CXdzg3DM.js → users-Bltqtuv-.js} +1 -1
- package/fu-widgets-loader.es.js +16 -17
- package/fu-widgets-loader.js +1 -1
- package/fu-widgets.es.js +2 -2
- package/fu-widgets.iife.js +290 -290
- package/manifest.json +52 -54
- package/package.json +1 -1
- package/chunks/index-CJqcqbHq.js +0 -5
- package/chunks/index.es-wHqA4PHm.js +0 -11480
- package/chunks/main-Bh6iw92_.js +0 -39827
- package/chunks/resolveProps-Bgg0H6c2.js +0 -1016
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as y, r as d,
|
|
2
|
-
import { s as me,
|
|
1
|
+
import { _ as y, r as d, z as ie, d as le, j as A, Q as oe, S as ce } from "./main-Cx-uBTln.js";
|
|
2
|
+
import { D as ae, g as ue, m as fe, j as pe, E as de, d as ge, s as me, u as be } from "./resolveProps-DfBmYyXU.js";
|
|
3
3
|
const $e = (e, n) => e.filter((r) => n.includes(r)), g = (e, n, r) => {
|
|
4
4
|
const t = e.keys[0];
|
|
5
5
|
Array.isArray(n) ? n.forEach((i, s) => {
|
|
@@ -105,7 +105,7 @@ const ye = ({
|
|
|
105
105
|
[`--Grid-rowSpacing${a(n.unstable_level)}`]: typeof s == "string" ? s : (l = e.spacing) == null ? void 0 : l.call(e, s)
|
|
106
106
|
});
|
|
107
107
|
}), t;
|
|
108
|
-
},
|
|
108
|
+
}, Se = ({
|
|
109
109
|
theme: e,
|
|
110
110
|
ownerState: n
|
|
111
111
|
}) => {
|
|
@@ -134,7 +134,7 @@ const ye = ({
|
|
|
134
134
|
flexDirection: i
|
|
135
135
|
});
|
|
136
136
|
}), r;
|
|
137
|
-
},
|
|
137
|
+
}, Oe = ({
|
|
138
138
|
ownerState: e
|
|
139
139
|
}) => {
|
|
140
140
|
const n = M(e), r = N(e);
|
|
@@ -173,13 +173,13 @@ const ye = ({
|
|
|
173
173
|
}), t;
|
|
174
174
|
}
|
|
175
175
|
return [];
|
|
176
|
-
},
|
|
176
|
+
}, je = (e) => e === void 0 ? [] : typeof e == "object" ? Object.entries(e).map(([n, r]) => `direction-${n}-${r}`) : [`direction-xs-${String(e)}`], Ce = ["className", "children", "columns", "container", "component", "direction", "wrap", "spacing", "rowSpacing", "columnSpacing", "disableEqualOverflow", "unstable_level"], Pe = ce(), we = ae("div", {
|
|
177
177
|
name: "MuiGrid",
|
|
178
178
|
slot: "Root",
|
|
179
179
|
overridesResolver: (e, n) => n.root
|
|
180
180
|
});
|
|
181
181
|
function Ne(e) {
|
|
182
|
-
return
|
|
182
|
+
return de({
|
|
183
183
|
props: e,
|
|
184
184
|
name: "MuiGrid",
|
|
185
185
|
defaultTheme: Pe
|
|
@@ -195,59 +195,59 @@ function ke(e = {}) {
|
|
|
195
195
|
const {
|
|
196
196
|
container: x,
|
|
197
197
|
direction: v,
|
|
198
|
-
spacing:
|
|
198
|
+
spacing: S,
|
|
199
199
|
wrap: b,
|
|
200
200
|
gridSize: h
|
|
201
|
-
} = m,
|
|
202
|
-
root: ["root", x && "container", b !== "wrap" && `wrap-xs-${String(b)}`, ...
|
|
201
|
+
} = m, O = {
|
|
202
|
+
root: ["root", x && "container", b !== "wrap" && `wrap-xs-${String(b)}`, ...je(v), ..._e(h), ...x ? Ee(S, c.breakpoints.keys[0]) : []]
|
|
203
203
|
};
|
|
204
|
-
return
|
|
205
|
-
}, l = n(xe,
|
|
206
|
-
var v,
|
|
207
|
-
const
|
|
204
|
+
return ge(O, (_) => oe(t, _), {});
|
|
205
|
+
}, l = n(xe, Se, ve, ye, he, Oe, Ge), u = /* @__PURE__ */ d.forwardRef(function(c, x) {
|
|
206
|
+
var v, S, b, h, O, _, q, D;
|
|
207
|
+
const j = ie(), V = r(c), C = ue(V), E = d.useContext(i), {
|
|
208
208
|
className: J,
|
|
209
209
|
children: U,
|
|
210
210
|
columns: K = 12,
|
|
211
|
-
container:
|
|
212
|
-
component:
|
|
213
|
-
direction:
|
|
214
|
-
wrap:
|
|
211
|
+
container: Q = !1,
|
|
212
|
+
component: F = "div",
|
|
213
|
+
direction: H = "row",
|
|
214
|
+
wrap: I = "wrap",
|
|
215
215
|
spacing: P = 0,
|
|
216
216
|
rowSpacing: X = P,
|
|
217
217
|
columnSpacing: Y = P,
|
|
218
|
-
disableEqualOverflow:
|
|
218
|
+
disableEqualOverflow: R,
|
|
219
219
|
unstable_level: f = 0
|
|
220
|
-
} =
|
|
221
|
-
let $ =
|
|
222
|
-
f &&
|
|
223
|
-
const
|
|
220
|
+
} = C, Z = le(C, Ce);
|
|
221
|
+
let $ = R;
|
|
222
|
+
f && R !== void 0 && ($ = c.disableEqualOverflow);
|
|
223
|
+
const T = {}, z = {}, B = {};
|
|
224
224
|
Object.entries(Z).forEach(([o, p]) => {
|
|
225
|
-
|
|
225
|
+
j.breakpoints.values[o] !== void 0 ? T[o] = p : j.breakpoints.values[o.replace("Offset", "")] !== void 0 ? z[o.replace("Offset", "")] = p : B[o] = p;
|
|
226
226
|
});
|
|
227
|
-
const ee = (v = c.columns) != null ? v : f ? void 0 : K, ne = (
|
|
227
|
+
const ee = (v = c.columns) != null ? v : f ? void 0 : K, ne = (S = c.spacing) != null ? S : f ? void 0 : P, re = (b = (h = c.rowSpacing) != null ? h : c.spacing) != null ? b : f ? void 0 : X, se = (O = (_ = c.columnSpacing) != null ? _ : c.spacing) != null ? O : f ? void 0 : Y, W = y({}, C, {
|
|
228
228
|
level: f,
|
|
229
229
|
columns: ee,
|
|
230
|
-
container:
|
|
231
|
-
direction:
|
|
232
|
-
wrap:
|
|
230
|
+
container: Q,
|
|
231
|
+
direction: H,
|
|
232
|
+
wrap: I,
|
|
233
233
|
spacing: ne,
|
|
234
234
|
rowSpacing: re,
|
|
235
235
|
columnSpacing: se,
|
|
236
|
-
gridSize:
|
|
236
|
+
gridSize: T,
|
|
237
237
|
gridOffset: z,
|
|
238
|
-
disableEqualOverflow: (q = (
|
|
238
|
+
disableEqualOverflow: (q = (D = $) != null ? D : E) != null ? q : !1,
|
|
239
239
|
// use context value if exists.
|
|
240
240
|
parentDisableEqualOverflow: E
|
|
241
241
|
// for nested grid
|
|
242
|
-
}), te = s(W,
|
|
242
|
+
}), te = s(W, j);
|
|
243
243
|
let w = /* @__PURE__ */ A.jsx(l, y({
|
|
244
244
|
ref: x,
|
|
245
|
-
as:
|
|
245
|
+
as: F,
|
|
246
246
|
ownerState: W,
|
|
247
|
-
className:
|
|
247
|
+
className: fe(te.root, J)
|
|
248
248
|
}, B, {
|
|
249
249
|
children: d.Children.map(U, (o) => {
|
|
250
|
-
if (/* @__PURE__ */ d.isValidElement(o) &&
|
|
250
|
+
if (/* @__PURE__ */ d.isValidElement(o) && pe(o, ["Grid"])) {
|
|
251
251
|
var p, L;
|
|
252
252
|
return /* @__PURE__ */ d.cloneElement(o, {
|
|
253
253
|
unstable_level: (p = (L = o.props) == null ? void 0 : L.unstable_level) != null ? p : f + 1
|
|
@@ -263,17 +263,17 @@ function ke(e = {}) {
|
|
|
263
263
|
});
|
|
264
264
|
return u.muiName = "Grid", u;
|
|
265
265
|
}
|
|
266
|
-
const
|
|
267
|
-
createStyledComponent:
|
|
266
|
+
const Re = ke({
|
|
267
|
+
createStyledComponent: me("div", {
|
|
268
268
|
name: "JoyGrid",
|
|
269
269
|
slot: "Root",
|
|
270
270
|
overridesResolver: (e, n) => n.root
|
|
271
271
|
}),
|
|
272
|
-
useThemeProps: (e) =>
|
|
272
|
+
useThemeProps: (e) => be({
|
|
273
273
|
props: e,
|
|
274
274
|
name: "JoyGrid"
|
|
275
275
|
})
|
|
276
276
|
});
|
|
277
277
|
export {
|
|
278
|
-
|
|
278
|
+
Re as G
|
|
279
279
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as q,
|
|
2
|
-
import {
|
|
1
|
+
import { g as q, b as K, r as v, d as Q, _ as t, j as C, e as B } from "./main-Cx-uBTln.js";
|
|
2
|
+
import { s as x, u as Y, F as Z, G as w, i as oo, v as no, c as F, d as ro, C as io } from "./resolveProps-DfBmYyXU.js";
|
|
3
3
|
function so(n) {
|
|
4
4
|
return q("MuiIconButton", n);
|
|
5
5
|
}
|
|
@@ -15,7 +15,7 @@ const go = K("MuiIconButton", ["root", "colorPrimary", "colorNeutral", "colorDan
|
|
|
15
15
|
} = n, I = {
|
|
16
16
|
root: ["root", s && "disabled", i && "focusVisible", p && `variant${B(p)}`, o && `color${B(o)}`, l && `size${B(l)}`, g && "loading"],
|
|
17
17
|
loadingIndicator: ["loadingIndicator"]
|
|
18
|
-
}, m =
|
|
18
|
+
}, m = ro(I, so, {});
|
|
19
19
|
return i && r && (m.root += ` ${r}`), m;
|
|
20
20
|
}, eo = x("button")(({
|
|
21
21
|
theme: n,
|
|
@@ -117,7 +117,7 @@ const go = K("MuiIconButton", ["root", "colorPrimary", "colorNeutral", "colorDan
|
|
|
117
117
|
});
|
|
118
118
|
}), uo = /* @__PURE__ */ v.forwardRef(function(o, s) {
|
|
119
119
|
var i;
|
|
120
|
-
const r =
|
|
120
|
+
const r = Y({
|
|
121
121
|
props: o,
|
|
122
122
|
name: "JoyIconButton"
|
|
123
123
|
}), {
|
|
@@ -126,20 +126,20 @@ const go = K("MuiIconButton", ["root", "colorPrimary", "colorNeutral", "colorDan
|
|
|
126
126
|
component: g = "button",
|
|
127
127
|
color: I = "neutral",
|
|
128
128
|
disabled: m,
|
|
129
|
-
variant:
|
|
129
|
+
variant: H = "plain",
|
|
130
130
|
loading: z = !1,
|
|
131
131
|
loadingIndicator: y,
|
|
132
|
-
size:
|
|
132
|
+
size: S = "md",
|
|
133
133
|
slots: L = {},
|
|
134
134
|
slotProps: a = {}
|
|
135
|
-
} = r, N =
|
|
136
|
-
focusVisible:
|
|
135
|
+
} = r, N = Q(r, to), f = v.useContext(Z), e = v.useContext(w), T = o.variant || f.variant || H, h = o.size || f.size || S, P = o.color || f.color || I, k = (i = o.loading || o.disabled) != null ? i : f.disabled || z || m, R = v.useRef(null), G = oo(R, s), {
|
|
136
|
+
focusVisible: U,
|
|
137
137
|
setFocusVisible: $,
|
|
138
|
-
getRootProps:
|
|
139
|
-
} =
|
|
138
|
+
getRootProps: A
|
|
139
|
+
} = no(t({}, r, {
|
|
140
140
|
disabled: k,
|
|
141
|
-
rootRef:
|
|
142
|
-
})),
|
|
141
|
+
rootRef: G
|
|
142
|
+
})), D = y ?? /* @__PURE__ */ C.jsx(io, {
|
|
143
143
|
color: P,
|
|
144
144
|
thickness: {
|
|
145
145
|
sm: 2,
|
|
@@ -160,12 +160,12 @@ const go = K("MuiIconButton", ["root", "colorPrimary", "colorNeutral", "colorDan
|
|
|
160
160
|
variant: T,
|
|
161
161
|
loading: z,
|
|
162
162
|
size: h,
|
|
163
|
-
focusVisible:
|
|
163
|
+
focusVisible: U,
|
|
164
164
|
instanceSize: o.size
|
|
165
165
|
}), _ = ao(c), J = (u) => {
|
|
166
166
|
var j;
|
|
167
|
-
let
|
|
168
|
-
if (typeof a.root == "function" ?
|
|
167
|
+
let b = r.onClick;
|
|
168
|
+
if (typeof a.root == "function" ? b = a.root(c).onClick : a.root && (b = a.root.onClick), (j = b) == null || j(u), e) {
|
|
169
169
|
var V;
|
|
170
170
|
(V = e.onClick) == null || V.call(e, u, r.value);
|
|
171
171
|
}
|
|
@@ -176,26 +176,26 @@ const go = K("MuiIconButton", ["root", "colorPrimary", "colorNeutral", "colorDan
|
|
|
176
176
|
component: g,
|
|
177
177
|
slots: L,
|
|
178
178
|
slotProps: a
|
|
179
|
-
}), [M, E] =
|
|
179
|
+
}), [M, E] = F("root", {
|
|
180
180
|
ref: s,
|
|
181
181
|
className: _.root,
|
|
182
182
|
elementType: lo,
|
|
183
|
-
getSlotProps:
|
|
183
|
+
getSlotProps: A,
|
|
184
184
|
externalForwardedProps: W,
|
|
185
185
|
ownerState: c,
|
|
186
186
|
additionalProps: {
|
|
187
187
|
onClick: J,
|
|
188
188
|
"aria-pressed": d
|
|
189
189
|
}
|
|
190
|
-
}), [O, X] =
|
|
190
|
+
}), [O, X] = F("loadingIndicator", {
|
|
191
191
|
className: _.loadingIndicator,
|
|
192
192
|
elementType: co,
|
|
193
193
|
externalForwardedProps: W,
|
|
194
194
|
ownerState: c
|
|
195
195
|
});
|
|
196
|
-
return /* @__PURE__ */
|
|
197
|
-
children: z ? /* @__PURE__ */
|
|
198
|
-
children:
|
|
196
|
+
return /* @__PURE__ */ C.jsx(M, t({}, E, {
|
|
197
|
+
children: z ? /* @__PURE__ */ C.jsx(O, t({}, X, {
|
|
198
|
+
children: D
|
|
199
199
|
})) : l
|
|
200
200
|
}));
|
|
201
201
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { u as W, j as e,
|
|
2
|
-
import { u as Y, M as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { d as
|
|
7
|
-
import { u as G } from "./index-
|
|
8
|
-
import {
|
|
9
|
-
import { C as F, M as ct, a as ut } from "./Tutorial-
|
|
10
|
-
import { C as dt } from "./CardContent-
|
|
11
|
-
import { C as pt } from "./createLucideIcon-
|
|
12
|
-
import { S as mt } from "./Stack-
|
|
13
|
-
import { U as gt } from "./users-
|
|
14
|
-
import xt from "./MatchQuizWrapper-
|
|
15
|
-
import { G as V } from "./Grid-
|
|
1
|
+
import { u as W, j as e, r as d, a as J, p as K, L as H, t as N } from "./main-Cx-uBTln.js";
|
|
2
|
+
import { u as Y, M as tt, E as et } from "./EitherOrById-HLRwnSut.js";
|
|
3
|
+
import st from "./PollWrapper-Dsi16RT3.js";
|
|
4
|
+
import nt from "./ClassicQuizWrapper-ChR6VdmQ.js";
|
|
5
|
+
import it from "./PersonalityQuizWrapper-D0_OHdgC.js";
|
|
6
|
+
import { d as rt } from "./default-quiz-bg-CbX4gLOf.js";
|
|
7
|
+
import { u as G } from "./index-DRDXyva1.js";
|
|
8
|
+
import { b as at, B as o, T as C, C as ot, a as lt } from "./resolveProps-DfBmYyXU.js";
|
|
9
|
+
import { C as F, M as ct, a as ut } from "./Tutorial-BI9zKJw5.js";
|
|
10
|
+
import { C as dt } from "./CardContent-JGV7AYRJ.js";
|
|
11
|
+
import { C as pt } from "./createLucideIcon-89uTOJaq.js";
|
|
12
|
+
import { S as mt } from "./Stack-DZB2vzbp.js";
|
|
13
|
+
import { U as gt } from "./users-Bltqtuv-.js";
|
|
14
|
+
import xt from "./MatchQuizWrapper-CNPkFMYb.js";
|
|
15
|
+
import { G as V } from "./Grid-BgTvl7U0.js";
|
|
16
16
|
const ft = (s) => typeof s == "object" && s !== null && "alternativeTitle" in s && "questionsCount" in s, ht = (s) => typeof s == "object" && s !== null && "winningCondition" in s && "lives" in s, bt = (s) => typeof s == "object" && s !== null && "time" in s && "preferencesEnabled" in s && "maxAttempts" in s, yt = (s) => typeof s == "object" && s !== null && "options" in s && "totalVotes" in s, Ct = (s) => typeof s == "object" && s !== null && "fixtures" in s && "predictionsCutoff" in s, It = (s) => typeof s == "object" && s !== null && "templateId" in s, k = (s) => {
|
|
17
17
|
const t = s.entityModel;
|
|
18
18
|
if (!t) return null;
|
|
@@ -174,7 +174,7 @@ const ft = (s) => typeof s == "object" && s !== null && "alternativeTitle" in s
|
|
|
174
174
|
})() ? window.location.href = I(s) : w && w(s);
|
|
175
175
|
};
|
|
176
176
|
return n ? /* @__PURE__ */ e.jsxs(
|
|
177
|
-
|
|
177
|
+
at,
|
|
178
178
|
{
|
|
179
179
|
sx: {
|
|
180
180
|
minHeight: 350,
|
|
@@ -190,7 +190,7 @@ const ft = (s) => typeof s == "object" && s !== null && "alternativeTitle" in s
|
|
|
190
190
|
/* @__PURE__ */ e.jsx(F, { children: /* @__PURE__ */ e.jsx(
|
|
191
191
|
"img",
|
|
192
192
|
{
|
|
193
|
-
src: ((c = n.images) == null ? void 0 : c.cover) || ((M = n.images) == null ? void 0 : M.main) ||
|
|
193
|
+
src: ((c = n.images) == null ? void 0 : c.cover) || ((M = n.images) == null ? void 0 : M.main) || rt,
|
|
194
194
|
alt: n.title,
|
|
195
195
|
loading: "lazy",
|
|
196
196
|
style: { transition: "transform 0.4s ease-out" }
|
|
@@ -326,13 +326,13 @@ const ft = (s) => typeof s == "object" && s !== null && "alternativeTitle" in s
|
|
|
326
326
|
if (!c) return null;
|
|
327
327
|
switch (c.entityType) {
|
|
328
328
|
case "CLASSIC_QUIZ":
|
|
329
|
-
return /* @__PURE__ */ e.jsx(
|
|
329
|
+
return /* @__PURE__ */ e.jsx(nt, { initialQuizId: c.entityId });
|
|
330
330
|
case "PERSONALITY_QUIZ":
|
|
331
|
-
return /* @__PURE__ */ e.jsx(
|
|
331
|
+
return /* @__PURE__ */ e.jsx(it, { personalityQuizId: c.entityId });
|
|
332
332
|
case "POLL":
|
|
333
|
-
return /* @__PURE__ */ e.jsx(
|
|
333
|
+
return /* @__PURE__ */ e.jsx(st, { pollId: c.entityId });
|
|
334
334
|
case "EITHER_OR":
|
|
335
|
-
return /* @__PURE__ */ e.jsx(
|
|
335
|
+
return /* @__PURE__ */ e.jsx(et, { initialGameId: c.entityId });
|
|
336
336
|
case "MATCH_QUIZ":
|
|
337
337
|
return /* @__PURE__ */ e.jsx(
|
|
338
338
|
xt,
|
|
@@ -367,7 +367,7 @@ const ft = (s) => typeof s == "object" && s !== null && "alternativeTitle" in s
|
|
|
367
367
|
onItemClick: X
|
|
368
368
|
}
|
|
369
369
|
) }, u.entityId) : null) }),
|
|
370
|
-
n && /* @__PURE__ */ e.jsx(o, { sx: { display: "flex", justifyContent: "center", p: 4 }, children: /* @__PURE__ */ e.jsx(
|
|
370
|
+
n && /* @__PURE__ */ e.jsx(o, { sx: { display: "flex", justifyContent: "center", p: 4 }, children: /* @__PURE__ */ e.jsx(ot, {}) }),
|
|
371
371
|
E && !n && // Show load more button based on widget mode
|
|
372
372
|
(L ? r.length < t : !0) && /* @__PURE__ */ e.jsx(o, { sx: { display: "flex", justifyContent: "center", mt: 2 }, children: /* @__PURE__ */ e.jsx(lt, { onClick: R, variant: "soft", children: N("content.buttons.loadMore") }) })
|
|
373
373
|
] }),
|
|
@@ -382,7 +382,7 @@ const ft = (s) => typeof s == "object" && s !== null && "alternativeTitle" in s
|
|
|
382
382
|
p: 0
|
|
383
383
|
},
|
|
384
384
|
children: [
|
|
385
|
-
/* @__PURE__ */ e.jsx(
|
|
385
|
+
/* @__PURE__ */ e.jsx(tt, {}),
|
|
386
386
|
$()
|
|
387
387
|
]
|
|
388
388
|
}
|
package/chunks/{MatchPredictionContainer-BGytBwLo.js → MatchPredictionContainer-CCryS3WW.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { j as e,
|
|
2
|
-
import {
|
|
3
|
-
import { G as D } from "./Grid-
|
|
4
|
-
import { S as te, C as ie, a as ae } from "./ChevronRight-
|
|
5
|
-
import { c as V } from "./createSvgIcon-
|
|
6
|
-
import { I as ce } from "./IconButton-
|
|
7
|
-
import { A as le } from "./Alert-
|
|
1
|
+
import { j as e, t as C, r as a, a as W, i as q } from "./main-Cx-uBTln.js";
|
|
2
|
+
import { a as U, B as f, T as w, b as K, C as ne } from "./resolveProps-DfBmYyXU.js";
|
|
3
|
+
import { G as D } from "./Grid-BgTvl7U0.js";
|
|
4
|
+
import { S as te, C as ie, a as ae } from "./ChevronRight-BjivYvSo.js";
|
|
5
|
+
import { c as V } from "./createSvgIcon-DsrdSWLs.js";
|
|
6
|
+
import { I as ce } from "./IconButton-UDap3hOW.js";
|
|
7
|
+
import { A as le } from "./Alert-DyM0oQgv.js";
|
|
8
8
|
const de = V(/* @__PURE__ */ e.jsx("path", {
|
|
9
9
|
d: "M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
|
|
10
10
|
}), "CheckCircleOutline"), ue = V(/* @__PURE__ */ e.jsx("path", {
|