fansunited-frontend-core 0.0.67 → 0.0.69

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/index.d.ts CHANGED
@@ -39,6 +39,7 @@ export type { InfoPageCollectLeadWrapperProps } from './components/Leads/InfoPag
39
39
  export { default as Portal } from './components/Portal/Portal';
40
40
  export { default as ChanceGameEmbed } from './components/ChanceGameEmbed';
41
41
  export { default as Notification } from './components/Notification';
42
+ export type { NotificationState } from './components/Notification';
42
43
  export { default as PrizeCard } from './components/PrizeCard/PrizeCard';
43
44
  export * from './hooks/hooks';
44
45
  export * from './providers/providers';
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO,EAAE,MAAyB,CAAC;AAEhD,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAA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AACjH,YAAY,EAAE,gCAAgC,EAAE,MAAM,yDAAyD,CAAC;AAChH,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,sDAAsD,CAAC;AAC3G,YAAY,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAC;AAC1G,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AAC/G,YAAY,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAC;AAC9G,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AACtG,YAAY,EAAE,+BAA+B,EAAE,MAAM,+CAA+C,CAAC;AACrG,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACpE,YAAY,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kCAAkC,CAAC;AACxE,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,uCAAuC,CAAC"}
package/index.es.js CHANGED
@@ -8987,6 +8987,7 @@ const cy = (e, t) => {
8987
8987
  oneXTwoFixtureTitleHT: "Кой ще спечели след полувремето?",
8988
8988
  cornersFixtureTitle: "Колко ъглови удара ще има в мача?",
8989
8989
  overGoalsFixtureTitle: "Ще има ли над {{threshold}} гола?",
8990
+ anyGoalsFixtureTitle: "Ще има ли голове в мача?",
8990
8991
  overCornersFixtureTitle: "Ще има ли над {{threshold}} ъглови удара?",
8991
8992
  redCardFixtureTitle: "Ще има ли червени картони в мача?",
8992
8993
  penaltyFixtureTitle: "Ще има ли дузпи в мача?",
@@ -10005,6 +10006,7 @@ const cy = (e, t) => {
10005
10006
  notAvailable: "Събитието не е налично",
10006
10007
  unknownCompetitor: "Неизвестен",
10007
10008
  live: "На живо",
10009
+ minute: "{{n}}'",
10008
10010
  today: "Днес",
10009
10011
  tomorrow: "Утре",
10010
10012
  sets: "Сетове",
@@ -10085,6 +10087,21 @@ const cy = (e, t) => {
10085
10087
  startDelayed: "Отложен старт",
10086
10088
  delayedByRain: "Отложено заради дъжд",
10087
10089
  toFinish: "За доиграване"
10090
+ },
10091
+ predictions: {
10092
+ cta: "Направи прогноза",
10093
+ yours: "Твоята прогноза",
10094
+ saved: "Запазено",
10095
+ remove: "Изтрий",
10096
+ removeConfirm: "Да изтрием ли тази прогноза?",
10097
+ bothTeamsScore: "Ще отбележат ли и двата отбора?",
10098
+ ctaPlural: "Направи прогнози",
10099
+ yoursPlural: "Твоите прогнози",
10100
+ doubleChance: "Двоен шанс?",
10101
+ htFt: "Полувреме / Краен резултат?",
10102
+ pickPlayer: "Избери играч",
10103
+ pickOutcome: "Избери изход",
10104
+ noResults: "Няма намерени играчи"
10088
10105
  }
10089
10106
  }, wy = {
10090
10107
  title: "Гласувайте за Играч на Мача",
@@ -10341,6 +10358,7 @@ const cy = (e, t) => {
10341
10358
  oneXTwoFixtureTitleHT: "Wer wird nach der Halbzeit gewinnen?",
10342
10359
  cornersFixtureTitle: "Wie viele Ecken wird es im Spiel geben?",
10343
10360
  overGoalsFixtureTitle: "Wird es über {{threshold}} Tore geben?",
10361
+ anyGoalsFixtureTitle: "Wird es Tore im Spiel geben?",
10344
10362
  overCornersFixtureTitle: "Wird es über {{threshold}} Ecken geben?",
10345
10363
  redCardFixtureTitle: "Wird es rote Karten im Spiel geben?",
10346
10364
  penaltyFixtureTitle: "Wird es Elfmeter im Spiel geben?",
@@ -11343,6 +11361,7 @@ const cy = (e, t) => {
11343
11361
  notAvailable: "Ereignis nicht verfügbar",
11344
11362
  unknownCompetitor: "Unbekannt",
11345
11363
  live: "Live",
11364
+ minute: "{{n}}'",
11346
11365
  today: "Heute",
11347
11366
  tomorrow: "Morgen",
11348
11367
  sets: "Sätze",
@@ -11423,6 +11442,21 @@ const cy = (e, t) => {
11423
11442
  startDelayed: "Verspäteter Anpfiff",
11424
11443
  delayedByRain: "Regenverzögerung",
11425
11444
  toFinish: "Zu beenden"
11445
+ },
11446
+ predictions: {
11447
+ cta: "Tipp abgeben",
11448
+ yours: "Dein Tipp",
11449
+ saved: "Gespeichert",
11450
+ remove: "Entfernen",
11451
+ removeConfirm: "Diesen Tipp entfernen?",
11452
+ bothTeamsScore: "Treffen beide Teams?",
11453
+ ctaPlural: "Tipps abgeben",
11454
+ yoursPlural: "Deine Tipps",
11455
+ doubleChance: "Doppelte Chance?",
11456
+ htFt: "Halbzeit / Endstand?",
11457
+ pickPlayer: "Spieler wählen",
11458
+ pickOutcome: "Ergebnis wählen",
11459
+ noResults: "Keine Spieler gefunden"
11426
11460
  }
11427
11461
  }, Jy = {
11428
11462
  title: "Stimme für Spieler des Spiels ab",
@@ -11679,6 +11713,7 @@ const cy = (e, t) => {
11679
11713
  oneXTwoFixtureTitleHT: "Ποιος θα κερδίσει μετά το ημίχρονο;",
11680
11714
  cornersFixtureTitle: "Πόσα κόρνερ θα υπάρξουν στον αγώνα;",
11681
11715
  overGoalsFixtureTitle: "Θα υπάρξουν πάνω από {{threshold}} γκολ;",
11716
+ anyGoalsFixtureTitle: "Θα υπάρξουν γκολ στον αγώνα;",
11682
11717
  overCornersFixtureTitle: "Θα υπάρξουν πάνω από {{threshold}} κόρνερ;",
11683
11718
  redCardFixtureTitle: "Θα υπάρξει κόκκινη κάρτα στον αγώνα;",
11684
11719
  penaltyFixtureTitle: "Θα υπάρξει πέναλτι στον αγώνα;",
@@ -12681,6 +12716,7 @@ const cy = (e, t) => {
12681
12716
  notAvailable: "Ο αγώνας δεν είναι διαθέσιμος",
12682
12717
  unknownCompetitor: "Άγνωστος",
12683
12718
  live: "Ζωντανά",
12719
+ minute: "{{n}}'",
12684
12720
  today: "Σήμερα",
12685
12721
  tomorrow: "Αύριο",
12686
12722
  sets: "Σετ",
@@ -12761,6 +12797,21 @@ const cy = (e, t) => {
12761
12797
  startDelayed: "Καθυστέρηση έναρξης",
12762
12798
  delayedByRain: "Διακοπή λόγω βροχής",
12763
12799
  toFinish: "Προς ολοκλήρωση"
12800
+ },
12801
+ predictions: {
12802
+ cta: "Κάνε την πρόβλεψή σου",
12803
+ yours: "Η πρόβλεψή σου",
12804
+ saved: "Αποθηκεύτηκε",
12805
+ remove: "Αφαίρεση",
12806
+ removeConfirm: "Να αφαιρεθεί αυτή η πρόβλεψη;",
12807
+ bothTeamsScore: "Θα σκοράρουν και οι δύο ομάδες;",
12808
+ ctaPlural: "Κάνε τις προβλέψεις σου",
12809
+ yoursPlural: "Οι προβλέψεις σου",
12810
+ doubleChance: "Διπλή ευκαιρία;",
12811
+ htFt: "Ημίχρονο / τελικό;",
12812
+ pickPlayer: "Διάλεξε παίκτη",
12813
+ pickOutcome: "Διάλεξε αποτέλεσμα",
12814
+ noResults: "Δεν βρέθηκαν παίκτες"
12764
12815
  }
12765
12816
  }, fA = {
12766
12817
  title: "Ψηφίστε για τον Παίκτη του Αγώνα",
@@ -13019,6 +13070,7 @@ const cy = (e, t) => {
13019
13070
  oneXTwoFixtureTitleHT: "Who will win after halftime?",
13020
13071
  cornersFixtureTitle: "How many corners will there be in the match?",
13021
13072
  overGoalsFixtureTitle: "Will there be over {{threshold}} goals?",
13073
+ anyGoalsFixtureTitle: "Will there be any goals in the match?",
13022
13074
  overCornersFixtureTitle: "Will there be over {{threshold}} corners?",
13023
13075
  redCardFixtureTitle: "Will there be any red cards in the match?",
13024
13076
  penaltyFixtureTitle: "Will there be any penalties in the match?",
@@ -14041,6 +14093,7 @@ const cy = (e, t) => {
14041
14093
  notAvailable: "Event not available",
14042
14094
  unknownCompetitor: "Unknown",
14043
14095
  live: "LIVE",
14096
+ minute: "{{n}}'",
14044
14097
  today: "Today",
14045
14098
  tomorrow: "Tomorrow",
14046
14099
  sets: "Sets",
@@ -14121,6 +14174,21 @@ const cy = (e, t) => {
14121
14174
  startDelayed: "Start Delayed",
14122
14175
  delayedByRain: "Delayed by Rain",
14123
14176
  toFinish: "To Finish"
14177
+ },
14178
+ predictions: {
14179
+ cta: "Make your prediction",
14180
+ yours: "Your prediction",
14181
+ saved: "Saved",
14182
+ remove: "Remove",
14183
+ removeConfirm: "Remove this prediction?",
14184
+ bothTeamsScore: "Will both teams score?",
14185
+ ctaPlural: "Make your predictions",
14186
+ yoursPlural: "Your predictions",
14187
+ doubleChance: "Double chance?",
14188
+ htFt: "Half-time / full-time?",
14189
+ pickPlayer: "Pick a player",
14190
+ pickOutcome: "Pick an outcome",
14191
+ noResults: "No matching players"
14124
14192
  }
14125
14193
  }, LA = {
14126
14194
  title: "Vote for Player of the Match",
@@ -14377,6 +14445,7 @@ const cy = (e, t) => {
14377
14445
  oneXTwoFixtureTitleHT: "¿Quién ganará después del medio tiempo?",
14378
14446
  cornersFixtureTitle: "¿Cuántos córners habrá en el partido?",
14379
14447
  overGoalsFixtureTitle: "¿Habrá más de {{threshold}} goles?",
14448
+ anyGoalsFixtureTitle: "¿Habrá algún gol en el partido?",
14380
14449
  overCornersFixtureTitle: "¿Habrá más de {{threshold}} córners?",
14381
14450
  redCardFixtureTitle: "¿Habrá alguna tarjeta roja en el partido?",
14382
14451
  penaltyFixtureTitle: "¿Habrá algún penalti en el partido?",
@@ -15379,6 +15448,7 @@ const cy = (e, t) => {
15379
15448
  notAvailable: "Evento no disponible",
15380
15449
  unknownCompetitor: "Desconocido",
15381
15450
  live: "En vivo",
15451
+ minute: "{{n}}'",
15382
15452
  today: "Hoy",
15383
15453
  tomorrow: "Mañana",
15384
15454
  sets: "Sets",
@@ -15459,6 +15529,21 @@ const cy = (e, t) => {
15459
15529
  startDelayed: "Inicio retrasado",
15460
15530
  delayedByRain: "Retrasado por lluvia",
15461
15531
  toFinish: "Por finalizar"
15532
+ },
15533
+ predictions: {
15534
+ cta: "Haz tu pronóstico",
15535
+ yours: "Tu pronóstico",
15536
+ saved: "Guardado",
15537
+ remove: "Eliminar",
15538
+ removeConfirm: "¿Eliminar este pronóstico?",
15539
+ bothTeamsScore: "¿Marcarán ambos equipos?",
15540
+ ctaPlural: "Haz tus pronósticos",
15541
+ yoursPlural: "Tus pronósticos",
15542
+ doubleChance: "¿Doble oportunidad?",
15543
+ htFt: "¿Descanso / final?",
15544
+ pickPlayer: "Elige un jugador",
15545
+ pickOutcome: "Elige un resultado",
15546
+ noResults: "No se han encontrado jugadores"
15462
15547
  }
15463
15548
  }, tC = {
15464
15549
  title: "Vota al Jugador del Partido",
@@ -15715,6 +15800,7 @@ const cy = (e, t) => {
15715
15800
  oneXTwoFixtureTitleHT: "Qui va gagner après la mi-temps ?",
15716
15801
  cornersFixtureTitle: "Combien de corners y aura-t-il dans le match ?",
15717
15802
  overGoalsFixtureTitle: "Y aura-t-il plus de {{threshold}} buts ?",
15803
+ anyGoalsFixtureTitle: "Y aura-t-il des buts dans le match ?",
15718
15804
  overCornersFixtureTitle: "Y aura-t-il plus de {{threshold}} corners ?",
15719
15805
  redCardFixtureTitle: "Y aura-t-il des cartons rouges dans le match ?",
15720
15806
  penaltyFixtureTitle: "Y aura-t-il des penalties dans le match ?",
@@ -16717,6 +16803,7 @@ const cy = (e, t) => {
16717
16803
  notAvailable: "Événement non disponible",
16718
16804
  unknownCompetitor: "Inconnu",
16719
16805
  live: "En direct",
16806
+ minute: "{{n}}'",
16720
16807
  today: "Aujourd'hui",
16721
16808
  tomorrow: "Demain",
16722
16809
  sets: "Sets",
@@ -16797,6 +16884,21 @@ const cy = (e, t) => {
16797
16884
  startDelayed: "Coup d'envoi retardé",
16798
16885
  delayedByRain: "Retardé par la pluie",
16799
16886
  toFinish: "À terminer"
16887
+ },
16888
+ predictions: {
16889
+ cta: "Faites votre pronostic",
16890
+ yours: "Votre pronostic",
16891
+ saved: "Enregistré",
16892
+ remove: "Supprimer",
16893
+ removeConfirm: "Supprimer ce pronostic ?",
16894
+ bothTeamsScore: "Les deux équipes vont-elles marquer ?",
16895
+ ctaPlural: "Faites vos pronostics",
16896
+ yoursPlural: "Vos pronostics",
16897
+ doubleChance: "Double chance ?",
16898
+ htFt: "Mi-temps / fin de match ?",
16899
+ pickPlayer: "Choisir un joueur",
16900
+ pickOutcome: "Choisir un résultat",
16901
+ noResults: "Aucun joueur trouvé"
16800
16902
  }
16801
16903
  }, CC = {
16802
16904
  title: "Votez pour le Joueur du Match",
@@ -17053,6 +17155,7 @@ const cy = (e, t) => {
17053
17155
  oneXTwoFixtureTitleHT: "Qui va gagner après la mi-temps ?",
17054
17156
  cornersFixtureTitle: "Combien de corners y aura-t-il dans le match ?",
17055
17157
  overGoalsFixtureTitle: "Y aura-t-il plus de {{threshold}} buts ?",
17158
+ anyGoalsFixtureTitle: "Y aura-t-il des buts dans le match ?",
17056
17159
  overCornersFixtureTitle: "Y aura-t-il plus de {{threshold}} corners ?",
17057
17160
  redCardFixtureTitle: "Y aura-t-il des cartons rouges dans le match ?",
17058
17161
  penaltyFixtureTitle: "Y aura-t-il des penalties dans le match ?",
@@ -18055,6 +18158,7 @@ const cy = (e, t) => {
18055
18158
  notAvailable: "Événement non disponible",
18056
18159
  unknownCompetitor: "Inconnu",
18057
18160
  live: "En direct",
18161
+ minute: "{{n}}'",
18058
18162
  today: "Aujourd'hui",
18059
18163
  tomorrow: "Demain",
18060
18164
  sets: "Sets",
@@ -18135,6 +18239,21 @@ const cy = (e, t) => {
18135
18239
  startDelayed: "Coup d'envoi retardé",
18136
18240
  delayedByRain: "Retardé par la pluie",
18137
18241
  toFinish: "À terminer"
18242
+ },
18243
+ predictions: {
18244
+ cta: "Faites votre pronostic",
18245
+ yours: "Votre pronostic",
18246
+ saved: "Enregistré",
18247
+ remove: "Supprimer",
18248
+ removeConfirm: "Supprimer ce pronostic ?",
18249
+ bothTeamsScore: "Les deux équipes vont-elles marquer ?",
18250
+ ctaPlural: "Faites vos pronostics",
18251
+ yoursPlural: "Vos pronostics",
18252
+ doubleChance: "Double chance ?",
18253
+ htFt: "Mi-temps / fin de match ?",
18254
+ pickPlayer: "Choisir un joueur",
18255
+ pickOutcome: "Choisir un résultat",
18256
+ noResults: "Aucun joueur trouvé"
18138
18257
  }
18139
18258
  }, KC = {
18140
18259
  title: "Votez pour le Joueur du Match",
@@ -18391,6 +18510,7 @@ const cy = (e, t) => {
18391
18510
  oneXTwoFixtureTitleHT: "Chi vincerà dopo l'intervallo?",
18392
18511
  cornersFixtureTitle: "Quanti calci d'angolo ci saranno nella partita?",
18393
18512
  overGoalsFixtureTitle: "Ci saranno più di {{threshold}} gol?",
18513
+ anyGoalsFixtureTitle: "Ci saranno gol nella partita?",
18394
18514
  overCornersFixtureTitle: "Ci saranno più di {{threshold}} calci d'angolo?",
18395
18515
  redCardFixtureTitle: "Ci saranno cartellini rossi nella partita?",
18396
18516
  penaltyFixtureTitle: "Ci saranno rigori nella partita?",
@@ -19393,6 +19513,7 @@ const cy = (e, t) => {
19393
19513
  notAvailable: "Evento non disponibile",
19394
19514
  unknownCompetitor: "Sconosciuto",
19395
19515
  live: "In diretta",
19516
+ minute: "{{n}}'",
19396
19517
  today: "Oggi",
19397
19518
  tomorrow: "Domani",
19398
19519
  sets: "Set",
@@ -19473,6 +19594,21 @@ const cy = (e, t) => {
19473
19594
  startDelayed: "Inizio ritardato",
19474
19595
  delayedByRain: "Sospesa per pioggia",
19475
19596
  toFinish: "Da completare"
19597
+ },
19598
+ predictions: {
19599
+ cta: "Fai il tuo pronostico",
19600
+ yours: "Il tuo pronostico",
19601
+ saved: "Salvato",
19602
+ remove: "Rimuovi",
19603
+ removeConfirm: "Rimuovere questo pronostico?",
19604
+ bothTeamsScore: "Segneranno entrambe le squadre?",
19605
+ ctaPlural: "Fai i tuoi pronostici",
19606
+ yoursPlural: "I tuoi pronostici",
19607
+ doubleChance: "Doppia chance?",
19608
+ htFt: "Primo tempo / finale?",
19609
+ pickPlayer: "Scegli un giocatore",
19610
+ pickOutcome: "Scegli un risultato",
19611
+ noResults: "Nessun giocatore trovato"
19476
19612
  }
19477
19613
  }, sS = {
19478
19614
  title: "Vota per il Giocatore della Partita",
@@ -19729,6 +19865,7 @@ const cy = (e, t) => {
19729
19865
  oneXTwoFixtureTitleHT: "Kto wygra po przerwie?",
19730
19866
  cornersFixtureTitle: "Ile będzie rzutów rożnych w meczu?",
19731
19867
  overGoalsFixtureTitle: "Czy będzie ponad {{threshold}} goli?",
19868
+ anyGoalsFixtureTitle: "Czy będą gole w meczu?",
19732
19869
  overCornersFixtureTitle: "Czy będzie ponad {{threshold}} rzutów rożnych?",
19733
19870
  redCardFixtureTitle: "Czy będą czerwone kartki w meczu?",
19734
19871
  penaltyFixtureTitle: "Czy będą rzuty karne w meczu?",
@@ -20739,6 +20876,7 @@ const cy = (e, t) => {
20739
20876
  notAvailable: "Wydarzenie niedostępne",
20740
20877
  unknownCompetitor: "Nieznany",
20741
20878
  live: "Na żywo",
20879
+ minute: "{{n}}'",
20742
20880
  today: "Dziś",
20743
20881
  tomorrow: "Jutro",
20744
20882
  sets: "Sety",
@@ -20819,6 +20957,21 @@ const cy = (e, t) => {
20819
20957
  startDelayed: "Opóźniony początek",
20820
20958
  delayedByRain: "Opóźnienie z powodu deszczu",
20821
20959
  toFinish: "Do dokończenia"
20960
+ },
20961
+ predictions: {
20962
+ cta: "Postaw typ",
20963
+ yours: "Twój typ",
20964
+ saved: "Zapisano",
20965
+ remove: "Usuń",
20966
+ removeConfirm: "Usunąć ten typ?",
20967
+ bothTeamsScore: "Czy obie drużyny zdobędą bramkę?",
20968
+ ctaPlural: "Postaw typy",
20969
+ yoursPlural: "Twoje typy",
20970
+ doubleChance: "Podwójna szansa?",
20971
+ htFt: "Do przerwy / koniec?",
20972
+ pickPlayer: "Wybierz gracza",
20973
+ pickOutcome: "Wybierz wynik",
20974
+ noResults: "Nie znaleziono graczy"
20822
20975
  }
20823
20976
  }, zS = {
20824
20977
  title: "Głosuj na Zawodnika Meczu",
@@ -21075,6 +21228,7 @@ const cy = (e, t) => {
21075
21228
  oneXTwoFixtureTitleHT: "Quem vai ganhar após o intervalo?",
21076
21229
  cornersFixtureTitle: "Quantos escanteios haverá na partida?",
21077
21230
  overGoalsFixtureTitle: "Haverá mais de {{threshold}} gols?",
21231
+ anyGoalsFixtureTitle: "Haverá gols na partida?",
21078
21232
  overCornersFixtureTitle: "Haverá mais de {{threshold}} escanteios?",
21079
21233
  redCardFixtureTitle: "Haverá cartões vermelhos na partida?",
21080
21234
  penaltyFixtureTitle: "Haverá pênaltis na partida?",
@@ -22077,6 +22231,7 @@ const cy = (e, t) => {
22077
22231
  notAvailable: "Evento não disponível",
22078
22232
  unknownCompetitor: "Desconhecido",
22079
22233
  live: "Ao vivo",
22234
+ minute: "{{n}}'",
22080
22235
  today: "Hoje",
22081
22236
  tomorrow: "Amanhã",
22082
22237
  sets: "Sets",
@@ -22157,6 +22312,21 @@ const cy = (e, t) => {
22157
22312
  startDelayed: "Início atrasado",
22158
22313
  delayedByRain: "Atrasado pela chuva",
22159
22314
  toFinish: "A terminar"
22315
+ },
22316
+ predictions: {
22317
+ cta: "Faça seu palpite",
22318
+ yours: "Seu palpite",
22319
+ saved: "Salvo",
22320
+ remove: "Remover",
22321
+ removeConfirm: "Remover este palpite?",
22322
+ bothTeamsScore: "Ambos os times vão marcar?",
22323
+ ctaPlural: "Faça seus palpites",
22324
+ yoursPlural: "Seus palpites",
22325
+ doubleChance: "Chance dupla?",
22326
+ htFt: "Intervalo / final?",
22327
+ pickPlayer: "Escolha um jogador",
22328
+ pickOutcome: "Escolha um resultado",
22329
+ noResults: "Nenhum jogador encontrado"
22160
22330
  }
22161
22331
  }, WS = {
22162
22332
  title: "Vote no Melhor em Campo",
@@ -22413,6 +22583,7 @@ const cy = (e, t) => {
22413
22583
  oneXTwoFixtureTitleHT: "Quem vai ganhar após o intervalo?",
22414
22584
  cornersFixtureTitle: "Quantos cantos haverá no jogo?",
22415
22585
  overGoalsFixtureTitle: "Haverá mais de {{threshold}} golos?",
22586
+ anyGoalsFixtureTitle: "Haverá golos no jogo?",
22416
22587
  overCornersFixtureTitle: "Haverá mais de {{threshold}} cantos?",
22417
22588
  redCardFixtureTitle: "Haverá cartões vermelhos no jogo?",
22418
22589
  penaltyFixtureTitle: "Haverá penáltis no jogo?",
@@ -23415,6 +23586,7 @@ const cy = (e, t) => {
23415
23586
  notAvailable: "Evento não disponível",
23416
23587
  unknownCompetitor: "Desconhecido",
23417
23588
  live: "Ao vivo",
23589
+ minute: "{{n}}'",
23418
23590
  today: "Hoje",
23419
23591
  tomorrow: "Amanhã",
23420
23592
  sets: "Sets",
@@ -23495,6 +23667,21 @@ const cy = (e, t) => {
23495
23667
  startDelayed: "Início atrasado",
23496
23668
  delayedByRain: "Adiado pela chuva",
23497
23669
  toFinish: "Por terminar"
23670
+ },
23671
+ predictions: {
23672
+ cta: "Faz o teu prognóstico",
23673
+ yours: "O teu prognóstico",
23674
+ saved: "Guardado",
23675
+ remove: "Remover",
23676
+ removeConfirm: "Remover este prognóstico?",
23677
+ bothTeamsScore: "Ambas as equipas vão marcar?",
23678
+ ctaPlural: "Faz os teus prognósticos",
23679
+ yoursPlural: "Os teus prognósticos",
23680
+ doubleChance: "Dupla chance?",
23681
+ htFt: "Intervalo / final?",
23682
+ pickPlayer: "Escolhe um jogador",
23683
+ pickOutcome: "Escolhe um resultado",
23684
+ noResults: "Nenhum jogador encontrado"
23498
23685
  }
23499
23686
  }, mP = {
23500
23687
  title: "Vote no Melhor em Campo",
@@ -23751,6 +23938,7 @@ const cy = (e, t) => {
23751
23938
  oneXTwoFixtureTitleHT: "Cine va câștiga după pauză?",
23752
23939
  cornersFixtureTitle: "Câte cornere vor fi în meci?",
23753
23940
  overGoalsFixtureTitle: "Vor fi peste {{threshold}} goluri?",
23941
+ anyGoalsFixtureTitle: "Vor fi goluri în meci?",
23754
23942
  overCornersFixtureTitle: "Vor fi peste {{threshold}} cornere?",
23755
23943
  redCardFixtureTitle: "Vor fi cartonașe roșii în meci?",
23756
23944
  penaltyFixtureTitle: "Vor fi penaltiuri în meci?",
@@ -24755,6 +24943,7 @@ const cy = (e, t) => {
24755
24943
  notAvailable: "Eveniment indisponibil",
24756
24944
  unknownCompetitor: "Necunoscut",
24757
24945
  live: "Live",
24946
+ minute: "{{n}}'",
24758
24947
  today: "Azi",
24759
24948
  tomorrow: "Mâine",
24760
24949
  sets: "Seturi",
@@ -24835,6 +25024,21 @@ const cy = (e, t) => {
24835
25024
  startDelayed: "Start întârziat",
24836
25025
  delayedByRain: "Amânat din cauza ploii",
24837
25026
  toFinish: "De finalizat"
25027
+ },
25028
+ predictions: {
25029
+ cta: "Fă-ți predicția",
25030
+ yours: "Predicția ta",
25031
+ saved: "Salvat",
25032
+ remove: "Șterge",
25033
+ removeConfirm: "Ștergi această predicție?",
25034
+ bothTeamsScore: "Vor înscrie ambele echipe?",
25035
+ ctaPlural: "Fă-ți predicțiile",
25036
+ yoursPlural: "Predicțiile tale",
25037
+ doubleChance: "Șansă dublă?",
25038
+ htFt: "Pauză / final?",
25039
+ pickPlayer: "Alege un jucător",
25040
+ pickOutcome: "Alege un rezultat",
25041
+ noResults: "Niciun jucător găsit"
24838
25042
  }
24839
25043
  }, IP = {
24840
25044
  title: "Votează pentru Jucătorul Meciului",
@@ -25091,6 +25295,7 @@ const cy = (e, t) => {
25091
25295
  oneXTwoFixtureTitleHT: "Ko će pobediti posle poluvremena?",
25092
25296
  cornersFixtureTitle: "Koliko će biti kornera u utakmici?",
25093
25297
  overGoalsFixtureTitle: "Da li će biti preko {{threshold}} golova?",
25298
+ anyGoalsFixtureTitle: "Da li će biti golova u utakmici?",
25094
25299
  overCornersFixtureTitle: "Da li će biti preko {{threshold}} kornera?",
25095
25300
  redCardFixtureTitle: "Da li će biti crvenih kartona u utakmici?",
25096
25301
  penaltyFixtureTitle: "Da li će biti penala u utakmici?",
@@ -26097,6 +26302,7 @@ const cy = (e, t) => {
26097
26302
  notAvailable: "Događaj nije dostupan",
26098
26303
  unknownCompetitor: "Nepoznato",
26099
26304
  live: "Uživo",
26305
+ minute: "{{n}}'",
26100
26306
  today: "Danas",
26101
26307
  tomorrow: "Sutra",
26102
26308
  sets: "Setovi",
@@ -26177,6 +26383,21 @@ const cy = (e, t) => {
26177
26383
  startDelayed: "Odloženi početak",
26178
26384
  delayedByRain: "Prekinuto zbog kiše",
26179
26385
  toFinish: "Za završetak"
26386
+ },
26387
+ predictions: {
26388
+ cta: "Daj svoju prognozu",
26389
+ yours: "Tvoja prognoza",
26390
+ saved: "Sačuvano",
26391
+ remove: "Ukloni",
26392
+ removeConfirm: "Ukloniti ovu prognozu?",
26393
+ bothTeamsScore: "Da li će oba tima postići gol?",
26394
+ ctaPlural: "Daj svoje prognoze",
26395
+ yoursPlural: "Tvoje prognoze",
26396
+ doubleChance: "Dupla šansa?",
26397
+ htFt: "Poluvreme / kraj?",
26398
+ pickPlayer: "Izaberi igrača",
26399
+ pickOutcome: "Izaberi rezultat",
26400
+ noResults: "Nema pronađenih igrača"
26180
26401
  }
26181
26402
  }, XP = {
26182
26403
  title: "Glasajte za Igrača Utakmice",
@@ -26433,6 +26654,7 @@ const cy = (e, t) => {
26433
26654
  oneXTwoFixtureTitleHT: "Kto vyhrá po polčase?",
26434
26655
  cornersFixtureTitle: "Koľko rohových kopov bude v zápase?",
26435
26656
  overGoalsFixtureTitle: "Bude viac ako {{threshold}} gólov?",
26657
+ anyGoalsFixtureTitle: "Budú v zápase góly?",
26436
26658
  overCornersFixtureTitle: "Bude viac ako {{threshold}} rohových kopov?",
26437
26659
  redCardFixtureTitle: "Budú v zápase červené karty?",
26438
26660
  penaltyFixtureTitle: "Budú v zápase penalty?",
@@ -27459,6 +27681,7 @@ const cy = (e, t) => {
27459
27681
  notAvailable: "Udalosť nie je k dispozícii",
27460
27682
  unknownCompetitor: "Neznámy",
27461
27683
  live: "Naživo",
27684
+ minute: "{{n}}'",
27462
27685
  today: "Dnes",
27463
27686
  tomorrow: "Zajtra",
27464
27687
  sets: "Sety",
@@ -27539,6 +27762,21 @@ const cy = (e, t) => {
27539
27762
  startDelayed: "Oneskorený začiatok",
27540
27763
  delayedByRain: "Prerušené pre dážď",
27541
27764
  toFinish: "Na dohranie"
27765
+ },
27766
+ predictions: {
27767
+ cta: "Zadaj svoj tip",
27768
+ yours: "Tvoj tip",
27769
+ saved: "Uložené",
27770
+ remove: "Odstrániť",
27771
+ removeConfirm: "Odstrániť tento tip?",
27772
+ bothTeamsScore: "Skórujú oba tímy?",
27773
+ ctaPlural: "Zadaj svoje tipy",
27774
+ yoursPlural: "Tvoje tipy",
27775
+ doubleChance: "Dvojitá šanca?",
27776
+ htFt: "Polčas / konec?",
27777
+ pickPlayer: "Vyber hráča",
27778
+ pickOutcome: "Vyber výsledok",
27779
+ noResults: "Žiadni hráči nenájdení"
27542
27780
  }
27543
27781
  }, yT = {
27544
27782
  title: "Hlasujte za hráča zápasu",
@@ -48690,7 +48928,7 @@ const aD = (e) => {
48690
48928
  const o = BD(e.images);
48691
48929
  let n = null;
48692
48930
  return t !== Ct.OVERLAY ? n = o : n = ((i = e.images) == null ? void 0 : i.cover) || "", n || (n = e.imagePlaceholder), n;
48693
- }, DI = "0.0.67";
48931
+ }, DI = "0.0.69";
48694
48932
  export {
48695
48933
  cI as AdditionalCTA,
48696
48934
  RI as ChanceGameEmbed,
@@ -1,4 +1,4 @@
1
- import { ActionType, CTAType, ContentViewType, JourneyType, LinkTargetType, StageType, LanguageType, LeadField, LeadPosition, OptionsLayout, DiscussionSortType, PredictorTab, TopXTab, BetslipPosition, SelectionStatus, StandingsColumnKey, StandingsGroupsView, StandingsZoneKey, EventCardTemplateType, EventCardType } from '../types/types';
1
+ import { ActionType, CTAType, ContentViewType, JourneyType, LinkTargetType, StageType, LanguageType, LeadField, LeadPosition, OptionsLayout, DiscussionSortType, PredictorTab, TopXTab, BetslipPosition, SelectionStatus, StandingsColumnKey, StandingsGroupsView, StandingsZoneKey, EventCardTemplateType, EventCardType, EventCardPredictionMarket, EventCardPredictionsDisplay } from '../types/types';
2
2
  import { ChanceGameTemplate, ChanceGameVariant, PickThePairTemplate, WidgetTemplate } from '../enums/enums';
3
3
  import { BrandingModel, ContextModel, FansUnitedSDKModel, ImagesModel, ClassicQuizUserParticipationModel, SinglePollVoteModel, EitherOrParticipationModel, EventGamePredictionModel, PredictionResponseModel, PersonalityQuizParticipationModel } from 'fansunited-sdk-esm';
4
4
  import { ColorSystemOptions, CssVarsThemeOptions } from '@mui/joy/styles/extendTheme';
@@ -702,6 +702,34 @@ export interface PredictorEmbedConfig {
702
702
  /** Shown below the match card after a prediction is submitted. Omit to show nothing extra. */
703
703
  successMessage?: PredictorEmbedSuccessMessage;
704
704
  }
705
+ /**
706
+ * Sizing/framing of the standard template's hero header — the banner the template image
707
+ * (or `defaultImagePlaceholderUrl`) is painted into. Everything is opt-in: with no config the
708
+ * banner keeps its previous behaviour (full width, height driven by the title/description).
709
+ */
710
+ export interface PredictorHeaderConfig {
711
+ /** Fixed banner height — any CSS length ("240px", "15em"). Wins over `aspectRatio`. */
712
+ height?: string;
713
+ /** Height floor; the banner still grows if the title/description need more room. */
714
+ minHeight?: string;
715
+ /** Height as a ratio of the banner's own width, e.g. "3 / 1". Ignored when `height` is set. */
716
+ aspectRatio?: string;
717
+ /** Caps the banner's width and centres it; the widget background fills the sides. */
718
+ maxWidth?: string;
719
+ /** "cover" (default) fills the banner and crops; "contain" fits the whole image, gradient fills the rest. */
720
+ imageFit?: "cover" | "contain";
721
+ /** CSS `background-position` for the image, e.g. "top", "left center". Defaults to "center". */
722
+ imageAlign?: string;
723
+ /**
724
+ * What sits behind/around the image — any CSS `background` value. Defaults to the theme's
725
+ * primary gradient. Set it to the artwork's own backdrop colour so a "contain" fit blends in.
726
+ */
727
+ background?: string;
728
+ /** Where the title/description sit when the banner is taller than they are. Defaults to "center". */
729
+ textPosition?: "top" | "center" | "bottom";
730
+ /** Hide the title/description — for artwork that already carries them. Needs `height` or `aspectRatio`. */
731
+ hideText?: boolean;
732
+ }
705
733
  export interface PredictorProps {
706
734
  entityId: string;
707
735
  sdk: FansUnitedSDKModel;
@@ -715,6 +743,14 @@ export interface PredictorProps {
715
743
  consents?: ConsentDef[];
716
744
  matchCardBgImageUrl?: string;
717
745
  betslip?: PredictorBetslipConfig;
746
+ /**
747
+ * How many minutes before kickoff predictions close — after it, a match's markets can no longer be
748
+ * predicted, edited or removed. Defaults to 15, which is also the MINIMUM: the Prediction API itself
749
+ * rejects a prediction made inside the last 15 minutes before kickoff, so a smaller value would only
750
+ * produce a card that looks open but fails on submit. Values below 15 are raised to 15; larger
751
+ * values close the card earlier.
752
+ */
753
+ cutoffMinutes?: number;
718
754
  /**
719
755
  * When true, team names (by the widget language) and logos are resolved from the
720
756
  * Search API instead of the match data. Falls back to match data when the Search API
@@ -725,6 +761,8 @@ export interface PredictorProps {
725
761
  template?: PredictorTemplateType;
726
762
  /** Only read when template === "embed". */
727
763
  embed?: PredictorEmbedConfig;
764
+ /** Sizing of the standard template's hero header. Ignored by `embed`. */
765
+ header?: PredictorHeaderConfig;
728
766
  }
729
767
  export type TopXGameNavLabel = "gameWeek" | "title" | "titleAndDescription";
730
768
  export interface TopXProps {
@@ -825,6 +863,51 @@ export interface EventCardProps {
825
863
  * event is LIVE; ignored for upcoming/finished events and when `liveRefresh` is false.
826
864
  */
827
865
  refreshInterval?: number;
866
+ /**
867
+ * Whether the visitor is signed in. Required for the prediction UI: an anonymous visitor never
868
+ * sees it (the card renders exactly as it does without predictions configured), so there is no
869
+ * sign-in CTA to configure.
870
+ */
871
+ userIsLoggedIn?: boolean;
872
+ /**
873
+ * Let signed-in users place Fans United single predictions on the event. Football only. Supported
874
+ * by all three templates, each with a drawer designed for its own layout. See
875
+ * `EventCardPredictionsConfig`.
876
+ */
877
+ predictions?: EventCardPredictionsConfig;
878
+ }
879
+ /**
880
+ * Single-prediction configuration for EventCard. There is no `enabled` flag — the feature is on
881
+ * whenever `markets` is non-empty, the visitor is signed in (`userIsLoggedIn`) and the event is a
882
+ * football event.
883
+ */
884
+ export interface EventCardPredictionsConfig {
885
+ /**
886
+ * Markets to offer, rendered in this order. Omitted or empty means no prediction UI at all.
887
+ * Values outside `EventCardPredictionMarket` (e.g. a player market) are skipped.
888
+ */
889
+ markets?: EventCardPredictionMarket[];
890
+ /**
891
+ * Whether the markets sit behind a collapsible footer row ("drawer", the default) or are rendered
892
+ * directly with no collapse control ("inline"). Each template styles both modes to suit its own
893
+ * layout.
894
+ */
895
+ display?: EventCardPredictionsDisplay;
896
+ /**
897
+ * How many minutes before kickoff predictions close. Defaults to 15, which is also the MINIMUM —
898
+ * the Prediction API itself rejects a prediction made inside the last 15 minutes before kickoff,
899
+ * so a smaller value would only produce a drawer that looks open but fails on submit. Values below
900
+ * 15 are raised to 15; larger values close the drawer earlier.
901
+ */
902
+ cutoffMinutes?: number;
903
+ /** Let users remove a prediction they already made. Defaults to true. */
904
+ allowDelete?: boolean;
905
+ /**
906
+ * Start the drawer expanded instead of collapsed. Defaults to false. Only meaningful when
907
+ * `display` is "drawer" — it leaves the collapse control in place, which is what distinguishes it
908
+ * from `display: "inline"` (no control at all). Ignored for "inline".
909
+ */
910
+ defaultExpanded?: boolean;
828
911
  }
829
912
  export interface SdkError {
830
913
  code: number;