1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},_=(new e.Error).stack;_&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[_]="16d1faa9-cf50-40bd-9006-9308dfe77e94",e._sentryDebugIdIdentifier="sentry-dbid-16d1faa9-cf50-40bd-9006-9308dfe77e94")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3110,3353],{200:e=>{e.exports={questions__headerRow:"Questions_questions__headerRow__yntyx",winDroWin:"Questions_winDroWin__ignKd",addColumn:"Questions_addColumn__jwdrx",yesNo:"Questions_yesNo__0z_TR",mixedType:"Questions_mixedType__bggLJ",multiChoice:"Questions_multiChoice__o33Q9",questions__titleEvent:"Questions_questions__titleEvent__BGZYl",questions__titleAnswers:"Questions_questions__titleAnswers__mhVLn",questions__titlePlus:"Questions_questions__titlePlus__ch6iS",questions__scoreGrid:"Questions_questions__scoreGrid__lWYT6"}},6763:e=>{e.exports={card:"CorrectScore_card__WRV7M",settled:"CorrectScore_settled__5wz3V",card__header:"CorrectScore_card__header__3UAU7",card__league:"CorrectScore_card__league__ZtSiR",card__date:"CorrectScore_card__date__FxYKB",card__teams:"CorrectScore_card__teams__nzpkI",card__team:"CorrectScore_card__team__G4hLG",card__teamName:"CorrectScore_card__teamName__EMJAq",card__score:"CorrectScore_card__score__ckrOk",card__scoreSep:"CorrectScore_card__scoreSep__NeqXP",card__controls:"CorrectScore_card__controls__Bb1Yt",card__btns:"CorrectScore_card__btns__NG4EN",card__btn:"CorrectScore_card__btn__Vz9j3",card__time:"CorrectScore_card__time__7kvqz",sidebarCard__enteredLabel:"CorrectScore_sidebarCard__enteredLabel__j7xpw",sidebarCard__time:"CorrectScore_sidebarCard__time__JxUql",active:"CorrectScore_active__VAjM2",sidebarCard__infoText:"CorrectScore_sidebarCard__infoText__2a9Zo",sidebarCard__bigJackpotLabel:"CorrectScore_sidebarCard__bigJackpotLabel__kzL1Q",sidebarCard__infoRow:"CorrectScore_sidebarCard__infoRow__6V5dF",sidebarCard__infoLabelJackpot:"CorrectScore_sidebarCard__infoLabelJackpot__dR0vV",sidebarCard__link:"CorrectScore_sidebarCard__link__Zvl7g",eventInfo__description:"CorrectScore_eventInfo__description__GsJKn",eventEntries__title:"CorrectScore_eventEntries__title__OdqIy",eventEntries__addBtn:"CorrectScore_eventEntries__addBtn__7ZgAK",questionMixType__select:"CorrectScore_questionMixType__select__FG7cc",multiplyChoice__select:"CorrectScore_multiplyChoice__select__x3UFX",submit__error:"CorrectScore_submit__error__zPofk",submit__btn:"CorrectScore_submit__btn__3JqDk",leaderboard__row:"CorrectScore_leaderboard__row___tPrw",poolEvent__header:"CorrectScore_poolEvent__header__Lhvs2",leaderboard:"CorrectScore_leaderboard__G3bAC",leaderboard__title:"CorrectScore_leaderboard__title__WKiKw",leaderboard__tableHeader:"CorrectScore_leaderboard__tableHeader__XRnEa",submit__stats:"CorrectScore_submit__stats__PIRtI",sidebar__heading:"CorrectScore_sidebar__heading__KqaYH",sidebar__showMoreBtn:"CorrectScore_sidebar__showMoreBtn__k6ohh"}},7952:e=>{e.exports={questionMixType__question:"QuestionMixType_questionMixType__question__r4DYP",big:"QuestionMixType_big__gkFJ6",addColumn:"QuestionMixType_addColumn__RlYSt",questionMixType__info:"QuestionMixType_questionMixType__info__DX_5O",questionMixType__infoAnswers:"QuestionMixType_questionMixType__infoAnswers__xeC_U",questionMixType__infoAnswer:"QuestionMixType_questionMixType__infoAnswer__TmZO_",questionMixType__infoLeague:"QuestionMixType_questionMixType__infoLeague__rkJB7",questionMixType__infoDate:"QuestionMixType_questionMixType__infoDate__kKNLC",questionMixType__banker:"QuestionMixType_questionMixType__banker__Hboyh",questionMixType__choices:"QuestionMixType_questionMixType__choices__U0tKc",questionMixType__choice:"QuestionMixType_questionMixType__choice__aoHvl",active:"QuestionMixType_active__fpe5u",canHover:"QuestionMixType_canHover__uSSbF",questionMixType__selectWrap:"QuestionMixType_questionMixType__selectWrap__SNhoS",questionMixType__select:"QuestionMixType_questionMixType__select__pMn8t",settle:"QuestionMixType_settle__BlrEn",questionMixType__selectIcon:"QuestionMixType_questionMixType__selectIcon__bO5jD",sidebarCard__enteredLabel:"QuestionMixType_sidebarCard__enteredLabel__o_E8v",sidebarCard__time:"QuestionMixType_sidebarCard__time__N3bSX",sidebarCard__infoText:"QuestionMixType_sidebarCard__infoText___bLob",sidebarCard__bigJackpotLabel:"QuestionMixType_sidebarCard__bigJackpotLabel__25EVl",sidebarCard__infoRow:"QuestionMixType_sidebarCard__infoRow___end5",sidebarCard__infoLabelJackpot:"QuestionMixType_sidebarCard__infoLabelJackpot__gpkhQ",sidebarCard__link:"QuestionMixType_sidebarCard__link__3k3BU",eventInfo__description:"QuestionMixType_eventInfo__description__DrhHb",eventEntries__title:"QuestionMixType_eventEntries__title__cci2K",eventEntries__addBtn:"QuestionMixType_eventEntries__addBtn__2DJla",multiplyChoice__select:"QuestionMixType_multiplyChoice__select__Fzmbi",submit__error:"QuestionMixType_submit__error__c2PVF",submit__btn:"QuestionMixType_submit__btn__2PC6F",leaderboard__row:"QuestionMixType_leaderboard__row__3tWUY",card:"QuestionMixType_card__XUoaS",poolEvent__header:"QuestionMixType_poolEvent__header__qg63J",leaderboard:"QuestionMixType_leaderboard__0HgNe",leaderboard__title:"QuestionMixType_leaderboard__title__Qmwh0",leaderboard__tableHeader:"QuestionMixType_leaderboard__tableHeader__LfDWY",submit__stats:"QuestionMixType_submit__stats__zCTfl",sidebar__heading:"QuestionMixType_sidebar__heading__vh6An",sidebar__showMoreBtn:"QuestionMixType_sidebar__showMoreBtn__I_IyA"}},12456:e=>{e.exports={leaderboard:"Leaderboard_leaderboard__5zc3i",active:"Leaderboard_active__Ncvdh",hide:"Leaderboard_hide__rueGh",leaderboard__title:"Leaderboard_leaderboard__title__hn_yE",leaderboard__tieBreak:"Leaderboard_leaderboard__tieBreak__PqbpD",leaderboard__tableHeader:"Leaderboard_leaderboard__tableHeader__6YUtj",target:"Leaderboard_target__wmtQx",leaderboard__pointsHeader:"Leaderboard_leaderboard__pointsHeader__Jsy_x",leaderboard__row:"Leaderboard_leaderboard__row__KmEQw",leaderboard__player:"Leaderboard_leaderboard__player__y1ZmO",leaderboard__icon:"Leaderboard_leaderboard__icon__kkiqk",leaderboard__score:"Leaderboard_leaderboard__score__OI7Nh",leaderboard__points:"Leaderboard_leaderboard__points__fgx3J",sidebarCard__enteredLabel:"Leaderboard_sidebarCard__enteredLabel__PX6O9",sidebarCard__time:"Leaderboard_sidebarCard__time__kenrv",sidebarCard__infoText:"Leaderboard_sidebarCard__infoText__fqOCO",sidebarCard__bigJackpotLabel:"Leaderboard_sidebarCard__bigJackpotLabel__UQqgn",sidebarCard__infoRow:"Leaderboard_sidebarCard__infoRow__Nm3W
1K",sidebarCard__infoLabelJackpot:"Leaderboard_sidebarCard__infoLabelJackpot__feslM",sidebarCard__link:"Leaderboard_sidebarCard__link__G31wC",eventInfo__description:"Leaderboard_eventInfo__description__t_Ai7",eventEntries__title:"Leaderboard_eventEntries__title__xJFDo",eventEntries__addBtn:"Leaderboard_eventEntries__addBtn__2uXB_",questionMixType__select:"Leaderboard_questionMixType__select__IqRuq",multiplyChoice__select:"Leaderboard_multiplyChoice__select__d3HQb",submit__error:"Leaderboard_submit__error__8vAQv",submit__btn:"Leaderboard_submit__btn__6q9yR",card:"Leaderboard_card__2dnFP",poolEvent__header:"Leaderboard_poolEvent__header__5_9IF",submit__stats:"Leaderboard_submit__stats__cmbQZ",sidebar__heading:"Leaderboard_sidebar__heading___YCgl",sidebar__showMoreBtn:"Leaderboard_sidebar__showMoreBtn__p1fSO"}},18658:e=>{e.exports={simpleQuestion__question:"SimpleQuestion_simpleQuestion__question__gZXwa",winDroWin:"SimpleQuestion_winDroWin__6qkU_",addColumn:"SimpleQuestion_addColumn__LsiwP",yesNo:"SimpleQuestion_yesNo__rC1vD",big:"SimpleQuestion_big__TjcZb",simpleQuestion__info:"SimpleQuestion_simpleQuestion__info__sMnUz",simpleQuestion__infoLeague:"SimpleQuestion_simpleQuestion__infoLeague__uDqKe",simpleQuestion__infoDate:"SimpleQuestion_simpleQuestion__infoDate__tbmrd",simpleQuestion__infoBanker:"SimpleQuestion_simpleQuestion__infoBanker__x75dS",simpleQuestion__infoAnswers:"SimpleQuestion_simpleQuestion__infoAnswers__j1EBb",simpleQuestion__infoAnswer:"SimpleQuestion_simpleQuestion__infoAnswer__XEHgD",simpleQuestion__choices:"SimpleQuestion_simpleQuestion__choices__2O76r",simpleQuestion__choice:"SimpleQuestion_simpleQuestion__choice__vh4Xq",active:"SimpleQuestion_active__qJ8TX",canHover:"SimpleQuestion_canHover___cqmL"}},21933:e=>{e.exports={eventInfo__description:"EventInfo_eventInfo__description__xP2Wq",eventInfo__tutorialLink:"EventInfo_eventInfo__tutorialLink__k4FVN",sidebarCard__enteredLabel:"EventInfo_sidebarCard__enteredLabel__V5X5r",sidebarCard__time:"EventInfo_sidebarCard__time__g_y5v",active:"EventInfo_active__eOzow",sidebarCard__infoText:"EventInfo_sidebarCard__infoText__e9YYx",sidebarCard__bigJackpotLabel:"EventInfo_sidebarCard__bigJackpotLabel__BoDJ_",sidebarCard__infoRow:"EventInfo_sidebarCard__infoRow__d6FYE",sidebarCard__infoLabelJackpot:"EventInfo_sidebarCard__infoLabelJackpot__7kTZB",sidebarCard__link:"EventInfo_sidebarCard__link__XrRYh",eventEntries__title:"EventInfo_eventEntries__title__goPpo",eventEntries__addBtn:"EventInfo_eventEntries__addBtn__Pn_L9",questionMixType__select:"EventInfo_questionMixType__select__R1Gx3",multiplyChoice__select:"EventInfo_multiplyChoice__select__4Q_eC",submit__error:"EventInfo_submit__error__Q70R6",submit__btn:"EventInfo_submit__btn__T_otW",leaderboard__row:"EventInfo_leaderboard__row__eYrly",card:"EventInfo_card__0VIln",poolEvent__header:"EventInfo_poolEvent__header__1IbVQ",leaderboard:"EventInfo_leaderboard__294R4",leaderboard__title:"EventInfo_leaderboard__title___N2j0",leaderboard__tableHeader:"EventInfo_leaderboard__tableHeader__14Dlm",submit__stats:"EventInfo_submit__stats__EzbuS",sidebar__heading:"EventInfo_sidebar__heading__EXYOn",sidebar__showMoreBtn:"EventInfo_sidebar__showMoreBtn__p0MsC"}},22397:e=>{e.exports={bankerButton__x2Btn:"BankerButton_bankerButton__x2Btn__6LS1m",active:"BankerButton_active__sBtxA",bankerButton__canHover:"BankerButton_bankerButton__canHover__Y0Nif",bankerButton__x2BtnMultiple:"BankerButton_bankerButton__x2BtnMultiple__ApU36"}},22656:(e,_,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/ipools/[poolId]",function(){return t(62083)}])},22957:(e,_,t)=>{"use strict";t.d(_,{t1:()=>E,Yq:()=>y,N9:()=>C});var s=t(6971),i=t(58006),n=t(98260),r=t(66724),a=t(22365),l=t(91811),o=t(95356),d=t(28082),c=t(81763),u=t(71332),b=t(5815),p=t(34385),v=t(86220),m=t(94167);let{timezones:h}=(0,m.fS)();new Date().getTimezoneOffset();let{defaultLang:x}=(0,m.PC)(),g={"es-es":r.A,"en-gb":a.A,"ru-ru":l.A,"pt-pt":o.A,"tr-tr":d.A,"it-it":c.A,"pl-pl":u.A,"sv-se":b.A,"de-de":p.A,"am-et":a.A,"fr-fr":v.A,default:a.A};"undefined"!=typeof document&&document.createElement;let y=function(e){let _=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"HH:mm dd MMMM",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:x;e="string"==typeof e?(0,s.A)(e):e;let r=(0,i.A)(e);if(isNaN(r))return null;{var a,l,o;let e=localStorage.getItem("OSG_timezone"),{timezones:s}=(0,m.fS)(),i=null==(a=s.find(_=>{let{zone:t}=_;return t===e}))?void 0:a.offset;if((null==(l=window)?void 0:l.OSG_TIMEZONE)&&"number"==typeof(null==(o=window)?void 0:o.OSG_TIMEZONE.offset)){let{offset:e}=window.OSG_TIMEZONE,s=new Date().getTimezoneOffset()/60;return(0,n.A)(r+(s+e)*36e5,_,t&&{locale:g[t]})}if(e&&i){let e=new Date().getTimezoneOffset()/60;return(0,n.A)(r+(e+i)*36e5,_,t&&{locale:g[t]})}}return(0,n.A)(e,_,t&&{locale:g[t]})},C=(e,_)=>Date.parse(e)<(_+1)*1e3,E=e=>{let _=parseInt(""+e/60,10),t=parseInt(""+e%60,10);return{minutes:_<10?"0"+_:_.toString(),seconds:t<10?"0"+t:t.toString()}}},24217:e=>{e.exports={eventPrizes:"EventPrizes_eventPrizes__30IBb",eventPrizes__title:"EventPrizes_eventPrizes__title__Lb
1Xot",eventPrizes__titleLabel:"EventPrizes_eventPrizes__titleLabel__xvfkC",eventPrizes__titleMoney:"EventPrizes_eventPrizes__titleMoney__tcHJK",eventPrizes__places:"EventPrizes_eventPrizes__places__ULr7v",eventPrizes__place:"EventPrizes_eventPrizes__place__iVTlu",eventPrizes__placeTitle:"EventPrizes_eventPrizes__placeTitle__MJr8z",eventPrizes__placeIcon:"EventPrizes_eventPrizes__placeIcon__W_Mre",eventPrizes__placeMoney:"EventPrizes_eventPrizes__placeMoney__lkHkL",eventPrizes__container:"EventPrizes_eventPrizes__container__0nwIY",eventPrizes__topPlace:"EventPrizes_eventPrizes__topPlace__ieyZC",sidebarCard__enteredLabel:"EventPrizes_sidebarCard__enteredLabel__ZEjLb",sidebarCard__time:"EventPrizes_sidebarCard__time__vU73z",active:"EventPrizes_active__NS2wV",sidebarCard__infoText:"EventPrizes_sidebarCard__infoText__Tzyn6",sidebarCard__bigJackpotLabel:"EventPrizes_sidebarCard__bigJackpotLabel__WSDI8",sidebarCard__infoRow:"EventPrizes_sidebarCard__infoRow__Uxe1p",sidebarCard__infoLabelJackpot:"EventPrizes_sidebarCard__infoLabelJackpot___3AuR",sidebarCard__link:"EventPrizes_sidebarCard__link__iT8GG",eventInfo__description:"EventPrizes_eventInfo__description___IUAy",eventEntries__title:"EventPrizes_eventEntries__title___skM7",eventEntries__addBtn:"EventPrizes_eventEntries__addBtn__qDwvp",questionMixType__select:"EventPrizes_questionMixType__select__NR25y",multiplyChoice__select:"EventPrizes_multiplyChoice__select__onWmM",submit__error:"EventPrizes_submit__error__Ujh5h",submit__btn:"EventPrizes_submit__btn__Mtl03",leaderboard__row:"EventPrizes_leaderboard__row__ld_pd",card:"EventPrizes_card__g4A_z",poolEvent__header:"EventPrizes_poolEvent__header__5lcpy",leaderboard:"EventPrizes_leaderboard__SEJ2U",leaderboard__title:"EventPrizes_leaderboard__title__L2oak",leaderboard__tableHeader:"EventPrizes_leaderboard__tableHeader__x4Q_h",submit__stats:"EventPrizes_submit__stats__w_nML",sidebar__heading:"EventPrizes_sidebar__heading__AddkZ",sidebar__showMoreBtn:"EventPrizes_sidebar__showMoreBtn__0X9Z_"}},30571:e=>{e.exports={questionResult:"QuestionResult_questionResult__58t_p",questionResult__red:"QuestionResult_questionResult__red__DWWXW",questionResult__green:"QuestionResult_questionResult__green__u_eAb"}},34989:(e,_,t)=>{"use strict";let s;t.d(_,{C:()=>c,R:()=>d});var i=t(25388),n=t(94912),r=t(56511),a=t.n(r),l=t(68449),o=t.n(l);let d=e=>{let{className:_}=e;return(0,i.jsx)("div",{className:_,children:(0,i.jsx)("div",{className:a()(o().loading,"icon"),children:"Loading..."})})};function c(e){let[_,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>(s=setTimeout(()=>{t(!0)},e.delay),()=>clearTimeout(s)),[]),(0,i.jsx)(d,{...e})}},46559:e=>{e.exports={poolEvent__pageWrap:"PoolEvent_poolEvent__pageWrap__SPZu1",poolEvent__backLink:"PoolEvent_poolEvent__backLink__Zk9fM",poolEvent__wrap:"PoolEvent_poolEvent__wrap__mo8AP",poolEvent__header:"PoolEvent_poolEvent__header__2HNbx",fullWidth:"PoolEvent_fullWidth__OPJFH",poolEvent__showMore:"PoolEvent_poolEvent__showMore__MDuQE",icon:"PoolEvent_icon__1FSH5",open:"PoolEvent_open__vZb4w",poolEvent__info:"PoolEvent_poolEvent__info__eulVa",hide:"PoolEvent_hide__8stGS",poolEvent__prizes:"PoolEvent_poolEvent__prizes__uLtoY",poolEvent__entries:"PoolEvent_poolEvent__entries__MzBsG",short:"PoolEvent_short__PCbrH",poolEvent__question:"PoolEvent_poolEvent__question__tFRxE",sidebarCard__enteredLabel:"PoolEvent_sidebarCard__enteredLabel__TquB2",sidebarCard__time:"PoolEvent_sidebarCard__time__voa4Y",active:"PoolEvent_active__51_sa",sidebarCard__infoText:"PoolEvent_sidebarCard__infoText__pohMN",sidebarCard__bigJackpotLabel:"PoolEvent_sidebarCard__bigJackpotLabel__0O06c",sidebarCard__infoRow:"PoolEvent_sidebarCard__infoRow__KUnKx",sidebarCard__infoLabelJackpot:"PoolEvent_sidebarCard__infoLabelJackpot__t0XzX",sidebarCard__link:"PoolEvent_sidebarCard__link__SCYbb",eventInfo__description:"PoolEvent_eventInfo__description__LpO9A",eventEntries__title:"PoolEvent_eventEntries__title__eKDSs",eventEntries__addBtn:"PoolEvent_eventEntries__addBtn__tOofI",questionMixType__select:"PoolEvent_questionMixType__select__GaBoT",multiplyChoice__select:"PoolEvent_multiplyChoice__select__OeERD",submit__error:"PoolEvent_submit__error__Wbids",submit__btn:"PoolEvent_submit__btn__OMbK3",leaderboard__row:"PoolEvent_leaderboard__row__bqwXV",card:"PoolEvent_card__yZpnn",leaderboard:"PoolEvent_leaderboard__mWbv3",leaderboard__title:"PoolEvent_leaderboard__title__gZoZr",leaderboard__tableHeader:"PoolEvent_leaderboard__tableHeader__tiX3D",submit__stats:"PoolEvent_submit__stats__jqKUS",sidebar__heading:"PoolEvent_sidebar__heading__uX4bI",sidebar__showMoreBtn:"PoolEvent_sidebar__showMoreBtn__wGJ7h"}},46961:e=>{e.exports={eventHeader___settledHeader:"EventHeader_eventHeader___settledHeader__JSb37",eventHeader__heading:"EventHeader_eventHeader__heading__d1Xw9",subHeading:"EventHeader_subHeading__XVBAx",subHeading__value:"EventHeader_subHeading__value__4VTO5",
1subHeading__label:"EventHeader_subHeading__label__mNcYF"}},50687:e=>{e.exports={yourChoice:"YourChoice_yourChoice__4UoQv",yourChoice__title:"YourChoice_yourChoice__title__87JP2",yourChoice__stake:"YourChoice_yourChoice__stake__k7Mlj",yourChoice__totals:"YourChoice_yourChoice__totals__btTcZ"}},57147:e=>{e.exports={eventEntries__title:"EventEntries_eventEntries__title__UCGsf",eventEntries__wrap:"EventEntries_eventEntries__wrap__TGfSw",eventEntries__entries:"EventEntries_eventEntries__entries___8hoY",eventEntries__addBtn:"EventEntries_eventEntries__addBtn__Nn9dv",active:"EventEntries_active__MgwyN",eventEntries__entry:"EventEntries_eventEntries__entry__dpVT5",sidebarCard__enteredLabel:"EventEntries_sidebarCard__enteredLabel__o17RP",sidebarCard__time:"EventEntries_sidebarCard__time__vtUxu",sidebarCard__infoText:"EventEntries_sidebarCard__infoText___IgIp",sidebarCard__bigJackpotLabel:"EventEntries_sidebarCard__bigJackpotLabel__4L6I2",sidebarCard__infoRow:"EventEntries_sidebarCard__infoRow__ah4_p",sidebarCard__infoLabelJackpot:"EventEntries_sidebarCard__infoLabelJackpot__lByAo",sidebarCard__link:"EventEntries_sidebarCard__link__GWaJY",eventInfo__description:"EventEntries_eventInfo__description__ours1",questionMixType__select:"EventEntries_questionMixType__select__rma8q",multiplyChoice__select:"EventEntries_multiplyChoice__select__SG7Qe",submit__error:"EventEntries_submit__error__y6Qe7",submit__btn:"EventEntries_submit__btn__c8tn2",leaderboard__row:"EventEntries_leaderboard__row__prN9B",card:"EventEntries_card__v4A33",poolEvent__header:"EventEntries_poolEvent__header__4hWwQ",leaderboard:"EventEntries_leaderboard__PjBs_",leaderboard__title:"EventEntries_leaderboard__title___Uz_P",leaderboard__tableHeader:"EventEntries_leaderboard__tableHeader__lDgbs",submit__stats:"EventEntries_submit__stats__zGNoE",sidebar__heading:"EventEntries_sidebar__heading__857mc",sidebar__showMoreBtn:"EventEntries_sidebar__showMoreBtn__JQY43"}},58735:e=>{e.exports={table:"CorrectScoreTable_table__LNwfC",table__thEvent:"CorrectScoreTable_table__thEvent__hcbHS",table__th:"CorrectScoreTable_table__th__r7UE5",table__rowTop:"CorrectScoreTable_table__rowTop__csjsq",table__cellEvent:"CorrectScoreTable_table__cellEvent__3mUb_",table__columnTeam:"CorrectScoreTable_table__columnTeam__YCfA_",table__team:"CorrectScoreTable_table__team__LBhY2",table__columnEvent:"CorrectScoreTable_table__columnEvent__LoLSW",table__meta:"CorrectScoreTable_table__meta__2OzZG",table__scoreCell:"CorrectScoreTable_table__scoreCell__dbqcg",scoreBox:"CorrectScoreTable_scoreBox___mrK_",scoreBox__value:"CorrectScoreTable_scoreBox__value__TJoRx",scoreBox__value_hl:"CorrectScoreTable_scoreBox__value_hl__Qp6VA",scoreBox__value_lose:"CorrectScoreTable_scoreBox__value_lose__krLzV",scoreBox__divider:"CorrectScoreTable_scoreBox__divider__qHjbW",resultCell:"CorrectScoreTable_resultCell__3sTzW",resultCell__winIcon:"CorrectScoreTable_resultCell__winIcon__5Hov2",resultCell__loseIcon:"CorrectScoreTable_resultCell__loseIcon__keP9q",resultCell__pendingIcon:"CorrectScoreTable_resultCell__pendingIcon__bjUjd",resultCell__pendingText:"CorrectScoreTable_resultCell__pendingText___pSgc",resultCell__badge:"CorrectScoreTable_resultCell__badge__xkLE1",resultCell__badge_win:"CorrectScoreTable_resultCell__badge_win__YZMIK",resultCell__badge_lose:"CorrectScoreTable_resultCell__badge_lose__Gc4IE"}},62083:(e,_,t)=>{"use strict";t.r(_),t.d(_,{__N_SSP:()=>e0,default:()=>e1});var s,i=t(25388),n=t(8720),r=t(34989),a=t(43599),l=t(94912),o=t(56511),d=t.n(o),c=t(25502),u=t.n(c),b=t(80786),p=t(83674),v=t(84505),m=function(){return(m=Object.assign||function(e){for(var _,t=1,s=arguments.length;t<s;t++)for(var i in _=arguments[t])Object.prototype.hasOwnProperty.call(_,i)&&(e[i]=_[i]);return e}).apply(this,arguments)};function h(e,_){void 0===_&&(_={});var t=_.insertAt;if(e&&"undefined"!=typeof document){var s=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===t&&s.firstChild?s.insertBefore(i,s.firstChild):s.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}h(".styles-module_carousel-base__3keqD {\n width: 100%;\n box-sizing: border-box;
1\n display: flex;\n outline: none;\n position: relative;\n}\n\n.styles-module_item-provider__YgMwz {\n overflow: hidden;\n width: 100%;\n cursor: pointer;\n}\n\n.styles-module_item-container__a8zaY img {\n -webkit-user-select: none;\n user-select: none;\n -webkit-user-drag: none;\n}\n\n.styles-module_item-tracker__3bypy {\n height: 100%;\n display: flex;\n}\n\n.styles-module_carousel-arrow__26sRw {\n z-index: 1;\n}\n"),function(e){e[e.Right=-1]="Right",e[e.Left=1]="Left"}(s||(s={})),function(){function e(e,_){this.arr=e,this.currentIndex=_}e.prototype.next=function(){var e=this.currentIndex,_=this.arr;return this.currentIndex=e<_.length-1?e+1:0,this.current()},e.prototype.prev=function(){var e=this.currentIndex,_=this.arr;return this.currentIndex=e>0&&e<_.length?e-1:_.length-1,this.current()},e.prototype.current=function(){return this.arr[this.currentIndex]}}(),Number.MIN_SAFE_INTEGER,h(".styles-module_carousel-navigation__1g_vs {\n display: flex;\n position: absolute;\n bottom: 0;\n}\n");var x="styles-module_sliding__3T6T6";h(".styles-module_sliderBase__swkx1 {\n width: 100%;\n position: relative;\n}\n\n.styles-module_slider__o0fqa {\n display: flex;\n overflow-x: auto;\n scrollbar-width: none; /* Firefox 64 */\n -ms-overflow-style: none; /* Internet Explorer 11 */\n}\n\n.styles-module_slider__o0fqa::-webkit-scrollbar {\n /** WebKit */\n display: none;\n}\n\n.styles-module_slider__o0fqa > * {\n flex: 0 0 auto;\n}\n\n.styles-module_sliding__3T6T6 > * {\n pointer-events: none;\n}\n");var g={children:[],className:"",leftIcon:null,rightIcon:null,triggerClickOn:3},y=function(e){var _=m(m({},g),e),t=_.children,i=_.className,n=_.leftIcon,r=_.rightIcon,a=_.triggerClickOn,o=(0,l.useRef)(null),d=(0,l.useState)(!1),c=d[0],u=d[1],b=(0,l.useState)({startX:0,scrollLeft:0}),p=b[0],v=b[1],h=function(){var e=o.current;return{left:!!e&&e.scrollLeft>0,right:!!e&&e.scrollWidth>e.scrollLeft+e.offsetWidth}},y=(0,l.useState)(h()),C=y[0],E=y[1],f=function(e){E(h())},j=(0,l.useCallback)(function(e){null!==e&&(Object.defineProperty(o,"current",{value:e}),E(h()),e.addEventListener("scroll",f))},[o,t]),L=function(e){u(!1),E(h()),o.current.classList.remove(x)},N=function(e){k(500,function(e){for(var _,t=o.current,i=e===s.Left?t.scrollLeft+t.offsetWidth:t.scrollLeft,n=0,r=0,a=Array.from(t.children);r<a.length;r++){var l=a[r],d=(_=void 0,_=getComputedStyle(l),l.offsetWidth+(parseInt(_.marginLeft,10)||0)+(parseInt(_.marginRight,10)||0));if((n+=d)>=i){var c=e===s.Left?n-i:d;return(t.offsetWidth-c)*e}}return t.offsetWidth}(e),o.current.scrollLeft)},k=function(e,_,t){for(var s=0,i=0;s<=e;i++)window.setTimeout(w,s,i*_/100+t),s+=e/100},w=function(e){o.current.scrollLeft=e},M=function(e,_,t){return l.createElement("div",{"data-arrow":_,onClick:function(){return N(e)}},null!=t?t:l.createElement("button",null))};return l.createElement("div",{className:"styles-module_sliderBase__swkx1 "+i,"data-testid":"carousel"},C.left&&n&&M(s.Right,"left",n),C.right&&r&&M(s.Left,"right",r),l.createElement("div",{"data-testid":"sliderList",ref:j,onMouseDown:function(e){u(!0),v({startX:e.pageX-o.current.offsetLeft,scrollLeft:o.current.scrollLeft})},onMouseLeave:L,onMouseUp:L,onMouseMove:function(e){if(c){e.preventDefault();var _=e.pageX-o.current.offsetLeft-p.startX;Math.abs(_)>a&&o.current.classList.add(x),o.current.scrollLeft=p.scrollLeft-_}},className:"styles-module_slider__o0fqa"},t))},C=t(8813),E=t(20493),f=t(57147),j=t.n(f);let L=e=>{let{entries:_,maxEntries:t,setSelectedChoices:s,status:n,currentEntry:r,setCurrentEntry:a,isMaxEntriesSettled:l,setBanker:o}=e,{t:c}=(0,E.Ay)();if(1===t)return(0,i.jsx)(i.Fragment,{});let u=l||_.length===t&&!!t,b=(0,i.jsx)("button",{type:"button",className:d()(j().eventEntries__addBtn,!u&&j().active),disabled:u,onClick:()=>{a(null),s({}),o(null)},children:(0,i.jsx)(p.uI,{})}),v=null==_?void 0:_.map((e,_)=>(0,i.jsx)("button",{type:"button",className:d()(j().eventEntries__entry,e===r&&j().active),onClick:()=>{a(e),s({})},children:(0,i.jsx)("span",{children:_+1})},e)),m=n===C.yU?[b,...v]:v;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("span",{className:j().eventEntries__title,children:[c("you-have")," ",_.length]}),(0,i.jsx)("div",{className:j().eventEntries__wrap,children:(0,i.jsx)(y,{children:m})})]})};var N=t(5999),k=t(83901),w=t(46961),M=t.n(w);let T=e=>{let{stats:_}=e,{t}=(0,E.Ay)(),{shortName:s,stake:n,entriesCount:r,prizePoolNet:a,prizeDescriptions:l,bigJackpotPrize:o,status:d,prizeDistributionType:c}=_,u=!!o;return(0,i.jsxs)(i.Fragment,{children:[d===C.l6&&(0,i.jsx)("div",{className:M().eventHeader__header,children:(0,i.jsx)("span",{children:t("settled-pool")})}),(0,i.jsx)(N.D,{className:M().eventHeader__heading,size:"lg",indents:"none",children:s}),(0,i.jsxs)("div",{className:M().subHeading,children:[(0,i.jsxs)("div",{className:M().subHeading__block,children:[(0,i.jsx)("div",{className:M().subHeading__value,children:0===n?(0,i.jsx)("span",{children:t("free-pool-stake")}):(0,i.jsx)(k.N,{children:n})}),(0,i.jsx)("p",{className:M().subHeading__label,children:t("entry-fee")})]}),u&&(0,i.jsxs)("div",{className:M().subHeading__block,children:[(0,i.jsx)(k.N,{className:M().subHeading__value,isJackpot:!0,children:Math.floor(o)}),(0,i.jsx)("p",{className:M().subHeading__label,children:(0,i.jsx)("span",{children:t("win-big-jackpot")})})]}),c!==C.W0&&(0,i.jsxs)("div",{className:M().subHeading__block,children:[(0,i.jsx)(k.N,{className:M().subHeading__value,children:a}),(0,i.jsx)("p",{className:M().subHeading__label,children:u?(0,i.jsx)("span",{children:t("big-jackpot-prize-fund")}):(0,i.jsx)("span",{children:t("prize-fund")})})]}),(0,i.jsxs)("div",{className:M().subHeading__block,children:[(0,i.jsx)("span",{className:M().subHeading__value,children:r}),(0,i.jsx)("p",{className:M().subHeading__label,children:t("entries")})]}),c!==C.W0&&(0,i.jsxs)("div",{className:M().subHeading__block,children:[(0,i.jsx)("span",{className:M().subHeading__value,children:l.length}),(0,i.jsx)("p",{className:M().subHeading__label,children:t("prize-places")})]})]})]})};var S=t(5153),q=t(98597),B=t(94167),P=t(21933),I=t.n(P);let{ipools:{poolInfoLink:Q}}=(0,B.fS)(),H=Q||C.qw,z=e=>{let{stats:_}=e,{descriptionPlain:t,prizeDescriptions:s}=_,{t:n}=(0,E.Ay)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:I().eventInfo__description,children:(0,i.jsx)(q.K,{htmlString:t})}),(null==s?void 0:s.length)!==0&&(0,i.jsx)(S.r,{className:I().eventInfo__tutorialLink,href:H,target:"_blank",children:n("link-to-pool-tc")})]})},A=()=>(0,i.jsx)("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"trophy",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",className:"svg-inline--fa fa-trophy fa-w-18 fa-3x",children:(0,i.jsx)("path",{fill:"currentColor",d:"M552 64H448V24c0-13.3-10.7-24-24-24H152c-13.3 0-24 10.7-24 24v40H24C10.7 64 0 74.7 0 88v56c0 35.7 22.5 72.4 61.9 100.7 31.5 22.7 69.8 37.1 110 41.7C203.3 338.5 240 360 240 360v72h-48c-35.3 0-64 20.7-64 56v12c0 6.6 5.4 12 12 12h296c6.6 0 12-5.4 12-12v-12c0-35.3-28.7-56-64-56h-48v-72s36.7-21.5 68.1-73.6c40.3-4.6 78.6-19 110-41.7 39.3-28.3 61.9-65 61.9-100.7V88c0-13.3-10.7-24-24-24zM99.3 192.8C74.9 175.2 64 155.6 64 144v-16h64.2c1 32.6 5.8 61.2 12.8 86.2-15.1-5.2-29.2-12.4-41.7-21.4zM512 144c0 16.1-17.7 36.1-35.3 48.8-12.5 9-26.7 16.2-41.8 21.4 7-25 11.8-53.6 12.8-86.2H512v16z"})});var W=t(24217),R=t.n(W);let D=e=>{let{stats:_}=e,{prizePoolNet:t,prizeDescriptions:s,prizeDistributionType:n,bigJackpotPrize:r,nonRunnerRule:a}=_,{t:l}=(0,E.Ay)();if(a)return(0,i.jsx)(i.Fragment,{});let o=!!r;return(0,i.jsxs)("div",{className:R().eventPrizes,children:[(0,i.jsxs)("div",{className:R().eventPrizes__title,children:[(0,i.jsx)("p",{className:R().eventPrizes__titleLabel,children:o?(0,i.jsx)("span",{children:l("win-big-jackpot")}):(0,i.jsx)("span",{children:l("prize-fund")})}),(0,i.jsx)(k.N,{className:R().eventPrizes__titleMoney,isJackpot:!0,children:o?Math.floor(r):t})]}),(0,i.jsx)("div",{className:R().eventPrizes__places,children:null==s?void 0:s.map((e,_)=>{let t=_+1,s=t<=3;return(0,i.jsxs)("div",{className:R().eventPrizes__container,children:[n!==C.W0&&s&&(0,i.jsxs)("div",{className:R().eventPrizes__topPlace,children:[(0,i.jsx)(A,{}),(0,i.jsxs)("span",{children:[t,"\xb0"]})]}),n!==C.W0&&!s&&(0,i.jsxs)("div",{className:R().eventPrizes__simplePlace,children:[t,"\xb0"]}),(0,i.jsx)("div",{className:R().eventPrizes__description,children:e})]},t)})})]})};var J=t(68600),O=t.n(J);let F=e=>{let{maxEntries:_}=e,{t}=(0,E.Ay)();return 0===_?(0,i.jsx)(i.Fragment,{}):(0,i.jsxs)("div",{className:O().attention,children:[(0,i.jsx)("div",{className:O().attention__title,children:(0,i.jsx)("span",{children:t("attention")})}),(0,i.jsx)("div",{className:O().attention__text,children:(0,i.jsxs)("span",{children:[t("max-entries-attention"),": ",_]})})]})};var Y=t(30328),V=t(42646),Z=t(12456),U=t.n(Z);let G=e=>{let{isCurrentPlayerRow:_,entriesLength:t,username:s=""}=e,{t:n}=(0,E.Ay)();return _&&t>1?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:U().active,children:s}),(0,i.jsxs)("span",{children:[" + ",t-1," "]}),2===t?(0,i.jsx)("span",{children:n("player")}):(0,i.jsx)("span",{children:n("players")})]}):_&&t<=1?(0,i.jsx)("span",{className:U().active,children:s}):!_&&t>1?(0,i.jsxs)("span",{children:[t," ",n("players")]}):(0,i.jsxs)("span",{children:["1 ",n("player")]})},X=e=>{let{poolId:_,poolStatus:t,hide:s,prizeDistributionType:n}=e,{t:r}=(0,E.Ay)(),{username:a}=(0,V.Py)(),{ranks:l,isTieBreak:o}=(0,Y.XY)(_,t);return(null==l?void 0:l.length)?(0,i.jsxs)("div",{className:d()(U().leaderboard,s&&U().hide),children:[(0,i.jsx)("h4",{className:U().leaderboard__title,children:r("leaderboard")}),o&&(0,i.jsx)("p",{className:U().leaderboard__tieBreak,children:r("pool-is-tiebreak")}),(0,i.jsxs)("div",{className:d()(U().leaderboard__tableHeader,n===C.W0&&U().target),children:[n!==C.W0&&(0,i.jsx)("span",{children:r("pool-leaderboard-place")}),(0,i.jsx)("span",{children:r("pool-leaderboard-player")}),(0,i.jsx)("span",{className:U().leaderboard__pointsHeader,children:r("pool-leaderboard-points")})]}),(0,i.jsx)("div",{className:U().leaderboard__list,children:null==l?void 0:l.map((e,_)=>{let{isCurrentPlayerRow:t,entriesLength:s,totalPoints:l}=e;return(0,i.jsxs)("div",{className:d()(U().leaderboard__row,n===C.W0&&U().target),children:[n!==C.W0&&(0,i.jsx)("div",{className:U().leaderboard__icon,children:_<4?(0,i.jsx)(p.gW,{}):(0,i.jsx)("span",{children:_})}),(0,i.jsx)("span",{className:d()(U().leaderboard__player,t&&U().currentPlayerRow),children:(0,i.jsx)(G,{isCurrentPlayerRow:t,entriesLength:s,username:a})}),(0,i.jsxs)("span",{className:U().leaderboard__score,children:[(0,i.jsx)("span",{children:l.toFixed(0)}),(0,i.jsx)("span",{className:U().leaderboard__points,children:r("points-short")})]})]},_)})})]}):(0,i.jsx)(i.Fragment,{})};var K=t(30571),$=t.n(K);let ee=e=>{let{currentEntryAnswer:_}=e;return(0,i.jsx)("div",{className:$().questionResult,children:_&&(0,i.jsxs)(i.Fragment,{children:[_.result===C.lA&&(0,i.jsx)(p.iW,{className:$().questionResult__green}),_.result===C._G&&(0,i.jsx)(p.gz,{className:$().questionResult__red})]})})};var e_=t(16601),et=t(22957),es=t(6763),ei=t.n(es);let en=e=>{var _,t;let{question:s,currentEntry:n,selectedChoices:r,setSelectedChoices:a,currentEntryAnswer:o,status:c}=e,{answers:u,league:b,cutoffDate:v,questionId:m,description:h}=s,{answerId:x,description:g}=u[0],y=c===C.yU,[E,f]=(0,e_.Zj)(h||g||""),[j,L]=(0,l.useState)(C.F1),[N,k]=(0,l.useState)(C.F1),w=null==(t=r[m])||null==(_=t[0])?void 0:_.value;(0,l.useEffect)(()=>
1{if(n&&o){var e,_,t,s;L(null!=(t=null==(e=o.values)?void 0:e[0])?t:C.F1),k(null!=(s=null==(_=o.values)?void 0:_[1])?s:C.F1);return}if(w){let[e,_]=w.split(",").map(Number);L(Number.isNaN(e)?C.F1:e),k(Number.isNaN(_)?C.F1:_)}else L(C.F1),k(C.F1)},[n,o,w]),(0,l.useEffect)(()=>{y&&!n&&a(e=>({...e,[m]:[{answerId:x,value:"".concat(j,",").concat(N)}]}))},[j,N,m,x,y,n,a]);let M=(e,_)=>{y&&(e===C.Ko?L(e=>Math.min(Math.max(e+_,C.F1),C.jN)):k(e=>Math.min(Math.max(e+_,C.F1),C.jN)))};return(0,i.jsxs)("div",{className:d()(ei().card,!y&&ei().settled),children:[(0,i.jsxs)("div",{className:ei().card__header,children:[(0,i.jsx)("span",{className:ei().card__league,children:b}),(0,i.jsx)("span",{className:ei().card__date,children:(0,et.Yq)(new Date(v),"dd.MM.yyyy")})]}),(0,i.jsxs)("div",{className:ei().card__teams,children:[(0,i.jsx)("div",{className:ei().card__team,children:(0,i.jsx)("span",{className:ei().card__teamName,children:E})}),(0,i.jsxs)("div",{className:ei().card__score,children:[(0,i.jsx)("span",{children:j}),(0,i.jsx)("span",{className:ei().card__scoreSep,children:":"}),(0,i.jsx)("span",{children:N})]}),(0,i.jsx)("div",{className:d()(ei().card__team,ei().away),children:(0,i.jsx)("span",{className:ei().card__teamName,children:f})})]}),(0,i.jsxs)("div",{className:ei().card__controls,children:[(0,i.jsxs)("div",{className:ei().card__btns,children:[(0,i.jsx)("button",{className:ei().card__btn,onClick:()=>M(C.Ko,-1),disabled:!y||!!n||j<=C.F1,children:(0,i.jsx)(p.Wo,{})}),(0,i.jsx)("button",{className:ei().card__btn,onClick:()=>M(C.Ko,1),disabled:!y||!!n||j>=C.jN,children:(0,i.jsx)(p.I$,{})})]}),(0,i.jsx)("span",{className:ei().card__time,children:(0,et.Yq)(new Date(v),"HH:mm")}),(0,i.jsxs)("div",{className:ei().card__btns,children:[(0,i.jsx)("button",{className:ei().card__btn,onClick:()=>M(C.Bw,-1),disabled:!y||!!n||N<=C.F1,children:(0,i.jsx)(p.Wo,{})}),(0,i.jsx)("button",{className:ei().card__btn,onClick:()=>M(C.Bw,1),disabled:!y||!!n||N>=C.jN,children:(0,i.jsx)(p.I$,{})})]})]}),!y&&(0,i.jsx)(ee,{currentEntryAnswer:o})]})};var er=t(58735),ea=t.n(er);let el=e=>{let{top:_,bottom:t,topHighlighted:s,bottomHighlighted:n,topLose:r,bottomLose:a}=e;return(0,i.jsxs)("div",{className:ea().scoreBox,children:[(0,i.jsx)("span",{className:d()(ea().scoreBox__value,s&&ea().scoreBox__value_hl,r&&ea().scoreBox__value_lose),children:_}),(0,i.jsx)("div",{className:ea().scoreBox__divider}),(0,i.jsx)("span",{className:d()(ea().scoreBox__value,n&&ea().scoreBox__value_hl,a&&ea().scoreBox__value_lose),children:t})]})},eo=e=>{let{answer:_}=e;return _&&_.result!==C.Jo&&_.result!==C.AC&&_.result!==C.nI?_.result===C.lA?(0,i.jsxs)("td",{className:ea().resultCell,children:[(0,i.jsx)(p.iW,{className:ea().resultCell__winIcon}),(0,i.jsxs)("span",{className:d()(ea().resultCell__badge,ea().resultCell__badge_win),children:[_.score," pt"]})]}):_.result===C._G?(0,i.jsxs)("td",{className:ea().resultCell,children:[(0,i.jsx)(p.gz,{className:ea().resultCell__loseIcon}),(0,i.jsx)("span",{className:d()(ea().resultCell__badge,ea().resultCell__badge_lose),children:"0 pt"})]}):(0,i.jsx)("td",{className:ea().resultCell}):(0,i.jsxs)("td",{className:ea().resultCell,children:[(0,i.jsx)(p._L,{className:ea().resultCell__pendingIcon}),(0,i.jsx)("span",{className:ea().resultCell__pendingText,children:"Pending"})]})},ed=e=>{let{questions:_,entryAnswers:t}=e;return(0,i.jsxs)("table",{className:ea().table,children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{className:ea().table__thEvent,children:"Event"}),(0,i.jsx)("th",{className:ea().table__th,children:"Total score"}),(0,i.jsx)("th",{className:ea().table__th,children:"Your score"}),(0,i.jsx)("th",{className:ea().table__th,children:"Result"})]})}),(0,i.jsx)("tbody",{children:_.map(e=>{var _,s,n,r,a,o;let{questionId:d,description:c,league:u,cutoffDate:b,answers:p}=e,v=p[0],m=t.find(e=>e.questionId===d),[h,x]=(0,e_.Zj)(c||(null==v?void 0:v.description)||""),g=null==m||null==(_=m.resultValues)?void 0:_[0],y=null==m||null==(s=m.resultValues)?void 0:s[1],E=void 0!==g&&void 0!==y,f=null!=(a=null==m||null==(n=m.values)?void 0:n[0])?a:0,j=null!=(o=null==m||null==(r=m.values)?void 0:r[1])?o:0,L=E&&f===g,N=E&&j===y,k=(null==m?void 0:m.result)===C._G;return(0,i.jsx)(l.Fragment,{children:(0,i.jsxs)("tr",{className:ea().table__rowTop,children:[(0,i.jsxs)("td",{className:ea().table__cellEvent,children:[(0,i.jsxs)("div",{className:ea().table__columnTeam,children:[(0,i.jsx)("div",{className:ea().table__team,children:h}),(0,i.jsx)("div",{className:ea().table__team,children:x})]}),(0,i.jsxs)("div",{className:ea().table__columnEvent,children:[(0,i.jsx)("div",{className:ea().table__meta,children:u}),(0,i.jsx)("div",{className:ea().table__meta,children:(0,et.Yq)(new Date(b),"dd-MM-yyyy HH:mm")}
1)]})]}),(0,i.jsx)("td",{className:ea().table__scoreCell,children:(0,i.jsx)(el,{top:E?g:"-",bottom:E?y:"-"})}),(0,i.jsx)("td",{className:ea().table__scoreCell,children:(0,i.jsx)(el,{top:f,bottom:j,topHighlighted:L,bottomHighlighted:N,topLose:k&&!L,bottomLose:k&&!N})}),(0,i.jsx)(eo,{answer:m})]})},d)})})]})};var ec=t(22397),eu=t.n(ec);let eb=e=>{let{isBanker:_,isPoolOpen:t,currentEntry:s,maxEntriesSelected:n,bankerOnClick:r,isMultiple:a}=e;return(0,i.jsx)("button",{className:d()(a?eu().bankerButton__x2BtnMultiple:eu().bankerButton__x2Btn,_&&eu().active,t&&!s&&!n&&eu().bankerButton__canHover),onClick:r,children:(0,i.jsx)("span",{children:"X2"})})};var ep=t(7952),ev=t.n(ep);let em=e=>{var _,t,s,n,r;let{question:a,maxEntriesSelected:l,currentEntry:o,selectedChoices:c,setSelectedChoices:u,isBankerQuestion:b,setBanker:v,isBanker:m,currentEntryAnswer:h,status:x}=e,{answers:g,league:y,cutoffDate:f,questionId:j}=a,{t:L}=(0,E.Ay)(),N=x===C.l6,k=x===C.yU,w=!k||k&&o?(null==h?void 0:h.id)||"-1":(null==(t=c[j])||null==(_=t[0])?void 0:_.value)||"-1";return(0,i.jsxs)("div",{className:d()(ev().questionMixType__question,m&&k&&ev().big,ev().yesNo,b&&ev().addColumn,!k&&ev().addColumn),children:[(0,i.jsxs)("div",{className:ev().questionMixType__info,children:[(0,i.jsx)("div",{className:ev().questionMixType__infoLeague,children:y}),(0,i.jsxs)("div",{className:ev().questionMixType__infoDate,children:[(0,i.jsxs)("span",{children:[(0,et.Yq)(new Date(f),"dd-MM-yyyy HH:mm")," "]}),m&&(0,i.jsx)("span",{className:ev().questionMixType__banker,children:L("banker")})]}),(0,i.jsxs)("div",{className:ev().questionMixType__infoAnswers,children:[(0,i.jsx)("div",{className:ev().questionMixType__answer,children:null==g||null==(s=g[0])?void 0:s.description}),(0,i.jsx)("div",{className:ev().questionMixType__answer,children:(null==g?void 0:g.length)>2?null==g||null==(n=g[2])?void 0:n.description:null==g||null==(r=g[1])?void 0:r.description})]})]}),(0,i.jsxs)("div",{className:ev().questionMixType__choices,children:[2===g.length&&g.map((e,_)=>{let{score:t,answerId:s}=e,n=(0,e_.ZY)(h,s,j,o,l,c);return(0,i.jsx)("button",{className:d()(ev().questionMixType__choice,k&&n&&ev().active,(null==h?void 0:h.id)===s&&ev().active,k&&!o&&!l&&ev().canHover),onClick:()=>((e,_)=>{u(t=>{let s=structuredClone(t);return e&&Array.isArray(s[j])?(delete s[j],{...s}):{...s,[j]:[{answerId:_,value:_}]}})})(n,s),children:(0,i.jsxs)("div",{className:ev().questionMixType__score,children:[!k&&(0,i.jsx)("span",{className:ev().questionMixType__column,children:0===_?L("win-1"):L("win-2")}),(0,i.jsxs)("span",{className:ev().questionMixType__scoreValue,children:[t," ",L("points-short")]})]})},s)}),(null==g?void 0:g.length)>2&&(0,i.jsxs)("div",{className:ev().questionMixType__selectWrap,children:[(0,i.jsxs)("select",{className:d()(ev().questionMixType__select,"-1"!==w&&ev().active,N&&ev().settle,k&&!o&&!l&&ev().canHover),onChange:e=>{let{value:_}=e.target;u(e=>{if("-1"!==_)return{...e,[j]:[{answerId:_,value:_}]};{let _={...e};return delete _[j],_}})},value:w,disabled:!!o||l||!k,children:[(0,i.jsx)("option",{value:"-1",children:L("select-value")}),g.map(e=>{let{score:_,answerId:t,description:s}=e;return(0,i.jsx)("option",{value:t,children:"".concat(_,"pt - ").concat(s)},t)})]}),(0,i.jsx)(p.rI,{className:d()(ev().questionMixType__selectIcon,"-1"!==w&&ev().active),role:"button"})]})]}),k&&b&&(0,i.jsx)(eb,{isBanker:m,isPoolOpen:k,currentEntry:o,maxEntriesSelected:l,bankerOnClick:()=>{null===o&&v(m?null:j)}}),!k&&(0,i.jsx)(ee,{currentEntryAnswer:h})]})};var eh=t(68799),ex=t.n(eh);let eg=e=>{let{question:_,maxEntriesSelected:t,currentEntry:s,selectedChoices:n,setSelectedChoices:r,isBankerQuestion:a,setBanker:l,isBanker:o,status:c,currentEntryAnswer:u,infoDescription:b}=e,{answers:v,questionId:m,description:h}=_,{t:x}=(0,E.Ay)(),g=c===C.l6,y=c===C.yU,f=(()=>{var e;let _=n[m]?null==(e=n[m][0])?void 0:e.value:"-1",t=(null==u?void 0:u.id)||"-1";return s?t:_})();return(0,i.jsxs)("div",{className:d()(ex().multiplyChoice__question,o&&y&&ex().big,a&&ex().addColumn,!y&&ex().addColumn),children:[(0,i.jsxs)("div",{className:ex().multiplyChoice__info,children:[(0,i.jsxs)("p",{className:ex().multiplyChoice__description,children:[h,o&&!y&&(0,i.jsx)("span",{className:ex().multiplyChoice__banker,children:x("banker")})]}),!!b&&(0,i.jsxs)("div",{className:ex().multiplyChoice__prompt,children:[(0,i.jsx)(p.ai,{}),(0,i.jsx)("div",{className:ex().multiplyChoice__text,children:(0,i.jsx)("span",{children:b})})]})]}),(0,i.jsx)("div",{className:d()(ex().multiplyChoice__choices),children:(null==v?void 0:v.length)&&(0,i.jsxs)("div",{className:ex().multiplyChoice__selectWrap,children:[(0,i.jsxs)("select",{className:d()(ex().multiplyChoice__select,"-1"!==f&&ex().active,g&&ex().settle,y&&!s&&!t&&ex().canHover),onChange:e=>{let _=e.target.value;r(e=>{if("-1"!==_)return{...e,[m]:[{answerId:_,value:_}]};{let _={...e};return delete _[m],_}})},value:f,disabled:!!s||t,children:[(0,i.jsx)("option",{value:"-1",children:x("select-value")}),null==v?void 0:v.map(e=>{let{score:_,answerId:t,description:s}=e;return(0,i.jsx)("option",{value:t,children:"".concat(_,"pt - ").concat(s)},t)})]}),(0,i.jsx)(p.rI,{className:d()(ex().multiplyChoice__selectIcon,"-1"!==f&&ex().active,g&&ex().settle),role:"button"})]})}),y&&a&&(0,i.jsx)(eb,{isBanker:o,isPoolOpen:y,currentEntry:s,maxEntriesSelected:t,bankerOnClick:()=>{null===s&&l(o?null:m)},isMultiple:!0}),!y&&(0,i.jsx)(ee,{currentEntryAnswer:u})]})};var ey=t(73004),eC=t.n(ey);let eE=e=>Math.floor(e.minValue+(e.maxValue-e.minValue)/2),ef=e=>{let{question:_,maxEntriesSelected:t,currentEntry:s,selectedChoices:n,setSelectedChoices:r,status:a,currentEntryAnswer:o,infoDescription:c,isBankerQuestion:u}=e,{answers:b,questionId:v,description:m}=_,h=a===C.yU,[x]=b,{answerId:g}=x,y=(0,e_.ZY)(o,g,v,s,t,n),E=(0,l.useMemo)(()=>{var e,_,t;let i=n[v]?null==(e=n[v][0])?void 0:e.value:eE(x),r=null!=(t=null==o||null==(_=o.values)?void 0:_[0])?t:eE(x);return s?r:i},[s,o,n,v,x]);return(0,i.jsxs)("div",{className:d()(eC().question,u&&eC().addColumn,!h&&eC().addColumn),children:[(0,i.jsxs)("div",{className:eC().question__info,children:[(0,i.jsx)("p",{className:eC().question__infoDescription,children:(0,i.jsx)("span",{children:m})}),!!c&&(0,i.jsxs)("div",{className:eC().question__prompt,children:[(0,i.jsx)(p.ai,{}),(0,i.jsx)("div",{className:eC().question__text,children:(0,i.jsx)("span",{children:c})})]})]}),(0,i.jsx)("div",{className:d()(eC().choices),children:(null==b?void 0:b.length)&&(0,i.jsxs)("div",{className:d()(eC().range,y&&eC().active),children:[(0,i.jsx)("div",{className:d()(eC().range__value,y&&eC().active),children:(0,i.jsx)("span",{children:E})}),(0,i.jsx)("div",{className:eC().range__midline}),(0,i.jsx)("input",{className:d()(eC().range__input,h&&!s&&!t&&eC().canH
1over),type:"range",value:E,min:x.minValue,max:x.maxValue,step:x.step,onChange:e=>{let _=e.target.value;r(e=>({...e,[v]:[{answerId:g,value:_}]}))},disabled:!!s||t})]})}),!h&&(0,i.jsx)(ee,{currentEntryAnswer:o})]})};var ej=t(18658),eL=t.n(ej);let eN=e=>{var _,t,s;let{question:n,maxEntriesSelected:r,currentEntry:a,selectedChoices:l,setSelectedChoices:o,isBankerQuestion:c,setBanker:u,isBanker:b,currentEntryAnswer:p,status:v,isWinDroWin:m,prizeDistributionType:h}=e,{answers:x,league:g,cutoffDate:y,questionId:f}=n,{t:j}=(0,E.Ay)(),L=v===C.yU,N=h===C.W0;return(0,i.jsxs)("div",{className:d()(eL().simpleQuestion__question,b&&L&&eL().big,m?eL().winDroWin:eL().yesNo,c&&eL().addColumn,!L&&eL().addColumn),children:[(0,i.jsxs)("div",{className:eL().simpleQuestion__info,children:[(0,i.jsx)("div",{className:eL().simpleQuestion__infoLeague,children:(0,i.jsx)("span",{children:g})}),(0,i.jsxs)("div",{className:eL().simpleQuestion__infoDate,children:[(0,i.jsxs)("span",{children:[(0,et.Yq)(new Date(y),"dd-MM-yyyy HH:mm")," "]}),b&&(0,i.jsx)("span",{className:eL().simpleQuestion__infoBanker,children:j("banker")})]}),(0,i.jsxs)("div",{className:eL().simpleQuestion__infoAnswers,children:[(0,i.jsx)("div",{className:eL().simpleQuestion__infoAnswer,children:null==x||null==(_=x[0])?void 0:_.description}),(0,i.jsx)("div",{className:eL().simpleQuestion__infoAnswer,children:m?(0,i.jsx)("span",{children:null==x||null==(t=x[2])?void 0:t.description}):(0,i.jsx)("span",{children:null==x||null==(s=x[1])?void 0:s.description})})]})]}),(0,i.jsx)("div",{className:eL().simpleQuestion__choices,children:null==x?void 0:x.map(e=>{let{score:_,answerId:t}=e,s=(0,e_.ZY)(p,t,f,a,r,l);return(0,i.jsx)("button",{className:d()(eL().simpleQuestion__choice,L&&s&&eL().active,(null==p?void 0:p.id)===t&&eL().active,L&&!a&&!r&&eL().canHover),onClick:()=>((e,_)=>{L&&o(t=>{let s=structuredClone(t);if(N)return{...s,[f]:e?[]:[{answerId:_,value:_}]};if(e&&Array.isArray(s[f])){let e=s[f].filter(e=>e.answerId!==_);return 0===e.length?(delete s[f],{...s}):{...s,[f]:e}}return{...s,[f]:[...s[f]||[],{answerId:_,value:_}]}})})(s,t),children:(0,i.jsx)("div",{className:eL().simpleQuestion__score,children:(0,i.jsxs)("span",{className:eL().simpleQuestion__scoreValue,children:[_," ",j("points-short")]})})},t)})}),L&&c&&(0,i.jsx)(eb,{isBanker:b,isPoolOpen:L,currentEntry:a,maxEntriesSelected:r,bankerOnClick:()=>{null===a&&u(b?null:f)}}),!L&&(0,i.jsx)(ee,{currentEntryAnswer:p})]})};var ek=t(200),ew=t.n(ek);let eM=e=>{let{poolType:_,stats:t,isBankerQuestion:s}=e,{status:n,bankerQuestion:r}=t,{t:a}=(0,E.Ay)(),l=n===C.yU;return(0,i.jsxs)("div",{className:d()(ew().questions__headerRow,_===C.oQ&&ew().winDroWin,_===C.Iz&&ew().yesNo,_===C.i_&&ew().mixedType,_===C._Z&&ew().multiChoice,s&&ew().addColumn,!l&&ew().addColumn),children:[(0,i.jsx)("div",{className:ew().questions__titleEvent,children:(0,i.jsx)("span",{children:a("event")})}),(0,i.jsxs)("div",{className:ew().questions__titleAnswers,children:[_===C.oQ&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:ew().questions__column,children:(0,i.jsx)("span",{children:"1"})}),(0,i.jsx)("div",{className:ew().questions__column,children:(0,i.jsx)("span",{children:"X"})}),(0,i.jsx)("div",{className:ew().questions__column,children:(0,i.jsx)("span",{children:"2"})})]}),_===C.Iz&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:ew().questions__column,children:(0,i.jsx)("span",{children:a("win-1")})}),(0,i.jsx)("div",{className:ew().questions__column,children:(0,i.jsx)("span",{children:a("win-2")})})]}),_===C.i_&&(0,i.jsx)("div",{className:ew().questions__column,children:(0,i.jsx)("span",{children:a("answers")})})]}),l&&r&&(0,i.jsx)("div",{className:ew().questions__titlePlus,children:(0,i.jsx)("span",{children:a("el-plus")})})]})},eT=e=>{let{stats:_,question:t,poolType:s,entries:n,selectedChoices:r,setSelectedChoices:a,setBanker:l,currentEntry:o,banker:d,isMaxEntriesSettled:c,entryAnswers:u,prizeDistributionType:b}=e,{status:p,bankerQuestion:v,maxUserEntries:m}=_,{questionId:h,info:x,type:g}=t,y=m!==C.qH&&(!o&&m<=n.length||c),E=null==u?void 0:u.find(e=>e.questionId===h),f=null===o?d===h:E&&1===E.isDouble;return(0,i.jsxs)(i.Fragment,{children:[s===C.oQ&&(0,i.jsx)(eN,{question:t,isBanker:f,currentEntryAnswer:E,maxEntriesSelected:y,currentEntry:o,selectedChoices:r,setSelectedChoices:a,setBanker:l,isBankerQuestion:v,status:p,isWinDroWin:!0,prizeDistributionType:b}),s===C.Iz&&(0,i.jsx)(eN,{question:t,isBanker:f,currentEntryAnswer:E,maxEntriesSelected:y,currentEntry:o,selectedChoices:r,setSelectedChoices:a,setBanker:l,isBankerQuestion:v,status:p,isWinDroWin:!1,prizeDistributionType:b}),s===C.i_&&(0,i.jsx)(em,{question:t,isBanker:f,currentEntryAnswer:E,maxEntriesSelected:y,currentEntry:o,selectedChoices:r,setSelectedChoices:a,setBanker:l,isBankerQuestion:v,status:p}),s===C._Z&&g===C.QY&&(0,i.jsx)(eg,{question:t,maxEntriesSelected:y,selectedChoices:r,setSelectedChoices:a,isBankerQuestion:v,setBanker:l,currentEntryAnswer:E,currentEntry:o,isBanker:f,infoDescription:x,status:p}),s===C._Z&&g===C.vX&&(0,i.jsx)(ef,{question:t,currentEntryAnswer:E,maxEntriesSelected:y,currentEntry:o,selectedChoices:r,setSelectedChoices:a,infoDescription:x,status:p,isBankerQuestion:v}),s===C.AZ&&(0,i.jsx)(en,{question:t,currentEntry:o,selectedChoices:r,setSelectedChoices:a,currentEntryAnswer:E,status:p})]})},eS=e=>{let{stats:_,questions:t,poolType:s,entries:n,selectedChoices:r,setSelectedChoices:a,currentEntry:l,isMaxEntriesSettled:o,banker:d,setBanker:c,entryAnswers:u}=e,b={stats:_,poolType:s,entries:n,selectedChoices:r,setSelectedChoices:a,setBanker:c,banker:d,isMaxEntriesSettled:o,prizeDistributionType:_.prizeDistributionType};return s===C.AZ?_.status!==C.yU||l?(0,i.jsx)(ed,{questions:t,entryAnswers:u}):(0,i.jsx)("div",{className:ew().questions__scoreGrid,children:null==t?void 0:t.map(e=>(0,i.jsx)(eT,{...b,question:e,entryAnswers:u,currentEntry:l},e.questionId))}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(eM,{stats:_,poolType:s,isBankerQuestion:_.bankerQuestion}),null==t?void 0:t.map(e=>(0,i.jsx)(eT,{...b,question:e,entryAnswers:u,currentEntry:l},e.questionId))]})};
1var eq=t(51797),eB=t(76233),eP=t(74057),eI=t(67661),eQ=t(38913),eH=t(90162),ez=t.n(eH);let eA=e=>{let{stats:_,poolType:t,selectedChoices:s,questions:n,entries:r,banker:a,numberOfPermutations:o,isMaxEntriesSettled:c,setSelectedChoices:u,setBanker:p}=e,{stake:v,bankerQuestion:m,maxUserEntries:h,poolId:x}=_,{openAuthModal:g}=(0,eB.Y)(),y=(0,eq.jE)(),{t:f}=(0,E.Ay)(),j=(0,V.o)(),{balances:L}=(0,eI.ty)(),N=(0,eQ.al)(),{mutate:w,isLoading:M}=(0,Y.fj)(),[T,S]=(0,l.useState)(),[q,B]=(0,l.useState)(!1),P=v*o;(0,l.useEffect)(()=>{let e=window.scrollY,_=()=>{let _=window.scrollY;_>e&&_>100?B(!0):B(!1),e=_};return N?window.addEventListener("scroll",_,{passive:!0}):B(!1),()=>{window.removeEventListener("scroll",_)}},[N]);let I=t!==C.AZ&&(Object.keys(s).length<n.length||Object.keys(s).some(e=>0===s[e].length))?f("make-selections"):L<P?f("not-enough-funds"):t!==C.AZ&&m&&!a?f("select-banker"):null,Q=M||!!I||h!==C.qH&&h<r.length+o||c,H=async()=>{try{let e={poolId:x,bankerQuestionId:a,answers:t===C.AZ?n.map(e=>{var _,t,i;let{questionId:n,answers:r}=e,{answerId:a}=r[0],l=null!=(i=null==(t=s[n])||null==(_=t[0])?void 0:_.value)?i:"".concat(C.F1,",").concat(C.F1);return{questionId:n,answerId:a,values:l.split(",").map(Number)}}):(0,e_.oo)(s)};if(L<P)return;w(e,{onSuccess:e=>{var _,t;let s=null==e?void 0:e.data;Array.isArray(null==s?void 0:s.errors)&&(null==s||null==(t=s.errors)||null==(_=t[0])?void 0:_.code)?S(s.errors[0].code):S(void 0),u({}),p(null),y.invalidateQueries([C.Km.poolList,j]),y.invalidateQueries([C.Km.pool,j,x]),y.invalidateQueries([C.Km.entries,j,x])}})}catch(e){console.log("Make entry error")}};return(0,i.jsxs)("div",{className:d()(ez().submit__wrap,q&&ez().menuHidden),children:[(0,i.jsx)("div",{className:ez().submit__title,children:f("your-choice")}),T&&(0,i.jsx)("p",{className:ez().submit__error,children:(0,i.jsx)("span",{children:f("".concat(T,"-error"))})}),(0,i.jsxs)("div",{className:ez().submit__stats,children:[(0,i.jsxs)("div",{className:ez().submit__bets,children:[(0,i.jsxs)("span",{children:[f("number-of-bets"),":"," "]}),(0,i.jsx)("span",{children:o})]}),(0,i.jsxs)("div",{className:ez().submit__money,children:[(0,i.jsxs)("span",{children:[f("total-stake"),":"," "]}),(0,i.jsx)(k.N,{children:P})]})]}),j?(0,i.jsx)(b.$n,{className:ez().submit__btn,onClick:H,disabled:Q,children:(0,i.jsx)("span",{children:I&&!c?I:f("enter-pool")})}):(0,i.jsx)(b.$n,{className:ez().submit__btn,onClick:()=>g(eP.lb),children:(0,i.jsx)("span",{children:f("please-login-to-see-the-content")})})]})};var eW=t(50687),eR=t.n(eW);let eD=e=>{let{numberOfPermutations:_,totalStake:t}=e,{t:s}=(0,E.Ay)();return(0,i.jsxs)("div",{className:eR().yourChoice,children:[(0,i.jsx)("h3",{className:eR().yourChoice__title,children:s("your-choice")}),(0,i.jsxs)("div",{className:eR().yourChoice__stake,children:[s("number-of-bets"),":"," ",(0,i.jsx)("span",{className:eR().yourChoice__totals,children:_})]}),(0,i.jsxs)("div",{className:eR().yourChoice__stake,children:[s("total-stake"),":"," ",(0,i.jsx)(k.N,{className:eR().yourChoice__totals,children:t})]})]})};var eJ=t(62205),eO=t.n(eJ);let eF="leaderboard",eY="questions",eV=e=>{let{questions:_,poolType:t,entries:s,selectedChoices:n,setSelectedChoices:r,currentEntry:a,isMaxEntriesSettled:o,numberOfPermutations:c,banker:u,setBanker:b,stats:p}=e,{stake:v,status:m,maxUserEntries:h,poolId:x,prizeDistributionType:g}=p,{t:y}=(0,E.Ay)(),{data:f}=(0,Y.lm)(a),[j,L]=(0,l.useState)(eY),{ranks:N}=(0,Y.XY)(x,m),k=v*s.length,w=m!==C.yU&&!!(null==N?void 0:N.length);return(0,i.jsxs)("div",{className:d()(eO().eventQuestions__wrap,w&&eO().withLeaderboard,!w&&eO().wrapTable),children:[(0,i.jsx)("div",{className:d()(eO().eventQuestions__questions,j!==eY&&eO().hide,w&&eO().withLeaderboard),children:(0,i.jsx)(eS,{stats:p,questions:_,entries:s,poolType:t,selectedChoices:n,setSelectedChoices:r,currentEntry:a,isMaxEntriesSettled:o,banker:u,setBanker:b,entryAnswers:(null==f?void 0:f.answers)||[]})}),(0,i.jsxs)("div",{className:d()(eO().eventQuestions__stats,w&&eO().withLeaderboard),children:[w&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(eD,{numberOfPermutations:s.length,totalStake:k}),(0,i.jsxs)("div",{className:eO().eventQuestions__tabWrap,children:[(0,i.jsx)("button",{className:d()(eO().eventQuestions__tab,j===eY&&eO().active),onClick:()=>L(eY),children:(0,i.jsx)("span",{children:y("pool-choice")})}),(0,i.jsx)("button",{className:d()(eO().eventQuestions__tab,j===eF&&eO().active),onClick:()=>L(eF),children:(0,i.jsx)("span",{children:y("leaderboard")})})]}),(0,i.jsx)(X,{hide:j!==eF,poolId:x,poolStatus:m,prizeDistributionType:g})]}),!a&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(F,{maxEntries:h}),(0,i.jsx)(eA,{stats:p,poolType:t,selectedChoices:n,setSelectedChoices:r,setBanker:b,questions:_,entries:s,banker:u,numberOfPermutations:c,isMaxEntriesSettled:o})]})]})]})};var eZ=t(46559),eU=t.n(eZ);let eG=e=>{let{questions:_,stats:t,entries:s}=e,{entriesCount:n,status:r,maxUserEntries:a,maxPoolEntries:o}=t,{t:c}=(0,E.Ay)(),[m,h]=(0,l.useState)(!1),[x,g]=(0,l.useState)(null),[y,f]=(0,l.useState)({}),[j,N]=(0,l.useState)(null),k=r===C.l6,w=(0,e_.zj)(_),M=(0,e_.gb)(_,w),S=(0,e_.f)(y,_,w),q=(0,e_.Iu)(s,o,a,n);return(0,l.useEffect)(()=>{r===C.yU?(!s||x&&s.includes(x)||g(null),(null==s?void 0:s.length)&&!x&&q&&g(s[0])):s&&s.length>0&&!s.includes(x)&&g(s[0])},[s,x,q,r]),(0,i.jsxs)("div",{className:eU().poolEvent__pageWrap,children:[(0,i.jsx)(u(),{href:v.ljr,className:eU().poolEvent__backLink,children:"< ".concat(c("back-to-pools-list"))}),(0,i.jsxs)("div",{className:eU().poolEvent__wrap,children:[(0,i.jsxs)("div",{className:d()(eU().poolEvent__header,k&&eU().fullWidth),children:[(0,i.jsx)(T,{stats:t}),(0,i.jsx)(b.$n,{className:eU().poolEvent__showMore,onClick:()=>h(e=>!e),children:(0,i.jsxs)(i.Fragment,{children:[c("show-pool-info"),(0,i.jsx)(p.Vj,{className:d()(eU().icon,m&&eU().open)})]})})]}),(0,i.jsx)("div",{className:d()(eU().poolEvent__info,!m&&eU().hide,k&&eU().fullWidth),children:(0,i.jsx)(z,{stats:t})}),(0,i.jsx)("div",{className:d()(eU().poolEvent__prizes,!m&&eU().hide,k&&eU().fullWidth),children:!k&&(0,i.jsx)(D,{stats:t})}),(0,i.jsx)("div",{className:d()(eU().poolEvent__entries,!m&&eU().short),children:(0,i.jsx)(L,{entries:s,setSelectedChoices:f,status:r,currentEntry:x,setCurrentEntry:g,maxEntries:a,isMaxEntriesSettled:q,setBanker:N})}),(0,i.jsx)("div",{className:eU().poolEvent__question,children:(0,i.jsx)(eV,{stats:t,questions:M,entr
1ies:s,poolType:w,selectedChoices:y,setSelectedChoices:f,currentEntry:x,isMaxEntriesSettled:q,numberOfPermutations:S,banker:j,setBanker:N})})]})]})};var eX=t(61295);let eK=()=>{var e,_,t,s;let{t:n}=(0,E.Ay)(),{currentPoolId:l}=(0,Y.Gj)(),{data:o,status:d}=(0,Y.MU)(l),{data:c}=(0,Y.eQ)(l);return"loading"===d?(0,i.jsx)(r.R,{}):o&&!((null==o||null==(e=o.errors)?void 0:e.length)>0)&&(null==o||null==(_=o.result)?void 0:_.questions)?(0,i.jsx)(eG,{questions:null==o||null==(t=o.result)?void 0:t.questions,stats:null==o||null==(s=o.result)?void 0:s.stats[0],entries:(null==c?void 0:c.ids)||[]}):(0,i.jsx)(a.L,{fullScreen:!0,children:n("wrong-pool")})},e$=e=>{let{seoData:_}=e,{status:t,poolList:s,settledPoolList:n}=(0,Y.nm)();return(0,i.jsx)(eX.$,{poolList:s,settledPoolList:n,isFetchingPoolList:"loading"===t,postIDs:(null==_?void 0:_.postIDs)||[],seoTextData:null==_?void 0:_.textData,children:(0,i.jsx)(eK,{})})};var e0=!0;let e1=e=>{let{seoData:_,isAvailable:t}=e;return t?(0,i.jsx)(e$,{seoData:_}):(0,i.jsx)(n.B,{})}},62205:e=>{e.exports={eventQuestions__wrap:"EventQuestions_eventQuestions__wrap__8R_vn",withLeaderboard:"EventQuestions_withLeaderboard__raEM7",wrapTable:"EventQuestions_wrapTable__R9t22",eventQuestions__questions:"EventQuestions_eventQuestions__questions__8boDM",hide:"EventQuestions_hide__JSbne",eventQuestions__stats:"EventQuestions_eventQuestions__stats__pdq7t",eventQuestions__tabWrap:"EventQuestions_eventQuestions__tabWrap__Ddx7V",eventQuestions__tab:"EventQuestions_eventQuestions__tab__XgQi_",active:"EventQuestions_active__Gjtyj"}},67661:(e,_,t)=>{"use strict";t.d(_,{ms:()=>p,ty:()=>v});var s=t(94912),i=t(50060),n=t(18057),r=t.n(n),a=t(84505),l=t(80196),o=t(42646),d=t(94167),c=t(15574);let{casino:u,sportsbook:b}=(0,d.PC)().balanceRequestFrequency,p=()=>{let{pathname:e}=(0,c.A)(),[_,t]=(0,s.useState)(1e3*b),n=(0,l.W)(),d=(0,s.useCallback)(e=>{let{forced:_}=e;r().get(a.yJ).then(()=>{n(!!_)})},[e,n]),{user:p}=(0,o.Jd)();(0,s.useEffect)(()=>{e.startsWith(a.iCW)?t(1e3*u):t(1e3*b)},[e]);let{data:v,error:m,refetch:h}=(0,i.I)(["balance",null==p?void 0:p.accountId],()=>((e,_)=>e&&_?r().get("".concat(a.A3t,"/").concat(e,"/wallets")):null)(null==p?void 0:p.accountId,null==p?void 0:p.token),{retry:!1,refetchInterval:_,retryOnMount:!1,refetchOnMount:!1,refetchOnWindowFocus:!1});return(null==m?void 0:m.request.status)===401&&d({forced:!0}),{data:v,refetch:h}},v=()=>{let{data:e,refetch:_}=p();if((null==e?void 0:e.status)===200){var t,s,i,n;let r=null==e?void 0:e.data;return{balances:{available_casino_balance:null==r?void 0:r.casinoPlayableAmount,available_sportsbook_bonus:null==r?void 0:r.sportsbookBonusAmount,available_casino_bonus:null==r?void 0:r.casinoBonusAmount,available_cash:null==r||null==(s=r.availableBalance)||null==(t=s.cash)?void 0:t.amount,available_sportsbook_balance:null==r?void 0:r.sportsbookPlayableAmount,available_restricted:null==r||null==(n=r.availableBalance)||null==(i=n.restricted)?void 0:i.amount},balanceFetched:!0,refetch:_}}return{balances:{},balanceFetched:!1,refetch:void 0}}},68449:e=>{e.exports={loading:"Loading_loading__Hso_d",defaultPanelMarket:"Loading_defaultPanelMarket___2aQT",accordion:"Loading_accordion__xfnMZ",newOutcome:"Loading_newOutcome__qirbV",sportsbookLive__carousel:"Loading_sportsbookLive__carousel__r87tn",sportsbookStub:"Loading_sportsbookStub__IvRH8",eventTimerBetslip:"Loading_eventTimerBetslip__MzQB_",sportsmenu:"Loading_sportsmenu__Mspz4",sportsmenu__list:"Loading_sportsmenu__list__36tSy",sportsmenu__listItem:"Loading_sportsmenu__listItem__4AqY2",sportsmenu__regionItem:"Loading_sportsmenu__regionItem__Y8OdV",active:"Loading_active__chRhV",search:"Loading_search__0ihiJ",search__input:"Loading_search__input__LeIOs",search__icon:"Loading_search__icon__jY74l",search__list:"Loading_search__list__IMj0G",search__resultsTitle:"Loading_search__resultsTitle__l_B7S",search__str:"Loading_search__str___8kLJ",cuoponList:"Loading_cuoponList__Enm7k",cuoponList__titleWrap:"Loading_cuoponList__titleWrap__lRE_6",cuoponList__item:"Loading_cuoponList__item__Ff3iw",sportsbook__title:"Loading_sportsbook__title__o5cS5",sportsbook__subtitle:"Loading_sportsbook__subtitle__ilWSo",sportsbook__event:"Loading_sportsbook__event__6Smst",mobileHeading:"Loading_mobileHeading__Rimce",sportPage:"Loading_sportPage__nZRUf",breadcrumbs:"Loading_breadcrumbs__B9aD_",popularLeagues__item:"Loading_popularLeagues__item___0FyX",betslip:"Loading_betslip__967Fw",betslip__tab:"Loading_betslip__tab__xlpA6",betslip__inner:"Loading_betslip__inner__ujYQl",betslip__total:"Loading_betslip__total__f4flU",inReceipt:"Loading_inReceipt__D5zNr",betslip__noBets:"Loading_betslip__noBets__Y1y1F",betslip__noBetsMessageWrap:"Loading_betslip__noBetsMessageWrap__0fYYd",betslip__inputWrap:"Loading_betslip__inputWrap__VU_uV",betslip__totalLabel:"Loading_betslip__totalLabel__zrZtl",betslip__totalValue:"Loading_betslip__totalValue__Wf4yZ",betslip__money:"Lo
1ading_betslip__money__ewq4L",betslip__withBonusInfoWrap:"Loading_betslip__withBonusInfoWrap__bIsHr",betslip__totalInfo:"Loading_betslip__totalInfo__jIV4c",betslip__label:"Loading_betslip__label__Isnnc",betslip__preselectBetBtn:"Loading_betslip__preselectBetBtn__KLH_i",betslip__loading:"Loading_betslip__loading__IKTS3",betslip__panelTitle:"Loading_betslip__panelTitle__0uktf",betslip__multipleTitle:"Loading_betslip__multipleTitle__CRsG9",betslip__multibet:"Loading_betslip__multibet__cIFS3",betslip__selectionInner:"Loading_betslip__selectionInner__seSAu",betslip__betCopyWrap:"Loading_betslip__betCopyWrap__ruR4q",betslip__myBet:"Loading_betslip__myBet__JzdM6",betslip__myBetTitle:"Loading_betslip__myBetTitle__n8rmS",betslip__myBetMoney:"Loading_betslip__myBetMoney__rjkYm",betslip__event:"Loading_betslip__event__2uwWW",betslip__myBetInfo:"Loading_betslip__myBetInfo__J4pln",betslip__myBetMoneyInfo:"Loading_betslip__myBetMoneyInfo__gZIYh",betslip__cashoutBtn:"Loading_betslip__cashoutBtn__hRTEP",betslip__cashoutText:"Loading_betslip__cashoutText__8IUDl",liveHomepage__title:"Loading_liveHomepage__title__3zCgU",liveHomepage__sportBlock:"Loading_liveHomepage__sportBlock__Z9TRh",liveHomepage__sportLink:"Loading_liveHomepage__sportLink__v7RWI",liveEventOutcome:"Loading_liveEventOutcome__sieeV",liveLeague:"Loading_liveLeague__JeVww",liveLeagueNameWrapper:"Loading_liveLeagueNameWrapper__tYGe1",liveEvent:"Loading_liveEvent__ey67G",backLink:"Loading_backLink__myAex",backLink__wrap:"Loading_backLink__wrap__8DU_R",liveSidebar:"Loading_liveSidebar__61ThJ",outcome:"Loading_outcome__pVaho",inBanner:"Loading_inBanner__sbjoP",livePage:"Loading_livePage__gH8M8",liveEventPage__eventInfoTop:"Loading_liveEventPage__eventInfoTop__oIdPw",liveEventPage__noEvent:"Loading_liveEventPage__noEvent__7Zr1U",liveEventPage__tabs:"Loading_liveEventPage__tabs__CzlCC",liveEventPage__tab:"Loading_liveEventPage__tab__iIlMK",liveEventWrapper:"Loading_liveEventWrapper__ZDXe_",score24inLive:"Loading_score24inLive__xO3BB",liveWidget__teams:"Loading_liveWidget__teams__O2Dak",liveWidget__seeAll:"Loading_liveWidget__seeAll__gM6o1",liveRankedEvent__name:"Loading_liveRankedEvent__name__7gQeI",liveRankedEventMarket:"Loading_liveRankedEventMarket__Jl6HL",liveRankedEventOutcomes:"Loading_liveRankedEventOutcomes__3iPnk",liveRankedOutcome:"Loading_liveRankedOutcome__15xD1",liveCalendar__title:"Loading_liveCalendar__title__X2pZD",liveCalendar__data:"Loading_liveCalendar__data__BtdT5",liveCalendar__listItem:"Loading_liveCalendar__listItem__tnxvo",liveCalendar__itemLink:"Loading_liveCalendar__itemLink__6lJhH",liveEventNoMarkets__icon:"Loading_liveEventNoMarkets__icon__DFsQb",liveEventNoMarkets__text:"Loading_liveEventNoMarkets__text__kzfjB",seoTextSportbook:"Loading_seoTextSportbook__Llq2m",shareBets:"Loading_shareBets__u8Thd",outrightTitle:"Loading_outrightTitle__nREw6",betslipLayout:"Loading_betslipLayout__0p1rR",freebetMessage:"Loading_freebetMessage__I3LYG",freebetActivationMessage:"Loading_freebetActivationMessage__Jde_n",freebetToggle:"Loading_freebetToggle__cWU_l",freeBetLabel:"Loading_freeBetLabel__wzuUa",eventBannerWrapper:"Loading_eventBannerWrapper__0tQes",carouselSportsbookBanners:"Loading_carouselSportsbookBanners__qACqL",betslip__header:"Loading_betslip__header__5QPVV",betslip__floatingButton:"Loading_betslip__floatingButton__t_qVj",outcome__columnDescription:"Loading_outcome__columnDescription__haijo",sportsmenu__iconWrap:"Loading_sportsmenu__iconWrap__U6uyb",cuoponList__title:"Loading_cuoponList__title__94VVC",search__eventSearch:"Loading_search__eventSearch__ub5H_",cuoponList__heading:"Loading_cuoponList__heading__ZOxeM",liveEventOutcome__column:"Loading_liveEventOutcome__column__s4bFG",seoTextLive:"Loading_seoTextLive__ThPHE",sportTabs:"Loading_sportTabs__d1wFW",sportTabs__tab:"Loading_sportTabs__tab__CqF7j",sportsbookLive__carouselWrapper:"Loading_sportsbookLive__carouselWrapper__a8eWw",carouselBanners:"Loading_carouselBanners__Z_pLj"}},68600:e=>{e.exports={attention:"Attention_attention__H8YXK",attention__title:"Attention_attention__title__KK2Dp",attention__text:"Attention_attention__text__T4zOo"}},68799:e=>{e.exports={multiplyChoice__question:"MultiplyChoice_multiplyChoice__question___H2dr",big:"MultiplyChoice_big__J1fae",addColumn:"MultiplyChoice_addColumn___ExhN",multiplyChoice__info:"MultiplyChoice_multiplyChoice__info__vo1Hv",multiplyChoice__banker:"MultiplyChoice_multiplyChoice__banker__C_Vlr",multiplyChoice__prompt:"MultiplyChoice_multiplyChoice__prompt__lPOKa",multiplyChoice__text:"MultiplyChoice_multiplyChoice__text__bw4Ad",multiplyChoice__choices:"MultiplyChoice_multiplyChoice__choices__GPT_g",multiplyChoice__selectWrap:"MultiplyChoice_multiplyChoice__selectWrap__ahoWc",multiplyChoice__select:"MultiplyChoice_multiplyChoice__select__UxIqK",active:"MultiplyChoice_active__ykkvu",settle:"MultiplyChoice_settle__EDDIg",canHover:"MultiplyChoice_canHover__GThhV",multiplyChoice__selectIcon:"MultiplyChoice_multiplyChoice__selectIcon___50yo",sidebarCard__enteredLabel:"MultiplyChoice_sidebarCard__enteredLabel__S_u6S",sidebarCard__time:"MultiplyChoice_sidebarCard__time__XCFR6",sidebarCard__infoText:"MultiplyChoice_sidebarCard__infoText__Tyiv0",sidebarCard__bigJackpotLabel:"MultiplyChoice_sidebarCard__bigJackpotLabel__Z2I3B",sidebarCard__infoRow:"MultiplyChoice_sidebarCard__infoRow__LFNTa",sidebarCard__infoLabelJackpot:"MultiplyChoice_sidebarCard__infoLabelJackpot__B1SQd",sidebarCard__link:"MultiplyChoice_sidebarCard__link__Y5Ma_",eventInfo__description:"MultiplyChoice_eventInfo__description__KA6J_",eventEntries__title:"MultiplyChoice_eventEntries__title__MHNmF",eventEntries__addBtn:"MultiplyChoice_eventEntries__addBtn__w9P4Q",questionMixType__select:"MultiplyChoice_questionMixType__select__hvTHN",submit__error:"MultiplyChoice_submit__error__SWydw",submit__btn:"MultiplyChoice_submit__btn__OZPEX",leaderboard__row:"MultiplyChoice_leaderboard__row__NEEo7",card:"MultiplyChoice_card___2e6S",poolEvent__header:"MultiplyChoice_poolEvent__header__i
1xyI2",leaderboard:"MultiplyChoice_leaderboard__VWTnY",leaderboard__title:"MultiplyChoice_leaderboard__title__4oT1k",leaderboard__tableHeader:"MultiplyChoice_leaderboard__tableHeader___hwES",submit__stats:"MultiplyChoice_submit__stats__AuWXA",sidebar__heading:"MultiplyChoice_sidebar__heading__ouFKt",sidebar__showMoreBtn:"MultiplyChoice_sidebar__showMoreBtn__qawK1"}},73004:e=>{e.exports={question:"Range_question__l4Eh3",big:"Range_big__16Nb6",addColumn:"Range_addColumn__T9L9h",question__info:"Range_question__info__q0_4H",question__infoDescription:"Range_question__infoDescription__vr5Ft",question__prompt:"Range_question__prompt__dpa_9",question__text:"Range_question__text__VcsjC",choices:"Range_choices__kKvdF",range:"Range_range__VyZs3",range__value:"Range_range__value__sPd1M",active:"Range_active__OpdG_",range__midline:"Range_range__midline__BHhtC",range__input:"Range_range__input__7YIeJ",canHover:"Range_canHover__iq1_j"}},90162:e=>{e.exports={submit__wrap:"Submit_submit__wrap__npuey",submit__title:"Submit_submit__title__ilNJw",submit__error:"Submit_submit__error__Pjjgo",submit__stats:"Submit_submit__stats__ENk_K",submit__bets:"Submit_submit__bets__YJBe7",submit__money:"Submit_submit__money__lN4Zt",submit__btn:"Submit_submit__btn__ewZqN",menuHidden:"Submit_menuHidden__nVYYO",sidebarCard__enteredLabel:"Submit_sidebarCard__enteredLabel__dwciP",sidebarCard__time:"Submit_sidebarCard__time__kU00O",active:"Submit_active__gbVTK",sidebarCard__infoText:"Submit_sidebarCard__infoText__ksyge",sidebarCard__bigJackpotLabel:"Submit_sidebarCard__bigJackpotLabel__gFg0_",sidebarCard__infoRow:"Submit_sidebarCard__infoRow__JLbp_",sidebarCard__infoLabelJackpot:"Submit_sidebarCard__infoLabelJackpot__fV1Gn",sidebarCard__link:"Submit_sidebarCard__link__uyvpL",eventInfo__description:"Submit_eventInfo__description__edOQs",eventEntries__title:"Submit_eventEntries__title__wZkzD",eventEntries__addBtn:"Submit_eventEntries__addBtn__kP1LR",questionMixType__select:"Submit_questionMixType__select__y3bFK",multiplyChoice__select:"Submit_multiplyChoice__select__91Bbt",leaderboard__row:"Submit_leaderboard__row__XDVUn",card:"Submit_card__w8eoq",poolEvent__header:"Submit_poolEvent__header__Cdoyf",leaderboard:"Submit_leaderboard__6sHPB",leaderboard__title:"Submit_leaderboard__title__ul9sq",leaderboard__tableHeader:"Submit_leaderboard__tableHeader__iZYg9",sidebar__heading:"Submit_sidebar__heading__yb_T9",sidebar__showMoreBtn:"Submit_sidebar__showMoreBtn__qhPj_"}}},e=>{e.O(0,[8260,6723,5997,2071,4180,4993,3020,7144,2571,7170,636,6593,8792],()=>e(e.s=22656)),_N_E=e.O()}]);
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.