';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": [ "//clientsapi01.pb06e2-resources.com", "//clientsapi02.pb06e2-resources.com", "//clientsapi31.pb06e2-resources.com", "//clientsapi32.pb06e2-resources.com", "//clientsapi51.pb06e2-resources.com", "//clientsapi52.pb06e2-resources.com" ], "line": [ "//line01.pb06e2-resources.com", "//line02.pb06e2-resources.com", "//line31.pb06e2-resources.com", "//line32.pb06e2-resources.com", "//line51.pb06e2-resources.com", "//line52.pb06e2-resources.com" ], "lineByScopeMarket": {}, "static": "//origin.pb06e2-resources.com", "commonApi": "//fastviewdata.pb06e2-resources.com", "staticSiteDir": "/webStaticPB/website", "mapOfAdditionalOriginURIs": {}, "updateUtcDate": "Mon, 07 Oct 2024 12:19:15 GMT", "site": { "version": "1.38.79", "forceUpdateVersion": 0, "environment": "production", "ref": "bWFzdGVy", "configHash": "82117a5df563beaa0e4b34abbf534f19" }, "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))}))}