@ranty/ranty-sdk 3.28.5 → 3.29.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.
@@ -1,266 +1,266 @@
1
- import { c as Ke, _ as za, g as _o } from "./index-25885157.js";
2
- var vt = function(a) {
1
+ import { c as Qe, _ as Ha, g as Lo } from "./index-64a27cdf.js";
2
+ var ht = function(a) {
3
3
  return a && a.Math === Math && a;
4
- }, V = (
4
+ }, _ = (
5
5
  // eslint-disable-next-line es/no-global-this -- safe
6
- vt(typeof globalThis == "object" && globalThis) || vt(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
7
- vt(typeof self == "object" && self) || vt(typeof Ke == "object" && Ke) || vt(typeof Ke == "object" && Ke) || // eslint-disable-next-line no-new-func -- fallback
6
+ ht(typeof globalThis == "object" && globalThis) || ht(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
7
+ ht(typeof self == "object" && self) || ht(typeof Qe == "object" && Qe) || ht(typeof Qe == "object" && Qe) || // eslint-disable-next-line no-new-func -- fallback
8
8
  function() {
9
9
  return this;
10
10
  }() || Function("return this")()
11
- ), $t = {}, k = function(a) {
11
+ ), Et = {}, D = function(a) {
12
12
  try {
13
13
  return !!a();
14
14
  } catch (e) {
15
15
  return !0;
16
16
  }
17
- }, $l = k, le = !$l(function() {
17
+ }, Pl = D, he = !Pl(function() {
18
18
  return Object.defineProperty({}, 1, { get: function() {
19
19
  return 7;
20
20
  } })[1] !== 7;
21
- }), wl = k, mr = !wl(function() {
21
+ }), Rl = D, br = !Rl(function() {
22
22
  var a = function() {
23
23
  }.bind();
24
24
  return typeof a != "function" || a.hasOwnProperty("prototype");
25
- }), Cl = mr, Ut = Function.prototype.call, Y = Cl ? Ut.bind(Ut) : function() {
26
- return Ut.apply(Ut, arguments);
27
- }, Vo = {}, Do = {}.propertyIsEnumerable, ko = Object.getOwnPropertyDescriptor, Al = ko && !Do.call({ 1: 2 }, 1);
28
- Vo.f = Al ? function(e) {
29
- var t = ko(this, e);
25
+ }), Nl = br, Ft = Function.prototype.call, Y = Nl ? Ft.bind(Ft) : function() {
26
+ return Ft.apply(Ft, arguments);
27
+ }, ko = {}, Bo = {}.propertyIsEnumerable, jo = Object.getOwnPropertyDescriptor, Il = jo && !Bo.call({ 1: 2 }, 1);
28
+ ko.f = Il ? function(e) {
29
+ var t = jo(this, e);
30
30
  return !!t && t.enumerable;
31
- } : Do;
32
- var Ti = function(a, e) {
31
+ } : Bo;
32
+ var Oi = function(a, e) {
33
33
  return {
34
34
  enumerable: !(a & 1),
35
35
  configurable: !(a & 2),
36
36
  writable: !(a & 4),
37
37
  value: e
38
38
  };
39
- }, Lo = mr, Bo = Function.prototype, Ha = Bo.call, Pl = Lo && Bo.bind.bind(Ha, Ha), L = Lo ? Pl : function(a) {
39
+ }, Fo = br, Uo = Function.prototype, Ya = Uo.call, Ml = Fo && Uo.bind.bind(Ya, Ya), L = Fo ? Ml : function(a) {
40
40
  return function() {
41
- return Ha.apply(a, arguments);
41
+ return Ya.apply(a, arguments);
42
42
  };
43
- }, jo = L, Rl = jo({}.toString), Nl = jo("".slice), Be = function(a) {
44
- return Nl(Rl(a), 8, -1);
45
- }, Il = L, Ml = k, _l = Be, Qr = Object, Vl = Il("".split), Fo = Ml(function() {
46
- return !Qr("z").propertyIsEnumerable(0);
43
+ }, Go = L, _l = Go({}.toString), Vl = Go("".slice), je = function(a) {
44
+ return Vl(_l(a), 8, -1);
45
+ }, Dl = L, Ll = D, kl = je, Zr = Object, Bl = Dl("".split), zo = Ll(function() {
46
+ return !Zr("z").propertyIsEnumerable(0);
47
47
  }) ? function(a) {
48
- return _l(a) === "String" ? Vl(a, "") : Qr(a);
49
- } : Qr, je = function(a) {
48
+ return kl(a) === "String" ? Bl(a, "") : Zr(a);
49
+ } : Zr, xr = function(a) {
50
50
  return a == null;
51
- }, Dl = je, kl = TypeError, he = function(a) {
52
- if (Dl(a))
53
- throw new kl("Can't call method on " + a);
51
+ }, jl = xr, Fl = TypeError, ve = function(a) {
52
+ if (jl(a))
53
+ throw new Fl("Can't call method on " + a);
54
54
  return a;
55
- }, Ll = Fo, Bl = he, wt = function(a) {
56
- return Ll(Bl(a));
57
- }, Kr = typeof document == "object" && document.all, B = typeof Kr == "undefined" && Kr !== void 0 ? function(a) {
58
- return typeof a == "function" || a === Kr;
55
+ }, Ul = zo, Gl = ve, $t = function(a) {
56
+ return Ul(Gl(a));
57
+ }, Jr = typeof document == "object" && document.all, B = typeof Jr == "undefined" && Jr !== void 0 ? function(a) {
58
+ return typeof a == "function" || a === Jr;
59
59
  } : function(a) {
60
60
  return typeof a == "function";
61
- }, jl = B, ve = function(a) {
62
- return typeof a == "object" ? a !== null : jl(a);
63
- }, Zr = V, Fl = B, Ul = function(a) {
64
- return Fl(a) ? a : void 0;
61
+ }, zl = B, ae = function(a) {
62
+ return typeof a == "object" ? a !== null : zl(a);
63
+ }, ea = _, Hl = B, Yl = function(a) {
64
+ return Hl(a) ? a : void 0;
65
65
  }, Fe = function(a, e) {
66
- return arguments.length < 2 ? Ul(Zr[a]) : Zr[a] && Zr[a][e];
67
- }, Gl = L, br = Gl({}.isPrototypeOf), zl = V, dn = zl.navigator, pn = dn && dn.userAgent, Ct = pn ? String(pn) : "", Uo = V, Jr = Ct, yn = Uo.process, mn = Uo.Deno, bn = yn && yn.versions || mn && mn.version, xn = bn && bn.v8, ue, fr;
68
- xn && (ue = xn.split("."), fr = ue[0] > 0 && ue[0] < 4 ? 1 : +(ue[0] + ue[1]));
69
- !fr && Jr && (ue = Jr.match(/Edge\/(\d+)/), (!ue || ue[1] >= 74) && (ue = Jr.match(/Chrome\/(\d+)/), ue && (fr = +ue[1])));
70
- var Oi = fr, Tn = Oi, Hl = k, Yl = V, Xl = Yl.String, Go = !!Object.getOwnPropertySymbols && !Hl(function() {
66
+ return arguments.length < 2 ? Yl(ea[a]) : ea[a] && ea[a][e];
67
+ }, Xl = L, Tr = Xl({}.isPrototypeOf), Wl = _, yn = Wl.navigator, mn = yn && yn.userAgent, wt = mn ? String(mn) : "", Ho = _, ta = wt, bn = Ho.process, xn = Ho.Deno, Tn = bn && bn.versions || xn && xn.version, On = Tn && Tn.v8, le, cr;
68
+ On && (le = On.split("."), cr = le[0] > 0 && le[0] < 4 ? 1 : +(le[0] + le[1]));
69
+ !cr && ta && (le = ta.match(/Edge\/(\d+)/), (!le || le[1] >= 74) && (le = ta.match(/Chrome\/(\d+)/), le && (cr = +le[1])));
70
+ var Si = cr, Sn = Si, ql = D, Ql = _, Kl = Ql.String, Yo = !!Object.getOwnPropertySymbols && !ql(function() {
71
71
  var a = Symbol("symbol detection");
72
- return !Xl(a) || !(Object(a) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
73
- !Symbol.sham && Tn && Tn < 41;
74
- }), Wl = Go, zo = Wl && !Symbol.sham && typeof Symbol.iterator == "symbol", ql = Fe, Ql = B, Kl = br, Zl = zo, Jl = Object, Ho = Zl ? function(a) {
72
+ return !Kl(a) || !(Object(a) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
73
+ !Symbol.sham && Sn && Sn < 41;
74
+ }), Zl = Yo, Xo = Zl && !Symbol.sham && typeof Symbol.iterator == "symbol", Jl = Fe, eh = B, th = Tr, rh = Xo, ah = Object, Wo = rh ? function(a) {
75
75
  return typeof a == "symbol";
76
76
  } : function(a) {
77
- var e = ql("Symbol");
78
- return Ql(e) && Kl(e.prototype, Jl(a));
79
- }, eh = String, xr = function(a) {
77
+ var e = Jl("Symbol");
78
+ return eh(e) && th(e.prototype, ah(a));
79
+ }, ih = String, Or = function(a) {
80
80
  try {
81
- return eh(a);
81
+ return ih(a);
82
82
  } catch (e) {
83
83
  return "Object";
84
84
  }
85
- }, th = B, rh = xr, ah = TypeError, Te = function(a) {
86
- if (th(a))
85
+ }, nh = B, sh = Or, oh = TypeError, Te = function(a) {
86
+ if (nh(a))
87
87
  return a;
88
- throw new ah(rh(a) + " is not a function");
89
- }, ih = Te, nh = je, ot = function(a, e) {
88
+ throw new oh(sh(a) + " is not a function");
89
+ }, uh = Te, lh = xr, st = function(a, e) {
90
90
  var t = a[e];
91
- return nh(t) ? void 0 : ih(t);
92
- }, ea = Y, ta = B, ra = ve, sh = TypeError, oh = function(a, e) {
91
+ return lh(t) ? void 0 : uh(t);
92
+ }, ra = Y, aa = B, ia = ae, hh = TypeError, vh = function(a, e) {
93
93
  var t, r;
94
- if (e === "string" && ta(t = a.toString) && !ra(r = ea(t, a)) || ta(t = a.valueOf) && !ra(r = ea(t, a)) || e !== "string" && ta(t = a.toString) && !ra(r = ea(t, a)))
94
+ if (e === "string" && aa(t = a.toString) && !ia(r = ra(t, a)) || aa(t = a.valueOf) && !ia(r = ra(t, a)) || e !== "string" && aa(t = a.toString) && !ia(r = ra(t, a)))
95
95
  return r;
96
- throw new sh("Can't convert object to primitive value");
97
- }, Yo = { exports: {} }, On = V, uh = Object.defineProperty, Si = function(a, e) {
96
+ throw new hh("Can't convert object to primitive value");
97
+ }, qo = { exports: {} }, En = _, fh = Object.defineProperty, Ei = function(a, e) {
98
98
  try {
99
- uh(On, a, { value: e, configurable: !0, writable: !0 });
99
+ fh(En, a, { value: e, configurable: !0, writable: !0 });
100
100
  } catch (t) {
101
- On[a] = e;
101
+ En[a] = e;
102
102
  }
103
103
  return e;
104
- }, lh = V, hh = Si, Sn = "__core-js_shared__", En = Yo.exports = lh[Sn] || hh(Sn, {});
105
- (En.versions || (En.versions = [])).push({
106
- version: "3.39.0",
104
+ }, ch = _, gh = Ei, $n = "__core-js_shared__", wn = qo.exports = ch[$n] || gh($n, {});
105
+ (wn.versions || (wn.versions = [])).push({
106
+ version: "3.48.0",
107
107
  mode: "global",
108
- copyright: "© 2014-2024 Denis Pushkarev (zloirock.ru)",
109
- license: "https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",
108
+ copyright: "© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",
109
+ license: "https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",
110
110
  source: "https://github.com/zloirock/core-js"
111
111
  });
112
- var Ei = Yo.exports, $n = Ei, $i = function(a, e) {
113
- return $n[a] || ($n[a] = e || {});
114
- }, vh = he, fh = Object, Tr = function(a) {
115
- return fh(vh(a));
116
- }, ch = L, gh = Tr, dh = ch({}.hasOwnProperty), fe = Object.hasOwn || function(e, t) {
117
- return dh(gh(e), t);
118
- }, ph = L, yh = 0, mh = Math.random(), bh = ph(1 .toString), Xo = function(a) {
119
- return "Symbol(" + (a === void 0 ? "" : a) + ")_" + bh(++yh + mh, 36);
120
- }, xh = V, Th = $i, wn = fe, Oh = Xo, Sh = Go, Eh = zo, Ze = xh.Symbol, aa = Th("wks"), $h = Eh ? Ze.for || Ze : Ze && Ze.withoutSetter || Oh, z = function(a) {
121
- return wn(aa, a) || (aa[a] = Sh && wn(Ze, a) ? Ze[a] : $h("Symbol." + a)), aa[a];
122
- }, wh = Y, Cn = ve, An = Ho, Ch = ot, Ah = oh, Ph = z, Rh = TypeError, Nh = Ph("toPrimitive"), Ih = function(a, e) {
123
- if (!Cn(a) || An(a))
112
+ var $i = qo.exports, Cn = $i, wi = function(a, e) {
113
+ return Cn[a] || (Cn[a] = e || {});
114
+ }, dh = ve, ph = Object, Sr = function(a) {
115
+ return ph(dh(a));
116
+ }, yh = L, mh = Sr, bh = yh({}.hasOwnProperty), fe = Object.hasOwn || function(e, t) {
117
+ return bh(mh(e), t);
118
+ }, xh = L, Th = 0, Oh = Math.random(), Sh = xh(1.1.toString), Qo = function(a) {
119
+ return "Symbol(" + (a === void 0 ? "" : a) + ")_" + Sh(++Th + Oh, 36);
120
+ }, Eh = _, $h = wi, An = fe, wh = Qo, Ch = Yo, Ah = Xo, Ke = Eh.Symbol, na = $h("wks"), Ph = Ah ? Ke.for || Ke : Ke && Ke.withoutSetter || wh, z = function(a) {
121
+ return An(na, a) || (na[a] = Ch && An(Ke, a) ? Ke[a] : Ph("Symbol." + a)), na[a];
122
+ }, Rh = Y, Pn = ae, Rn = Wo, Nh = st, Ih = vh, Mh = z, _h = TypeError, Vh = Mh("toPrimitive"), Dh = function(a, e) {
123
+ if (!Pn(a) || Rn(a))
124
124
  return a;
125
- var t = Ch(a, Nh), r;
125
+ var t = Nh(a, Vh), r;
126
126
  if (t) {
127
- if (e === void 0 && (e = "default"), r = wh(t, a, e), !Cn(r) || An(r))
127
+ if (e === void 0 && (e = "default"), r = Rh(t, a, e), !Pn(r) || Rn(r))
128
128
  return r;
129
- throw new Rh("Can't convert object to primitive value");
130
- }
131
- return e === void 0 && (e = "number"), Ah(a, e);
132
- }, Mh = Ih, _h = Ho, Wo = function(a) {
133
- var e = Mh(a, "string");
134
- return _h(e) ? e : e + "";
135
- }, Vh = V, Pn = ve, Ya = Vh.document, Dh = Pn(Ya) && Pn(Ya.createElement), Or = function(a) {
136
- return Dh ? Ya.createElement(a) : {};
137
- }, kh = le, Lh = k, Bh = Or, qo = !kh && !Lh(function() {
138
- return Object.defineProperty(Bh("div"), "a", {
129
+ throw new _h("Can't convert object to primitive value");
130
+ }
131
+ return e === void 0 && (e = "number"), Ih(a, e);
132
+ }, Lh = Dh, kh = Wo, Ko = function(a) {
133
+ var e = Lh(a, "string");
134
+ return kh(e) ? e : e + "";
135
+ }, Bh = _, Nn = ae, Xa = Bh.document, jh = Nn(Xa) && Nn(Xa.createElement), Er = function(a) {
136
+ return jh ? Xa.createElement(a) : {};
137
+ }, Fh = he, Uh = D, Gh = Er, Zo = !Fh && !Uh(function() {
138
+ return Object.defineProperty(Gh("div"), "a", {
139
139
  get: function() {
140
140
  return 7;
141
141
  }
142
142
  }).a !== 7;
143
- }), jh = le, Fh = Y, Uh = Vo, Gh = Ti, zh = wt, Hh = Wo, Yh = fe, Xh = qo, Rn = Object.getOwnPropertyDescriptor;
144
- $t.f = jh ? Rn : function(e, t) {
145
- if (e = zh(e), t = Hh(t), Xh)
143
+ }), zh = he, Hh = Y, Yh = ko, Xh = Oi, Wh = $t, qh = Ko, Qh = fe, Kh = Zo, In = Object.getOwnPropertyDescriptor;
144
+ Et.f = zh ? In : function(e, t) {
145
+ if (e = Wh(e), t = qh(t), Kh)
146
146
  try {
147
- return Rn(e, t);
147
+ return In(e, t);
148
148
  } catch (r) {
149
149
  }
150
- if (Yh(e, t))
151
- return Gh(!Fh(Uh.f, e, t), e[t]);
150
+ if (Qh(e, t))
151
+ return Xh(!Hh(Yh.f, e, t), e[t]);
152
152
  };
153
- var Oe = {}, Wh = le, qh = k, Qo = Wh && qh(function() {
153
+ var Oe = {}, Zh = he, Jh = D, Jo = Zh && Jh(function() {
154
154
  return Object.defineProperty(function() {
155
155
  }, "prototype", {
156
156
  value: 42,
157
157
  writable: !1
158
158
  }).prototype !== 42;
159
- }), Qh = ve, Kh = String, Zh = TypeError, J = function(a) {
160
- if (Qh(a))
159
+ }), ev = ae, tv = String, rv = TypeError, J = function(a) {
160
+ if (ev(a))
161
161
  return a;
162
- throw new Zh(Kh(a) + " is not an object");
163
- }, Jh = le, ev = qo, tv = Qo, Gt = J, Nn = Wo, rv = TypeError, ia = Object.defineProperty, av = Object.getOwnPropertyDescriptor, na = "enumerable", sa = "configurable", oa = "writable";
164
- Oe.f = Jh ? tv ? function(e, t, r) {
165
- if (Gt(e), t = Nn(t), Gt(r), typeof e == "function" && t === "prototype" && "value" in r && oa in r && !r[oa]) {
166
- var i = av(e, t);
167
- i && i[oa] && (e[t] = r.value, r = {
168
- configurable: sa in r ? r[sa] : i[sa],
169
- enumerable: na in r ? r[na] : i[na],
162
+ throw new rv(tv(a) + " is not an object");
163
+ }, av = he, iv = Zo, nv = Jo, Ut = J, Mn = Ko, sv = TypeError, sa = Object.defineProperty, ov = Object.getOwnPropertyDescriptor, oa = "enumerable", ua = "configurable", la = "writable";
164
+ Oe.f = av ? nv ? function(e, t, r) {
165
+ if (Ut(e), t = Mn(t), Ut(r), typeof e == "function" && t === "prototype" && "value" in r && la in r && !r[la]) {
166
+ var i = ov(e, t);
167
+ i && i[la] && (e[t] = r.value, r = {
168
+ configurable: ua in r ? r[ua] : i[ua],
169
+ enumerable: oa in r ? r[oa] : i[oa],
170
170
  writable: !1
171
171
  });
172
172
  }
173
- return ia(e, t, r);
174
- } : ia : function(e, t, r) {
175
- if (Gt(e), t = Nn(t), Gt(r), ev)
173
+ return sa(e, t, r);
174
+ } : sa : function(e, t, r) {
175
+ if (Ut(e), t = Mn(t), Ut(r), iv)
176
176
  try {
177
- return ia(e, t, r);
177
+ return sa(e, t, r);
178
178
  } catch (i) {
179
179
  }
180
180
  if ("get" in r || "set" in r)
181
- throw new rv("Accessors not supported");
181
+ throw new sv("Accessors not supported");
182
182
  return "value" in r && (e[t] = r.value), e;
183
183
  };
184
- var iv = le, nv = Oe, sv = Ti, At = iv ? function(a, e, t) {
185
- return nv.f(a, e, sv(1, t));
184
+ var uv = he, lv = Oe, hv = Oi, Ct = uv ? function(a, e, t) {
185
+ return lv.f(a, e, hv(1, t));
186
186
  } : function(a, e, t) {
187
187
  return a[e] = t, a;
188
- }, Ko = { exports: {} }, Xa = le, ov = fe, Zo = Function.prototype, uv = Xa && Object.getOwnPropertyDescriptor, wi = ov(Zo, "name"), lv = wi && function() {
189
- }.name === "something", hv = wi && (!Xa || Xa && uv(Zo, "name").configurable), Sr = {
190
- EXISTS: wi,
191
- PROPER: lv,
192
- CONFIGURABLE: hv
193
- }, vv = L, fv = B, Wa = Ei, cv = vv(Function.toString);
194
- fv(Wa.inspectSource) || (Wa.inspectSource = function(a) {
195
- return cv(a);
188
+ }, eu = { exports: {} }, Wa = he, vv = fe, tu = Function.prototype, fv = Wa && Object.getOwnPropertyDescriptor, Ci = vv(tu, "name"), cv = Ci && function() {
189
+ }.name === "something", gv = Ci && (!Wa || Wa && fv(tu, "name").configurable), $r = {
190
+ EXISTS: Ci,
191
+ PROPER: cv,
192
+ CONFIGURABLE: gv
193
+ }, dv = L, pv = B, qa = $i, yv = dv(Function.toString);
194
+ pv(qa.inspectSource) || (qa.inspectSource = function(a) {
195
+ return yv(a);
196
196
  });
197
- var Ci = Wa.inspectSource, gv = V, dv = B, In = gv.WeakMap, pv = dv(In) && /native code/.test(String(In)), yv = $i, mv = Xo, Mn = yv("keys"), Ai = function(a) {
198
- return Mn[a] || (Mn[a] = mv(a));
199
- }, Pi = {}, bv = pv, Jo = V, xv = ve, Tv = At, ua = fe, la = Ei, Ov = Ai, Sv = Pi, _n = "Object already initialized", qa = Jo.TypeError, Ev = Jo.WeakMap, cr, Ot, gr, $v = function(a) {
200
- return gr(a) ? Ot(a) : cr(a, {});
201
- }, wv = function(a) {
197
+ var Ai = qa.inspectSource, mv = _, bv = B, _n = mv.WeakMap, xv = bv(_n) && /native code/.test(String(_n)), Tv = wi, Ov = Qo, Vn = Tv("keys"), Pi = function(a) {
198
+ return Vn[a] || (Vn[a] = Ov(a));
199
+ }, Ri = {}, Sv = xv, ru = _, Ev = ae, $v = Ct, ha = fe, va = $i, wv = Pi, Cv = Ri, Dn = "Object already initialized", Qa = ru.TypeError, Av = ru.WeakMap, gr, Tt, dr, Pv = function(a) {
200
+ return dr(a) ? Tt(a) : gr(a, {});
201
+ }, Rv = function(a) {
202
202
  return function(e) {
203
203
  var t;
204
- if (!xv(e) || (t = Ot(e)).type !== a)
205
- throw new qa("Incompatible receiver, " + a + " required");
204
+ if (!Ev(e) || (t = Tt(e)).type !== a)
205
+ throw new Qa("Incompatible receiver, " + a + " required");
206
206
  return t;
207
207
  };
208
208
  };
209
- if (bv || la.state) {
210
- var de = la.state || (la.state = new Ev());
211
- de.get = de.get, de.has = de.has, de.set = de.set, cr = function(a, e) {
209
+ if (Sv || va.state) {
210
+ var de = va.state || (va.state = new Av());
211
+ de.get = de.get, de.has = de.has, de.set = de.set, gr = function(a, e) {
212
212
  if (de.has(a))
213
- throw new qa(_n);
213
+ throw new Qa(Dn);
214
214
  return e.facade = a, de.set(a, e), e;
215
- }, Ot = function(a) {
215
+ }, Tt = function(a) {
216
216
  return de.get(a) || {};
217
- }, gr = function(a) {
217
+ }, dr = function(a) {
218
218
  return de.has(a);
219
219
  };
220
220
  } else {
221
- var Ye = Ov("state");
222
- Sv[Ye] = !0, cr = function(a, e) {
223
- if (ua(a, Ye))
224
- throw new qa(_n);
225
- return e.facade = a, Tv(a, Ye, e), e;
226
- }, Ot = function(a) {
227
- return ua(a, Ye) ? a[Ye] : {};
228
- }, gr = function(a) {
229
- return ua(a, Ye);
221
+ var Ye = wv("state");
222
+ Cv[Ye] = !0, gr = function(a, e) {
223
+ if (ha(a, Ye))
224
+ throw new Qa(Dn);
225
+ return e.facade = a, $v(a, Ye, e), e;
226
+ }, Tt = function(a) {
227
+ return ha(a, Ye) ? a[Ye] : {};
228
+ }, dr = function(a) {
229
+ return ha(a, Ye);
230
230
  };
231
231
  }
232
- var Er = {
233
- set: cr,
234
- get: Ot,
235
- has: gr,
236
- enforce: $v,
237
- getterFor: wv
238
- }, Ri = L, Cv = k, Av = B, zt = fe, Qa = le, Pv = Sr.CONFIGURABLE, Rv = Ci, eu = Er, Nv = eu.enforce, Iv = eu.get, Vn = String, sr = Object.defineProperty, Mv = Ri("".slice), _v = Ri("".replace), Vv = Ri([].join), Dv = Qa && !Cv(function() {
239
- return sr(function() {
232
+ var wr = {
233
+ set: gr,
234
+ get: Tt,
235
+ has: dr,
236
+ enforce: Pv,
237
+ getterFor: Rv
238
+ }, Ni = L, Nv = D, Iv = B, Gt = fe, Ka = he, Mv = $r.CONFIGURABLE, _v = Ai, au = wr, Vv = au.enforce, Dv = au.get, Ln = String, or = Object.defineProperty, Lv = Ni("".slice), kv = Ni("".replace), Bv = Ni([].join), jv = Ka && !Nv(function() {
239
+ return or(function() {
240
240
  }, "length", { value: 8 }).length !== 8;
241
- }), kv = String(String).split("String"), Lv = Ko.exports = function(a, e, t) {
242
- Mv(Vn(e), 0, 7) === "Symbol(" && (e = "[" + _v(Vn(e), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), t && t.getter && (e = "get " + e), t && t.setter && (e = "set " + e), (!zt(a, "name") || Pv && a.name !== e) && (Qa ? sr(a, "name", { value: e, configurable: !0 }) : a.name = e), Dv && t && zt(t, "arity") && a.length !== t.arity && sr(a, "length", { value: t.arity });
241
+ }), Fv = String(String).split("String"), Uv = eu.exports = function(a, e, t) {
242
+ Lv(Ln(e), 0, 7) === "Symbol(" && (e = "[" + kv(Ln(e), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), t && t.getter && (e = "get " + e), t && t.setter && (e = "set " + e), (!Gt(a, "name") || Mv && a.name !== e) && (Ka ? or(a, "name", { value: e, configurable: !0 }) : a.name = e), jv && t && Gt(t, "arity") && a.length !== t.arity && or(a, "length", { value: t.arity });
243
243
  try {
244
- t && zt(t, "constructor") && t.constructor ? Qa && sr(a, "prototype", { writable: !1 }) : a.prototype && (a.prototype = void 0);
244
+ t && Gt(t, "constructor") && t.constructor ? Ka && or(a, "prototype", { writable: !1 }) : a.prototype && (a.prototype = void 0);
245
245
  } catch (i) {
246
246
  }
247
- var r = Nv(a);
248
- return zt(r, "source") || (r.source = Vv(kv, typeof e == "string" ? e : "")), a;
247
+ var r = Vv(a);
248
+ return Gt(r, "source") || (r.source = Bv(Fv, typeof e == "string" ? e : "")), a;
249
249
  };
250
- Function.prototype.toString = Lv(function() {
251
- return Av(this) && Iv(this).source || Rv(this);
250
+ Function.prototype.toString = Uv(function() {
251
+ return Iv(this) && Dv(this).source || _v(this);
252
252
  }, "toString");
253
- var tu = Ko.exports, Bv = B, jv = Oe, Fv = tu, Uv = Si, Ue = function(a, e, t, r) {
253
+ var iu = eu.exports, Gv = B, zv = Oe, Hv = iu, Yv = Ei, Ue = function(a, e, t, r) {
254
254
  r || (r = {});
255
255
  var i = r.enumerable, n = r.name !== void 0 ? r.name : e;
256
- if (Bv(t) && Fv(t, n, r), r.global)
257
- i ? a[e] = t : Uv(e, t);
256
+ if (Gv(t) && Hv(t, n, r), r.global)
257
+ i ? a[e] = t : Yv(e, t);
258
258
  else {
259
259
  try {
260
260
  r.unsafe ? a[e] && (i = !0) : delete a[e];
261
261
  } catch (o) {
262
262
  }
263
- i ? a[e] = t : jv.f(a, e, {
263
+ i ? a[e] = t : zv.f(a, e, {
264
264
  value: t,
265
265
  enumerable: !1,
266
266
  configurable: !r.nonConfigurable,
@@ -268,26 +268,26 @@ var tu = Ko.exports, Bv = B, jv = Oe, Fv = tu, Uv = Si, Ue = function(a, e, t, r
268
268
  });
269
269
  }
270
270
  return a;
271
- }, ru = {}, Gv = Math.ceil, zv = Math.floor, Hv = Math.trunc || function(e) {
271
+ }, nu = {}, Xv = Math.ceil, Wv = Math.floor, qv = Math.trunc || function(e) {
272
272
  var t = +e;
273
- return (t > 0 ? zv : Gv)(t);
274
- }, Yv = Hv, $r = function(a) {
273
+ return (t > 0 ? Wv : Xv)(t);
274
+ }, Qv = qv, Cr = function(a) {
275
275
  var e = +a;
276
- return e !== e || e === 0 ? 0 : Yv(e);
277
- }, Xv = $r, Wv = Math.max, qv = Math.min, Qv = function(a, e) {
278
- var t = Xv(a);
279
- return t < 0 ? Wv(t + e, 0) : qv(t, e);
280
- }, Kv = $r, Zv = Math.min, ut = function(a) {
281
- var e = Kv(a);
282
- return e > 0 ? Zv(e, 9007199254740991) : 0;
283
- }, Jv = ut, Ni = function(a) {
284
- return Jv(a.length);
285
- }, ef = wt, tf = Qv, rf = Ni, Dn = function(a) {
276
+ return e !== e || e === 0 ? 0 : Qv(e);
277
+ }, Kv = Cr, Zv = Math.max, Jv = Math.min, ef = function(a, e) {
278
+ var t = Kv(a);
279
+ return t < 0 ? Zv(t + e, 0) : Jv(t, e);
280
+ }, tf = Cr, rf = Math.min, ot = function(a) {
281
+ var e = tf(a);
282
+ return e > 0 ? rf(e, 9007199254740991) : 0;
283
+ }, af = ot, Ii = function(a) {
284
+ return af(a.length);
285
+ }, nf = $t, sf = ef, of = Ii, kn = function(a) {
286
286
  return function(e, t, r) {
287
- var i = ef(e), n = rf(i);
287
+ var i = nf(e), n = of(i);
288
288
  if (n === 0)
289
289
  return !a && -1;
290
- var o = tf(r, n), s;
290
+ var o = sf(r, n), s;
291
291
  if (a && t !== t) {
292
292
  for (; n > o; )
293
293
  if (s = i[o++], s !== s)
@@ -298,21 +298,21 @@ var tu = Ko.exports, Bv = B, jv = Oe, Fv = tu, Uv = Si, Ue = function(a, e, t, r
298
298
  return a || o || 0;
299
299
  return !a && -1;
300
300
  };
301
- }, au = {
301
+ }, su = {
302
302
  // `Array.prototype.includes` method
303
303
  // https://tc39.es/ecma262/#sec-array.prototype.includes
304
- includes: Dn(!0),
304
+ includes: kn(!0),
305
305
  // `Array.prototype.indexOf` method
306
306
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
307
- indexOf: Dn(!1)
308
- }, af = L, ha = fe, nf = wt, sf = au.indexOf, of = Pi, kn = af([].push), iu = function(a, e) {
309
- var t = nf(a), r = 0, i = [], n;
307
+ indexOf: kn(!1)
308
+ }, uf = L, fa = fe, lf = $t, hf = su.indexOf, vf = Ri, Bn = uf([].push), ou = function(a, e) {
309
+ var t = lf(a), r = 0, i = [], n;
310
310
  for (n in t)
311
- !ha(of, n) && ha(t, n) && kn(i, n);
311
+ !fa(vf, n) && fa(t, n) && Bn(i, n);
312
312
  for (; e.length > r; )
313
- ha(t, n = e[r++]) && (~sf(i, n) || kn(i, n));
313
+ fa(t, n = e[r++]) && (~hf(i, n) || Bn(i, n));
314
314
  return i;
315
- }, Ii = [
315
+ }, Mi = [
316
316
  "constructor",
317
317
  "hasOwnProperty",
318
318
  "isPrototypeOf",
@@ -320,187 +320,187 @@ var tu = Ko.exports, Bv = B, jv = Oe, Fv = tu, Uv = Si, Ue = function(a, e, t, r
320
320
  "toLocaleString",
321
321
  "toString",
322
322
  "valueOf"
323
- ], uf = iu, lf = Ii, hf = lf.concat("length", "prototype");
324
- ru.f = Object.getOwnPropertyNames || function(e) {
325
- return uf(e, hf);
323
+ ], ff = ou, cf = Mi, gf = cf.concat("length", "prototype");
324
+ nu.f = Object.getOwnPropertyNames || function(e) {
325
+ return ff(e, gf);
326
326
  };
327
- var nu = {};
328
- nu.f = Object.getOwnPropertySymbols;
329
- var vf = Fe, ff = L, cf = ru, gf = nu, df = J, pf = ff([].concat), yf = vf("Reflect", "ownKeys") || function(e) {
330
- var t = cf.f(df(e)), r = gf.f;
331
- return r ? pf(t, r(e)) : t;
332
- }, Ln = fe, mf = yf, bf = $t, xf = Oe, Tf = function(a, e, t) {
333
- for (var r = mf(e), i = xf.f, n = bf.f, o = 0; o < r.length; o++) {
327
+ var uu = {};
328
+ uu.f = Object.getOwnPropertySymbols;
329
+ var df = Fe, pf = L, yf = nu, mf = uu, bf = J, xf = pf([].concat), Tf = df("Reflect", "ownKeys") || function(e) {
330
+ var t = yf.f(bf(e)), r = mf.f;
331
+ return r ? xf(t, r(e)) : t;
332
+ }, jn = fe, Of = Tf, Sf = Et, Ef = Oe, $f = function(a, e, t) {
333
+ for (var r = Of(e), i = Ef.f, n = Sf.f, o = 0; o < r.length; o++) {
334
334
  var s = r[o];
335
- !Ln(a, s) && !(t && Ln(t, s)) && i(a, s, n(e, s));
336
- }
337
- }, Of = k, Sf = B, Ef = /#|\.prototype\./, Pt = function(a, e) {
338
- var t = wf[$f(a)];
339
- return t === Af ? !0 : t === Cf ? !1 : Sf(e) ? Of(e) : !!e;
340
- }, $f = Pt.normalize = function(a) {
341
- return String(a).replace(Ef, ".").toLowerCase();
342
- }, wf = Pt.data = {}, Cf = Pt.NATIVE = "N", Af = Pt.POLYFILL = "P", su = Pt, Ht = V, Pf = $t.f, Rf = At, Nf = Ue, If = Si, Mf = Tf, _f = su, ee = function(a, e) {
335
+ !jn(a, s) && !(t && jn(t, s)) && i(a, s, n(e, s));
336
+ }
337
+ }, wf = D, Cf = B, Af = /#|\.prototype\./, At = function(a, e) {
338
+ var t = Rf[Pf(a)];
339
+ return t === If ? !0 : t === Nf ? !1 : Cf(e) ? wf(e) : !!e;
340
+ }, Pf = At.normalize = function(a) {
341
+ return String(a).replace(Af, ".").toLowerCase();
342
+ }, Rf = At.data = {}, Nf = At.NATIVE = "N", If = At.POLYFILL = "P", lu = At, zt = _, Mf = Et.f, _f = Ct, Vf = Ue, Df = Ei, Lf = $f, kf = lu, ee = function(a, e) {
343
343
  var t = a.target, r = a.global, i = a.stat, n, o, s, u, l, h;
344
- if (r ? o = Ht : i ? o = Ht[t] || If(t, {}) : o = Ht[t] && Ht[t].prototype, o)
344
+ if (r ? o = zt : i ? o = zt[t] || Df(t, {}) : o = zt[t] && zt[t].prototype, o)
345
345
  for (s in e) {
346
- if (l = e[s], a.dontCallGetSet ? (h = Pf(o, s), u = h && h.value) : u = o[s], n = _f(r ? s : t + (i ? "." : "#") + s, a.forced), !n && u !== void 0) {
346
+ if (l = e[s], a.dontCallGetSet ? (h = Mf(o, s), u = h && h.value) : u = o[s], n = kf(r ? s : t + (i ? "." : "#") + s, a.forced), !n && u !== void 0) {
347
347
  if (typeof l == typeof u)
348
348
  continue;
349
- Mf(l, u);
349
+ Lf(l, u);
350
350
  }
351
- (a.sham || u && u.sham) && Rf(l, "sham", !0), Nf(o, s, l, a);
351
+ (a.sham || u && u.sham) && _f(l, "sham", !0), Vf(o, s, l, a);
352
352
  }
353
- }, ft = V, Vf = Ct, Df = Be, Yt = function(a) {
354
- return Vf.slice(0, a.length) === a;
355
- }, ou = function() {
356
- return Yt("Bun/") ? "BUN" : Yt("Cloudflare-Workers") ? "CLOUDFLARE" : Yt("Deno/") ? "DENO" : Yt("Node.js/") ? "NODE" : ft.Bun && typeof Bun.version == "string" ? "BUN" : ft.Deno && typeof Deno.version == "object" ? "DENO" : Df(ft.process) === "process" ? "NODE" : ft.window && ft.document ? "BROWSER" : "REST";
357
- }(), kf = ou, wr = kf === "NODE", Lf = L, Bf = Te, jf = function(a, e, t) {
353
+ }, vt = _, Bf = wt, jf = je, Ht = function(a) {
354
+ return Bf.slice(0, a.length) === a;
355
+ }, hu = function() {
356
+ return Ht("Bun/") ? "BUN" : Ht("Cloudflare-Workers") ? "CLOUDFLARE" : Ht("Deno/") ? "DENO" : Ht("Node.js/") ? "NODE" : vt.Bun && typeof Bun.version == "string" ? "BUN" : vt.Deno && typeof Deno.version == "object" ? "DENO" : jf(vt.process) === "process" ? "NODE" : vt.window && vt.document ? "BROWSER" : "REST";
357
+ }(), Ff = hu, Ar = Ff === "NODE", Uf = _, Gf = Uf, zf = L, Hf = Te, Yf = function(a, e, t) {
358
358
  try {
359
- return Lf(Bf(Object.getOwnPropertyDescriptor(a, e)[t]));
359
+ return zf(Hf(Object.getOwnPropertyDescriptor(a, e)[t]));
360
360
  } catch (r) {
361
361
  }
362
- }, Ff = ve, Uf = function(a) {
363
- return Ff(a) || a === null;
364
- }, Gf = Uf, zf = String, Hf = TypeError, Yf = function(a) {
365
- if (Gf(a))
362
+ }, Xf = ae, Wf = function(a) {
363
+ return Xf(a) || a === null;
364
+ }, qf = Wf, Qf = String, Kf = TypeError, Zf = function(a) {
365
+ if (qf(a))
366
366
  return a;
367
- throw new Hf("Can't set " + zf(a) + " as a prototype");
368
- }, Xf = jf, Wf = ve, qf = he, Qf = Yf, uu = Object.setPrototypeOf || ("__proto__" in {} ? function() {
367
+ throw new Kf("Can't set " + Qf(a) + " as a prototype");
368
+ }, Jf = Yf, ec = ae, tc = ve, rc = Zf, vu = Object.setPrototypeOf || ("__proto__" in {} ? function() {
369
369
  var a = !1, e = {}, t;
370
370
  try {
371
- t = Xf(Object.prototype, "__proto__", "set"), t(e, []), a = e instanceof Array;
371
+ t = Jf(Object.prototype, "__proto__", "set"), t(e, []), a = e instanceof Array;
372
372
  } catch (r) {
373
373
  }
374
374
  return function(i, n) {
375
- return qf(i), Qf(n), Wf(i) && (a ? t(i, n) : i.__proto__ = n), i;
375
+ return tc(i), rc(n), ec(i) && (a ? t(i, n) : i.__proto__ = n), i;
376
376
  };
377
- }() : void 0), Kf = Oe.f, Zf = fe, Jf = z, Bn = Jf("toStringTag"), Cr = function(a, e, t) {
378
- a && !t && (a = a.prototype), a && !Zf(a, Bn) && Kf(a, Bn, { configurable: !0, value: e });
379
- }, jn = tu, ec = Oe, tc = function(a, e, t) {
380
- return t.get && jn(t.get, e, { getter: !0 }), t.set && jn(t.set, e, { setter: !0 }), ec.f(a, e, t);
381
- }, rc = Fe, ac = tc, ic = z, nc = le, Fn = ic("species"), sc = function(a) {
382
- var e = rc(a);
383
- nc && e && !e[Fn] && ac(e, Fn, {
377
+ }() : void 0), ac = Oe.f, ic = fe, nc = z, Fn = nc("toStringTag"), Pr = function(a, e, t) {
378
+ a && !t && (a = a.prototype), a && !ic(a, Fn) && ac(a, Fn, { configurable: !0, value: e });
379
+ }, Un = iu, sc = Oe, oc = function(a, e, t) {
380
+ return t.get && Un(t.get, e, { getter: !0 }), t.set && Un(t.set, e, { setter: !0 }), sc.f(a, e, t);
381
+ }, uc = Fe, lc = oc, hc = z, vc = he, Gn = hc("species"), fc = function(a) {
382
+ var e = uc(a);
383
+ vc && e && !e[Gn] && lc(e, Gn, {
384
384
  configurable: !0,
385
385
  get: function() {
386
386
  return this;
387
387
  }
388
388
  });
389
- }, oc = br, uc = TypeError, lc = function(a, e) {
390
- if (oc(e, a))
389
+ }, cc = Tr, gc = TypeError, dc = function(a, e) {
390
+ if (cc(e, a))
391
391
  return a;
392
- throw new uc("Incorrect invocation");
393
- }, hc = z, vc = hc("toStringTag"), lu = {};
394
- lu[vc] = "z";
395
- var fc = String(lu) === "[object z]", cc = fc, gc = B, or = Be, dc = z, pc = dc("toStringTag"), yc = Object, mc = or(function() {
392
+ throw new gc("Incorrect invocation");
393
+ }, pc = z, yc = pc("toStringTag"), fu = {};
394
+ fu[yc] = "z";
395
+ var mc = String(fu) === "[object z]", bc = mc, xc = B, ur = je, Tc = z, Oc = Tc("toStringTag"), Sc = Object, Ec = ur(function() {
396
396
  return arguments;
397
- }()) === "Arguments", bc = function(a, e) {
397
+ }()) === "Arguments", $c = function(a, e) {
398
398
  try {
399
399
  return a[e];
400
400
  } catch (t) {
401
401
  }
402
- }, Mi = cc ? or : function(a) {
402
+ }, _i = bc ? ur : function(a) {
403
403
  var e, t, r;
404
- return a === void 0 ? "Undefined" : a === null ? "Null" : typeof (t = bc(e = yc(a), pc)) == "string" ? t : mc ? or(e) : (r = or(e)) === "Object" && gc(e.callee) ? "Arguments" : r;
405
- }, xc = L, Tc = k, hu = B, Oc = Mi, Sc = Fe, Ec = Ci, vu = function() {
406
- }, fu = Sc("Reflect", "construct"), _i = /^\s*(?:class|function)\b/, $c = xc(_i.exec), wc = !_i.test(vu), ct = function(e) {
407
- if (!hu(e))
404
+ return a === void 0 ? "Undefined" : a === null ? "Null" : typeof (t = $c(e = Sc(a), Oc)) == "string" ? t : Ec ? ur(e) : (r = ur(e)) === "Object" && xc(e.callee) ? "Arguments" : r;
405
+ }, wc = L, Cc = D, cu = B, Ac = _i, Pc = Fe, Rc = Ai, gu = function() {
406
+ }, du = Pc("Reflect", "construct"), Vi = /^\s*(?:class|function)\b/, Nc = wc(Vi.exec), Ic = !Vi.test(gu), ft = function(e) {
407
+ if (!cu(e))
408
408
  return !1;
409
409
  try {
410
- return fu(vu, [], e), !0;
410
+ return du(gu, [], e), !0;
411
411
  } catch (t) {
412
412
  return !1;
413
413
  }
414
- }, cu = function(e) {
415
- if (!hu(e))
414
+ }, pu = function(e) {
415
+ if (!cu(e))
416
416
  return !1;
417
- switch (Oc(e)) {
417
+ switch (Ac(e)) {
418
418
  case "AsyncFunction":
419
419
  case "GeneratorFunction":
420
420
  case "AsyncGeneratorFunction":
421
421
  return !1;
422
422
  }
423
423
  try {
424
- return wc || !!$c(_i, Ec(e));
424
+ return Ic || !!Nc(Vi, Rc(e));
425
425
  } catch (t) {
426
426
  return !0;
427
427
  }
428
428
  };
429
- cu.sham = !0;
430
- var Cc = !fu || Tc(function() {
429
+ pu.sham = !0;
430
+ var Mc = !du || Cc(function() {
431
431
  var a;
432
- return ct(ct.call) || !ct(Object) || !ct(function() {
432
+ return ft(ft.call) || !ft(Object) || !ft(function() {
433
433
  a = !0;
434
434
  }) || a;
435
- }) ? cu : ct, Ac = Cc, Pc = xr, Rc = TypeError, Nc = function(a) {
436
- if (Ac(a))
435
+ }) ? pu : ft, _c = Mc, Vc = Or, Dc = TypeError, Lc = function(a) {
436
+ if (_c(a))
437
437
  return a;
438
- throw new Rc(Pc(a) + " is not a constructor");
439
- }, Un = J, Ic = Nc, Mc = je, _c = z, Vc = _c("species"), gu = function(a, e) {
440
- var t = Un(a).constructor, r;
441
- return t === void 0 || Mc(r = Un(t)[Vc]) ? e : Ic(r);
442
- }, Dc = mr, du = Function.prototype, Gn = du.apply, zn = du.call, pu = typeof Reflect == "object" && Reflect.apply || (Dc ? zn.bind(Gn) : function() {
443
- return zn.apply(Gn, arguments);
444
- }), kc = Be, Lc = L, Ar = function(a) {
445
- if (kc(a) === "Function")
446
- return Lc(a);
447
- }, Hn = Ar, Bc = Te, jc = mr, Fc = Hn(Hn.bind), Vi = function(a, e) {
448
- return Bc(a), e === void 0 ? a : jc ? Fc(a, e) : function() {
438
+ throw new Dc(Vc(a) + " is not a constructor");
439
+ }, zn = J, kc = Lc, Bc = xr, jc = z, Fc = jc("species"), yu = function(a, e) {
440
+ var t = zn(a).constructor, r;
441
+ return t === void 0 || Bc(r = zn(t)[Fc]) ? e : kc(r);
442
+ }, Uc = br, mu = Function.prototype, Hn = mu.apply, Yn = mu.call, bu = typeof Reflect == "object" && Reflect.apply || (Uc ? Yn.bind(Hn) : function() {
443
+ return Yn.apply(Hn, arguments);
444
+ }), Gc = je, zc = L, Rr = function(a) {
445
+ if (Gc(a) === "Function")
446
+ return zc(a);
447
+ }, Xn = Rr, Hc = Te, Yc = br, Xc = Xn(Xn.bind), Di = function(a, e) {
448
+ return Hc(a), e === void 0 ? a : Yc ? Xc(a, e) : function() {
449
449
  return a.apply(e, arguments);
450
450
  };
451
- }, Uc = Fe, yu = Uc("document", "documentElement"), Gc = L, zc = Gc([].slice), Hc = TypeError, Yc = function(a, e) {
451
+ }, Wc = Fe, xu = Wc("document", "documentElement"), qc = L, Qc = qc([].slice), Kc = TypeError, Zc = function(a, e) {
452
452
  if (a < e)
453
- throw new Hc("Not enough arguments");
453
+ throw new Kc("Not enough arguments");
454
454
  return a;
455
- }, Xc = Ct, mu = /(?:ipad|iphone|ipod).*applewebkit/i.test(Xc), ae = V, Wc = pu, qc = Vi, Yn = B, Qc = fe, bu = k, Xn = yu, Kc = zc, Wn = Or, Zc = Yc, Jc = mu, eg = wr, Ka = ae.setImmediate, Za = ae.clearImmediate, tg = ae.process, va = ae.Dispatch, rg = ae.Function, qn = ae.MessageChannel, ag = ae.String, fa = 0, xt = {}, Qn = "onreadystatechange", St, Ie, ca, ga;
456
- bu(function() {
457
- St = ae.location;
455
+ }, Jc = wt, Tu = /(?:ipad|iphone|ipod).*applewebkit/i.test(Jc), ie = _, eg = bu, tg = Di, Wn = B, rg = fe, Ou = D, qn = xu, ag = Qc, Qn = Er, ig = Zc, ng = Tu, sg = Ar, Za = ie.setImmediate, Ja = ie.clearImmediate, og = ie.process, ca = ie.Dispatch, ug = ie.Function, Kn = ie.MessageChannel, lg = ie.String, ga = 0, bt = {}, Zn = "onreadystatechange", Ot, Ie, da, pa;
456
+ Ou(function() {
457
+ Ot = ie.location;
458
458
  });
459
- var Di = function(a) {
460
- if (Qc(xt, a)) {
461
- var e = xt[a];
462
- delete xt[a], e();
459
+ var Li = function(a) {
460
+ if (rg(bt, a)) {
461
+ var e = bt[a];
462
+ delete bt[a], e();
463
463
  }
464
- }, da = function(a) {
464
+ }, ya = function(a) {
465
465
  return function() {
466
- Di(a);
466
+ Li(a);
467
467
  };
468
- }, Kn = function(a) {
469
- Di(a.data);
470
- }, Zn = function(a) {
471
- ae.postMessage(ag(a), St.protocol + "//" + St.host);
468
+ }, Jn = function(a) {
469
+ Li(a.data);
470
+ }, es = function(a) {
471
+ ie.postMessage(lg(a), Ot.protocol + "//" + Ot.host);
472
472
  };
473
- (!Ka || !Za) && (Ka = function(e) {
474
- Zc(arguments.length, 1);
475
- var t = Yn(e) ? e : rg(e), r = Kc(arguments, 1);
476
- return xt[++fa] = function() {
477
- Wc(t, void 0, r);
478
- }, Ie(fa), fa;
479
- }, Za = function(e) {
480
- delete xt[e];
481
- }, eg ? Ie = function(a) {
482
- tg.nextTick(da(a));
483
- } : va && va.now ? Ie = function(a) {
484
- va.now(da(a));
485
- } : qn && !Jc ? (ca = new qn(), ga = ca.port2, ca.port1.onmessage = Kn, Ie = qc(ga.postMessage, ga)) : ae.addEventListener && Yn(ae.postMessage) && !ae.importScripts && St && St.protocol !== "file:" && !bu(Zn) ? (Ie = Zn, ae.addEventListener("message", Kn, !1)) : Qn in Wn("script") ? Ie = function(a) {
486
- Xn.appendChild(Wn("script"))[Qn] = function() {
487
- Xn.removeChild(this), Di(a);
473
+ (!Za || !Ja) && (Za = function(e) {
474
+ ig(arguments.length, 1);
475
+ var t = Wn(e) ? e : ug(e), r = ag(arguments, 1);
476
+ return bt[++ga] = function() {
477
+ eg(t, void 0, r);
478
+ }, Ie(ga), ga;
479
+ }, Ja = function(e) {
480
+ delete bt[e];
481
+ }, sg ? Ie = function(a) {
482
+ og.nextTick(ya(a));
483
+ } : ca && ca.now ? Ie = function(a) {
484
+ ca.now(ya(a));
485
+ } : Kn && !ng ? (da = new Kn(), pa = da.port2, da.port1.onmessage = Jn, Ie = tg(pa.postMessage, pa)) : ie.addEventListener && Wn(ie.postMessage) && !ie.importScripts && Ot && Ot.protocol !== "file:" && !Ou(es) ? (Ie = es, ie.addEventListener("message", Jn, !1)) : Zn in Qn("script") ? Ie = function(a) {
486
+ qn.appendChild(Qn("script"))[Zn] = function() {
487
+ qn.removeChild(this), Li(a);
488
488
  };
489
489
  } : Ie = function(a) {
490
- setTimeout(da(a), 0);
490
+ setTimeout(ya(a), 0);
491
491
  });
492
- var xu = {
493
- set: Ka,
494
- clear: Za
495
- }, Jn = V, ig = le, ng = Object.getOwnPropertyDescriptor, sg = function(a) {
496
- if (!ig)
497
- return Jn[a];
498
- var e = ng(Jn, a);
492
+ var Su = {
493
+ set: Za,
494
+ clear: Ja
495
+ }, ts = _, hg = he, vg = Object.getOwnPropertyDescriptor, fg = function(a) {
496
+ if (!hg)
497
+ return ts[a];
498
+ var e = vg(ts, a);
499
499
  return e && e.value;
500
- }, Tu = function() {
500
+ }, Eu = function() {
501
501
  this.head = null, this.tail = null;
502
502
  };
503
- Tu.prototype = {
503
+ Eu.prototype = {
504
504
  add: function(a) {
505
505
  var e = { item: a, next: null }, t = this.tail;
506
506
  t ? t.next = e : this.head = e, this.tail = e;
@@ -513,31 +513,31 @@ Tu.prototype = {
513
513
  }
514
514
  }
515
515
  };
516
- var Ou = Tu, og = Ct, ug = /ipad|iphone|ipod/i.test(og) && typeof Pebble != "undefined", lg = Ct, hg = /web0s(?!.*chrome)/i.test(lg), it = V, vg = sg, es = Vi, pa = xu.set, fg = Ou, cg = mu, gg = ug, dg = hg, ya = wr, ts = it.MutationObserver || it.WebKitMutationObserver, rs = it.document, as = it.process, Xt = it.Promise, Ja = vg("queueMicrotask"), Xe, ma, ba, Wt, is;
517
- if (!Ja) {
518
- var qt = new fg(), Qt = function() {
516
+ var $u = Eu, cg = wt, gg = /ipad|iphone|ipod/i.test(cg) && typeof Pebble != "undefined", dg = wt, pg = /web0s(?!.*chrome)/i.test(dg), at = _, yg = fg, rs = Di, ma = Su.set, mg = $u, bg = Tu, xg = gg, Tg = pg, ba = Ar, as = at.MutationObserver || at.WebKitMutationObserver, is = at.document, ns = at.process, Yt = at.Promise, ei = yg("queueMicrotask"), Xe, xa, Ta, Xt, ss;
517
+ if (!ei) {
518
+ var Wt = new mg(), qt = function() {
519
519
  var a, e;
520
- for (ya && (a = as.domain) && a.exit(); e = qt.get(); )
520
+ for (ba && (a = ns.domain) && a.exit(); e = Wt.get(); )
521
521
  try {
522
522
  e();
523
523
  } catch (t) {
524
- throw qt.head && Xe(), t;
524
+ throw Wt.head && Xe(), t;
525
525
  }
526
526
  a && a.enter();
527
527
  };
528
- !cg && !ya && !dg && ts && rs ? (ma = !0, ba = rs.createTextNode(""), new ts(Qt).observe(ba, { characterData: !0 }), Xe = function() {
529
- ba.data = ma = !ma;
530
- }) : !gg && Xt && Xt.resolve ? (Wt = Xt.resolve(void 0), Wt.constructor = Xt, is = es(Wt.then, Wt), Xe = function() {
531
- is(Qt);
532
- }) : ya ? Xe = function() {
533
- as.nextTick(Qt);
534
- } : (pa = es(pa, it), Xe = function() {
535
- pa(Qt);
536
- }), Ja = function(a) {
537
- qt.head || Xe(), qt.add(a);
528
+ !bg && !ba && !Tg && as && is ? (xa = !0, Ta = is.createTextNode(""), new as(qt).observe(Ta, { characterData: !0 }), Xe = function() {
529
+ Ta.data = xa = !xa;
530
+ }) : !xg && Yt && Yt.resolve ? (Xt = Yt.resolve(void 0), Xt.constructor = Yt, ss = rs(Xt.then, Xt), Xe = function() {
531
+ ss(qt);
532
+ }) : ba ? Xe = function() {
533
+ ns.nextTick(qt);
534
+ } : (ma = rs(ma, at), Xe = function() {
535
+ ma(qt);
536
+ }), ei = function(a) {
537
+ Wt.head || Xe(), Wt.add(a);
538
538
  };
539
539
  }
540
- var pg = Ja, yg = function(a, e) {
540
+ var Og = ei, Sg = function(a, e) {
541
541
  try {
542
542
  arguments.length === 1 ? console.error(a) : console.error(a, e);
543
543
  } catch (t) {
@@ -548,172 +548,173 @@ var pg = Ja, yg = function(a, e) {
548
548
  } catch (e) {
549
549
  return { error: !0, value: e };
550
550
  }
551
- }, mg = V, Pr = mg.Promise, bg = V, Tt = Pr, xg = B, Tg = su, Og = Ci, Sg = z, ns = ou, xa = Oi;
552
- Tt && Tt.prototype;
553
- var Eg = Sg("species"), ei = !1, Su = xg(bg.PromiseRejectionEvent), $g = Tg("Promise", function() {
554
- var a = Og(Tt), e = a !== String(Tt);
555
- if (!e && xa === 66)
551
+ }, Eg = _, Nr = Eg.Promise, $g = _, xt = Nr, wg = B, Cg = lu, Ag = Ai, Pg = z, os = hu, Oa = Si;
552
+ xt && xt.prototype;
553
+ var Rg = Pg("species"), ti = !1, wu = wg($g.PromiseRejectionEvent), Ng = Cg("Promise", function() {
554
+ var a = Ag(xt), e = a !== String(xt);
555
+ if (!e && Oa === 66)
556
556
  return !0;
557
- if (!xa || xa < 51 || !/native code/.test(a)) {
558
- var t = new Tt(function(n) {
557
+ if (!Oa || Oa < 51 || !/native code/.test(a)) {
558
+ var t = new xt(function(n) {
559
559
  n(1);
560
560
  }), r = function(n) {
561
561
  n(function() {
562
562
  }, function() {
563
563
  });
564
564
  }, i = t.constructor = {};
565
- if (i[Eg] = r, ei = t.then(function() {
566
- }) instanceof r, !ei)
565
+ if (i[Rg] = r, ti = t.then(function() {
566
+ }) instanceof r, !ti)
567
567
  return !0;
568
568
  }
569
- return !e && (ns === "BROWSER" || ns === "DENO") && !Su;
570
- }), Rt = {
571
- CONSTRUCTOR: $g,
572
- REJECTION_EVENT: Su,
573
- SUBCLASSING: ei
574
- }, lt = {}, ss = Te, wg = TypeError, Cg = function(a) {
569
+ return !e && (os === "BROWSER" || os === "DENO") && !wu;
570
+ }), Pt = {
571
+ CONSTRUCTOR: Ng,
572
+ REJECTION_EVENT: wu,
573
+ SUBCLASSING: ti
574
+ }, ut = {}, us = Te, Ig = TypeError, Mg = function(a) {
575
575
  var e, t;
576
576
  this.promise = new a(function(r, i) {
577
577
  if (e !== void 0 || t !== void 0)
578
- throw new wg("Bad Promise constructor");
578
+ throw new Ig("Bad Promise constructor");
579
579
  e = r, t = i;
580
- }), this.resolve = ss(e), this.reject = ss(t);
580
+ }), this.resolve = us(e), this.reject = us(t);
581
581
  };
582
- lt.f = function(a) {
583
- return new Cg(a);
582
+ ut.f = function(a) {
583
+ return new Mg(a);
584
584
  };
585
- var Ag = ee, dr = wr, we = V, nt = Y, os = Ue, us = uu, Pg = Cr, Rg = sc, Ng = Te, ur = B, Ig = ve, Mg = lc, _g = gu, Eu = xu.set, Li = pg, Vg = yg, Dg = ki, kg = Ou, $u = Er, pr = Pr, Bi = Rt, wu = lt, Rr = "Promise", Cu = Bi.CONSTRUCTOR, Lg = Bi.REJECTION_EVENT, Bg = Bi.SUBCLASSING, Ta = $u.getterFor(Rr), jg = $u.set, Qe = pr && pr.prototype, De = pr, Kt = Qe, Au = we.TypeError, ti = we.document, ji = we.process, ri = wu.f, Fg = ri, Ug = !!(ti && ti.createEvent && we.dispatchEvent), Pu = "unhandledrejection", Gg = "rejectionhandled", ls = 0, Ru = 1, zg = 2, Fi = 1, Nu = 2, Zt, hs, Hg, vs, Iu = function(a) {
585
+ var _g = ee, pr = Ar, we = _, Vg = Gf, it = Y, ls = Ue, hs = vu, Dg = Pr, Lg = fc, kg = Te, lr = B, Bg = ae, jg = dc, Fg = yu, Cu = Su.set, Bi = Og, Ug = Sg, Gg = ki, zg = $u, Au = wr, yr = Nr, ji = Pt, Pu = ut, Ir = "Promise", Ru = ji.CONSTRUCTOR, Hg = ji.REJECTION_EVENT, Yg = ji.SUBCLASSING, Sa = Au.getterFor(Ir), Xg = Au.set, qe = yr && yr.prototype, Le = yr, Qt = qe, Nu = we.TypeError, ri = we.document, Fi = we.process, ai = Pu.f, Wg = ai, qg = !!(ri && ri.createEvent && we.dispatchEvent), Iu = "unhandledrejection", Qg = "rejectionhandled", vs = 0, Mu = 1, Kg = 2, Ui = 1, _u = 2, Kt, fs, Vu, cs, Du = function(a) {
586
586
  var e;
587
- return Ig(a) && ur(e = a.then) ? e : !1;
588
- }, Mu = function(a, e) {
589
- var t = e.value, r = e.state === Ru, i = r ? a.ok : a.fail, n = a.resolve, o = a.reject, s = a.domain, u, l, h;
587
+ return Bg(a) && lr(e = a.then) ? e : !1;
588
+ }, Lu = function(a, e) {
589
+ var t = e.value, r = e.state === Mu, i = r ? a.ok : a.fail, n = a.resolve, o = a.reject, s = a.domain, u, l, h;
590
590
  try {
591
- i ? (r || (e.rejection === Nu && Xg(e), e.rejection = Fi), i === !0 ? u = t : (s && s.enter(), u = i(t), s && (s.exit(), h = !0)), u === a.promise ? o(new Au("Promise-chain cycle")) : (l = Iu(u)) ? nt(l, u, n, o) : n(u)) : o(t);
591
+ i ? (r || (e.rejection === _u && Jg(e), e.rejection = Ui), i === !0 ? u = t : (s && s.enter(), u = i(t), s && (s.exit(), h = !0)), u === a.promise ? o(new Nu("Promise-chain cycle")) : (l = Du(u)) ? it(l, u, n, o) : n(u)) : o(t);
592
592
  } catch (f) {
593
593
  s && !h && s.exit(), o(f);
594
594
  }
595
- }, _u = function(a, e) {
596
- a.notified || (a.notified = !0, Li(function() {
595
+ }, ku = function(a, e) {
596
+ a.notified || (a.notified = !0, Bi(function() {
597
597
  for (var t = a.reactions, r; r = t.get(); )
598
- Mu(r, a);
599
- a.notified = !1, e && !a.rejection && Yg(a);
598
+ Lu(r, a);
599
+ a.notified = !1, e && !a.rejection && Zg(a);
600
600
  }));
601
- }, Vu = function(a, e, t) {
601
+ }, Bu = function(a, e, t) {
602
602
  var r, i;
603
- Ug ? (r = ti.createEvent("Event"), r.promise = e, r.reason = t, r.initEvent(a, !1, !0), we.dispatchEvent(r)) : r = { promise: e, reason: t }, !Lg && (i = we["on" + a]) ? i(r) : a === Pu && Vg("Unhandled promise rejection", t);
604
- }, Yg = function(a) {
605
- nt(Eu, we, function() {
606
- var e = a.facade, t = a.value, r = fs(a), i;
607
- if (r && (i = Dg(function() {
608
- dr ? ji.emit("unhandledRejection", t, e) : Vu(Pu, e, t);
609
- }), a.rejection = dr || fs(a) ? Nu : Fi, i.error))
603
+ qg ? (r = ri.createEvent("Event"), r.promise = e, r.reason = t, r.initEvent(a, !1, !0), we.dispatchEvent(r)) : r = { promise: e, reason: t }, !Hg && (i = we["on" + a]) ? i(r) : a === Iu && Ug("Unhandled promise rejection", t);
604
+ }, Zg = function(a) {
605
+ it(Cu, we, function() {
606
+ var e = a.facade, t = a.value, r = gs(a), i;
607
+ if (r && (i = Gg(function() {
608
+ pr ? Fi.emit("unhandledRejection", t, e) : Bu(Iu, e, t);
609
+ }), a.rejection = pr || gs(a) ? _u : Ui, i.error))
610
610
  throw i.value;
611
611
  });
612
- }, fs = function(a) {
613
- return a.rejection !== Fi && !a.parent;
614
- }, Xg = function(a) {
615
- nt(Eu, we, function() {
612
+ }, gs = function(a) {
613
+ return a.rejection !== Ui && !a.parent;
614
+ }, Jg = function(a) {
615
+ it(Cu, we, function() {
616
616
  var e = a.facade;
617
- dr ? ji.emit("rejectionHandled", e) : Vu(Gg, e, a.value);
617
+ pr ? Fi.emit("rejectionHandled", e) : Bu(Qg, e, a.value);
618
618
  });
619
- }, Je = function(a, e, t) {
619
+ }, Ze = function(a, e, t) {
620
620
  return function(r) {
621
621
  a(e, r, t);
622
622
  };
623
- }, tt = function(a, e, t) {
624
- a.done || (a.done = !0, t && (a = t), a.value = e, a.state = zg, _u(a, !0));
625
- }, ai = function(a, e, t) {
623
+ }, et = function(a, e, t) {
624
+ a.done || (a.done = !0, t && (a = t), a.value = e, a.state = Kg, ku(a, !0));
625
+ }, ii = function(a, e, t) {
626
626
  if (!a.done) {
627
627
  a.done = !0, t && (a = t);
628
628
  try {
629
629
  if (a.facade === e)
630
- throw new Au("Promise can't be resolved itself");
631
- var r = Iu(e);
632
- r ? Li(function() {
630
+ throw new Nu("Promise can't be resolved itself");
631
+ var r = Du(e);
632
+ r ? Bi(function() {
633
633
  var i = { done: !1 };
634
634
  try {
635
- nt(
635
+ it(
636
636
  r,
637
637
  e,
638
- Je(ai, i, a),
639
- Je(tt, i, a)
638
+ Ze(ii, i, a),
639
+ Ze(et, i, a)
640
640
  );
641
641
  } catch (n) {
642
- tt(i, n, a);
642
+ et(i, n, a);
643
643
  }
644
- }) : (a.value = e, a.state = Ru, _u(a, !1));
644
+ }) : (a.value = e, a.state = Mu, ku(a, !1));
645
645
  } catch (i) {
646
- tt({ done: !1 }, i, a);
646
+ et({ done: !1 }, i, a);
647
647
  }
648
648
  }
649
649
  };
650
- if (Cu && (De = function(e) {
651
- Mg(this, Kt), Ng(e), nt(Zt, this);
652
- var t = Ta(this);
650
+ if (Ru && (Le = function(e) {
651
+ jg(this, Qt), kg(e), it(Kt, this);
652
+ var t = Sa(this);
653
653
  try {
654
- e(Je(ai, t), Je(tt, t));
654
+ e(Ze(ii, t), Ze(et, t));
655
655
  } catch (r) {
656
- tt(t, r);
656
+ et(t, r);
657
657
  }
658
- }, Kt = De.prototype, Zt = function(e) {
659
- jg(this, {
660
- type: Rr,
658
+ }, Qt = Le.prototype, Kt = function(e) {
659
+ Xg(this, {
660
+ type: Ir,
661
661
  done: !1,
662
662
  notified: !1,
663
663
  parent: !1,
664
- reactions: new kg(),
664
+ reactions: new zg(),
665
665
  rejection: !1,
666
- state: ls,
666
+ state: vs,
667
667
  value: null
668
668
  });
669
- }, Zt.prototype = os(Kt, "then", function(e, t) {
670
- var r = Ta(this), i = ri(_g(this, De));
671
- return r.parent = !0, i.ok = ur(e) ? e : !0, i.fail = ur(t) && t, i.domain = dr ? ji.domain : void 0, r.state === ls ? r.reactions.add(i) : Li(function() {
672
- Mu(i, r);
669
+ }, Kt.prototype = ls(Qt, "then", function(e, t) {
670
+ var r = Sa(this), i = ai(Fg(this, Le));
671
+ return r.parent = !0, i.ok = lr(e) ? e : !0, i.fail = lr(t) && t, i.domain = pr ? Fi.domain : void 0, r.state === vs ? r.reactions.add(i) : Bi(function() {
672
+ Lu(i, r);
673
673
  }), i.promise;
674
- }), hs = function() {
675
- var a = new Zt(), e = Ta(a);
676
- this.promise = a, this.resolve = Je(ai, e), this.reject = Je(tt, e);
677
- }, wu.f = ri = function(a) {
678
- return a === De || a === Hg ? new hs(a) : Fg(a);
679
- }, ur(pr) && Qe !== Object.prototype)) {
680
- vs = Qe.then, Bg || os(Qe, "then", function(e, t) {
674
+ }), fs = function() {
675
+ var a = new Kt(), e = Sa(a);
676
+ this.promise = a, this.resolve = Ze(ii, e), this.reject = Ze(et, e);
677
+ }, Pu.f = ai = function(a) {
678
+ return a === Le || a === Vu ? new fs(a) : Wg(a);
679
+ }, lr(yr) && qe !== Object.prototype)) {
680
+ cs = qe.then, Yg || ls(qe, "then", function(e, t) {
681
681
  var r = this;
682
- return new De(function(i, n) {
683
- nt(vs, r, i, n);
682
+ return new Le(function(i, n) {
683
+ it(cs, r, i, n);
684
684
  }).then(e, t);
685
685
  }, { unsafe: !0 });
686
686
  try {
687
- delete Qe.constructor;
687
+ delete qe.constructor;
688
688
  } catch (a) {
689
689
  }
690
- us && us(Qe, Kt);
690
+ hs && hs(qe, Qt);
691
691
  }
692
- Ag({ global: !0, constructor: !0, wrap: !0, forced: Cu }, {
693
- Promise: De
692
+ _g({ global: !0, constructor: !0, wrap: !0, forced: Ru }, {
693
+ Promise: Le
694
694
  });
695
- Pg(De, Rr, !1);
696
- Rg(Rr);
697
- var Nt = {}, Wg = z, qg = Nt, Qg = Wg("iterator"), Kg = Array.prototype, Zg = function(a) {
698
- return a !== void 0 && (qg.Array === a || Kg[Qg] === a);
699
- }, Jg = Mi, cs = ot, ed = je, td = Nt, rd = z, ad = rd("iterator"), Du = function(a) {
700
- if (!ed(a))
701
- return cs(a, ad) || cs(a, "@@iterator") || td[Jg(a)];
702
- }, id = Y, nd = Te, sd = J, od = xr, ud = Du, ld = TypeError, hd = function(a, e) {
703
- var t = arguments.length < 2 ? ud(a) : e;
704
- if (nd(t))
705
- return sd(id(t, a));
706
- throw new ld(od(a) + " is not iterable");
707
- }, vd = Y, gs = J, fd = ot, cd = function(a, e, t) {
695
+ Vu = Vg.Promise;
696
+ Dg(Le, Ir, !1);
697
+ Lg(Ir);
698
+ var Rt = {}, ed = z, td = Rt, rd = ed("iterator"), ad = Array.prototype, id = function(a) {
699
+ return a !== void 0 && (td.Array === a || ad[rd] === a);
700
+ }, nd = _i, ds = st, sd = xr, od = Rt, ud = z, ld = ud("iterator"), ju = function(a) {
701
+ if (!sd(a))
702
+ return ds(a, ld) || ds(a, "@@iterator") || od[nd(a)];
703
+ }, hd = Y, vd = Te, fd = J, cd = Or, gd = ju, dd = TypeError, pd = function(a, e) {
704
+ var t = arguments.length < 2 ? gd(a) : e;
705
+ if (vd(t))
706
+ return fd(hd(t, a));
707
+ throw new dd(cd(a) + " is not iterable");
708
+ }, yd = Y, ps = J, md = st, bd = function(a, e, t) {
708
709
  var r, i;
709
- gs(a);
710
+ ps(a);
710
711
  try {
711
- if (r = fd(a, "return"), !r) {
712
+ if (r = md(a, "return"), !r) {
712
713
  if (e === "throw")
713
714
  throw t;
714
715
  return t;
715
716
  }
716
- r = vd(r, a);
717
+ r = yd(r, a);
717
718
  } catch (n) {
718
719
  i = !0, r = n;
719
720
  }
@@ -721,60 +722,60 @@ var Nt = {}, Wg = z, qg = Nt, Qg = Wg("iterator"), Kg = Array.prototype, Zg = fu
721
722
  throw t;
722
723
  if (i)
723
724
  throw r;
724
- return gs(r), t;
725
- }, gd = Vi, dd = Y, pd = J, yd = xr, md = Zg, bd = Ni, ds = br, xd = hd, Td = Du, ps = cd, Od = TypeError, lr = function(a, e) {
725
+ return ps(r), t;
726
+ }, xd = Di, Td = Y, Od = J, Sd = Or, Ed = id, $d = Ii, ys = Tr, wd = pd, Cd = ju, ms = bd, Ad = TypeError, hr = function(a, e) {
726
727
  this.stopped = a, this.result = e;
727
- }, ys = lr.prototype, ku = function(a, e, t) {
728
- var r = t && t.that, i = !!(t && t.AS_ENTRIES), n = !!(t && t.IS_RECORD), o = !!(t && t.IS_ITERATOR), s = !!(t && t.INTERRUPTED), u = gd(e, r), l, h, f, c, v, d, g, p = function(x) {
729
- return l && ps(l, "normal", x), new lr(!0, x);
728
+ }, bs = hr.prototype, Fu = function(a, e, t) {
729
+ var r = t && t.that, i = !!(t && t.AS_ENTRIES), n = !!(t && t.IS_RECORD), o = !!(t && t.IS_ITERATOR), s = !!(t && t.INTERRUPTED), u = xd(e, r), l, h, f, c, v, g, d, p = function(x) {
730
+ return l && ms(l, "normal"), new hr(!0, x);
730
731
  }, y = function(x) {
731
- return i ? (pd(x), s ? u(x[0], x[1], p) : u(x[0], x[1])) : s ? u(x, p) : u(x);
732
+ return i ? (Od(x), s ? u(x[0], x[1], p) : u(x[0], x[1])) : s ? u(x, p) : u(x);
732
733
  };
733
734
  if (n)
734
735
  l = a.iterator;
735
736
  else if (o)
736
737
  l = a;
737
738
  else {
738
- if (h = Td(a), !h)
739
- throw new Od(yd(a) + " is not iterable");
740
- if (md(h)) {
741
- for (f = 0, c = bd(a); c > f; f++)
742
- if (v = y(a[f]), v && ds(ys, v))
739
+ if (h = Cd(a), !h)
740
+ throw new Ad(Sd(a) + " is not iterable");
741
+ if (Ed(h)) {
742
+ for (f = 0, c = $d(a); c > f; f++)
743
+ if (v = y(a[f]), v && ys(bs, v))
743
744
  return v;
744
- return new lr(!1);
745
+ return new hr(!1);
745
746
  }
746
- l = xd(a, h);
747
+ l = wd(a, h);
747
748
  }
748
- for (d = n ? a.next : l.next; !(g = dd(d, l)).done; ) {
749
+ for (g = n ? a.next : l.next; !(d = Td(g, l)).done; ) {
749
750
  try {
750
- v = y(g.value);
751
+ v = y(d.value);
751
752
  } catch (x) {
752
- ps(l, "throw", x);
753
+ ms(l, "throw", x);
753
754
  }
754
- if (typeof v == "object" && v && ds(ys, v))
755
+ if (typeof v == "object" && v && ys(bs, v))
755
756
  return v;
756
757
  }
757
- return new lr(!1);
758
- }, Sd = z, Lu = Sd("iterator"), Bu = !1;
758
+ return new hr(!1);
759
+ }, Pd = z, Uu = Pd("iterator"), Gu = !1;
759
760
  try {
760
- var Ed = 0, ms = {
761
+ var Rd = 0, xs = {
761
762
  next: function() {
762
- return { done: !!Ed++ };
763
+ return { done: !!Rd++ };
763
764
  },
764
765
  return: function() {
765
- Bu = !0;
766
+ Gu = !0;
766
767
  }
767
768
  };
768
- ms[Lu] = function() {
769
+ xs[Uu] = function() {
769
770
  return this;
770
- }, Array.from(ms, function() {
771
+ }, Array.from(xs, function() {
771
772
  throw 2;
772
773
  });
773
774
  } catch (a) {
774
775
  }
775
- var $d = function(a, e) {
776
+ var Nd = function(a, e) {
776
777
  try {
777
- if (!e && !Bu)
778
+ if (!e && !Gu)
778
779
  return !1;
779
780
  } catch (i) {
780
781
  return !1;
@@ -782,7 +783,7 @@ var $d = function(a, e) {
782
783
  var t = !1;
783
784
  try {
784
785
  var r = {};
785
- r[Lu] = function() {
786
+ r[Uu] = function() {
786
787
  return {
787
788
  next: function() {
788
789
  return { done: t = !0 };
@@ -792,66 +793,66 @@ var $d = function(a, e) {
792
793
  } catch (i) {
793
794
  }
794
795
  return t;
795
- }, wd = Pr, Cd = $d, Ad = Rt.CONSTRUCTOR, ju = Ad || !Cd(function(a) {
796
- wd.all(a).then(void 0, function() {
796
+ }, Id = Nr, Md = Nd, _d = Pt.CONSTRUCTOR, zu = _d || !Md(function(a) {
797
+ Id.all(a).then(void 0, function() {
797
798
  });
798
- }), Pd = ee, Rd = Y, Nd = Te, Id = lt, Md = ki, _d = ku, Vd = ju;
799
- Pd({ target: "Promise", stat: !0, forced: Vd }, {
799
+ }), Vd = ee, Dd = Y, Ld = Te, kd = ut, Bd = ki, jd = Fu, Fd = zu;
800
+ Vd({ target: "Promise", stat: !0, forced: Fd }, {
800
801
  all: function(e) {
801
- var t = this, r = Id.f(t), i = r.resolve, n = r.reject, o = Md(function() {
802
- var s = Nd(t.resolve), u = [], l = 0, h = 1;
803
- _d(e, function(f) {
802
+ var t = this, r = kd.f(t), i = r.resolve, n = r.reject, o = Bd(function() {
803
+ var s = Ld(t.resolve), u = [], l = 0, h = 1;
804
+ jd(e, function(f) {
804
805
  var c = l++, v = !1;
805
- h++, Rd(s, t, f).then(function(d) {
806
- v || (v = !0, u[c] = d, --h || i(u));
806
+ h++, Dd(s, t, f).then(function(g) {
807
+ v || (v = !0, u[c] = g, --h || i(u));
807
808
  }, n);
808
809
  }), --h || i(u);
809
810
  });
810
811
  return o.error && n(o.value), r.promise;
811
812
  }
812
813
  });
813
- var Dd = ee, kd = Rt.CONSTRUCTOR, ii = Pr, Ld = Fe, Bd = B, jd = Ue, bs = ii && ii.prototype;
814
- Dd({ target: "Promise", proto: !0, forced: kd, real: !0 }, {
814
+ var Ud = ee, Gd = Pt.CONSTRUCTOR, ni = Nr, zd = Fe, Hd = B, Yd = Ue, Ts = ni && ni.prototype;
815
+ Ud({ target: "Promise", proto: !0, forced: Gd, real: !0 }, {
815
816
  catch: function(a) {
816
817
  return this.then(void 0, a);
817
818
  }
818
819
  });
819
- if (Bd(ii)) {
820
- var xs = Ld("Promise").prototype.catch;
821
- bs.catch !== xs && jd(bs, "catch", xs, { unsafe: !0 });
820
+ if (Hd(ni)) {
821
+ var Os = zd("Promise").prototype.catch;
822
+ Ts.catch !== Os && Yd(Ts, "catch", Os, { unsafe: !0 });
822
823
  }
823
- var Fd = ee, Ud = Y, Gd = Te, zd = lt, Hd = ki, Yd = ku, Xd = ju;
824
- Fd({ target: "Promise", stat: !0, forced: Xd }, {
824
+ var Xd = ee, Wd = Y, qd = Te, Qd = ut, Kd = ki, Zd = Fu, Jd = zu;
825
+ Xd({ target: "Promise", stat: !0, forced: Jd }, {
825
826
  race: function(e) {
826
- var t = this, r = zd.f(t), i = r.reject, n = Hd(function() {
827
- var o = Gd(t.resolve);
828
- Yd(e, function(s) {
829
- Ud(o, t, s).then(r.resolve, i);
827
+ var t = this, r = Qd.f(t), i = r.reject, n = Kd(function() {
828
+ var o = qd(t.resolve);
829
+ Zd(e, function(s) {
830
+ Wd(o, t, s).then(r.resolve, i);
830
831
  });
831
832
  });
832
833
  return n.error && i(n.value), r.promise;
833
834
  }
834
835
  });
835
- var Wd = ee, qd = lt, Qd = Rt.CONSTRUCTOR;
836
- Wd({ target: "Promise", stat: !0, forced: Qd }, {
836
+ var ep = ee, tp = ut, rp = Pt.CONSTRUCTOR;
837
+ ep({ target: "Promise", stat: !0, forced: rp }, {
837
838
  reject: function(e) {
838
- var t = qd.f(this), r = t.reject;
839
+ var t = tp.f(this), r = t.reject;
839
840
  return r(e), t.promise;
840
841
  }
841
842
  });
842
- var Kd = J, Zd = ve, Jd = lt, ep = function(a, e) {
843
- if (Kd(a), Zd(e) && e.constructor === a)
843
+ var ap = J, ip = ae, np = ut, sp = function(a, e) {
844
+ if (ap(a), ip(e) && e.constructor === a)
844
845
  return e;
845
- var t = Jd.f(a), r = t.resolve;
846
+ var t = np.f(a), r = t.resolve;
846
847
  return r(e), t.promise;
847
- }, tp = ee, rp = Fe, ap = Rt.CONSTRUCTOR, ip = ep;
848
- rp("Promise");
849
- tp({ target: "Promise", stat: !0, forced: ap }, {
848
+ }, op = ee, up = Fe, lp = Pt.CONSTRUCTOR, hp = sp;
849
+ up("Promise");
850
+ op({ target: "Promise", stat: !0, forced: lp }, {
850
851
  resolve: function(e) {
851
- return ip(this, e);
852
+ return hp(this, e);
852
853
  }
853
854
  });
854
- function Ts(a, e, t, r, i, n, o) {
855
+ function Ss(a, e, t, r, i, n, o) {
855
856
  try {
856
857
  var s = a[n](o), u = s.value;
857
858
  } catch (l) {
@@ -865,335 +866,367 @@ function xe(a) {
865
866
  return new Promise(function(r, i) {
866
867
  var n = a.apply(e, t);
867
868
  function o(u) {
868
- Ts(n, r, i, o, s, "next", u);
869
+ Ss(n, r, i, o, s, "next", u);
869
870
  }
870
871
  function s(u) {
871
- Ts(n, r, i, o, s, "throw", u);
872
+ Ss(n, r, i, o, s, "throw", u);
872
873
  }
873
874
  o(void 0);
874
875
  });
875
876
  };
876
877
  }
877
- var np = Mi, sp = String, pe = function(a) {
878
- if (np(a) === "Symbol")
878
+ var vp = _i, fp = String, pe = function(a) {
879
+ if (vp(a) === "Symbol")
879
880
  throw new TypeError("Cannot convert a Symbol value to a string");
880
- return sp(a);
881
- }, op = J, Fu = function() {
882
- var a = op(this), e = "";
881
+ return fp(a);
882
+ }, cp = J, Hu = function() {
883
+ var a = cp(this), e = "";
883
884
  return a.hasIndices && (e += "d"), a.global && (e += "g"), a.ignoreCase && (e += "i"), a.multiline && (e += "m"), a.dotAll && (e += "s"), a.unicode && (e += "u"), a.unicodeSets && (e += "v"), a.sticky && (e += "y"), e;
884
- }, Ui = k, up = V, Gi = up.RegExp, zi = Ui(function() {
885
- var a = Gi("a", "y");
885
+ }, Gi = D, gp = _, zi = gp.RegExp, Hi = Gi(function() {
886
+ var a = zi("a", "y");
886
887
  return a.lastIndex = 2, a.exec("abcd") !== null;
887
- }), lp = zi || Ui(function() {
888
- return !Gi("a", "y").sticky;
889
- }), hp = zi || Ui(function() {
890
- var a = Gi("^r", "gy");
888
+ }), dp = Hi || Gi(function() {
889
+ return !zi("a", "y").sticky;
890
+ }), pp = Hi || Gi(function() {
891
+ var a = zi("^r", "gy");
891
892
  return a.lastIndex = 2, a.exec("str") !== null;
892
- }), Uu = {
893
- BROKEN_CARET: hp,
894
- MISSED_STICKY: lp,
895
- UNSUPPORTED_Y: zi
896
- }, Gu = {}, vp = iu, fp = Ii, cp = Object.keys || function(e) {
897
- return vp(e, fp);
898
- }, gp = le, dp = Qo, pp = Oe, yp = J, mp = wt, bp = cp;
899
- Gu.f = gp && !dp ? Object.defineProperties : function(e, t) {
900
- yp(e);
901
- for (var r = mp(t), i = bp(t), n = i.length, o = 0, s; n > o; )
902
- pp.f(e, s = i[o++], r[s]);
893
+ }), Yu = {
894
+ BROKEN_CARET: pp,
895
+ MISSED_STICKY: dp,
896
+ UNSUPPORTED_Y: Hi
897
+ }, Xu = {}, yp = ou, mp = Mi, bp = Object.keys || function(e) {
898
+ return yp(e, mp);
899
+ }, xp = he, Tp = Jo, Op = Oe, Sp = J, Ep = $t, $p = bp;
900
+ Xu.f = xp && !Tp ? Object.defineProperties : function(e, t) {
901
+ Sp(e);
902
+ for (var r = Ep(t), i = $p(t), n = i.length, o = 0, s; n > o; )
903
+ Op.f(e, s = i[o++], r[s]);
903
904
  return e;
904
905
  };
905
- var xp = J, Tp = Gu, Os = Ii, Op = Pi, Sp = yu, Ep = Or, $p = Ai, Ss = ">", Es = "<", ni = "prototype", si = "script", zu = $p("IE_PROTO"), Oa = function() {
906
- }, Hu = function(a) {
907
- return Es + si + Ss + a + Es + "/" + si + Ss;
908
- }, $s = function(a) {
909
- a.write(Hu("")), a.close();
906
+ var wp = J, Cp = Xu, Es = Mi, Ap = Ri, Pp = xu, Rp = Er, Np = Pi, $s = ">", ws = "<", si = "prototype", oi = "script", Wu = Np("IE_PROTO"), Ea = function() {
907
+ }, qu = function(a) {
908
+ return ws + oi + $s + a + ws + "/" + oi + $s;
909
+ }, Cs = function(a) {
910
+ a.write(qu("")), a.close();
910
911
  var e = a.parentWindow.Object;
911
912
  return a = null, e;
912
- }, wp = function() {
913
- var a = Ep("iframe"), e = "java" + si + ":", t;
914
- return a.style.display = "none", Sp.appendChild(a), a.src = String(e), t = a.contentWindow.document, t.open(), t.write(Hu("document.F=Object")), t.close(), t.F;
915
- }, Jt, hr = function() {
913
+ }, Ip = function() {
914
+ var a = Rp("iframe"), e = "java" + oi + ":", t;
915
+ return a.style.display = "none", Pp.appendChild(a), a.src = String(e), t = a.contentWindow.document, t.open(), t.write(qu("document.F=Object")), t.close(), t.F;
916
+ }, Zt, vr = function() {
916
917
  try {
917
- Jt = new ActiveXObject("htmlfile");
918
+ Zt = new ActiveXObject("htmlfile");
918
919
  } catch (e) {
919
920
  }
920
- hr = typeof document != "undefined" ? document.domain && Jt ? $s(Jt) : wp() : $s(Jt);
921
- for (var a = Os.length; a--; )
922
- delete hr[ni][Os[a]];
923
- return hr();
921
+ vr = typeof document != "undefined" ? document.domain && Zt ? Cs(Zt) : Ip() : Cs(Zt);
922
+ for (var a = Es.length; a--; )
923
+ delete vr[si][Es[a]];
924
+ return vr();
924
925
  };
925
- Op[zu] = !0;
926
- var Hi = Object.create || function(e, t) {
926
+ Ap[Wu] = !0;
927
+ var Yi = Object.create || function(e, t) {
927
928
  var r;
928
- return e !== null ? (Oa[ni] = xp(e), r = new Oa(), Oa[ni] = null, r[zu] = e) : r = hr(), t === void 0 ? r : Tp.f(r, t);
929
- }, Cp = k, Ap = V, Pp = Ap.RegExp, Rp = Cp(function() {
930
- var a = Pp(".", "s");
929
+ return e !== null ? (Ea[si] = wp(e), r = new Ea(), Ea[si] = null, r[Wu] = e) : r = vr(), t === void 0 ? r : Cp.f(r, t);
930
+ }, Mp = D, _p = _, Vp = _p.RegExp, Dp = Mp(function() {
931
+ var a = Vp(".", "s");
931
932
  return !(a.dotAll && a.test(`
932
933
  `) && a.flags === "s");
933
- }), Np = k, Ip = V, Mp = Ip.RegExp, _p = Np(function() {
934
- var a = Mp("(?<a>b)", "g");
934
+ }), Lp = D, kp = _, Bp = kp.RegExp, jp = Lp(function() {
935
+ var a = Bp("(?<a>b)", "g");
935
936
  return a.exec("b").groups.a !== "b" || "b".replace(a, "$<a>c") !== "bc";
936
- }), et = Y, Nr = L, Vp = pe, Dp = Fu, kp = Uu, Lp = $i, Bp = Hi, jp = Er.get, Fp = Rp, Up = _p, Gp = Lp("native-string-replace", String.prototype.replace), yr = RegExp.prototype.exec, oi = yr, zp = Nr("".charAt), Hp = Nr("".indexOf), Yp = Nr("".replace), Sa = Nr("".slice), ui = function() {
937
+ }), Je = Y, Mr = L, Fp = pe, Up = Hu, Gp = Yu, zp = wi, Hp = Yi, Yp = wr.get, Xp = Dp, Wp = jp, qp = zp("native-string-replace", String.prototype.replace), mr = RegExp.prototype.exec, ui = mr, Qp = Mr("".charAt), Kp = Mr("".indexOf), Zp = Mr("".replace), $a = Mr("".slice), li = function() {
937
938
  var a = /a/, e = /b*/g;
938
- return et(yr, a, "a"), et(yr, e, "a"), a.lastIndex !== 0 || e.lastIndex !== 0;
939
- }(), Yu = kp.BROKEN_CARET, li = /()??/.exec("")[1] !== void 0, Xp = ui || li || Yu || Fp || Up;
940
- Xp && (oi = function(e) {
941
- var t = this, r = jp(t), i = Vp(e), n = r.raw, o, s, u, l, h, f, c;
939
+ return Je(mr, a, "a"), Je(mr, e, "a"), a.lastIndex !== 0 || e.lastIndex !== 0;
940
+ }(), Qu = Gp.BROKEN_CARET, hi = /()??/.exec("")[1] !== void 0, Jp = li || hi || Qu || Xp || Wp;
941
+ Jp && (ui = function(e) {
942
+ var t = this, r = Yp(t), i = Fp(e), n = r.raw, o, s, u, l, h, f, c;
942
943
  if (n)
943
- return n.lastIndex = t.lastIndex, o = et(oi, n, i), t.lastIndex = n.lastIndex, o;
944
- var v = r.groups, d = Yu && t.sticky, g = et(Dp, t), p = t.source, y = 0, x = i;
945
- if (d && (g = Yp(g, "y", ""), Hp(g, "g") === -1 && (g += "g"), x = Sa(i, t.lastIndex), t.lastIndex > 0 && (!t.multiline || t.multiline && zp(i, t.lastIndex - 1) !== `
946
- `) && (p = "(?: " + p + ")", x = " " + x, y++), s = new RegExp("^(?:" + p + ")", g)), li && (s = new RegExp("^" + p + "$(?!\\s)", g)), ui && (u = t.lastIndex), l = et(yr, d ? s : t, x), d ? l ? (l.input = Sa(l.input, y), l[0] = Sa(l[0], y), l.index = t.lastIndex, t.lastIndex += l[0].length) : t.lastIndex = 0 : ui && l && (t.lastIndex = t.global ? l.index + l[0].length : u), li && l && l.length > 1 && et(Gp, l[0], s, function() {
944
+ return n.lastIndex = t.lastIndex, o = Je(ui, n, i), t.lastIndex = n.lastIndex, o;
945
+ var v = r.groups, g = Qu && t.sticky, d = Je(Up, t), p = t.source, y = 0, x = i;
946
+ if (g && (d = Zp(d, "y", ""), Kp(d, "g") === -1 && (d += "g"), x = $a(i, t.lastIndex), t.lastIndex > 0 && (!t.multiline || t.multiline && Qp(i, t.lastIndex - 1) !== `
947
+ `) && (p = "(?: " + p + ")", x = " " + x, y++), s = new RegExp("^(?:" + p + ")", d)), hi && (s = new RegExp("^" + p + "$(?!\\s)", d)), li && (u = t.lastIndex), l = Je(mr, g ? s : t, x), g ? l ? (l.input = $a(l.input, y), l[0] = $a(l[0], y), l.index = t.lastIndex, t.lastIndex += l[0].length) : t.lastIndex = 0 : li && l && (t.lastIndex = t.global ? l.index + l[0].length : u), hi && l && l.length > 1 && Je(qp, l[0], s, function() {
947
948
  for (h = 1; h < arguments.length - 2; h++)
948
949
  arguments[h] === void 0 && (l[h] = void 0);
949
950
  }), l && v)
950
- for (l.groups = f = Bp(null), h = 0; h < v.length; h++)
951
+ for (l.groups = f = Hp(null), h = 0; h < v.length; h++)
951
952
  c = v[h], f[c[0]] = l[c[1]];
952
953
  return l;
953
954
  });
954
- var Yi = oi, Wp = ee, ws = Yi;
955
- Wp({ target: "RegExp", proto: !0, forced: /./.exec !== ws }, {
956
- exec: ws
955
+ var Xi = ui, ey = ee, As = Xi;
956
+ ey({ target: "RegExp", proto: !0, forced: /./.exec !== As }, {
957
+ exec: As
957
958
  });
958
- var Cs = Y, As = Ue, qp = Yi, Ps = k, Xu = z, Qp = At, Kp = Xu("species"), Ea = RegExp.prototype, Xi = function(a, e, t, r) {
959
- var i = Xu(a), n = !Ps(function() {
959
+ var Ps = Y, Rs = Ue, ty = Xi, Ns = D, Ku = z, ry = Ct, ay = Ku("species"), wa = RegExp.prototype, Wi = function(a, e, t, r) {
960
+ var i = Ku(a), n = !Ns(function() {
960
961
  var l = {};
961
962
  return l[i] = function() {
962
963
  return 7;
963
964
  }, ""[a](l) !== 7;
964
- }), o = n && !Ps(function() {
965
+ }), o = n && !Ns(function() {
965
966
  var l = !1, h = /a/;
966
- return a === "split" && (h = {}, h.constructor = {}, h.constructor[Kp] = function() {
967
- return h;
968
- }, h.flags = "", h[i] = /./[i]), h.exec = function() {
967
+ if (a === "split") {
968
+ var f = {};
969
+ f[ay] = function() {
970
+ return h;
971
+ }, h = { constructor: f, flags: "" }, h[i] = /./[i];
972
+ }
973
+ return h.exec = function() {
969
974
  return l = !0, null;
970
975
  }, h[i](""), !l;
971
976
  });
972
977
  if (!n || !o || t) {
973
978
  var s = /./[i], u = e(i, ""[a], function(l, h, f, c, v) {
974
- var d = h.exec;
975
- return d === qp || d === Ea.exec ? n && !v ? { done: !0, value: Cs(s, h, f, c) } : { done: !0, value: Cs(l, f, h, c) } : { done: !1 };
979
+ var g = h.exec;
980
+ return g === ty || g === wa.exec ? n && !v ? { done: !0, value: Ps(s, h, f, c) } : { done: !0, value: Ps(l, f, h, c) } : { done: !1 };
976
981
  });
977
- As(String.prototype, a, u[0]), As(Ea, i, u[1]);
982
+ Rs(String.prototype, a, u[0]), Rs(wa, i, u[1]);
978
983
  }
979
- r && Qp(Ea[i], "sham", !0);
980
- }, Wi = L, Zp = $r, Jp = pe, ey = he, ty = Wi("".charAt), Rs = Wi("".charCodeAt), ry = Wi("".slice), Ns = function(a) {
984
+ r && ry(wa[i], "sham", !0);
985
+ }, qi = L, iy = Cr, ny = pe, sy = ve, oy = qi("".charAt), Is = qi("".charCodeAt), uy = qi("".slice), Ms = function(a) {
981
986
  return function(e, t) {
982
- var r = Jp(ey(e)), i = Zp(t), n = r.length, o, s;
983
- return i < 0 || i >= n ? a ? "" : void 0 : (o = Rs(r, i), o < 55296 || o > 56319 || i + 1 === n || (s = Rs(r, i + 1)) < 56320 || s > 57343 ? a ? ty(r, i) : o : a ? ry(r, i, i + 2) : (o - 55296 << 10) + (s - 56320) + 65536);
987
+ var r = ny(sy(e)), i = iy(t), n = r.length, o, s;
988
+ return i < 0 || i >= n ? a ? "" : void 0 : (o = Is(r, i), o < 55296 || o > 56319 || i + 1 === n || (s = Is(r, i + 1)) < 56320 || s > 57343 ? a ? oy(r, i) : o : a ? uy(r, i, i + 2) : (o - 55296 << 10) + (s - 56320) + 65536);
984
989
  };
985
- }, ay = {
990
+ }, ly = {
986
991
  // `String.prototype.codePointAt` method
987
992
  // https://tc39.es/ecma262/#sec-string.prototype.codepointat
988
- codeAt: Ns(!1),
993
+ codeAt: Ms(!1),
989
994
  // `String.prototype.at` method
990
995
  // https://github.com/mathiasbynens/String.prototype.at
991
- charAt: Ns(!0)
992
- }, iy = ay.charAt, qi = function(a, e, t) {
993
- return e + (t ? iy(a, e).length : 1);
994
- }, Is = Y, ny = J, sy = B, oy = Be, uy = Yi, ly = TypeError, Qi = function(a, e) {
996
+ charAt: Ms(!0)
997
+ }, hy = ly.charAt, Qi = function(a, e, t) {
998
+ return e + (t ? hy(a, e).length : 1);
999
+ }, vy = _, fy = D, _s = vy.RegExp, cy = !fy(function() {
1000
+ var a = !0;
1001
+ try {
1002
+ _s(".", "d");
1003
+ } catch (u) {
1004
+ a = !1;
1005
+ }
1006
+ var e = {}, t = "", r = a ? "dgimsy" : "gimsy", i = function(u, l) {
1007
+ Object.defineProperty(e, u, { get: function() {
1008
+ return t += l, !0;
1009
+ } });
1010
+ }, n = {
1011
+ dotAll: "s",
1012
+ global: "g",
1013
+ ignoreCase: "i",
1014
+ multiline: "m",
1015
+ sticky: "y"
1016
+ };
1017
+ a && (n.hasIndices = "d");
1018
+ for (var o in n)
1019
+ i(o, n[o]);
1020
+ var s = Object.getOwnPropertyDescriptor(_s.prototype, "flags").get.call(e);
1021
+ return s !== r || t !== r;
1022
+ }), gy = { correct: cy }, dy = Y, py = fe, yy = Tr, Vs = gy, my = Hu, by = RegExp.prototype, Ki = Vs.correct ? function(a) {
1023
+ return a.flags;
1024
+ } : function(a) {
1025
+ return !Vs.correct && yy(by, a) && !py(a, "flags") ? dy(my, a) : a.flags;
1026
+ }, Ds = Y, xy = J, Ty = B, Oy = je, Sy = Xi, Ey = TypeError, Zi = function(a, e) {
995
1027
  var t = a.exec;
996
- if (sy(t)) {
997
- var r = Is(t, a, e);
998
- return r !== null && ny(r), r;
999
- }
1000
- if (oy(a) === "RegExp")
1001
- return Is(uy, a, e);
1002
- throw new ly("RegExp#exec called on incompatible receiver");
1003
- }, hy = Y, vy = Xi, fy = J, cy = je, gy = ut, $a = pe, dy = he, py = ot, yy = qi, Ms = Qi;
1004
- vy("match", function(a, e, t) {
1028
+ if (Ty(t)) {
1029
+ var r = Ds(t, a, e);
1030
+ return r !== null && xy(r), r;
1031
+ }
1032
+ if (Oy(a) === "RegExp")
1033
+ return Ds(Sy, a, e);
1034
+ throw new Ey("RegExp#exec called on incompatible receiver");
1035
+ }, $y = Y, wy = L, Cy = Wi, Ay = J, Py = ae, Ry = ot, Jt = pe, Ny = ve, Iy = st, My = Qi, _y = Ki, Ls = Zi, ks = wy("".indexOf);
1036
+ Cy("match", function(a, e, t) {
1005
1037
  return [
1006
1038
  // `String.prototype.match` method
1007
1039
  // https://tc39.es/ecma262/#sec-string.prototype.match
1008
1040
  function(i) {
1009
- var n = dy(this), o = cy(i) ? void 0 : py(i, a);
1010
- return o ? hy(o, i, n) : new RegExp(i)[a]($a(n));
1041
+ var n = Ny(this), o = Py(i) ? Iy(i, a) : void 0;
1042
+ return o ? $y(o, i, n) : new RegExp(i)[a](Jt(n));
1011
1043
  },
1012
1044
  // `RegExp.prototype[@@match]` method
1013
1045
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@match
1014
1046
  function(r) {
1015
- var i = fy(this), n = $a(r), o = t(e, i, n);
1047
+ var i = Ay(this), n = Jt(r), o = t(e, i, n);
1016
1048
  if (o.done)
1017
1049
  return o.value;
1018
- if (!i.global)
1019
- return Ms(i, n);
1020
- var s = i.unicode;
1050
+ var s = Jt(_y(i));
1051
+ if (ks(s, "g") === -1)
1052
+ return Ls(i, n);
1053
+ var u = ks(s, "u") !== -1;
1021
1054
  i.lastIndex = 0;
1022
- for (var u = [], l = 0, h; (h = Ms(i, n)) !== null; ) {
1023
- var f = $a(h[0]);
1024
- u[l] = f, f === "" && (i.lastIndex = yy(n, gy(i.lastIndex), s)), l++;
1055
+ for (var l = [], h = 0, f; (f = Ls(i, n)) !== null; ) {
1056
+ var c = Jt(f[0]);
1057
+ l[h] = c, c === "" && (i.lastIndex = My(n, Ry(i.lastIndex), u)), h++;
1025
1058
  }
1026
- return l === 0 ? null : u;
1059
+ return h === 0 ? null : l;
1027
1060
  }
1028
1061
  ];
1029
1062
  });
1030
- var Ki = L, my = Tr, by = Math.floor, wa = Ki("".charAt), xy = Ki("".replace), Ca = Ki("".slice), Ty = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, Oy = /\$([$&'`]|\d{1,2})/g, Sy = function(a, e, t, r, i, n) {
1031
- var o = t + a.length, s = r.length, u = Oy;
1032
- return i !== void 0 && (i = my(i), u = Ty), xy(n, u, function(l, h) {
1063
+ var Ji = L, Vy = Sr, Dy = Math.floor, Ca = Ji("".charAt), Ly = Ji("".replace), Aa = Ji("".slice), ky = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, By = /\$([$&'`]|\d{1,2})/g, jy = function(a, e, t, r, i, n) {
1064
+ var o = t + a.length, s = r.length, u = By;
1065
+ return i !== void 0 && (i = Vy(i), u = ky), Ly(n, u, function(l, h) {
1033
1066
  var f;
1034
- switch (wa(h, 0)) {
1067
+ switch (Ca(h, 0)) {
1035
1068
  case "$":
1036
1069
  return "$";
1037
1070
  case "&":
1038
1071
  return a;
1039
1072
  case "`":
1040
- return Ca(e, 0, t);
1073
+ return Aa(e, 0, t);
1041
1074
  case "'":
1042
- return Ca(e, o);
1075
+ return Aa(e, o);
1043
1076
  case "<":
1044
- f = i[Ca(h, 1, -1)];
1077
+ f = i[Aa(h, 1, -1)];
1045
1078
  break;
1046
1079
  default:
1047
1080
  var c = +h;
1048
1081
  if (c === 0)
1049
1082
  return l;
1050
1083
  if (c > s) {
1051
- var v = by(c / 10);
1052
- return v === 0 ? l : v <= s ? r[v - 1] === void 0 ? wa(h, 1) : r[v - 1] + wa(h, 1) : l;
1084
+ var v = Dy(c / 10);
1085
+ return v === 0 ? l : v <= s ? r[v - 1] === void 0 ? Ca(h, 1) : r[v - 1] + Ca(h, 1) : l;
1053
1086
  }
1054
1087
  f = r[c - 1];
1055
1088
  }
1056
1089
  return f === void 0 ? "" : f;
1057
1090
  });
1058
- }, Ey = pu, _s = Y, Ir = L, $y = Xi, wy = k, Cy = J, Ay = B, Py = je, Ry = $r, Ny = ut, We = pe, Iy = he, My = qi, _y = ot, Vy = Sy, Dy = Qi, ky = z, hi = ky("replace"), Ly = Math.max, By = Math.min, jy = Ir([].concat), Aa = Ir([].push), Vs = Ir("".indexOf), Ds = Ir("".slice), Fy = function(a) {
1091
+ }, Fy = bu, Bs = Y, _r = L, Uy = Wi, Gy = D, zy = J, Hy = B, Yy = ae, Xy = Cr, Wy = ot, Me = pe, qy = ve, Qy = Qi, Ky = st, Zy = jy, Jy = Ki, em = Zi, tm = z, vi = tm("replace"), rm = Math.max, am = Math.min, im = _r([].concat), Pa = _r([].push), er = _r("".indexOf), js = _r("".slice), nm = function(a) {
1059
1092
  return a === void 0 ? a : String(a);
1060
- }, Uy = function() {
1093
+ }, sm = function() {
1061
1094
  return "a".replace(/./, "$0") === "$0";
1062
- }(), ks = function() {
1063
- return /./[hi] ? /./[hi]("a", "$0") === "" : !1;
1064
- }(), Gy = !wy(function() {
1095
+ }(), Fs = function() {
1096
+ return /./[vi] ? /./[vi]("a", "$0") === "" : !1;
1097
+ }(), om = !Gy(function() {
1065
1098
  var a = /./;
1066
1099
  return a.exec = function() {
1067
1100
  var e = [];
1068
1101
  return e.groups = { a: "7" }, e;
1069
1102
  }, "".replace(a, "$<a>") !== "7";
1070
1103
  });
1071
- $y("replace", function(a, e, t) {
1072
- var r = ks ? "$" : "$0";
1104
+ Uy("replace", function(a, e, t) {
1105
+ var r = Fs ? "$" : "$0";
1073
1106
  return [
1074
1107
  // `String.prototype.replace` method
1075
1108
  // https://tc39.es/ecma262/#sec-string.prototype.replace
1076
1109
  function(n, o) {
1077
- var s = Iy(this), u = Py(n) ? void 0 : _y(n, hi);
1078
- return u ? _s(u, n, s, o) : _s(e, We(s), n, o);
1110
+ var s = qy(this), u = Yy(n) ? Ky(n, vi) : void 0;
1111
+ return u ? Bs(u, n, s, o) : Bs(e, Me(s), n, o);
1079
1112
  },
1080
1113
  // `RegExp.prototype[@@replace]` method
1081
1114
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
1082
1115
  function(i, n) {
1083
- var o = Cy(this), s = We(i);
1084
- if (typeof n == "string" && Vs(n, r) === -1 && Vs(n, "$<") === -1) {
1116
+ var o = zy(this), s = Me(i);
1117
+ if (typeof n == "string" && er(n, r) === -1 && er(n, "$<") === -1) {
1085
1118
  var u = t(e, o, s, n);
1086
1119
  if (u.done)
1087
1120
  return u.value;
1088
1121
  }
1089
- var l = Ay(n);
1090
- l || (n = We(n));
1091
- var h = o.global, f;
1092
- h && (f = o.unicode, o.lastIndex = 0);
1093
- for (var c = [], v; v = Dy(o, s), !(v === null || (Aa(c, v), !h)); ) {
1094
- var d = We(v[0]);
1095
- d === "" && (o.lastIndex = My(s, Ny(o.lastIndex), f));
1122
+ var l = Hy(n);
1123
+ l || (n = Me(n));
1124
+ var h = Me(Jy(o)), f = er(h, "g") !== -1, c;
1125
+ f && (c = er(h, "u") !== -1, o.lastIndex = 0);
1126
+ for (var v = [], g; g = em(o, s), !(g === null || (Pa(v, g), !f)); ) {
1127
+ var d = Me(g[0]);
1128
+ d === "" && (o.lastIndex = Qy(s, Wy(o.lastIndex), c));
1096
1129
  }
1097
- for (var g = "", p = 0, y = 0; y < c.length; y++) {
1098
- v = c[y];
1099
- for (var x = We(v[0]), b = Ly(By(Ry(v.index), s.length), 0), T = [], $, E = 1; E < v.length; E++)
1100
- Aa(T, Fy(v[E]));
1101
- var O = v.groups;
1130
+ for (var p = "", y = 0, x = 0; x < v.length; x++) {
1131
+ g = v[x];
1132
+ for (var b = Me(g[0]), T = rm(am(Xy(g.index), s.length), 0), $ = [], E, O = 1; O < g.length; O++)
1133
+ Pa($, nm(g[O]));
1134
+ var C = g.groups;
1102
1135
  if (l) {
1103
- var C = jy([x], T, b, s);
1104
- O !== void 0 && Aa(C, O), $ = We(Ey(n, void 0, C));
1136
+ var P = im([b], $, T, s);
1137
+ C !== void 0 && Pa(P, C), E = Me(Fy(n, void 0, P));
1105
1138
  } else
1106
- $ = Vy(x, s, b, T, O, n);
1107
- b >= p && (g += Ds(s, p, b) + $, p = b + x.length);
1139
+ E = Zy(b, s, T, $, C, n);
1140
+ T >= y && (p += js(s, y, T) + E, y = T + b.length);
1108
1141
  }
1109
- return g + Ds(s, p);
1142
+ return p + js(s, y);
1110
1143
  }
1111
1144
  ];
1112
- }, !Gy || !Uy || ks);
1113
- var zy = ve, Hy = Be, Yy = z, Xy = Yy("match"), Wy = function(a) {
1145
+ }, !om || !sm || Fs);
1146
+ var um = ae, lm = je, hm = z, vm = hm("match"), fm = function(a) {
1114
1147
  var e;
1115
- return zy(a) && ((e = a[Xy]) !== void 0 ? !!e : Hy(a) === "RegExp");
1116
- }, qy = Wy, Qy = TypeError, Zi = function(a) {
1117
- if (qy(a))
1118
- throw new Qy("The method doesn't accept regular expressions");
1148
+ return um(a) && ((e = a[vm]) !== void 0 ? !!e : lm(a) === "RegExp");
1149
+ }, cm = fm, gm = TypeError, en = function(a) {
1150
+ if (cm(a))
1151
+ throw new gm("The method doesn't accept regular expressions");
1119
1152
  return a;
1120
- }, Ky = z, Zy = Ky("match"), Ji = function(a) {
1153
+ }, dm = z, pm = dm("match"), tn = function(a) {
1121
1154
  var e = /./;
1122
1155
  try {
1123
1156
  "/./"[a](e);
1124
1157
  } catch (t) {
1125
1158
  try {
1126
- return e[Zy] = !1, "/./"[a](e);
1159
+ return e[pm] = !1, "/./"[a](e);
1127
1160
  } catch (r) {
1128
1161
  }
1129
1162
  }
1130
1163
  return !1;
1131
- }, Jy = ee, em = Ar, tm = $t.f, rm = ut, Ls = pe, am = Zi, im = he, nm = Ji, sm = em("".slice), om = Math.min, Wu = nm("startsWith"), um = !Wu && !!function() {
1132
- var a = tm(String.prototype, "startsWith");
1164
+ }, ym = ee, mm = Rr, bm = Et.f, xm = ot, Us = pe, Tm = en, Om = ve, Sm = tn, Em = mm("".slice), $m = Math.min, Zu = Sm("startsWith"), wm = !Zu && !!function() {
1165
+ var a = bm(String.prototype, "startsWith");
1133
1166
  return a && !a.writable;
1134
1167
  }();
1135
- Jy({ target: "String", proto: !0, forced: !um && !Wu }, {
1168
+ ym({ target: "String", proto: !0, forced: !wm && !Zu }, {
1136
1169
  startsWith: function(e) {
1137
- var t = Ls(im(this));
1138
- am(e);
1139
- var r = rm(om(arguments.length > 1 ? arguments[1] : void 0, t.length)), i = Ls(e);
1140
- return sm(t, r, r + i.length) === i;
1170
+ var t = Us(Om(this));
1171
+ Tm(e);
1172
+ var r = xm($m(arguments.length > 1 ? arguments[1] : void 0, t.length)), i = Us(e);
1173
+ return Em(t, r, r + i.length) === i;
1141
1174
  }
1142
1175
  });
1143
- var lm = z, hm = Hi, vm = Oe.f, vi = lm("unscopables"), fi = Array.prototype;
1144
- fi[vi] === void 0 && vm(fi, vi, {
1176
+ var Cm = z, Am = Yi, Pm = Oe.f, fi = Cm("unscopables"), ci = Array.prototype;
1177
+ ci[fi] === void 0 && Pm(ci, fi, {
1145
1178
  configurable: !0,
1146
- value: hm(null)
1179
+ value: Am(null)
1147
1180
  });
1148
- var fm = function(a) {
1149
- fi[vi][a] = !0;
1150
- }, cm = k, gm = !cm(function() {
1181
+ var Rm = function(a) {
1182
+ ci[fi][a] = !0;
1183
+ }, Nm = D, Im = !Nm(function() {
1151
1184
  function a() {
1152
1185
  }
1153
1186
  return a.prototype.constructor = null, Object.getPrototypeOf(new a()) !== a.prototype;
1154
- }), dm = fe, pm = B, ym = Tr, mm = Ai, bm = gm, Bs = mm("IE_PROTO"), ci = Object, xm = ci.prototype, qu = bm ? ci.getPrototypeOf : function(a) {
1155
- var e = ym(a);
1156
- if (dm(e, Bs))
1157
- return e[Bs];
1187
+ }), Mm = fe, _m = B, Vm = Sr, Dm = Pi, Lm = Im, Gs = Dm("IE_PROTO"), gi = Object, km = gi.prototype, Ju = Lm ? gi.getPrototypeOf : function(a) {
1188
+ var e = Vm(a);
1189
+ if (Mm(e, Gs))
1190
+ return e[Gs];
1158
1191
  var t = e.constructor;
1159
- return pm(t) && e instanceof t ? t.prototype : e instanceof ci ? xm : null;
1160
- }, Tm = k, Om = B, Sm = ve, js = qu, Em = Ue, $m = z, gi = $m("iterator"), Qu = !1, ke, Pa, Ra;
1161
- [].keys && (Ra = [].keys(), "next" in Ra ? (Pa = js(js(Ra)), Pa !== Object.prototype && (ke = Pa)) : Qu = !0);
1162
- var wm = !Sm(ke) || Tm(function() {
1192
+ return _m(t) && e instanceof t ? t.prototype : e instanceof gi ? km : null;
1193
+ }, Bm = D, jm = B, Fm = ae, zs = Ju, Um = Ue, Gm = z, di = Gm("iterator"), el = !1, ke, Ra, Na;
1194
+ [].keys && (Na = [].keys(), "next" in Na ? (Ra = zs(zs(Na)), Ra !== Object.prototype && (ke = Ra)) : el = !0);
1195
+ var zm = !Fm(ke) || Bm(function() {
1163
1196
  var a = {};
1164
- return ke[gi].call(a) !== a;
1197
+ return ke[di].call(a) !== a;
1165
1198
  });
1166
- wm && (ke = {});
1167
- Om(ke[gi]) || Em(ke, gi, function() {
1199
+ zm && (ke = {});
1200
+ jm(ke[di]) || Um(ke, di, function() {
1168
1201
  return this;
1169
1202
  });
1170
- var Ku = {
1203
+ var tl = {
1171
1204
  IteratorPrototype: ke,
1172
- BUGGY_SAFARI_ITERATORS: Qu
1173
- }, Cm = Ku.IteratorPrototype, Am = Hi, Pm = Ti, Rm = Cr, Nm = Nt, Im = function() {
1205
+ BUGGY_SAFARI_ITERATORS: el
1206
+ }, Hm = tl.IteratorPrototype, Ym = Yi, Xm = Oi, Wm = Pr, qm = Rt, Qm = function() {
1174
1207
  return this;
1175
- }, Mm = function(a, e, t, r) {
1208
+ }, Km = function(a, e, t, r) {
1176
1209
  var i = e + " Iterator";
1177
- return a.prototype = Am(Cm, { next: Pm(+!r, t) }), Rm(a, i, !1), Nm[i] = Im, a;
1178
- }, _m = ee, Vm = Y, Zu = Sr, Dm = B, km = Mm, Fs = qu, Us = uu, Lm = Cr, Bm = At, Na = Ue, jm = z, Fm = Nt, Ju = Ku, Um = Zu.PROPER, Gm = Zu.CONFIGURABLE, Gs = Ju.IteratorPrototype, er = Ju.BUGGY_SAFARI_ITERATORS, gt = jm("iterator"), zs = "keys", dt = "values", Hs = "entries", zm = function() {
1210
+ return a.prototype = Ym(Hm, { next: Xm(+!r, t) }), Wm(a, i, !1), qm[i] = Qm, a;
1211
+ }, Zm = ee, Jm = Y, rl = $r, e0 = B, t0 = Km, Hs = Ju, Ys = vu, r0 = Pr, a0 = Ct, Ia = Ue, i0 = z, n0 = Rt, al = tl, s0 = rl.PROPER, o0 = rl.CONFIGURABLE, Xs = al.IteratorPrototype, tr = al.BUGGY_SAFARI_ITERATORS, ct = i0("iterator"), Ws = "keys", gt = "values", qs = "entries", u0 = function() {
1179
1212
  return this;
1180
- }, Hm = function(a, e, t, r, i, n, o) {
1181
- km(t, e, r);
1213
+ }, l0 = function(a, e, t, r, i, n, o) {
1214
+ t0(t, e, r);
1182
1215
  var s = function(y) {
1183
1216
  if (y === i && c)
1184
1217
  return c;
1185
- if (!er && y && y in h)
1218
+ if (!tr && y && y in h)
1186
1219
  return h[y];
1187
1220
  switch (y) {
1188
- case zs:
1221
+ case Ws:
1189
1222
  return function() {
1190
1223
  return new t(this, y);
1191
1224
  };
1192
- case dt:
1225
+ case gt:
1193
1226
  return function() {
1194
1227
  return new t(this, y);
1195
1228
  };
1196
- case Hs:
1229
+ case qs:
1197
1230
  return function() {
1198
1231
  return new t(this, y);
1199
1232
  };
@@ -1201,26 +1234,26 @@ var Ku = {
1201
1234
  return function() {
1202
1235
  return new t(this);
1203
1236
  };
1204
- }, u = e + " Iterator", l = !1, h = a.prototype, f = h[gt] || h["@@iterator"] || i && h[i], c = !er && f || s(i), v = e === "Array" && h.entries || f, d, g, p;
1205
- if (v && (d = Fs(v.call(new a())), d !== Object.prototype && d.next && (Fs(d) !== Gs && (Us ? Us(d, Gs) : Dm(d[gt]) || Na(d, gt, zm)), Lm(d, u, !0))), Um && i === dt && f && f.name !== dt && (Gm ? Bm(h, "name", dt) : (l = !0, c = function() {
1206
- return Vm(f, this);
1237
+ }, u = e + " Iterator", l = !1, h = a.prototype, f = h[ct] || h["@@iterator"] || i && h[i], c = !tr && f || s(i), v = e === "Array" && h.entries || f, g, d, p;
1238
+ if (v && (g = Hs(v.call(new a())), g !== Object.prototype && g.next && (Hs(g) !== Xs && (Ys ? Ys(g, Xs) : e0(g[ct]) || Ia(g, ct, u0)), r0(g, u, !0))), s0 && i === gt && f && f.name !== gt && (o0 ? a0(h, "name", gt) : (l = !0, c = function() {
1239
+ return Jm(f, this);
1207
1240
  })), i)
1208
- if (g = {
1209
- values: s(dt),
1210
- keys: n ? c : s(zs),
1211
- entries: s(Hs)
1241
+ if (d = {
1242
+ values: s(gt),
1243
+ keys: n ? c : s(Ws),
1244
+ entries: s(qs)
1212
1245
  }, o)
1213
- for (p in g)
1214
- (er || l || !(p in h)) && Na(h, p, g[p]);
1246
+ for (p in d)
1247
+ (tr || l || !(p in h)) && Ia(h, p, d[p]);
1215
1248
  else
1216
- _m({ target: e, proto: !0, forced: er || l }, g);
1217
- return h[gt] !== c && Na(h, gt, c, { name: i }), Fm[e] = c, g;
1218
- }, Ym = function(a, e) {
1249
+ Zm({ target: e, proto: !0, forced: tr || l }, d);
1250
+ return h[ct] !== c && Ia(h, ct, c, { name: i }), n0[e] = c, d;
1251
+ }, h0 = function(a, e) {
1219
1252
  return { value: a, done: e };
1220
- }, Xm = wt, en = fm, Ys = Nt, el = Er, Wm = Oe.f, qm = Hm, tr = Ym, Qm = le, tl = "Array Iterator", Km = el.set, Zm = el.getterFor(tl), Jm = qm(Array, "Array", function(a, e) {
1221
- Km(this, {
1222
- type: tl,
1223
- target: Xm(a),
1253
+ }, v0 = $t, rn = Rm, Qs = Rt, il = wr, f0 = Oe.f, c0 = l0, rr = h0, g0 = he, nl = "Array Iterator", d0 = il.set, p0 = il.getterFor(nl), y0 = c0(Array, "Array", function(a, e) {
1254
+ d0(this, {
1255
+ type: nl,
1256
+ target: v0(a),
1224
1257
  // target
1225
1258
  index: 0,
1226
1259
  // next index
@@ -1228,26 +1261,26 @@ var Ku = {
1228
1261
  // kind
1229
1262
  });
1230
1263
  }, function() {
1231
- var a = Zm(this), e = a.target, t = a.index++;
1264
+ var a = p0(this), e = a.target, t = a.index++;
1232
1265
  if (!e || t >= e.length)
1233
- return a.target = null, tr(void 0, !0);
1266
+ return a.target = null, rr(void 0, !0);
1234
1267
  switch (a.kind) {
1235
1268
  case "keys":
1236
- return tr(t, !1);
1269
+ return rr(t, !1);
1237
1270
  case "values":
1238
- return tr(e[t], !1);
1239
- }
1240
- return tr([t, e[t]], !1);
1241
- }, "values"), Xs = Ys.Arguments = Ys.Array;
1242
- en("keys");
1243
- en("values");
1244
- en("entries");
1245
- if (Qm && Xs.name !== "values")
1271
+ return rr(e[t], !1);
1272
+ }
1273
+ return rr([t, e[t]], !1);
1274
+ }, "values"), Ks = Qs.Arguments = Qs.Array;
1275
+ rn("keys");
1276
+ rn("values");
1277
+ rn("entries");
1278
+ if (g0 && Ks.name !== "values")
1246
1279
  try {
1247
- Wm(Xs, "name", { value: "values" });
1280
+ f0(Ks, "name", { value: "values" });
1248
1281
  } catch (a) {
1249
1282
  }
1250
- var e0 = {
1283
+ var m0 = {
1251
1284
  CSSRuleList: 0,
1252
1285
  CSSStyleDeclaration: 0,
1253
1286
  CSSValueList: 0,
@@ -1279,57 +1312,57 @@ var e0 = {
1279
1312
  TextTrackCueList: 0,
1280
1313
  TextTrackList: 0,
1281
1314
  TouchList: 0
1282
- }, t0 = Or, Ia = t0("span").classList, Ws = Ia && Ia.constructor && Ia.constructor.prototype, r0 = Ws === Object.prototype ? void 0 : Ws, qs = V, rl = e0, a0 = r0, yt = Jm, Qs = At, i0 = Cr, n0 = z, Ma = n0("iterator"), _a = yt.values, al = function(a, e) {
1315
+ }, b0 = Er, Ma = b0("span").classList, Zs = Ma && Ma.constructor && Ma.constructor.prototype, x0 = Zs === Object.prototype ? void 0 : Zs, Js = _, sl = m0, T0 = x0, pt = y0, eo = Ct, O0 = Pr, S0 = z, _a = S0("iterator"), Va = pt.values, ol = function(a, e) {
1283
1316
  if (a) {
1284
- if (a[Ma] !== _a)
1317
+ if (a[_a] !== Va)
1285
1318
  try {
1286
- Qs(a, Ma, _a);
1319
+ eo(a, _a, Va);
1287
1320
  } catch (r) {
1288
- a[Ma] = _a;
1321
+ a[_a] = Va;
1289
1322
  }
1290
- if (i0(a, e, !0), rl[e]) {
1291
- for (var t in yt)
1292
- if (a[t] !== yt[t])
1323
+ if (O0(a, e, !0), sl[e]) {
1324
+ for (var t in pt)
1325
+ if (a[t] !== pt[t])
1293
1326
  try {
1294
- Qs(a, t, yt[t]);
1327
+ eo(a, t, pt[t]);
1295
1328
  } catch (r) {
1296
- a[t] = yt[t];
1329
+ a[t] = pt[t];
1297
1330
  }
1298
1331
  }
1299
1332
  }
1300
1333
  };
1301
- for (var Va in rl)
1302
- al(qs[Va] && qs[Va].prototype, Va);
1303
- al(a0, "DOMTokenList");
1304
- function s0(a, e) {
1305
- if (za(a) != "object" || !a)
1334
+ for (var Da in sl)
1335
+ ol(Js[Da] && Js[Da].prototype, Da);
1336
+ ol(T0, "DOMTokenList");
1337
+ function E0(a, e) {
1338
+ if (Ha(a) != "object" || !a)
1306
1339
  return a;
1307
1340
  var t = a[Symbol.toPrimitive];
1308
1341
  if (t !== void 0) {
1309
1342
  var r = t.call(a, e || "default");
1310
- if (za(r) != "object")
1343
+ if (Ha(r) != "object")
1311
1344
  return r;
1312
1345
  throw new TypeError("@@toPrimitive must return a primitive value.");
1313
1346
  }
1314
1347
  return (e === "string" ? String : Number)(a);
1315
1348
  }
1316
- function o0(a) {
1317
- var e = s0(a, "string");
1318
- return za(e) == "symbol" ? e : e + "";
1349
+ function $0(a) {
1350
+ var e = E0(a, "string");
1351
+ return Ha(e) == "symbol" ? e : e + "";
1319
1352
  }
1320
- function tn(a, e, t) {
1321
- return (e = o0(e)) in a ? Object.defineProperty(a, e, {
1353
+ function an(a, e, t) {
1354
+ return (e = $0(e)) in a ? Object.defineProperty(a, e, {
1322
1355
  value: t,
1323
1356
  enumerable: !0,
1324
1357
  configurable: !0,
1325
1358
  writable: !0
1326
1359
  }) : a[e] = t, a;
1327
1360
  }
1328
- var u0 = Te, l0 = Tr, h0 = Fo, v0 = Ni, Ks = TypeError, Zs = "Reduce of empty array with no initial value", Js = function(a) {
1361
+ var w0 = Te, C0 = Sr, A0 = zo, P0 = Ii, to = TypeError, ro = "Reduce of empty array with no initial value", ao = function(a) {
1329
1362
  return function(e, t, r, i) {
1330
- var n = l0(e), o = h0(n), s = v0(n);
1331
- if (u0(t), s === 0 && r < 2)
1332
- throw new Ks(Zs);
1363
+ var n = C0(e), o = A0(n), s = P0(n);
1364
+ if (w0(t), s === 0 && r < 2)
1365
+ throw new to(ro);
1333
1366
  var u = a ? s - 1 : 0, l = a ? -1 : 1;
1334
1367
  if (r < 2)
1335
1368
  for (; ; ) {
@@ -1338,65 +1371,65 @@ var u0 = Te, l0 = Tr, h0 = Fo, v0 = Ni, Ks = TypeError, Zs = "Reduce of empty ar
1338
1371
  break;
1339
1372
  }
1340
1373
  if (u += l, a ? u < 0 : s <= u)
1341
- throw new Ks(Zs);
1374
+ throw new to(ro);
1342
1375
  }
1343
1376
  for (; a ? u >= 0 : s > u; u += l)
1344
1377
  u in o && (i = t(i, o[u], u, n));
1345
1378
  return i;
1346
1379
  };
1347
- }, f0 = {
1380
+ }, R0 = {
1348
1381
  // `Array.prototype.reduce` method
1349
1382
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
1350
- left: Js(!1),
1383
+ left: ao(!1),
1351
1384
  // `Array.prototype.reduceRight` method
1352
1385
  // https://tc39.es/ecma262/#sec-array.prototype.reduceright
1353
- right: Js(!0)
1354
- }, c0 = k, il = function(a, e) {
1386
+ right: ao(!0)
1387
+ }, N0 = D, ul = function(a, e) {
1355
1388
  var t = [][a];
1356
- return !!t && c0(function() {
1389
+ return !!t && N0(function() {
1357
1390
  t.call(null, e || function() {
1358
1391
  return 1;
1359
1392
  }, 1);
1360
1393
  });
1361
- }, g0 = ee, d0 = f0.left, p0 = il, eo = Oi, y0 = wr, m0 = !y0 && eo > 79 && eo < 83, b0 = m0 || !p0("reduce");
1362
- g0({ target: "Array", proto: !0, forced: b0 }, {
1394
+ }, I0 = ee, M0 = R0.left, _0 = ul, io = Si, V0 = Ar, D0 = !V0 && io > 79 && io < 83, L0 = D0 || !_0("reduce");
1395
+ I0({ target: "Array", proto: !0, forced: L0 }, {
1363
1396
  reduce: function(e) {
1364
1397
  var t = arguments.length;
1365
- return d0(this, e, t, t > 1 ? arguments[1] : void 0);
1398
+ return M0(this, e, t, t > 1 ? arguments[1] : void 0);
1366
1399
  }
1367
1400
  });
1368
- var x0 = ee, T0 = Ar, O0 = $t.f, S0 = ut, to = pe, E0 = Zi, $0 = he, w0 = Ji, C0 = T0("".slice), A0 = Math.min, nl = w0("endsWith"), P0 = !nl && !!function() {
1369
- var a = O0(String.prototype, "endsWith");
1401
+ var k0 = ee, B0 = Rr, j0 = Et.f, F0 = ot, no = pe, U0 = en, G0 = ve, z0 = tn, H0 = B0("".slice), Y0 = Math.min, ll = z0("endsWith"), X0 = !ll && !!function() {
1402
+ var a = j0(String.prototype, "endsWith");
1370
1403
  return a && !a.writable;
1371
1404
  }();
1372
- x0({ target: "String", proto: !0, forced: !P0 && !nl }, {
1405
+ k0({ target: "String", proto: !0, forced: !X0 && !ll }, {
1373
1406
  endsWith: function(e) {
1374
- var t = to($0(this));
1375
- E0(e);
1376
- var r = arguments.length > 1 ? arguments[1] : void 0, i = t.length, n = r === void 0 ? i : A0(S0(r), i), o = to(e);
1377
- return C0(t, n - o.length, n) === o;
1407
+ var t = no(G0(this));
1408
+ U0(e);
1409
+ var r = arguments.length > 1 ? arguments[1] : void 0, i = t.length, n = r === void 0 ? i : Y0(F0(r), i), o = no(e);
1410
+ return H0(t, n - o.length, n) === o;
1378
1411
  }
1379
1412
  });
1380
- var Da = Y, sl = L, R0 = Xi, N0 = J, I0 = je, M0 = he, _0 = gu, V0 = qi, D0 = ut, ro = pe, k0 = ot, ao = Qi, L0 = Uu, B0 = k, qe = L0.UNSUPPORTED_Y, j0 = 4294967295, F0 = Math.min, ka = sl([].push), La = sl("".slice), U0 = !B0(function() {
1413
+ var La = Y, hl = L, W0 = Wi, q0 = J, Q0 = ae, K0 = ve, Z0 = yu, J0 = Qi, eb = ot, so = pe, tb = st, oo = Zi, rb = Yu, ab = D, We = rb.UNSUPPORTED_Y, ib = 4294967295, nb = Math.min, ka = hl([].push), Ba = hl("".slice), sb = !ab(function() {
1381
1414
  var a = /(?:)/, e = a.exec;
1382
1415
  a.exec = function() {
1383
1416
  return e.apply(this, arguments);
1384
1417
  };
1385
1418
  var t = "ab".split(a);
1386
1419
  return t.length !== 2 || t[0] !== "a" || t[1] !== "b";
1387
- }), io = "abbc".split(/(b)*/)[1] === "c" || // eslint-disable-next-line regexp/no-empty-group -- required for testing
1420
+ }), uo = "abbc".split(/(b)*/)[1] === "c" || // eslint-disable-next-line regexp/no-empty-group -- required for testing
1388
1421
  "test".split(/(?:)/, -1).length !== 4 || "ab".split(/(?:ab)*/).length !== 2 || ".".split(/(.?)(.?)/).length !== 4 || // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
1389
1422
  ".".split(/()()/).length > 1 || "".split(/.?/).length;
1390
- R0("split", function(a, e, t) {
1423
+ W0("split", function(a, e, t) {
1391
1424
  var r = "0".split(void 0, 0).length ? function(i, n) {
1392
- return i === void 0 && n === 0 ? [] : Da(e, this, i, n);
1425
+ return i === void 0 && n === 0 ? [] : La(e, this, i, n);
1393
1426
  } : e;
1394
1427
  return [
1395
1428
  // `String.prototype.split` method
1396
1429
  // https://tc39.es/ecma262/#sec-string.prototype.split
1397
1430
  function(n, o) {
1398
- var s = M0(this), u = I0(n) ? void 0 : k0(n, a);
1399
- return u ? Da(u, n, s, o) : Da(r, ro(s), n, o);
1431
+ var s = K0(this), u = Q0(n) ? tb(n, a) : void 0;
1432
+ return u ? La(u, n, s, o) : La(r, so(s), n, o);
1400
1433
  },
1401
1434
  // `RegExp.prototype[@@split]` method
1402
1435
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@split
@@ -1404,66 +1437,66 @@ R0("split", function(a, e, t) {
1404
1437
  // NOTE: This cannot be properly polyfilled in engines that don't support
1405
1438
  // the 'y' flag.
1406
1439
  function(i, n) {
1407
- var o = N0(this), s = ro(i);
1408
- if (!io) {
1440
+ var o = q0(this), s = so(i);
1441
+ if (!uo) {
1409
1442
  var u = t(r, o, s, n, r !== e);
1410
1443
  if (u.done)
1411
1444
  return u.value;
1412
1445
  }
1413
- var l = _0(o, RegExp), h = o.unicode, f = (o.ignoreCase ? "i" : "") + (o.multiline ? "m" : "") + (o.unicode ? "u" : "") + (qe ? "g" : "y"), c = new l(qe ? "^(?:" + o.source + ")" : o, f), v = n === void 0 ? j0 : n >>> 0;
1446
+ var l = Z0(o, RegExp), h = o.unicode, f = (o.ignoreCase ? "i" : "") + (o.multiline ? "m" : "") + (o.unicode ? "u" : "") + (We ? "g" : "y"), c = new l(We ? "^(?:" + o.source + ")" : o, f), v = n === void 0 ? ib : n >>> 0;
1414
1447
  if (v === 0)
1415
1448
  return [];
1416
1449
  if (s.length === 0)
1417
- return ao(c, s) === null ? [s] : [];
1418
- for (var d = 0, g = 0, p = []; g < s.length; ) {
1419
- c.lastIndex = qe ? 0 : g;
1420
- var y = ao(c, qe ? La(s, g) : s), x;
1421
- if (y === null || (x = F0(D0(c.lastIndex + (qe ? g : 0)), s.length)) === d)
1422
- g = V0(s, g, h);
1450
+ return oo(c, s) === null ? [s] : [];
1451
+ for (var g = 0, d = 0, p = []; d < s.length; ) {
1452
+ c.lastIndex = We ? 0 : d;
1453
+ var y = oo(c, We ? Ba(s, d) : s), x;
1454
+ if (y === null || (x = nb(eb(c.lastIndex + (We ? d : 0)), s.length)) === g)
1455
+ d = J0(s, d, h);
1423
1456
  else {
1424
- if (ka(p, La(s, d, g)), p.length === v)
1457
+ if (ka(p, Ba(s, g, d)), p.length === v)
1425
1458
  return p;
1426
1459
  for (var b = 1; b <= y.length - 1; b++)
1427
1460
  if (ka(p, y[b]), p.length === v)
1428
1461
  return p;
1429
- g = d = x;
1462
+ d = g = x;
1430
1463
  }
1431
1464
  }
1432
- return ka(p, La(s, d)), p;
1465
+ return ka(p, Ba(s, g)), p;
1433
1466
  }
1434
1467
  ];
1435
- }, io || !U0, qe);
1436
- var Mr = { exports: {} }, mt = { exports: {} };
1468
+ }, uo || !sb, We);
1469
+ var Vr = { exports: {} }, yt = { exports: {} };
1437
1470
  (function() {
1438
1471
  var a, e, t, r, i, n;
1439
- typeof performance != "undefined" && performance !== null && performance.now ? mt.exports = function() {
1472
+ typeof performance != "undefined" && performance !== null && performance.now ? yt.exports = function() {
1440
1473
  return performance.now();
1441
- } : typeof process != "undefined" && process !== null && process.hrtime ? (mt.exports = function() {
1474
+ } : typeof process != "undefined" && process !== null && process.hrtime ? (yt.exports = function() {
1442
1475
  return (a() - i) / 1e6;
1443
1476
  }, e = process.hrtime, a = function() {
1444
1477
  var o;
1445
1478
  return o = e(), o[0] * 1e9 + o[1];
1446
- }, r = a(), n = process.uptime() * 1e9, i = r - n) : Date.now ? (mt.exports = function() {
1479
+ }, r = a(), n = process.uptime() * 1e9, i = r - n) : Date.now ? (yt.exports = function() {
1447
1480
  return Date.now() - t;
1448
- }, t = Date.now()) : (mt.exports = function() {
1481
+ }, t = Date.now()) : (yt.exports = function() {
1449
1482
  return (/* @__PURE__ */ new Date()).getTime() - t;
1450
1483
  }, t = (/* @__PURE__ */ new Date()).getTime());
1451
- }).call(Ke);
1452
- var G0 = mt.exports, z0 = G0, be = typeof window == "undefined" ? Ke : window, rr = ["moz", "webkit"], rt = "AnimationFrame", st = be["request" + rt], Et = be["cancel" + rt] || be["cancelRequest" + rt];
1453
- for (var pt = 0; !st && pt < rr.length; pt++)
1454
- st = be[rr[pt] + "Request" + rt], Et = be[rr[pt] + "Cancel" + rt] || be[rr[pt] + "CancelRequest" + rt];
1455
- if (!st || !Et) {
1456
- var Ba = 0, no = 0, Me = [], H0 = 1e3 / 60;
1457
- st = function(a) {
1458
- if (Me.length === 0) {
1459
- var e = z0(), t = Math.max(0, H0 - (e - Ba));
1460
- Ba = t + e, setTimeout(function() {
1461
- var r = Me.slice(0);
1462
- Me.length = 0;
1484
+ }).call(Qe);
1485
+ var ob = yt.exports, ub = ob, be = typeof window == "undefined" ? Qe : window, ar = ["moz", "webkit"], tt = "AnimationFrame", nt = be["request" + tt], St = be["cancel" + tt] || be["cancelRequest" + tt];
1486
+ for (var dt = 0; !nt && dt < ar.length; dt++)
1487
+ nt = be[ar[dt] + "Request" + tt], St = be[ar[dt] + "Cancel" + tt] || be[ar[dt] + "CancelRequest" + tt];
1488
+ if (!nt || !St) {
1489
+ var ja = 0, lo = 0, _e = [], lb = 1e3 / 60;
1490
+ nt = function(a) {
1491
+ if (_e.length === 0) {
1492
+ var e = ub(), t = Math.max(0, lb - (e - ja));
1493
+ ja = t + e, setTimeout(function() {
1494
+ var r = _e.slice(0);
1495
+ _e.length = 0;
1463
1496
  for (var i = 0; i < r.length; i++)
1464
1497
  if (!r[i].cancelled)
1465
1498
  try {
1466
- r[i].callback(Ba);
1499
+ r[i].callback(ja);
1467
1500
  } catch (n) {
1468
1501
  setTimeout(function() {
1469
1502
  throw n;
@@ -1471,54 +1504,54 @@ if (!st || !Et) {
1471
1504
  }
1472
1505
  }, Math.round(t));
1473
1506
  }
1474
- return Me.push({
1475
- handle: ++no,
1507
+ return _e.push({
1508
+ handle: ++lo,
1476
1509
  callback: a,
1477
1510
  cancelled: !1
1478
- }), no;
1479
- }, Et = function(a) {
1480
- for (var e = 0; e < Me.length; e++)
1481
- Me[e].handle === a && (Me[e].cancelled = !0);
1511
+ }), lo;
1512
+ }, St = function(a) {
1513
+ for (var e = 0; e < _e.length; e++)
1514
+ _e[e].handle === a && (_e[e].cancelled = !0);
1482
1515
  };
1483
1516
  }
1484
- Mr.exports = function(a) {
1485
- return st.call(be, a);
1517
+ Vr.exports = function(a) {
1518
+ return nt.call(be, a);
1486
1519
  };
1487
- Mr.exports.cancel = function() {
1488
- Et.apply(be, arguments);
1520
+ Vr.exports.cancel = function() {
1521
+ St.apply(be, arguments);
1489
1522
  };
1490
- Mr.exports.polyfill = function(a) {
1491
- a || (a = be), a.requestAnimationFrame = st, a.cancelAnimationFrame = Et;
1523
+ Vr.exports.polyfill = function(a) {
1524
+ a || (a = be), a.requestAnimationFrame = nt, a.cancelAnimationFrame = St;
1492
1525
  };
1493
- var Y0 = Mr.exports;
1494
- const ja = /* @__PURE__ */ _o(Y0);
1495
- var ol = `
1496
- \v\f\r                 \u2028\u2029\uFEFF`, X0 = L, W0 = he, q0 = pe, di = ol, so = X0("".replace), Q0 = RegExp("^[" + di + "]+"), K0 = RegExp("(^|[^" + di + "])[" + di + "]+$"), Fa = function(a) {
1526
+ var hb = Vr.exports;
1527
+ const Fa = /* @__PURE__ */ Lo(hb);
1528
+ var vl = `
1529
+ \v\f\r                 \u2028\u2029\uFEFF`, vb = L, fb = ve, cb = pe, pi = vl, ho = vb("".replace), gb = RegExp("^[" + pi + "]+"), db = RegExp("(^|[^" + pi + "])[" + pi + "]+$"), Ua = function(a) {
1497
1530
  return function(e) {
1498
- var t = q0(W0(e));
1499
- return a & 1 && (t = so(t, Q0, "")), a & 2 && (t = so(t, K0, "$1")), t;
1531
+ var t = cb(fb(e));
1532
+ return a & 1 && (t = ho(t, gb, "")), a & 2 && (t = ho(t, db, "$1")), t;
1500
1533
  };
1501
- }, Z0 = {
1534
+ }, pb = {
1502
1535
  // `String.prototype.{ trimLeft, trimStart }` methods
1503
1536
  // https://tc39.es/ecma262/#sec-string.prototype.trimstart
1504
- start: Fa(1),
1537
+ start: Ua(1),
1505
1538
  // `String.prototype.{ trimRight, trimEnd }` methods
1506
1539
  // https://tc39.es/ecma262/#sec-string.prototype.trimend
1507
- end: Fa(2),
1540
+ end: Ua(2),
1508
1541
  // `String.prototype.trim` method
1509
1542
  // https://tc39.es/ecma262/#sec-string.prototype.trim
1510
- trim: Fa(3)
1511
- }, J0 = Sr.PROPER, eb = k, oo = ol, uo = "​…᠎", tb = function(a) {
1512
- return eb(function() {
1513
- return !!oo[a]() || uo[a]() !== uo || J0 && oo[a].name !== a;
1543
+ trim: Ua(3)
1544
+ }, yb = $r.PROPER, mb = D, vo = vl, fo = "​…᠎", bb = function(a) {
1545
+ return mb(function() {
1546
+ return !!vo[a]() || fo[a]() !== fo || yb && vo[a].name !== a;
1514
1547
  });
1515
- }, rb = ee, ab = Z0.trim, ib = tb;
1516
- rb({ target: "String", proto: !0, forced: ib("trim") }, {
1548
+ }, xb = ee, Tb = pb.trim, Ob = bb;
1549
+ xb({ target: "String", proto: !0, forced: Ob("trim") }, {
1517
1550
  trim: function() {
1518
- return ab(this);
1551
+ return Tb(this);
1519
1552
  }
1520
1553
  });
1521
- var nb = function(a) {
1554
+ var Sb = function(a) {
1522
1555
  this.ok = !1, this.alpha = 1, a.charAt(0) == "#" && (a = a.substr(1, 6)), a = a.replace(/ /g, ""), a = a.toLowerCase();
1523
1556
  var e = {
1524
1557
  aliceblue: "f0f8ff",
@@ -1737,41 +1770,41 @@ var nb = function(a) {
1737
1770
  v.setAttribute("id", "rgbcolor-examples");
1738
1771
  for (var l = 0; l < u.length; l++)
1739
1772
  try {
1740
- var d = document.createElement("li"), g = new RGBColor(u[l]), p = document.createElement("div");
1741
- p.style.cssText = "margin: 3px; border: 1px solid black; background:" + g.toHex() + "; color:" + g.toHex(), p.appendChild(document.createTextNode("test"));
1773
+ var g = document.createElement("li"), d = new RGBColor(u[l]), p = document.createElement("div");
1774
+ p.style.cssText = "margin: 3px; border: 1px solid black; background:" + d.toHex() + "; color:" + d.toHex(), p.appendChild(document.createTextNode("test"));
1742
1775
  var y = document.createTextNode(
1743
- " " + u[l] + " -> " + g.toRGB() + " -> " + g.toHex()
1776
+ " " + u[l] + " -> " + d.toRGB() + " -> " + d.toHex()
1744
1777
  );
1745
- d.appendChild(p), d.appendChild(y), v.appendChild(d);
1778
+ g.appendChild(p), g.appendChild(y), v.appendChild(g);
1746
1779
  } catch (b) {
1747
1780
  }
1748
1781
  return v;
1749
1782
  };
1750
1783
  };
1751
- const pi = /* @__PURE__ */ _o(nb);
1752
- var sb = ee, ob = Ar, ub = au.indexOf, lb = il, yi = ob([].indexOf), ul = !!yi && 1 / yi([1], 1, -0) < 0, hb = ul || !lb("indexOf");
1753
- sb({ target: "Array", proto: !0, forced: hb }, {
1784
+ const yi = /* @__PURE__ */ Lo(Sb);
1785
+ var Eb = ee, $b = Rr, wb = su.indexOf, Cb = ul, mi = $b([].indexOf), fl = !!mi && 1 / mi([1], 1, -0) < 0, Ab = fl || !Cb("indexOf");
1786
+ Eb({ target: "Array", proto: !0, forced: Ab }, {
1754
1787
  indexOf: function(e) {
1755
1788
  var t = arguments.length > 1 ? arguments[1] : void 0;
1756
- return ul ? yi(this, e, t) || 0 : ub(this, e, t);
1789
+ return fl ? mi(this, e, t) || 0 : wb(this, e, t);
1757
1790
  }
1758
1791
  });
1759
- var vb = ee, fb = L, cb = Zi, gb = he, lo = pe, db = Ji, pb = fb("".indexOf);
1760
- vb({ target: "String", proto: !0, forced: !db("includes") }, {
1792
+ var Pb = ee, Rb = L, Nb = en, Ib = ve, co = pe, Mb = tn, _b = Rb("".indexOf);
1793
+ Pb({ target: "String", proto: !0, forced: !Mb("includes") }, {
1761
1794
  includes: function(e) {
1762
- return !!~pb(
1763
- lo(gb(this)),
1764
- lo(cb(e)),
1795
+ return !!~_b(
1796
+ co(Ib(this)),
1797
+ co(Nb(e)),
1765
1798
  arguments.length > 1 ? arguments[1] : void 0
1766
1799
  );
1767
1800
  }
1768
1801
  });
1769
- var yb = Be, mb = Array.isArray || function(e) {
1770
- return yb(e) === "Array";
1771
- }, bb = ee, xb = L, Tb = mb, Ob = xb([].reverse), ho = [1, 2];
1772
- bb({ target: "Array", proto: !0, forced: String(ho) === String(ho.reverse()) }, {
1802
+ var Vb = je, Db = Array.isArray || function(e) {
1803
+ return Vb(e) === "Array";
1804
+ }, Lb = ee, kb = L, Bb = Db, jb = kb([].reverse), go = [1, 2];
1805
+ Lb({ target: "Array", proto: !0, forced: String(go) === String(go.reverse()) }, {
1773
1806
  reverse: function() {
1774
- return Tb(this) && (this.length = this.length), Ob(this);
1807
+ return Bb(this) && (this.length = this.length), jb(this);
1775
1808
  }
1776
1809
  });
1777
1810
  /*! *****************************************************************************
@@ -1788,23 +1821,23 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1788
1821
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1789
1822
  PERFORMANCE OF THIS SOFTWARE.
1790
1823
  ***************************************************************************** */
1791
- var ll = function(a, e) {
1792
- return (ll = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, r) {
1824
+ var cl = function(a, e) {
1825
+ return (cl = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, r) {
1793
1826
  t.__proto__ = r;
1794
1827
  } || function(t, r) {
1795
1828
  for (var i in r)
1796
1829
  Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
1797
1830
  })(a, e);
1798
1831
  };
1799
- function hl(a, e) {
1832
+ function gl(a, e) {
1800
1833
  if (typeof e != "function" && e !== null)
1801
1834
  throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
1802
1835
  function t() {
1803
1836
  this.constructor = a;
1804
1837
  }
1805
- ll(a, e), a.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
1838
+ cl(a, e), a.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
1806
1839
  }
1807
- function Sb(a) {
1840
+ function Fb(a) {
1808
1841
  var e = "";
1809
1842
  Array.isArray(a) || (a = [a]);
1810
1843
  for (var t = 0; t < a.length; t++) {
@@ -1835,11 +1868,11 @@ function Sb(a) {
1835
1868
  }
1836
1869
  return e;
1837
1870
  }
1838
- function mi(a, e) {
1871
+ function bi(a, e) {
1839
1872
  var t = a[0], r = a[1];
1840
1873
  return [t * Math.cos(e) - r * Math.sin(e), t * Math.sin(e) + r * Math.cos(e)];
1841
1874
  }
1842
- function oe() {
1875
+ function ue() {
1843
1876
  for (var a = [], e = 0; e < arguments.length; e++)
1844
1877
  a[e] = arguments[e];
1845
1878
  for (var t = 0; t < a.length; t++)
@@ -1848,17 +1881,17 @@ function oe() {
1848
1881
  return !0;
1849
1882
  }
1850
1883
  var Ee = Math.PI;
1851
- function Ua(a, e, t) {
1884
+ function Ga(a, e, t) {
1852
1885
  a.lArcFlag = a.lArcFlag === 0 ? 0 : 1, a.sweepFlag = a.sweepFlag === 0 ? 0 : 1;
1853
1886
  var r = a.rX, i = a.rY, n = a.x, o = a.y;
1854
1887
  r = Math.abs(a.rX), i = Math.abs(a.rY);
1855
- var s = mi([(e - n) / 2, (t - o) / 2], -a.xRot / 180 * Ee), u = s[0], l = s[1], h = Math.pow(u, 2) / Math.pow(r, 2) + Math.pow(l, 2) / Math.pow(i, 2);
1888
+ var s = bi([(e - n) / 2, (t - o) / 2], -a.xRot / 180 * Ee), u = s[0], l = s[1], h = Math.pow(u, 2) / Math.pow(r, 2) + Math.pow(l, 2) / Math.pow(i, 2);
1856
1889
  1 < h && (r *= Math.sqrt(h), i *= Math.sqrt(h)), a.rX = r, a.rY = i;
1857
- var f = Math.pow(r, 2) * Math.pow(l, 2) + Math.pow(i, 2) * Math.pow(u, 2), c = (a.lArcFlag !== a.sweepFlag ? 1 : -1) * Math.sqrt(Math.max(0, (Math.pow(r, 2) * Math.pow(i, 2) - f) / f)), v = r * l / i * c, d = -i * u / r * c, g = mi([v, d], a.xRot / 180 * Ee);
1858
- a.cX = g[0] + (e + n) / 2, a.cY = g[1] + (t + o) / 2, a.phi1 = Math.atan2((l - d) / i, (u - v) / r), a.phi2 = Math.atan2((-l - d) / i, (-u - v) / r), a.sweepFlag === 0 && a.phi2 > a.phi1 && (a.phi2 -= 2 * Ee), a.sweepFlag === 1 && a.phi2 < a.phi1 && (a.phi2 += 2 * Ee), a.phi1 *= 180 / Ee, a.phi2 *= 180 / Ee;
1890
+ var f = Math.pow(r, 2) * Math.pow(l, 2) + Math.pow(i, 2) * Math.pow(u, 2), c = (a.lArcFlag !== a.sweepFlag ? 1 : -1) * Math.sqrt(Math.max(0, (Math.pow(r, 2) * Math.pow(i, 2) - f) / f)), v = r * l / i * c, g = -i * u / r * c, d = bi([v, g], a.xRot / 180 * Ee);
1891
+ a.cX = d[0] + (e + n) / 2, a.cY = d[1] + (t + o) / 2, a.phi1 = Math.atan2((l - g) / i, (u - v) / r), a.phi2 = Math.atan2((-l - g) / i, (-u - v) / r), a.sweepFlag === 0 && a.phi2 > a.phi1 && (a.phi2 -= 2 * Ee), a.sweepFlag === 1 && a.phi2 < a.phi1 && (a.phi2 += 2 * Ee), a.phi1 *= 180 / Ee, a.phi2 *= 180 / Ee;
1859
1892
  }
1860
- function vo(a, e, t) {
1861
- oe(a, e, t);
1893
+ function po(a, e, t) {
1894
+ ue(a, e, t);
1862
1895
  var r = a * a + e * e - t * t;
1863
1896
  if (0 > r)
1864
1897
  return [];
@@ -1868,13 +1901,13 @@ function vo(a, e, t) {
1868
1901
  return [[(a * t + e * i) / (a * a + e * e), (e * t - a * i) / (a * a + e * e)], [(a * t - e * i) / (a * a + e * e), (e * t + a * i) / (a * a + e * e)]];
1869
1902
  }
1870
1903
  var U, ye = Math.PI / 180;
1871
- function fo(a, e, t) {
1904
+ function yo(a, e, t) {
1872
1905
  return (1 - t) * a + t * e;
1873
1906
  }
1874
- function co(a, e, t, r) {
1907
+ function mo(a, e, t, r) {
1875
1908
  return a + Math.cos(r / 180 * Ee) * e + Math.sin(r / 180 * Ee) * t;
1876
1909
  }
1877
- function go(a, e, t, r) {
1910
+ function bo(a, e, t, r) {
1878
1911
  var i = 1e-6, n = e - a, o = t - e, s = 3 * n + 3 * (r - t) - 6 * o, u = 6 * (o - n), l = 3 * n;
1879
1912
  return Math.abs(s) < i ? [-l / u] : function(h, f, c) {
1880
1913
  c === void 0 && (c = 1e-6);
@@ -1883,11 +1916,11 @@ function go(a, e, t, r) {
1883
1916
  return [];
1884
1917
  if (v <= c)
1885
1918
  return [-h / 2];
1886
- var d = Math.sqrt(v);
1887
- return [-h / 2 - d, -h / 2 + d];
1919
+ var g = Math.sqrt(v);
1920
+ return [-h / 2 - g, -h / 2 + g];
1888
1921
  }(u / s, l / s, i);
1889
1922
  }
1890
- function po(a, e, t, r, i) {
1923
+ function xo(a, e, t, r, i) {
1891
1924
  var n = 1 - i;
1892
1925
  return a * (n * n * n) + e * (3 * n * n * i) + t * (3 * n * i * i) + r * (i * i * i);
1893
1926
  }
@@ -1925,19 +1958,19 @@ function po(a, e, t, r, i) {
1925
1958
  };
1926
1959
  }
1927
1960
  function n(s, u, l, h, f, c) {
1928
- return oe(s, u, l, h, f, c), i(function(v, d, g, p) {
1929
- var y = v.x1, x = v.x2, b = v.relative && !isNaN(p), T = v.x !== void 0 ? v.x : b ? 0 : d, $ = v.y !== void 0 ? v.y : b ? 0 : g;
1930
- function E(ne) {
1931
- return ne * ne;
1961
+ return ue(s, u, l, h, f, c), i(function(v, g, d, p) {
1962
+ var y = v.x1, x = v.x2, b = v.relative && !isNaN(p), T = v.x !== void 0 ? v.x : b ? 0 : g, $ = v.y !== void 0 ? v.y : b ? 0 : d;
1963
+ function E(se) {
1964
+ return se * se;
1932
1965
  }
1933
- v.type & m.HORIZ_LINE_TO && u !== 0 && (v.type = m.LINE_TO, v.y = v.relative ? 0 : g), v.type & m.VERT_LINE_TO && l !== 0 && (v.type = m.LINE_TO, v.x = v.relative ? 0 : d), v.x !== void 0 && (v.x = v.x * s + $ * l + (b ? 0 : f)), v.y !== void 0 && (v.y = T * u + v.y * h + (b ? 0 : c)), v.x1 !== void 0 && (v.x1 = v.x1 * s + v.y1 * l + (b ? 0 : f)), v.y1 !== void 0 && (v.y1 = y * u + v.y1 * h + (b ? 0 : c)), v.x2 !== void 0 && (v.x2 = v.x2 * s + v.y2 * l + (b ? 0 : f)), v.y2 !== void 0 && (v.y2 = x * u + v.y2 * h + (b ? 0 : c));
1966
+ v.type & m.HORIZ_LINE_TO && u !== 0 && (v.type = m.LINE_TO, v.y = v.relative ? 0 : d), v.type & m.VERT_LINE_TO && l !== 0 && (v.type = m.LINE_TO, v.x = v.relative ? 0 : g), v.x !== void 0 && (v.x = v.x * s + $ * l + (b ? 0 : f)), v.y !== void 0 && (v.y = T * u + v.y * h + (b ? 0 : c)), v.x1 !== void 0 && (v.x1 = v.x1 * s + v.y1 * l + (b ? 0 : f)), v.y1 !== void 0 && (v.y1 = y * u + v.y1 * h + (b ? 0 : c)), v.x2 !== void 0 && (v.x2 = v.x2 * s + v.y2 * l + (b ? 0 : f)), v.y2 !== void 0 && (v.y2 = x * u + v.y2 * h + (b ? 0 : c));
1934
1967
  var O = s * h - u * l;
1935
1968
  if (v.xRot !== void 0 && (s !== 1 || u !== 0 || l !== 0 || h !== 1))
1936
1969
  if (O === 0)
1937
1970
  delete v.rX, delete v.rY, delete v.xRot, delete v.lArcFlag, delete v.sweepFlag, v.type = m.LINE_TO;
1938
1971
  else {
1939
- var C = v.xRot * Math.PI / 180, I = Math.sin(C), _ = Math.cos(C), j = 1 / E(v.rX), P = 1 / E(v.rY), X = E(_) * j + E(I) * P, W = 2 * I * _ * (j - P), G = E(I) * j + E(_) * P, q = X * h * h - W * u * h + G * u * u, H = W * (s * h + u * l) - 2 * (X * l * h + G * s * u), Q = X * l * l - W * s * l + G * s * s, R = (Math.atan2(H, q - Q) + Math.PI) % Math.PI / 2, M = Math.sin(R), K = Math.cos(R);
1940
- v.rX = Math.abs(O) / Math.sqrt(q * E(K) + H * M * K + Q * E(M)), v.rY = Math.abs(O) / Math.sqrt(q * E(M) - H * M * K + Q * E(K)), v.xRot = 180 * R / Math.PI;
1972
+ var C = v.xRot * Math.PI / 180, P = Math.sin(C), V = Math.cos(C), j = 1 / E(v.rX), R = 1 / E(v.rY), X = E(V) * j + E(P) * R, W = 2 * P * V * (j - R), G = E(P) * j + E(V) * R, q = X * h * h - W * u * h + G * u * u, H = W * (s * h + u * l) - 2 * (X * l * h + G * s * u), Q = X * l * l - W * s * l + G * s * s, N = (Math.atan2(H, q - Q) + Math.PI) % Math.PI / 2, M = Math.sin(N), K = Math.cos(N);
1973
+ v.rX = Math.abs(O) / Math.sqrt(q * E(K) + H * M * K + Q * E(M)), v.rY = Math.abs(O) / Math.sqrt(q * E(M) - H * M * K + Q * E(K)), v.xRot = 180 * N / Math.PI;
1941
1974
  }
1942
1975
  return v.sweepFlag !== void 0 && 0 > O && (v.sweepFlag = +!v.sweepFlag), v;
1943
1976
  });
@@ -1954,7 +1987,7 @@ function po(a, e, t, r, i) {
1954
1987
  function u(l) {
1955
1988
  return Math.round(l * s) / s;
1956
1989
  }
1957
- return s === void 0 && (s = 1e13), oe(s), function(l) {
1990
+ return s === void 0 && (s = 1e13), ue(s), function(l) {
1958
1991
  return l.x1 !== void 0 && (l.x1 = u(l.x1)), l.y1 !== void 0 && (l.y1 = u(l.y1)), l.x2 !== void 0 && (l.x2 = u(l.x2)), l.y2 !== void 0 && (l.y2 = u(l.y2)), l.x !== void 0 && (l.x = u(l.x)), l.y !== void 0 && (l.y = u(l.y)), l.rX !== void 0 && (l.rX = u(l.rX)), l.rY !== void 0 && (l.rY = u(l.rY)), l;
1959
1992
  };
1960
1993
  }, a.TO_ABS = e, a.TO_REL = function() {
@@ -1962,92 +1995,92 @@ function po(a, e, t, r, i) {
1962
1995
  return s.relative || (s.x1 !== void 0 && (s.x1 -= u), s.y1 !== void 0 && (s.y1 -= l), s.x2 !== void 0 && (s.x2 -= u), s.y2 !== void 0 && (s.y2 -= l), s.x !== void 0 && (s.x -= u), s.y !== void 0 && (s.y -= l), s.relative = !0), s;
1963
1996
  });
1964
1997
  }, a.NORMALIZE_HVZ = function(s, u, l) {
1965
- return s === void 0 && (s = !0), u === void 0 && (u = !0), l === void 0 && (l = !0), i(function(h, f, c, v, d) {
1998
+ return s === void 0 && (s = !0), u === void 0 && (u = !0), l === void 0 && (l = !0), i(function(h, f, c, v, g) {
1966
1999
  if (isNaN(v) && !(h.type & m.MOVE_TO))
1967
2000
  throw new Error("path must start with moveto");
1968
- return u && h.type & m.HORIZ_LINE_TO && (h.type = m.LINE_TO, h.y = h.relative ? 0 : c), l && h.type & m.VERT_LINE_TO && (h.type = m.LINE_TO, h.x = h.relative ? 0 : f), s && h.type & m.CLOSE_PATH && (h.type = m.LINE_TO, h.x = h.relative ? v - f : v, h.y = h.relative ? d - c : d), h.type & m.ARC && (h.rX === 0 || h.rY === 0) && (h.type = m.LINE_TO, delete h.rX, delete h.rY, delete h.xRot, delete h.lArcFlag, delete h.sweepFlag), h;
2001
+ return u && h.type & m.HORIZ_LINE_TO && (h.type = m.LINE_TO, h.y = h.relative ? 0 : c), l && h.type & m.VERT_LINE_TO && (h.type = m.LINE_TO, h.x = h.relative ? 0 : f), s && h.type & m.CLOSE_PATH && (h.type = m.LINE_TO, h.x = h.relative ? v - f : v, h.y = h.relative ? g - c : g), h.type & m.ARC && (h.rX === 0 || h.rY === 0) && (h.type = m.LINE_TO, delete h.rX, delete h.rY, delete h.xRot, delete h.lArcFlag, delete h.sweepFlag), h;
1969
2002
  });
1970
2003
  }, a.NORMALIZE_ST = t, a.QT_TO_C = r, a.INFO = i, a.SANITIZE = function(s) {
1971
- s === void 0 && (s = 0), oe(s);
2004
+ s === void 0 && (s = 0), ue(s);
1972
2005
  var u = NaN, l = NaN, h = NaN, f = NaN;
1973
- return i(function(c, v, d, g, p) {
2006
+ return i(function(c, v, g, d, p) {
1974
2007
  var y = Math.abs, x = !1, b = 0, T = 0;
1975
- if (c.type & m.SMOOTH_CURVE_TO && (b = isNaN(u) ? 0 : v - u, T = isNaN(l) ? 0 : d - l), c.type & (m.CURVE_TO | m.SMOOTH_CURVE_TO) ? (u = c.relative ? v + c.x2 : c.x2, l = c.relative ? d + c.y2 : c.y2) : (u = NaN, l = NaN), c.type & m.SMOOTH_QUAD_TO ? (h = isNaN(h) ? v : 2 * v - h, f = isNaN(f) ? d : 2 * d - f) : c.type & m.QUAD_TO ? (h = c.relative ? v + c.x1 : c.x1, f = c.relative ? d + c.y1 : c.y2) : (h = NaN, f = NaN), c.type & m.LINE_COMMANDS || c.type & m.ARC && (c.rX === 0 || c.rY === 0 || !c.lArcFlag) || c.type & m.CURVE_TO || c.type & m.SMOOTH_CURVE_TO || c.type & m.QUAD_TO || c.type & m.SMOOTH_QUAD_TO) {
1976
- var $ = c.x === void 0 ? 0 : c.relative ? c.x : c.x - v, E = c.y === void 0 ? 0 : c.relative ? c.y : c.y - d;
1977
- b = isNaN(h) ? c.x1 === void 0 ? b : c.relative ? c.x : c.x1 - v : h - v, T = isNaN(f) ? c.y1 === void 0 ? T : c.relative ? c.y : c.y1 - d : f - d;
1978
- var O = c.x2 === void 0 ? 0 : c.relative ? c.x : c.x2 - v, C = c.y2 === void 0 ? 0 : c.relative ? c.y : c.y2 - d;
2008
+ if (c.type & m.SMOOTH_CURVE_TO && (b = isNaN(u) ? 0 : v - u, T = isNaN(l) ? 0 : g - l), c.type & (m.CURVE_TO | m.SMOOTH_CURVE_TO) ? (u = c.relative ? v + c.x2 : c.x2, l = c.relative ? g + c.y2 : c.y2) : (u = NaN, l = NaN), c.type & m.SMOOTH_QUAD_TO ? (h = isNaN(h) ? v : 2 * v - h, f = isNaN(f) ? g : 2 * g - f) : c.type & m.QUAD_TO ? (h = c.relative ? v + c.x1 : c.x1, f = c.relative ? g + c.y1 : c.y2) : (h = NaN, f = NaN), c.type & m.LINE_COMMANDS || c.type & m.ARC && (c.rX === 0 || c.rY === 0 || !c.lArcFlag) || c.type & m.CURVE_TO || c.type & m.SMOOTH_CURVE_TO || c.type & m.QUAD_TO || c.type & m.SMOOTH_QUAD_TO) {
2009
+ var $ = c.x === void 0 ? 0 : c.relative ? c.x : c.x - v, E = c.y === void 0 ? 0 : c.relative ? c.y : c.y - g;
2010
+ b = isNaN(h) ? c.x1 === void 0 ? b : c.relative ? c.x : c.x1 - v : h - v, T = isNaN(f) ? c.y1 === void 0 ? T : c.relative ? c.y : c.y1 - g : f - g;
2011
+ var O = c.x2 === void 0 ? 0 : c.relative ? c.x : c.x2 - v, C = c.y2 === void 0 ? 0 : c.relative ? c.y : c.y2 - g;
1979
2012
  y($) <= s && y(E) <= s && y(b) <= s && y(T) <= s && y(O) <= s && y(C) <= s && (x = !0);
1980
2013
  }
1981
- return c.type & m.CLOSE_PATH && y(v - g) <= s && y(d - p) <= s && (x = !0), x ? [] : c;
2014
+ return c.type & m.CLOSE_PATH && y(v - d) <= s && y(g - p) <= s && (x = !0), x ? [] : c;
1982
2015
  });
1983
2016
  }, a.MATRIX = n, a.ROTATE = function(s, u, l) {
1984
- u === void 0 && (u = 0), l === void 0 && (l = 0), oe(s, u, l);
2017
+ u === void 0 && (u = 0), l === void 0 && (l = 0), ue(s, u, l);
1985
2018
  var h = Math.sin(s), f = Math.cos(s);
1986
2019
  return n(f, h, -h, f, u - u * f + l * h, l - u * h - l * f);
1987
2020
  }, a.TRANSLATE = function(s, u) {
1988
- return u === void 0 && (u = 0), oe(s, u), n(1, 0, 0, 1, s, u);
2021
+ return u === void 0 && (u = 0), ue(s, u), n(1, 0, 0, 1, s, u);
1989
2022
  }, a.SCALE = function(s, u) {
1990
- return u === void 0 && (u = s), oe(s, u), n(s, 0, 0, u, 0, 0);
2023
+ return u === void 0 && (u = s), ue(s, u), n(s, 0, 0, u, 0, 0);
1991
2024
  }, a.SKEW_X = function(s) {
1992
- return oe(s), n(1, 0, Math.atan(s), 1, 0, 0);
2025
+ return ue(s), n(1, 0, Math.atan(s), 1, 0, 0);
1993
2026
  }, a.SKEW_Y = function(s) {
1994
- return oe(s), n(1, Math.atan(s), 0, 1, 0, 0);
2027
+ return ue(s), n(1, Math.atan(s), 0, 1, 0, 0);
1995
2028
  }, a.X_AXIS_SYMMETRY = function(s) {
1996
- return s === void 0 && (s = 0), oe(s), n(-1, 0, 0, 1, s, 0);
2029
+ return s === void 0 && (s = 0), ue(s), n(-1, 0, 0, 1, s, 0);
1997
2030
  }, a.Y_AXIS_SYMMETRY = function(s) {
1998
- return s === void 0 && (s = 0), oe(s), n(1, 0, 0, -1, 0, s);
2031
+ return s === void 0 && (s = 0), ue(s), n(1, 0, 0, -1, 0, s);
1999
2032
  }, a.A_TO_C = function() {
2000
2033
  return i(function(s, u, l) {
2001
2034
  return m.ARC === s.type ? function(h, f, c) {
2002
- var v, d, g, p;
2003
- h.cX || Ua(h, f, c);
2035
+ var v, g, d, p;
2036
+ h.cX || Ga(h, f, c);
2004
2037
  for (var y = Math.min(h.phi1, h.phi2), x = Math.max(h.phi1, h.phi2) - y, b = Math.ceil(x / 90), T = new Array(b), $ = f, E = c, O = 0; O < b; O++) {
2005
- var C = fo(h.phi1, h.phi2, O / b), I = fo(h.phi1, h.phi2, (O + 1) / b), _ = I - C, j = 4 / 3 * Math.tan(_ * ye / 4), P = [Math.cos(C * ye) - j * Math.sin(C * ye), Math.sin(C * ye) + j * Math.cos(C * ye)], X = P[0], W = P[1], G = [Math.cos(I * ye), Math.sin(I * ye)], q = G[0], H = G[1], Q = [q + j * Math.sin(I * ye), H - j * Math.cos(I * ye)], R = Q[0], M = Q[1];
2038
+ var C = yo(h.phi1, h.phi2, O / b), P = yo(h.phi1, h.phi2, (O + 1) / b), V = P - C, j = 4 / 3 * Math.tan(V * ye / 4), R = [Math.cos(C * ye) - j * Math.sin(C * ye), Math.sin(C * ye) + j * Math.cos(C * ye)], X = R[0], W = R[1], G = [Math.cos(P * ye), Math.sin(P * ye)], q = G[0], H = G[1], Q = [q + j * Math.sin(P * ye), H - j * Math.cos(P * ye)], N = Q[0], M = Q[1];
2006
2039
  T[O] = { relative: h.relative, type: m.CURVE_TO };
2007
- var K = function(ne, ge) {
2008
- var Se = mi([ne * h.rX, ge * h.rY], h.xRot), ze = Se[0], Mt = Se[1];
2009
- return [h.cX + ze, h.cY + Mt];
2040
+ var K = function(se, ge) {
2041
+ var Se = bi([se * h.rX, ge * h.rY], h.xRot), ze = Se[0], It = Se[1];
2042
+ return [h.cX + ze, h.cY + It];
2010
2043
  };
2011
- v = K(X, W), T[O].x1 = v[0], T[O].y1 = v[1], d = K(R, M), T[O].x2 = d[0], T[O].y2 = d[1], g = K(q, H), T[O].x = g[0], T[O].y = g[1], h.relative && (T[O].x1 -= $, T[O].y1 -= E, T[O].x2 -= $, T[O].y2 -= E, T[O].x -= $, T[O].y -= E), $ = (p = [T[O].x, T[O].y])[0], E = p[1];
2044
+ v = K(X, W), T[O].x1 = v[0], T[O].y1 = v[1], g = K(N, M), T[O].x2 = g[0], T[O].y2 = g[1], d = K(q, H), T[O].x = d[0], T[O].y = d[1], h.relative && (T[O].x1 -= $, T[O].y1 -= E, T[O].x2 -= $, T[O].y2 -= E, T[O].x -= $, T[O].y -= E), $ = (p = [T[O].x, T[O].y])[0], E = p[1];
2012
2045
  }
2013
2046
  return T;
2014
2047
  }(s, s.relative ? 0 : u, s.relative ? 0 : l) : s;
2015
2048
  });
2016
2049
  }, a.ANNOTATE_ARCS = function() {
2017
2050
  return i(function(s, u, l) {
2018
- return s.relative && (u = 0, l = 0), m.ARC === s.type && Ua(s, u, l), s;
2051
+ return s.relative && (u = 0, l = 0), m.ARC === s.type && Ga(s, u, l), s;
2019
2052
  });
2020
2053
  }, a.CLONE = o, a.CALCULATE_BOUNDS = function() {
2021
2054
  var s = function(c) {
2022
2055
  var v = {};
2023
- for (var d in c)
2024
- v[d] = c[d];
2056
+ for (var g in c)
2057
+ v[g] = c[g];
2025
2058
  return v;
2026
- }, u = e(), l = r(), h = t(), f = i(function(c, v, d) {
2027
- var g = h(l(u(s(c))));
2059
+ }, u = e(), l = r(), h = t(), f = i(function(c, v, g) {
2060
+ var d = h(l(u(s(c))));
2028
2061
  function p(M) {
2029
2062
  M > f.maxX && (f.maxX = M), M < f.minX && (f.minX = M);
2030
2063
  }
2031
2064
  function y(M) {
2032
2065
  M > f.maxY && (f.maxY = M), M < f.minY && (f.minY = M);
2033
2066
  }
2034
- if (g.type & m.DRAWING_COMMANDS && (p(v), y(d)), g.type & m.HORIZ_LINE_TO && p(g.x), g.type & m.VERT_LINE_TO && y(g.y), g.type & m.LINE_TO && (p(g.x), y(g.y)), g.type & m.CURVE_TO) {
2035
- p(g.x), y(g.y);
2036
- for (var x = 0, b = go(v, g.x1, g.x2, g.x); x < b.length; x++)
2037
- 0 < (R = b[x]) && 1 > R && p(po(v, g.x1, g.x2, g.x, R));
2038
- for (var T = 0, $ = go(d, g.y1, g.y2, g.y); T < $.length; T++)
2039
- 0 < (R = $[T]) && 1 > R && y(po(d, g.y1, g.y2, g.y, R));
2067
+ if (d.type & m.DRAWING_COMMANDS && (p(v), y(g)), d.type & m.HORIZ_LINE_TO && p(d.x), d.type & m.VERT_LINE_TO && y(d.y), d.type & m.LINE_TO && (p(d.x), y(d.y)), d.type & m.CURVE_TO) {
2068
+ p(d.x), y(d.y);
2069
+ for (var x = 0, b = bo(v, d.x1, d.x2, d.x); x < b.length; x++)
2070
+ 0 < (N = b[x]) && 1 > N && p(xo(v, d.x1, d.x2, d.x, N));
2071
+ for (var T = 0, $ = bo(g, d.y1, d.y2, d.y); T < $.length; T++)
2072
+ 0 < (N = $[T]) && 1 > N && y(xo(g, d.y1, d.y2, d.y, N));
2040
2073
  }
2041
- if (g.type & m.ARC) {
2042
- p(g.x), y(g.y), Ua(g, v, d);
2043
- for (var E = g.xRot / 180 * Math.PI, O = Math.cos(E) * g.rX, C = Math.sin(E) * g.rX, I = -Math.sin(E) * g.rY, _ = Math.cos(E) * g.rY, j = g.phi1 < g.phi2 ? [g.phi1, g.phi2] : -180 > g.phi2 ? [g.phi2 + 360, g.phi1 + 360] : [g.phi2, g.phi1], P = j[0], X = j[1], W = function(M) {
2044
- var K = M[0], ne = M[1], ge = 180 * Math.atan2(ne, K) / Math.PI;
2045
- return ge < P ? ge + 360 : ge;
2046
- }, G = 0, q = vo(I, -O, 0).map(W); G < q.length; G++)
2047
- (R = q[G]) > P && R < X && p(co(g.cX, O, I, R));
2048
- for (var H = 0, Q = vo(_, -C, 0).map(W); H < Q.length; H++) {
2049
- var R;
2050
- (R = Q[H]) > P && R < X && y(co(g.cY, C, _, R));
2074
+ if (d.type & m.ARC) {
2075
+ p(d.x), y(d.y), Ga(d, v, g);
2076
+ for (var E = d.xRot / 180 * Math.PI, O = Math.cos(E) * d.rX, C = Math.sin(E) * d.rX, P = -Math.sin(E) * d.rY, V = Math.cos(E) * d.rY, j = d.phi1 < d.phi2 ? [d.phi1, d.phi2] : -180 > d.phi2 ? [d.phi2 + 360, d.phi1 + 360] : [d.phi2, d.phi1], R = j[0], X = j[1], W = function(M) {
2077
+ var K = M[0], se = M[1], ge = 180 * Math.atan2(se, K) / Math.PI;
2078
+ return ge < R ? ge + 360 : ge;
2079
+ }, G = 0, q = po(P, -O, 0).map(W); G < q.length; G++)
2080
+ (N = q[G]) > R && N < X && p(mo(d.cX, O, P, N));
2081
+ for (var H = 0, Q = po(V, -C, 0).map(W); H < Q.length; H++) {
2082
+ var N;
2083
+ (N = Q[H]) > R && N < X && y(mo(d.cY, C, V, N));
2051
2084
  }
2052
2085
  }
2053
2086
  return c;
@@ -2055,7 +2088,7 @@ function po(a, e, t, r, i) {
2055
2088
  return f.minX = 1 / 0, f.maxX = -1 / 0, f.minY = 1 / 0, f.maxY = -1 / 0, f;
2056
2089
  };
2057
2090
  })(U || (U = {}));
2058
- var se, vl = function() {
2091
+ var oe, dl = function() {
2059
2092
  function a() {
2060
2093
  }
2061
2094
  return a.prototype.round = function(e) {
@@ -2093,17 +2126,17 @@ var se, vl = function() {
2093
2126
  }, a.prototype.annotateArcs = function() {
2094
2127
  return this.transform(U.ANNOTATE_ARCS());
2095
2128
  }, a;
2096
- }(), Eb = function(a) {
2129
+ }(), Ub = function(a) {
2097
2130
  return a === " " || a === " " || a === "\r" || a === `
2098
2131
  `;
2099
- }, yo = function(a) {
2132
+ }, To = function(a) {
2100
2133
  return "0".charCodeAt(0) <= a.charCodeAt(0) && a.charCodeAt(0) <= "9".charCodeAt(0);
2101
- }, $b = function(a) {
2134
+ }, Gb = function(a) {
2102
2135
  function e() {
2103
2136
  var t = a.call(this) || this;
2104
2137
  return t.curNumber = "", t.curCommandType = -1, t.curCommandRelative = !1, t.canParseCommandOrComma = !0, t.curNumberHasExp = !1, t.curNumberHasExpDigits = !1, t.curNumberHasDecimal = !1, t.curArgs = [], t;
2105
2138
  }
2106
- return hl(e, a), e.prototype.finish = function(t) {
2139
+ return gl(e, a), e.prototype.finish = function(t) {
2107
2140
  if (t === void 0 && (t = []), this.parse(" ", t), this.curArgs.length !== 0 || !this.canParseCommandOrComma)
2108
2141
  throw new SyntaxError("Unterminated command at the path end.");
2109
2142
  return t;
@@ -2113,8 +2146,8 @@ var se, vl = function() {
2113
2146
  for (var n = function(f) {
2114
2147
  r.push(f), i.curArgs.length = 0, i.canParseCommandOrComma = !0;
2115
2148
  }, o = 0; o < t.length; o++) {
2116
- var s = t[o], u = !(this.curCommandType !== m.ARC || this.curArgs.length !== 3 && this.curArgs.length !== 4 || this.curNumber.length !== 1 || this.curNumber !== "0" && this.curNumber !== "1"), l = yo(s) && (this.curNumber === "0" && s === "0" || u);
2117
- if (!yo(s) || l)
2149
+ var s = t[o], u = !(this.curCommandType !== m.ARC || this.curArgs.length !== 3 && this.curArgs.length !== 4 || this.curNumber.length !== 1 || this.curNumber !== "0" && this.curNumber !== "1"), l = To(s) && (this.curNumber === "0" && s === "0" || u);
2150
+ if (!To(s) || l)
2118
2151
  if (s !== "e" && s !== "E")
2119
2152
  if (s !== "-" && s !== "+" || !this.curNumberHasExp || this.curNumberHasExpDigits)
2120
2153
  if (s !== "." || this.curNumberHasExp || this.curNumberHasDecimal || u) {
@@ -2129,9 +2162,9 @@ var se, vl = function() {
2129
2162
  } else if ((this.curArgs.length === 3 || this.curArgs.length === 4) && this.curNumber !== "0" && this.curNumber !== "1")
2130
2163
  throw new SyntaxError('Expected a flag, got "' + this.curNumber + '" at index "' + o + '"');
2131
2164
  }
2132
- this.curArgs.push(h), this.curArgs.length === wb[this.curCommandType] && (m.HORIZ_LINE_TO === this.curCommandType ? n({ type: m.HORIZ_LINE_TO, relative: this.curCommandRelative, x: h }) : m.VERT_LINE_TO === this.curCommandType ? n({ type: m.VERT_LINE_TO, relative: this.curCommandRelative, y: h }) : this.curCommandType === m.MOVE_TO || this.curCommandType === m.LINE_TO || this.curCommandType === m.SMOOTH_QUAD_TO ? (n({ type: this.curCommandType, relative: this.curCommandRelative, x: this.curArgs[0], y: this.curArgs[1] }), m.MOVE_TO === this.curCommandType && (this.curCommandType = m.LINE_TO)) : this.curCommandType === m.CURVE_TO ? n({ type: m.CURVE_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x2: this.curArgs[2], y2: this.curArgs[3], x: this.curArgs[4], y: this.curArgs[5] }) : this.curCommandType === m.SMOOTH_CURVE_TO ? n({ type: m.SMOOTH_CURVE_TO, relative: this.curCommandRelative, x2: this.curArgs[0], y2: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === m.QUAD_TO ? n({ type: m.QUAD_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === m.ARC && n({ type: m.ARC, relative: this.curCommandRelative, rX: this.curArgs[0], rY: this.curArgs[1], xRot: this.curArgs[2], lArcFlag: this.curArgs[3], sweepFlag: this.curArgs[4], x: this.curArgs[5], y: this.curArgs[6] })), this.curNumber = "", this.curNumberHasExpDigits = !1, this.curNumberHasExp = !1, this.curNumberHasDecimal = !1, this.canParseCommandOrComma = !0;
2165
+ this.curArgs.push(h), this.curArgs.length === zb[this.curCommandType] && (m.HORIZ_LINE_TO === this.curCommandType ? n({ type: m.HORIZ_LINE_TO, relative: this.curCommandRelative, x: h }) : m.VERT_LINE_TO === this.curCommandType ? n({ type: m.VERT_LINE_TO, relative: this.curCommandRelative, y: h }) : this.curCommandType === m.MOVE_TO || this.curCommandType === m.LINE_TO || this.curCommandType === m.SMOOTH_QUAD_TO ? (n({ type: this.curCommandType, relative: this.curCommandRelative, x: this.curArgs[0], y: this.curArgs[1] }), m.MOVE_TO === this.curCommandType && (this.curCommandType = m.LINE_TO)) : this.curCommandType === m.CURVE_TO ? n({ type: m.CURVE_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x2: this.curArgs[2], y2: this.curArgs[3], x: this.curArgs[4], y: this.curArgs[5] }) : this.curCommandType === m.SMOOTH_CURVE_TO ? n({ type: m.SMOOTH_CURVE_TO, relative: this.curCommandRelative, x2: this.curArgs[0], y2: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === m.QUAD_TO ? n({ type: m.QUAD_TO, relative: this.curCommandRelative, x1: this.curArgs[0], y1: this.curArgs[1], x: this.curArgs[2], y: this.curArgs[3] }) : this.curCommandType === m.ARC && n({ type: m.ARC, relative: this.curCommandRelative, rX: this.curArgs[0], rY: this.curArgs[1], xRot: this.curArgs[2], lArcFlag: this.curArgs[3], sweepFlag: this.curArgs[4], x: this.curArgs[5], y: this.curArgs[6] })), this.curNumber = "", this.curNumberHasExpDigits = !1, this.curNumberHasExp = !1, this.curNumberHasDecimal = !1, this.canParseCommandOrComma = !0;
2133
2166
  }
2134
- if (!Eb(s))
2167
+ if (!Ub(s))
2135
2168
  if (s === "," && this.canParseCommandOrComma)
2136
2169
  this.canParseCommandOrComma = !1;
2137
2170
  else if (s !== "+" && s !== "-" && s !== ".")
@@ -2189,12 +2222,12 @@ var se, vl = function() {
2189
2222
  return i;
2190
2223
  } } });
2191
2224
  }, e;
2192
- }(vl), m = function(a) {
2225
+ }(dl), m = function(a) {
2193
2226
  function e(t) {
2194
2227
  var r = a.call(this) || this;
2195
2228
  return r.commands = typeof t == "string" ? e.parse(t) : t, r;
2196
2229
  }
2197
- return hl(e, a), e.prototype.encode = function() {
2230
+ return gl(e, a), e.prototype.encode = function() {
2198
2231
  return e.encode(this.commands);
2199
2232
  }, e.prototype.getBounds = function() {
2200
2233
  var t = U.CALCULATE_BOUNDS();
@@ -2206,36 +2239,33 @@ var se, vl = function() {
2206
2239
  }
2207
2240
  return this.commands = r, this;
2208
2241
  }, e.encode = function(t) {
2209
- return Sb(t);
2242
+ return Fb(t);
2210
2243
  }, e.parse = function(t) {
2211
- var r = new $b(), i = [];
2244
+ var r = new Gb(), i = [];
2212
2245
  return r.parse(t, i), r.finish(i), i;
2213
2246
  }, e.CLOSE_PATH = 1, e.MOVE_TO = 2, e.HORIZ_LINE_TO = 4, e.VERT_LINE_TO = 8, e.LINE_TO = 16, e.CURVE_TO = 32, e.SMOOTH_CURVE_TO = 64, e.QUAD_TO = 128, e.SMOOTH_QUAD_TO = 256, e.ARC = 512, e.LINE_COMMANDS = e.LINE_TO | e.HORIZ_LINE_TO | e.VERT_LINE_TO, e.DRAWING_COMMANDS = e.HORIZ_LINE_TO | e.VERT_LINE_TO | e.LINE_TO | e.CURVE_TO | e.SMOOTH_CURVE_TO | e.QUAD_TO | e.SMOOTH_QUAD_TO | e.ARC, e;
2214
- }(vl), wb = ((se = {})[m.MOVE_TO] = 2, se[m.LINE_TO] = 2, se[m.HORIZ_LINE_TO] = 1, se[m.VERT_LINE_TO] = 1, se[m.CLOSE_PATH] = 0, se[m.QUAD_TO] = 4, se[m.SMOOTH_QUAD_TO] = 2, se[m.CURVE_TO] = 6, se[m.SMOOTH_CURVE_TO] = 4, se[m.ARC] = 7, se), Cb = Y, Ab = fe, Pb = br, Rb = Fu, mo = RegExp.prototype, Nb = function(a) {
2215
- var e = a.flags;
2216
- return e === void 0 && !("flags" in mo) && !Ab(a, "flags") && Pb(mo, a) ? Cb(Rb, a) : e;
2217
- }, Ib = Sr.PROPER, Mb = Ue, _b = J, bo = pe, Vb = k, Db = Nb, rn = "toString", fl = RegExp.prototype, cl = fl[rn], kb = Vb(function() {
2218
- return cl.call({ source: "a", flags: "b" }) !== "/a/b";
2219
- }), Lb = Ib && cl.name !== rn;
2220
- (kb || Lb) && Mb(fl, rn, function() {
2221
- var e = _b(this), t = bo(e.source), r = bo(Db(e));
2247
+ }(dl), zb = ((oe = {})[m.MOVE_TO] = 2, oe[m.LINE_TO] = 2, oe[m.HORIZ_LINE_TO] = 1, oe[m.VERT_LINE_TO] = 1, oe[m.CLOSE_PATH] = 0, oe[m.QUAD_TO] = 4, oe[m.SMOOTH_QUAD_TO] = 2, oe[m.CURVE_TO] = 6, oe[m.SMOOTH_CURVE_TO] = 4, oe[m.ARC] = 7, oe), Hb = $r.PROPER, Yb = Ue, Xb = J, Oo = pe, Wb = D, qb = Ki, nn = "toString", pl = RegExp.prototype, yl = pl[nn], Qb = Wb(function() {
2248
+ return yl.call({ source: "a", flags: "b" }) !== "/a/b";
2249
+ }), Kb = Hb && yl.name !== nn;
2250
+ (Qb || Kb) && Yb(pl, nn, function() {
2251
+ var e = Xb(this), t = Oo(e.source), r = Oo(qb(e));
2222
2252
  return "/" + t + "/" + r;
2223
2253
  }, { unsafe: !0 });
2224
- function vr(a) {
2254
+ function fr(a) {
2225
2255
  "@babel/helpers - typeof";
2226
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? vr = function(e) {
2256
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? fr = function(e) {
2227
2257
  return typeof e;
2228
- } : vr = function(e) {
2258
+ } : fr = function(e) {
2229
2259
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2230
- }, vr(a);
2260
+ }, fr(a);
2231
2261
  }
2232
- function Bb(a, e) {
2262
+ function Zb(a, e) {
2233
2263
  if (!(a instanceof e))
2234
2264
  throw new TypeError("Cannot call a class as a function");
2235
2265
  }
2236
- var jb = [512, 512, 456, 512, 328, 456, 335, 512, 405, 328, 271, 456, 388, 335, 292, 512, 454, 405, 364, 328, 298, 271, 496, 456, 420, 388, 360, 335, 312, 292, 273, 512, 482, 454, 428, 405, 383, 364, 345, 328, 312, 298, 284, 271, 259, 496, 475, 456, 437, 420, 404, 388, 374, 360, 347, 335, 323, 312, 302, 292, 282, 273, 265, 512, 497, 482, 468, 454, 441, 428, 417, 405, 394, 383, 373, 364, 354, 345, 337, 328, 320, 312, 305, 298, 291, 284, 278, 271, 265, 259, 507, 496, 485, 475, 465, 456, 446, 437, 428, 420, 412, 404, 396, 388, 381, 374, 367, 360, 354, 347, 341, 335, 329, 323, 318, 312, 307, 302, 297, 292, 287, 282, 278, 273, 269, 265, 261, 512, 505, 497, 489, 482, 475, 468, 461, 454, 447, 441, 435, 428, 422, 417, 411, 405, 399, 394, 389, 383, 378, 373, 368, 364, 359, 354, 350, 345, 341, 337, 332, 328, 324, 320, 316, 312, 309, 305, 301, 298, 294, 291, 287, 284, 281, 278, 274, 271, 268, 265, 262, 259, 257, 507, 501, 496, 491, 485, 480, 475, 470, 465, 460, 456, 451, 446, 442, 437, 433, 428, 424, 420, 416, 412, 408, 404, 400, 396, 392, 388, 385, 381, 377, 374, 370, 367, 363, 360, 357, 354, 350, 347, 344, 341, 338, 335, 332, 329, 326, 323, 320, 318, 315, 312, 310, 307, 304, 302, 299, 297, 294, 292, 289, 287, 285, 282, 280, 278, 275, 273, 271, 269, 267, 265, 263, 261, 259], Fb = [9, 11, 12, 13, 13, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24];
2237
- function Ub(a, e, t, r, i) {
2238
- if (typeof a == "string" && (a = document.getElementById(a)), !a || vr(a) !== "object" || !("getContext" in a))
2266
+ var Jb = [512, 512, 456, 512, 328, 456, 335, 512, 405, 328, 271, 456, 388, 335, 292, 512, 454, 405, 364, 328, 298, 271, 496, 456, 420, 388, 360, 335, 312, 292, 273, 512, 482, 454, 428, 405, 383, 364, 345, 328, 312, 298, 284, 271, 259, 496, 475, 456, 437, 420, 404, 388, 374, 360, 347, 335, 323, 312, 302, 292, 282, 273, 265, 512, 497, 482, 468, 454, 441, 428, 417, 405, 394, 383, 373, 364, 354, 345, 337, 328, 320, 312, 305, 298, 291, 284, 278, 271, 265, 259, 507, 496, 485, 475, 465, 456, 446, 437, 428, 420, 412, 404, 396, 388, 381, 374, 367, 360, 354, 347, 341, 335, 329, 323, 318, 312, 307, 302, 297, 292, 287, 282, 278, 273, 269, 265, 261, 512, 505, 497, 489, 482, 475, 468, 461, 454, 447, 441, 435, 428, 422, 417, 411, 405, 399, 394, 389, 383, 378, 373, 368, 364, 359, 354, 350, 345, 341, 337, 332, 328, 324, 320, 316, 312, 309, 305, 301, 298, 294, 291, 287, 284, 281, 278, 274, 271, 268, 265, 262, 259, 257, 507, 501, 496, 491, 485, 480, 475, 470, 465, 460, 456, 451, 446, 442, 437, 433, 428, 424, 420, 416, 412, 408, 404, 400, 396, 392, 388, 385, 381, 377, 374, 370, 367, 363, 360, 357, 354, 350, 347, 344, 341, 338, 335, 332, 329, 326, 323, 320, 318, 315, 312, 310, 307, 304, 302, 299, 297, 294, 292, 289, 287, 285, 282, 280, 278, 275, 273, 271, 269, 267, 265, 263, 261, 259], e1 = [9, 11, 12, 13, 13, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24];
2267
+ function t1(a, e, t, r, i) {
2268
+ if (typeof a == "string" && (a = document.getElementById(a)), !a || fr(a) !== "object" || !("getContext" in a))
2239
2269
  throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");
2240
2270
  var n = a.getContext("2d");
2241
2271
  try {
@@ -2244,69 +2274,69 @@ function Ub(a, e, t, r, i) {
2244
2274
  throw new Error("unable to access image data: " + o);
2245
2275
  }
2246
2276
  }
2247
- function Gb(a, e, t, r, i, n) {
2277
+ function r1(a, e, t, r, i, n) {
2248
2278
  if (!(isNaN(n) || n < 1)) {
2249
2279
  n |= 0;
2250
- var o = Ub(a, e, t, r, i);
2251
- o = zb(o, e, t, r, i, n), a.getContext("2d").putImageData(o, e, t);
2280
+ var o = t1(a, e, t, r, i);
2281
+ o = a1(o, e, t, r, i, n), a.getContext("2d").putImageData(o, e, t);
2252
2282
  }
2253
2283
  }
2254
- function zb(a, e, t, r, i, n) {
2255
- for (var o = a.data, s = 2 * n + 1, u = r - 1, l = i - 1, h = n + 1, f = h * (h + 1) / 2, c = new xo(), v = c, d, g = 1; g < s; g++)
2256
- v = v.next = new xo(), g === h && (d = v);
2284
+ function a1(a, e, t, r, i, n) {
2285
+ for (var o = a.data, s = 2 * n + 1, u = r - 1, l = i - 1, h = n + 1, f = h * (h + 1) / 2, c = new So(), v = c, g, d = 1; d < s; d++)
2286
+ v = v.next = new So(), d === h && (g = v);
2257
2287
  v.next = c;
2258
- for (var p = null, y = null, x = 0, b = 0, T = jb[n], $ = Fb[n], E = 0; E < i; E++) {
2288
+ for (var p = null, y = null, x = 0, b = 0, T = Jb[n], $ = e1[n], E = 0; E < i; E++) {
2259
2289
  v = c;
2260
- for (var O = o[b], C = o[b + 1], I = o[b + 2], _ = o[b + 3], j = 0; j < h; j++)
2261
- v.r = O, v.g = C, v.b = I, v.a = _, v = v.next;
2262
- for (var P = 0, X = 0, W = 0, G = 0, q = h * O, H = h * C, Q = h * I, R = h * _, M = f * O, K = f * C, ne = f * I, ge = f * _, Se = 1; Se < h; Se++) {
2263
- var ze = b + ((u < Se ? u : Se) << 2), Mt = o[ze], sn = o[ze + 1], on = o[ze + 2], un = o[ze + 3], _t = h - Se;
2264
- M += (v.r = Mt) * _t, K += (v.g = sn) * _t, ne += (v.b = on) * _t, ge += (v.a = un) * _t, P += Mt, X += sn, W += on, G += un, v = v.next;
2290
+ for (var O = o[b], C = o[b + 1], P = o[b + 2], V = o[b + 3], j = 0; j < h; j++)
2291
+ v.r = O, v.g = C, v.b = P, v.a = V, v = v.next;
2292
+ for (var R = 0, X = 0, W = 0, G = 0, q = h * O, H = h * C, Q = h * P, N = h * V, M = f * O, K = f * C, se = f * P, ge = f * V, Se = 1; Se < h; Se++) {
2293
+ var ze = b + ((u < Se ? u : Se) << 2), It = o[ze], un = o[ze + 1], ln = o[ze + 2], hn = o[ze + 3], Mt = h - Se;
2294
+ M += (v.r = It) * Mt, K += (v.g = un) * Mt, se += (v.b = ln) * Mt, ge += (v.a = hn) * Mt, R += It, X += un, W += ln, G += hn, v = v.next;
2265
2295
  }
2266
- p = c, y = d;
2267
- for (var Lr = 0; Lr < r; Lr++) {
2268
- var Br = ge * T >>> $;
2269
- if (o[b + 3] = Br, Br !== 0) {
2270
- var jr = 255 / Br;
2271
- o[b] = (M * T >>> $) * jr, o[b + 1] = (K * T >>> $) * jr, o[b + 2] = (ne * T >>> $) * jr;
2296
+ p = c, y = g;
2297
+ for (var jr = 0; jr < r; jr++) {
2298
+ var Fr = ge * T >>> $;
2299
+ if (o[b + 3] = Fr, Fr !== 0) {
2300
+ var Ur = 255 / Fr;
2301
+ o[b] = (M * T >>> $) * Ur, o[b + 1] = (K * T >>> $) * Ur, o[b + 2] = (se * T >>> $) * Ur;
2272
2302
  } else
2273
2303
  o[b] = o[b + 1] = o[b + 2] = 0;
2274
- M -= q, K -= H, ne -= Q, ge -= R, q -= p.r, H -= p.g, Q -= p.b, R -= p.a;
2275
- var Ae = Lr + n + 1;
2276
- Ae = x + (Ae < u ? Ae : u) << 2, P += p.r = o[Ae], X += p.g = o[Ae + 1], W += p.b = o[Ae + 2], G += p.a = o[Ae + 3], M += P, K += X, ne += W, ge += G, p = p.next;
2277
- var Vt = y, ln = Vt.r, hn = Vt.g, vn = Vt.b, fn = Vt.a;
2278
- q += ln, H += hn, Q += vn, R += fn, P -= ln, X -= hn, W -= vn, G -= fn, y = y.next, b += 4;
2304
+ M -= q, K -= H, se -= Q, ge -= N, q -= p.r, H -= p.g, Q -= p.b, N -= p.a;
2305
+ var Ae = jr + n + 1;
2306
+ Ae = x + (Ae < u ? Ae : u) << 2, R += p.r = o[Ae], X += p.g = o[Ae + 1], W += p.b = o[Ae + 2], G += p.a = o[Ae + 3], M += R, K += X, se += W, ge += G, p = p.next;
2307
+ var _t = y, vn = _t.r, fn = _t.g, cn = _t.b, gn = _t.a;
2308
+ q += vn, H += fn, Q += cn, N += gn, R -= vn, X -= fn, W -= cn, G -= gn, y = y.next, b += 4;
2279
2309
  }
2280
2310
  x += r;
2281
2311
  }
2282
2312
  for (var He = 0; He < r; He++) {
2283
2313
  b = He << 2;
2284
- var Pe = o[b], Re = o[b + 1], Ne = o[b + 2], te = o[b + 3], Fr = h * Pe, Ur = h * Re, Gr = h * Ne, zr = h * te, Dt = f * Pe, kt = f * Re, Lt = f * Ne, Bt = f * te;
2314
+ var Pe = o[b], Re = o[b + 1], Ne = o[b + 2], te = o[b + 3], Gr = h * Pe, zr = h * Re, Hr = h * Ne, Yr = h * te, Vt = f * Pe, Dt = f * Re, Lt = f * Ne, kt = f * te;
2285
2315
  v = c;
2286
- for (var cn = 0; cn < h; cn++)
2316
+ for (var dn = 0; dn < h; dn++)
2287
2317
  v.r = Pe, v.g = Re, v.b = Ne, v.a = te, v = v.next;
2288
- for (var gn = r, Hr = 0, Yr = 0, Xr = 0, Wr = 0, jt = 1; jt <= n; jt++) {
2289
- b = gn + He << 2;
2290
- var Ft = h - jt;
2291
- Dt += (v.r = Pe = o[b]) * Ft, kt += (v.g = Re = o[b + 1]) * Ft, Lt += (v.b = Ne = o[b + 2]) * Ft, Bt += (v.a = te = o[b + 3]) * Ft, Wr += Pe, Hr += Re, Yr += Ne, Xr += te, v = v.next, jt < l && (gn += r);
2318
+ for (var pn = r, Xr = 0, Wr = 0, qr = 0, Qr = 0, Bt = 1; Bt <= n; Bt++) {
2319
+ b = pn + He << 2;
2320
+ var jt = h - Bt;
2321
+ Vt += (v.r = Pe = o[b]) * jt, Dt += (v.g = Re = o[b + 1]) * jt, Lt += (v.b = Ne = o[b + 2]) * jt, kt += (v.a = te = o[b + 3]) * jt, Qr += Pe, Xr += Re, Wr += Ne, qr += te, v = v.next, Bt < l && (pn += r);
2292
2322
  }
2293
- b = He, p = c, y = d;
2294
- for (var qr = 0; qr < i; qr++) {
2323
+ b = He, p = c, y = g;
2324
+ for (var Kr = 0; Kr < i; Kr++) {
2295
2325
  var re = b << 2;
2296
- o[re + 3] = te = Bt * T >>> $, te > 0 ? (te = 255 / te, o[re] = (Dt * T >>> $) * te, o[re + 1] = (kt * T >>> $) * te, o[re + 2] = (Lt * T >>> $) * te) : o[re] = o[re + 1] = o[re + 2] = 0, Dt -= Fr, kt -= Ur, Lt -= Gr, Bt -= zr, Fr -= p.r, Ur -= p.g, Gr -= p.b, zr -= p.a, re = He + ((re = qr + h) < l ? re : l) * r << 2, Dt += Wr += p.r = o[re], kt += Hr += p.g = o[re + 1], Lt += Yr += p.b = o[re + 2], Bt += Xr += p.a = o[re + 3], p = p.next, Fr += Pe = y.r, Ur += Re = y.g, Gr += Ne = y.b, zr += te = y.a, Wr -= Pe, Hr -= Re, Yr -= Ne, Xr -= te, y = y.next, b += r;
2326
+ o[re + 3] = te = kt * T >>> $, te > 0 ? (te = 255 / te, o[re] = (Vt * T >>> $) * te, o[re + 1] = (Dt * T >>> $) * te, o[re + 2] = (Lt * T >>> $) * te) : o[re] = o[re + 1] = o[re + 2] = 0, Vt -= Gr, Dt -= zr, Lt -= Hr, kt -= Yr, Gr -= p.r, zr -= p.g, Hr -= p.b, Yr -= p.a, re = He + ((re = Kr + h) < l ? re : l) * r << 2, Vt += Qr += p.r = o[re], Dt += Xr += p.g = o[re + 1], Lt += Wr += p.b = o[re + 2], kt += qr += p.a = o[re + 3], p = p.next, Gr += Pe = y.r, zr += Re = y.g, Hr += Ne = y.b, Yr += te = y.a, Qr -= Pe, Xr -= Re, Wr -= Ne, qr -= te, y = y.next, b += r;
2297
2327
  }
2298
2328
  }
2299
2329
  return a;
2300
2330
  }
2301
- var xo = (
2331
+ var So = (
2302
2332
  /**
2303
2333
  * Set properties.
2304
2334
  */
2305
2335
  function a() {
2306
- Bb(this, a), this.r = 0, this.g = 0, this.b = 0, this.a = 0, this.next = null;
2336
+ Zb(this, a), this.r = 0, this.g = 0, this.b = 0, this.a = 0, this.next = null;
2307
2337
  }
2308
2338
  );
2309
- function Hb() {
2339
+ function i1() {
2310
2340
  var {
2311
2341
  DOMParser: a
2312
2342
  } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = {
@@ -2326,7 +2356,7 @@ function Hb() {
2326
2356
  };
2327
2357
  return (typeof DOMParser != "undefined" || typeof a == "undefined") && Reflect.deleteProperty(e, "DOMParser"), e;
2328
2358
  }
2329
- function Yb(a) {
2359
+ function n1(a) {
2330
2360
  var {
2331
2361
  DOMParser: e,
2332
2362
  canvas: t,
@@ -2342,76 +2372,76 @@ function Yb(a) {
2342
2372
  createImage: t.loadImage
2343
2373
  };
2344
2374
  }
2345
- var i2 = /* @__PURE__ */ Object.freeze({
2375
+ var y2 = /* @__PURE__ */ Object.freeze({
2346
2376
  __proto__: null,
2347
- offscreen: Hb,
2348
- node: Yb
2377
+ offscreen: i1,
2378
+ node: n1
2349
2379
  });
2350
- function ht(a) {
2380
+ function lt(a) {
2351
2381
  return a.replace(/(?!\u3000)\s+/gm, " ");
2352
2382
  }
2353
- function Xb(a) {
2383
+ function s1(a) {
2354
2384
  return a.replace(/^[\n \t]+/, "");
2355
2385
  }
2356
- function Wb(a) {
2386
+ function o1(a) {
2357
2387
  return a.replace(/[\n \t]+$/, "");
2358
2388
  }
2359
- function ie(a) {
2389
+ function ne(a) {
2360
2390
  var e = (a || "").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm) || [];
2361
2391
  return e.map(parseFloat);
2362
2392
  }
2363
- var qb = /^[A-Z-]+$/;
2364
- function Qb(a) {
2365
- return qb.test(a) ? a.toLowerCase() : a;
2393
+ var u1 = /^[A-Z-]+$/;
2394
+ function l1(a) {
2395
+ return u1.test(a) ? a.toLowerCase() : a;
2366
2396
  }
2367
- function gl(a) {
2397
+ function ml(a) {
2368
2398
  var e = /url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(a) || [];
2369
2399
  return e[2] || e[3] || e[4];
2370
2400
  }
2371
- function Kb(a) {
2401
+ function h1(a) {
2372
2402
  if (!a.startsWith("rgb"))
2373
2403
  return a;
2374
2404
  var e = 3, t = a.replace(/\d+(\.\d+)?/g, (r, i) => e-- && i ? String(Math.round(parseFloat(r))) : r);
2375
2405
  return t;
2376
2406
  }
2377
- var Zb = /(\[[^\]]+\])/g, Jb = /(#[^\s+>~.[:]+)/g, e1 = /(\.[^\s+>~.[:]+)/g, t1 = /(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi, r1 = /(:[\w-]+\([^)]*\))/gi, a1 = /(:[^\s+>~.[:]+)/g, i1 = /([^\s+>~.[:]+)/g;
2378
- function _e(a, e) {
2407
+ var v1 = /(\[[^\]]+\])/g, f1 = /(#[^\s+>~.[:]+)/g, c1 = /(\.[^\s+>~.[:]+)/g, g1 = /(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi, d1 = /(:[\w-]+\([^)]*\))/gi, p1 = /(:[^\s+>~.[:]+)/g, y1 = /([^\s+>~.[:]+)/g;
2408
+ function Ve(a, e) {
2379
2409
  var t = e.exec(a);
2380
2410
  return t ? [a.replace(e, " "), t.length] : [a, 0];
2381
2411
  }
2382
- function n1(a) {
2412
+ function m1(a) {
2383
2413
  var e = [0, 0, 0], t = a.replace(/:not\(([^)]*)\)/g, " $1 ").replace(/{[\s\S]*/gm, " "), r = 0;
2384
- return [t, r] = _e(t, Zb), e[1] += r, [t, r] = _e(t, Jb), e[0] += r, [t, r] = _e(t, e1), e[1] += r, [t, r] = _e(t, t1), e[2] += r, [t, r] = _e(t, r1), e[1] += r, [t, r] = _e(t, a1), e[1] += r, t = t.replace(/[*\s+>~]/g, " ").replace(/[#.]/g, " "), [t, r] = _e(t, i1), e[2] += r, e.join("");
2414
+ return [t, r] = Ve(t, v1), e[1] += r, [t, r] = Ve(t, f1), e[0] += r, [t, r] = Ve(t, c1), e[1] += r, [t, r] = Ve(t, g1), e[2] += r, [t, r] = Ve(t, d1), e[1] += r, [t, r] = Ve(t, p1), e[1] += r, t = t.replace(/[*\s+>~]/g, " ").replace(/[#.]/g, " "), [t, r] = Ve(t, y1), e[2] += r, e.join("");
2385
2415
  }
2386
- var at = 1e-8;
2387
- function To(a) {
2416
+ var rt = 1e-8;
2417
+ function Eo(a) {
2388
2418
  return Math.sqrt(Math.pow(a[0], 2) + Math.pow(a[1], 2));
2389
2419
  }
2390
- function bi(a, e) {
2391
- return (a[0] * e[0] + a[1] * e[1]) / (To(a) * To(e));
2420
+ function xi(a, e) {
2421
+ return (a[0] * e[0] + a[1] * e[1]) / (Eo(a) * Eo(e));
2392
2422
  }
2393
- function Oo(a, e) {
2394
- return (a[0] * e[1] < a[1] * e[0] ? -1 : 1) * Math.acos(bi(a, e));
2423
+ function $o(a, e) {
2424
+ return (a[0] * e[1] < a[1] * e[0] ? -1 : 1) * Math.acos(xi(a, e));
2395
2425
  }
2396
- function So(a) {
2426
+ function wo(a) {
2397
2427
  return a * a * a;
2398
2428
  }
2399
- function Eo(a) {
2429
+ function Co(a) {
2400
2430
  return 3 * a * a * (1 - a);
2401
2431
  }
2402
- function $o(a) {
2432
+ function Ao(a) {
2403
2433
  return 3 * a * (1 - a) * (1 - a);
2404
2434
  }
2405
- function wo(a) {
2435
+ function Po(a) {
2406
2436
  return (1 - a) * (1 - a) * (1 - a);
2407
2437
  }
2408
- function Co(a) {
2438
+ function Ro(a) {
2409
2439
  return a * a;
2410
2440
  }
2411
- function Ao(a) {
2441
+ function No(a) {
2412
2442
  return 2 * a * (1 - a);
2413
2443
  }
2414
- function Po(a) {
2444
+ function Io(a) {
2415
2445
  return (1 - a) * (1 - a);
2416
2446
  }
2417
2447
  class S {
@@ -2426,7 +2456,7 @@ class S {
2426
2456
  document: t,
2427
2457
  name: r
2428
2458
  } = this;
2429
- return ht(this.getString()).trim().split(e).map((i) => new S(t, r, i));
2459
+ return lt(this.getString()).trim().split(e).map((i) => new S(t, r, i));
2430
2460
  }
2431
2461
  hasValue(e) {
2432
2462
  var {
@@ -2474,7 +2504,7 @@ class S {
2474
2504
  }
2475
2505
  getColor(e) {
2476
2506
  var t = this.getString(e);
2477
- return this.isNormalizedColor || (this.isNormalizedColor = !0, t = Kb(t), this.value = t), t;
2507
+ return this.isNormalizedColor || (this.isNormalizedColor = !0, t = h1(t), this.value = t), t;
2478
2508
  }
2479
2509
  getDpi() {
2480
2510
  return 96;
@@ -2575,7 +2605,7 @@ class S {
2575
2605
  for (var t = this.getColor(), r = t.length, i = 0, n = 0; n < r && (t[n] === "," && i++, i !== 3); n++)
2576
2606
  ;
2577
2607
  if (e.hasValue() && this.isString() && i !== 3) {
2578
- var o = new pi(t);
2608
+ var o = new yi(t);
2579
2609
  o.ok && (o.alpha = e.getNumber(), t = o.toRGBA());
2580
2610
  }
2581
2611
  return new S(this.document, this.name, t);
@@ -2594,7 +2624,7 @@ S.textBaselineMapping = {
2594
2624
  hanging: "hanging",
2595
2625
  mathematical: "alphabetic"
2596
2626
  };
2597
- class s1 {
2627
+ class b1 {
2598
2628
  constructor() {
2599
2629
  this.viewPorts = [];
2600
2630
  }
@@ -2626,21 +2656,21 @@ class s1 {
2626
2656
  return typeof e == "number" ? e : e === "x" ? this.width : e === "y" ? this.height : Math.sqrt(Math.pow(this.width, 2) + Math.pow(this.height, 2)) / Math.sqrt(2);
2627
2657
  }
2628
2658
  }
2629
- class D {
2659
+ class k {
2630
2660
  constructor(e, t) {
2631
2661
  this.x = e, this.y = t;
2632
2662
  }
2633
2663
  static parse(e) {
2634
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, [r = t, i = t] = ie(e);
2635
- return new D(r, i);
2664
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, [r = t, i = t] = ne(e);
2665
+ return new k(r, i);
2636
2666
  }
2637
2667
  static parseScale(e) {
2638
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1, [r = t, i = r] = ie(e);
2639
- return new D(r, i);
2668
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1, [r = t, i = r] = ne(e);
2669
+ return new k(r, i);
2640
2670
  }
2641
2671
  static parsePath(e) {
2642
- for (var t = ie(e), r = t.length, i = [], n = 0; n < r; n += 2)
2643
- i.push(new D(t[n], t[n + 1]));
2672
+ for (var t = ne(e), r = t.length, i = [], n = 0; n < r; n += 2)
2673
+ i.push(new k(t[n], t[n + 1]));
2644
2674
  return i;
2645
2675
  }
2646
2676
  angleTo(e) {
@@ -2654,7 +2684,7 @@ class D {
2654
2684
  this.x = i, this.y = n;
2655
2685
  }
2656
2686
  }
2657
- class o1 {
2687
+ class x1 {
2658
2688
  constructor(e) {
2659
2689
  this.screen = e, this.working = !1, this.events = [], this.eventElements = [], this.onClick = this.onClick.bind(this), this.onMouseMove = this.onMouseMove.bind(this);
2660
2690
  }
@@ -2731,7 +2761,7 @@ class o1 {
2731
2761
  for (var {
2732
2762
  window: r,
2733
2763
  ctx: i
2734
- } = this.screen, n = new D(e, t), o = i.canvas; o; )
2764
+ } = this.screen, n = new k(e, t), o = i.canvas; o; )
2735
2765
  n.x -= o.offsetLeft, n.y -= o.offsetTop, o = o.offsetParent;
2736
2766
  return r.scrollX && (n.x += r.scrollX), r.scrollY && (n.y += r.scrollY), n;
2737
2767
  }
@@ -2764,14 +2794,14 @@ class o1 {
2764
2794
  });
2765
2795
  }
2766
2796
  }
2767
- var dl = typeof window != "undefined" ? window : null, pl = typeof fetch != "undefined" ? fetch.bind(void 0) : null;
2768
- class _r {
2797
+ var bl = typeof window != "undefined" ? window : null, xl = typeof fetch != "undefined" ? fetch.bind(void 0) : null;
2798
+ class Dr {
2769
2799
  constructor(e) {
2770
2800
  var {
2771
- fetch: t = pl,
2772
- window: r = dl
2801
+ fetch: t = xl,
2802
+ window: r = bl
2773
2803
  } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2774
- this.ctx = e, this.FRAMERATE = 30, this.MAX_VIRTUAL_PIXELS = 3e4, this.CLIENT_WIDTH = 800, this.CLIENT_HEIGHT = 600, this.viewPort = new s1(), this.mouse = new o1(this), this.animations = [], this.waits = [], this.frameDuration = 0, this.isReadyLock = !1, this.isFirstRender = !0, this.intervalId = null, this.window = r, this.fetch = t;
2804
+ this.ctx = e, this.FRAMERATE = 30, this.MAX_VIRTUAL_PIXELS = 3e4, this.CLIENT_WIDTH = 800, this.CLIENT_HEIGHT = 600, this.viewPort = new b1(), this.mouse = new x1(this), this.animations = [], this.waits = [], this.frameDuration = 0, this.isReadyLock = !1, this.isFirstRender = !0, this.intervalId = null, this.window = r, this.fetch = t;
2775
2805
  }
2776
2806
  wait(e) {
2777
2807
  this.waits.push(e);
@@ -2802,18 +2832,18 @@ class _r {
2802
2832
  refX: f,
2803
2833
  refY: c,
2804
2834
  clip: v = !1,
2805
- clipX: d = 0,
2806
- clipY: g = 0
2807
- } = e, p = ht(i).replace(/^defer\s/, ""), [y, x] = p.split(" "), b = y || "xMidYMid", T = x || "meet", $ = n / o, E = s / u, O = Math.min($, E), C = Math.max($, E), I = o, _ = u;
2808
- T === "meet" && (I *= O, _ *= O), T === "slice" && (I *= C, _ *= C);
2809
- var j = new S(t, "refX", f), P = new S(t, "refY", c), X = j.hasValue() && P.hasValue();
2810
- if (X && r.translate(-O * j.getPixels("x"), -O * P.getPixels("y")), v) {
2811
- var W = O * d, G = O * g;
2835
+ clipX: g = 0,
2836
+ clipY: d = 0
2837
+ } = e, p = lt(i).replace(/^defer\s/, ""), [y, x] = p.split(" "), b = y || "xMidYMid", T = x || "meet", $ = n / o, E = s / u, O = Math.min($, E), C = Math.max($, E), P = o, V = u;
2838
+ T === "meet" && (P *= O, V *= O), T === "slice" && (P *= C, V *= C);
2839
+ var j = new S(t, "refX", f), R = new S(t, "refY", c), X = j.hasValue() && R.hasValue();
2840
+ if (X && r.translate(-O * j.getPixels("x"), -O * R.getPixels("y")), v) {
2841
+ var W = O * g, G = O * d;
2812
2842
  r.beginPath(), r.moveTo(W, G), r.lineTo(n, G), r.lineTo(n, s), r.lineTo(W, s), r.closePath(), r.clip();
2813
2843
  }
2814
2844
  if (!X) {
2815
- var q = T === "meet" && O === E, H = T === "slice" && C === E, Q = T === "meet" && O === $, R = T === "slice" && C === $;
2816
- b.startsWith("xMid") && (q || H) && r.translate(n / 2 - I / 2, 0), b.endsWith("YMid") && (Q || R) && r.translate(0, s / 2 - _ / 2), b.startsWith("xMax") && (q || H) && r.translate(n - I, 0), b.endsWith("YMax") && (Q || R) && r.translate(0, s - _);
2845
+ var q = T === "meet" && O === E, H = T === "slice" && C === E, Q = T === "meet" && O === $, N = T === "slice" && C === $;
2846
+ b.startsWith("xMid") && (q || H) && r.translate(n / 2 - P / 2, 0), b.endsWith("YMid") && (Q || N) && r.translate(0, s / 2 - V / 2), b.startsWith("xMax") && (q || H) && r.translate(n - P, 0), b.endsWith("YMax") && (Q || N) && r.translate(0, s - V);
2817
2847
  }
2818
2848
  switch (!0) {
2819
2849
  case b === "none":
@@ -2843,18 +2873,18 @@ class _r {
2843
2873
  } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, {
2844
2874
  FRAMERATE: c,
2845
2875
  mouse: v
2846
- } = this, d = 1e3 / c;
2847
- if (this.frameDuration = d, this.readyPromise = new Promise((b) => {
2876
+ } = this, g = 1e3 / c;
2877
+ if (this.frameDuration = g, this.readyPromise = new Promise((b) => {
2848
2878
  this.resolveReady = b;
2849
2879
  }), this.isReady() && this.render(e, n, o, u, l, h, f), !!t) {
2850
- var g = Date.now(), p = g, y = 0, x = () => {
2851
- g = Date.now(), y = g - p, y >= d && (p = g - y % d, this.shouldUpdate(i, s) && (this.render(e, n, o, u, l, h, f), v.runEvents())), this.intervalId = ja(x);
2880
+ var d = Date.now(), p = d, y = 0, x = () => {
2881
+ d = Date.now(), y = d - p, y >= g && (p = d - y % g, this.shouldUpdate(i, s) && (this.render(e, n, o, u, l, h, f), v.runEvents())), this.intervalId = Fa(x);
2852
2882
  };
2853
- r || v.start(), this.intervalId = ja(x);
2883
+ r || v.start(), this.intervalId = Fa(x);
2854
2884
  }
2855
2885
  }
2856
2886
  stop() {
2857
- this.intervalId && (ja.cancel(this.intervalId), this.intervalId = null), this.mouse.stop();
2887
+ this.intervalId && (Fa.cancel(this.intervalId), this.intervalId = null), this.mouse.stop();
2858
2888
  }
2859
2889
  shouldUpdate(e, t) {
2860
2890
  if (!e) {
@@ -2875,11 +2905,11 @@ class _r {
2875
2905
  isFirstRender: c
2876
2906
  } = this, v = f.canvas;
2877
2907
  h.clear(), v.width && v.height ? h.setCurrent(v.width, v.height) : h.setCurrent(u, l);
2878
- var d = e.getStyle("width"), g = e.getStyle("height");
2879
- !t && (c || typeof i != "number" && typeof n != "number") && (d.hasValue() && (v.width = d.getPixels("x"), v.style && (v.style.width = "".concat(v.width, "px"))), g.hasValue() && (v.height = g.getPixels("y"), v.style && (v.style.height = "".concat(v.height, "px"))));
2908
+ var g = e.getStyle("width"), d = e.getStyle("height");
2909
+ !t && (c || typeof i != "number" && typeof n != "number") && (g.hasValue() && (v.width = g.getPixels("x"), v.style && (v.style.width = "".concat(v.width, "px"))), d.hasValue() && (v.height = d.getPixels("y"), v.style && (v.style.height = "".concat(v.height, "px"))));
2880
2910
  var p = v.clientWidth || v.width, y = v.clientHeight || v.height;
2881
- if (t && d.hasValue() && g.hasValue() && (p = d.getPixels("x"), y = g.getPixels("y")), h.setCurrent(p, y), typeof o == "number" && e.getAttribute("x", !0).setValue(o), typeof s == "number" && e.getAttribute("y", !0).setValue(s), typeof i == "number" || typeof n == "number") {
2882
- var x = ie(e.getAttribute("viewBox").getString()), b = 0, T = 0;
2911
+ if (t && g.hasValue() && d.hasValue() && (p = g.getPixels("x"), y = d.getPixels("y")), h.setCurrent(p, y), typeof o == "number" && e.getAttribute("x", !0).setValue(o), typeof s == "number" && e.getAttribute("y", !0).setValue(s), typeof i == "number" || typeof n == "number") {
2912
+ var x = ne(e.getAttribute("viewBox").getString()), b = 0, T = 0;
2883
2913
  if (typeof i == "number") {
2884
2914
  var $ = e.getStyle("width");
2885
2915
  $.hasValue() ? b = $.getPixels("x") / i : isNaN(x[2]) || (b = x[2] / i);
@@ -2895,16 +2925,16 @@ class _r {
2895
2925
  r || f.clearRect(0, 0, p, y), e.render(f), c && (this.isFirstRender = !1);
2896
2926
  }
2897
2927
  }
2898
- _r.defaultWindow = dl;
2899
- _r.defaultFetch = pl;
2928
+ Dr.defaultWindow = bl;
2929
+ Dr.defaultFetch = xl;
2900
2930
  var {
2901
- defaultFetch: u1
2902
- } = _r, l1 = typeof DOMParser != "undefined" ? DOMParser : null;
2903
- class Ga {
2931
+ defaultFetch: T1
2932
+ } = Dr, O1 = typeof DOMParser != "undefined" ? DOMParser : null;
2933
+ class za {
2904
2934
  constructor() {
2905
2935
  var {
2906
- fetch: e = u1,
2907
- DOMParser: t = l1
2936
+ fetch: e = T1,
2937
+ DOMParser: t = O1
2908
2938
  } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2909
2939
  this.fetch = e, this.DOMParser = t;
2910
2940
  }
@@ -2936,9 +2966,9 @@ class Ga {
2936
2966
  })();
2937
2967
  }
2938
2968
  }
2939
- class h1 {
2969
+ class S1 {
2940
2970
  constructor(e, t) {
2941
- this.type = "translate", this.point = null, this.point = D.parse(t);
2971
+ this.type = "translate", this.point = null, this.point = k.parse(t);
2942
2972
  }
2943
2973
  apply(e) {
2944
2974
  var {
@@ -2962,10 +2992,10 @@ class h1 {
2962
2992
  e.applyTransform([1, 0, 0, 1, t || 0, r || 0]);
2963
2993
  }
2964
2994
  }
2965
- class v1 {
2995
+ class E1 {
2966
2996
  constructor(e, t, r) {
2967
2997
  this.type = "rotate", this.angle = null, this.originX = null, this.originY = null, this.cx = 0, this.cy = 0;
2968
- var i = ie(t);
2998
+ var i = ne(t);
2969
2999
  this.angle = new S(e, "angle", i[0]), this.originX = r[0], this.originY = r[1], this.cx = i[1] || 0, this.cy = i[2] || 0;
2970
3000
  }
2971
3001
  apply(e) {
@@ -3013,11 +3043,11 @@ class v1 {
3013
3043
  ]);
3014
3044
  }
3015
3045
  }
3016
- class f1 {
3046
+ class $1 {
3017
3047
  constructor(e, t, r) {
3018
3048
  this.type = "scale", this.scale = null, this.originX = null, this.originY = null;
3019
- var i = D.parseScale(t);
3020
- (i.x === 0 || i.y === 0) && (i.x = at, i.y = at), this.scale = i, this.originX = r[0], this.originY = r[1];
3049
+ var i = k.parseScale(t);
3050
+ (i.x === 0 || i.y === 0) && (i.x = rt, i.y = rt), this.scale = i, this.originX = r[0], this.originY = r[1];
3021
3051
  }
3022
3052
  apply(e) {
3023
3053
  var {
@@ -3049,9 +3079,9 @@ class f1 {
3049
3079
  e.applyTransform([t || 0, 0, 0, r || 0, 0, 0]);
3050
3080
  }
3051
3081
  }
3052
- class yl {
3082
+ class Tl {
3053
3083
  constructor(e, t, r) {
3054
- this.type = "matrix", this.matrix = [], this.originX = null, this.originY = null, this.matrix = ie(t), this.originX = r[0], this.originY = r[1];
3084
+ this.type = "matrix", this.matrix = [], this.originX = null, this.originY = null, this.matrix = ne(t), this.originX = r[0], this.originY = r[1];
3055
3085
  }
3056
3086
  apply(e) {
3057
3087
  var {
@@ -3066,49 +3096,49 @@ class yl {
3066
3096
  originX: t,
3067
3097
  originY: r,
3068
3098
  matrix: i
3069
- } = this, n = i[0], o = i[2], s = i[4], u = i[1], l = i[3], h = i[5], f = 0, c = 0, v = 1, d = 1 / (n * (l * v - h * c) - o * (u * v - h * f) + s * (u * c - l * f)), g = t.getPixels("x"), p = r.getPixels("y");
3070
- e.translate(g, p), e.transform(d * (l * v - h * c), d * (h * f - u * v), d * (s * c - o * v), d * (n * v - s * f), d * (o * h - s * l), d * (s * u - n * h)), e.translate(-g, -p);
3099
+ } = this, n = i[0], o = i[2], s = i[4], u = i[1], l = i[3], h = i[5], f = 0, c = 0, v = 1, g = 1 / (n * (l * v - h * c) - o * (u * v - h * f) + s * (u * c - l * f)), d = t.getPixels("x"), p = r.getPixels("y");
3100
+ e.translate(d, p), e.transform(g * (l * v - h * c), g * (h * f - u * v), g * (s * c - o * v), g * (n * v - s * f), g * (o * h - s * l), g * (s * u - n * h)), e.translate(-d, -p);
3071
3101
  }
3072
3102
  applyToPoint(e) {
3073
3103
  e.applyTransform(this.matrix);
3074
3104
  }
3075
3105
  }
3076
- class ml extends yl {
3106
+ class Ol extends Tl {
3077
3107
  constructor(e, t, r) {
3078
3108
  super(e, t, r), this.type = "skew", this.angle = null, this.angle = new S(e, "angle", t);
3079
3109
  }
3080
3110
  }
3081
- class c1 extends ml {
3111
+ class w1 extends Ol {
3082
3112
  constructor(e, t, r) {
3083
3113
  super(e, t, r), this.type = "skewX", this.matrix = [1, 0, Math.tan(this.angle.getRadians()), 1, 0, 0];
3084
3114
  }
3085
3115
  }
3086
- class g1 extends ml {
3116
+ class C1 extends Ol {
3087
3117
  constructor(e, t, r) {
3088
3118
  super(e, t, r), this.type = "skewY", this.matrix = [1, Math.tan(this.angle.getRadians()), 0, 1, 0, 0];
3089
3119
  }
3090
3120
  }
3091
- function d1(a) {
3092
- return ht(a).trim().replace(/\)([a-zA-Z])/g, ") $1").replace(/\)(\s?,\s?)/g, ") ").split(/\s(?=[a-z])/);
3121
+ function A1(a) {
3122
+ return lt(a).trim().replace(/\)([a-zA-Z])/g, ") $1").replace(/\)(\s?,\s?)/g, ") ").split(/\s(?=[a-z])/);
3093
3123
  }
3094
- function p1(a) {
3124
+ function P1(a) {
3095
3125
  var [e, t] = a.split("(");
3096
3126
  return [e.trim(), t.trim().replace(")", "")];
3097
3127
  }
3098
- class Le {
3128
+ class Be {
3099
3129
  constructor(e, t, r) {
3100
3130
  this.document = e, this.transforms = [];
3101
- var i = d1(t);
3131
+ var i = A1(t);
3102
3132
  i.forEach((n) => {
3103
3133
  if (n !== "none") {
3104
- var [o, s] = p1(n), u = Le.transformTypes[o];
3134
+ var [o, s] = P1(n), u = Be.transformTypes[o];
3105
3135
  typeof u != "undefined" && this.transforms.push(new u(this.document, s, r));
3106
3136
  }
3107
3137
  });
3108
3138
  }
3109
3139
  static fromElement(e, t) {
3110
3140
  var r = t.getStyle("transform", !1, !0), [i, n = i] = t.getStyle("transform-origin", !1, !0).split(), o = [i, n];
3111
- return r.hasValue() ? new Le(e, r.getString(), o) : null;
3141
+ return r.hasValue() ? new Be(e, r.getString(), o) : null;
3112
3142
  }
3113
3143
  apply(e) {
3114
3144
  for (var {
@@ -3130,20 +3160,20 @@ class Le {
3130
3160
  t[i].applyToPoint(e);
3131
3161
  }
3132
3162
  }
3133
- Le.transformTypes = {
3134
- translate: h1,
3135
- rotate: v1,
3136
- scale: f1,
3137
- matrix: yl,
3138
- skewX: c1,
3139
- skewY: g1
3163
+ Be.transformTypes = {
3164
+ translate: S1,
3165
+ rotate: E1,
3166
+ scale: $1,
3167
+ matrix: Tl,
3168
+ skewX: w1,
3169
+ skewY: C1
3140
3170
  };
3141
- class N {
3171
+ class I {
3142
3172
  constructor(e, t) {
3143
3173
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
3144
3174
  if (this.document = e, this.node = t, this.captureTextNodes = r, this.attributes = /* @__PURE__ */ Object.create(null), this.styles = /* @__PURE__ */ Object.create(null), this.stylesSpecificity = /* @__PURE__ */ Object.create(null), this.animationFrozen = !1, this.animationFrozenValue = "", this.parent = null, this.children = [], !(!t || t.nodeType !== 1)) {
3145
3175
  if (Array.from(t.attributes).forEach((s) => {
3146
- var u = Qb(s.nodeName);
3176
+ var u = l1(s.nodeName);
3147
3177
  this.attributes[u] = new S(e, u, s.value);
3148
3178
  }), this.addStylesFromStyleDefinition(), this.getAttribute("style").hasValue()) {
3149
3179
  var i = this.getAttribute("style").getString().split(";").map((s) => s.trim());
@@ -3220,7 +3250,7 @@ class N {
3220
3250
  setContext(e) {
3221
3251
  }
3222
3252
  applyEffects(e) {
3223
- var t = Le.fromElement(this.document, this);
3253
+ var t = Be.fromElement(this.document, this);
3224
3254
  t && t.apply(e);
3225
3255
  var r = this.getStyle("clip-path", !1, !0);
3226
3256
  if (r.hasValue()) {
@@ -3236,8 +3266,8 @@ class N {
3236
3266
  });
3237
3267
  }
3238
3268
  addChild(e) {
3239
- var t = e instanceof N ? e : this.document.createElement(e);
3240
- t.parent = this, N.ignoreChildTypes.includes(t.type) || this.children.push(t);
3269
+ var t = e instanceof I ? e : this.document.createElement(e);
3270
+ t.parent = this, I.ignoreChildTypes.includes(t.type) || this.children.push(t);
3241
3271
  }
3242
3272
  matchesSelector(e) {
3243
3273
  var t, {
@@ -3284,20 +3314,20 @@ class N {
3284
3314
  return ((e = this.parent) === null || e === void 0 ? void 0 : e.children.indexOf(this)) === 0;
3285
3315
  }
3286
3316
  }
3287
- N.ignoreChildTypes = ["title"];
3288
- class y1 extends N {
3317
+ I.ignoreChildTypes = ["title"];
3318
+ class R1 extends I {
3289
3319
  constructor(e, t, r) {
3290
3320
  super(e, t, r);
3291
3321
  }
3292
3322
  }
3293
- function m1(a) {
3323
+ function N1(a) {
3294
3324
  var e = a.trim();
3295
3325
  return /^('|")/.test(e) ? e : '"'.concat(e, '"');
3296
3326
  }
3297
- function b1(a) {
3298
- return typeof process == "undefined" ? a : a.trim().split(",").map(m1).join(",");
3327
+ function I1(a) {
3328
+ return typeof process == "undefined" ? a : a.trim().split(",").map(N1).join(",");
3299
3329
  }
3300
- function x1(a) {
3330
+ function M1(a) {
3301
3331
  if (!a)
3302
3332
  return "";
3303
3333
  var e = a.trim().toLowerCase();
@@ -3313,7 +3343,7 @@ function x1(a) {
3313
3343
  return /^oblique\s+(-|)\d+deg$/.test(e) ? e : "";
3314
3344
  }
3315
3345
  }
3316
- function T1(a) {
3346
+ function _1(a) {
3317
3347
  if (!a)
3318
3348
  return "";
3319
3349
  var e = a.trim().toLowerCase();
@@ -3336,7 +3366,7 @@ class Z {
3336
3366
  this.fontFamily = n || s.fontFamily, this.fontSize = i || s.fontSize, this.fontStyle = e || s.fontStyle, this.fontWeight = r || s.fontWeight, this.fontVariant = t || s.fontVariant;
3337
3367
  }
3338
3368
  static parse() {
3339
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = arguments.length > 1 ? arguments[1] : void 0, r = "", i = "", n = "", o = "", s = "", u = ht(e).trim().split(" "), l = {
3369
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = arguments.length > 1 ? arguments[1] : void 0, r = "", i = "", n = "", o = "", s = "", u = lt(e).trim().split(" "), l = {
3340
3370
  fontSize: !1,
3341
3371
  fontStyle: !1,
3342
3372
  fontWeight: !1,
@@ -3363,12 +3393,12 @@ class Z {
3363
3393
  }
3364
3394
  toString() {
3365
3395
  return [
3366
- x1(this.fontStyle),
3396
+ M1(this.fontStyle),
3367
3397
  this.fontVariant,
3368
- T1(this.fontWeight),
3398
+ _1(this.fontWeight),
3369
3399
  this.fontSize,
3370
3400
  // Wrap fontFamily only on nodejs and only for canvas.ctx
3371
- b1(this.fontFamily)
3401
+ I1(this.fontFamily)
3372
3402
  ].join(" ").trim();
3373
3403
  }
3374
3404
  }
@@ -3455,7 +3485,7 @@ class w extends m {
3455
3485
  super(e.replace(/([+\-.])\s+/gm, "$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g, "")), this.control = null, this.start = null, this.current = null, this.command = null, this.commands = this.commands, this.i = -1, this.previousCommand = null, this.points = [], this.angles = [];
3456
3486
  }
3457
3487
  reset() {
3458
- this.i = -1, this.command = null, this.previousCommand = null, this.start = new D(0, 0), this.control = new D(0, 0), this.current = new D(0, 0), this.points = [], this.angles = [];
3488
+ this.i = -1, this.command = null, this.previousCommand = null, this.start = new k(0, 0), this.control = new k(0, 0), this.current = new k(0, 0), this.points = [], this.angles = [];
3459
3489
  }
3460
3490
  isEnd() {
3461
3491
  var {
@@ -3469,7 +3499,7 @@ class w extends m {
3469
3499
  return this.previousCommand = this.command, this.command = e, e;
3470
3500
  }
3471
3501
  getPoint() {
3472
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "x", t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "y", r = new D(this.command[e], this.command[t]);
3502
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "x", t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "y", r = new k(this.command[e], this.command[t]);
3473
3503
  return this.makeAbsolute(r);
3474
3504
  }
3475
3505
  getAsControlPoint(e, t) {
@@ -3493,7 +3523,7 @@ class w extends m {
3493
3523
  x: i,
3494
3524
  y: n
3495
3525
  }
3496
- } = this, o = new D(2 * t - i, 2 * r - n);
3526
+ } = this, o = new k(2 * t - i, 2 * r - n);
3497
3527
  return o;
3498
3528
  }
3499
3529
  makeAbsolute(e) {
@@ -3533,7 +3563,7 @@ class w extends m {
3533
3563
  return e;
3534
3564
  }
3535
3565
  }
3536
- class Ge extends N {
3566
+ class Ge extends I {
3537
3567
  constructor() {
3538
3568
  super(...arguments), this.modifiedEmSizeStack = !1;
3539
3569
  }
@@ -3574,20 +3604,20 @@ class Ge extends N {
3574
3604
  }
3575
3605
  var v = this.getStyle("stroke-width");
3576
3606
  if (v.hasValue()) {
3577
- var d = v.getPixels();
3578
- e.lineWidth = d || at;
3607
+ var g = v.getPixels();
3608
+ e.lineWidth = g || rt;
3579
3609
  }
3580
- var g = this.getStyle("stroke-linecap"), p = this.getStyle("stroke-linejoin"), y = this.getStyle("stroke-miterlimit"), x = this.getStyle("stroke-dasharray"), b = this.getStyle("stroke-dashoffset");
3581
- if (g.hasValue() && (e.lineCap = g.getString()), p.hasValue() && (e.lineJoin = p.getString()), y.hasValue() && (e.miterLimit = y.getNumber()), x.hasValue() && x.getString() !== "none") {
3582
- var T = ie(x.getString());
3610
+ var d = this.getStyle("stroke-linecap"), p = this.getStyle("stroke-linejoin"), y = this.getStyle("stroke-miterlimit"), x = this.getStyle("stroke-dasharray"), b = this.getStyle("stroke-dashoffset");
3611
+ if (d.hasValue() && (e.lineCap = d.getString()), p.hasValue() && (e.lineJoin = p.getString()), y.hasValue() && (e.miterLimit = y.getNumber()), x.hasValue() && x.getString() !== "none") {
3612
+ var T = ne(x.getString());
3583
3613
  typeof e.setLineDash != "undefined" ? e.setLineDash(T) : typeof e.webkitLineDash != "undefined" ? e.webkitLineDash = T : typeof e.mozDash != "undefined" && !(T.length === 1 && T[0] === 0) && (e.mozDash = T);
3584
3614
  var $ = b.getPixels();
3585
3615
  typeof e.lineDashOffset != "undefined" ? e.lineDashOffset = $ : typeof e.webkitLineDashOffset != "undefined" ? e.webkitLineDashOffset = $ : typeof e.mozDashOffset != "undefined" && (e.mozDashOffset = $);
3586
3616
  }
3587
3617
  }
3588
3618
  if (this.modifiedEmSizeStack = !1, typeof e.font != "undefined") {
3589
- var E = this.getStyle("font"), O = this.getStyle("font-style"), C = this.getStyle("font-variant"), I = this.getStyle("font-weight"), _ = this.getStyle("font-size"), j = this.getStyle("font-family"), P = new Z(O.getString(), C.getString(), I.getString(), _.hasValue() ? "".concat(_.getPixels(!0), "px") : "", j.getString(), Z.parse(E.getString(), e.font));
3590
- O.setValue(P.fontStyle), C.setValue(P.fontVariant), I.setValue(P.fontWeight), _.setValue(P.fontSize), j.setValue(P.fontFamily), e.font = P.toString(), _.isPixels() && (this.document.emSize = _.getPixels(), this.modifiedEmSizeStack = !0);
3619
+ 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));
3620
+ 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);
3591
3621
  }
3592
3622
  t || (this.applyEffects(e), e.globalAlpha = this.calculateOpacity());
3593
3623
  }
@@ -3660,12 +3690,12 @@ class A extends Ge {
3660
3690
  }
3661
3691
  if (o.isUrlDefinition())
3662
3692
  for (var f = o.getDefinition(), c = 1; c < i; c++) {
3663
- var [v, d] = r[c];
3664
- f.render(e, v, d);
3693
+ var [v, g] = r[c];
3694
+ f.render(e, v, g);
3665
3695
  }
3666
3696
  if (s.isUrlDefinition()) {
3667
- var g = s.getDefinition(), [p, y] = r[i];
3668
- g.render(e, p, y);
3697
+ var d = s.getDefinition(), [p, y] = r[i];
3698
+ d.render(e, p, y);
3669
3699
  }
3670
3700
  }
3671
3701
  }
@@ -3711,7 +3741,7 @@ class A extends Ge {
3711
3741
  var {
3712
3742
  current: t,
3713
3743
  command: r
3714
- } = e, i = new D((r.relative ? t.x : 0) + r.x, t.y);
3744
+ } = e, i = new k((r.relative ? t.x : 0) + r.x, t.y);
3715
3745
  return e.current = i, {
3716
3746
  current: t,
3717
3747
  point: i
@@ -3733,7 +3763,7 @@ class A extends Ge {
3733
3763
  var {
3734
3764
  current: t,
3735
3765
  command: r
3736
- } = e, i = new D(t.x, (r.relative ? t.y : 0) + r.y);
3766
+ } = e, i = new k(t.x, (r.relative ? t.y : 0) + r.y);
3737
3767
  return e.current = i, {
3738
3768
  current: t,
3739
3769
  point: i
@@ -3847,18 +3877,18 @@ class A extends Ge {
3847
3877
  xRot: o,
3848
3878
  lArcFlag: s,
3849
3879
  sweepFlag: u
3850
- } = r, l = o * (Math.PI / 180), h = e.getAsCurrentPoint(), f = new D(Math.cos(l) * (t.x - h.x) / 2 + Math.sin(l) * (t.y - h.y) / 2, -Math.sin(l) * (t.x - h.x) / 2 + Math.cos(l) * (t.y - h.y) / 2), c = Math.pow(f.x, 2) / Math.pow(i, 2) + Math.pow(f.y, 2) / Math.pow(n, 2);
3880
+ } = r, l = o * (Math.PI / 180), h = e.getAsCurrentPoint(), f = new k(Math.cos(l) * (t.x - h.x) / 2 + Math.sin(l) * (t.y - h.y) / 2, -Math.sin(l) * (t.x - h.x) / 2 + Math.cos(l) * (t.y - h.y) / 2), c = Math.pow(f.x, 2) / Math.pow(i, 2) + Math.pow(f.y, 2) / Math.pow(n, 2);
3851
3881
  c > 1 && (i *= Math.sqrt(c), n *= Math.sqrt(c));
3852
3882
  var v = (s === u ? -1 : 1) * Math.sqrt((Math.pow(i, 2) * Math.pow(n, 2) - Math.pow(i, 2) * Math.pow(f.y, 2) - Math.pow(n, 2) * Math.pow(f.x, 2)) / (Math.pow(i, 2) * Math.pow(f.y, 2) + Math.pow(n, 2) * Math.pow(f.x, 2)));
3853
3883
  isNaN(v) && (v = 0);
3854
- var d = new D(v * i * f.y / n, v * -n * f.x / i), g = new D((t.x + h.x) / 2 + Math.cos(l) * d.x - Math.sin(l) * d.y, (t.y + h.y) / 2 + Math.sin(l) * d.x + Math.cos(l) * d.y), p = Oo([1, 0], [(f.x - d.x) / i, (f.y - d.y) / n]), y = [(f.x - d.x) / i, (f.y - d.y) / n], x = [(-f.x - d.x) / i, (-f.y - d.y) / n], b = Oo(y, x);
3855
- return bi(y, x) <= -1 && (b = Math.PI), bi(y, x) >= 1 && (b = 0), {
3884
+ var g = new k(v * i * f.y / n, v * -n * f.x / i), d = new k((t.x + h.x) / 2 + Math.cos(l) * g.x - Math.sin(l) * g.y, (t.y + h.y) / 2 + Math.sin(l) * g.x + Math.cos(l) * g.y), p = $o([1, 0], [(f.x - g.x) / i, (f.y - g.y) / n]), y = [(f.x - g.x) / i, (f.y - g.y) / n], x = [(-f.x - g.x) / i, (-f.y - g.y) / n], b = $o(y, x);
3885
+ return xi(y, x) <= -1 && (b = Math.PI), xi(y, x) >= 1 && (b = 0), {
3856
3886
  currentPoint: h,
3857
3887
  rX: i,
3858
3888
  rY: n,
3859
3889
  sweepFlag: u,
3860
3890
  xAxisRotation: l,
3861
- centp: g,
3891
+ centp: d,
3862
3892
  a1: p,
3863
3893
  ad: b
3864
3894
  };
@@ -3875,10 +3905,10 @@ class A extends Ge {
3875
3905
  centp: l,
3876
3906
  a1: h,
3877
3907
  ad: f
3878
- } = A.pathA(r), c = 1 - s ? 1 : -1, v = h + c * (f / 2), d = new D(l.x + n * Math.cos(v), l.y + o * Math.sin(v));
3879
- if (r.addMarkerAngle(d, v - c * Math.PI / 2), r.addMarkerAngle(i, v - c * Math.PI), t.addPoint(i.x, i.y), e && !isNaN(h) && !isNaN(f)) {
3880
- var g = n > o ? n : o, p = n > o ? 1 : n / o, y = n > o ? o / n : 1;
3881
- e.translate(l.x, l.y), e.rotate(u), e.scale(p, y), e.arc(0, 0, g, h, h + f, !!(1 - s)), e.scale(1 / p, 1 / y), e.rotate(-u), e.translate(-l.x, -l.y);
3908
+ } = A.pathA(r), c = 1 - s ? 1 : -1, v = h + c * (f / 2), g = new k(l.x + n * Math.cos(v), l.y + o * Math.sin(v));
3909
+ if (r.addMarkerAngle(g, v - c * Math.PI / 2), r.addMarkerAngle(i, v - c * Math.PI), t.addPoint(i.x, i.y), e && !isNaN(h) && !isNaN(f)) {
3910
+ var d = n > o ? n : o, p = n > o ? 1 : n / o, y = n > o ? o / n : 1;
3911
+ e.translate(l.x, l.y), e.rotate(u), e.scale(p, y), e.arc(0, 0, d, h, h + f, !!(1 - s)), e.scale(1 / p, 1 / y), e.rotate(-u), e.translate(-l.x, -l.y);
3882
3912
  }
3883
3913
  }
3884
3914
  static pathZ(e) {
@@ -3888,7 +3918,7 @@ class A extends Ge {
3888
3918
  A.pathZ(this.pathParser), e && t.x1 !== t.x2 && t.y1 !== t.y2 && e.closePath();
3889
3919
  }
3890
3920
  }
3891
- class bl extends A {
3921
+ class Sl extends A {
3892
3922
  constructor(e, t, r) {
3893
3923
  super(e, t, r), this.type = "glyph", this.horizAdvX = this.getAttribute("horiz-adv-x").getNumber(), this.unicode = this.getAttribute("unicode").getString(), this.arabicForm = this.getAttribute("arabic-form").getString();
3894
3924
  }
@@ -3933,7 +3963,7 @@ class Ce extends Ge {
3933
3963
  var o = t.length, s = t[r - 1], u = t[r + 1], l = "isolated";
3934
3964
  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") {
3935
3965
  var h = e.glyphs[i];
3936
- n = h instanceof bl ? h : h[l];
3966
+ n = h instanceof Sl ? h : h[l];
3937
3967
  }
3938
3968
  } else
3939
3969
  n = e.glyphs[i];
@@ -3943,12 +3973,12 @@ class Ce extends Ge {
3943
3973
  return "";
3944
3974
  }
3945
3975
  getTextFromNode(e) {
3946
- var t = e || this.node, r = Array.from(t.parentNode.childNodes), i = r.indexOf(t), n = r.length - 1, o = ht(
3976
+ var t = e || this.node, r = Array.from(t.parentNode.childNodes), i = r.indexOf(t), n = r.length - 1, o = lt(
3947
3977
  // textNode.value
3948
3978
  // || textNode.text
3949
3979
  t.textContent || ""
3950
3980
  );
3951
- return i === 0 && (o = Xb(o)), i === n && (o = Wb(o)), o;
3981
+ return i === 0 && (o = s1(o)), i === n && (o = o1(o)), o;
3952
3982
  }
3953
3983
  renderChildren(e) {
3954
3984
  if (this.type !== "text") {
@@ -3971,11 +4001,11 @@ class Ce extends Ge {
3971
4001
  if (n) {
3972
4002
  for (var {
3973
4003
  unitsPerEm: o
3974
- } = n.fontFace, s = Z.parse(t.ctx.font), u = r.getStyle("font-size").getNumber(s.fontSize), l = r.getStyle("font-style").getString(s.fontStyle), h = u / o, f = n.isRTL ? i.split("").reverse().join("") : i, c = ie(r.getAttribute("dx").getString()), v = f.length, d = 0; d < v; d++) {
3975
- var g = this.getGlyph(n, f, d);
4004
+ } = n.fontFace, s = Z.parse(t.ctx.font), u = r.getStyle("font-size").getNumber(s.fontSize), l = r.getStyle("font-style").getString(s.fontStyle), h = u / o, f = n.isRTL ? i.split("").reverse().join("") : i, c = ne(r.getAttribute("dx").getString()), v = f.length, g = 0; g < v; g++) {
4005
+ var d = this.getGlyph(n, f, g);
3976
4006
  e.translate(this.x, this.y), e.scale(h, -h);
3977
4007
  var p = e.lineWidth;
3978
- e.lineWidth = e.lineWidth * o / u, l === "italic" && e.transform(1, 0, 0.4, 1, 0, 0), g.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 * (g.horizAdvX || n.horizAdvX) / o, typeof c[d] != "undefined" && !isNaN(c[d]) && (this.x += c[d]);
4008
+ 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]);
3979
4009
  }
3980
4010
  return;
3981
4011
  }
@@ -4047,7 +4077,7 @@ class Ce extends Ge {
4047
4077
  parent: r
4048
4078
  } = this, i = r.getStyle("font-family").getDefinition();
4049
4079
  if (i) {
4050
- for (var n = this.getFontSize(), o = i.isRTL ? t.split("").reverse().join("") : t, s = ie(r.getAttribute("dx").getString()), u = o.length, l = 0, h = 0; h < u; h++) {
4080
+ 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++) {
4051
4081
  var f = this.getGlyph(i, o, h);
4052
4082
  l += (f.horizAdvX || i.horizAdvX) * n / i.fontFace.unitsPerEm, typeof s[h] != "undefined" && !isNaN(s[h]) && (l += s[h]);
4053
4083
  }
@@ -4077,20 +4107,20 @@ class Ce extends Ge {
4077
4107
  return null;
4078
4108
  }
4079
4109
  }
4080
- class Vr extends Ce {
4110
+ class Lr extends Ce {
4081
4111
  constructor(e, t, r) {
4082
- super(e, t, new.target === Vr ? !0 : r), this.type = "tspan", this.text = this.children.length > 0 ? "" : this.getTextFromNode();
4112
+ super(e, t, new.target === Lr ? !0 : r), this.type = "tspan", this.text = this.children.length > 0 ? "" : this.getTextFromNode();
4083
4113
  }
4084
4114
  getText() {
4085
4115
  return this.text;
4086
4116
  }
4087
4117
  }
4088
- class O1 extends Vr {
4118
+ class V1 extends Lr {
4089
4119
  constructor() {
4090
4120
  super(...arguments), this.type = "textNode";
4091
4121
  }
4092
4122
  }
4093
- class It extends Ge {
4123
+ class Nt extends Ge {
4094
4124
  constructor() {
4095
4125
  super(...arguments), this.type = "svg", this.root = !1;
4096
4126
  }
@@ -4112,19 +4142,19 @@ class It extends Ge {
4112
4142
  height: l
4113
4143
  } = i.viewPort;
4114
4144
  this.getStyle("width").hasValue() || this.getStyle("width", !0).setValue("100%"), this.getStyle("height").hasValue() || this.getStyle("height", !0).setValue("100%"), this.getStyle("color").hasValue() || this.getStyle("color", !0).setValue("black");
4115
- var h = this.getAttribute("refX"), f = this.getAttribute("refY"), c = this.getAttribute("viewBox"), v = c.hasValue() ? ie(c.getString()) : null, d = !this.root && this.getStyle("overflow").getValue("hidden") !== "visible", g = 0, p = 0, y = 0, x = 0;
4116
- v && (g = v[0], p = v[1]), this.root || (u = this.getStyle("width").getPixels("x"), l = this.getStyle("height").getPixels("y"), this.type === "marker" && (y = g, x = p, g = 0, p = 0)), i.viewPort.setCurrent(u, l), this.node && (!this.parent || ((t = this.node.parentNode) === null || t === void 0 ? void 0 : t.nodeName) === "foreignObject") && this.getStyle("transform", !1, !0).hasValue() && !this.getStyle("transform-origin", !1, !0).hasValue() && this.getStyle("transform-origin", !0, !0).setValue("50% 50%"), super.setContext(e), e.translate(this.getAttribute("x").getPixels("x"), this.getAttribute("y").getPixels("y")), v && (u = v[2], l = v[3]), r.setViewBox({
4145
+ var h = this.getAttribute("refX"), f = this.getAttribute("refY"), c = this.getAttribute("viewBox"), v = c.hasValue() ? ne(c.getString()) : null, g = !this.root && this.getStyle("overflow").getValue("hidden") !== "visible", d = 0, p = 0, y = 0, x = 0;
4146
+ v && (d = v[0], p = v[1]), this.root || (u = this.getStyle("width").getPixels("x"), l = this.getStyle("height").getPixels("y"), this.type === "marker" && (y = d, x = p, d = 0, p = 0)), i.viewPort.setCurrent(u, l), this.node && (!this.parent || ((t = this.node.parentNode) === null || t === void 0 ? void 0 : t.nodeName) === "foreignObject") && this.getStyle("transform", !1, !0).hasValue() && !this.getStyle("transform-origin", !1, !0).hasValue() && this.getStyle("transform-origin", !0, !0).setValue("50% 50%"), super.setContext(e), e.translate(this.getAttribute("x").getPixels("x"), this.getAttribute("y").getPixels("y")), v && (u = v[2], l = v[3]), r.setViewBox({
4117
4147
  ctx: e,
4118
4148
  aspectRatio: this.getAttribute("preserveAspectRatio").getString(),
4119
4149
  width: i.viewPort.width,
4120
4150
  desiredWidth: u,
4121
4151
  height: i.viewPort.height,
4122
4152
  desiredHeight: l,
4123
- minX: g,
4153
+ minX: d,
4124
4154
  minY: p,
4125
4155
  refX: h.getValue(),
4126
4156
  refY: f.getValue(),
4127
- clip: d,
4157
+ clip: g,
4128
4158
  clipX: y,
4129
4159
  clipY: x
4130
4160
  }), v && (i.viewPort.removeCurrent(), i.viewPort.setCurrent(u, l));
@@ -4153,7 +4183,7 @@ class It extends Ge {
4153
4183
  }
4154
4184
  }
4155
4185
  }
4156
- class xl extends A {
4186
+ class El extends A {
4157
4187
  constructor() {
4158
4188
  super(...arguments), this.type = "rect";
4159
4189
  }
@@ -4169,7 +4199,7 @@ class xl extends A {
4169
4199
  return null;
4170
4200
  }
4171
4201
  }
4172
- class S1 extends A {
4202
+ class D1 extends A {
4173
4203
  constructor() {
4174
4204
  super(...arguments), this.type = "circle";
4175
4205
  }
@@ -4181,7 +4211,7 @@ class S1 extends A {
4181
4211
  return null;
4182
4212
  }
4183
4213
  }
4184
- class E1 extends A {
4214
+ class L1 extends A {
4185
4215
  constructor() {
4186
4216
  super(...arguments), this.type = "ellipse";
4187
4217
  }
@@ -4193,12 +4223,12 @@ class E1 extends A {
4193
4223
  return null;
4194
4224
  }
4195
4225
  }
4196
- class $1 extends A {
4226
+ class k1 extends A {
4197
4227
  constructor() {
4198
4228
  super(...arguments), this.type = "line";
4199
4229
  }
4200
4230
  getPoints() {
4201
- return [new D(this.getAttribute("x1").getPixels("x"), this.getAttribute("y1").getPixels("y")), new D(this.getAttribute("x2").getPixels("x"), this.getAttribute("y2").getPixels("y"))];
4231
+ return [new k(this.getAttribute("x1").getPixels("x"), this.getAttribute("y1").getPixels("y")), new k(this.getAttribute("x2").getPixels("x"), this.getAttribute("y2").getPixels("y"))];
4202
4232
  }
4203
4233
  path(e) {
4204
4234
  var [{
@@ -4215,9 +4245,9 @@ class $1 extends A {
4215
4245
  return [[e, r], [t, r]];
4216
4246
  }
4217
4247
  }
4218
- class Tl extends A {
4248
+ class $l extends A {
4219
4249
  constructor(e, t, r) {
4220
- super(e, t, r), this.type = "polyline", this.points = [], this.points = D.parsePath(this.getAttribute("points").getString());
4250
+ super(e, t, r), this.type = "polyline", this.points = [], this.points = k.parsePath(this.getAttribute("points").getString());
4221
4251
  }
4222
4252
  path(e) {
4223
4253
  var {
@@ -4243,7 +4273,7 @@ class Tl extends A {
4243
4273
  }), r.length > 0 && r.push([e[e.length - 1], r[r.length - 1][1]]), r;
4244
4274
  }
4245
4275
  }
4246
- class w1 extends Tl {
4276
+ class B1 extends $l {
4247
4277
  constructor() {
4248
4278
  super(...arguments), this.type = "polygon";
4249
4279
  }
@@ -4255,12 +4285,12 @@ class w1 extends Tl {
4255
4285
  return e && (e.lineTo(r, i), e.closePath()), t;
4256
4286
  }
4257
4287
  }
4258
- class C1 extends N {
4288
+ class j1 extends I {
4259
4289
  constructor() {
4260
4290
  super(...arguments), this.type = "pattern";
4261
4291
  }
4262
4292
  createPattern(e, t, r) {
4263
- var i = this.getStyle("width").getPixels("x", !0), n = this.getStyle("height").getPixels("y", !0), o = new It(this.document, null);
4293
+ var i = this.getStyle("width").getPixels("x", !0), n = this.getStyle("height").getPixels("y", !0), o = new Nt(this.document, null);
4264
4294
  o.attributes.viewBox = new S(this.document, "viewBox", this.getAttribute("viewBox").getValue()), o.attributes.width = new S(this.document, "width", "".concat(i, "px")), o.attributes.height = new S(this.document, "height", "".concat(n, "px")), o.attributes.transform = new S(this.document, "transform", this.getAttribute("patternTransform").getValue()), o.children = this.children;
4265
4295
  var s = this.document.createCanvas(i, n), u = s.getContext("2d"), l = this.getAttribute("x"), h = this.getAttribute("y");
4266
4296
  l.hasValue() && h.hasValue() && u.translate(l.getPixels("x", !0), h.getPixels("y", !0)), r.hasValue() ? this.styles["fill-opacity"] = r : Reflect.deleteProperty(this.styles, "fill-opacity");
@@ -4271,7 +4301,7 @@ class C1 extends N {
4271
4301
  return v;
4272
4302
  }
4273
4303
  }
4274
- class A1 extends N {
4304
+ class F1 extends I {
4275
4305
  constructor() {
4276
4306
  super(...arguments), this.type = "marker";
4277
4307
  }
@@ -4282,19 +4312,19 @@ class A1 extends N {
4282
4312
  y: n
4283
4313
  } = t, o = this.getAttribute("orient").getString("auto"), s = this.getAttribute("markerUnits").getString("strokeWidth");
4284
4314
  e.translate(i, n), o === "auto" && e.rotate(r), s === "strokeWidth" && e.scale(e.lineWidth, e.lineWidth), e.save();
4285
- var u = new It(this.document, null);
4315
+ var u = new Nt(this.document, null);
4286
4316
  u.type = this.type, u.attributes.viewBox = new S(this.document, "viewBox", this.getAttribute("viewBox").getValue()), u.attributes.refX = new S(this.document, "refX", this.getAttribute("refX").getValue()), u.attributes.refY = new S(this.document, "refY", this.getAttribute("refY").getValue()), u.attributes.width = new S(this.document, "width", this.getAttribute("markerWidth").getValue()), u.attributes.height = new S(this.document, "height", this.getAttribute("markerHeight").getValue()), u.attributes.overflow = new S(this.document, "overflow", this.getAttribute("overflow").getValue()), u.attributes.fill = new S(this.document, "fill", this.getAttribute("fill").getColor("black")), u.attributes.stroke = new S(this.document, "stroke", this.getAttribute("stroke").getValue("none")), u.children = this.children, u.render(e), e.restore(), s === "strokeWidth" && e.scale(1 / e.lineWidth, 1 / e.lineWidth), o === "auto" && e.rotate(-r), e.translate(-i, -n);
4287
4317
  }
4288
4318
  }
4289
4319
  }
4290
- class P1 extends N {
4320
+ class U1 extends I {
4291
4321
  constructor() {
4292
4322
  super(...arguments), this.type = "defs";
4293
4323
  }
4294
4324
  render() {
4295
4325
  }
4296
4326
  }
4297
- class an extends Ge {
4327
+ class sn extends Ge {
4298
4328
  constructor() {
4299
4329
  super(...arguments), this.type = "g";
4300
4330
  }
@@ -4305,7 +4335,7 @@ class an extends Ge {
4305
4335
  }), t;
4306
4336
  }
4307
4337
  }
4308
- class Ol extends N {
4338
+ class wl extends I {
4309
4339
  constructor(e, t, r) {
4310
4340
  super(e, t, r), this.attributesToInherit = ["gradientUnits"], this.stops = [];
4311
4341
  var {
@@ -4335,14 +4365,14 @@ class Ol extends N {
4335
4365
  } = this, {
4336
4366
  MAX_VIRTUAL_PIXELS: u,
4337
4367
  viewPort: l
4338
- } = s.screen, [h] = l.viewPorts, f = new xl(s, null);
4368
+ } = s.screen, [h] = l.viewPorts, f = new El(s, null);
4339
4369
  f.attributes.x = new S(s, "x", -u / 3), f.attributes.y = new S(s, "y", -u / 3), f.attributes.width = new S(s, "width", u), f.attributes.height = new S(s, "height", u);
4340
- var c = new an(s, null);
4370
+ var c = new sn(s, null);
4341
4371
  c.attributes.transform = new S(s, "transform", this.getAttribute("gradientTransform").getValue()), c.children = [f];
4342
- var v = new It(s, null);
4372
+ var v = new Nt(s, null);
4343
4373
  v.attributes.x = new S(s, "x", 0), v.attributes.y = new S(s, "y", 0), v.attributes.width = new S(s, "width", h.width), v.attributes.height = new S(s, "height", h.height), v.children = [c];
4344
- var d = s.createCanvas(h.width, h.height), g = d.getContext("2d");
4345
- return g.fillStyle = o, v.render(g), g.createPattern(d, "no-repeat");
4374
+ var g = s.createCanvas(h.width, h.height), d = g.getContext("2d");
4375
+ return d.fillStyle = o, v.render(d), d.createPattern(g, "no-repeat");
4346
4376
  }
4347
4377
  return o;
4348
4378
  }
@@ -4359,7 +4389,7 @@ class Ol extends N {
4359
4389
  return t;
4360
4390
  }
4361
4391
  }
4362
- class R1 extends Ol {
4392
+ class G1 extends wl {
4363
4393
  constructor(e, t, r) {
4364
4394
  super(e, t, r), this.type = "linearGradient", this.attributesToInherit.push("x1", "y1", "x2", "y2");
4365
4395
  }
@@ -4372,7 +4402,7 @@ class R1 extends Ol {
4372
4402
  return n === s && o === u ? null : e.createLinearGradient(n, o, s, u);
4373
4403
  }
4374
4404
  }
4375
- class N1 extends Ol {
4405
+ class z1 extends wl {
4376
4406
  constructor(e, t, r) {
4377
4407
  super(e, t, r), this.type = "radialGradient", this.attributesToInherit.push("cx", "cy", "r", "fx", "fy", "fr");
4378
4408
  }
@@ -4387,14 +4417,14 @@ class N1 extends Ol {
4387
4417
  return e.createRadialGradient(s, u, h, n, o, l);
4388
4418
  }
4389
4419
  }
4390
- class I1 extends N {
4420
+ class H1 extends I {
4391
4421
  constructor(e, t, r) {
4392
4422
  super(e, t, r), this.type = "stop";
4393
4423
  var i = Math.max(0, Math.min(1, this.getAttribute("offset").getNumber())), n = this.getStyle("stop-opacity"), o = this.getStyle("stop-color", !0);
4394
4424
  o.getString() === "" && o.setValue("#000"), n.hasValue() && (o = o.addOpacity(n)), this.offset = i, this.color = o.getColor();
4395
4425
  }
4396
4426
  }
4397
- class nn extends N {
4427
+ class on extends I {
4398
4428
  constructor(e, t, r) {
4399
4429
  super(e, t, r), this.type = "animate", this.duration = 0, this.initialValue = null, this.initialUnits = "", this.removed = !1, this.frozen = !1, e.screen.animations.push(this), this.begin = this.getAttribute("begin").getMilliseconds(), this.maxDuration = this.begin + this.getAttribute("dur").getMilliseconds(), this.from = this.getAttribute("from"), this.to = this.getAttribute("to"), this.values = new S(e, "values", null);
4400
4430
  var i = this.getAttribute("values");
@@ -4455,7 +4485,7 @@ class nn extends N {
4455
4485
  return r;
4456
4486
  }
4457
4487
  }
4458
- class M1 extends nn {
4488
+ class Y1 extends on {
4459
4489
  constructor() {
4460
4490
  super(...arguments), this.type = "animateColor";
4461
4491
  }
@@ -4464,7 +4494,7 @@ class M1 extends nn {
4464
4494
  progress: e,
4465
4495
  from: t,
4466
4496
  to: r
4467
- } = this.getProgress(), i = new pi(t.getColor()), n = new pi(r.getColor());
4497
+ } = this.getProgress(), i = new yi(t.getColor()), n = new yi(r.getColor());
4468
4498
  if (i.ok && n.ok) {
4469
4499
  var o = i.r + (n.r - i.r) * e, s = i.g + (n.g - i.g) * e, u = i.b + (n.b - i.b) * e;
4470
4500
  return "rgb(".concat(Math.floor(o), ", ").concat(Math.floor(s), ", ").concat(Math.floor(u), ")");
@@ -4472,7 +4502,7 @@ class M1 extends nn {
4472
4502
  return this.getAttribute("from").getColor();
4473
4503
  }
4474
4504
  }
4475
- class _1 extends nn {
4505
+ class X1 extends on {
4476
4506
  constructor() {
4477
4507
  super(...arguments), this.type = "animateTransform";
4478
4508
  }
@@ -4481,14 +4511,14 @@ class _1 extends nn {
4481
4511
  progress: e,
4482
4512
  from: t,
4483
4513
  to: r
4484
- } = this.getProgress(), i = ie(t.getString()), n = ie(r.getString()), o = i.map((s, u) => {
4514
+ } = this.getProgress(), i = ne(t.getString()), n = ne(r.getString()), o = i.map((s, u) => {
4485
4515
  var l = n[u];
4486
4516
  return s + (l - s) * e;
4487
4517
  }).join(" ");
4488
4518
  return o;
4489
4519
  }
4490
4520
  }
4491
- class V1 extends N {
4521
+ class W1 extends I {
4492
4522
  constructor(e, t, r) {
4493
4523
  super(e, t, r), this.type = "font", this.glyphs = /* @__PURE__ */ Object.create(null), this.horizAdvX = this.getAttribute("horiz-adv-x").getNumber();
4494
4524
  var {
@@ -4517,17 +4547,17 @@ class V1 extends N {
4517
4547
  render() {
4518
4548
  }
4519
4549
  }
4520
- class D1 extends N {
4550
+ class q1 extends I {
4521
4551
  constructor(e, t, r) {
4522
4552
  super(e, t, r), this.type = "font-face", this.ascent = this.getAttribute("ascent").getNumber(), this.descent = this.getAttribute("descent").getNumber(), this.unitsPerEm = this.getAttribute("units-per-em").getNumber();
4523
4553
  }
4524
4554
  }
4525
- class k1 extends A {
4555
+ class Q1 extends A {
4526
4556
  constructor() {
4527
4557
  super(...arguments), this.type = "missing-glyph", this.horizAdvX = 0;
4528
4558
  }
4529
4559
  }
4530
- class L1 extends Ce {
4560
+ class K1 extends Ce {
4531
4561
  constructor() {
4532
4562
  super(...arguments), this.type = "tref";
4533
4563
  }
@@ -4541,7 +4571,7 @@ class L1 extends Ce {
4541
4571
  return "";
4542
4572
  }
4543
4573
  }
4544
- class B1 extends Ce {
4574
+ class Z1 extends Ce {
4545
4575
  constructor(e, t, r) {
4546
4576
  super(e, t, r), this.type = "a";
4547
4577
  var {
@@ -4564,7 +4594,7 @@ class B1 extends Ce {
4564
4594
  } = t.screen, o = new S(t, "fontSize", Z.parse(t.ctx.font).fontSize);
4565
4595
  n.isWorking() && n.checkBoundingBox(this, new ce(r, i - o.getPixels("y"), r + this.measureText(e), i));
4566
4596
  } else if (this.children.length > 0) {
4567
- var s = new an(this.document, null);
4597
+ var s = new sn(this.document, null);
4568
4598
  s.children = this.children, s.parent = this, s.render(e);
4569
4599
  }
4570
4600
  }
@@ -4579,7 +4609,7 @@ class B1 extends Ce {
4579
4609
  e.canvas.style.cursor = "pointer";
4580
4610
  }
4581
4611
  }
4582
- function Ro(a, e) {
4612
+ function Mo(a, e) {
4583
4613
  var t = Object.keys(a);
4584
4614
  if (Object.getOwnPropertySymbols) {
4585
4615
  var r = Object.getOwnPropertySymbols(a);
@@ -4589,18 +4619,18 @@ function Ro(a, e) {
4589
4619
  }
4590
4620
  return t;
4591
4621
  }
4592
- function ar(a) {
4622
+ function ir(a) {
4593
4623
  for (var e = 1; e < arguments.length; e++) {
4594
4624
  var t = arguments[e] != null ? arguments[e] : {};
4595
- e % 2 ? Ro(Object(t), !0).forEach(function(r) {
4596
- tn(a, r, t[r]);
4597
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Ro(Object(t)).forEach(function(r) {
4625
+ e % 2 ? Mo(Object(t), !0).forEach(function(r) {
4626
+ an(a, r, t[r]);
4627
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Mo(Object(t)).forEach(function(r) {
4598
4628
  Object.defineProperty(a, r, Object.getOwnPropertyDescriptor(t, r));
4599
4629
  });
4600
4630
  }
4601
4631
  return a;
4602
4632
  }
4603
- class j1 extends Ce {
4633
+ class J1 extends Ce {
4604
4634
  constructor(e, t, r) {
4605
4635
  super(e, t, r), this.type = "textPath", this.textWidth = 0, this.textHeight = 0, this.pathLength = -1, this.glyphInfo = null, this.letterSpacingCache = [], this.measuresCache = /* @__PURE__ */ new Map([["", 0]]);
4606
4636
  var i = this.getHrefAttribute().getDefinition();
@@ -4632,8 +4662,8 @@ class j1 extends Ce {
4632
4662
  e && e.quadraticCurveTo(n[0], n[1], n[2], n[3]);
4633
4663
  break;
4634
4664
  case w.ARC: {
4635
- var [o, s, u, l, h, f, c, v] = n, d = u > l ? u : l, g = u > l ? 1 : u / l, p = u > l ? l / u : 1;
4636
- e && (e.translate(o, s), e.rotate(c), e.scale(g, p), e.arc(0, 0, d, h, h + f, !!(1 - v)), e.scale(1 / g, 1 / p), e.rotate(-c), e.translate(-o, -s));
4665
+ var [o, s, u, l, h, f, c, v] = n, g = u > l ? u : l, d = u > l ? 1 : u / l, p = u > l ? l / u : 1;
4666
+ e && (e.translate(o, s), e.rotate(c), e.scale(d, p), e.arc(0, 0, g, h, h + f, !!(1 - v)), e.scale(1 / d, 1 / p), e.rotate(-c), e.translate(-o, -s));
4637
4667
  break;
4638
4668
  }
4639
4669
  case w.CLOSE_PATH:
@@ -4664,23 +4694,23 @@ class j1 extends Ce {
4664
4694
  findSegmentToFitChar(e, t, r, i, n, o, s, u, l) {
4665
4695
  var h = o, f = this.measureText(e, u);
4666
4696
  u === " " && t === "justify" && r < i && (f += (i - r) / n), l > -1 && (h += this.getLetterSpacingAt(l));
4667
- var c = this.textHeight / 20, v = this.getEquidistantPointOnPath(h, c, 0), d = this.getEquidistantPointOnPath(h + f, c, 0), g = {
4697
+ var c = this.textHeight / 20, v = this.getEquidistantPointOnPath(h, c, 0), g = this.getEquidistantPointOnPath(h + f, c, 0), d = {
4668
4698
  p0: v,
4669
- p1: d
4670
- }, p = v && d ? Math.atan2(d.y - v.y, d.x - v.x) : 0;
4699
+ p1: g
4700
+ }, p = v && g ? Math.atan2(g.y - v.y, g.x - v.x) : 0;
4671
4701
  if (s) {
4672
4702
  var y = Math.cos(Math.PI / 2 + p) * s, x = Math.cos(-p) * s;
4673
- g.p0 = ar(ar({}, v), {}, {
4703
+ d.p0 = ir(ir({}, v), {}, {
4674
4704
  x: v.x + y,
4675
4705
  y: v.y + x
4676
- }), g.p1 = ar(ar({}, d), {}, {
4677
- x: d.x + y,
4678
- y: d.y + x
4706
+ }), d.p1 = ir(ir({}, g), {}, {
4707
+ x: g.x + y,
4708
+ y: g.y + x
4679
4709
  });
4680
4710
  }
4681
4711
  return h += f, {
4682
4712
  offset: h,
4683
- segment: g,
4713
+ segment: d,
4684
4714
  rotation: p
4685
4715
  };
4686
4716
  }
@@ -4704,8 +4734,8 @@ class j1 extends Ce {
4704
4734
  this.letterSpacingCache = f;
4705
4735
  for (var v = 0; v < c; v++)
4706
4736
  f.push(typeof n[v] != "undefined" ? n[v] : h);
4707
- var d = f.reduce((T, $, E) => E === 0 ? 0 : T + $ || 0, 0), g = this.measureText(e), p = Math.max(g + d, 0);
4708
- this.textWidth = g, this.textHeight = this.getFontSize(), this.glyphInfo = [];
4737
+ var g = f.reduce((T, $, E) => E === 0 ? 0 : T + $ || 0, 0), d = this.measureText(e), p = Math.max(d + g, 0);
4738
+ this.textWidth = d, this.textHeight = this.getFontSize(), this.glyphInfo = [];
4709
4739
  var y = this.getPathLength(), x = this.getStyle("startOffset").getNumber(0) * y, b = 0;
4710
4740
  (s === "middle" || s === "center") && (b = -p / 2), (s === "end" || s === "right") && (b = -p), b += x, r.forEach((T, $) => {
4711
4741
  var {
@@ -4880,7 +4910,7 @@ class j1 extends Ce {
4880
4910
  return 0;
4881
4911
  }
4882
4912
  getPointOnLine(e, t, r, i, n) {
4883
- var o = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : t, s = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : r, u = (n - r) / (i - t + at), l = Math.sqrt(e * e / (1 + u * u));
4913
+ var o = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : t, s = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : r, u = (n - r) / (i - t + rt), l = Math.sqrt(e * e / (1 + u * u));
4884
4914
  i < t && (l *= -1);
4885
4915
  var h = u * l, f = null;
4886
4916
  if (i === t)
@@ -4888,17 +4918,17 @@ class j1 extends Ce {
4888
4918
  x: o,
4889
4919
  y: s + h
4890
4920
  };
4891
- else if ((s - r) / (o - t + at) === u)
4921
+ else if ((s - r) / (o - t + rt) === u)
4892
4922
  f = {
4893
4923
  x: o + l,
4894
4924
  y: s + h
4895
4925
  };
4896
4926
  else {
4897
- var c = 0, v = 0, d = this.getLineLength(t, r, i, n);
4898
- if (d < at)
4927
+ var c = 0, v = 0, g = this.getLineLength(t, r, i, n);
4928
+ if (g < rt)
4899
4929
  return null;
4900
- var g = (o - t) * (i - t) + (s - r) * (n - r);
4901
- g /= d * d, c = t + g * (i - t), v = r + g * (n - r);
4930
+ var d = (o - t) * (i - t) + (s - r) * (n - r);
4931
+ d /= g * g, c = t + d * (i - t), v = r + d * (n - r);
4902
4932
  var p = this.getLineLength(o, s, c, v), y = Math.sqrt(e * e - p * p);
4903
4933
  l = Math.sqrt(y * y / (1 + u * u)), i < t && (l *= -1), h = u * l, f = {
4904
4934
  x: c + l,
@@ -4951,14 +4981,14 @@ class j1 extends Ce {
4951
4981
  return this.pathLength === -1 && (this.pathLength = this.dataArray.reduce((e, t) => t.pathLength > 0 ? e + t.pathLength : e, 0)), this.pathLength;
4952
4982
  }
4953
4983
  getPointOnCubicBezier(e, t, r, i, n, o, s, u, l) {
4954
- var h = u * So(e) + o * Eo(e) + i * $o(e) + t * wo(e), f = l * So(e) + s * Eo(e) + n * $o(e) + r * wo(e);
4984
+ var h = u * wo(e) + o * Co(e) + i * Ao(e) + t * Po(e), f = l * wo(e) + s * Co(e) + n * Ao(e) + r * Po(e);
4955
4985
  return {
4956
4986
  x: h,
4957
4987
  y: f
4958
4988
  };
4959
4989
  }
4960
4990
  getPointOnQuadraticBezier(e, t, r, i, n, o, s) {
4961
- var u = o * Co(e) + i * Ao(e) + t * Po(e), l = s * Co(e) + n * Ao(e) + r * Po(e);
4991
+ var u = o * Ro(e) + i * No(e) + t * Io(e), l = s * Ro(e) + n * No(e) + r * Io(e);
4962
4992
  return {
4963
4993
  x: u,
4964
4994
  y: l
@@ -5000,8 +5030,8 @@ class j1 extends Ce {
5000
5030
  return this.equidistantCache.points[i] || null;
5001
5031
  }
5002
5032
  }
5003
- var F1 = /^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;
5004
- class U1 extends Ge {
5033
+ var e2 = /^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;
5034
+ class t2 extends Ge {
5005
5035
  constructor(e, t, r) {
5006
5036
  super(e, t, r), this.type = "image", this.loaded = !1;
5007
5037
  var i = this.getHrefAttribute().getString();
@@ -5025,7 +5055,7 @@ class U1 extends Ge {
5025
5055
  loadSvg(e) {
5026
5056
  var t = this;
5027
5057
  return xe(function* () {
5028
- var r = F1.exec(e);
5058
+ var r = e2.exec(e);
5029
5059
  if (r) {
5030
5060
  var i = r[5];
5031
5061
  r[4] === "base64" ? t.image = atob(i) : t.image = decodeURIComponent(i);
@@ -5077,14 +5107,14 @@ class U1 extends Ge {
5077
5107
  return new ce(e, t, e + r, t + i);
5078
5108
  }
5079
5109
  }
5080
- class G1 extends Ge {
5110
+ class r2 extends Ge {
5081
5111
  constructor() {
5082
5112
  super(...arguments), this.type = "symbol";
5083
5113
  }
5084
5114
  render(e) {
5085
5115
  }
5086
5116
  }
5087
- class z1 {
5117
+ class a2 {
5088
5118
  constructor(e) {
5089
5119
  this.document = e, this.loaded = !1, e.fonts.push(this);
5090
5120
  }
@@ -5106,10 +5136,10 @@ class z1 {
5106
5136
  })();
5107
5137
  }
5108
5138
  }
5109
- class Sl extends N {
5139
+ class Cl extends I {
5110
5140
  constructor(e, t, r) {
5111
5141
  super(e, t, r), this.type = "style";
5112
- var i = ht(
5142
+ var i = lt(
5113
5143
  Array.from(t.childNodes).map((o) => o.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm, "").replace(/@import.*;/g, "")
5114
5144
  // remove imports
5115
5145
  ), n = i.split("}");
@@ -5124,12 +5154,12 @@ class Sl extends N {
5124
5154
  if (h.forEach((p) => {
5125
5155
  var y = p.indexOf(":"), x = p.substr(0, y).trim(), b = p.substr(y + 1, p.length - y).trim();
5126
5156
  x && b && (v[x] = new S(e, x, b));
5127
- }), e.styles[c] = v, e.stylesSpecificity[c] = n1(c), c === "@font-face") {
5128
- var d = v["font-family"].getString().replace(/"|'/g, ""), g = v.src.getString().split(",");
5129
- g.forEach((p) => {
5157
+ }), e.styles[c] = v, e.stylesSpecificity[c] = m1(c), c === "@font-face") {
5158
+ var g = v["font-family"].getString().replace(/"|'/g, ""), d = v.src.getString().split(",");
5159
+ d.forEach((p) => {
5130
5160
  if (p.indexOf('format("svg")') > 0) {
5131
- var y = gl(p);
5132
- y && new z1(e).load(d, y);
5161
+ var y = ml(p);
5162
+ y && new a2(e).load(g, y);
5133
5163
  }
5134
5164
  });
5135
5165
  }
@@ -5139,8 +5169,8 @@ class Sl extends N {
5139
5169
  });
5140
5170
  }
5141
5171
  }
5142
- Sl.parseExternalUrl = gl;
5143
- class H1 extends Ge {
5172
+ Cl.parseExternalUrl = ml;
5173
+ class i2 extends Ge {
5144
5174
  constructor() {
5145
5175
  super(...arguments), this.type = "use";
5146
5176
  }
@@ -5162,7 +5192,7 @@ class H1 extends Ge {
5162
5192
  } = this;
5163
5193
  if (r) {
5164
5194
  var i = r;
5165
- if (r.type === "symbol" && (i = new It(t, null), i.attributes.viewBox = new S(t, "viewBox", r.getAttribute("viewBox").getString()), i.attributes.preserveAspectRatio = new S(t, "preserveAspectRatio", r.getAttribute("preserveAspectRatio").getString()), i.attributes.overflow = new S(t, "overflow", r.getAttribute("overflow").getString()), i.children = r.children, r.styles.opacity = new S(t, "opacity", this.calculateOpacity())), i.type === "svg") {
5195
+ if (r.type === "symbol" && (i = new Nt(t, null), i.attributes.viewBox = new S(t, "viewBox", r.getAttribute("viewBox").getString()), i.attributes.preserveAspectRatio = new S(t, "preserveAspectRatio", r.getAttribute("preserveAspectRatio").getString()), i.attributes.overflow = new S(t, "overflow", r.getAttribute("overflow").getString()), i.children = r.children, r.styles.opacity = new S(t, "opacity", this.calculateOpacity())), i.type === "svg") {
5166
5196
  var n = this.getStyle("width", !1, !0), o = this.getStyle("height", !1, !0);
5167
5197
  n.hasValue() && (i.attributes.width = new S(t, "width", n.getString())), o.hasValue() && (i.attributes.height = new S(t, "height", o.getString()));
5168
5198
  }
@@ -5181,16 +5211,16 @@ class H1 extends Ge {
5181
5211
  document: e,
5182
5212
  element: t
5183
5213
  } = this;
5184
- return Le.fromElement(e, t);
5214
+ return Be.fromElement(e, t);
5185
5215
  }
5186
5216
  get element() {
5187
5217
  return this.cachedElement || (this.cachedElement = this.getHrefAttribute().getDefinition()), this.cachedElement;
5188
5218
  }
5189
5219
  }
5190
- function ir(a, e, t, r, i, n) {
5220
+ function nr(a, e, t, r, i, n) {
5191
5221
  return a[t * r * 4 + e * 4 + n];
5192
5222
  }
5193
- function nr(a, e, t, r, i, n, o) {
5223
+ function sr(a, e, t, r, i, n, o) {
5194
5224
  a[t * r * 4 + e * 4 + n] = o;
5195
5225
  }
5196
5226
  function F(a, e, t) {
@@ -5200,10 +5230,10 @@ function F(a, e, t) {
5200
5230
  function me(a, e, t, r) {
5201
5231
  return e + Math.cos(a) * t + Math.sin(a) * r;
5202
5232
  }
5203
- class El extends N {
5233
+ class Al extends I {
5204
5234
  constructor(e, t, r) {
5205
5235
  super(e, t, r), this.type = "feColorMatrix";
5206
- var i = ie(this.getAttribute("values").getString());
5236
+ var i = ne(this.getAttribute("values").getString());
5207
5237
  switch (this.getAttribute("type").getString("matrix")) {
5208
5238
  case "saturate": {
5209
5239
  var n = i[0];
@@ -5227,13 +5257,13 @@ class El extends N {
5227
5257
  matrix: s
5228
5258
  } = this, u = e.getImageData(0, 0, i, n), l = 0; l < n; l++)
5229
5259
  for (var h = 0; h < i; h++) {
5230
- var f = ir(u.data, h, l, i, n, 0), c = ir(u.data, h, l, i, n, 1), v = ir(u.data, h, l, i, n, 2), d = ir(u.data, h, l, i, n, 3), g = F(s, 0, f) + F(s, 1, c) + F(s, 2, v) + F(s, 3, d) + F(s, 4, 1), p = F(s, 5, f) + F(s, 6, c) + F(s, 7, v) + F(s, 8, d) + F(s, 9, 1), y = F(s, 10, f) + F(s, 11, c) + F(s, 12, v) + F(s, 13, d) + F(s, 14, 1), x = F(s, 15, f) + F(s, 16, c) + F(s, 17, v) + F(s, 18, d) + F(s, 19, 1);
5231
- o && (g = 0, p = 0, y = 0, x *= d / 255), nr(u.data, h, l, i, n, 0, g), nr(u.data, h, l, i, n, 1, p), nr(u.data, h, l, i, n, 2, y), nr(u.data, h, l, i, n, 3, x);
5260
+ var f = nr(u.data, h, l, i, n, 0), c = nr(u.data, h, l, i, n, 1), v = nr(u.data, h, l, i, n, 2), g = nr(u.data, h, l, i, n, 3), d = F(s, 0, f) + F(s, 1, c) + F(s, 2, v) + F(s, 3, g) + F(s, 4, 1), p = F(s, 5, f) + F(s, 6, c) + F(s, 7, v) + F(s, 8, g) + F(s, 9, 1), y = F(s, 10, f) + F(s, 11, c) + F(s, 12, v) + F(s, 13, g) + F(s, 14, 1), x = F(s, 15, f) + F(s, 16, c) + F(s, 17, v) + F(s, 18, g) + F(s, 19, 1);
5261
+ o && (d = 0, p = 0, y = 0, x *= g / 255), sr(u.data, h, l, i, n, 0, d), sr(u.data, h, l, i, n, 1, p), sr(u.data, h, l, i, n, 2, y), sr(u.data, h, l, i, n, 3, x);
5232
5262
  }
5233
5263
  e.clearRect(0, 0, i, n), e.putImageData(u, 0, 0);
5234
5264
  }
5235
5265
  }
5236
- class Dr extends N {
5266
+ class kr extends I {
5237
5267
  constructor() {
5238
5268
  super(...arguments), this.type = "mask";
5239
5269
  }
@@ -5243,12 +5273,12 @@ class Dr extends N {
5243
5273
  } = this, i = this.getAttribute("x").getPixels("x"), n = this.getAttribute("y").getPixels("y"), o = this.getStyle("width").getPixels("x"), s = this.getStyle("height").getPixels("y");
5244
5274
  if (!o && !s) {
5245
5275
  var u = new ce();
5246
- this.children.forEach((d) => {
5247
- u.addBoundingBox(d.getBoundingBox(e));
5276
+ this.children.forEach((g) => {
5277
+ u.addBoundingBox(g.getBoundingBox(e));
5248
5278
  }), i = Math.floor(u.x1), n = Math.floor(u.y1), o = Math.floor(u.width), s = Math.floor(u.height);
5249
5279
  }
5250
- var l = this.removeStyles(t, Dr.ignoreStyles), h = r.createCanvas(i + o, n + s), f = h.getContext("2d");
5251
- r.screen.setDefaults(f), this.renderChildren(f), new El(r, {
5280
+ var l = this.removeStyles(t, kr.ignoreStyles), h = r.createCanvas(i + o, n + s), f = h.getContext("2d");
5281
+ r.screen.setDefaults(f), this.renderChildren(f), new Al(r, {
5252
5282
  nodeType: 1,
5253
5283
  childNodes: [],
5254
5284
  attributes: [{
@@ -5265,10 +5295,10 @@ class Dr extends N {
5265
5295
  render(e) {
5266
5296
  }
5267
5297
  }
5268
- Dr.ignoreStyles = ["mask", "transform", "clip-path"];
5269
- var No = () => {
5298
+ kr.ignoreStyles = ["mask", "transform", "clip-path"];
5299
+ var _o = () => {
5270
5300
  };
5271
- class Y1 extends N {
5301
+ class n2 extends I {
5272
5302
  constructor() {
5273
5303
  super(...arguments), this.type = "clipPath";
5274
5304
  }
@@ -5279,17 +5309,17 @@ class Y1 extends N {
5279
5309
  beginPath: i,
5280
5310
  closePath: n
5281
5311
  } = e;
5282
- r && (r.beginPath = No, r.closePath = No), Reflect.apply(i, e, []), this.children.forEach((o) => {
5312
+ r && (r.beginPath = _o, r.closePath = _o), Reflect.apply(i, e, []), this.children.forEach((o) => {
5283
5313
  if (typeof o.path != "undefined") {
5284
5314
  var s = typeof o.elementTransform != "undefined" ? o.elementTransform() : null;
5285
- s || (s = Le.fromElement(t, o)), s && s.apply(e), o.path(e), r && (r.closePath = n), s && s.unapply(e);
5315
+ s || (s = Be.fromElement(t, o)), s && s.apply(e), o.path(e), r && (r.closePath = n), s && s.unapply(e);
5286
5316
  }
5287
5317
  }), Reflect.apply(n, e, []), e.clip(), r && (r.beginPath = i, r.closePath = n);
5288
5318
  }
5289
5319
  render(e) {
5290
5320
  }
5291
5321
  }
5292
- class kr extends N {
5322
+ class Br extends I {
5293
5323
  constructor() {
5294
5324
  super(...arguments), this.type = "filter";
5295
5325
  }
@@ -5306,39 +5336,39 @@ class kr extends N {
5306
5336
  });
5307
5337
  var u = Math.floor(n.width), l = Math.floor(n.height), h = u + 2 * o, f = l + 2 * s;
5308
5338
  if (!(h < 1 || f < 1)) {
5309
- var c = Math.floor(n.x), v = Math.floor(n.y), d = this.removeStyles(t, kr.ignoreStyles), g = r.createCanvas(h, f), p = g.getContext("2d");
5339
+ var c = Math.floor(n.x), v = Math.floor(n.y), g = this.removeStyles(t, Br.ignoreStyles), d = r.createCanvas(h, f), p = d.getContext("2d");
5310
5340
  r.screen.setDefaults(p), p.translate(-c + o, -v + s), t.render(p), i.forEach((y) => {
5311
5341
  typeof y.apply == "function" && y.apply(p, 0, 0, h, f);
5312
- }), e.drawImage(g, 0, 0, h, f, c - o, v - s, h, f), this.restoreStyles(t, d);
5342
+ }), e.drawImage(d, 0, 0, h, f, c - o, v - s, h, f), this.restoreStyles(t, g);
5313
5343
  }
5314
5344
  }
5315
5345
  }
5316
5346
  render(e) {
5317
5347
  }
5318
5348
  }
5319
- kr.ignoreStyles = ["filter", "transform", "clip-path"];
5320
- class X1 extends N {
5349
+ Br.ignoreStyles = ["filter", "transform", "clip-path"];
5350
+ class s2 extends I {
5321
5351
  constructor(e, t, r) {
5322
5352
  super(e, t, r), this.type = "feDropShadow", this.addStylesFromStyleDefinition();
5323
5353
  }
5324
5354
  apply(e, t, r, i, n) {
5325
5355
  }
5326
5356
  }
5327
- class W1 extends N {
5357
+ class o2 extends I {
5328
5358
  constructor() {
5329
5359
  super(...arguments), this.type = "feMorphology";
5330
5360
  }
5331
5361
  apply(e, t, r, i, n) {
5332
5362
  }
5333
5363
  }
5334
- class q1 extends N {
5364
+ class u2 extends I {
5335
5365
  constructor() {
5336
5366
  super(...arguments), this.type = "feComposite";
5337
5367
  }
5338
5368
  apply(e, t, r, i, n) {
5339
5369
  }
5340
5370
  }
5341
- class Q1 extends N {
5371
+ class l2 extends I {
5342
5372
  constructor(e, t, r) {
5343
5373
  super(e, t, r), this.type = "feGaussianBlur", this.blurRadius = Math.floor(this.getAttribute("stdDeviation").getNumber()), this.extraFilterDistance = this.blurRadius;
5344
5374
  }
@@ -5347,63 +5377,63 @@ class Q1 extends N {
5347
5377
  document: o,
5348
5378
  blurRadius: s
5349
5379
  } = this, u = o.window ? o.window.document.body : null, l = e.canvas;
5350
- l.id = o.getUniqueId(), u && (l.style.display = "none", u.appendChild(l)), Gb(l, t, r, i, n, s), u && u.removeChild(l);
5380
+ l.id = o.getUniqueId(), u && (l.style.display = "none", u.appendChild(l)), r1(l, t, r, i, n, s), u && u.removeChild(l);
5351
5381
  }
5352
5382
  }
5353
- class K1 extends N {
5383
+ class h2 extends I {
5354
5384
  constructor() {
5355
5385
  super(...arguments), this.type = "title";
5356
5386
  }
5357
5387
  }
5358
- class Z1 extends N {
5388
+ class v2 extends I {
5359
5389
  constructor() {
5360
5390
  super(...arguments), this.type = "desc";
5361
5391
  }
5362
5392
  }
5363
- var J1 = {
5364
- svg: It,
5365
- rect: xl,
5366
- circle: S1,
5367
- ellipse: E1,
5368
- line: $1,
5369
- polyline: Tl,
5370
- polygon: w1,
5393
+ var f2 = {
5394
+ svg: Nt,
5395
+ rect: El,
5396
+ circle: D1,
5397
+ ellipse: L1,
5398
+ line: k1,
5399
+ polyline: $l,
5400
+ polygon: B1,
5371
5401
  path: A,
5372
- pattern: C1,
5373
- marker: A1,
5374
- defs: P1,
5375
- linearGradient: R1,
5376
- radialGradient: N1,
5377
- stop: I1,
5378
- animate: nn,
5379
- animateColor: M1,
5380
- animateTransform: _1,
5381
- font: V1,
5382
- "font-face": D1,
5383
- "missing-glyph": k1,
5384
- glyph: bl,
5402
+ pattern: j1,
5403
+ marker: F1,
5404
+ defs: U1,
5405
+ linearGradient: G1,
5406
+ radialGradient: z1,
5407
+ stop: H1,
5408
+ animate: on,
5409
+ animateColor: Y1,
5410
+ animateTransform: X1,
5411
+ font: W1,
5412
+ "font-face": q1,
5413
+ "missing-glyph": Q1,
5414
+ glyph: Sl,
5385
5415
  text: Ce,
5386
- tspan: Vr,
5387
- tref: L1,
5388
- a: B1,
5389
- textPath: j1,
5390
- image: U1,
5391
- g: an,
5392
- symbol: G1,
5393
- style: Sl,
5394
- use: H1,
5395
- mask: Dr,
5396
- clipPath: Y1,
5397
- filter: kr,
5398
- feDropShadow: X1,
5399
- feMorphology: W1,
5400
- feComposite: q1,
5401
- feColorMatrix: El,
5402
- feGaussianBlur: Q1,
5403
- title: K1,
5404
- desc: Z1
5416
+ tspan: Lr,
5417
+ tref: K1,
5418
+ a: Z1,
5419
+ textPath: J1,
5420
+ image: t2,
5421
+ g: sn,
5422
+ symbol: r2,
5423
+ style: Cl,
5424
+ use: i2,
5425
+ mask: kr,
5426
+ clipPath: n2,
5427
+ filter: Br,
5428
+ feDropShadow: s2,
5429
+ feMorphology: o2,
5430
+ feComposite: u2,
5431
+ feColorMatrix: Al,
5432
+ feGaussianBlur: l2,
5433
+ title: h2,
5434
+ desc: v2
5405
5435
  };
5406
- function Io(a, e) {
5436
+ function Vo(a, e) {
5407
5437
  var t = Object.keys(a);
5408
5438
  if (Object.getOwnPropertySymbols) {
5409
5439
  var r = Object.getOwnPropertySymbols(a);
@@ -5413,26 +5443,26 @@ function Io(a, e) {
5413
5443
  }
5414
5444
  return t;
5415
5445
  }
5416
- function e2(a) {
5446
+ function c2(a) {
5417
5447
  for (var e = 1; e < arguments.length; e++) {
5418
5448
  var t = arguments[e] != null ? arguments[e] : {};
5419
- e % 2 ? Io(Object(t), !0).forEach(function(r) {
5420
- tn(a, r, t[r]);
5421
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Io(Object(t)).forEach(function(r) {
5449
+ e % 2 ? Vo(Object(t), !0).forEach(function(r) {
5450
+ an(a, r, t[r]);
5451
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Vo(Object(t)).forEach(function(r) {
5422
5452
  Object.defineProperty(a, r, Object.getOwnPropertyDescriptor(t, r));
5423
5453
  });
5424
5454
  }
5425
5455
  return a;
5426
5456
  }
5427
- function t2(a, e) {
5457
+ function g2(a, e) {
5428
5458
  var t = document.createElement("canvas");
5429
5459
  return t.width = a, t.height = e, t;
5430
5460
  }
5431
- function r2(a) {
5432
- return xi.apply(this, arguments);
5461
+ function d2(a) {
5462
+ return Ti.apply(this, arguments);
5433
5463
  }
5434
- function xi() {
5435
- return xi = xe(function* (a) {
5464
+ function Ti() {
5465
+ return Ti = xe(function* (a) {
5436
5466
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, t = document.createElement("img");
5437
5467
  return e && (t.crossOrigin = "Anonymous"), new Promise((r, i) => {
5438
5468
  t.onload = () => {
@@ -5441,7 +5471,7 @@ function xi() {
5441
5471
  i(l);
5442
5472
  }, t.src = a;
5443
5473
  });
5444
- }), xi.apply(this, arguments);
5474
+ }), Ti.apply(this, arguments);
5445
5475
  }
5446
5476
  class $e {
5447
5477
  constructor(e) {
@@ -5499,21 +5529,21 @@ class $e {
5499
5529
  }
5500
5530
  createElement(e) {
5501
5531
  var t = e.nodeName.replace(/^[^:]+:/, ""), r = $e.elementTypes[t];
5502
- return typeof r != "undefined" ? new r(this, e) : new y1(this, e);
5532
+ return typeof r != "undefined" ? new r(this, e) : new R1(this, e);
5503
5533
  }
5504
5534
  createTextNode(e) {
5505
- return new O1(this, e);
5535
+ return new V1(this, e);
5506
5536
  }
5507
5537
  setViewBox(e) {
5508
- this.screen.setViewBox(e2({
5538
+ this.screen.setViewBox(c2({
5509
5539
  document: this
5510
5540
  }, e));
5511
5541
  }
5512
5542
  }
5513
- $e.createCanvas = t2;
5514
- $e.createImage = r2;
5515
- $e.elementTypes = J1;
5516
- function Mo(a, e) {
5543
+ $e.createCanvas = g2;
5544
+ $e.createImage = d2;
5545
+ $e.elementTypes = f2;
5546
+ function Do(a, e) {
5517
5547
  var t = Object.keys(a);
5518
5548
  if (Object.getOwnPropertySymbols) {
5519
5549
  var r = Object.getOwnPropertySymbols(a);
@@ -5523,18 +5553,18 @@ function Mo(a, e) {
5523
5553
  }
5524
5554
  return t;
5525
5555
  }
5526
- function Ve(a) {
5556
+ function De(a) {
5527
5557
  for (var e = 1; e < arguments.length; e++) {
5528
5558
  var t = arguments[e] != null ? arguments[e] : {};
5529
- e % 2 ? Mo(Object(t), !0).forEach(function(r) {
5530
- tn(a, r, t[r]);
5531
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Mo(Object(t)).forEach(function(r) {
5559
+ e % 2 ? Do(Object(t), !0).forEach(function(r) {
5560
+ an(a, r, t[r]);
5561
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Do(Object(t)).forEach(function(r) {
5532
5562
  Object.defineProperty(a, r, Object.getOwnPropertyDescriptor(t, r));
5533
5563
  });
5534
5564
  }
5535
5565
  return a;
5536
5566
  }
5537
- class bt {
5567
+ class mt {
5538
5568
  /**
5539
5569
  * Main constructor.
5540
5570
  * @param ctx - Rendering context.
@@ -5543,7 +5573,7 @@ class bt {
5543
5573
  */
5544
5574
  constructor(e, t) {
5545
5575
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5546
- this.parser = new Ga(r), this.screen = new _r(e, r), this.options = r;
5576
+ this.parser = new za(r), this.screen = new Dr(e, r), this.options = r;
5547
5577
  var i = new $e(this, r), n = i.createDocumentElement(t);
5548
5578
  this.document = i, this.documentElement = n;
5549
5579
  }
@@ -5557,8 +5587,8 @@ class bt {
5557
5587
  static from(e, t) {
5558
5588
  var r = arguments;
5559
5589
  return xe(function* () {
5560
- var i = r.length > 2 && r[2] !== void 0 ? r[2] : {}, n = new Ga(i), o = yield n.parse(t);
5561
- return new bt(e, o, i);
5590
+ var i = r.length > 2 && r[2] !== void 0 ? r[2] : {}, n = new za(i), o = yield n.parse(t);
5591
+ return new mt(e, o, i);
5562
5592
  })();
5563
5593
  }
5564
5594
  /**
@@ -5569,8 +5599,8 @@ class bt {
5569
5599
  * @returns Canvg instance.
5570
5600
  */
5571
5601
  static fromString(e, t) {
5572
- var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = new Ga(r), n = i.parseFromString(t);
5573
- return new bt(e, n, r);
5602
+ var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = new za(r), n = i.parseFromString(t);
5603
+ return new mt(e, n, r);
5574
5604
  }
5575
5605
  /**
5576
5606
  * Create new Canvg instance with inherited options.
@@ -5581,7 +5611,7 @@ class bt {
5581
5611
  */
5582
5612
  fork(e, t) {
5583
5613
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5584
- return bt.from(e, t, Ve(Ve({}, this.options), r));
5614
+ return mt.from(e, t, De(De({}, this.options), r));
5585
5615
  }
5586
5616
  /**
5587
5617
  * Create new Canvg instance with inherited options.
@@ -5592,7 +5622,7 @@ class bt {
5592
5622
  */
5593
5623
  forkString(e, t) {
5594
5624
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5595
- return bt.fromString(e, t, Ve(Ve({}, this.options), r));
5625
+ return mt.fromString(e, t, De(De({}, this.options), r));
5596
5626
  }
5597
5627
  /**
5598
5628
  * Document is ready promise.
@@ -5616,7 +5646,7 @@ class bt {
5616
5646
  var e = arguments, t = this;
5617
5647
  return xe(function* () {
5618
5648
  var r = e.length > 0 && e[0] !== void 0 ? e[0] : {};
5619
- t.start(Ve({
5649
+ t.start(De({
5620
5650
  enableRedraw: !0,
5621
5651
  ignoreAnimation: !0,
5622
5652
  ignoreMouse: !0
@@ -5633,7 +5663,7 @@ class bt {
5633
5663
  screen: r,
5634
5664
  options: i
5635
5665
  } = this;
5636
- r.start(t, Ve(Ve({
5666
+ r.start(t, De(De({
5637
5667
  enableRedraw: !0
5638
5668
  }, i), e));
5639
5669
  }
@@ -5655,90 +5685,90 @@ class bt {
5655
5685
  }
5656
5686
  }
5657
5687
  export {
5658
- B1 as AElement,
5659
- M1 as AnimateColorElement,
5660
- nn as AnimateElement,
5661
- _1 as AnimateTransformElement,
5688
+ Z1 as AElement,
5689
+ Y1 as AnimateColorElement,
5690
+ on as AnimateElement,
5691
+ X1 as AnimateTransformElement,
5662
5692
  ce as BoundingBox,
5663
- So as CB1,
5664
- Eo as CB2,
5665
- $o as CB3,
5666
- wo as CB4,
5667
- bt as Canvg,
5668
- S1 as CircleElement,
5669
- Y1 as ClipPathElement,
5670
- P1 as DefsElement,
5671
- Z1 as DescElement,
5693
+ wo as CB1,
5694
+ Co as CB2,
5695
+ Ao as CB3,
5696
+ Po as CB4,
5697
+ mt as Canvg,
5698
+ D1 as CircleElement,
5699
+ n2 as ClipPathElement,
5700
+ U1 as DefsElement,
5701
+ v2 as DescElement,
5672
5702
  $e as Document,
5673
- N as Element,
5674
- E1 as EllipseElement,
5675
- El as FeColorMatrixElement,
5676
- q1 as FeCompositeElement,
5677
- X1 as FeDropShadowElement,
5678
- Q1 as FeGaussianBlurElement,
5679
- W1 as FeMorphologyElement,
5680
- kr as FilterElement,
5703
+ I as Element,
5704
+ L1 as EllipseElement,
5705
+ Al as FeColorMatrixElement,
5706
+ u2 as FeCompositeElement,
5707
+ s2 as FeDropShadowElement,
5708
+ l2 as FeGaussianBlurElement,
5709
+ o2 as FeMorphologyElement,
5710
+ Br as FilterElement,
5681
5711
  Z as Font,
5682
- V1 as FontElement,
5683
- D1 as FontFaceElement,
5684
- an as GElement,
5685
- bl as GlyphElement,
5686
- Ol as GradientElement,
5687
- U1 as ImageElement,
5688
- $1 as LineElement,
5689
- R1 as LinearGradientElement,
5690
- A1 as MarkerElement,
5691
- Dr as MaskElement,
5692
- yl as Matrix,
5693
- k1 as MissingGlyphElement,
5694
- o1 as Mouse,
5695
- at as PSEUDO_ZERO,
5696
- Ga as Parser,
5712
+ W1 as FontElement,
5713
+ q1 as FontFaceElement,
5714
+ sn as GElement,
5715
+ Sl as GlyphElement,
5716
+ wl as GradientElement,
5717
+ t2 as ImageElement,
5718
+ k1 as LineElement,
5719
+ G1 as LinearGradientElement,
5720
+ F1 as MarkerElement,
5721
+ kr as MaskElement,
5722
+ Tl as Matrix,
5723
+ Q1 as MissingGlyphElement,
5724
+ x1 as Mouse,
5725
+ rt as PSEUDO_ZERO,
5726
+ za as Parser,
5697
5727
  A as PathElement,
5698
5728
  w as PathParser,
5699
- C1 as PatternElement,
5700
- D as Point,
5701
- w1 as PolygonElement,
5702
- Tl as PolylineElement,
5729
+ j1 as PatternElement,
5730
+ k as Point,
5731
+ B1 as PolygonElement,
5732
+ $l as PolylineElement,
5703
5733
  S as Property,
5704
- Co as QB1,
5705
- Ao as QB2,
5706
- Po as QB3,
5707
- N1 as RadialGradientElement,
5708
- xl as RectElement,
5734
+ Ro as QB1,
5735
+ No as QB2,
5736
+ Io as QB3,
5737
+ z1 as RadialGradientElement,
5738
+ El as RectElement,
5709
5739
  Ge as RenderedElement,
5710
- v1 as Rotate,
5711
- It as SVGElement,
5712
- z1 as SVGFontLoader,
5713
- f1 as Scale,
5714
- _r as Screen,
5715
- ml as Skew,
5716
- c1 as SkewX,
5717
- g1 as SkewY,
5718
- I1 as StopElement,
5719
- Sl as StyleElement,
5720
- G1 as SymbolElement,
5721
- L1 as TRefElement,
5722
- Vr as TSpanElement,
5740
+ E1 as Rotate,
5741
+ Nt as SVGElement,
5742
+ a2 as SVGFontLoader,
5743
+ $1 as Scale,
5744
+ Dr as Screen,
5745
+ Ol as Skew,
5746
+ w1 as SkewX,
5747
+ C1 as SkewY,
5748
+ H1 as StopElement,
5749
+ Cl as StyleElement,
5750
+ r2 as SymbolElement,
5751
+ K1 as TRefElement,
5752
+ Lr as TSpanElement,
5723
5753
  Ce as TextElement,
5724
- j1 as TextPathElement,
5725
- K1 as TitleElement,
5726
- Le as Transform,
5727
- h1 as Translate,
5728
- y1 as UnknownElement,
5729
- H1 as UseElement,
5730
- s1 as ViewPort,
5731
- ht as compressSpaces,
5732
- bt as default,
5733
- n1 as getSelectorSpecificity,
5734
- Qb as normalizeAttributeName,
5735
- Kb as normalizeColor,
5736
- gl as parseExternalUrl,
5737
- i2 as presets,
5738
- ie as toNumbers,
5739
- Xb as trimLeft,
5740
- Wb as trimRight,
5741
- To as vectorMagnitude,
5742
- Oo as vectorsAngle,
5743
- bi as vectorsRatio
5754
+ J1 as TextPathElement,
5755
+ h2 as TitleElement,
5756
+ Be as Transform,
5757
+ S1 as Translate,
5758
+ R1 as UnknownElement,
5759
+ i2 as UseElement,
5760
+ b1 as ViewPort,
5761
+ lt as compressSpaces,
5762
+ mt as default,
5763
+ m1 as getSelectorSpecificity,
5764
+ l1 as normalizeAttributeName,
5765
+ h1 as normalizeColor,
5766
+ ml as parseExternalUrl,
5767
+ y2 as presets,
5768
+ ne as toNumbers,
5769
+ s1 as trimLeft,
5770
+ o1 as trimRight,
5771
+ Eo as vectorMagnitude,
5772
+ $o as vectorsAngle,
5773
+ xi as vectorsRatio
5744
5774
  };