bug-extractor-plugin 0.1.0 → 0.1.3

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.
@@ -1,4 +1,4 @@
1
- import { c as Ke, _ as Xa, g as Do } from "./index-iouTpRcq.js";
1
+ import { c as Ke, _ as Xa, g as Do } from "./index-CZMIPlfz.js";
2
2
  var vt = function(a) {
3
3
  return a && a.Math === Math && a;
4
4
  }, _ = (
@@ -11,7 +11,7 @@ var vt = function(a) {
11
11
  ), $t = {}, D = function(a) {
12
12
  try {
13
13
  return !!a();
14
- } catch {
14
+ } catch (e) {
15
15
  return !0;
16
16
  }
17
17
  }, Al = D, he = !Al(function() {
@@ -19,8 +19,8 @@ var vt = function(a) {
19
19
  return 7;
20
20
  } })[1] !== 7;
21
21
  }), Pl = D, xr = !Pl(function() {
22
- var a = (function() {
23
- }).bind();
22
+ var a = function() {
23
+ }.bind();
24
24
  return typeof a != "function" || a.hasOwnProperty("prototype");
25
25
  }), Rl = xr, Ut = Function.prototype.call, Y = Rl ? Ut.bind(Ut) : function() {
26
26
  return Ut.apply(Ut, arguments);
@@ -53,7 +53,7 @@ var Si = function(a, e) {
53
53
  return a;
54
54
  }, Fl = Go, Ul = ve, wt = function(a) {
55
55
  return Fl(Ul(a));
56
- }, ta = typeof document == "object" && document.all, B = typeof ta > "u" && ta !== void 0 ? function(a) {
56
+ }, ta = typeof document == "object" && document.all, B = typeof ta == "undefined" && ta !== void 0 ? function(a) {
57
57
  return typeof a == "function" || a === ta;
58
58
  } : function(a) {
59
59
  return typeof a == "function";
@@ -78,7 +78,7 @@ var Ei = gr, Sn = Ei, Wl = D, ql = _, Ql = ql.String, Ho = !!Object.getOwnProper
78
78
  }, ah = String, Sr = function(a) {
79
79
  try {
80
80
  return ah(a);
81
- } catch {
81
+ } catch (e) {
82
82
  return "Object";
83
83
  }
84
84
  }, ih = B, nh = Sr, sh = TypeError, Te = function(a) {
@@ -94,7 +94,7 @@ var Ei = gr, Sn = Ei, Wl = D, ql = _, Ql = ql.String, Ho = !!Object.getOwnProper
94
94
  }, Wo = { exports: {} }, En = _, vh = Object.defineProperty, $i = function(a, e) {
95
95
  try {
96
96
  vh(En, a, { value: e, configurable: !0, writable: !0 });
97
- } catch {
97
+ } catch (t) {
98
98
  En[a] = e;
99
99
  }
100
100
  return e;
@@ -139,7 +139,7 @@ var wi = Wo.exports, Cn = wi, Ci = function(a, e) {
139
139
  $t.f = Gh ? In : function(e, t) {
140
140
  if (e = Xh(e), t = Wh(t), Qh) try {
141
141
  return In(e, t);
142
- } catch {
142
+ } catch (r) {
143
143
  }
144
144
  if (qh(e, t)) return Yh(!zh(Hh.f, e, t), e[t]);
145
145
  };
@@ -166,7 +166,7 @@ Oe.f = rv ? iv ? function(e, t, r) {
166
166
  } : ua : function(e, t, r) {
167
167
  if (Gt(e), t = Mn(t), Gt(r), av) try {
168
168
  return ua(e, t, r);
169
- } catch {
169
+ } catch (i) {
170
170
  }
171
171
  if ("get" in r || "set" in r) throw new nv("Accessors not supported");
172
172
  return "value" in r && (e[t] = r.value), e;
@@ -175,8 +175,8 @@ var ov = he, uv = Oe, lv = Si, At = ov ? function(a, e, t) {
175
175
  return uv.f(a, e, lv(1, t));
176
176
  } : function(a, e, t) {
177
177
  return a[e] = t, a;
178
- }, Jo = { exports: {} }, Qa = he, hv = fe, eu = Function.prototype, vv = Qa && Object.getOwnPropertyDescriptor, tu = hv(eu, "name"), fv = tu && (function() {
179
- }).name === "something", cv = tu && (!Qa || Qa && vv(eu, "name").configurable), wr = {
178
+ }, Jo = { exports: {} }, Qa = he, hv = fe, eu = Function.prototype, vv = Qa && Object.getOwnPropertyDescriptor, tu = hv(eu, "name"), fv = tu && function() {
179
+ }.name === "something", cv = tu && (!Qa || Qa && vv(eu, "name").configurable), wr = {
180
180
  PROPER: fv,
181
181
  CONFIGURABLE: cv
182
182
  }, gv = L, dv = B, Ka = wi, pv = gv(Function.toString);
@@ -229,7 +229,7 @@ var Cr = {
229
229
  Dv(Ln(e), 0, 7) === "Symbol(" && (e = "[" + Lv(Ln(e), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), t && t.getter && (e = "get " + e), t && t.setter && (e = "set " + e), (!zt(a, "name") || Iv && a.name !== e) && (Ja ? ur(a, "name", { value: e, configurable: !0 }) : a.name = e), Bv && t && zt(t, "arity") && a.length !== t.arity && ur(a, "length", { value: t.arity });
230
230
  try {
231
231
  t && zt(t, "constructor") && t.constructor ? Ja && ur(a, "prototype", { writable: !1 }) : a.prototype && (a.prototype = void 0);
232
- } catch {
232
+ } catch (i) {
233
233
  }
234
234
  var r = _v(a);
235
235
  return zt(r, "source") || (r.source = kv(jv, typeof e == "string" ? e : "")), a;
@@ -245,7 +245,7 @@ var iu = Jo.exports, Uv = B, Gv = Oe, zv = iu, Hv = $i, Ue = function(a, e, t, r
245
245
  else {
246
246
  try {
247
247
  r.unsafe ? a[e] && (i = !0) : delete a[e];
248
- } catch {
248
+ } catch (o) {
249
249
  }
250
250
  i ? a[e] = t : Gv.f(a, e, {
251
251
  value: t,
@@ -333,7 +333,7 @@ var df = Fe, pf = L, yf = nu, mf = uu, bf = J, xf = pf([].concat), Tf = df("Refl
333
333
  }(), Ff = hu, Pr = Ff === "NODE", Uf = _, Gf = Uf, zf = L, Hf = Te, Yf = function(a, e, t) {
334
334
  try {
335
335
  return zf(Hf(Object.getOwnPropertyDescriptor(a, e)[t]));
336
- } catch {
336
+ } catch (r) {
337
337
  }
338
338
  }, Xf = ae, Wf = function(a) {
339
339
  return Xf(a) || a === null;
@@ -344,7 +344,7 @@ var df = Fe, pf = L, yf = nu, mf = uu, bf = J, xf = pf([].concat), Tf = df("Refl
344
344
  var a = !1, e = {}, t;
345
345
  try {
346
346
  t = Jf(Object.prototype, "__proto__", "set"), t(e, []), a = e instanceof Array;
347
- } catch {
347
+ } catch (r) {
348
348
  }
349
349
  return function(i, n) {
350
350
  return tc(i), rc(n), ec(i) && (a ? t(i, n) : i.__proto__ = n), i;
@@ -371,7 +371,7 @@ var mc = String(fu) === "[object z]", bc = mc, xc = B, lr = je, Tc = z, Oc = Tc(
371
371
  }()) === "Arguments", $c = function(a, e) {
372
372
  try {
373
373
  return a[e];
374
- } catch {
374
+ } catch (t) {
375
375
  }
376
376
  }, _i = bc ? lr : function(a) {
377
377
  var e, t, r;
@@ -381,7 +381,7 @@ var mc = String(fu) === "[object z]", bc = mc, xc = B, lr = je, Tc = z, Oc = Tc(
381
381
  if (!cu(e)) return !1;
382
382
  try {
383
383
  return du(gu, [], e), !0;
384
- } catch {
384
+ } catch (t) {
385
385
  return !1;
386
386
  }
387
387
  }, pu = function(e) {
@@ -394,7 +394,7 @@ var mc = String(fu) === "[object z]", bc = mc, xc = B, lr = je, Tc = z, Oc = Tc(
394
394
  }
395
395
  try {
396
396
  return Ic || !!Nc(Vi, Rc(e));
397
- } catch {
397
+ } catch (t) {
398
398
  return !0;
399
399
  }
400
400
  };
@@ -480,7 +480,7 @@ Eu.prototype = {
480
480
  }
481
481
  }
482
482
  };
483
- var $u = Eu, fg = Ct, cg = /ipad|iphone|ipod/i.test(fg) && typeof Pebble < "u", gg = Ct, dg = /web0s(?!.*chrome)/i.test(gg), it = _, pg = vg, as = Di, xa = Su.set, yg = $u, mg = Tu, bg = cg, xg = dg, Ta = Pr, is = it.MutationObserver || it.WebKitMutationObserver, ns = it.document, ss = it.process, Xt = it.Promise, ti = pg("queueMicrotask"), Xe, Oa, Sa, Wt, os;
483
+ var $u = Eu, fg = Ct, cg = /ipad|iphone|ipod/i.test(fg) && typeof Pebble != "undefined", gg = Ct, dg = /web0s(?!.*chrome)/i.test(gg), it = _, pg = vg, as = Di, xa = Su.set, yg = $u, mg = Tu, bg = cg, xg = dg, Ta = Pr, is = it.MutationObserver || it.WebKitMutationObserver, ns = it.document, ss = it.process, Xt = it.Promise, ti = pg("queueMicrotask"), Xe, Oa, Sa, Wt, os;
484
484
  if (!ti) {
485
485
  var qt = new yg(), Qt = function() {
486
486
  var a, e;
@@ -506,7 +506,7 @@ if (!ti) {
506
506
  var Tg = ti, Og = function(a, e) {
507
507
  try {
508
508
  arguments.length === 1 ? console.error(a) : console.error(a, e);
509
- } catch {
509
+ } catch (t) {
510
510
  }
511
511
  }, ki = function(a) {
512
512
  try {
@@ -647,7 +647,7 @@ if (Ru && (Le = function(e) {
647
647
  }, { unsafe: !0 });
648
648
  try {
649
649
  delete Qe.constructor;
650
- } catch {
650
+ } catch (a) {
651
651
  }
652
652
  vs && vs(Qe, Kt);
653
653
  }
@@ -728,12 +728,12 @@ try {
728
728
  }, Array.from(Ts, function() {
729
729
  throw 2;
730
730
  });
731
- } catch {
731
+ } catch (a) {
732
732
  }
733
733
  var Rd = function(a, e) {
734
734
  try {
735
735
  if (!e && !Gu) return !1;
736
- } catch {
736
+ } catch (i) {
737
737
  return !1;
738
738
  }
739
739
  var t = !1;
@@ -746,7 +746,7 @@ var Rd = function(a, e) {
746
746
  }
747
747
  };
748
748
  }, a(r);
749
- } catch {
749
+ } catch (i) {
750
750
  }
751
751
  return t;
752
752
  }, Nd = Ir, Id = Rd, Md = Rt.CONSTRUCTOR, zu = Md || !Id(function(a) {
@@ -870,9 +870,9 @@ var Ep = J, $p = Xu, $s = Mi, wp = Ri, Cp = xu, Ap = $r, Pp = Pi, ws = ">", Cs =
870
870
  }, Jt, fr = function() {
871
871
  try {
872
872
  Jt = new ActiveXObject("htmlfile");
873
- } catch {
873
+ } catch (e) {
874
874
  }
875
- fr = typeof document < "u" ? document.domain && Jt ? As(Jt) : Rp() : As(Jt);
875
+ fr = typeof document != "undefined" ? document.domain && Jt ? As(Jt) : Rp() : As(Jt);
876
876
  for (var a = $s.length; a--; ) delete fr[oi][$s[a]];
877
877
  return fr();
878
878
  };
@@ -959,7 +959,7 @@ var Is = Y, Ms = Ue, Jp = Xi, _s = D, Ku = z, ey = At, ty = Ku("species"), Ca =
959
959
  var a = !0;
960
960
  try {
961
961
  Ds(".", "d");
962
- } catch {
962
+ } catch (u) {
963
963
  a = !1;
964
964
  }
965
965
  var e = {}, t = "", r = a ? "dgimsy" : "gimsy", i = function(u, l) {
@@ -1106,10 +1106,10 @@ var om = ae, um = je, lm = z, hm = lm("match"), vm = function(a) {
1106
1106
  var e = /./;
1107
1107
  try {
1108
1108
  "/./"[a](e);
1109
- } catch {
1109
+ } catch (t) {
1110
1110
  try {
1111
1111
  return e[dm] = !1, "/./"[a](e);
1112
- } catch {
1112
+ } catch (r) {
1113
1113
  }
1114
1114
  }
1115
1115
  return !1;
@@ -1224,7 +1224,7 @@ tn("values");
1224
1224
  tn("entries");
1225
1225
  if (c0 && Zs.name !== "values") try {
1226
1226
  v0(Zs, "name", { value: "values" });
1227
- } catch {
1227
+ } catch (a) {
1228
1228
  }
1229
1229
  var y0 = {
1230
1230
  CSSRuleList: 0,
@@ -1262,14 +1262,14 @@ var y0 = {
1262
1262
  if (a) {
1263
1263
  if (a[Da] !== La) try {
1264
1264
  to(a, Da, La);
1265
- } catch {
1265
+ } catch (r) {
1266
1266
  a[Da] = La;
1267
1267
  }
1268
1268
  if (T0(a, e, !0), sl[e]) {
1269
1269
  for (var t in yt)
1270
1270
  if (a[t] !== yt[t]) try {
1271
1271
  to(a, t, yt[t]);
1272
- } catch {
1272
+ } catch (r) {
1273
1273
  a[t] = yt[t];
1274
1274
  }
1275
1275
  }
@@ -1402,9 +1402,9 @@ W0("split", function(a, e, t) {
1402
1402
  var Lr = { exports: {} }, mt = { exports: {} };
1403
1403
  (function() {
1404
1404
  var a, e, t, r, i, n;
1405
- typeof performance < "u" && performance !== null && performance.now ? mt.exports = function() {
1405
+ typeof performance != "undefined" && performance !== null && performance.now ? mt.exports = function() {
1406
1406
  return performance.now();
1407
- } : typeof process < "u" && process !== null && process.hrtime ? (mt.exports = function() {
1407
+ } : typeof process != "undefined" && process !== null && process.hrtime ? (mt.exports = function() {
1408
1408
  return (a() - i) / 1e6;
1409
1409
  }, e = process.hrtime, a = function() {
1410
1410
  var o;
@@ -1415,7 +1415,7 @@ var Lr = { exports: {} }, mt = { exports: {} };
1415
1415
  return (/* @__PURE__ */ new Date()).getTime() - t;
1416
1416
  }, t = (/* @__PURE__ */ new Date()).getTime());
1417
1417
  }).call(Ke);
1418
- var ub = mt.exports, lb = ub, be = typeof window > "u" ? Ke : window, ir = ["moz", "webkit"], rt = "AnimationFrame", st = be["request" + rt], Et = be["cancel" + rt] || be["cancelRequest" + rt];
1418
+ var ub = mt.exports, lb = ub, be = typeof window == "undefined" ? Ke : window, ir = ["moz", "webkit"], rt = "AnimationFrame", st = be["request" + rt], Et = be["cancel" + rt] || be["cancelRequest" + rt];
1419
1419
  for (var pt = 0; !st && pt < ir.length; pt++)
1420
1420
  st = be[ir[pt] + "Request" + rt], Et = be[ir[pt] + "Cancel" + rt] || be[ir[pt] + "CancelRequest" + rt];
1421
1421
  if (!st || !Et) {
@@ -1703,7 +1703,7 @@ var $b = function(a) {
1703
1703
  " " + u[l] + " -> " + d.toRGB() + " -> " + d.toHex()
1704
1704
  );
1705
1705
  g.appendChild(p), g.appendChild(y), v.appendChild(g);
1706
- } catch {
1706
+ } catch (b) {
1707
1707
  }
1708
1708
  return v;
1709
1709
  };
@@ -2225,7 +2225,7 @@ function s1() {
2225
2225
  })();
2226
2226
  }
2227
2227
  };
2228
- return (typeof DOMParser < "u" || typeof a > "u") && Reflect.deleteProperty(e, "DOMParser"), e;
2228
+ return (typeof DOMParser != "undefined" || typeof a == "undefined") && Reflect.deleteProperty(e, "DOMParser"), e;
2229
2229
  }
2230
2230
  function o1(a) {
2231
2231
  var {
@@ -2333,7 +2333,7 @@ class S {
2333
2333
  var {
2334
2334
  value: t
2335
2335
  } = this;
2336
- return t !== null && t !== "" && (e || t !== 0) && typeof t < "u";
2336
+ return t !== null && t !== "" && (e || t !== 0) && typeof t != "undefined";
2337
2337
  }
2338
2338
  isString(e) {
2339
2339
  var {
@@ -2360,18 +2360,18 @@ class S {
2360
2360
  return this.value = e, this;
2361
2361
  }
2362
2362
  getValue(e) {
2363
- return typeof e > "u" || this.hasValue() ? this.value : e;
2363
+ return typeof e == "undefined" || this.hasValue() ? this.value : e;
2364
2364
  }
2365
2365
  getNumber(e) {
2366
2366
  if (!this.hasValue())
2367
- return typeof e > "u" ? 0 : parseFloat(e);
2367
+ return typeof e == "undefined" ? 0 : parseFloat(e);
2368
2368
  var {
2369
2369
  value: t
2370
2370
  } = this, r = parseFloat(t);
2371
2371
  return this.isString(/%$/) && (r /= 100), r;
2372
2372
  }
2373
2373
  getString(e) {
2374
- return typeof e > "u" || this.hasValue() ? typeof this.value > "u" ? "" : String(this.value) : String(e);
2374
+ return typeof e == "undefined" || this.hasValue() ? typeof this.value == "undefined" ? "" : String(this.value) : String(e);
2375
2375
  }
2376
2376
  getColor(e) {
2377
2377
  var t = this.getString(e);
@@ -2665,7 +2665,7 @@ class O1 {
2665
2665
  });
2666
2666
  }
2667
2667
  }
2668
- var ml = typeof window < "u" ? window : null, bl = typeof fetch < "u" ? fetch.bind(void 0) : null;
2668
+ var ml = typeof window != "undefined" ? window : null, bl = typeof fetch != "undefined" ? fetch.bind(void 0) : null;
2669
2669
  class kr {
2670
2670
  constructor(e) {
2671
2671
  var {
@@ -2800,7 +2800,7 @@ kr.defaultWindow = ml;
2800
2800
  kr.defaultFetch = bl;
2801
2801
  var {
2802
2802
  defaultFetch: S1
2803
- } = kr, E1 = typeof DOMParser < "u" ? DOMParser : null;
2803
+ } = kr, E1 = typeof DOMParser != "undefined" ? DOMParser : null;
2804
2804
  class Ya {
2805
2805
  constructor() {
2806
2806
  var {
@@ -2819,7 +2819,7 @@ class Ya {
2819
2819
  var t = new this.DOMParser();
2820
2820
  try {
2821
2821
  return this.checkDocument(t.parseFromString(e, "image/svg+xml"));
2822
- } catch {
2822
+ } catch (r) {
2823
2823
  return this.checkDocument(t.parseFromString(e, "text/xml"));
2824
2824
  }
2825
2825
  }
@@ -3003,7 +3003,7 @@ class Be {
3003
3003
  i.forEach((n) => {
3004
3004
  if (n !== "none") {
3005
3005
  var [o, s] = N1(n), u = Be.transformTypes[o];
3006
- typeof u < "u" && this.transforms.push(new u(this.document, s, r));
3006
+ typeof u != "undefined" && this.transforms.push(new u(this.document, s, r));
3007
3007
  }
3008
3008
  });
3009
3009
  }
@@ -3160,7 +3160,7 @@ class I {
3160
3160
  if (i)
3161
3161
  for (var o in i) {
3162
3162
  var s = this.stylesSpecificity[o];
3163
- typeof s > "u" && (s = "000"), n >= s && (this.styles[o] = i[o], this.stylesSpecificity[o] = n);
3163
+ typeof s == "undefined" && (s = "000"), n >= s && (this.styles[o] = i[o], this.stylesSpecificity[o] = n);
3164
3164
  }
3165
3165
  }
3166
3166
  }
@@ -3196,7 +3196,7 @@ function M1(a) {
3196
3196
  return /^('|")/.test(e) ? e : '"'.concat(e, '"');
3197
3197
  }
3198
3198
  function _1(a) {
3199
- return typeof process > "u" ? a : a.trim().split(",").map(M1).join(",");
3199
+ return typeof process == "undefined" ? a : a.trim().split(",").map(M1).join(",");
3200
3200
  }
3201
3201
  function V1(a) {
3202
3202
  if (!a)
@@ -3294,7 +3294,7 @@ class ce {
3294
3294
  return this.y2 - this.y1;
3295
3295
  }
3296
3296
  addPoint(e, t) {
3297
- typeof e < "u" && ((isNaN(this.x1) || isNaN(this.x2)) && (this.x1 = e, this.x2 = e), e < this.x1 && (this.x1 = e), e > this.x2 && (this.x2 = e)), typeof t < "u" && ((isNaN(this.y1) || isNaN(this.y2)) && (this.y1 = t, this.y2 = t), t < this.y1 && (this.y1 = t), t > this.y2 && (this.y2 = t));
3297
+ typeof e != "undefined" && ((isNaN(this.x1) || isNaN(this.x2)) && (this.x1 = e, this.x2 = e), e < this.x1 && (this.x1 = e), e > this.x2 && (this.x2 = e)), typeof t != "undefined" && ((isNaN(this.y1) || isNaN(this.y2)) && (this.y1 = t, this.y2 = t), t < this.y1 && (this.y1 = t), t > this.y2 && (this.y2 = t));
3298
3298
  }
3299
3299
  addX(e) {
3300
3300
  this.addPoint(e, null);
@@ -3481,12 +3481,12 @@ class Ge extends I {
3481
3481
  var d = this.getStyle("stroke-linecap"), p = this.getStyle("stroke-linejoin"), y = this.getStyle("stroke-miterlimit"), T = this.getStyle("stroke-dasharray"), b = this.getStyle("stroke-dashoffset");
3482
3482
  if (d.hasValue() && (e.lineCap = d.getString()), p.hasValue() && (e.lineJoin = p.getString()), y.hasValue() && (e.miterLimit = y.getNumber()), T.hasValue() && T.getString() !== "none") {
3483
3483
  var x = ne(T.getString());
3484
- typeof e.setLineDash < "u" ? e.setLineDash(x) : typeof e.webkitLineDash < "u" ? e.webkitLineDash = x : typeof e.mozDash < "u" && !(x.length === 1 && x[0] === 0) && (e.mozDash = x);
3484
+ typeof e.setLineDash != "undefined" ? e.setLineDash(x) : typeof e.webkitLineDash != "undefined" ? e.webkitLineDash = x : typeof e.mozDash != "undefined" && !(x.length === 1 && x[0] === 0) && (e.mozDash = x);
3485
3485
  var $ = b.getPixels();
3486
- typeof e.lineDashOffset < "u" ? e.lineDashOffset = $ : typeof e.webkitLineDashOffset < "u" ? e.webkitLineDashOffset = $ : typeof e.mozDashOffset < "u" && (e.mozDashOffset = $);
3486
+ typeof e.lineDashOffset != "undefined" ? e.lineDashOffset = $ : typeof e.webkitLineDashOffset != "undefined" ? e.webkitLineDashOffset = $ : typeof e.mozDashOffset != "undefined" && (e.mozDashOffset = $);
3487
3487
  }
3488
3488
  }
3489
- if (this.modifiedEmSizeStack = !1, typeof e.font < "u") {
3489
+ if (this.modifiedEmSizeStack = !1, typeof e.font != "undefined") {
3490
3490
  var E = this.getStyle("font"), O = this.getStyle("font-style"), C = this.getStyle("font-variant"), P = this.getStyle("font-weight"), V = this.getStyle("font-size"), j = this.getStyle("font-family"), R = new Z(O.getString(), C.getString(), P.getString(), V.hasValue() ? "".concat(V.getPixels(!0), "px") : "", j.getString(), Z.parse(E.getString(), e.font));
3491
3491
  O.setValue(R.fontStyle), C.setValue(R.fontVariant), P.setValue(R.fontWeight), V.setValue(R.fontSize), j.setValue(R.fontFamily), e.font = R.toString(), V.isPixels() && (this.document.emSize = V.getPixels(), this.modifiedEmSizeStack = !0);
3492
3492
  }
@@ -3832,7 +3832,7 @@ class Ce extends Ge {
3832
3832
  var i = t[r], n = null;
3833
3833
  if (e.isArabic) {
3834
3834
  var o = t.length, s = t[r - 1], u = t[r + 1], l = "isolated";
3835
- if ((r === 0 || s === " ") && r < o - 1 && u !== " " && (l = "terminal"), r > 0 && s !== " " && r < o - 1 && u !== " " && (l = "medial"), r > 0 && s !== " " && (r === o - 1 || u === " ") && (l = "initial"), typeof e.glyphs[i] < "u") {
3835
+ if ((r === 0 || s === " ") && r < o - 1 && u !== " " && (l = "terminal"), r > 0 && s !== " " && r < o - 1 && u !== " " && (l = "medial"), r > 0 && s !== " " && (r === o - 1 || u === " ") && (l = "initial"), typeof e.glyphs[i] != "undefined") {
3836
3836
  var h = e.glyphs[i];
3837
3837
  n = h instanceof Ol ? h : h[l];
3838
3838
  }
@@ -3876,7 +3876,7 @@ class Ce extends Ge {
3876
3876
  var d = this.getGlyph(n, f, g);
3877
3877
  e.translate(this.x, this.y), e.scale(h, -h);
3878
3878
  var p = e.lineWidth;
3879
- e.lineWidth = e.lineWidth * o / u, l === "italic" && e.transform(1, 0, 0.4, 1, 0, 0), d.render(e), l === "italic" && e.transform(1, 0, -0.4, 1, 0, 0), e.lineWidth = p, e.scale(1 / h, -1 / h), e.translate(-this.x, -this.y), this.x += u * (d.horizAdvX || n.horizAdvX) / o, typeof c[g] < "u" && !isNaN(c[g]) && (this.x += c[g]);
3879
+ e.lineWidth = e.lineWidth * o / u, l === "italic" && e.transform(1, 0, 0.4, 1, 0, 0), d.render(e), l === "italic" && e.transform(1, 0, -0.4, 1, 0, 0), e.lineWidth = p, e.scale(1 / h, -1 / h), e.translate(-this.x, -this.y), this.x += u * (d.horizAdvX || n.horizAdvX) / o, typeof c[g] != "undefined" && !isNaN(c[g]) && (this.x += c[g]);
3880
3880
  }
3881
3881
  return;
3882
3882
  }
@@ -3950,7 +3950,7 @@ class Ce extends Ge {
3950
3950
  if (i) {
3951
3951
  for (var n = this.getFontSize(), o = i.isRTL ? t.split("").reverse().join("") : t, s = ne(r.getAttribute("dx").getString()), u = o.length, l = 0, h = 0; h < u; h++) {
3952
3952
  var f = this.getGlyph(i, o, h);
3953
- l += (f.horizAdvX || i.horizAdvX) * n / i.fontFace.unitsPerEm, typeof s[h] < "u" && !isNaN(s[h]) && (l += s[h]);
3953
+ l += (f.horizAdvX || i.horizAdvX) * n / i.fontFace.unitsPerEm, typeof s[h] != "undefined" && !isNaN(s[h]) && (l += s[h]);
3954
3954
  }
3955
3955
  return l;
3956
3956
  }
@@ -4002,7 +4002,7 @@ class It extends Ge {
4002
4002
  screen: i,
4003
4003
  window: n
4004
4004
  } = r, o = e.canvas;
4005
- if (i.setDefaults(e), o.style && typeof e.font < "u" && n && typeof n.getComputedStyle < "u") {
4005
+ if (i.setDefaults(e), o.style && typeof e.font != "undefined" && n && typeof n.getComputedStyle != "undefined") {
4006
4006
  e.font = n.getComputedStyle(o).getPropertyValue("font");
4007
4007
  var s = new S(r, "fontSize", Z.parse(e.font).fontSize);
4008
4008
  s.hasValue() && (r.rootEmSize = s.getPixels("y"), r.emSize = r.rootEmSize);
@@ -4410,7 +4410,7 @@ class Q1 extends I {
4410
4410
  break;
4411
4411
  case "glyph": {
4412
4412
  var u = o;
4413
- u.arabicForm ? (this.isRTL = !0, this.isArabic = !0, typeof this.glyphs[u.unicode] > "u" && (this.glyphs[u.unicode] = /* @__PURE__ */ Object.create(null)), this.glyphs[u.unicode][u.arabicForm] = u) : this.glyphs[u.unicode] = u;
4413
+ u.arabicForm ? (this.isRTL = !0, this.isArabic = !0, typeof this.glyphs[u.unicode] == "undefined" && (this.glyphs[u.unicode] = /* @__PURE__ */ Object.create(null)), this.glyphs[u.unicode][u.arabicForm] = u) : this.glyphs[u.unicode] = u;
4414
4414
  break;
4415
4415
  }
4416
4416
  }
@@ -4604,7 +4604,7 @@ class t2 extends Ce {
4604
4604
  var f = [], c = t.length;
4605
4605
  this.letterSpacingCache = f;
4606
4606
  for (var v = 0; v < c; v++)
4607
- f.push(typeof n[v] < "u" ? n[v] : h);
4607
+ f.push(typeof n[v] != "undefined" ? n[v] : h);
4608
4608
  var g = f.reduce((x, $, E) => E === 0 ? 0 : x + $ || 0, 0), d = this.measureText(e), p = Math.max(d + g, 0);
4609
4609
  this.textWidth = d, this.textHeight = this.getFontSize(), this.glyphInfo = [];
4610
4610
  var y = this.getPathLength(), T = this.getStyle("startOffset").getNumber(0) * y, b = 0;
@@ -4968,7 +4968,7 @@ class a2 extends Ge {
4968
4968
  desiredWidth: h.width,
4969
4969
  height: u,
4970
4970
  desiredHeight: h.height
4971
- }), this.loaded && (typeof h.complete > "u" || h.complete) && e.drawImage(h, 0, 0);
4971
+ }), this.loaded && (typeof h.complete == "undefined" || h.complete) && e.drawImage(h, 0, 0);
4972
4972
  }
4973
4973
  e.restore();
4974
4974
  }
@@ -5181,8 +5181,8 @@ class o2 extends I {
5181
5181
  closePath: n
5182
5182
  } = e;
5183
5183
  r && (r.beginPath = Mo, r.closePath = Mo), Reflect.apply(i, e, []), this.children.forEach((o) => {
5184
- if (!(typeof o.path > "u")) {
5185
- var s = typeof o.elementTransform < "u" ? o.elementTransform() : null;
5184
+ if (typeof o.path != "undefined") {
5185
+ var s = typeof o.elementTransform != "undefined" ? o.elementTransform() : null;
5186
5186
  s || (s = Be.fromElement(t, o)), s && s.apply(e), o.path(e), r && (r.closePath = n), s && s.unapply(e);
5187
5187
  }
5188
5188
  }), Reflect.apply(n, e, []), e.clip(), r && (r.beginPath = i, r.closePath = n);
@@ -5400,7 +5400,7 @@ class $e {
5400
5400
  }
5401
5401
  createElement(e) {
5402
5402
  var t = e.nodeName.replace(/^[^:]+:/, ""), r = $e.elementTypes[t];
5403
- return typeof r < "u" ? new r(this, e) : new I1(this, e);
5403
+ return typeof r != "undefined" ? new r(this, e) : new I1(this, e);
5404
5404
  }
5405
5405
  createTextNode(e) {
5406
5406
  return new L1(this, e);
@@ -5643,4 +5643,4 @@ export {
5643
5643
  Eo as vectorsAngle,
5644
5644
  Ti as vectorsRatio
5645
5645
  };
5646
- //# sourceMappingURL=index.es-Y5s7G2zR.js.map
5646
+ //# sourceMappingURL=index.es-D_rYNwkM.js.map