PageSourceSearch

https://betway.com/g/_next/static/chunks/1pfoinumpwg27.js?dpl=dpl-mup7fau0

js betway.com collected 2026-10-02 02:34:46 UTC 44,295 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,1439,e=>{"use strict";var t=e.i(721999),n=e.i(504405),i=e.i(277154),r=e.i(85694),o=e.i(313514),a=e.i(114883),s=e.i(792638),l=e.i(311348),u=e.i(495570),c=e.i(991980),d=e.i(701793),f=e.i(582560),_=e.i(668241),p=e.i(932105),g=e.i(221364),y=e.i(158080),E=e.i(256610),v=e.i(465992),h=e.i(927652),S=e.i(773928),C=e.i(369172),I=e.i(29668),T=e.i(765222),m=e.i(287366),b=e.i(258171),A=e.i(123554),N=e.i(813053);function O(){let e=(0,n._)(["\n  position: fixed;\n  bottom: var(",", 0px);\n  z-index: ",";\n  width: 100%;\n  pointer-events: none;\n"]);return O=function(){return e},e}function R(){let e=(0,n._)(["\n  display: block;\n  position: fixed;\n  bottom: var(",", 0px);\n  z-index: ",";\n  width: 100%;\n  pointer-events: none;\n"]);return R=function(){return e},e}let L=(0,r.lazy)(m.AppBottomBettingBarImport),P=(0,I.trackableComponent)("spg_bottom_bar",()=>{let e=(0,C.useSelector)(A.selectActiveEventId),t=(0,b.useIsCasinoSubBrand)(),n=(e=>{var t;let{isPending:n,error:i,data:r}=(0,T.useGetMaintenanceMode)();return!n&&!i&&(null!=(t=null==r?void 0:r.featuresUnderMaintenance)?t:[]).some(t=>t.type===e)})("sports");return t||n?null:(0,i.jsxs)(x,{children:[(0,i.jsx)(r.Suspense,{children:(0,i.jsx)(L,{eventId:e})}),(0,i.jsx)(B,{id:N.MENU_FORECAST_BAR_POS})]})}),B=S.default.div.withConfig({displayName:"bettingBottomBar__Portal",componentId:"sc-2eddb009-0"})(O(),E.SHELL_BOTTOM_OFFSET,p.BOTTOMBAR_ZINDEX-2),x=S.default.div.withConfig({displayName:"bettingBottomBar__MenuBarContent",componentId:"sc-2eddb009-1"})(R(),E.SHELL_BOTTOM_OFFSET,p.BOTTOMBAR_ZINDEX-2);e.i(545291);var D=e.i(328532),G=e.i(320778),w=e.i(984622),M=e.i(747990);function k(){let e=(0,n._)(["\n    @media "," {\n      overflow-y: auto;\n      ",";\n    }\n  "]);return k=function(){return e},e}function K(){let e=(0,n._)(["\n  ",";\n"]);return K=function(){return e},e}let U=e=>{let{id:t,zIndex:n,children:o}=e,a=(0,M._)(e,["id","zIndex","children"]),s=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(s.current){let e,t=s.current;t.classList.add("sc-scrollbar"),t.classList.add("sc-scrollbar-hide");let n=()=>{t.classList.remove("sc-scrollbar-hide"),clearTimeout(e),e=setTimeout(()=>{t.classList.add("sc-scrollbar-hide")},1e3)};return t.addEventListener("scroll",n),()=>{clearTimeout(e),t.removeEventListener("scroll",n)}}},[]),(0,i.jsx)(j,(0,w._)((0,G._)({id:t,ref:s,$zIndex:n},a),{children:o}))},j=S.default.div.withConfig({displayName:"scrollContainer__ScrollableContentSection",componentId:"sc-4147cf6e-0"})(K(),e=>{let{$zIndex:t}=e;return(0,S.css)(k(),g.LARGE_SCREEN_BREAKPOINT,t&&(0,_.sticky)(t))});function H(){let e=(0,n._)(["\n  width: 100%;\n  min-height: var(--app-height, 100vh);\n\n  @media "," {\n    height: 100vh;\n  }\n"]);return H=function(){return e},e}function F(){let e=(0,n._)(["\n  display: flex;\n  min-height: ",";\n  flex-direction: column;\n\n  @media "," {\n    max-width: var(--content-section-width);\n    flex-direction: row;\n    margin: 0 auto;\n  }\n"]);return F=function(){return e},e}function W(){let e=(0,n._)(["\n    @media "," {\n      padding-top: 0px;\n      ",";\n    }\n  "]);return W=function(){return e},e}function z(){let e=(0,n._)(["\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  box-sizing: border-box;\n  ",";\n"]);return z=function(){return e},e}function Y(){let e=(0,n._)(["\n  display: none;\n  @media "," {\n    display: flex;\n    flex-direction: column;\n    width: ",";\n    background-color: ",";\n    height: calc(100vh - var(--topbar-height, 72px) - 26px);\n    border-radius: 8px;\n    margin-bottom: 16px;\n    padding-top: 8px;\n    ",";\n  }\n"]);return Y=function(){return e},e}function q(){let e=(0,n._)(["\n  border-radius: 8px;\n\n  width: calc("," - ",");\n"]);return q=function(){return e},e}function V(){let e=(0,n._)(["\n      @media "," {\n        width: ",";\n        margin-left: 40px;\n      }\n    "]);return V=function(){return e},e}function Q(){let e=(0,n._)(["\n  width: 100%;\n  display: flex;\n  flex: 1;\n  flex-direction: column;\n  ",";\n"]);return Q=function(){return e},e}function X(){let e=(0,n._)(["\n      @media "," {\n        width: calc("," + ",");\n      }\n    "]);return X=function(){return e},e}function J(){let e=(0,n._)(["\n  display: flex;\n  flex-direction: column;\n  flex: 1;\n  width: 100%;\n\n  @media "," {\n    height: calc(100vh - var(--topbar-height));\n  }\n\n  ","\n"]);return J=function(){return e},e}function $(){let e=(0,n._)(["\n      @media "," {\n        width: ",";\n      }\n    "]);return $=function(){return e},e}function Z(){let e=(0,n._)(["\n  width: 100%;\n  ",";\n  ",";\n"]);return Z=function(){return e},e}function ee(){let e=(0,n._)(["\n  position: ",";\n  bottom: 0px;\n  width: 100%;\n  z-index: ",";\n"]);return ee=function(){return e},e}let et=S.default.div.withConfig({displayName:"page-layout__Root",componentId:"sc-a17d36ba-0"})(H(),g.LARGE_SCREEN_BREAKPOINT),en=S.default.div.withConfig({displayName:"page-layout__ContentSection",componentId:"sc-a17d36ba-1"})(F(),E.SHELL_CONTENT_HEIGHT,g.LARGE_SCREEN_BREAKPOINT),ei=S.default.div.withConfig({displayName:"page-layout__MainContent",componentId:"sc-a17d36ba-2"})(z(),e=>{let{$isSidePanelEnabled:t}=e;return(0,S.css)(W(),g.LARGE_SCREEN_BREAKPOINT,t&&" width: ".concat(y.LARGE_SCREEN_MAIN_CONTENT_WIDTH,";"))}),er=S.default.div.withConfig({displayName:"page-layout__SidePanelSection",componentId:"sc-a17d36ba-3"})(Y(),g.LARGE_SCREEN_BREAKPOINT,y.SIDE_PANEL_WIDTH,v.SEMANTIC_SURFACE_PRIMARY,(0,_.sticky)(p.DESKTOP_SIDE_PANEL_ZINDEX)),eo=(0,S.default)(U).withConfig({displayName:"page-layout__SidePanelScrollContainer",componentId:"sc-a17d36ba-4"})(q(),y.SIDE_PANEL_WIDTH,y.SIDE_PANEL_SCROLL_INSET),ea=S.default.div.withConfig({displayName:"page-layout__MainPanelSection",componentId:"sc-a17d36ba-5"})(Q(),e=>{let{$isSidePanelEnabled:t}=e;return t&&(0,S.css)(V(),g.LARGE_SCREEN_BREAKPOINT,y.LARGE_SCREEN_MAIN_CONTENT_WIDTH)}),es=(0,S.default)(U).withConfig({displayName:"page-layout__MainPanelScrollContainer",componentId:"sc-a17d36ba-6"})(J(),g.LARGE_SCREEN_BREAKPOINT,e=>{let{$isSidePanelEnabled:t}=e;return t&&(0,S.css)(X(),g.LARGE_SCREEN_BREAKPOINT,y.LARGE_SCREEN_MAIN_CONTENT_WIDTH,y.SCROLLBAR_AREA_WIDTH)}),el=S.default.div.withConfig({displayName:"page-layout__MainContentHeader",componentId:"sc-a17d36ba-7"})(Z(),(0,_.sticky)(p.SECONDARY_HEADER_ZINDEX),e=>{let{$isSidePanelEnabled:t}=e;return t&&(0,S.css)($(),g.LARGE_SCREEN_BREAKPOINT,y.LARGE_SCREEN_MAIN_CONTENT_WIDTH)}),eu=S.default.div.withConfig({displayName:"page-layout__BottomSection",componentId:"sc-a17d36ba-8"})(ee(),e=>{let{$shouldBeSticky:t}=e;return t?"sticky":"fixed"},p.BOTTOMBAR_ZINDEX);e.s(["default",0,e=>{var n,_;let{hideTopBar:g,hideBottomBar:y=!1,children:E,footer:v,sidePanel:S,suspense:C,pageHeaderId:I="page-header",useLargeContainer:T=!1}=e,m=(0,u.useConfigValue)(c.BaseConfig_Subbrands).includes("sports"),[b,A]=(0,o.useSizeSignal)("height"),N=!!S,O=C?r.Suspense:r.Fragment,R=(null==(_=t.default)||null==(n=_.env)?void 0:n.STORYBOOK)==="true",L=(0,h.default)()||R,B=T?e=>{let{children:t}=e;return(0,i.jsx)("div",{className:"large-container",children:t})}:en;return(0,i.jsx)(s.PageHeaderProvider,{headerId:I,children:(0,i.jsxs)(et,{children:[!g&&(0,i.jsx)(d.ErrorBoundary,{fallback:null,onError:e=>(0,a.logError)("[PageLayout] topbar",e),children:(0,i.jsx)(l.AppTopBar,{useLargeContainer:T})}),(0,i.jsxs)(B,{children:[S&&(0,i.jsx)(er,{"data-testid":"side-panel",children:(0,i.jsx)(d.ErrorBoundary,{fallback:null,onError:e=>(0,a.logError)("[PageLayout] side-panel",e),children:(0,i.jsx)(eo,{id:"app-side-panel",zIndex:p.DESKTOP_SIDE_PANEL_ZINDEX,children:(0,i.jsx)(i.Fragment,{children:S})})})}),(0,i.jsx)(es,{$isSidePanelEnabled:N,id:"app-main-content",zIndex:p.SECONDARY_HEADER_ZINDEX,children:(0,i.jsxs)(ea,{$isSidePanelEnabled:N,children:[(0,i.jsx)(el,{ref:b,$isSidePanelEnabled:N,children:(0,i.jsx)("div",{id:I})}),(0,i.jsx)(f.StickyScope,{offset:A,children:(0,i.jsx)(ei,{$isSidePanelEnabled:N,children:(0,i.jsx)(d.ErrorBoundary,{fallback:null,onError:e=>(0,a.logError)("[PageLayout] main-content",e),children:(0,i.jsx)(O,{children:E})})})}),v]})})]}),m&&(0,i.jsx)(d.ErrorBoundary,{fallback:null,onError:e=>(0,a.logError)("[PageLayout] betting-bottom-bar",e),children:(0,i.jsx)(P,{})}),!y&&(0,i.jsx)(eu,{$shouldBeSticky:L,children:(0,i.jsx)(d.ErrorBoundary,{fallback:null,onError:e=>(0,a.logError)("[PageLayout] bottom-bar",e),children:(0,i.jsx)(D.AppBottomBar,{})})})]})})}],1439)},691218,e=>{"use strict";var t=e.i(277154),n=e.i(504405),i=e.i(792283),r=e.i(845700),o=e.i(465992),a=e.i(773928),s=e.i(432717);function l(){let e=(0,n._)(["\n  padding: ",";\n  background-color: ",";\n  border-radius: ",";\n"]);return l=function(){return e},e}let u=e=>{let{forSports:n,children:i}=e;return(0,t.jsxs)(c,{vertical:!0,gap:24,children:[(0,t.jsx)(s.default,{channelName:n?"sports":"casino"}),i]})},c=(0,a.default)(i.Stack).withConfig({displayName:"SearchPanel__Container",componentId:"sc-2cf9829d-0"})(l(),r.SEMANTIC_SPACING_WITH_UNIT.l,o.SEMANTIC_SURFACE_PRIMARY,r.SEMANTIC_SPACING_WITH_UNIT.m);var d=e.i(757035),f=e.i(363278),_=e.i(550445);e.s(["SidePanelSportsView",0,e=>{let{initialCategories:n}=e,{categories:i}=(0,f.useFavoriteCategories)(_.sortCategoriesByDisplayName,n);return(0,t.jsx)(u,{forSports:!0,children:(0,t.jsx)(d.SportsSidebarContent,{categories:i})})}],691218)},774298,(e,t,n)=>{function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(t,i){if("function"==typeof define&&define.amd){let t;void 0!==(t=i(n))&&e.v(t)}else i(n)}("u">typeof globalThis?globalThis:"u">typeof self?self:e.e,function(e){"use strict";function t(e,n){return(t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e}
1)(e,n)}function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e){if(e){if("string"==typeof e)return a(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return a(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function s(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function u(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t,n){(function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function d(e,t){var n,i,r=_(e,t,"get");return n=e,(i=r).get?i.get.call(n):i.value}function f(e,t,n){var i=_(e,t,"set");return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}(e,i,n),n}function _(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.CancelablePromise=void 0,e.cancelable=v,e.default=void 0,e.isCancelablePromise=h;var p=new WeakMap,g=new WeakMap,y=function(){function e(t){var n=t.executor,i=void 0===n?function(){}:n,r=t.internals,o=void 0===r?T():r,a=t.promise,l=void 0===a?new Promise(function(e,t){return i(e,t,function(e){o.onCancelList.push(e)})}):a;s(this,e),c(this,p,{writable:!0,value:void 0}),c(this,g,{writable:!0,value:void 0}),this.cancel=this.cancel.bind(this),f(this,p,o),f(this,g,l||new Promise(function(e,t){return i(e,t,function(e){o.onCancelList.push(e)})}))}return u(e,[{key:"then",value:function(e,t){return C(d(this,g).then(S(e,d(this,p)),S(t,d(this,p))),d(this,p))}},{key:"catch",value:function(e){return C(d(this,g).catch(S(e,d(this,p))),d(this,p))}},{key:"finally",value:function(e,t){var n=this;return t&&d(this,p).onCancelList.push(e),C(d(this,g).finally(S(function(){if(e)return t&&(d(n,p).onCancelList=d(n,p).onCancelList.filter(function(t){return t!==e})),e()},d(this,p))),d(this,p))}},{key:"cancel",value:function(){d(this,p).isCanceled=!0;var e=d(this,p).onCancelList;d(this,p).onCancelList=[];var t,n=o(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;if("function"==typeof i)try{i()}catch(e){console.error(e)}}}catch(e){n.e(e)}finally{n.f()}}},{key:"isCanceled",value:function(){return!0===d(this,p).isCanceled}}]),e}(),E=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),e&&t(a,e);var r,o=(r=function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=n(a);return e=r?Reflect.construct(t,arguments,n(this).constructor):t.apply(this,arguments),function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var n=e;if(void 0===n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(this,e)});function a(e){return s(this,a),o.call(this,{executor:e})}return u(a)}(y);function v(e){return C(e,T())}function h(e){return e instanceof E||e instanceof y}function S(e,t){if(e)return function(n){if(!t.isCanceled){var i=e(n);return h(i)&&t.onCancelList.push(i.cancel),i}return n}}function C(e,t){return new y({internals:t,promise:e})}function I(e,t){var n=T();return n.onCancelList.push(function(){var t,n=o(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;h(i)&&i.cancel()}}catch(e){n.e(e)}finally{n.f()}}),new y({internals:n,promise:t})}function T(){return{isCanceled:!1,onCancelList:[]}}e.CancelablePromise=E,r(E,"all",function(e){return I(e,Promise.all(e))}),r(E,"allSettled",function(e){return I(e,Promise.allSettled(e))}),r(E,"any",function(e){return I(e,Promise.any(e))}),r(E,"race",function(e){return I(e,Promise.race(e))}),r(E,"resolve",function(e){return v(Promise.resolve(e))}),r(E,"reject",function(e){return v(Promise.reject(e))}),r(E,"isCancelable",h),e.default=E})},927652,e=>{"use strict";e.s(["default",0,function(e){let t=e||"u">typeof window&&window;return!!(t&&(/Chromatic/.test(t.navigator.userAgent)||/chromatic=true/.test(t.location.href)))}])},622896,e=>{"use strict";var t=e.i(85694);let n="click";e.s(["useClicked",0,function(e,i){let[r,o]=(0,t.useState)(!1);return(0,t.useEffect)(()=>
1{if(!r)return;let e=()=>{o(!1)};return document.addEventListener(n,e),()=>{document.removeEventListener(n,e)}},[r]),{clicked:r,handleClick:t=>{if(i.preventDefault&&t.preventDefault(),i.stopPropagation&&t.stopPropagation(),o(!0),e)if(Array.isArray(e))for(let n of e)null==n||n(t);else e(t)}}}])},198841,e=>{"use strict";var t=e.i(85694),n=e.i(371133),i=e.i(653449);e.s(["useOnSizeChange",0,function(e,r){let{round:o,disabled:a,ignoreWidth:s,ignoreHeight:l,reportInitial:u}=null!=r?r:{},c=(0,i.useEventCallback)(e),d=(0,t.useRef)(void 0);return(0,t.useCallback)(e=>{if(!e){var t;null==(t=d.current)||t.call(d)}d.current=(0,n.monitorElementSizeChange)(e,c,{round:o,disabled:a,ignoreWidth:s,ignoreHeight:l,reportInitial:u})},[c,o,a,s,l,u])}])},313514,e=>{"use strict";var t=e.i(198841),n=e.i(85694),i=e.i(371133);e.s(["useSizeSignal",0,function(e,r){var o,a;let s=(a=null!=(o=null==r?void 0:r.initial)?o:0,(0,n.useMemo)(()=>(0,i.createSignal)(a),[]));return[(0,t.useOnSizeChange)(t=>{s.value=t[e]},{round:null==r?void 0:r.round,ignoreWidth:"width"!==e,ignoreHeight:"height"!==e}),s]}],313514)},948280,e=>{"use strict";var t=e.i(272160);let n=(0,t.createMethod)("Players/v1/AddToFavourites"),i=(0,t.createMethod)("Players/v1/RemoveFromFavourites");e.s(["addToFavoritesMethod",0,n,"removeFromFavoritesMethod",0,i])},858726,e=>{"use strict";var t=e.i(483620);let n=(0,e.i(299759).defineEvent)().as({type:"open_registration_pressed",context:t.BASE_CONTEXT});e.s(["openRegistrationPressed",0,n])},827874,e=>{"use strict";var t=e.i(85694),n=e.i(965327),i=e.i(670856);let r=(0,n.atom)({});e.s(["useJourneyState",0,e=>{var n;let[o,a]=(0,i.useAtom)(r);return{triggerJourneyStep:(0,t.useCallback)(t=>{a(n=>{let i=n[e];if(!i){let t=[];n[e]=t,i=t}return i.push(t),n})},[e,a]),journeySteps:null!=(n=o[e])?n:[]}}])},781289,e=>{"use strict";let t=(0,e.i(85694).createContext)({headerId:"page-header"});e.s(["context",0,t])},792638,e=>{"use strict";var t=e.i(747990),n=e.i(277154),i=e.i(85694),r=e.i(781289);e.s(["PageHeaderProvider",0,e=>{let{children:o}=e,a=(0,t._)(e,["children"]),s=(0,i.useMemo)(()=>{var e;return{headerId:null!=(e=a.headerId)?e:"page-header"}},[a.headerId]);return(0,n.jsx)(r.context.Provider,{value:s,children:o})}])},498889,981304,e=>{"use strict";var t=e.i(277154),n=e.i(85694),i=e.i(87812),r=e.i(209562),o=e.i(369172),a=e.i(29668),s=e.i(699450),l=e.i(392866),u=e.i(827874),c=e.i(320778),d=e.i(984622),f=e.i(495570);let _={type:e.i(776422).BOOLEAN,default:!1,queryKeyEnabled:!0,configKey:"enable_prehydration_clicks_replay"};var p=e.i(773793);let g="data-has-pending-click",y=n.useLayoutEffect,E=e=>{let{children:i,onClick:r,refChild:o}=e,a=(0,f.useConfigValue)(_);((e,t)=>{let i=(0,n.useRef)(t),[r,o]=(0,n.useState)(!1);(0,n.useEffect)(()=>{i.current=t},[t]);let a=(0,n.useCallback)(()=>{let t=e.current;return!!(null==t?void 0:t.__pendingClick)&&!!window.__afterHydrationTrigger&&(t.__pendingClick=!1,t.removeAttribute(g),t.removeAttribute("aria-busy"),window.__afterHydrationTrigger=void 0,o(!1),i.current(),!0)},[e]);return y(()=>{let t=e.current;if(!t)return;o(!!t.__pendingClick);let n=new MutationObserver(()=>{o(!!t.__pendingClick)});return n.observe(t,{attributes:!0,attributeFilter:[g]}),()=>n.disconnect()},[e]),(0,n.useEffect)(()=>{r&&a()},[r,a])})(o,r);let s=(0,n.useRef)(!1);return((0,n.useEffect)(()=>{s.current=!0},[]),a)?(0,t.jsx)(t.Fragment,{children:n.Children.map(i,e=>{if(!(0,n.isValidElement)(e)||e.type!==p.Button)return console.warn("ReplayClick expects a single Button child"),e;let t=s.current?{}:{disabled:!1};return(0,n.cloneElement)(e,(0,d._)((0,c._)({},t),{"data-record-prehydration-click":"",prehydrationSpinner:!0}))})}):(0,t.jsx)(t.Fragment,{children:i})};var v=e.i(814902);let h=()=>{let e=(0,n.useContext)(v.launchActionsContext);return e||{signup:!1,launchLogin:!1}};var S=e.i(767271),C=e.i(991980),I=e.i(832730),T=e.i(629965),m=e.i(782864),b=e.i(489156),A=e.i(668886);let N=e=>{var t;return null==(t=e.sheets)?void 0:t.sheets},O=e=>(0,A.createSelector)(N,t=>{var n;return null!=(n=null==t?void 0:t.some(t=>t.key===e))&&n});var R=e.i(113986),L=e.i(480002),P=e.i(73108);let B=(0,a.trackableComponent)(L.LOGIN_BUTTON_COMPONENT,e=>{let{onClick:a}=e,{t:c}=(0,m.useTranslations)(),{track:d}=(0,s.useTrack)(),_=(0,r.useDispatch)(),g=(0,n.useRef)(null),[y,v]=(0,n.use
1State)(!1),{launchLogin:A}=h(),[N,L]=(0,n.useState)(A),[B,x]=(0,n.useState)(!1),{triggerJourneyStep:D}=(0,u.useJourneyState)("registration"),G=N||B,w=(0,o.useSelector)(i.DuxAccountSelectors.getResumeSessionAttemptFinished),M=(0,n.useRef)(!1),k=(0,o.useSelector)(O(R.LOGIN_SHEET)),K=(0,o.useSelector)((0,T.selectIsDialogInQueue)(I.JURISDICTION_REDIRECT_DIALOG)),U=(0,o.useSelector)((0,T.selectIsDialogInQueue)(I.ENABLE_GEOLOCATION_SERVICES_DIALOG)),j=(0,f.useConfigValue)(C.BaseConfig_BasePath),H=(0,f.useConfigValue)(C.BaseConfig_DefaultLocale),F=(0,n.useCallback)(async()=>{try{var e,t,n;if(L(!0),void 0!==globalThis.window&&(null==(e=null==(t=(n=performance).getEntries)?void 0:t.call(n)[0])?void 0:e.responseStatus)===404){globalThis.window.location.href="".concat(j,"/").concat(H,"/?action=launchlogin");return}await (0,S.dispatchAndTrackIntent)((0,b.launchLoginIntent)({}),_,d)}finally{L(!1)}},[j,H,_,d]),W=()=>{if(!G){if(null==a||a(),D("loginStartedFromButton"),d(l.openLoginPressed,{}),!w){M.current=!0;return}x(!0),F()}};return(0,n.useEffect)(()=>{M.current&&w&&!G&&(F(),M.current=!1)},[w]),(0,n.useEffect)(()=>{N&&(K||k||U)&&L(!1)},[k,K,U,N]),(0,n.useEffect)(()=>{K||k||U||x(!1)},[k,K,U]),(0,n.useEffect)(()=>{v(!0)},[]),(0,t.jsx)(E,{onClick:W,refChild:g,children:(0,t.jsx)(p.Button,{variant:"secondary",ref:g,size:"xs",onClick:W,"data-testid":P.DATA_TEST_ID_LOGIN_BUTTON,processing:G,disabled:G||!y,children:c("actions.login")})})});e.s(["LoginButton",0,B],498889);var x=e.i(858726),D=e.i(203447),G=e.i(17323);let w=(0,a.trackableComponent)(L.SIGN_UP_BUTTON_COMPONENT,e=>{let{closeSideSheet:i,disabled:a}=e,{track:l}=(0,s.useTrack)(),{t:u}=(0,m.useTranslations)(),c=(0,r.useDispatch)(),d=(0,n.useRef)(null),{signup:f}
1=h(),[_,g]=(0,n.useState)(f),[y,v]=(0,n.useState)(!1),[S,C]=(0,n.useState)(!1),b=(0,o.useSelector)(O("AccountRegistration-sheet")),A=(0,o.useSelector)(O("AccountRegistrationV2-sheet")),N=(0,o.useSelector)((0,T.selectIsDialogInQueue)(I.JURISDICTION_REDIRECT_DIALOG)),R=(0,o.useSelector)((0,T.selectIsDialogInQueue)(I.ACTION_UNAVAILABLE_DIALOG)),L=(0,o.useSelector)((0,T.selectIsDialogInQueue)(I.ACTION_DISABLED_DIALOG)),B=b||A,w=_||y,M=()=>{w||(i&&i(),l(x.openRegistrationPressed,{}),v(!0),(0,D.dispatchAndTrackAction)(G.goToAccountRegistration,void 0,c,l))};return(0,n.useEffect)(()=>{_&&(B||N||R||L)&&g(!1)},[B,N,R,L,_]),(0,n.useEffect)(()=>{B||N||R||L||v(!1)},[B,N,R,L]),(0,n.useEffect)(()=>{C(!0)},[]),(0,t.jsx)(E,{onClick:M,refChild:d,children:(0,t.jsx)(p.Button,{variant:"primary",size:"xs",ref:d,onClick:M,"data-testid":P.DATA_TEST_ID_SIGN_UP_BUTTON,disabled:a||w||!S,processing:w,children:u("actions.register")})})});e.s(["SignUpButton",0,w],981304)},73108,e=>{"use strict";e.s(["DATA_TEST_ID_CASH_BALANCE",0,"my-account-bottom-nav-cash","DATA_TEST_ID_CASH_BALANCE_LABEL",0,"cash-balance-label","DATA_TEST_ID_DEPOSIT_LABEL",0,"deposit-label","DATA_TEST_ID_FREE_BET_BALANCE",0,"free-bet-balance","DATA_TEST_ID_FREE_BET_BALANCE_LABEL",0,"free-bet-balance-label","DATA_TEST_ID_LOGIN_BUTTON",0,"login-button","DATA_TEST_ID_PARTNER_LOGO",0,"partner-logo","DATA_TEST_ID_REGULATOR_LOGO",0,"regulator-logo","DATA_TEST_ID_REGULATOR_LOGO_LINK",0,"regulator-logo-link","DATA_TEST_ID_RESPONSIBLE_GAMING_LOGO",0,"responsible-gaming-logo","DATA_TEST_ID_RESPONSIBLE_GAMING_TEXT",0,"responsible-gaming-text","DATA_TEST_ID_SIGN_UP_BUTTON",0,"sign-up-button"])},363651,e=>{"use strict";var t=e.i(277154),n=e.i(85694),i=e.i(369172),r=e.i(941353),o=e.i(169988),a=e.i(952520);let s={locationCheckStatus:o.LocationCheckStatus.unverified,verifyLocationForBetPlacement:()=>Promise.resolve({canGamble:!1}),isQuickbetProcessing:!1},l=(0,n.createContext)(s),u=l.Provider;e.s(["BettingContextProvider",0,e=>{let{children:s}=e,[l,c]=(0,a.useLocationCheckForBetPlacement)(),d=(0,i.useSelector)(r.getIsQuickBetProcessing)||l===o.LocationCheckStatus.proccessing,f=(0,n.useMemo)(()=>({locationCheckStatus:l,verifyLocationForBetPlacement:c,isQuickbetProcessing:d}),[l,c,d]);return(0,t.jsx)(u,{value:f,children:s})},"useBettingContext",0,()=>(0,n.useContext)(l)])},414933,e=>{"use strict";let t=(0,e.i(109988).atomWithReset)({active:!1,lastKnownLobby:void 0,nextSportGambleUtc:"",nextCasinoGambleUtc:"",nextRealityCheckUtc:"",nextRealityCheckId:"",startedAt:void 0});e.s(["parallelGamingSessionAtom",0,t])},150261,e=>{"use strict";var t=e.i(765067),n=e.i(27024),i=e.i(850610),r=e.i(778595),o=e.i(56550),a=e.i(371133);let s=e=>{if(!e)return 0;let t=new Date(e).getTime();return isNaN(t)?0:t},l=(0,o.createSlice)({name:"account",initialState:{recent:{casinoGameIds:void 0},favorite:{sportsCategoryIds:[]}},reducers:{migrationStateUpdated:(e,t)=>{e.migrationState=t.payload},postMigrationUserDetailsFormDisplayedUpdated:(e,t)=>{e.postMigrationUserDetailsFormDisplayed=t.payload},userTokenUpdated:(e,t)=>{e.userToken=t.payload},superGroupTokenUpdated:(e,t)=>{e.superGroupToken=t.payload},recentCasinoGameAdded:(e,t)=>{e.sessionId===t.payload.sessionId&&(e.recent.casinoGameIds=(0,a.moveToFront)(e.recent.casinoGameIds,t.payload.gameKey))},recentCasinoGamesLoaded:(e,t)=>{if(e.sessionId===t.payload.sessionId)for(let r of(void 0===e.recent.casinoGameIds&&(e.recent.casinoGameIds=[]),t.payload.gameKeys)){var n,i;(null==(n=e.recent.casinoGameIds)?void 0:n.includes(r))||null==(i=e.recent.casinoGameIds)||i.push(r)}},favoriteSportsCategoryAdded:(e,t)=>{e.sessionId===t.payload.sessionId&&(e.favorite.sportsCategoryIds.includes(t.payload.categoryId)||e.favorite.sportsCategoryIds.push(t.payload.categoryId))},favoriteSportsCategoryRemoved:(e,t)=>{e.sessionId===t.payload.sessionId&&(e.favorite.sportsCategoryIds=e.favorite.sportsCategoryIds.filter(e=>t.payload.categoryId!==e))},favoriteSportsCategoriesLoaded:(e,t)=>{e.sessionId===t.payload.sessionId&&(e.favorite.sportsCategoryIds=t.payload.categoryIds)},newQueuedMessagesAvailable:e=>{e.newQueuedMessagesAvailable=!0},newQueuedMessagesAcknowledged:e=>{e.newQueuedMessagesAvailable=!1}},extraReducers:e=>{e.addCase(n.login.success,(e,t)=>{var n,i,r,o,a,l,u,c,d,f,_,p,g,y,E,v,h,S,C,I,T,m,b,A,N,O,R;let L,P,B=t.payload,x=null==(a=B.Login.CustomerInfo)||null==(o=a.SessionData)?void 0:o.SessionEndTime,D=null==(u=B.Login.CustomerInfo)||null==(l=u.SessionData)?void 0:l.SessionStartTime,G=(N=B.Login,L=Date.now(),0===(P=new Date(s(null==(R=N.CustomerInfo)||null==(O=R.SessionData)?void 0:O.ServerTime)).getTime())?0:L-P),w=s(x),M=s(D);return e.userId=null!=(n=null==(c=B.Login.CustomerInfo)?void 0:c.UserId)?n:0,e.productId=B.Login.CasinoId,e.userToken=null!=(i=null==(d=B.Login.Tokens)?void 0:d.UserToken)?i:void 0,e.superGroupToken=null!=(r=B.Login.SuperGroupToken)?r:void 0,e.registrationCountry=null==(f=B.Login.CustomerInfo)?void 0:f.RegisteredCountryShortCode,e.depositCount=null==(_=B.Login.CustomerInfo)?void 0:_.DepositCount,e.currency=null==(p=B.Login.CustomerInfo)?void 0:p.Currency,e.sessionId=B.Login.SessionId,e.sessionLegacyId=null==(y=B.Login.CustomerInfo)||null==(g=y.SessionData)?void 0:g.SessionId,e.sessionGuid=null==(v=B.Login.CustomerInfo)||null==(E=v.SessionData)?void 0:E.SessionGuid,e.sessionEndTimeInMs=0===w?void 0:w+G,e.sessionStartTimeInMs=0===M?void 0:M+G,e.capabilities={deposit:null==(S=B.Login.CustomerInfo)||null==(h=S.Capabilities)?void 0:h.Deposit,withdraw:null==(I=B.Login.CustomerInfo)||null==(C=I.Capabilities)?void 0:C.Withdraw,placeBets:null==(m=B.Login.CustomerInfo)||null==(T=m.Capabilities)?void 0:T.PlaceBets}
1,e.serverTimeOffsetInMs=G,e.hashEmail=null==(b=B.Login.CustomerInfo)?void 0:b.HashedEmail,e.hashPhoneNumber=null==(A=B.Login.CustomerInfo)?void 0:A.HashedTelephone,e}),e.addCase(t.info.success,(e,t)=>{var n,i,r,o,a,s,l,u,c,d,f,_;let p=t.payload.CustomerInfo;return(null==p?void 0:p.Capabilities)&&(e.capabilities={deposit:null!=(n=null!=(i=null==(l=p.Capabilities)?void 0:l.Deposit)?i:null==(u=e.capabilities)?void 0:u.deposit)&&n,withdraw:null!=(r=null!=(o=null==(c=p.Capabilities)?void 0:c.Withdraw)?o:null==(d=e.capabilities)?void 0:d.withdraw)&&r,placeBets:null!=(a=null!=(s=null==(f=p.Capabilities)?void 0:f.PlaceBets)?s:null==(_=e.capabilities)?void 0:_.placeBets)&&a}),e}),e.addCase(n.login.failed,u),e.addCase(i.logoutRequested.rejected,u),e.addCase(i.logoutRequested.fulfilled,u),e.addCase(r.sessionEnded,u)}});function u(e){return e.userId=void 0,e.productId=void 0,e.userToken=void 0,e.superGroupToken=void 0,e.recent.casinoGameIds=void 0,e.favorite.sportsCategoryIds=[],e.newQueuedMessagesAvailable=!1,e.sessionId=void 0,e.sessionEndTimeInMs=void 0,e.sessionStartTimeInMs=void 0,e.serverTimeOffsetInMs=void 0,e}let{migrationStateUpdated:c,postMigrationUserDetailsFormDisplayedUpdated:d,userTokenUpdated:f,superGroupTokenUpdated:_,recentCasinoGameAdded:p,recentCasinoGamesLoaded:g,favoriteSportsCategoryAdded:y,favoriteSportsCategoryRemoved:E,favoriteSportsCategoriesLoaded:v,newQueuedMessagesAvailable:h,newQueuedMessagesAcknowledged:S}=l.actions,C=l.reducer;e.s(["accountReducer",0,C,"favoriteSportsCategoriesLoaded",0,v,"favoriteSportsCategoryAdded",0,y,"favoriteSportsCategoryRemoved",0,E,"migrationStateUpdated",0,c,"newQueuedMessagesAcknowledged",0,S,"newQueuedMessagesAvailable",0,h,"postMigrationUserDetailsFormDisplayedUpdated",0,d,"recentCasinoGameAdded",0,p,"recentCasinoGamesLoaded",0,g,"superGroupTokenUpdated",0,_,"userTokenUpdated",0,f],150261)},814902,e=>{"use strict";var t=e.i(277154),n=e.i(85694),i=e.i(223499);let r=(0,n.createContext)(null);e.s(["LaunchActionContextProvider",0,e=>{var o;let{isLoggedIn:a,startupQueryParams:s,children:l}=e,u=null==s?void 0:s[i.URL_PARAMS.action],c=null!=(o=null==u?void 0:u.split(",").map(e=>e.toLowerCase()))?o:[],[d,f]=(0,n.useState)({signup:c.includes("signup"),launchLogin:c.includes("launchlogin")});return(0,n.useEffect)(()=>{a&&f({signup:!1,launchLogin:!1})},[a]),(0,t.jsx)(r.Provider,{value:d,children:l})},"launchActionsContext",0,r])},537037,e=>{"use strict";var t=e.i(776422);let n={type:t.OBJECT,default:{home:["topgames","populargames"],"live-casino":[]},configKey:"top_games_swimlanes_options",queryKeyEnabled:!0},i={type:t.OBJECT,default:["live-casino"],configKey:"enabled_gamehub_channels",queryKeyEnabled:!0},r={type:t.BOOLEAN,default:!1,configKey:"lobby_swimlanes_orientation_enabled",queryKeyEnabled:!0},o={type:t.OBJECT,default:[],configKey:"jackpot_games",queryKeyEnabled:!0};t.BOOLEAN;let a={type:t.BOOLEAN,default:!1,configKey:"assets_preview",queryKeyEnabled:!0,resolve:e=>{let{resolvedValue:t,queryValue:n}=e;return void 0!==n||t}};t.OBJECT,t.STRING;let s={type:t.BOOLEAN,default:!1,configKey:"casino_new_nav_enabled",queryKeyEnabled:!0};e.s(["CasinoConfig_AssetsPreview",0,a,"CasinoConfig_CasinoNewNavEnabled",0,s,"CasinoConfig_EnabledGameHubChannels",0,i,"CasinoConfig_LobbySwimlanesOrientationEnabled",0,r,"CasinoConfig_ProgressiveGames",0,o,"CasinoConfig_TopGamesSwimlanesOptions",0,n])},834563,e=>{"use strict";var t=e.i(776422);let n={type:t.BOOLEAN,default:!1,configKey:"formula1_hub_enabled",queryKeyEnabled:!0},i={type:t.NUMBER,configKey:"f1_gizmo_season",queryKeyEnabled:!0},r={type:t.NUMBER,configKey:"f1_gizmo_round",queryKeyEnabled:!0},o={type:t.BOOLEAN,default:!1,configKey:"formula1_hub_v2_enabled",queryKeyEnabled:!0};e.s(["FeatureConfig_F1GizmoRound",0,r,"FeatureConfig_F1GizmoSeason",0,i,"FeatureConfig_Formula1HubEnabled",0,n,"FeatureConfig_Formula1HubV2Enabled",0,o])},608811,e=>{"use strict";var t=e.i(371133),n=e.i(31127),i=e.i(776422),r=e.i(446529);let o={type:i.NUMBER,configKey:"brand_id",queryKeyEnabled:!0,resolve:r.disableQueryOverridesLive},a={type:i.NUMBER,configKey:"jurisdiction_id",queryKeyEnabled:!0,resolve:r.disableQueryOverridesLive},s=null,l={type:i.NUMBER,default:void 0,configKey:"territory_id",queryKeyEnabled:!0,resolve:e=>{if(null===s){var n;isNaN(s=parseInt(null!=(n=(0,t.getMetaTagContent)("territory-id"))?n:"0"))&&(s=void 0)}return s||(0,r.disableQueryOverridesLive)(e)}},u={type:i.STRING,default:void 0,configKey:"territory_code",queryKeyEnabled:!0,resolve:r.disableQueryOverridesLive},c={type:i.OBJECT,default:{},configKey:"channel_server_ids"},d={default:n.HOST,configKey:"host_alias",queryKeyEnabled:!0,resolve:e=>{let{queryValue:t,resolvedValue:i}=e;return(n.isProductionEnv||n.isCertEnv)&&!t?n.HOST:i}
1};e.s(["BaseConfig_BrandDisplayName",0,{default:"Betway",configKey:"brand_display_name"},"BaseConfig_BrandId",0,o,"BaseConfig_ChannelServerIds",0,c,"BaseConfig_HostAlias",0,d,"BaseConfig_JurisdictionId",0,a,"BaseConfig_OperatorName",0,{default:"Betway Limited",configKey:"operator_name"},"BaseConfig_SportsbookExternalSite",0,{configKey:"sportsbook_external_site",queryKeyEnabled:!0},"BaseConfig_SupportUrl",0,{configKey:"support_url",queryKeyEnabled:!0},"BaseConfig_TerritoryCode",0,u,"BaseConfig_TerritoryId",0,l])},304495,e=>{"use strict";var t=e.i(776422);let n={type:t.OBJECT,default:{enabled:!1,inactivityTimeoutMs:18e5,refetchIntervalInMs:1e4},configKey:"parallel_gaming_enabled",queryKeyEnabled:!0},i={type:t.BOOLEAN,default:!0,configKey:"inactivity_warning_enabled",queryKeyEnabled:!0},r={type:t.BOOLEAN,default:!1,queryKeyEnabled:!0,configKey:"lobby_switching"};e.s(["FeatureConfig_InactivityWarningEnabled",0,i,"FeatureConfig_LobbySwitching",0,r,"SessionConfig_ParallelGaming",0,n])},806990,e=>{"use strict";var t=e.i(264412);e.s(["getPublicStaticAssetUrl",0,function(e,n){let i=n.startsWith("/static/")?n.slice(8):n.replace(/^\//,""),r=e.endsWith("/")?e.slice(0,-1):e;return"".concat(r,"/static/").concat(i).concat((0,t.getDeploymentIdQueryOrEmptyString)())}])},318144,e=>{"use strict";var t=e.i(132521),n=e.i(474247),i=e.i(833499),r=e.i(647931),o=e.i(375276);e.s(["openDialog",0,function*(e,a,s){let l=(0,i.v4)();return yield*(0,n.call)((0,t.dispatch)(r.createDialog,{key:l,type:e,arg:a,reason:s})),(yield*(0,n.take)(e=>{var t;return e.type===o.dialogDeleted.type&&(null==(t=e.payload)?void 0:t.key)===l})).payload.result}])},629965,e=>{"use strict";e.s(["selectIsDialogInQueue",0,e=>t=>t.dialogs.dialogs.some(t=>t.type===e)])},368506,e=>{"use strict";let t=(0,e.i(56550).createAction)("wait-for-register-intents");e.s(["waitForRegisterIntents",0,t])},789469,30772,e=>{"use strict";var t=e.i(573630),n=e.i(304495),i=e.i(832730),r=e.i(318144),o=e.i(414933);let a=(0,t.createCoreAction)("lobby-switching-checks",async(e,t)=>{let{destinationLobby:a}=e,{services:l}=t,{config:u,runSaga:c,jotai:d}=l,{active:f,lastKnownLobby:_}=d.store.get(o.parallelGamingSessionAtom);if(!u.getValue(n.FeatureConfig_LobbySwitching)||!f||!_)return{canNavigate:!0};if(s(_,a)){var p;let e=await c(r.openDialog,i.LOBBY_SWITCHING_DIALOG,{from:_,to:a}).toPromise();return{canNavigate:null==e||null==(p=e.data)?void 0:p.accepted}}}),s=(e,t)=>!!e&&e!==t;e.s(["lobbySwitchingChecks",0,a],30772);var l=e.i(497352),u=e.i(223499),c=e.i(135610),d=e.i(784388);let f=async(e,t)=>{var i;let{services:{dispatch:r,config:o}}=t,{lobby:s,args:l}=e,u=o.getValue(n.FeatureConfig_LobbySwitching),f=null!=(i=null==l?void 0:l.passLobbySwitchingChecks)&&i;if(u&&!f){let e=await r(a({destinationLobby:s}));if(!(null==e?void 0:e.canNavigate))return}switch(s){case"casino":r((0,c.goToCasinoHubCasino)(l));break;case"sports":r((0,d.goToSportsHome)())}},_=(0,t.createCoreActionWithRoute)("go-to-lobby",{path:(e,t)=>{let{lobby:n}=e;return"casino"===n?u.URLS.CASINO_HUB_PAGE:u.URLS.SPORTS_HOME_PAGE},params:(e,t)=>{let{lobby:n,args:i}=e;if("casino"===n){var r;return{casinoSubbrandAlias:(0,l.getCasinoSubbrandAlias)(t),categoryKey:null==i||null==(r=i.categoryKey)?void 0:r.toLowerCase(),preventScrollReset:null==i?void 0:i.preventScrollReset}}return{}}},f);e.s(["goToLobby",0,_],789469)},260839,e=>{"use strict";var t=e.i(573630),n=e.i(113986),i=e.i(231452);let r=(0,t.createCoreAction)("go-to-my-account",(e,t)=>{let{dispatch:r}=t,{initialScreen:o="general"}=null!=e?e:{};r((0,i.createSheet)({type:n.ACCOUNT_SHEET,arg:{initialScreen:o}}))});e.s(["goToMyAccount",0,r])},700946,e=>{"use strict";var t=e.i(553515),n=e.i(573630),i=e.i(834563),r=e.i(223499);let o=[{categoryKey:t.FORMULA_1,flag:i.FeatureConfig_Formula1HubEnabled,path:r.URLS.SPORTS_FORMULA1_HUB_PAGE,params:{}},{categoryKey:t.GREYHOUNDS,path:r.URLS.SPORTS_RACING_HUB_PAGE,params:{raceType:t.GREYHOUNDS}}],a=(e,t)=>o.find(n=>n.categoryKey===e&&(!n.flag||t.getValue(n.flag))),s=(0,n.createCoreActionWithRoute)("go-to-sports-category",{path:(e,t)=>{var n,i;return null!=(n=null==(i=a(e.categoryKey,t))?void 0:i.path)?n:r.URLS.SPORTS_CATEGORY_PAGE},params:(e,t)=>{var n,i,r;return null!=(n=null==(r=a(e.categoryKey,t))?void 0:r.params)?n:{category:null!=(i=e.categoryKey)?i:""}}}),l=(0,n.createCoreActionWithRoute)("go-to-sports-category-tab",{path:()=>r.URLS.SPORTS_CATEGORY_PAGE,params:e=>{var t;return{category:e.category,tab:null!=(t=e.tab)?t:"popular",contentFilter:"calendar"===e.tab?e.contentFilter:void 0,shallow:e.shallow}},method:e=>e.replace?"replace":"push"});e.s(["goToSportsCategory",0,s,"goToSportsCategoryTab",0,l])},784388,e=>{"use strict";var t=e.i(573630),n=e.i(223499);let i=(0,t.createCoreActionWithRoute)("go-to-sports-home",{path:n.URLS.SPORTS_HOME_PAGE});e.s(["goToSportsHome",0,i])},379886,e=>{"use strict";var t=e.i(85694),n=e.i(209562),i=e.i(211510),r=e.i(368506);let o={};async function a(e){let t=o[e];t&&await t()}e.s(["usePrefetchAction",0,function(){for(var e=arguments.length,i=Array(e),r=0;r<e;r++)i[r]=arguments[r];let o=(0,n.useDispatch)();(0,t.useEffect)(()=>{for(let e of i)o(e.action.prefetch(e.props))},[i,o])},"usePrefetchIntent",0,e=>{let o=(0,n.useDispatch)(),a=(0,t.useCallback)(async e=>{await o((0,r.waitForRegisterIntents)());let t=await o((0,i.getIntent)(e.name));(null==t?void 0:t.prefetch)&&o(t.prefetch(e))},[o]);(0,t.useEffect)(()=>{e&&a(e)},[e,a])},"usePrefetchPages",0,function(e){let n=e.join(",");(0,t.useEffect)(()=>{let t=setTimeout(()=>{for(let t of e)a(t)},1e3);return()=>{clearTimeout(t)}},[n])}],379886)},698955,e=>{"use strict";var t=e.i(509699);e.s(["useAppPathname",0,function(){return(0,t.useRouter)().hooks.useAppPathname()}])},132521,e=>{"use strict";var t=e.i(474247);e.s(["dispatch",0,function(e){for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];let o=e(...i);return function*(){let e=yield*(0,t.getContext)("dispatch");return yield*(0,t.call)(e,o)}}])},859145,e=>{"use strict";e.s(["DATA_TEST_ID_SEARCH_CTA",0,"search-cta"])},676562,e=>{"use strict";var t=e.i(439662),n=e.i(387564);e.s(["useHasCasinoSubbrand",0,()=>{let e;return e=(0,t.useConfig)(),(0,n.hasSomeSubbrands)(e,["casino"])}],676562)},532300,e=>{"use strict";var t=e.i(439662),n=e.i(188383);e.s(["useHasSportsSubbrand",0,()=>(0,n.hasSportsSubbrand)((0,t.useConfig)())])},387564,e=>{"use strict";var t=e.i(991980);e.s(["hasSomeSubbrands",0,(e,n)=>{let i=e.getValue(t.BaseConfig_Subbrands);return n.some(e=>i.includes(e))}])},188383,e=>{"use strict";var t=e.i(387564);e.s(["hasSportsSubbrand",0,e=>(0,t.hasSomeSubbrands)(e,["sports"])])},432717,e=>{"use strict";var t=e.i(320778),n=e.i(747990),i=e.i(277154),r=e.i(209562),o=e.i(699450),a=e.i(203447),s=e.i(893525),l=e.i(379886),u=e.i(358966),c=e.i(698955),d=e.i(984622),f=e.i(504405),_=e.i(782864),p=e.i(777485),g=e.i(27786),y=e.i(645399),E=e.i(845700),v=e.i(465992),h=e.i(773928),S=e.i(859145);function C(){let e=(0,f._)(["\n  cursor: pointer;\n  height: ",";\n  padding: "," ",";\n  font-size: ",";\n  border: 1px solid ",";\n  display: flex;\n  min-height: ",";\n  align-items: center;\n  border-radius: ",";\n  background-color: ",";\n  color: ",";\n  ","\n"]);return C=function(){return e},e}function I(){let e=(0,f._)(["\n  font-size: 14px;\n  margin: "," ",";\n"]);return I=function(){return e},e}let T=e=>{let{onClick:r,fontsize:o}=e,a=(0,n._)(e,["onClick","fontsize"]),{t:s}=(0,_.useTranslations)([p.SPORTS_FIND_NS]);return(0,i.jsxs)(m,(0,d._)((0,t._)({"data-testid":S.DATA_TEST_ID_SEARCH_CTA,onClick:r,$fontsize:null!=o?o:"12px"},a),{children:[(0,i.jsx)(b,{}),s("find",{ns:p.SPORTS_FIND_NS})]}))},m=h.default.div.withConfig({displayName:"searchCta__StyledBox",componentId:"sc-76644b6b-0"})(C(),E.SPACING_WITH_UNIT.x5,E.SPACING_WITH_UNIT.x0_5,E.SPACING_WITH_UNIT.x0,e=>e.$fontsize,v.SEMANTIC_BORDER_INTERACTIVE_DEFAULT,E.SPACING_WITH_UNIT.x4,
1E.SPACING_WITH_UNIT.x1,v.SEMANTIC_SURFACE_INTERACTIVE_DEFAULT,v.SEMANTIC_TEXT_PRIMARY,g.sxStyle),b=(0,h.default)(y.default).withConfig({displayName:"searchCta__Icon",componentId:"sc-76644b6b-1"})(I(),E.SPACING_WITH_UNIT.x0,E.SPACING_WITH_UNIT.x1_5);e.s(["default",0,e=>{let{channelName:d,closeSideSheet:f}=e,_=(0,n._)(e,["channelName","closeSideSheet"]),p=(0,r.useDispatch)(),{track:g}=(0,o.useTrack)(),y="sports"===d,E=(0,c.useAppPathname)().includes("recommend");return(0,l.usePrefetchPages)([u.RECOMMEND_PAGE_NAME]),(0,i.jsx)(T,(0,t._)({onClick:()=>{if(E){f&&f("SUCCESS");return}y?(0,a.dispatchAndTrackAction)(s.goToRecommend,{channel:"SEARCH_SPORT",area:"ALL"},p,g):(0,a.dispatchAndTrackAction)(s.goToRecommend,{channel:"SEARCH_CASINO",area:"CASINO"},p,g)},fontsize:"13px"},_))}],432717)},948847,e=>{"use strict";var t=e.i(85694);let n=(0,t.createContext)({isClosing:!1,closeSideSheet:()=>{}}),i=n.Provider;e.s(["SideBarProvider",0,i,"useSideBarMenu",0,()=>(0,t.useContext)(n)])},123554,e=>{"use strict";var t=e.i(668886),n=e.i(687414);let i=(0,t.createSelector)(n.selectEmos,e=>e.selectedEventId);e.s(["selectActiveEventId",0,i])},931634,e=>{"use strict";e.s(["BETWAY_LIVECASINO_TEXT_LOGO_KEY",0,"betway-livecasino-text-logo","BETWAY_ONLYCASINO_TEXT_LOGO_KEY",0,"betway-onlycasino-text-logo","BETWAY_TEXT_LOGO_KEY",0,"betway-text-logo","BETWAY_VEGAS_TEXT_LOGO_KEY",0,"betway-vegas-text-logo","CASINO_GAME_TILE_KEY",0,"casino-game-tile","ONBOARDING_SUPERCLIENT_MIGRATION_BANKING_KEY",0,"onboarding-superclientmigration-banking","ONBOARDING_SUPERCLIENT_MIGRATION_CASINO_PROMOTIONS_KEY",0,"onboarding-superclientmigration-casinopromotions","ONBOARDING_SUPERCLIENT_MIGRATION_CHANGE_CHANNEL_KEY",0,"onboarding-superclientmigration-changechannel","ONBOARDING_SUPERCLIENT_MIGRATION_FIND_CASINO_KEY",0,"onboarding-superclientmigration-findcasino","ONBOARDING_SUPERCLIENT_MIGRATION_FIND_SPORTS_KEY",0,"onboarding-superclientmigration-findsports","ONBOARDING_SUPERCLIENT_MIGRATION_INTRO_KEY",0,"onboarding-superclientmigration-intro","ONBOARDING_SUPERCLIENT_MIGRATION_SPORTS_PROMOTIONS_KEY",0,"onboarding-superclientmigration-sportspromotions","TOPBAR_PARTNER_LOGO_KEY",0,"topbar-partner-logo","TOPBAR_RESPONSIBLE_GAMING_LOGO_DARK_KEY",0,"topbar-responsible-gaming-logo-dark","TOPBAR_RESPONSIBLE_GAMING_LOGO_KEY",0,"topbar-responsible-gaming-logo","TOPBAR_RESPONSIBLE_GAMING_LOGO_LIGHT_KEY",0,"topbar-responsible-gaming-logo-light"])},379661,e=>{"use strict";var t=e.i(277154);let n=(0,e.i(935531).createSvgIcon)((0,t.jsx)("path",{d:"M19 10V7c0-3.9-3.1-7-7-7S5 3.1 5 7v3a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-8a3 3 0 0 0-3-3zM7 7c0-2.8 2.2-5 5-5s5 2.2 5 5v3H7V7zm13 14c0 .5-.5 1-1 1H5a1 1 0 0 1-1-1v-8c0-.6.4-1 1-1h14c.5 0 1 .4 1 1v8zm-8.4-6.9a2 2 0 0 0-1.5 1.4 2 2 0 0 0 .9 2.2V19c0 .5.4 1 1 1s1-.5 1-1v-1.3c.6-.4 1-1 1-1.7 0-1.3-1.1-2.2-2.4-1.9z"}));e.s(["default",0,n])},645399,e=>{"use strict";var t=e.i(277154);let n=(0,e.i(935531).createSvgIcon)((0,t.jsx)("path",{d:"m21.8 22.4-3.6-5.1c-.3-.5-1-.5-1.4-.2-.5.3-.5 1-.2 1.4l3.6 5.1c.2.3.5.4.8.4l.6-.2c.4-.3.5-.9.2-1.4zM20 9c0-5-4-9-9-9S2 4 2 9s4 9 9 9 9-4 9-9zm-9 7c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z"}));e.s(["default",0,n])},125400,e=>{"use strict";var t=e.i(277154);let n=(0,e.i(935531).createSvgIcon)((0,t.jsx)("path",{d:"m12.91 1.1 3.16 6.4 7.06 1.03c.83.12 1.16 1.14.56 1.73l-5.11 4.98 1.21 7.04c.14.83-.73 1.46-1.47 1.07L12 20.03l-6.32 3.32a1.01 1.01 0 0 1-1.47-1.07l1.21-7.04-5.11-4.98c-.6-.59-.27-1.61.56-1.73L7.93 7.5l3.16-6.4a1.02 1.02 0 0 1 1.82 0z"}));e.s(["default",0,n])},338066,e=>{"use strict";var t=e.i(277154);let n=(0,e.i(935531).createSvgIcon)((0,t.jsx)("path",{d:"M12 0a12 12 0 0 0-7 21.8 12.1 12.1 0 0 0 14 0A12 12 0 0 0 12 0zm7 19.1V18a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v1.1c-1.8-1.8-3-4.4-3-7.1C2 6.5 6.5 2 12 2s10 4.5 10 10c0 2.8-1.1 5.3-3 7.1zM12 4c2.2 0 4 1.8 4 4s-1.8 4-4 4-4-1.8-4-4 1.8-4 4-4z"}));e.s(["default",0,n])},158080,e=>{"use strict";e.s(["APP_MAX_WIDTH",0,"80rem","LARGE_SCREEN_BETSLIP_OFFSET_HEIGHT",0,"72px","LARGE_SCREEN_MAIN_CONTENT_WIDTH",0,"854px","LARGE_TOP_BAR_WIDTH",0,"1232px","SCROLLBAR_AREA_WIDTH",0,"6px","SIDE_PANEL_SCROLL_INSET",0,"2px","SIDE_PANEL_WIDTH",0,"300px"])}]);
2
3//# sourceMappingURL=0o08w2xdwc24c.js.map?dpl=dpl-mup7fau0

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.