1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225
| function o_default() { this._status = []; this._mat1 = 0; this._mat2 = 0; this._tmat = 0 }
function f() { this._char = "."; this._children = {}
this.getChildren = getChildren this.setChildren = setChildren this.setChar = setChar this.getChar = getChar }
function a_default(t) { this._random = new o_default; this._sign = ""; this._inter = {}; this._head = new f }
function loop(t, r) { "v".repeat(t).split("").map(function (t, e) { return r(e) }) }
function get(t) { return t >>> 0 }
function xor(t, e) { return get(get(t) ^ get(e)) }
function mul(t, e) { var r = ((4294901760 & t) >>> 0) * e , n = (65535 & t) * e; return get((r >>> 0) + (n >>> 0)) }
function and(t, e) { return get(get(t) & get(e)) }
function shiftRight(t, e) { return get(t) >>> e }
function shiftLeft(t, e) { return get(get(t) << e) }
function _next_state() { var t = void 0 , e = void 0;
e = this._status[3], t = xor(and(this._status[0], 2147483647), xor(this._status[1], this._status[2])), t = xor(t, shiftLeft(t, 1)), e = xor(e, xor(shiftRight(e, 1), t)), this._status[0] = this._status[1], this._status[1] = this._status[2], this._status[2] = xor(t, shiftLeft(e, 10)), this._status[3] = e, this._status[1] = xor(this._status[1], and(-and(e, 1), this._mat1)), this._status[2] = xor(this._status[2], and(-and(e, 1), this._mat2)) }
function _init() { var e = this; loop(7, function (t) { e._status[t + 1 & 3] = xor(e._status[t + 1 & 3], t + 1 + mul(1812433253, xor(e._status[3 & t], shiftRight(e._status[3 & t], 30)))) }); 0 == (2147483647 & this._status[0]) && 0 === this._status[1] && 0 === this._status[2] && 0 === this._status[3] && (this._status[0] = 66, this._status[1] = 65, this._status[2] = 89, this._status[3] = 83);
e._next_state = _next_state loop(8, function () { return e._next_state() }) }
function seed(e) { var r = this; loop(4, function (t) { e.length > t ? r._status[t] = get(e.charAt(t).charCodeAt()) : r._status[t] = get(110) }); this._mat1 = this._status[1]; this._mat2 = this._status[2]; this._tmat = this._status[3]; this._init = _init this._init() }
function generate(t) { this._next_state(); var e, r = void 0; return r = this._status[3], e = xor(this._status[0], shiftRight(this._status[2], 8)), r = xor(r, e), (r = xor(and(-and(e, 1), this._tmat), r)) % t }
function getChildren() { return this._children }
function setChildren(t, e) { this._children[t] = e }
function setChar(t) { this._char = t }
function getChar() { return this._char }
function _addSymbol(t, e) { this._random.generate = generate
var r = this , n = this._head , o = "";
return loop(e, function (t) { for (var e = s[r._random.generate(32)]; e in n.getChildren() && "." !== n.getChildren()[e].getChar();) e = s[r._random.generate(32)]; o += e, e in n.getChildren() || n.setChildren(e, new f), n = n.getChildren()[e] }), n.setChar(t), this._inter[t] = o }
s = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567" c = [1, 2, 2, 2, 2, 2]
function init(t) { var e = this; this._random.seed = seed this._random.seed(t); this._sign = t; e._addSymbol = _addSymbol
loop(64, function (t) { e._addSymbol("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[t], c[parseInt((t + 1) / 11)]) }); this._inter["="] = "=" }
function decode(t) { for (var e = "", r = 4; r < t.length;) if ("=" !== t[r]) { for (var n = this._head; t[r] in n.getChildren();) n = n.getChildren()[t[r]], r++; e += n.getChar() } else e += "=", r++; return e }
function _atob(t) { return global.atob(t) }
re_btou = new RegExp(["[À-ß][-¿]", "[à-ï][-¿]{2}", "[ð-÷][-¿]{3}"].join("|"), "g") cb_btou = function (t) { switch (t.length) { case 4: var e = ((7 & t.charCodeAt(0)) << 18 | (63 & t.charCodeAt(1)) << 12 | (63 & t.charCodeAt(2)) << 6 | 63 & t.charCodeAt(3)) - 65536; return String.fromCharCode(55296 + (e >>> 10)) + String.fromCharCode(56320 + (1023 & e)); case 3: return String.fromCharCode((15 & t.charCodeAt(0)) << 12 | (63 & t.charCodeAt(1)) << 6 | 63 & t.charCodeAt(2)); default: return String.fromCharCode((31 & t.charCodeAt(0)) << 6 | 63 & t.charCodeAt(1)) } } btou = function (t) { return t.replace(re_btou, cb_btou) }
function _decode(t) { return btou(_atob(t)) }
Bdecode = function (t) { return _decode(String(t).replace(/[-_]/g, function (t) { return "-" == t ? "+" : "/" }).replace(/[^A-Za-z0-9\+\/]/g, "")) }
function d(t) { var e = new a_default; e.init = init e.init(t.substr(0, 4)); e.decode = decode var r = e.decode(t);
return Bdecode(r) }
function my_decode(code) { return JSON.parse(d(code)) }
|