fansunited-frontend-components 0.0.31-RC5 → 0.0.31-RC6

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 (367) hide show
  1. package/ClassicQuizPlay.js +4847 -3
  2. package/CollectLead.js +1253 -3
  3. package/EventGamePlay.js +7595 -3
  4. package/MatchQuizPlay.js +11002 -3
  5. package/PersonalityQuizPlay.js +39512 -3
  6. package/PollVote.js +4167 -3
  7. package/chunks/CollectLeadForm-DtmR2Vuf.js +844 -0
  8. package/chunks/Error-DhQL89pn.js +120 -0
  9. package/chunks/NotFoundSkeleton-BYJTzYJR.js +2425 -0
  10. package/chunks/OverlayLeadAfterCollection-DnqztPJ5.js +899 -0
  11. package/chunks/OverlayScoreStateSkeleton-C9FUhcnd.js +147 -0
  12. package/chunks/Portal-BWqqFvVm.js +13823 -0
  13. package/package.json +1 -1
  14. package/_virtual/_commonjsHelpers.js +0 -6
  15. package/_virtual/index.js +0 -4
  16. package/_virtual/index2.js +0 -4
  17. package/_virtual/index3.js +0 -4
  18. package/_virtual/jsx-runtime.js +0 -4
  19. package/_virtual/react-is.development.js +0 -4
  20. package/_virtual/react-is.development2.js +0 -4
  21. package/_virtual/react-is.production.min.js +0 -4
  22. package/_virtual/react-is.production.min2.js +0 -4
  23. package/_virtual/react-jsx-runtime.development.js +0 -4
  24. package/_virtual/react-jsx-runtime.production.js +0 -4
  25. package/packages/classic-quiz-play/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
  26. package/packages/classic-quiz-play/src/assets/default-quiz-bg.png.js +0 -4
  27. package/packages/classic-quiz-play/src/assets/emojis/3dicons-bookmark-fav-dynamic-color.svg.js +0 -4
  28. package/packages/classic-quiz-play/src/assets/emojis/3dicons-crow-dynamic-color.svg.js +0 -4
  29. package/packages/classic-quiz-play/src/assets/emojis/3dicons-fire-dynamic-color.svg.js +0 -4
  30. package/packages/classic-quiz-play/src/assets/emojis/3dicons-flag-dynamic-color.svg.js +0 -4
  31. package/packages/classic-quiz-play/src/assets/emojis/3dicons-medal-dynamic-color.svg.js +0 -4
  32. package/packages/classic-quiz-play/src/assets/emojis/3dicons-rocket-dynamic-color.svg.js +0 -4
  33. package/packages/classic-quiz-play/src/assets/emojis/3dicons-target-dynamic-color.svg.js +0 -4
  34. package/packages/classic-quiz-play/src/assets/emojis/3dicons-thumb-down-dynamic-color.svg.js +0 -4
  35. package/packages/classic-quiz-play/src/assets/emojis/bottle-with-popping-cork.svg.js +0 -4
  36. package/packages/classic-quiz-play/src/assets/emojis/crown.svg.js +0 -4
  37. package/packages/classic-quiz-play/src/assets/emojis/direct-hit.svg.js +0 -4
  38. package/packages/classic-quiz-play/src/assets/emojis/hundred-points.svg.js +0 -4
  39. package/packages/classic-quiz-play/src/assets/emojis/person-facepalming.svg.js +0 -4
  40. package/packages/classic-quiz-play/src/assets/emojis/sports-medal.svg.js +0 -4
  41. package/packages/classic-quiz-play/src/assets/emojis/thumbs-down.svg.js +0 -4
  42. package/packages/classic-quiz-play/src/assets/emojis/trophy.svg.js +0 -4
  43. package/packages/classic-quiz-play/src/assets/emojis/upside-down-face.svg.js +0 -4
  44. package/packages/classic-quiz-play/src/assets/hexagons/shape-hexagon-danger.svg.js +0 -4
  45. package/packages/classic-quiz-play/src/assets/hexagons/shape-hexagon-success.svg.js +0 -4
  46. package/packages/classic-quiz-play/src/assets/hexagons/shape-hexagon-warning.svg.js +0 -4
  47. package/packages/classic-quiz-play/src/assets/info.svg.js +0 -4
  48. package/packages/classic-quiz-play/src/assets/school.svg.js +0 -4
  49. package/packages/classic-quiz-play/src/assets/sports_score.svg.js +0 -4
  50. package/packages/classic-quiz-play/src/components/ClassicQuizNotFound.js +0 -23
  51. package/packages/classic-quiz-play/src/components/ClassicQuizPlay.js +0 -353
  52. package/packages/classic-quiz-play/src/components/Leads/CollectLeadWrapper.js +0 -65
  53. package/packages/classic-quiz-play/src/components/Shared/AlertMessage.js +0 -93
  54. package/packages/classic-quiz-play/src/components/Shared/Answers/Answers.js +0 -80
  55. package/packages/classic-quiz-play/src/components/Shared/Answers/Option.js +0 -130
  56. package/packages/classic-quiz-play/src/components/Shared/Button.js +0 -67
  57. package/packages/classic-quiz-play/src/components/Shared/MainCard.js +0 -34
  58. package/packages/classic-quiz-play/src/components/Shared/PresentedBy.js +0 -122
  59. package/packages/classic-quiz-play/src/components/Shared/ScoreStateWrapper.js +0 -443
  60. package/packages/classic-quiz-play/src/components/Shared/Stepper.js +0 -59
  61. package/packages/classic-quiz-play/src/components/Shared/Stopwatch.js +0 -109
  62. package/packages/classic-quiz-play/src/components/Variants/Overlay/Error/OverlayError.js +0 -45
  63. package/packages/classic-quiz-play/src/components/Variants/Overlay/LeadCollection/OverlayLeadAfterCollection.js +0 -35
  64. package/packages/classic-quiz-play/src/components/Variants/Overlay/OverlayVariant.js +0 -170
  65. package/packages/classic-quiz-play/src/components/Variants/Overlay/OverlayVariant.styles.js +0 -190
  66. package/packages/classic-quiz-play/src/components/Variants/Overlay/ScoreState/OverlayScoreState.js +0 -177
  67. package/packages/classic-quiz-play/src/components/Variants/Overlay/ScoreState/OverlayScoreState.styles.js +0 -373
  68. package/packages/classic-quiz-play/src/components/Variants/Overlay/SignIn/OverlaySignIn.js +0 -120
  69. package/packages/classic-quiz-play/src/components/Variants/Overlay/SignIn/OverlaySignIn.styles.js +0 -42
  70. package/packages/classic-quiz-play/src/components/Variants/Split/Error/SplitError.js +0 -42
  71. package/packages/classic-quiz-play/src/components/Variants/Split/LeadCollection/SplitLeadAfterCollection.js +0 -37
  72. package/packages/classic-quiz-play/src/components/Variants/Split/ScoreState/SplitScoreState.js +0 -231
  73. package/packages/classic-quiz-play/src/components/Variants/Split/ScoreState/SplitScoreState.styles.js +0 -353
  74. package/packages/classic-quiz-play/src/components/Variants/Split/SignIn/SplitSignIn.js +0 -118
  75. package/packages/classic-quiz-play/src/components/Variants/Split/SignIn/SplitSignIn.styles.js +0 -52
  76. package/packages/classic-quiz-play/src/components/Variants/Split/SplitVariant.js +0 -183
  77. package/packages/classic-quiz-play/src/components/Variants/Split/SplitVariant.styles.js +0 -145
  78. package/packages/classic-quiz-play/src/components/Variants/Standard/Error/StandardError.js +0 -43
  79. package/packages/classic-quiz-play/src/components/Variants/Standard/LeadCollection/StandardLeadAfterCollection.js +0 -35
  80. package/packages/classic-quiz-play/src/components/Variants/Standard/ScoreState/StandardScoreState.js +0 -220
  81. package/packages/classic-quiz-play/src/components/Variants/Standard/ScoreState/StandardScoreState.styles.js +0 -347
  82. package/packages/classic-quiz-play/src/components/Variants/Standard/SignIn/StandardSignIn.js +0 -117
  83. package/packages/classic-quiz-play/src/components/Variants/Standard/SignIn/StandardSignIn.styles.js +0 -52
  84. package/packages/classic-quiz-play/src/components/Variants/Standard/StandardVariant.js +0 -209
  85. package/packages/classic-quiz-play/src/components/Variants/Standard/StandardVariant.styles.js +0 -182
  86. package/packages/classic-quiz-play/src/constants/constants.js +0 -4
  87. package/packages/classic-quiz-play/src/hooks/useClassicQuizById.js +0 -18
  88. package/packages/classic-quiz-play/src/hooks/useEmbedCodeContainer.js +0 -30
  89. package/packages/classic-quiz-play/src/hooks/useMyParticipation.js +0 -40
  90. package/packages/classic-quiz-play/src/hooks/useScoreStateHelpers.js +0 -117
  91. package/packages/classic-quiz-play/src/index.js +0 -4
  92. package/packages/classic-quiz-play/src/main.js +0 -7
  93. package/packages/collect-lead/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
  94. package/packages/collect-lead/src/assets/default-quiz-bg.png.js +0 -4
  95. package/packages/collect-lead/src/components/CollectLead.js +0 -18
  96. package/packages/collect-lead/src/components/Leads/CollectLeadWrapper.js +0 -63
  97. package/packages/collect-lead/src/components/Shared/MainCard.js +0 -31
  98. package/packages/collect-lead/src/components/Shared/PresentedBy.js +0 -118
  99. package/packages/collect-lead/src/components/Variants/Overlay/LeadOverlayVariant.js +0 -72
  100. package/packages/collect-lead/src/components/Variants/Overlay/LeadOverlayVariant.styles.js +0 -187
  101. package/packages/collect-lead/src/components/Variants/Split/LeadSplitVariant.js +0 -81
  102. package/packages/collect-lead/src/components/Variants/Split/LeadSplitVariant.styles.js +0 -338
  103. package/packages/collect-lead/src/components/Variants/Standard/LeadStandardVariant.js +0 -82
  104. package/packages/collect-lead/src/components/Variants/Standard/LeadStandardVariant.styles.js +0 -313
  105. package/packages/collect-lead/src/index.js +0 -4
  106. package/packages/collect-lead/src/main.js +0 -39
  107. package/packages/collect-lead/src/providers/ConfigurationProvider.js +0 -50
  108. package/packages/common/src/components/AdditionalCTA.js +0 -24
  109. package/packages/common/src/components/AlertMessage.js +0 -88
  110. package/packages/common/src/components/LeadCollection/OverlayLeadAfterCollection.js +0 -111
  111. package/packages/common/src/components/LeadCollection/SplitLeadAfterCollection.js +0 -103
  112. package/packages/common/src/components/LeadCollection/StandardLeadAfterCollection.js +0 -101
  113. package/packages/common/src/components/Leads/CollectLeadForm.js +0 -72
  114. package/packages/common/src/components/Leads/ConsentsCheckboxes.js +0 -82
  115. package/packages/common/src/components/Leads/LeadAgreementCheckbox.js +0 -104
  116. package/packages/common/src/components/Leads/LeadForm.js +0 -498
  117. package/packages/common/src/components/Portal.js +0 -62
  118. package/packages/common/src/components/Rules.js +0 -299
  119. package/packages/common/src/components/Skeletons/NotFoundSkeleton.js +0 -83
  120. package/packages/common/src/components/Skeletons/Overlay/ApiError/OverlayApiErrorSkeleton.js +0 -80
  121. package/packages/common/src/components/Skeletons/Overlay/ApiError/OverlayApiErrorSkeleton.styles.js +0 -190
  122. package/packages/common/src/components/Skeletons/Overlay/OverlaySkeleton.js +0 -68
  123. package/packages/common/src/components/Skeletons/Overlay/OverlaySkeleton.styles.js +0 -100
  124. package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateSkeleton.js +0 -65
  125. package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateSkeleton.styles.js +0 -90
  126. package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateWrapperSkeleton.js +0 -34
  127. package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateWrapperSkeleton.styles.js +0 -55
  128. package/packages/common/src/components/Skeletons/Overlay/SignIn/OverlaySignInSkeleton.js +0 -58
  129. package/packages/common/src/components/Skeletons/Overlay/SignIn/OverlaySignInSkeleton.styles.js +0 -105
  130. package/packages/common/src/components/Skeletons/Split/ApiError/SplitApiErrorSkeleton.js +0 -98
  131. package/packages/common/src/components/Skeletons/Split/ApiError/SplitApiErrorSkeleton.styles.js +0 -167
  132. package/packages/common/src/components/Skeletons/Split/ScoreState/SplitScoreStateSkeleton.js +0 -64
  133. package/packages/common/src/components/Skeletons/Split/ScoreState/SplitScoreStateSkeleton.styles.js +0 -107
  134. package/packages/common/src/components/Skeletons/Split/SignIn/SplitSignInSkeleton.js +0 -55
  135. package/packages/common/src/components/Skeletons/Split/SignIn/SplitSignInSkeleton.styles.js +0 -94
  136. package/packages/common/src/components/Skeletons/Split/SplitSkeleton.js +0 -186
  137. package/packages/common/src/components/Skeletons/Split/SplitSkeleton.styles.js +0 -181
  138. package/packages/common/src/components/Skeletons/Standard/ApiError/StandardApiErrorSkeleton.js +0 -173
  139. package/packages/common/src/components/Skeletons/Standard/ApiError/StandardApiErrorSkeleton.styles.js +0 -275
  140. package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardContentSkeleton.js +0 -23
  141. package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardContentSkeleton.styles.js +0 -40
  142. package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardScoreStateSkeleton.js +0 -142
  143. package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardScoreStateSkeleton.styles.js +0 -203
  144. package/packages/common/src/components/Skeletons/Standard/SignIn/StandardSignInSkeleton.js +0 -157
  145. package/packages/common/src/components/Skeletons/Standard/SignIn/StandardSignInSkeleton.styles.js +0 -194
  146. package/packages/common/src/components/Skeletons/Standard/StandardSkeleton.js +0 -238
  147. package/packages/common/src/components/Skeletons/Standard/StandardSkeleton.styles.js +0 -211
  148. package/packages/common/src/components/Spinner.js +0 -36
  149. package/packages/common/src/constants/constants.js +0 -457
  150. package/packages/common/src/enums/enums.js +0 -4
  151. package/packages/common/src/functions/helpers.js +0 -58
  152. package/packages/common/src/functions/i18n.js +0 -69
  153. package/packages/common/src/functions/theme.js +0 -301
  154. package/packages/common/src/hooks/useConstantContext.js +0 -10
  155. package/packages/common/src/hooks/useImageUrl.js +0 -8
  156. package/packages/common/src/hooks/useImageVariant.js +0 -11
  157. package/packages/common/src/hooks/useLeadForm.js +0 -129
  158. package/packages/common/src/hooks/useThemeMode.js +0 -30
  159. package/packages/common/src/locales/bg.json.js +0 -363
  160. package/packages/common/src/locales/de.json.js +0 -362
  161. package/packages/common/src/locales/el.json.js +0 -362
  162. package/packages/common/src/locales/en.json.js +0 -368
  163. package/packages/common/src/locales/es.json.js +0 -362
  164. package/packages/common/src/locales/fr-be.json.js +0 -362
  165. package/packages/common/src/locales/fr.json.js +0 -362
  166. package/packages/common/src/locales/it.json.js +0 -362
  167. package/packages/common/src/locales/pl.json.js +0 -362
  168. package/packages/common/src/locales/pt-br.json.js +0 -362
  169. package/packages/common/src/locales/pt.json.js +0 -362
  170. package/packages/common/src/locales/ro.json.js +0 -362
  171. package/packages/common/src/locales/sk.json.js +0 -362
  172. package/packages/common/src/locales/sr.json.js +0 -362
  173. package/packages/common/src/providers/ConstantsProvider.js +0 -29
  174. package/packages/common/src/providers/ContainerProvider.js +0 -35
  175. package/packages/common/src/providers/FontProvider.js +0 -25
  176. package/packages/common/src/providers/ThemeProvider.js +0 -80
  177. package/packages/event-game-play/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
  178. package/packages/event-game-play/src/assets/default-quiz-bg.png.js +0 -4
  179. package/packages/event-game-play/src/assets/school.svg.js +0 -4
  180. package/packages/event-game-play/src/assets/sports_score.svg.js +0 -4
  181. package/packages/event-game-play/src/components/EventGameNotFound.js +0 -23
  182. package/packages/event-game-play/src/components/EventGamePlay.js +0 -318
  183. package/packages/event-game-play/src/components/Shared/AlertMessage.js +0 -93
  184. package/packages/event-game-play/src/components/Shared/Countdown.js +0 -125
  185. package/packages/event-game-play/src/components/Shared/FinishedGameWrapper/FinishedGameWrapper.js +0 -574
  186. package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanFixture.js +0 -60
  187. package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanFixture.styles.js +0 -29
  188. package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanSelector.js +0 -108
  189. package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanSelector.styles.js +0 -44
  190. package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberFixture.js +0 -70
  191. package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberFixture.styles.js +0 -37
  192. package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberSelector.js +0 -82
  193. package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberSelector.styles.js +0 -64
  194. package/packages/event-game-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.js +0 -70
  195. package/packages/event-game-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.styles.js +0 -98
  196. package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextFixture.js +0 -62
  197. package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextFixture.styles.js +0 -29
  198. package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextSelector.js +0 -344
  199. package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextSelector.styles.js +0 -70
  200. package/packages/event-game-play/src/components/Shared/Fixtures/shared.styles.js +0 -63
  201. package/packages/event-game-play/src/components/Shared/Leaderboard/LeaderboardComponent.js +0 -220
  202. package/packages/event-game-play/src/components/Shared/Leaderboard/LeaderboardPagination.js +0 -88
  203. package/packages/event-game-play/src/components/Shared/MainCard.js +0 -34
  204. package/packages/event-game-play/src/components/Shared/Notification.js +0 -67
  205. package/packages/event-game-play/src/components/Shared/Stepper.js +0 -151
  206. package/packages/event-game-play/src/components/Shared/Summary/EditPredictionModal.js +0 -163
  207. package/packages/event-game-play/src/components/Shared/Summary/EditPredictionModal.styles.js +0 -110
  208. package/packages/event-game-play/src/components/Shared/Summary/PredictionSummary.js +0 -118
  209. package/packages/event-game-play/src/components/Shared/Summary/PredictionSummary.styles.js +0 -180
  210. package/packages/event-game-play/src/components/Variants/Overlay/Error/EventGameOverlayError.js +0 -30
  211. package/packages/event-game-play/src/components/Variants/Overlay/EventGameOverlayVariant.js +0 -348
  212. package/packages/event-game-play/src/components/Variants/Overlay/EventGameOverlayVariant.styles.js +0 -213
  213. package/packages/event-game-play/src/components/Variants/Overlay/FinishedGame/EventGameOverlayFinishedGame.js +0 -130
  214. package/packages/event-game-play/src/components/Variants/Overlay/FinishedGame/EventGameOverlayFinishedGame.styles.js +0 -712
  215. package/packages/event-game-play/src/components/Variants/Overlay/ScoreState/EventGameOverlayScoreState.js +0 -141
  216. package/packages/event-game-play/src/components/Variants/Overlay/ScoreState/EventGameOverlayScoreState.styles.js +0 -156
  217. package/packages/event-game-play/src/components/Variants/Split/Error/EventGameSplitError.js +0 -28
  218. package/packages/event-game-play/src/components/Variants/Split/EventGameSplitVariant.js +0 -347
  219. package/packages/event-game-play/src/components/Variants/Split/EventGameSplitVariant.styles.js +0 -149
  220. package/packages/event-game-play/src/components/Variants/Split/FinishedGame/EventGameSplitFinishedGame.js +0 -119
  221. package/packages/event-game-play/src/components/Variants/Split/FinishedGame/EventGameSplitFinishedGame.styles.js +0 -230
  222. package/packages/event-game-play/src/components/Variants/Split/ScoreState/EventGameSplitScoreState.js +0 -139
  223. package/packages/event-game-play/src/components/Variants/Split/ScoreState/EventGameSplitScoreState.styles.js +0 -45
  224. package/packages/event-game-play/src/components/Variants/Standard/Error/EventGameStandardError.js +0 -29
  225. package/packages/event-game-play/src/components/Variants/Standard/EventGameStandardVariant.js +0 -329
  226. package/packages/event-game-play/src/components/Variants/Standard/EventGameStandardVariant.styles.js +0 -373
  227. package/packages/event-game-play/src/components/Variants/Standard/FinishedGame/EventGameStandardFinishedGame.js +0 -219
  228. package/packages/event-game-play/src/components/Variants/Standard/FinishedGame/EventGameStandardFinishedGame.styles.js +0 -548
  229. package/packages/event-game-play/src/components/Variants/Standard/ScoreState/EventGameStandardScoreState.js +0 -117
  230. package/packages/event-game-play/src/components/Variants/Standard/ScoreState/EventGameStandardScoreState.styles.js +0 -259
  231. package/packages/event-game-play/src/helpers/helpers.js +0 -11
  232. package/packages/event-game-play/src/hooks/useEventGameById.js +0 -27
  233. package/packages/event-game-play/src/hooks/useEventGamePrediction.js +0 -54
  234. package/packages/event-game-play/src/hooks/useEventRankings.js +0 -61
  235. package/packages/event-game-play/src/index.js +0 -4
  236. package/packages/event-game-play/src/main.js +0 -7
  237. package/packages/event-game-play/src/providers/ConstantsProvider.js +0 -17
  238. package/packages/match-quiz-play/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
  239. package/packages/match-quiz-play/src/assets/default-quiz-bg.png.js +0 -4
  240. package/packages/match-quiz-play/src/assets/school.svg.js +0 -4
  241. package/packages/match-quiz-play/src/assets/sports_score.svg.js +0 -4
  242. package/packages/match-quiz-play/src/components/Leads/CollectLeadWrapper.js +0 -65
  243. package/packages/match-quiz-play/src/components/MatchQuizNotFound.js +0 -23
  244. package/packages/match-quiz-play/src/components/MatchQuizPlay.js +0 -490
  245. package/packages/match-quiz-play/src/components/Shared/AlertMessage.js +0 -93
  246. package/packages/match-quiz-play/src/components/Shared/Countdown.js +0 -125
  247. package/packages/match-quiz-play/src/components/Shared/FinishedGameWrapper/EarnedPointsDisplay.js +0 -64
  248. package/packages/match-quiz-play/src/components/Shared/FinishedGameWrapper/FinishedGameWrapper.js +0 -854
  249. package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoFixture.js +0 -63
  250. package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoFixture.styles.js +0 -29
  251. package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelector.js +0 -143
  252. package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelector.styles.js +0 -101
  253. package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelectorSplit.js +0 -97
  254. package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelectorSplit.styles.js +0 -77
  255. package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersFixture.js +0 -61
  256. package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersFixture.styles.js +0 -29
  257. package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersSelector.js +0 -63
  258. package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersSelector.styles.js +0 -41
  259. package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/CorrectScoreFixture.js +0 -72
  260. package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/CorrectScoreFixture.styles.js +0 -30
  261. package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelector.js +0 -179
  262. package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelector.styles.js +0 -163
  263. package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelectorSplit.js +0 -103
  264. package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelectorSplit.styles.js +0 -86
  265. package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersFixture.js +0 -79
  266. package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersFixture.styles.js +0 -29
  267. package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersSelector.js +0 -213
  268. package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersSelector.styles.js +0 -293
  269. package/packages/match-quiz-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.js +0 -116
  270. package/packages/match-quiz-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.styles.js +0 -98
  271. package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoFixture.js +0 -72
  272. package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoFixture.styles.js +0 -29
  273. package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoSelector.js +0 -108
  274. package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoSelector.styles.js +0 -44
  275. package/packages/match-quiz-play/src/components/Shared/Fixtures/shared.styles.js +0 -63
  276. package/packages/match-quiz-play/src/components/Shared/Leaderboard/LeaderboardComponent.js +0 -220
  277. package/packages/match-quiz-play/src/components/Shared/Leaderboard/RoundedPagination.js +0 -207
  278. package/packages/match-quiz-play/src/components/Shared/MainCard.js +0 -34
  279. package/packages/match-quiz-play/src/components/Shared/Notification.js +0 -67
  280. package/packages/match-quiz-play/src/components/Shared/PresentedBy.js +0 -118
  281. package/packages/match-quiz-play/src/components/Shared/Stepper.js +0 -151
  282. package/packages/match-quiz-play/src/components/Shared/Summary/EditPredictionModal.js +0 -172
  283. package/packages/match-quiz-play/src/components/Shared/Summary/EditPredictionModal.styles.js +0 -109
  284. package/packages/match-quiz-play/src/components/Shared/Summary/PredictionSummary.js +0 -235
  285. package/packages/match-quiz-play/src/components/Shared/Summary/PredictionSummary.styles.js +0 -219
  286. package/packages/match-quiz-play/src/components/Variants/Overlay/Error/MatchQuizOverlayError.js +0 -45
  287. package/packages/match-quiz-play/src/components/Variants/Overlay/FinishedGame/MatchQuizOverlayFinishedGame.js +0 -157
  288. package/packages/match-quiz-play/src/components/Variants/Overlay/FinishedGame/MatchQuizOverlayFinishedGame.styles.js +0 -710
  289. package/packages/match-quiz-play/src/components/Variants/Overlay/LeadCollection/OverlayLeadAfterCollection.js +0 -35
  290. package/packages/match-quiz-play/src/components/Variants/Overlay/MatchQuizOverlayVariant.js +0 -499
  291. package/packages/match-quiz-play/src/components/Variants/Overlay/MatchQuizOverlayVariant.styles.js +0 -213
  292. package/packages/match-quiz-play/src/components/Variants/Overlay/ScoreState/MatchQuizOverlayScoreState.js +0 -178
  293. package/packages/match-quiz-play/src/components/Variants/Overlay/ScoreState/MatchQuizOverlayScoreState.styles.js +0 -128
  294. package/packages/match-quiz-play/src/components/Variants/Overlay/SignIn/MatchQuizOverlaySignIn.js +0 -120
  295. package/packages/match-quiz-play/src/components/Variants/Overlay/SignIn/MatchQuizOverlaySignIn.styles.js +0 -42
  296. package/packages/match-quiz-play/src/components/Variants/Split/Error/MatchQuizSplitError.js +0 -42
  297. package/packages/match-quiz-play/src/components/Variants/Split/FinishedGame/MatchQuizSplitFinishedGame.js +0 -185
  298. package/packages/match-quiz-play/src/components/Variants/Split/FinishedGame/MatchQuizSplitFinishedGame.styles.js +0 -233
  299. package/packages/match-quiz-play/src/components/Variants/Split/LeadCollection/SplitLeadAfterCollection.js +0 -37
  300. package/packages/match-quiz-play/src/components/Variants/Split/MatchQuizSplitVariant.js +0 -511
  301. package/packages/match-quiz-play/src/components/Variants/Split/MatchQuizSplitVariant.styles.js +0 -149
  302. package/packages/match-quiz-play/src/components/Variants/Split/ScoreState/MatchQuizSplitScoreState.js +0 -164
  303. package/packages/match-quiz-play/src/components/Variants/Split/ScoreState/MatchQuizSplitScoreState.styles.js +0 -27
  304. package/packages/match-quiz-play/src/components/Variants/Split/SignIn/MatchQuizSplitSignIn.js +0 -118
  305. package/packages/match-quiz-play/src/components/Variants/Split/SignIn/MatchQuizSplitSignIn.styles.js +0 -52
  306. package/packages/match-quiz-play/src/components/Variants/Standard/Error/MatchQuizStandardError.js +0 -43
  307. package/packages/match-quiz-play/src/components/Variants/Standard/FinishedGame/MatchQuizStandardFinishedGame.js +0 -234
  308. package/packages/match-quiz-play/src/components/Variants/Standard/FinishedGame/MatchQuizStandardFinishedGame.styles.js +0 -548
  309. package/packages/match-quiz-play/src/components/Variants/Standard/LeadCollection/StandardLeadAfterCollection.js +0 -35
  310. package/packages/match-quiz-play/src/components/Variants/Standard/MatchQuizStandardVariant.js +0 -513
  311. package/packages/match-quiz-play/src/components/Variants/Standard/MatchQuizStandardVariant.styles.js +0 -376
  312. package/packages/match-quiz-play/src/components/Variants/Standard/ScoreState/MatchQuizStandardScoreState.js +0 -135
  313. package/packages/match-quiz-play/src/components/Variants/Standard/ScoreState/MatchQuizStandardScoreState.styles.js +0 -259
  314. package/packages/match-quiz-play/src/components/Variants/Standard/SignIn/MatchQuizStandardSignIn.js +0 -129
  315. package/packages/match-quiz-play/src/components/Variants/Standard/SignIn/MatchQuizStandardSignIn.styles.js +0 -239
  316. package/packages/match-quiz-play/src/helpers/helpers.js +0 -9
  317. package/packages/match-quiz-play/src/hooks/useMatchQuiz.js +0 -42
  318. package/packages/match-quiz-play/src/hooks/useMatchQuizLeaderboard.js +0 -53
  319. package/packages/match-quiz-play/src/hooks/useMatchQuizMarketsResults.js +0 -29
  320. package/packages/match-quiz-play/src/hooks/useMatchQuizPrediction.js +0 -38
  321. package/packages/match-quiz-play/src/index.js +0 -4
  322. package/packages/match-quiz-play/src/main.js +0 -7
  323. package/packages/match-quiz-play/src/providers/ConstantsProvider.js +0 -26
  324. package/packages/personality-quiz-play/dist/personality-quiz-play.es.js +0 -39513
  325. package/packages/poll-vote/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
  326. package/packages/poll-vote/src/assets/default-quiz-bg.png.js +0 -4
  327. package/packages/poll-vote/src/components/Leads/CollectLeadWrapper.js +0 -65
  328. package/packages/poll-vote/src/components/PollNotFound.js +0 -23
  329. package/packages/poll-vote/src/components/PollVote.js +0 -270
  330. package/packages/poll-vote/src/components/Shared/AlertMessage.js +0 -93
  331. package/packages/poll-vote/src/components/Shared/Answers/PollOption.js +0 -132
  332. package/packages/poll-vote/src/components/Shared/Answers/PollOptions.js +0 -82
  333. package/packages/poll-vote/src/components/Shared/Button.js +0 -76
  334. package/packages/poll-vote/src/components/Shared/MainCard.js +0 -36
  335. package/packages/poll-vote/src/components/Shared/PresentedBy.js +0 -118
  336. package/packages/poll-vote/src/components/Shared/Results/PollOptionResult.js +0 -257
  337. package/packages/poll-vote/src/components/Shared/Results/PollOptionsResults.js +0 -232
  338. package/packages/poll-vote/src/components/Variants/Overlay/Error/PollOverlayError.js +0 -45
  339. package/packages/poll-vote/src/components/Variants/Overlay/LeadCollection/OverlayLeadAfterCollection.js +0 -34
  340. package/packages/poll-vote/src/components/Variants/Overlay/PollOverlayVariant.js +0 -137
  341. package/packages/poll-vote/src/components/Variants/Overlay/PollOverlayVariant.styles.js +0 -105
  342. package/packages/poll-vote/src/components/Variants/Overlay/ScoreState/PollOverlayScoreState.js +0 -107
  343. package/packages/poll-vote/src/components/Variants/Overlay/ScoreState/PollOverlayScoreState.styles.js +0 -178
  344. package/packages/poll-vote/src/components/Variants/Overlay/SignIn/PollOverlaySignIn.js +0 -120
  345. package/packages/poll-vote/src/components/Variants/Overlay/SignIn/PollOverlaySignIn.styles.js +0 -42
  346. package/packages/poll-vote/src/components/Variants/Split/Error/PollSplitError.js +0 -42
  347. package/packages/poll-vote/src/components/Variants/Split/LeadCollection/SplitLeadAfterCollection.js +0 -36
  348. package/packages/poll-vote/src/components/Variants/Split/PollSplitVariant.js +0 -231
  349. package/packages/poll-vote/src/components/Variants/Split/PollSplitVariant.styles.js +0 -332
  350. package/packages/poll-vote/src/components/Variants/Split/ScoreState/PollSplitScoreState.js +0 -155
  351. package/packages/poll-vote/src/components/Variants/Split/ScoreState/PollSplitScoreState.styles.js +0 -156
  352. package/packages/poll-vote/src/components/Variants/Split/SignIn/PollSplitSignIn.js +0 -117
  353. package/packages/poll-vote/src/components/Variants/Split/SignIn/PollSplitSignIn.styles.js +0 -52
  354. package/packages/poll-vote/src/components/Variants/Standard/Error/PollStandardError.js +0 -43
  355. package/packages/poll-vote/src/components/Variants/Standard/LeadCollection/StandardLeadAfterCollection.js +0 -34
  356. package/packages/poll-vote/src/components/Variants/Standard/PollStandardVariant.js +0 -138
  357. package/packages/poll-vote/src/components/Variants/Standard/PollStandardVariant.styles.js +0 -92
  358. package/packages/poll-vote/src/components/Variants/Standard/ScoreState/PollStandardScoreState.js +0 -146
  359. package/packages/poll-vote/src/components/Variants/Standard/ScoreState/PollStandardScoreState.styles.js +0 -164
  360. package/packages/poll-vote/src/components/Variants/Standard/SignIn/PollStandardSignIn.js +0 -129
  361. package/packages/poll-vote/src/components/Variants/Standard/SignIn/PollStandardSignIn.styles.js +0 -248
  362. package/packages/poll-vote/src/hooks/useEmbedCodeContainer.js +0 -30
  363. package/packages/poll-vote/src/hooks/useMyPollVote.js +0 -43
  364. package/packages/poll-vote/src/hooks/usePollById.js +0 -16
  365. package/packages/poll-vote/src/hooks/usePollOptionsImages.js +0 -19
  366. package/packages/poll-vote/src/index.js +0 -4
  367. package/packages/poll-vote/src/main.js +0 -7
