@maestro_io/maestro-web-sdk 5.1.1 → 5.2.0
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/dist/1.maestro-web-sdk.esm.js +1 -1
- package/dist/1.maestro-web-sdk.esm.js.map +1 -1
- package/dist/10.maestro-web-sdk.esm.js +1 -1
- package/dist/10.maestro-web-sdk.esm.js.map +1 -1
- package/dist/11.maestro-web-sdk.esm.js +1 -1
- package/dist/11.maestro-web-sdk.esm.js.map +1 -1
- package/dist/12.maestro-web-sdk.esm.js +1 -1
- package/dist/12.maestro-web-sdk.esm.js.map +1 -1
- package/dist/13.maestro-web-sdk.esm.js +1 -1
- package/dist/13.maestro-web-sdk.esm.js.map +1 -1
- package/dist/14.maestro-web-sdk.esm.js +1 -1
- package/dist/14.maestro-web-sdk.esm.js.map +1 -1
- package/dist/15.maestro-web-sdk.esm.js +1 -1
- package/dist/15.maestro-web-sdk.esm.js.map +1 -1
- package/dist/16.maestro-web-sdk.esm.js +1 -1
- package/dist/16.maestro-web-sdk.esm.js.map +1 -1
- package/dist/17.maestro-web-sdk.esm.js +1 -1
- package/dist/17.maestro-web-sdk.esm.js.map +1 -1
- package/dist/18.maestro-web-sdk.esm.js +1 -1
- package/dist/18.maestro-web-sdk.esm.js.map +1 -1
- package/dist/19.maestro-web-sdk.esm.js +1 -1
- package/dist/19.maestro-web-sdk.esm.js.map +1 -1
- package/dist/2.maestro-web-sdk.esm.js +1 -1
- package/dist/20.maestro-web-sdk.esm.js +1 -1
- package/dist/20.maestro-web-sdk.esm.js.map +1 -1
- package/dist/21.maestro-web-sdk.esm.js +1 -1
- package/dist/21.maestro-web-sdk.esm.js.map +1 -1
- package/dist/22.maestro-web-sdk.esm.js +1 -1
- package/dist/22.maestro-web-sdk.esm.js.map +1 -1
- package/dist/23.maestro-web-sdk.esm.js +1 -1
- package/dist/23.maestro-web-sdk.esm.js.map +1 -1
- package/dist/24.maestro-web-sdk.esm.js +1 -1
- package/dist/24.maestro-web-sdk.esm.js.map +1 -1
- package/dist/25.maestro-web-sdk.esm.js +1 -1
- package/dist/25.maestro-web-sdk.esm.js.map +1 -1
- package/dist/26.maestro-web-sdk.esm.js +1 -1
- package/dist/26.maestro-web-sdk.esm.js.map +1 -1
- package/dist/27.maestro-web-sdk.esm.js +1 -1
- package/dist/27.maestro-web-sdk.esm.js.map +1 -1
- package/dist/28.maestro-web-sdk.esm.js +1 -1
- package/dist/28.maestro-web-sdk.esm.js.map +1 -1
- package/dist/29.maestro-web-sdk.esm.js +1 -1
- package/dist/29.maestro-web-sdk.esm.js.map +1 -1
- package/dist/3.maestro-web-sdk.esm.js +1 -1
- package/dist/3.maestro-web-sdk.esm.js.map +1 -1
- package/dist/30.maestro-web-sdk.esm.js +1 -1
- package/dist/30.maestro-web-sdk.esm.js.map +1 -1
- package/dist/31.maestro-web-sdk.esm.js +1 -1
- package/dist/31.maestro-web-sdk.esm.js.map +1 -1
- package/dist/32.maestro-web-sdk.esm.js +1 -1
- package/dist/32.maestro-web-sdk.esm.js.map +1 -1
- package/dist/33.maestro-web-sdk.esm.js +1 -1
- package/dist/33.maestro-web-sdk.esm.js.map +1 -1
- package/dist/34.maestro-web-sdk.esm.js +1 -1
- package/dist/34.maestro-web-sdk.esm.js.map +1 -1
- package/dist/35.maestro-web-sdk.esm.js +1 -1
- package/dist/35.maestro-web-sdk.esm.js.map +1 -1
- package/dist/36.maestro-web-sdk.esm.js +1 -1
- package/dist/36.maestro-web-sdk.esm.js.map +1 -1
- package/dist/37.maestro-web-sdk.esm.js +1 -1
- package/dist/37.maestro-web-sdk.esm.js.map +1 -1
- package/dist/38.maestro-web-sdk.esm.js +1 -1
- package/dist/38.maestro-web-sdk.esm.js.map +1 -1
- package/dist/39.maestro-web-sdk.esm.js +2 -0
- package/dist/39.maestro-web-sdk.esm.js.map +1 -0
- package/dist/4.maestro-web-sdk.esm.js +1 -1
- package/dist/4.maestro-web-sdk.esm.js.map +1 -1
- package/dist/40.maestro-web-sdk.esm.js +2 -0
- package/dist/40.maestro-web-sdk.esm.js.map +1 -0
- package/dist/5.maestro-web-sdk.esm.js +1 -1
- package/dist/5.maestro-web-sdk.esm.js.map +1 -1
- package/dist/6.maestro-web-sdk.esm.js +1 -1
- package/dist/6.maestro-web-sdk.esm.js.map +1 -1
- package/dist/7.maestro-web-sdk.esm.js +1 -1
- package/dist/7.maestro-web-sdk.esm.js.map +1 -1
- package/dist/8.maestro-web-sdk.esm.js +1 -1
- package/dist/8.maestro-web-sdk.esm.js.map +1 -1
- package/dist/9.maestro-web-sdk.esm.js +1 -1
- package/dist/9.maestro-web-sdk.esm.js.map +1 -1
- package/dist/index.d.ts +12 -2
- package/dist/maestro-web-sdk.esm.js +3 -3
- package/dist/maestro-web-sdk.esm.js.map +1 -1
- package/dist/maestro-web-sdk.umd.js +3 -3
- package/dist/maestro-web-sdk.umd.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/components/atoms/SvgIcon/AddIcon.d.ts +3 -0
- package/dist/src/components/atoms/SvgIcon/AddIcon.js +6 -0
- package/dist/src/components/atoms/SvgIcon/Icon.js +2 -0
- package/dist/src/components/core/PanelManager/PanelManager.js +5 -3
- package/dist/src/components/molecules/NetworkDialog/NetworkDialog.d.ts +11 -0
- package/dist/src/components/molecules/NetworkDialog/NetworkDialog.js +34 -0
- package/dist/src/components/molecules/NetworkDialog/index.d.ts +2 -0
- package/dist/src/components/molecules/NetworkDialog/index.js +2 -0
- package/dist/src/components/molecules/NetworkError/NetworkError.d.ts +104 -0
- package/dist/src/components/molecules/NetworkError/NetworkError.js +26 -0
- package/dist/src/components/molecules/NetworkError/index.d.ts +2 -0
- package/dist/src/components/molecules/NetworkError/index.js +2 -0
- package/dist/src/components/molecules/PanelNavButton/PanelNavButton.d.ts +1 -0
- package/dist/src/components/molecules/PanelNavButton/PanelNavButton.js +16 -7
- package/dist/src/components/organisms/PanelNavigation/PanelNavigation.d.ts +1 -0
- package/dist/src/components/organisms/PanelNavigation/PanelNavigation.js +11 -7
- package/dist/src/development/MaestroEventDelegate.js +1 -0
- package/dist/src/helpers/site.d.ts +1 -0
- package/dist/src/helpers/site.js +6 -0
- package/dist/src/helpers/siteConfig.d.ts +1 -0
- package/dist/src/helpers/siteConfig.js +5 -0
- package/dist/src/interfaces/IMaestroEventDelegate.d.ts +8 -1
- package/dist/src/models/IPanel.d.ts +1 -1
- package/dist/src/models/IPanel.js +1 -1
- package/dist/src/modules/espn/bets/view/BetsView.js +1 -1
- package/dist/src/modules/espn/components/TabLoadError/TabLoadError.d.ts +96 -0
- package/dist/src/modules/espn/components/TabLoadError/TabLoadError.js +14 -0
- package/dist/src/modules/espn/components/TabLoadError/index.d.ts +2 -0
- package/dist/src/modules/espn/components/TabLoadError/index.js +2 -0
- package/dist/src/modules/espn/fantasy/components/TournamentOverflowQR/TournamentOverflowQR.d.ts +5 -5
- package/dist/src/modules/espn/fantasy/components/TournamentOverflowQR/TournamentOverflowQR.js +7 -73
- package/dist/src/modules/espn/fantasy/services/FantasyService.js +1 -1
- package/dist/src/modules/espn/fantasy/view/FantasyItemView.js +1 -1
- package/dist/src/modules/espn/fantasy/view/FantasyView.js +1 -1
- package/dist/src/modules/espn/fantasy/view-model/FantasyViewModel.js +7 -0
- package/dist/src/modules/espn/key-plays/view/KeyPlayErrorStateView.js +1 -1
- package/dist/src/modules/espn/shop/view/ShopView.js +1 -1
- package/dist/src/modules/espn/stats/view/StatsView.js +1 -1
- package/dist/src/modules/fox/components/TabLoadError/TabLoadError.d.ts +96 -0
- package/dist/src/modules/fox/components/TabLoadError/TabLoadError.js +19 -0
- package/dist/src/modules/fox/components/TabLoadError/index.d.ts +2 -0
- package/dist/src/modules/fox/components/TabLoadError/index.js +2 -0
- package/dist/src/modules/fox/multi-view/interfaces/IMultiViewViewModel.d.ts +3 -0
- package/dist/src/modules/fox/multi-view/interfaces/IMultiViewViewModel.js +1 -0
- package/dist/src/modules/fox/multi-view/services/MultiViewService.d.ts +99 -0
- package/dist/src/modules/fox/multi-view/services/MultiViewService.js +94 -0
- package/dist/src/modules/fox/multi-view/types.d.ts +48 -0
- package/dist/src/modules/fox/multi-view/types.js +86 -0
- package/dist/src/modules/fox/multi-view/view/CuratedMultiview/CuratedMultiviews.d.ts +8 -0
- package/dist/src/modules/fox/multi-view/view/CuratedMultiview/CuratedMultiviews.js +91 -0
- package/dist/src/modules/fox/multi-view/view/CuratedMultiview/index.d.ts +2 -0
- package/dist/src/modules/fox/multi-view/view/CuratedMultiview/index.js +2 -0
- package/dist/src/modules/fox/multi-view/view/FoxMultiView.d.ts +1 -0
- package/dist/src/modules/fox/multi-view/view/FoxMultiView.js +62 -2
- package/dist/src/modules/fox/multi-view/view/components/CustomMultiviewStreamsCard/CustomMultiviewStreamsCard.d.ts +122 -0
- package/dist/src/modules/fox/multi-view/view/components/CustomMultiviewStreamsCard/CustomMultiviewStreamsCard.js +51 -0
- package/dist/src/modules/fox/multi-view/view/components/CustomMultiviewStreamsCard/index.d.ts +2 -0
- package/dist/src/modules/fox/multi-view/view/components/CustomMultiviewStreamsCard/index.js +2 -0
- package/dist/src/modules/fox/multi-view/view/components/LayoutSelector/LayoutSelector.d.ts +13 -0
- package/dist/src/modules/fox/multi-view/view/components/LayoutSelector/LayoutSelector.js +40 -0
- package/dist/src/modules/fox/multi-view/view/components/LayoutSelector/index.d.ts +2 -0
- package/dist/src/modules/fox/multi-view/view/components/LayoutSelector/index.js +2 -0
- package/dist/src/modules/fox/multi-view/view/components/curated-multiview-card/CuratedMultiviewCard.d.ts +101 -0
- package/dist/src/modules/fox/multi-view/view/components/curated-multiview-card/CuratedMultiviewCard.js +21 -0
- package/dist/src/modules/fox/multi-view/view/components/curated-multiview-card/index.d.ts +2 -0
- package/dist/src/modules/fox/multi-view/view/components/curated-multiview-card/index.js +2 -0
- package/dist/src/modules/fox/multi-view/view-model/MultiViewViewModel.d.ts +63 -0
- package/dist/src/modules/fox/multi-view/view-model/MultiViewViewModel.js +328 -0
- package/dist/src/modules/fox/multi-view/view-model/index.d.ts +1 -0
- package/dist/src/modules/fox/multi-view/view-model/index.js +1 -0
- package/dist/src/services/NetworkManager/NetworkManager.js +1 -1
- package/dist/src/services/NetworkManager/errors.d.ts +3 -1
- package/dist/src/services/NetworkManager/errors.js +15 -1
- package/dist/src/services/StaticService/StaticService.js +1 -0
- package/dist/src/view-models/MaestroEventViewModel.d.ts +2 -0
- package/dist/src/view-models/MaestroEventViewModel.js +17 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{102:function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return r}));const i=e=>e.toLowerCase().trim().replace(/[\s\W-]+/g,"-").replace(/^-+|-+$/g,"");function r(e){let t=0;for(let a=0;a<e.length;a++){t=(t<<5)-t+e.charCodeAt(a),t&=t}return t}},123:function(e,t,a){"use strict";a.r(t),a.d(t,"BuilderPanelViewModel",(function(){return o}));var i=a(3),r=a(33),n=a(4),s=a(102);function l(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var i=a.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class o extends r.a{constructor(e,t){super(),l(this,"sections",new i.a([])),l(this,"expandedCardIds",new i.a(new Set)),l(this,"isDataLoading",new i.a(!1)),l(this,"hasEverSuccessfullyLoaded",new i.a(!1)),l(this,"analyticsService",null),l(this,"lastResponseHash",null),l(this,"initialized",!1),this.analyticsService=t||null,e&&this.parseBlockData(e)}async init(e){this.analyticsService&&await this.trackPanelView(),this.parseBlockData(e),this.initialized=!0}cleanup(){this.sections.value=[],this.expandedCardIds.value=new Set,this.lastResponseHash=null,this.initialized=!1}updatePanelConfig(e){this.parseBlockData(e)}async trackPanelView(){try{this.analyticsService}catch(e){Object(n.a)(e,{tags:{component:"BuilderPanelViewModel",method:"trackPanelView"}})}}parseBlockData(e){try{if(this.isDataLoading.value=!0,this.setError(null),!e)throw new Error("Panel config is required");if(!e.block_data)throw new Error("block_data is missing from panel config");const t=e.block_data;if(!t.sections)throw new Error("sections array is missing from block_data");if(!Array.isArray(t.sections))throw new Error("sections must be an array");const a=Object(s.b)(JSON.stringify(t.sections));if(a===this.lastResponseHash)return void(this.isDataLoading.value=!1);this.sections.value=this.parseSections(t.sections),this.lastResponseHash=a,this.hasEverSuccessfullyLoaded.value=!0,this.isDataLoading.value=!1}catch(t){const a=t instanceof Error?t.message:"Failed to parse block data";this.setError(a),this.isDataLoading.value=!1,Object(n.a)(t,{tags:{component:"BuilderPanelViewModel",method:"parseBlockData"},extra:{panelConfig:e}})}}toggleCardExpanded(e){const t=new Set(this.expandedCardIds.value);t.has(e)?t.delete(e):t.add(e),this.expandedCardIds.value=t}collapseAllCards(){this.expandedCardIds.value=new Set}parsePadding(e){var t,a,i,r;const n=8,s=8,l=8,o=8;return{top:null!==(t=null==e?void 0:e.top)&&void 0!==t?t:n,right:null!==(a=null==e?void 0:e.right)&&void 0!==a?a:s,bottom:null!==(i=null==e?void 0:e.bottom)&&void 0!==i?i:l,left:null!==(r=null==e?void 0:e.left)&&void 0!==r?r:o}}parseHeader(e){var t,a,i;return{content:null!==(t=null==e?void 0:e.content)&&void 0!==t?t:"",enabled:null!==(a=null==e?void 0:e.enabled)&&void 0!==a&&a,type:null!==(i=null==e?void 0:e.type)&&void 0!==i?i:"text",alt:null==e?void 0:e.alt}}parseSectionSettings(e){var t,a,i,r;return{backgroundColor:null!==(t=null==e?void 0:e.background_color)&&void 0!==t?t:"transparent",header:this.parseHeader(null==e?void 0:e.header),padding:this.parsePadding(null==e?void 0:e.padding),spacing:null!==(a=null==e?void 0:e.spacing)&&void 0!==a?a:8,sticky:null!==(i=null==e?void 0:e.sticky)&&void 0!==i&&i,textAlignment:null!==(r=null==e?void 0:e.text_alignment)&&void 0!==r?r:"left"}}parseSimpleCard(e){var t,a,i,r;return{id:e.id,type:"simple",title:null!==(t=e.title)&&void 0!==t?t:"",image:{url:null!==(a=null===(i=e.image)||void 0===i?void 0:i.url)&&void 0!==a?a:"",alt:null===(r=e.image)||void 0===r?void 0:r.alt}}}parseExpandableCard(e){var t,a,i;return{id:e.id,type:"expandable",title:null!==(t=e.title)&&void 0!==t?t:"",collapsedState:{cards:Array.isArray(null===(a=e.collapsed_state)||void 0===a?void 0:a.cards)?e.collapsed_state.cards.map(e=>this.parseSimpleCard(e)):[]},expandedState:{cards:Array.isArray(null===(i=e.expanded_state)||void 0===i?void 0:i.cards)?e.expanded_state.cards.map(e=>this.parseSimpleCard(e)):[]},settings:e.settings?this.parseSectionSettings(e.settings):void 0}}parseCard(e){if(!e||!e.id)throw new Error("Card must have an id");return"expandable"===e.type?this.parseExpandableCard(e):this.parseSimpleCard(e)}parseSection(e){var t;if(!e||!e.id)throw new Error("Section must have an id");return{id:e.id,title:null!==(t=e.title)&&void 0!==t?t:"",cards:Array.isArray(e.cards)?e.cards.map(e=>this.parseCard(e)):[],settings:this.parseSectionSettings(e.settings)}}parseSections(e){if(!Array.isArray(e))throw new Error("Sections must be an array");return e.map(e=>this.parseSection(e))}}}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{104:function(e,a,t){"use strict";t.d(a,"a",(function(){return s})),t.d(a,"b",(function(){return n}));const s=e=>e.toLowerCase().trim().replace(/[\s\W-]+/g,"-").replace(/^-+|-+$/g,"");function n(e){let a=0;for(let t=0;t<e.length;t++){a=(a<<5)-a+e.charCodeAt(t),a&=a}return a}},241:function(e,a,t){"use strict";t.r(a),t.d(a,"FantasyViewModel",(function(){return I}));var s=t(3),n=t(4),o=t(8),r=t(35);function l(e,a,t){return(a=function(e){var a=function(e,a){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var s=t.call(e,a||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:a+""}(a))in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}var i=class{constructor(){l(this,"networkManager",void 0),l(this,"leagueManagerOverrideBaseUrl",""),l(this,"fantasyOverrideBaseUrl",""),l(this,"gambitOverrideBaseUrl",""),this.networkManager=new r.b}get fantasyBaseUrl(){return this.fantasyOverrideBaseUrl||"https://fan.api.espn.com"}get leagueManagerBaseUrl(){return this.leagueManagerOverrideBaseUrl||"https://lm-api-reads.fantasy.espn.com"}get tournamentChallengeBaseUrl(){return this.gambitOverrideBaseUrl||"https://gambit-api.fantasy.espn.com"}pollFantasy({eventId:e,jwt:a,swid:t},s,n,o){return this.networkManager.pollExternalApiRequestWithHeaders({endpoint:`${this.fantasyBaseUrl}/apis/v2/fans/${t}`,interval:s,headers:{"x-p13n-auth":a},onData:n,onError:o,params:{displayHiddenPrefs:!0,prefType:"fantasy",context:"fantasy",useCookieAuth:!0,source:"fantasyictv-bbd",featureFlags:"challengeEntries",filterType:"FANTASY_CTV",platform:"fantasyictv_bbd",swid:t,eventId:e}})}pollLeagueManager({game:e,leagueId:a,seasonId:t,token:s,proGameId:n,teamId:o},r,l,i){return this.networkManager.pollExternalApiRequestWithHeaders({endpoint:`${this.leagueManagerBaseUrl}/apis/v3/games/${e}/seasons/${t}/segments/0/leagues/${a}/scoreboard`,interval:r,onData:l,onError:i,headers:{"x-p13n-auth":s},params:{view:"ictv_scoreboard",platform:"fantasyictv_bbd",proGameId:n,teamId:o}})}getPromo(){return this.networkManager.externalApiRequest({endpoint:"https://client.espncdn.com/ictv/promo.json",useCache:!0})}pollTournamentChallenge({challengeId:e,competitionId:a,token:t},s,n,o){return this.networkManager.pollExternalApiRequestWithHeaders({endpoint:`${this.tournamentChallengeBaseUrl}/apis/v1/challenges/${e}/scoreboard`,interval:s,onData:n,onError:o,headers:{"x-p13n-auth":t},params:{competitionId:a,view:"ictv_scoreboard",platform:"fantasyictv_bbd"}})}};const d=e=>{var a,t;return void 0!==(null===(a=e.matchups)||void 0===a||null===(t=a[0])||void 0===t?void 0:t.teams)};var p=t(104);function c(e,a,t){return(a=function(e){var a=function(e,a){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var s=t.call(e,a||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:a+""}(a))in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}class g{constructor(e){c(this,"polling",{interval:6e4,task:null,lastResponseHash:null}),c(this,"fantasyService",void 0),this.fantasyService=e}async refresh(e,a){this.stop(),await this.start(e,a)}stop(){this.polling.task&&(this.polling.task.stop(),this.polling.task=null)}removeLastResponseHash(){this.polling.lastResponseHash=null}async start(e,a){try{this.polling.task=this.fantasyService.pollFantasy(e,this.polling.interval,t=>{this.updateInterval(e,t.headers,a),this.processPolledData(t.data,a)},a=>this.handlePollingError(a,e.swid))}catch(e){Object(n.a)(e,{context:"FantasyViewModel.pollFantasy"}),console.error("[FANTASY] Error setting up fantasy polling:",e)}}updateInterval(e,a,t){const s=this.getResponseHeaderPollingIntervalValue(a),n=this.getPanelConfigInterval(),o=s||n;o&&o!==this.polling.interval&&(console.log(`[Fantasy] Updating fantasy polling interval from ${this.polling.interval}ms to ${o}ms`),this.polling.interval=o,this.refresh(e,t))}getResponseHeaderPollingIntervalValue(e){const a=e["polling-interval"];if(!a)return null;const t=parseInt(a,10);return isNaN(t)||t<=0?(console.warn(`[Fantasy] Invalid polling interval header received: ${a}.`),null):1e3*t}getPanelConfigInterval(){var e,a,t;const s=o.default.getPageConfig(),n=null==s||null===(e=s.panels)||void 0===e?void 0:e.find(e=>"espnFantasy"===e.panel_type);if(!n)return null;const r=null===(a=n.renderer)||void 0===a||null===(t=a.block_data)||void 0===t?void 0:t.fan_polling_interval;if(!r)return null;const l=parseInt(r,10);return isNaN(l)||l<=0?(console.warn(`[FANTASY] Invalid fantasy polling interval from panel config: ${r}.`),null):1e3*l}processPolledData(e,a){const t=Object(p.b)(JSON.stringify(e));this.polling.lastResponseHash!==t?(this.polling.lastResponseHash=t,a(e)):console.log("[Fantasy] Fantasy Response hash is the same as last successful response - skipping update")}handlePollingError(e,a){console.error("[FANTASY] Fantasy polling error:",e),Object(n.a)(e,{context:"FantasyViewModel.pollFantasy",extra:{swid:a?a.substring(0,8)+"...":"unknown",pollingInterval:this.polling.interval}})}}function u(e,a,t){return(a=function(e){var a=function(e,a){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var s=t.call(e,a||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:a+""}(a))in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}class m{constructor(e){u(this,"polling",{}),u(this,"fantasyService",void 0),this.fantasyService=e}refresh(e,a,t){this.stop(e),this.polling[e]||(this.polling[e]={interval:6e4,lastResponseHash:null,task:null}),this.start(e,a,t)}stop(e){var a,t,s,n;null!==(a=this.polling[e])&&void 0!==a&&a.task&&(null===(t=this.polling[e])||void 0===t||null===(s=t.task)||void 0===s||null===(n=s.stop)||void 0===n||n.call(s),this.polling[e].task=null)}start(e,a,t){try{this.polling[e].task=this.fantasyService.pollLeagueManager(a,this.polling[e].interval,s=>{this.updateInterval(e,a,t,s.headers),this.processPolledData(e,s.data,t)},t=>this.handlePollingError(t,e,a))}catch(e){Object(n.a)(e,{context:"FantasyViewModel.pollLeagueManager"}),console.error("[FANTASY] Error setting up league manager polling:",e)}}processPolledData(e,a,t){const s=Object(p.b)(JSON.stringify(a));this.polling[e].lastResponseHash!==s?(this.polling[e].lastResponseHash=s,t(a)):console.log("[Fantasy] League manager Response hash is the same as last successful response - skipping update")}updateInterval(e,a,t,s){var n;const o=this.getResponseHeaderPollingIntervalValue(s),r=this.getPanelConfigInterval(),l=o||r;var i;l&&l!==(null===(n=this.polling[e])||void 0===n?void 0:n.interval)&&(console.log(`[Fantasy] Updating league manager polling interval from ${null===(i=this.polling[e])||void 0===i?void 0:i.interval}ms to ${l}ms`),this.polling[e].interval=l,this.refresh(e,a,t))}getResponseHeaderPollingIntervalValue(e){const a=e["polling-interval"];if(!a)return null;const t=parseInt(a,10);return isNaN(t)||t<=0?(console.warn(`[Fantasy] Invalid polling interval header received: ${a}.`),null):1e3*t}getPanelConfigInterval(){var e,a,t;const s=o.default.getPageConfig(),n=null==s||null===(e=s.panels)||void 0===e?void 0:e.find(e=>"espnFantasy"===e.panel_type);if(!n)return null;const r=null===(a=n.renderer)||void 0===a||null===(t=a.block_data)||void 0===t?void 0:t.lm_polling_interval;if(!r)return null;const l=parseInt(r,10);return isNaN(l)||l<=0?(console.warn(`[FANTASY] Invalid league manager polling interval from panel config: ${r}.`),null):1e3*l}stopAll(){Object.keys(this.polling).forEach(e=>{this.stop(e)}),this.polling={}}handlePollingError(e,a,t){var s;console.error("[FANTASY] League manager polling error:",e),Object(n.a)(e,{context:"FantasyViewModel.pollLeagueManager",extra:{key:a,leagueId:null==t?void 0:t.leagueId,game:null==t?void 0:t.game,pollingInterval:null===(s=this.polling[a])||void 0===s?void 0:s.interval}})}}function f(e,a,t){return(a=function(e){var a=function(e,a){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var s=t.call(e,a||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:a+""}(a))in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}class y{constructor(e){f(this,"polling",{}),f(this,"fantasyService",void 0),this.fantasyService=e}refresh(e,a,t){this.stop(e),this.polling[e]||(this.polling[e]={interval:6e4,lastResponseHash:null,task:null}),this.start(e,a,t)}stop(e){var a,t,s,n;null!==(a=this.polling[e])&&void 0!==a&&a.task&&(null===(t=this.polling[e])||void 0===t||null===(s=t.task)||void 0===s||null===(n=s.stop)||void 0===n||n.call(s),this.polling[e].task=null)}start(e,a,t){try{this.polling[e].task=this.fantasyService.pollTournamentChallenge(a,this.polling[e].interval,s=>{this.updateInterval(e,a,t,s.headers),this.processPolledData(e,s.data,t)},t=>this.handlePollingError(t,e,a))}catch(e){Object(n.a)(e,{context:"FantasyViewModel.pollTournamentChallenge"}),console.error("[TOURNAMENT] Error setting up tournament polling:",e)}}updateInterval(e,a,t,s){var n;const o=this.getResponseHeaderPollingIntervalValue(s),r=this.getPanelConfigInterval(),l=o||r;var i;l&&l!==(null===(n=this.polling[e])||void 0===n?void 0:n.interval)&&(console.log(`[TOURNAMENT] Updating tournament polling interval from ${null===(i=this.polling[e])||void 0===i?void 0:i.interval}ms to ${l}ms`),this.polling[e].interval=l,this.refresh(e,a,t))}getResponseHeaderPollingIntervalValue(e){const a=e["polling-interval"];if(!a)return null;const t=parseInt(a,10);return isNaN(t)||t<=0?(console.warn(`[TOURNAMENT] Invalid polling interval header received: ${a}.`),null):1e3*t}getPanelConfigInterval(){var e,a,t;const s=o.default.getPageConfig(),n=null==s||null===(e=s.panels)||void 0===e?void 0:e.find(e=>"espnFantasy"===e.panel_type);if(!n)return null;const r=null===(a=n.renderer)||void 0===a||null===(t=a.block_data)||void 0===t?void 0:t.gambit_polling_interval;if(!r)return null;const l=parseInt(r,10);return isNaN(l)||l<=0?(console.warn(`[TOURNAMENT] Invalid tournament polling interval from panel config: ${r}.`),null):1e3*l}processPolledData(e,a,t){const s=Object(p.b)(JSON.stringify(a));this.polling[e].lastResponseHash!==s?(this.polling[e].lastResponseHash=s,t(a)):console.log("[TOURNAMENT] Tournament Response hash is the same as last successful response - skipping update")}stopAll(){Object.keys(this.polling).forEach(e=>{this.stop(e)}),this.polling={}}handlePollingError(e,a,t){var s;console.error("[TOURNAMENT] Tournament polling error:",e),Object(n.a)(e,{context:"FantasyViewModel.pollTournamentChallenge",extra:{key:a,challengeId:null==t?void 0:t.challengeId,pollingInterval:null===(s=this.polling[a])||void 0===s?void 0:s.interval}})}}const h={id:"{969DDFA7-B575-4017-966C-ED83EC3EDF37}",anon:!1,profile:{createDate:1533061925808,lastUpdateDate:1762527083860,hasNotificationPreferences:!1,useSortGlobal:!0,settings:{videoAutoStart:{value:"1",createDate:1533061925808},hideSportsBetting:{value:"false",createDate:1757023536525},activeProducts:{value:"true",createDate:1533379743011}},isInsider:!0,isPremium:!0,lastName:"Janssen",firstName:"Megan",email:"megan.m.janssen@espn.com",userName:"meganjanssen25"},lastAccessDate:"2025-11-10T05:27:31Z",createDate:"2018-07-31T18:32:05Z",lastUpdateDate:"2025-11-07T14:51:23Z",bettingFeatures:[{name:"bettingContentEnabled",value:!0},{name:"bettingLinksEnabled",value:!1}],preferences:[{id:"1:549555067:1:2025",createDate:1742909253422,lastUpdateDate:1757380930299,metaData:{entry:{entryId:1,entryMetadata:{teamName:"Mother of Minigames",teamAbbrev:"MoM",leagueFormatTypeId:3,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!1,scoringTypeId:1,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:1,groups:[{groupId:549555067,groupSize:16,groupName:"Fantasy Eng - Guillotine",groupManager:!0,draftDate:"1794416827000",draftType:1,draftStatus:1,leagueStatus:1,fantasyCastHref:"https://fantasy.espn.com/football/fantasycast?leagueId=549555067&teamId=1",href:"https://fantasy.espn.com/football/league?leagueId=549555067&seasonId=2025",draftTypeName:"Snake"}],logoType:"CUSTOM_VALID",logoUrl:"https://upload.wikimedia.org/wikipedia/en/0/0d/Daenerys_Targaryen_with_Dragon-Emilia_Clarke.jpg",restrictionType:0,seasonId:2025,entryURL:"https://fantasy.espn.com/football/team?leagueId=549555067&teamId=1&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/seasons/2025/segments/0/leagues/549555067?view=mScoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B1%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FFL",name:"Fantasy Football 2025",description:"Fantasy Football",logoURL:"https://g.espncdn.com/s/ffllm/14/images/shell/bgHead_leaguemanager.png",signupURL:"https://fantasy.espn.com/football/welcome",href:"https://www.espn.com/fantasy/football/",restrictionTypeName:"NONE"},inSeason:!0,isLive:!1,currentScoringPeriodId:10},contentSourceId:10,sortGlobal:7,isHidden:!0,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"4:1278583616:1:2025",createDate:1742915003927,lastUpdateDate:1756670657496,metaData:{entry:{entryId:4,entryMetadata:{teamName:"Megantron",teamAbbrev:"MEGA",leagueFormatTypeId:3,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:1,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:1,groups:[{groupId:1278583616,groupSize:18,groupName:"Tarps OFF",groupManager:!1,draftDate:17557776e5,draftType:1,draftStatus:2,leagueStatus:3,fantasyCastHref:"https://fantasy.espn.com/football/fantasycast?leagueId=1278583616&teamId=4",href:"https://fantasy.espn.com/football/league?leagueId=1278583616&seasonId=2025",draftTypeName:"Snake"}],logoType:"CUSTOM_VALID",logoUrl:"https://i.giphy.com/media/fZ91xzFtKWmoJSD4TK/giphy.gif",restrictionType:0,seasonId:2025,entryURL:"https://fantasy.espn.com/football/team?leagueId=1278583616&teamId=4&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/seasons/2025/segments/0/leagues/1278583616?view=mScoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B4%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FFL",name:"Fantasy Football 2025",description:"Fantasy Football",logoURL:"https://g.espncdn.com/s/ffllm/14/images/shell/bgHead_leaguemanager.png",signupURL:"https://fantasy.espn.com/football/welcome",href:"https://www.espn.com/fantasy/football/",lineup:{proGameToNumPlayersStarting:{401772771:1,401772944:1,401772630:1,401772772:1,401772773:1,401772927:1,401772879:1,401772636:1,401772876:1}},currentLineup:{"-16026":16,16800:23,3043078:2,3052587:0,3121023:6,3123052:17,3139477:20,4241985:2,4242355:20,4362238:20,4372016:4,4426385:20,4429025:20,4612826:4},restrictionTypeName:"NONE"},inSeason:!0,isLive:!1,currentScoringPeriodId:10},contentSourceId:10,sortGlobal:9,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"1:1027557112:1:2025",createDate:1742911155496,lastUpdateDate:1756920410999,metaData:{entry:{entryId:1,entryMetadata:{teamName:"Mother of Minigames",teamAbbrev:"MoM",leagueFormatTypeId:3,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:1,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:1,groups:[{groupId:1027557112,groupSize:8,groupName:"Fantasy Platform Engineers",groupManager:!0,draftDate:17569188e5,draftType:1,draftStatus:2,leagueStatus:3,fantasyCastHref:"https://fantasy.espn.com/football/fantasycast?leagueId=1027557112&teamId=1",href:"https://fantasy.espn.com/football/league?leagueId=1027557112&seasonId=2025",draftTypeName:"Snake"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/logo-packs/core/Solo/ESPN_Star_Wars_Qira-01.svg",restrictionType:0,seasonId:2025,entryURL:"https://fantasy.espn.com/football/team?leagueId=1027557112&teamId=1&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/seasons/2025/segments/0/leagues/1027557112?view=mScoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B1%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FFL",name:"Fantasy Football 2025",description:"Fantasy Football",logoURL:"https://g.espncdn.com/s/ffllm/14/images/shell/bgHead_leaguemanager.png",signupURL:"https://fantasy.espn.com/football/welcome",href:"https://www.espn.com/fantasy/football/",lineup:{proGameToNumPlayersStarting:{401772771:1,401772630:1,401772927:1,401772879:1,401772876:2,401772636:4}},currentLineup:{"-16009":16,3040151:6,3121023:20,3123052:17,3139477:20,3917792:7,4239993:20,4242335:2,4372016:4,4429615:4,4430807:2,4433970:0,4569987:23,4683062:20},restrictionTypeName:"NONE"},inSeason:!0,isLive:!1,currentScoringPeriodId:10},contentSourceId:10,sortGlobal:10,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"1:40059468:1:2025",createDate:1742915689938,lastUpdateDate:1756774193047,metaData:{entry:{entryId:1,entryMetadata:{teamName:"Lamb-da Functions",teamAbbrev:"LAMB",leagueFormatTypeId:3,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:1,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:1,groups:[{groupId:40059468,groupSize:8,groupName:"The Bean Queens",groupManager:!0,draftDate:17567712e5,draftType:1,draftStatus:2,leagueStatus:3,fantasyCastHref:"https://fantasy.espn.com/football/fantasycast?leagueId=40059468&teamId=1",href:"https://fantasy.espn.com/football/league?leagueId=40059468&seasonId=2025",draftTypeName:"Snake"}],logoType:"CUSTOM_UPLOAD",logoUrl:"https://mystique-api.fantasy.espn.com/apis/v1/domains/lm/images/bc9f0e30-8796-11f0-b6e4-9dd13c0fbbe2",restrictionType:0,seasonId:2025,entryURL:"https://fantasy.espn.com/football/team?leagueId=40059468&teamId=1&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/seasons/2025/segments/0/leagues/40059468?view=mScoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B1%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FFL",name:"Fantasy Football 2025",description:"Fantasy Football",logoURL:"https://g.espncdn.com/s/ffllm/14/images/shell/bgHead_leaguemanager.png",signupURL:"https://fantasy.espn.com/football/welcome",href:"https://www.espn.com/fantasy/football/",lineup:{proGameToNumPlayersStarting:{401772771:2,401772772:1,401772773:1,401772927:3,401772876:1,401772636:1}},currentLineup:{"-16001":16,15818:4,3052587:0,3054850:20,3116365:20,3917792:20,4241389:20,4361307:6,4362081:17,4379399:2,4429025:23,4429160:2,4429615:4},restrictionTypeName:"NONE"},inSeason:!0,isLive:!1,currentScoringPeriodId:10},contentSourceId:10,sortGlobal:11,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"2:2124806394:1:2025",createDate:1742912327647,lastUpdateDate:1757029916228,metaData:{entry:{entryId:2,entryMetadata:{teamName:"Team Baron",teamAbbrev:"BARO",leagueFormatTypeId:3,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:1,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:1,groups:[{groupId:2124806394,groupSize:16,groupName:"Live Scoring",groupManager:!1,draftDate:1,draftType:2,draftStatus:2,leagueStatus:3,fantasyCastHref:"https://fantasy.espn.com/football/fantasycast?leagueId=2124806394&teamId=2",href:"https://fantasy.espn.com/football/league?leagueId=2124806394&seasonId=2025",draftTypeName:"Autopick"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/ffl/images/default_logos/19.svg",restrictionType:0,seasonId:2025,entryURL:"https://fantasy.espn.com/football/team?leagueId=2124806394&teamId=2&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/seasons/2025/segments/0/leagues/2124806394?view=mScoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B2%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FFL",name:"Fantasy Football 2025",description:"Fantasy Football",logoURL:"https://g.espncdn.com/s/ffllm/14/images/shell/bgHead_leaguemanager.png",signupURL:"https://fantasy.espn.com/football/welcome",href:"https://www.espn.com/fantasy/football/",lineup:{proGameToNumPlayersStarting:{401772770:1,401772771:3,401772944:1,401772630:1,401772772:1,401772773:2,401772875:2,401772878:1,401772879:2,401772927:11,401772876:1}},currentLineup:{"-16012":16,"-16003":16,"-14012":19,"-14002":19,15818:4,2473037:17,2971573:17,3045138:23,3059915:2,3126368:18,3139477:0,3915411:2,3918298:20,4012556:2,4034779:23,4037457:2,4038941:0,4240472:6,4241985:2,4242369:23,4242557:23,4242558:6,4360797:23,4361432:23,4361496:18,4362087:21,4362477:4,4362921:4,4372414:23,4421446:2,4428331:4,4429025:4,4430723:6,4430968:2,4431611:20,4595342:6,4596602:2,4597703:23,4612826:4,4686612:4,4689988:4},restrictionTypeName:"NONE"},inSeason:!0,isLive:!1,currentScoringPeriodId:10},contentSourceId:10,sortGlobal:12,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"1:1678259:1:2025",createDate:1742913134199,lastUpdateDate:1755702318851,metaData:{entry:{entryId:1,entryMetadata:{teamName:"Megan's Test Acct",teamAbbrev:"MEGA",leagueFormatTypeId:0,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:1,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:1,groups:[{groupId:1678259,groupSize:4,groupName:"BYE WEEK TEST!",groupManager:!0,draftDate:null,draftType:0,draftStatus:2,leagueStatus:3,fantasyCastHref:"https://fantasy.espn.com/football/fantasycast?leagueId=1678259&teamId=1",href:"https://fantasy.espn.com/football/league?leagueId=1678259&seasonId=2025",draftTypeName:"Offline Draft"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/logo-packs/core/DIS_Avengers_EndGame/DIS_Avengers_EndGame_A_2.svg",restrictionType:0,seasonId:2025,entryURL:"https://fantasy.espn.com/football/team?leagueId=1678259&teamId=1&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/seasons/2025/segments/0/leagues/1678259?view=mScoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B1%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FFL",name:"Fantasy Football 2025",description:"Fantasy Football",logoURL:"https://g.espncdn.com/s/ffllm/14/images/shell/bgHead_leaguemanager.png",signupURL:"https://fantasy.espn.com/football/welcome",href:"https://www.espn.com/fantasy/football/",lineup:{proGameToNumPlayersStarting:{401772769:1,401772630:2,401772927:2,401772876:1}},currentLineup:{2577417:0,3121023:6,4040715:20,4047646:4,4047650:4,4361579:2,4372019:2,4426354:4,4429615:4,4569987:2,4685016:2},restrictionTypeName:"NONE"},inSeason:!0,isLive:!1,currentScoringPeriodId:10},contentSourceId:10,sortGlobal:13,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"8:1130440938:2:2025",createDate:1737632028020,lastUpdateDate:1759462119590,metaData:{entry:{entryId:8,entryMetadata:{teamName:"Mother of Minigames",teamAbbrev:"MINI",leagueFormatTypeId:2,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:1,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:2,groups:[{groupId:1130440938,groupSize:8,groupName:"Interactive Platform Legends!",groupManager:!1,draftDate:1743012e6,draftType:1,draftStatus:2,leagueStatus:5,fantasyCastHref:"http://fantasy.espn.com/baseball/fantasycast?leagueId=1130440938&teamId=8",href:"http://fantasy.espn.com/baseball/league?leagueId=1130440938&seasonId=2025",draftTypeName:"Snake"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/logo-packs/core/Solo/ESPN_Star_Wars_Qira-01.svg",restrictionType:0,seasonId:2025,entryURL:"http://fantasy.espn.com/baseball/team?leagueId=1130440938&teamId=8&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/flb/seasons/2025/segments/0/leagues/1130440938?view=scoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B8%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FLB",name:"Fantasy Baseball 2025",description:"Fantasy Baseball",logoURL:"https://g.espncdn.com/s/frontpage09/images/flb09_index.png",signupURL:"http://fantasy.espn.com/baseball/welcome",href:"https://www.espn.com/fantasy/baseball/",currentLineup:{32157:13,32367:3,32685:13,32767:12,34945:5,34967:17,34995:5,36020:5,36071:13,36488:16,39895:0,40080:17,41179:2,41355:4,42433:13,42449:13,42796:17,4109109:1,4208281:16,4692526:13,5132011:16,5150939:13},restrictionTypeName:"NONE"},inSeason:!1,isLive:!1,currentScoringPeriodId:196},contentSourceId:10,sortGlobal:13,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"1:1335047630:2:2025",createDate:1742230557423,lastUpdateDate:1755632109653,metaData:{entry:{entryId:1,entryMetadata:{teamName:"UnDrafted",teamAbbrev:"MMT",leagueFormatTypeId:2,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!1,scoringTypeId:1,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:2,groups:[{groupId:1335047630,groupSize:10,groupName:"Undrafted; Not Set",groupManager:!0,draftDate:null,draftType:1,draftStatus:1,leagueStatus:1,fantasyCastHref:"http://fantasy.espn.com/baseball/fantasycast?leagueId=1335047630&teamId=1",href:"http://fantasy.espn.com/baseball/league?leagueId=1335047630&seasonId=2025",draftTypeName:"Snake"}],logoType:"CUSTOM_UPLOAD",logoUrl:"https://mystique-api.fantasy.espn.com/apis/v1/domains/lm/images/5c82c630-212b-11f0-bf52-473646e3de99",restrictionType:0,seasonId:2025,entryURL:"http://fantasy.espn.com/baseball/team?leagueId=1335047630&teamId=1&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/flb/seasons/2025/segments/0/leagues/1335047630?view=scoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B1%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FLB",name:"Fantasy Baseball 2025",description:"Fantasy Baseball",logoURL:"https://g.espncdn.com/s/frontpage09/images/flb09_index.png",signupURL:"http://fantasy.espn.com/baseball/welcome",href:"https://www.espn.com/fantasy/baseball/",restrictionTypeName:"NONE"},inSeason:!1,isLive:!1,currentScoringPeriodId:196},contentSourceId:10,sortGlobal:17,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"cd9ccb60-2a84-11f0-a3e0-ffe8c80e5341",createDate:1762778889707,metaData:{entry:{entryUuid:"cd9ccb60-2a84-11f0-a3e0-ffe8c80e5341",lastAvailableDate:176819394e4,challengeId:"263",logoURLs:{logoSecondary:"",logoPrimary:"https://chui-assets-cdn.espn.com/1ab5b81f-0114-4ef0-aced-a096cfa487b1.png",darkLogoURL:"https://chui-assets-cdn.espn.com/149a15a7-10e7-421a-ae38-d7ff4df3f8de.png",lightLogoURL:"https://chui-assets-cdn.espn.com/1ab5b81f-0114-4ef0-aced-a096cfa487b1.png"},gameUrl:"https://fantasy.espn.com/games/nfl-win-totals-2025",entryName:"Megan_Janssen2's Picks 1",challengeGroups:"",score:{eliminated:!1,overallScore:10,percentile:.73421348,rank:43043,record:{losses:2,wins:1}},scoreByGroup:"",scoringFormatId:1}},sortGlobal:1382,isImplicit:!1,isHidden:!1,typeId:14,affinity:0,type:{id:14,name:"Challenge Entry",code:"challengeEntry",isDeletable:!0,isDelegated:!0,maxAllowed:200}},{id:"10:978432872:1:2025",createDate:1750808942792,lastUpdateDate:1753110440776,metaData:{entry:{entryId:10,entryMetadata:{teamName:"Megan's Magnificent Team",teamAbbrev:"MMT",leagueFormatTypeId:7,leagueSubTypeId:3,customizable:!1,active:!0,draftComplete:!0,scoringTypeId:1,leagueTypeId:1,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"DRAFT_LOBBY"},firstScoringPeriodId:1,gameId:1,groups:[{groupId:978432872,groupSize:10,groupName:"San Francisco Gridiron Gauntlet League",groupManager:!1,draftDate:175080918e4,draftType:1,draftStatus:2,leagueStatus:3,fantasyCastHref:"https://fantasy.espn.com/football/fantasycast?leagueId=978432872&teamId=10",href:"https://fantasy.espn.com/football/league?leagueId=978432872&seasonId=2025",draftTypeName:"Snake"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/ffl/images/default_logos/8.svg",restrictionType:5,seasonId:2025,entryURL:"https://fantasy.espn.com/football/team?leagueId=978432872&teamId=10&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/seasons/2025/segments/0/leagues/978432872?view=mScoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B10%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FFL",name:"Fantasy Football 2025",description:"Fantasy Football",logoURL:"https://g.espncdn.com/s/ffllm/14/images/shell/bgHead_leaguemanager.png",signupURL:"https://fantasy.espn.com/football/welcome",href:"https://www.espn.com/fantasy/football/",lineup:{proGameToNumPlayersStarting:{401772770:1,401772771:1,401772944:1,401772630:1,401772773:2,401772875:2}},currentLineup:{"-16022":16,3050478:17,3116385:2,3915416:4,3916148:20,4241389:4,4361307:6,4361370:20,4428209:20,4429160:2,4431299:20,4431611:0,4567750:20,4568490:23,4569173:20,4882093:20},restrictionTypeName:"GAUNTLET"},inSeason:!0,isLive:!1,currentScoringPeriodId:10},contentSourceId:10,sortGlobal:1398,isHidden:!0,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"9:2118520298:1:2025",createDate:1753457483090,lastUpdateDate:1753459839424,metaData:{entry:{entryId:9,entryMetadata:{teamName:"Megan's Monstrous Team",teamAbbrev:"MMT",leagueFormatTypeId:3,leagueSubTypeId:3,customizable:!1,active:!0,draftComplete:!0,scoringTypeId:1,leagueTypeId:1,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"DRAFT_LOBBY"},firstScoringPeriodId:1,gameId:1,groups:[{groupId:2118520298,groupSize:10,groupName:"Detroit Beginner H2H Points PPR League",groupManager:!1,draftDate:175345788e4,draftType:1,draftStatus:2,leagueStatus:3,fantasyCastHref:"https://fantasy.espn.com/football/fantasycast?leagueId=2118520298&teamId=9",href:"https://fantasy.espn.com/football/league?leagueId=2118520298&seasonId=2025",draftTypeName:"Snake"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/ffl/images/default_logos/4.svg",restrictionType:0,seasonId:2025,entryURL:"https://fantasy.espn.com/football/team?leagueId=2118520298&teamId=9&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/seasons/2025/segments/0/leagues/2118520298?view=mScoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B9%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FFL",name:"Fantasy Football 2025",description:"Fantasy Football",logoURL:"https://g.espncdn.com/s/ffllm/14/images/shell/bgHead_leaguemanager.png",signupURL:"https://fantasy.espn.com/football/welcome",href:"https://www.espn.com/fantasy/football/",lineup:{proGameToNumPlayersStarting:{401772771:1,401772769:1,401772772:1,401772773:1,401772875:1,401772927:1,401772879:2,401772876:1}},currentLineup:{"-16016":16,16800:4,2977187:23,3052587:0,3123076:6,3925357:20,4360516:20,4360569:20,4362081:17,4362249:20,4429013:20,4429160:2,4429615:20,4430737:2,4569618:20,4595348:4},restrictionTypeName:"NONE"},inSeason:!0,isLive:!1,currentScoringPeriodId:10},contentSourceId:10,sortGlobal:1402,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"1:1028491758:5:2025",createDate:1747420135832,lastUpdateDate:1757663182317,metaData:{entry:{entryId:1,entryMetadata:{teamName:"Megan Team 1",teamAbbrev:"MMT",leagueFormatTypeId:2,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:1,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:5,groups:[{groupId:1028491758,groupSize:4,groupName:"Multi Team Ownership",groupManager:!0,draftDate:1,draftType:1,draftStatus:2,leagueStatus:5,fantasyCastHref:"https://fantasy.espn.com/womens-basketball/fantasycast?leagueId=1028491758&teamId=1",href:"https://fantasy.espn.com/womens-basketball/league?leagueId=1028491758&seasonId=2025",draftTypeName:"Snake"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/logo-packs/core/StarWarsTheRiseOfSkywalker/rise-skywalker-r2d2.svg",restrictionType:0,seasonId:2025,entryURL:"https://fantasy.espn.com/womens-basketball/team?leagueId=1028491758&teamId=1&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/wfba/seasons/2025/segments/0/leagues/1028491758?view=scoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B1%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"WFBA",name:"Fantasy Womens Basketball 2025",description:"Fantasy Womens Basketball",logoURL:"https://g.espncdn.com/s/fbalm/15/images/shell/bgHead.png",signupURL:"https://fantasy.espn.com/womens-basketball/welcome",href:"https://www.espn.com/fantasy/womens-basketball/",currentLineup:{869:4,2529140:4,2529205:6,2998938:1,3058895:6,3058901:5,3146151:6,4432831:4,4433403:1},restrictionTypeName:"NONE"},inSeason:!1,isLive:!1,currentScoringPeriodId:120},contentSourceId:10,sortGlobal:1383,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"4:1028491758:5:2025",createDate:1747420173876,lastUpdateDate:1757663182341,metaData:{entry:{entryId:4,entryMetadata:{teamName:"Megan Team 4",teamAbbrev:"MMT",leagueFormatTypeId:2,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:1,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:5,groups:[{groupId:1028491758,groupSize:4,groupName:"Multi Team Ownership",groupManager:!0,draftDate:1,draftType:1,draftStatus:2,leagueStatus:5,fantasyCastHref:"https://fantasy.espn.com/womens-basketball/fantasycast?leagueId=1028491758&teamId=4",href:"https://fantasy.espn.com/womens-basketball/league?leagueId=1028491758&seasonId=2025",draftTypeName:"Snake"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/logo-packs/fba/Jerseys-ESPN/fba-jerseys-31.svg",restrictionType:0,seasonId:2025,entryURL:"https://fantasy.espn.com/womens-basketball/team?leagueId=1028491758&teamId=4&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/wfba/seasons/2025/segments/0/leagues/1028491758?view=scoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B4%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"WFBA",name:"Fantasy Womens Basketball 2025",description:"Fantasy Womens Basketball",logoURL:"https://g.espncdn.com/s/fbalm/15/images/shell/bgHead.png",signupURL:"https://fantasy.espn.com/womens-basketball/welcome",href:"https://www.espn.com/fantasy/womens-basketball/",currentLineup:{2529130:6,2998928:4,3065570:1,3913881:6,4066533:1,4398674:5,4420318:4,4433402:4,4433630:6},restrictionTypeName:"NONE"},inSeason:!1,isLive:!1,currentScoringPeriodId:120},contentSourceId:10,sortGlobal:1384,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"3:1028491758:5:2025",createDate:1747420178168,lastUpdateDate:1757663182333,metaData:{entry:{entryId:3,entryMetadata:{teamName:"Megan Team 3",teamAbbrev:"MMT",leagueFormatTypeId:2,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:1,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:5,groups:[{groupId:1028491758,groupSize:4,groupName:"Multi Team Ownership",groupManager:!0,draftDate:1,draftType:1,draftStatus:2,leagueStatus:5,fantasyCastHref:"https://fantasy.espn.com/womens-basketball/fantasycast?leagueId=1028491758&teamId=3",href:"https://fantasy.espn.com/womens-basketball/league?leagueId=1028491758&seasonId=2025",draftTypeName:"Snake"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/logo-packs/core/DIS_Avengers_EndGame/DIS_Avengers_EndGame_Rocket.svg",restrictionType:0,seasonId:2025,entryURL:"https://fantasy.espn.com/womens-basketball/team?leagueId=1028491758&teamId=3&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/wfba/seasons/2025/segments/0/leagues/1028491758?view=scoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B3%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"WFBA",name:"Fantasy Womens Basketball 2025",description:"Fantasy Womens Basketball",logoURL:"https://g.espncdn.com/s/fbalm/15/images/shell/bgHead.png",signupURL:"https://fantasy.espn.com/womens-basketball/welcome",href:"https://www.espn.com/fantasy/womens-basketball/",currentLineup:{1068:4,2529137:6,2987869:1,2987891:6,3904577:1,3913903:6,3917450:4,4281929:4,4433730:5},restrictionTypeName:"NONE"},inSeason:!1,isLive:!1,currentScoringPeriodId:120},contentSourceId:10,sortGlobal:1385,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"2:1028491758:5:2025",createDate:1747420181784,lastUpdateDate:1757663182325,metaData:{entry:{entryId:2,entryMetadata:{teamName:"Megan Team 2",teamAbbrev:"MMT",leagueFormatTypeId:2,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:1,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:5,groups:[{groupId:1028491758,groupSize:4,groupName:"Multi Team Ownership",groupManager:!0,draftDate:1,draftType:1,draftStatus:2,leagueStatus:5,fantasyCastHref:"https://fantasy.espn.com/womens-basketball/fantasycast?leagueId=1028491758&teamId=2",href:"https://fantasy.espn.com/womens-basketball/league?leagueId=1028491758&seasonId=2025",draftTypeName:"Snake"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/logo-packs/core/StarsAndFlames/stars_flames-4.svg",restrictionType:0,seasonId:2025,entryURL:"https://fantasy.espn.com/womens-basketball/team?leagueId=1028491758&teamId=2&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/wfba/seasons/2025/segments/0/leagues/1028491758?view=scoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B2%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"WFBA",name:"Fantasy Womens Basketball 2025",description:"Fantasy Womens Basketball",logoURL:"https://g.espncdn.com/s/fbalm/15/images/shell/bgHead.png",signupURL:"https://fantasy.espn.com/womens-basketball/welcome",href:"https://www.espn.com/fantasy/womens-basketball/",currentLineup:{2490553:6,2491205:1,2566106:4,2988756:6,2999101:4,3142191:5,3149391:4,3904576:6,4065870:1},restrictionTypeName:"NONE"},inSeason:!1,isLive:!1,currentScoringPeriodId:120},contentSourceId:10,sortGlobal:1386,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"c71ef020-3681-11f0-9846-8ffc028f9549",createDate:1762778889707,metaData:{entry:{entryUuid:"c71ef020-3681-11f0-9846-8ffc028f9549",lastAvailableDate:176819394e4,challengeId:"264",logoURLs:{logoSecondary:"",logoPrimary:"https://chui-assets-cdn.espn.com/4ae2d3e1-ce2d-4ff0-b3f2-57e966c3e9c8.png",darkLogoURL:"https://chui-assets-cdn.espn.com/4ae2d3e1-ce2d-4ff0-b3f2-57e966c3e9c8.png",lightLogoURL:"https://chui-assets-cdn.espn.com/4beecd18-7bb5-441b-913c-a1ac5f12b893.png"},gameUrl:"https://fantasy.espn.com/games/nfl-eliminator-challenge-2025",entryName:"Megan_Janssen2's Picks 3",challengeGroups:[{groupSettings:{name:"Disney Only"}},{groupSettings:{name:"FIRE Core Team"}}],score:{eliminated:!0,overallScore:3,percentile:.63478545,rank:399442,record:{losses:1,wins:3}},scoreByGroup:{"4ff5631f-66c8-42a5-8ad9-1c3fc2eadd53":{eliminated:!0,overallScore:3,percentile:.63478545,rank:2,record:{losses:1,wins:3}},"7d4a3167-0f7f-3aa5-a193-10f5a79f89e0":{eliminated:!0,overallScore:3,percentile:.63478545,rank:19,record:{losses:1,wins:3}}},scoringFormatId:4}},sortGlobal:1387,isImplicit:!1,isHidden:!1,typeId:14,affinity:0,type:{id:14,name:"Challenge Entry",code:"challengeEntry",isDeletable:!0,isDelegated:!0,maxAllowed:200}},{id:"c349a530-3681-11f0-bebc-3118dc9a49b7",createDate:1762778889707,metaData:{entry:{entryUuid:"c349a530-3681-11f0-bebc-3118dc9a49b7",lastAvailableDate:176819394e4,challengeId:"264",logoURLs:{logoSecondary:"",logoPrimary:"https://chui-assets-cdn.espn.com/4ae2d3e1-ce2d-4ff0-b3f2-57e966c3e9c8.png",darkLogoURL:"https://chui-assets-cdn.espn.com/4ae2d3e1-ce2d-4ff0-b3f2-57e966c3e9c8.png",lightLogoURL:"https://chui-assets-cdn.espn.com/4beecd18-7bb5-441b-913c-a1ac5f12b893.png"},gameUrl:"https://fantasy.espn.com/games/nfl-eliminator-challenge-2025",entryName:"Megan_Janssen2's Picks 2",challengeGroups:"",score:{eliminated:!0,overallScore:0,percentile:0,rank:897095,record:{losses:1,wins:0}},scoreByGroup:"",scoringFormatId:4}},sortGlobal:1387,isImplicit:!1,isHidden:!1,typeId:14,affinity:0,type:{id:14,name:"Challenge Entry",code:"challengeEntry",isDeletable:!0,isDelegated:!0,maxAllowed:200}},{id:"90930280-3681-11f0-b2f3-0fd5099dfb7c",createDate:1762778889707,metaData:{entry:{entryUuid:"90930280-3681-11f0-b2f3-0fd5099dfb7c",lastAvailableDate:176819394e4,challengeId:"265",logoURLs:{logoSecondary:"",logoPrimary:"https://chui-assets-cdn.espn.com/08166f17-1808-4634-b21a-66629878274c.png",darkLogoURL:"https://chui-assets-cdn.espn.com/08166f17-1808-4634-b21a-66629878274c.png",lightLogoURL:"https://chui-assets-cdn.espn.com/213d8b5f-6117-480c-b160-4a3993a3c88e.png"},gameUrl:"https://fantasy.espn.com/games/nfl-pigskin-pickem-2025",entryName:"MegaLed Confidence",challengeGroups:[{groupSettings:{name:"TMG - Season 6"}},{groupSettings:{name:"Disney Only (Confidence)"}},{groupSettings:{name:"Card Club - Pigskin"}}],score:{eliminated:!1,overallScore:783,percentile:.75568775,rank:27846,record:{losses:56,wins:90}},scoreByGroup:{"05b8d8ef-7176-3845-bade-4f8c2479afe7":{eliminated:!1,overallScore:748,percentile:.75568775,rank:12,record:{losses:48,wins:84}},"836c455b-5a75-3531-929f-fdcd7f714c9c":{eliminated:!1,overallScore:748,percentile:.75568775,rank:8,record:{losses:48,wins:84}},"54a6fab7-58b3-3495-91a4-3c11bb601a1c":{eliminated:!1,overallScore:783,percentile:.75568775,rank:78,record:{losses:56,wins:90}}},scoringFormatId:2}},sortGlobal:1387,isImplicit:!1,isHidden:!1,typeId:14,affinity:0,type:{id:14,name:"Challenge Entry",code:"challengeEntry",isDeletable:!0,isDelegated:!0,maxAllowed:200}},{id:"a33424f0-3681-11f0-b2f3-0fd5099dfb7c",createDate:1762778889707,metaData:{entry:{entryUuid:"a33424f0-3681-11f0-b2f3-0fd5099dfb7c",lastAvailableDate:176819394e4,challengeId:"265",logoURLs:{logoSecondary:"",logoPrimary:"https://chui-assets-cdn.espn.com/08166f17-1808-4634-b21a-66629878274c.png",darkLogoURL:"https://chui-assets-cdn.espn.com/08166f17-1808-4634-b21a-66629878274c.png",lightLogoURL:"https://chui-assets-cdn.espn.com/213d8b5f-6117-480c-b160-4a3993a3c88e.png"},gameUrl:"https://fantasy.espn.com/games/nfl-pigskin-pickem-2025",entryName:"MegaLed Spread",challengeGroups:[{groupSettings:{name:"Disney Only (Spread)"}}],score:{eliminated:!1,overallScore:670,percentile:.64634846,rank:81970,record:{losses:71,wins:67}},scoreByGroup:{"f33eee68-29ff-3c16-bd20-31b9952753dd":{eliminated:!1,overallScore:670,percentile:.64634846,rank:118,record:{losses:71,wins:67}}},scoringFormatId:3}},sortGlobal:1387,isImplicit:!1,isHidden:!1,typeId:14,affinity:0,type:{id:14,name:"Challenge Entry",code:"challengeEntry",isDeletable:!0,isDelegated:!0,maxAllowed:200}},{id:"bdae4040-3681-11f0-9b45-3fc452c57dcd",createDate:1762778889707,metaData:{entry:{entryUuid:"bdae4040-3681-11f0-9b45-3fc452c57dcd",lastAvailableDate:176819394e4,challengeId:"264",logoURLs:{logoSecondary:"",logoPrimary:"https://chui-assets-cdn.espn.com/4ae2d3e1-ce2d-4ff0-b3f2-57e966c3e9c8.png",darkLogoURL:"https://chui-assets-cdn.espn.com/4ae2d3e1-ce2d-4ff0-b3f2-57e966c3e9c8.png",lightLogoURL:"https://chui-assets-cdn.espn.com/4beecd18-7bb5-441b-913c-a1ac5f12b893.png"},gameUrl:"https://fantasy.espn.com/games/nfl-eliminator-challenge-2025",entryName:"Megan_Janssen2's Picks 1",challengeGroups:[{groupSettings:{name:"Locks Only Survivor Pool- SZN 4"}}],score:{eliminated:!0,overallScore:2,percentile:.50711336,rank:539079,record:{losses:1,wins:2}},scoreByGroup:{"a00db401-c3ce-4729-8c0c-38c6aabae4a7":{eliminated:!0,overallScore:2,percentile:.50711336,rank:15,record:{losses:1,wins:2}}},scoringFormatId:4}},sortGlobal:1387,isImplicit:!1,isHidden:!1,typeId:14,affinity:0,type:{id:14,name:"Challenge Entry",code:"challengeEntry",isDeletable:!0,isDelegated:!0,maxAllowed:200}},{id:"36343e50-365c-11f0-a8c2-3b962bf01277",createDate:1762778889707,metaData:{entry:{entryUuid:"36343e50-365c-11f0-a8c2-3b962bf01277",lastAvailableDate:176819394e4,challengeId:"265",logoURLs:{logoSecondary:"",logoPrimary:"https://chui-assets-cdn.espn.com/08166f17-1808-4634-b21a-66629878274c.png",darkLogoURL:"https://chui-assets-cdn.espn.com/08166f17-1808-4634-b21a-66629878274c.png",lightLogoURL:"https://chui-assets-cdn.espn.com/213d8b5f-6117-480c-b160-4a3993a3c88e.png"},gameUrl:"https://fantasy.espn.com/games/nfl-pigskin-pickem-2025",entryName:"MegaLed Straight Up",challengeGroups:[{groupSettings:{name:"Disney Only (Standard)"}},{groupSettings:{name:"DEE Product and Technology Group"}},{groupSettings:{name:"ESPN Fantasy Group"}},{groupSettings:{name:"Product & Tech Group"}}],score:{eliminated:!1,overallScore:810,percentile:.67573397,rank:452404,record:{losses:56,wins:81}},scoreByGroup:{"d0731075-2901-4564-8aa8-02dd38c9c26b":{eliminated:!1,overallScore:810,percentile:.67573397,rank:8,record:{losses:56,wins:81}},"7bf7b02f-b9b1-40b6-8270-9d4a3b0ff222":{eliminated:!1,overallScore:810,percentile:.67573397,rank:207,record:{losses:56,wins:81}},"dad5e750-a47f-4527-90cb-1aca05a2bbe3":{eliminated:!1,overallScore:810,percentile:.67573397,rank:3,record:{losses:56,wins:81}},"96f8471c-d4e7-3ca8-b86e-2b012f127f39":{eliminated:!1,overallScore:810,percentile:.67573397,rank:379,record:{losses:56,wins:81}}},scoringFormatId:1}},sortGlobal:1387,isImplicit:!1,isHidden:!1,typeId:14,affinity:0,type:{id:14,name:"Challenge Entry",code:"challengeEntry",isDeletable:!0,isDelegated:!0,maxAllowed:200}},{id:"7:735183173:3:2026",createDate:1749773645351,lastUpdateDate:1749828448313,metaData:{entry:{entryId:7,entryMetadata:{teamName:"Megan's Magnificent Team",teamAbbrev:"MMT",leagueFormatTypeId:2,leagueSubTypeId:3,customizable:!1,active:!0,draftComplete:!0,scoringTypeId:1,leagueTypeId:1,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"DRAFT_LOBBY"},firstScoringPeriodId:1,gameId:3,groups:[{groupId:735183173,groupSize:10,groupName:"Philadelphia Pro H2H Points League",groupManager:!1,draftDate:174982758e4,draftType:1,draftStatus:2,leagueStatus:3,fantasyCastHref:"https://fantasy.espn.com/basketball/fantasycast?leagueId=735183173&teamId=7",href:"https://fantasy.espn.com/basketball/league?leagueId=735183173&seasonId=2026",draftTypeName:"Snake"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/fba/images/default_logos/14.svg",restrictionType:0,seasonId:2026,entryURL:"https://fantasy.espn.com/basketball/team?leagueId=735183173&teamId=7&seasonId=2026",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/fba/seasons/2026/segments/0/leagues/735183173?view=scoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B7%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FBA",name:"Fantasy Basketball 2026",description:"Fantasy Basketball",logoURL:"https://g.espncdn.com/s/fbalm/15/images/shell/bgHead.png",signupURL:"https://fantasy.espn.com/basketball/welcome",href:"https://www.espn.com/fantasy/basketball/",lineup:{proGameToNumPlayersStarting:{401810053:2,401810058:1,401810057:1,401810061:1}},currentLineup:{3202:3,3448:12,4251:11,6583:4,3136195:11,3908845:6,3934719:12,4279888:0,4395630:1,4432816:5,4433247:12,4433255:11,4433287:2},restrictionTypeName:"NONE"},inSeason:!0,isLive:!1,currentScoringPeriodId:21},contentSourceId:10,sortGlobal:1390,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"2:424310183:3:2026",createDate:1749773698015,lastUpdateDate:1749829617368,metaData:{entry:{entryId:2,entryMetadata:{teamName:"Megan's Magnificent Team",teamAbbrev:"MMT",leagueFormatTypeId:2,leagueSubTypeId:3,customizable:!1,active:!0,draftComplete:!0,scoringTypeId:1,leagueTypeId:1,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"DRAFT_LOBBY"},firstScoringPeriodId:1,gameId:3,groups:[{groupId:424310183,groupSize:10,groupName:"Memphis Pro H2H Points League",groupManager:!1,draftDate:174982848e4,draftType:1,draftStatus:2,leagueStatus:3,fantasyCastHref:"https://fantasy.espn.com/basketball/fantasycast?leagueId=424310183&teamId=2",href:"https://fantasy.espn.com/basketball/league?leagueId=424310183&seasonId=2026",draftTypeName:"Snake"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/fba/images/default_logos/1.svg",restrictionType:0,seasonId:2026,entryURL:"https://fantasy.espn.com/basketball/team?leagueId=424310183&teamId=2&seasonId=2026",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/fba/seasons/2026/segments/0/leagues/424310183?view=scoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B2%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FBA",name:"Fantasy Basketball 2026",description:"Fantasy Basketball",logoURL:"https://g.espncdn.com/s/fbalm/15/images/shell/bgHead.png",signupURL:"https://fantasy.espn.com/basketball/welcome",href:"https://www.espn.com/fantasy/basketball/",lineup:{proGameToNumPlayersStarting:{401810055:1,401810054:1,401810053:1,401810059:2,401810058:2}},currentLineup:{3468:0,6580:12,6583:4,3032977:3,3062679:2,3134908:11,3907497:5,3907822:12,4066383:11,4277956:1,4433621:11,4566434:6,4594327:12},restrictionTypeName:"NONE"},inSeason:!0,isLive:!1,currentScoringPeriodId:21},contentSourceId:10,sortGlobal:1391,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"1:1315471242:2:2025",createDate:1753897316090,lastUpdateDate:1759136303110,metaData:{entry:{entryId:1,entryMetadata:{teamName:"Megan's Magnificent Team",teamAbbrev:"MMT",leagueFormatTypeId:2,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:1,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:2,groups:[{groupId:1315471242,groupSize:10,groupName:"Maestro H2H Points",groupManager:!0,draftDate:1,draftType:0,draftStatus:2,leagueStatus:5,fantasyCastHref:"http://fantasy.espn.com/baseball/fantasycast?leagueId=1315471242&teamId=1",href:"http://fantasy.espn.com/baseball/league?leagueId=1315471242&seasonId=2025",draftTypeName:"Offline Draft"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/flb/images/default_logos/8.svg",restrictionType:0,seasonId:2025,entryURL:"http://fantasy.espn.com/baseball/team?leagueId=1315471242&teamId=1&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/flb/seasons/2025/segments/0/leagues/1315471242?view=scoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B1%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FLB",name:"Fantasy Baseball 2025",description:"Fantasy Baseball",logoURL:"https://g.espncdn.com/s/frontpage09/images/flb09_index.png",signupURL:"http://fantasy.espn.com/baseball/welcome",href:"https://www.espn.com/fantasy/baseball/",currentLineup:{29155:13,30193:1,32129:4,32685:13,33148:13,33783:2,33837:13,33859:3,33950:13,35983:5,36581:13,39825:16,41405:13,42179:5,42598:0,4433874:16,4719337:5,4917694:12},restrictionTypeName:"NONE"},inSeason:!1,isLive:!1,currentScoringPeriodId:196},contentSourceId:10,sortGlobal:1403,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"1:1689844356:2:2025",createDate:1753897335814,lastUpdateDate:1759136303136,metaData:{entry:{entryId:1,entryMetadata:{teamName:"Megan's Magnificent Team",teamAbbrev:"MMT",leagueFormatTypeId:1,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:0,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"ROTO",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:2,groups:[{groupId:1689844356,groupSize:10,groupName:"Maestro Roto",groupManager:!0,draftDate:1,draftType:0,draftStatus:2,leagueStatus:5,fantasyCastHref:"http://fantasy.espn.com/baseball/fantasycast?leagueId=1689844356&teamId=1",href:"http://fantasy.espn.com/baseball/league?leagueId=1689844356&seasonId=2025",draftTypeName:"Offline Draft"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/flb/images/default_logos/8.svg",restrictionType:0,seasonId:2025,entryURL:"http://fantasy.espn.com/baseball/team?leagueId=1689844356&teamId=1&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/flb/seasons/2025/segments/0/leagues/1689844356?view=scoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B1%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FLB",name:"Fantasy Baseball 2025",description:"Fantasy Baseball",logoURL:"https://g.espncdn.com/s/frontpage09/images/flb09_index.png",signupURL:"http://fantasy.espn.com/baseball/welcome",href:"https://www.espn.com/fantasy/baseball/",currentLineup:{30193:1,32129:4,32685:13,32796:13,33192:5,33837:13,33859:3,35002:12,36581:13,38309:0,39825:13,39832:16,40939:13,41610:5,41773:2,42403:16,42404:5,4109109:16,4719507:13},restrictionTypeName:"NONE"},inSeason:!1,isLive:!1,currentScoringPeriodId:196},contentSourceId:10,sortGlobal:1404,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"1:531018984:2:2025",createDate:1753897355273,lastUpdateDate:1759136303102,metaData:{entry:{entryId:1,entryMetadata:{teamName:"Megan's Magnificent Team",teamAbbrev:"MMT",leagueFormatTypeId:3,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:2,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_CATEGORY",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:2,groups:[{groupId:531018984,groupSize:10,groupName:"Maestro H2H Each Category",groupManager:!0,draftDate:1,draftType:0,draftStatus:2,leagueStatus:5,fantasyCastHref:"http://fantasy.espn.com/baseball/fantasycast?leagueId=531018984&teamId=1",href:"http://fantasy.espn.com/baseball/league?leagueId=531018984&seasonId=2025",draftTypeName:"Offline Draft"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/flb/images/default_logos/8.svg",restrictionType:0,seasonId:2025,entryURL:"http://fantasy.espn.com/baseball/team?leagueId=531018984&teamId=1&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/flb/seasons/2025/segments/0/leagues/531018984?view=scoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B1%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FLB",name:"Fantasy Baseball 2025",description:"Fantasy Baseball",logoURL:"https://g.espncdn.com/s/frontpage09/images/flb09_index.png",signupURL:"http://fantasy.espn.com/baseball/welcome",href:"https://www.espn.com/fantasy/baseball/",currentLineup:{30193:1,30951:16,31127:16,32129:4,32685:13,32796:13,33837:13,33859:3,35394:13,35983:5,36581:13,36969:5,39825:13,39895:16,41610:5,41773:2,4717803:13,4917694:12},restrictionTypeName:"NONE"},inSeason:!1,isLive:!1,currentScoringPeriodId:196},contentSourceId:10,sortGlobal:1405,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"1:1229401832:2:2025",createDate:1753897386460,lastUpdateDate:1759136303122,metaData:{entry:{entryId:1,entryMetadata:{teamName:"Megan's Magnificent Team",teamAbbrev:"MMT",leagueFormatTypeId:4,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:3,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_MOST_CATEGORIES",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:2,groups:[{groupId:1229401832,groupSize:10,groupName:"Maestro H2H Most Categories",groupManager:!0,draftDate:null,draftType:0,draftStatus:2,leagueStatus:5,fantasyCastHref:"http://fantasy.espn.com/baseball/fantasycast?leagueId=1229401832&teamId=1",href:"http://fantasy.espn.com/baseball/league?leagueId=1229401832&seasonId=2025",draftTypeName:"Offline Draft"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/flb/images/default_logos/8.svg",restrictionType:0,seasonId:2025,entryURL:"http://fantasy.espn.com/baseball/team?leagueId=1229401832&teamId=1&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/flb/seasons/2025/segments/0/leagues/1229401832?view=scoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B1%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FLB",name:"Fantasy Baseball 2025",description:"Fantasy Baseball",logoURL:"https://g.espncdn.com/s/frontpage09/images/flb09_index.png",signupURL:"http://fantasy.espn.com/baseball/welcome",href:"https://www.espn.com/fantasy/baseball/",currentLineup:{30193:1,30951:16,31662:2,32129:4,32685:13,33837:13,33859:3,35983:5,36020:5,36581:13,39825:13,39832:13,39895:0,40939:13,4148749:16,4297835:16,4719337:5,4719507:13,4917694:12},restrictionTypeName:"NONE"},inSeason:!1,isLive:!1,currentScoringPeriodId:196},contentSourceId:10,sortGlobal:1406,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"1:420732386:2:2025",createDate:1753897407707,lastUpdateDate:1759136303134,metaData:{entry:{entryId:1,entryMetadata:{teamName:"Megan's Magnificent Team",teamAbbrev:"MMT",leagueFormatTypeId:5,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:4,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"TOTAL_SEASON_POINTS",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:2,groups:[{groupId:420732386,groupSize:10,groupName:"Maestro Season Points",groupManager:!0,draftDate:1,draftType:0,draftStatus:2,leagueStatus:5,fantasyCastHref:"http://fantasy.espn.com/baseball/fantasycast?leagueId=420732386&teamId=1",href:"http://fantasy.espn.com/baseball/league?leagueId=420732386&seasonId=2025",draftTypeName:"Offline Draft"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/flb/images/default_logos/8.svg",restrictionType:0,seasonId:2025,entryURL:"http://fantasy.espn.com/baseball/team?leagueId=420732386&teamId=1&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/flb/seasons/2025/segments/0/leagues/420732386?view=scoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B1%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FLB",name:"Fantasy Baseball 2025",description:"Fantasy Baseball",logoURL:"https://g.espncdn.com/s/frontpage09/images/flb09_index.png",signupURL:"http://fantasy.espn.com/baseball/welcome",href:"https://www.espn.com/fantasy/baseball/",currentLineup:{30193:1,31097:3,31267:13,32129:4,32512:2,32685:13,32796:13,33192:5,33837:13,36020:5,36581:13,38309:0,39825:13,39832:13,40939:16,42404:5,4719507:16,4917694:12},restrictionTypeName:"NONE"},inSeason:!1,isLive:!1,currentScoringPeriodId:196},contentSourceId:10,sortGlobal:1407,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"1:2046593148:2:2025",createDate:1755632123412,lastUpdateDate:1755831600704,metaData:{entry:{entryId:1,entryMetadata:{teamName:"Megan's Magnificent Team",teamAbbrev:"MMT",leagueFormatTypeId:2,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!1,scoringTypeId:1,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"H2H_POINTS",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:2,groups:[{groupId:2046593148,groupSize:4,groupName:"Undrafted; Scheduled",groupManager:!0,draftDate:null,draftType:4,draftStatus:1,leagueStatus:1,fantasyCastHref:"http://fantasy.espn.com/baseball/fantasycast?leagueId=2046593148&teamId=1",href:"http://fantasy.espn.com/baseball/league?leagueId=2046593148&seasonId=2025",draftTypeName:"Salary Cap"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/logo-packs/core/StadiumFoods-ESPN/stadium-foods_soft-pretzel.svg",restrictionType:0,seasonId:2025,entryURL:"http://fantasy.espn.com/baseball/team?leagueId=2046593148&teamId=1&seasonId=2025",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/flb/seasons/2025/segments/0/leagues/2046593148?view=scoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B1%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FLB",name:"Fantasy Baseball 2025",description:"Fantasy Baseball",logoURL:"https://g.espncdn.com/s/frontpage09/images/flb09_index.png",signupURL:"http://fantasy.espn.com/baseball/welcome",href:"https://www.espn.com/fantasy/baseball/",restrictionTypeName:"NONE"},inSeason:!1,isLive:!1,currentScoringPeriodId:196},contentSourceId:10,sortGlobal:1410,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0},{id:"2:283659657:4:2026",createDate:1759161335134,lastUpdateDate:1759415709010,metaData:{entry:{entryId:2,entryMetadata:{teamName:"Megan's Magnificent Team",teamAbbrev:"MMT",leagueFormatTypeId:1,leagueSubTypeId:0,customizable:!0,active:!0,draftComplete:!0,scoringTypeId:0,leagueTypeId:0,draftInProgress:!1,scoringTypeName:"ROTO",leagueSubTypeName:"NONE"},firstScoringPeriodId:1,gameId:4,groups:[{groupId:283659657,groupSize:6,groupName:"Roto Test League",groupManager:!1,draftDate:1,draftType:2,draftStatus:2,leagueStatus:3,fantasyCastHref:"https://fantasy.espn.com/hockey/fantasycast?leagueId=283659657&teamId=2",href:"https://fantasy.espn.com/hockey/league?leagueId=283659657&seasonId=2026",draftTypeName:"Autopick"}],logoType:"VECTOR",logoUrl:"https://g.espncdn.com/lm-static/fhl/images/default_logos/6.svg",restrictionType:0,seasonId:2026,entryURL:"https://fantasy.espn.com/hockey/team?leagueId=283659657&teamId=2&seasonId=2026",scoreboardFeedURL:"https://lm-api-reads.fantasy.espn.com/apis/v3/games/fhl/seasons/2026/segments/0/leagues/283659657?view=scoreboard&filter=%7B%22schedule%22%3A%7B%22filterTeamIds%22%3A%7B%22value%22%3A%5B2%5D%7D%2C%22filterCurrentMatchupPeriod%22%3A%7B%22value%22%3Atrue%7D%7D%7D&peek=true",abbrev:"FHL",name:"Fantasy Hockey 2026",description:"Fantasy Hockey",logoURL:"https://g.espncdn.com/s/fhllm/14/images/shell/bgHead_leaguemanager.png",signupURL:"https://fantasy.espn.com/hockey/welcome",href:"https://www.espn.com/fantasy/hockey/",lineup:{proGameToNumPlayersStarting:{401802606:1,401802605:1,401802604:2}},currentLineup:{3101:3,5037:3,5349:3,2590852:3,2967072:7,3020225:5,3069341:4,3527554:7,3899937:3,3899972:4,3904177:7,3988803:4,4196914:5,4233594:3,4233875:3,4697386:4,4697397:3,4697449:4,4874740:7,5080145:7,5149170:6,5206628:3},restrictionTypeName:"NONE"},inSeason:!0,isLive:!1,currentScoringPeriodId:35},contentSourceId:10,sortGlobal:1411,isHidden:!1,typeId:9,type:{id:9,name:"Fantasy League Manager",code:"fantasy",isDeletable:!1,isDelegated:!1,maxAllowed:500},bu:0}],fantasyData:{totalFantasyLeagues:23,leaguesBySportLeague:{NFL:8,MLB:8,NBA:2,NHL:1,WNBA:4},totalChallengeEntries:7,challengeInformation:[{id:263,gameType:"PICKEM",challengeName:"Pigskin Win Totals",challengeAbbrev:"Pigskin Win Totals",scoringFormatIds:[1],state:"LIVE",logoUrls:{logo:"https://chui-assets-cdn.espn.com/149a15a7-10e7-421a-ae38-d7ff4df3f8de.png",logoDark:"https://chui-assets-cdn.espn.com/1ab5b81f-0114-4ef0-aced-a096cfa487b1.png",logo1x1:"https://chui-assets-cdn.espn.com/10dfa661-6adc-41c2-b391-9ae64baf1b50.png",logo1x1Dark:"https://chui-assets-cdn.espn.com/10dfa661-6adc-41c2-b391-9ae64baf1b50.png"},mappings:[{type:"SPORT",value:"football"},{type:"LEAGUE",value:"nfl"}],userEntryCount:1},{id:264,gameType:"CONTESTANT_POOL",challengeName:"Eliminator Challenge 2025",challengeAbbrev:"Eliminator Challenge",scoringFormatIds:[4],state:"LIVE",logoUrls:{logo:"https://chui-assets-cdn.espn.com/4ae2d3e1-ce2d-4ff0-b3f2-57e966c3e9c8.png",logoDark:"https://chui-assets-cdn.espn.com/4beecd18-7bb5-441b-913c-a1ac5f12b893.png",logo1x1:"https://chui-assets-cdn.espn.com/28fdbb06-fff0-45f4-a1fe-d09c1393302a.png",logo1x1Dark:"https://chui-assets-cdn.espn.com/28fdbb06-fff0-45f4-a1fe-d09c1393302a.png"},mappings:[{type:"SPORT",value:"football"},{type:"LEAGUE",value:"nfl"}],userEntryCount:3},{id:265,gameType:"PICKEM",challengeName:"Pigskin Pick'em 2025",challengeAbbrev:"Pigskin Pick'em",scoringFormatIds:[1,3,2],state:"LIVE",logoUrls:{logo:"https://chui-assets-cdn.espn.com/08166f17-1808-4634-b21a-66629878274c.png",logoDark:"https://chui-assets-cdn.espn.com/213d8b5f-6117-480c-b160-4a3993a3c88e.png",logo1x1:"https://chui-assets-cdn.espn.com/e06aca34-f148-4f1e-87e0-4c1d7492cc42.png",logo1x1Dark:"https://chui-assets-cdn.espn.com/e06aca34-f148-4f1e-87e0-4c1d7492cc42.png"},mappings:[{type:"SPORT",value:"football"},{type:"LEAGUE",value:"nfl"}],userEntryCount:3},{id:266,gameType:"PICKEM",challengeName:"College Pick'em 2025",challengeAbbrev:"College Pick'em",scoringFormatIds:[1,3,2],state:"LIVE",logoUrls:{logo:"https://chui-assets-cdn.espn.com/056a9567-dae4-4185-b4d6-a723df87f988.png",logoDark:"https://chui-assets-cdn.espn.com/780faa3b-eda2-4b06-a276-b218c586901c.png",logo1x1:"https://chui-assets-cdn.espn.com/c7f88874-19f6-4352-a54b-60f7d94bed2f.png",logo1x1Dark:"https://chui-assets-cdn.espn.com/c7f88874-19f6-4352-a54b-60f7d94bed2f.png"},mappings:[{type:"SPORT",value:"football"},{type:"LEAGUE",value:"college-football"}],userEntryCount:0},{id:269,gameType:"BRACKET",challengeName:"CFP Bracket Challenge",challengeAbbrev:"CFP Bracket Challenge",scoringFormatIds:[5],state:"LANDER",logoUrls:{logo:"https://chui-assets-cdn.espn.com/2fb0bf85-e01c-40a9-88b1-3421d30fe3b2.png",logoDark:"https://chui-assets-cdn.espn.com/09fec69d-94e1-4c8f-9bb4-0610009999dd.png",logo1x1:"https://chui-assets-cdn.espn.com/40159d72-8861-450f-926a-a493947b47b1.png",logo1x1Dark:"https://chui-assets-cdn.espn.com/40159d72-8861-450f-926a-a493947b47b1.png"},mappings:[{type:"SPORT",value:"football"},{type:"LEAGUE",value:"college-football"}],userEntryCount:0},{id:270,gameType:"PICKEM",challengeName:"Capital One Bowl Mania 2025",challengeAbbrev:"Capital One Bowl Mania",scoringFormatIds:[1,3,2],state:"LANDER",logoUrls:{logo:"https://chui-assets-cdn.espn.com/3862fdaa-aad9-417b-a471-7041697a1c7d.png",logoDark:"https://chui-assets-cdn.espn.com/3862fdaa-aad9-417b-a471-7041697a1c7d.png",logo1x1:"https://chui-assets-cdn.espn.com/a7cd3fde-d093-4375-917a-f983291d2481.jpeg",logo1x1Dark:"https://chui-assets-cdn.espn.com/a7cd3fde-d093-4375-917a-f983291d2481.jpeg"},mappings:[{type:"SPORT",value:"football"},{type:"LEAGUE",value:"college-football"}],userEntryCount:0}],challengeScoreboardEnabled:!0,leagueScoreboardEnabled:{1:!0,2:!0,3:!0,4:!0,5:!0}}};function b(e,a,t){return(a=function(e){var a=function(e,a){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var s=t.call(e,a||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:a+""}(a))in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}class I{constructor(e,a,t,n={}){b(this,"fantasyItems",new s.a([])),b(this,"isDataLoading",new s.a(!1)),b(this,"hasEverSuccessfullyLoaded",new s.a(!1)),b(this,"isLoadingTc",new s.a(!1)),b(this,"eventId",void 0),b(this,"delegate",void 0),b(this,"analyticsService",void 0),b(this,"fantasyService",void 0),b(this,"fantasyPolling",void 0),b(this,"leagueManagerPolling",void 0),b(this,"tournamentPolling",void 0),b(this,"errorState",new s.a("none")),b(this,"leagueSortOrder",new Map),b(this,"itemToLeagueKey",new Map),b(this,"useMockData",!1),b(this,"_promoData",null),b(this,"_fantasyLeagues",[]),b(this,"_tournamentChallenges",[]),b(this,"_promoItem",null),b(this,"_tcProcessingCount",0),this.useMockData=n.useMockData||!1,this.eventId=e,this.delegate=a,this.analyticsService=t,this.fantasyService=new i,this.fantasyPolling=new g(this.fantasyService),this.leagueManagerPolling=new m(this.fantasyService),this.tournamentPolling=new y(this.fantasyService)}async init(){this.trackPanelView(),await this.fetchData()}async fetchData(){this.isDataLoading.value=!0;if(!await this.delegate.userIsAuthenticated())return this.isDataLoading.value=!1,void this.append({id:"not-logged-in",type:"notLoggedIn"});this.fantasyItems.value.find(e=>"notLoggedIn"===e.type)&&(this.fantasyItems.value=[]);const e=await this.delegate.getUserSWID()||"",a=await this.delegate.getUserToken()||"";this.useMockData?await this.fetchMockData():await this.fantasyPolling.refresh({eventId:this.eventId,swid:e,jwt:a},this.processFantasy.bind(this))}onEngage(e){this.analyticsService.panelClick({type:"espnFantasy",name:"fantasy_item_clicked",metadata:{card:e}})}onAskLogin(){this.fantasyItems.value=[],this.delegate.onPanelEvent({type:"fantasy:request:login",payload:{onLoginSuccess:async()=>{await this.fetchData()}}})}cleanup(){this.fantasyPolling.stop(),this.fantasyPolling.removeLastResponseHash(),this.leagueManagerPolling.stopAll(),this.tournamentPolling.stopAll(),this.leagueSortOrder.clear(),this.itemToLeagueKey.clear(),this._fantasyLeagues=[],this._tournamentChallenges=[],this._promoItem=null,this._tcProcessingCount=0,this.isLoadingTc.value=!1,this.fantasyItems.value=[],this.hasEverSuccessfullyLoaded.value=!1}async trackPanelView(){try{await this.analyticsService.panelView("espnFantasy")}catch(e){Object(n.a)(e,{context:"FantasyViewModel.trackPanelView"}),console.error("[FANTASY] Error tracking panel view:",e)}}async processFantasy(e){try{var a,t,s,r,l,i;const n=await this.delegate.getUserToken()||"";this.leagueManagerPolling.stopAll(),this.tournamentPolling.stopAll();const h=o.default.getPageConfig(),b=null==h||null===(a=h.panels)||void 0===a?void 0:a.find(e=>"espnFantasy"===e.panel_type),I=(null==b||null===(t=b.renderer)||void 0===t||null===(s=t.block_data)||void 0===s?void 0:s.hide_pickems)||!1,v=((null===(r=e.fantasyData)||void 0===r?void 0:r.challengeInformation)||[]).length>0,T=((null===(l=e.fantasyData)||void 0===l?void 0:l.totalChallengeEntries)||0)+((null===(i=e.fantasyData)||void 0===i?void 0:i.totalFantasyLeagues)||0)===0;var p,c;if(this.leagueSortOrder.clear(),this.itemToLeagueKey.clear(),this._fantasyLeagues=[],this._tournamentChallenges=[],!I&&v)this.isLoadingTc.value=!0,null===(p=e.fantasyData)||void 0===p||null===(c=p.challengeInformation)||void 0===c||c.forEach(e=>{if("BRACKET"===e.gameType){this._tcProcessingCount++;const a=`tc-${e.id}-${n}`;this.tournamentPolling.refresh(a,{challengeId:String(e.id),competitionId:this.eventId,token:n},e=>{this.parseTournamentChallenge(e),this._tcProcessingCount--,0===this._tcProcessingCount&&(this.isLoadingTc.value=!1,this.rebuildFantasyItems())})}}),0===this._tcProcessingCount&&(this.isLoadingTc.value=!1);else this.isLoadingTc.value=!1;if(T||0===(e.preferences||[]).length){const e=await this.getPromoData();e&&(this._promoItem={id:"promo",type:"promo",background:e.fantasy.promotion.background,description:e.fantasy.promotion.description,logo:e.fantasy.promotion.logo,qrCode:e.fantasy.promotion.qrCode,title:e.fantasy.promotion.title})}for(let a=0;a<(e.preferences||[]).length;a++){var g,u,m,f,y;const t=e.preferences[a],s=(null===(g=t.metaData)||void 0===g?void 0:g.entry)||{},o=s.abbrev,r=s.seasonId,l=null===(u=s.groups)||void 0===u||null===(m=u[0])||void 0===m?void 0:m.groupId,i=null===(f=s.groups)||void 0===f||null===(y=f[0])||void 0===y?void 0:y.draftDate;if(!(o&&r&&l&&s.entryId))continue;const p=`${o}-${l}-${r}-${n}`;this.leagueSortOrder.set(p,a),this.leagueManagerPolling.refresh(p,{game:o,leagueId:l,seasonId:r,token:n,proGameId:this.eventId,teamId:s.entryId},e=>{var a,n,o;if(!1===(null===(a=s.entryMetadata)||void 0===a?void 0:a.draftComplete))this.append(this.parseInactiveLeague(e,i),p);else if(void 0!==(null===(n=e.matchups)||void 0===n||null===(o=n[0])||void 0===o?void 0:o.home)){const a=this.parseHeadToHead(e,t);if(a)for(const e of a)this.append(e,p)}else if(d(e)){const a=this.parseRoto(e,t);if(a)for(const e of a)this.append(e,p)}})}this.hasEverSuccessfullyLoaded.value=!0,this.errorState.value="none",this.isDataLoading.value=!1,this.rebuildFantasyItems()}catch(e){Object(n.a)(e,{context:"FantasyViewModel.processFantasy"}),console.error("[FANTASY] Error processing fantasy data:",e),this.isDataLoading.value=!1,this.hasEverSuccessfullyLoaded.value||(this.errorState.value="tabLoadFailure")}}parseRoto(e,a){var t;if(!(null!==(t=e.matchups)&&void 0!==t&&t.length&&e.leagueName&&e.scoringType&&e.gameId))return null;const s=[];for(const t of e.matchups){var n;if(null===(n=t.teams)||void 0===n||!n.length)continue;const r=t.teams[0];if(!r.logo||!e.sportLogo||!e.sportColor||void 0===r.points)continue;const l=r.roster||[],i=[],d=[];for(const e of l){var o;e.player&&(e.player.abbrevName&&e.player.headshot&&null!==(o=e.player.proTeam)&&void 0!==o&&o.triCode&&e.slot&&(i.push({athleteHeadshot:e.player.headshot,athleteAbbrevName:e.player.abbrevName,athletesSlot:e.slot,teamTriCode:e.player.proTeam.triCode,proGameStatusLines:e.player.proGameStatusLines||[]}),e.player.currentlyWatching&&void 0!==e.player.points&&d.push({abbrevName:e.player.abbrevName,points:e.player.points+" FPTS"})))}s.push({id:Object(p.b)(JSON.stringify(a)).toString(),type:"matchup-single",topPlayers:this.parseTopPlayers(e.topPlayers||[]),league:{color:e.sportColor,logo:e.sportLogo,subtitle:e.name,title:e.leagueName},team:{logo:r.logo,scoringType:e.scoringType.includes("SEASON")?"SEASON":e.scoringType,points:r.points},roster:i,activeAthletes:d})}return s}append(e,a){if(!e)return;if("notLoggedIn"===e.type)return void(this.fantasyItems.value=[e]);if("promo"===e.type&&(this._promoItem=e),a&&this.itemToLeagueKey.set(e.id,a),"matchup-pair"===e.type||"matchup-single"===e.type||"inactiveLeague"===e.type){const a=this._fantasyLeagues.findIndex(a=>a.id===e.id);-1!==a?this._fantasyLeagues[a]=e:this._fantasyLeagues.push(e),this._fantasyLeagues.sort((e,a)=>{var t,s;const n=this.itemToLeagueKey.get(e.id),o=this.itemToLeagueKey.get(a.id);return(void 0!==n&&null!==(t=this.leagueSortOrder.get(n))&&void 0!==t?t:Number.MAX_SAFE_INTEGER)-(void 0!==o&&null!==(s=this.leagueSortOrder.get(o))&&void 0!==s?s:Number.MAX_SAFE_INTEGER)})}const t=this._tournamentChallenges.findIndex(e=>e.id===a);if("fantasy-header"===e.type)-1!==t?this._tournamentChallenges[t].header=e:a&&this._tournamentChallenges.push({type:"fantasy-group",id:a,header:e,items:[]});else if("tournament-bracket-card"===e.type||"tournament-overflow-qr"===e.type)if(-1!==t){const a=this._tournamentChallenges[t],s=a.items.findIndex(a=>a.id===e.id);-1!==s?a.items[s]=e:a.items.push(e)}else a&&this._tournamentChallenges.push({type:"fantasy-group",id:a,header:{type:"fantasy-header",id:a+"-header",title:""},items:[e]});this.rebuildFantasyItems()}rebuildFantasyItems(){const e=[];this._tournamentChallenges.length>0&&e.push(...this._tournamentChallenges),this._fantasyLeagues.length>0&&e.push({type:"fantasy-group",id:"header-fantasy-leagues-group",header:{type:"fantasy-header",id:"header-fantasy-leagues",title:"Fantasy Leagues"},items:this._fantasyLeagues}),this._promoItem&&0===this._tournamentChallenges.length&&0===this._fantasyLeagues.length&&0===e.length&&!this.isLoadingTc.value&&e.push(this._promoItem),this.fantasyItems.value=e}parseHeadToHead(e,a){var t;if(!(null!==(t=e.matchups)&&void 0!==t&&t.length&&e.leagueName&&e.sportColor&&e.sportLogo&&e.gameId))return null;const s=[];for(const t of e.matchups){if(!t.home||!t.away)continue;const d=[],c=[],g=t.home.roster||[],u=t.away.roster||[];for(let e=0;e<u.length;e++){var n,o,r,l,i;const a=u[e],s=g[e];a.player&&s.player&&(a.player.abbrevName&&a.player.headshot&&a.slot&&null!==(n=a.player.proTeam)&&void 0!==n&&n.triCode&&null!==(o=t.away)&&void 0!==o&&o.record&&s.player.abbrevName&&s.player.headshot&&s.slot&&null!==(r=s.player.proTeam)&&void 0!==r&&r.triCode&&null!==(l=t.home)&&void 0!==l&&l.record&&(d.push({away:{abbrevName:a.player.abbrevName,headshot:a.player.headshot,points:a.player.points,slot:a.slot,stats:a.player.proGameStatusLines||[],triCode:a.player.proTeam.triCode,projectedPoints:a.player.projectedPoints},home:{abbrevName:s.player.abbrevName,headshot:s.player.headshot,points:s.player.points,slot:s.slot,stats:s.player.proGameStatusLines||[],triCode:null===(i=s.player.proTeam)||void 0===i?void 0:i.triCode,projectedPoints:s.player.projectedPoints}}),s.player.currentlyWatching&&void 0!==s.player.points&&c.push({abbrevName:s.player.abbrevName,points:s.player.points+" FPTS"})))}s.push({id:Object(p.b)(JSON.stringify(a)).toString(),type:"matchup-pair",awayTeam:{logo:t.away.logo,name:t.away.name,points:"H2H_POINTS"===e.scoringType?String(t.away.points):t.away.score,projectedPoints:t.away.projectedPoints,record:t.away.record,winProbability:t.away.winProbability},homeTeam:{logo:t.home.logo,name:t.home.name,points:"H2H_POINTS"===e.scoringType?String(t.home.points):t.home.score,projectedPoints:t.home.projectedPoints,record:t.home.record,winProbability:t.home.winProbability},league:{color:e.sportColor,logo:e.sportLogo,subtitle:t.name,title:e.leagueName},roster:d,activeAthletes:c,topPlayers:this.parseTopPlayers(e.topPlayers||[])})}return s}parseTopPlayers(e){const a=[];for(const o of e){var t,s,n;if(!o.abbrevName||!o.headshot||null===(t=o.proTeam)||void 0===t||!t.triCode||void 0===o.points)continue;let e="";void 0!==o.percentRostered&&o.percentRostered>0&&null!==(s=o.playerStatus)&&void 0!==s&&s.startsWith("Rostered")&&(e=o.playerStatus),a.push({abbrevName:o.abbrevName,headshot:o.headshot,position:(null===(n=o.positions)||void 0===n?void 0:n.split(",")[0])||"",teamTriCode:o.proTeam.triCode,points:o.points,rosteredBy:e})}return a}parseInactiveLeague(e,a){if(!e.sportColor||!e.sportLogo||!e.leagueName)return null;let t=void 0;if(a){const e=new Date(Number(a));isNaN(e.getTime())||(t=e.getTime())}return{id:Object(p.a)(`${e.gameId}-inactive-${e.leagueName}`),leagueColor:e.sportColor,leagueLogo:e.sportLogo,leagueName:e.leagueName,type:"inactiveLeague",draftDate:t}}async getPromoData(){if(this._promoData)return this._promoData;try{return this._promoData=await this.fantasyService.getPromo(),this._promoData}catch(e){return Object(n.a)(e,{context:"FantasyViewModel.getPromoData"}),null}}async parseTournamentChallenge(e){var a;if(!e.id)return;let t=(null===(a=e.entries)||void 0===a?void 0:a.filter(e=>e.id))||[];if(0===t.length)return;const s={type:"fantasy-header",id:e.id+"-header",title:e.name||"Tournament Challenge"};this.append(s,e.id);const n=this._tournamentChallenges.findIndex(a=>a.id===e.id);-1!==n&&(this._tournamentChallenges[n].items=[]);const o=t.length,r=t.slice(0,5);for(const a of r){var l,i;let t;if(e.propositions&&a.picks)for(const s of a.picks){if(!s.propositionId||!s.outcomeId)continue;const a=e.propositions.find(e=>e.id===s.propositionId);if(a&&a.outcomes){const e=a.outcomes.find(e=>e.id===s.outcomeId);if(e&&e.name){t=e.name;break}}}const s={type:"tournament-bracket-card",id:a.id,name:a.name||"",rank:a.rank||0,score:a.score||0,percentile:Math.round(100*(a.percentile||0)),entryStatusIcon:a.entryStatusIcon||"",finalPick:a.finalPick?{propositionId:a.finalPick.propositionId,outcomeId:a.finalPick.outcomeId,primaryLogo:null===(l=a.finalPick.outcomePicked)||void 0===l?void 0:l.primaryLogo,secondaryLogo:null===(i=a.finalPick.outcomePicked)||void 0===i?void 0:i.secondaryLogo,result:a.finalPick.result}:{propositionId:"",outcomeId:""},isComplete:a.isComplete||!1,picks:a.picks,tournamentId:e.id,tournamentAbbrev:e.abbrev||"",tournamentLogo:e.logo||"",propositions:e.propositions,userPickName:t};this.append(s,e.id)}if(o>5&&"LIVE"===e.state){const a=await this.getPromoData(),t=!0===e.locked?"tc-live":"tc-pre",s=null==a?void 0:a[t];if(s){const a={type:"tournament-overflow-qr",id:e.id+"-overflow",background:s.promotion.background,logo:s.promotion.logo,qrCode:s.promotion.qrCode,title:s.promotion.title,description:s.promotion.description,tournamentId:e.id};this.append(a,e.id)}}}async fetchMockData(){this.hasEverSuccessfullyLoaded.value=!0,await this.processFantasy(h),this.errorState.value="none",this.isDataLoading.value=!1}clearTabLoadFailure(){this.errorState.value="none",setTimeout(()=>{this.fetchData()},100)}setDataToPanel(e){e.leagueManagerOverrideBaseUrl&&(this.fantasyService.leagueManagerOverrideBaseUrl=e.leagueManagerOverrideBaseUrl),e.fantasyOverrideBaseUrl&&(this.fantasyService.fantasyOverrideBaseUrl=e.fantasyOverrideBaseUrl),e.gambitOverrideBaseUrl&&(this.fantasyService.gambitOverrideBaseUrl=e.gambitOverrideBaseUrl)}}a.default=I}}]);
|
|
2
2
|
//# sourceMappingURL=13.maestro-web-sdk.esm.js.map
|