(function () {
      var appPrefixes = ['/dashboard', '/portal', '/login', '/register', '/checkout', '/hub', '/contracts'];
      window.__sovranIsAppPath = function (pathname) {
        var path = pathname || '/';
        if (path === '/de' || path.indexOf('/de/') === 0) path = path.slice(3) || '/';
        for (var i = 0; i < appPrefixes.length; i++) {
          if (path === appPrefixes[i] || path.indexOf(appPrefixes[i] + '/') === 0) return true;
        }
        return false;
      };
      if (window.__sovranIsAppPath(window.location.pathname)) {
        document.documentElement.classList.add('sovran-app-route');
      }
    })();