function loadScript(route, callback, ...attributes) { const s = document.createElement('script'); s.src = route; document.body.appendChild(s); s.onload = () => { if (callback) callback(); }; for (let a of attributes) { s.setAttribute(a, true); } } loadScript("https://resources.betway.com/Resources/Global/js/AceBootstrap.min.js?v=1.5.4", onAceLoad) var requiredScripts = []; requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/ss?v=948c8659"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/shims_desktop?v=a88b1b02"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/Ace_Framework_Web?v=bb829f3f"); requiredScripts.push("https://resources.betway.com/Resources/Global/js/web-vitals/polyfill.min.js?v=e0e2ce6d"); requiredScripts.push("https://resources.betway.com/Resources/Global/js/web-vitals/web-vitals.base.iife.min.js?v=d61e71d6"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/Ace_Analytics?v=18f0da8b"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/Ace_UI_Web?v=a2209a61"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_FeatureManagement_LaunchDarkly?v=0a59a90d"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Framework_Abstractions?v=97e2ec1a"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Web_Abstractions?v=01bd679c"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Content_Abstractions?v=26a0b034"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Game_Abstractions?v=efc43b14"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Sports_Abstractions?v=c9bb9f33"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_PureMvc?v=4e7b8a56"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Core?v=592336d9"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Core_Web?v=84eb2e86"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/JourneyTracking?v=18f5e38e"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_ClientCapabilities?v=47e7ca0f"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Communications?v=4cce74d2"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Widgets?v=630a38f7"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_WidgetsCore?v=c3852e89"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Scrolling?v=bf9dd63a"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Storage?v=5b7d445c"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_LayoutBehaviours?v=be8a36dd"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_CommonWidgets?v=041a8c84"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_LegacyDependencies?v=db04d230"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_CommonWidgets_Desktop?v=0774c5c5"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Tokenization?v=4c6f4e32"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_DeviceOrientation?v=638fc220"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_ApplicationState?v=cfbba369"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Branding?v=f2c41b59"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_AdminCore?v=cebabafc"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Announcements_Modals?v=08741abb"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Currency?v=88527259"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Balance?v=227028be"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Login?v=a9f06eab"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Login_Announcements?v=27085765"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Login_Desktop?v=797073ab"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_DataPolling?v=073a2131"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Monitoring?v=ffe57b42"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Configuration?v=84eedcf8"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Seo?v=cbb4708e"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Channels?v=afa805c6"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Deeplinking?v=caf8fdae"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Pages?v=f1400b2b"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/Routing?v=804b7e51"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Maintenance?v=9f4b1104"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_IFrames?v=070fd5f9"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_ExternalIntegrations?v=74716238"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_EmbeddedContent?v=ed19ac1e"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/Ace_Announcements_Modals?v=413db0a9"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/Ace_Announcements?v=b2212154"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/Ace_Announcements_Modals_Web?v=9c5b3043"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Analytics?v=e32a2f4f"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Analytics_Web?v=089f050a"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_DynamicContent?v=385feed5"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_MessagingCore?v=0b28c504"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/Launcher_Web?v=bd604e3c"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/Launcher_RespinBridge?v=349a85bf"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Mirage?v=8338306c"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Ensighten?v=c8054db5"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_NavigationMessaging?v=9ce1f554"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/CookiePolicy?v=2644a7f5"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_BasicCookiePolicy?v=9258133d"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_PushMessaging_ClickStream?v=ee586982"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/PushMessaging_Core_Data?v=0ee81eda"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/Ace_Messaging_Web?v=f861aa29"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/Ace_Messaging?v=971e8537"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_SessionData?v=ad6cbe28"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_Disco?v=1b7d7fd7"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/SpinSport_Client_Module_UserActions?v=de101691"); requiredScripts.push("https://resources.betway.com/Resources/script/nolocal/Betway/desktop/es-mx/Analytics_AppInsights?v=aff1ca90"); function onAceLoad () { ; Ace.BootstrapSpinSport(requiredScripts, function () { if (performanceMarkExists()) { performance.mark("EXECUTION START"); } Ace.Configuration = ClientConfiguration; Ace.LoadQueuedLibraries(); Ace.Libraries.Launcher_RespinBridge.Program.main(); if (performanceMarkExists()) { performance.mark("EXECUTION COMPLETE"); } }); } function performanceMarkExists() { return typeof performance !== 'undefined' && !!performance && !!performance.mark && typeof performance.mark === "function"; } if ('serviceWorker' in navigator) { navigator.serviceWorker.register('/wapi/service-worker.js?language=es-mx', { scope: '/' }) .then((registration) => { console.log("Service Worker registration complete."); if ('controller' in navigator.serviceWorker) { navigator.serviceWorker.controller.postMessage({ Id: "8b580ee4-2041-4953-a532-4f3211e63d41", Name: "EXPIRE_CACHE", Origin: "SpinSportApplication", Type: "REQUEST", SenderId: "SpinSportApplication" }) } }) .catch((error) => console.log("Service Worker registration failed with error:" + error)); } else { console.log("Service Worker unable to register."); }