window.connectEnvConfig={code:"350505dc-2bd1-5e1b-350a-b58f67d82b90",api:"https://api.scorpion.co/platformapp/comms",env:"https://api.scorpion.co",js:"https://scorpionconnect.scorpion.co/static/js/main.8d4d8b08.js",css:"https://scorpionconnect.scorpion.co/static/css/main.437a3b40.css"},async function(){const n=window.connectEnvConfig.api+"/v1/api/helpcenter/start",o=/(?:^|;\s*)L=#(\d+)(?:;|$)/.exec(document.cookie),e=await fetch(n,{method:"GET",headers:{"Content-Type":"application/json","X-Request-From":window.location.href,"x-location":+o?.[1]||0,"x-code":window.connectEnvConfig.code||void 0,"x-signup":window.connectEnvConfig.signup||void 0}}),t=await e.text(),c=JSON.parse(t);if(!c.result)return void console.error("Unable to obtain helpcenter/start");window.connectEnvConfig.js=c.result.js||window.connectEnvConfig.js,window.connectEnvConfig.css=c.result.css||window.connectEnvConfig.css;const s=new URLSearchParams(window.location.search);if(s.has("rwg_token")&&(document.cookie="rwg_token="+s.get("rwg_token")),s.has("openscheduler")||s.has("rwg_token")){var i=new Date;i.setMinutes(i.getMinutes()+30);var a={expiresOn:i,route:6};localStorage.setItem("connectRoute",JSON.stringify(a))}!function(){const n=document.createElement("script");n.defer=!0,n.src=window.connectEnvConfig.js,document.body.appendChild(n);const o=document.createElement("link");o.href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap",o.rel="stylesheet",document.head.appendChild(o)}()}();