/* global sauce */

window.sauce = window.sauce || {};

sauce.ns = function(ns, callback) {
    let offt = sauce;
    for (const x of ns.split('.')) {
        if (!offt[x]) {
            offt = (offt[x] = {});
        }
    }
    const assignments = callback && callback(offt);
    if (assignments) {
        Object.assign(offt, assignments);
    }
    return offt;
};

@@ -362,8 +362,383 @@
 fft;%0A%7D;%0A
+%0A%0Asauce.theme = function(name) %7B%0A    const doc = document.documentElement;%0A    const classes = Array.from(doc.classList);%0A    for (const x of classes) %7B%0A        if (x.startsWith('sauce-theme-')) %7B%0A            doc.classList.remove(x);%0A        %7D%0A    %7D%0A    if (name) %7B%0A        doc.classList.add('sauce-theme-enabled');%0A        doc.classList.add(%60sauce-theme-$%7Bname%7D%60);%0A    %7D%0A%7D;%0A

Add theme switcher dev utility.