1import{s as e}from"./rolldown-runtime-CA0zl_Oh.js";import{t}from"./react-B8XWeURU.js";import"./react-dom-BTB_YkBQ.js";import{A as n,r}from"./chunk-JZWAC4HX-2dUZemYS.js";import{r as i}from"./emotion-react.browser.esm-eN7uebsU.js";import{a,f as o,g as s,h as c,r as l,v as u,y as d}from"./context-BFmUzbfO.js";import{$ as f,C as p,H as m,L as h,d as ee,o as te,p as g,s as _,v,y}from"./components-DJCtRbAc.js";import{l as b,n as x,v as S}from"./esm-CAUy48AY.js";import{t as C}from"./chunk-P74GIWPW-VEwQW8E6.js";import{t as w}from"./chunk-HUQHYERK-C7cYMSoD.js";import{t as T}from"./chunk-NO6MRLPK-CJRU_O1w.js";import{n as E}from"./chunk-SRMZVY4F-BXlBXEuc.js";import{A as D,F as O,L as k,P as A,x as j}from"./stateful_components-BL60m_kj.js";import{t as M}from"./chunk-B2MGPQRJ-Dg9donCm.js";import{n as N}from"./chunk-6FWJQRCB-Dj35XVHV.js";import{n as P,t as F}from"./chunk-CRIDK7KT-D2EDZ46r.js";import{t as I}from"./chunk-MPFPK3CX-BkXX4mlt.js";import{t as L}from"./chunk-GJO77I2I-CO4Xdr7S.js";import"./lib-Cv1gSJ25.js";var R=m(`arrow-right-left`,[[`path`,{d:`m16 3 4 4-4 4`,key:`1x1c3m`}],[`path`,{d:`M20 7H4`,key:`zbl0bi`}],[`path`,{d:`m8 21-4-4 4-4`,key:`h9nckh`}],[`path`,{d:`M4 17h16`,key:`g4d7ey`}]]),z=e(t(),1);function B(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),[t,n]=(0,z.useContext)(l),r=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state),s=(0,z.useCallback)(e=>t([o(`reflex___state____state.fantacalcio_frontend_web___appstate____app_state.fantacalcio_frontend_web___pages___league____league_state.changed_competition`,{value:e?.target?.value},{})],[e],{}),[t,o]);return i(L,{className:`leagueselect`,defaultValue:c(e.lh_selected_competition_rx_state_&&e.lh_selected_competition_rx_state_?.name)?(e=>e.toString())(e.lh_selected_competition_rx_state_?.id):`0`,isRequired:!0,onChange:s,size:`md`,sx:{background:`#FFFFFF`}},Array.prototype.map.call(r.current_league_rx_state_?.competitions??[],(e,t)=>i(`option`,{key:t,value:e?.id},e?.name)))}function V(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(x,{asChild:!0,className:`buttonlink`,css:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,textDecoration:`none !important`,textUnderlineOffset:`4px !important`,color:`unset !important`,overflow:`visible !important`,"&:hover":{color:`var(--accent-8)`}}},i(r,{to:`/league/`+e.current_league_rx_state_?.id+`/teams?team=`+e.myteam_rx_state_?.id},i(E,{className:`fmtertiary`,sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontSize:`14px`,textDecoration:`none !important`,minHeight:`32px`,maxHeight:`32px`}},`GESTISCI SQUADRA`)))}function H(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(S,{src:c(e.myteam_rx_state_?.shirt&&e.myteam_rx_state_?.shirt?.shirt_url)?e.myteam_rx_state_?.shirt?.shirt_url:`https://fmleghe.b-cdn.net/default_shirt.png`,sx:{height:`110px`,width:`auto`,left:`50%`,top:`0`,transform:`translate(-50%,0)`,position:`absolute`}})}function U(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(S,{src:c(e.myteam_rx_state_?.coach_pic&&e.myteam_rx_state_?.coach_pic?.valueOf?.()!==``?.valueOf?.())?e.myteam_rx_state_?.coach_pic:`https://static-players.fantamaster.it/player.png`,sx:{width:`48px`,height:`48px`,background:`#FFFFFF`,borderRadius:`24px`,border:`1px solid #EBEDF0`,position:`absolute`,bottom:`0`,left:`5px`}})}function W(){return i(S,{src:(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state).myteam_rx_state_?.team_logo,sx:{width:`48px`,height:`48px`,background:`#FFFFFF`,border:`1px solid #EBEDF0`,borderRadius:`24px`,position:`absolute`,bottom:`0`,right:`5px`}})}function G(){return i(z.Fragment,{},c((0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state).myteam_rx_state_?.team_logo)?i(z.Fragment,{},i(W,{})):i(z.Fragment,{},i(S,{src:`https://fmleghe.b-cdn.net/team_badge.svg`,sx:{width:`48px`,height:`48px`,position:`absolute`,bottom:`0`,right:`5px`}})))}function K(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,color:`#090C65`,fontSize:[`18px`,`
118px`,`18px`,`24px`,`24px`],lineHeight:[`18px`,`18px`,`18px`,`24px`,`24px`],flexGrow:`1`,flexShrink:`1`}},e.myteam_rx_state_?.team_name.toUpperCase())}function q(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,color:`#090C65`,fontSize:`24px`,lineHeight:`24px`}},e.myteam_rx_state_?.budget)}function J(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,color:`#090C65`,fontSize:`24px`,lineHeight:`24px`}},c(e.lh_status_rx_state_&&e.lh_status_rx_state_?.avg)?e.lh_status_rx_state_?.avg:`ND`)}function Y(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,color:`#090C65`,fontSize:`24px`,lineHeight:`24px`}},c(e.lh_status_rx_state_&&e.lh_status_rx_state_?.latest_score)?e.lh_status_rx_state_?.latest_score:`ND`)}function X(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,background:`#F4F4FD`,borderRadius:`8px`,fontSize:`24px`,lineHeight:`60px`,color:`#090C65`,textAlign:`center`,width:`80px`,height:`60px`}},Math.floor(e.lh_timer_rx_state_/86400),` g`)}function Z(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,background:`#F4F4FD`,borderRadius:`8px`,fontSize:`24px`,lineHeight:`60px`,color:`#090C65`,textAlign:`center`,width:`80px`,height:`60px`}},Math.floor(e.lh_timer_rx_state_%86400/3600),` o`)}function Q(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,background:`#F4F4FD`,borderRadius:`8px`,fontSize:`24px`,lineHeight:`60px`,color:`#090C65`,textAlign:`center`,width:`80px`,height:`60px`}},Math.floor(e.lh_timer_rx_state_%3600/60),` m`)}function ne(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(x,{asChild:!0,className:`buttonlink`,css:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,textDecoration:`none !important`,textUnderlineOffset:`4px !important`,color:`unset !important`,overflow:`visible !important`,"&:hover":{color:`var(--accent-8)`}}},i(r,{to:c(e.lh_status_rx_state_&&(e.lh_status_rx_state_?.last_day||JSON.stringify(e.lh_status_rx_state_?.last_day)?.valueOf?.()===`0`?.valueOf?.())&&e.lh_status_rx_state_?.last_day>=t.current_league_rx_state_?.start_day-1)?`/league/`+(e=>e.toString())(t.current_league_rx_state_?.id)+`/mylineup`:`#`},i(E,{className:`fmprimary`,isDisabled:!c(e.lh_status_rx_state_&&(e.lh_status_rx_state_?.last_day||JSON.stringify(e.lh_status_rx_state_?.last_day)?.valueOf?.()===`0`?.valueOf?.())&&e.lh_status_rx_state_?.last_day>=t.current_league_rx_state_?.start_day-1),sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontSize:`18px`,textDecoration:`none !important`,height:`44px`,minHeight:`44px`,width:`auto`}},`INSERISCI FORMAZIONE`)))}function re(){return i(z.Fragment,{},(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state).lh_timer_rx_state_>0?i(z.Fragment,{},i(d,{alignItems:`center`,justify:`start`,spacing:`0`,sx:{width:`100%`,height:`288px`,background:`#FFFFFF`,borderRadius:`12px`}},i(I,{align:`center`,direction:`row`,justify:`center`,sx:{width:`100%`,height:`56px`,paddingLeft:`12px`,paddingRight:`12px`,borderBottom:`1px solid #D9E1F2`}},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,color:`#090C65`,fontSize:`20px`,lineHeight:`20px`,textAlign:`left`,flexGrow:`1`,flexShrink:`1`}},`Prossima Giornata`)),i(w,{alignItems:`center`,justify:`center`,spacing:`12px`,sx:{height:`172px`,padding:`12px`}},i(X,{}),i(Z,{}),i(Q,{})),i(ne,{}))):i(z.Fragment,{}))}function ie(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(x,{asChild:!0,className:`buttonlink`,css:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,textDecoration:`none !important`,textUnderlineOffset:`4px !important`,color:`unset !important`,overflow:`visible !important`,"&:hover":{color:`var(--accent-8)`}}},i(r,{to:(()=>{switch(JSON.stringify(e.lh_transfers_window_rx_state_?.options?.market_mode.toUpperCase())){case JSON.stringify(`ASTA`):return`/league/`+t.current_league_rx_state_?.id+`/market/bid?mode=asta`;case JSON.stringify(`BUSTA CHIUSA`):return`/league/`+t.current_league_rx_state_?.id+`/market/bid?mode=busta`;case JSON.stringify(`LIBERO`):return`/league/`+t.current_league_rx_state_?.id+`/market/free`;case JSON.stringify(`SVINCOLI`):return`/league/`+t.current_league_rx_state_?.id+`/market/bid?mode=asta`;default:return`#`}})()},i(E,{className:`fmtertiary`,sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontSize:`14px`,textDecoration:`none !important`,minHeight:`32px`,maxHeight:`32px`}},`VAI AL MERCATO`)))}function ae(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},c(e.lh_transfers_window_rx_state_&&e.lh_transfers_window_rx_state_?.id)?i(z.Fragment,{},i(ie,{})):i(z.Fragment,{}))}function oe(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,fontSize:`24px`,color:`#090C65`,lineHeight:`24px`}},e.lh_transfers_window_rx_state_?.options?.market_mode.toUpperCase())}function se(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,fontSize:`16px`,color:`#00A3FF`,lineHeight:`16px`}},e.lh_transfers_window_rx_state_.end.split(` `)[0])}function ce(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,fontSize:`16px`,color:`#00A3FF`,lineHeight:`16px`}},e.lh_transfers_window_rx_state_.end.split(` `)[1])}function le(){return i(z.Fragment,{},c((0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state).lh_transfers_window_rx_state_?.end)?i(z.Fragment,{},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,fontSize:`14px`,color:`#99A3B5`,lineHeight:`14px`}},`il`),i(se,{}),i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,fontSize:`14px`,color:`#99A3B5`,lineHeight:`14px`}},`alle`),i(ce,{})):i(z.Fragment,{},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,fontSize:`14px`,color:`#99A3B5`,lineHeight:`14px`}},`a`),i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,fontSize:`16px`,color:`#00A3FF`,lineHeight:`16px`}},`FINE STAGIONE`)))}function ue(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(x,{asChild:!0,className:`buttonlink`,css:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,textDecoration:`none !important`,textUnderlineOffset:`4px !important`,color:`unset !important`,overflow:`visible !important`,flexGrow:`0`,flexShrink:`0`,"&:hover":{color:`var(--accent-8)`}}},i(r,{to:(()=>{switch(JSON.stringify(e.lh_transfers_window_rx_state_?.options?.market_mode.toUpperCase())){case JSON.stringify(`ASTA`):return`/league/`+t.current_league_rx_state_?.id+`/market/bid?mode=asta`;case JSON.stringify(`BUSTA CHIUSA`):return`/league/`+t.current_league_rx_state_?.id+`/market/bid?mode=busta`;case JSON.stringify(`LIBERO`):return`/league/`+t.current_league_rx_state_?.id+`/market/free`;case JSON.stringify(`SVINCOLI`):return`/league/`+t.current_league_rx_state_?.id+`/market/bid?mode=asta`;default:return`#`}})()},i(E,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontSize:`18px`,textDecoration:`underline`,height:`36px`,minHeight:`36px`,textUnderlineOffset:`4px`,color:`#00A3FF`},variant:`unstyled`},`VAI`)))}function de(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},c(e.lh_transfers_window_rx_state_&&e.lh_transfers_window_rx_state_?.id)?i(z.Fragment,{},i(I,{align:`center`,justify:`center`,sx:{width:`100%`,height:`auto`,padding:`12px`,gap:`12px`,background:`#00A3FF29`,borderRadius:`8px`,border:`1px solid #00A3FF`}},i(h,{css:{color:`#00A3FF`,width:`40px`,height:`40px`,padding:`8px`,borderRadius:`20px`,background:`#00A3FF29`,flexGrow:`0`,flexShrink:`0`}}),i(d,{alignItems:`start`,justify:`center`,spacing:`4px`,sx:{flexGrow:`1`,flexShrink:`1`}},i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,fontSize:`14px`,color:`#00A3FF`,lineHeight:`14px`}},`MERCATO APERTO`),i(oe,{}),i(w,{alignItems:`center`,justify:`start`,spacing:`4px`},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,fontSize:`14px`,color:`#99A3B5`,lineHeight:`14px`}},`Termina`),i(le,{}
1))),i(ue,{}))):i(z.Fragment,{},i(d,{justify:`center`,sx:{width:`100%`,height:`auto`,paddingLeft:`12px`,paddingRight:`12px`,paddingTop:`24px`,paddingBottom:`24px`,align:`center`,background:`#F4F4FD`,borderRadius:`12px`}},i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,textAlign:`center`,fontSize:`20px`,lineHeight:`20px`,color:`#99A3B5`}},`NESSUNA FINESTRA DI MERCATO ATTIVA`))))}function fe(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,fontSize:`16px`,color:`#00A3FF`,lineHeight:`16px`}},e.lh_exchanges_window_rx_state_.end.split(` `)[0])}function pe(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,fontSize:`16px`,color:`#00A3FF`,lineHeight:`16px`}},e.lh_exchanges_window_rx_state_.end.split(` `)[1])}function me(){return i(z.Fragment,{},c((0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state).lh_exchanges_window_rx_state_?.end)?i(z.Fragment,{},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,fontSize:`14px`,color:`#99A3B5`,lineHeight:`14px`}},`il`),i(fe,{}),i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,fontSize:`14px`,color:`#99A3B5`,lineHeight:`14px`}},`alle`),i(pe,{})):i(z.Fragment,{},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,fontSize:`14px`,color:`#99A3B5`,lineHeight:`14px`}},`a`),i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,fontSize:`16px`,color:`#00A3FF`,lineHeight:`16px`}},`FINE STAGIONE`)))}function he(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(x,{asChild:!0,className:`buttonlink`,css:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,textDecoration:`none !important`,textUnderlineOffset:`4px !important`,color:`unset !important`,overflow:`visible !important`,flexGrow:`0`,flexShrink:`0`,"&:hover":{color:`var(--accent-8)`}}},i(r,{to:`/league/`+e.current_league_rx_state_?.id+`/exchanges`},i(E,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontSize:`18px`,textDecoration:`underline`,height:`36px`,minHeight:`36px`,textUnderlineOffset:`4px`,color:`#00A3FF`},variant:`unstyled`},`VAI`)))}function ge(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},c(e.lh_exchanges_window_rx_state_&&e.lh_exchanges_window_rx_state_?.id)?i(z.Fragment,{},i(I,{align:`center`,justify:`center`,sx:{width:`100%`,height:`auto`,padding:`12px`,gap:`12px`,background:`#00A3FF29`,borderRadius:`8px`,border:`1px solid #00A3FF`}},i(R,{css:{color:`#00A3FF`,width:`40px`,height:`40px`,padding:`8px`,borderRadius:`20px`,background:`#00A3FF29`,flexGrow:`0`,flexShrink:`0`}}),i(d,{alignItems:`start`,justify:`center`,spacing:`4px`,sx:{flexGrow:`1`,flexShrink:`1`}},i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,fontSize:`14px`,color:`#00A3FF`,lineHeight:`14px`}},`SCAMBI APERTI`),i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,fontSize:`24px`,color:`#090C65`,lineHeight:`24px`}},`SCAMBI`),i(w,{alignItems:`center`,justify:`start`,spacing:`4px`},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,fontSize:`14px`,color:`#99A3B5`,lineHeight:`14px`}},`Termina`),i(me,{}))),i(he,{}))):i(z.Fragment,{},i(d,{justify:`center`,sx:{width:`100%`,height:`auto`,paddingLeft:`12px`,paddingRight:`12px`,paddingTop:`24px`,paddingBottom:`24px`,align:`center`,background:`#F4F4FD`,borderRadius:`12px`}},i(C,{sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontWeight:`500`,textAlign:`center`,fontSize:`20px`,lineHeight:`20px`,color:`#99A3B5`}},`NESSUNA FINESTRA SCAMBI ATTIVA`))))}function _e(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(x,{asChild:!0,className:`buttonlink`,css:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,textDecoration:`none !important`,textUnderlineOffset:`4px !important`,color:`unset !important`,overflow:`visible !important`,"&:hover":{color:`var(--accent-8)`}}},i(r,{to:`/league/`+e.current_league_rx_state_?.id+`/ranking`},i(E,{className:`fmtertiary`,sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontSize:`14px`,textDecoration:`none !important`,minHeight:`32px`,maxHeight:`32px`}},`VEDI CLASSIFICA`)))}function ve(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(d,{spacing:`12px`,sx:{width:`100%`,paddingLeft:`12px`,paddingRight:`12px`,paddingTop:`24px`}},Array.prototype.map.call(e.lh_ranking_rx_state_??[],(e,n)=>i(I,{align:`center`,justify:`start`,key:n,sx:{width:`100%`,height:`56px`,padding:`8px`,background:`#F4F4FD`,borderRadius:`8px`}},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,background:e?.id?.valueOf?.()===t.myteam_rx_state_?.id?.valueOf?.()?`#00ED9644`:`#FFFFFF`,borderRadius:`4px`,textAlign:`center`,color:`#090C65`,fontSize:`20px`,lineHeight:`40px`,width:`40px`,height:`40px`,flexBasis:`40px`,flexGrow:`0`,flexShrink:`0`,marginRight:`8px`}},(e=>e.toString())(e?.position)+`°`),i(u,{sx:{width:`65px`,height:`40px`,position:`relative`,flexGrow:`0`,flexShrink:`0`,marginRight:`8px`}},i(S,{src:c(t.teams_rx_state_?.[e?.id]&&t.teams_rx_state_?.[e?.id]?.coach_pic&&t.teams_rx_state_?.[e?.id]?.coach_pic?.valueOf?.()!==``?.valueOf?.())?t.team
1s_rx_state_?.[e?.id]?.coach_pic:`https://static-players.fantamaster.it/player.png`,sx:{border:`1px solid #FFFFFF`,borderRadius:`20px`,background:`#FFFFFF`,width:`40px`,height:`40px`,position:`absolute`,top:`0`,left:`0`}}),i(z.Fragment,{},c(t.teams_rx_state_?.[e?.id]&&t.teams_rx_state_?.[e?.id]?.team_logo)?i(z.Fragment,{},i(S,{src:t.teams_rx_state_?.[e?.id]?.team_logo,sx:{border:`1px solid #FFFFFF`,borderRadius:`20px`,background:`#FFFFFF`,width:`40px`,height:`40px`,position:`absolute`,top:`0`,right:`0`}})):i(z.Fragment,{},i(S,{src:`https://fmleghe.b-cdn.net/team_badge.svg`,sx:{width:`40px`,height:`40px`,position:`absolute`,top:`0`,right:`0`}})))),i(d,{alignItems:`center`,justify:`start`,spacing:`4px`,sx:{flexGrow:`1`,flexShrink:`1`,overflow:`hidden`}},i(C,{className:`onelinetext`,sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,color:`#000240`,fontSize:`16px`,lineHeight:`16px`}},c(t.teams_rx_state_?.[e?.id])?t.teams_rx_state_?.[e?.id]?.team_name.toUpperCase():``),i(C,{className:`onelinetext`,sx:{fontFamily:`Inter`,"--default-font-family":`Inter`,fontWeight:`400`,color:`#000240`,fontSize:`12px`,lineHeight:`12px`}},c(t.teams_rx_state_?.[e?.id])?t.teams_rx_state_?.[e?.id]?.coach:``)),i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,textAlign:`right`,color:`#090C65`,fontSize:`20px`,lineHeight:`40px`,height:`40px`,flexGrow:`0`,flexShrink:`0`,marginLeft:`8px`}},(e=>e.toString())(e?.points),i(C,{as:`span`,sx:{color:`#6C7688`,fontFamiy:`Akrobat-Bold`}},` PT`)))))}function ye(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(x,{asChild:!0,className:`buttonlink`,css:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,textDecoration:`none !important`,textUnderlineOffset:`4px !important`,color:`unset !important`,overflow:`visible !important`,"&:hover":{color:`var(--accent-8)`}}},i(r,{to:e.lh_next_rx_state_?.type?.valueOf?.()===`vs`?.valueOf?.()?`/league/`+(e=>e.toString())(t.current_league_rx_state_?.id)+`/lineupdetail?game=`+(e=>e.toString())(e.lh_next_rx_state_?.id):`/league/`+(e=>e.toString())(t.current_league_rx_state_?.id)+`/lineupdetail?lineup=`+(e=>e.toString())(e.lh_next_rx_state_?.id)},i(E,{className:`fmtertiary`,sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontSize:`14px`,textDecoration:`none !important`,minHeight:`32px`,maxHeight:`32px`}},`VEDI FORMAZIONI`)))}function be(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(S,{src:Number(e.lh_next_rx_state_?.is_home)?.valueOf?.()===1?.valueOf?.()?c(t.myteam_rx_state_?.shirt&&t.myteam_rx_state_?.shirt?.shirt_url)?t.myteam_rx_state_?.shirt?.shirt_url:`https://fmleghe.b-cdn.net/default_shirt.png`:c(t.teams_rx_state_?.[e.lh_next_rx_state_?.opponent_id]&&t.teams_rx_state_?.[e.lh_next_rx_state_?.opponent_id]?.shirt&&t.teams_rx_state_?.[e.lh_next_rx_state_?.opponent_id]?.shirt?.shirt_url)?t.teams_rx_state_?.[e.lh_next_rx_state_?.opponent_id]?.shirt?.shirt_url:`https://fmleghe.b-cdn.net/default_shirt.png`,sx:{position:`absolute`,width:`auto`,height:`52px`,top:`0`,left:`0`}})}function xe(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(S,{src:Number(e.lh_next_rx_state_?.is_home)?.valueOf?.()===1?.valueOf?.()?c(t.myteam_rx_state_?.coach_pic&&t.myteam_rx_state_?.coach_pic?.valueOf?.()!==``?.valueOf?.())?t.myteam_rx_state_?.coach_pic:`https://static-players.fantamaster.it/player.png`:c(t.teams_rx_state_?.[e.lh_next_rx_state_?.opponent_id]&&t.teams_rx_state_?.[e.lh_next_rx_state_?.opponent_id]?.coach_pic&&t.teams_rx_state_?.[e.lh_next_rx_state_?.opponent_id]?.coach_pic?.valueOf?.()!==``?.valueOf?.())?t.team
1s_rx_state_?.[e.lh_next_rx_state_?.opponent_id]?.coach_pic:`https://static-players.fantamaster.it/player.png`,sx:{background:`#FFFFFF`,borderRadius:`20px`,border:`1px solid #EBEDF0`,position:`absolute`,width:`40px`,height:`40px`,bottom:`0`,left:`25px`}})}function Se(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(S,{src:e.teams_rx_state_?.[t.lh_next_rx_state_?.opponent_id]?.team_logo,sx:{width:`40px`,height:`40px`,background:`#FFFFFF`,border:`1px solid #EBEDF0`,borderRadius:`20px`,position:`absolute`,bottom:`0`,left:`70px`}})}function Ce(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},c(e.teams_rx_state_?.[t.lh_next_rx_state_?.opponent_id]&&e.teams_rx_state_?.[t.lh_next_rx_state_?.opponent_id]?.team_logo)?i(z.Fragment,{},i(Se,{})):i(z.Fragment,{},i(S,{src:`https://fmleghe.b-cdn.net/team_badge.svg`,sx:{width:`40px`,height:`40px`,position:`absolute`,bottom:`0`,left:`70px`}})))}function we(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},Number(e.lh_next_rx_state_?.is_home)?.valueOf?.()===1?.valueOf?.()?i(A,{}):i(Ce,{}))}function Te(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,color:`#090C65`,fontSize:`20px`,lineHeight:`26px`,background:`#F4F4FD`,borderRadius:`8px`,width:`100%`,textAlign:`center`}},(e=>e.toString())(e.lh_next_rx_state_?.day)+`a`)}function Ee(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},(Number(e.lh_next_rx_state_?.type?.valueOf?.()===`vs`?.valueOf?.())?.valueOf?.(),1?.valueOf?.(),i(z.Fragment,{})))}function De(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(S,{src:Number(e.lh_next_rx_state_?.is_home)?.valueOf?.()===0?.valueOf?.()?c(t.myteam_rx_state_?.shirt&&t.myteam_rx_state_?.shirt?.shirt_url)?t.myteam_rx_state_?.shirt?.shirt_url:`https://fmleghe.b-cdn.net/default_shirt.png`:c(t.teams_rx_state_?.[e.lh_next_rx_state_?.opponent_id]&&t.teams_rx_state_?.[e.lh_next_rx_state_?.opponent_id]?.shirt&&t.teams_rx_state_?.[e.lh_next_rx_state_?.opponent_id]?.shirt?.shirt_url)?t.teams_rx_state_?.[e.lh_next_rx_state_?.opponent_id]?.shirt?.shirt_url:`https://fmleghe.b-cdn.net/default_shirt.png`,sx:{position:`absolute`,width:`auto`,height:`52px`,top:`0`,right:`0`}})}function Oe(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(S,{src:Number(e.lh_next_rx_state_?.is_home)?.valueOf?.()===0?.valueOf?.()?c(t.myteam_rx_state_?.coach_pic&&t.myteam_rx_state_?.coach_pic?.valueOf?.()!==``?.valueOf?.())?t.myteam_rx_state_?.coach_pic:`https://static-players.fantamaster.it/player.png`:c(t.teams_rx_state_?.[e.lh_next_rx_state_?.opponent_id]&&t.teams_rx_state_?.[e.lh_next_rx_state_?.opponent_id]?.coach_pic&&t.teams_rx_state_?.[e.lh_next_rx_state_?.opponent_id]?.coach_pic?.valueOf?.()!==``?.valueOf?.())?t.teams_rx_state_?.[e.lh_next_rx_state_?.opponent_id]?.coach_pic:`https://static-players.fantamaster.it/player.png`,sx:{background:`#FFFFFF`,borderRadius:`20px`,border:`1px solid #EBEDF0`,position:`absolute`,width:`40px`,height:`40px`,bottom:`0`,right:`25px`}})}function ke(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(S,{src:e.teams_rx_state_?.[t.lh_next_rx_state_?.opponent_id]?.team_logo,sx:{width:`40px`,height:`40px`,background:`#FFFFFF`,border:`1px solid #EBEDF0`,borderRadius:`20px`,position:`absolute`,bottom:`0`,right:`70px`}})}function Ae(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{}
1,c(e.teams_rx_state_?.[t.lh_next_rx_state_?.opponent_id]&&e.teams_rx_state_?.[t.lh_next_rx_state_?.opponent_id]?.team_logo)?i(z.Fragment,{},i(ke,{})):i(z.Fragment,{},i(S,{src:`https://fmleghe.b-cdn.net/team_badge.svg`,sx:{width:`40px`,height:`40px`,position:`absolute`,bottom:`0`,right:`70px`}})))}function je(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},Number(e.lh_next_rx_state_?.is_home)?.valueOf?.()===0?.valueOf?.()?i(O,{}):i(Ae,{}))}function Me(){return i(z.Fragment,{},(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state).lh_next_rx_state_?.type?.valueOf?.()===`vs`?.valueOf?.()?i(z.Fragment,{},i(d,{alignItems:`center`,justify:`start`,spacing:`8px`,sx:{width:`100%`,flexGrow:`1`,flexShrink:`1`,marginLeft:`8px`}},i(u,{sx:{position:`relative`,width:`100%`,height:`52px`}},i(De,{}),i(Oe,{}),i(je,{})))):i(z.Fragment,{}))}function Ne(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(x,{asChild:!0,className:`buttonlink`,css:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,textDecoration:`none !important`,textUnderlineOffset:`4px !important`,color:`unset !important`,overflow:`visible !important`,width:`100%`,maxWidth:`180px`,marginLeft:`12px`,marginRight:`12px`,"&:hover":{color:`var(--accent-8)`}}},i(r,{to:e.lh_next_rx_state_?.type?.valueOf?.()===`vs`?.valueOf?.()?`/league/`+(e=>e.toString())(t.current_league_rx_state_?.id)+`/live?competition=`+(e=>e.toString())(e.lh_next_rx_state_?.competition_id)+`&game=`+(e=>e.toString())(e.lh_next_rx_state_?.id):`/league/`+(e=>e.toString())(t.current_league_rx_state_?.id)+`/live?competition=`+(e=>e.toString())(e.lh_next_rx_state_?.competition_id)+`&team=`+(e=>e.toString())(t.myteam_rx_state_?.id)},i(E,{className:`fmprimary blinking`,sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontSize:`18px`,textDecoration:`none !important`,width:`100%`,height:`44px`,minHeight:`44px`,background:`#00A3FF29 !important`,color:`#00A3FF !important`}},`VAI AL LIVE`)))}function Pe(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},Number(e.lh_next_rx_state_?.is_live)?.valueOf?.()===1?.valueOf?.()?i(z.Fragment,{},i(Ne,{})):i(z.Fragment,{}))}function Fe(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(d,{spacing:`0`,sx:{width:`100%`,height:Number(e.lh_next_rx_state_?.is_live)?.valueOf?.()===1?.valueOf?.()?`192px`:`140px`,background:`#FFFFFF`,borderRadius:`12px`}},i(I,{align:`center`,direction:`row`,justify:`center`,sx:{width:`100%`,height:`56px`,paddingLeft:`12px`,paddingRight:`12px`,borderBottom:`1px solid #D9E1F2`}},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,color:`#090C65`,fontSize:`20px`,lineHeight:`20px`,textAlign:`left`,flexGrow:`1`,flexShrink:`1`}},`Prossima Sfida`),i(ye,{})),i(I,{align:`center`,direction:`row`,justify:`center`,sx:{width:`100%`,padding:`12px`}},i(d,{alignItems:`center`,justify:`start`,spacing:`8px`,sx:{width:`100%`,flexGrow:`1`,flexShrink:`1`}},i(u,{sx:{position:`relative`,width:`100%`,height:`52px`}},i(be,{}),i(xe,{}),i(we,{}))),i(d,{alignItems:`center`,justify:`center`,spacing:`4px`,sx:{width:`76px`,marginLeft:`8px`,flexBasis:`76px`,flexGrow:`0`,flexShrink:`0`}},i(z.Fragment,{},i(z.Fragment,{})),i(Te,{}),i(Ee,{})),i(Me,{})),i(Pe,{}))}function Ie(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},c(e.lh_next_rx_state_&&e.lh_next_rx_state_?.id)?i(z.Fragment,{},i(Fe,{})):i(z.Fragment,{}))}function Le(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(x,{asChild:!0,className:`buttonlink`,css:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,textDecoration:`none !important`,textUnderlineOffset:`4px !important`,color:`unset !important`,overflow:`visible !important`,"&:hover":{color:`var(--accent-8)`}}},i(r,{to:e.lh_prev_rx_state_?.type?.valueOf?.()===`vs`?.valueOf?.()?`/league/`+(e=>e.toString())(t.current_league_rx_state_?.id)+`/lineupdetail?game=`+(e=>e.toString())(e.lh_prev_rx_state_?.id):`/league/`+(e=>e.toString())(t.current_league_rx_state_?.id)+`/lineupdetail?lineup=`+(e=>e.toString())(e.lh_prev_rx_state_?.id)},i(E,{className:`fmtertiary`,sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontSize:`14px`,textDecoration:`none !important`,minHeight:`32px`,maxHeight:`32px`}},`VEDI VOTI`)))}function Re(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(S,{src:Number(e.lh_prev_rx_state_?.is_home)?.valueOf?.()===1?.valueOf?.()?c(t.myteam_rx_state_?.shirt&&t.myteam_rx_state_?.shirt?.shirt_url)?t.myteam_rx_state_?.shirt?.shirt_url:`https://fmleghe.b-cdn.net/default_shirt.png`:c(t.teams_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]&&t.teams_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]?.shirt&&t.teams_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]?.shirt?.shirt_url)?t.teams_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]?.shirt?.shirt_url:`https://fmleghe.b-cdn.net/default_shirt.png`,sx:{position:`absolute`,width:`auto`,height:`52px`,top:`0`,left:`0`}})}function ze(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(S,{src:Number(e.lh_prev_rx_state_?.is_home)?.valueOf?.()===1?.valueOf?.()?c(t.myteam_rx_state_?.coach_pic&&t.myteam_rx_state_?.coach_pic?.valueOf?.()!==``?.valueOf?.())?t.myteam_rx_state_?.coach_pic:`https://static-players.fantamaster.it/player.png`:c(t.teams_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]&&t.teams_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]?.coach_pic&&t.teams_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]?.coach_pic?.valueOf?.()!==``?.valueOf?.())?t.team
1s_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]?.coach_pic:`https://static-players.fantamaster.it/player.png`,sx:{background:`#FFFFFF`,borderRadius:`20px`,border:`1px solid #EBEDF0`,position:`absolute`,width:`40px`,height:`40px`,bottom:`0`,left:`25px`}})}function Be(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(S,{src:e.teams_rx_state_?.[t.lh_prev_rx_state_?.opponent_id]?.team_logo,sx:{width:`40px`,height:`40px`,background:`#FFFFFF`,border:`1px solid #EBEDF0`,borderRadius:`20px`,position:`absolute`,bottom:`0`,left:`70px`}})}function Ve(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},c(e.teams_rx_state_?.[t.lh_prev_rx_state_?.opponent_id]&&e.teams_rx_state_?.[t.lh_prev_rx_state_?.opponent_id]?.team_logo)?i(z.Fragment,{},i(Be,{})):i(z.Fragment,{},i(S,{src:`https://fmleghe.b-cdn.net/team_badge.svg`,sx:{width:`40px`,height:`40px`,position:`absolute`,bottom:`0`,left:`70px`}})))}function He(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},Number(e.lh_prev_rx_state_?.is_home)?.valueOf?.()===1?.valueOf?.()?i(A,{}):i(Ve,{}))}function Ue(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,color:`#090C65`,fontSize:`14px`,lineHeight:`14px`}},(e=>e.toString())(e.lh_prev_rx_state_?.day)+`a`)}function We(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,color:`#090C65`,fontSize:`20px`,lineHeight:`26px`,background:`#F4F4FD`,borderRadius:`8px`,width:`100%`,textAlign:`center`}},c(e.lh_prev_rx_state_?.score)?e.lh_prev_rx_state_?.score:e.lh_prev_rx_state_?.type?.valueOf?.()===`vs`?.valueOf?.()?`VS`:`ND`)}function Ge(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,color:`#99A3B5`,fontSize:`14px`,lineHeight:`14px`}},c(e.lh_prev_rx_state_?.lineups?.at?.(0)?.total)?e.lh_prev_rx_state_?.lineups?.at?.(0)?.total:`ND`,` - `,e.lh_prev_rx_state_?.type?.valueOf?.()===`vs`?.valueOf?.()?c(e.lh_prev_rx_state_?.lineups.length>1&&e.lh_prev_rx_state_?.lineups?.at?.(1)?.total)?e.lh_prev_rx_state_?.lineups?.at?.(1)?.total:`ND`:``)}function Ke(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},Number(e.lh_prev_rx_state_?.type?.valueOf?.()===`vs`?.valueOf?.())?.valueOf?.()===1?.valueOf?.()?i(z.Fragment,{},i(Ge,{})):i(z.Fragment,{}))}function qe(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(S,{src:Number(e.lh_prev_rx_state_?.is_home)?.valueOf?.()===0?.valueOf?.()?c(t.myteam_rx_state_?.shirt&&t.myteam_rx_state_?.shirt?.shirt_url)?t.myteam_rx_state_?.shirt?.shirt_url:`https://fmleghe.b-cdn.net/default_shirt.png`:c(t.teams_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]&&t.teams_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]?.shirt&&t.teams_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]?.shirt?.shirt_url)?t.teams_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]?.shirt?.shirt_url:`https://fmleghe.b-cdn.net/default_shirt.png`,sx:{position:`absolute`,width:`auto`,height:`52px`,top:`0`,right:`0`}})}function Je(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(S,{src:Number(e.lh_prev_rx_state_?.is_home)?.valueOf?.()===0?.valueOf?.()?c(t.myteam_rx_state_?.coach_pic&&t.myteam_rx_state_?.coach_pic?.valueOf?.()!==``?.valueOf?.())?t.myteam_rx_state_?.coach_pic:`https://static-players.fantamaster.it/player.png`:c(t.teams_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]&&t.teams_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]?.coach_pic&&t.teams_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]?.coach_pic?.valueOf?.()!==``?.valueOf?.())?t.team
1s_rx_state_?.[e.lh_prev_rx_state_?.opponent_id]?.coach_pic:`https://static-players.fantamaster.it/player.png`,sx:{background:`#FFFFFF`,borderRadius:`20px`,border:`1px solid #EBEDF0`,position:`absolute`,width:`40px`,height:`40px`,bottom:`0`,right:`25px`}})}function $(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(S,{src:e.teams_rx_state_?.[t.lh_prev_rx_state_?.opponent_id]?.team_logo,sx:{width:`40px`,height:`40px`,background:`#FFFFFF`,border:`1px solid #EBEDF0`,borderRadius:`20px`,position:`absolute`,bottom:`0`,right:`70px`}})}function Ye(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},c(e.teams_rx_state_?.[t.lh_prev_rx_state_?.opponent_id]&&e.teams_rx_state_?.[t.lh_prev_rx_state_?.opponent_id]?.team_logo)?i(z.Fragment,{},i($,{})):i(z.Fragment,{},i(S,{src:`https://fmleghe.b-cdn.net/team_badge.svg`,sx:{width:`40px`,height:`40px`,position:`absolute`,bottom:`0`,right:`70px`}})))}function Xe(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},Number(e.lh_prev_rx_state_?.is_home)?.valueOf?.()===0?.valueOf?.()?i(O,{}):i(Ye,{}))}function Ze(){return i(z.Fragment,{},(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state).lh_prev_rx_state_?.type?.valueOf?.()===`vs`?.valueOf?.()?i(z.Fragment,{},i(d,{alignItems:`center`,justify:`start`,spacing:`8px`,sx:{width:`100%`,flexGrow:`1`,flexShrink:`1`,marginLeft:`8px`}},i(u,{sx:{position:`relative`,width:`100%`,height:`52px`}},i(qe,{}),i(Je,{}),i(Xe,{})))):i(z.Fragment,{}))}function Qe(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(w,{alignItems:`center`,justify:`center`,spacing:`12px`,sx:{width:`100%`,paddingTop:`12px`,paddingLeft:`12px`,paddingRight:`12px`,paddingBottom:`12px`}},Array.prototype.map.call(e.lh_prev_rx_state_?.history??[],(e,n)=>i(x,{asChild:!0,className:`buttonlink`,css:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,textDecoration:`none !important`,textUnderlineOffset:`4px !important`,color:`unset !important`,overflow:`visible !important`,width:`20%`,"&:hover":{color:`var(--accent-8)`}},key:n},i(r,{to:e?.type?.valueOf?.()===`vs`?.valueOf?.()?`/league/`+(e=>e.toString())(t.current_league_rx_state_?.id)+`/lineupdetail?game=`+(e=>
1e.toString())(e?.id):`/league/`+(e=>e.toString())(t.current_league_rx_state_?.id)+`/lineupdetail?lineup=`+(e=>e.toString())(e?.id)},i(d,{alignItems:`center`,justify:`center`,spacing:`0`,sx:{borderColor:c(e?.result)?e?.result?.valueOf?.()===`W`?.valueOf?.()?`#04A46429`:e?.result?.valueOf?.()===`L`?.valueOf?.()?`#FF004029`:`#EBEDF0`:`#EBEDF0`,borderWidth:`1px`,borderStyle:`solid`,width:`100%`,borderRadius:`8px`,overflow:`hidden`}},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,width:`100%`,textAlign:`center`,fontSize:`16px`,lineHeight:`24px`,height:`24px`,color:c(e?.result)?e?.result?.valueOf?.()===`W`?.valueOf?.()?`#04A464`:e?.result?.valueOf?.()===`L`?.valueOf?.()?`#FF0040`:`#090C65`:`#090C65`,background:c(e?.result)?e?.result?.valueOf?.()===`W`?.valueOf?.()?`#04A46429`:e?.result?.valueOf?.()===`L`?.valueOf?.()?`#FF004029`:`#EBEDF0`:`#EBEDF0`}},(e=>e.toString())(e?.day)+`a`),i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,width:`100%`,textAlign:`center`,fontSize:`20px`,lineHeight:`40px`,height:`40px`,color:c(e?.result)?e?.result?.valueOf?.()===`W`?.valueOf?.()?`#04A464`:e?.result?.valueOf?.()===`L`?.valueOf?.()?`#FF0040`:`#090C65`:`#090C65`}},c(e?.score)?e?.score:`ND`))))))}function $e(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},c(e.lh_prev_rx_state_&&e.lh_prev_rx_state_?.id)?i(z.Fragment,{},i(d,{spacing:`0`,sx:{width:`100%`,height:`288px`,background:`#FFFFFF`,borderRadius:`12px`}},i(I,{align:`center`,direction:`row`,justify:`center`,sx:{width:`100%`,height:`56px`,paddingLeft:`12px`,paddingRight:`12px`,borderBottom:`1px solid #D9E1F2`,marginBottom:`12px`}},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,color:`#090C65`,fontSize:`20px`,lineHeight:`20px`,textAlign:`left`,flexGrow:`1`,flexShrink:`1`}},`Ultimi Risultati`),i(Le,{})),i(I,{align:`center`,direction:`row`,justify:`center`,sx:{width:`100%`,padding:`12px`}},i(d,{alignItems:`center`,justify:`start`,spacing:`8px`,sx:{width:`100%`,flexGrow:`1`,flexShrink:`1`}},i(u,{sx:{position:`relative`,width:`100%`,height:`52px`}},i(Re,{}),i(ze,{}),i(He,{}))),i(d,{alignItems:`center`,justify:`center`,spacing:`4px`,sx:{width:`76px`,marginLeft:`8px`,flexBasis:`76px`,flexGrow:`0`,flexShrink:`0`}},i(z.Fragment,{},i(z.Fragment,{},i(Ue,{}))),i(We,{}),i(Ke,{})),i(Ze,{})),i(I,{align:`center`,direction:`row`,justify:`center`,sx:{width:`100%`,height:`36px`,paddingLeft:`12px`,paddingRight:`12px`}},i(f,{sx:{borderColor:`#99A3B5`,flexGrow:`1`,flexShrink:`1`}}),i(C,{sx:{fontFamily:`Inter`,"--default-font-family":`Inter`,fontWeight:`700`,color:`#99A3B5`,fontSize:`12px`,lineHeight:`12px`,marginLeft:`12px`,marginRight:`12px`,flexGrow:`0`,flexShrink:`0`}},`Ultime 5`),i(f,{sx:{borderColor:`#99A3B5`,flexGrow:`1`,flexShrink:`1`}})),i(Qe,{}))):i(z.Fragment,{}))}function et(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(x,{asChild:!0,className:`buttonlink`,css:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,textDecoration:`none !important`,textUnderlineOffset:`4px !important`,color:`unset !important`,overflow:`visible !important`,"&:hover":{color:`var(--accent-8)`}}},i(r,{to:`/league/`+e.current_league_rx_state_?.id+`/live?competition=`+t.lh_selected_competition_rx_state_?.id},i(E,{className:`fmprimary blinking`,sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`,fontSize:`18px`,textDecoration:`none !important`,height:`44px`,minHeight:`44px`,background:`#00A3FF29 !important`,color:`#00A3FF !important`,width:`100%`,maxWidth:`240px`}},Number(t.lh_selected_competition_rx_state_?.with_fixtures)?.valueOf?.()===1?.valueOf?.()?`TUTTE LE PARTITE`:`TUTTE LE FORMAZIONI`)))}function tt(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state__fantacalcio_frontend_web___pages___league____league_state);return i(z.Fragment,{},c(e.lh_status_rx_state_&&e.lh_status_rx_state_?.is_live&&Number(e.lh_status_rx_state_?.is_live)?.valueOf?.()===1?.valueOf?.())?i(z.Fragment,{},i(d,{alignItems:`center`,justify:`start`,spacing:`24px`,sx:{width:`100%`,height:`auto`,background:`#FFFFFF`,borderRadius:`12px`,paddingBottom:`24px`}},i(I,{align:`center`,direction:`row`,justify:`center`,sx:{width:`100%`,height:`56px`,paddingLeft:`12px`,paddingRight:`12px`,borderBottom:`1px solid #D9E1F2`}},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,color:`#090C65`,fontSize:`20px`,lineHeight:`20px`,textAlign:`left`,flexGrow:`1`,flexShrink:`1`}},`LIVE in corso`)),i(et,{}))):i(z.Fragment,{}))}function nt(){let e=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(z.Fragment,{},c(e.myteam_rx_state_&&e.myteam_rx_state_?.id)?i(z.Fragment,{},i(N,{columns:[1,1,1,2,2],spacing:`24px`,sx:{alignItems:`flex-start`}},i(d,{spacing:`0`,sx:{width:`100%`,height:`288px`,background:`#FFFFFF`,borderRadius:`12px`}},i(I,{align:`center`,direction:`row`,justify:`center`,sx:{width:`100%`,height:`56px`,paddingLeft:`12px`,paddingRight:`12px`,borderBottom:`1px solid #D9E1F2`}},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,color:`#090C65`,fontSize:`20px`,lineHeight:`20px`,textAlign:`left`,flexGrow:`1`,flexShrink:`1`}},`La tua Rosa`),i(V,{})),i(I,{align:`center`,direction:`row`,justify:`center`,sx:{width:`100%`,height:`auto`,padding:`12px`}},i(u,{sx:{position:`relative`,height:`120px`,width:`100px`,flexBasis:`100px`,flexGrow:`0`,flexShrink:`0`,marginRight:`16px`}},i(H,{}),i(U,{}),i(G,{})),i(K,{})),i(w,{alignItems:`center`,justify:`center`,spacing:`12px`,sx:{width:`100%`,paddingLeft:`12px`,paddingRight:`12px`,paddingBottom:`12px`}},i(d,{alignItems:`center`,justify:`center`,spacing:`12px`,sx:{width:`33.3%`,padding:`12px`,background:`#F4F4FD`,borderRadius:`8px`}},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,color:`#090C65`,fontSize:`16px`,lineHeight:`16px`,textAlign:`center`}},`BUDGET`),i(q,{})),i(d,{alignItems:`center`,justify:`center`,spacing:`12px`,sx:{width:`33.3%`,padding:`12px`,background:`#F4F4FD`,borderRadius:`8px`}},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,color:`#090C65`,fontSize:`16px`,lineHeight:`16px`,textAlign:`center`}},`MEDIA PUNTI`),i(J,{})),i(d,{alignItems:`center`,justify:`center`,spacing:`12px`,sx:{width:`33.3%`,padding:`12px`,background:`#F4F4FD`,borderRadius:`8px`}},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,color:`#090C65`,fontSize:`16px`,lineHeight:`16px`,textAlign:`center`}},`ULTIMA`),i(Y,{})))),i(re,{}),i(I,{direction:`column`,sx:{width:`100%`,height:`288px`,background:`#FFFFFF`,borderRadius:`12px`,spacing:`0`}},i(I,{align:`center`,direction:`row`,justify:`center`,sx:{width:`100%`,height:`56px`,paddingLeft:`12px`,paddingRight:`12px`,borderBottom:`1px solid #D9E1F2`,flexGrow:`0`,flexShrink:`0`}},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,color:`#090C65`,fontSize:`20px`,lineHeight:`20px`,textAlign:`left`,flexGrow:`1`,flexShrink:`1`}},`Mercato`),i(ae,{})),i(d,{alignItems:`center`,justify:`center`,spacing:`12px`,sx:{width:`100%`,padding:`12px`,flexGrow:`1`,flexShrink:`1`}},i(de,{}),i(ge,{}))),i(d,{spacing:`0`,sx:{width:`100%`,height:`288px`,background:`#FFFFFF`,borderRadius:`12px`}},i(I,{align:`center`,direction:`row`,justify:`center`,sx:{width:`100%`,height:`56px`,paddingLeft:`12px`,paddingRight:`12px`,borderBottom:`1px solid #D9E1F2`}},i(C,{sx:{fontFamily:`Akrobat-Bold`,"--default-font-family":`Akrobat-Bold`,fontWeight:`500`,color:`#090C65`,fontSize:`20px`,lineHeight:`20px`,textAlign:`left`,flexGrow:`1`,flexShrink:`1`}},`Classifica`),i(_e,{})),i(ve,{})),i(Ie,{}),i($e,{}),i(tt,{}))):i(z.Fragment,{}))}function rt(){let e=(0,z.useRef)(null);s.ref_maincontent=e;let t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state),[n,r]=(0,z.useContext)(l);return i(d,{id:`maincontent`,onScroll:(0,z.useCallback)((...e)=>n([o(`_call_script`,{javascript_code:t.navbar_collapsed_rx_state_?.valueOf?.()===`no`?.valueOf?.()?` 2var lastpos; 3if (lastpos === undefined) { 4 lastpos = 0; 5} 6let container = document.getElementById("maincontent"); 7let element = document.getElementById("header-ad"); 8if (container !== null && element !== null && window.getComputedStyle(element, null).display !== "none") { 9 let inschild = document.querySelector("#header-ad ins"); 10 let scrollpos = container.scrollTop; 11 let placeholder = document.getElementById("header-ad-placeholder"); 12 if (inschild !== null && inschild.getAttribute("data-ad-status") !== "unfilled" && scrollpos > lastpos && scrollpos >= 16 && scrollpos <= 200) { 13 element.style.position = "fixed"; 14 element.style.background = "#FFFFFFAA"; 15 element.style.top = "64px"; 16 element.style.left = "240px"; 17 element.style.right = "324px"; 18 element.style.width = "auto"; 19 element.style.maxWidth = "none"; 20 inschild.style.margin = "auto"; 21 placeholder.style.display = "block"; 22 } else { 23 element.style.position = "static"; 24 element.style.background = "none"; 25 element.style.top = "0"; 26 element.style.left = "0"; 27 element.style.right = "0"; 28 element.style.width = "100%"; 29 element.style.maxWidth = "970px"; 30 inschild.style.margin = "0"; 31 placeholder.style.display = "none"; 32 } 33 lastpos = scrollpos; 34} 35`:` 36var lastpos; 37if (lastpos === undefined) { 38 lastpos = 0; 39} 40let container = document.getElementById("maincontent"); 41let element = document.getElementById("header-ad"); 42if (container !== null && element !== null && window.getComputedStyle(element, null).display !== "none") { 43 let inschild = document.querySelector("#header-ad ins"); 44 let scrollpos = container.scrollTop; 45 let placeholder = document.getElementById("header-ad-placeholder"); 46 if (inschild !== null && inschild.getAttribute("data-ad-status") !== "unfilled" && scrollpos > lastpos && scrollpos >= 16 && scrollpos <= 200) { 47 element.style.position = "fixed"; 48 element.style.background = "#FFFFFFAA"; 49 element.style.top = "64px"; 50 element.style.left = "56px"; 51 element.style.right = "324px"; 52 element.style.width = "auto"; 53 element.style.maxWidth = "none"; 54 inschild.style.margin = "auto"; 55 placeholder.style.display = "block"; 56 } else { 57 element.style.position = "static"; 58 element.style.background = "none"; 59 element.style.top = "0"; 60 element.style.left = "0"; 61 element.style.right = "0"; 62 element.style.width = "100%"; 63 element.style.maxWidth = "970px"; 64 inschild.style.margin = "0"; 65 placeholder.style.display = "none"; 66 } 67 lastpos = scrollpos; 68} 69`,callback:null},{})],e,{}),[n,o,t]),ref:e,spacing:`16px`,sx:{background:`#F4F4FD`,width:`100%`,height:`auto`,overflow:`auto`,flexBasis:`auto`,flexGrow:`1`,flexShrink:`1`,paddingBottom:`200px`,scrollBehavior:`smooth`}},i(p,{}),i(I,{direction:`row`,sx:{width:`100%`,height:`auto`,paddingLeft:`24px`,paddingRight:`24px`}},i(d,{alignItems:`center`,spacing:`24px`,sx:{width:`auto`,height:`auto`,overflowX:`hidden`,flexBasis:`auto`,flexGrow:`1`,flexShrink:`1`,paddingBottom:`24px`}},i(_,{}),i(te,{}),i(N,{columns:[1,1,2,2,2],spacing:`12px`,sx:{width:`100%`}},i(d,{alignItems:`start`,justify:`center`,spacing:`8px`},i(M,{className:`leaguepagetitle`,sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`}},`Home`),i(M,{className:`leaguepagesubtitle`,sx:{fontFamily:`Akrobat-Extrabold`,"--default-font-family":`Akrobat-Extrabold`}},`Gestisci la Lega e Inserisci la Formazione`)),i(I,{align:`end`,direction:`column`,justify:`end`,sx:{width:`100%`,height:`100%`}},i(F,{align:`center`,justify:`end`,spacing:`8px`,sx:{width:`100%`}},i(P,{sx:{width:[`100%`,`100%`,`auto`,`auto`,`auto`],height:`auto`}},i(B,{}))))),i(ee,{}),i(u,{sx:{width:`100%`,maxWidth:`858px`,height:`auto`,background:`none`,padding:`0`,borderRadius:`0`}},i(nt,{}))),i(d,{spacing:`24px`,sx:{width:`300px`,height:`auto`,flexBasis:`300px`,flexGrow:`0`,flexShrink:`0`,position:`sticky`,alignSelf:`flex-start`,to
69p:`80px`,marginLeft:`24px`,display:[`none`,`none`,`none`,`none`,`block`]}},i(y,{}),i(D,{}))),i(v,{}))}function it(){let e=(0,z.useContext)(a.reflex___state____state),t=(0,z.useContext)(a.reflex___state____state__fantacalcio_frontend_web___appstate____app_state);return i(z.Fragment,{},Number(e.is_hydrated_rx_state_)?.valueOf?.()===1?.valueOf?.()&&Number(t.is_user_logged_in_rx_state_)?.valueOf?.()===1?.valueOf?.()&&Number(t.is_valid_league_rx_state_)?.valueOf?.()===1?.valueOf?.()?i(z.Fragment,{},i(I,{className:`notranslate`,direction:`row`,sx:{background:`#F4F4FD`,width:`100vw`,height:`100vh`,zIndex:`8`},translate:`no`},i(k,{}),i(rt,{})),i(j,{})):i(z.Fragment,{},i(d,{alignItems:`center`,justify:`center`,sx:{width:`100vw`,height:`100vh`}},i(T,{size:`xl`,sx:{color:`#00ED96`},thickness:5}))))}var at=n(function(){let e=(0,z.useRef)(null);s.ref_inmobicmpscript=e;let t=(0,z.useRef)(null);return s.ref_cmpfunctionsscript=t,i(z.Fragment,{},i(z.Fragment,{},i(it,{}),i(b,{},i(`script`,{id:`inmobicmpscript`,ref:e},` 70(function() { 71 var host = window.location.hostname; 72 var element = document.createElement('script'); 73 var firstScript = document.getElementsByTagName('script')[0]; 74 var url = 'https://cmp.inmobi.com' 75 .concat('/choice/', 'TUq_zuFtqsSKt', '/', host, '/choice.js?tag_version=V3'); 76 var uspTries = 0; 77 var uspTriesLimit = 3; 78 element.async = true; 79 element.type = 'text/javascript'; 80 element.src = url; 81 82 firstScript.parentNode.insertBefore(element, firstScript); 83 84 function makeStub() { 85 var TCF_LOCATOR_NAME = '__tcfapiLocator'; 86 var queue = []; 87 var win = window; 88 var cmpFrame; 89 90 function addFrame() { 91 var doc = win.document; 92 var otherCMP = !!(win.frames[TCF_LOCATOR_NAME]); 93 94 if (!otherCMP) { 95 if (doc.body) { 96 var iframe = doc.createElement('iframe'); 97 98 iframe.style.cssText = 'display:none'; 99 iframe.name = TCF_LOCATOR_NAME; 100 doc.body.appendChild(iframe); 101 } else { 102 setTimeout(addFrame, 5); 103 } 104 } 105 return !otherCMP; 106 } 107 108 function tcfAPIHandler() { 109 var gdprApplies; 110 var args = arguments; 111 112 if (!args.length) { 113 return queue; 114 } else if (args[0] === 'setGdprApplies') { 115 if ( 116 args.length > 3 && 117 args[2] === 2 && 118 typeof args[3] === 'boolean' 119 ) { 120 gdprApplies = args[3]; 121 if (typeof args[2] === 'function') { 122 args[2]('set', true); 123 } 124 } 125 } else if (args[0] === 'ping') { 126 var retr = { 127 gdprApplies: gdprApplies, 128 cmpLoaded: false, 129 cmpStatus: 'stub' 130 }; 131 132 if (typeof args[2] === 'function') { 133 args[2](retr); 134 } 135 } else { 136 if(args[0] === 'init' && typeof args[3] === 'object') { 137 args[3] = Object.assign(args[3], { tag_version: 'V3' }); 138 } 139 queue.push(args); 140 } 141 } 142 143 function postMessageEventHandler(event) { 144 var msgIsString = typeof event.data === 'string'; 145 var json = {}; 146 147 try { 148 if (msgIsString) { 149 json = JSON.parse(event.data); 150 } else { 151 json = event.data; 152 } 153 } catch (ignore) {} 154 155 var payload = json.__tcfapiCall; 156 157 if (payload) { 158 window.__tcfapi( 159 payload.command, 160 payload.version, 161 function(retValue, success) { 162 var returnMsg = { 163 __tcfapiReturn: { 164 returnValue: retValue, 165 success: success, 166 callId: payload.callId 167 } 168 }; 169 if (msgIsString) { 170 returnMsg = JSON.stringify(returnMsg); 171 } 172 if (event && event.source && event.source.postMessage) { 173 event.source.postMessage(returnMsg, '*'); 174 } 175 }, 176 payload.parameter 177 ); 178 } 179 } 180 181 while (win) { 182 try { 183 if (win.frames[TCF_LOCATOR_NAME]) { 184 cmpFrame = win; 185 break; 186 } 187 } catch (ignore) {} 188 189 if (win === window.top) { 190 break; 191 } 192 win = win.parent; 193 } 194 if (!cmpFrame) { 195 addFrame(); 196 win.__tcfapi = tcfAPIHandler; 197 win.addEventListener('message', postMessageEventHandler, false); 198 } 199 }; 200 201 makeStub(); 202 203 var uspStubFunction = function() { 204 var arg = arguments; 205 if (typeof window.__uspapi !== uspStubFunction) { 206 setTimeout(function() { 207 if (typeof window.__uspapi !== 'undefined') { 208 window.__uspapi.apply(window.__uspapi, arg); 209 } 210 }, 500); 211 } 212 }; 213 214 var checkIfUspIsReady = function() { 215 uspTries++; 216 if (window.__uspapi === uspStubFunction && uspTries < uspTriesLimit) { 217 console.warn('USP is not accessible'); 218 } else { 219 clearInterval(uspInterval); 220 } 221 }; 222 223 if (typeof window.__uspapi === 'undefined') { 224 window.__uspapi = uspStubFunction; 225 var uspInterval = setInterval(checkIfUspIsReady, 6000); 226 } 227})(); 228`)),i(b,{},i(`script`,{id:`cmpfunctionsscript`,ref:t},` 229function showConsentDialog() { 230 window.__tcfapi('displayConsentUi', 2,function() {}); 231} 232 233/*addEventListener("load", function() { 234 235 window.__tcfapi('addEventListener', 2, function(tcData, success) { 236 if (success) { 237 console.log("Received CMP Event: "+tcData.eventStatus); 238 if (tcData.eventStatus === 'useractioncomplete') { 239 console.log('Refreshing page'); 240 window.location.reload(); 241 } 242 } 243 }); 244});*/ 245`)),i(g,{})),i(`title`,{},`Lega`),i(`meta`,{content:`Vuoi creare la tua lega per il fantacalcio? Con Leghe FantaMaster puoi farla privata o pubblica, personalizzarla, gestire l'asta e tanto altro`,name:`description`}),i(`meta`,{content:`https://fmleghe.b-cdn.net/leghe_fantamaster.jpg`,property:`og:image`}),i(`meta`,{content:`app-id=1416886024`,name:`apple-itunes-app`}),i(`meta`,{content:`app-id=com.puzio.fantamaster`,name:`google-play-app`}),i(`meta`,{content:`landing page`,property:`og:type`}),i(`meta`,{content:`Leghe FantaMaster`,property:`og:site_name`}),i(`meta`,{content:`Leghe FantaMaster: le Leghe per i Fantallenatori del Terzo Millennio`,property:`og:title`}),i(`meta`,{content:`Vuoi creare la tua lega per il fantacalcio? Con Leghe FantaMaster puoi farla privata o pubblica, personalizzarla, gestire l'asta e tanto altro`,property:`og:description`}),i(`meta`,{content:`https://fmleghe.b-cdn.net/leghe_fantamaster.jpg`,property:`og:image`}),i(`meta`,{content:`https://leghe.fantamaster.it`,property:`og:url`}),i(`meta`,{content:`notranslate`,name:`google`}),i(`meta`,{content:`notranslate`,name:`robots`}),i(`meta`,{content:`notranslate`,name:`googlebot`}))});export{at as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.