@gen-epix/ui-phylogenetic-tree 2.1.1 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,10 +5,10 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
5
5
  enumerable: !(s = n(i, d)) || s.enumerable
6
6
  });
7
7
  return e;
8
- }, c = (n, r, a) => (a = n == null ? {} : e(i(n)), s(r || !n || !n.__esModule ? t(a, "default", {
8
+ }, c = (n, r, o) => (o = n == null ? {} : e(i(n)), s(r || !n || !n.__esModule || !a.call(n, "default") ? t(o, "default", {
9
9
  value: n,
10
10
  enumerable: !0
11
- }) : a, n)), l = 9e15, u = 1e9, d = "0123456789abcdef", f = "2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058", p = "3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789", m = {
11
+ }) : o, n)), l = 9e15, u = 1e9, d = "0123456789abcdef", f = "2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058", p = "3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789", m = {
12
12
  precision: 20,
13
13
  rounding: 4,
14
14
  modulo: 1,
@@ -42,15 +42,17 @@ P.absoluteValue = P.abs = function() {
42
42
  }, P.cubeRoot = P.cbrt = function() {
43
43
  var e, t, n, r, i, a, o, s, c, l, u = this, d = u.constructor;
44
44
  if (!u.isFinite() || u.isZero()) return new d(u);
45
- for (_ = !1, a = u.s * w(u.s * u, 1 / 3), !a || Math.abs(a) == Infinity ? (n = F(u.d), e = u.e, (a = (e - n.length + 1) % 3) && (n += a == 1 || a == -2 ? "0" : "00"), a = w(n, 1 / 3), e = C((e + 1) / 3) - (e % 3 == (e < 0 ? -1 : 2)), a == Infinity ? n = "5e" + e : (n = a.toExponential(), n = n.slice(0, n.indexOf("e") + 1) + e), r = new d(n), r.s = u.s) : r = new d(a.toString()), o = (e = d.precision) + 3;;) if (s = r, c = s.times(s).times(s), l = c.plus(u), r = z(l.plus(u).times(s), l.plus(c), o + 2, 1), F(s.d).slice(0, o) === (n = F(r.d)).slice(0, o)) if (n = n.slice(o - 3, o + 1), n == "9999" || !i && n == "4999") {
46
- if (!i && (B(s, e + 1, 0), s.times(s).times(s).eq(u))) {
47
- r = s;
45
+ for (_ = !1, a = u.s * w(u.s * u, 1 / 3), !a || Math.abs(a) == 1 / 0 ? (n = F(u.d), e = u.e, (a = (e - n.length + 1) % 3) && (n += a == 1 || a == -2 ? "0" : "00"), a = w(n, 1 / 3), e = C((e + 1) / 3) - (e % 3 == (e < 0 ? -1 : 2)), a == 1 / 0 ? n = "5e" + e : (n = a.toExponential(), n = n.slice(0, n.indexOf("e") + 1) + e), r = new d(n), r.s = u.s) : r = new d(a.toString()), o = (e = d.precision) + 3;;) if (s = r, c = s.times(s).times(s), l = c.plus(u), r = z(l.plus(u).times(s), l.plus(c), o + 2, 1), F(s.d).slice(0, o) === (n = F(r.d)).slice(0, o)) {
46
+ if (n = n.slice(o - 3, o + 1), n == "9999" || !i && n == "4999") {
47
+ if (!i && (B(s, e + 1, 0), s.times(s).times(s).eq(u))) {
48
+ r = s;
49
+ break;
50
+ }
51
+ o += 4, i = 1;
52
+ } else {
53
+ (!+n || !+n.slice(1) && n.charAt(0) == "5") && (B(r, e + 1, 1), t = !r.times(r).times(r).eq(u));
48
54
  break;
49
55
  }
50
- o += 4, i = 1;
51
- } else {
52
- (!+n || !+n.slice(1) && n.charAt(0) == "5") && (B(r, e + 1, 1), t = !r.times(r).times(r).eq(u));
53
- break;
54
56
  }
55
57
  return _ = !0, B(r, e, d.rounding, t);
56
58
  }, P.decimalPlaces = P.dp = function() {
@@ -76,7 +78,7 @@ P.absoluteValue = P.abs = function() {
76
78
  return t == 1 || t === 0;
77
79
  }, P.hyperbolicCosine = P.cosh = function() {
78
80
  var e, t, n, r, i, a = this, o = a.constructor, s = new o(1);
79
- if (!a.isFinite()) return new o(a.s ? Infinity : NaN);
81
+ if (!a.isFinite()) return new o(a.s ? 1 / 0 : NaN);
80
82
  if (a.isZero()) return s;
81
83
  n = o.precision, r = o.rounding, o.precision = n + Math.max(a.e, a.sd()) + 4, o.rounding = 1, i = a.d.length, i < 32 ? (e = Math.ceil(i / 3), t = (1 / X(4, e)).toString()) : (e = 16, t = "2.3283064365386962890625e-10"), a = Y(o, 1, a.times(t), new o(1), !0);
82
84
  for (var c, l = e, u = new o(8); l--;) c = a.times(a), a = s.minus(c.times(u.minus(c.times(u))));
@@ -141,11 +143,13 @@ P.absoluteValue = P.abs = function() {
141
143
  if (e = new u(e), n = e.d, e.s < 0 || !n || !n[0] || e.eq(1)) return new u(NaN);
142
144
  t = e.eq(10);
143
145
  }
144
- if (n = l.d, l.s < 0 || !n || !n[0] || l.eq(1)) return new u(n && !n[0] ? -Infinity : l.s == 1 ? n ? 0 : Infinity : NaN);
145
- if (t) if (n.length > 1) a = !0;
146
- else {
147
- for (i = n[0]; i % 10 == 0;) i /= 10;
148
- a = i !== 1;
146
+ if (n = l.d, l.s < 0 || !n || !n[0] || l.eq(1)) return new u(n && !n[0] ? -1 / 0 : l.s == 1 ? n ? 0 : 1 / 0 : NaN);
147
+ if (t) {
148
+ if (n.length > 1) a = !0;
149
+ else {
150
+ for (i = n[0]; i % 10 == 0;) i /= 10;
151
+ a = i !== 1;
152
+ }
149
153
  }
150
154
  if (_ = !1, s = d + p, o = q(l, s), r = t ? U(u, s + 10) : q(e, s), c = z(o, r, s, 1), L(c.d, i = d, f)) do
151
155
  if (s += 10, o = q(l, s), r = t ? U(u, s + 10) : q(e, s), c = z(o, r, s, 1), !a) {
@@ -219,16 +223,18 @@ P.absoluteValue = P.abs = function() {
219
223
  return n.isFinite() ? n.isZero() ? new r(n) : (e = r.precision, t = r.rounding, r.precision = e + Math.max(n.e, n.sd()) + A, r.rounding = 1, n = se(r, Z(r, n)), r.precision = e, r.rounding = t, B(g > 2 ? n.neg() : n, e, t, !0)) : new r(NaN);
220
224
  }, P.squareRoot = P.sqrt = function() {
221
225
  var e, t, n, r, i, a, o = this, s = o.d, c = o.e, l = o.s, u = o.constructor;
222
- if (l !== 1 || !s || !s[0]) return new u(!l || l < 0 && (!s || s[0]) ? NaN : s ? o : Infinity);
223
- for (_ = !1, l = Math.sqrt(+o), l == 0 || l == Infinity ? (t = F(s), (t.length + c) % 2 == 0 && (t += "0"), l = Math.sqrt(t), c = C((c + 1) / 2) - (c < 0 || c % 2), l == Infinity ? t = "5e" + c : (t = l.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + c), r = new u(t)) : r = new u(l.toString()), n = (c = u.precision) + 3;;) if (a = r, r = a.plus(z(o, a, n + 2, 1)).times(.5), F(a.d).slice(0, n) === (t = F(r.d)).slice(0, n)) if (t = t.slice(n - 3, n + 1), t == "9999" || !i && t == "4999") {
224
- if (!i && (B(a, c + 1, 0), a.times(a).eq(o))) {
225
- r = a;
226
+ if (l !== 1 || !s || !s[0]) return new u(!l || l < 0 && (!s || s[0]) ? NaN : s ? o : 1 / 0);
227
+ for (_ = !1, l = Math.sqrt(+o), l == 0 || l == 1 / 0 ? (t = F(s), (t.length + c) % 2 == 0 && (t += "0"), l = Math.sqrt(t), c = C((c + 1) / 2) - (c < 0 || c % 2), l == 1 / 0 ? t = "5e" + c : (t = l.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + c), r = new u(t)) : r = new u(l.toString()), n = (c = u.precision) + 3;;) if (a = r, r = a.plus(z(o, a, n + 2, 1)).times(.5), F(a.d).slice(0, n) === (t = F(r.d)).slice(0, n)) {
228
+ if (t = t.slice(n - 3, n + 1), t == "9999" || !i && t == "4999") {
229
+ if (!i && (B(a, c + 1, 0), a.times(a).eq(o))) {
230
+ r = a;
231
+ break;
232
+ }
233
+ n += 4, i = 1;
234
+ } else {
235
+ (!+t || !+t.slice(1) && t.charAt(0) == "5") && (B(r, c + 1, 1), e = !r.times(r).eq(o));
226
236
  break;
227
237
  }
228
- n += 4, i = 1;
229
- } else {
230
- (!+t || !+t.slice(1) && t.charAt(0) == "5") && (B(r, c + 1, 1), e = !r.times(r).eq(o));
231
- break;
232
238
  }
233
239
  return _ = !0, B(r, c, u.rounding, e);
234
240
  }, P.tangent = P.tan = function() {
@@ -274,7 +280,7 @@ P.absoluteValue = P.abs = function() {
274
280
  e = new r(1), t = r.rounding;
275
281
  } else {
276
282
  if (e = new r(e), t === void 0 ? t = r.rounding : I(t, 0, 8), !n.d) return e.s ? n : e;
277
- if (!e.d) return e.s &&= n.s, e;
283
+ if (!e.d) return e.s && (e.s = n.s), e;
278
284
  }
279
285
  return e.d[0] ? (_ = !1, n = z(n, e, 0, t, 1).times(e), _ = !0, B(n)) : (e.s = n.s, n = e), n;
280
286
  }, P.toNumber = function() {
@@ -322,7 +328,7 @@ function I(e, t, n) {
322
328
  function L(e, t, n, r) {
323
329
  var i, a, o, s;
324
330
  for (a = e[0]; a >= 10; a /= 10) --t;
325
- return --t < 0 ? (t += A, i = 0) : (i = Math.ceil((t + 1) / A), t %= A), a = w(10, A - t), s = e[i] % a | 0, r == null ? t < 3 ? (t == 0 ? s = s / 100 | 0 : t == 1 && (s = s / 10 | 0), o = n < 4 && s == 99999 || n > 3 && s == 49999 || s == 5e4 || s == 0) : o = (n < 4 && s + 1 == a || n > 3 && s + 1 == a / 2) && (e[i + 1] / a / 100 | 0) == w(10, t - 2) - 1 || (s == a / 2 || s == 0) && (e[i + 1] / a / 100 | 0) == 0 : t < 4 ? (t == 0 ? s = s / 1e3 | 0 : t == 1 ? s = s / 100 | 0 : t == 2 && (s = s / 10 | 0), o = (r || n < 4) && s == 9999 || !r && n > 3 && s == 4999) : o = ((r || n < 4) && s + 1 == a || !r && n > 3 && s + 1 == a / 2) && (e[i + 1] / a / 1e3 | 0) == w(10, t - 3) - 1, o;
331
+ return --t < 0 ? (t += A, i = 0) : (i = Math.ceil((t + 1) / A), t %= A), a = w(10, A - t), s = e[i] % a | 0, r == null ? t < 3 ? (t == 0 ? s = s / 100 | 0 : t == 1 && (s = s / 10 | 0), o = n < 4 && s == 99999 || n > 3 && s == 49999 || s == 5e4 || s == 0) : o = (n < 4 && s + 1 == a || n > 3 && s + 1 == a / 2) && (e[i + 1] / a / 100 | 0) == w(10, t - 2) - 1 || (s == a / 2 || s == 0) && !(e[i + 1] / a / 100 | 0) : t < 4 ? (t == 0 ? s = s / 1e3 | 0 : t == 1 ? s = s / 100 | 0 : t == 2 && (s = s / 10 | 0), o = (r || n < 4) && s == 9999 || !r && n > 3 && s == 4999) : o = ((r || n < 4) && s + 1 == a || !r && n > 3 && s + 1 == a / 2) && (e[i + 1] / a / 1e3 | 0) == w(10, t - 3) - 1, o;
326
332
  }
327
333
  function R(e, t, n) {
328
334
  for (var r, i = [0], a, o = 0, s = e.length; o < s;) {
@@ -393,11 +399,12 @@ function B(e, t, n, r) {
393
399
  if (d = e.d, !d) return e;
394
400
  for (i = 1, s = d[0]; s >= 10; s /= 10) i++;
395
401
  if (a = t - i, a < 0) a += A, o = t, u = d[f = 0], c = u / w(10, i - o - 1) % 10 | 0;
396
- else if (f = Math.ceil((a + 1) / A), s = d.length, f >= s) if (r) {
397
- for (; s++ <= f;) d.push(0);
398
- u = c = 0, i = 1, a %= A, o = a - A + 1;
399
- } else break out;
400
- else {
402
+ else if (f = Math.ceil((a + 1) / A), s = d.length, f >= s) {
403
+ if (r) {
404
+ for (; s++ <= f;) d.push(0);
405
+ u = c = 0, i = 1, a %= A, o = a - A + 1;
406
+ } else break out;
407
+ } else {
401
408
  for (u = s = d[f], i = 1; s >= 10; s /= 10) i++;
402
409
  a %= A, o = a - A + i, c = o < 0 ? 0 : u / w(10, i - o - 1) % 10 | 0;
403
410
  }
@@ -471,29 +478,33 @@ function ie(e, t, n) {
471
478
  }
472
479
  function K(e, t) {
473
480
  var n, r, i, a, o, s, c, l = 0, u = 0, d = 0, f = e.constructor, p = f.rounding, m = f.precision;
474
- if (!e.d || !e.d[0] || e.e > 17) return new f(e.d ? e.d[0] ? e.s < 0 ? 0 : Infinity : 1 : e.s ? e.s < 0 ? 0 : e : NaN);
481
+ if (!e.d || !e.d[0] || e.e > 17) return new f(e.d ? e.d[0] ? e.s < 0 ? 0 : 1 / 0 : 1 : e.s ? e.s < 0 ? 0 : e : NaN);
475
482
  for (t == null ? (_ = !1, c = m) : c = t, s = new f(.03125); e.e > -2;) e = e.times(s), d += 5;
476
483
  for (r = Math.log(w(2, d)) / Math.LN10 * 2 + 5 | 0, c += r, n = a = o = new f(1), f.precision = c;;) {
477
484
  if (a = B(a.times(e), c, 1), n = n.times(++u), s = o.plus(z(a, n, c, 1)), F(s.d).slice(0, c) === F(o.d).slice(0, c)) {
478
485
  for (i = d; i--;) o = B(o.times(o), c, 1);
479
- if (t == null) if (l < 3 && L(o.d, c - r, p, l)) f.precision = c += 10, n = a = s = new f(1), u = 0, l++;
480
- else return B(o, f.precision = m, p, _ = !0);
481
- else return f.precision = m, o;
486
+ if (t == null) {
487
+ if (l < 3 && L(o.d, c - r, p, l)) f.precision = c += 10, n = a = s = new f(1), u = 0, l++;
488
+ else return B(o, f.precision = m, p, _ = !0);
489
+ } else return f.precision = m, o;
482
490
  }
483
491
  o = s;
484
492
  }
485
493
  }
486
494
  function q(e, t) {
487
495
  var n, r, i, a, o, s, c, l, u, d, f, p = 1, m = 10, h = e, g = h.d, v = h.constructor, y = v.rounding, b = v.precision;
488
- if (h.s < 0 || !g || !g[0] || !h.e && g[0] == 1 && g.length == 1) return new v(g && !g[0] ? -Infinity : h.s == 1 ? g ? 0 : h : NaN);
496
+ if (h.s < 0 || !g || !g[0] || !h.e && g[0] == 1 && g.length == 1) return new v(g && !g[0] ? -1 / 0 : h.s == 1 ? g ? 0 : h : NaN);
489
497
  if (t == null ? (_ = !1, u = b) : u = t, v.precision = u += m, n = F(g), r = n.charAt(0), Math.abs(a = h.e) < 0x5543df729c000) {
490
498
  for (; r < 7 && r != 1 || r == 1 && n.charAt(1) > 3;) h = h.times(e), n = F(h.d), r = n.charAt(0), p++;
491
499
  a = h.e, r > 1 ? (h = new v("0." + n), a++) : h = new v(r + "." + n.slice(1));
492
500
  } else return l = U(v, u + 2, b).times(a + ""), h = q(new v(r + "." + n.slice(1)), u - m).plus(l), v.precision = b, t == null ? B(h, b, y, _ = !0) : h;
493
501
  for (d = h, c = o = h = z(h.minus(1), h.plus(1), u, 1), f = B(h.times(h), u, 1), i = 3;;) {
494
- if (o = B(o.times(f), u, 1), l = c.plus(z(o, new v(i), u, 1)), F(l.d).slice(0, u) === F(c.d).slice(0, u)) if (c = c.times(2), a !== 0 && (c = c.plus(U(v, u + 2, b).times(a + ""))), c = z(c, new v(p), u, 1), t == null) if (L(c.d, u - m, y, s)) v.precision = u += m, l = o = h = z(d.minus(1), d.plus(1), u, 1), f = B(h.times(h), u, 1), i = s = 1;
495
- else return B(c, v.precision = b, y, _ = !0);
496
- else return v.precision = b, c;
502
+ if (o = B(o.times(f), u, 1), l = c.plus(z(o, new v(i), u, 1)), F(l.d).slice(0, u) === F(c.d).slice(0, u)) {
503
+ if (c = c.times(2), a !== 0 && (c = c.plus(U(v, u + 2, b).times(a + ""))), c = z(c, new v(p), u, 1), t == null) {
504
+ if (L(c.d, u - m, y, s)) v.precision = u += m, l = o = h = z(d.minus(1), d.plus(1), u, 1), f = B(h.times(h), u, 1), i = s = 1;
505
+ else return B(c, v.precision = b, y, _ = !0);
506
+ } else return v.precision = b, c;
507
+ }
497
508
  c = l, i += 2;
498
509
  }
499
510
  }
@@ -569,11 +580,13 @@ function Q(e, t, n, r) {
569
580
  for (c = p.length; !p[c - 1]; --c);
570
581
  for (o = 0, f = ""; o < c; o++) f += d.charAt(p[o]);
571
582
  if (_) {
572
- if (c > 1) if (t == 16 || t == 8) {
573
- for (o = t == 16 ? 4 : 3, --c; c % o; c++) f += "0";
574
- for (p = R(f, i, t), c = p.length; !p[c - 1]; --c);
575
- for (o = 1, f = "1."; o < c; o++) f += d.charAt(p[o]);
576
- } else f = f.charAt(0) + "." + f.slice(1);
583
+ if (c > 1) {
584
+ if (t == 16 || t == 8) {
585
+ for (o = t == 16 ? 4 : 3, --c; c % o; c++) f += "0";
586
+ for (p = R(f, i, t), c = p.length; !p[c - 1]; --c);
587
+ for (o = 1, f = "1."; o < c; o++) f += d.charAt(p[o]);
588
+ } else f = f.charAt(0) + "." + f.slice(1);
589
+ }
577
590
  f = f + (a < 0 ? "p" : "p+") + a;
578
591
  } else if (a < 0) {
579
592
  for (; ++a;) f = "0" + f;
@@ -651,12 +664,18 @@ function xe(e) {
651
664
  0,
652
665
  9
653
666
  ];
654
- for (t = 0; t < a.length; t += 3) if (n = a[t], i && (this[n] = m[n]), (r = e[n]) !== void 0) if (C(r) === r && r >= a[t + 1] && r <= a[t + 2]) this[n] = r;
655
- else throw Error(y + n + ": " + r);
656
- if (n = "crypto", i && (this[n] = m[n]), (r = e[n]) !== void 0) if (r === !0 || r === !1 || r === 0 || r === 1) if (r) if (typeof crypto < "u" && crypto && (crypto.getRandomValues || crypto.randomBytes)) this[n] = !0;
657
- else throw Error(x);
658
- else this[n] = !1;
659
- else throw Error(y + n + ": " + r);
667
+ for (t = 0; t < a.length; t += 3) if (n = a[t], i && (this[n] = m[n]), (r = e[n]) !== void 0) {
668
+ if (C(r) === r && r >= a[t + 1] && r <= a[t + 2]) this[n] = r;
669
+ else throw Error(y + n + ": " + r);
670
+ }
671
+ if (n = "crypto", i && (this[n] = m[n]), (r = e[n]) !== void 0) {
672
+ if (r === !0 || r === !1 || r === 0 || r === 1) {
673
+ if (r) {
674
+ if (typeof crypto < "u" && crypto && (crypto.getRandomValues || crypto.randomBytes)) this[n] = !0;
675
+ else throw Error(x);
676
+ } else this[n] = !1;
677
+ } else throw Error(y + n + ": " + r);
678
+ }
660
679
  return this;
661
680
  }
662
681
  function Se(e) {
@@ -719,7 +738,7 @@ function Oe() {
719
738
  var e, t, n = new this(0);
720
739
  for (_ = !1, e = 0; e < arguments.length;) if (t = new this(arguments[e++]), t.d) n.d && (n = n.plus(t.times(t)));
721
740
  else {
722
- if (t.s) return _ = !0, new this(Infinity);
741
+ if (t.s) return _ = !0, new this(1 / 0);
723
742
  n = t;
724
743
  }
725
744
  return _ = !0, n.sqrt();