fansunited-widgets-cdn 0.0.86 → 0.0.88
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-DyM0oQgv.js → Alert-BRGMYEq4.js} +2 -2
- package/chunks/{CardContent-JGV7AYRJ.js → CardContent-CmcqVv-h.js} +2 -2
- package/chunks/{ChevronRight-BjivYvSo.js → ChevronRight-CNef_eBK.js} +3 -3
- package/chunks/{ClassicQuizWrapper-ChR6VdmQ.js → ClassicQuizWrapper-D_ozBc-c.js} +661 -651
- package/chunks/{CollectLeadForm-iZpBeMTk-Be-1nl3u.js → CollectLeadForm-XQUdk7mv-C_p6Cxc6.js} +2 -2
- package/chunks/{CollectLeadWrapper-DWGnbQNs.js → CollectLeadWrapper-3-Pb94JF.js} +3 -3
- package/chunks/{EitherOrById-HLRwnSut.js → EitherOrById-Btr_73xX.js} +12 -12
- package/chunks/{EitherOrPreviewWrapper-Bhb40ehK.js → EitherOrPreviewWrapper-C73yHLJb.js} +3 -3
- package/chunks/{Error-D0HPar1M-CvBCxjku.js → Error-Bv1kv7mw-BPgxL6KV.js} +17 -17
- package/chunks/{EventGameWrapper-FLrbgLNx.js → EventGameWrapper-mKlUcvRu.js} +3545 -3152
- package/chunks/{Grid-BgTvl7U0.js → Grid-DNWxRQ1G.js} +2 -2
- package/chunks/{IconButton-UDap3hOW.js → IconButton-DsLrjwH-.js} +2 -2
- package/chunks/{List-CaGDrvb1.js → List-Dm73Vn3b.js} +15 -15
- package/chunks/{MatchPredictionContainer-CCryS3WW.js → MatchPredictionContainer-CT_Lbz_m.js} +7 -7
- package/chunks/{MatchQuizWrapper-CNPkFMYb.js → MatchQuizWrapper-CI9wnLag.js} +1986 -1967
- package/chunks/{OverlayLeadAfterCollection-CwqTKIoQ-B249CJNS.js → OverlayLeadAfterCollection-t16QmZoD-CYf2_I6O.js} +17 -17
- package/chunks/{OverlayScoreStateSkeleton-CR-b8BTk-CcF6Sgb_.js → OverlayScoreStateSkeleton--HpHqZxi-3mRY-xML.js} +3 -3
- package/chunks/{PersonalityQuizWrapper-D0_OHdgC.js → PersonalityQuizWrapper-B8gjBbmz.js} +3548 -3462
- package/chunks/{PlayerOfTheMatch-KHUAoy28.js → PlayerOfTheMatch-BqNtI8ry.js} +9 -9
- package/chunks/{PollWrapper-Dsi16RT3.js → PollWrapper-Cp6khQSu.js} +584 -574
- package/chunks/{Portal-Cvhw2F3y-CfNE9zHV.js → Portal-B3p6WA9w-DcAFD2dm.js} +2190 -2144
- package/chunks/{PreviewQuizById-DdmuvcAL.js → PreviewQuizById-CegDMdwe.js} +7 -7
- package/chunks/{Sheet-x5Z9YdFs.js → Sheet-BH9eiY-i.js} +4 -4
- package/chunks/{Stack-DZB2vzbp.js → Stack-D1QQVS1a.js} +2 -2
- package/chunks/{Tabs-DmfafFAr-bCryBf-H.js → Tabs-BaP82CxE-D4llEgk_.js} +45 -45
- package/chunks/{TeamNextMatchPrediction-C-fToJvQ.js → TeamNextMatchPrediction-hAmhNxV2.js} +2 -2
- package/chunks/{Tutorial-BI9zKJw5.js → Tutorial-Dxss7mgg.js} +7 -7
- package/chunks/{createLucideIcon-89uTOJaq.js → createLucideIcon-yiOwru9K.js} +2 -2
- package/chunks/{createSvgIcon-DsrdSWLs.js → createSvgIcon-iucs-Yv6.js} +2 -2
- package/chunks/{default-quiz-bg-CbX4gLOf.js → default-quiz-bg-1QQ_UNHU.js} +2 -2
- package/chunks/{index-BJtPwLU2.js → index-3IdlOmJ0.js} +1 -1
- package/chunks/{index-CfNoJqrf.js → index-B1fBw1st.js} +1 -1
- package/chunks/{index-DRDXyva1.js → index-B3HMTMIS.js} +2 -2
- package/chunks/{index-SdhwlCm-.js → index-BJxjaH0c.js} +1 -1
- package/chunks/{index-DXh1obfA.js → index-BpOGEh_1.js} +1 -1
- package/chunks/{index-DoDwv4Hi.js → index-Bwem-sqg.js} +1 -1
- package/chunks/{index-TCdxAH9x.js → index-ByyHPMo9.js} +1 -1
- package/chunks/{index-CowyrOBF.js → index-C-UB5RS9.js} +1 -1
- package/chunks/{index-CsLtqiB_-DH3NMQxW.js → index-C1CcfTa8-BtbghbwC.js} +306 -266
- package/chunks/{index-BXdeff8G.js → index-CRNPfp1W.js} +1 -1
- package/chunks/{index-BwmaB0Jc.js → index-CkXYxO_E.js} +1 -1
- package/chunks/{index-DRsTGSlf.js → index-Cz3SMdyK.js} +1 -1
- package/chunks/{index-CSM_gD0c.js → index-Dd7vUcWq.js} +1 -1
- package/chunks/{index-DBucbNfJ.js → index-DfDQG_ih.js} +1 -1
- package/chunks/{index-CtAJur0I.js → index-DyT1u78W.js} +1 -1
- package/chunks/{index-Dbuicm10.js → index-rUcMDRCp.js} +2 -2
- package/chunks/{init-CxQCMVyG.js → init-BTRy3iPx.js} +1 -1
- package/chunks/{main-Cx-uBTln.js → main-DGIP-N_V.js} +8662 -8616
- package/chunks/{resolveProps-DfBmYyXU.js → resolveProps-CIvan4Tx.js} +1 -1
- package/chunks/{users-Bltqtuv-.js → users-CZQ6WO9Y.js} +1 -1
- package/fu-widgets.es.js +1 -1
- package/fu-widgets.iife.js +240 -240
- package/manifest.json +52 -52
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as n } from "./main-
|
|
2
|
-
import { D as
|
|
3
|
-
import { b as V, Y as ne, K as ie, $ as le } from "./index-
|
|
1
|
+
import { j as n } from "./main-DGIP-N_V.js";
|
|
2
|
+
import { D as L, N as $, R as w, F as K, c as Y, b as A, a as X, L as E, d as J, G as Z, C as i, A as S, h as G, J as O, M as ee } from "./Portal-B3p6WA9w-DcAFD2dm.js";
|
|
3
|
+
import { b as V, Y as ne, K as ie, $ as le } from "./index-C1CcfTa8-BtbghbwC.js";
|
|
4
4
|
const oe = (e) => {
|
|
5
5
|
var a, r, p;
|
|
6
6
|
return {
|
|
@@ -201,7 +201,7 @@ const oe = (e) => {
|
|
|
201
201
|
rulesDisplay: b
|
|
202
202
|
}) => {
|
|
203
203
|
var x, u;
|
|
204
|
-
const s =
|
|
204
|
+
const s = L(), d = $(), m = w(), h = K().primary, g = K().secondary, v = Y(), c = ((x = e.branding) == null ? void 0 : x.colors) || null, o = ((u = e.branding) == null ? void 0 : u.urls) || null, j = (c == null ? void 0 : c.contentColor) || A().textColor, t = (c == null ? void 0 : c.secondaryColor) || A().textColor, F = (c == null ? void 0 : c.backgroundColor) || A().surfaceVariant, P = "60%", W = X(
|
|
205
205
|
E.STANDARD
|
|
206
206
|
), l = oe({
|
|
207
207
|
finalImage: r,
|
|
@@ -435,7 +435,7 @@ const oe = (e) => {
|
|
|
435
435
|
rulesDisplay: f
|
|
436
436
|
}) => {
|
|
437
437
|
var b;
|
|
438
|
-
const x =
|
|
438
|
+
const x = L(), u = $(), s = w(), d = K().primary, m = K().secondary, h = Y(), g = ((b = e.branding) == null ? void 0 : b.colors) || null, v = (g == null ? void 0 : g.contentColor) || u.colorSchemes.dark.textColor, c = (g == null ? void 0 : g.secondaryColor) || u.colorSchemes.dark.textColor, o = te({
|
|
439
439
|
finalImage: r,
|
|
440
440
|
spacingScale: s,
|
|
441
441
|
borderRadius: h,
|
|
@@ -581,7 +581,7 @@ const oe = (e) => {
|
|
|
581
581
|
rulesDisplay: b
|
|
582
582
|
}) => {
|
|
583
583
|
var x;
|
|
584
|
-
const u =
|
|
584
|
+
const u = L(), s = $(), d = w(), m = ((x = e.branding) == null ? void 0 : x.colors) || null, h = (m == null ? void 0 : m.contentColor) || s.colorSchemes.dark.textColor, g = s.customFontFamily.dark.primary, v = s.customFontFamily.dark.secondary, c = s.customRadius.dark.md, o = s.border.dark.size, j = s.colorSchemes.dark.textColor, t = ae({
|
|
585
585
|
spacingScale: d,
|
|
586
586
|
brandingColors: m,
|
|
587
587
|
secondaryColor: h,
|
|
@@ -625,7 +625,7 @@ const oe = (e) => {
|
|
|
625
625
|
imagePlaceholder: e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : ""
|
|
626
626
|
},
|
|
627
627
|
E.STANDARD
|
|
628
|
-
), s =
|
|
628
|
+
), s = L(), d = w(), m = Y(), h = `rgba(${J(A().surfaceVariant || "")}, 0.5)`, g = ((a = e.entity.branding) == null ? void 0 : a.colors) || null, v = (g == null ? void 0 : g.borderColor) || null, c = s ? ((p = (r = e.entity.branding) == null ? void 0 : r.images) == null ? void 0 : p.mobileLogo) || ((f = (y = e.entity.branding) == null ? void 0 : y.images) == null ? void 0 : f.mainLogo) || "" : ((x = (b = e.entity.branding) == null ? void 0 : b.images) == null ? void 0 : x.mainLogo) || "", o = e.imagePosition || "left", j = A().textColor, t = {
|
|
629
629
|
mainContentArea: {
|
|
630
630
|
flex: s ? "1" : u ? "0.7" : "1",
|
|
631
631
|
display: "flex",
|
|
@@ -654,11 +654,11 @@ const oe = (e) => {
|
|
|
654
654
|
backdropFilter: "blur(4px)"
|
|
655
655
|
}
|
|
656
656
|
}, F = () => {
|
|
657
|
-
var P, W, l, C, R, I, D, M,
|
|
658
|
-
const { CollectLeadWrapper:
|
|
657
|
+
var P, W, l, C, R, I, D, M, z, H, B, U, N, q, T, Q;
|
|
658
|
+
const { CollectLeadWrapper: _, entity: k } = e;
|
|
659
659
|
return /* @__PURE__ */ n.jsxs(i, { sx: t.mainContentArea, children: [
|
|
660
660
|
/* @__PURE__ */ n.jsx(i, { sx: t.leadCollectionContainer, children: /* @__PURE__ */ n.jsx(i, { sx: t.leadQuestionContainer, children: /* @__PURE__ */ n.jsx(i, { sx: t.leadContentContainer, children: /* @__PURE__ */ n.jsx(
|
|
661
|
-
|
|
661
|
+
_,
|
|
662
662
|
{
|
|
663
663
|
sdk: e.sdk,
|
|
664
664
|
contentId: k.id,
|
|
@@ -671,7 +671,7 @@ const oe = (e) => {
|
|
|
671
671
|
leadTitle: (I = k.labels) == null ? void 0 : I.leadTitle,
|
|
672
672
|
leadDescription: (D = k.labels) == null ? void 0 : D.leadDescription,
|
|
673
673
|
leadCta: (M = k.labels) == null ? void 0 : M.leadCta,
|
|
674
|
-
leadSuccessTitle: (
|
|
674
|
+
leadSuccessTitle: (z = k.labels) == null ? void 0 : z.leadSuccessTitle,
|
|
675
675
|
leadSuccessDescription: (H = k.labels) == null ? void 0 : H.leadSuccessDescription,
|
|
676
676
|
syncWithProfile: (B = e.leads) == null ? void 0 : B.syncWithProfile,
|
|
677
677
|
startGame: e.onLeadSubmitted,
|
|
@@ -704,13 +704,13 @@ const oe = (e) => {
|
|
|
704
704
|
) });
|
|
705
705
|
}, ue = (e) => {
|
|
706
706
|
var a, r, p, y, f, b, x;
|
|
707
|
-
const u = $(), s =
|
|
707
|
+
const u = $(), s = L(), d = s ? e.mobileImagePlaceholder || e.defaultImagePlaceholder || "" : e.defaultImagePlaceholder || "", m = O(
|
|
708
708
|
{
|
|
709
709
|
images: e.entity.images || null,
|
|
710
710
|
imagePlaceholder: d
|
|
711
711
|
},
|
|
712
712
|
E.SPLIT
|
|
713
|
-
), h = ((a = e.entity.branding) == null ? void 0 : a.colors) || null, g = (h == null ? void 0 : h.borderColor) || null, v = (h == null ? void 0 : h.backgroundColor) || A().surfaceVariant, c = J(v), o =
|
|
713
|
+
), h = ((a = e.entity.branding) == null ? void 0 : a.colors) || null, g = (h == null ? void 0 : h.borderColor) || null, v = (h == null ? void 0 : h.backgroundColor) || A().surfaceVariant, c = J(v), o = w(), j = Y(), t = s ? ((p = (r = e.entity.branding) == null ? void 0 : r.images) == null ? void 0 : p.mobileLogo) || ((f = (y = e.entity.branding) == null ? void 0 : y.images) == null ? void 0 : f.mainLogo) || "" : ((x = (b = e.entity.branding) == null ? void 0 : b.images) == null ? void 0 : x.mainLogo) || "", F = {
|
|
714
714
|
questionArea: {
|
|
715
715
|
width: "100%",
|
|
716
716
|
justifyContent: "center",
|
|
@@ -747,7 +747,7 @@ const oe = (e) => {
|
|
|
747
747
|
}
|
|
748
748
|
);
|
|
749
749
|
}, W = () => {
|
|
750
|
-
var l, C, R, I, D, M,
|
|
750
|
+
var l, C, R, I, D, M, z, H, B, U, N;
|
|
751
751
|
const { CollectLeadWrapper: q, entity: T } = e;
|
|
752
752
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
753
753
|
/* @__PURE__ */ n.jsx(i, { sx: F.questionArea, children: /* @__PURE__ */ n.jsx(i, { sx: F.questionAreaContent, children: /* @__PURE__ */ n.jsx(i, { sx: F.leadContentContainer, children: /* @__PURE__ */ n.jsx(
|
|
@@ -762,7 +762,7 @@ const oe = (e) => {
|
|
|
762
762
|
campaignName: (I = e.leads) == null ? void 0 : I.campaignName,
|
|
763
763
|
fields: (D = e.leads) == null ? void 0 : D.fields,
|
|
764
764
|
leadTitle: (M = T.labels) == null ? void 0 : M.leadTitle,
|
|
765
|
-
leadDescription: (
|
|
765
|
+
leadDescription: (z = T.labels) == null ? void 0 : z.leadDescription,
|
|
766
766
|
leadCta: (H = T.labels) == null ? void 0 : H.leadCta,
|
|
767
767
|
leadSuccessTitle: (B = T.labels) == null ? void 0 : B.leadSuccessTitle,
|
|
768
768
|
leadSuccessDescription: (U = T.labels) == null ? void 0 : U.leadSuccessDescription,
|
|
@@ -790,13 +790,13 @@ const oe = (e) => {
|
|
|
790
790
|
}
|
|
791
791
|
) });
|
|
792
792
|
}, me = (e) => {
|
|
793
|
-
const a = $(), r =
|
|
793
|
+
const a = $(), r = L(), p = e.defaultImagePlaceholder ? e.defaultImagePlaceholder || "" : r ? e.mobileImagePlaceholder : e.defaultImagePlaceholder || "", { brandingImage: y, brandingColors: f, brandingLogo: b } = ee(e.entity.branding || null), x = y || O(
|
|
794
794
|
{
|
|
795
795
|
images: e.entity.images || null,
|
|
796
796
|
imagePlaceholder: p || ""
|
|
797
797
|
},
|
|
798
798
|
E.OVERLAY
|
|
799
|
-
), u =
|
|
799
|
+
), u = w(), s = (f == null ? void 0 : f.backgroundColor) || a.colorSchemes.dark.surfaceVariant, d = {
|
|
800
800
|
mainContentSection: {
|
|
801
801
|
display: "flex",
|
|
802
802
|
flexDirection: "column",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as n } from "./main-
|
|
2
|
-
import { D as S,
|
|
3
|
-
import { b as v } from "./index-
|
|
1
|
+
import { j as n } from "./main-DGIP-N_V.js";
|
|
2
|
+
import { D as S, N as j, R as k, C as t, A as l, h as F } from "./Portal-B3p6WA9w-DcAFD2dm.js";
|
|
3
|
+
import { b as v } from "./index-C1CcfTa8-BtbghbwC.js";
|
|
4
4
|
const I = (e) => ({
|
|
5
5
|
// Main container with background overlay
|
|
6
6
|
mainContainer: {
|