fansunited-frontend-components 0.0.31-RC5 → 0.0.31-RC7
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 +4846 -3
- package/CollectLead.js +1252 -3
- package/EventGamePlay.js +7594 -3
- package/MatchQuizPlay.js +11001 -3
- package/PersonalityQuizPlay.js +39512 -3
- package/PollVote.js +4165 -3
- package/chunks/CollectLeadForm-C_3plJtn.js +5391 -0
- package/chunks/Error-BurPfBJw.js +1739 -0
- package/chunks/OverlayLeadAfterCollection-Bjh1xAB5.js +898 -0
- package/chunks/OverlayScoreStateSkeleton-Cha5KeNi.js +146 -0
- package/chunks/Portal-DegkUXpU.js +21877 -0
- package/chunks/Tabs-leN3Fb8D.js +1079 -0
- package/chunks/index-DUQ2LFod.js +5492 -0
- package/index.d.ts.map +1 -1
- 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
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
const o = (e) => {
|
|
2
|
-
var i, t, n, l;
|
|
3
|
-
return {
|
|
4
|
-
// Main headline section with background image
|
|
5
|
-
headlineSection: {
|
|
6
|
-
display: "flex",
|
|
7
|
-
flexDirection: "column",
|
|
8
|
-
justifyContent: "space-between",
|
|
9
|
-
gap: "10px",
|
|
10
|
-
flex: e.isMobile ? "1" : "0 0 50%",
|
|
11
|
-
width: e.isMobile ? "100%" : "50%",
|
|
12
|
-
minWidth: e.isMobile ? "100%" : "50%",
|
|
13
|
-
maxWidth: e.isMobile ? "100%" : "50%",
|
|
14
|
-
backgroundImage: e.finalImage ? `url(${e.finalImage})` : "none",
|
|
15
|
-
backgroundSize: "cover",
|
|
16
|
-
backgroundPosition: "center",
|
|
17
|
-
borderTopLeftRadius: e.borderRadius.md,
|
|
18
|
-
borderTopRightRadius: e.isMobile ? e.borderRadius.md : 0,
|
|
19
|
-
borderBottomLeftRadius: e.isMobile ? 0 : e.borderRadius.md,
|
|
20
|
-
overflow: "hidden",
|
|
21
|
-
height: "auto",
|
|
22
|
-
position: "relative",
|
|
23
|
-
minHeight: e.isMobile ? "210px" : "430px",
|
|
24
|
-
"&::before": e.finalImage ? {
|
|
25
|
-
content: '""',
|
|
26
|
-
position: "absolute",
|
|
27
|
-
width: "100%",
|
|
28
|
-
height: "100%",
|
|
29
|
-
background: e.imageBackgroundGradient,
|
|
30
|
-
borderTopLeftRadius: "5px",
|
|
31
|
-
borderTopRightRadius: "5px"
|
|
32
|
-
} : {}
|
|
33
|
-
},
|
|
34
|
-
// Headline section without image
|
|
35
|
-
headlineSectionNoImage: {
|
|
36
|
-
display: "flex",
|
|
37
|
-
flexDirection: "column",
|
|
38
|
-
justifyContent: "space-between",
|
|
39
|
-
gap: "10px",
|
|
40
|
-
flex: e.isMobile ? "1" : "0 0 50%",
|
|
41
|
-
width: e.isMobile ? "100%" : "50%",
|
|
42
|
-
minWidth: e.isMobile ? "100%" : "50%",
|
|
43
|
-
maxWidth: e.isMobile ? "100%" : "50%",
|
|
44
|
-
borderTopLeftRadius: e.borderRadius.md,
|
|
45
|
-
borderTopRightRadius: e.isMobile ? e.borderRadius.md : 0,
|
|
46
|
-
borderBottomLeftRadius: e.isMobile ? 0 : e.borderRadius.md,
|
|
47
|
-
overflow: "hidden",
|
|
48
|
-
height: "auto",
|
|
49
|
-
position: "relative",
|
|
50
|
-
minHeight: e.isMobile ? "210px" : "430px",
|
|
51
|
-
backgroundColor: ((i = e.brandingColors) == null ? void 0 : i.backgroundColor) || e.textColor + "10"
|
|
52
|
-
},
|
|
53
|
-
// Embed code headline section (for poll-vote and classic-quiz-play)
|
|
54
|
-
embedCodeHeadlineSection: {
|
|
55
|
-
display: "flex",
|
|
56
|
-
flexDirection: "column",
|
|
57
|
-
justifyContent: "space-between",
|
|
58
|
-
gap: "10px",
|
|
59
|
-
flex: e.isMobile ? "1" : "0 0 50%",
|
|
60
|
-
width: e.isMobile ? "100%" : "50%",
|
|
61
|
-
minWidth: e.isMobile ? "100%" : "50%",
|
|
62
|
-
maxWidth: e.isMobile ? "100%" : "50%",
|
|
63
|
-
borderTopLeftRadius: e.borderRadius.md,
|
|
64
|
-
borderTopRightRadius: e.isMobile ? e.borderRadius.md : 0,
|
|
65
|
-
borderBottomLeftRadius: e.isMobile ? 0 : e.borderRadius.md,
|
|
66
|
-
overflow: "hidden",
|
|
67
|
-
height: "auto",
|
|
68
|
-
position: "relative",
|
|
69
|
-
minHeight: e.isMobile ? "210px" : "430px"
|
|
70
|
-
},
|
|
71
|
-
// AspectRatio container for embed code
|
|
72
|
-
aspectRatioContainer: {
|
|
73
|
-
borderRadius: 0,
|
|
74
|
-
width: "100%",
|
|
75
|
-
height: "100%"
|
|
76
|
-
},
|
|
77
|
-
// Headline content wrapper
|
|
78
|
-
headlineContent: {
|
|
79
|
-
zIndex: 1,
|
|
80
|
-
height: "100%",
|
|
81
|
-
p: e.spacingScale.xl,
|
|
82
|
-
gap: e.spacingScale.xl,
|
|
83
|
-
display: "flex",
|
|
84
|
-
flexDirection: "column",
|
|
85
|
-
justifyContent: "space-between"
|
|
86
|
-
},
|
|
87
|
-
// Embed code headline content (shown in question area when embed code is present)
|
|
88
|
-
embedCodeHeadlineContent: {
|
|
89
|
-
px: e.spacingScale.lg,
|
|
90
|
-
pt: e.spacingScale.lg,
|
|
91
|
-
display: "flex",
|
|
92
|
-
flexDirection: "column",
|
|
93
|
-
gap: e.spacingScale.md
|
|
94
|
-
},
|
|
95
|
-
// Headline typography (with image background)
|
|
96
|
-
headlineText: {
|
|
97
|
-
fontWeight: 500,
|
|
98
|
-
lineHeight: "166%",
|
|
99
|
-
letterSpacing: "1px",
|
|
100
|
-
fontSize: "0.75em",
|
|
101
|
-
color: ((t = e.brandingColors) == null ? void 0 : t.secondaryColor) || e.darkTextColor,
|
|
102
|
-
opacity: "70%",
|
|
103
|
-
textTransform: "uppercase",
|
|
104
|
-
fontFamily: e.fontFamilySecondary,
|
|
105
|
-
textAlign: e.isMobile ? "center" : "left"
|
|
106
|
-
},
|
|
107
|
-
// Headline typography (without image background)
|
|
108
|
-
headlineTextNoImage: {
|
|
109
|
-
fontWeight: 500,
|
|
110
|
-
lineHeight: "166%",
|
|
111
|
-
letterSpacing: "1px",
|
|
112
|
-
fontSize: "0.75em",
|
|
113
|
-
color: e.secondaryColor,
|
|
114
|
-
opacity: "70%",
|
|
115
|
-
textTransform: "uppercase",
|
|
116
|
-
fontFamily: e.fontFamilySecondary,
|
|
117
|
-
textAlign: e.isMobile ? "center" : "left"
|
|
118
|
-
},
|
|
119
|
-
// Content container
|
|
120
|
-
contentContainer: {
|
|
121
|
-
display: "flex",
|
|
122
|
-
flexDirection: "column",
|
|
123
|
-
gap: e.spacingScale["3xs"]
|
|
124
|
-
},
|
|
125
|
-
// Title typography (with image background)
|
|
126
|
-
titleText: {
|
|
127
|
-
fontWeight: 700,
|
|
128
|
-
lineHeight: "133%",
|
|
129
|
-
fontSize: "1.5em",
|
|
130
|
-
letterSpacing: "0.15px",
|
|
131
|
-
color: ((n = e.brandingColors) == null ? void 0 : n.contentColor) || e.darkTextColor,
|
|
132
|
-
fontFamily: e.fontFamilyPrimary,
|
|
133
|
-
textAlign: e.isMobile ? "center" : "left"
|
|
134
|
-
},
|
|
135
|
-
// Title typography (without image background)
|
|
136
|
-
titleTextNoImage: {
|
|
137
|
-
fontWeight: 700,
|
|
138
|
-
lineHeight: "133%",
|
|
139
|
-
fontSize: "1.5em",
|
|
140
|
-
letterSpacing: "0.15px",
|
|
141
|
-
color: e.textColor,
|
|
142
|
-
fontFamily: e.fontFamilyPrimary,
|
|
143
|
-
textAlign: e.isMobile ? "center" : "left"
|
|
144
|
-
},
|
|
145
|
-
// Description typography (with image background)
|
|
146
|
-
descriptionText: {
|
|
147
|
-
fontWeight: 400,
|
|
148
|
-
lineHeight: "140%",
|
|
149
|
-
fontSize: "1.25em",
|
|
150
|
-
letterSpacing: "0.15px",
|
|
151
|
-
color: ((l = e.brandingColors) == null ? void 0 : l.secondaryColor) || e.darkTextColor,
|
|
152
|
-
opacity: "70%",
|
|
153
|
-
fontFamily: e.fontFamilyPrimary,
|
|
154
|
-
textAlign: e.isMobile ? "center" : "left"
|
|
155
|
-
},
|
|
156
|
-
// Description typography (without image background)
|
|
157
|
-
descriptionTextNoImage: {
|
|
158
|
-
fontWeight: 400,
|
|
159
|
-
lineHeight: "140%",
|
|
160
|
-
fontSize: "1.25em",
|
|
161
|
-
letterSpacing: "0.15px",
|
|
162
|
-
color: e.secondaryColor,
|
|
163
|
-
opacity: "70%",
|
|
164
|
-
fontFamily: e.fontFamilyPrimary,
|
|
165
|
-
textAlign: e.isMobile ? "center" : "left"
|
|
166
|
-
},
|
|
167
|
-
// Question area / content section
|
|
168
|
-
questionArea: {
|
|
169
|
-
flex: e.isMobile ? "1" : "0 0 50%",
|
|
170
|
-
width: e.isMobile ? "100%" : "50%",
|
|
171
|
-
minWidth: e.isMobile ? "100%" : "50%",
|
|
172
|
-
maxWidth: e.isMobile ? "100%" : "50%",
|
|
173
|
-
display: "flex",
|
|
174
|
-
flexDirection: "column",
|
|
175
|
-
justifyContent: "center"
|
|
176
|
-
}
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
|
-
export {
|
|
180
|
-
o as createStyles
|
|
181
|
-
};
|
package/packages/common/src/components/Skeletons/Standard/ApiError/StandardApiErrorSkeleton.js
DELETED
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../../../../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import F from "../../../AlertMessage.js";
|
|
3
|
-
import { useInternalTheme as E, isMobile as H, useSpacingScale as W, useFontFamily as g, useCornerRadius as q, useColors as o, useBorderSize as z, useImageBackgroundGradient as G } from "../../../../functions/theme.js";
|
|
4
|
-
import { stripHtmlTags as m } 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 u } from "../../../../enums/enums.js";
|
|
8
|
-
import { Box as r, Typography as s, Button as N } from "@mui/joy";
|
|
9
|
-
import y from "../../../Rules.js";
|
|
10
|
-
import "react";
|
|
11
|
-
import "../../../../providers/ConstantsProvider.js";
|
|
12
|
-
import { createStyles as U } from "./StandardApiErrorSkeleton.styles.js";
|
|
13
|
-
import L from "../../../../../../../node_modules/@mui/icons-material/esm/Replay.js";
|
|
14
|
-
import { useImageVariant as O } from "../../../../hooks/useImageVariant.js";
|
|
15
|
-
import "../../../../providers/ContainerProvider.js";
|
|
16
|
-
import { useTranslation as V } from "../../../../../../../node_modules/react-i18next/dist/es/useTranslation.js";
|
|
17
|
-
const oe = (i) => {
|
|
18
|
-
var h;
|
|
19
|
-
const n = ((h = i.entity.branding) == null ? void 0 : h.colors) || null, j = E(), f = H(), l = O(
|
|
20
|
-
{
|
|
21
|
-
images: i.entity.images || null,
|
|
22
|
-
imagePlaceholder: i.defaultImagePlaceholderUrl ? i.defaultImagePlaceholderUrl : ""
|
|
23
|
-
},
|
|
24
|
-
u.STANDARD
|
|
25
|
-
), a = W(), p = g().primary, C = g().secondary, T = q(), x = (n == null ? void 0 : n.contentColor) || o().textColor, A = o().textPrimary, I = (n == null ? void 0 : n.primaryColor) || o().palette.primary.plainColor, b = (n == null ? void 0 : n.secondaryColor) || o().textColor, S = z().size, D = o().surface, B = o().onSurface, v = G(
|
|
26
|
-
u.STANDARD
|
|
27
|
-
), { t: c } = V(), d = i.imagePosition || "left", P = "60%", k = i.isApiError ? c("common.error.title") : c("common.authentication.accessRequired"), M = i.isApiError ? i.apiErrorMessage || c("common.error.message") : c("common.authentication.invalidOrMissingAuth"), t = U({
|
|
28
|
-
finalImage: l,
|
|
29
|
-
spacingScale: a,
|
|
30
|
-
borderRadius: T,
|
|
31
|
-
fontFamilyPrimary: p,
|
|
32
|
-
fontFamilySecondary: C,
|
|
33
|
-
textColor: x,
|
|
34
|
-
secondaryColor: b,
|
|
35
|
-
brandingColors: n,
|
|
36
|
-
darkTextColor: j.colorSchemes.dark.textColor,
|
|
37
|
-
opacity: P,
|
|
38
|
-
imagePosition: d,
|
|
39
|
-
imageBackgroundGradient: v,
|
|
40
|
-
textPrimary: A,
|
|
41
|
-
primaryColor: I,
|
|
42
|
-
borderSize: S,
|
|
43
|
-
buttonBgColor: D,
|
|
44
|
-
onSurfaceColor: B,
|
|
45
|
-
isMobile: f
|
|
46
|
-
}), R = () => i.isApiError ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
47
|
-
/* @__PURE__ */ e.jsx(r, { sx: t.ctaContainer, children: /* @__PURE__ */ e.jsx(r, { sx: t.ctaContentWrapper, children: /* @__PURE__ */ e.jsx(r, { sx: t.buttonsContainer, children: /* @__PURE__ */ e.jsx(N, { sx: t.tryAgainButton, onClick: i.toggleTryAgain, children: /* @__PURE__ */ e.jsxs(r, { sx: t.tryAgainButtonContent, children: [
|
|
48
|
-
/* @__PURE__ */ e.jsx(L, { sx: t.tryAgainIcon }),
|
|
49
|
-
/* @__PURE__ */ e.jsx(s, { sx: t.tryAgainText, children: i.tryAgainButtonText })
|
|
50
|
-
] }) }) }) }) }),
|
|
51
|
-
/* @__PURE__ */ e.jsx(r, { sx: t.presentedByContainer, children: i.renderPresentedBy(x) })
|
|
52
|
-
] }) : /* @__PURE__ */ e.jsx(e.Fragment, {});
|
|
53
|
-
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
54
|
-
l ? /* @__PURE__ */ e.jsx(r, { sx: t.mobileHeadlineWithImage, children: /* @__PURE__ */ e.jsx(r, { sx: t.mobileHeadlineContent, children: /* @__PURE__ */ e.jsxs(r, { children: [
|
|
55
|
-
/* @__PURE__ */ e.jsxs(r, { sx: { display: "flex", alignItems: "center", gap: a["3xs"] }, children: [
|
|
56
|
-
/* @__PURE__ */ e.jsx(
|
|
57
|
-
s,
|
|
58
|
-
{
|
|
59
|
-
level: "body-sm",
|
|
60
|
-
sx: t.headlineTypographyMobileImage,
|
|
61
|
-
children: i.headline
|
|
62
|
-
}
|
|
63
|
-
),
|
|
64
|
-
/* @__PURE__ */ e.jsx(
|
|
65
|
-
y,
|
|
66
|
-
{
|
|
67
|
-
rulesDisplay: i.rulesDisplay,
|
|
68
|
-
rules: i.entity.rules || ""
|
|
69
|
-
}
|
|
70
|
-
)
|
|
71
|
-
] }),
|
|
72
|
-
/* @__PURE__ */ e.jsxs(r, { sx: t.contentContainer, children: [
|
|
73
|
-
/* @__PURE__ */ e.jsx(
|
|
74
|
-
s,
|
|
75
|
-
{
|
|
76
|
-
level: "body-lg",
|
|
77
|
-
sx: t.titleTypographyMobileImage,
|
|
78
|
-
children: i.entity.title
|
|
79
|
-
}
|
|
80
|
-
),
|
|
81
|
-
/* @__PURE__ */ e.jsx(
|
|
82
|
-
s,
|
|
83
|
-
{
|
|
84
|
-
level: "body-md",
|
|
85
|
-
sx: t.descriptionTypographyMobileImage,
|
|
86
|
-
children: m(i.entity.description)
|
|
87
|
-
}
|
|
88
|
-
)
|
|
89
|
-
] })
|
|
90
|
-
] }) }) }) : /* @__PURE__ */ e.jsx(r, { sx: t.mobileHeadlineWithoutImage, children: /* @__PURE__ */ e.jsxs(r, { children: [
|
|
91
|
-
/* @__PURE__ */ e.jsxs(r, { sx: { display: "flex", alignItems: "center", gap: a["3xs"] }, children: [
|
|
92
|
-
/* @__PURE__ */ e.jsx(s, { level: "body-sm", sx: t.headlineTypography, children: i.headline }),
|
|
93
|
-
/* @__PURE__ */ e.jsx(
|
|
94
|
-
y,
|
|
95
|
-
{
|
|
96
|
-
rulesDisplay: i.rulesDisplay,
|
|
97
|
-
rules: i.entity.rules || ""
|
|
98
|
-
}
|
|
99
|
-
)
|
|
100
|
-
] }),
|
|
101
|
-
/* @__PURE__ */ e.jsxs(r, { sx: t.contentContainer, children: [
|
|
102
|
-
/* @__PURE__ */ e.jsx(s, { level: "h4", sx: t.titleTypography, children: i.entity.title }),
|
|
103
|
-
/* @__PURE__ */ e.jsx(s, { level: "body-md", sx: t.descriptionTypography, children: m(i.entity.description) })
|
|
104
|
-
] })
|
|
105
|
-
] }) }),
|
|
106
|
-
l && d === "left" && /* @__PURE__ */ e.jsx(r, { sx: t.imageContainerLeft, children: /* @__PURE__ */ e.jsx(
|
|
107
|
-
"img",
|
|
108
|
-
{
|
|
109
|
-
src: l,
|
|
110
|
-
alt: "illustration",
|
|
111
|
-
style: t.image
|
|
112
|
-
}
|
|
113
|
-
) }),
|
|
114
|
-
/* @__PURE__ */ e.jsxs(r, { sx: t.mainContentArea, children: [
|
|
115
|
-
/* @__PURE__ */ e.jsx(r, { sx: { px: a.md }, children: /* @__PURE__ */ e.jsx(r, { sx: t.desktopHeadlineContainer, children: /* @__PURE__ */ e.jsxs(
|
|
116
|
-
r,
|
|
117
|
-
{
|
|
118
|
-
sx: {
|
|
119
|
-
display: "flex",
|
|
120
|
-
flexDirection: "column",
|
|
121
|
-
alignItems: "center"
|
|
122
|
-
},
|
|
123
|
-
children: [
|
|
124
|
-
/* @__PURE__ */ e.jsxs(r, { sx: { display: "flex", alignItems: "center", gap: a["3xs"] }, children: [
|
|
125
|
-
/* @__PURE__ */ e.jsx(s, { level: "body-sm", sx: t.headlineTypography, children: i.headline }),
|
|
126
|
-
/* @__PURE__ */ e.jsx(
|
|
127
|
-
y,
|
|
128
|
-
{
|
|
129
|
-
rulesDisplay: i.rulesDisplay,
|
|
130
|
-
rules: i.entity.rules || ""
|
|
131
|
-
}
|
|
132
|
-
)
|
|
133
|
-
] }),
|
|
134
|
-
/* @__PURE__ */ e.jsxs(r, { sx: t.contentContainer, children: [
|
|
135
|
-
/* @__PURE__ */ e.jsx(s, { level: "h4", sx: t.titleTypographyDesktop, children: i.entity.title }),
|
|
136
|
-
/* @__PURE__ */ e.jsx(
|
|
137
|
-
s,
|
|
138
|
-
{
|
|
139
|
-
level: "body-md",
|
|
140
|
-
sx: t.descriptionTypographyDesktop,
|
|
141
|
-
children: m(i.entity.description)
|
|
142
|
-
}
|
|
143
|
-
)
|
|
144
|
-
] })
|
|
145
|
-
]
|
|
146
|
-
}
|
|
147
|
-
) }) }),
|
|
148
|
-
/* @__PURE__ */ e.jsx(r, { sx: t.questionArea, children: /* @__PURE__ */ e.jsxs(r, { sx: t.questionContainer, children: [
|
|
149
|
-
/* @__PURE__ */ e.jsx(r, { sx: t.alertContainer, children: /* @__PURE__ */ e.jsx(
|
|
150
|
-
F,
|
|
151
|
-
{
|
|
152
|
-
variant: "error",
|
|
153
|
-
title: k,
|
|
154
|
-
message: M
|
|
155
|
-
}
|
|
156
|
-
) }),
|
|
157
|
-
i.isApiError ? /* @__PURE__ */ e.jsx(e.Fragment, {}) : i.renderPresentedBy(x)
|
|
158
|
-
] }) }),
|
|
159
|
-
R()
|
|
160
|
-
] }),
|
|
161
|
-
l && d === "right" && /* @__PURE__ */ e.jsx(r, { sx: t.imageContainerRight, children: /* @__PURE__ */ e.jsx(
|
|
162
|
-
"img",
|
|
163
|
-
{
|
|
164
|
-
src: l,
|
|
165
|
-
alt: "illustration",
|
|
166
|
-
style: t.image
|
|
167
|
-
}
|
|
168
|
-
) })
|
|
169
|
-
] });
|
|
170
|
-
};
|
|
171
|
-
export {
|
|
172
|
-
oe as default
|
|
173
|
-
};
|
|
@@ -1,275 +0,0 @@
|
|
|
1
|
-
const l = (e) => {
|
|
2
|
-
var i, t, n;
|
|
3
|
-
return {
|
|
4
|
-
// Mobile headline with image background
|
|
5
|
-
mobileHeadlineWithImage: {
|
|
6
|
-
display: e.isMobile ? "flex" : "none",
|
|
7
|
-
flexDirection: "column",
|
|
8
|
-
justifyContent: "space-between",
|
|
9
|
-
gap: "10px",
|
|
10
|
-
backgroundImage: `url(${e.finalImage})`,
|
|
11
|
-
backgroundSize: "cover",
|
|
12
|
-
backgroundPosition: "center",
|
|
13
|
-
borderTopLeftRadius: "5px",
|
|
14
|
-
borderTopRightRadius: "5px",
|
|
15
|
-
position: "relative",
|
|
16
|
-
minHeight: "210px",
|
|
17
|
-
overflow: "hidden",
|
|
18
|
-
height: "auto",
|
|
19
|
-
"&::before": {
|
|
20
|
-
content: '""',
|
|
21
|
-
position: "absolute",
|
|
22
|
-
width: "100%",
|
|
23
|
-
height: "100%",
|
|
24
|
-
background: e.imageBackgroundGradient,
|
|
25
|
-
borderTopLeftRadius: "5px",
|
|
26
|
-
borderTopRightRadius: "5px"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
// Content inside mobile headline with image
|
|
30
|
-
mobileHeadlineContent: {
|
|
31
|
-
zIndex: 1,
|
|
32
|
-
height: "100%",
|
|
33
|
-
p: e.spacingScale.xl,
|
|
34
|
-
gap: e.spacingScale["2xl"],
|
|
35
|
-
display: "flex",
|
|
36
|
-
flexDirection: "column",
|
|
37
|
-
justifyContent: "space-between"
|
|
38
|
-
},
|
|
39
|
-
// Mobile headline without image
|
|
40
|
-
mobileHeadlineWithoutImage: {
|
|
41
|
-
display: e.isMobile ? "flex" : "none",
|
|
42
|
-
flex: "0.5",
|
|
43
|
-
flexDirection: "column",
|
|
44
|
-
justifyContent: "space-between",
|
|
45
|
-
p: e.spacingScale.lg,
|
|
46
|
-
gap: e.spacingScale["2xl"]
|
|
47
|
-
},
|
|
48
|
-
// Headline typography (mobile with image)
|
|
49
|
-
headlineTypographyMobileImage: {
|
|
50
|
-
fontWeight: 500,
|
|
51
|
-
lineHeight: "166%",
|
|
52
|
-
letterSpacing: "1px",
|
|
53
|
-
fontSize: "0.75em",
|
|
54
|
-
color: ((i = e.brandingColors) == null ? void 0 : i.secondaryColor) || e.darkTextColor,
|
|
55
|
-
opacity: "70%",
|
|
56
|
-
textTransform: "uppercase",
|
|
57
|
-
fontFamily: e.fontFamilySecondary,
|
|
58
|
-
textAlign: "center"
|
|
59
|
-
},
|
|
60
|
-
// Headline typography (mobile without image & desktop)
|
|
61
|
-
headlineTypography: {
|
|
62
|
-
fontWeight: 500,
|
|
63
|
-
lineHeight: "166%",
|
|
64
|
-
letterSpacing: "1px",
|
|
65
|
-
textTransform: "uppercase",
|
|
66
|
-
fontSize: "0.75em",
|
|
67
|
-
color: e.secondaryColor,
|
|
68
|
-
opacity: e.opacity,
|
|
69
|
-
fontFamily: e.fontFamilySecondary,
|
|
70
|
-
textAlign: "center"
|
|
71
|
-
},
|
|
72
|
-
// Title typography (mobile with image)
|
|
73
|
-
titleTypographyMobileImage: {
|
|
74
|
-
fontWeight: 700,
|
|
75
|
-
lineHeight: "133%",
|
|
76
|
-
fontSize: "1.5em",
|
|
77
|
-
letterSpacing: "0.15px",
|
|
78
|
-
color: ((t = e.brandingColors) == null ? void 0 : t.contentColor) || e.darkTextColor,
|
|
79
|
-
fontFamily: e.fontFamilyPrimary,
|
|
80
|
-
textAlign: "center"
|
|
81
|
-
},
|
|
82
|
-
// Title typography (mobile without image & desktop)
|
|
83
|
-
titleTypography: {
|
|
84
|
-
fontWeight: 700,
|
|
85
|
-
lineHeight: "133%",
|
|
86
|
-
letterSpacing: "0px",
|
|
87
|
-
fontSize: "1.5em",
|
|
88
|
-
color: e.textColor,
|
|
89
|
-
fontFamily: e.fontFamilyPrimary,
|
|
90
|
-
textAlign: e.isMobile ? "center" : "left"
|
|
91
|
-
},
|
|
92
|
-
// Description typography (mobile with image)
|
|
93
|
-
descriptionTypographyMobileImage: {
|
|
94
|
-
fontWeight: 400,
|
|
95
|
-
lineHeight: "140%",
|
|
96
|
-
fontSize: "1.25em",
|
|
97
|
-
letterSpacing: "0.15px",
|
|
98
|
-
color: ((n = e.brandingColors) == null ? void 0 : n.secondaryColor) || e.darkTextColor,
|
|
99
|
-
opacity: "70%",
|
|
100
|
-
fontFamily: e.fontFamilyPrimary,
|
|
101
|
-
textAlign: "center"
|
|
102
|
-
},
|
|
103
|
-
// Description typography (mobile without image & desktop)
|
|
104
|
-
descriptionTypography: {
|
|
105
|
-
fontWeight: 400,
|
|
106
|
-
lineHeight: "140%",
|
|
107
|
-
letterSpacing: "0.15px",
|
|
108
|
-
fontSize: "1.25em",
|
|
109
|
-
color: e.secondaryColor,
|
|
110
|
-
opacity: e.opacity,
|
|
111
|
-
fontFamily: e.fontFamilyPrimary,
|
|
112
|
-
textAlign: e.isMobile ? "center" : "left"
|
|
113
|
-
},
|
|
114
|
-
// Desktop title typography (centered)
|
|
115
|
-
titleTypographyDesktop: {
|
|
116
|
-
fontWeight: 700,
|
|
117
|
-
lineHeight: "133%",
|
|
118
|
-
letterSpacing: "0px",
|
|
119
|
-
fontSize: "1.5em",
|
|
120
|
-
color: e.textColor,
|
|
121
|
-
fontFamily: e.fontFamilyPrimary
|
|
122
|
-
},
|
|
123
|
-
// Desktop description typography (centered)
|
|
124
|
-
descriptionTypographyDesktop: {
|
|
125
|
-
fontWeight: 400,
|
|
126
|
-
lineHeight: "140%",
|
|
127
|
-
letterSpacing: "0.15px",
|
|
128
|
-
fontSize: "1.25em",
|
|
129
|
-
color: e.secondaryColor,
|
|
130
|
-
opacity: e.opacity,
|
|
131
|
-
fontFamily: e.fontFamilyPrimary
|
|
132
|
-
},
|
|
133
|
-
// Image container (left position)
|
|
134
|
-
imageContainerLeft: {
|
|
135
|
-
display: e.isMobile ? "none" : "block",
|
|
136
|
-
flex: "0.3",
|
|
137
|
-
borderTopLeftRadius: e.borderRadius.md,
|
|
138
|
-
borderBottomLeftRadius: e.borderRadius.md,
|
|
139
|
-
overflow: "hidden",
|
|
140
|
-
height: "auto",
|
|
141
|
-
position: "relative"
|
|
142
|
-
},
|
|
143
|
-
// Image container (right position)
|
|
144
|
-
imageContainerRight: {
|
|
145
|
-
display: e.isMobile ? "none" : "block",
|
|
146
|
-
flex: "0.3",
|
|
147
|
-
borderTopRightRadius: "5px",
|
|
148
|
-
borderBottomRightRadius: "5px",
|
|
149
|
-
overflow: "hidden",
|
|
150
|
-
height: "auto",
|
|
151
|
-
position: "relative"
|
|
152
|
-
},
|
|
153
|
-
// Main content area
|
|
154
|
-
mainContentArea: {
|
|
155
|
-
flex: e.isMobile ? "1" : e.finalImage ? "0.7" : "1",
|
|
156
|
-
// display: props.isMobile ? "block" : "flex",
|
|
157
|
-
display: "flex",
|
|
158
|
-
flexDirection: "column",
|
|
159
|
-
p: e.spacingScale.md,
|
|
160
|
-
gap: e.isMobile ? e.spacingScale.md : e.spacingScale.lg
|
|
161
|
-
},
|
|
162
|
-
// Desktop headline container
|
|
163
|
-
desktopHeadlineContainer: {
|
|
164
|
-
display: e.isMobile ? "none" : "flex",
|
|
165
|
-
flexDirection: "column",
|
|
166
|
-
justifyContent: "space-between",
|
|
167
|
-
gap: e.spacingScale["2xl"],
|
|
168
|
-
textAlign: "center"
|
|
169
|
-
},
|
|
170
|
-
// Content container
|
|
171
|
-
contentContainer: {
|
|
172
|
-
display: "flex",
|
|
173
|
-
flexDirection: "column",
|
|
174
|
-
gap: e.spacingScale["3xs"]
|
|
175
|
-
},
|
|
176
|
-
// Question area
|
|
177
|
-
questionArea: {
|
|
178
|
-
display: "flex",
|
|
179
|
-
flexDirection: "column",
|
|
180
|
-
px: e.spacingScale.md
|
|
181
|
-
},
|
|
182
|
-
// Question container
|
|
183
|
-
questionContainer: {
|
|
184
|
-
display: "flex",
|
|
185
|
-
flexDirection: "column",
|
|
186
|
-
gap: e.isMobile ? e.spacingScale.md : e.spacingScale.lg
|
|
187
|
-
},
|
|
188
|
-
// Alert container
|
|
189
|
-
alertContainer: {
|
|
190
|
-
// py: props.spacingScale.md,
|
|
191
|
-
display: "flex",
|
|
192
|
-
flexDirection: "column",
|
|
193
|
-
backdropFilter: "blur(4px)"
|
|
194
|
-
},
|
|
195
|
-
image: {
|
|
196
|
-
width: "100%",
|
|
197
|
-
height: "100%",
|
|
198
|
-
objectFit: "cover"
|
|
199
|
-
},
|
|
200
|
-
// CTA container
|
|
201
|
-
ctaContainer: {
|
|
202
|
-
display: "flex",
|
|
203
|
-
flexDirection: "column",
|
|
204
|
-
alignItems: "center"
|
|
205
|
-
},
|
|
206
|
-
// CTA content wrapper
|
|
207
|
-
ctaContentWrapper: {
|
|
208
|
-
display: "flex",
|
|
209
|
-
flexDirection: "column",
|
|
210
|
-
justifyContent: "center",
|
|
211
|
-
alignItems: "center",
|
|
212
|
-
gap: e.spacingScale.lg
|
|
213
|
-
},
|
|
214
|
-
// Buttons container
|
|
215
|
-
buttonsContainer: {
|
|
216
|
-
display: "flex",
|
|
217
|
-
flexDirection: e.isMobile ? "column" : "row",
|
|
218
|
-
gap: e.spacingScale.md
|
|
219
|
-
},
|
|
220
|
-
// Try again button
|
|
221
|
-
tryAgainButton: {
|
|
222
|
-
display: "flex",
|
|
223
|
-
py: e.spacingScale.xs,
|
|
224
|
-
px: "16px",
|
|
225
|
-
flexDirection: "column",
|
|
226
|
-
justifyContent: "center",
|
|
227
|
-
alignItems: "center",
|
|
228
|
-
gap: "8px",
|
|
229
|
-
borderRadius: e.borderRadius.xl,
|
|
230
|
-
border: e.borderSize + " solid " + e.primaryColor,
|
|
231
|
-
bgcolor: e.buttonBgColor,
|
|
232
|
-
"&:hover": {
|
|
233
|
-
bgcolor: e.onSurfaceColor,
|
|
234
|
-
borderColor: e.primaryColor
|
|
235
|
-
},
|
|
236
|
-
fontSize: "0.8125em"
|
|
237
|
-
},
|
|
238
|
-
// Try again button content
|
|
239
|
-
tryAgainButtonContent: {
|
|
240
|
-
display: "flex",
|
|
241
|
-
justifyContent: "center",
|
|
242
|
-
alignItems: "center",
|
|
243
|
-
gap: "8px",
|
|
244
|
-
alignSelf: "stretch"
|
|
245
|
-
},
|
|
246
|
-
// Try again icon
|
|
247
|
-
tryAgainIcon: {
|
|
248
|
-
display: "flex",
|
|
249
|
-
width: "16px",
|
|
250
|
-
height: "16px",
|
|
251
|
-
justifyContent: "flex-end",
|
|
252
|
-
alignItems: "center",
|
|
253
|
-
color: e.textPrimary
|
|
254
|
-
},
|
|
255
|
-
// Try again text
|
|
256
|
-
tryAgainText: {
|
|
257
|
-
color: e.textPrimary,
|
|
258
|
-
textAlign: "center",
|
|
259
|
-
fontFamily: e.fontFamilyPrimary,
|
|
260
|
-
fontSize: "0.8125em",
|
|
261
|
-
fontStyle: "normal",
|
|
262
|
-
fontWeight: 500,
|
|
263
|
-
lineHeight: "22px",
|
|
264
|
-
letterSpacing: "0.46px",
|
|
265
|
-
textTransform: "uppercase"
|
|
266
|
-
},
|
|
267
|
-
// Presented by container
|
|
268
|
-
presentedByContainer: {
|
|
269
|
-
px: e.spacingScale.md
|
|
270
|
-
}
|
|
271
|
-
};
|
|
272
|
-
};
|
|
273
|
-
export {
|
|
274
|
-
l as createStyles
|
|
275
|
-
};
|
package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardContentSkeleton.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../../../../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { Box as r } from "@mui/joy";
|
|
3
|
-
import { createStyles as i } from "./StandardContentSkeleton.styles.js";
|
|
4
|
-
import { isMobile as x } from "../../../../functions/theme.js";
|
|
5
|
-
const j = ({
|
|
6
|
-
finalImage: s,
|
|
7
|
-
imagePosition: o = "left",
|
|
8
|
-
children: n
|
|
9
|
-
}) => {
|
|
10
|
-
const l = x(), t = i({
|
|
11
|
-
finalImage: s,
|
|
12
|
-
imagePosition: o,
|
|
13
|
-
isMobile: l
|
|
14
|
-
});
|
|
15
|
-
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
16
|
-
o === "left" && s ? /* @__PURE__ */ e.jsx(r, { sx: t.imageContainerLeft, children: /* @__PURE__ */ e.jsx(r, { sx: t.imageSafeArea }) }) : null,
|
|
17
|
-
n,
|
|
18
|
-
o === "right" && s ? /* @__PURE__ */ e.jsx(r, { sx: t.imageContainerRight, children: /* @__PURE__ */ e.jsx(r, { sx: t.imageSafeArea }) }) : null
|
|
19
|
-
] });
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
j as default
|
|
23
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
const t = (e) => ({
|
|
2
|
-
// Image container (left position)
|
|
3
|
-
imageContainerLeft: {
|
|
4
|
-
display: e.isMobile ? "none" : "block",
|
|
5
|
-
flex: "0.3",
|
|
6
|
-
overflow: "hidden",
|
|
7
|
-
height: "auto",
|
|
8
|
-
position: "relative",
|
|
9
|
-
minHeight: "auto",
|
|
10
|
-
backgroundImage: `url(${e.finalImage})`,
|
|
11
|
-
backgroundSize: "cover",
|
|
12
|
-
backgroundPosition: "center center",
|
|
13
|
-
backgroundRepeat: "no-repeat",
|
|
14
|
-
alignItems: "center",
|
|
15
|
-
justifyContent: "center"
|
|
16
|
-
},
|
|
17
|
-
// Image container (right position)
|
|
18
|
-
imageContainerRight: {
|
|
19
|
-
display: e.isMobile ? "none" : "block",
|
|
20
|
-
flex: "0.3",
|
|
21
|
-
overflow: "hidden",
|
|
22
|
-
height: "auto",
|
|
23
|
-
position: "relative",
|
|
24
|
-
minHeight: "auto",
|
|
25
|
-
backgroundImage: `url(${e.finalImage})`,
|
|
26
|
-
backgroundSize: "cover",
|
|
27
|
-
backgroundPosition: "center center",
|
|
28
|
-
backgroundRepeat: "no-repeat",
|
|
29
|
-
alignItems: "center",
|
|
30
|
-
justifyContent: "center"
|
|
31
|
-
},
|
|
32
|
-
// Image safe area (placeholder for image space)
|
|
33
|
-
imageSafeArea: {
|
|
34
|
-
width: "100%",
|
|
35
|
-
height: "100%"
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
export {
|
|
39
|
-
t as createStyles
|
|
40
|
-
};
|