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

Function A

geetest/test.js:1859–1888  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1857 };
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));
1873
1874 return 0 !== i && o["push"]([e, n, i]), o;
1875 }(arr),
1876 r = [],
1877 o = [],
1878 i = [];
1879 return new KK(function (t) {
1880 var e = function (t) {
1881 for (var e = [[1, 0], [2, 0], [1, -1], [1, 1], [0, 1], [0, -1], [3, 0], [2, -1], [2, 1]], n = 0, r = e["length"]; n < r; n++) if (t[0] == e[n][0] && t[1] == e[n][1]) return "stuvwxyz~"[n];
1882
1883 return 0;
1884 }(t);
1885
1886 e ? o["push"](e) : (r["push"](n(t[0])), o["push"](n(t[1]))), i["push"](n(t[2]));
1887 }), r["join"]("") + "!!" + o["join"]("") + "!!" + i["join"]("");
1888 };
1889
1890 var t = B(A(), res_c, res_s)
1891 var u = x;

Callers 2

get_wFunction · 0.70
GFunction · 0.50

Calls 1

nFunction · 0.70

Tested by

no test coverage detected