';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": [ "//clientsapi11.ibbf55-resources.com", "//clientsapi12.ibbf55-resources.com", "//clientsapi21.ibbf55-resources.com", "//clientsapi22.ibbf55-resources.com", "//clientsapi23.ibbf55-resources.com" ], "line": [ "//line11.ibbf55-resources.com", "//line12.ibbf55-resources.com", "//line23.ibbf55-resources.com", "//line24.ibbf55-resources.com" ], "static": "//static.ibbf55-resources.com", "commonApi": "//fastviewdata.ibbf55-resources.com", "staticSiteDir": "/webStaticIB/website", "mapOfAdditionalOriginURIs": {}, "updateUtcDate": "Mon, 07 Oct 2024 14:02:18 GMT", "site": { "version": "1.38.81", "forceUpdateVersion": 0, "environment": "production", "ref": "bWFzdGVy", "configHash": "019aa7cb7dbced5aa1e2bd7bbedc85ee" }, "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))}))}