23 lines
730 B
JavaScript
23 lines
730 B
JavaScript
// ============================================================
|
|
// Module ID: 99295
|
|
// ============================================================
|
|
;(window.__modules__ = window.__modules__ || {})[99295] = (t, n) => {
|
|
const i = new Uint8Array(512),
|
|
r = new Uint8Array(256);
|
|
(!(function () {
|
|
let t = 1;
|
|
for (let n = 0; n < 255; n++) ((i[n] = t), (r[t] = n), (t <<= 1), 256 & t && (t ^= 285));
|
|
for (let t = 255; t < 512; t++) i[t] = i[t - 255];
|
|
})(),
|
|
(n.log = function (t) {
|
|
if (t < 1) throw new Error("log(" + t + ")");
|
|
return r[t];
|
|
}),
|
|
(n.exp = function (t) {
|
|
return i[t];
|
|
}),
|
|
(n.mul = function (t, n) {
|
|
return 0 === t || 0 === n ? 0 : i[r[t] + r[n]];
|
|
}));
|
|
};
|