1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="451839ad-7537-4d9b-9aa9-4445f9c39c58",e._sentryDebugIdIdentifier="sentry-dbid-451839ad-7537-4d9b-9aa9-4445f9c39c58")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2082],{11046:(e,t,r)=>{r.d(t,{Kr:()=>s,Oe:()=>a,VX:()=>u,hc:()=>l});var n=r(59381);let i=["decimal","percent","american"];function a(e){let t=[...i];return e&&t.push("cents"),t}function u(e){return"cents"===e}function l(e){let{localOddsFormat:t,preferenceOddsFormat:r,isLoggedIn:i,cftcMode:a}=e;if(a&&u(t))return t;let l=u(t)?n.h0:t,s=i&&null!=r?r:l;return"fractional"===s?n.h0:s}function s(e){return u(e)?{localOddsFormat:e}:{localOddsFormat:e,preferenceOddsFormat:e}}},12082:(e,t,r)=>{r.d(t,{CK:()=>g,dH:()=>b,e5:()=>M,eL:()=>H,oY:()=>C,p8:()=>O,tr:()=>L,xb:()=>q,xe:()=>k});var n=r(1521),i=r(40370),a=r(62915),u=r(90177),l=r(95279),s=r(30857);r(9715);var o=r(37745),d=r(74709);r(45335);var c=r(66679),_=r(45751),v=r(25656),f=r(21110),m=r(85199),E=r(54715),h=r(37103),y=r(21080),A=r(34467),I=r(92037),T=r(48716),N=r(78685),p=r(8054),w=r(59381),R=r(36499),S=r(14155);function b(){let e=(0,u.GV)(c.an),t=(0,u.GV)(e=>e.betslip.side),r=(0,n.useRef)([]),i=(0,n.useRef)({}),a=(0,n.useRef)({});return(0,n.useEffect)(()=>{let n=r.current,u=i.current;if(0===n.length&&e.length>0){let t=e[0],r=a.current[t];r&&r.scrollIntoView({behavior:"smooth",block:"nearest"})}else if(n.length>0&&e.length>0){let r=null;for(let t of e)if(!n.includes(t)){r=t;break}if(!r)for(let i of e){let e=t[(0,h.IL)(i)],a=u[i];if(n.includes(i)&&a&&e&&a!==e){r=i;break}}if(r){let e=a.current[r];e&&e.scrollIntoView({behavior:"smooth",block:"nearest"})}}r.current=e;let l={};for(let r of e){let e=t[(0,h.IL)(r)];e&&(l[r]=e)}i.current=l},[e,t]),{assignRef:(0,n.useCallback)((e,t)=>{a.current[t]=e},[])}}function g(e){let t=(0,A.A)(e),r=(0,u.GV)((0,n.useMemo)(()=>(0,i.Mz)((0,c.Iy)(e),e=>e),[e]));return{...t,side:r}}function H(e){let t=(0,n.useMemo)(()=>(0,i.Mz)(l.AC,s.sv,(t,r)=>{var n,i;let a=r[t[e].market_id],u=(0,T.An)(null==(n=a.market_type)?void 0:n.param,null==(i=a.market_type)?void 0:i.params);return Object.values(r).filter(e=>{var t,r,n,i;let l=(0,T.An)(null==(t=e.market_type)?void 0:t.param,null==(r=e.market_type)?void 0:r.params);return e.event_id===a.event_id&&(null==(n=e.market_type)?void 0:n.name)===(null==(i=a.market_type)?void 0:i.name)&&l===u&&!e.hidden}).flatMap(e=>Object.values(t).filter(t=>t.market_id===e.id&&(0,d.sQ)(t)))},{memoizeOptions:{resultEqualityCheck:a.bK}}),[e]);return(0,u.GV)(t)}function C(e){var t;let r=(0,u.GV)((0,n.useMemo)(()=>(0,c.d0)(e),[e])),i=(0,u.GV)((0,n.useMemo)(()=>(0,c.FN)(e),[e])),a=(0,E.H2)(),{data:l}=(0,m.TF)(),s=null!=(t=(0,m.Fg)("show_backer_stake"))&&t,{data:o}=(0,S.g_)();return(0,n.useMemo)(()=>{let e={};if(!i||!l)return e;let t="buy"===r?i.op:i.bp,n="buy"===r?i.oq:i.bq;if(!t||!n)return e;let u=Math.min(t.length,n.length),d=new _.v(0,a);for(let i=0;i<u;i++){let u=t[i],c=n[i],m=v.Q.fromContracts(c).toStake(s?"buy":r,f.g.fromRaw(u)),E=new _.v(m,(0,N.Rr)(o)).toCurrency(a,l);d=d.add(E),e[u]=d}return e},[i,r,a,l,s,o])}function q(){let[e]=(0,p.hK)("order_mode"),t=(0,R.HI)();return(0,w.Vp)(e,t)}function O(){let{isMobile:e}=(0,o.G)();return(0,R.HI)()&&e}function M(e){var t;let r=(0,E.H2)(),i=(0,m.h8)(),{data:a}=(0,m.gc)(),l=null!=(t=null==a?void 0:a.show_backer_stake)&&t,s=q(),o=(0,u.GV)((0,n.useMemo)(()=>(0,c.Eb)(e,r,i,l,s),[e,r,i,l,s]));return{liability:o,payout:(0,u.GV)((0,n.useMemo)(()=>(0,c.xR)(e,r,i,l,s),[e,r,i,l,s])),profit:(0,u.GV)((0,n.useMemo)(()=>(0,c.tF)(e,r,i,l,s),[e,r,i,l,s]))}}function L(e){let t=(0,u.jL)(),r=(0,m.h8)(),i=q(),a=(0,h.y7)(e).ids[0],s=(0,u.GV)((0,n.useMemo)(()=>(0,l.ph)(a),[a])),o=(0,I.Gy)(a,null!=s?s:"",!!s);(0,n.useEffect)(()=>{t((0,y.Dz)({betKey:e,quote:null!=o?o:void 0,oddsFormat:r,orderMode:i}))},[e,o,r,i,t])}function k(){let e=(0,u.jL)(),t=(0,m.h8)(),r=(0,I.ux)(),i=q();return(0,n.useCallback)(async(n,a,u,l)=>{try{var s;let o=(0,h.IL)(n),d=await r([a],[n]),c=null!=(s=null==d?void 0:d[n])?s:void 0;e((0,y.Dz)({betKey:o,quote:c,oddsFormat:t,orderMode:null!=l?l:i,forceUpdate:u}))}catch(e){}},[t,e,i,r])}},21358:(e,t,r)=>{function n(e){let t,r={},n=0,i=e;function a(){for(let e in r)r[e]()}return{getInterval:()=>i,restart(e){i=null!=e?e:i,clearInterval(t),t=setInterval(a,i)},stop(){clearInterval(t)},subscribe(e){let t=n++;return r[t]=e,()=>{delete r[t]}}}}r.d(t,{L:()=>a,M:()=>i});let i=n(1e3),a=n(5e3)},34467:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(66679),i=r(90177),a=r(40370),u=r(1521);let l=function(e){return(0,i.GV)((0,u.useMemo)(()=>(0,a.Mz)((0,n.oA)(e),(0,n.Zc)(e),(e,t)=>({...e,parentEvent:t})),[e]))}},36499:(e,t,r)=>{r.d(t,{HI:()=>n.useCftcMode});var n=r(55543);r(42662)},37745:(e,t,r)=>{r.d(t,{G:()=>d,default:()=>c});var n=r(73365),i=r(1521);let a={sm:768,md:992,lg:1200},u={isSm:!0,isMd:!0,isLg:!0,isMobile:!0,active:"lg"},l=(0,i.createContext)(u);function s(e){let{children:t,value:r}=e;return(0,n.jsx)(l.Provider,{value:r,children:t})}function o(e){let[t,r]=(0,i.useState)(!1),n=(0,i.useCallback)(e=>{r(e.matches)},[]);return(0,i.useEffect)(()=>{let t=window.matchMedia("(min-width: ".concat(e,"px)"));return t.addEventListener("change",n),t.matches&&r(!0),()=>{t.removeEventListener("change",n)}},[n,e]),t}function d(){let e=(0,i.useContext)(l);
1if(e===u)throw Error("useBreakpoint must be used within BreakpointProvider");return e}let c=function(e){let{children:t}=e,r={isSm:o(a.sm),isMd:o(a.md),isLg:o(a.lg),isMobile:!0,active:"xs"};return r.isSm&&(r.active="sm"),r.isMd&&(r.active="md"),r.isLg&&(r.active="lg"),r.isMobile=!r.isMd&&!r.isLg,(0,n.jsx)(s,{value:r,children:t})}},40498:(e,t,r)=>{r.d(t,{BZ:()=>d,ec:()=>c,E:()=>v,J8:()=>_,V5:()=>T,tR:()=>o,XX:()=>h,HK:()=>l,T:()=>s,fv:()=>y,lq:()=>w,xw:()=>u,aF:()=>f,yS:()=>a,_z:()=>N,AC:()=>I,eu:()=>p,Ug:()=>A,Sw:()=>E,AW:()=>m});var n=r(74548);let i=["deposit","net_deposit"];async function a(e){return(0,n.w)("/v3/password-reset-email/",{method:"post",query:void 0,body:e},!0)}async function u(e,t){return(0,n.w)("/v3/password-reset/".concat(e,"/"),{method:"put",query:void 0,body:{password:t}},!0)}async function l(){return(0,n.w)("/v3/personal/",{method:"get",query:void 0},!0)}async function s(e){return(0,n.w)("/v3/preferences/",{method:"get",query:void 0,signal:e},!0)}async function o(e){return(0,n.w)("/v3/".concat(e,"_limits/"),{method:"get",query:void 0},!0)}async function d(e){return(0,n.w)("/v3/email/",{method:"put",query:void 0,body:e},!0)}async function c(e){return(0,n.w)("/v3/password/",{method:"put",query:void 0,body:e},!0)}async function _(e){let{limitType:t,status:r,interval:a}=e;return a&&i.includes(t)?(0,n.w)("/v3/".concat(t,"_limits/intervals/").concat(a,"/"),{method:"delete",query:{status:r}},!0):(0,n.w)("/v3/".concat(t,"_limits/"),{method:"delete",query:{status:r}},!0)}async function v(e){let{limitType:t,interval:r}=e;return r&&i.includes(t)?(0,n.w)("/v3/".concat(t,"_limits/intervals/").concat(r,"/"),{method:"PATCH",query:void 0,body:{status:"active"}}
1,!0):(0,n.w)("/v3/".concat(t,"_limits/"),{method:"PATCH",query:void 0,body:{status:"active"}},!0)}async function f(e){let{limitType:t,interval:r,totalAllowance:i}=e;return r?(0,n.w)("/v3/".concat(t,"_limits/"),{method:"post",query:void 0,body:{interval:r,total_allowance:i}},!0):(0,n.w)("/v3/".concat(t,"_limits/"),{method:"post",query:void 0,body:{total_allowance:String(i)}},!0)}let m=async e=>{let{queued:t,method:r}=e;return(0,n.w)(t?"/v3/withdrawals/withdrawal_cancel_block/queued/":"/v3/withdrawals/withdrawal_cancel_block/",{method:r,query:void 0},!0)},E=async e=>{switch(e){case"enable":return m({queued:!1,method:"delete"});case"disable":return m({queued:!1,method:"post"});case"cancel_request":return m({queued:!0,method:"delete"});case"confirm_request":return m({queued:!0,method:"post"})}};async function h(){return(0,n.w)("/v3/notifications/subscriptions/",{method:"get",query:void 0},!0)}async function y(e){return(0,n.w)("/v3/notifications/registrations/",{method:"post",query:void 0,body:e},!0)}async function A(e){return(0,n.w)("/v3/preferences/",{method:"put",query:void 0,body:e},!0)}async function I(e){return(0,n.w)("/v3/notifications/subscriptions/",{method:"PATCH",query:void 0,body:e},!0)}async function T(e){return(0,n.w)("/v3/notifications/subscriptions/".concat(e,"/"),{method:"get",query:void 0},!0)}async function N(e,t){return(0,n.w)("/v3/notifications/subscriptions/".concat(e,"/"),{method:"PATCH",query:void 0,body:t},!0)}async function p(e){return(0,n.w)("/v3/personal/",{method:"put",query:void 0,body:e},!0)}async function w(e){return(0,n.w)("/v3/breaks/",{method:"post",query:void 0,body:e},!0)}},42662:(e,t,r)=>{r.d(t,{P:()=>a});var n=r(6347);let i=[r(3160).w7.CFTC];function a(e){return!!(0,n.x)()&&!!e&&i.includes(e)}},46371:(e,t,r)=>{r.d(t,{RQ:()=>i,SE:()=>u,Uy:()=>l,wq:()=>s});let n=["daily","weekly","monthly","yearly"],i=e=>!!e.interval,a=(e,t)=>i(e)&&i(t)?n.indexOf(e.interval)-n.indexOf(t.interval):0,u=e=>!!e.next_reset,l=e=>!!e.remaining_allowance,s=e=>{let t=e.filter(e=>"active"===e.status).sort(a),r=e.filter(e=>"queued"===e.status);if(!r.length)return t.map(e=>({active:e}));if(1===r.length&&1===t.length)return[{active:t[0],queued:r[0]}];let n=[];for(let e of t){let t={active:e};i(e)&&(t.queued=r.find(t=>i(t)&&t.interval===e.interval)),n.push(t)}return n}},48716:(e,t,r)=>{r.d(t,{An:()=>a,P_:()=>i,Q$:()=>u,fe:()=>s,jr:()=>l}),r(75065),r(53458),r(90283),r(99382);let n=new Set(["SIDE","PLAYER_ID"]);function i(e,t){return!(e.length<=1||(null==t?void 0:t.startsWith("PLAYER_")))&&e.every(e=>!isNaN(+e))}function a(e,t){var r;if(t&&"TOTAL"in t)return Object.entries(t).filter(e=>{let[r]=e;return"PLAYER_ID"===r&&!t.PLAYER_NAME||!n.has(r)}).map(e=>{let[t,r]=e;return r}).join(", ");let i=null!=(r=null==t?void 0:t.SET_NUMBER)?r:null==t?void 0:t.INNINGS_NUMBER;return i?i.toUpperCase():e?e.toUpperCase():"DEFAULT"}function u(e){return e.split(",").map(e=>e.trim())}let l=25,s=16},54069:(e,t,r)=>{r.d(t,{AB:()=>o,DisplayedMarketsProvider:()=>s,Gk:()=>d,_J:()=>l});var n=r(73365),i=r(1521);let a=(0,i.createContext)(void 0),u=(0,i.createContext)(!1);function l(e){let{children:t}=e;return(0,n.jsx)(u.Provider,{value:!0,children:t})}function s(e){let{children:t}=e,r=(0,i.useRef)(new Map),[u,l]=(0,i.useState)(0),s=(0,i.useMemo)(()=>{let e=new Set;return r.current.forEach((t,r)=>{t>0&&e.add(r)}),e},[u]),o=(0,i.useCallback)(e=>{let t=r.current,n=t.get(e)||0;t.set(e,n+1),l(e=>e+1)},[]),d=(0,i.useCallback)(e=>{let t=r.current,n=t.get(e)||0;n<=1?t.delete(e):t.set(e,n-1),l(e=>e+1)},[]),c=(0,i.useMemo)(()=>({displayedMarkets:s,registerMarket:o,unregisterMarket:d}),[s,o,d]);return(0,n.jsx)(a.Provider,{value:c,children:t})}function o(){let e=(0,i.useContext)(a);if(!e)throw Error("useDisplayedMarkets must be used within DisplayedMarketsProvider");return e.displayedMarkets}function d(e){let t=(0,i.useContext)(a),r=(0,i.useContext)(u);if(!t)throw Error("useRegisterDisplayedMarket must be used within DisplayedMarketsProvider");let{registerMarket:n,unregisterMarket:l}=t;(0,i.useEffect)(()=>{if(!r&&e)return n(e),()=>{l(e)}},[e,r,n,l])}},55543:(e,t,r)=>{r.d(t,{CftcModeProvider:()=>s,useCftcMode:()=>o});
1var n=r(73365),i=r(1521),a=r(14155),u=r(42662);let l=(0,i.createContext)(!1);function s(e){let{children:t,initialJurisdiction:r}=e,{data:i}=(0,a.g_)({initialJurisdiction:r}),s=(0,u.P)(null!=i?i:r);return(0,n.jsx)(l.Provider,{value:s,children:t})}function o(){return(0,i.useContext)(l)}},85199:(e,t,r)=>{r.d(t,{MS:()=>w,TF:()=>H,WE:()=>S,Fq:()=>R,gA:()=>g,h8:()=>p,CW:()=>b,Fg:()=>N,gc:()=>T,O8:()=>C});var n=r(84689),i=r(24895),a=r(40498),u=r(54148),l=r(77195),s=r(53042),o=r(78685),d=r(74548);async function c(e){let{rate_to_gbp:t}=await (0,d.w)("/v3/currencies/".concat(e,"/"),{method:"get",query:{code:e}},!0),r=Number(t);return Number.isFinite(r)?r:void 0}async function _(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.s4;if(e===(0,o.Rr)(t))return o.zU;try{if(t!==s.w7.CFTC)return await c(e);if(e===l.UM.GBP){let e=await c(l.UM.USD);if(void 0===e)return;return o.zU/e}let r=await c(e);if(void 0===r)return;let n=await c(l.UM.USD);if(void 0===n)return;return r/n}catch(e){return}}var v=r(54715),f=r(46371),m=r(63983),E=r(59381),h=r(8054),y=r(14155),A=r(36499),I=r(11046);function T(){let e=(0,u.tg)();return(0,n.I)({queryKey:[i.O.PREFERENCES],queryFn:e=>{let{signal:t}=e;return(0,a.T)(t)},enabled:e,staleTime:5*m.iW})}function N(e){let{data:t}=T();return null==t?void 0:t[e]}function p(){let e=(0,u.tg)(),t=N("odds_format"),r=(0,A.HI)(),[n]=(0,h.hK)(E.Ss.ODDS_FORMAT,{cftcMode:r});return(0,I.hc)({localOddsFormat:n,preferenceOddsFormat:t,isLoggedIn:e,cftcMode:r})}function w(){let e=(0,u.tg)(),t=N("bet_cta_preference"),[r]=(0,h.hK)(E.Ss.BET_CTA);return e&&null!=t?t:r}function R(){var e;let t=(0,u.tg)(),{data:r,isSuccess:n}=T(),[i]=(0,h.hK)(E.Ss.CONTRACT_LIQUIDITY);return t&&n?null==(e=r.contract_liquidity)||e:i}function S(e,t){let r=(0,u.tg)();return(0,n.I)({queryKey:[i.O.LIMITS,{limitType:e}],queryFn:()=>(0,a.tR)(e),select:e=>(0,f.wq)(e.limits),enabled:r,staleTime:t})}function b(){let e=(0,u.tg)();return(0,n.I)({queryKey:[i.O.PERSONAL],queryFn:()=>(0,a.HK)(),enabled:e})}function g(){let e=(0,u.tg)();return(0,n.I)({queryKey:[i.O.NOTIFICATIONS_SUBSCRIPTIONS],queryFn:()=>(0,a.XX)(),enabled:e})}function H(){let e=(0,v.H2)(),{data:t}=(0,y.g_)();return(0,n.I)({queryKey:[i.O.RATE,e,t],queryFn:()=>_(e,t),staleTime:6e5})}function C(){let e=(0,u.tg)();return(0,n.I)({queryKey:[i.O.WITHDRAWAL_CANCEL_BLOCK],queryFn:()=>Promise.all([(0,a.AW)({queued:!1,method:"get"}),(0,a.AW)({queued:!0,method:"get"})]),select:e=>{var t;return{enabled:!e[0].withdrawal_cancel_block,queued:null!=(t=e[1].expiry)?t:void 0}},enabled:e})}},92037:(e,t,r)=>{r.d(t,{Gy:()=>c,ux:()=>_});var n=r(1521),i=r(15804),a=r(29925),u=r(21358),l=r(12009),s=r(5957),o=r(54069);function d(e,t){var r,n,i,a,u,l,s,o;return(null==e||null==(r=e.op)?void 0:r[0])!==(null==t||null==(n=t.op)?void 0:n[0])||(null==e||null==(i=e.oq)?void 0:i[0])!==(null==t||null==(a=t.oq)?void 0:a[0])||(null==e||null==(u=e.bp)?void 0:u[0])!==(null==t||null==(l=t.bp)?void 0:l[0])||(null==e||null==(s=e.bq)?void 0:s[0])!==(null==t||null==(o=t.bq)?void 0:o[0])}function c(e,t,r){var l,c;let v=arguments.length>3&&void 0!==arguments[3]?arguments[3]:d,f=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"q",{subscribe:m,unsubscribe:E}=(0,i.L3)();(0,o.Gk)(t),(0,n.useEffect)(()=>{if(r){let e={[f]:[t]};return m(e),()=>{E(e)}}},[m,E,t,r,f]);
1let h=(0,a.Uz)(),[y,A]=(0,n.useState)(null==(c=h.current)||null==(l=c.q)?void 0:l[e]),I=(0,s.A)(f),T=(0,n.useCallback)(()=>{A(t=>{var r;let n=null==(r=h.current)?void 0:r.q[e];return I!==f||v(t||void 0,n)?n:t})},[e,h,v,f,I]),N=_();return(0,n.useEffect)(()=>{if(T(),r){N([t],[e]).then(t=>{A(t[e])});let r=u.L.subscribe(T);return()=>{r()}}},[T,r,e,t,f,N]),y}function _(){let{subscribe:e,unsubscribe:t}=(0,i.L3)(),r=(0,a.Uz)(),u=(0,i.vS)();return(0,n.useCallback)((n,i,a)=>new Promise(s=>{(0,l.e)(r.current);let o=i.filter(e=>{var t;return!(null==(t=r.current)?void 0:t.q[e])}),d=new Set(o);if(0===o.length&&!a)return void s(r.current.q);let c={q:n};e(c);let _=setTimeout(f,4e3),v=u(e=>{"c"in e&&"q"===e.c&&(d.delete(String(e.i)),0===d.size&&f())});function f(){(0,l.e)(r.current),s(i.reduce((e,t)=>((0,l.e)(r.current),r.current.q[t]?e[t]=r.current.q[t]:e[t]=null,e),{})),clearTimeout(_),v&&v(),t(c)}}),[u,r,e,t])}},99382:(e,t,r)=>{r.d(t,{kJ:()=>o,W9:()=>s,Zu:()=>d});var n=r(90283);let i={[n.A9.HANDICAP]:"event.market_series.dynamic.pointSpread",[n.A9.REGULAR_TIME_HANDICAP]:"event.market_series.dynamic.regularTimePointSpread",[n.A9.FIRST_QUARTER_HANDICAP]:"event.market_series.dynamic.firstQuarterSpread",[n.A9.SECOND_QUARTER_HANDICAP]:"event.market_series.dynamic.secondQuarterSpread",[n.A9.THIRD_QUARTER_HANDICAP]:"event.market_series.dynamic.thirdQuarterSpread",[n.A9.FOURTH_QUARTER_HANDICAP]:"event.market_series.dynamic.fourthQuarterSpread",[n.A9.HANDICAP_3_WAY]:"event.market_series.dynamic.regularTimePointSpread3Way",[n.A9.WINNER_DNB]:"event.contract_group.dynamic.winner_incl_overtime",[n.A9.WINNER_3_WAY]:"event.market_series.dynamic.regularTimeWinner3Way",[n.A9.ODD_EVEN]:"event.market_series.dynamic.oddEven"},a={[n.A9.HANDICAP]:"event.market_series.dynamic.mapHandicap"},u={[n.tL.FOOTBALL]:{[n.A9.OVER_UNDER]:"event.market_series.dynamic.goalsOU"},[n.tL.AMERICAN_FOOTBALL]:i,[n.tL.BASKETBALL]:i,[n.tL.BASEBALL]:i,[n.tL.ICE_HOCKEY]:i,[n.tL.CALL_OF_DUTY]:a,[n.tL.CSGO]:a,[n.tL.DOTA_2]:a,[n.tL.LEAGUE_OF_LEGENDS]:a,[n.tL.TENNIS]:{[n.A9.HANDICAP]:"event.market_series.dynamic.gameHandicap"}},l={[n.A9.SECOND_HALF_WINNER_3_WAY]:"marketName.SECOND_HALF_WINNER_3_WAY",[n.A9.PLACE]:"excw.marketName.place"},s=(e,t)=>{var r;return(null==(r=u[t])?void 0:r[e])||l[e]};function o(e,t){let r=(e=>{let t=e.replace(/^(FIRST|SECOND|THIRD|FOURTH)_QUARTER_/,"").replace(/_(FIRST|SECOND|THIRD|FOURTH)_QUARTER$/,"").replace(/((_HOME|_AWAY)(_TEAM)?|(HOME_|AWAY_)(TEAM_)?)/g,"").replace(/(^PLAYER_A_|^PLAYER_B_|_A$|_B$)/,"").replace(/(^SET_(ONE|TWO|THREE|FOUR|FIVE|SIX|SEVEN|EIGHT|NINE|TEN|ELEVEN|TWELVE|THIRTEEN)_)/,"SET_X_").replace(/(^(FIRST|SECOND|THIRD|FOURTH|FIFTH|SIXTH|SEVENTH|EIGHTH|NINTH)_INNING_)/,"INNING_X_").replace(/((FIRST|SECOND|EACH)_HALF_)/,"").replace(/_SUPER_SUB/,"");return e.includes("HOME_RUN")?t:t.replace(/((HOME_|AWAY_)(TEAM_)?|(_HOME|_AWAY)(_TEAM)?)/g,"")})(e);return s(r,t)||"marketName.".concat(r)}let d=e=>{let{marketTypeKey:t,homeTeam:r,awayTeam:n,intl:i,param:a}=e,u={},l=t.includes("HOME_RUN");return/(HOME_|^PLAYER_A_|_HOME$|_A$)/.test(t)&&r&&!l&&(u.team=r),/(AWAY_|^PLAYER_B_|_AWAY$|_B$)/.test(t)&&n&&(u.team=n),t.startsWith("FIRST_HALF_")&&(u.timeInterval=i.formatMessage({id:"excw.firstHalf"})),t.startsWith("EACH_HALF_")&&(u.timeInterval=i.formatMessage({id:"excw.eachHalf"})),t.startsWith("SECOND_HALF_")&&(u.timeInterval=i.formatMessage({id:"excw.secondHalf"})),t.startsWith("FIRST_QUARTER_")&&(u.timeInterval=i.formatMessage({id:"excw.firstQuarter"})),t.startsWith("SECOND_QUARTER_")&&(u.timeInterval=i.formatMessage({id:"excw.secondQuarter"})),t.startsWith("THIRD_QUARTER_")&&(u.timeInterval=i.formatMessage({id:"excw.thirdQuarter"})),t.startsWith("FOURTH_QUARTER_")&&(u.timeInterval=i.formatMessage({id:"excw.fourthQuarter"})),void 0!==a&&(u.param=a),t.startsWith("FIRST_INNING_")&&(u.index="1"),t.startsWith("SECOND_INNING_")&&(u.index="2"),t.startsWith("THIRD_INNING_")&&(u.index="3"),t.startsWith("FOURTH_INNING_")&&(u.index="4"),t.startsWith("FIFTH_INNING_")&&(u.index="5"),t.startsWith("SIXTH_INNING_")&&(u.index="6"),t.startsWith("SEVENTH_INNING_")&&(u.index="7"),t.startsWith("EIGHTH_INNING_")&&(u.index="8"),t.startsWith("NINTH_INNING_")&&(u.index="9"),t.startsWith("SET_")&&(t.startsWith("SET_ONE_")&&(u.index="1"),t.startsWith("SET_TWO_")&&(u.index="2"),t.startsWith("SET_THREE_")&&(u.index="3"),t.startsWith("SET_FOUR_")&&(u.index="4"),t.startsWith("SET_FIVE_")&&(u.index="5"),t.startsWith("SET_SIX_")&&(u.index="6"),t.startsWith("SET_SEVEN_")&&(u.index="7"),t.startsWith("SET_EIGHT_")&&(u.index="8"),t.startsWith("SET_NINE_")&&(u.index="9"),t.startsWith("SET_TEN_")&&(u.index="10"),t.startsWith("SET_ELEVEN_")&&(u.index="11"),t.startsWith("SET_TWELVE_")&&(u.index="12"),t.startsWith("SET_THIRTEEN_")&&(u.index="13")),u}}}]);
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.