Unescape HTML · Zig

SHA-256 b2b5f0ae51d2c173d0fe6aa438e20da15da4cbb3a1e7de28acf2ce6c0cb7d0de

View source (75 KiB of Zig)
//! unescape_html baseline: a QIP component that decodes every HTML character reference in
//! UTF-8 text and copies all other bytes unchanged. One self-contained file; the table at
//! the bottom is generated by gen_table.py from Python's html.entities.html5.
//!
//! Build: zig build-exe unescape.zig -target wasm32-freestanding -O ReleaseSmall -fno-entry
//!   -rdynamic -fstrip --stack 65536 --initial-memory=3145728 --max-memory=3145728 -femit-bin=unescape.wasm
const INPUT_CAP = 1 << 20;
// The largest growth is `&nGt;` (5 bytes) becoming 6 bytes.
const OUTPUT_CAP = INPUT_CAP / 5 * 6 + 8;

var input: [INPUT_CAP]u8 = undefined;
var output: [OUTPUT_CAP]u8 = undefined;
var out_len: usize = 0;

export fn input_ptr() u32 {
    return @intCast(@intFromPtr(&input));
}
export fn input_utf8_cap() u32 {
    return INPUT_CAP;
}
export fn output_ptr() u32 {
    return @intCast(@intFromPtr(&output));
}
export fn output_utf8_cap() u32 {
    return OUTPUT_CAP;
}

export fn render(len: u32) u64 {
    const text = input[0..@min(len, INPUT_CAP)];
    out_len = 0;
    var i: usize = 0;
    while (i < text.len) {
        if (text[i] != &#39;&&#39;) {
            emit(text[i .. i + 1]);
            i += 1;
        } else if (i + 1 < text.len and text[i + 1] == &#39;#&#39;) {
            i = numeric(text, i);
        } else {
            i = named(text, i);
        }
    }
    return (@as(u64, output_ptr()) << 32) | out_len;
}

fn emit(bytes: []const u8) void {
    @memcpy(output[out_len .. out_len + bytes.len], bytes);
    out_len += bytes.len;
}

fn emitCodePoint(c: u21) void {
    var buf: [4]u8 = undefined;
    const n: usize = if (c < 0x80) 1 else if (c < 0x800) 2 else if (c < 0x10000) 3 else 4;
    switch (n) {
        1 => buf[0] = @intCast(c),
        2 => {
            buf[0] = @intCast(0xC0 | (c >> 6));
            buf[1] = @intCast(0x80 | (c & 0x3F));
        },
        3 => {
            buf[0] = @intCast(0xE0 | (c >> 12));
            buf[1] = @intCast(0x80 | ((c >> 6) & 0x3F));
            buf[2] = @intCast(0x80 | (c & 0x3F));
        },
        else => {
            buf[0] = @intCast(0xF0 | (c >> 18));
            buf[1] = @intCast(0x80 | ((c >> 12) & 0x3F));
            buf[2] = @intCast(0x80 | ((c >> 6) & 0x3F));
            buf[3] = @intCast(0x80 | (c & 0x3F));
        },
    }
    emit(buf[0..n]);
}

// Windows-1252 remapping for references to 0x80–0x9F; 0 keeps the code point.
const c1 = [32]u16{ 0x20AC, 0, 0x201A, 0x0192, 0x201E, 0x2026, 0x2020, 0x2021, 0x02C6, 0x2030, 0x0160, 0x2039, 0x0152, 0, 0x017D, 0, 0, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014, 0x02DC, 0x2122, 0x0161, 0x203A, 0x0153, 0, 0x017E, 0x0178 };

