exception status] ' + text);
        };
      };
      (function() {
        var defaultMode = 'light';

        function setDataThemeAttribute(theme) {
          document.documentElement.setAttribute('data-theme', theme);
        }

        function getStoredTheme() {
          var theme = null;
          try {
          theme = localStorage.getItem('theme');
          } catch (err) {}
          return theme;
        }

        var storedTheme = getStoredTheme();
        if (storedTheme !== null) {
       