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

Function tM

resources/vega.min.js:18891–18946  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

18889 for (const n = t.length; e < n; ++e) this._ += arguments[e] + t[e];
18890 }
18891 function tM(t, e) {
18892 let n,
18893 r,
18894 i = 3,
18895 o = 4.5;
18896 function a(t) {
18897 return (
18898 t &&
18899 ("function" == typeof o && r.pointRadius(+o.apply(this, arguments)),
18900 pw(t, n(r))),
18901 r.result()
18902 );
18903 }
18904 return (
18905 (a.area = function (t) {
18906 return (pw(t, n(oA)), oA.result());
18907 }),
18908 (a.measure = function (t) {
18909 return (pw(t, n(HA)), HA.result());
18910 }),
18911 (a.bounds = function (t) {
18912 return (pw(t, n(pA)), pA.result());
18913 }),
18914 (a.centroid = function (t) {
18915 return (pw(t, n(CA)), CA.result());
18916 }),
18917 (a.projection = function (e) {
18918 return arguments.length
18919 ? ((n = null == e ? ((t = null), nA) : (t = e).stream), a)
18920 : t;
18921 }),
18922 (a.context = function (t) {
18923 return arguments.length
18924 ? ((r = null == t ? ((e = null), new QA(i)) : new LA((e = t))),
18925 "function" != typeof o && r.pointRadius(o),
18926 a)
18927 : e;
18928 }),
18929 (a.pointRadius = function (t) {
18930 return arguments.length
18931 ? ((o = "function" == typeof t ? t : (r.pointRadius(+t), +t)), a)
18932 : o;
18933 }),
18934 (a.digits = function (t) {
18935 if (!arguments.length) return i;
18936 if (null == t) i = null;
18937 else {
18938 const e = Math.floor(t);
18939 if (!(e >= 0)) throw new RangeError(`invalid digits: ${t}`);
18940 i = e;
18941 }
18942 return (null === e && (r = new QA(i)), a);
18943 }),
18944 a.projection(t).digits(i).context(e)
18945 );
18946 }
18947 function eM(t) {
18948 return function (e) {

Callers 2

vega.min.jsFile · 0.85
QMFunction · 0.85

Calls 5

pwFunction · 0.85
resultMethod · 0.80
pointRadiusMethod · 0.80
nFunction · 0.70
contextMethod · 0.45

Tested by

no test coverage detected