th() {
            if (window.location.pathname === '/static/oidc-callback.html') {
                // App is deployed in the root context. Return an empty string.
                return "";
            } else {
                // App is deployed in a non-root context. Return the context.
                return window.location.pathname.substring(0, window.location.pathname.indexOf("/",2));
            }
        }
        function isUrlSaveForRedirect(redirectUrl) {
            const contextRoot = getContext