';const darkTheme="dark"===new URLSearchParams(window.location.search.toLowerCase()).get("theme");if(darkTheme&&(loader.globalAreaTag.style.background="#121416",loader.loadMessageTag.style.background="#121416"),loader.initialize(),loader.show(),!renderScript.isRendertron){const e=document.querySelector(".global-message-hide");e&&(e.innerText="ab cd".repeat(1e3))}const DOMAIN_REPLACE_VARIABLE="%current_domain%",currentDomain=window.location.hostname.replace("www.",""),handleUrlVariable=e=>e.replace("%current_domain%",currentDomain),replaceSettingVar=e=>({...e,common:e.common.map((e=>handleUrlVariable(e))),line:e.line.map((e=>handleUrlVariable(e))),line_rendertron:(e.line_rendertron||[]).map((e=>handleUrlVariable(e))),static:handleUrlVariable(e.static),mapOfAdditionalOriginURIs:Object.keys(e.mapOfAdditionalOriginURIs||{}).reduce(((r,a)=>{const t=e.mapOfAdditionalOriginURIs[a];return r[a]=handleUrlVariable(t),r}),{})}),initSettings=e=>{const r=replaceSettingVar(e);if(window._buildInfo=r,renderScript.isRendertron&&r){const e=(r.line_rendertron||[])[0]||(r.line||[])[0];renderScript.runWindowLoadDelay(e)}},urlsPreloadRaw='{ "common": [ "//clientsapi01w.bk6bba-resources.com", "//clientsapi02w.bk6bba-resources.com", "//clientsapi03w.bk6bba-resources.com", "//clientsapi04w.bk6bba-resources.com", "//clientsapi05w.bk6bba-resources.com", "//clientsapi31w.bk6bba-resources.com", "//clientsapi51w.bk6bba-resources.com", "//clientsapi52w.bk6bba-resources.com" ], "line": [ "//line01w.bk6bba-resources.com", "//line02w.bk6bba-resources.com", "//line03w.bk6bba-resources.com", "//line04w.bk6bba-resources.com", "//line05w.bk6bba-resources.com", "//line06w.bk6bba-resources.com", "//line07w.bk6bba-resources.com", "//line08w.bk6bba-resources.com", "//line31w.bk6bba-resources.com", "//line32w.bk6bba-resources.com", "//line51w.bk6bba-resources.com", "//line52w.bk6bba-resources.com", "//line53w.bk6bba-resources.com", "//line54w.bk6bba-resources.com", "//line55w.bk6bba-resources.com" ], "lineByScopeMarket": {}, "static": "//origin.bk6bba-resources.com", "commonApi": "//fastviewdata.bk6bba-resources.com", "staticSiteDir": "/webStaticRed/website", "mapOfAdditionalOriginURIs": {}, "updateUtcDate": "Wed, 02 Oct 2024 15:40:02 GMT", "site": { "version": "1.38.79", "forceUpdateVersion": 0, "environment": "production", "ref": "bWFzdGVy", "configHash": "eea37a2045d52f10228562db13a1e57c" }, "enableClickStream": true}';if(urlsPreloadRaw){const e=JSON.parse(urlsPreloadRaw);initSettings(e),appLoad.loadBootstrap(!1)}else{renderScript.isRendertron&&console.log("render: load script wont work!");const e=renderScript.isRendertron?6e5*Math.trunc(Date.now()/6e5):Date.now();fetch(`/urls.json?hash=${e}`).then((e=>e.json())).then((e=>{initSettings(e),appLoad.loadBootstrap(!1)})).catch((()=>{appLoad&&!appLoad.restartTimer&&(appLoad.restartTimer=setTimeout((()=>{appLoad.restartTimer=void 0,appLoad.restart()}),appLoad.restartTimeout),loader.printMsg(appLoad.newLine(appLoad.msgDownloadFailed)+appLoad.newLine(`The application will be restarted in ${Math.floor(appLoad.restartTimeout/1e3)} seconds.`)+appLoad.btnCancelRestart))}))}