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.
- package/ClassicQuizPlay.js +4847 -3
- package/CollectLead.js +1253 -3
- package/EventGamePlay.js +7595 -3
- package/MatchQuizPlay.js +11002 -3
- package/PersonalityQuizPlay.js +39512 -3
- package/PollVote.js +4167 -3
- package/chunks/CollectLeadForm-DtmR2Vuf.js +844 -0
- package/chunks/Error-DhQL89pn.js +120 -0
- package/chunks/NotFoundSkeleton-BYJTzYJR.js +2425 -0
- package/chunks/OverlayLeadAfterCollection-DnqztPJ5.js +899 -0
- package/chunks/OverlayScoreStateSkeleton-C9FUhcnd.js +147 -0
- package/chunks/Portal-BWqqFvVm.js +13823 -0
- package/package.json +1 -1
- package/_virtual/_commonjsHelpers.js +0 -6
- package/_virtual/index.js +0 -4
- package/_virtual/index2.js +0 -4
- package/_virtual/index3.js +0 -4
- package/_virtual/jsx-runtime.js +0 -4
- package/_virtual/react-is.development.js +0 -4
- package/_virtual/react-is.development2.js +0 -4
- package/_virtual/react-is.production.min.js +0 -4
- package/_virtual/react-is.production.min2.js +0 -4
- package/_virtual/react-jsx-runtime.development.js +0 -4
- package/_virtual/react-jsx-runtime.production.js +0 -4
- package/packages/classic-quiz-play/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
- package/packages/classic-quiz-play/src/assets/default-quiz-bg.png.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-bookmark-fav-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-crow-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-fire-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-flag-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-medal-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-rocket-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-target-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-thumb-down-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/bottle-with-popping-cork.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/crown.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/direct-hit.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/hundred-points.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/person-facepalming.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/sports-medal.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/thumbs-down.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/trophy.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/upside-down-face.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/hexagons/shape-hexagon-danger.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/hexagons/shape-hexagon-success.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/hexagons/shape-hexagon-warning.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/info.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/school.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/sports_score.svg.js +0 -4
- package/packages/classic-quiz-play/src/components/ClassicQuizNotFound.js +0 -23
- package/packages/classic-quiz-play/src/components/ClassicQuizPlay.js +0 -353
- package/packages/classic-quiz-play/src/components/Leads/CollectLeadWrapper.js +0 -65
- package/packages/classic-quiz-play/src/components/Shared/AlertMessage.js +0 -93
- package/packages/classic-quiz-play/src/components/Shared/Answers/Answers.js +0 -80
- package/packages/classic-quiz-play/src/components/Shared/Answers/Option.js +0 -130
- package/packages/classic-quiz-play/src/components/Shared/Button.js +0 -67
- package/packages/classic-quiz-play/src/components/Shared/MainCard.js +0 -34
- package/packages/classic-quiz-play/src/components/Shared/PresentedBy.js +0 -122
- package/packages/classic-quiz-play/src/components/Shared/ScoreStateWrapper.js +0 -443
- package/packages/classic-quiz-play/src/components/Shared/Stepper.js +0 -59
- package/packages/classic-quiz-play/src/components/Shared/Stopwatch.js +0 -109
- package/packages/classic-quiz-play/src/components/Variants/Overlay/Error/OverlayError.js +0 -45
- package/packages/classic-quiz-play/src/components/Variants/Overlay/LeadCollection/OverlayLeadAfterCollection.js +0 -35
- package/packages/classic-quiz-play/src/components/Variants/Overlay/OverlayVariant.js +0 -170
- package/packages/classic-quiz-play/src/components/Variants/Overlay/OverlayVariant.styles.js +0 -190
- package/packages/classic-quiz-play/src/components/Variants/Overlay/ScoreState/OverlayScoreState.js +0 -177
- package/packages/classic-quiz-play/src/components/Variants/Overlay/ScoreState/OverlayScoreState.styles.js +0 -373
- package/packages/classic-quiz-play/src/components/Variants/Overlay/SignIn/OverlaySignIn.js +0 -120
- package/packages/classic-quiz-play/src/components/Variants/Overlay/SignIn/OverlaySignIn.styles.js +0 -42
- package/packages/classic-quiz-play/src/components/Variants/Split/Error/SplitError.js +0 -42
- package/packages/classic-quiz-play/src/components/Variants/Split/LeadCollection/SplitLeadAfterCollection.js +0 -37
- package/packages/classic-quiz-play/src/components/Variants/Split/ScoreState/SplitScoreState.js +0 -231
- package/packages/classic-quiz-play/src/components/Variants/Split/ScoreState/SplitScoreState.styles.js +0 -353
- package/packages/classic-quiz-play/src/components/Variants/Split/SignIn/SplitSignIn.js +0 -118
- package/packages/classic-quiz-play/src/components/Variants/Split/SignIn/SplitSignIn.styles.js +0 -52
- package/packages/classic-quiz-play/src/components/Variants/Split/SplitVariant.js +0 -183
- package/packages/classic-quiz-play/src/components/Variants/Split/SplitVariant.styles.js +0 -145
- package/packages/classic-quiz-play/src/components/Variants/Standard/Error/StandardError.js +0 -43
- package/packages/classic-quiz-play/src/components/Variants/Standard/LeadCollection/StandardLeadAfterCollection.js +0 -35
- package/packages/classic-quiz-play/src/components/Variants/Standard/ScoreState/StandardScoreState.js +0 -220
- package/packages/classic-quiz-play/src/components/Variants/Standard/ScoreState/StandardScoreState.styles.js +0 -347
- package/packages/classic-quiz-play/src/components/Variants/Standard/SignIn/StandardSignIn.js +0 -117
- package/packages/classic-quiz-play/src/components/Variants/Standard/SignIn/StandardSignIn.styles.js +0 -52
- package/packages/classic-quiz-play/src/components/Variants/Standard/StandardVariant.js +0 -209
- package/packages/classic-quiz-play/src/components/Variants/Standard/StandardVariant.styles.js +0 -182
- package/packages/classic-quiz-play/src/constants/constants.js +0 -4
- package/packages/classic-quiz-play/src/hooks/useClassicQuizById.js +0 -18
- package/packages/classic-quiz-play/src/hooks/useEmbedCodeContainer.js +0 -30
- package/packages/classic-quiz-play/src/hooks/useMyParticipation.js +0 -40
- package/packages/classic-quiz-play/src/hooks/useScoreStateHelpers.js +0 -117
- package/packages/classic-quiz-play/src/index.js +0 -4
- package/packages/classic-quiz-play/src/main.js +0 -7
- package/packages/collect-lead/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
- package/packages/collect-lead/src/assets/default-quiz-bg.png.js +0 -4
- package/packages/collect-lead/src/components/CollectLead.js +0 -18
- package/packages/collect-lead/src/components/Leads/CollectLeadWrapper.js +0 -63
- package/packages/collect-lead/src/components/Shared/MainCard.js +0 -31
- package/packages/collect-lead/src/components/Shared/PresentedBy.js +0 -118
- package/packages/collect-lead/src/components/Variants/Overlay/LeadOverlayVariant.js +0 -72
- package/packages/collect-lead/src/components/Variants/Overlay/LeadOverlayVariant.styles.js +0 -187
- package/packages/collect-lead/src/components/Variants/Split/LeadSplitVariant.js +0 -81
- package/packages/collect-lead/src/components/Variants/Split/LeadSplitVariant.styles.js +0 -338
- package/packages/collect-lead/src/components/Variants/Standard/LeadStandardVariant.js +0 -82
- package/packages/collect-lead/src/components/Variants/Standard/LeadStandardVariant.styles.js +0 -313
- package/packages/collect-lead/src/index.js +0 -4
- package/packages/collect-lead/src/main.js +0 -39
- package/packages/collect-lead/src/providers/ConfigurationProvider.js +0 -50
- package/packages/common/src/components/AdditionalCTA.js +0 -24
- package/packages/common/src/components/AlertMessage.js +0 -88
- package/packages/common/src/components/LeadCollection/OverlayLeadAfterCollection.js +0 -111
- package/packages/common/src/components/LeadCollection/SplitLeadAfterCollection.js +0 -103
- package/packages/common/src/components/LeadCollection/StandardLeadAfterCollection.js +0 -101
- package/packages/common/src/components/Leads/CollectLeadForm.js +0 -72
- package/packages/common/src/components/Leads/ConsentsCheckboxes.js +0 -82
- package/packages/common/src/components/Leads/LeadAgreementCheckbox.js +0 -104
- package/packages/common/src/components/Leads/LeadForm.js +0 -498
- package/packages/common/src/components/Portal.js +0 -62
- package/packages/common/src/components/Rules.js +0 -299
- package/packages/common/src/components/Skeletons/NotFoundSkeleton.js +0 -83
- package/packages/common/src/components/Skeletons/Overlay/ApiError/OverlayApiErrorSkeleton.js +0 -80
- package/packages/common/src/components/Skeletons/Overlay/ApiError/OverlayApiErrorSkeleton.styles.js +0 -190
- package/packages/common/src/components/Skeletons/Overlay/OverlaySkeleton.js +0 -68
- package/packages/common/src/components/Skeletons/Overlay/OverlaySkeleton.styles.js +0 -100
- package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateSkeleton.js +0 -65
- package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateSkeleton.styles.js +0 -90
- package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateWrapperSkeleton.js +0 -34
- package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateWrapperSkeleton.styles.js +0 -55
- package/packages/common/src/components/Skeletons/Overlay/SignIn/OverlaySignInSkeleton.js +0 -58
- package/packages/common/src/components/Skeletons/Overlay/SignIn/OverlaySignInSkeleton.styles.js +0 -105
- package/packages/common/src/components/Skeletons/Split/ApiError/SplitApiErrorSkeleton.js +0 -98
- package/packages/common/src/components/Skeletons/Split/ApiError/SplitApiErrorSkeleton.styles.js +0 -167
- package/packages/common/src/components/Skeletons/Split/ScoreState/SplitScoreStateSkeleton.js +0 -64
- package/packages/common/src/components/Skeletons/Split/ScoreState/SplitScoreStateSkeleton.styles.js +0 -107
- package/packages/common/src/components/Skeletons/Split/SignIn/SplitSignInSkeleton.js +0 -55
- package/packages/common/src/components/Skeletons/Split/SignIn/SplitSignInSkeleton.styles.js +0 -94
- package/packages/common/src/components/Skeletons/Split/SplitSkeleton.js +0 -186
- package/packages/common/src/components/Skeletons/Split/SplitSkeleton.styles.js +0 -181
- package/packages/common/src/components/Skeletons/Standard/ApiError/StandardApiErrorSkeleton.js +0 -173
- package/packages/common/src/components/Skeletons/Standard/ApiError/StandardApiErrorSkeleton.styles.js +0 -275
- package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardContentSkeleton.js +0 -23
- package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardContentSkeleton.styles.js +0 -40
- package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardScoreStateSkeleton.js +0 -142
- package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardScoreStateSkeleton.styles.js +0 -203
- package/packages/common/src/components/Skeletons/Standard/SignIn/StandardSignInSkeleton.js +0 -157
- package/packages/common/src/components/Skeletons/Standard/SignIn/StandardSignInSkeleton.styles.js +0 -194
- package/packages/common/src/components/Skeletons/Standard/StandardSkeleton.js +0 -238
- package/packages/common/src/components/Skeletons/Standard/StandardSkeleton.styles.js +0 -211
- package/packages/common/src/components/Spinner.js +0 -36
- package/packages/common/src/constants/constants.js +0 -457
- package/packages/common/src/enums/enums.js +0 -4
- package/packages/common/src/functions/helpers.js +0 -58
- package/packages/common/src/functions/i18n.js +0 -69
- package/packages/common/src/functions/theme.js +0 -301
- package/packages/common/src/hooks/useConstantContext.js +0 -10
- package/packages/common/src/hooks/useImageUrl.js +0 -8
- package/packages/common/src/hooks/useImageVariant.js +0 -11
- package/packages/common/src/hooks/useLeadForm.js +0 -129
- package/packages/common/src/hooks/useThemeMode.js +0 -30
- package/packages/common/src/locales/bg.json.js +0 -363
- package/packages/common/src/locales/de.json.js +0 -362
- package/packages/common/src/locales/el.json.js +0 -362
- package/packages/common/src/locales/en.json.js +0 -368
- package/packages/common/src/locales/es.json.js +0 -362
- package/packages/common/src/locales/fr-be.json.js +0 -362
- package/packages/common/src/locales/fr.json.js +0 -362
- package/packages/common/src/locales/it.json.js +0 -362
- package/packages/common/src/locales/pl.json.js +0 -362
- package/packages/common/src/locales/pt-br.json.js +0 -362
- package/packages/common/src/locales/pt.json.js +0 -362
- package/packages/common/src/locales/ro.json.js +0 -362
- package/packages/common/src/locales/sk.json.js +0 -362
- package/packages/common/src/locales/sr.json.js +0 -362
- package/packages/common/src/providers/ConstantsProvider.js +0 -29
- package/packages/common/src/providers/ContainerProvider.js +0 -35
- package/packages/common/src/providers/FontProvider.js +0 -25
- package/packages/common/src/providers/ThemeProvider.js +0 -80
- package/packages/event-game-play/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
- package/packages/event-game-play/src/assets/default-quiz-bg.png.js +0 -4
- package/packages/event-game-play/src/assets/school.svg.js +0 -4
- package/packages/event-game-play/src/assets/sports_score.svg.js +0 -4
- package/packages/event-game-play/src/components/EventGameNotFound.js +0 -23
- package/packages/event-game-play/src/components/EventGamePlay.js +0 -318
- package/packages/event-game-play/src/components/Shared/AlertMessage.js +0 -93
- package/packages/event-game-play/src/components/Shared/Countdown.js +0 -125
- package/packages/event-game-play/src/components/Shared/FinishedGameWrapper/FinishedGameWrapper.js +0 -574
- package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanFixture.js +0 -60
- package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanFixture.styles.js +0 -29
- package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanSelector.js +0 -108
- package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanSelector.styles.js +0 -44
- package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberFixture.js +0 -70
- package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberFixture.styles.js +0 -37
- package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberSelector.js +0 -82
- package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberSelector.styles.js +0 -64
- package/packages/event-game-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.js +0 -70
- package/packages/event-game-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.styles.js +0 -98
- package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextFixture.js +0 -62
- package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextFixture.styles.js +0 -29
- package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextSelector.js +0 -344
- package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextSelector.styles.js +0 -70
- package/packages/event-game-play/src/components/Shared/Fixtures/shared.styles.js +0 -63
- package/packages/event-game-play/src/components/Shared/Leaderboard/LeaderboardComponent.js +0 -220
- package/packages/event-game-play/src/components/Shared/Leaderboard/LeaderboardPagination.js +0 -88
- package/packages/event-game-play/src/components/Shared/MainCard.js +0 -34
- package/packages/event-game-play/src/components/Shared/Notification.js +0 -67
- package/packages/event-game-play/src/components/Shared/Stepper.js +0 -151
- package/packages/event-game-play/src/components/Shared/Summary/EditPredictionModal.js +0 -163
- package/packages/event-game-play/src/components/Shared/Summary/EditPredictionModal.styles.js +0 -110
- package/packages/event-game-play/src/components/Shared/Summary/PredictionSummary.js +0 -118
- package/packages/event-game-play/src/components/Shared/Summary/PredictionSummary.styles.js +0 -180
- package/packages/event-game-play/src/components/Variants/Overlay/Error/EventGameOverlayError.js +0 -30
- package/packages/event-game-play/src/components/Variants/Overlay/EventGameOverlayVariant.js +0 -348
- package/packages/event-game-play/src/components/Variants/Overlay/EventGameOverlayVariant.styles.js +0 -213
- package/packages/event-game-play/src/components/Variants/Overlay/FinishedGame/EventGameOverlayFinishedGame.js +0 -130
- package/packages/event-game-play/src/components/Variants/Overlay/FinishedGame/EventGameOverlayFinishedGame.styles.js +0 -712
- package/packages/event-game-play/src/components/Variants/Overlay/ScoreState/EventGameOverlayScoreState.js +0 -141
- package/packages/event-game-play/src/components/Variants/Overlay/ScoreState/EventGameOverlayScoreState.styles.js +0 -156
- package/packages/event-game-play/src/components/Variants/Split/Error/EventGameSplitError.js +0 -28
- package/packages/event-game-play/src/components/Variants/Split/EventGameSplitVariant.js +0 -347
- package/packages/event-game-play/src/components/Variants/Split/EventGameSplitVariant.styles.js +0 -149
- package/packages/event-game-play/src/components/Variants/Split/FinishedGame/EventGameSplitFinishedGame.js +0 -119
- package/packages/event-game-play/src/components/Variants/Split/FinishedGame/EventGameSplitFinishedGame.styles.js +0 -230
- package/packages/event-game-play/src/components/Variants/Split/ScoreState/EventGameSplitScoreState.js +0 -139
- package/packages/event-game-play/src/components/Variants/Split/ScoreState/EventGameSplitScoreState.styles.js +0 -45
- package/packages/event-game-play/src/components/Variants/Standard/Error/EventGameStandardError.js +0 -29
- package/packages/event-game-play/src/components/Variants/Standard/EventGameStandardVariant.js +0 -329
- package/packages/event-game-play/src/components/Variants/Standard/EventGameStandardVariant.styles.js +0 -373
- package/packages/event-game-play/src/components/Variants/Standard/FinishedGame/EventGameStandardFinishedGame.js +0 -219
- package/packages/event-game-play/src/components/Variants/Standard/FinishedGame/EventGameStandardFinishedGame.styles.js +0 -548
- package/packages/event-game-play/src/components/Variants/Standard/ScoreState/EventGameStandardScoreState.js +0 -117
- package/packages/event-game-play/src/components/Variants/Standard/ScoreState/EventGameStandardScoreState.styles.js +0 -259
- package/packages/event-game-play/src/helpers/helpers.js +0 -11
- package/packages/event-game-play/src/hooks/useEventGameById.js +0 -27
- package/packages/event-game-play/src/hooks/useEventGamePrediction.js +0 -54
- package/packages/event-game-play/src/hooks/useEventRankings.js +0 -61
- package/packages/event-game-play/src/index.js +0 -4
- package/packages/event-game-play/src/main.js +0 -7
- package/packages/event-game-play/src/providers/ConstantsProvider.js +0 -17
- package/packages/match-quiz-play/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
- package/packages/match-quiz-play/src/assets/default-quiz-bg.png.js +0 -4
- package/packages/match-quiz-play/src/assets/school.svg.js +0 -4
- package/packages/match-quiz-play/src/assets/sports_score.svg.js +0 -4
- package/packages/match-quiz-play/src/components/Leads/CollectLeadWrapper.js +0 -65
- package/packages/match-quiz-play/src/components/MatchQuizNotFound.js +0 -23
- package/packages/match-quiz-play/src/components/MatchQuizPlay.js +0 -490
- package/packages/match-quiz-play/src/components/Shared/AlertMessage.js +0 -93
- package/packages/match-quiz-play/src/components/Shared/Countdown.js +0 -125
- package/packages/match-quiz-play/src/components/Shared/FinishedGameWrapper/EarnedPointsDisplay.js +0 -64
- package/packages/match-quiz-play/src/components/Shared/FinishedGameWrapper/FinishedGameWrapper.js +0 -854
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoFixture.js +0 -63
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoFixture.styles.js +0 -29
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelector.js +0 -143
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelector.styles.js +0 -101
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelectorSplit.js +0 -97
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelectorSplit.styles.js +0 -77
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersFixture.js +0 -61
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersFixture.styles.js +0 -29
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersSelector.js +0 -63
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersSelector.styles.js +0 -41
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/CorrectScoreFixture.js +0 -72
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/CorrectScoreFixture.styles.js +0 -30
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelector.js +0 -179
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelector.styles.js +0 -163
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelectorSplit.js +0 -103
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelectorSplit.styles.js +0 -86
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersFixture.js +0 -79
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersFixture.styles.js +0 -29
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersSelector.js +0 -213
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersSelector.styles.js +0 -293
- package/packages/match-quiz-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.js +0 -116
- package/packages/match-quiz-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.styles.js +0 -98
- package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoFixture.js +0 -72
- package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoFixture.styles.js +0 -29
- package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoSelector.js +0 -108
- package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoSelector.styles.js +0 -44
- package/packages/match-quiz-play/src/components/Shared/Fixtures/shared.styles.js +0 -63
- package/packages/match-quiz-play/src/components/Shared/Leaderboard/LeaderboardComponent.js +0 -220
- package/packages/match-quiz-play/src/components/Shared/Leaderboard/RoundedPagination.js +0 -207
- package/packages/match-quiz-play/src/components/Shared/MainCard.js +0 -34
- package/packages/match-quiz-play/src/components/Shared/Notification.js +0 -67
- package/packages/match-quiz-play/src/components/Shared/PresentedBy.js +0 -118
- package/packages/match-quiz-play/src/components/Shared/Stepper.js +0 -151
- package/packages/match-quiz-play/src/components/Shared/Summary/EditPredictionModal.js +0 -172
- package/packages/match-quiz-play/src/components/Shared/Summary/EditPredictionModal.styles.js +0 -109
- package/packages/match-quiz-play/src/components/Shared/Summary/PredictionSummary.js +0 -235
- package/packages/match-quiz-play/src/components/Shared/Summary/PredictionSummary.styles.js +0 -219
- package/packages/match-quiz-play/src/components/Variants/Overlay/Error/MatchQuizOverlayError.js +0 -45
- package/packages/match-quiz-play/src/components/Variants/Overlay/FinishedGame/MatchQuizOverlayFinishedGame.js +0 -157
- package/packages/match-quiz-play/src/components/Variants/Overlay/FinishedGame/MatchQuizOverlayFinishedGame.styles.js +0 -710
- package/packages/match-quiz-play/src/components/Variants/Overlay/LeadCollection/OverlayLeadAfterCollection.js +0 -35
- package/packages/match-quiz-play/src/components/Variants/Overlay/MatchQuizOverlayVariant.js +0 -499
- package/packages/match-quiz-play/src/components/Variants/Overlay/MatchQuizOverlayVariant.styles.js +0 -213
- package/packages/match-quiz-play/src/components/Variants/Overlay/ScoreState/MatchQuizOverlayScoreState.js +0 -178
- package/packages/match-quiz-play/src/components/Variants/Overlay/ScoreState/MatchQuizOverlayScoreState.styles.js +0 -128
- package/packages/match-quiz-play/src/components/Variants/Overlay/SignIn/MatchQuizOverlaySignIn.js +0 -120
- package/packages/match-quiz-play/src/components/Variants/Overlay/SignIn/MatchQuizOverlaySignIn.styles.js +0 -42
- package/packages/match-quiz-play/src/components/Variants/Split/Error/MatchQuizSplitError.js +0 -42
- package/packages/match-quiz-play/src/components/Variants/Split/FinishedGame/MatchQuizSplitFinishedGame.js +0 -185
- package/packages/match-quiz-play/src/components/Variants/Split/FinishedGame/MatchQuizSplitFinishedGame.styles.js +0 -233
- package/packages/match-quiz-play/src/components/Variants/Split/LeadCollection/SplitLeadAfterCollection.js +0 -37
- package/packages/match-quiz-play/src/components/Variants/Split/MatchQuizSplitVariant.js +0 -511
- package/packages/match-quiz-play/src/components/Variants/Split/MatchQuizSplitVariant.styles.js +0 -149
- package/packages/match-quiz-play/src/components/Variants/Split/ScoreState/MatchQuizSplitScoreState.js +0 -164
- package/packages/match-quiz-play/src/components/Variants/Split/ScoreState/MatchQuizSplitScoreState.styles.js +0 -27
- package/packages/match-quiz-play/src/components/Variants/Split/SignIn/MatchQuizSplitSignIn.js +0 -118
- package/packages/match-quiz-play/src/components/Variants/Split/SignIn/MatchQuizSplitSignIn.styles.js +0 -52
- package/packages/match-quiz-play/src/components/Variants/Standard/Error/MatchQuizStandardError.js +0 -43
- package/packages/match-quiz-play/src/components/Variants/Standard/FinishedGame/MatchQuizStandardFinishedGame.js +0 -234
- package/packages/match-quiz-play/src/components/Variants/Standard/FinishedGame/MatchQuizStandardFinishedGame.styles.js +0 -548
- package/packages/match-quiz-play/src/components/Variants/Standard/LeadCollection/StandardLeadAfterCollection.js +0 -35
- package/packages/match-quiz-play/src/components/Variants/Standard/MatchQuizStandardVariant.js +0 -513
- package/packages/match-quiz-play/src/components/Variants/Standard/MatchQuizStandardVariant.styles.js +0 -376
- package/packages/match-quiz-play/src/components/Variants/Standard/ScoreState/MatchQuizStandardScoreState.js +0 -135
- package/packages/match-quiz-play/src/components/Variants/Standard/ScoreState/MatchQuizStandardScoreState.styles.js +0 -259
- package/packages/match-quiz-play/src/components/Variants/Standard/SignIn/MatchQuizStandardSignIn.js +0 -129
- package/packages/match-quiz-play/src/components/Variants/Standard/SignIn/MatchQuizStandardSignIn.styles.js +0 -239
- package/packages/match-quiz-play/src/helpers/helpers.js +0 -9
- package/packages/match-quiz-play/src/hooks/useMatchQuiz.js +0 -42
- package/packages/match-quiz-play/src/hooks/useMatchQuizLeaderboard.js +0 -53
- package/packages/match-quiz-play/src/hooks/useMatchQuizMarketsResults.js +0 -29
- package/packages/match-quiz-play/src/hooks/useMatchQuizPrediction.js +0 -38
- package/packages/match-quiz-play/src/index.js +0 -4
- package/packages/match-quiz-play/src/main.js +0 -7
- package/packages/match-quiz-play/src/providers/ConstantsProvider.js +0 -26
- package/packages/personality-quiz-play/dist/personality-quiz-play.es.js +0 -39513
- package/packages/poll-vote/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
- package/packages/poll-vote/src/assets/default-quiz-bg.png.js +0 -4
- package/packages/poll-vote/src/components/Leads/CollectLeadWrapper.js +0 -65
- package/packages/poll-vote/src/components/PollNotFound.js +0 -23
- package/packages/poll-vote/src/components/PollVote.js +0 -270
- package/packages/poll-vote/src/components/Shared/AlertMessage.js +0 -93
- package/packages/poll-vote/src/components/Shared/Answers/PollOption.js +0 -132
- package/packages/poll-vote/src/components/Shared/Answers/PollOptions.js +0 -82
- package/packages/poll-vote/src/components/Shared/Button.js +0 -76
- package/packages/poll-vote/src/components/Shared/MainCard.js +0 -36
- package/packages/poll-vote/src/components/Shared/PresentedBy.js +0 -118
- package/packages/poll-vote/src/components/Shared/Results/PollOptionResult.js +0 -257
- package/packages/poll-vote/src/components/Shared/Results/PollOptionsResults.js +0 -232
- package/packages/poll-vote/src/components/Variants/Overlay/Error/PollOverlayError.js +0 -45
- package/packages/poll-vote/src/components/Variants/Overlay/LeadCollection/OverlayLeadAfterCollection.js +0 -34
- package/packages/poll-vote/src/components/Variants/Overlay/PollOverlayVariant.js +0 -137
- package/packages/poll-vote/src/components/Variants/Overlay/PollOverlayVariant.styles.js +0 -105
- package/packages/poll-vote/src/components/Variants/Overlay/ScoreState/PollOverlayScoreState.js +0 -107
- package/packages/poll-vote/src/components/Variants/Overlay/ScoreState/PollOverlayScoreState.styles.js +0 -178
- package/packages/poll-vote/src/components/Variants/Overlay/SignIn/PollOverlaySignIn.js +0 -120
- package/packages/poll-vote/src/components/Variants/Overlay/SignIn/PollOverlaySignIn.styles.js +0 -42
- package/packages/poll-vote/src/components/Variants/Split/Error/PollSplitError.js +0 -42
- package/packages/poll-vote/src/components/Variants/Split/LeadCollection/SplitLeadAfterCollection.js +0 -36
- package/packages/poll-vote/src/components/Variants/Split/PollSplitVariant.js +0 -231
- package/packages/poll-vote/src/components/Variants/Split/PollSplitVariant.styles.js +0 -332
- package/packages/poll-vote/src/components/Variants/Split/ScoreState/PollSplitScoreState.js +0 -155
- package/packages/poll-vote/src/components/Variants/Split/ScoreState/PollSplitScoreState.styles.js +0 -156
- package/packages/poll-vote/src/components/Variants/Split/SignIn/PollSplitSignIn.js +0 -117
- package/packages/poll-vote/src/components/Variants/Split/SignIn/PollSplitSignIn.styles.js +0 -52
- package/packages/poll-vote/src/components/Variants/Standard/Error/PollStandardError.js +0 -43
- package/packages/poll-vote/src/components/Variants/Standard/LeadCollection/StandardLeadAfterCollection.js +0 -34
- package/packages/poll-vote/src/components/Variants/Standard/PollStandardVariant.js +0 -138
- package/packages/poll-vote/src/components/Variants/Standard/PollStandardVariant.styles.js +0 -92
- package/packages/poll-vote/src/components/Variants/Standard/ScoreState/PollStandardScoreState.js +0 -146
- package/packages/poll-vote/src/components/Variants/Standard/ScoreState/PollStandardScoreState.styles.js +0 -164
- package/packages/poll-vote/src/components/Variants/Standard/SignIn/PollStandardSignIn.js +0 -129
- package/packages/poll-vote/src/components/Variants/Standard/SignIn/PollStandardSignIn.styles.js +0 -248
- package/packages/poll-vote/src/hooks/useEmbedCodeContainer.js +0 -30
- package/packages/poll-vote/src/hooks/useMyPollVote.js +0 -43
- package/packages/poll-vote/src/hooks/usePollById.js +0 -16
- package/packages/poll-vote/src/hooks/usePollOptionsImages.js +0 -19
- package/packages/poll-vote/src/index.js +0 -4
- package/packages/poll-vote/src/main.js +0 -7
package/packages/classic-quiz-play/src/components/Variants/Standard/ScoreState/StandardScoreState.js
DELETED
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../../../../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { Box as i, Typography as o, Button as z } from "@mui/joy";
|
|
3
|
-
import { useInternalTheme as U, isMobile as O, useColors as r, useFontFamily as T, useCornerRadius as $, useBorderSize as G, useSpacingScale as J } from "../../../../../../common/src/functions/theme.js";
|
|
4
|
-
import { hexToRgb as K } from "../../../../../../common/src/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 A } from "../../../../../../common/src/enums/enums.js";
|
|
8
|
-
import X from "../../../../../../common/src/components/AdditionalCTA.js";
|
|
9
|
-
import "react";
|
|
10
|
-
import "../../../../../../common/src/providers/ConstantsProvider.js";
|
|
11
|
-
import Q from "../../../../../../common/src/components/Skeletons/Standard/ScoreState/StandardContentSkeleton.js";
|
|
12
|
-
import Y from "../../../../../../../node_modules/@mui/icons-material/esm/Replay.js";
|
|
13
|
-
import { useImageVariant as Z } from "../../../../../../common/src/hooks/useImageVariant.js";
|
|
14
|
-
import "../../../../../../common/src/providers/ContainerProvider.js";
|
|
15
|
-
import _ from "../../../../../../../node_modules/@mui/icons-material/esm/Share.js";
|
|
16
|
-
import ee from "../../../Shared/MainCard.js";
|
|
17
|
-
import te from "../../../Shared/ScoreStateWrapper.js";
|
|
18
|
-
import p from "../../../Shared/PresentedBy.js";
|
|
19
|
-
import { createStyles as se } from "./StandardScoreState.styles.js";
|
|
20
|
-
import ae from "../../../Shared/AlertMessage.js";
|
|
21
|
-
import { useScoreStateHelpers as ie } from "../../../../hooks/useScoreStateHelpers.js";
|
|
22
|
-
import { useTranslation as ne } from "../../../../../../../node_modules/react-i18next/dist/es/useTranslation.js";
|
|
23
|
-
const Be = (s) => {
|
|
24
|
-
var g, y, j, C, S;
|
|
25
|
-
const l = U(), m = Z(
|
|
26
|
-
{
|
|
27
|
-
images: s.classicQuiz.images,
|
|
28
|
-
imagePlaceholder: s.defaultImagePlaceholderUrl ? s.defaultImagePlaceholderUrl : ""
|
|
29
|
-
},
|
|
30
|
-
A.STANDARD
|
|
31
|
-
), { t: n } = ne(), u = O(), a = ((g = s.classicQuiz.branding) == null ? void 0 : g.colors) || null, c = u ? ((y = s.classicQuiz.branding) == null ? void 0 : y.images.mobileLogo) || ((j = s.classicQuiz.branding) == null ? void 0 : j.images.mainLogo) || "" : ((C = s.classicQuiz.branding) == null ? void 0 : C.images.mainLogo) || "", x = s.imagePosition || "left", {
|
|
32
|
-
getHexagonBackground: P,
|
|
33
|
-
formatTime: B,
|
|
34
|
-
displayCongratulations: v,
|
|
35
|
-
getRandomEmoji: R,
|
|
36
|
-
shareResult: I
|
|
37
|
-
} = ie({
|
|
38
|
-
summary: s.summary,
|
|
39
|
-
totalTime: s.totalTime,
|
|
40
|
-
classicQuiz: s.classicQuiz,
|
|
41
|
-
variant: A.STANDARD
|
|
42
|
-
}), F = r().textPrimary, k = (a == null ? void 0 : a.primaryColor) || r().palette.primary.plainColor, W = (a == null ? void 0 : a.secondaryColor) || r().textSecondary, D = r().secondaryContainer, d = (a == null ? void 0 : a.contentColor) || r().textColor, L = T().secondary, M = T().primary, w = (a == null ? void 0 : a.backgroundColor) || r().surface, E = r().onSurface, q = $(), N = G().size, V = J(), H = `rgba(${K(
|
|
43
|
-
r().surfaceVariant || ""
|
|
44
|
-
)}, 0.5)`, t = se({
|
|
45
|
-
finalImage: m,
|
|
46
|
-
spacingScale: V,
|
|
47
|
-
borderRadius: q,
|
|
48
|
-
fontFamilyPrimary: M,
|
|
49
|
-
fontFamilySecondary: L,
|
|
50
|
-
textPrimary: F,
|
|
51
|
-
primaryColor: k,
|
|
52
|
-
secondaryColor: W,
|
|
53
|
-
secondaryContainer: D,
|
|
54
|
-
textColor: d,
|
|
55
|
-
bgcolor: w,
|
|
56
|
-
onSurfaceColor: E,
|
|
57
|
-
borderSize: N,
|
|
58
|
-
surfaceVariant: H,
|
|
59
|
-
imagePosition: x,
|
|
60
|
-
successColor: l.colorSchemes.light.palette.success.plainColor,
|
|
61
|
-
dangerColor: l.colorSchemes.light.palette.danger.plainColor,
|
|
62
|
-
onPrimaryColor: l.colorSchemes.light.palette.primary.onPrimary,
|
|
63
|
-
isMobile: u
|
|
64
|
-
}), h = () => {
|
|
65
|
-
var f, b;
|
|
66
|
-
return /* @__PURE__ */ e.jsx(i, { sx: t.mainContentArea, children: s.summary.classicQuizId ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
67
|
-
/* @__PURE__ */ e.jsx(i, { sx: t.contentWrapper, children: /* @__PURE__ */ e.jsx(i, { sx: t.contentScoreContainer, children: /* @__PURE__ */ e.jsx(i, { sx: t.scoreSection, children: /* @__PURE__ */ e.jsxs(i, { sx: t.scoreContentWrapper, children: [
|
|
68
|
-
/* @__PURE__ */ e.jsxs(i, { sx: t.achievementBadgeContainer, children: [
|
|
69
|
-
/* @__PURE__ */ e.jsx(
|
|
70
|
-
"img",
|
|
71
|
-
{
|
|
72
|
-
style: t.hexagonBackground,
|
|
73
|
-
src: P(),
|
|
74
|
-
alt: "achievement-badge-background"
|
|
75
|
-
}
|
|
76
|
-
),
|
|
77
|
-
/* @__PURE__ */ e.jsx(
|
|
78
|
-
"img",
|
|
79
|
-
{
|
|
80
|
-
style: t.achievementEmoji,
|
|
81
|
-
src: R("light"),
|
|
82
|
-
alt: "achievement-badge"
|
|
83
|
-
}
|
|
84
|
-
)
|
|
85
|
-
] }),
|
|
86
|
-
/* @__PURE__ */ e.jsxs(i, { sx: t.textSection, children: [
|
|
87
|
-
/* @__PURE__ */ e.jsx(
|
|
88
|
-
o,
|
|
89
|
-
{
|
|
90
|
-
level: "body-lg",
|
|
91
|
-
sx: t.congratulationsText,
|
|
92
|
-
children: s.maxAttemptsReached ? n("classicQuiz.maxAttemptsReached") : v()
|
|
93
|
-
}
|
|
94
|
-
),
|
|
95
|
-
/* @__PURE__ */ e.jsx(i, { sx: t.scoreContainer, children: /* @__PURE__ */ e.jsxs(i, { sx: t.scoreNumbersContainer, children: [
|
|
96
|
-
/* @__PURE__ */ e.jsx(
|
|
97
|
-
o,
|
|
98
|
-
{
|
|
99
|
-
level: "h2",
|
|
100
|
-
sx: t.correctScoreText(s.summary.correct),
|
|
101
|
-
children: s.summary.correct
|
|
102
|
-
}
|
|
103
|
-
),
|
|
104
|
-
/* @__PURE__ */ e.jsxs(
|
|
105
|
-
o,
|
|
106
|
-
{
|
|
107
|
-
level: "h2",
|
|
108
|
-
sx: t.totalScoreText(s.summary.correct),
|
|
109
|
-
children: [
|
|
110
|
-
"/",
|
|
111
|
-
s.summary.classicQuizQuestions
|
|
112
|
-
]
|
|
113
|
-
}
|
|
114
|
-
)
|
|
115
|
-
] }) }),
|
|
116
|
-
s.classicQuiz.type && s.classicQuiz.type.toLocaleLowerCase() === "timed" ? /* @__PURE__ */ e.jsxs(o, { level: "body-md", sx: t.timeText, children: [
|
|
117
|
-
n("classicQuiz.youDidItFor"),
|
|
118
|
-
" ",
|
|
119
|
-
B()
|
|
120
|
-
] }) : null,
|
|
121
|
-
s.classicQuiz.scored ? /* @__PURE__ */ e.jsxs(o, { level: "body-lg", sx: t.pointsText, children: [
|
|
122
|
-
n("classicQuiz.youWon"),
|
|
123
|
-
" ",
|
|
124
|
-
s.summary.correct * s.classicQuiz.points,
|
|
125
|
-
" ",
|
|
126
|
-
n("common.labels.points")
|
|
127
|
-
] }) : null
|
|
128
|
-
] })
|
|
129
|
-
] }) }) }) }),
|
|
130
|
-
/* @__PURE__ */ e.jsx(i, { sx: t.ctaContainer, children: /* @__PURE__ */ e.jsxs(i, { sx: t.ctaContentWrapper, children: [
|
|
131
|
-
/* @__PURE__ */ e.jsx(o, { level: "body-lg", sx: t.thanksText, children: n("classicQuiz.thanksForPlaying") }),
|
|
132
|
-
/* @__PURE__ */ e.jsxs(i, { sx: t.buttonsContainer, children: [
|
|
133
|
-
s.maxAttemptsReached ? null : /* @__PURE__ */ e.jsx(
|
|
134
|
-
z,
|
|
135
|
-
{
|
|
136
|
-
sx: t.playAgainButton,
|
|
137
|
-
onClick: s.playAgain,
|
|
138
|
-
children: /* @__PURE__ */ e.jsxs(i, { sx: t.playAgainButtonContent, children: [
|
|
139
|
-
/* @__PURE__ */ e.jsx(Y, { sx: t.playAgainIcon }),
|
|
140
|
-
/* @__PURE__ */ e.jsx(o, { sx: t.playAgainText, children: n("classicQuiz.buttons.playAgain") })
|
|
141
|
-
] })
|
|
142
|
-
}
|
|
143
|
-
),
|
|
144
|
-
/* @__PURE__ */ e.jsx(z, { sx: t.shareButton, onClick: I, children: /* @__PURE__ */ e.jsxs(i, { sx: t.shareButtonContent, children: [
|
|
145
|
-
/* @__PURE__ */ e.jsx(_, { style: t.shareIcon }),
|
|
146
|
-
/* @__PURE__ */ e.jsx(o, { sx: t.shareText, children: n("classicQuiz.buttons.share") })
|
|
147
|
-
] }) }),
|
|
148
|
-
/* @__PURE__ */ e.jsx(
|
|
149
|
-
X,
|
|
150
|
-
{
|
|
151
|
-
additionalCTA: s.additionalCTA,
|
|
152
|
-
buttonStyle: t.additionalCTAButton,
|
|
153
|
-
buttonContentStyle: t.additionalCTAButtonContent,
|
|
154
|
-
textStyle: t.additionalCTAText
|
|
155
|
-
}
|
|
156
|
-
)
|
|
157
|
-
] }),
|
|
158
|
-
c ? /* @__PURE__ */ e.jsx(
|
|
159
|
-
p,
|
|
160
|
-
{
|
|
161
|
-
brandingLogo: c,
|
|
162
|
-
textColor: d,
|
|
163
|
-
label: ((f = s.classicQuiz.labels) == null ? void 0 : f.sponsor) || null,
|
|
164
|
-
isCentered: !0
|
|
165
|
-
}
|
|
166
|
-
) : /* @__PURE__ */ e.jsx(e.Fragment, {})
|
|
167
|
-
] }) })
|
|
168
|
-
] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
169
|
-
/* @__PURE__ */ e.jsx(
|
|
170
|
-
ae,
|
|
171
|
-
{
|
|
172
|
-
variant: "error",
|
|
173
|
-
title: n("common.authentication.accessRequired"),
|
|
174
|
-
message: n("common.authentication.invalidOrMissingAuth")
|
|
175
|
-
}
|
|
176
|
-
),
|
|
177
|
-
c ? /* @__PURE__ */ e.jsx(
|
|
178
|
-
p,
|
|
179
|
-
{
|
|
180
|
-
brandingLogo: c,
|
|
181
|
-
textColor: d,
|
|
182
|
-
label: ((b = s.classicQuiz.labels) == null ? void 0 : b.sponsor) || null
|
|
183
|
-
}
|
|
184
|
-
) : /* @__PURE__ */ e.jsx(e.Fragment, {})
|
|
185
|
-
] }) });
|
|
186
|
-
};
|
|
187
|
-
return /* @__PURE__ */ e.jsx(ee, { brandingBorderColor: (a == null ? void 0 : a.borderColor) || null, children: s.showAnswerExplanations ? /* @__PURE__ */ e.jsx(
|
|
188
|
-
te,
|
|
189
|
-
{
|
|
190
|
-
questions: s.classicQuiz.questions,
|
|
191
|
-
userParticipation: s.summary.answers,
|
|
192
|
-
brandingColors: (S = s.classicQuiz.branding) == null ? void 0 : S.colors,
|
|
193
|
-
resultsTabPanelSxProps: {
|
|
194
|
-
display: "flex",
|
|
195
|
-
flexDirection: { xs: "column", md: "row" },
|
|
196
|
-
px: 0,
|
|
197
|
-
pb: 0,
|
|
198
|
-
pt: 0
|
|
199
|
-
},
|
|
200
|
-
children: /* @__PURE__ */ e.jsx(i, { sx: t.scoreStateWrapperContainer, children: /* @__PURE__ */ e.jsx(
|
|
201
|
-
Q,
|
|
202
|
-
{
|
|
203
|
-
finalImage: m,
|
|
204
|
-
imagePosition: x,
|
|
205
|
-
children: h()
|
|
206
|
-
}
|
|
207
|
-
) })
|
|
208
|
-
}
|
|
209
|
-
) : /* @__PURE__ */ e.jsx(
|
|
210
|
-
Q,
|
|
211
|
-
{
|
|
212
|
-
finalImage: m,
|
|
213
|
-
imagePosition: x,
|
|
214
|
-
children: h()
|
|
215
|
-
}
|
|
216
|
-
) });
|
|
217
|
-
};
|
|
218
|
-
export {
|
|
219
|
-
Be as default
|
|
220
|
-
};
|
|
@@ -1,347 +0,0 @@
|
|
|
1
|
-
const n = (e) => ({
|
|
2
|
-
// Main content area
|
|
3
|
-
mainContentArea: {
|
|
4
|
-
flex: e.isMobile ? "1" : e.finalImage ? "0.7" : "1",
|
|
5
|
-
display: "flex",
|
|
6
|
-
flexDirection: "column",
|
|
7
|
-
p: e.spacingScale.md,
|
|
8
|
-
gap: e.spacingScale.md
|
|
9
|
-
},
|
|
10
|
-
// Content wrapper
|
|
11
|
-
contentWrapper: {
|
|
12
|
-
display: "flex",
|
|
13
|
-
flexDirection: "column",
|
|
14
|
-
justifyContent: "center",
|
|
15
|
-
alignItems: "center",
|
|
16
|
-
alignSelf: "stretch"
|
|
17
|
-
},
|
|
18
|
-
// Content score container
|
|
19
|
-
contentScoreContainer: {
|
|
20
|
-
display: "flex",
|
|
21
|
-
flexDirection: "column",
|
|
22
|
-
alignItems: "center",
|
|
23
|
-
gap: e.spacingScale["3xl"],
|
|
24
|
-
alignSelf: "stretch"
|
|
25
|
-
},
|
|
26
|
-
// Score section
|
|
27
|
-
scoreSection: {
|
|
28
|
-
display: "flex",
|
|
29
|
-
gap: e.spacingScale.md,
|
|
30
|
-
py: e.spacingScale.xs,
|
|
31
|
-
justifyContent: "center",
|
|
32
|
-
alignSelf: "stretch",
|
|
33
|
-
alignItems: "center"
|
|
34
|
-
},
|
|
35
|
-
// Score content wrapper
|
|
36
|
-
scoreContentWrapper: {
|
|
37
|
-
display: "flex",
|
|
38
|
-
flexDirection: e.isMobile ? "column" : "row",
|
|
39
|
-
minWidth: "200px",
|
|
40
|
-
p: e.spacingScale.xs,
|
|
41
|
-
justifyContent: "center",
|
|
42
|
-
alignItems: "center",
|
|
43
|
-
gap: e.spacingScale.md,
|
|
44
|
-
flex: "1 0 0"
|
|
45
|
-
},
|
|
46
|
-
// Achievement badge container
|
|
47
|
-
achievementBadgeContainer: {
|
|
48
|
-
display: "flex",
|
|
49
|
-
width: e.isMobile ? "172px" : "auto",
|
|
50
|
-
height: e.isMobile ? "160px" : "auto",
|
|
51
|
-
flexDirection: "column",
|
|
52
|
-
justifyContent: "center",
|
|
53
|
-
alignItems: "center",
|
|
54
|
-
position: "relative"
|
|
55
|
-
},
|
|
56
|
-
// Hexagon background image
|
|
57
|
-
hexagonBackground: {
|
|
58
|
-
width: "160px",
|
|
59
|
-
height: "160px",
|
|
60
|
-
position: "absolute",
|
|
61
|
-
top: "55%",
|
|
62
|
-
left: "50%",
|
|
63
|
-
transform: "translate(-50%, -50%)"
|
|
64
|
-
},
|
|
65
|
-
// Achievement emoji
|
|
66
|
-
achievementEmoji: {
|
|
67
|
-
maxWidth: "80px",
|
|
68
|
-
maxHeight: "80px",
|
|
69
|
-
position: "relative"
|
|
70
|
-
},
|
|
71
|
-
// Text section
|
|
72
|
-
textSection: {
|
|
73
|
-
display: "flex",
|
|
74
|
-
flexDirection: "column",
|
|
75
|
-
alignItems: "center"
|
|
76
|
-
},
|
|
77
|
-
// Congratulations text
|
|
78
|
-
congratulationsText: {
|
|
79
|
-
color: e.textPrimary,
|
|
80
|
-
textAlign: "center",
|
|
81
|
-
fontFamily: e.fontFamilyPrimary,
|
|
82
|
-
fontSize: "1.5em",
|
|
83
|
-
fontStyle: "normal",
|
|
84
|
-
fontWeight: 400,
|
|
85
|
-
lineHeight: "133.4%",
|
|
86
|
-
px: 2
|
|
87
|
-
},
|
|
88
|
-
// Score container
|
|
89
|
-
scoreContainer: {
|
|
90
|
-
display: "flex",
|
|
91
|
-
alignItems: "center",
|
|
92
|
-
gap: "4px"
|
|
93
|
-
},
|
|
94
|
-
// Score numbers container
|
|
95
|
-
scoreNumbersContainer: {
|
|
96
|
-
display: "flex",
|
|
97
|
-
alignItems: "flex-end",
|
|
98
|
-
gap: "4px"
|
|
99
|
-
},
|
|
100
|
-
// Correct score typography
|
|
101
|
-
correctScoreText: (t) => ({
|
|
102
|
-
textAlign: "center",
|
|
103
|
-
color: t > 0 ? e.successColor : e.dangerColor,
|
|
104
|
-
fontFamily: e.fontFamilyPrimary,
|
|
105
|
-
fontSize: "3.75em",
|
|
106
|
-
fontStyle: "normal",
|
|
107
|
-
fontWeight: 500,
|
|
108
|
-
lineHeight: "120%",
|
|
109
|
-
letterSpacing: "-0.5px"
|
|
110
|
-
}),
|
|
111
|
-
// Total score typography
|
|
112
|
-
totalScoreText: (t) => ({
|
|
113
|
-
textAlign: "center",
|
|
114
|
-
color: t > 0 ? e.successColor : e.dangerColor,
|
|
115
|
-
fontFamily: e.fontFamilyPrimary,
|
|
116
|
-
fontSize: "3.75em",
|
|
117
|
-
fontStyle: "normal",
|
|
118
|
-
fontWeight: 500,
|
|
119
|
-
lineHeight: "120%",
|
|
120
|
-
letterSpacing: "-0.5px"
|
|
121
|
-
}),
|
|
122
|
-
// Time text
|
|
123
|
-
timeText: {
|
|
124
|
-
textAlign: "center",
|
|
125
|
-
color: e.textPrimary,
|
|
126
|
-
fontFamily: e.fontFamilySecondary,
|
|
127
|
-
fontSize: "0.875em",
|
|
128
|
-
fontStyle: "normal",
|
|
129
|
-
fontWeight: 700,
|
|
130
|
-
lineHeight: "143%",
|
|
131
|
-
letterSpacing: "0.024px"
|
|
132
|
-
},
|
|
133
|
-
// Points text
|
|
134
|
-
pointsText: {
|
|
135
|
-
textAlign: "center",
|
|
136
|
-
color: e.textPrimary,
|
|
137
|
-
fontFamily: e.fontFamilyPrimary,
|
|
138
|
-
fontSize: "1.25em",
|
|
139
|
-
fontStyle: "normal",
|
|
140
|
-
fontWeight: 500,
|
|
141
|
-
lineHeight: "120%",
|
|
142
|
-
letterSpacing: "0.15px"
|
|
143
|
-
},
|
|
144
|
-
// Lead collection container
|
|
145
|
-
leadCollectionContainer: {
|
|
146
|
-
display: "flex",
|
|
147
|
-
flexDirection: "column",
|
|
148
|
-
p: e.spacingScale.md
|
|
149
|
-
},
|
|
150
|
-
// Lead question container
|
|
151
|
-
leadQuestionContainer: {
|
|
152
|
-
display: "flex",
|
|
153
|
-
flexDirection: "column",
|
|
154
|
-
gap: e.isMobile ? e.spacingScale.lg : e.spacingScale.md
|
|
155
|
-
},
|
|
156
|
-
// Lead content container
|
|
157
|
-
leadContentContainer: {
|
|
158
|
-
borderRadius: e.borderRadius.md,
|
|
159
|
-
px: e.spacingScale.md,
|
|
160
|
-
pt: e.spacingScale.md,
|
|
161
|
-
pb: e.spacingScale.lg,
|
|
162
|
-
gap: e.spacingScale.md,
|
|
163
|
-
bgcolor: e.surfaceVariant,
|
|
164
|
-
display: "flex",
|
|
165
|
-
flexDirection: "column",
|
|
166
|
-
backdropFilter: "blur(4px)"
|
|
167
|
-
},
|
|
168
|
-
// CTA container
|
|
169
|
-
ctaContainer: {
|
|
170
|
-
display: "flex",
|
|
171
|
-
flexDirection: "column",
|
|
172
|
-
alignItems: "center"
|
|
173
|
-
},
|
|
174
|
-
// CTA content wrapper
|
|
175
|
-
ctaContentWrapper: {
|
|
176
|
-
display: "flex",
|
|
177
|
-
flexDirection: "column",
|
|
178
|
-
justifyContent: "center",
|
|
179
|
-
alignItems: "center",
|
|
180
|
-
gap: e.spacingScale.lg
|
|
181
|
-
},
|
|
182
|
-
// Thanks for playing text
|
|
183
|
-
thanksText: {
|
|
184
|
-
color: e.textPrimary,
|
|
185
|
-
textAlign: "center",
|
|
186
|
-
fontFamily: e.fontFamilyPrimary,
|
|
187
|
-
fontSize: "1.25em",
|
|
188
|
-
fontStyle: "normal",
|
|
189
|
-
fontWeight: 500,
|
|
190
|
-
lineHeight: "120%",
|
|
191
|
-
letterSpacing: "0.15px"
|
|
192
|
-
},
|
|
193
|
-
// Buttons container
|
|
194
|
-
buttonsContainer: {
|
|
195
|
-
display: "flex",
|
|
196
|
-
flexDirection: e.isMobile ? "column" : "row",
|
|
197
|
-
gap: e.spacingScale.md
|
|
198
|
-
},
|
|
199
|
-
// Play again button
|
|
200
|
-
playAgainButton: {
|
|
201
|
-
display: "flex",
|
|
202
|
-
py: e.spacingScale.xs,
|
|
203
|
-
px: "16px",
|
|
204
|
-
flexDirection: "column",
|
|
205
|
-
justifyContent: "center",
|
|
206
|
-
alignItems: "center",
|
|
207
|
-
gap: "8px",
|
|
208
|
-
borderRadius: e.borderRadius.xl,
|
|
209
|
-
border: e.borderSize + " solid " + e.primaryColor,
|
|
210
|
-
bgcolor: e.bgcolor,
|
|
211
|
-
"&:hover": {
|
|
212
|
-
bgcolor: e.onSurfaceColor,
|
|
213
|
-
borderColor: e.primaryColor,
|
|
214
|
-
opacity: 0.9
|
|
215
|
-
},
|
|
216
|
-
fontSize: "0.8125em"
|
|
217
|
-
},
|
|
218
|
-
// Play again button content
|
|
219
|
-
playAgainButtonContent: {
|
|
220
|
-
display: "flex",
|
|
221
|
-
justifyContent: "center",
|
|
222
|
-
alignItems: "center",
|
|
223
|
-
gap: "8px",
|
|
224
|
-
alignSelf: "stretch"
|
|
225
|
-
},
|
|
226
|
-
// Play again icon
|
|
227
|
-
playAgainIcon: {
|
|
228
|
-
display: "flex",
|
|
229
|
-
width: "16px",
|
|
230
|
-
height: "16px",
|
|
231
|
-
justifyContent: "flex-end",
|
|
232
|
-
alignItems: "center",
|
|
233
|
-
color: e.textPrimary
|
|
234
|
-
},
|
|
235
|
-
// Play again text
|
|
236
|
-
playAgainText: {
|
|
237
|
-
color: e.textPrimary,
|
|
238
|
-
textAlign: "center",
|
|
239
|
-
fontFamily: e.fontFamilyPrimary,
|
|
240
|
-
fontSize: "0.8125em",
|
|
241
|
-
fontStyle: "normal",
|
|
242
|
-
fontWeight: 500,
|
|
243
|
-
lineHeight: "22px",
|
|
244
|
-
letterSpacing: "0.46px",
|
|
245
|
-
textTransform: "uppercase"
|
|
246
|
-
},
|
|
247
|
-
// Share button
|
|
248
|
-
shareButton: {
|
|
249
|
-
display: "flex",
|
|
250
|
-
py: e.spacingScale.xs,
|
|
251
|
-
px: "16px",
|
|
252
|
-
flexDirection: "column",
|
|
253
|
-
justifyContent: "center",
|
|
254
|
-
alignItems: "center",
|
|
255
|
-
gap: "10px",
|
|
256
|
-
borderRadius: e.borderRadius.xl,
|
|
257
|
-
bgcolor: e.primaryColor,
|
|
258
|
-
border: e.borderSize + " solid " + e.primaryColor,
|
|
259
|
-
"&:hover": {
|
|
260
|
-
bgcolor: e.primaryColor,
|
|
261
|
-
opacity: 0.9
|
|
262
|
-
},
|
|
263
|
-
fontSize: "0.8125em"
|
|
264
|
-
},
|
|
265
|
-
// Share button content
|
|
266
|
-
shareButtonContent: {
|
|
267
|
-
display: "flex",
|
|
268
|
-
justifyContent: "center",
|
|
269
|
-
alignItems: "center",
|
|
270
|
-
gap: "8px",
|
|
271
|
-
alignSelf: "stretch"
|
|
272
|
-
},
|
|
273
|
-
// Share icon
|
|
274
|
-
shareIcon: {
|
|
275
|
-
display: "flex",
|
|
276
|
-
width: "16px",
|
|
277
|
-
height: "16px",
|
|
278
|
-
justifyContent: "center",
|
|
279
|
-
alignItems: "center",
|
|
280
|
-
color: e.onPrimaryColor
|
|
281
|
-
},
|
|
282
|
-
// Share text
|
|
283
|
-
shareText: {
|
|
284
|
-
color: e.onPrimaryColor,
|
|
285
|
-
textAlign: "center",
|
|
286
|
-
fontFamily: e.fontFamilyPrimary,
|
|
287
|
-
fontSize: "0.8125em",
|
|
288
|
-
fontStyle: "normal",
|
|
289
|
-
fontWeight: 500,
|
|
290
|
-
lineHeight: "22px",
|
|
291
|
-
letterSpacing: "0.46px",
|
|
292
|
-
textTransform: "uppercase"
|
|
293
|
-
},
|
|
294
|
-
// Additional CTA button (secondary style)
|
|
295
|
-
additionalCTAButton: {
|
|
296
|
-
display: "flex",
|
|
297
|
-
py: e.spacingScale.sm,
|
|
298
|
-
px: e.spacingScale.md,
|
|
299
|
-
flexDirection: "column",
|
|
300
|
-
justifyContent: "center",
|
|
301
|
-
alignItems: "center",
|
|
302
|
-
gap: "8px",
|
|
303
|
-
borderRadius: e.borderRadius.xl,
|
|
304
|
-
border: e.borderSize + " solid " + e.secondaryContainer,
|
|
305
|
-
bgcolor: e.secondaryContainer,
|
|
306
|
-
"&:hover": {
|
|
307
|
-
bgcolor: e.secondaryContainer,
|
|
308
|
-
opacity: 0.9
|
|
309
|
-
},
|
|
310
|
-
fontSize: "0.8125em"
|
|
311
|
-
},
|
|
312
|
-
// Additional CTA button content
|
|
313
|
-
additionalCTAButtonContent: {
|
|
314
|
-
display: "flex",
|
|
315
|
-
justifyContent: "center",
|
|
316
|
-
alignItems: "center",
|
|
317
|
-
gap: "8px"
|
|
318
|
-
},
|
|
319
|
-
// Additional CTA text
|
|
320
|
-
additionalCTAText: {
|
|
321
|
-
color: e.secondaryColor,
|
|
322
|
-
fontFamily: e.fontFamilyPrimary,
|
|
323
|
-
fontSize: "0.8125em",
|
|
324
|
-
fontStyle: "normal",
|
|
325
|
-
fontWeight: 500,
|
|
326
|
-
lineHeight: "22px",
|
|
327
|
-
letterSpacing: "0.46px",
|
|
328
|
-
textTransform: "uppercase"
|
|
329
|
-
},
|
|
330
|
-
// Presented by container
|
|
331
|
-
presentedByContainer: {
|
|
332
|
-
display: "flex",
|
|
333
|
-
justifyContent: "center",
|
|
334
|
-
alignItems: "center",
|
|
335
|
-
gap: "8px",
|
|
336
|
-
alignSelf: "stretch"
|
|
337
|
-
},
|
|
338
|
-
// Score state wrapper container
|
|
339
|
-
scoreStateWrapperContainer: {
|
|
340
|
-
display: "flex",
|
|
341
|
-
flexDirection: e.isMobile ? "column" : "row",
|
|
342
|
-
width: "100%"
|
|
343
|
-
}
|
|
344
|
-
});
|
|
345
|
-
export {
|
|
346
|
-
n as createStyles
|
|
347
|
-
};
|
package/packages/classic-quiz-play/src/components/Variants/Standard/SignIn/StandardSignIn.js
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { j as t } from "../../../../../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import w from "../../../Shared/MainCard.js";
|
|
3
|
-
import D from "../../../Shared/PresentedBy.js";
|
|
4
|
-
import { isMobile as v, useInternalTheme as R, useFontFamily as F, useCornerRadius as _, useColors as a } from "../../../../../../common/src/functions/theme.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 M } from "../../../../../../common/src/enums/enums.js";
|
|
8
|
-
import { Button as l, Typography as s, Box as U } from "@mui/joy";
|
|
9
|
-
import "react";
|
|
10
|
-
import "../../../../../../common/src/providers/ConstantsProvider.js";
|
|
11
|
-
import E from "../../../../../../common/src/components/Skeletons/Standard/SignIn/StandardSignInSkeleton.js";
|
|
12
|
-
import { useImageVariant as N } from "../../../../../../common/src/hooks/useImageVariant.js";
|
|
13
|
-
import "../../../../../../common/src/providers/ContainerProvider.js";
|
|
14
|
-
import { createStyles as V } from "./StandardSignIn.styles.js";
|
|
15
|
-
import { useTranslation as W } from "../../../../../../../node_modules/react-i18next/dist/es/useTranslation.js";
|
|
16
|
-
const sn = (n) => {
|
|
17
|
-
var c, u, g, d, I;
|
|
18
|
-
const e = ((c = n.classicQuiz.branding) == null ? void 0 : c.colors) || null, r = v(), j = R(), m = N(
|
|
19
|
-
{
|
|
20
|
-
images: n.classicQuiz.images,
|
|
21
|
-
imagePlaceholder: n.defaultImagePlaceholderUrl ? n.defaultImagePlaceholderUrl : ""
|
|
22
|
-
},
|
|
23
|
-
M.STANDARD
|
|
24
|
-
), b = F().primary, B = _().xl, P = (e == null ? void 0 : e.primaryColor) || a().palette.primary.plainColor, S = a().palette.primary.onPrimary, k = (e == null ? void 0 : e.contentColor) || a().textColor, z = r ? ((u = n.classicQuiz.branding) == null ? void 0 : u.images.mobileLogo) || ((g = n.classicQuiz.branding) == null ? void 0 : g.images.mainLogo) || "" : ((d = n.classicQuiz.branding) == null ? void 0 : d.images.mainLogo) || "", { t: o } = W(), L = n.imagePosition || "left", i = V({
|
|
25
|
-
fontFamilyPrimary: b,
|
|
26
|
-
buttonRadius: B,
|
|
27
|
-
primaryColor: P,
|
|
28
|
-
onPrimaryColor: S
|
|
29
|
-
}), Q = () => {
|
|
30
|
-
var x, f, C, T;
|
|
31
|
-
return n.signInCTA ? (x = n.signInCTA) != null && x.component ? n.signInCTA.component : (f = n.signInCTA) != null && f.onClick ? /* @__PURE__ */ t.jsx(
|
|
32
|
-
l,
|
|
33
|
-
{
|
|
34
|
-
variant: "soft",
|
|
35
|
-
sx: {
|
|
36
|
-
...i.signInButton,
|
|
37
|
-
...i.pulseAnimation
|
|
38
|
-
},
|
|
39
|
-
onClick: n.signInCTA.onClick,
|
|
40
|
-
children: /* @__PURE__ */ t.jsx(s, { sx: i.signInButtonText, children: n.signInCTA.defaultLabel || o("common.signIn") })
|
|
41
|
-
}
|
|
42
|
-
) : (C = n.signInCTA) != null && C.url ? typeof window > "u" ? /* @__PURE__ */ t.jsx(
|
|
43
|
-
U,
|
|
44
|
-
{
|
|
45
|
-
component: "a",
|
|
46
|
-
href: n.signInCTA.url,
|
|
47
|
-
target: ((T = n.signInCTA) == null ? void 0 : T.target) || "_self",
|
|
48
|
-
sx: {
|
|
49
|
-
...i.signInButton,
|
|
50
|
-
...i.pulseAnimation,
|
|
51
|
-
textDecoration: "none",
|
|
52
|
-
display: "inline-flex",
|
|
53
|
-
alignItems: "center",
|
|
54
|
-
justifyContent: "center"
|
|
55
|
-
},
|
|
56
|
-
children: /* @__PURE__ */ t.jsx(s, { sx: i.signInButtonText, children: n.signInCTA.defaultLabel || o("common.signIn") })
|
|
57
|
-
}
|
|
58
|
-
) : /* @__PURE__ */ t.jsx(
|
|
59
|
-
l,
|
|
60
|
-
{
|
|
61
|
-
variant: "soft",
|
|
62
|
-
sx: {
|
|
63
|
-
...i.signInButton,
|
|
64
|
-
...i.pulseAnimation
|
|
65
|
-
},
|
|
66
|
-
onClick: () => {
|
|
67
|
-
var h, y, A;
|
|
68
|
-
((h = n.signInCTA) == null ? void 0 : h.target) === "_blank" ? window.open((y = n.signInCTA) == null ? void 0 : y.url, "_blank") : window.location.href = (A = n.signInCTA) == null ? void 0 : A.url;
|
|
69
|
-
},
|
|
70
|
-
children: /* @__PURE__ */ t.jsx(s, { sx: i.signInButtonText, children: n.signInCTA.defaultLabel || o("common.signIn") })
|
|
71
|
-
}
|
|
72
|
-
) : /* @__PURE__ */ t.jsx(
|
|
73
|
-
l,
|
|
74
|
-
{
|
|
75
|
-
variant: "soft",
|
|
76
|
-
sx: {
|
|
77
|
-
...i.signInButton
|
|
78
|
-
},
|
|
79
|
-
disabled: !0,
|
|
80
|
-
children: /* @__PURE__ */ t.jsx(s, { sx: i.signInButtonText, children: n.signInCTA.defaultLabel || o("common.signIn") })
|
|
81
|
-
}
|
|
82
|
-
) : /* @__PURE__ */ t.jsx(
|
|
83
|
-
l,
|
|
84
|
-
{
|
|
85
|
-
variant: "soft",
|
|
86
|
-
sx: {
|
|
87
|
-
...i.signInButton
|
|
88
|
-
},
|
|
89
|
-
disabled: !0,
|
|
90
|
-
children: /* @__PURE__ */ t.jsx(s, { sx: i.signInButtonText, children: o("common.signIn") })
|
|
91
|
-
}
|
|
92
|
-
);
|
|
93
|
-
};
|
|
94
|
-
return /* @__PURE__ */ t.jsx(w, { brandingBorderColor: (e == null ? void 0 : e.borderColor) || null, children: /* @__PURE__ */ t.jsx(
|
|
95
|
-
E,
|
|
96
|
-
{
|
|
97
|
-
entity: n.classicQuiz,
|
|
98
|
-
headline: o("classicQuiz.headline"),
|
|
99
|
-
finalImage: m,
|
|
100
|
-
imagePosition: L,
|
|
101
|
-
signInContent: Q(),
|
|
102
|
-
brandingContent: /* @__PURE__ */ t.jsx(
|
|
103
|
-
D,
|
|
104
|
-
{
|
|
105
|
-
brandingLogo: z,
|
|
106
|
-
textColor: r && m ? (e == null ? void 0 : e.contentColor) || j.colorSchemes.dark.textColor : k,
|
|
107
|
-
label: ((I = n.classicQuiz.labels) == null ? void 0 : I.sponsor) || null,
|
|
108
|
-
isCentered: !0
|
|
109
|
-
}
|
|
110
|
-
),
|
|
111
|
-
rulesDisplay: n.rulesDisplay
|
|
112
|
-
}
|
|
113
|
-
) });
|
|
114
|
-
};
|
|
115
|
-
export {
|
|
116
|
-
sn as default
|
|
117
|
-
};
|