MCPcopy Create free account
hub / github.com/cxapython/catvm / n

Function n

geetest/test.js:1860–1869  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

1858
1859 function A() {
1860 function n(t) {
1861 var e = "()*,-./0123456789:?@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqr",
1862 n = e["length"],
1863 r = "",
1864 o = Math["abs"](t),
1865 i = parseInt(o / n);
1866 n <= i && (i = n - 1), i && (r = e["charAt"](i));
1867 var s = "";
1868 return t < 0 && (s += "!"), r && (s += "$"), s + r + e["charAt"](o %= n);
1869 }
1870
1871 var t = function (t) {
1872 for (var e, n, r, o = [], i = 0, s = 0, a = t["length"] - 1; s < a; s++) e = Math["round"](t[s + 1][0] - t[s][0]), n = Math["round"](t[s + 1][1] - t[s][1]), r = Math["round"](t[s + 1][2] - t[s][2]), 0 == e && 0 == n && 0 == r || (0 == e && 0 == n ? i += r : (o["push"]([e, n, r + i]), i = 0));

Callers 1

AFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected