@maestro_io/maestro-web-sdk 3.3.0 → 4.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (370) hide show
  1. package/dist/f8820fca3a2a7957f753167da0884f9d.png +0 -0
  2. package/dist/maestro-web-sdk.esm.js +12 -12
  3. package/dist/maestro-web-sdk.esm.js.map +1 -1
  4. package/dist/maestro-web-sdk.umd.js +12 -12
  5. package/dist/maestro-web-sdk.umd.js.map +1 -1
  6. package/dist/package.json +91 -0
  7. package/dist/src/__mocks__/sentry.d.ts +4 -0
  8. package/dist/src/components/atoms/BaseButton/BaseButton.d.ts +1 -1
  9. package/dist/src/components/atoms/BaseButton/BaseButton.js +11 -0
  10. package/dist/src/components/atoms/BaseButton/index.js +2 -0
  11. package/dist/src/components/atoms/Image/index.d.ts +1 -1
  12. package/dist/src/components/atoms/Image/index.js +34 -0
  13. package/dist/src/components/atoms/Rive/index.d.ts +141 -11
  14. package/dist/src/components/atoms/Rive/index.js +53 -0
  15. package/dist/src/components/atoms/SvgIcon/BetGeneralIcon.d.ts +1 -2
  16. package/dist/src/components/atoms/SvgIcon/BetGeneralIcon.js +9 -0
  17. package/dist/src/components/atoms/SvgIcon/BetsIcon.d.ts +1 -1
  18. package/dist/src/components/atoms/SvgIcon/BetsIcon.js +11 -0
  19. package/dist/src/components/atoms/SvgIcon/BetsWarningIcon.d.ts +1 -1
  20. package/dist/src/components/atoms/SvgIcon/BetsWarningIcon.js +11 -0
  21. package/dist/src/components/atoms/SvgIcon/CheckmarkIcon.d.ts +1 -2
  22. package/dist/src/components/atoms/SvgIcon/CheckmarkIcon.js +6 -0
  23. package/dist/src/components/atoms/SvgIcon/CollapseIcon.d.ts +1 -2
  24. package/dist/src/components/atoms/SvgIcon/CollapseIcon.js +6 -0
  25. package/dist/src/components/atoms/SvgIcon/ExpandIcon.d.ts +1 -2
  26. package/dist/src/components/atoms/SvgIcon/ExpandIcon.js +6 -0
  27. package/dist/src/components/atoms/SvgIcon/FantasyIcon.d.ts +1 -1
  28. package/dist/src/components/atoms/SvgIcon/FantasyIcon.js +15 -0
  29. package/dist/src/components/atoms/SvgIcon/FlameIcon.d.ts +1 -1
  30. package/dist/src/components/atoms/SvgIcon/FlameIcon.js +11 -0
  31. package/dist/src/components/atoms/SvgIcon/Icon.d.ts +5 -5
  32. package/dist/src/components/atoms/SvgIcon/Icon.js +44 -0
  33. package/dist/src/components/atoms/SvgIcon/KeyPlaysIcon.d.ts +1 -1
  34. package/dist/src/components/atoms/SvgIcon/KeyPlaysIcon.js +10 -0
  35. package/dist/src/components/atoms/SvgIcon/MobilePhoneIcon.d.ts +1 -1
  36. package/dist/src/components/atoms/SvgIcon/MobilePhoneIcon.js +11 -0
  37. package/dist/src/components/atoms/SvgIcon/PlayIcon.d.ts +1 -1
  38. package/dist/src/components/atoms/SvgIcon/PlayIcon.js +8 -0
  39. package/dist/src/components/atoms/SvgIcon/ShopIcon.d.ts +1 -1
  40. package/dist/src/components/atoms/SvgIcon/ShopIcon.js +7 -0
  41. package/dist/src/components/atoms/SvgIcon/StatsIcon.d.ts +1 -1
  42. package/dist/src/components/atoms/SvgIcon/StatsIcon.js +12 -0
  43. package/dist/src/components/atoms/SvgIcon/TimesIcon.d.ts +1 -2
  44. package/dist/src/components/atoms/SvgIcon/TimesIcon.js +6 -0
  45. package/dist/src/components/atoms/SvgIcon/WarningIcon.d.ts +1 -1
  46. package/dist/src/components/atoms/SvgIcon/WarningIcon.js +8 -0
  47. package/dist/src/components/atoms/SvgIcon/index.js +2 -0
  48. package/dist/src/components/core/App/App.d.ts +1 -1
  49. package/dist/src/components/core/App/App.js +35 -0
  50. package/dist/src/components/core/App/index.js +2 -0
  51. package/dist/src/components/core/OverlayContainer.js +58 -0
  52. package/dist/src/components/core/PanelManager/PanelManager.d.ts +1 -1
  53. package/dist/src/components/core/PanelManager/PanelManager.js +86 -0
  54. package/dist/src/components/core/PanelManager/index.js +2 -0
  55. package/dist/src/components/core/ScrollableContainer/FocusableItem.js +38 -0
  56. package/dist/src/components/core/ScrollableContainer/ScrollableContainer.d.ts +8 -7
  57. package/dist/src/components/core/ScrollableContainer/ScrollableContainer.js +169 -0
  58. package/dist/src/components/core/ScrollableContainer/index.js +2 -0
  59. package/dist/src/components/molecules/ActionButton/ActionButton.d.ts +53 -7
  60. package/dist/src/components/molecules/ActionButton/ActionButton.js +10 -0
  61. package/dist/src/components/molecules/ActionButton/index.js +2 -0
  62. package/dist/src/components/molecules/HeadshotImage/HeadshotImage.d.ts +1 -1
  63. package/dist/src/components/molecules/HeadshotImage/HeadshotImage.js +50 -0
  64. package/dist/src/components/molecules/HeadshotImage/index.js +2 -0
  65. package/dist/src/components/molecules/Overlay/Overlay.d.ts +1 -1
  66. package/dist/src/components/molecules/Overlay/Overlay.js +139 -0
  67. package/dist/src/components/molecules/Overlay/index.js +2 -0
  68. package/dist/src/components/molecules/PanelNavButton/PanelNavButton.d.ts +57 -10
  69. package/dist/src/components/molecules/PanelNavButton/PanelNavButton.js +27 -0
  70. package/dist/src/components/molecules/PanelNavButton/index.js +2 -0
  71. package/dist/src/components/molecules/SegmentButton/SegmentButton.js +10 -0
  72. package/dist/src/components/molecules/SegmentButton/index.js +2 -0
  73. package/dist/src/components/molecules/TabLoadError/TabLoadError.d.ts +53 -7
  74. package/dist/src/components/molecules/TabLoadError/TabLoadError.js +14 -0
  75. package/dist/src/components/molecules/TabLoadError/index.js +2 -0
  76. package/dist/src/components/molecules/WatchButton/WatchButton.d.ts +1 -1
  77. package/dist/src/components/molecules/WatchButton/WatchButton.js +15 -0
  78. package/dist/src/components/molecules/WatchButton/index.js +2 -0
  79. package/dist/src/components/organisms/PanelNavigation/PanelNavigation.d.ts +1 -1
  80. package/dist/src/components/organisms/PanelNavigation/PanelNavigation.js +60 -0
  81. package/dist/src/components/organisms/PanelNavigation/index.js +2 -0
  82. package/dist/src/components/organisms/SegmentController/SegmentController.d.ts +5 -4
  83. package/dist/src/components/organisms/SegmentController/SegmentController.js +76 -0
  84. package/dist/src/components/organisms/SegmentController/index.js +2 -0
  85. package/dist/src/development/MaestroEventDelegate.js +109 -0
  86. package/dist/src/development/TimeSeek.d.ts +1 -1
  87. package/dist/src/development/TimeSeek.js +218 -0
  88. package/dist/src/development/development.js +36 -0
  89. package/dist/src/external/AxiosNetworkClient.js +110 -0
  90. package/dist/src/external/LocalStorageCacheManager.js +213 -0
  91. package/dist/src/external/ReactRenderer.js +65 -0
  92. package/dist/src/external/mocks/MockExternalNetworkClient.js +187 -0
  93. package/dist/src/external/ports/cacheManager.js +1 -0
  94. package/dist/src/external/ports/networkClient.js +1 -0
  95. package/dist/src/external/ports/renderer.d.ts +1 -2
  96. package/dist/src/external/ports/renderer.js +1 -0
  97. package/dist/src/external/spatial-navigation/__mocks__/withFocusable.d.ts +8 -0
  98. package/dist/src/external/spatial-navigation/__mocks__/withFocusable.js +7 -0
  99. package/dist/src/external/spatial-navigation/index.js +3 -0
  100. package/dist/src/external/spatial-navigation/measureLayout.js +30 -0
  101. package/dist/src/external/spatial-navigation/spatialNavigation.js +876 -0
  102. package/dist/src/external/spatial-navigation/utils.js +6 -0
  103. package/dist/src/external/spatial-navigation/visualDebugger.js +76 -0
  104. package/dist/src/external/spatial-navigation/withFocusable.d.ts +53 -7
  105. package/dist/src/external/spatial-navigation/withFocusable.js +245 -0
  106. package/dist/src/helpers/Observable.js +37 -0
  107. package/dist/src/helpers/strings.js +14 -0
  108. package/dist/src/helpers/url.js +12 -0
  109. package/dist/src/index.d.ts +5 -5
  110. package/dist/src/index.js +165 -0
  111. package/dist/src/interfaces/IMaestroEvent.js +18 -0
  112. package/dist/src/interfaces/IMaestroEventDelegate.js +1 -0
  113. package/dist/src/interfaces/IMaestroManager.js +1 -0
  114. package/dist/src/interfaces/IUserSettings.js +20 -0
  115. package/dist/src/models/IModel.js +1 -0
  116. package/dist/src/models/IPanel.js +40 -0
  117. package/dist/src/models/ITheme.js +20 -0
  118. package/dist/src/models/IWinningBet.js +1 -0
  119. package/dist/src/modules/bets/interfaces/IBets.js +1 -0
  120. package/dist/src/modules/bets/mocks.js +573 -0
  121. package/dist/src/modules/bets/types/BetsAnalyticsTypes.js +1 -0
  122. package/dist/src/modules/bets/view/BetsView.d.ts +3 -3
  123. package/dist/src/modules/bets/view/BetsView.js +143 -0
  124. package/dist/src/modules/bets/view/HotProps/HotPropsView.d.ts +53 -7
  125. package/dist/src/modules/bets/view/HotProps/HotPropsView.js +150 -0
  126. package/dist/src/modules/bets/view/SixPack/SixPackView.d.ts +5 -4
  127. package/dist/src/modules/bets/view/SixPack/SixPackView.js +110 -0
  128. package/dist/src/modules/bets/view/UserBets/BetResult/BetResult.d.ts +1 -1
  129. package/dist/src/modules/bets/view/UserBets/BetResult/BetResult.js +6 -0
  130. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCard.d.ts +53 -7
  131. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCard.js +149 -0
  132. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCardEvent.d.ts +5 -4
  133. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCardEvent.js +34 -0
  134. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCardFooter.d.ts +1 -2
  135. package/dist/src/modules/bets/view/UserBets/BetsCard/BetsCardFooter.js +18 -0
  136. package/dist/src/modules/bets/view/UserBets/Boost/Boost.d.ts +1 -2
  137. package/dist/src/modules/bets/view/UserBets/Boost/Boost.js +6 -0
  138. package/dist/src/modules/bets/view/UserBets/OutcomeBadge/OutcomeBadge.d.ts +1 -2
  139. package/dist/src/modules/bets/view/UserBets/OutcomeBadge/OutcomeBadge.js +9 -0
  140. package/dist/src/modules/bets/view/UserBets/Parlay/Parlay.d.ts +1 -2
  141. package/dist/src/modules/bets/view/UserBets/Parlay/Parlay.js +13 -0
  142. package/dist/src/modules/bets/view/UserBets/Straight/Straight.d.ts +1 -2
  143. package/dist/src/modules/bets/view/UserBets/Straight/Straight.js +6 -0
  144. package/dist/src/modules/bets/view/UserBets/Teaser/Teaser.d.ts +1 -2
  145. package/dist/src/modules/bets/view/UserBets/Teaser/Teaser.js +13 -0
  146. package/dist/src/modules/bets/view/UserBets/UserBetsView.d.ts +3 -3
  147. package/dist/src/modules/bets/view/UserBets/UserBetsView.js +107 -0
  148. package/dist/src/modules/bets/view/components/Bet/Bet.d.ts +99 -11
  149. package/dist/src/modules/bets/view/components/Bet/Bet.js +32 -0
  150. package/dist/src/modules/bets/view/components/BetPill/BetPill.d.ts +1 -1
  151. package/dist/src/modules/bets/view/components/BetPill/BetPill.js +6 -0
  152. package/dist/src/modules/bets/view/components/BetsCard/BetsCard.js +15 -0
  153. package/dist/src/modules/bets/view/components/BetsCard/BetsCardHeader.d.ts +1 -1
  154. package/dist/src/modules/bets/view/components/BetsCard/BetsCardHeader.js +20 -0
  155. package/dist/src/modules/bets/view/components/GamblingDisclaimer/GamblingDisclaimer.d.ts +1 -1
  156. package/dist/src/modules/bets/view/components/GamblingDisclaimer/GamblingDisclaimer.js +14 -0
  157. package/dist/src/modules/bets/view/components/LocationWarning/LocationWarning.d.ts +1 -1
  158. package/dist/src/modules/bets/view/components/LocationWarning/LocationWarning.js +16 -0
  159. package/dist/src/modules/bets/view/components/PromoCodeBanner/PromoCodeBanner.d.ts +5 -4
  160. package/dist/src/modules/bets/view/components/PromoCodeBanner/PromoCodeBanner.js +78 -0
  161. package/dist/src/modules/bets/view/components/PromoCodeBanner/index.js +1 -0
  162. package/dist/src/modules/bets/view-model/BetsViewModel.js +974 -0
  163. package/dist/src/modules/fantasy/components/ExpandedAthleteList/ExpandedAthletesList.d.ts +1 -1
  164. package/dist/src/modules/fantasy/components/ExpandedAthleteList/ExpandedAthletesList.js +107 -0
  165. package/dist/src/modules/fantasy/components/ExpandedAthleteList/index.js +1 -0
  166. package/dist/src/modules/fantasy/components/LeagueCard/LeagueCard.d.ts +53 -7
  167. package/dist/src/modules/fantasy/components/LeagueCard/LeagueCard.js +20 -0
  168. package/dist/src/modules/fantasy/components/LeagueCard/index.js +2 -0
  169. package/dist/src/modules/fantasy/components/TopPlayerCard/TopPlayerCard.d.ts +53 -7
  170. package/dist/src/modules/fantasy/components/TopPlayerCard/TopPlayerCard.js +29 -0
  171. package/dist/src/modules/fantasy/components/TopPlayerCard/index.js +2 -0
  172. package/dist/src/modules/fantasy/mocks.js +3682 -0
  173. package/dist/src/modules/fantasy/types.js +6 -0
  174. package/dist/src/modules/fantasy/view/ActiveAthletesMarquee/ActiveAthletesMarquee.d.ts +1 -1
  175. package/dist/src/modules/fantasy/view/ActiveAthletesMarquee/ActiveAthletesMarquee.js +74 -0
  176. package/dist/src/modules/fantasy/view/ActiveAthletesMarquee/index.js +2 -0
  177. package/dist/src/modules/fantasy/view/ErrorBoundary.d.ts +13 -0
  178. package/dist/src/modules/fantasy/view/FantasyItemView.d.ts +6 -5
  179. package/dist/src/modules/fantasy/view/FantasyItemView.js +74 -0
  180. package/dist/src/modules/fantasy/view/FantasyView.d.ts +3 -3
  181. package/dist/src/modules/fantasy/view/FantasyView.js +133 -0
  182. package/dist/src/modules/fantasy/view/InactiveLeague/DraftDateCountdown.d.ts +1 -1
  183. package/dist/src/modules/fantasy/view/InactiveLeague/DraftDateCountdown.js +95 -0
  184. package/dist/src/modules/fantasy/view/InactiveLeague/InactiveLeague.d.ts +53 -7
  185. package/dist/src/modules/fantasy/view/InactiveLeague/InactiveLeague.js +13 -0
  186. package/dist/src/modules/fantasy/view/InactiveLeague/index.js +2 -0
  187. package/dist/src/modules/fantasy/view/LoginView/LoginView.d.ts +53 -7
  188. package/dist/src/modules/fantasy/view/LoginView/LoginView.js +27 -0
  189. package/dist/src/modules/fantasy/view/LoginView/index.js +2 -0
  190. package/dist/src/modules/fantasy/view/MatchupPair/DoubleAthleteCard/DoubleAthleteCard.d.ts +53 -7
  191. package/dist/src/modules/fantasy/view/MatchupPair/DoubleAthleteCard/DoubleAthleteCard.js +25 -0
  192. package/dist/src/modules/fantasy/view/MatchupPair/DoubleAthleteCard/index.js +2 -0
  193. package/dist/src/modules/fantasy/view/MatchupPair/ExpandedDoubleAthleteCards.d.ts +1 -1
  194. package/dist/src/modules/fantasy/view/MatchupPair/ExpandedDoubleAthleteCards.js +9 -0
  195. package/dist/src/modules/fantasy/view/MatchupPair/MatchupPair.d.ts +53 -7
  196. package/dist/src/modules/fantasy/view/MatchupPair/MatchupPair.js +118 -0
  197. package/dist/src/modules/fantasy/view/MatchupPair/index.js +2 -0
  198. package/dist/src/modules/fantasy/view/MatchupSingle/ExpandedSingleAthleteCards.d.ts +1 -1
  199. package/dist/src/modules/fantasy/view/MatchupSingle/ExpandedSingleAthleteCards.js +9 -0
  200. package/dist/src/modules/fantasy/view/MatchupSingle/MatchupSingle.d.ts +53 -7
  201. package/dist/src/modules/fantasy/view/MatchupSingle/MatchupSingle.js +108 -0
  202. package/dist/src/modules/fantasy/view/MatchupSingle/SingleAthleteCard/SingleAthleteCard.d.ts +53 -7
  203. package/dist/src/modules/fantasy/view/MatchupSingle/SingleAthleteCard/SingleAthleteCard.js +18 -0
  204. package/dist/src/modules/fantasy/view/MatchupSingle/SingleAthleteCard/index.js +2 -0
  205. package/dist/src/modules/fantasy/view/MatchupSingle/index.js +2 -0
  206. package/dist/src/modules/fantasy/view/PromoView/PromoView.d.ts +53 -7
  207. package/dist/src/modules/fantasy/view/PromoView/PromoView.js +12 -0
  208. package/dist/src/modules/fantasy/view/PromoView/index.js +2 -0
  209. package/dist/src/modules/fantasy/view/index.js +2 -0
  210. package/dist/src/modules/fantasy/view-model/FantasyViewModel.FantasyPolling.js +132 -0
  211. package/dist/src/modules/fantasy/view-model/FantasyViewModel.LeagueManagerPolling.js +141 -0
  212. package/dist/src/modules/fantasy/view-model/FantasyViewModel.js +534 -0
  213. package/dist/src/modules/key-plays/constants.js +292 -0
  214. package/dist/src/modules/key-plays/interfaces/IKeyPlays.js +14 -0
  215. package/dist/src/modules/key-plays/interfaces/IKeyPlaysResponse.js +1 -0
  216. package/dist/src/modules/key-plays/view/KeyPlayCardScoreTagView.d.ts +1 -1
  217. package/dist/src/modules/key-plays/view/KeyPlayCardScoreTagView.js +16 -0
  218. package/dist/src/modules/key-plays/view/KeyPlayCardView.d.ts +7 -6
  219. package/dist/src/modules/key-plays/view/KeyPlayCardView.js +139 -0
  220. package/dist/src/modules/key-plays/view/KeyPlayErrorStateView.d.ts +1 -1
  221. package/dist/src/modules/key-plays/view/KeyPlayErrorStateView.js +65 -0
  222. package/dist/src/modules/key-plays/view/KeyPlaysView.d.ts +3 -3
  223. package/dist/src/modules/key-plays/view/KeyPlaysView.js +151 -0
  224. package/dist/src/modules/key-plays/view-model/KeyPlaysViewModel.js +247 -0
  225. package/dist/src/modules/shop/mocks.js +390 -0
  226. package/dist/src/modules/shop/types.js +7 -0
  227. package/dist/src/modules/shop/view/ProductDetailView/ProductDetailView.d.ts +1 -2
  228. package/dist/src/modules/shop/view/ProductDetailView/ProductDetailView.js +56 -0
  229. package/dist/src/modules/shop/view/ProductDetailView/index.js +2 -0
  230. package/dist/src/modules/shop/view/ShopView.d.ts +3 -3
  231. package/dist/src/modules/shop/view/ShopView.js +182 -0
  232. package/dist/src/modules/shop/view/components/BrowseCard/BrowseCard.d.ts +54 -8
  233. package/dist/src/modules/shop/view/components/BrowseCard/BrowseCard.js +23 -0
  234. package/dist/src/modules/shop/view/components/BrowseCard/index.js +2 -0
  235. package/dist/src/modules/shop/view/components/ProductSummaryCard/ProductSummaryCard.d.ts +53 -7
  236. package/dist/src/modules/shop/view/components/ProductSummaryCard/ProductSummaryCard.js +26 -0
  237. package/dist/src/modules/shop/view/components/ProductSummaryCard/index.js +1 -0
  238. package/dist/src/modules/shop/view/components/ShopPromoView/ShopPromoView.d.ts +1 -2
  239. package/dist/src/modules/shop/view/components/ShopPromoView/ShopPromoView.js +19 -0
  240. package/dist/src/modules/shop/view/components/ShopPromoView/index.js +1 -0
  241. package/dist/src/modules/shop/view/components/ShopSection/ShopSection.d.ts +6 -4
  242. package/dist/src/modules/shop/view/components/ShopSection/ShopSection.js +61 -0
  243. package/dist/src/modules/shop/view/components/ShopSection/ShopSectionItem.d.ts +18 -0
  244. package/dist/src/modules/shop/view/components/ShopSection/ShopSectionItem.js +22 -0
  245. package/dist/src/modules/shop/view/components/ShopSection/index.js +1 -0
  246. package/dist/src/modules/shop/view/index.js +2 -0
  247. package/dist/src/modules/shop/view-model/ShopViewModel.ShopPolling.js +111 -0
  248. package/dist/src/modules/shop/view-model/ShopViewModel.js +353 -0
  249. package/dist/src/modules/stats/interfaces/IStats.js +1 -0
  250. package/dist/src/modules/stats/mocks.js +746 -0
  251. package/dist/src/modules/stats/utils/driveSummaryUtils.js +48 -0
  252. package/dist/src/modules/stats/utils/renderTeamStatistic.d.ts +1 -2
  253. package/dist/src/modules/stats/utils/renderTeamStatistic.js +16 -0
  254. package/dist/src/modules/stats/utils.js +62 -0
  255. package/dist/src/modules/stats/view/ActiveAthletes/ActiveAthletes.d.ts +2 -2
  256. package/dist/src/modules/stats/view/ActiveAthletes/ActiveAthletes.js +98 -0
  257. package/dist/src/modules/stats/view/ActiveAthletes/CollapsedAthletes/CollapsedAthletes.d.ts +1 -2
  258. package/dist/src/modules/stats/view/ActiveAthletes/CollapsedAthletes/CollapsedAthletes.js +27 -0
  259. package/dist/src/modules/stats/view/ActiveAthletes/ExpandedAthletes/ExpandedAthletes.d.ts +1 -1
  260. package/dist/src/modules/stats/view/ActiveAthletes/ExpandedAthletes/ExpandedAthletes.js +89 -0
  261. package/dist/src/modules/stats/view/ActiveAthletes/index.js +2 -0
  262. package/dist/src/modules/stats/view/DriveSummary/DrivePlayCard.d.ts +53 -7
  263. package/dist/src/modules/stats/view/DriveSummary/DrivePlayCard.js +70 -0
  264. package/dist/src/modules/stats/view/DriveSummary/DriveSummary.d.ts +1 -1
  265. package/dist/src/modules/stats/view/DriveSummary/DriveSummary.js +87 -0
  266. package/dist/src/modules/stats/view/DriveSummary/ExpandedItems/DriveSummaryExpanded.d.ts +1 -1
  267. package/dist/src/modules/stats/view/DriveSummary/ExpandedItems/DriveSummaryExpanded.js +129 -0
  268. package/dist/src/modules/stats/view/DriveSummary/Header/DriveSummaryHeader.d.ts +1 -2
  269. package/dist/src/modules/stats/view/DriveSummary/Header/DriveSummaryHeader.js +26 -0
  270. package/dist/src/modules/stats/view/DriveSummary/MainStat/MainStat.d.ts +1 -2
  271. package/dist/src/modules/stats/view/DriveSummary/MainStat/MainStat.js +24 -0
  272. package/dist/src/modules/stats/view/DriveSummary/index.js +2 -0
  273. package/dist/src/modules/stats/view/GameLeaders/GameLeaders.d.ts +5 -4
  274. package/dist/src/modules/stats/view/GameLeaders/GameLeaders.js +48 -0
  275. package/dist/src/modules/stats/view/GameLeaders/index.js +2 -0
  276. package/dist/src/modules/stats/view/MatchPredictor/DonutChart/DonutChart.d.ts +2 -2
  277. package/dist/src/modules/stats/view/MatchPredictor/DonutChart/DonutChart.js +55 -0
  278. package/dist/src/modules/stats/view/MatchPredictor/DonutChart/index.js +1 -0
  279. package/dist/src/modules/stats/view/MatchPredictor/MatchPredictorView.d.ts +53 -7
  280. package/dist/src/modules/stats/view/MatchPredictor/MatchPredictorView.js +60 -0
  281. package/dist/src/modules/stats/view/MatchPredictor/index.js +2 -0
  282. package/dist/src/modules/stats/view/Penalties/Penalties.d.ts +1 -2
  283. package/dist/src/modules/stats/view/Penalties/Penalties.js +6 -0
  284. package/dist/src/modules/stats/view/Penalties/index.js +2 -0
  285. package/dist/src/modules/stats/view/RecentGames/RecentGames.d.ts +53 -7
  286. package/dist/src/modules/stats/view/RecentGames/RecentGames.js +23 -0
  287. package/dist/src/modules/stats/view/RecentGames/index.js +2 -0
  288. package/dist/src/modules/stats/view/ScoringSummary/ExpandedScores/ExpandedScores.d.ts +1 -1
  289. package/dist/src/modules/stats/view/ScoringSummary/ExpandedScores/ExpandedScores.js +121 -0
  290. package/dist/src/modules/stats/view/ScoringSummary/ExpandedScores/index.js +2 -0
  291. package/dist/src/modules/stats/view/ScoringSummary/ScoreItem/ScoreItem.d.ts +53 -7
  292. package/dist/src/modules/stats/view/ScoringSummary/ScoreItem/ScoreItem.js +62 -0
  293. package/dist/src/modules/stats/view/ScoringSummary/ScoreItem/index.js +2 -0
  294. package/dist/src/modules/stats/view/ScoringSummary/ScoresSection/ScoresSection.d.ts +1 -2
  295. package/dist/src/modules/stats/view/ScoringSummary/ScoresSection/ScoresSection.js +23 -0
  296. package/dist/src/modules/stats/view/ScoringSummary/ScoresSection/index.js +2 -0
  297. package/dist/src/modules/stats/view/ScoringSummary/ScoringSummary.d.ts +2 -2
  298. package/dist/src/modules/stats/view/ScoringSummary/ScoringSummary.js +106 -0
  299. package/dist/src/modules/stats/view/ScoringSummary/index.js +2 -0
  300. package/dist/src/modules/stats/view/StatsItemView.d.ts +6 -5
  301. package/dist/src/modules/stats/view/StatsItemView.js +92 -0
  302. package/dist/src/modules/stats/view/StatsQRCode/StatsQRCodeView.d.ts +53 -7
  303. package/dist/src/modules/stats/view/StatsQRCode/StatsQRCodeView.js +36 -0
  304. package/dist/src/modules/stats/view/StatsQRCode/index.js +1 -0
  305. package/dist/src/modules/stats/view/StatsView.d.ts +3 -3
  306. package/dist/src/modules/stats/view/StatsView.js +137 -0
  307. package/dist/src/modules/stats/view/TeamStats/TeamStatsView.d.ts +53 -7
  308. package/dist/src/modules/stats/view/TeamStats/TeamStatsView.js +43 -0
  309. package/dist/src/modules/stats/view/TeamStats/index.js +1 -0
  310. package/dist/src/modules/stats/view/Teams/StatsCarousel.d.ts +2 -2
  311. package/dist/src/modules/stats/view/Teams/StatsCarousel.js +83 -0
  312. package/dist/src/modules/stats/view/Teams/StatsProgressBar.d.ts +1 -2
  313. package/dist/src/modules/stats/view/Teams/StatsProgressBar.js +19 -0
  314. package/dist/src/modules/stats/view/Teams/Teams.d.ts +53 -7
  315. package/dist/src/modules/stats/view/Teams/Teams.js +43 -0
  316. package/dist/src/modules/stats/view/Teams/index.js +2 -0
  317. package/dist/src/modules/stats/view/WinProbability/WinProbability.d.ts +53 -7
  318. package/dist/src/modules/stats/view/WinProbability/WinProbability.js +28 -0
  319. package/dist/src/modules/stats/view/WinProbability/index.js +2 -0
  320. package/dist/src/modules/stats/view/components/AthletesStatistics/AthletesStatistics.d.ts +53 -7
  321. package/dist/src/modules/stats/view/components/AthletesStatistics/AthletesStatistics.js +89 -0
  322. package/dist/src/modules/stats/view/components/AthletesStatistics/StatisticTable.d.ts +1 -2
  323. package/dist/src/modules/stats/view/components/AthletesStatistics/StatisticTable.js +12 -0
  324. package/dist/src/modules/stats/view/components/AthletesStatistics/index.js +2 -0
  325. package/dist/src/modules/stats/view/index.js +2 -0
  326. package/dist/src/modules/stats/view-model/StatsViewModel.js +966 -0
  327. package/dist/src/sentry.js +31 -0
  328. package/dist/src/services/AnalyticsService/AnalyticsService.d.ts +12 -7
  329. package/dist/src/services/AnalyticsService/AnalyticsService.js +402 -0
  330. package/dist/src/services/AnalyticsService/types.js +1 -0
  331. package/dist/src/services/BetsService.js +122 -0
  332. package/dist/src/services/FantasyService.js +92 -0
  333. package/dist/src/services/GlobalService/GlobalService.d.ts +9 -0
  334. package/dist/src/services/GlobalService/PageService.d.ts +9 -0
  335. package/dist/src/services/GlobalService/index.d.ts +2 -0
  336. package/dist/src/services/GlobalService/mocks.d.ts +2 -0
  337. package/dist/src/services/GlobalService/types.d.ts +11 -0
  338. package/dist/src/services/InsightsService/InsightsPayloadBuilder.d.ts +1 -2
  339. package/dist/src/services/InsightsService/InsightsPayloadBuilder.js +386 -0
  340. package/dist/src/services/InsightsService/InsightsService.js +74 -0
  341. package/dist/src/services/NetworkManager/NetworkManager.js +457 -0
  342. package/dist/src/services/NetworkManager/NetworkManagerFactory.js +101 -0
  343. package/dist/src/services/NetworkManager/errors.js +45 -0
  344. package/dist/src/services/NetworkManager/types.js +10 -0
  345. package/dist/src/services/PageService/PageService.d.ts +9 -0
  346. package/dist/src/services/PageService/PageService.js +39 -0
  347. package/dist/src/services/PageService/index.d.ts +2 -0
  348. package/dist/src/services/PageService/index.js +2 -0
  349. package/dist/src/services/PageService/mocks.d.ts +2 -0
  350. package/dist/src/services/PageService/mocks.js +104 -0
  351. package/dist/src/services/PageService/types.d.ts +76 -0
  352. package/dist/src/services/PageService/types.js +1 -0
  353. package/dist/src/services/ShopService.js +46 -0
  354. package/dist/src/services/StaticService/PageService.d.ts +9 -0
  355. package/dist/src/services/StaticService/StaticService.d.ts +3 -1
  356. package/dist/src/services/StaticService/StaticService.js +59 -0
  357. package/dist/src/services/StaticService/index.js +2 -0
  358. package/dist/src/services/StaticService/mocks.js +104 -0
  359. package/dist/src/services/StaticService/types.js +1 -0
  360. package/dist/src/services/StatsService.js +136 -0
  361. package/dist/src/services/ThemeManager/constants.js +47 -0
  362. package/dist/src/services/UserSettingsManager.js +155 -0
  363. package/dist/src/test-polyfills.js +15 -0
  364. package/dist/src/types/OverlayTypes.js +4 -0
  365. package/dist/src/view-models/MaestroEventViewModel.d.ts +0 -2
  366. package/dist/src/view-models/MaestroEventViewModel.js +280 -0
  367. package/dist/src/view-models/OverlayViewModel.js +222 -0
  368. package/dist/src/view-models/PanelManagerViewModel.js +212 -0
  369. package/dist/src/view-models/ViewModel.js +32 -0
  370. package/package.json +13 -9
