  if (window.base_path.substring(0,2) === "\{\{") {
          window.base_path = "/";
          window.globals.base_path = window.base_path;
      }

      // Set the OrgId from the URL if possible.
      let url = new URL(window.location.href)
      if (url.searchParams.get("org_id")) {
          window.globals.OrgId = url.searchParams.get("org_id");
      }

    </script>
    <script type="text/javascript">
      // Used to launch the application in an error state - allows the
      // user to interact wi