/// `text[at]` is `&` and `text[at + 1]` is `#`. Returns the index after what was consumed.
fn numeric(text: []const u8, at: usize) usize {
    var i = at + 2;
    const hex = i < text.len and (text[i] | 0x20) == &#39;x&#39;;
    if (hex) i += 1;
    const start = i;
    var value: u32 = 0;
    while (i < text.len) : (i += 1) {
        const d: u32 = switch (text[i]) {
            &#39;0&#39;...&#39;9&#39; => text[i] - &#39;0&#39;,
            &#39;a&#39;...&#39;f&#39; => if (hex) text[i] - &#39;a&#39; + 10 else break,
            &#39;A&#39;...&#39;F&#39; => if (hex) text[i] - &#39;A&#39; + 10 else break,
            else => break,
        };
        // Saturate: anything past U+10FFFF is replaced the same way.
        value = @min(value * (if (hex) @as(u32, 16) else 10) + d, 0x110000);
    }
    if (i == start) {
        emit("&");
        return at + 1;
    }
    if (i < text.len and text[i] == &#39;;&#39;) i += 1;
    if (value >= 0x80 and value <= 0x9F and c1[value - 0x80] != 0) {
        emitCodePoint(c1[value - 0x80]);
    } else if (value == 0 or (value >= 0xD800 and value <= 0xDFFF) or value > 0x10FFFF) {
        emitCodePoint(0xFFFD);
    } else {
        emitCodePoint(@intCast(value));
    }
    return i;
}

fn isAlnum(c: u8) bool {
    return (c >= &#39;0&#39; and c <= &#39;9&#39;) or ((c | 0x20) >= &#39;a&#39; and (c | 0x20) <= &#39;z&#39;);
}

/// `text[at]` is `&`. Names are ASCII letters and digits, at most 31 before the `;`.
fn named(text: []const u8, at: usize) usize {
    var end = at + 1;
    while (end < text.len and end - at - 1 < 32 and isAlnum(text[end])) end += 1;
    const run = text[at + 1 .. end];
    if (end < text.len and text[end] == &#39;;&#39;) {
        if (lookup(text[at + 1 .. end + 1])) |value| {
            emit(value);
            return end + 1;
        }
    }
    // Without `;`, only legacy names (stored without `;`) match, longest first.
    var n = run.len;
    while (n >= 2) : (n -= 1) {
        if (lookup(run[0..n])) |value| {
            emit(value);
            return at + 1 + n;
        }
    }
    emit("&");
    return at + 1;
}

fn lookup(name: []const u8) ?[]const u8 {
    var lo: usize = 0;
    var hi: usize = names.len;
    while (lo < hi) {
        const mid = (lo + hi) / 2;
        switch (order(names[mid], name)) {
            .lt => lo = mid + 1,
            .gt => hi = mid,
            .eq => return values[mid],
        }
    }
    return null;
}

fn order(a: []const u8, b: []const u8) enum { lt, eq, gt } {
    for (a[0..@min(a.len, b.len)], b[0..@min(a.len, b.len)]) |x, y| {
        if (x != y) return if (x < y) .lt else .gt;
    }
    return if (a.len == b.len) .eq else if (a.len < b.len) .lt else .gt;
}

// BEGIN GENERATED TABLE
const names = [_][]const u8{
    "AElig",
    "AElig;",
    "AMP",
    "AMP;",
    "Aacute",
    "Aacute;",
    "Abreve;",
    "Acirc",
    "Acirc;",
    "Acy;",
    "Afr;",
    "Agrave",
    "Agrave;",
    "Alpha;",
    "Amacr;",
    "And;",
    "Aogon;",
    "Aopf;",
    "ApplyFunction;",
    "Aring",
    "Aring;",
    "Ascr;",
    "Assign;",
    "Atilde",
    "Atilde;",
    "Auml",
    "Auml;",
    "Backslash;",
    "Barv;",
    "Barwed;",
    "Bcy;",
    "Because;",
    "Bernoullis;",
    "Beta;",
    "Bfr;",
    "Bopf;",
    "Breve;",
    "Bscr;",
    "Bumpeq;",
    "CHcy;",
    "COPY",
    "COPY;",
    "Cacute;",
    "Cap;",
    "CapitalDifferentialD;",
    "Cayleys;",
    "Ccaron;",
    "Ccedil",
    "Ccedil;",
    "Ccirc;",
    "Cconint;",
    "Cdot;",
    "Cedilla;",
    "CenterDot;",
    "Cfr;",
    "Chi;",
    "CircleDot;",
    "CircleMinus;",
    "CirclePlus;",
    "CircleTimes;",
    "ClockwiseContourIntegral;",
    "CloseCurlyDoubleQuote;",
    "CloseCurlyQuote;",
    "Colon;",
    "Colone;",
    "Congruent;",
    "Conint;",
    "ContourIntegral;",
    "Copf;",
    "Coproduct;",
    "CounterClockwiseContourIntegral;",
    "Cross;",
    "Cscr;",
    "Cup;",
    "CupCap;",
    "DD;",
    "DDotrahd;",
    "DJcy;",
    "DScy;",
    "DZcy;",
    "Dagger;",
    "Darr;",
    "Dashv;",
    "Dcaron;",
    "Dcy;",
    "Del;",
    "Delta;",
    "Dfr;",
    "DiacriticalAcute;",
    "DiacriticalDot;",
    "DiacriticalDoubleAcute;",
    "DiacriticalGrave;",
    "DiacriticalTilde;",
    "Diamond;",
    "DifferentialD;",
    "Dopf;",
    "Dot;",
    "DotDot;",
    "DotEqual;",
    "DoubleContourIntegral;",
    "DoubleDot;",
    "DoubleDownArrow;",
    "DoubleLeftArrow;",
    "DoubleLeftRightArrow;",
    "DoubleLeftTee;",
    "DoubleLongLeftArrow;",
    "DoubleLongLeftRightArrow;",
    "DoubleLongRightArrow;",
    "DoubleRightArrow;",
    "DoubleRightTee;",
    "DoubleUpArrow;",
    "DoubleUpDownArrow;",
    "DoubleVerticalBar;",
    "DownArrow;",
    "DownArrowBar;",
    "DownArrowUpArrow;",
    "DownBreve;",
    "DownLeftRightVector;",
    "DownLeftTeeVector;",
    "DownLeftVector;",
    "DownLeftVectorBar;",
    "DownRightTeeVector;",
    "DownRightVector;",
    "DownRightVectorBar;",
    "DownTee;",
    "DownTeeArrow;",
    "Downarrow;",
    "Dscr;",
    "Dstrok;",
    "ENG;",
    "ETH",
    "ETH;",
    "Eacute",
    "Eacute;",
    "Ecaron;",
    "Ecirc",
    "Ecirc;",
    "Ecy;",
    "Edot;",
    "Efr;",
    "Egrave",
    "Egrave;",
    "Element;",
    "Emacr;",
    "EmptySmallSquare;",
    "EmptyVerySmallSquare;",
    "Eogon;",
    "Eopf;",
    "Epsilon;",
    "Equal;",
    "EqualTilde;",
    "Equilibrium;",
    "Escr;",
    "Esim;",
    "Eta;",
    "Euml",
    "Euml;",
    "Exists;",
    "ExponentialE;",
    "Fcy;",
    "Ffr;",
    "FilledSmallSquare;",
    "FilledVerySmallSquare;",
    "Fopf;",
    "ForAll;",
    "Fouriertrf;",
    "Fscr;",
    "GJcy;",
    "GT",
    "GT;",
    "Gamma;",
    "Gammad;",
    "Gbreve;",
    "Gcedil;",
    "Gcirc;",
    "Gcy;",
    "Gdot;",
    "Gfr;",
    "Gg;",
    "Gopf;",
    "GreaterEqual;",
    "GreaterEqualLess;",
    "GreaterFullEqual;",
    "GreaterGreater;",
    "GreaterLess;",
    "GreaterSlantEqual;",
    "GreaterTilde;",
    "Gscr;",
    "Gt;",
    "HARDcy;",
    "Hacek;",
    "Hat;",
    "Hcirc;",
    "Hfr;",
    "HilbertSpace;",
    "Hopf;",
    "HorizontalLine;",
    "Hscr;",
    "Hstrok;",
    "HumpDownHump;",
    "HumpEqual;",
    "IEcy;",
    "IJlig;",
    "IOcy;",
    "Iacute",
    "Iacute;",
    "Icirc",
    "Icirc;",
    "Icy;",
    "Idot;",
    "Ifr;",
    "Igrave",
    "Igrave;",
    "Im;",
    "Imacr;",
    "ImaginaryI;",
    "Implies;",
    "Int;",
    "Integral;",
    "Intersection;",
    "InvisibleComma;",
    "InvisibleTimes;",
    "Iogon;",
    "Iopf;",
    "Iota;",
    "Iscr;",
    "Itilde;",
    "Iukcy;",
    "Iuml",
    "Iuml;",
    "Jcirc;",
    "Jcy;",
    "Jfr;",
    "Jopf;",
    "Jscr;",
    "Jsercy;",
    "Jukcy;",
    "KHcy;",
    "KJcy;",
    "Kappa;",
    "Kcedil;",
    "Kcy;",
    "Kfr;",
    "Kopf;",
    "Kscr;",
    "LJcy;",
    "LT",
    "LT;",
    "Lacute;",
    "Lambda;",
    "Lang;",
    "Laplacetrf;",
    "Larr;",
    "Lcaron;",
    "Lcedil;",
    "Lcy;",
    "LeftAngleBracket;",
    "LeftArrow;",
    "LeftArrowBar;",
    "LeftArrowRightArrow;",
    "LeftCeiling;",
    "LeftDoubleBracket;",
    "LeftDownTeeVector;",
    "LeftDownVector;",
    "LeftDownVectorBar;",
    "LeftFloor;",
    "LeftRightArrow;",
    "LeftRightVector;",
    "LeftTee;",
    "LeftTeeArrow;",
    "LeftTeeVector;",
    "LeftTriangle;",
    "LeftTriangleBar;",
    "LeftTriangleEqual;",
    "LeftUpDownVector;",
    "LeftUpTeeVector;",
    "LeftUpVector;",
    "LeftUpVectorBar;",
    "LeftVector;",
    "LeftVectorBar;",
    "Leftarrow;",
    "Leftrightarrow;",
    "LessEqualGreater;",
    "LessFullEqual;",
    "LessGreater;",
    "LessLess;",
    "LessSlantEqual;",
    "LessTilde;",
    "Lfr;",
    "Ll;",
    "Lleftarrow;",
    "Lmidot;",
    "LongLeftArrow;",
    "LongLeftRightArrow;",
    "LongRightArrow;",
    "Longleftarrow;",
    "Longleftrightarrow;",
    "Longrightarrow;",
    "Lopf;",
    "LowerLeftArrow;",
    "LowerRightArrow;",
    "Lscr;",
    "Lsh;",
    "Lstrok;",
    "Lt;",
    "Map;",
    "Mcy;",
    "MediumSpace;",
    "Mellintrf;",
    "Mfr;",
    "MinusPlus;",
    "Mopf;",
    "Mscr;",
    "Mu;",
    "NJcy;",
    "Nacute;",
    "Ncaron;",
    "Ncedil;",
    "Ncy;",
    "NegativeMediumSpace;",
    "NegativeThickSpace;",
    "NegativeThinSpace;",
    "NegativeVeryThinSpace;",
    "NestedGreaterGreater;",
    "NestedLessLess;",
    "NewLine;",
    "Nfr;",
    "NoBreak;",
    "NonBreakingSpace;",
    "Nopf;",
    "Not;",
    "NotCongruent;",
    "NotCupCap;",
    "NotDoubleVerticalBar;",
    "NotElement;",
    "NotEqual;",
    "NotEqualTilde;",
    "NotExists;",
    "NotGreater;",
    "NotGreaterEqual;",
    "NotGreaterFullEqual;",
    "NotGreaterGreater;",
    "NotGreaterLess;",
    "NotGreaterSlantEqual;",
    "NotGreaterTilde;",
    "NotHumpDownHump;",
    "NotHumpEqual;",
    "NotLeftTriangle;",
    "NotLeftTriangleBar;",
    "NotLeftTriangleEqual;",
    "NotLess;",
    "NotLessEqual;",
    "NotLessGreater;",
    "NotLessLess;",
    "NotLessSlantEqual;",
    "NotLessTilde;",
    "NotNestedGreaterGreater;",
    "NotNestedLessLess;",
    "NotPrecedes;",
    "NotPrecedesEqual;",
    "NotPrecedesSlantEqual;",
    "NotReverseElement;",
    "NotRightTriangle;",
    "NotRightTriangleBar;",
    "NotRightTriangleEqual;",
    "NotSquareSubset;",
    "NotSquareSubsetEqual;",
    "NotSquareSuperset;",
    "NotSquareSupersetEqual;",
    "NotSubset;",
    "NotSubsetEqual;",
    "NotSucceeds;",
    "NotSucceedsEqual;",
    "NotSucceedsSlantEqual;",
    "NotSucceedsTilde;",
    "NotSuperset;",
    "NotSupersetEqual;",
    "NotTilde;",
    "NotTildeEqual;",
    "NotTildeFullEqual;",
    "NotTildeTilde;",
    "NotVerticalBar;",
    "Nscr;",
    "Ntilde",
    "Ntilde;",
    "Nu;",
    "OElig;",
    "Oacute",
    "Oacute;",
    "Ocirc",
    "Ocirc;",
    "Ocy;",
    "Odblac;",
    "Ofr;",
    "Ograve",
    "Ograve;",
    "Omacr;",
    "Omega;",
    "Omicron;",
    "Oopf;",
    "OpenCurlyDoubleQuote;",
    "OpenCurlyQuote;",
    "Or;",
    "Oscr;",
    "Oslash",
    "Oslash;",
    "Otilde",
    "Otilde;",
    "Otimes;",
    "Ouml",
    "Ouml;",
    "OverBar;",
    "OverBrace;",
    "OverBracket;",
    "OverParenthesis;",
    "PartialD;",
    "Pcy;",
    "Pfr;",
    "Phi;",
    "Pi;",
    "PlusMinus;",
    "Poincareplane;",
    "Popf;",
    "Pr;",
    "Precedes;",
    "PrecedesEqual;",
    "PrecedesSlantEqual;",
    "PrecedesTilde;",
    "Prime;",
    "Product;",
    "Proportion;",
    "Proportional;",
    "Pscr;",
    "Psi;",
    "QUOT",
    "QUOT;",
    "Qfr;",
    "Qopf;",
    "Qscr;",
    "RBarr;",
    "REG",
    "REG;",
    "Racute;",
    "Rang;",
    "Rarr;",
    "Rarrtl;",
    "Rcaron;",
    "Rcedil;",
    "Rcy;",
    "Re;",
    "ReverseElement;",
    "ReverseEquilibrium;",
    "ReverseUpEquilibrium;",
    "Rfr;",
    "Rho;",
    "RightAngleBracket;",
    "RightArrow;",
    "RightArrowBar;",
    "RightArrowLeftArrow;",
    "RightCeiling;",
    "RightDoubleBracket;",
    "RightDownTeeVector;",
    "RightDownVector;",
    "RightDownVectorBar;",
    "RightFloor;",
    "RightTee;",
    "RightTeeArrow;",
    "RightTeeVector;",
    "RightTriangle;",
    "RightTriangleBar;",
    "RightTriangleEqual;",
    "RightUpDownVector;",
    "RightUpTeeVector;",
    "RightUpVector;",
    "RightUpVectorBar;",
    "RightVector;",
    "RightVectorBar;",
    "Rightarrow;",
    "Ropf;",
    "RoundImplies;",
    "Rrightarrow;",
    "Rscr;",
    "Rsh;",
    "RuleDelayed;",
    "SHCHcy;",
    "SHcy;",
    "SOFTcy;",
    "Sacute;",
    "Sc;",
    "Scaron;",
    "Scedil;",
    "Scirc;",
    "Scy;",
    "Sfr;",
    "ShortDownArrow;",
    "ShortLeftArrow;",
    "ShortRightArrow;",
    "ShortUpArrow;",
    "Sigma;",
    "SmallCircle;",
    "Sopf;",
    "Sqrt;",
    "Square;",
    "SquareIntersection;",
    "SquareSubset;",
    "SquareSubsetEqual;",
    "SquareSuperset;",
    "SquareSupersetEqual;",
    "SquareUnion;",
    "Sscr;",
    "Star;",
    "Sub;",
    "Subset;",
    "SubsetEqual;",
    "Succeeds;",
    "SucceedsEqual;",
    "SucceedsSlantEqual;",
    "SucceedsTilde;",
    "SuchThat;",
    "Sum;",
    "Sup;",
    "Superset;",
    "SupersetEqual;",
    "Supset;",
    "THORN",
    "THORN;",
    "TRADE;",
    "TSHcy;",
    "TScy;",
    "Tab;",
    "Tau;",
    "Tcaron;",
    "Tcedil;",
    "Tcy;",
    "Tfr;",
    "Therefore;",
    "Theta;",
    "ThickSpace;",
    "ThinSpace;",
    "Tilde;",
    "TildeEqual;",
    "TildeFullEqual;",
    "TildeTilde;",
    "Topf;",
    "TripleDot;",
    "Tscr;",
    "Tstrok;",
    "Uacute",
    "Uacute;",
    "Uarr;",
    "Uarrocir;",
    "Ubrcy;",
    "Ubreve;",
    "Ucirc",
    "Ucirc;",
    "Ucy;",
    "Udblac;",
    "Ufr;",
    "Ugrave",
    "Ugrave;",
    "Umacr;",
    "UnderBar;",
    "UnderBrace;",
    "UnderBracket;",
    "UnderParenthesis;",
    "Union;",
    "UnionPlus;",
    "Uogon;",
    "Uopf;",
    "UpArrow;",
    "UpArrowBar;",
    "UpArrowDownArrow;",
    "UpDownArrow;",
    "UpEquilibrium;",
    "UpTee;",
    "UpTeeArrow;",
    "Uparrow;",
    "Updownarrow;",
    "UpperLeftArrow;",
    "UpperRightArrow;",
    "Upsi;",
    "Upsilon;",
    "Uring;",
    "Uscr;",
    "Utilde;",
    "Uuml",
    "Uuml;",
    "VDash;",
    "Vbar;",
    "Vcy;",
    "Vdash;",
    "Vdashl;",
    "Vee;",
    "Verbar;",
    "Vert;",
    "VerticalBar;",
    "VerticalLine;",
    "VerticalSeparator;",
    "VerticalTilde;",
    "VeryThinSpace;",
    "Vfr;",
    "Vopf;",
    "Vscr;",
    "Vvdash;",
    "Wcirc;",
    "Wedge;",
    "Wfr;",
    "Wopf;",
    "Wscr;",
    "Xfr;",
    "Xi;",
    "Xopf;",
    "Xscr;",
    "YAcy;",
    "YIcy;",
    "YUcy;",
    "Yacute",
    "Yacute;",
    "Ycirc;",
    "Ycy;",
    "Yfr;",
    "Yopf;",
    "Yscr;",
    "Yuml;",
    "ZHcy;",
    "Zacute;",
    "Zcaron;",
    "Zcy;",
    "Zdot;",
    "ZeroWidthSpace;",
    "Zeta;",
    "Zfr;",
    "Zopf;",
    "Zscr;",
    "aacute",
    "aacute;",
    "abreve;",
    "ac;",
    "acE;",
    "acd;",
    "acirc",
    "acirc;",
    "acute",
    "acute;",
    "acy;",
    "aelig",
    "aelig;",
    "af;",
    "afr;",
    "agrave",
    "agrave;",
    "alefsym;",
    "aleph;",
    "alpha;",
    "amacr;",
    "amalg;",
    "amp",
    "amp;",
    "and;",
    "andand;",
    "andd;",
    "andslope;",
    "andv;",
    "ang;",
    "ange;",
    "angle;",
    "angmsd;",
    "angmsdaa;",
    "angmsdab;",
    "angmsdac;",
    "angmsdad;",
    "angmsdae;",
    "angmsdaf;",
    "angmsdag;",
    "angmsdah;",
    "angrt;",
    "angrtvb;",
    "angrtvbd;",
    "angsph;",
    "angst;",
    "angzarr;",
    "aogon;",
    "aopf;",
    "ap;",
    "apE;",
    "apacir;",
    "ape;",
    "apid;",
    "apos;",
    "approx;",
    "approxeq;",
    "aring",
    "aring;",
    "ascr;",
    "ast;",
    "asymp;",
    "asympeq;",
    "atilde",
    "atilde;",
    "auml",
    "auml;",
    "awconint;",
    "awint;",
    "bNot;",
    "backcong;",
    "backepsilon;",
    "backprime;",
    "backsim;",
    "backsimeq;",
    "barvee;",
    "barwed;",
    "barwedge;",
    "bbrk;",
    "bbrktbrk;",
    "bcong;",
    "bcy;",
    "bdquo;",
    "becaus;",
    "because;",
    "bemptyv;",
    "bepsi;",
    "bernou;",
    "beta;",
    "beth;",
    "between;",
    "bfr;",
    "bigcap;",
    "bigcirc;",
    "bigcup;",
    "bigodot;",
    "bigoplus;",
    "bigotimes;",
    "bigsqcup;",
    "bigstar;",
    "bigtriangledown;",
    "bigtriangleup;",
    "biguplus;",
    "bigvee;",
    "bigwedge;",
    "bkarow;",
    "blacklozenge;",
    "blacksquare;",
    "blacktriangle;",
    "blacktriangledown;",
    "blacktriangleleft;",
    "blacktriangleright;",
    "blank;",
    "blk12;",
    "blk14;",
    "blk34;",
    "block;",
    "bne;",
    "bnequiv;",
    "bnot;",
    "bopf;",
    "bot;",
    "bottom;",
    "bowtie;",
    "boxDL;",
    "boxDR;",
    "boxDl;",
    "boxDr;",
    "boxH;",
    "boxHD;",
    "boxHU;",
    "boxHd;",
    "boxHu;",
    "boxUL;",
    "boxUR;",
    "boxUl;",
    "boxUr;",
    "boxV;",
    "boxVH;",
    "boxVL;",
    "boxVR;",
    "boxVh;",
    "boxVl;",
    "boxVr;",
    "boxbox;",
    "boxdL;",
    "boxdR;",
    "boxdl;",
    "boxdr;",
    "boxh;",
    "boxhD;",
    "boxhU;",
    "boxhd;",
    "boxhu;",
    "boxminus;",
    "boxplus;",
    "boxtimes;",
    "boxuL;",
    "boxuR;",
    "boxul;",
    "boxur;",
    "boxv;",
    "boxvH;",
    "boxvL;",
    "boxvR;",
    "boxvh;",
    "boxvl;",
    "boxvr;",
    "bprime;",
    "breve;",
    "brvbar",
    "brvbar;",
    "bscr;",
    "bsemi;",
    "bsim;",
    "bsime;",
    "bsol;",
    "bsolb;",
    "bsolhsub;",
    "bull;",
    "bullet;",
    "bump;",
    "bumpE;",
    "bumpe;",
    "bumpeq;",
    "cacute;",
    "cap;",
    "capand;",
    "capbrcup;",
    "capcap;",
    "capcup;",
    "capdot;",
    "caps;",
    "caret;",
    "caron;",
    "ccaps;",
    "ccaron;",
    "ccedil",
    "ccedil;",
    "ccirc;",
    "ccups;",
    "ccupssm;",
    "cdot;",
    "cedil",
    "cedil;",
    "cemptyv;",
    "cent",
    "cent;",
    "centerdot;",
    "cfr;",
    "chcy;",
    "check;",
    "checkmark;",
    "chi;",
    "cir;",
    "cirE;",
    "circ;",
    "circeq;",
    "circlearrowleft;",
    "circlearrowright;",
    "circledR;",
    "circledS;",
    "circledast;",
    "circledcirc;",
    "circleddash;",
    "cire;",
    "cirfnint;",
    "cirmid;",
    "cirscir;",
    "clubs;",
    "clubsuit;",
    "colon;",
    "colone;",
    "coloneq;",
    "comma;",
    "commat;",
    "comp;",
    "compfn;",
    "complement;",
    "complexes;",
    "cong;",
    "congdot;",
    "conint;",
    "copf;",
    "coprod;",
    "copy",
    "copy;",
    "copysr;",
    "crarr;",
    "cross;",
    "cscr;",
    "csub;",
    "csube;",
    "csup;",
    "csupe;",
    "ctdot;",
    "cudarrl;",
    "cudarrr;",
    "cuepr;",
    "cuesc;",
    "cularr;",
    "cularrp;",
    "cup;",
    "cupbrcap;",
    "cupcap;",
    "cupcup;",
    "cupdot;",
    "cupor;",
    "cups;",
    "curarr;",
    "curarrm;",
    "curlyeqprec;",
    "curlyeqsucc;",
    "curlyvee;",
    "curlywedge;",
    "curren",
    "curren;",
    "curvearrowleft;",
    "curvearrowright;",
    "cuvee;",
    "cuwed;",
    "cwconint;",
    "cwint;",
    "cylcty;",
    "dArr;",
    "dHar;",
    "dagger;",
    "daleth;",
    "darr;",
    "dash;",
    "dashv;",
    "dbkarow;",
    "dblac;",
    "dcaron;",
    "dcy;",
    "dd;",
    "ddagger;",
    "ddarr;",
    "ddotseq;",
    "deg",
    "deg;",
    "delta;",
    "demptyv;",
    "dfisht;",
    "dfr;",
    "dharl;",
    "dharr;",
    "diam;",
    "diamond;",
    "diamondsuit;",
    "diams;",
    "die;",
    "digamma;",
    "disin;",
    "div;",
    "divide",
    "divide;",
    "divideontimes;",
    "divonx;",
    "djcy;",
    "dlcorn;",
    "dlcrop;",
    "dollar;",
    "dopf;",
    "dot;",
    "doteq;",
    "doteqdot;",
    "dotminus;",
    "dotplus;",
    "dotsquare;",
    "doublebarwedge;",
    "downarrow;",
    "downdownarrows;",
    "downharpoonleft;",
    "downharpoonright;",
    "drbkarow;",
    "drcorn;",
    "drcrop;",
    "dscr;",
    "dscy;",
    "dsol;",
    "dstrok;",
    "dtdot;",
    "dtri;",
    "dtrif;",
    "duarr;",
    "duhar;",
    "dwangle;",
    "dzcy;",
    "dzigrarr;",
    "eDDot;",
    "eDot;",
    "eacute",
    "eacute;",
    "easter;",
    "ecaron;",
    "ecir;",
    "ecirc",
    "ecirc;",
    "ecolon;",
    "ecy;",
    "edot;",
    "ee;",
    "efDot;",
    "efr;",
    "eg;",
    "egrave",
    "egrave;",
    "egs;",
    "egsdot;",
    "el;",
    "elinters;",
    "ell;",
    "els;",
    "elsdot;",
    "emacr;",
    "empty;",
    "emptyset;",
    "emptyv;",
    "emsp13;",
    "emsp14;",
    "emsp;",
    "eng;",
    "ensp;",
    "eogon;",
    "eopf;",
    "epar;",
    "eparsl;",
    "eplus;",
    "epsi;",
    "epsilon;",
    "epsiv;",
    "eqcirc;",
    "eqcolon;",
    "eqsim;",
    "eqslantgtr;",
    "eqslantless;",
    "equals;",
    "equest;",
    "equiv;",
    "equivDD;",
    "eqvparsl;",
    "erDot;",
    "erarr;",
    "escr;",
    "esdot;",
    "esim;",
    "eta;",
    "eth",
    "eth;",
    "euml",
    "euml;",
    "euro;",
    "excl;",
    "exist;",
    "expectation;",
    "exponentiale;",
    "fallingdotseq;",
    "fcy;",
    "female;",
    "ffilig;",
    "fflig;",
    "ffllig;",
    "ffr;",
    "filig;",
    "fjlig;",
    "flat;",
    "fllig;",
    "fltns;",
    "fnof;",
    "fopf;",
    "forall;",
    "fork;",
    "forkv;",
    "fpartint;",
    "frac12",
    "frac12;",
    "frac13;",
    "frac14",
    "frac14;",
    "frac15;",
    "frac16;",
    "frac18;",
    "frac23;",
    "frac25;",
    "frac34",
    "frac34;",
    "frac35;",
    "frac38;",
    "frac45;",
    "frac56;",
    "frac58;",
    "frac78;",
    "frasl;",
    "frown;",
    "fscr;",
    "gE;",
    "gEl;",
    "gacute;",
    "gamma;",
    "gammad;",
    "gap;",
    "gbreve;",
    "gcirc;",
    "gcy;",
    "gdot;",
    "ge;",
    "gel;",
    "geq;",
    "geqq;",
    "geqslant;",
    "ges;",
    "gescc;",
    "gesdot;",
    "gesdoto;",
    "gesdotol;",
    "gesl;",
    "gesles;",
    "gfr;",
    "gg;",
    "ggg;",
    "gimel;",
    "gjcy;",
    "gl;",
    "glE;",
    "gla;",
    "glj;",
    "gnE;",
    "gnap;",
    "gnapprox;",
    "gne;",
    "gneq;",
    "gneqq;",
    "gnsim;",
    "gopf;",
    "grave;",
    "gscr;",
    "gsim;",
    "gsime;",
    "gsiml;",
    "gt",
    "gt;",
    "gtcc;",
    "gtcir;",
    "gtdot;",
    "gtlPar;",
    "gtquest;",
    "gtrapprox;",
    "gtrarr;",
    "gtrdot;",
    "gtreqless;",
    "gtreqqless;",
    "gtrless;",
    "gtrsim;",
    "gvertneqq;",
    "gvnE;",
    "hArr;",
    "hairsp;",
    "half;",
    "hamilt;",
    "hardcy;",
    "harr;",
    "harrcir;",
    "harrw;",
    "hbar;",
    "hcirc;",
    "hearts;",
    "heartsuit;",
    "hellip;",
    "hercon;",
    "hfr;",
    "hksearow;",
    "hkswarow;",
    "hoarr;",
    "homtht;",
    "hookleftarrow;",
    "hookrightarrow;",
    "hopf;",
    "horbar;",
    "hscr;",
    "hslash;",
    "hstrok;",
    "hybull;",
    "hyphen;",
    "iacute",
    "iacute;",
    "ic;",
    "icirc",
    "icirc;",
    "icy;",
    "iecy;",
    "iexcl",
    "iexcl;",
    "iff;",
    "ifr;",
    "igrave",
    "igrave;",
    "ii;",
    "iiiint;",
    "iiint;",
    "iinfin;",
    "iiota;",
    "ijlig;",
    "imacr;",
    "image;",
    "imagline;",
    "imagpart;",
    "imath;",
    "imof;",
    "imped;",
    "in;",
    "incare;",
    "infin;",
    "infintie;",
    "inodot;",
    "int;",
    "intcal;",
    "integers;",
    "intercal;",
    "intlarhk;",
    "intprod;",
    "iocy;",
    "iogon;",
    "iopf;",
    "iota;",
    "iprod;",
    "iquest",
    "iquest;",
    "iscr;",
    "isin;",
    "isinE;",
    "isindot;",
    "isins;",
    "isinsv;",
    "isinv;",
    "it;",
    "itilde;",
    "iukcy;",
    "iuml",
    "iuml;",
    "jcirc;",
    "jcy;",
    "jfr;",
    "jmath;",
    "jopf;",
    "jscr;",
    "jsercy;",
    "jukcy;",
    "kappa;",
    "kappav;",
    "kcedil;",
    "kcy;",
    "kfr;",
    "kgreen;",
    "khcy;",
    "kjcy;",
    "kopf;",
    "kscr;",
    "lAarr;",
    "lArr;",
    "lAtail;",
    "lBarr;",
    "lE;",
    "lEg;",
    "lHar;",
    "lacute;",
    "laemptyv;",
    "lagran;",
    "lambda;",
    "lang;",
    "langd;",
    "langle;",
    "lap;",
    "laquo",
    "laquo;",
    "larr;",
    "larrb;",
    "larrbfs;",
    "larrfs;",
    "larrhk;",
    "larrlp;",
    "larrpl;",
    "larrsim;",
    "larrtl;",
    "lat;",
    "latail;",
    "late;",
    "lates;",
    "lbarr;",
    "lbbrk;",
    "lbrace;",
    "lbrack;",
    "lbrke;",
    "lbrksld;",
    "lbrkslu;",
    "lcaron;",
    "lcedil;",
    "lceil;",
    "lcub;",
    "lcy;",
    "ldca;",
    "ldquo;",
    "ldquor;",
    "ldrdhar;",
    "ldrushar;",
    "ldsh;",
    "le;",
    "leftarrow;",
    "leftarrowtail;",
    "leftharpoondown;",
    "leftharpoonup;",
    "leftleftarrows;",
    "leftrightarrow;",
    "leftrightarrows;",
    "leftrightharpoons;",
    "leftrightsquigarrow;",
    "leftthreetimes;",
    "leg;",
    "leq;",
    "leqq;",
    "leqslant;",
    "les;",
    "lescc;",
    "lesdot;",
    "lesdoto;",
    "lesdotor;",
    "lesg;",
    "lesges;",
    "lessapprox;",
    "lessdot;",
    "lesseqgtr;",
    "lesseqqgtr;",
    "lessgtr;",
    "lesssim;",
    "lfisht;",
    "lfloor;",
    "lfr;",
    "lg;",
    "lgE;",
    "lhard;",
    "lharu;",
    "lharul;",
    "lhblk;",
    "ljcy;",
    "ll;",
    "llarr;",
    "llcorner;",
    "llhard;",
    "lltri;",
    "lmidot;",
    "lmoust;",
    "lmoustache;",
    "lnE;",
    "lnap;",
    "lnapprox;",
    "lne;",
    "lneq;",
    "lneqq;",
    "lnsim;",
    "loang;",
    "loarr;",
    "lobrk;",
    "longleftarrow;",
    "longleftrightarrow;",
    "longmapsto;",
    "longrightarrow;",
    "looparrowleft;",
    "looparrowright;",
    "lopar;",
    "lopf;",
    "loplus;",
    "lotimes;",
    "lowast;",
    "lowbar;",
    "loz;",
    "lozenge;",
    "lozf;",
    "lpar;",
    "lparlt;",
    "lrarr;",
    "lrcorner;",
    "lrhar;",
    "lrhard;",
    "lrm;",
    "lrtri;",
    "lsaquo;",
    "lscr;",
    "lsh;",
    "lsim;",
    "lsime;",
    "lsimg;",
    "lsqb;",
    "lsquo;",
    "lsquor;",
    "lstrok;",
    "lt",
    "lt;",
    "ltcc;",
    "ltcir;",
    "ltdot;",
    "lthree;",
    "ltimes;",
    "ltlarr;",
    "ltquest;",
    "ltrPar;",
    "ltri;",
    "ltrie;",
    "ltrif;",
    "lurdshar;",
    "luruhar;",
    "lvertneqq;",
    "lvnE;",
    "mDDot;",
    "macr",
    "macr;",
    "male;",
    "malt;",
    "maltese;",
    "map;",
    "mapsto;",
    "mapstodown;",
    "mapstoleft;",
    "mapstoup;",
    "marker;",
    "mcomma;",
    "mcy;",
    "mdash;",
    "measuredangle;",
    "mfr;",
    "mho;",
    "micro",
    "micro;",
    "mid;",
    "midast;",
    "midcir;",
    "middot",
    "middot;",
    "minus;",
    "minusb;",
    "minusd;",
    "minusdu;",
    "mlcp;",
    "mldr;",
    "mnplus;",
    "models;",
    "mopf;",
    "mp;",
    "mscr;",
    "mstpos;",
    "mu;",
    "multimap;",
    "mumap;",
    "nGg;",
    "nGt;",
    "nGtv;",
    "nLeftarrow;",
    "nLeftrightarrow;",
    "nLl;",
    "nLt;",
    "nLtv;",
    "nRightarrow;",
    "nVDash;",
    "nVdash;",
    "nabla;",
    "nacute;",
    "nang;",
    "nap;",
    "napE;",
    "napid;",
    "napos;",
    "napprox;",
    "natur;",
    "natural;",
    "naturals;",
    "nbsp",
    "nbsp;",
    "nbump;",
    "nbumpe;",
    "ncap;",
    "ncaron;",
    "ncedil;",
    "ncong;",
    "ncongdot;",
    "ncup;",
    "ncy;",
    "ndash;",
    "ne;",
    "neArr;",
    "nearhk;",
    "nearr;",
    "nearrow;",
    "nedot;",
    "nequiv;",
    "nesear;",
    "nesim;",
    "nexist;",
    "nexists;",
    "nfr;",
    "ngE;",
    "nge;",
    "ngeq;",
    "ngeqq;",
    "ngeqslant;",
    "nges;",
    "ngsim;",
    "ngt;",
    "ngtr;",
    "nhArr;",
    "nharr;",
    "nhpar;",
    "ni;",
    "nis;",
    "nisd;",
    "niv;",
    "njcy;",
    "nlArr;",
    "nlE;",
    "nlarr;",
    "nldr;",
    "nle;",
    "nleftarrow;",
    "nleftrightarrow;",
    "nleq;",
    "nleqq;",
    "nleqslant;",
    "nles;",
    "nless;",
    "nlsim;",
    "nlt;",
    "nltri;",
    "nltrie;",
    "nmid;",
    "nopf;",
    "not",
    "not;",
    "notin;",
    "notinE;",
    "notindot;",
    "notinva;",
    "notinvb;",
    "notinvc;",
    "notni;",
    "notniva;",
    "notnivb;",
    "notnivc;",
    "npar;",
    "nparallel;",
    "nparsl;",
    "npart;",
    "npolint;",
    "npr;",
    "nprcue;",
    "npre;",
    "nprec;",
    "npreceq;",
    "nrArr;",
    "nrarr;",
    "nrarrc;",
    "nrarrw;",
    "nrightarrow;",
    "nrtri;",
    "nrtrie;",
    "nsc;",
    "nsccue;",
    "nsce;",
    "nscr;",
    "nshortmid;",
    "nshortparallel;",
    "nsim;",
    "nsime;",
    "nsimeq;",
    "nsmid;",
    "nspar;",
    "nsqsube;",
    "nsqsupe;",
    "nsub;",
    "nsubE;",
    "nsube;",
    "nsubset;",
    "nsubseteq;",
    "nsubseteqq;",
    "nsucc;",
    "nsucceq;",
    "nsup;",
    "nsupE;",
    "nsupe;",
    "nsupset;",
    "nsupseteq;",
    "nsupseteqq;",
    "ntgl;",
    "ntilde",
    "ntilde;",
    "ntlg;",
    "ntriangleleft;",
    "ntrianglelefteq;",
    "ntriangleright;",
    "ntrianglerighteq;",
    "nu;",
    "num;",
    "numero;",
    "numsp;",
    "nvDash;",
    "nvHarr;",
    "nvap;",
    "nvdash;",
    "nvge;",
    "nvgt;",
    "nvinfin;",
    "nvlArr;",
    "nvle;",
    "nvlt;",
    "nvltrie;",
    "nvrArr;",
    "nvrtrie;",
    "nvsim;",
    "nwArr;",
    "nwarhk;",
    "nwarr;",
    "nwarrow;",
    "nwnear;",
    "oS;",
    "oacute",
    "oacute;",
    "oast;",
    "ocir;",
    "ocirc",
    "ocirc;",
    "ocy;",
    "odash;",
    "odblac;",
    "odiv;",
    "odot;",
    "odsold;",
    "oelig;",
    "ofcir;",
    "ofr;",
    "ogon;",
    "ograve",
    "ograve;",
    "ogt;",
    "ohbar;",
    "ohm;",
    "oint;",
    "olarr;",
    "olcir;",
    "olcross;",
    "oline;",
    "olt;",
    "omacr;",
    "omega;",
    "omicron;",
    "omid;",
    "ominus;",
    "oopf;",
    "opar;",
    "operp;",
    "oplus;",
    "or;",
    "orarr;",
    "ord;",
    "order;",
    "orderof;",
    "ordf",
    "ordf;",
    "ordm",
    "ordm;",
    "origof;",
    "oror;",
    "orslope;",
    "orv;",
    "oscr;",
    "oslash",
    "oslash;",
    "osol;",
    "otilde",
    "otilde;",
    "otimes;",
    "otimesas;",
    "ouml",
    "ouml;",
    "ovbar;",
    "par;",
    "para",
    "para;",
    "parallel;",
    "parsim;",
    "parsl;",
    "part;",
    "pcy;",
    "percnt;",
    "period;",
    "permil;",
    "perp;",
    "pertenk;",
    "pfr;",
    "phi;",
    "phiv;",
    "phmmat;",
    "phone;",
    "pi;",
    "pitchfork;",
    "piv;",
    "planck;",
    "planckh;",
    "plankv;",
    "plus;",
    "plusacir;",
    "plusb;",
    "pluscir;",
    "plusdo;",
    "plusdu;",
    "pluse;",
    "plusmn",
    "plusmn;",
    "plussim;",
    "plustwo;",
    "pm;",
    "pointint;",
    "popf;",
    "pound",
    "pound;",
    "pr;",
    "prE;",
    "prap;",
    "prcue;",
    "pre;",
    "prec;",
    "precapprox;",
    "preccurlyeq;",
    "preceq;",
    "precnapprox;",
    "precneqq;",
    "precnsim;",
    "precsim;",
    "prime;",
    "primes;",
    "prnE;",
    "prnap;",
    "prnsim;",
    "prod;",
    "profalar;",
    "profline;",
    "profsurf;",
    "prop;",
    "propto;",
    "prsim;",
    "prurel;",
    "pscr;",
    "psi;",
    "puncsp;",
    "qfr;",
    "qint;",
    "qopf;",
    "qprime;",
    "qscr;",
    "quaternions;",
    "quatint;",
    "quest;",
    "questeq;",
    "quot",
    "quot;",
    "rAarr;",
    "rArr;",
    "rAtail;",
    "rBarr;",
    "rHar;",
    "race;",
    "racute;",
    "radic;",
    "raemptyv;",
    "rang;",
    "rangd;",
    "range;",
    "rangle;",
    "raquo",
    "raquo;",
    "rarr;",
    "rarrap;",
    "rarrb;",
    "rarrbfs;",
    "rarrc;",
    "rarrfs;",
    "rarrhk;",
    "rarrlp;",
    "rarrpl;",
    "rarrsim;",
    "rarrtl;",
    "rarrw;",
    "ratail;",
    "ratio;",
    "rationals;",
    "rbarr;",
    "rbbrk;",
    "rbrace;",
    "rbrack;",
    "rbrke;",
    "rbrksld;",
    "rbrkslu;",
    "rcaron;",
    "rcedil;",
    "rceil;",
    "rcub;",
    "rcy;",
    "rdca;",
    "rdldhar;",
    "rdquo;",
    "rdquor;",
    "rdsh;",
    "real;",
    "realine;",
    "realpart;",
    "reals;",
    "rect;",
    "reg",
    "reg;",
    "rfisht;",
    "rfloor;",
    "rfr;",
    "rhard;",
    "rharu;",
    "rharul;",
    "rho;",
    "rhov;",
    "rightarrow;",
    "rightarrowtail;",
    "rightharpoondown;",
    "rightharpoonup;",
    "rightleftarrows;",
    "rightleftharpoons;",
    "rightrightarrows;",
    "rightsquigarrow;",
    "rightthreetimes;",
    "ring;",
    "risingdotseq;",
    "rlarr;",
    "rlhar;",
    "rlm;",
    "rmoust;",
    "rmoustache;",
    "rnmid;",
    "roang;",
    "roarr;",
    "robrk;",
    "ropar;",
    "ropf;",
    "roplus;",
    "rotimes;",
    "rpar;",
    "rpargt;",
    "rppolint;",
    "rrarr;",
    "rsaquo;",
    "rscr;",
    "rsh;",
    "rsqb;",
    "rsquo;",
    "rsquor;",
    "rthree;",
    "rtimes;",
    "rtri;",
    "rtrie;",
    "rtrif;",
    "rtriltri;",
    "ruluhar;",
    "rx;",
    "sacute;",
    "sbquo;",
    "sc;",
    "scE;",
    "scap;",
    "scaron;",
    "sccue;",
    "sce;",
    "scedil;",
    "scirc;",
    "scnE;",
    "scnap;",
    "scnsim;",
    "scpolint;",
    "scsim;",
    "scy;",
    "sdot;",
    "sdotb;",
    "sdote;",
    "seArr;",
    "searhk;",
    "searr;",
    "searrow;",
    "sect",
    "sect;",
    "semi;",
    "seswar;",
    "setminus;",
    "setmn;",
    "sext;",
    "sfr;",
    "sfrown;",
    "sharp;",
    "shchcy;",
    "shcy;",
    "shortmid;",
    "shortparallel;",
    "shy",
    "shy;",
    "sigma;",
    "sigmaf;",
    "sigmav;",
    "sim;",
    "simdot;",
    "sime;",
    "simeq;",
    "simg;",
    "simgE;",
    "siml;",
    "simlE;",
    "simne;",
    "simplus;",
    "simrarr;",
    "slarr;",
    "smallsetminus;",
    "smashp;",
    "smeparsl;",
    "smid;",
    "smile;",
    "smt;",
    "smte;",
    "smtes;",
    "softcy;",
    "sol;",
    "solb;",
    "solbar;",
    "sopf;",
    "spades;",
    "spadesuit;",
    "spar;",
    "sqcap;",
    "sqcaps;",
    "sqcup;",
    "sqcups;",
    "sqsub;",
    "sqsube;",
    "sqsubset;",
    "sqsubseteq;",
    "sqsup;",
    "sqsupe;",
    "sqsupset;",
    "sqsupseteq;",
    "squ;",
    "square;",
    "squarf;",
    "squf;",
    "srarr;",
    "sscr;",
    "ssetmn;",
    "ssmile;",
    "sstarf;",
    "star;",
    "starf;",
    "straightepsilon;",
    "straightphi;",
    "strns;",
    "sub;",
    "subE;",
    "subdot;",
    "sube;",
    "subedot;",
    "submult;",
    "subnE;",
    "subne;",
    "subplus;",
    "subrarr;",
    "subset;",
    "subseteq;",
    "subseteqq;",
    "subsetneq;",
    "subsetneqq;",
    "subsim;",
    "subsub;",
    "subsup;",
    "succ;",
    "succapprox;",
    "succcurlyeq;",
    "succeq;",
    "succnapprox;",
    "succneqq;",
    "succnsim;",
    "succsim;",
    "sum;",
    "sung;",
    "sup1",
    "sup1;",
    "sup2",
    "sup2;",
    "sup3",
    "sup3;",
    "sup;",
    "supE;",
    "supdot;",
    "supdsub;",
    "supe;",
    "supedot;",
    "suphsol;",
    "suphsub;",
    "suplarr;",
    "supmult;",
    "supnE;",
    "supne;",
    "supplus;",
    "supset;",
    "supseteq;",
    "supseteqq;",
    "supsetneq;",
    "supsetneqq;",
    "supsim;",
    "supsub;",
    "supsup;",
    "swArr;",
    "swarhk;",
    "swarr;",
    "swarrow;",
    "swnwar;",
    "szlig",
    "szlig;",
    "target;",
    "tau;",
    "tbrk;",
    "tcaron;",
    "tcedil;",
    "tcy;",
    "tdot;",
    "telrec;",
    "tfr;",
    "there4;",
    "therefore;",
    "theta;",
    "thetasym;",
    "thetav;",
    "thickapprox;",
    "thicksim;",
    "thinsp;",
    "thkap;",
    "thksim;",
    "thorn",
    "thorn;",
    "tilde;",
    "times",
    "times;",
    "timesb;",
    "timesbar;",
    "timesd;",
    "tint;",
    "toea;",
    "top;",
    "topbot;",
    "topcir;",
    "topf;",
    "topfork;",
    "tosa;",
    "tprime;",
    "trade;",
    "triangle;",
    "triangledown;",
    "triangleleft;",
    "trianglelefteq;",
    "triangleq;",
    "triangleright;",
    "trianglerighteq;",
    "tridot;",
    "trie;",
    "triminus;",
    "triplus;",
    "trisb;",
    "tritime;",
    "trpezium;",
    "tscr;",
    "tscy;",
    "tshcy;",
    "tstrok;",
    "twixt;",
    "twoheadleftarrow;",
    "twoheadrightarrow;",
    "uArr;",
    "uHar;",
    "uacute",
    "uacute;",
    "uarr;",
    "ubrcy;",
    "ubreve;",
    "ucirc",
    "ucirc;",
    "ucy;",
    "udarr;",
    "udblac;",
    "udhar;",
    "ufisht;",
    "ufr;",
    "ugrave",
    "ugrave;",
    "uharl;",
    "uharr;",
    "uhblk;",
    "ulcorn;",
    "ulcorner;",
    "ulcrop;",
    "ultri;",
    "umacr;",
    "uml",
    "uml;",
    "uogon;",
    "uopf;",
    "uparrow;",
    "updownarrow;",
    "upharpoonleft;",
    "upharpoonright;",
    "uplus;",
    "upsi;",
    "upsih;",
    "upsilon;",
    "upuparrows;",
    "urcorn;",
    "urcorner;",
    "urcrop;",
    "uring;",
    "urtri;",
    "uscr;",
    "utdot;",
    "utilde;",
    "utri;",
    "utrif;",
    "uuarr;",
    "uuml",
    "uuml;",
    "uwangle;",
    "vArr;",
    "vBar;",
    "vBarv;",
    "vDash;",
    "vangrt;",
    "varepsilon;",
    "varkappa;",
    "varnothing;",
    "varphi;",
    "varpi;",
    "varpropto;",
    "varr;",
    "varrho;",
    "varsigma;",
    "varsubsetneq;",
    "varsubsetneqq;",
    "varsupsetneq;",
    "varsupsetneqq;",
    "vartheta;",
    "vartriangleleft;",
    "vartriangleright;",
    "vcy;",
    "vdash;",
    "vee;",
    "veebar;",
    "veeeq;",
    "vellip;",
    "verbar;",
    "vert;",
    "vfr;",
    "vltri;",
    "vnsub;",
    "vnsup;",
    "vopf;",
    "vprop;",
    "vrtri;",
    "vscr;",
    "vsubnE;",
    "vsubne;",
    "vsupnE;",
    "vsupne;",
    "vzigzag;",
    "wcirc;",
    "wedbar;",
    "wedge;",
    "wedgeq;",
    "weierp;",
    "wfr;",
    "wopf;",
    "wp;",
    "wr;",
    "wreath;",
    "wscr;",
    "xcap;",
    "xcirc;",
    "xcup;",
    "xdtri;",
    "xfr;",
    "xhArr;",
    "xharr;",
    "xi;",
    "xlArr;",
    "xlarr;",
    "xmap;",
    "xnis;",
    "xodot;",
    "xopf;",
    "xoplus;",
    "xotime;",
    "xrArr;",
    "xrarr;",
    "xscr;",
    "xsqcup;",
    "xuplus;",
    "xutri;",
    "xvee;",
    "xwedge;",
    "yacute",
    "yacute;",
    "yacy;",
    "ycirc;",
    "ycy;",
    "yen",
    "yen;",
    "yfr;",
    "yicy;",
    "yopf;",
    "yscr;",
    "yucy;",
    "yuml",
    "yuml;",
    "zacute;",
    "zcaron;",
    "zcy;",
    "zdot;",
    "zeetrf;",
    "zeta;",
    "zfr;",
    "zhcy;",
    "zigrarr;",
    "zopf;",
    "zscr;",
    "zwj;",
    "zwnj;",
};
const values = [_][]const u8{
    "195134",
    "195134",
    "&",
    "&",
    "195129",
    "195129",
    "196130",
    "195130",
    "195130",
    "208144",
    "240157148132",
    "195128",
    "195128",
    "206145",
    "196128",
    "226169147",
    "196132",
    "240157148184",
    "226129161",
    "195133",
    "195133",
    "240157146156",
    "226137148",
    "195131",
    "195131",
    "195132",
    "195132",
    "226136150",
    "226171167",
    "226140134",
    "208145",
    "226136181",
    "226132172",
    "206146",
    "240157148133",
    "240157148185",
    "203152",
    "226132172",
    "226137142",
    "208167",
    "194169",
    "194169",
    "196134",
    "226139146",
    "226133133",
    "226132173",
    "196140",
    "195135",
    "195135",
    "196136",
    "226136176",
    "196138",
    "194184",
    "194183",
    "226132173",
    "206167",
    "226138153",
    "226138150",
    "226138149",
    "226138151",
    "226136178",
    "226128157",
    "226128153",
    "226136183",
    "226169180",
    "226137161",
    "226136175",
    "226136174",
    "226132130",
    "226136144",
    "226136179",
    "226168175",
    "240157146158",
    "226139147",
    "226137141",
    "226133133",
    "226164145",
    "208130",
    "208133",
    "208143",
    "226128161",
    "226134161",
    "226171164",
    "196142",
    "208148",
    "226136135",
    "206148",
    "240157148135",
    "194180",
    "203153",
    "203157",
    "`",
    "203156",
    "226139132",
    "226133134",
    "240157148187",
    "194168",
    "226131156",
    "226137144",
    "226136175",
    "194168",
    "226135147",
    "226135144",
    "226135148",
    "226171164",
    "226159184",
    "226159186",
    "226159185",
    "226135146",
    "226138168",
    "226135145",
    "226135149",
    "226136165",
    "226134147",
    "226164147",
    "226135181",
    "204145",
    "226165144",
    "226165158",
    "226134189",
    "226165150",
    "226165159",
    "226135129",
    "226165151",
    "226138164",
    "226134167",
    "226135147",
    "240157146159",
    "196144",
    "197138",
    "195144",
    "195144",
    "195137",
    "195137",
    "196154",
    "195138",
    "195138",
    "208173",
    "196150",
    "240157148136",
    "195136",
    "195136",
    "226136136",
    "196146",
    "226151187",
    "226150171",
    "196152",
    "240157148188",
    "206149",
    "226169181",
    "226137130",
    "226135140",
    "226132176",
    "226169179",
    "206151",
    "195139",
    "195139",
    "226136131",
    "226133135",
    "208164",
    "240157148137",
    "226151188",
    "226150170",
    "240157148189",
    "226136128",
    "226132177",
    "226132177",
    "208131",
    ">",
    ">",
    "206147",
    "207156",
    "196158",
    "196162",
    "196156",
    "208147",
    "196160",
    "240157148138",
    "226139153",
    "240157148190",
    "226137165",
    "226139155",
    "226137167",
    "226170162",
    "226137183",
    "226169190",
    "226137179",
    "240157146162",
    "226137171",
    "208170",
    "203135",
    "^",
    "196164",
    "226132140",
    "226132139",
    "226132141",
    "226148128",
    "226132139",
    "196166",
    "226137142",
    "226137143",
    "208149",
    "196178",
    "208129",
    "195141",
    "195141",
    "195142",
    "195142",
    "208152",
    "196176",
    "226132145",
    "195140",
    "195140",
    "226132145",
    "196170",
    "226133136",
    "226135146",
    "226136172",
    "226136171",
    "226139130",
    "226129163",
    "226129162",
    "196174",
    "240157149128",
    "206153",
    "226132144",
    "196168",
    "208134",
    "195143",
    "195143",
    "196180",
    "208153",
    "240157148141",
    "240157149129",
    "240157146165",
    "208136",
    "208132",
    "208165",
    "208140",
    "206154",
    "196182",
    "208154",
    "240157148142",
    "240157149130",
    "240157146166",
    "208137",
    "<",
    "<",
    "196185",
    "206155",
    "226159170",
    "226132146",
    "226134158",
    "196189",
    "196187",
    "208155",
    "226159168",
    "226134144",
    "226135164",
    "226135134",
    "226140136",
    "226159166",
    "226165161",
    "226135131",
    "226165153",
    "226140138",
    "226134148",
    "226165142",
    "226138163",
    "226134164",
    "226165154",
    "226138178",
    "226167143",
    "226138180",
    "226165145",
    "226165160",
    "226134191",
    "226165152",
    "226134188",
    "226165146",
    "226135144",
    "226135148",
    "226139154",
    "226137166",
    "226137182",
    "226170161",
    "226169189",
    "226137178",
    "240157148143",
    "226139152",
    "226135154",
    "196191",
    "226159181",
    "226159183",
    "226159182",
    "226159184",
    "226159186",
    "226159185",
    "240157149131",
    "226134153",
    "226134152",
    "226132146",
    "226134176",
    "197129",
    "226137170",
    "226164133",
    "208156",
    "226129159",
    "226132179",
    "240157148144",
    "226136147",
    "240157149132",
    "226132179",
    "206156",
    "208138",
    "197131",
    "197135",
    "197133",
    "208157",
    "226128139",
    "226128139",
    "226128139",
    "226128139",
    "226137171",
    "226137170",
    "10",
    "240157148145",
    "226129160",
    "194160",
    "226132149",
    "226171172",
    "226137162",
    "226137173",
    "226136166",
    "226136137",
    "226137160",
    "226137130204184",
    "226136132",
    "226137175",
    "226137177",
    "226137167204184",
    "226137171204184",
    "226137185",
    "226169190204184",
    "226137181",
    "226137142204184",
    "226137143204184",
    "226139170",
    "226167143204184",
    "226139172",
    "226137174",
    "226137176",
    "226137184",
    "226137170204184",
    "226169189204184",
    "226137180",
    "226170162204184",
    "226170161204184",
    "226138128",
    "226170175204184",
    "226139160",
    "226136140",
    "226139171",
    "226167144204184",
    "226139173",
    "226138143204184",
    "226139162",
    "226138144204184",
    "226139163",
    "226138130226131146",
    "226138136",
    "226138129",
    "226170176204184",
    "226139161",
    "226137191204184",
    "226138131226131146",
    "226138137",
    "226137129",
    "226137132",
    "226137135",
    "226137137",
    "226136164",
    "240157146169",
    "195145",
    "195145",
    "206157",
    "197146",
    "195147",
    "195147",
    "195148",
    "195148",
    "208158",
    "197144",
    "240157148146",
    "195146",
    "195146",
    "197140",
    "206169",
    "206159",
    "240157149134",
    "226128156",
    "226128152",
    "226169148",
    "240157146170",
    "195152",
    "195152",
    "195149",
    "195149",
    "226168183",
    "195150",
    "195150",
    "226128190",
    "226143158",
    "226142180",
    "226143156",
    "226136130",
    "208159",
    "240157148147",
    "206166",
    "206160",
    "194177",
    "226132140",
    "226132153",
    "226170187",
    "226137186",
    "226170175",
    "226137188",
    "226137190",
    "226128179",
    "226136143",
    "226136183",
    "226136157",
    "240157146171",
    "206168",
    "34",
    "34",
    "240157148148",
    "226132154",
    "240157146172",
    "226164144",
    "194174",
    "194174",
    "197148",
    "226159171",
    "226134160",
    "226164150",
    "197152",
    "197150",
    "208160",
    "226132156",
    "226136139",
    "226135139",
    "226165175",
    "226132156",
    "206161",
    "226159169",
    "226134146",
    "226135165",
    "226135132",
    "226140137",
    "226159167",
    "226165157",
    "226135130",
    "226165149",
    "226140139",
    "226138162",
    "226134166",
    "226165155",
    "226138179",
    "226167144",
    "226138181",
    "226165143",
    "226165156",
    "226134190",
    "226165148",
    "226135128",
    "226165147",
    "226135146",
    "226132157",
    "226165176",
    "226135155",
    "226132155",
    "226134177",
    "226167180",
    "208169",
    "208168",
    "208172",
    "197154",
    "226170188",
    "197160",
    "197158",
    "197156",
    "208161",
    "240157148150",
    "226134147",
    "226134144",
    "226134146",
    "226134145",
    "206163",
    "226136152",
    "240157149138",
    "226136154",
    "226150161",
    "226138147",
    "226138143",
    "226138145",
    "226138144",
    "226138146",
    "226138148",
    "240157146174",
    "226139134",
    "226139144",
    "226139144",
    "226138134",
    "226137187",
    "226170176",
    "226137189",
    "226137191",
    "226136139",
    "226136145",
    "226139145",
    "226138131",
    "226138135",
    "226139145",
    "195158",
    "195158",
    "226132162",
    "208139",
    "208166",
    "9",
    "206164",
    "197164",
    "197162",
    "208162",
    "240157148151",
    "226136180",
    "206152",
    "226129159226128138",
    "226128137",
    "226136188",
    "226137131",
    "226137133",
    "226137136",
    "240157149139",
    "226131155",
    "240157146175",
    "197166",
    "195154",
    "195154",
    "226134159",
    "226165137",
    "208142",
    "197172",
    "195155",
    "195155",
    "208163",
    "197176",
    "240157148152",
    "195153",
    "195153",
    "197170",
    "_",
    "226143159",
    "226142181",
    "226143157",
    "226139131",
    "226138142",
    "197178",
    "240157149140",
    "226134145",
    "226164146",
    "226135133",
    "226134149",
    "226165174",
    "226138165",
    "226134165",
    "226135145",
    "226135149",
    "226134150",
    "226134151",
    "207146",
    "206165",
    "197174",
    "240157146176",
    "197168",
    "195156",
    "195156",
    "226138171",
    "226171171",
    "208146",
    "226138169",
    "226171166",
    "226139129",
    "226128150",
    "226128150",
    "226136163",
    "|",
    "226157152",
    "226137128",
    "226128138",
    "240157148153",
    "240157149141",
    "240157146177",
    "226138170",
    "197180",
    "226139128",
    "240157148154",
    "240157149142",
    "240157146178",
    "240157148155",
    "206158",
    "240157149143",
    "240157146179",
    "208175",
    "208135",
    "208174",
    "195157",
    "195157",
    "197182",
    "208171",
    "240157148156",
    "240157149144",
    "240157146180",
    "197184",
    "208150",
    "197185",
    "197189",
    "208151",
    "197187",
    "226128139",
    "206150",
    "226132168",
    "226132164",
    "240157146181",
    "195161",
    "195161",
    "196131",
    "226136190",
    "226136190204179",
    "226136191",
    "195162",
    "195162",
    "194180",
    "194180",
    "208176",
    "195166",
    "195166",
    "226129161",
    "240157148158",
    "195160",
    "195160",
    "226132181",
    "226132181",
    "206177",
    "196129",
    "226168191",
    "&",
    "&",
    "226136167",
    "226169149",
    "226169156",
    "226169152",
    "226169154",
    "226136160",
    "226166164",
    "226136160",
    "226136161",
    "226166168",
    "226166169",
    "226166170",
    "226166171",
    "226166172",
    "226166173",
    "226166174",
    "226166175",
    "226136159",
    "226138190",
    "226166157",
    "226136162",
    "195133",
    "226141188",
    "196133",
    "240157149146",
    "226137136",
    "226169176",
    "226169175",
    "226137138",
    "226137139",
    "&#39;",
    "226137136",
    "226137138",
    "195165",
    "195165",
    "240157146182",
    "*",
    "226137136",
    "226137141",
    "195163",
    "195163",
    "195164",
    "195164",
    "226136179",
    "226168145",
    "226171173",
    "226137140",
    "207182",
    "226128181",
    "226136189",
    "226139141",
    "226138189",
    "226140133",
    "226140133",
    "226142181",
    "226142182",
    "226137140",
    "208177",
    "226128158",
    "226136181",
    "226136181",
    "226166176",
    "207182",
    "226132172",
    "206178",
    "226132182",
    "226137172",
    "240157148159",
    "226139130",
    "226151175",
    "226139131",
    "226168128",
    "226168129",
    "226168130",
    "226168134",
    "226152133",
    "226150189",
    "226150179",
    "226168132",
    "226139129",
    "226139128",
    "226164141",
    "226167171",
    "226150170",
    "226150180",
    "226150190",
    "226151130",
    "226150184",
    "226144163",
    "226150146",
    "226150145",
    "226150147",
    "226150136",
    "=226131165",
    "226137161226131165",
    "226140144",
    "240157149147",
    "226138165",
    "226138165",
    "226139136",
    "226149151",
    "226149148",
    "226149150",
    "226149147",
    "226149144",
    "226149166",
    "226149169",
    "226149164",
    "226149167",
    "226149157",
    "226149154",
    "226149156",
    "226149153",
    "226149145",
    "226149172",
    "226149163",
    "226149160",
    "226149171",
    "226149162",
    "226149159",
    "226167137",
    "226149149",
    "226149146",
    "226148144",
    "226148140",
    "226148128",
    "226149165",
    "226149168",
    "226148172",
    "226148180",
    "226138159",
    "226138158",
    "226138160",
    "226149155",
    "226149152",
    "226148152",
    "226148148",
    "226148130",
    "226149170",
    "226149161",
    "226149158",
    "226148188",
    "226148164",
    "226148156",
    "226128181",
    "203152",
    "194166",
    "194166",
    "240157146183",
    "226129143",
    "226136189",
    "226139141",
    "92",
    "226167133",
    "226159136",
    "226128162",
    "226128162",
    "226137142",
    "226170174",
    "226137143",
    "226137143",
    "196135",
    "226136169",
    "226169132",
    "226169137",
    "226169139",
    "226169135",
    "226169128",
    "226136169239184128",
    "226129129",
    "203135",
    "226169141",
    "196141",
    "195167",
    "195167",
    "196137",
    "226169140",
    "226169144",
    "196139",
    "194184",
    "194184",
    "226166178",
    "194162",
    "194162",
    "194183",
    "240157148160",
    "209135",
    "226156147",
    "226156147",
    "207135",
    "226151139",
    "226167131",
    "203134",
    "226137151",
    "226134186",
    "226134187",
    "194174",
    "226147136",
    "226138155",
    "226138154",
    "226138157",
    "226137151",
    "226168144",
    "226171175",
    "226167130",
    "226153163",
    "226153163",
    ":",
    "226137148",
    "226137148",
    ",",
    "@",
    "226136129",
    "226136152",
    "226136129",
    "226132130",
    "226137133",
    "226169173",
    "226136174",
    "240157149148",
    "226136144",
    "194169",
    "194169",
    "226132151",
    "226134181",
    "226156151",
    "240157146184",
    "226171143",
    "226171145",
    "226171144",
    "226171146",
    "226139175",
    "226164184",
    "226164181",
    "226139158",
    "226139159",
    "226134182",
    "226164189",
    "226136170",
    "226169136",
    "226169134",
    "226169138",
    "226138141",
    "226169133",
    "226136170239184128",
    "226134183",
    "226164188",
    "226139158",
    "226139159",
    "226139142",
    "226139143",
    "194164",
    "194164",
    "226134182",
    "226134183",
    "226139142",
    "226139143",
    "226136178",
    "226136177",
    "226140173",
    "226135147",
    "226165165",
    "226128160",
    "226132184",
    "226134147",
    "226128144",
    "226138163",
    "226164143",
    "203157",
    "196143",
    "208180",
    "226133134",
    "226128161",
    "226135138",
    "226169183",
    "194176",
    "194176",
    "206180",
    "226166177",
    "226165191",
    "240157148161",
    "226135131",
    "226135130",
    "226139132",
    "226139132",
    "226153166",
    "226153166",
    "194168",
    "207157",
    "226139178",
    "195183",
    "195183",
    "195183",
    "226139135",
    "226139135",
    "209146",
    "226140158",
    "226140141",
    "$",
    "240157149149",
    "203153",
    "226137144",
    "226137145",
    "226136184",
    "226136148",
    "226138161",
    "226140134",
    "226134147",
    "226135138",
    "226135131",
    "226135130",
    "226164144",
    "226140159",
    "226140140",
    "240157146185",
    "209149",
    "226167182",
    "196145",
    "226139177",
    "226150191",
    "226150190",
    "226135181",
    "226165175",
    "226166166",
    "209159",
    "226159191",
    "226169183",
    "226137145",
    "195169",
    "195169",
    "226169174",
    "196155",
    "226137150",
    "195170",
    "195170",
    "226137149",
    "209141",
    "196151",
    "226133135",
    "226137146",
    "240157148162",
    "226170154",
    "195168",
    "195168",
    "226170150",
    "226170152",
    "226170153",
    "226143167",
    "226132147",
    "226170149",
    "226170151",
    "196147",
    "226136133",
    "226136133",
    "226136133",
    "226128132",
    "226128133",
    "226128131",
    "197139",
    "226128130",
    "196153",
    "240157149150",
    "226139149",
    "226167163",
    "226169177",
    "206181",
    "206181",
    "207181",
    "226137150",
    "226137149",
    "226137130",
    "226170150",
    "226170149",
    "=",
    "226137159",
    "226137161",
    "226169184",
    "226167165",
    "226137147",
    "226165177",
    "226132175",
    "226137144",
    "226137130",
    "206183",
    "195176",
    "195176",
    "195171",
    "195171",
    "226130172",
    "!",
    "226136131",
    "226132176",
    "226133135",
    "226137146",
    "209132",
    "226153128",
    "239172131",
    "239172128",
    "239172132",
    "240157148163",
    "239172129",
    "fj",
    "226153173",
    "239172130",
    "226150177",
    "198146",
    "240157149151",
    "226136128",
    "226139148",
    "226171153",
    "226168141",
    "194189",
    "194189",
    "226133147",
    "194188",
    "194188",
    "226133149",
    "226133153",
    "226133155",
    "226133148",
    "226133150",
    "194190",
    "194190",
    "226133151",
    "226133156",
    "226133152",
    "226133154",
    "226133157",
    "226133158",
    "226129132",
    "226140162",
    "240157146187",
    "226137167",
    "226170140",
    "199181",
    "206179",
    "207157",
    "226170134",
    "196159",
    "196157",
    "208179",
    "196161",
    "226137165",
    "226139155",
    "226137165",
    "226137167",
    "226169190",
    "226169190",
    "226170169",
    "226170128",
    "226170130",
    "226170132",
    "226139155239184128",
    "226170148",
    "240157148164",
    "226137171",
    "226139153",
    "226132183",
    "209147",
    "226137183",
    "226170146",
    "226170165",
    "226170164",
    "226137169",
    "226170138",
    "226170138",
    "226170136",
    "226170136",
    "226137169",
    "226139167",
    "240157149152",
    "`",
    "226132138",
    "226137179",
    "226170142",
    "226170144",
    ">",
    ">",
    "226170167",
    "226169186",
    "226139151",
    "226166149",
    "226169188",
    "226170134",
    "226165184",
    "226139151",
    "226139155",
    "226170140",
    "226137183",
    "226137179",
    "226137169239184128",
    "226137169239184128",
    "226135148",
    "226128138",
    "194189",
    "226132139",
    "209138",
    "226134148",
    "226165136",
    "226134173",
    "226132143",
    "196165",
    "226153165",
    "226153165",
    "226128166",
    "226138185",
    "240157148165",
    "226164165",
    "226164166",
    "226135191",
    "226136187",
    "226134169",
    "226134170",
    "240157149153",
    "226128149",
    "240157146189",
    "226132143",
    "196167",
    "226129131",
    "226128144",
    "195173",
    "195173",
    "226129163",
    "195174",
    "195174",
    "208184",
    "208181",
    "194161",
    "194161",
    "226135148",
    "240157148166",
    "195172",
    "195172",
    "226133136",
    "226168140",
    "226136173",
    "226167156",
    "226132169",
    "196179",
    "196171",
    "226132145",
    "226132144",
    "226132145",
    "196177",
    "226138183",
    "198181",
    "226136136",
    "226132133",
    "226136158",
    "226167157",
    "196177",
    "226136171",
    "226138186",
    "226132164",
    "226138186",
    "226168151",
    "226168188",
    "209145",
    "196175",
    "240157149154",
    "206185",
    "226168188",
    "194191",
    "194191",
    "240157146190",
    "226136136",
    "226139185",
    "226139181",
    "226139180",
    "226139179",
    "226136136",
    "226129162",
    "196169",
    "209150",
    "195175",
    "195175",
    "196181",
    "208185",
    "240157148167",
    "200183",
    "240157149155",
    "240157146191",
    "209152",
    "209148",
    "206186",
    "207176",
    "196183",
    "208186",
    "240157148168",
    "196184",
    "209133",
    "209156",
    "240157149156",
    "240157147128",
    "226135154",
    "226135144",
    "226164155",
    "226164142",
    "226137166",
    "226170139",
    "226165162",
    "196186",
    "226166180",
    "226132146",
    "206187",
    "226159168",
    "226166145",
    "226159168",
    "226170133",
    "194171",
    "194171",
    "226134144",
    "226135164",
    "226164159",
    "226164157",
    "226134169",
    "226134171",
    "226164185",
    "226165179",
    "226134162",
    "226170171",
    "226164153",
    "226170173",
    "226170173239184128",
    "226164140",
    "226157178",
    "{",
    "[",
    "226166139",
    "226166143",
    "226166141",
    "196190",
    "196188",
    "226140136",
    "{",
    "208187",
    "226164182",
    "226128156",
    "226128158",
    "226165167",
    "226165139",
    "226134178",
    "226137164",
    "226134144",
    "226134162",
    "226134189",
    "226134188",
    "226135135",
    "226134148",
    "226135134",
    "226135139",
    "226134173",
    "226139139",
    "226139154",
    "226137164",
    "226137166",
    "226169189",
    "226169189",
    "226170168",
    "226169191",
    "226170129",
    "226170131",
    "226139154239184128",
    "226170147",
    "226170133",
    "226139150",
    "226139154",
    "226170139",
    "226137182",
    "226137178",
    "226165188",
    "226140138",
    "240157148169",
    "226137182",
    "226170145",
    "226134189",
    "226134188",
    "226165170",
    "226150132",
    "209153",
    "226137170",
    "226135135",
    "226140158",
    "226165171",
    "226151186",
    "197128",
    "226142176",
    "226142176",
    "226137168",
    "226170137",
    "226170137",
    "226170135",
    "226170135",
    "226137168",
    "226139166",
    "226159172",
    "226135189",
    "226159166",
    "226159181",
    "226159183",
    "226159188",
    "226159182",
    "226134171",
    "226134172",
    "226166133",
    "240157149157",
    "226168173",
    "226168180",
    "226136151",
    "_",
    "226151138",
    "226151138",
    "226167171",
    "(",
    "226166147",
    "226135134",
    "226140159",
    "226135139",
    "226165173",
    "226128142",
    "226138191",
    "226128185",
    "240157147129",
    "226134176",
    "226137178",
    "226170141",
    "226170143",
    "[",
    "226128152",
    "226128154",
    "197130",
    "<",
    "<",
    "226170166",
    "226169185",
    "226139150",
    "226139139",
    "226139137",
    "226165182",
    "226169187",
    "226166150",
    "226151131",
    "226138180",
    "226151130",
    "226165138",
    "226165166",
    "226137168239184128",
    "226137168239184128",
    "226136186",
    "194175",
    "194175",
    "226153130",
    "226156160",
    "226156160",
    "226134166",
    "226134166",
    "226134167",
    "226134164",
    "226134165",
    "226150174",
    "226168169",
    "208188",
    "226128148",
    "226136161",
    "240157148170",
    "226132167",
    "194181",
    "194181",
    "226136163",
    "*",
    "226171176",
    "194183",
    "194183",
    "226136146",
    "226138159",
    "226136184",
    "226168170",
    "226171155",
    "226128166",
    "226136147",
    "226138167",
    "240157149158",
    "226136147",
    "240157147130",
    "226136190",
    "206188",
    "226138184",
    "226138184",
    "226139153204184",
    "226137171226131146",
    "226137171204184",
    "226135141",
    "226135142",
    "226139152204184",
    "226137170226131146",
    "226137170204184",
    "226135143",
    "226138175",
    "226138174",
    "226136135",
    "197132",
    "226136160226131146",
    "226137137",
    "226169176204184",
    "226137139204184",
    "197137",
    "226137137",
    "226153174",
    "226153174",
    "226132149",
    "194160",
    "194160",
    "226137142204184",
    "226137143204184",
    "226169131",
    "197136",
    "197134",
    "226137135",
    "226169173204184",
    "226169130",
    "208189",
    "226128147",
    "226137160",
    "226135151",
    "226164164",
    "226134151",
    "226134151",
    "226137144204184",
    "226137162",
    "226164168",
    "226137130204184",
    "226136132",
    "226136132",
    "240157148171",
    "226137167204184",
    "226137177",
    "226137177",
    "226137167204184",
    "226169190204184",
    "226169190204184",
    "226137181",
    "226137175",
    "226137175",
    "226135142",
    "226134174",
    "226171178",
    "226136139",
    "226139188",
    "226139186",
    "226136139",
    "209154",
    "226135141",
    "226137166204184",
    "226134154",
    "226128165",
    "226137176",
    "226134154",
    "226134174",
    "226137176",
    "226137166204184",
    "226169189204184",
    "226169189204184",
    "226137174",
    "226137180",
    "226137174",
    "226139170",
    "226139172",
    "226136164",
    "240157149159",
    "194172",
    "194172",
    "226136137",
    "226139185204184",
    "226139181204184",
    "226136137",
    "226139183",
    "226139182",
    "226136140",
    "226136140",
    "226139190",
    "226139189",
    "226136166",
    "226136166",
    "226171189226131165",
    "226136130204184",
    "226168148",
    "226138128",
    "226139160",
    "226170175204184",
    "226138128",
    "226170175204184",
    "226135143",
    "226134155",
    "226164179204184",
    "226134157204184",
    "226134155",
    "226139171",
    "226139173",
    "226138129",
    "226139161",
    "226170176204184",
    "240157147131",
    "226136164",
    "226136166",
    "226137129",
    "226137132",
    "226137132",
    "226136164",
    "226136166",
    "226139162",
    "226139163",
    "226138132",
    "226171133204184",
    "226138136",
    "226138130226131146",
    "226138136",
    "226171133204184",
    "226138129",
    "226170176204184",
    "226138133",
    "226171134204184",
    "226138137",
    "226138131226131146",
    "226138137",
    "226171134204184",
    "226137185",
    "195177",
    "195177",
    "226137184",
    "226139170",
    "226139172",
    "226139171",
    "226139173",
    "206189",
    "#",
    "226132150",
    "226128135",
    "226138173",
    "226164132",
    "226137141226131146",
    "226138172",
    "226137165226131146",
    ">226131146",
    "226167158",
    "226164130",
    "226137164226131146",
    "<226131146",
    "226138180226131146",
    "226164131",
    "226138181226131146",
    "226136188226131146",
    "226135150",
    "226164163",
    "226134150",
    "226134150",
    "226164167",
    "226147136",
    "195179",
    "195179",
    "226138155",
    "226138154",
    "195180",
    "195180",
    "208190",
    "226138157",
    "197145",
    "226168184",
    "226138153",
    "226166188",
    "197147",
    "226166191",
    "240157148172",
    "203155",
    "195178",
    "195178",
    "226167129",
    "226166181",
    "206169",
    "226136174",
    "226134186",
    "226166190",
    "226166187",
    "226128190",
    "226167128",
    "197141",
    "207137",
    "206191",
    "226166182",
    "226138150",
    "240157149160",
    "226166183",
    "226166185",
    "226138149",
    "226136168",
    "226134187",
    "226169157",
    "226132180",
    "226132180",
    "194170",
    "194170",
    "194186",
    "194186",
    "226138182",
    "226169150",
    "226169151",
    "226169155",
    "226132180",
    "195184",
    "195184",
    "226138152",
    "195181",
    "195181",
    "226138151",
    "226168182",
    "195182",
    "195182",
    "226140189",
    "226136165",
    "194182",
    "194182",
    "226136165",
    "226171179",
    "226171189",
    "226136130",
    "208191",
    "%",
    ".",
    "226128176",
    "226138165",
    "226128177",
    "240157148173",
    "207134",
    "207149",
    "226132179",
    "226152142",
    "207128",
    "226139148",
    "207150",
    "226132143",
    "226132142",
    "226132143",
    "+",
    "226168163",
    "226138158",
    "226168162",
    "226136148",
    "226168165",
    "226169178",
    "194177",
    "194177",
    "226168166",
    "226168167",
    "194177",
    "226168149",
    "240157149161",
    "194163",
    "194163",
    "226137186",
    "226170179",
    "226170183",
    "226137188",
    "226170175",
    "226137186",
    "226170183",
    "226137188",
    "226170175",
    "226170185",
    "226170181",
    "226139168",
    "226137190",
    "226128178",
    "226132153",
    "226170181",
    "226170185",
    "226139168",
    "226136143",
    "226140174",
    "226140146",
    "226140147",
    "226136157",
    "226136157",
    "226137190",
    "226138176",
    "240157147133",
    "207136",
    "226128136",
    "240157148174",
    "226168140",
    "240157149162",
    "226129151",
    "240157147134",
    "226132141",
    "226168150",
    "?",
    "226137159",
    "34",
    "34",
    "226135155",
    "226135146",
    "226164156",
    "226164143",
    "226165164",
    "226136189204177",
    "197149",
    "226136154",
    "226166179",
    "226159169",
    "226166146",
    "226166165",
    "226159169",
    "194187",
    "194187",
    "226134146",
    "226165181",
    "226135165",
    "226164160",
    "226164179",
    "226164158",
    "226134170",
    "226134172",
    "226165133",
    "226165180",
    "226134163",
    "226134157",
    "226164154",
    "226136182",
    "226132154",
    "226164141",
    "226157179",
    "}",
    "]",
    "226166140",
    "226166142",
    "226166144",
    "197153",
    "197151",
    "226140137",
    "}",
    "209128",
    "226164183",
    "226165169",
    "226128157",
    "226128157",
    "226134179",
    "226132156",
    "226132155",
    "226132156",
    "226132157",
    "226150173",
    "194174",
    "194174",
    "226165189",
    "226140139",
    "240157148175",
    "226135129",
    "226135128",
    "226165172",
    "207129",
    "207177",
    "226134146",
    "226134163",
    "226135129",
    "226135128",
    "226135132",
    "226135140",
    "226135137",
    "226134157",
    "226139140",
    "203154",
    "226137147",
    "226135132",
    "226135140",
    "226128143",
    "226142177",
    "226142177",
    "226171174",
    "226159173",
    "226135190",
    "226159167",
    "226166134",
    "240157149163",
    "226168174",
    "226168181",
    ")",
    "226166148",
    "226168146",
    "226135137",
    "226128186",
    "240157147135",
    "226134177",
    "]",
    "226128153",
    "226128153",
    "226139140",
    "226139138",
    "226150185",
    "226138181",
    "226150184",
    "226167142",
    "226165168",
    "226132158",
    "197155",
    "226128154",
    "226137187",
    "226170180",
    "226170184",
    "197161",
    "226137189",
    "226170176",
    "197159",
    "197157",
    "226170182",
    "226170186",
    "226139169",
    "226168147",
    "226137191",
    "209129",
    "226139133",
    "226138161",
    "226169166",
    "226135152",
    "226164165",
    "226134152",
    "226134152",
    "194167",
    "194167",
    ";",
    "226164169",
    "226136150",
    "226136150",
    "226156182",
    "240157148176",
    "226140162",
    "226153175",
    "209137",
    "209136",
    "226136163",
    "226136165",
    "194173",
    "194173",
    "207131",
    "207130",
    "207130",
    "226136188",
    "226169170",
    "226137131",
    "226137131",
    "226170158",
    "226170160",
    "226170157",
    "226170159",
    "226137134",
    "226168164",
    "226165178",
    "226134144",
    "226136150",
    "226168179",
    "226167164",
    "226136163",
    "226140163",
    "226170170",
    "226170172",
    "226170172239184128",
    "209140",
    "/",
    "226167132",
    "226140191",
    "240157149164",
    "226153160",
    "226153160",
    "226136165",
    "226138147",
    "226138147239184128",
    "226138148",
    "226138148239184128",
    "226138143",
    "226138145",
    "226138143",
    "226138145",
    "226138144",
    "226138146",
    "226138144",
    "226138146",
    "226150161",
    "226150161",
    "226150170",
    "226150170",
    "226134146",
    "240157147136",
    "226136150",
    "226140163",
    "226139134",
    "226152134",
    "226152133",
    "207181",
    "207149",
    "194175",
    "226138130",
    "226171133",
    "226170189",
    "226138134",
    "226171131",
    "226171129",
    "226171139",
    "226138138",
    "226170191",
    "226165185",
    "226138130",
    "226138134",
    "226171133",
    "226138138",
    "226171139",
    "226171135",
    "226171149",
    "226171147",
    "226137187",
    "226170184",
    "226137189",
    "226170176",
    "226170186",
    "226170182",
    "226139169",
    "226137191",
    "226136145",
    "226153170",
    "194185",
    "194185",
    "194178",
    "194178",
    "194179",
    "194179",
    "226138131",
    "226171134",
    "226170190",
    "226171152",
    "226138135",
    "226171132",
    "226159137",
    "226171151",
    "226165187",
    "226171130",
    "226171140",
    "226138139",
    "226171128",
    "226138131",
    "226138135",
    "226171134",
    "226138139",
    "226171140",
    "226171136",
    "226171148",
    "226171150",
    "226135153",
    "226164166",
    "226134153",
    "226134153",
    "226164170",
    "195159",
    "195159",
    "226140150",
    "207132",
    "226142180",
    "197165",
    "197163",
    "209130",
    "226131155",
    "226140149",
    "240157148177",
    "226136180",
    "226136180",
    "206184",
    "207145",
    "207145",
    "226137136",
    "226136188",
    "226128137",
    "226137136",
    "226136188",
    "195190",
    "195190",
    "203156",
    "195151",
    "195151",
    "226138160",
    "226168177",
    "226168176",
    "226136173",
    "226164168",
    "226138164",
    "226140182",
    "226171177",
    "240157149165",
    "226171154",
    "226164169",
    "226128180",
    "226132162",
    "226150181",
    "226150191",
    "226151131",
    "226138180",
    "226137156",
    "226150185",
    "226138181",
    "226151172",
    "226137156",
    "226168186",
    "226168185",
    "226167141",
    "226168187",
    "226143162",
    "240157147137",
    "209134",
    "209155",
    "197167",
    "226137172",
    "226134158",
    "226134160",
    "226135145",
    "226165163",
    "195186",
    "195186",
    "226134145",
    "209158",
    "197173",
    "195187",
    "195187",
    "209131",
    "226135133",
    "197177",
    "226165174",
    "226165190",
    "240157148178",
    "195185",
    "195185",
    "226134191",
    "226134190",
    "226150128",
    "226140156",
    "226140156",
    "226140143",
    "226151184",
    "197171",
    "194168",
    "194168",
    "197179",
    "240157149166",
    "226134145",
    "226134149",
    "226134191",
    "226134190",
    "226138142",
    "207133",
    "207146",
    "207133",
    "226135136",
    "226140157",
    "226140157",
    "226140142",
    "197175",
    "226151185",
    "240157147138",
    "226139176",
    "197169",
    "226150181",
    "226150180",
    "226135136",
    "195188",
    "195188",
    "226166167",
    "226135149",
    "226171168",
    "226171169",
    "226138168",
    "226166156",
    "207181",
    "207176",
    "226136133",
    "207149",
    "207150",
    "226136157",
    "226134149",
    "207177",
    "207130",
    "226138138239184128",
    "226171139239184128",
    "226138139239184128",
    "226171140239184128",
    "207145",
    "226138178",
    "226138179",
    "208178",
    "226138162",
    "226136168",
    "226138187",
    "226137154",
    "226139174",
    "|",
    "|",
    "240157148179",
    "226138178",
    "226138130226131146",
    "226138131226131146",
    "240157149167",
    "226136157",
    "226138179",
    "240157147139",
    "226171139239184128",
    "226138138239184128",
    "226171140239184128",
    "226138139239184128",
    "226166154",
    "197181",
    "226169159",
    "226136167",
    "226137153",
    "226132152",
    "240157148180",
    "240157149168",
    "226132152",
    "226137128",
    "226137128",
    "240157147140",
    "226139130",
    "226151175",
    "226139131",
    "226150189",
    "240157148181",
    "226159186",
    "226159183",
    "206190",
    "226159184",
    "226159181",
    "226159188",
    "226139187",
    "226168128",
    "240157149169",
    "226168129",
    "226168130",
    "226159185",
    "226159182",
    "240157147141",
    "226168134",
    "226168132",
    "226150179",
    "226139129",
    "226139128",
    "195189",
    "195189",
    "209143",
    "197183",
    "209139",
    "194165",
    "194165",
    "240157148182",
    "209151",
    "240157149170",
    "240157147142",
    "209142",
    "195191",
    "195191",
    "197186",
    "197190",
    "208183",
    "197188",
    "226132168",
    "206182",
    "240157148183",
    "208182",
    "226135157",
    "240157149171",
    "240157147143",
    "226128141",
    "226128140",
};
// END GENERATED TABLE

Run it on the example input with qipdo (Node.js 22 or newer):

printf '%s' 'Fish &amp; chips &mdash; caf&eacute; &lt;3 &#x1F600; &copy 2026 &notit;' | npx qipdo calculated.world components/b2b5f0ae51d2c173d0fe6aa438e20da15da4cbb3a1e7de28acf2ce6c0cb7d0de.wasm

Zig implementation of unescape_html

Build details

Compiler, size, memory and checksum
Submitted
1 November 2026 at 04:20 UTC
Language
Zig
Compiler
zig 0.15.1 zig build-exe unescape.zig -target wasm32-freestanding -O ReleaseSmall -fno-entry -rdynamic -fstrip --stack 65536 --initial-memory=3145728 --max-memory=3145728 -femit-bin=unescape.wasm
Size
66.4 KiB, gzip 24.1 KiB
Download
~300 ms on Slow 4G (Lighthouse’s 1.6 Mbps, 150 ms round trips)
Memory
48 pages (3 MiB)
SIMD
no
Functions, loops, branches and other static counts
Count Value
Functions 7
Instructions 763
Loops 6
Conditional branches 39
Indirect calls 0
Memory loads 24
Memory stores 22
SIMD instructions 0
Potentially trapping instructions 49

Instruction sites in the binary, not executions, counted by qip.dev’s wasm-counts.