@@ -0,0 +1,746 @@
1
+ export const MOCK_STATS_API_PRE_GAME_RESPONSE = {
2
+ entities: {
3
+ teams: {
4
+ '9': {
5
+ id: '9',
6
+ uid: 's:40~l:59~t:9',
7
+ slug: 'new-york-liberty',
8
+ location: 'New York',
9
+ name: 'Liberty',
10
+ abbreviation: 'NY',
11
+ displayName: 'New York Liberty',
12
+ shortDisplayName: 'Liberty',
13
+ color: '86cebc',
14
+ alternateColor: '000000',
15
+ logo: 'https://a.espncdn.com/i/teamlogos/wnba/500/ny.png',
16
+ statistics: [
17
+ {
18
+ $key: 'fieldGoalPct',
19
+ value: 45.8,
20
+ displayValue: '45.8',
21
+ displayName: 'Field Goal %',
22
+ },
23
+ {
24
+ $key: 'threePointFieldGoalPct',
25
+ value: 34.7,
26
+ displayValue: '34.7',
27
+ displayName: 'Three Point %',
28
+ },
29
+ ],
30
+ homeAway: 'away',
31
+ record: '11-4',
32
+ displayOrder: 1,
33
+ },
34
+ '11': {
35
+ id: '11',
36
+ uid: 's:40~l:59~t:11',
37
+ slug: 'phoenix-mercury',
38
+ location: 'Phoenix',
39
+ name: 'Mercury',
40
+ abbreviation: 'PHX',
41
+ displayName: 'Phoenix Mercury',
42
+ shortDisplayName: 'Mercury',
43
+ color: '3c286e',
44
+ alternateColor: 'e56020',
45
+ logo: 'https://a.espncdn.com/i/teamlogos/wnba/500/phx.png',
46
+ statistics: [
47
+ {
48
+ $key: 'fieldGoalPct',
49
+ value: 43.1,
50
+ displayValue: '43.1',
51
+ displayName: 'Field Goal %',
52
+ },
53
+ {
54
+ $key: 'threePointFieldGoalPct',
55
+ value: 34.8,
56
+ displayValue: '34.8',
57
+ displayName: 'Three Point %',
58
+ },
59
+ ],
60
+ homeAway: 'home',
61
+ record: '12-4',
62
+ displayOrder: 2,
63
+ },
64
+ '14': {
65
+ id: '14',
66
+ uid: 's:40~l:59~t:14',
67
+ abbreviation: 'SEA',
68
+ displayName: 'Seattle Storm',
69
+ logo: 'https://a.espncdn.com/i/teamlogos/wnba/500/sea.png',
70
+ },
71
+ '17': {
72
+ id: '17',
73
+ uid: 's:40~l:59~t:17',
74
+ abbreviation: 'LV',
75
+ displayName: 'Las Vegas Aces',
76
+ logo: 'https://a.espncdn.com/i/teamlogos/wnba/500/lv.png',
77
+ },
78
+ '18': {
79
+ id: '18',
80
+ uid: 's:40~l:59~t:18',
81
+ abbreviation: 'CONN',
82
+ displayName: 'Connecticut Sun',
83
+ logo: 'https://a.espncdn.com/i/teamlogos/wnba/500/conn.png',
84
+ },
85
+ '19': {
86
+ id: '19',
87
+ uid: 's:40~l:59~t:19',
88
+ abbreviation: 'CHI',
89
+ displayName: 'Chicago Sky',
90
+ logo: 'https://a.espncdn.com/i/teamlogos/wnba/500/chi.png',
91
+ },
92
+ '20': {
93
+ id: '20',
94
+ uid: 's:40~l:59~t:20',
95
+ abbreviation: 'ATL',
96
+ displayName: 'Atlanta Dream',
97
+ logo: 'https://a.espncdn.com/i/teamlogos/wnba/500/atl.png',
98
+ },
99
+ '129689': {
100
+ id: '129689',
101
+ uid: 's:40~l:59~t:129689',
102
+ abbreviation: 'GS',
103
+ displayName: 'Golden State Valkyries',
104
+ logo: 'https://a.espncdn.com/i/teamlogos/wnba/500/gs.png',
105
+ },
106
+ '130': {
107
+ id: '121245',
108
+ uid: 's:20~l:28~t:12',
109
+ abbreviation: 'KC',
110
+ displayName: 'Kansas City Chiefs',
111
+ shortDisplayName: 'Kansas City',
112
+ color: 'e31837',
113
+ alternateColor: 'ffcb05',
114
+ logo: 'https://a.espncdn.com/i/teamlogos/nfl/500/kc.png',
115
+ homeAway: 'home',
116
+ },
117
+ '164': {
118
+ id: '11232',
119
+ uid: 's:20~l:28~t:12',
120
+ abbreviation: 'KC',
121
+ displayName: 'Kansas City Chiefs',
122
+ shortDisplayName: 'Kansas City',
123
+ color: 'e31837',
124
+ alternateColor: 'ffcb05',
125
+ logo: 'https://a.espncdn.com/i/teamlogos/nfl/500/kc.png',
126
+ homeAway: 'away',
127
+ },
128
+ },
129
+ athletes: {
130
+ '2529137': {
131
+ id: '2529137',
132
+ uid: 's:40~l:59~a:2529137',
133
+ guid: 'c3d35267-fedd-d8d2-8c24-64ee7aa144ac',
134
+ displayName: 'Natasha Cloud',
135
+ shortName: 'N. Cloud',
136
+ jersey: '9',
137
+ headshot: 'https://stitcher.espn.com/ctv/sports/basketball/leagues/wnba/athletes/2529137.jpg?w=184&h=144',
138
+ links: [
139
+ {
140
+ rel: ['playercard', 'desktop', 'athlete'],
141
+ href: 'https://www.espnqa.com/wnba/player/_/id/2529137/natasha-cloud',
142
+ text: 'Player Card',
143
+ },
144
+ ],
145
+ position: {
146
+ abbreviation: 'G',
147
+ },
148
+ },
149
+ '4700818': {
150
+ id: '2529137',
151
+ uid: 's:40~l:59~a:2529137',
152
+ guid: 'c3d35267-fedd-d8d2-8c24-64ee7aa144ac',
153
+ displayName: 'Natasha Cloud',
154
+ shortName: 'N. Cloud',
155
+ jersey: '9',
156
+ headshot: 'https://stitcher.espn.com/ctv/sports/basketball/leagues/wnba/athletes/2529137.jpg?w=184&h=144',
157
+ links: [
158
+ {
159
+ rel: ['playercard', 'desktop', 'athlete'],
160
+ href: 'https://www.espnqa.com/wnba/player/_/id/2529137/natasha-cloud',
161
+ text: 'Player Card',
162
+ },
163
+ ],
164
+ position: {
165
+ abbreviation: 'G',
166
+ },
167
+ },
168
+ '4837356': {
169
+ id: '2529137156425',
170
+ uid: 's:40~l:59~a:2529137',
171
+ guid: 'c3d35267-fedd-d8d2-8c24-64ee7aa144ac',
172
+ displayName: 'Natasha Cloud',
173
+ shortName: 'N. Cloud',
174
+ jersey: '9',
175
+ headshot: 'https://stitcher.espn.com/ctv/sports/basketball/leagues/wnba/athletes/2529137.jpg?w=184&h=144',
176
+ links: [
177
+ {
178
+ rel: ['playercard', 'desktop', 'athlete'],
179
+ href: 'https://www.espnqa.com/wnba/player/_/id/2529137/natasha-cloud',
180
+ text: 'Player Card',
181
+ },
182
+ ],
183
+ position: {
184
+ abbreviation: 'G',
185
+ },
186
+ },
187
+ '5037871': {
188
+ id: '252913653447',
189
+ uid: 's:40~l:59~a:2529137',
190
+ guid: 'c3d35267-fedd-d8d2-8c24-64ee7aa144ac',
191
+ displayName: 'Natasha Cloud',
192
+ shortName: 'N. Cloud',
193
+ jersey: '9',
194
+ headshot: 'https://stitcher.espn.com/ctv/sports/basketball/leagues/wnba/athletes/2529137.jpg?w=184&h=144',
195
+ links: [
196
+ {
197
+ rel: ['playercard', 'desktop', 'athlete'],
198
+ href: 'https://www.espnqa.com/wnba/player/_/id/2529137/natasha-cloud',
199
+ text: 'Player Card',
200
+ },
201
+ ],
202
+ position: {
203
+ abbreviation: 'G',
204
+ },
205
+ },
206
+ '4873138': {
207
+ id: '25275349137',
208
+ uid: 's:40~l:59~a:2529137',
209
+ guid: 'c3d35267-fedd-d8d2-8c24-64ee7aa144ac',
210
+ displayName: 'Natasha Cloud',
211
+ shortName: 'N. Cloud',
212
+ jersey: '9',
213
+ headshot: 'https://stitcher.espn.com/ctv/sports/basketball/leagues/wnba/athletes/2529137.jpg?w=184&h=144',
214
+ links: [
215
+ {
216
+ rel: ['playercard', 'desktop', 'athlete'],
217
+ href: 'https://www.espnqa.com/wnba/player/_/id/2529137/natasha-cloud',
218
+ text: 'Player Card',
219
+ },
220
+ ],
221
+ position: {
222
+ abbreviation: 'G',
223
+ },
224
+ },
225
+ '2529140': {
226
+ id: '2529147630',
227
+ uid: 's:40~l:59~a:2529140',
228
+ guid: '908608e9-31d4-62f2-dfe2-9fee9024e7e2',
229
+ displayName: 'Alyssa Thomas',
230
+ shortName: 'A. Thomas',
231
+ jersey: '25',
232
+ headshot: 'https://stitcher.espn.com/ctv/sports/basketball/leagues/wnba/athletes/2529140.jpg?w=184&h=144',
233
+ links: [
234
+ {
235
+ rel: ['playercard', 'desktop', 'athlete'],
236
+ href: 'https://www.espnqa.com/wnba/player/_/id/2529140/alyssa-thomas',
237
+ text: 'Player Card',
238
+ },
239
+ ],
240
+ position: {
241
+ abbreviation: 'F',
242
+ },
243
+ },
244
+ '2998928': {
245
+ id: '29989212758',
246
+ uid: 's:40~l:59~a:2998928',
247
+ guid: '4d83d500-2f40-c89e-4f85-62927c5abbeb',
248
+ displayName: 'Breanna Stewart',
249
+ shortName: 'B. Stewart',
250
+ jersey: '30',
251
+ headshot: 'https://stitcher.espn.com/ctv/sports/basketball/leagues/wnba/athletes/2998928.jpg?w=184&h=144',
252
+ links: [
253
+ {
254
+ rel: ['playercard', 'desktop', 'athlete'],
255
+ href: 'https://www.espnqa.com/wnba/player/_/id/2998928/breanna-stewart',
256
+ text: 'Player Card',
257
+ },
258
+ ],
259
+ position: {
260
+ abbreviation: 'F',
261
+ },
262
+ },
263
+ '2999101': {
264
+ id: '2999112756501',
265
+ uid: 's:40~l:59~a:2999101',
266
+ guid: 'd5154a93-4a46-71af-8b55-f69328b84b54',
267
+ displayName: 'Jonquel Jones',
268
+ shortName: 'J. Jones',
269
+ jersey: '35',
270
+ headshot: 'https://stitcher.espn.com/ctv/sports/basketball/leagues/wnba/athletes/2999101.jpg?w=184&h=144',
271
+ links: [
272
+ {
273
+ rel: ['playercard', 'desktop', 'athlete'],
274
+ href: 'https://www.espnqa.com/wnba/player/_/id/2999101/jonquel-jones',
275
+ text: 'Player Card',
276
+ },
277
+ ],
278
+ position: {
279
+ abbreviation: 'C',
280
+ },
281
+ },
282
+ '4281929': {
283
+ id: '428191234729',
284
+ uid: 's:40~l:59~a:4281929',
285
+ guid: 'd4c403bb-a2c8-ed6b-aeaa-c290d8afea9b',
286
+ displayName: 'Satou Sabally',
287
+ shortName: 'S. Sabally',
288
+ jersey: '0',
289
+ headshot: 'https://stitcher.espn.com/ctv/sports/basketball/leagues/wnba/athletes/4281929.jpg?w=184&h=144',
290
+ links: [
291
+ {
292
+ rel: ['playercard', 'desktop', 'athlete'],
293
+ href: 'https://www.espnqa.com/wnba/player/_/id/4281929/satou-sabally',
294
+ text: 'Player Card',
295
+ },
296
+ ],
297
+ position: {
298
+ abbreviation: 'F',
299
+ },
300
+ },
301
+ },
302
+ },
303
+ leaders: [
304
+ {
305
+ displayName: 'Points',
306
+ name: 'pointsPerGame',
307
+ home: {
308
+ team: {
309
+ $key: '11',
310
+ },
311
+ athlete: {
312
+ $key: '4281929',
313
+ statistics: [
314
+ {
315
+ displayValue: '19.1',
316
+ abbreviation: 'PTS',
317
+ },
318
+ {
319
+ displayValue: '39.3',
320
+ abbreviation: 'FG%',
321
+ },
322
+ {
323
+ displayValue: '81.9',
324
+ abbreviation: 'FT%',
325
+ },
326
+ ],
327
+ },
328
+ },
329
+ away: {
330
+ team: {
331
+ $key: '9',
332
+ },
333
+ athlete: {
334
+ $key: '2998928',
335
+ statistics: [
336
+ {
337
+ displayValue: '20.7',
338
+ abbreviation: 'PTS',
339
+ },
340
+ {
341
+ displayValue: '52.0',
342
+ abbreviation: 'FG%',
343
+ },
344
+ {
345
+ displayValue: '81.6',
346
+ abbreviation: 'FT%',
347
+ },
348
+ ],
349
+ },
350
+ },
351
+ },
352
+ {
353
+ displayName: 'Assists',
354
+ name: 'assistsPerGame',
355
+ home: {
356
+ team: {
357
+ $key: '11',
358
+ },
359
+ athlete: {
360
+ $key: '2529140',
361
+ statistics: [
362
+ {
363
+ displayValue: '9.3',
364
+ abbreviation: 'AST',
365
+ },
366
+ {
367
+ displayValue: '3.2',
368
+ abbreviation: 'TO',
369
+ },
370
+ {
371
+ displayValue: '30.3',
372
+ abbreviation: 'MIN',
373
+ },
374
+ ],
375
+ },
376
+ },
377
+ away: {
378
+ team: {
379
+ $key: '9',
380
+ },
381
+ athlete: {
382
+ $key: '2529137',
383
+ statistics: [
384
+ {
385
+ displayValue: '6.5',
386
+ abbreviation: 'AST',
387
+ },
388
+ {
389
+ displayValue: '2.1',
390
+ abbreviation: 'TO',
391
+ },
392
+ {
393
+ displayValue: '28.3',
394
+ abbreviation: 'MIN',
395
+ },
396
+ ],
397
+ },
398
+ },
399
+ },
400
+ {
401
+ displayName: 'Rebounds',
402
+ name: 'reboundsPerGame',
403
+ home: {
404
+ team: {
405
+ $key: '11',
406
+ },
407
+ athlete: {
408
+ $key: '4281929',
409
+ statistics: [
410
+ {
411
+ displayValue: '8.0',
412
+ abbreviation: 'REB',
413
+ },
414
+ {
415
+ displayValue: '6.5',
416
+ abbreviation: 'DR',
417
+ },
418
+ {
419
+ displayValue: '1.5',
420
+ abbreviation: 'OR',
421
+ },
422
+ ],
423
+ },
424
+ },
425
+ away: {
426
+ team: {
427
+ $key: '9',
428
+ },
429
+ athlete: {
430
+ $key: '2999101',
431
+ statistics: [
432
+ {
433
+ displayValue: '9.6',
434
+ abbreviation: 'REB',
435
+ },
436
+ {
437
+ displayValue: '7.7',
438
+ abbreviation: 'DR',
439
+ },
440
+ {
441
+ displayValue: '1.9',
442
+ abbreviation: 'OR',
443
+ },
444
+ ],
445
+ },
446
+ },
447
+ },
448
+ ],
449
+ header: {
450
+ teams: [
451
+ {
452
+ $key: '11',
453
+ linescores: [
454
+ {
455
+ displayValue: '28',
456
+ },
457
+ {
458
+ displayValue: '33',
459
+ },
460
+ {
461
+ displayValue: '27',
462
+ },
463
+ {
464
+ displayValue: '18',
465
+ },
466
+ {
467
+ displayValue: '106',
468
+ },
469
+ ],
470
+ },
471
+ {
472
+ $key: '9',
473
+ linescores: [
474
+ {
475
+ displayValue: '19',
476
+ },
477
+ {
478
+ displayValue: '24',
479
+ },
480
+ {
481
+ displayValue: '27',
482
+ },
483
+ {
484
+ displayValue: '21',
485
+ },
486
+ {
487
+ displayValue: '91',
488
+ },
489
+ ],
490
+ },
491
+ ],
492
+ linescoresHeader: ['1', '2', '3', '4', 'T'],
493
+ },
494
+ predictor: {
495
+ header: 'Matchup Predictor',
496
+ imageUrl: 'https://platform.espnqa.com/lrd/matchuppredictor/401736212',
497
+ homeTeam: {
498
+ team: {
499
+ $key: '11',
500
+ },
501
+ gameProjection: '31.8',
502
+ },
503
+ awayTeam: {
504
+ team: {
505
+ $key: '9',
506
+ },
507
+ gameProjection: '68.2',
508
+ },
509
+ },
510
+ winProbability: {
511
+ imageUrl: 'https://platform.espnqa.com/lrd/winprobability/401736212/401736212576',
512
+ homeTeam: {
513
+ team: {
514
+ $key: '11',
515
+ },
516
+ winPercentage: '100',
517
+ },
518
+ awayTeam: {
519
+ team: {
520
+ $key: '9',
521
+ },
522
+ winPercentage: '0',
523
+ },
524
+ },
525
+ previousGames: [
526
+ {
527
+ displayOrder: 2,
528
+ team: {
529
+ $key: '11',
530
+ },
531
+ events: [
532
+ {
533
+ team: {
534
+ $key: '17',
535
+ homeAway: 'home',
536
+ },
537
+ score: '76-70',
538
+ gameResult: 'W',
539
+ },
540
+ {
541
+ team: {
542
+ $key: '18',
543
+ homeAway: 'home',
544
+ },
545
+ score: '83-75',
546
+ gameResult: 'W',
547
+ },
548
+ {
549
+ team: {
550
+ $key: '9',
551
+ homeAway: 'home',
552
+ },
553
+ score: '89-81',
554
+ gameResult: 'W',
555
+ },
556
+ {
557
+ team: {
558
+ $key: '19',
559
+ homeAway: 'home',
560
+ },
561
+ score: '107-86',
562
+ gameResult: 'W',
563
+ },
564
+ {
565
+ team: {
566
+ $key: '9',
567
+ homeAway: 'away',
568
+ },
569
+ score: '106-91',
570
+ gameResult: 'W',
571
+ },
572
+ ],
573
+ },
574
+ {
575
+ displayOrder: 1,
576
+ team: {
577
+ $key: '9',
578
+ },
579
+ events: [
580
+ {
581
+ team: {
582
+ $key: '20',
583
+ homeAway: 'away',
584
+ },
585
+ score: '86-81',
586
+ gameResult: 'W',
587
+ },
588
+ {
589
+ team: {
590
+ $key: '11',
591
+ homeAway: 'away',
592
+ },
593
+ score: '89-81',
594
+ gameResult: 'L',
595
+ },
596
+ {
597
+ team: {
598
+ $key: '14',
599
+ homeAway: 'home',
600
+ },
601
+ score: '89-79',
602
+ gameResult: 'L',
603
+ },
604
+ {
605
+ team: {
606
+ $key: '129689',
607
+ homeAway: 'home',
608
+ },
609
+ score: '81-78',
610
+ gameResult: 'W',
611
+ },
612
+ {
613
+ team: {
614
+ $key: '11',
615
+ homeAway: 'home',
616
+ },
617
+ score: '106-91',
618
+ gameResult: 'L',
619
+ },
620
+ ],
621
+ },
622
+ ],
623
+ gameState: 'in',
624
+ promotion: {
625
+ title: 'Serving Sports Fans. Anytime.',
626
+ description: 'Open the ESPN app on a mobile device to checkout more stats!',
627
+ logo: 'https://www.espn.com/redesign/assets/img/ictv/logo_qr/1x/logo_qr_espn.png',
628
+ qrCode: 'https://stitcher.espn.com/qr-code/.png?url=sportscenter%3A%2F%2Fx-callback-url%2FshowGame%3FsportName%3Dbasketball%26leagueAbbrev%3Dwnba%26gameId%3D401736212&width=200&height=200',
629
+ backgroundImage: 'https://www.espn.com/redesign/assets/img/ictv/bkg_qr_espn.jpg',
630
+ },
631
+ activeAthletes: {
632
+ displayText: 'Active Athletes',
633
+ teams: [
634
+ {
635
+ team: {
636
+ $key: '130',
637
+ },
638
+ athletes: [
639
+ {
640
+ $key: '4700818',
641
+ statLine: '16.6 PTS, 5.2 REB',
642
+ },
643
+ {
644
+ $key: '4837356',
645
+ statLine: '4.1 AST, 2.2 TO',
646
+ },
647
+ ],
648
+ },
649
+ {
650
+ team: {
651
+ $key: '164',
652
+ },
653
+ athletes: [
654
+ {
655
+ $key: '5037871',
656
+ statLine: '19.4 PTS, 4.0 AST',
657
+ },
658
+ {
659
+ $key: '4873138',
660
+ statLine: '7.2 REB, 2.1 OR',
661
+ },
662
+ ],
663
+ },
664
+ ],
665
+ },
666
+ drives: [
667
+ {
668
+ id: 'drive-1',
669
+ team: {
670
+ $key: '9',
671
+ },
672
+ description: '4 PLAYS, 41 YARDS, 2:15',
673
+ plays: [
674
+ {
675
+ id: 'play-1',
676
+ clock: {
677
+ displayValue: '8:21',
678
+ },
679
+ period: {
680
+ number: 1,
681
+ },
682
+ type: {
683
+ text: 'Shotgun',
684
+ },
685
+ text: 'I.Pacheco left tackle to PHI 20 for 24 yards (M.Epps).',
686
+ start: {
687
+ downDistanceText: '2nd & 5 at PHI 44',
688
+ },
689
+ },
690
+ {
691
+ id: 'play-2',
692
+ clock: {
693
+ displayValue: '9:33',
694
+ },
695
+ period: {
696
+ number: 1,
697
+ },
698
+ type: {
699
+ text: 'Shotgun',
700
+ },
701
+ text: 'P.Mahomes pass short middle to T.Kelce to KC 48 for 20 yards (T.Edwards).',
702
+ start: {
703
+ downDistanceText: '1st & 10 @ KC 25',
704
+ },
705
+ },
706
+ {
707
+ id: 'play-3',
708
+ clock: {
709
+ displayValue: '10:09',
710
+ },
711
+ period: {
712
+ number: 1,
713
+ },
714
+ type: {
715
+ text: 'Shotgun',
716
+ },
717
+ text: 'I.Pacheco up the middle to KC 28 for 3 yards (J.Hargrave).',
718
+ start: {
719
+ downDistanceText: '1st & 10 @ KC 25',
720
+ },
721
+ },
722
+ {
723
+ id: 'play-4',
724
+ clock: {
725
+ displayValue: '11:15',
726
+ },
727
+ period: {
728
+ number: 1,
729
+ },
730
+ type: {
731
+ text: 'Shotgun',
732
+ },
733
+ text: 'P.Mahomes pass complete short right to T.Kelce to KC 35 for 10 yards (J.Bradberry).',
734
+ start: {
735
+ downDistanceText: '2nd & 10 at KC 25',
736
+ },
737
+ },
738
+ ],
739
+ },
740
+ ],
741
+ meta: {
742
+ gp_topic: 'gp-basketball-wnba-401736212',
743
+ picker_topic: 'picker-basketball-wnba',
744
+ gameState: 'in',
745
+ },
746
+ };