!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="10d59630-2df4-47e7-9ba1-6cd6ae43f82f",e._sentryDebugIdIdentifier="sentry-dbid-10d59630-2df4-47e7-9ba1-6cd6ae43f82f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8039],{30348:(e,t,r)=>{Promise.resolve().then(r.bind(r,34866))},34866:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(54568),s=r(7620),l=r(97845),a=r(78030);let o=e=>"object"==typeof e&&null!==e&&!0===e.__errorWithState&&"string"==typeof e.themeStyleUrl&&"object"==typeof e.translations&&null!==e.translations,i=e=>{try{let t=JSON.parse(e.message);if(o(t))return t;return}catch(e){return}};var d=r(61841);let c=e=>{if(!e)return d.i.EUROSPORT;switch(!0){case e.includes("tntsports"):return d.i.TNT_SPORTS;case e.includes("ncaa"):return d.i.NCAA;default:return d.i.EUROSPORT}};var m=r(44180),u=r(27567);function f(e){let{error:t}=e,[r,o]=(0,s.useState)();(0,s.useEffect)(()=>{m.Cp(t),o(c(window.location.host))},[t]);let d=i(t);if(d){let e=(0,u.z6)(d.state);return(0,n.jsxs)("html",{lang:e,children:[(0,n.jsx)("head",{children:(0,n.jsx)("meta",{name:"robots",content:"noindex"})}),(0,n.jsx)(a.M,{error:d.error,themeStyleUrl:d.themeStyleUrl,state:d.state,translations:d.translations,environment:d.environment})]})}return(0,n.jsxs)("html",{lang:"en",children:[(0,n.jsx)("head",{children:(0,n.jsx)("meta",{name:"robots",content:"noindex"})}),r?(0,n.jsx)(a.M,{themeStyleUrl:l.C[r],error:l.n}):null]})}},78030:(e,t,r)=>{"use strict";r.d(t,{M:()=>m});var n=r(54568),s=r(9148),l=r(36325),a=r(83811),o=r(4812),i=r(90970),d=r(58476);let c=e=>{let{themeStyleUrl:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("link",{rel:"preload",href:t,as:"style"}),(0,n.jsx)("link",{rel:"stylesheet","data-testid":"theme-style",href:t},"theme-style")]})},m=e=>{let{themeStyleUrl:t,error:r,state:m,translations:u,environment:f}=e;return m&&u&&f?(0,n.jsx)(d.AppProviders,{state:m,translations:u,environment:f,children:(0,n.jsxs)("body",{children:[(0,n.jsx)(c,{themeStyleUrl:t}),(0,n.jsxs)("div",{id:"wrapper",children:[(0,n.jsx)(l.Y,{}),(0,n.jsx)("div",{id:"content",children:(0,n.jsx)(s.ZoneErrorBoundary,{zoneName:"error",fallback:(0,n.jsx)(a.X,{errorCode:"500"}),children:(0,n.jsx)(a.X,{errorCode:r.code.toString(),subTitle:r.message})})}),(0,n.jsx)("div",{id:"footer",children:(0,n.jsx)(o.w,{})})]})]})}):(0,n.jsxs)("body",{children:[(0,n.jsx)(c,{themeStyleUrl:t}),(0,n.jsx)("div",{className:"bg-onLight-02 h-screen flex items-center justify-center",children:(0,n.jsx)(s.ZoneErrorBoundary,{zoneName:"error",fallback:(0,n.jsx)(a.X,{errorCode:"500"}),children:(0,n.jsx)(i.A,{errorCode:r.code.toString(),mainTitle:"Oops",subTitle:r.message,ctaText:"Get me out of here",ctaLink:"/"})})})]})}},83811:(e,t,r)=>{"use strict";r.d(t,{X:()=>m});var n=r(7620),s=r(86498),l=r(27567),a=r(17681),o=r(30857),i=function(e){var t=e.errorCode,r=(0,o.q)(a.__).t,n=(0,o.q)(l.js);return{error:{errorCode:t,mainTitle:r("common.notfound.maintitle"),subTitle:r("common.notfound.subtitle"),ctaText:r("common.notfound.ctatext"),ctaLink:n}}},d=(0,s.Q)(function(e){return function(t){var r=i({errorCode:t.errorCode});return n.createElement(e,r)}}),c=r(90970),m=d(function(e){var t=e.error;return n.createElement(c.A,t)})},90970:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(7620),s=r(77785),l=r.n(s),a=r(274),o=r(84397),i=r(69292);let d=function(e){var t=e.className,r=e.errorCode,s=e.mainTitle,d=e.subTitle,c=e.ctaText,m=e.ctaLink,u=(0,i.P)(),f=u.isEurosport,E=u.isTNTSports;return n.createElement("div",{className:l()(t,"flex max-w-full flex-col items-center justify-center md:flex-row")},n.createElement("div",{className:"relative flex justify-center"},n.createElement("div",{className:"mt-22.5 flex items-center text-[120px] font-bold text-onLight-04 md:text-[300px]","data-testid":"error-errorCode"},r)),n.createElement("div",{className:"flex flex-col justify-end text-center text-onLight-02 md:mt-[55px] md:pl-7.5 md:text-left"},n.createElement("h1",{className:l()("text-[60px] font-bold",{"md:text-[90px]":f,"md:text-[100px]":E})},s),n.createElement("h2",{className:l()("mb-11 font-bold md:mb-4.5",{"text-24":f,"text-[25px] md:text-32":E})},d),n.createElement(a.A,{href:m,className:"self-center md:self-start",variant:o.A.PRIMARY,"data-testid":"error-button"},c)))},c=function(e){var t=e.className,r=e.mainTitle,s=e.subTitle,a=e.ctaText,o=e.errorCode,i=e.ctaLink;return n.createElement("div",{"data-testid":"zone-error",className:"light"},n.createElement("div",{className:l()(t,"bg-onLight-02 pb-12.5 md:pb-25")},n.createElement(d,{mainTitle:r,subTitle:s,ctaText:a,errorCode:o,ctaLink:i})))}},97845:(e,t,r)=>{"use strict";r.d(t,{n:()=>m,C:()=>c});let n={INTERNAL_SERVER_ERROR:"Internal server error"};var s=function(e){return e[e.OK=200]="OK",e[e.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",e[e.FOUND=302]="FOUND",e[e.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",e[e.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",e[e.BAD_REQUEST=400]="BAD_REQUEST",e[e.NOT_FOUND=404]="NOT_FOUND",e[e.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",e}({});let l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{code:e,message:t,renderPage:r}};var a=r(61841),o=r(6424),i=r(14118),d=r(16676);let c={[a.i.EUROSPORT]:o,[a.i.TNT_SPORTS]:d,[a.i.NCAA]:i},m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.INTERNAL_SERVER_ERROR,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l(s.INTERNAL_SERVER_ERROR,e,t)}()}},e=>{var t=t=>e(e.s=t);e.O(0,[1725,9249,5419,166,7199,1558,5313,587,655,7358],()=>t(30348)),_N_E=e.O()}]); //# sourceMappingURL=error-e4d48a2db973d995.js.map