fansunited-widgets-cdn 0.0.84 → 0.0.86-RC1

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.
Files changed (75) hide show
  1. package/chunks/Alert-CuOsmojH.js +149 -0
  2. package/chunks/AspectRatio-D3Sgxj7p.js +125 -0
  3. package/chunks/Avatar-BTsEKfhc.js +186 -0
  4. package/chunks/Button-BV7YIFkS.js +858 -0
  5. package/chunks/Card-DRIT0wtY.js +129 -0
  6. package/chunks/CardContent-CD-WZh1l.js +60 -0
  7. package/chunks/ChevronRight-BrCKlr3T.js +11 -0
  8. package/chunks/Chip-6HLNTHMI.js +281 -0
  9. package/chunks/ClassicQuizWrapper-t04e9_6c.js +4883 -0
  10. package/chunks/CollectLeadForm-DtmR2Vuf-B_3JkHJC.js +1560 -0
  11. package/chunks/CollectLeadWrapper-CVAVswua.js +1294 -0
  12. package/chunks/DialogActions-C5kAgHal.js +45 -0
  13. package/chunks/DialogContent-MIXff4nd.js +60 -0
  14. package/chunks/EitherOrById-CAo8gPjm.js +1496 -0
  15. package/chunks/EitherOrPreviewWrapper-DFi2bviS.js +47 -0
  16. package/chunks/Error-DhQL89pn-BwTV1meb.js +418 -0
  17. package/chunks/EventGameWrapper-BxyLL3eA.js +7633 -0
  18. package/chunks/Grid-Dpv_ZL23.js +279 -0
  19. package/chunks/IconButton-Lt9Xks7c.js +207 -0
  20. package/chunks/Link-DLuj1USf.js +228 -0
  21. package/chunks/List-DLPlZGTP.js +397 -0
  22. package/chunks/ListItemDecorator-CE2eQLip.js +1882 -0
  23. package/chunks/MatchPredictionContainer-Ct6gXvLw.js +751 -0
  24. package/chunks/MatchQuizWrapper-Fu6RfWVn.js +11046 -0
  25. package/chunks/ModalDialog-Ci3hulZA.js +619 -0
  26. package/chunks/NotFoundSkeleton-BYJTzYJR-Be3R34nS.js +2764 -0
  27. package/chunks/OverlayLeadAfterCollection-DnqztPJ5-CpELr0AC.js +896 -0
  28. package/chunks/OverlayScoreStateSkeleton-C9FUhcnd-DMFELrvA.js +146 -0
  29. package/chunks/PersonalityQuizWrapper-MpUK4n3Y.js +34374 -0
  30. package/chunks/PlayerOfTheMatch-D4vuR7pz.js +1406 -0
  31. package/chunks/PollWrapper-CzKj8xxE.js +4198 -0
  32. package/chunks/Portal-BWqqFvVm-TuHZWjxn.js +12717 -0
  33. package/chunks/Portal-DA1mxzSo.js +41 -0
  34. package/chunks/PreviewQuizById-WWS_LyJR.js +4864 -0
  35. package/chunks/Select-p_cHpLhi.js +3418 -0
  36. package/chunks/Sheet-BaCzogZK.js +167 -0
  37. package/chunks/Snackbar-DHxnbCA3.js +358 -0
  38. package/chunks/Stack-Dgf2LXN0.js +117 -0
  39. package/chunks/Tabs-CSu_cWNi.js +784 -0
  40. package/chunks/TeamNextMatchPrediction-C7HilNqW.js +6 -0
  41. package/chunks/Tutorial-DFNZxmAx.js +427 -0
  42. package/chunks/createLucideIcon-B6NxpYkb.js +79 -0
  43. package/chunks/createSvgIcon-7h7XC877.js +119 -0
  44. package/chunks/createSvgIcon-DVA0KIUd.js +2490 -0
  45. package/chunks/dataAttributeParser-CF9vxaVN.js +28 -0
  46. package/chunks/default-quiz-bg-CTzaADn7.js +4 -0
  47. package/chunks/getReactElementRef-BD-S8A24.js +25 -0
  48. package/chunks/index-24AwmTVJ.js +85 -0
  49. package/chunks/index-3vJS8JzK.js +63 -0
  50. package/chunks/index-BSD7mvEU.js +57 -0
  51. package/chunks/index-BU6iona7.js +57 -0
  52. package/chunks/index-BqCHiyI6.js +59 -0
  53. package/chunks/index-C5qRf4TV.js +20 -0
  54. package/chunks/index-C9MpfjqV.js +35 -0
  55. package/chunks/index-CMmQs5A5.js +56 -0
  56. package/chunks/index-CicEY2Jv.js +5 -0
  57. package/chunks/index-DNeawo0R.js +17 -0
  58. package/chunks/index-DePIySlY.js +29 -0
  59. package/chunks/index-DoRYU_1L.js +41 -0
  60. package/chunks/index-DvgG9XJj.js +20 -0
  61. package/chunks/index-QpZE-92Y.js +33 -0
  62. package/chunks/index-rgFj976B.js +17 -0
  63. package/chunks/index-tzsdMoo-.js +16 -0
  64. package/chunks/index.es-CHqz6mjo.js +6162 -0
  65. package/chunks/init-BEkECL0v.js +32 -0
  66. package/chunks/main-XP7dqk6g.js +39843 -0
  67. package/chunks/resolveProps-BfYZubfk.js +37 -0
  68. package/chunks/users-D_xgC4iQ.js +16 -0
  69. package/chunks/variantColorInheritance-DI3wUohX.js +28 -0
  70. package/fu-widgets-loader.es.js +76 -0
  71. package/fu-widgets-loader.js +1 -0
  72. package/fu-widgets.es.js +4 -0
  73. package/fu-widgets.iife.js +621 -682
  74. package/manifest.json +84 -0
  75. package/package.json +9 -2