@@ -1,68 +0,0 @@
1
- import { j as e } from "../../../../../../node_modules/react/jsx-runtime.js";
2
- import { Box as o, Typography as i } from "@mui/joy";
3
- import { useInternalTheme as C, useSpacingScale as T, useImageBackgroundGradient as F } from "../../../functions/theme.js";
4
- import { sanitizeBackgroundUrl as b, stripHtmlTags as v } from "../../../functions/helpers.js";
5
- import "../../../../../../node_modules/i18next/dist/esm/i18next.js";
6
- import "../../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js";
7
- import { WidgetTemplate as B } from "../../../enums/enums.js";
8
- import I from "../../Rules.js";
9
- import "react";
10
- import "../../../providers/ConstantsProvider.js";
11
- import { createStyles as R } from "./OverlaySkeleton.styles.js";
12
- import "../../../providers/ContainerProvider.js";
13
- const q = ({
14
- entity: s,
15
- headline: d,
16
- finalImage: m,
17
- children: x,
18
- rulesDisplay: p
19
- }) => {
20
- var l, c;
21
- const t = C(), a = T(), h = F(
22
- B.OVERLAY
23
- ), n = ((l = s.branding) == null ? void 0 : l.colors) || null, u = (n == null ? void 0 : n.contentColor) || t.colorSchemes.dark.textColor, g = t.customFontFamily.dark.primary, j = t.customFontFamily.dark.secondary, y = t.customRadius.dark.md, k = (c = t.border) == null ? void 0 : c.dark.size, f = t.colorSchemes.dark.textColor, S = b(m), r = R({
24
- spacingScale: a,
25
- brandingColors: n,
26
- secondaryColor: u,
27
- fontFamilyPrimary: g,
28
- fontFamilySecondary: j,
29
- mdBorderRadius: y,
30
- borderSize: k,
31
- backgroundImage: S,
32
- darkTextColor: f,
33
- imageBackgroundGradient: h
34
- });
35
- return /* @__PURE__ */ e.jsxs(o, { sx: r.mainContainer, children: [
36
- /* @__PURE__ */ e.jsx(o, { children: /* @__PURE__ */ e.jsx(o, { sx: r.headlineSection, children: /* @__PURE__ */ e.jsx(o, { sx: r.headlineContent, children: /* @__PURE__ */ e.jsxs(o, { sx: r.headlineContentInner, children: [
37
- /* @__PURE__ */ e.jsxs(
38
- o,
39
- {
40
- sx: {
41
- display: "flex",
42
- alignItems: "center",
43
- gap: a["3xs"]
44
- },
45
- children: [
46
- /* @__PURE__ */ e.jsx(i, { level: "body-sm", sx: r.headlineText, children: d }),
47
- /* @__PURE__ */ e.jsx(
48
- I,
49
- {
50
- rulesDisplay: p,
51
- isOverlayVariant: !0,
52
- rules: s.rules || ""
53
- }
54
- )
55
- ]
56
- }
57
- ),
58
- /* @__PURE__ */ e.jsxs(o, { sx: r.contentContainer, children: [
59
- /* @__PURE__ */ e.jsx(i, { level: "h4", sx: r.titleText, children: s.title }),
60
- s.description && /* @__PURE__ */ e.jsx(i, { level: "body-lg", sx: r.descriptionText, children: v(s.description) })
61
- ] })
62
- ] }) }) }) }),
63
- /* @__PURE__ */ e.jsx(o, { sx: r.mainContentSection, children: x })
64
- ] });
65
- };
66
- export {
67
- q as default
68
- };
@@ -1,100 +0,0 @@
1
- const n = (e) => {
2
- var t;
3
- return {
4
- // Main container with background overlay
5
- mainContainer: {
6
- display: "flex",
7
- flexDirection: "column",
8
- justifyContent: "space-between",
9
- gap: "40px",
10
- p: e.spacingScale.xl,
11
- boxShadow: "md",
12
- border: (t = e.brandingColors) != null && t.borderColor ? `${e.borderSize} solid ${e.brandingColors.borderColor}` : "none",
13
- overflow: "hidden",
14
- backgroundImage: e.backgroundImage,
15
- backgroundPosition: "center",
16
- backgroundSize: "cover",
17
- position: "relative",
18
- borderRadius: e.mdBorderRadius,
19
- minHeight: "250px",
20
- "&::before": {
21
- content: '""',
22
- position: "absolute",
23
- background: e.imageBackgroundGradient,
24
- top: 0,
25
- left: 0,
26
- right: 0,
27
- bottom: 0,
28
- borderRadius: "inherit",
29
- zIndex: 0
30
- }
31
- },
32
- // Headline section wrapper
33
- headlineSection: {
34
- display: "flex",
35
- justifyContent: "space-between",
36
- flex: "1 0 0",
37
- alignSelf: "stretch"
38
- },
39
- // Headline content container
40
- headlineContent: {
41
- display: "flex",
42
- flexDirection: "column",
43
- alignItems: "flex-start",
44
- flex: "1 0 0",
45
- gap: "16px"
46
- },
47
- // Headline content with z-index
48
- headlineContentInner: {
49
- zIndex: 10
50
- },
51
- // Headline typography
52
- headlineText: {
53
- fontWeight: 500,
54
- lineHeight: "166%",
55
- letterSpacing: "1px",
56
- textAlign: { xs: "center", md: "left" },
57
- color: e.secondaryColor,
58
- opacity: "70%",
59
- textTransform: "uppercase",
60
- fontFamily: e.fontFamilySecondary,
61
- fontSize: "0.75em"
62
- },
63
- // Content container
64
- contentContainer: {
65
- display: "flex",
66
- flexDirection: "column",
67
- gap: e.spacingScale["3xs"]
68
- },
69
- // Title typography
70
- titleText: {
71
- fontWeight: 700,
72
- lineHeight: "133%",
73
- letterSpacing: "0px",
74
- textAlign: { xs: "center", md: "left" },
75
- fontSize: "1.5em",
76
- color: e.darkTextColor,
77
- fontFamily: e.fontFamilyPrimary
78
- },
79
- // Description typography
80
- descriptionText: {
81
- fontWeight: 400,
82
- lineHeight: "140%",
83
- letterSpacing: "0.15px",
84
- fontSize: "1.25em",
85
- textAlign: { xs: "center", md: "left" },
86
- color: e.secondaryColor,
87
- opacity: "70%",
88
- fontFamily: e.fontFamilyPrimary
89
- },
90
- // Main content section
91
- mainContentSection: {
92
- display: "flex",
93
- flexDirection: "column",
94
- gap: "24px"
95
- }
96
- };
97
- };
98
- export {
99
- n as createStyles
100
- };
@@ -1,65 +0,0 @@
1
- import { j as e } from "../../../../../../../node_modules/react/jsx-runtime.js";
2
- import { Box as t, Typography as l } from "@mui/joy";
3
- import { isMobile as T, useInternalTheme as b, useSpacingScale as F } from "../../../../functions/theme.js";
4
- import { stripHtmlTags as k } from "../../../../functions/helpers.js";
5
- import "../../../../../../../node_modules/i18next/dist/esm/i18next.js";
6
- import "../../../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js";
7
- import { createStyles as v } from "./OverlayScoreStateSkeleton.styles.js";
8
- import R from "../../../Rules.js";
9
- const V = ({
10
- entity: n,
11
- headline: a,
12
- backgroundImage: d,
13
- imageBackgroundGradient: m,
14
- children: x,
15
- rulesDisplay: h
16
- }) => {
17
- var c;
18
- const p = T(), r = b(), i = F(), s = ((c = n.branding) == null ? void 0 : c.colors) || null, y = (s == null ? void 0 : s.secondaryColor) || r.colorSchemes.dark.textSecondary, u = r.customFontFamily.light.primary, S = r.customFontFamily.light.secondary, j = r.customRadius.light.md, f = r.border.light.size, g = (s == null ? void 0 : s.borderColor) || r.colorSchemes.dark.secondaryContainer, C = r.colorSchemes.dark.textColor, o = v({
19
- spacingScale: i,
20
- brandingColors: s,
21
- secondaryColor: y,
22
- fontFamilyPrimary: u,
23
- fontFamilySecondary: S,
24
- mdBorderRadius: j,
25
- borderSize: f,
26
- borderColor: g,
27
- darkTextColor: C,
28
- backgroundImage: d,
29
- imageBackgroundGradient: m,
30
- isMobile: p
31
- });
32
- return /* @__PURE__ */ e.jsxs(t, { sx: o.mainContainer, children: [
33
- /* @__PURE__ */ e.jsx(t, { children: /* @__PURE__ */ e.jsx(t, { sx: o.headlineSection, children: /* @__PURE__ */ e.jsx(t, { sx: o.headlineContent, children: /* @__PURE__ */ e.jsxs(t, { sx: o.headlineContentInner, children: [
34
- /* @__PURE__ */ e.jsxs(
35
- t,
36
- {
37
- sx: {
38
- display: "flex",
39
- alignItems: "center",
40
- gap: i["3xs"]
41
- },
42
- children: [
43
- /* @__PURE__ */ e.jsx(l, { level: "body-sm", sx: o.headlineText, children: a }),
44
- /* @__PURE__ */ e.jsx(
45
- R,
46
- {
47
- rulesDisplay: h,
48
- isOverlayVariant: !0,
49
- rules: n.rules || ""
50
- }
51
- )
52
- ]
53
- }
54
- ),
55
- /* @__PURE__ */ e.jsxs(t, { sx: o.contentContainer, children: [
56
- /* @__PURE__ */ e.jsx(l, { level: "h4", sx: o.titleText, children: n.title }),
57
- /* @__PURE__ */ e.jsx(l, { level: "body-lg", sx: o.descriptionText, children: k(n.description) })
58
- ] })
59
- ] }) }) }) }),
60
- x
61
- ] });
62
- };
63
- export {
64
- V as default
65
- };
@@ -1,90 +0,0 @@
1
- const t = (e) => ({
2
- // Main container with background overlay
3
- mainContainer: {
4
- display: "flex",
5
- flexDirection: "column",
6
- gap: "40px",
7
- p: e.spacingScale.xl,
8
- boxShadow: "md",
9
- border: `${e.borderSize} solid ${e.borderColor}`,
10
- overflow: "hidden",
11
- backgroundImage: e.backgroundImage,
12
- backgroundPosition: "center",
13
- backgroundSize: "cover",
14
- position: "relative",
15
- borderRadius: e.mdBorderRadius,
16
- minHeight: "250px",
17
- "&::before": {
18
- content: '""',
19
- position: "absolute",
20
- top: 0,
21
- left: 0,
22
- right: 0,
23
- bottom: 0,
24
- borderRadius: "inherit",
25
- zIndex: 0,
26
- background: e.imageBackgroundGradient
27
- }
28
- },
29
- // Headline section wrapper
30
- headlineSection: {
31
- display: "flex",
32
- justifyContent: "space-between",
33
- flex: "1 0 0",
34
- alignSelf: "stretch"
35
- },
36
- // Headline content container
37
- headlineContent: {
38
- display: "flex",
39
- flexDirection: "column",
40
- alignItems: "flex-start",
41
- flex: "1 0 0",
42
- gap: "16px"
43
- },
44
- // Headline content with z-index
45
- headlineContentInner: {
46
- zIndex: 10
47
- },
48
- // Headline typography
49
- headlineText: {
50
- fontWeight: 500,
51
- lineHeight: "166%",
52
- letterSpacing: "1px",
53
- textAlign: { xs: "center", md: "left" },
54
- color: e.secondaryColor,
55
- opacity: "70%",
56
- textTransform: "uppercase",
57
- fontFamily: e.fontFamilySecondary,
58
- fontSize: "0.75em"
59
- },
60
- // Content container
61
- contentContainer: {
62
- display: "flex",
63
- flexDirection: "column",
64
- gap: e.spacingScale["3xs"]
65
- },
66
- // Title typography
67
- titleText: {
68
- fontWeight: 700,
69
- lineHeight: "133%",
70
- letterSpacing: "0px",
71
- textAlign: { xs: "center", md: "left" },
72
- fontSize: "1.5em",
73
- color: e.darkTextColor,
74
- fontFamily: e.fontFamilyPrimary
75
- },
76
- // Description typography
77
- descriptionText: {
78
- fontWeight: 400,
79
- lineHeight: "140%",
80
- letterSpacing: "0.15px",
81
- fontSize: "1.25em",
82
- textAlign: { xs: "center", md: "left" },
83
- color: e.secondaryColor,
84
- opacity: "70%",
85
- fontFamily: e.fontFamilyPrimary
86
- }
87
- });
88
- export {
89
- t as createStyles
90
- };
@@ -1,34 +0,0 @@
1
- import { j as u } from "../../../../../../../node_modules/react/jsx-runtime.js";
2
- import { Box as S } from "@mui/joy";
3
- import { useInternalTheme as f, useSpacingScale as x } from "../../../../functions/theme.js";
4
- import "../../../../../../../node_modules/i18next/dist/esm/i18next.js";
5
- import "../../../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js";
6
- import { createStyles as h } from "./OverlayScoreStateWrapperSkeleton.styles.js";
7
- const k = ({
8
- entity: s,
9
- backgroundImage: a,
10
- imageBackgroundGradient: i,
11
- children: m,
12
- isWrappedWithScoreStateWrapper: e = !1
13
- }) => {
14
- var n;
15
- const o = f(), c = x(), r = ((n = s.branding) == null ? void 0 : n.colors) || null, l = o.customRadius.light.md, d = o.border.light.size, p = (r == null ? void 0 : r.borderColor) || o.colorSchemes.dark.secondaryContainer, t = h({
16
- spacingScale: c,
17
- mdBorderRadius: l,
18
- borderSize: d,
19
- borderColor: p,
20
- backgroundImage: a,
21
- imageBackgroundGradient: i,
22
- isWrappedWithScoreStateWrapper: e
23
- });
24
- return /* @__PURE__ */ u.jsx(
25
- S,
26
- {
27
- sx: e ? t.mainContainerWithWrapper : t.mainContainer,
28
- children: m
29
- }
30
- );
31
- };
32
- export {
33
- k as default
34
- };
@@ -1,55 +0,0 @@
1
- const o = (e) => ({
2
- // Main container with background overlay (with ScoreStateWrapper)
3
- mainContainerWithWrapper: {
4
- boxShadow: "md",
5
- border: `${e.borderSize} solid ${e.borderColor}`,
6
- overflow: "hidden",
7
- backgroundImage: e.backgroundImage,
8
- backgroundSize: "cover",
9
- backgroundPosition: "center",
10
- position: "relative",
11
- borderRadius: e.mdBorderRadius,
12
- minHeight: "250px",
13
- "&::before": {
14
- content: '""',
15
- position: "absolute",
16
- top: 0,
17
- left: 0,
18
- right: 0,
19
- bottom: 0,
20
- borderRadius: "inherit",
21
- zIndex: 0,
22
- background: e.imageBackgroundGradient
23
- }
24
- },
25
- // Main container with background overlay (without ScoreStateWrapper)
26
- mainContainer: {
27
- display: "flex",
28
- flexDirection: "column",
29
- gap: "40px",
30
- p: e.spacingScale.xl,
31
- boxShadow: "md",
32
- border: `${e.borderSize} solid ${e.borderColor}`,
33
- overflow: "hidden",
34
- backgroundImage: e.backgroundImage,
35
- backgroundPosition: "center",
36
- backgroundSize: "cover",
37
- position: "relative",
38
- borderRadius: e.mdBorderRadius,
39
- minHeight: "250px",
40
- "&::before": {
41
- content: '""',
42
- position: "absolute",
43
- top: 0,
44
- left: 0,
45
- right: 0,
46
- bottom: 0,
47
- borderRadius: "inherit",
48
- zIndex: 0,
49
- background: e.imageBackgroundGradient
50
- }
51
- }
52
- });
53
- export {
54
- o as createStyles
55
- };
@@ -1,58 +0,0 @@
1
- import { j as e } from "../../../../../../../node_modules/react/jsx-runtime.js";
2
- import { Box as s, Typography as i } from "@mui/joy";
3
- import { isMobile as b, useInternalTheme as k, useSpacingScale as T } from "../../../../functions/theme.js";
4
- import { stripHtmlTags as F } from "../../../../functions/helpers.js";
5
- import "../../../../../../../node_modules/i18next/dist/esm/i18next.js";
6
- import "../../../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js";
7
- import { createStyles as I } from "./OverlaySignInSkeleton.styles.js";
8
- import v from "../../../Rules.js";
9
- const P = ({
10
- entity: n,
11
- headline: d,
12
- backgroundImage: x,
13
- imageBackgroundGradient: m,
14
- signInContent: p,
15
- brandingContent: h,
16
- rulesDisplay: u
17
- }) => {
18
- var c;
19
- const a = b(), o = k(), l = T(), t = ((c = n.branding) == null ? void 0 : c.colors) || null, y = (t == null ? void 0 : t.contentColor) || o.colorSchemes.dark.textColor, j = o.customFontFamily.dark.primary, f = o.customFontFamily.dark.secondary, g = o.customRadius.dark.md, S = o.border.dark.size, C = o.colorSchemes.dark.textColor, r = I({
20
- spacingScale: l,
21
- brandingColors: t,
22
- secondaryColor: y,
23
- fontFamilyPrimary: j,
24
- fontFamilySecondary: f,
25
- mdBorderRadius: g,
26
- borderSize: S,
27
- darkTextColor: C,
28
- backgroundImage: x,
29
- imageBackgroundGradient: m,
30
- isMobile: a
31
- });
32
- return /* @__PURE__ */ e.jsxs(s, { sx: r.mainContainer, children: [
33
- /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx(s, { sx: r.headlineSection, children: /* @__PURE__ */ e.jsx(s, { sx: r.headlineContent, children: /* @__PURE__ */ e.jsxs(s, { sx: { ...r.headlineContentInner, display: "flex", flexDirection: "column", alignItems: a ? "center" : "flex-start", gap: l["3xs"] }, children: [
34
- /* @__PURE__ */ e.jsxs(s, { sx: { display: "flex", alignItems: "center", gap: l["3xs"] }, children: [
35
- /* @__PURE__ */ e.jsx(i, { level: "body-sm", sx: r.headlineText, children: d }),
36
- /* @__PURE__ */ e.jsx(
37
- v,
38
- {
39
- rulesDisplay: u,
40
- isOverlayVariant: !0,
41
- rules: n.rules || ""
42
- }
43
- )
44
- ] }),
45
- /* @__PURE__ */ e.jsxs(s, { sx: r.contentContainer, children: [
46
- /* @__PURE__ */ e.jsx(i, { level: "h4", sx: r.titleText, children: n.title }),
47
- /* @__PURE__ */ e.jsx(i, { level: "body-lg", sx: r.descriptionText, children: F(n.description) })
48
- ] })
49
- ] }) }) }) }),
50
- /* @__PURE__ */ e.jsxs(s, { sx: r.bottomContainer, children: [
51
- h,
52
- /* @__PURE__ */ e.jsx(s, { sx: r.signInWrapper, children: p })
53
- ] })
54
- ] });
55
- };
56
- export {
57
- P as default
58
- };
@@ -1,105 +0,0 @@
1
- const n = (e) => {
2
- var t;
3
- return {
4
- // Main container with background overlay
5
- mainContainer: {
6
- display: "flex",
7
- flexDirection: "column",
8
- justifyContent: "space-between",
9
- gap: "40px",
10
- p: e.spacingScale.xl,
11
- boxShadow: "md",
12
- border: (t = e.brandingColors) != null && t.borderColor ? `${e.borderSize} solid ${e.brandingColors.borderColor}` : "none",
13
- overflow: "hidden",
14
- backgroundImage: e.backgroundImage,
15
- backgroundSize: "cover",
16
- backgroundPosition: "center",
17
- position: "relative",
18
- borderRadius: e.mdBorderRadius,
19
- minHeight: "250px",
20
- "&::before": {
21
- content: '""',
22
- position: "absolute",
23
- background: e.imageBackgroundGradient,
24
- top: 0,
25
- left: 0,
26
- right: 0,
27
- bottom: 0,
28
- borderRadius: "inherit",
29
- zIndex: 0
30
- }
31
- },
32
- // Headline section wrapper
33
- headlineSection: {
34
- display: "flex",
35
- justifyContent: "space-between",
36
- flex: "1 0 0",
37
- alignSelf: "stretch"
38
- },
39
- // Headline content container
40
- headlineContent: {
41
- display: "flex",
42
- flexDirection: "column",
43
- alignItems: "flex-start",
44
- flex: "1 0 0",
45
- gap: "16px"
46
- },
47
- // Headline content with z-index
48
- headlineContentInner: {
49
- zIndex: 10
50
- },
51
- headlineText: {
52
- fontWeight: 500,
53
- lineHeight: "166%",
54
- letterSpacing: "1px",
55
- textAlign: e.isMobile ? "center" : "left",
56
- color: e.secondaryColor,
57
- opacity: "70%",
58
- textTransform: "uppercase",
59
- fontFamily: e.fontFamilySecondary,
60
- fontSize: "0.75em"
61
- },
62
- // Content container
63
- contentContainer: {
64
- display: "flex",
65
- flexDirection: "column",
66
- gap: e.spacingScale["3xs"]
67
- },
68
- titleText: {
69
- fontWeight: 700,
70
- lineHeight: "133%",
71
- letterSpacing: "0px",
72
- textAlign: e.isMobile ? "center" : "left",
73
- fontSize: "1.5em",
74
- color: e.darkTextColor,
75
- fontFamily: e.fontFamilyPrimary
76
- },
77
- descriptionText: {
78
- fontWeight: 400,
79
- lineHeight: "140%",
80
- letterSpacing: "0.15px",
81
- fontSize: "1.25em",
82
- textAlign: e.isMobile ? "center" : "left",
83
- color: e.secondaryColor,
84
- opacity: "70%",
85
- fontFamily: e.fontFamilyPrimary
86
- },
87
- // Bottom container
88
- bottomContainer: {
89
- display: "flex",
90
- alignItems: "center",
91
- justifyContent: "space-between",
92
- flexDirection: e.isMobile ? "column-reverse" : "row",
93
- gap: e.spacingScale.md
94
- },
95
- // Sign-in wrapper to always position at flex-end
96
- signInWrapper: {
97
- display: "flex",
98
- justifyContent: "flex-end",
99
- flex: 1
100
- }
101
- };
102
- };
103
- export {
104
- n as createStyles
105
- };
@@ -1,98 +0,0 @@
1
- import { j as e } from "../../../../../../../node_modules/react/jsx-runtime.js";
2
- import { Box as n, Typography as a, Button as P } from "@mui/joy";
3
- import { useInternalTheme as F, isMobile as M, useColors as i, useCornerRadius as c, useFontFamily as g, useSpacingScale as E, useImageBackgroundGradient as v } from "../../../../functions/theme.js";
4
- import { stripHtmlTags as D, hexToRgb as q } from "../../../../functions/helpers.js";
5
- import "../../../../../../../node_modules/i18next/dist/esm/i18next.js";
6
- import "../../../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js";
7
- import { WidgetTemplate as y } from "../../../../enums/enums.js";
8
- import G from "../../../Rules.js";
9
- import "react";
10
- import "../../../../providers/ConstantsProvider.js";
11
- import L from "../../../AlertMessage.js";
12
- import V from "../../../../../../../node_modules/@mui/icons-material/esm/Replay.js";
13
- import { createStyles as W } from "./SplitApiErrorSkeleton.styles.js";
14
- import { useImageVariant as H } from "../../../../hooks/useImageVariant.js";
15
- import "../../../../providers/ContainerProvider.js";
16
- import { useTranslation as O } from "../../../../../../../node_modules/react-i18next/dist/es/useTranslation.js";
17
- const oe = (t) => {
18
- var u;
19
- const m = F(), h = M(), o = ((u = t.entity.branding) == null ? void 0 : u.colors) || null, f = H(
20
- {
21
- images: t.entity.images || null,
22
- imagePlaceholder: t.defaultImagePlaceholderUrl || ""
23
- },
24
- y.SPLIT
25
- ), { t: s } = O(), j = i().textPrimary, p = i().surface, T = i().onSurface, d = (o == null ? void 0 : o.backgroundColor) || i().surfaceVariant, b = c(), A = g().secondary, C = g().primary, S = c().md, x = i().textColor, l = E(), B = v(
26
- y.SPLIT
27
- ), k = t.isApiError ? s("common.error.title") : s("common.authentication.accessRequired"), I = t.isApiError ? t.apiErrorMessage || s("common.error.message") : s("common.authentication.invalidOrMissingAuth"), r = W({
28
- finalImage: f,
29
- spacingScale: l,
30
- borderRadius: c(),
31
- fontFamilyPrimary: C,
32
- fontFamilySecondary: A,
33
- mdBorderRadius: S,
34
- textColor: x,
35
- brandingColors: o,
36
- darkTextColor: m.colorSchemes.dark.textColor,
37
- imageBackgroundGradient: B,
38
- textPrimary: j,
39
- surfaceColor: p,
40
- onSurfaceColor: T,
41
- isMobile: h
42
- }), R = () => t.isApiError ? /* @__PURE__ */ e.jsx(
43
- n,
44
- {
45
- sx: {
46
- p: l.lg,
47
- gap: l.lg,
48
- display: "flex",
49
- flexDirection: "column",
50
- backdropFilter: "blur(4px)",
51
- bgcolor: `rgba(${d ? q(d || "").replace(/[^\d,]/g, "") : ""}, 0.5)`,
52
- borderRadius: b.sm
53
- },
54
- children: /* @__PURE__ */ e.jsx(n, { sx: r.ctaContainer, children: /* @__PURE__ */ e.jsx(n, { sx: r.ctaContentWrapper, children: /* @__PURE__ */ e.jsx(n, { sx: r.buttonsContainer, children: /* @__PURE__ */ e.jsx(P, { sx: r.tryAgainButton, onClick: t.toggleTryAgain, children: /* @__PURE__ */ e.jsxs(n, { sx: r.tryAgainButtonContent, children: [
55
- /* @__PURE__ */ e.jsx(V, { sx: r.tryAgainIcon }),
56
- /* @__PURE__ */ e.jsx(a, { sx: r.tryAgainText, children: t.tryAgainButtonText })
57
- ] }) }) }) }) })
58
- }
59
- ) : /* @__PURE__ */ e.jsx(e.Fragment, {});
60
- return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
61
- /* @__PURE__ */ e.jsx(n, { sx: r.headlineSection, children: /* @__PURE__ */ e.jsxs(n, { sx: r.headlineContent, children: [
62
- /* @__PURE__ */ e.jsxs(n, { children: [
63
- /* @__PURE__ */ e.jsxs(n, { sx: { display: "flex", alignItems: "center", gap: l["3xs"] }, children: [
64
- /* @__PURE__ */ e.jsx(a, { level: "body-sm", sx: r.headlineText, children: t.headline }),
65
- /* @__PURE__ */ e.jsx(
66
- G,
67
- {
68
- rulesDisplay: t.rulesDisplay,
69
- rules: t.entity.rules || ""
70
- }
71
- )
72
- ] }),
73
- /* @__PURE__ */ e.jsxs(n, { sx: r.contentContainer, children: [
74
- /* @__PURE__ */ e.jsx(a, { level: "body-lg", sx: r.titleText, children: t.entity.title }),
75
- /* @__PURE__ */ e.jsx(a, { level: "body-md", sx: r.descriptionText, children: D(t.entity.description) })
76
- ] })
77
- ] }),
78
- /* @__PURE__ */ e.jsx(n, { sx: r.presentedByDesktop, children: t.renderPresentedBy(
79
- (o == null ? void 0 : o.contentColor) || m.colorSchemes.dark.textColor
80
- ) })
81
- ] }) }),
82
- /* @__PURE__ */ e.jsxs(n, { sx: r.questionArea, children: [
83
- /* @__PURE__ */ e.jsx(
84
- L,
85
- {
86
- variant: "error",
87
- title: k,
88
- message: I
89
- }
90
- ),
91
- R(),
92
- /* @__PURE__ */ e.jsx(n, { sx: r.presentedByMobile, children: t.renderPresentedBy((o == null ? void 0 : o.contentColor) || x) })
93
- ] })
94
- ] });
95
- };
96
- export {
97
- oe as default
98
- };