;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="2d5a4798-b108-b32f-5e27-40f23d1c67d7")}catch(e){}}(); (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,307060,e=>{"use strict";var t=e.i(843476);e.i(785269);var i=e.i(322831),r=e.i(563745),n=e.i(866796),a=e.i(421417),o=e.i(149721);e.s(["NotAvailableComponent",0,({lang:e,imgWidth:l,imgHeight:s,title:d,subtitle:c,fontSizeTitle:u,fontSizeSubTitle:p})=>{let{t:h}=(0,i.useTranslation)();return(0,t.jsxs)(r.Stack,{sx:{alignItems:"center",justifyContent:"center",gap:2,textAlign:"center",img:{objectFit:"contain",objectPosition:"center"}},children:[(0,t.jsx)(o.FontAwesomeIcon,{icon:a.faBrowser,fontSize:l||117,width:l||117,height:s||97}),(0,t.jsx)(n.Typography,{variant:"h5",sx:{fontSize:u||24,textTransform:"capitalize",lineHeight:"120%"},children:h(d)}),(0,t.jsx)(n.Typography,{variant:"medium",sx:{fontSize:p||14,lineHeight:"120%"},children:h(c)})]})}])},32742,e=>{"use strict";var t=e.i(271645);e.s(["default",0,()=>{(0,t.useLayoutEffect)(()=>{let e=()=>{let e;document.documentElement.style.setProperty("--app-height",(e=navigator.userAgent?.toLowerCase(),/chrome/.test(e)&&/wv/.test(e))?`${window.innerHeight}px`:"100dvh")};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[])}])},415221,e=>{"use strict";var t=e.i(758786);let i=e=>{let r=document.querySelectorAll("#initSdkSport");if(r&&r?.length>0)return r?.length>1&&(r?.forEach(e=>{(0,t.safeRemoveNode)(e)}),i(e)),null;let n=document.createElement("script");n.id="initSdkSport",n.src=`${e?.hostUrl}/assets/sdk/init.js`,n.type="text/javascript",document.body?.appendChild(n)};e.s(["initSportSdk",0,i])},872729,e=>{"use strict";e.i(247167);var t=e.i(271645),i=e.i(207670),r=e.i(519130),n=e.i(952761),a=e.i(942196),o=e.i(940799),l=e.i(210557),s=e.i(75149),d=e.i(535057),c=e.i(594425),u=e.i(126863),p=e.i(540672),h=e.i(319727);function m(e){return(0,h.default)("MuiLink",e)}let f=(0,p.default)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var g=e.i(155242),x=e.i(667239),v=e.i(843476);let y={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},b=(0,o.styled)(u.default,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:i}=e;return[t.root,t[`underline${(0,a.default)(i.underline)}`],"button"===i.component&&t.button]}})((0,s.default)(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:e,ownerState:t})=>"always"===e&&"inherit"!==t.color,style:{textDecorationColor:"var(--Link-underlineColor)"}},{props:({underline:e,ownerState:t})=>"always"===e&&"inherit"===t.color,style:e.colorSpace?{textDecorationColor:e.alpha("currentColor",.4)}:null},...Object.entries(e.palette).filter((0,d.default)()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${f.focusVisible}`]:{outline:"auto"}}}]}))),w=t.forwardRef(function(e,o){let s=(0,c.useDefaultProps)({props:e,name:"MuiLink"}),d=(0,l.useTheme)(),{className:u,color:p="primary",component:h="a",onBlur:f,onFocus:w,TypographyClasses:S,underline:k="always",variant:j="inherit",sx:C,...L}=s,[$,A]=t.useState(!1),I={...s,color:p,component:h,focusVisible:$,underline:k,variant:j},P=(e=>{let{classes:t,component:i,focusVisible:n,underline:o}=e,l={root:["root",`underline${(0,a.default)(o)}`,"button"===i&&"button",n&&"focusVisible"]};return(0,r.default)(l,m,t)})(I);return(0,v.jsx)(b,{color:p,className:(0,i.default)(P.root,u),classes:S,component:h,onBlur:e=>{(0,n.default)(e.target)||A(!1),f&&f(e)},onFocus:e=>{(0,n.default)(e.target)&&A(!0),w&&w(e)},ref:o,ownerState:I,variant:j,...L,sx:[...void 0===y[p]?[{color:p}]:[],...Array.isArray(C)?C:[C]],style:{...L.style,..."always"===k&&"inherit"!==p&&!y[p]&&{"--Link-underlineColor":(({theme:e,ownerState:t})=>{let i=t.color;if("colorSpace"in e&&e.colorSpace){let r=(0,g.getPath)(e,`palette.${i}.main`)||(0,g.getPath)(e,`palette.${i}`)||t.color;return e.alpha(r,.4)}let r=(0,g.getPath)(e,`palette.${i}.main`,!1)||(0,g.getPath)(e,`palette.${i}`,!1)||t.color,n=(0,g.getPath)(e,`palette.${i}.mainChannel`)||(0,g.getPath)(e,`palette.${i}Channel`);return"vars"in e&&n?`rgba(${n} / 0.4)`:(0,x.alpha)(r,.4)})({theme:d,ownerState:I})}}})});e.s(["default",0,w],872729)},940990,e=>{"use strict";var t=e.i(843476),i=e.i(549510),r=e.i(941834),n=e.i(624681);e.i(785269);var a=e.i(322831),o=e.i(563745),l=e.i(866796);let s=({lang:e,data:s})=>{let{t:d}=(0,a.useTranslation)(),c=[...s?.items?.map((a,o)=>(0,t.jsx)(i.AdaptiveButton,{title:d(a?.title||""),varButton:"nextLink",color:"default",variant:"text",size:"small",link:(0,n.isInternalLink)(e,a?.url||""),rel:"noreferrer",sx:{minWidth:"fit-content",p:0},children:(0,t.jsx)(l.Typography,{variant:"small",sx:{maxWidth:{xs:140,md:180,lg:200},textOverflow:"ellipsis",overflow:"hidden"},children:(0,t.jsx)(r.NoSsr,{children:d(a?.title||"")})})},`link-${o}`))||[]];return(0,t.jsx)(o.Stack,{sx:{justifySelf:"center",alignItems:{xs:"flex-start",lg:"center"},justifyContent:{xs:"flex-start",lg:"flex-start"}},children:(0,t.jsxs)(o.Stack,{sx:{minWidth:120,gap:2,alignItems:{xs:"center",lg:"flex-start"}},children:[(0,t.jsx)(l.Typography,{variant:"mediumExtraBold",children:(0,t.jsx)(r.NoSsr,{children:d(s?.title||"")})}),c]})})};e.s(["ColumnMenu",0,s,"FooterMenu",0,({lang:e,data:i})=>(0,t.jsxs)(o.Stack,{className:"footer-menu",sx:{width:1,display:"grid",gridTemplateColumns:{xs:"repeat(2, 1fr)",md:"repeat(4, 1fr)"},rowGap:5,px:2},children:[(0,t.jsx)(s,{lang:e,data:i?.column1}),(0,t.jsx)(s,{lang:e,data:i?.column2}),(0,t.jsx)(s,{lang:e,data:i?.column3}),(0,t.jsx)(s,{lang:e,data:i?.column4})]})])},4080,e=>{"use strict";var t=e.i(843476),i=e.i(563745),r=e.i(551757),n=e.i(624681),a=e.i(383022);e.i(785269);var o=e.i(322831);let l=({lang:e,link:i,img:l})=>{let{t:s}=(0,o.useTranslation)();return(0,t.jsx)(a.NextLink,{title:s("install_app"),target:"_blank",rel:"noreferrer",link:`${i}`,sx:{position:"relative",minWidth:"fit-content",width:"fit-content",height:48,alignItems:"center",justifyContent:"space-between",p:0,gap:2,borderRadius:2,border:"1px solid",borderColor:"grey.100",bgcolor:"grey.50",overflow:"hidden"},children:l&&(0,t.jsx)(r.CustomImg,{className:"card-small-img",src:(0,n.cmsBloblLink)(l),loading:"lazy",style:{height:48,objectFit:"contain",objectPosition:"center"}})})};e.s(["Card",0,l,"InstallApp",0,({lang:e,data:r})=>r&&(r?.android?.url||r?.ios?.url)?(0,t.jsxs)(i.Stack,{dir:"ltr",direction:"row",sx:{gap:2},children:[r?.android?.image?.url&&(0,t.jsx)(l,{lang:e,link:`${r?.android?.url}`,img:r?.android?.image?.url}),r?.ios?.image?.url&&(0,t.jsx)(l,{lang:e,link:`${r?.ios?.url}`,img:r?.ios?.image?.url})]}):null])},403057,e=>{"use strict";var t=e.i(843476),i=e.i(656212),r=e.i(307060),n=e.i(252907),a=e.i(643174),o=e.i(724569),l=e.i(678656),s=e.i(260793),d=e.i(486989),c=e.i(32742),u=e.i(415221),p=e.i(758786),h=e.i(563745),m=e.i(271645);let f=async({lang:e,mode:t,turboStarsConfig:i,playerId:r})=>{a.default.dispatch((0,d.initSportsLoader)());let n=document.getElementById("sportsIframe");(0,p.safeRemoveAllChildren)(n);let o=r||a.default.getState().player.playerId||!1,l=window.location.pathname?.replace(`/${e}/sports`,""),s={mainFrameUrl:decodeURIComponent(`${window.location.origin}/${e}/sports`),host:decodeURIComponent(`${i?.hostUrl}${l}`||`https://stage.sportbook.work${l}`),cid:i?.cuid||"imoon-stage",lang:e,token:o||!1,containerId:"sportsIframe",parent:`${window.location.origin}&customStyles=https://b2cshared.aliencdn.com/stage/files/sportsbook.css`,sub_partner_id:window?.opId||"",allowParentUrlUpdate:!1,..."light"===t?{themeEditorData:"{isLightTheme=true&vars.body-main=%23ffffff&vars.bg-main-layouts=%23ffffff&vars.bg-main-elements=%23ffffff&vars.borders-color=%23c1cadb&vars.bg-active-gradient.0.bg-active-gradient=%233a88a9&vars.bg-active-gradient.1.text-active=%233a88a9&vars.text-lighter=%23000&vars.text-grey.0.text-default=%23004663&vars.text-grey.1.text-highlighted=%23004663}"}:i?.settings?.sportsBookTheme&&{themeEditorData:i?.settings?.sportsBookTheme}};if(window.BetSdk)try{await window.BetSdk?.init(s)}catch(e){}finally{a.default.dispatch((0,d.hideSportsLoader)())}},g=({lang:e})=>(0,t.jsx)(h.Stack,{sx:{position:"absolute",top:0,left:0,width:1,height:1,alignItems:"center",justifyContent:"center",zIndex:5},children:(0,t.jsx)(r.NotAvailableComponent,{lang:e,title:"ooops",subtitle:"not_available"})}),x=({lang:e,sportsLoader:r})=>"NOTAVAILABLE"===r?null:(0,t.jsx)(h.Stack,{sx:{position:"absolute",top:0,left:0,width:1,height:1,alignItems:"center",justifyContent:"center",zIndex:5},children:(0,t.jsx)(i.InProgressComponent,{lang:e,title:r.title,subtitle:r.subTitle})});e.s(["SportsDefault",0,({lang:e,mode:i})=>{let{turboStarsConfig:r}=(0,o.useAppSelector)(s.getSportsSlice),{auth:p,sportsLoader:v}=(0,o.useAppSelector)(d.getUiSlice),{playerId:y}=(0,o.useAppSelector)(l.getPlayerSlice);(0,m.useEffect)(()=>()=>{a.default.dispatch((0,d.initSportsLoader)())},[]),(0,m.useEffect)(()=>{let t=t=>{if("string"==typeof t.data)try{let i=JSON.parse(t.data);if("route"===i.type){let t="/"===i.location?"":i.location;window.location.pathname!==`/${e}/sports${t}`&&history.replaceState({},document.title,`/${e}/sports${t}`)}}catch{}};return window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}},[]);let b=(0,m.useCallback)(()=>{document.getElementById("sportsIframe")?.focus(),window.BetSdk&&void 0!==BetSdk?f({lang:e,mode:i,turboStarsConfig:r,playerId:y}):setTimeout(()=>{b()},3e3)},[e,i,y,r]);return(0,m.useEffect)(()=>{"inProgress"!==p&&r?.hostUrl&&((0,u.initSportSdk)(r),b())},[p,y,r]),(0,c.default)(),(0,t.jsxs)(h.Stack,{sx:{width:1,height:`calc(var(--app-height) - env(safe-area-inset-bottom) - ${n.SizeComponent.navbar}px)`},children:[v&&(0,t.jsx)(x,{lang:e,sportsLoader:v}),"NOTAVAILABLE"===v&&(0,t.jsx)(g,{lang:e}),(0,t.jsx)(h.Stack,{id:"sportsIframe",className:"nonSelect",sx:{width:1,height:1}})]})}])},671511,e=>{e.v(t=>Promise.all(["static/chunks/9b46b90b90435fcf.js"].map(t=>e.l(t))).then(()=>t(273170)))},960792,e=>{e.v(t=>Promise.all(["static/chunks/c7f4e115e1db223f.js"].map(t=>e.l(t))).then(()=>t(817898)))},292485,e=>{e.v(e=>Promise.resolve().then(()=>e(391344)))},135066,e=>{e.v(t=>Promise.all(["static/chunks/ccdbab0da357f4fc.js"].map(t=>e.l(t))).then(()=>t(515104)))},860780,e=>{e.v(t=>Promise.all(["static/chunks/9cf2810af6dae982.js"].map(t=>e.l(t))).then(()=>t(900031)))}]); //# debugId=2d5a4798-b108-b32f-5e27-40f23d1c67d7 //# sourceMappingURL=111512f7f567633c.js.map