@@ -0,0 +1,146 @@
1
+ import { j as o, B as i } from "./main-XP7dqk6g.js";
2
+ import { o as C, Y as j, K as k, j as v } from "./Portal-BWqqFvVm-TuHZWjxn.js";
3
+ import { v as F } from "./NotFoundSkeleton-BYJTzYJR-Be3R34nS.js";
4
+ import { T as l } from "./Button-BV7YIFkS.js";
5
+ const T = (e) => ({
6
+ // Main container with background overlay
7
+ mainContainer: {
8
+ display: "flex",
9
+ flexDirection: "column",
10
+ gap: "40px",
11
+ p: e.spacingScale.xl,
12
+ boxShadow: "md",
13
+ border: `${e.borderSize} solid ${e.borderColor}`,
14
+ overflow: "hidden",
15
+ backgroundImage: e.backgroundImage,
16
+ backgroundPosition: "center",
17
+ backgroundSize: "cover",
18
+ position: "relative",
19
+ borderRadius: e.mdBorderRadius,
20
+ minHeight: "250px",
21
+ "&::before": {
22
+ content: '""',
23
+ position: "absolute",
24
+ top: 0,
25
+ left: 0,
26
+ right: 0,
27
+ bottom: 0,
28
+ borderRadius: "inherit",
29
+ zIndex: 0,
30
+ background: e.imageBackgroundGradient
31
+ }
32
+ },
33
+ // Headline section wrapper
34
+ headlineSection: {
35
+ display: "flex",
36
+ justifyContent: "space-between",
37
+ flex: "1 0 0",
38
+ alignSelf: "stretch"
39
+ },
40
+ // Headline content container
41
+ headlineContent: {
42
+ display: "flex",
43
+ flexDirection: "column",
44
+ alignItems: "flex-start",
45
+ flex: "1 0 0",
46
+ gap: "16px"
47
+ },
48
+ // Headline content with z-index
49
+ headlineContentInner: {
50
+ zIndex: 10
51
+ },
52
+ // Headline typography
53
+ headlineText: {
54
+ fontWeight: 500,
55
+ lineHeight: "166%",
56
+ letterSpacing: "1px",
57
+ textAlign: { xs: "center", md: "left" },
58
+ color: e.secondaryColor,
59
+ opacity: "70%",
60
+ textTransform: "uppercase",
61
+ fontFamily: e.fontFamilySecondary,
62
+ fontSize: "0.75em"
63
+ },
64
+ // Content container
65
+ contentContainer: {
66
+ display: "flex",
67
+ flexDirection: "column",
68
+ gap: e.spacingScale["3xs"]
69
+ },
70
+ // Title typography
71
+ titleText: {
72
+ fontWeight: 700,
73
+ lineHeight: "133%",
74
+ letterSpacing: "0px",
75
+ textAlign: { xs: "center", md: "left" },
76
+ fontSize: "1.5em",
77
+ color: e.darkTextColor,
78
+ fontFamily: e.fontFamilyPrimary
79
+ },
80
+ // Description typography
81
+ descriptionText: {
82
+ fontWeight: 400,
83
+ lineHeight: "140%",
84
+ letterSpacing: "0.15px",
85
+ fontSize: "1.25em",
86
+ textAlign: { xs: "center", md: "left" },
87
+ color: e.secondaryColor,
88
+ opacity: "70%",
89
+ fontFamily: e.fontFamilyPrimary
90
+ }
91
+ }), D = ({
92
+ entity: e,
93
+ headline: d,
94
+ backgroundImage: c,
95
+ imageBackgroundGradient: x,
96
+ children: m,
97
+ rulesDisplay: g
98
+ }) => {
99
+ var a;
100
+ C();
101
+ const r = j(), s = k(), t = ((a = e.branding) == null ? void 0 : a.colors) || null, p = (t == null ? void 0 : t.secondaryColor) || r.colorSchemes.dark.textSecondary, h = r.customFontFamily.light.primary, y = r.customFontFamily.light.secondary, f = r.customRadius.light.md, u = r.border.light.size, b = (t == null ? void 0 : t.borderColor) || r.colorSchemes.dark.secondaryContainer, S = r.colorSchemes.dark.textColor, n = T({
102
+ spacingScale: s,
103
+ secondaryColor: p,
104
+ fontFamilyPrimary: h,
105
+ fontFamilySecondary: y,
106
+ mdBorderRadius: f,
107
+ borderSize: u,
108
+ borderColor: b,
109
+ darkTextColor: S,
110
+ backgroundImage: c,
111
+ imageBackgroundGradient: x
112
+ });
113
+ return /* @__PURE__ */ o.jsxs(i, { sx: n.mainContainer, children: [
114
+ /* @__PURE__ */ o.jsx(i, { children: /* @__PURE__ */ o.jsx(i, { sx: n.headlineSection, children: /* @__PURE__ */ o.jsx(i, { sx: n.headlineContent, children: /* @__PURE__ */ o.jsxs(i, { sx: n.headlineContentInner, children: [
115
+ /* @__PURE__ */ o.jsxs(
116
+ i,
117
+ {
118
+ sx: {
119
+ display: "flex",
120
+ alignItems: "center",
121
+ gap: s["3xs"]
122
+ },
123
+ children: [
124
+ /* @__PURE__ */ o.jsx(l, { level: "body-sm", sx: n.headlineText, children: d }),
125
+ /* @__PURE__ */ o.jsx(
126
+ F,
127
+ {
128
+ rulesDisplay: g,
129
+ isOverlayVariant: !0,
130
+ rules: e.rules || ""
131
+ }
132
+ )
133
+ ]
134
+ }
135
+ ),
136
+ /* @__PURE__ */ o.jsxs(i, { sx: n.contentContainer, children: [
137
+ /* @__PURE__ */ o.jsx(l, { level: "h4", sx: n.titleText, children: e.title }),
138
+ /* @__PURE__ */ o.jsx(l, { level: "body-lg", sx: n.descriptionText, children: v(e.description) })
139
+ ] })
140
+ ] }) }) }) }),
141
+ m
142
+ ] });
143
+ };
144
+ export {
145
+ D as w
146
+ };