PageSourceSearch

https://betway.es/es/_next/static/chunks/0f7atyw2_0jp4.js?dpl=dpl-muf9w3os

js betway.es collected 2026-09-24 23:07:52 UTC 24,366 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,960771,e=>{"use strict";var t=e.i(277154),a=e.i(85694),i=e.i(671355),n=e.i(209562),l=e.i(699450),s=e.i(795022),r=e.i(741503),o=e.i(647931),c=e.i(832730),u=e.i(782864),d=e.i(465992);let g=e=>{let{progressPercentage:a,color:i=d.SEMANTIC_SURFACE_ACTION_SECONDARY_DEFAULT,fillColor:n=d.SEMANTIC_SURFACE_SUCCESS,children:l}=e;return(0,t.jsxs)("div",{className:"relative h-[32px] w-[32px]","data-testid":"progress-circle",children:[(0,t.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[(0,t.jsx)("circle",{cx:"16",cy:"16",r:"14.5",fill:"none",stroke:i,strokeWidth:"3px",pathLength:100}),(0,t.jsx)("circle",{cx:"16",cy:"16",r:"14.5",transform:"rotate(-90 16 16)",fill:"none",stroke:n,strokeWidth:"3px",pathLength:100,strokeDasharray:"".concat(a,", 100"),style:{transition:"stroke-dasharray 100ms linear"},"data-testid":"progress-indicator"})]}),(0,t.jsx)("div",{className:"absolute top-0 m-auto h-full w-full content-center",children:l})]})};var S=e.i(807956),I=e.i(853952),_=e.i(792283),m=e.i(773793),E=e.i(58018),h=e.i(573630),p=e.i(613056);let A=(0,h.createCoreAction)("self-exclude",async()=>{try{return await (0,p.selfExclude)(),{status:"OK"}}catch(e){return console.error("Failed to self exclude:",e),{status:"ERROR"}}});e.s(["PanicButton",0,()=>{let e=(0,a.useRef)(null),[h,p]=(0,a.useState)(!1),[f,C]=(0,a.useState)(!1),{track:N}=(0,l.useTrack)(),{t:R}=(0,u.useTranslations)(),T=(0,n.useDispatch)(),{countdown:v,startCountdown:x,stopCountdown:b}=(e=>{let[t,i]=(0,a.useState)(3e3),[n,l]=(0,a.useState)(!1),s=(0,a.useCallback)(()=>{i(3e3),l(!0)},[3e3]),r=(0,a.useCallback)(()=>{l(!1)},[]);return(0,a.useEffect)(()=>{let t;return n&&(t=setInterval(()=>{i(a=>a<=100?(clearInterval(t),l(!1),e(),0):a-100)},100)),()=>{t&&clearInterval(t)}},[n,100,e]),{countdown:t,startCountdown:s,stopCountdown:r}})((0,a.useCallback)(async()=>{let e=await T(A());(null==e?void 0:e.status)==="OK"?(T((0,s.logout)(i.LogoutReason.SelfExcluded)),N(r.selfExclusionSuccessful,{})):T((0,o.createDialog)({type:c.UNEXPECTED_ERROR_DIALOG}))},[T,N])),y=Math.ceil(v/1e3),L=(0,a.useCallback)(()=>{C(!0),x(),p(!0),N(r.panicButtonPressed,{})},[x,N]),G=(0,a.useCallback)(()=>{f&&(C(!1),b(),N(r.panicButtonReleased,{}))},[f,b,N]),M=(0,a.useCallback)(e=>{e.preventDefault()},[]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.Button,{ref:e,variant:"error",size:"xs",onPointerDown:L,onPointerUp:G,onPointerLeave:G,onContextMenu:M,"data-testid":"panic-button",className:"h-3.5",style:{paddingTop:E.PRIMITIVE_SIZING_X0_25,paddingBottom:E.PRIMITIVE_SIZING_X0_25,paddingLeft:E.PRIMITIVE_SIZING_X0_5,paddingRight:E.PRIMITIVE_SIZING_X0_5},children:(0,t.jsx)(S.Text,{variant:"body6",whiteSpace:"pre-line",bold:!0,style:{lineHeight:"normal"},children:R("panicButton.buttonText")})}),h&&(0,t.jsx)(I.FloatingTooltip,{rootElement:document.body,placement:"bottom-start",title:f?void 0:R("panicButton.tooltipTitle"),highlightElement:e.current,offsetOptions:{mainAxis:10,crossAxis:20},onTooltipClosed:()=>{p(!1)},onTooltipClick:()=>{p(!1)},contents:(0,t.jsxs)(_.Stack,{gap:16,vAlign:"center",children:[f&&(0,t.jsx)(g,{progressPercentage:(1-v/3e3)*100,children:(0,t.jsx)(S.Text,{align:"center",color:d.SEMANTIC_TEXT_ON_SURFACE_WARNING,variant:"body4",children:y})}),(0,t.jsx)(S.Text,{variant:"body4","data-testid":"panic-button-message",children:R(f?"panicButton.countdownTooltipMessage":"panicButton.holdTooltipMessage")})]})})]})}],960771)},313861,e=>{"use strict";var t=e.i(277154),a=e.i(85694),i=e.i(699450),n=e.i(926885),l=e.i(94056),s=e.i(438041),r=e.i(414933),o=e.i(832730),c=e.i(385008),u=e.i(782864),d=e.i(777485),g=e.i(807956),S=e.i(773793),I=e.i(58018),_=e.i(465992),m=e.i(670856),E=e.i(652558),h=e.i(485286),p=e.i(637804);e.s(["ActiveSession",0,e=>{let{refetchUntilSessionInactive:A,refetchUntilNextRealityCheck:f}=e,{formattedTime:C}=(0,h.useParallelGameSessionTimer)(),{hasReachedTimeLimit:N,onReminderClosed:R}=(0,E.useParallelGameSessionReminderTimer)(),{nextRealityCheckId:T}=(0,m.useAtomValue)(r.parallelGamingSessionAtom),{t:v}=(0,u.useTranslations)([d.PARALLEL_GAMING_INFO_NS]),{track:x}=(0,i.useTrack)(),[b,y]=(0,a.useState)(!1),{open:L}=(0,c.useDialogTrigger)(o.END_PARALLEL_GAMING_SESSION_DIALOG,{onResult:e=>{"END_SESSION"===e.code&&(x(n.parallelGameSessionEnded,{elapsedSessionTimerTime:C}),A())}}),{open:G}=(0,c.useDialogTrigger)(o.PARALLEL_GAMING_SESSION_REMINDER_DIALOG,{onResult:e=>{if("END_SESSION"===e.data){R(),A();return}R(),f(T)}});return(0,a.useEffect)(()=>{N&&(x(s.parallelGameSessionTimeLimitReached,{elapsedSessionTimerTime:C}),G())},[C,N,G,x]),(0,a.useEffect)(()=>{C===h.DEFAULT_FORMATTED_TIME||b||(x(l.parallelGameSessionStarted,{elapsedSessionTimerTime:C}),y(!0))},[x,C,b]),(0,t.jsxs)("div",{className:"flex items-center gap-1 max-w-[160px]","data-testid":p.ACTIVE_SESSION,children:[(0,t.jsxs)("div",{className:"text-right leading-[1.1]",children:[(0,t.jsx)(g.Text,{className:"leading-none",truncate:!0,variant:"body6",color:_.SEMANTIC_TEXT_PRIMARY,children:v("activeSession",{ns:d.PARALLEL_GAMING_INFO_NS})}),(0,t.jsx)(g.Text,{className:"leading-none",variant:"body6",color:_.SEMANTIC_TEXT_PRIMARY,children:C})]}),(0,t.jsx)(S.Button,{type:"button",variant:"secondary",size:"xs",onClick:()=>{L()},"data-testid":p.END_SESSION,className:"h-3.5 whitespace-pre-line",style:{paddingTop:I.PRIMITIVE_SIZING_X0_25,paddingBottom:I.PRIMITIVE_SIZING_X0_25,paddingLeft:I.PRIMITIVE_SIZING_X0_5,paddingRight:I.PRIMITIVE_SIZING_X0_5},children:(0,t.jsx)(g.Text,{variant:"body6",whiteSpace:"pre-line",bold:!0,style:{lineHeight:"normal"},children:v("endSession",{ns:d.PARALLEL_GAMING_INFO_NS})})})]})}])},322591,772089,782044,e=>{"use strict";var t=e.i(504405),a=e.i(277154),i=e.i(85694),n=e.i(311960),l=e.i(209562),s=e.i(699450),r=e.i(28617),o=e.i(30772),c=e.i(414933),u=e.i(832730),d=e.i(385008),g=e.i(789469),S=e.i(314551),I=e.i(670856),_=e.i(773928),m=e.i(895400),E=e.i(486776),h=e.i(637804),p=e.i(313861),A=e.i(782864),f=e.i(777485),C=e.i(807956),N=e.i(206057),R=e.i(465992),T=e.i(531614),v=e.i(371133),x=e.i(163340),b=e.i(579766),y=e.i(591591);function L(){let e=(0,t._)(["\n  line-height: 1.1;\n  text-align: end;\n  padding-top: 5px;\n  margin-right: 7px;\n"]);return L=function(){return e},e}function G(){let e=(0,t._)(["\n  line-height: unset;\n"]);return G=function(){return e},e}function M(){let e=(0,t._)(["\n  display: flex;\n  align-items: center;\n"]);return M=function(){return e},e}let O=()=>{let{coolOffTimerFormatted:e,isCoolOffPeriodActive:t}=(()=>{let[e,t]=(0,i.useState)("00:00"),[a,n]=(0,i.useState)(!1),{localStorage:l}=(0,b.useStorage)(),{sessionStatus:s,parallelGamingSession:r}=(0,E.useParallelGamingSessionState)(),o=(0,T.useUsername)(),c="".concat(y.PARALLEL_GAME_SESSION_COOL_OFF,"_").concat(o),g=(0,i.useRef)(!1),S=(0,i.useRef)(0),{open:I}=(0,d.useDialogTrigger)(u.PARALLEL_GAMING_SESSION_COOL_OFF_DIALOG),_=(0,i.useCallback)(e=>{let a=Math.max(Math.floor(e%v.MS_IN_HOUR/v.MS_IN_MIN),0),i=Math.max(Math.floor(e%v.MS_IN_MIN/v.MS_IN_SEC),0);t(a.toString().padStart(2,"0")+":"+i.toString().padStart(2,"0"))},[t]),m=(0,i.useCallback)(e=>{g.current=!1,clearInterval(e),l.remove(c),n(!1)},[c,l]),h=(0,i.useCallback)(()=>
1{if(g.current)return;g.current=!0,n(!0);let e=setInterval(()=>{let t=Math.max(0,S.current+(0,v.msFromMin)(5)-Date.now());t<=0?m(e):_(t)},v.MS_IN_SEC)},[m,_]);return(0,i.useEffect)(()=>{if("INACTIVE"===s){let e=l.get(c);(null==e?void 0:e.isUserInCoolOffperiod)&&(S.current=e.startedAt,h())}},[s,h,c,l]),(0,i.useEffect)(()=>{"COOL-OFF"!==s||g.current||(S.current=Date.now(),l.set(c,{isUserInCoolOffperiod:!0,startedAt:S.current}),h())},[s,c,I,h,l]),(0,i.useEffect)(()=>{r===x.ParallelGamingSessionStatus.Cooldown&&I()},[r,I]),(0,i.useEffect)(()=>{("ACTIVE"===s||"RESTRICTED"===s)&&n(!1)},[s]),{coolOffTimerFormatted:e,isCoolOffPeriodActive:a}})(),{t:n}=(0,A.useTranslations)([f.PARALLEL_GAMING_INFO_NS]);return t?(0,a.jsxs)(w,{"data-testid":h.COOL_OFF_SESSION,children:[(0,a.jsxs)(P,{children:[(0,a.jsx)(k,{variant:"body4",color:R.SEMANTIC_TEXT_PRIMARY,children:n("coolOff",{ns:f.PARALLEL_GAMING_INFO_NS})}),(0,a.jsx)(k,{variant:"body4",color:R.SEMANTIC_TEXT_PRIMARY,bold:!0,children:e})]}),(0,a.jsx)(N.default,{size:16})]}):null},P=_.default.div.withConfig({displayName:"parallelGamingCoolOff__TextContainer",componentId:"sc-50059ed-0"})(L()),k=(0,_.default)(C.Text).withConfig({displayName:"parallelGamingCoolOff__TextElement",componentId:"sc-50059ed-1"})(G()),w=_.default.div.withConfig({displayName:"parallelGamingCoolOff__CoolOffContainer",componentId:"sc-50059ed-2"})(M());e.s(["ParallelGamingCoolOff",0,O],772089);var D=e.i(379661);function B(){let e=(0,t._)(["\n  display: flex;\n  max-width: 160px;\n  justify-content: flex-end;\n  align-items: center;\n  text-align: center;\n  gap: 4px;\n"]);return B=function(){return e},e}function F(){let e=(0,t._)(["\n  padding-top: 2px;\n"]);return F=function(){return e},e}let j=()=>{let{t:e}=(0,A.useTranslations)([f.PARALLEL_GAMING_INFO_NS]);return(0,a.jsxs)(U,{"data-testid":h.RESTRICTED_SESSION,children:[(0,a.jsx)(D.default,{size:12}),(0,a.jsx)(V,{variant:"body6",bold:!0,color:R.SEMANTIC_TEXT_PRIMARY,children:e("restrictedGambling",{ns:f.PARALLEL_GAMING_INFO_NS})})]})},U=_.default.div.withConfig({displayName:"restrictedSession__RestrictedGamblingContainer",componentId:"sc-32a5062c-0"})(B()),V=(0,_.default)(C.Text).withConfig({displayName:"restrictedSession__RestrictedGamblingText",componentId:"sc-32a5062c-1"})(F());function W(){let e=(0,t._)([""]);return W=function(){return e},e}e.s(["RestrictedSession",0,j],782044);let Y=_.default.div.withConfig({displayName:"parallelGaming__ParallelGamingContainer",componentId:"sc-d4f1565a-0"})(W());e.s(["ParallelGaming",0,e=>{let{polling:t=!1,interval:_=1e4,onStatusChange:A}=e,{sessionStatus:f,restrictedCounter:C,refetchUntilSessionInactive:N,refetchUntilNextRealityCheck:R}=(0,E.useParallelGamingSessionState)({polling:t,interval:_}),T=(0,n.useLoggedIn)(),{lastKnownLobby:v}=(0,I.useAtomValue)(c.parallelGamingSessionAtom),x=(0,S.useSubBrand)(),b=(0,l.useDispatch)(),{open:y}=(0,d.useDialogTrigger)(u.RESTRICTED_GAMBLING_DIALOG);(0,m.useParallelGamingSessionInactivityWatcher)({sessionStatus:f,isLoggedIn:T});let{track:L}=(0,s.useTrack)();return((0,i.useEffect)(()=>{"RESTRICTED"===f&&(L(r.parallelGameSessionRestricted,{}),y())},[f,y,C,L]),(0,i.useEffect)(()=>{(async()=>{if(A&&A(f),"ACTIVE"===f){let e=await b((0,o.lobbySwitchingChecks)({destinationLobby:x}));(null==e?void 0:e.canNavigate)||v==x||b((0,g.goToLobby)({lobby:null!=v?v:x,args:{passLobbySwitchingChecks:!0}}))}})()},[f,b,x,A]),T)?(0,a.jsxs)(Y,{"data-testid":h.PARALLEL_GAMING_CONTAINER,children:["ACTIVE"===f&&(0,a.jsx)(p.ActiveSession,{refetchUntilSessionInactive:N,refetchUntilNextRealityCheck:R}),"RESTRICTED"===f&&(0,a.jsx)(j,{}),(0,a.jsx)(O,{})]}):null}],322591)},652558,485286,e=>{"use strict";var t=e.i(320778),a=e.i(984622),i=e.i(85694),n=e.i(414933),l=e.i(670856),s=e.i(48649),r=e.i(486776),o=e.i(591591),c=e.i(579766);e.s(["useParallelGameSessionReminderTimer",0,()=>{let{Active:e,ServerTime:u}=(0,r.useParallelGamingSessionState)(),{nextRealityCheckUtc:d,nextRealityCheckId:g}=(0,l.useAtomValue)(n.parallelGamingSessionAtom),{getStoredReminder:S,storeAcknowledgment:I,clearStoredReminder:_}=(()=>{let{localStorage:e}=(0,c.useStorage)(),t=(0,i.useCallback)(()=>{let t=e.get(o.PARALLEL_GAMING_REMINDER_SHOWN_STORAGE_KEY);if(t)return{realityCheckId:t.realityCheckId,acknowledged:t.acknowledged}},[e]);return{getStoredReminder:t,storeAcknowledgment:(0,i.useCallback)(t=>{e.set(o.PARALLEL_GAMING_REMINDER_SHOWN_STORAGE_KEY,{realityCheckId:t,acknowledged:!0})},[e]),clearStoredReminder:(0,i.useCallback)(()=>{e.remove(o.PARALLEL_GAMING_REMINDER_SHOWN_STORAGE_KEY)},[e])}})(),m=(0,i.useMemo)(()=>(0,s.calculateServerTimeDelta)(null!=u?u:void 0),[u]),[E,h]=(0,i.useState)({pending:void 0,realityCheckId:"",shouldDisplay:!1,userAcknowledged:!1}),p=(0,i.useCallback)((e,t,a)=>{if(!e||t<e||!a)return!1;let i=S();return!((null==i?void 0:i.acknowledged)&&i.realityCheckId===a)},[S]),A=(0,i.useCallback)(()=>{let e=(0,s.parseUtcDate)(d);if(!e)return void h(e=>(0,a._)((0,t._)({},e),{pending:void 0,shouldDisplay:!1}));let i=p(e,(0,s.getAdjustedNow)(m),g);h(n=>(0,a._)((0,t._)({},n),{pending:e,realityCheckId:g,shouldDisplay:i}))},[g,d,m,p]),f=(0,i.useCallback)(()=>
1{if(!E.pending)return;let e=E.realityCheckId||new Date(E.pending).toISOString();h(e=>(0,a._)((0,t._)({},e),{shouldDisplay:!1,userAcknowledged:!0})),I(e)},[E.pending,E.realityCheckId,I]);return(0,i.useEffect)(()=>{if(!e){_(),h({pending:void 0,realityCheckId:"",shouldDisplay:!1,userAcknowledged:!1});return}let i=(0,s.parseUtcDate)(d);h(e=>(0,a._)((0,t._)({},e),{pending:i,realityCheckId:g,userAcknowledged:!1}))},[e,g,d,_]),(0,i.useEffect)(()=>{if(!e)return;let t=setInterval(()=>{A()},1e3);return()=>{clearInterval(t)}},[e,A]),{hasReachedTimeLimit:E.shouldDisplay&&!E.userAcknowledged,onReminderClosed:f}}],652558);var u=e.i(371133);let d="00:00:00";e.s(["DEFAULT_FORMATTED_TIME",0,d,"useParallelGameSessionTimer",0,()=>{let{Active:e,StartedAt:t,ServerTime:a}=(0,r.useParallelGamingSessionState)(),[n,l]=(0,i.useState)(d),s=(0,i.useMemo)(()=>a?new Date(a).getTime()-new Date().getTime():0,[a]),o=new Date(null!=t?t:new Date).getTime(),c=(0,i.useCallback)(()=>{let e=new Date().getTime()-o+s,t=Math.floor(e%u.MS_IN_DAY/u.MS_IN_HOUR),a=Math.floor(e%u.MS_IN_HOUR/u.MS_IN_MIN),i=Math.floor(e%u.MS_IN_MIN/u.MS_IN_SEC);l(t.toString().padStart(2,"0")+":"+a.toString().padStart(2,"0")+":"+i.toString().padStart(2,"0"))},[o,s]);return(0,i.useEffect)(()=>{if(!e)return;let t=setInterval(()=>{c()},1e3);return()=>{clearInterval(t)}},[c,e]),{formattedTime:n}}],485286)},895400,e=>{"use strict";var t=e.i(85694),a=e.i(671355),i=e.i(209562),n=e.i(737249),l=e.i(384711),s=e.i(795022),r=e.i(304495),o=e.i(495570),c=e.i(832730),u=e.i(385008),d=e.i(994405);e.s(["useParallelGamingSessionInactivityWatcher",0,e=>{let{sessionStatus:g,isLoggedIn:S}=e,{open:I}=(0,u.useDialogTrigger)(c.PARALLEL_GAMING_INACTIVITY_DIALOG),{open:_}=(0,u.useDialogTrigger)(c.INACTIVITY_TIMEOUT_DIALOG),{inactivityTimeoutMs:m}=(0,o.useConfigValue)(r.SessionConfig_ParallelGaming),E=(0,n.useCapiClient)(),h=(0,i.useDispatch)(),p=(0,t.useRef)(void 0),A=(0,t.useRef)(g),f=(0,t.useRef)(S);A.current=g,f.current=S;let C=(0,t.useCallback)(async()=>{var e;null==(e=p.current)||e.cancel(),f.current&&("ACTIVE"===A.current?(I(),await (0,l.endParallelGamingSessionMethod)(E.request,{})):_(),await h((0,s.logout)(a.LogoutReason.PlayerInactivity)))},[E.request,h,_,I]);(0,t.useEffect)(()=>{if(!S){var e;null==(e=p.current)||e.cancel(),p.current=void 0;return}return p.current=(0,d.waitForUserInactivity)(()=>{C()},m),()=>{var e;null==(e=p.current)||e.cancel(),p.current=void 0}},[m,S])}])},486776,163340,e=>{"use strict";var t,a=e.i(320778),i=e.i(984622),n=e.i(85694),l=e.i(311960),s=e.i(737249),r=e.i(384711),o=e.i(417824),c=e.i(369172),u=e.i(558124),d=e.i(485734),g=e.i(429453),S=((t={})[t.Cooldown=0]="Cooldown",t[t.NotObtainable=1]="NotObtainable",t[t.NotApplicable=2]="NotApplicable",t);let I={[d.BettingErrorCodes.ParallelGamingSessionNotObtainable]:1,[d.BettingErrorCodes.ParallelGamingSessionOnCooldown]:0},_=e=>{let t=(0,c.useSelector)(g.getAllInputStates),a=t.some(e=>e.status===u.BETTING_STATUS.placed),i=(0,n.useMemo)(()=>{var e,a,i,n;return null!=(e=I[null!=(a=null==(n=t.find(e=>{var t;return null==e||null==(t=e.error)?void 0:t.errorCode}))||null==(i=n.error)?void 0:i.errorCode)?a:0])?e:2},[t]);return(0,n.useEffect)(()=>{a&&e()},[e,a]),i};e.s(["ParallelGamingSessionStatus",()=>S,"useParallelGamingSession",0,_],163340);var m=e.i(414933),E=e.i(670856),h=e.i(104895);e.s(["useParallelGamingSessionState",0,function(){var e;let{polling:t=!1,interval:c=1e4}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=(0,l.useLoggedIn)(),d=(0,s.useCapiClient)(),[,g]=(0,E.useAtom)(m.parallelGamingSessionAtom),I=(0,h.useResetAtom)(m.parallelGamingSessionAtom),[p,A]=(0,n.use
1State)("INACTIVE"),[f,C]=(0,n.useState)(0),[N,R]=(0,n.useState)(t),[T,v]=(0,n.useState)(void 0);(0,n.useEffect)(()=>{R(t&&"INACTIVE"===p)},[t,p]);let x=void 0!==T,b=(null!=(e=null==T?void 0:T.attempts)?e:0)>=10,y=(0,n.useCallback)(()=>{v(e=>{if(!e)return e;let t=e.attempts+1;if(!(t>=10))return(0,i._)((0,a._)({},e),{attempts:t})})},[]),{data:L,refetch:G,dataUpdatedAt:M}=(0,o.useQuery)({queryKey:["getParallelGamingSession"],queryFn:async()=>{try{return await (0,r.getParallelGamingSessionMethod)(d.request,{})}finally{y()}},enabled:u,refetchOnWindowFocus:!1,refetchInterval:x&&!b?500:!!N&&c}),O=_(G),P=(0,n.useCallback)(()=>{v({type:"session-inactive",attempts:0}),G()},[G]),k=(0,n.useCallback)(e=>{v({type:"next-reality-check",previousRealityCheckId:e,attempts:0}),G()},[G]);return(0,n.useEffect)(()=>{if(!u){I(),A("INACTIVE"),v(void 0);return}L&&g(e=>{var t,a,i,n,l;return{active:L.Active,nextSportGambleUtc:null!=(t=L.NextSportsGambleAllowedUtc)?t:new Date().toISOString(),nextCasinoGambleUtc:null!=(a=L.NextCasinoGambleAllowedUtc)?a:new Date().toISOString(),nextRealityCheckUtc:null!=(i=L.NextRealityCheckUtc)?i:"",nextRealityCheckId:null!=(n=L.NextRealityCheckId)?n:"",lastKnownLobby:((e,t)=>{if("none"!==t&&null!=t)return e||("sports"===t||"casino"===t?t:void 0)})(e.lastKnownLobby,L.CurrentArea),startedAt:null!=(l=L.StartedAt)?l:void 0}}),(null==L?void 0:L.Active)?A("ACTIVE"):A(e=>"ACTIVE"===e?"COOL-OFF":"INACTIVE")},[L,A,g,u,I]),(0,n.useEffect)(()=>{L&&v(e=>e?("session-inactive"===e.type?!1===L.Active:L.NextRealityCheckId&&L.NextRealityCheckId!==e.previousRealityCheckId)?void 0:e:e)},[L,M]),(0,n.useEffect)(()=>{O===S.NotObtainable?(A("RESTRICTED"),C(e=>e+1)):O===S.Cooldown&&A("SESSION_IN_COOL_OFF")},[O,A]),(0,i._)((0,a._)({},L),{sessionStatus:p,restrictedCounter:f,refetch:G,parallelGamingSession:O,isPolling:N,refetchUntilSessionInactive:P,refetchUntilNextRealityCheck:k})}],486776)},637804,e=>{"use strict";e.s(["ACTIVE_SESSION",0,"active-session","COOL_OFF_SESSION",0,"cool-off-session","END_SESSION",0,"end-session","PARALLEL_GAMING_CONTAINER",0,"parallel-gaming","RESTRICTED_SESSION",0,"restricted-session"])},48649,e=>{"use strict";let t=e=>{if(!e)return;let t=Date.parse(e);return Number.isNaN(t)?void 0:t};e.s(["calculateServerTimeDelta",0,e=>{let a=t(e);return a?a-Date.now():0},"getAdjustedNow",0,e=>Date.now()+e,"parseUtcDate",0,t])},485734,e=>{"use strict";var t,a,i=e.i(46522),n=((t={})[t.GenericBet=200]="GenericBet",t[t.LossLimitReached=201]="LossLimitReached",t[t.WagerLimitReached=202]="WagerLimitReached",t[t.AccountSelfExcluded=203]="AccountSelfExcluded",t[t.LocationInvalid=204]="LocationInvalid",t[t.AccountError=205]="AccountError",t[t.HandicapChanged=206]="HandicapChanged",t[t.PriceChanged=207]="PriceChanged",t[t.EachWayChanged=208]="EachWayChanged",t[t.Suspended=209]="Suspended",t[t.StakeBelowMinimum=210]="StakeBelowMinimum",t[t.StakeAboveMaximum=211]="StakeAboveMaximum",t[t.InsufficientFunds=212]="InsufficientFunds",t[t.InvalidBetSelection=213]="InvalidBetSelection",t[t.RegulatoryError=214]="RegulatoryError",t[t.MaxPayout=215]="MaxPayout",t[t.BetLimitExhausted=216]="BetLimitExhausted",t[t.PlaceBetError=217]="PlaceBetError",t[t.BetslipDoesNotExist=218]="BetslipDoesNotExist",t[t.NoBetsWerePlaced=219]="NoBetsWerePlaced",t[t.NoBetsToPlaced=220]="NoBetsToPlaced",t[t.Closed=221]="Closed",t[t.UnavailableOutcome=222]="UnavailableOutcome",t[t.ParallelGamingSessionNotObtainable=342]="ParallelGamingSessionNotObtainable",t[t.ParallelGamingSessionOnCooldown=343]="ParallelGamingSessionOnCooldown",t),l=((a=l||{})[a.Generic=100]="Generic",a[a.CountryNotAllowed=203]="CountryNotAllowed",a[a.AccountSelfExcluded=204]="AccountSelfExcluded",a[a.AccountDeactivated=205]="AccountDeactivated",a[a.AccountClosed=206]="AccountClosed",a[a.AccountBlackListed=207]="AccountBlackListed",a[a.IpRestrictedRegulatedMarket=209]="IpRestrictedRegulatedMarket",a[a.RestrictedTerritoryAccountCannotAccess=210]="RestrictedTerritoryAccountCannotAccess",a[a.IllegalBetForPlayerJurisdiction=213]="IllegalBetForPlayerJurisdiction",a[a.GenericBet=300]="GenericBet",a[a.HandicapChanged=301]="HandicapChanged",a[a.PriceChanged=302]="PriceChanged",a[a.InvalidCriteria=303]="InvalidCriteria",a[a.ValidationFailed=304]="ValidationFailed",a[a.StakeBelowMinimum=305]="StakeBelowMinimum",a[a.StakeAboveMaximum=306]="StakeAboveMaximum",a[a.InsufficientFunds=308]="InsufficientFunds",a[a.Suspended=310]="Suspended",a[a.EachWayChanged=314]="EachWayChanged",a[a.InvalidSelectionCombination=315]="InvalidSelectionCombination",a[a.InvalidBetSessionId=316]="InvalidBetSessionId",a[a.BetPlacementFailure=318]="BetPlacementFailure",a[a.AllSelectionsHaveResults=321]="AllSelectionsHaveResults",a[a.InvalidSystemBet=323]="InvalidSystemBet",a[a.InvalidSingleBet=324]="InvalidSingleBet",a[a.RegulatoryRejection=325]="RegulatoryRejection",a[a.InsufficientFundsItaly=326]="InsufficientFundsItaly",a[a.MaxPayout=327]="MaxPayout",a[a.BetLimitExhaustedForEvent=328]="BetLimitExhaustedForEvent",a[a.AccountProvisional=329]="AccountProvisional",a[a.DailyLossLimitReached=330]="DailyLossLimitReached",a[a.WeeklyLossLimitReached=331]="WeeklyLossLimitReached",a[a.MonthlyLossLimitReached=332]="MonthlyLossLimitReached",a[a.DailyWagerLimitReached=333]="DailyWagerLimitReached",a[a.WeeklyWagerLimitReached=334]="WeeklyWagerLimitReached",a[a.MonthlyWagerLimitReached=335]="MonthlyWagerLimitReached",a[a.YearlyLossLimitReached=336]="YearlyLossLimitReached",a[a.YearlyWagerLimitReached=337]="YearlyWagerLimitReached",a[a.ParallelGamingSessionNotObtainable=342]="ParallelGamingSessionNotObtainable",a[a.ParallelGamingSessionOnCooldown=343]="ParallelGamingSessionOnCooldown",a);let s=(0,i.createGetError)({100:200,203:204,204:203,205:205,206:205,207:205,209:204,210:204,213:204,300:200,301:206,302:207,303:217,304:217,305:210,306:211,308:212,310:209,314:208,315:213,316:217,318:217,321:213,323:213,324:213,325:214,326:212,327:215,328:216,329:205,330:201,331:201,332:201,333:202,334:202,335:202,336:201,337:202,342:342,343:343},{205:"dux.betting.".concat("account-error"),203:"dux.betting.".concat("account_self_excluded"),216:"dux.betting.".concat("bet_limit_exhausted"),208:"dux.betting.".concat("each_way_changed"),200:"dux.betting.".concat("generic_bet"),206:"dux.betting.".concat("handicap_changed"),212:"dux.betting.".concat("insufficient_funds"),213:"dux.betting.".concat("invalid_bet_selection"),204:"dux.betting.".concat("location_invali
1d"),201:"dux.betting.".concat("loss_limit_reached"),215:"dux.betting.".concat("max_payout"),217:"dux.betting.".concat("place_bet_error"),207:"dux.betting.".concat("price_changed"),214:"dux.betting.".concat("regulatory_error"),211:"dux.betting.".concat("stake_above_maximum"),210:"dux.betting.".concat("stake_below_minimum"),209:"dux.betting.".concat("suspended"),202:"dux.betting.".concat("wager_limit_reached"),218:"dux.betting.".concat("betslip_does_not_exist"),219:"dux.betting.".concat("no_bets_were_placed"),220:"dux.betting.".concat("no_bets_to_placed"),221:"dux.betting.".concat("market_or_event_closed"),222:"dux.betting.".concat("unavailable_outcome"),342:"dux.betting.".concat("parallel_gaming_session_not_obtainable"),343:"dux.betting.".concat("parallel_gaming_session_on_cooldown")});e.s(["BettingErrorCodes",()=>n,"getError",0,s])},235219,e=>{"use strict";var t=e.i(85694),a=e.i(710305),i=e.i(774298),n=e.i(909759);e.s(["useService",0,function(e){let l=(0,n.useCoreServices)(),[s,r]=(0,t.useState)(l.tryGet(e));return(0,a.useIsomorphicLayoutEffect)(()=>(0,i.cancelable)(l.get(e)).then(r).cancel,[l]),s}])},810809,e=>{"use strict";var t=e.i(85694),a=e.i(363254),i=e.i(460445),n=e.i(826172);e.s(["useImageResourceByTheme",0,(e,l,s)=>{let r=(0,n.useResources)(),o=(0,a.useTheme)();return(0,t.useMemo)(()=>{let t=(0,i.getImageResourceSrc)(e,r);if(!t){var a;t=(null==o||null==(a=o.bui)?void 0:a.mode)==="dark"?(0,i.getImageResourceSrc)(s,r):(0,i.getImageResourceSrc)(l,r)}return t},[e,l,s,r,o])}])},206057,e=>{"use strict";var t=e.i(277154);let a=(0,e.i(935531).createSvgIcon)((0,t.jsx)("path",{d:"M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.6 0 12 0zm0 22C6.5 22 2 17.5 2 12S6.5 2 12 2s10 4.5 10 10-4.5 10-10 10zm1-10.4V4c0-.5-.4-1-1-1s-1 .5-1 1v8l.1.4.2.3 4 4c.2.2.4.3.7.3s.5-.1.7-.3c.4-.4.4-1 0-1.4L13 11.6z"}));e.s(["default",0,a])}]);
2
3//# sourceMappingURL=3uaci_f0skpr0.js.map?dpl=dpl-muf9w3os

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.