MCPcopy Create free account
hub / github.com/alignoth/alignoth / pM

Function pM

resources/vega.min.js:19184–19327  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

19182 })();
19183 }
19184 function pM(t) {
19185 var e,
19186 n,
19187 r,
19188 i,
19189 o,
19190 a,
19191 s,
19192 u,
19193 l,
19194 c,
19195 f = 150,
19196 h = 480,
19197 d = 250,
19198 p = 0,
19199 g = 0,
19200 m = 0,
19201 y = 0,
19202 v = 0,
19203 _ = 0,
19204 x = 1,
19205 b = 1,
19206 w = null,
19207 k = Hk,
19208 A = null,
19209 M = nA,
19210 E = 0.5;
19211 function D(t) {
19212 return u(t[0] * Yb, t[1] * Yb);
19213 }
19214 function C(t) {
19215 return (t = u.invert(t[0], t[1])) && [t[0] * Hb, t[1] * Hb];
19216 }
19217 function F() {
19218 var t = hM(f, 0, 0, x, b, _).apply(null, e(p, g)),
19219 r = hM(f, h - t[0], d - t[1], x, b, _);
19220 return (
19221 (n = $k(m, y, v)),
19222 (s = Fk(e, r)),
19223 (u = Fk(n, s)),
19224 (a = cM(s, E)),
19225 S()
19226 );
19227 }
19228 function S() {
19229 return ((l = c = null), D);
19230 }
19231 return (
19232 (D.stream = function (t) {
19233 return l && c === t
19234 ? l
19235 : (l = fM(
19236 (function (t) {
19237 return eM({
19238 point: function (e, n) {
19239 var r = t(e, n);
19240 return this.stream.point(r[0], r[1]);
19241 },

Callers 2

dMFunction · 0.85
gMFunction · 0.85

Calls 15

eMFunction · 0.85
YkFunction · 0.85
XkFunction · 0.85
FFunction · 0.85
cMFunction · 0.85
iMFunction · 0.85
oMFunction · 0.85
aMFunction · 0.85
sMFunction · 0.85
pointMethod · 0.80
tFunction · 0.70
kFunction · 0.70

Tested by

no test coverage detected