@ranty/ranty-sdk 3.28.5 → 3.29.0-beta.1

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";
1
+ import { c as Ke, _ as Wa, g as Fo } from "./index-c5fd581d.js";
2
2
  var vt = 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
6
  vt(typeof globalThis == "object" && globalThis) || vt(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
7
7
  vt(typeof self == "object" && self) || vt(typeof Ke == "object" && Ke) || vt(typeof Ke == "object" && Ke) || // 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
+ ), $t = {}, 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
+ }, Il = D, he = !Il(function() {
18
18
  return Object.defineProperty({}, 1, { get: function() {
19
19
  return 7;
20
20
  } })[1] !== 7;
21
- }), wl = k, mr = !wl(function() {
21
+ }), Ml = D, xr = !Ml(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() {
25
+ }), _l = xr, Ut = Function.prototype.call, Y = _l ? Ut.bind(Ut) : function() {
26
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);
27
+ }, Uo = {}, Go = {}.propertyIsEnumerable, zo = Object.getOwnPropertyDescriptor, Vl = zo && !Go.call({ 1: 2 }, 1);
28
+ Uo.f = Vl ? function(e) {
29
+ var t = zo(this, e);
30
30
  return !!t && t.enumerable;
31
- } : Do;
32
- var Ti = function(a, e) {
31
+ } : Go;
32
+ var $i = 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
+ }, Ho = xr, Yo = Function.prototype, qa = Yo.call, Dl = Ho && Yo.bind.bind(qa, qa), L = Ho ? Dl : function(a) {
40
40
  return function() {
41
- return Ha.apply(a, arguments);
41
+ return qa.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
+ }, Xo = L, Ll = Xo({}.toString), kl = Xo("".slice), je = function(a) {
44
+ return kl(Ll(a), 8, -1);
45
+ }, Bl = L, jl = D, Fl = je, ea = Object, Ul = Bl("".split), Wo = jl(function() {
46
+ return !ea("z").propertyIsEnumerable(0);
47
47
  }) ? function(a) {
48
- return _l(a) === "String" ? Vl(a, "") : Qr(a);
49
- } : Qr, je = function(a) {
48
+ return Fl(a) === "String" ? Ul(a, "") : ea(a);
49
+ } : ea, Tr = 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
+ }, Gl = Tr, zl = TypeError, ve = function(a) {
52
+ if (Gl(a))
53
+ throw new zl("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
+ }, Hl = Wo, Yl = ve, wt = function(a) {
56
+ return Hl(Yl(a));
57
+ }, ta = typeof document == "object" && document.all, B = typeof ta == "undefined" && ta !== void 0 ? function(a) {
58
+ return typeof a == "function" || a === ta;
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
+ }, Xl = B, ae = function(a) {
62
+ return typeof a == "object" ? a !== null : Xl(a);
63
+ }, ra = _, Wl = B, ql = function(a) {
64
+ return Wl(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 ? ql(ra[a]) : ra[a] && ra[a][e];
67
+ }, Ql = L, Or = Ql({}.isPrototypeOf), Kl = _, xn = Kl.navigator, Tn = xn && xn.userAgent, Ct = Tn ? String(Tn) : "", qo = _, aa = Ct, On = qo.process, Sn = qo.Deno, En = On && On.versions || Sn && Sn.version, $n = En && En.v8, le, gr;
68
+ $n && (le = $n.split("."), gr = le[0] > 0 && le[0] < 4 ? 1 : +(le[0] + le[1]));
69
+ !gr && aa && (le = aa.match(/Edge\/(\d+)/), (!le || le[1] >= 74) && (le = aa.match(/Chrome\/(\d+)/), le && (gr = +le[1])));
70
+ var wi = gr, wn = wi, Zl = D, Jl = _, eh = Jl.String, Qo = !!Object.getOwnPropertySymbols && !Zl(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 !eh(a) || !(Object(a) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
73
+ !Symbol.sham && wn && wn < 41;
74
+ }), th = Qo, Ko = th && !Symbol.sham && typeof Symbol.iterator == "symbol", rh = Fe, ah = B, ih = Or, nh = Ko, sh = Object, Zo = nh ? 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 = rh("Symbol");
78
+ return ah(e) && ih(e.prototype, sh(a));
79
+ }, oh = String, Sr = function(a) {
80
80
  try {
81
- return eh(a);
81
+ return oh(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
+ }, uh = B, lh = Sr, hh = TypeError, Te = function(a) {
86
+ if (uh(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 hh(lh(a) + " is not a function");
89
+ }, vh = Te, fh = Tr, ot = 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 fh(t) ? void 0 : vh(t);
92
+ }, ia = Y, na = B, sa = ae, ch = TypeError, gh = 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" && na(t = a.toString) && !sa(r = ia(t, a)) || na(t = a.valueOf) && !sa(r = ia(t, a)) || e !== "string" && na(t = a.toString) && !sa(r = ia(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 ch("Can't convert object to primitive value");
97
+ }, Jo = { exports: {} }, Cn = _, dh = Object.defineProperty, Ci = function(a, e) {
98
98
  try {
99
- uh(On, a, { value: e, configurable: !0, writable: !0 });
99
+ dh(Cn, a, { value: e, configurable: !0, writable: !0 });
100
100
  } catch (t) {
101
- On[a] = e;
101
+ Cn[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
+ }, ph = _, yh = Ci, An = "__core-js_shared__", Pn = Jo.exports = ph[An] || yh(An, {});
105
+ (Pn.versions || (Pn.versions = [])).push({
106
+ version: "3.49.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.49.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 Ai = Jo.exports, Rn = Ai, Pi = function(a, e) {
113
+ return Rn[a] || (Rn[a] = e || {});
114
+ }, mh = ve, bh = Object, Er = function(a) {
115
+ return bh(mh(a));
116
+ }, xh = L, Th = Er, Oh = xh({}.hasOwnProperty), fe = Object.hasOwn || function(e, t) {
117
+ return Oh(Th(e), t);
118
+ }, Sh = L, Eh = 0, $h = Math.random(), wh = Sh(1.1.toString), eu = function(a) {
119
+ return "Symbol(" + (a === void 0 ? "" : a) + ")_" + wh(++Eh + $h, 36);
120
+ }, Ch = _, Ah = Pi, Nn = fe, Ph = eu, Rh = Qo, Nh = Ko, Ze = Ch.Symbol, oa = Ah("wks"), Ih = Nh ? Ze.for || Ze : Ze && Ze.withoutSetter || Ph, z = function(a) {
121
+ return Nn(oa, a) || (oa[a] = Rh && Nn(Ze, a) ? Ze[a] : Ih("Symbol." + a)), oa[a];
122
+ }, Mh = Y, In = ae, Mn = Zo, _h = ot, Vh = gh, Dh = z, Lh = TypeError, kh = Dh("toPrimitive"), Bh = function(a, e) {
123
+ if (!In(a) || Mn(a))
124
124
  return a;
125
- var t = Ch(a, Nh), r;
125
+ var t = _h(a, kh), 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 = Mh(t, a, e), !In(r) || Mn(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 Lh("Can't convert object to primitive value");
130
+ }
131
+ return e === void 0 && (e = "number"), Vh(a, e);
132
+ }, jh = Bh, Fh = Zo, tu = function(a) {
133
+ var e = jh(a, "string");
134
+ return Fh(e) ? e : e + "";
135
+ }, Uh = _, _n = ae, Qa = Uh.document, Gh = _n(Qa) && _n(Qa.createElement), $r = function(a) {
136
+ return Gh ? Qa.createElement(a) : {};
137
+ }, zh = he, Hh = D, Yh = $r, ru = !zh && !Hh(function() {
138
+ return Object.defineProperty(Yh("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
+ }), Xh = he, Wh = Y, qh = Uo, Qh = $i, Kh = wt, Zh = tu, Jh = fe, ev = ru, Vn = Object.getOwnPropertyDescriptor;
144
+ $t.f = Xh ? Vn : function(e, t) {
145
+ if (e = Kh(e), t = Zh(t), ev)
146
146
  try {
147
- return Rn(e, t);
147
+ return Vn(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 (Jh(e, t))
151
+ return Qh(!Wh(qh.f, e, t), e[t]);
152
152
  };
153
- var Oe = {}, Wh = le, qh = k, Qo = Wh && qh(function() {
153
+ var Oe = {}, tv = he, rv = D, au = tv && rv(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
+ }), av = ae, iv = String, nv = TypeError, J = function(a) {
160
+ if (av(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 nv(iv(a) + " is not an object");
163
+ }, sv = he, ov = ru, uv = au, Gt = J, Dn = tu, lv = TypeError, ua = Object.defineProperty, hv = Object.getOwnPropertyDescriptor, la = "enumerable", ha = "configurable", va = "writable";
164
+ Oe.f = sv ? uv ? function(e, t, r) {
165
+ if (Gt(e), t = Dn(t), Gt(r), typeof e == "function" && t === "prototype" && "value" in r && va in r && !r[va]) {
166
+ var i = hv(e, t);
167
+ i && i[va] && (e[t] = r.value, r = {
168
+ configurable: ha in r ? r[ha] : i[ha],
169
+ enumerable: la in r ? r[la] : i[la],
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 ua(e, t, r);
174
+ } : ua : function(e, t, r) {
175
+ if (Gt(e), t = Dn(t), Gt(r), ov)
176
176
  try {
177
- return ia(e, t, r);
177
+ return ua(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 lv("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 vv = he, fv = Oe, cv = $i, At = vv ? function(a, e, t) {
185
+ return fv.f(a, e, cv(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
+ }, iu = { exports: {} }, Ka = he, gv = fe, nu = Function.prototype, dv = Ka && Object.getOwnPropertyDescriptor, Ri = gv(nu, "name"), pv = Ri && function() {
189
+ }.name === "something", yv = Ri && (!Ka || Ka && dv(nu, "name").configurable), wr = {
190
+ EXISTS: Ri,
191
+ PROPER: pv,
192
+ CONFIGURABLE: yv
193
+ }, mv = L, bv = B, Za = Ai, xv = mv(Function.toString);
194
+ bv(Za.inspectSource) || (Za.inspectSource = function(a) {
195
+ return xv(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 Ni = Za.inspectSource, Tv = _, Ov = B, Ln = Tv.WeakMap, Sv = Ov(Ln) && /native code/.test(String(Ln)), Ev = Pi, $v = eu, kn = Ev("keys"), Ii = function(a) {
198
+ return kn[a] || (kn[a] = $v(a));
199
+ }, Mi = {}, wv = Sv, su = _, Cv = ae, Av = At, fa = fe, ca = Ai, Pv = Ii, Rv = Mi, Bn = "Object already initialized", Ja = su.TypeError, Nv = su.WeakMap, dr, Ot, pr, Iv = function(a) {
200
+ return pr(a) ? Ot(a) : dr(a, {});
201
+ }, Mv = 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 (!Cv(e) || (t = Ot(e)).type !== a)
205
+ throw new Ja("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 (wv || ca.state) {
210
+ var de = ca.state || (ca.state = new Nv());
211
+ de.get = de.get, de.has = de.has, de.set = de.set, dr = function(a, e) {
212
212
  if (de.has(a))
213
- throw new qa(_n);
213
+ throw new Ja(Bn);
214
214
  return e.facade = a, de.set(a, e), e;
215
215
  }, Ot = function(a) {
216
216
  return de.get(a) || {};
217
- }, gr = function(a) {
217
+ }, pr = 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;
221
+ var Ye = Pv("state");
222
+ Rv[Ye] = !0, dr = function(a, e) {
223
+ if (fa(a, Ye))
224
+ throw new Ja(Bn);
225
+ return e.facade = a, Av(a, Ye, e), e;
226
226
  }, Ot = function(a) {
227
- return ua(a, Ye) ? a[Ye] : {};
228
- }, gr = function(a) {
229
- return ua(a, Ye);
227
+ return fa(a, Ye) ? a[Ye] : {};
228
+ }, pr = function(a) {
229
+ return fa(a, Ye);
230
230
  };
231
231
  }
232
- var Er = {
233
- set: cr,
232
+ var Cr = {
233
+ set: dr,
234
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() {
235
+ has: pr,
236
+ enforce: Iv,
237
+ getterFor: Mv
238
+ }, _i = L, _v = D, Vv = B, zt = fe, ei = he, Dv = wr.CONFIGURABLE, Lv = Ni, ou = Cr, kv = ou.enforce, Bv = ou.get, jn = String, ur = Object.defineProperty, jv = _i("".slice), Fv = _i("".replace), Uv = _i([].join), Gv = ei && !_v(function() {
239
+ return ur(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
+ }), zv = String(String).split("String"), Hv = iu.exports = function(a, e, t) {
242
+ jv(jn(e), 0, 7) === "Symbol(" && (e = "[" + Fv(jn(e), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), t && t.getter && (e = "get " + e), t && t.setter && (e = "set " + e), (!zt(a, "name") || Dv && a.name !== e) && (ei ? ur(a, "name", { value: e, configurable: !0 }) : a.name = e), Gv && t && zt(t, "arity") && a.length !== t.arity && ur(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 && zt(t, "constructor") && t.constructor ? ei && ur(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 = kv(a);
248
+ return zt(r, "source") || (r.source = Uv(zv, 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 = Hv(function() {
251
+ return Vv(this) && Bv(this).source || Lv(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 uu = iu.exports, Yv = B, Xv = Oe, Wv = uu, qv = Ci, 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 (Yv(t) && Wv(t, n, r), r.global)
257
+ i ? a[e] = t : qv(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 : Xv.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
+ }, lu = {}, Qv = Math.ceil, Kv = Math.floor, Zv = 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 ? Kv : Qv)(t);
274
+ }, Jv = Zv, Ar = 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 : Jv(e);
277
+ }, ef = Ar, tf = Math.max, rf = Math.min, af = function(a, e) {
278
+ var t = ef(a);
279
+ return t < 0 ? tf(t + e, 0) : rf(t, e);
280
+ }, nf = Ar, sf = Math.min, ut = function(a) {
281
+ var e = nf(a);
282
+ return e > 0 ? sf(e, 9007199254740991) : 0;
283
+ }, of = ut, Vi = function(a) {
284
+ return of(a.length);
285
+ }, uf = wt, lf = af, hf = Vi, Fn = function(a) {
286
286
  return function(e, t, r) {
287
- var i = ef(e), n = rf(i);
287
+ var i = uf(e), n = hf(i);
288
288
  if (n === 0)
289
289
  return !a && -1;
290
- var o = tf(r, n), s;
290
+ var o = lf(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
+ }, hu = {
302
302
  // `Array.prototype.includes` method
303
303
  // https://tc39.es/ecma262/#sec-array.prototype.includes
304
- includes: Dn(!0),
304
+ includes: Fn(!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: Fn(!1)
308
+ }, vf = L, ga = fe, ff = wt, cf = hu.indexOf, gf = Mi, Un = vf([].push), vu = function(a, e) {
309
+ var t = ff(a), r = 0, i = [], n;
310
310
  for (n in t)
311
- !ha(of, n) && ha(t, n) && kn(i, n);
311
+ !ga(gf, n) && ga(t, n) && Un(i, n);
312
312
  for (; e.length > r; )
313
- ha(t, n = e[r++]) && (~sf(i, n) || kn(i, n));
313
+ ga(t, n = e[r++]) && (~cf(i, n) || Un(i, n));
314
314
  return i;
315
- }, Ii = [
315
+ }, Di = [
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
+ ], df = vu, pf = Di, yf = pf.concat("length", "prototype");
324
+ lu.f = Object.getOwnPropertyNames || function(e) {
325
+ return df(e, yf);
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 fu = {};
328
+ fu.f = Object.getOwnPropertySymbols;
329
+ var mf = Fe, bf = L, xf = lu, Tf = fu, Of = J, Sf = bf([].concat), Ef = mf("Reflect", "ownKeys") || function(e) {
330
+ var t = xf.f(Of(e)), r = Tf.f;
331
+ return r ? Sf(t, r(e)) : t;
332
+ }, Gn = fe, $f = Ef, wf = $t, Cf = Oe, Af = function(a, e, t) {
333
+ for (var r = $f(e), i = Cf.f, n = wf.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
+ !Gn(a, s) && !(t && Gn(t, s)) && i(a, s, n(e, s));
336
+ }
337
+ }, Pf = D, Rf = B, Nf = /#|\.prototype\./, Pt = function(a, e) {
338
+ var t = Mf[If(a)];
339
+ return t === Vf ? !0 : t === _f ? !1 : Rf(e) ? Pf(e) : !!e;
340
+ }, If = Pt.normalize = function(a) {
341
+ return String(a).replace(Nf, ".").toLowerCase();
342
+ }, Mf = Pt.data = {}, _f = Pt.NATIVE = "N", Vf = Pt.POLYFILL = "P", cu = Pt, Ht = _, Df = $t.f, Lf = At, kf = Ue, Bf = Ci, jf = Af, Ff = cu, 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 = Ht : i ? o = Ht[t] || Bf(t, {}) : o = Ht[t] && Ht[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 = Df(o, s), u = h && h.value) : u = o[s], n = Ff(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
+ jf(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) && Lf(l, "sham", !0), kf(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
+ }, ft = _, Uf = Ct, Gf = je, Yt = function(a) {
354
+ return Uf.slice(0, a.length) === a;
355
+ }, gu = 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" : Gf(ft.process) === "process" ? "NODE" : ft.window && ft.document ? "BROWSER" : "REST";
357
+ }(), zf = gu, Pr = zf === "NODE", Hf = _, Yf = Hf, Xf = L, Wf = Te, qf = function(a, e, t) {
358
358
  try {
359
- return Lf(Bf(Object.getOwnPropertyDescriptor(a, e)[t]));
359
+ return Xf(Wf(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
+ }, Qf = ae, Kf = function(a) {
363
+ return Qf(a) || a === null;
364
+ }, Zf = Kf, Jf = String, ec = TypeError, tc = function(a) {
365
+ if (Zf(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 ec("Can't set " + Jf(a) + " as a prototype");
368
+ }, rc = qf, ac = ae, ic = ve, nc = tc, du = 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 = rc(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 ic(i), nc(n), ac(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), sc = Oe.f, oc = fe, uc = z, zn = uc("toStringTag"), Rr = function(a, e, t) {
378
+ a && !t && (a = a.prototype), a && !oc(a, zn) && sc(a, zn, { configurable: !0, value: e });
379
+ }, Hn = uu, lc = Oe, hc = function(a, e, t) {
380
+ return t.get && Hn(t.get, e, { getter: !0 }), t.set && Hn(t.set, e, { setter: !0 }), lc.f(a, e, t);
381
+ }, vc = Fe, fc = hc, cc = z, gc = he, Yn = cc("species"), dc = function(a) {
382
+ var e = vc(a);
383
+ gc && e && !e[Yn] && fc(e, Yn, {
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
+ }, pc = Or, yc = TypeError, mc = function(a, e) {
390
+ if (pc(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 yc("Incorrect invocation");
393
+ }, bc = z, xc = bc("toStringTag"), pu = {};
394
+ pu[xc] = "z";
395
+ var Tc = String(pu) === "[object z]", Oc = Tc, Sc = B, lr = je, Ec = z, $c = Ec("toStringTag"), wc = Object, Cc = lr(function() {
396
396
  return arguments;
397
- }()) === "Arguments", bc = function(a, e) {
397
+ }()) === "Arguments", Ac = function(a, e) {
398
398
  try {
399
399
  return a[e];
400
400
  } catch (t) {
401
401
  }
402
- }, Mi = cc ? or : function(a) {
402
+ }, Li = Oc ? lr : 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 = Ac(e = wc(a), $c)) == "string" ? t : Cc ? lr(e) : (r = lr(e)) === "Object" && Sc(e.callee) ? "Arguments" : r;
405
+ }, Pc = L, Rc = D, yu = B, Nc = Li, Ic = Fe, Mc = Ni, mu = function() {
406
+ }, bu = Ic("Reflect", "construct"), ki = /^\s*(?:class|function)\b/, _c = Pc(ki.exec), Vc = !ki.test(mu), ct = function(e) {
407
+ if (!yu(e))
408
408
  return !1;
409
409
  try {
410
- return fu(vu, [], e), !0;
410
+ return bu(mu, [], e), !0;
411
411
  } catch (t) {
412
412
  return !1;
413
413
  }
414
- }, cu = function(e) {
415
- if (!hu(e))
414
+ }, xu = function(e) {
415
+ if (!yu(e))
416
416
  return !1;
417
- switch (Oc(e)) {
417
+ switch (Nc(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 Vc || !!_c(ki, Mc(e));
425
425
  } catch (t) {
426
426
  return !0;
427
427
  }
428
428
  };
429
- cu.sham = !0;
430
- var Cc = !fu || Tc(function() {
429
+ xu.sham = !0;
430
+ var Dc = !bu || Rc(function() {
431
431
  var a;
432
432
  return ct(ct.call) || !ct(Object) || !ct(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
+ }) ? xu : ct, Lc = Dc, kc = Sr, Bc = TypeError, jc = function(a) {
436
+ if (Lc(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 Bc(kc(a) + " is not a constructor");
439
+ }, Xn = J, Fc = jc, Uc = Tr, Gc = z, zc = Gc("species"), Tu = function(a, e) {
440
+ var t = Xn(a).constructor, r;
441
+ return t === void 0 || Uc(r = Xn(t)[zc]) ? e : Fc(r);
442
+ }, Hc = xr, Ou = Function.prototype, Wn = Ou.apply, qn = Ou.call, Su = typeof Reflect == "object" && Reflect.apply || (Hc ? qn.bind(Wn) : function() {
443
+ return qn.apply(Wn, arguments);
444
+ }), Yc = je, Xc = L, Nr = function(a) {
445
+ if (Yc(a) === "Function")
446
+ return Xc(a);
447
+ }, Qn = Nr, Wc = Te, qc = xr, Qc = Qn(Qn.bind), Bi = function(a, e) {
448
+ return Wc(a), e === void 0 ? a : qc ? Qc(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
+ }, Kc = Fe, Eu = Kc("document", "documentElement"), Zc = L, Jc = Zc([].slice), eg = TypeError, tg = function(a, e) {
452
452
  if (a < e)
453
- throw new Hc("Not enough arguments");
453
+ throw new eg("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
+ }, Kn = Ct, $u = /ipad|iphone|ipod/i.test(Kn) && /applewebkit/i.test(Kn), ie = _, rg = Su, ag = Bi, Zn = B, ig = fe, wu = D, Jn = Eu, ng = Jc, es = $r, sg = tg, og = $u, ug = Pr, ti = ie.setImmediate, ri = ie.clearImmediate, lg = ie.process, da = ie.Dispatch, hg = ie.Function, ts = ie.MessageChannel, vg = ie.String, pa = 0, xt = {}, rs = "onreadystatechange", St, Ie, ya, ma;
456
+ wu(function() {
457
+ St = ie.location;
458
458
  });
459
- var Di = function(a) {
460
- if (Qc(xt, a)) {
459
+ var ji = function(a) {
460
+ if (ig(xt, a)) {
461
461
  var e = xt[a];
462
462
  delete xt[a], e();
463
463
  }
464
- }, da = function(a) {
464
+ }, ba = function(a) {
465
465
  return function() {
466
- Di(a);
466
+ ji(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
+ }, as = function(a) {
469
+ ji(a.data);
470
+ }, is = function(a) {
471
+ ie.postMessage(vg(a), St.protocol + "//" + St.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) {
473
+ (!ti || !ri) && (ti = function(e) {
474
+ sg(arguments.length, 1);
475
+ var t = Zn(e) ? e : hg(e), r = ng(arguments, 1);
476
+ return xt[++pa] = function() {
477
+ rg(t, void 0, r);
478
+ }, Ie(pa), pa;
479
+ }, ri = function(e) {
480
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);
481
+ }, ug ? Ie = function(a) {
482
+ lg.nextTick(ba(a));
483
+ } : da && da.now ? Ie = function(a) {
484
+ da.now(ba(a));
485
+ } : ts && !og ? (ya = new ts(), ma = ya.port2, ya.port1.onmessage = as, Ie = ag(ma.postMessage, ma)) : ie.addEventListener && Zn(ie.postMessage) && !ie.importScripts && St && St.protocol !== "file:" && !wu(is) ? (Ie = is, ie.addEventListener("message", as, !1)) : rs in es("script") ? Ie = function(a) {
486
+ Jn.appendChild(es("script"))[rs] = function() {
487
+ Jn.removeChild(this), ji(a);
488
488
  };
489
489
  } : Ie = function(a) {
490
- setTimeout(da(a), 0);
490
+ setTimeout(ba(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 Cu = {
493
+ set: ti,
494
+ clear: ri
495
+ }, ns = _, fg = he, cg = Object.getOwnPropertyDescriptor, gg = function(a) {
496
+ if (!fg)
497
+ return ns[a];
498
+ var e = cg(ns, a);
499
499
  return e && e.value;
500
- }, Tu = function() {
500
+ }, Au = function() {
501
501
  this.head = null, this.tail = null;
502
502
  };
503
- Tu.prototype = {
503
+ Au.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,11 +513,11 @@ 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 Pu = Au, dg = Ct, pg = /ipad|iphone|ipod/i.test(dg) && typeof Pebble != "undefined", yg = Ct, mg = /web0s(?!.*chrome)/i.test(yg), it = _, bg = gg, ss = Bi, xa = Cu.set, xg = Pu, Tg = $u, Og = pg, Sg = mg, Ta = Pr, os = it.MutationObserver || it.WebKitMutationObserver, us = it.document, ls = it.process, Xt = it.Promise, ai = bg("queueMicrotask"), Xe, Oa, Sa, Wt, hs;
517
+ if (!ai) {
518
+ var qt = new xg(), Qt = function() {
519
519
  var a, e;
520
- for (ya && (a = as.domain) && a.exit(); e = qt.get(); )
520
+ for (Ta && (a = ls.domain) && a.exit(); e = qt.get(); )
521
521
  try {
522
522
  e();
523
523
  } catch (t) {
@@ -525,36 +525,36 @@ if (!Ja) {
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) {
528
+ !Tg && !Ta && !Sg && os && us ? (Oa = !0, Sa = us.createTextNode(""), new os(Qt).observe(Sa, { characterData: !0 }), Xe = function() {
529
+ Sa.data = Oa = !Oa;
530
+ }) : !Og && Xt && Xt.resolve ? (Wt = Xt.resolve(void 0), Wt.constructor = Xt, hs = ss(Wt.then, Wt), Xe = function() {
531
+ hs(Qt);
532
+ }) : Ta ? Xe = function() {
533
+ ls.nextTick(Qt);
534
+ } : (xa = ss(xa, it), Xe = function() {
535
+ xa(Qt);
536
+ }), ai = function(a) {
537
537
  qt.head || Xe(), qt.add(a);
538
538
  };
539
539
  }
540
- var pg = Ja, yg = function(a, e) {
540
+ var Eg = ai, $g = function(a, e) {
541
541
  try {
542
542
  arguments.length === 1 ? console.error(a) : console.error(a, e);
543
543
  } catch (t) {
544
544
  }
545
- }, ki = function(a) {
545
+ }, Fi = function(a) {
546
546
  try {
547
547
  return { error: !1, value: a() };
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;
551
+ }, wg = _, Ir = wg.Promise, Cg = _, Tt = Ir, Ag = B, Pg = cu, Rg = Ni, Ng = z, vs = gu, Ea = wi;
552
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)
553
+ var Ig = Ng("species"), ii = !1, Ru = Ag(Cg.PromiseRejectionEvent), Mg = Pg("Promise", function() {
554
+ var a = Rg(Tt), e = a !== String(Tt);
555
+ if (!e && Ea === 66)
556
556
  return !0;
557
- if (!xa || xa < 51 || !/native code/.test(a)) {
557
+ if (!Ea || Ea < 51 || !/native code/.test(a)) {
558
558
  var t = new Tt(function(n) {
559
559
  n(1);
560
560
  }), r = function(n) {
@@ -562,158 +562,159 @@ var Eg = Sg("species"), ei = !1, Su = xg(bg.PromiseRejectionEvent), $g = Tg("Pro
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[Ig] = r, ii = t.then(function() {
566
+ }) instanceof r, !ii)
567
567
  return !0;
568
568
  }
569
- return !e && (ns === "BROWSER" || ns === "DENO") && !Su;
569
+ return !e && (vs === "BROWSER" || vs === "DENO") && !Ru;
570
570
  }), Rt = {
571
- CONSTRUCTOR: $g,
572
- REJECTION_EVENT: Su,
573
- SUBCLASSING: ei
574
- }, lt = {}, ss = Te, wg = TypeError, Cg = function(a) {
571
+ CONSTRUCTOR: Mg,
572
+ REJECTION_EVENT: Ru,
573
+ SUBCLASSING: ii
574
+ }, lt = {}, fs = Te, _g = TypeError, Vg = 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 _g("Bad Promise constructor");
579
579
  e = r, t = i;
580
- }), this.resolve = ss(e), this.reject = ss(t);
580
+ }), this.resolve = fs(e), this.reject = fs(t);
581
581
  };
582
582
  lt.f = function(a) {
583
- return new Cg(a);
583
+ return new Vg(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 Dg = ee, yr = Pr, we = _, Lg = Yf, nt = Y, cs = Ue, gs = du, kg = Rr, Bg = dc, jg = Te, hr = B, Fg = ae, Ug = mc, Gg = Tu, Nu = Cu.set, Ui = Eg, zg = $g, Hg = Fi, Yg = Pu, Iu = Cr, mr = Ir, Gi = Rt, Mu = lt, Mr = "Promise", _u = Gi.CONSTRUCTOR, Xg = Gi.REJECTION_EVENT, Wg = Gi.SUBCLASSING, $a = Iu.getterFor(Mr), qg = Iu.set, Qe = mr && mr.prototype, Le = mr, Kt = Qe, Vu = we.TypeError, ni = we.document, zi = we.process, si = Mu.f, Qg = si, Kg = !!(ni && ni.createEvent && we.dispatchEvent), Du = "unhandledrejection", Zg = "rejectionhandled", ds = 0, Lu = 1, Jg = 2, Hi = 1, ku = 2, Zt, ps, Bu, ys, ju = 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 Fg(a) && hr(e = a.then) ? e : !1;
588
+ }, Fu = function(a, e) {
589
+ var t = e.value, r = e.state === Lu, 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 === ku && td(e), e.rejection = Hi), i === !0 ? u = t : (s && s.enter(), u = i(t), s && (s.exit(), h = !0)), u === a.promise ? o(new Vu("Promise-chain cycle")) : (l = ju(u)) ? nt(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
+ }, Uu = function(a, e) {
596
+ a.notified || (a.notified = !0, Ui(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
+ Fu(r, a);
599
+ a.notified = !1, e && !a.rejection && ed(a);
600
600
  }));
601
- }, Vu = function(a, e, t) {
601
+ }, Gu = 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
+ Kg ? (r = ni.createEvent("Event"), r.promise = e, r.reason = t, r.initEvent(a, !1, !0), we.dispatchEvent(r)) : r = { promise: e, reason: t }, !Xg && (i = we["on" + a]) ? i(r) : a === Du && zg("Unhandled promise rejection", t);
604
+ }, ed = function(a) {
605
+ nt(Nu, we, function() {
606
+ var e = a.facade, t = a.value, r = ms(a), i;
607
+ if (r && (i = Hg(function() {
608
+ yr ? zi.emit("unhandledRejection", t, e) : Gu(Du, e, t);
609
+ }), a.rejection = yr || ms(a) ? ku : Hi, 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
+ }, ms = function(a) {
613
+ return a.rejection !== Hi && !a.parent;
614
+ }, td = function(a) {
615
+ nt(Nu, we, function() {
616
616
  var e = a.facade;
617
- dr ? ji.emit("rejectionHandled", e) : Vu(Gg, e, a.value);
617
+ yr ? zi.emit("rejectionHandled", e) : Gu(Zg, e, a.value);
618
618
  });
619
619
  }, Je = function(a, e, t) {
620
620
  return function(r) {
621
621
  a(e, r, t);
622
622
  };
623
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) {
624
+ a.done || (a.done = !0, t && (a = t), a.value = e, a.state = Jg, Uu(a, !0));
625
+ }, oi = 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 Vu("Promise can't be resolved itself");
631
+ var r = ju(e);
632
+ r ? Ui(function() {
633
633
  var i = { done: !1 };
634
634
  try {
635
635
  nt(
636
636
  r,
637
637
  e,
638
- Je(ai, i, a),
638
+ Je(oi, i, a),
639
639
  Je(tt, i, a)
640
640
  );
641
641
  } catch (n) {
642
642
  tt(i, n, a);
643
643
  }
644
- }) : (a.value = e, a.state = Ru, _u(a, !1));
644
+ }) : (a.value = e, a.state = Lu, Uu(a, !1));
645
645
  } catch (i) {
646
646
  tt({ 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 (_u && (Le = function(e) {
651
+ Ug(this, Kt), jg(e), nt(Zt, this);
652
+ var t = $a(this);
653
653
  try {
654
- e(Je(ai, t), Je(tt, t));
654
+ e(Je(oi, t), Je(tt, t));
655
655
  } catch (r) {
656
656
  tt(t, r);
657
657
  }
658
- }, Kt = De.prototype, Zt = function(e) {
659
- jg(this, {
660
- type: Rr,
658
+ }, Kt = Le.prototype, Zt = function(e) {
659
+ qg(this, {
660
+ type: Mr,
661
661
  done: !1,
662
662
  notified: !1,
663
663
  parent: !1,
664
- reactions: new kg(),
664
+ reactions: new Yg(),
665
665
  rejection: !1,
666
- state: ls,
666
+ state: ds,
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
+ }, Zt.prototype = cs(Kt, "then", function(e, t) {
670
+ var r = $a(this), i = si(Gg(this, Le));
671
+ return r.parent = !0, i.ok = hr(e) ? e : !0, i.fail = hr(t) && t, i.domain = yr ? zi.domain : void 0, r.state === ds ? r.reactions.add(i) : Ui(function() {
672
+ Fu(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
+ }), ps = function() {
675
+ var a = new Zt(), e = $a(a);
676
+ this.promise = a, this.resolve = Je(oi, e), this.reject = Je(tt, e);
677
+ }, Mu.f = si = function(a) {
678
+ return a === Le || a === Bu ? new ps(a) : Qg(a);
679
+ }, hr(mr) && Qe !== Object.prototype)) {
680
+ ys = Qe.then, Wg || cs(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
+ nt(ys, r, i, n);
684
684
  }).then(e, t);
685
685
  }, { unsafe: !0 });
686
686
  try {
687
687
  delete Qe.constructor;
688
688
  } catch (a) {
689
689
  }
690
- us && us(Qe, Kt);
690
+ gs && gs(Qe, Kt);
691
691
  }
692
- Ag({ global: !0, constructor: !0, wrap: !0, forced: Cu }, {
693
- Promise: De
692
+ Dg({ global: !0, constructor: !0, wrap: !0, forced: _u }, {
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
+ Bu = Lg.Promise;
696
+ kg(Le, Mr, !1);
697
+ Bg(Mr);
698
+ var Nt = {}, rd = z, ad = Nt, id = rd("iterator"), nd = Array.prototype, sd = function(a) {
699
+ return a !== void 0 && (ad.Array === a || nd[id] === a);
700
+ }, od = Li, bs = ot, ud = Tr, ld = Nt, hd = z, vd = hd("iterator"), zu = function(a) {
701
+ if (!ud(a))
702
+ return bs(a, vd) || bs(a, "@@iterator") || ld[od(a)];
703
+ }, fd = Y, cd = Te, gd = J, dd = Sr, pd = zu, yd = TypeError, md = function(a, e) {
704
+ var t = arguments.length < 2 ? pd(a) : e;
705
+ if (cd(t))
706
+ return gd(fd(t, a));
707
+ throw new yd(dd(a) + " is not iterable");
708
+ }, bd = Y, xs = J, xd = ot, Td = function(a, e, t) {
708
709
  var r, i;
709
- gs(a);
710
+ xs(a);
710
711
  try {
711
- if (r = fd(a, "return"), !r) {
712
+ if (r = xd(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 = bd(r, a);
717
718
  } catch (n) {
718
719
  i = !0, r = n;
719
720
  }
@@ -721,60 +722,65 @@ 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 xs(r), t;
726
+ }, Od = Bi, Sd = Y, Ed = J, $d = Sr, wd = sd, Cd = Vi, Ts = Or, Ad = md, Pd = zu, Os = Td, Rd = TypeError, vr = 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);
730
- }, 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);
728
+ }, Ss = vr.prototype, Hu = 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 = Od(e, r), l, h, f, c, v, g, d, p = function(b) {
730
+ var x = l;
731
+ return l = void 0, x && Os(x, "normal"), new vr(!0, b);
732
+ }, y = function(b) {
733
+ return i ? (Ed(b), s ? u(b[0], b[1], p) : u(b[0], b[1])) : s ? u(b, p) : u(b);
732
734
  };
733
735
  if (n)
734
736
  l = a.iterator;
735
737
  else if (o)
736
738
  l = a;
737
739
  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))
740
+ if (h = Pd(a), !h)
741
+ throw new Rd($d(a) + " is not iterable");
742
+ if (wd(h)) {
743
+ for (f = 0, c = Cd(a); c > f; f++)
744
+ if (v = y(a[f]), v && Ts(Ss, v))
743
745
  return v;
744
- return new lr(!1);
746
+ return new vr(!1);
745
747
  }
746
- l = xd(a, h);
748
+ l = Ad(a, h);
747
749
  }
748
- for (d = n ? a.next : l.next; !(g = dd(d, l)).done; ) {
750
+ for (g = n ? a.next : l.next; !(d = Sd(g, l)).done; ) {
751
+ var T = d.value;
749
752
  try {
750
- v = y(g.value);
751
- } catch (x) {
752
- ps(l, "throw", x);
753
+ v = y(T);
754
+ } catch (b) {
755
+ if (l)
756
+ Os(l, "throw", b);
757
+ else
758
+ throw b;
753
759
  }
754
- if (typeof v == "object" && v && ds(ys, v))
760
+ if (typeof v == "object" && v && Ts(Ss, v))
755
761
  return v;
756
762
  }
757
- return new lr(!1);
758
- }, Sd = z, Lu = Sd("iterator"), Bu = !1;
763
+ return new vr(!1);
764
+ }, Nd = z, Yu = Nd("iterator"), Xu = !1;
759
765
  try {
760
- var Ed = 0, ms = {
766
+ var Id = 0, Es = {
761
767
  next: function() {
762
- return { done: !!Ed++ };
768
+ return { done: !!Id++ };
763
769
  },
764
770
  return: function() {
765
- Bu = !0;
771
+ Xu = !0;
766
772
  }
767
773
  };
768
- ms[Lu] = function() {
774
+ Es[Yu] = function() {
769
775
  return this;
770
- }, Array.from(ms, function() {
776
+ }, Array.from(Es, function() {
771
777
  throw 2;
772
778
  });
773
779
  } catch (a) {
774
780
  }
775
- var $d = function(a, e) {
781
+ var Md = function(a, e) {
776
782
  try {
777
- if (!e && !Bu)
783
+ if (!e && !Xu)
778
784
  return !1;
779
785
  } catch (i) {
780
786
  return !1;
@@ -782,7 +788,7 @@ var $d = function(a, e) {
782
788
  var t = !1;
783
789
  try {
784
790
  var r = {};
785
- r[Lu] = function() {
791
+ r[Yu] = function() {
786
792
  return {
787
793
  next: function() {
788
794
  return { done: t = !0 };
@@ -792,66 +798,66 @@ var $d = function(a, e) {
792
798
  } catch (i) {
793
799
  }
794
800
  return t;
795
- }, wd = Pr, Cd = $d, Ad = Rt.CONSTRUCTOR, ju = Ad || !Cd(function(a) {
796
- wd.all(a).then(void 0, function() {
801
+ }, _d = Ir, Vd = Md, Dd = Rt.CONSTRUCTOR, Wu = Dd || !Vd(function(a) {
802
+ _d.all(a).then(void 0, function() {
797
803
  });
798
- }), Pd = ee, Rd = Y, Nd = Te, Id = lt, Md = ki, _d = ku, Vd = ju;
799
- Pd({ target: "Promise", stat: !0, forced: Vd }, {
804
+ }), Ld = ee, kd = Y, Bd = Te, jd = lt, Fd = Fi, Ud = Hu, Gd = Wu;
805
+ Ld({ target: "Promise", stat: !0, forced: Gd }, {
800
806
  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) {
807
+ var t = this, r = jd.f(t), i = r.resolve, n = r.reject, o = Fd(function() {
808
+ var s = Bd(t.resolve), u = [], l = 0, h = 1;
809
+ Ud(e, function(f) {
804
810
  var c = l++, v = !1;
805
- h++, Rd(s, t, f).then(function(d) {
806
- v || (v = !0, u[c] = d, --h || i(u));
811
+ h++, kd(s, t, f).then(function(g) {
812
+ v || (v = !0, u[c] = g, --h || i(u));
807
813
  }, n);
808
814
  }), --h || i(u);
809
815
  });
810
816
  return o.error && n(o.value), r.promise;
811
817
  }
812
818
  });
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 }, {
819
+ var zd = ee, Hd = Rt.CONSTRUCTOR, ui = Ir, Yd = Fe, Xd = B, Wd = Ue, $s = ui && ui.prototype;
820
+ zd({ target: "Promise", proto: !0, forced: Hd, real: !0 }, {
815
821
  catch: function(a) {
816
822
  return this.then(void 0, a);
817
823
  }
818
824
  });
819
- if (Bd(ii)) {
820
- var xs = Ld("Promise").prototype.catch;
821
- bs.catch !== xs && jd(bs, "catch", xs, { unsafe: !0 });
825
+ if (Xd(ui)) {
826
+ var ws = Yd("Promise").prototype.catch;
827
+ $s.catch !== ws && Wd($s, "catch", ws, { unsafe: !0 });
822
828
  }
823
- var Fd = ee, Ud = Y, Gd = Te, zd = lt, Hd = ki, Yd = ku, Xd = ju;
824
- Fd({ target: "Promise", stat: !0, forced: Xd }, {
829
+ var qd = ee, Qd = Y, Kd = Te, Zd = lt, Jd = Fi, ep = Hu, tp = Wu;
830
+ qd({ target: "Promise", stat: !0, forced: tp }, {
825
831
  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);
832
+ var t = this, r = Zd.f(t), i = r.reject, n = Jd(function() {
833
+ var o = Kd(t.resolve);
834
+ ep(e, function(s) {
835
+ Qd(o, t, s).then(r.resolve, i);
830
836
  });
831
837
  });
832
838
  return n.error && i(n.value), r.promise;
833
839
  }
834
840
  });
835
- var Wd = ee, qd = lt, Qd = Rt.CONSTRUCTOR;
836
- Wd({ target: "Promise", stat: !0, forced: Qd }, {
841
+ var rp = ee, ap = lt, ip = Rt.CONSTRUCTOR;
842
+ rp({ target: "Promise", stat: !0, forced: ip }, {
837
843
  reject: function(e) {
838
- var t = qd.f(this), r = t.reject;
844
+ var t = ap.f(this), r = t.reject;
839
845
  return r(e), t.promise;
840
846
  }
841
847
  });
842
- var Kd = J, Zd = ve, Jd = lt, ep = function(a, e) {
843
- if (Kd(a), Zd(e) && e.constructor === a)
848
+ var np = J, sp = ae, op = lt, up = function(a, e) {
849
+ if (np(a), sp(e) && e.constructor === a)
844
850
  return e;
845
- var t = Jd.f(a), r = t.resolve;
851
+ var t = op.f(a), r = t.resolve;
846
852
  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 }, {
853
+ }, lp = ee, hp = Fe, vp = Rt.CONSTRUCTOR, fp = up;
854
+ hp("Promise");
855
+ lp({ target: "Promise", stat: !0, forced: vp }, {
850
856
  resolve: function(e) {
851
- return ip(this, e);
857
+ return fp(this, e);
852
858
  }
853
859
  });
854
- function Ts(a, e, t, r, i, n, o) {
860
+ function Cs(a, e, t, r, i, n, o) {
855
861
  try {
856
862
  var s = a[n](o), u = s.value;
857
863
  } catch (l) {
@@ -865,327 +871,368 @@ function xe(a) {
865
871
  return new Promise(function(r, i) {
866
872
  var n = a.apply(e, t);
867
873
  function o(u) {
868
- Ts(n, r, i, o, s, "next", u);
874
+ Cs(n, r, i, o, s, "next", u);
869
875
  }
870
876
  function s(u) {
871
- Ts(n, r, i, o, s, "throw", u);
877
+ Cs(n, r, i, o, s, "throw", u);
872
878
  }
873
879
  o(void 0);
874
880
  });
875
881
  };
876
882
  }
877
- var np = Mi, sp = String, pe = function(a) {
878
- if (np(a) === "Symbol")
883
+ var cp = Li, gp = String, pe = function(a) {
884
+ if (cp(a) === "Symbol")
879
885
  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 = "";
886
+ return gp(a);
887
+ }, dp = J, qu = function() {
888
+ var a = dp(this), e = "";
883
889
  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");
890
+ }, Yi = D, pp = _, Xi = pp.RegExp, Wi = Yi(function() {
891
+ var a = Xi("a", "y");
886
892
  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");
893
+ }), yp = Wi || Yi(function() {
894
+ return !Xi("a", "y").sticky;
895
+ }), mp = Wi || Yi(function() {
896
+ var a = Xi("^r", "gy");
891
897
  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]);
898
+ }), Qu = {
899
+ BROKEN_CARET: mp,
900
+ MISSED_STICKY: yp,
901
+ UNSUPPORTED_Y: Wi
902
+ }, Ku = {}, bp = vu, xp = Di, Tp = Object.keys || function(e) {
903
+ return bp(e, xp);
904
+ }, Op = he, Sp = au, Ep = Oe, $p = J, wp = wt, Cp = Tp;
905
+ Ku.f = Op && !Sp ? Object.defineProperties : function(e, t) {
906
+ $p(e);
907
+ for (var r = wp(t), i = Cp(t), n = i.length, o = 0, s; n > o; )
908
+ Ep.f(e, s = i[o++], r[s]);
903
909
  return e;
904
910
  };
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();
911
+ var Ap = J, Pp = Ku, As = Di, Rp = Mi, Np = Eu, Ip = $r, Mp = Ii, Ps = ">", Rs = "<", li = "prototype", hi = "script", Zu = Mp("IE_PROTO"), wa = function() {
912
+ }, Ju = function(a) {
913
+ return Rs + hi + Ps + a + Rs + "/" + hi + Ps;
914
+ }, Ns = function(a) {
915
+ a.write(Ju("")), a.close();
910
916
  var e = a.parentWindow.Object;
911
917
  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() {
918
+ }, _p = function() {
919
+ var a = Ip("iframe"), e = "java" + hi + ":", t;
920
+ return a.style.display = "none", Np.appendChild(a), a.src = String(e), t = a.contentWindow.document, t.open(), t.write(Ju("document.F=Object")), t.close(), t.F;
921
+ }, Jt, fr = function() {
916
922
  try {
917
923
  Jt = new ActiveXObject("htmlfile");
918
924
  } catch (e) {
919
925
  }
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();
926
+ fr = typeof document != "undefined" ? document.domain && Jt ? Ns(Jt) : _p() : Ns(Jt);
927
+ for (var a = As.length; a--; )
928
+ delete fr[li][As[a]];
929
+ return fr();
924
930
  };
925
- Op[zu] = !0;
926
- var Hi = Object.create || function(e, t) {
931
+ Rp[Zu] = !0;
932
+ var qi = Object.create || function(e, t) {
927
933
  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");
934
+ return e !== null ? (wa[li] = Ap(e), r = new wa(), wa[li] = null, r[Zu] = e) : r = fr(), t === void 0 ? r : Pp.f(r, t);
935
+ }, Vp = D, Dp = _, Lp = Dp.RegExp, kp = Vp(function() {
936
+ var a = Lp(".", "s");
931
937
  return !(a.dotAll && a.test(`
932
938
  `) && a.flags === "s");
933
- }), Np = k, Ip = V, Mp = Ip.RegExp, _p = Np(function() {
934
- var a = Mp("(?<a>b)", "g");
939
+ }), Bp = D, jp = _, Fp = jp.RegExp, Up = Bp(function() {
940
+ var a = Fp("(?<a>b)", "g");
935
941
  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() {
942
+ }), et = Y, _r = L, Gp = pe, zp = qu, Hp = Qu, Yp = Pi, Xp = qi, Wp = Cr.get, qp = kp, Qp = Up, Kp = Yp("native-string-replace", String.prototype.replace), br = RegExp.prototype.exec, vi = br, Zp = _r("".charAt), Jp = _r("".indexOf), ey = _r("".replace), Is = _r("".slice), fi = function() {
937
943
  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;
944
+ return et(br, a, "a"), et(br, e, "a"), a.lastIndex !== 0 || e.lastIndex !== 0;
945
+ }(), el = Hp.BROKEN_CARET, ci = /()??/.exec("")[1] !== void 0, ty = fi || ci || el || qp || Qp, Ms = function(a, e) {
946
+ for (var t = a.groups = Xp(null), r = 0; r < e.length; r++) {
947
+ var i = e[r];
948
+ t[i[0]] = a[i[1]];
949
+ }
950
+ };
951
+ ty && (vi = function(e) {
952
+ var t = this, r = Wp(t), i = Gp(e), n = r.raw, o, s, u;
942
953
  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() {
947
- for (h = 1; h < arguments.length - 2; h++)
948
- arguments[h] === void 0 && (l[h] = void 0);
949
- }), l && v)
950
- for (l.groups = f = Bp(null), h = 0; h < v.length; h++)
951
- c = v[h], f[c[0]] = l[c[1]];
952
- return l;
954
+ return n.lastIndex = t.lastIndex, o = et(vi, n, i), t.lastIndex = n.lastIndex, o && r.groups && Ms(o, r.groups), o;
955
+ var l = r.groups, h = el && t.sticky, f = et(zp, t), c = t.source, v = 0, g = i;
956
+ if (h) {
957
+ f = ey(f, "y", ""), Jp(f, "g") === -1 && (f += "g"), g = Is(i, t.lastIndex);
958
+ var d = t.lastIndex > 0 && Zp(i, t.lastIndex - 1);
959
+ t.lastIndex > 0 && (!t.multiline || t.multiline && d !== `
960
+ ` && d !== "\r" && d !== "\u2028" && d !== "\u2029") && (c = "(?: (?:" + c + "))", g = " " + g, v++), s = new RegExp("^(?:" + c + ")", f);
961
+ }
962
+ ci && (s = new RegExp("^" + c + "$(?!\\s)", f)), fi && (u = t.lastIndex);
963
+ var p = et(br, h ? s : t, g);
964
+ return h ? p ? (p.input = i, p[0] = Is(p[0], v), p.index = t.lastIndex, t.lastIndex += p[0].length) : t.lastIndex = 0 : fi && p && (t.lastIndex = t.global ? p.index + p[0].length : u), ci && p && p.length > 1 && et(Kp, p[0], s, function() {
965
+ for (var y = 1; y < arguments.length - 2; y++)
966
+ arguments[y] === void 0 && (p[y] = void 0);
967
+ }), p && l && Ms(p, l), p;
953
968
  });
954
- var Yi = oi, Wp = ee, ws = Yi;
955
- Wp({ target: "RegExp", proto: !0, forced: /./.exec !== ws }, {
956
- exec: ws
969
+ var Qi = vi, ry = ee, _s = Qi;
970
+ ry({ target: "RegExp", proto: !0, forced: /./.exec !== _s }, {
971
+ exec: _s
957
972
  });
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() {
973
+ var Vs = Y, Ds = Ue, ay = Qi, Ls = D, tl = z, iy = At, ny = tl("species"), Ca = RegExp.prototype, Ki = function(a, e, t, r) {
974
+ var i = tl(a), n = !Ls(function() {
960
975
  var l = {};
961
976
  return l[i] = function() {
962
977
  return 7;
963
978
  }, ""[a](l) !== 7;
964
- }), o = n && !Ps(function() {
979
+ }), o = n && !Ls(function() {
965
980
  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() {
981
+ if (a === "split") {
982
+ var f = {};
983
+ f[ny] = function() {
984
+ return h;
985
+ }, h = { constructor: f, flags: "" }, h[i] = /./[i];
986
+ }
987
+ return h.exec = function() {
969
988
  return l = !0, null;
970
989
  }, h[i](""), !l;
971
990
  });
972
991
  if (!n || !o || t) {
973
992
  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 };
993
+ var g = h.exec;
994
+ return g === ay || g === Ca.exec ? n && !v ? { done: !0, value: Vs(s, h, f, c) } : { done: !0, value: Vs(l, f, h, c) } : { done: !1 };
976
995
  });
977
- As(String.prototype, a, u[0]), As(Ea, i, u[1]);
996
+ Ds(String.prototype, a, u[0]), Ds(Ca, i, u[1]);
978
997
  }
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) {
998
+ r && iy(Ca[i], "sham", !0);
999
+ }, Zi = L, sy = Ar, oy = pe, uy = ve, ly = Zi("".charAt), ks = Zi("".charCodeAt), hy = Zi("".slice), Bs = function(a) {
981
1000
  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);
1001
+ var r = oy(uy(e)), i = sy(t), n = r.length, o, s;
1002
+ return i < 0 || i >= n ? a ? "" : void 0 : (o = ks(r, i), o < 55296 || o > 56319 || i + 1 === n || (s = ks(r, i + 1)) < 56320 || s > 57343 ? a ? ly(r, i) : o : a ? hy(r, i, i + 2) : (o - 55296 << 10) + (s - 56320) + 65536);
984
1003
  };
985
- }, ay = {
1004
+ }, vy = {
986
1005
  // `String.prototype.codePointAt` method
987
1006
  // https://tc39.es/ecma262/#sec-string.prototype.codepointat
988
- codeAt: Ns(!1),
1007
+ codeAt: Bs(!1),
989
1008
  // `String.prototype.at` method
990
1009
  // 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) {
1010
+ charAt: Bs(!0)
1011
+ }, fy = vy.charAt, Ji = function(a, e, t) {
1012
+ return e + (t && fy(a, e).length || 1);
1013
+ }, cy = _, gy = D, js = cy.RegExp, dy = !gy(function() {
1014
+ var a = !0;
1015
+ try {
1016
+ js(".", "d");
1017
+ } catch (u) {
1018
+ a = !1;
1019
+ }
1020
+ var e = {}, t = "", r = a ? "dgimsy" : "gimsy", i = function(u, l) {
1021
+ Object.defineProperty(e, u, { get: function() {
1022
+ return t += l, !0;
1023
+ } });
1024
+ }, n = {
1025
+ dotAll: "s",
1026
+ global: "g",
1027
+ ignoreCase: "i",
1028
+ multiline: "m",
1029
+ sticky: "y"
1030
+ };
1031
+ a && (n.hasIndices = "d");
1032
+ for (var o in n)
1033
+ i(o, n[o]);
1034
+ var s = Object.getOwnPropertyDescriptor(js.prototype, "flags").get.call(e);
1035
+ return s !== r || t !== r;
1036
+ }), py = { correct: dy }, yy = Y, my = fe, by = Or, Fs = py, xy = qu, Ty = RegExp.prototype, Vr = Fs.correct ? function(a) {
1037
+ return a.flags;
1038
+ } : function(a) {
1039
+ return !Fs.correct && by(Ty, a) && !my(a, "flags") ? yy(xy, a) : a.flags;
1040
+ }, Us = Y, Oy = J, Sy = B, Ey = je, $y = Qi, wy = TypeError, en = function(a, e) {
995
1041
  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) {
1042
+ if (Sy(t)) {
1043
+ var r = Us(t, a, e);
1044
+ return r !== null && Oy(r), r;
1045
+ }
1046
+ if (Ey(a) === "RegExp")
1047
+ return Us($y, a, e);
1048
+ throw new wy("RegExp#exec called on incompatible receiver");
1049
+ }, Cy = Y, Ay = L, Py = Ki, Ry = J, Ny = ae, Iy = ut, er = pe, My = ve, _y = ot, Vy = Ji, Dy = Vr, Gs = en, Aa = Ay("".indexOf);
1050
+ Py("match", function(a, e, t) {
1005
1051
  return [
1006
1052
  // `String.prototype.match` method
1007
1053
  // https://tc39.es/ecma262/#sec-string.prototype.match
1008
1054
  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));
1055
+ var n = My(this), o = Ny(i) ? _y(i, a) : void 0;
1056
+ return o ? Cy(o, i, n) : new RegExp(i)[a](er(n));
1011
1057
  },
1012
1058
  // `RegExp.prototype[@@match]` method
1013
1059
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@match
1014
1060
  function(r) {
1015
- var i = fy(this), n = $a(r), o = t(e, i, n);
1061
+ var i = Ry(this), n = er(r), o = t(e, i, n);
1016
1062
  if (o.done)
1017
1063
  return o.value;
1018
- if (!i.global)
1019
- return Ms(i, n);
1020
- var s = i.unicode;
1064
+ var s = er(Dy(i));
1065
+ if (!~Aa(s, "g"))
1066
+ return Gs(i, n);
1067
+ var u = !!~Aa(s, "u") || !!~Aa(s, "v");
1021
1068
  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++;
1069
+ for (var l = [], h = 0, f; (f = Gs(i, n)) !== null; ) {
1070
+ var c = er(f[0]);
1071
+ l[h] = c, c === "" && (i.lastIndex = Vy(n, Iy(i.lastIndex), u)), h++;
1025
1072
  }
1026
- return l === 0 ? null : u;
1073
+ return h === 0 ? null : l;
1027
1074
  }
1028
1075
  ];
1029
1076
  });
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) {
1077
+ var tn = L, Ly = Er, ky = Math.floor, Pa = tn("".charAt), By = tn("".replace), Ra = tn("".slice), jy = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, Fy = /\$([$&'`]|\d{1,2})/g, Uy = function(a, e, t, r, i, n) {
1078
+ var o = t + a.length, s = r.length, u = Fy;
1079
+ return i !== void 0 && (i = Ly(i), u = jy), By(n, u, function(l, h) {
1033
1080
  var f;
1034
- switch (wa(h, 0)) {
1081
+ switch (Pa(h, 0)) {
1035
1082
  case "$":
1036
1083
  return "$";
1037
1084
  case "&":
1038
1085
  return a;
1039
1086
  case "`":
1040
- return Ca(e, 0, t);
1087
+ return Ra(e, 0, t);
1041
1088
  case "'":
1042
- return Ca(e, o);
1089
+ return Ra(e, o);
1043
1090
  case "<":
1044
- f = i[Ca(h, 1, -1)];
1091
+ f = i[Ra(h, 1, -1)];
1045
1092
  break;
1046
1093
  default:
1047
1094
  var c = +h;
1048
1095
  if (c === 0)
1049
1096
  return l;
1050
1097
  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;
1098
+ var v = ky(c / 10);
1099
+ return v === 0 ? l : v <= s ? r[v - 1] === void 0 ? Pa(h, 1) : r[v - 1] + Pa(h, 1) : l;
1053
1100
  }
1054
1101
  f = r[c - 1];
1055
1102
  }
1056
1103
  return f === void 0 ? "" : f;
1057
1104
  });
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) {
1105
+ }, Gy = Su, zs = Y, Dr = L, zy = Ki, Hy = D, Yy = J, Xy = B, Wy = ae, qy = Ar, Qy = ut, Me = pe, Ky = ve, Zy = Ji, Jy = ot, em = Uy, tm = Vr, rm = en, am = z, gi = am("replace"), im = Math.max, nm = Math.min, sm = Dr([].concat), Na = Dr([].push), We = Dr("".indexOf), Hs = Dr("".slice), om = function(a) {
1059
1106
  return a === void 0 ? a : String(a);
1060
- }, Uy = function() {
1107
+ }, um = function() {
1061
1108
  return "a".replace(/./, "$0") === "$0";
1062
- }(), ks = function() {
1063
- return /./[hi] ? /./[hi]("a", "$0") === "" : !1;
1064
- }(), Gy = !wy(function() {
1109
+ }(), Ys = function() {
1110
+ return /./[gi] ? /./[gi]("a", "$0") === "" : !1;
1111
+ }(), lm = !Hy(function() {
1065
1112
  var a = /./;
1066
1113
  return a.exec = function() {
1067
1114
  var e = [];
1068
1115
  return e.groups = { a: "7" }, e;
1069
1116
  }, "".replace(a, "$<a>") !== "7";
1070
1117
  });
1071
- $y("replace", function(a, e, t) {
1072
- var r = ks ? "$" : "$0";
1118
+ zy("replace", function(a, e, t) {
1119
+ var r = Ys ? "$" : "$0";
1073
1120
  return [
1074
1121
  // `String.prototype.replace` method
1075
1122
  // https://tc39.es/ecma262/#sec-string.prototype.replace
1076
1123
  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);
1124
+ var s = Ky(this), u = Wy(n) ? Jy(n, gi) : void 0;
1125
+ return u ? zs(u, n, s, o) : zs(e, Me(s), n, o);
1079
1126
  },
1080
1127
  // `RegExp.prototype[@@replace]` method
1081
1128
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
1082
1129
  function(i, n) {
1083
- var o = Cy(this), s = We(i);
1084
- if (typeof n == "string" && Vs(n, r) === -1 && Vs(n, "$<") === -1) {
1085
- var u = t(e, o, s, n);
1086
- if (u.done)
1087
- return u.value;
1130
+ var o = Yy(this), s = Me(i), u = Xy(n);
1131
+ u || (n = Me(n));
1132
+ var l = Me(tm(o));
1133
+ if (typeof n == "string" && !~We(n, r) && !~We(n, "$<") && !~We(l, "y")) {
1134
+ var h = t(e, o, s, n);
1135
+ if (h.done)
1136
+ return h.value;
1088
1137
  }
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));
1138
+ var f = !!~We(l, "g"), c;
1139
+ f && (c = !!~We(l, "u") || !!~We(l, "v"), o.lastIndex = 0);
1140
+ for (var v = [], g; g = rm(o, s), !(g === null || (Na(v, g), !f)); ) {
1141
+ var d = Me(g[0]);
1142
+ d === "" && (o.lastIndex = Zy(s, Qy(o.lastIndex), c));
1096
1143
  }
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;
1102
- if (l) {
1103
- var C = jy([x], T, b, s);
1104
- O !== void 0 && Aa(C, O), $ = We(Ey(n, void 0, C));
1144
+ for (var p = "", y = 0, T = 0; T < v.length; T++) {
1145
+ g = v[T];
1146
+ for (var b = Me(g[0]), x = im(nm(qy(g.index), s.length), 0), $ = [], E, O = 1; O < g.length; O++)
1147
+ Na($, om(g[O]));
1148
+ var C = g.groups;
1149
+ if (u) {
1150
+ var P = sm([b], $, x, s);
1151
+ C !== void 0 && Na(P, C), E = Me(Gy(n, void 0, P));
1105
1152
  } else
1106
- $ = Vy(x, s, b, T, O, n);
1107
- b >= p && (g += Ds(s, p, b) + $, p = b + x.length);
1153
+ E = em(b, s, x, $, C, n);
1154
+ x >= y && (p += Hs(s, y, x) + E, y = x + b.length);
1108
1155
  }
1109
- return g + Ds(s, p);
1156
+ return p + Hs(s, y);
1110
1157
  }
1111
1158
  ];
1112
- }, !Gy || !Uy || ks);
1113
- var zy = ve, Hy = Be, Yy = z, Xy = Yy("match"), Wy = function(a) {
1159
+ }, !lm || !um || Ys);
1160
+ var hm = ae, vm = je, fm = z, cm = fm("match"), gm = function(a) {
1114
1161
  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");
1162
+ return hm(a) && ((e = a[cm]) !== void 0 ? !!e : vm(a) === "RegExp");
1163
+ }, dm = gm, pm = TypeError, rn = function(a) {
1164
+ if (dm(a))
1165
+ throw new pm("The method doesn't accept regular expressions");
1119
1166
  return a;
1120
- }, Ky = z, Zy = Ky("match"), Ji = function(a) {
1167
+ }, ym = z, mm = ym("match"), an = function(a) {
1121
1168
  var e = /./;
1122
1169
  try {
1123
1170
  "/./"[a](e);
1124
1171
  } catch (t) {
1125
1172
  try {
1126
- return e[Zy] = !1, "/./"[a](e);
1173
+ return e[mm] = !1, "/./"[a](e);
1127
1174
  } catch (r) {
1128
1175
  }
1129
1176
  }
1130
1177
  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");
1178
+ }, bm = ee, xm = Nr, Tm = $t.f, Om = ut, Xs = pe, Sm = rn, Em = ve, $m = an, wm = xm("".slice), Cm = Math.min, rl = $m("startsWith"), Am = !rl && !!function() {
1179
+ var a = Tm(String.prototype, "startsWith");
1133
1180
  return a && !a.writable;
1134
1181
  }();
1135
- Jy({ target: "String", proto: !0, forced: !um && !Wu }, {
1182
+ bm({ target: "String", proto: !0, forced: !Am && !rl }, {
1136
1183
  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;
1184
+ var t = Xs(Em(this));
1185
+ Sm(e);
1186
+ var r = Xs(e), i = Om(Cm(arguments.length > 1 ? arguments[1] : void 0, t.length));
1187
+ return wm(t, i, i + r.length) === r;
1141
1188
  }
1142
1189
  });
1143
- var lm = z, hm = Hi, vm = Oe.f, vi = lm("unscopables"), fi = Array.prototype;
1144
- fi[vi] === void 0 && vm(fi, vi, {
1190
+ var Pm = z, Rm = qi, Nm = Oe.f, di = Pm("unscopables"), pi = Array.prototype;
1191
+ pi[di] === void 0 && Nm(pi, di, {
1145
1192
  configurable: !0,
1146
- value: hm(null)
1193
+ value: Rm(null)
1147
1194
  });
1148
- var fm = function(a) {
1149
- fi[vi][a] = !0;
1150
- }, cm = k, gm = !cm(function() {
1195
+ var Im = function(a) {
1196
+ pi[di][a] = !0;
1197
+ }, Mm = D, _m = !Mm(function() {
1151
1198
  function a() {
1152
1199
  }
1153
1200
  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];
1201
+ }), Vm = fe, Dm = B, Lm = Er, km = Ii, Bm = _m, Ws = km("IE_PROTO"), yi = Object, jm = yi.prototype, al = Bm ? yi.getPrototypeOf : function(a) {
1202
+ var e = Lm(a);
1203
+ if (Vm(e, Ws))
1204
+ return e[Ws];
1158
1205
  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() {
1206
+ return Dm(t) && e instanceof t ? t.prototype : e instanceof yi ? jm : null;
1207
+ }, Fm = D, Um = B, Gm = ae, qs = al, zm = Ue, Hm = z, mi = Hm("iterator"), il = !1, ke, Ia, Ma;
1208
+ [].keys && (Ma = [].keys(), "next" in Ma ? (Ia = qs(qs(Ma)), Ia !== Object.prototype && (ke = Ia)) : il = !0);
1209
+ var Ym = !Gm(ke) || Fm(function() {
1163
1210
  var a = {};
1164
- return ke[gi].call(a) !== a;
1211
+ return ke[mi].call(a) !== a;
1165
1212
  });
1166
- wm && (ke = {});
1167
- Om(ke[gi]) || Em(ke, gi, function() {
1213
+ Ym && (ke = {});
1214
+ Um(ke[mi]) || zm(ke, mi, function() {
1168
1215
  return this;
1169
1216
  });
1170
- var Ku = {
1217
+ var nl = {
1171
1218
  IteratorPrototype: ke,
1172
- BUGGY_SAFARI_ITERATORS: Qu
1173
- }, Cm = Ku.IteratorPrototype, Am = Hi, Pm = Ti, Rm = Cr, Nm = Nt, Im = function() {
1219
+ BUGGY_SAFARI_ITERATORS: il
1220
+ }, Xm = nl.IteratorPrototype, Wm = qi, qm = $i, Qm = Rr, Km = Nt, Zm = function() {
1174
1221
  return this;
1175
- }, Mm = function(a, e, t, r) {
1222
+ }, Jm = function(a, e, t, r) {
1176
1223
  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() {
1224
+ return a.prototype = Wm(Xm, { next: qm(+!r, t) }), Qm(a, i, !1), Km[i] = Zm, a;
1225
+ }, e0 = ee, t0 = Y, sl = wr, r0 = B, a0 = Jm, Qs = al, Ks = du, i0 = Rr, n0 = At, _a = Ue, s0 = z, o0 = Nt, ol = nl, u0 = sl.PROPER, l0 = sl.CONFIGURABLE, Zs = ol.IteratorPrototype, tr = ol.BUGGY_SAFARI_ITERATORS, gt = s0("iterator"), Js = "keys", dt = "values", eo = "entries", h0 = function() {
1179
1226
  return this;
1180
- }, Hm = function(a, e, t, r, i, n, o) {
1181
- km(t, e, r);
1227
+ }, v0 = function(a, e, t, r, i, n, o) {
1228
+ a0(t, e, r);
1182
1229
  var s = function(y) {
1183
1230
  if (y === i && c)
1184
1231
  return c;
1185
- if (!er && y && y in h)
1232
+ if (!tr && y && y in h)
1186
1233
  return h[y];
1187
1234
  switch (y) {
1188
- case zs:
1235
+ case Js:
1189
1236
  return function() {
1190
1237
  return new t(this, y);
1191
1238
  };
@@ -1193,7 +1240,7 @@ var Ku = {
1193
1240
  return function() {
1194
1241
  return new t(this, y);
1195
1242
  };
1196
- case Hs:
1243
+ case eo:
1197
1244
  return function() {
1198
1245
  return new t(this, y);
1199
1246
  };
@@ -1201,26 +1248,26 @@ var Ku = {
1201
1248
  return function() {
1202
1249
  return new t(this);
1203
1250
  };
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);
1251
+ }, u = e + " Iterator", l = !1, h = a.prototype, f = h[gt] || h["@@iterator"] || i && h[i], c = !tr && f || s(i), v = e === "Array" && h.entries || f, g, d, p;
1252
+ if (v && (g = Qs(v.call(new a())), g !== Object.prototype && g.next && (Qs(g) !== Zs && (Ks ? Ks(g, Zs) : r0(g[gt]) || _a(g, gt, h0)), i0(g, u, !0))), u0 && i === dt && f && f.name !== dt && (l0 ? n0(h, "name", dt) : (l = !0, c = function() {
1253
+ return t0(f, this);
1207
1254
  })), i)
1208
- if (g = {
1255
+ if (d = {
1209
1256
  values: s(dt),
1210
- keys: n ? c : s(zs),
1211
- entries: s(Hs)
1257
+ keys: n ? c : s(Js),
1258
+ entries: s(eo)
1212
1259
  }, o)
1213
- for (p in g)
1214
- (er || l || !(p in h)) && Na(h, p, g[p]);
1260
+ for (p in d)
1261
+ (tr || l || !(p in h)) && _a(h, p, d[p]);
1215
1262
  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) {
1263
+ e0({ target: e, proto: !0, forced: tr || l }, d);
1264
+ return h[gt] !== c && _a(h, gt, c, { name: i }), o0[e] = c, d;
1265
+ }, f0 = function(a, e) {
1219
1266
  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),
1267
+ }, c0 = wt, nn = Im, to = Nt, ul = Cr, g0 = Oe.f, d0 = v0, rr = f0, p0 = he, ll = "Array Iterator", y0 = ul.set, m0 = ul.getterFor(ll), b0 = d0(Array, "Array", function(a, e) {
1268
+ y0(this, {
1269
+ type: ll,
1270
+ target: c0(a),
1224
1271
  // target
1225
1272
  index: 0,
1226
1273
  // next index
@@ -1228,26 +1275,26 @@ var Ku = {
1228
1275
  // kind
1229
1276
  });
1230
1277
  }, function() {
1231
- var a = Zm(this), e = a.target, t = a.index++;
1278
+ var a = m0(this), e = a.target, t = a.index++;
1232
1279
  if (!e || t >= e.length)
1233
- return a.target = null, tr(void 0, !0);
1280
+ return a.target = null, rr(void 0, !0);
1234
1281
  switch (a.kind) {
1235
1282
  case "keys":
1236
- return tr(t, !1);
1283
+ return rr(t, !1);
1237
1284
  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")
1285
+ return rr(e[t], !1);
1286
+ }
1287
+ return rr([t, e[t]], !1);
1288
+ }, "values"), ro = to.Arguments = to.Array;
1289
+ nn("keys");
1290
+ nn("values");
1291
+ nn("entries");
1292
+ if (p0 && ro.name !== "values")
1246
1293
  try {
1247
- Wm(Xs, "name", { value: "values" });
1294
+ g0(ro, "name", { value: "values" });
1248
1295
  } catch (a) {
1249
1296
  }
1250
- var e0 = {
1297
+ var x0 = {
1251
1298
  CSSRuleList: 0,
1252
1299
  CSSStyleDeclaration: 0,
1253
1300
  CSSValueList: 0,
@@ -1279,57 +1326,57 @@ var e0 = {
1279
1326
  TextTrackCueList: 0,
1280
1327
  TextTrackList: 0,
1281
1328
  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) {
1329
+ }, T0 = $r, Va = T0("span").classList, ao = Va && Va.constructor && Va.constructor.prototype, O0 = ao === Object.prototype ? void 0 : ao, io = _, hl = x0, S0 = O0, yt = b0, no = At, E0 = Rr, $0 = z, Da = $0("iterator"), La = yt.values, vl = function(a, e) {
1283
1330
  if (a) {
1284
- if (a[Ma] !== _a)
1331
+ if (a[Da] !== La)
1285
1332
  try {
1286
- Qs(a, Ma, _a);
1333
+ no(a, Da, La);
1287
1334
  } catch (r) {
1288
- a[Ma] = _a;
1335
+ a[Da] = La;
1289
1336
  }
1290
- if (i0(a, e, !0), rl[e]) {
1337
+ if (E0(a, e, !0), hl[e]) {
1291
1338
  for (var t in yt)
1292
1339
  if (a[t] !== yt[t])
1293
1340
  try {
1294
- Qs(a, t, yt[t]);
1341
+ no(a, t, yt[t]);
1295
1342
  } catch (r) {
1296
1343
  a[t] = yt[t];
1297
1344
  }
1298
1345
  }
1299
1346
  }
1300
1347
  };
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)
1348
+ for (var ka in hl)
1349
+ vl(io[ka] && io[ka].prototype, ka);
1350
+ vl(S0, "DOMTokenList");
1351
+ function w0(a, e) {
1352
+ if (Wa(a) != "object" || !a)
1306
1353
  return a;
1307
1354
  var t = a[Symbol.toPrimitive];
1308
1355
  if (t !== void 0) {
1309
1356
  var r = t.call(a, e || "default");
1310
- if (za(r) != "object")
1357
+ if (Wa(r) != "object")
1311
1358
  return r;
1312
1359
  throw new TypeError("@@toPrimitive must return a primitive value.");
1313
1360
  }
1314
1361
  return (e === "string" ? String : Number)(a);
1315
1362
  }
1316
- function o0(a) {
1317
- var e = s0(a, "string");
1318
- return za(e) == "symbol" ? e : e + "";
1363
+ function C0(a) {
1364
+ var e = w0(a, "string");
1365
+ return Wa(e) == "symbol" ? e : e + "";
1319
1366
  }
1320
- function tn(a, e, t) {
1321
- return (e = o0(e)) in a ? Object.defineProperty(a, e, {
1367
+ function sn(a, e, t) {
1368
+ return (e = C0(e)) in a ? Object.defineProperty(a, e, {
1322
1369
  value: t,
1323
1370
  enumerable: !0,
1324
1371
  configurable: !0,
1325
1372
  writable: !0
1326
1373
  }) : a[e] = t, a;
1327
1374
  }
1328
- var u0 = Te, l0 = Tr, h0 = Fo, v0 = Ni, Ks = TypeError, Zs = "Reduce of empty array with no initial value", Js = function(a) {
1375
+ var A0 = Te, P0 = Er, R0 = Wo, N0 = Vi, so = TypeError, oo = "Reduce of empty array with no initial value", uo = function(a) {
1329
1376
  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);
1377
+ var n = P0(e), o = R0(n), s = N0(n);
1378
+ if (A0(t), s === 0 && r < 2)
1379
+ throw new so(oo);
1333
1380
  var u = a ? s - 1 : 0, l = a ? -1 : 1;
1334
1381
  if (r < 2)
1335
1382
  for (; ; ) {
@@ -1338,65 +1385,65 @@ var u0 = Te, l0 = Tr, h0 = Fo, v0 = Ni, Ks = TypeError, Zs = "Reduce of empty ar
1338
1385
  break;
1339
1386
  }
1340
1387
  if (u += l, a ? u < 0 : s <= u)
1341
- throw new Ks(Zs);
1388
+ throw new so(oo);
1342
1389
  }
1343
1390
  for (; a ? u >= 0 : s > u; u += l)
1344
1391
  u in o && (i = t(i, o[u], u, n));
1345
1392
  return i;
1346
1393
  };
1347
- }, f0 = {
1394
+ }, I0 = {
1348
1395
  // `Array.prototype.reduce` method
1349
1396
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
1350
- left: Js(!1),
1397
+ left: uo(!1),
1351
1398
  // `Array.prototype.reduceRight` method
1352
1399
  // https://tc39.es/ecma262/#sec-array.prototype.reduceright
1353
- right: Js(!0)
1354
- }, c0 = k, il = function(a, e) {
1400
+ right: uo(!0)
1401
+ }, M0 = D, fl = function(a, e) {
1355
1402
  var t = [][a];
1356
- return !!t && c0(function() {
1403
+ return !!t && M0(function() {
1357
1404
  t.call(null, e || function() {
1358
1405
  return 1;
1359
1406
  }, 1);
1360
1407
  });
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 }, {
1408
+ }, _0 = ee, V0 = I0.left, D0 = fl, lo = wi, L0 = Pr, k0 = !L0 && lo > 79 && lo < 83, B0 = k0 || !D0("reduce");
1409
+ _0({ target: "Array", proto: !0, forced: B0 }, {
1363
1410
  reduce: function(e) {
1364
1411
  var t = arguments.length;
1365
- return d0(this, e, t, t > 1 ? arguments[1] : void 0);
1412
+ return V0(this, e, t, t > 1 ? arguments[1] : void 0);
1366
1413
  }
1367
1414
  });
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");
1415
+ var j0 = ee, F0 = Nr, U0 = $t.f, G0 = ut, ho = pe, z0 = rn, H0 = ve, Y0 = an, X0 = F0("".slice), W0 = Math.min, cl = Y0("endsWith"), q0 = !cl && !!function() {
1416
+ var a = U0(String.prototype, "endsWith");
1370
1417
  return a && !a.writable;
1371
1418
  }();
1372
- x0({ target: "String", proto: !0, forced: !P0 && !nl }, {
1419
+ j0({ target: "String", proto: !0, forced: !q0 && !cl }, {
1373
1420
  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;
1421
+ var t = ho(H0(this));
1422
+ z0(e);
1423
+ var r = ho(e), i = arguments.length > 1 ? arguments[1] : void 0, n = t.length, o = i === void 0 ? n : W0(G0(i), n);
1424
+ return X0(t, o - r.length, o) === r;
1378
1425
  }
1379
1426
  });
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() {
1427
+ var Ba = Y, on = L, Q0 = Ki, K0 = J, Z0 = ae, J0 = ve, eb = Tu, tb = Ji, rb = ut, ja = pe, ab = ot, ib = Vr, vo = en, nb = Qu, sb = D, qe = nb.UNSUPPORTED_Y, ob = 4294967295, ub = Math.min, Fa = on([].push), Ua = on("".slice), ar = on("".indexOf), lb = !sb(function() {
1381
1428
  var a = /(?:)/, e = a.exec;
1382
1429
  a.exec = function() {
1383
1430
  return e.apply(this, arguments);
1384
1431
  };
1385
1432
  var t = "ab".split(a);
1386
1433
  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
1434
+ }), fo = "abbc".split(/(b)*/)[1] === "c" || // eslint-disable-next-line regexp/no-empty-group -- required for testing
1388
1435
  "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
1436
  ".".split(/()()/).length > 1 || "".split(/.?/).length;
1390
- R0("split", function(a, e, t) {
1437
+ Q0("split", function(a, e, t) {
1391
1438
  var r = "0".split(void 0, 0).length ? function(i, n) {
1392
- return i === void 0 && n === 0 ? [] : Da(e, this, i, n);
1439
+ return i === void 0 && n === 0 ? [] : Ba(e, this, i, n);
1393
1440
  } : e;
1394
1441
  return [
1395
1442
  // `String.prototype.split` method
1396
1443
  // https://tc39.es/ecma262/#sec-string.prototype.split
1397
1444
  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);
1445
+ var s = J0(this), u = Z0(n) ? ab(n, a) : void 0;
1446
+ return u ? Ba(u, n, s, o) : Ba(r, ja(s), n, o);
1400
1447
  },
1401
1448
  // `RegExp.prototype[@@split]` method
1402
1449
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@split
@@ -1404,36 +1451,38 @@ R0("split", function(a, e, t) {
1404
1451
  // NOTE: This cannot be properly polyfilled in engines that don't support
1405
1452
  // the 'y' flag.
1406
1453
  function(i, n) {
1407
- var o = N0(this), s = ro(i);
1408
- if (!io) {
1454
+ var o = K0(this), s = ja(i);
1455
+ if (!fo) {
1409
1456
  var u = t(r, o, s, n, r !== e);
1410
1457
  if (u.done)
1411
1458
  return u.value;
1412
1459
  }
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;
1460
+ var l = eb(o, RegExp), h = ja(ib(o)), f = !!~ar(h, "u") || !!~ar(h, "v");
1461
+ qe ? ~ar(h, "g") || (h += "g") : ~ar(h, "y") || (h += "y");
1462
+ var c = new l(qe ? "^(?:" + o.source + ")" : o, h), v = n === void 0 ? ob : n >>> 0;
1414
1463
  if (v === 0)
1415
1464
  return [];
1416
1465
  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);
1466
+ return vo(c, s) === null ? [s] : [];
1467
+ for (var g = 0, d = 0, p = []; d < s.length; ) {
1468
+ c.lastIndex = qe ? 0 : d;
1469
+ var y = vo(c, qe ? Ua(s, d) : s), T;
1470
+ if (y === null || (T = ub(rb(c.lastIndex + (qe ? d : 0)), s.length)) === g)
1471
+ d = tb(s, d, f);
1423
1472
  else {
1424
- if (ka(p, La(s, d, g)), p.length === v)
1473
+ if (Fa(p, Ua(s, g, d)), p.length === v)
1425
1474
  return p;
1426
1475
  for (var b = 1; b <= y.length - 1; b++)
1427
- if (ka(p, y[b]), p.length === v)
1476
+ if (Fa(p, y[b]), p.length === v)
1428
1477
  return p;
1429
- g = d = x;
1478
+ d = g = T;
1430
1479
  }
1431
1480
  }
1432
- return ka(p, La(s, d)), p;
1481
+ return Fa(p, Ua(s, g)), p;
1433
1482
  }
1434
1483
  ];
1435
- }, io || !U0, qe);
1436
- var Mr = { exports: {} }, mt = { exports: {} };
1484
+ }, fo || !lb, qe);
1485
+ var Lr = { exports: {} }, mt = { exports: {} };
1437
1486
  (function() {
1438
1487
  var a, e, t, r, i, n;
1439
1488
  typeof performance != "undefined" && performance !== null && performance.now ? mt.exports = function() {
@@ -1449,21 +1498,21 @@ var Mr = { exports: {} }, mt = { exports: {} };
1449
1498
  return (/* @__PURE__ */ new Date()).getTime() - t;
1450
1499
  }, t = (/* @__PURE__ */ new Date()).getTime());
1451
1500
  }).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];
1501
+ var hb = mt.exports, vb = hb, be = typeof window == "undefined" ? Ke : window, ir = ["moz", "webkit"], rt = "AnimationFrame", st = be["request" + rt], Et = be["cancel" + rt] || be["cancelRequest" + rt];
1502
+ for (var pt = 0; !st && pt < ir.length; pt++)
1503
+ st = be[ir[pt] + "Request" + rt], Et = be[ir[pt] + "Cancel" + rt] || be[ir[pt] + "CancelRequest" + rt];
1455
1504
  if (!st || !Et) {
1456
- var Ba = 0, no = 0, Me = [], H0 = 1e3 / 60;
1505
+ var Ga = 0, co = 0, _e = [], fb = 1e3 / 60;
1457
1506
  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;
1507
+ if (_e.length === 0) {
1508
+ var e = vb(), t = Math.max(0, fb - (e - Ga));
1509
+ Ga = t + e, setTimeout(function() {
1510
+ var r = _e.slice(0);
1511
+ _e.length = 0;
1463
1512
  for (var i = 0; i < r.length; i++)
1464
1513
  if (!r[i].cancelled)
1465
1514
  try {
1466
- r[i].callback(Ba);
1515
+ r[i].callback(Ga);
1467
1516
  } catch (n) {
1468
1517
  setTimeout(function() {
1469
1518
  throw n;
@@ -1471,54 +1520,54 @@ if (!st || !Et) {
1471
1520
  }
1472
1521
  }, Math.round(t));
1473
1522
  }
1474
- return Me.push({
1475
- handle: ++no,
1523
+ return _e.push({
1524
+ handle: ++co,
1476
1525
  callback: a,
1477
1526
  cancelled: !1
1478
- }), no;
1527
+ }), co;
1479
1528
  }, Et = function(a) {
1480
- for (var e = 0; e < Me.length; e++)
1481
- Me[e].handle === a && (Me[e].cancelled = !0);
1529
+ for (var e = 0; e < _e.length; e++)
1530
+ _e[e].handle === a && (_e[e].cancelled = !0);
1482
1531
  };
1483
1532
  }
1484
- Mr.exports = function(a) {
1533
+ Lr.exports = function(a) {
1485
1534
  return st.call(be, a);
1486
1535
  };
1487
- Mr.exports.cancel = function() {
1536
+ Lr.exports.cancel = function() {
1488
1537
  Et.apply(be, arguments);
1489
1538
  };
1490
- Mr.exports.polyfill = function(a) {
1539
+ Lr.exports.polyfill = function(a) {
1491
1540
  a || (a = be), a.requestAnimationFrame = st, a.cancelAnimationFrame = Et;
1492
1541
  };
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) {
1542
+ var cb = Lr.exports;
1543
+ const za = /* @__PURE__ */ Fo(cb);
1544
+ var gl = `
1545
+ \v\f\r                 \u2028\u2029\uFEFF`, gb = L, db = ve, pb = pe, bi = gl, go = gb("".replace), yb = RegExp("^[" + bi + "]+"), mb = RegExp("(^|[^" + bi + "])[" + bi + "]+$"), Ha = function(a) {
1497
1546
  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;
1547
+ var t = pb(db(e));
1548
+ return a & 1 && (t = go(t, yb, "")), a & 2 && (t = go(t, mb, "$1")), t;
1500
1549
  };
1501
- }, Z0 = {
1550
+ }, bb = {
1502
1551
  // `String.prototype.{ trimLeft, trimStart }` methods
1503
1552
  // https://tc39.es/ecma262/#sec-string.prototype.trimstart
1504
- start: Fa(1),
1553
+ start: Ha(1),
1505
1554
  // `String.prototype.{ trimRight, trimEnd }` methods
1506
1555
  // https://tc39.es/ecma262/#sec-string.prototype.trimend
1507
- end: Fa(2),
1556
+ end: Ha(2),
1508
1557
  // `String.prototype.trim` method
1509
1558
  // 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;
1559
+ trim: Ha(3)
1560
+ }, xb = wr.PROPER, Tb = D, po = gl, yo = "​…᠎", Ob = function(a) {
1561
+ return Tb(function() {
1562
+ return !!po[a]() || yo[a]() !== yo || xb && po[a].name !== a;
1514
1563
  });
1515
- }, rb = ee, ab = Z0.trim, ib = tb;
1516
- rb({ target: "String", proto: !0, forced: ib("trim") }, {
1564
+ }, Sb = ee, Eb = bb.trim, $b = Ob;
1565
+ Sb({ target: "String", proto: !0, forced: $b("trim") }, {
1517
1566
  trim: function() {
1518
- return ab(this);
1567
+ return Eb(this);
1519
1568
  }
1520
1569
  });
1521
- var nb = function(a) {
1570
+ var wb = function(a) {
1522
1571
  this.ok = !1, this.alpha = 1, a.charAt(0) == "#" && (a = a.substr(1, 6)), a = a.replace(/ /g, ""), a = a.toLowerCase();
1523
1572
  var e = {
1524
1573
  aliceblue: "f0f8ff",
@@ -1737,41 +1786,41 @@ var nb = function(a) {
1737
1786
  v.setAttribute("id", "rgbcolor-examples");
1738
1787
  for (var l = 0; l < u.length; l++)
1739
1788
  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"));
1789
+ var g = document.createElement("li"), d = new RGBColor(u[l]), p = document.createElement("div");
1790
+ p.style.cssText = "margin: 3px; border: 1px solid black; background:" + d.toHex() + "; color:" + d.toHex(), p.appendChild(document.createTextNode("test"));
1742
1791
  var y = document.createTextNode(
1743
- " " + u[l] + " -> " + g.toRGB() + " -> " + g.toHex()
1792
+ " " + u[l] + " -> " + d.toRGB() + " -> " + d.toHex()
1744
1793
  );
1745
- d.appendChild(p), d.appendChild(y), v.appendChild(d);
1794
+ g.appendChild(p), g.appendChild(y), v.appendChild(g);
1746
1795
  } catch (b) {
1747
1796
  }
1748
1797
  return v;
1749
1798
  };
1750
1799
  };
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 }, {
1800
+ const xi = /* @__PURE__ */ Fo(wb);
1801
+ var Cb = ee, Ab = Nr, Pb = hu.indexOf, Rb = fl, Ti = Ab([].indexOf), dl = !!Ti && 1 / Ti([1], 1, -0) < 0, Nb = dl || !Rb("indexOf");
1802
+ Cb({ target: "Array", proto: !0, forced: Nb }, {
1754
1803
  indexOf: function(e) {
1755
1804
  var t = arguments.length > 1 ? arguments[1] : void 0;
1756
- return ul ? yi(this, e, t) || 0 : ub(this, e, t);
1805
+ return dl ? Ti(this, e, t) || 0 : Pb(this, e, t);
1757
1806
  }
1758
1807
  });
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") }, {
1808
+ var Ib = ee, Mb = L, _b = rn, Vb = ve, mo = pe, Db = an, Lb = Mb("".indexOf);
1809
+ Ib({ target: "String", proto: !0, forced: !Db("includes") }, {
1761
1810
  includes: function(e) {
1762
- return !!~pb(
1763
- lo(gb(this)),
1764
- lo(cb(e)),
1811
+ return !!~Lb(
1812
+ mo(Vb(this)),
1813
+ mo(_b(e)),
1765
1814
  arguments.length > 1 ? arguments[1] : void 0
1766
1815
  );
1767
1816
  }
1768
1817
  });
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()) }, {
1818
+ var kb = je, Bb = Array.isArray || function(e) {
1819
+ return kb(e) === "Array";
1820
+ }, jb = ee, Fb = L, Ub = Bb, Gb = Fb([].reverse), bo = [1, 2];
1821
+ jb({ target: "Array", proto: !0, forced: String(bo) === String(bo.reverse()) }, {
1773
1822
  reverse: function() {
1774
- return Tb(this) && (this.length = this.length), Ob(this);
1823
+ return Ub(this) && (this.length = this.length), Gb(this);
1775
1824
  }
1776
1825
  });
1777
1826
  /*! *****************************************************************************
@@ -1788,23 +1837,23 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1788
1837
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1789
1838
  PERFORMANCE OF THIS SOFTWARE.
1790
1839
  ***************************************************************************** */
1791
- var ll = function(a, e) {
1792
- return (ll = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, r) {
1840
+ var pl = function(a, e) {
1841
+ return (pl = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, r) {
1793
1842
  t.__proto__ = r;
1794
1843
  } || function(t, r) {
1795
1844
  for (var i in r)
1796
1845
  Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
1797
1846
  })(a, e);
1798
1847
  };
1799
- function hl(a, e) {
1848
+ function yl(a, e) {
1800
1849
  if (typeof e != "function" && e !== null)
1801
1850
  throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
1802
1851
  function t() {
1803
1852
  this.constructor = a;
1804
1853
  }
1805
- ll(a, e), a.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
1854
+ pl(a, e), a.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
1806
1855
  }
1807
- function Sb(a) {
1856
+ function zb(a) {
1808
1857
  var e = "";
1809
1858
  Array.isArray(a) || (a = [a]);
1810
1859
  for (var t = 0; t < a.length; t++) {
@@ -1835,11 +1884,11 @@ function Sb(a) {
1835
1884
  }
1836
1885
  return e;
1837
1886
  }
1838
- function mi(a, e) {
1887
+ function Oi(a, e) {
1839
1888
  var t = a[0], r = a[1];
1840
1889
  return [t * Math.cos(e) - r * Math.sin(e), t * Math.sin(e) + r * Math.cos(e)];
1841
1890
  }
1842
- function oe() {
1891
+ function ue() {
1843
1892
  for (var a = [], e = 0; e < arguments.length; e++)
1844
1893
  a[e] = arguments[e];
1845
1894
  for (var t = 0; t < a.length; t++)
@@ -1848,17 +1897,17 @@ function oe() {
1848
1897
  return !0;
1849
1898
  }
1850
1899
  var Ee = Math.PI;
1851
- function Ua(a, e, t) {
1900
+ function Ya(a, e, t) {
1852
1901
  a.lArcFlag = a.lArcFlag === 0 ? 0 : 1, a.sweepFlag = a.sweepFlag === 0 ? 0 : 1;
1853
1902
  var r = a.rX, i = a.rY, n = a.x, o = a.y;
1854
1903
  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);
1904
+ var s = Oi([(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
1905
  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;
1906
+ 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 = Oi([v, g], a.xRot / 180 * Ee);
1907
+ 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
1908
  }
1860
- function vo(a, e, t) {
1861
- oe(a, e, t);
1909
+ function xo(a, e, t) {
1910
+ ue(a, e, t);
1862
1911
  var r = a * a + e * e - t * t;
1863
1912
  if (0 > r)
1864
1913
  return [];
@@ -1868,13 +1917,13 @@ function vo(a, e, t) {
1868
1917
  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
1918
  }
1870
1919
  var U, ye = Math.PI / 180;
1871
- function fo(a, e, t) {
1920
+ function To(a, e, t) {
1872
1921
  return (1 - t) * a + t * e;
1873
1922
  }
1874
- function co(a, e, t, r) {
1923
+ function Oo(a, e, t, r) {
1875
1924
  return a + Math.cos(r / 180 * Ee) * e + Math.sin(r / 180 * Ee) * t;
1876
1925
  }
1877
- function go(a, e, t, r) {
1926
+ function So(a, e, t, r) {
1878
1927
  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
1928
  return Math.abs(s) < i ? [-l / u] : function(h, f, c) {
1880
1929
  c === void 0 && (c = 1e-6);
@@ -1883,11 +1932,11 @@ function go(a, e, t, r) {
1883
1932
  return [];
1884
1933
  if (v <= c)
1885
1934
  return [-h / 2];
1886
- var d = Math.sqrt(v);
1887
- return [-h / 2 - d, -h / 2 + d];
1935
+ var g = Math.sqrt(v);
1936
+ return [-h / 2 - g, -h / 2 + g];
1888
1937
  }(u / s, l / s, i);
1889
1938
  }
1890
- function po(a, e, t, r, i) {
1939
+ function Eo(a, e, t, r, i) {
1891
1940
  var n = 1 - i;
1892
1941
  return a * (n * n * n) + e * (3 * n * n * i) + t * (3 * n * i * i) + r * (i * i * i);
1893
1942
  }
@@ -1925,19 +1974,19 @@ function po(a, e, t, r, i) {
1925
1974
  };
1926
1975
  }
1927
1976
  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;
1977
+ return ue(s, u, l, h, f, c), i(function(v, g, d, p) {
1978
+ var y = v.x1, T = v.x2, b = v.relative && !isNaN(p), x = v.x !== void 0 ? v.x : b ? 0 : g, $ = v.y !== void 0 ? v.y : b ? 0 : d;
1979
+ function E(se) {
1980
+ return se * se;
1932
1981
  }
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));
1982
+ 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 = x * 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 = T * u + v.y2 * h + (b ? 0 : c));
1934
1983
  var O = s * h - u * l;
1935
1984
  if (v.xRot !== void 0 && (s !== 1 || u !== 0 || l !== 0 || h !== 1))
1936
1985
  if (O === 0)
1937
1986
  delete v.rX, delete v.rY, delete v.xRot, delete v.lArcFlag, delete v.sweepFlag, v.type = m.LINE_TO;
1938
1987
  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;
1988
+ 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);
1989
+ 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
1990
  }
1942
1991
  return v.sweepFlag !== void 0 && 0 > O && (v.sweepFlag = +!v.sweepFlag), v;
1943
1992
  });
@@ -1954,7 +2003,7 @@ function po(a, e, t, r, i) {
1954
2003
  function u(l) {
1955
2004
  return Math.round(l * s) / s;
1956
2005
  }
1957
- return s === void 0 && (s = 1e13), oe(s), function(l) {
2006
+ return s === void 0 && (s = 1e13), ue(s), function(l) {
1958
2007
  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
2008
  };
1960
2009
  }, a.TO_ABS = e, a.TO_REL = function() {
@@ -1962,92 +2011,92 @@ function po(a, e, t, r, i) {
1962
2011
  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
2012
  });
1964
2013
  }, 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) {
2014
+ return s === void 0 && (s = !0), u === void 0 && (u = !0), l === void 0 && (l = !0), i(function(h, f, c, v, g) {
1966
2015
  if (isNaN(v) && !(h.type & m.MOVE_TO))
1967
2016
  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;
2017
+ 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
2018
  });
1970
2019
  }, a.NORMALIZE_ST = t, a.QT_TO_C = r, a.INFO = i, a.SANITIZE = function(s) {
1971
- s === void 0 && (s = 0), oe(s);
2020
+ s === void 0 && (s = 0), ue(s);
1972
2021
  var u = NaN, l = NaN, h = NaN, f = NaN;
1973
- return i(function(c, v, d, g, p) {
1974
- 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;
1979
- y($) <= s && y(E) <= s && y(b) <= s && y(T) <= s && y(O) <= s && y(C) <= s && (x = !0);
2022
+ return i(function(c, v, g, d, p) {
2023
+ var y = Math.abs, T = !1, b = 0, x = 0;
2024
+ if (c.type & m.SMOOTH_CURVE_TO && (b = isNaN(u) ? 0 : v - u, x = 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) {
2025
+ 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;
2026
+ b = isNaN(h) ? c.x1 === void 0 ? b : c.relative ? c.x : c.x1 - v : h - v, x = isNaN(f) ? c.y1 === void 0 ? x : c.relative ? c.y : c.y1 - g : f - g;
2027
+ 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;
2028
+ y($) <= s && y(E) <= s && y(b) <= s && y(x) <= s && y(O) <= s && y(C) <= s && (T = !0);
1980
2029
  }
1981
- return c.type & m.CLOSE_PATH && y(v - g) <= s && y(d - p) <= s && (x = !0), x ? [] : c;
2030
+ return c.type & m.CLOSE_PATH && y(v - d) <= s && y(g - p) <= s && (T = !0), T ? [] : c;
1982
2031
  });
1983
2032
  }, a.MATRIX = n, a.ROTATE = function(s, u, l) {
1984
- u === void 0 && (u = 0), l === void 0 && (l = 0), oe(s, u, l);
2033
+ u === void 0 && (u = 0), l === void 0 && (l = 0), ue(s, u, l);
1985
2034
  var h = Math.sin(s), f = Math.cos(s);
1986
2035
  return n(f, h, -h, f, u - u * f + l * h, l - u * h - l * f);
1987
2036
  }, a.TRANSLATE = function(s, u) {
1988
- return u === void 0 && (u = 0), oe(s, u), n(1, 0, 0, 1, s, u);
2037
+ return u === void 0 && (u = 0), ue(s, u), n(1, 0, 0, 1, s, u);
1989
2038
  }, a.SCALE = function(s, u) {
1990
- return u === void 0 && (u = s), oe(s, u), n(s, 0, 0, u, 0, 0);
2039
+ return u === void 0 && (u = s), ue(s, u), n(s, 0, 0, u, 0, 0);
1991
2040
  }, a.SKEW_X = function(s) {
1992
- return oe(s), n(1, 0, Math.atan(s), 1, 0, 0);
2041
+ return ue(s), n(1, 0, Math.atan(s), 1, 0, 0);
1993
2042
  }, a.SKEW_Y = function(s) {
1994
- return oe(s), n(1, Math.atan(s), 0, 1, 0, 0);
2043
+ return ue(s), n(1, Math.atan(s), 0, 1, 0, 0);
1995
2044
  }, a.X_AXIS_SYMMETRY = function(s) {
1996
- return s === void 0 && (s = 0), oe(s), n(-1, 0, 0, 1, s, 0);
2045
+ return s === void 0 && (s = 0), ue(s), n(-1, 0, 0, 1, s, 0);
1997
2046
  }, a.Y_AXIS_SYMMETRY = function(s) {
1998
- return s === void 0 && (s = 0), oe(s), n(1, 0, 0, -1, 0, s);
2047
+ return s === void 0 && (s = 0), ue(s), n(1, 0, 0, -1, 0, s);
1999
2048
  }, a.A_TO_C = function() {
2000
2049
  return i(function(s, u, l) {
2001
2050
  return m.ARC === s.type ? function(h, f, c) {
2002
- var v, d, g, p;
2003
- h.cX || Ua(h, f, c);
2004
- 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];
2006
- 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];
2051
+ var v, g, d, p;
2052
+ h.cX || Ya(h, f, c);
2053
+ for (var y = Math.min(h.phi1, h.phi2), T = Math.max(h.phi1, h.phi2) - y, b = Math.ceil(T / 90), x = new Array(b), $ = f, E = c, O = 0; O < b; O++) {
2054
+ var C = To(h.phi1, h.phi2, O / b), P = To(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];
2055
+ x[O] = { relative: h.relative, type: m.CURVE_TO };
2056
+ var K = function(se, ge) {
2057
+ var Se = Oi([se * h.rX, ge * h.rY], h.xRot), ze = Se[0], Mt = Se[1];
2009
2058
  return [h.cX + ze, h.cY + Mt];
2010
2059
  };
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];
2060
+ v = K(X, W), x[O].x1 = v[0], x[O].y1 = v[1], g = K(N, M), x[O].x2 = g[0], x[O].y2 = g[1], d = K(q, H), x[O].x = d[0], x[O].y = d[1], h.relative && (x[O].x1 -= $, x[O].y1 -= E, x[O].x2 -= $, x[O].y2 -= E, x[O].x -= $, x[O].y -= E), $ = (p = [x[O].x, x[O].y])[0], E = p[1];
2012
2061
  }
2013
- return T;
2062
+ return x;
2014
2063
  }(s, s.relative ? 0 : u, s.relative ? 0 : l) : s;
2015
2064
  });
2016
2065
  }, a.ANNOTATE_ARCS = function() {
2017
2066
  return i(function(s, u, l) {
2018
- return s.relative && (u = 0, l = 0), m.ARC === s.type && Ua(s, u, l), s;
2067
+ return s.relative && (u = 0, l = 0), m.ARC === s.type && Ya(s, u, l), s;
2019
2068
  });
2020
2069
  }, a.CLONE = o, a.CALCULATE_BOUNDS = function() {
2021
2070
  var s = function(c) {
2022
2071
  var v = {};
2023
- for (var d in c)
2024
- v[d] = c[d];
2072
+ for (var g in c)
2073
+ v[g] = c[g];
2025
2074
  return v;
2026
- }, u = e(), l = r(), h = t(), f = i(function(c, v, d) {
2027
- var g = h(l(u(s(c))));
2075
+ }, u = e(), l = r(), h = t(), f = i(function(c, v, g) {
2076
+ var d = h(l(u(s(c))));
2028
2077
  function p(M) {
2029
2078
  M > f.maxX && (f.maxX = M), M < f.minX && (f.minX = M);
2030
2079
  }
2031
2080
  function y(M) {
2032
2081
  M > f.maxY && (f.maxY = M), M < f.minY && (f.minY = M);
2033
2082
  }
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));
2083
+ 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) {
2084
+ p(d.x), y(d.y);
2085
+ for (var T = 0, b = So(v, d.x1, d.x2, d.x); T < b.length; T++)
2086
+ 0 < (N = b[T]) && 1 > N && p(Eo(v, d.x1, d.x2, d.x, N));
2087
+ for (var x = 0, $ = So(g, d.y1, d.y2, d.y); x < $.length; x++)
2088
+ 0 < (N = $[x]) && 1 > N && y(Eo(g, d.y1, d.y2, d.y, N));
2040
2089
  }
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));
2090
+ if (d.type & m.ARC) {
2091
+ p(d.x), y(d.y), Ya(d, v, g);
2092
+ 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) {
2093
+ var K = M[0], se = M[1], ge = 180 * Math.atan2(se, K) / Math.PI;
2094
+ return ge < R ? ge + 360 : ge;
2095
+ }, G = 0, q = xo(P, -O, 0).map(W); G < q.length; G++)
2096
+ (N = q[G]) > R && N < X && p(Oo(d.cX, O, P, N));
2097
+ for (var H = 0, Q = xo(V, -C, 0).map(W); H < Q.length; H++) {
2098
+ var N;
2099
+ (N = Q[H]) > R && N < X && y(Oo(d.cY, C, V, N));
2051
2100
  }
2052
2101
  }
2053
2102
  return c;
@@ -2055,7 +2104,7 @@ function po(a, e, t, r, i) {
2055
2104
  return f.minX = 1 / 0, f.maxX = -1 / 0, f.minY = 1 / 0, f.maxY = -1 / 0, f;
2056
2105
  };
2057
2106
  })(U || (U = {}));
2058
- var se, vl = function() {
2107
+ var oe, ml = function() {
2059
2108
  function a() {
2060
2109
  }
2061
2110
  return a.prototype.round = function(e) {
@@ -2093,17 +2142,17 @@ var se, vl = function() {
2093
2142
  }, a.prototype.annotateArcs = function() {
2094
2143
  return this.transform(U.ANNOTATE_ARCS());
2095
2144
  }, a;
2096
- }(), Eb = function(a) {
2145
+ }(), Hb = function(a) {
2097
2146
  return a === " " || a === " " || a === "\r" || a === `
2098
2147
  `;
2099
- }, yo = function(a) {
2148
+ }, $o = function(a) {
2100
2149
  return "0".charCodeAt(0) <= a.charCodeAt(0) && a.charCodeAt(0) <= "9".charCodeAt(0);
2101
- }, $b = function(a) {
2150
+ }, Yb = function(a) {
2102
2151
  function e() {
2103
2152
  var t = a.call(this) || this;
2104
2153
  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
2154
  }
2106
- return hl(e, a), e.prototype.finish = function(t) {
2155
+ return yl(e, a), e.prototype.finish = function(t) {
2107
2156
  if (t === void 0 && (t = []), this.parse(" ", t), this.curArgs.length !== 0 || !this.canParseCommandOrComma)
2108
2157
  throw new SyntaxError("Unterminated command at the path end.");
2109
2158
  return t;
@@ -2113,8 +2162,8 @@ var se, vl = function() {
2113
2162
  for (var n = function(f) {
2114
2163
  r.push(f), i.curArgs.length = 0, i.canParseCommandOrComma = !0;
2115
2164
  }, 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)
2165
+ 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 = $o(s) && (this.curNumber === "0" && s === "0" || u);
2166
+ if (!$o(s) || l)
2118
2167
  if (s !== "e" && s !== "E")
2119
2168
  if (s !== "-" && s !== "+" || !this.curNumberHasExp || this.curNumberHasExpDigits)
2120
2169
  if (s !== "." || this.curNumberHasExp || this.curNumberHasDecimal || u) {
@@ -2129,9 +2178,9 @@ var se, vl = function() {
2129
2178
  } else if ((this.curArgs.length === 3 || this.curArgs.length === 4) && this.curNumber !== "0" && this.curNumber !== "1")
2130
2179
  throw new SyntaxError('Expected a flag, got "' + this.curNumber + '" at index "' + o + '"');
2131
2180
  }
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;
2181
+ this.curArgs.push(h), this.curArgs.length === Xb[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
2182
  }
2134
- if (!Eb(s))
2183
+ if (!Hb(s))
2135
2184
  if (s === "," && this.canParseCommandOrComma)
2136
2185
  this.canParseCommandOrComma = !1;
2137
2186
  else if (s !== "+" && s !== "-" && s !== ".")
@@ -2189,12 +2238,12 @@ var se, vl = function() {
2189
2238
  return i;
2190
2239
  } } });
2191
2240
  }, e;
2192
- }(vl), m = function(a) {
2241
+ }(ml), m = function(a) {
2193
2242
  function e(t) {
2194
2243
  var r = a.call(this) || this;
2195
2244
  return r.commands = typeof t == "string" ? e.parse(t) : t, r;
2196
2245
  }
2197
- return hl(e, a), e.prototype.encode = function() {
2246
+ return yl(e, a), e.prototype.encode = function() {
2198
2247
  return e.encode(this.commands);
2199
2248
  }, e.prototype.getBounds = function() {
2200
2249
  var t = U.CALCULATE_BOUNDS();
@@ -2206,36 +2255,33 @@ var se, vl = function() {
2206
2255
  }
2207
2256
  return this.commands = r, this;
2208
2257
  }, e.encode = function(t) {
2209
- return Sb(t);
2258
+ return zb(t);
2210
2259
  }, e.parse = function(t) {
2211
- var r = new $b(), i = [];
2260
+ var r = new Yb(), i = [];
2212
2261
  return r.parse(t, i), r.finish(i), i;
2213
2262
  }, 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));
2263
+ }(ml), Xb = ((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), Wb = wr.PROPER, qb = Ue, Qb = J, wo = pe, Kb = D, Zb = Vr, un = "toString", bl = RegExp.prototype, xl = bl[un], Jb = Kb(function() {
2264
+ return xl.call({ source: "a", flags: "b" }) !== "/a/b";
2265
+ }), e1 = Wb && xl.name !== un;
2266
+ (Jb || e1) && qb(bl, un, function() {
2267
+ var e = Qb(this), t = wo(e.source), r = wo(Zb(e));
2222
2268
  return "/" + t + "/" + r;
2223
2269
  }, { unsafe: !0 });
2224
- function vr(a) {
2270
+ function cr(a) {
2225
2271
  "@babel/helpers - typeof";
2226
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? vr = function(e) {
2272
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? cr = function(e) {
2227
2273
  return typeof e;
2228
- } : vr = function(e) {
2274
+ } : cr = function(e) {
2229
2275
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2230
- }, vr(a);
2276
+ }, cr(a);
2231
2277
  }
2232
- function Bb(a, e) {
2278
+ function t1(a, e) {
2233
2279
  if (!(a instanceof e))
2234
2280
  throw new TypeError("Cannot call a class as a function");
2235
2281
  }
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))
2282
+ var r1 = [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], a1 = [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];
2283
+ function i1(a, e, t, r, i) {
2284
+ if (typeof a == "string" && (a = document.getElementById(a)), !a || cr(a) !== "object" || !("getContext" in a))
2239
2285
  throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");
2240
2286
  var n = a.getContext("2d");
2241
2287
  try {
@@ -2244,69 +2290,69 @@ function Ub(a, e, t, r, i) {
2244
2290
  throw new Error("unable to access image data: " + o);
2245
2291
  }
2246
2292
  }
2247
- function Gb(a, e, t, r, i, n) {
2293
+ function n1(a, e, t, r, i, n) {
2248
2294
  if (!(isNaN(n) || n < 1)) {
2249
2295
  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);
2296
+ var o = i1(a, e, t, r, i);
2297
+ o = s1(o, e, t, r, i, n), a.getContext("2d").putImageData(o, e, t);
2252
2298
  }
2253
2299
  }
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);
2300
+ function s1(a, e, t, r, i, n) {
2301
+ 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 Co(), v = c, g, d = 1; d < s; d++)
2302
+ v = v.next = new Co(), d === h && (g = v);
2257
2303
  v.next = c;
2258
- for (var p = null, y = null, x = 0, b = 0, T = jb[n], $ = Fb[n], E = 0; E < i; E++) {
2304
+ for (var p = null, y = null, T = 0, b = 0, x = r1[n], $ = a1[n], E = 0; E < i; E++) {
2259
2305
  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;
2306
+ for (var O = o[b], C = o[b + 1], P = o[b + 2], V = o[b + 3], j = 0; j < h; j++)
2307
+ v.r = O, v.g = C, v.b = P, v.a = V, v = v.next;
2308
+ 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++) {
2309
+ var ze = b + ((u < Se ? u : Se) << 2), Mt = o[ze], vn = o[ze + 1], fn = o[ze + 2], cn = o[ze + 3], _t = h - Se;
2310
+ M += (v.r = Mt) * _t, K += (v.g = vn) * _t, se += (v.b = fn) * _t, ge += (v.a = cn) * _t, R += Mt, X += vn, W += fn, G += cn, v = v.next;
2265
2311
  }
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;
2312
+ p = c, y = g;
2313
+ for (var Ur = 0; Ur < r; Ur++) {
2314
+ var Gr = ge * x >>> $;
2315
+ if (o[b + 3] = Gr, Gr !== 0) {
2316
+ var zr = 255 / Gr;
2317
+ o[b] = (M * x >>> $) * zr, o[b + 1] = (K * x >>> $) * zr, o[b + 2] = (se * x >>> $) * zr;
2272
2318
  } else
2273
2319
  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;
2320
+ M -= q, K -= H, se -= Q, ge -= N, q -= p.r, H -= p.g, Q -= p.b, N -= p.a;
2321
+ var Ae = Ur + n + 1;
2322
+ Ae = T + (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;
2323
+ var Vt = y, gn = Vt.r, dn = Vt.g, pn = Vt.b, yn = Vt.a;
2324
+ q += gn, H += dn, Q += pn, N += yn, R -= gn, X -= dn, W -= pn, G -= yn, y = y.next, b += 4;
2279
2325
  }
2280
- x += r;
2326
+ T += r;
2281
2327
  }
2282
2328
  for (var He = 0; He < r; He++) {
2283
2329
  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;
2330
+ var Pe = o[b], Re = o[b + 1], Ne = o[b + 2], te = o[b + 3], Hr = h * Pe, Yr = h * Re, Xr = h * Ne, Wr = h * te, Dt = f * Pe, Lt = f * Re, kt = f * Ne, Bt = f * te;
2285
2331
  v = c;
2286
- for (var cn = 0; cn < h; cn++)
2332
+ for (var mn = 0; mn < h; mn++)
2287
2333
  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;
2334
+ for (var bn = r, qr = 0, Qr = 0, Kr = 0, Zr = 0, jt = 1; jt <= n; jt++) {
2335
+ b = bn + He << 2;
2290
2336
  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);
2337
+ Dt += (v.r = Pe = o[b]) * Ft, Lt += (v.g = Re = o[b + 1]) * Ft, kt += (v.b = Ne = o[b + 2]) * Ft, Bt += (v.a = te = o[b + 3]) * Ft, Zr += Pe, qr += Re, Qr += Ne, Kr += te, v = v.next, jt < l && (bn += r);
2292
2338
  }
2293
- b = He, p = c, y = d;
2294
- for (var qr = 0; qr < i; qr++) {
2339
+ b = He, p = c, y = g;
2340
+ for (var Jr = 0; Jr < i; Jr++) {
2295
2341
  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;
2342
+ o[re + 3] = te = Bt * x >>> $, te > 0 ? (te = 255 / te, o[re] = (Dt * x >>> $) * te, o[re + 1] = (Lt * x >>> $) * te, o[re + 2] = (kt * x >>> $) * te) : o[re] = o[re + 1] = o[re + 2] = 0, Dt -= Hr, Lt -= Yr, kt -= Xr, Bt -= Wr, Hr -= p.r, Yr -= p.g, Xr -= p.b, Wr -= p.a, re = He + ((re = Jr + h) < l ? re : l) * r << 2, Dt += Zr += p.r = o[re], Lt += qr += p.g = o[re + 1], kt += Qr += p.b = o[re + 2], Bt += Kr += p.a = o[re + 3], p = p.next, Hr += Pe = y.r, Yr += Re = y.g, Xr += Ne = y.b, Wr += te = y.a, Zr -= Pe, qr -= Re, Qr -= Ne, Kr -= te, y = y.next, b += r;
2297
2343
  }
2298
2344
  }
2299
2345
  return a;
2300
2346
  }
2301
- var xo = (
2347
+ var Co = (
2302
2348
  /**
2303
2349
  * Set properties.
2304
2350
  */
2305
2351
  function a() {
2306
- Bb(this, a), this.r = 0, this.g = 0, this.b = 0, this.a = 0, this.next = null;
2352
+ t1(this, a), this.r = 0, this.g = 0, this.b = 0, this.a = 0, this.next = null;
2307
2353
  }
2308
2354
  );
2309
- function Hb() {
2355
+ function o1() {
2310
2356
  var {
2311
2357
  DOMParser: a
2312
2358
  } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = {
@@ -2326,7 +2372,7 @@ function Hb() {
2326
2372
  };
2327
2373
  return (typeof DOMParser != "undefined" || typeof a == "undefined") && Reflect.deleteProperty(e, "DOMParser"), e;
2328
2374
  }
2329
- function Yb(a) {
2375
+ function u1(a) {
2330
2376
  var {
2331
2377
  DOMParser: e,
2332
2378
  canvas: t,
@@ -2342,76 +2388,76 @@ function Yb(a) {
2342
2388
  createImage: t.loadImage
2343
2389
  };
2344
2390
  }
2345
- var i2 = /* @__PURE__ */ Object.freeze({
2391
+ var x2 = /* @__PURE__ */ Object.freeze({
2346
2392
  __proto__: null,
2347
- offscreen: Hb,
2348
- node: Yb
2393
+ offscreen: o1,
2394
+ node: u1
2349
2395
  });
2350
2396
  function ht(a) {
2351
2397
  return a.replace(/(?!\u3000)\s+/gm, " ");
2352
2398
  }
2353
- function Xb(a) {
2399
+ function l1(a) {
2354
2400
  return a.replace(/^[\n \t]+/, "");
2355
2401
  }
2356
- function Wb(a) {
2402
+ function h1(a) {
2357
2403
  return a.replace(/[\n \t]+$/, "");
2358
2404
  }
2359
- function ie(a) {
2405
+ function ne(a) {
2360
2406
  var e = (a || "").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm) || [];
2361
2407
  return e.map(parseFloat);
2362
2408
  }
2363
- var qb = /^[A-Z-]+$/;
2364
- function Qb(a) {
2365
- return qb.test(a) ? a.toLowerCase() : a;
2409
+ var v1 = /^[A-Z-]+$/;
2410
+ function f1(a) {
2411
+ return v1.test(a) ? a.toLowerCase() : a;
2366
2412
  }
2367
- function gl(a) {
2413
+ function Tl(a) {
2368
2414
  var e = /url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(a) || [];
2369
2415
  return e[2] || e[3] || e[4];
2370
2416
  }
2371
- function Kb(a) {
2417
+ function c1(a) {
2372
2418
  if (!a.startsWith("rgb"))
2373
2419
  return a;
2374
2420
  var e = 3, t = a.replace(/\d+(\.\d+)?/g, (r, i) => e-- && i ? String(Math.round(parseFloat(r))) : r);
2375
2421
  return t;
2376
2422
  }
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) {
2423
+ var g1 = /(\[[^\]]+\])/g, d1 = /(#[^\s+>~.[:]+)/g, p1 = /(\.[^\s+>~.[:]+)/g, y1 = /(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi, m1 = /(:[\w-]+\([^)]*\))/gi, b1 = /(:[^\s+>~.[:]+)/g, x1 = /([^\s+>~.[:]+)/g;
2424
+ function Ve(a, e) {
2379
2425
  var t = e.exec(a);
2380
2426
  return t ? [a.replace(e, " "), t.length] : [a, 0];
2381
2427
  }
2382
- function n1(a) {
2428
+ function T1(a) {
2383
2429
  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("");
2430
+ return [t, r] = Ve(t, g1), e[1] += r, [t, r] = Ve(t, d1), e[0] += r, [t, r] = Ve(t, p1), e[1] += r, [t, r] = Ve(t, y1), e[2] += r, [t, r] = Ve(t, m1), e[1] += r, [t, r] = Ve(t, b1), e[1] += r, t = t.replace(/[*\s+>~]/g, " ").replace(/[#.]/g, " "), [t, r] = Ve(t, x1), e[2] += r, e.join("");
2385
2431
  }
2386
2432
  var at = 1e-8;
2387
- function To(a) {
2433
+ function Ao(a) {
2388
2434
  return Math.sqrt(Math.pow(a[0], 2) + Math.pow(a[1], 2));
2389
2435
  }
2390
- function bi(a, e) {
2391
- return (a[0] * e[0] + a[1] * e[1]) / (To(a) * To(e));
2436
+ function Si(a, e) {
2437
+ return (a[0] * e[0] + a[1] * e[1]) / (Ao(a) * Ao(e));
2392
2438
  }
2393
- function Oo(a, e) {
2394
- return (a[0] * e[1] < a[1] * e[0] ? -1 : 1) * Math.acos(bi(a, e));
2439
+ function Po(a, e) {
2440
+ return (a[0] * e[1] < a[1] * e[0] ? -1 : 1) * Math.acos(Si(a, e));
2395
2441
  }
2396
- function So(a) {
2442
+ function Ro(a) {
2397
2443
  return a * a * a;
2398
2444
  }
2399
- function Eo(a) {
2445
+ function No(a) {
2400
2446
  return 3 * a * a * (1 - a);
2401
2447
  }
2402
- function $o(a) {
2448
+ function Io(a) {
2403
2449
  return 3 * a * (1 - a) * (1 - a);
2404
2450
  }
2405
- function wo(a) {
2451
+ function Mo(a) {
2406
2452
  return (1 - a) * (1 - a) * (1 - a);
2407
2453
  }
2408
- function Co(a) {
2454
+ function _o(a) {
2409
2455
  return a * a;
2410
2456
  }
2411
- function Ao(a) {
2457
+ function Vo(a) {
2412
2458
  return 2 * a * (1 - a);
2413
2459
  }
2414
- function Po(a) {
2460
+ function Do(a) {
2415
2461
  return (1 - a) * (1 - a);
2416
2462
  }
2417
2463
  class S {
@@ -2474,7 +2520,7 @@ class S {
2474
2520
  }
2475
2521
  getColor(e) {
2476
2522
  var t = this.getString(e);
2477
- return this.isNormalizedColor || (this.isNormalizedColor = !0, t = Kb(t), this.value = t), t;
2523
+ return this.isNormalizedColor || (this.isNormalizedColor = !0, t = c1(t), this.value = t), t;
2478
2524
  }
2479
2525
  getDpi() {
2480
2526
  return 96;
@@ -2575,7 +2621,7 @@ class S {
2575
2621
  for (var t = this.getColor(), r = t.length, i = 0, n = 0; n < r && (t[n] === "," && i++, i !== 3); n++)
2576
2622
  ;
2577
2623
  if (e.hasValue() && this.isString() && i !== 3) {
2578
- var o = new pi(t);
2624
+ var o = new xi(t);
2579
2625
  o.ok && (o.alpha = e.getNumber(), t = o.toRGBA());
2580
2626
  }
2581
2627
  return new S(this.document, this.name, t);
@@ -2594,7 +2640,7 @@ S.textBaselineMapping = {
2594
2640
  hanging: "hanging",
2595
2641
  mathematical: "alphabetic"
2596
2642
  };
2597
- class s1 {
2643
+ class O1 {
2598
2644
  constructor() {
2599
2645
  this.viewPorts = [];
2600
2646
  }
@@ -2626,21 +2672,21 @@ class s1 {
2626
2672
  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
2673
  }
2628
2674
  }
2629
- class D {
2675
+ class k {
2630
2676
  constructor(e, t) {
2631
2677
  this.x = e, this.y = t;
2632
2678
  }
2633
2679
  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);
2680
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, [r = t, i = t] = ne(e);
2681
+ return new k(r, i);
2636
2682
  }
2637
2683
  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);
2684
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1, [r = t, i = r] = ne(e);
2685
+ return new k(r, i);
2640
2686
  }
2641
2687
  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]));
2688
+ for (var t = ne(e), r = t.length, i = [], n = 0; n < r; n += 2)
2689
+ i.push(new k(t[n], t[n + 1]));
2644
2690
  return i;
2645
2691
  }
2646
2692
  angleTo(e) {
@@ -2654,7 +2700,7 @@ class D {
2654
2700
  this.x = i, this.y = n;
2655
2701
  }
2656
2702
  }
2657
- class o1 {
2703
+ class S1 {
2658
2704
  constructor(e) {
2659
2705
  this.screen = e, this.working = !1, this.events = [], this.eventElements = [], this.onClick = this.onClick.bind(this), this.onMouseMove = this.onMouseMove.bind(this);
2660
2706
  }
@@ -2731,7 +2777,7 @@ class o1 {
2731
2777
  for (var {
2732
2778
  window: r,
2733
2779
  ctx: i
2734
- } = this.screen, n = new D(e, t), o = i.canvas; o; )
2780
+ } = this.screen, n = new k(e, t), o = i.canvas; o; )
2735
2781
  n.x -= o.offsetLeft, n.y -= o.offsetTop, o = o.offsetParent;
2736
2782
  return r.scrollX && (n.x += r.scrollX), r.scrollY && (n.y += r.scrollY), n;
2737
2783
  }
@@ -2764,14 +2810,14 @@ class o1 {
2764
2810
  });
2765
2811
  }
2766
2812
  }
2767
- var dl = typeof window != "undefined" ? window : null, pl = typeof fetch != "undefined" ? fetch.bind(void 0) : null;
2768
- class _r {
2813
+ var Ol = typeof window != "undefined" ? window : null, Sl = typeof fetch != "undefined" ? fetch.bind(void 0) : null;
2814
+ class kr {
2769
2815
  constructor(e) {
2770
2816
  var {
2771
- fetch: t = pl,
2772
- window: r = dl
2817
+ fetch: t = Sl,
2818
+ window: r = Ol
2773
2819
  } = 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;
2820
+ this.ctx = e, this.FRAMERATE = 30, this.MAX_VIRTUAL_PIXELS = 3e4, this.CLIENT_WIDTH = 800, this.CLIENT_HEIGHT = 600, this.viewPort = new O1(), this.mouse = new S1(this), this.animations = [], this.waits = [], this.frameDuration = 0, this.isReadyLock = !1, this.isFirstRender = !0, this.intervalId = null, this.window = r, this.fetch = t;
2775
2821
  }
2776
2822
  wait(e) {
2777
2823
  this.waits.push(e);
@@ -2802,27 +2848,27 @@ class _r {
2802
2848
  refX: f,
2803
2849
  refY: c,
2804
2850
  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;
2851
+ clipX: g = 0,
2852
+ clipY: d = 0
2853
+ } = e, p = ht(i).replace(/^defer\s/, ""), [y, T] = p.split(" "), b = y || "xMidYMid", x = T || "meet", $ = n / o, E = s / u, O = Math.min($, E), C = Math.max($, E), P = o, V = u;
2854
+ x === "meet" && (P *= O, V *= O), x === "slice" && (P *= C, V *= C);
2855
+ var j = new S(t, "refX", f), R = new S(t, "refY", c), X = j.hasValue() && R.hasValue();
2856
+ if (X && r.translate(-O * j.getPixels("x"), -O * R.getPixels("y")), v) {
2857
+ var W = O * g, G = O * d;
2812
2858
  r.beginPath(), r.moveTo(W, G), r.lineTo(n, G), r.lineTo(n, s), r.lineTo(W, s), r.closePath(), r.clip();
2813
2859
  }
2814
2860
  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 - _);
2861
+ var q = x === "meet" && O === E, H = x === "slice" && C === E, Q = x === "meet" && O === $, N = x === "slice" && C === $;
2862
+ 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
2863
  }
2818
2864
  switch (!0) {
2819
2865
  case b === "none":
2820
2866
  r.scale($, E);
2821
2867
  break;
2822
- case T === "meet":
2868
+ case x === "meet":
2823
2869
  r.scale(O, O);
2824
2870
  break;
2825
- case T === "slice":
2871
+ case x === "slice":
2826
2872
  r.scale(C, C);
2827
2873
  break;
2828
2874
  }
@@ -2843,18 +2889,18 @@ class _r {
2843
2889
  } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, {
2844
2890
  FRAMERATE: c,
2845
2891
  mouse: v
2846
- } = this, d = 1e3 / c;
2847
- if (this.frameDuration = d, this.readyPromise = new Promise((b) => {
2892
+ } = this, g = 1e3 / c;
2893
+ if (this.frameDuration = g, this.readyPromise = new Promise((b) => {
2848
2894
  this.resolveReady = b;
2849
2895
  }), 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);
2896
+ var d = Date.now(), p = d, y = 0, T = () => {
2897
+ 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 = za(T);
2852
2898
  };
2853
- r || v.start(), this.intervalId = ja(x);
2899
+ r || v.start(), this.intervalId = za(T);
2854
2900
  }
2855
2901
  }
2856
2902
  stop() {
2857
- this.intervalId && (ja.cancel(this.intervalId), this.intervalId = null), this.mouse.stop();
2903
+ this.intervalId && (za.cancel(this.intervalId), this.intervalId = null), this.mouse.stop();
2858
2904
  }
2859
2905
  shouldUpdate(e, t) {
2860
2906
  if (!e) {
@@ -2875,36 +2921,36 @@ class _r {
2875
2921
  isFirstRender: c
2876
2922
  } = this, v = f.canvas;
2877
2923
  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"))));
2924
+ var g = e.getStyle("width"), d = e.getStyle("height");
2925
+ !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
2926
  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;
2927
+ 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") {
2928
+ var T = ne(e.getAttribute("viewBox").getString()), b = 0, x = 0;
2883
2929
  if (typeof i == "number") {
2884
2930
  var $ = e.getStyle("width");
2885
- $.hasValue() ? b = $.getPixels("x") / i : isNaN(x[2]) || (b = x[2] / i);
2931
+ $.hasValue() ? b = $.getPixels("x") / i : isNaN(T[2]) || (b = T[2] / i);
2886
2932
  }
2887
2933
  if (typeof n == "number") {
2888
2934
  var E = e.getStyle("height");
2889
- E.hasValue() ? T = E.getPixels("y") / n : isNaN(x[3]) || (T = x[3] / n);
2935
+ E.hasValue() ? x = E.getPixels("y") / n : isNaN(T[3]) || (x = T[3] / n);
2890
2936
  }
2891
- b || (b = T), T || (T = b), e.getAttribute("width", !0).setValue(i), e.getAttribute("height", !0).setValue(n);
2937
+ b || (b = x), x || (x = b), e.getAttribute("width", !0).setValue(i), e.getAttribute("height", !0).setValue(n);
2892
2938
  var O = e.getStyle("transform", !0, !0);
2893
- O.setValue("".concat(O.getString(), " scale(").concat(1 / b, ", ").concat(1 / T, ")"));
2939
+ O.setValue("".concat(O.getString(), " scale(").concat(1 / b, ", ").concat(1 / x, ")"));
2894
2940
  }
2895
2941
  r || f.clearRect(0, 0, p, y), e.render(f), c && (this.isFirstRender = !1);
2896
2942
  }
2897
2943
  }
2898
- _r.defaultWindow = dl;
2899
- _r.defaultFetch = pl;
2944
+ kr.defaultWindow = Ol;
2945
+ kr.defaultFetch = Sl;
2900
2946
  var {
2901
- defaultFetch: u1
2902
- } = _r, l1 = typeof DOMParser != "undefined" ? DOMParser : null;
2903
- class Ga {
2947
+ defaultFetch: E1
2948
+ } = kr, $1 = typeof DOMParser != "undefined" ? DOMParser : null;
2949
+ class Xa {
2904
2950
  constructor() {
2905
2951
  var {
2906
- fetch: e = u1,
2907
- DOMParser: t = l1
2952
+ fetch: e = E1,
2953
+ DOMParser: t = $1
2908
2954
  } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2909
2955
  this.fetch = e, this.DOMParser = t;
2910
2956
  }
@@ -2936,9 +2982,9 @@ class Ga {
2936
2982
  })();
2937
2983
  }
2938
2984
  }
2939
- class h1 {
2985
+ class w1 {
2940
2986
  constructor(e, t) {
2941
- this.type = "translate", this.point = null, this.point = D.parse(t);
2987
+ this.type = "translate", this.point = null, this.point = k.parse(t);
2942
2988
  }
2943
2989
  apply(e) {
2944
2990
  var {
@@ -2962,10 +3008,10 @@ class h1 {
2962
3008
  e.applyTransform([1, 0, 0, 1, t || 0, r || 0]);
2963
3009
  }
2964
3010
  }
2965
- class v1 {
3011
+ class C1 {
2966
3012
  constructor(e, t, r) {
2967
3013
  this.type = "rotate", this.angle = null, this.originX = null, this.originY = null, this.cx = 0, this.cy = 0;
2968
- var i = ie(t);
3014
+ var i = ne(t);
2969
3015
  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
3016
  }
2971
3017
  apply(e) {
@@ -3013,10 +3059,10 @@ class v1 {
3013
3059
  ]);
3014
3060
  }
3015
3061
  }
3016
- class f1 {
3062
+ class A1 {
3017
3063
  constructor(e, t, r) {
3018
3064
  this.type = "scale", this.scale = null, this.originX = null, this.originY = null;
3019
- var i = D.parseScale(t);
3065
+ var i = k.parseScale(t);
3020
3066
  (i.x === 0 || i.y === 0) && (i.x = at, i.y = at), this.scale = i, this.originX = r[0], this.originY = r[1];
3021
3067
  }
3022
3068
  apply(e) {
@@ -3049,9 +3095,9 @@ class f1 {
3049
3095
  e.applyTransform([t || 0, 0, 0, r || 0, 0, 0]);
3050
3096
  }
3051
3097
  }
3052
- class yl {
3098
+ class El {
3053
3099
  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];
3100
+ this.type = "matrix", this.matrix = [], this.originX = null, this.originY = null, this.matrix = ne(t), this.originX = r[0], this.originY = r[1];
3055
3101
  }
3056
3102
  apply(e) {
3057
3103
  var {
@@ -3066,49 +3112,49 @@ class yl {
3066
3112
  originX: t,
3067
3113
  originY: r,
3068
3114
  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);
3115
+ } = 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");
3116
+ 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
3117
  }
3072
3118
  applyToPoint(e) {
3073
3119
  e.applyTransform(this.matrix);
3074
3120
  }
3075
3121
  }
3076
- class ml extends yl {
3122
+ class $l extends El {
3077
3123
  constructor(e, t, r) {
3078
3124
  super(e, t, r), this.type = "skew", this.angle = null, this.angle = new S(e, "angle", t);
3079
3125
  }
3080
3126
  }
3081
- class c1 extends ml {
3127
+ class P1 extends $l {
3082
3128
  constructor(e, t, r) {
3083
3129
  super(e, t, r), this.type = "skewX", this.matrix = [1, 0, Math.tan(this.angle.getRadians()), 1, 0, 0];
3084
3130
  }
3085
3131
  }
3086
- class g1 extends ml {
3132
+ class R1 extends $l {
3087
3133
  constructor(e, t, r) {
3088
3134
  super(e, t, r), this.type = "skewY", this.matrix = [1, Math.tan(this.angle.getRadians()), 0, 1, 0, 0];
3089
3135
  }
3090
3136
  }
3091
- function d1(a) {
3137
+ function N1(a) {
3092
3138
  return ht(a).trim().replace(/\)([a-zA-Z])/g, ") $1").replace(/\)(\s?,\s?)/g, ") ").split(/\s(?=[a-z])/);
3093
3139
  }
3094
- function p1(a) {
3140
+ function I1(a) {
3095
3141
  var [e, t] = a.split("(");
3096
3142
  return [e.trim(), t.trim().replace(")", "")];
3097
3143
  }
3098
- class Le {
3144
+ class Be {
3099
3145
  constructor(e, t, r) {
3100
3146
  this.document = e, this.transforms = [];
3101
- var i = d1(t);
3147
+ var i = N1(t);
3102
3148
  i.forEach((n) => {
3103
3149
  if (n !== "none") {
3104
- var [o, s] = p1(n), u = Le.transformTypes[o];
3150
+ var [o, s] = I1(n), u = Be.transformTypes[o];
3105
3151
  typeof u != "undefined" && this.transforms.push(new u(this.document, s, r));
3106
3152
  }
3107
3153
  });
3108
3154
  }
3109
3155
  static fromElement(e, t) {
3110
3156
  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;
3157
+ return r.hasValue() ? new Be(e, r.getString(), o) : null;
3112
3158
  }
3113
3159
  apply(e) {
3114
3160
  for (var {
@@ -3130,20 +3176,20 @@ class Le {
3130
3176
  t[i].applyToPoint(e);
3131
3177
  }
3132
3178
  }
3133
- Le.transformTypes = {
3134
- translate: h1,
3135
- rotate: v1,
3136
- scale: f1,
3137
- matrix: yl,
3138
- skewX: c1,
3139
- skewY: g1
3179
+ Be.transformTypes = {
3180
+ translate: w1,
3181
+ rotate: C1,
3182
+ scale: A1,
3183
+ matrix: El,
3184
+ skewX: P1,
3185
+ skewY: R1
3140
3186
  };
3141
- class N {
3187
+ class I {
3142
3188
  constructor(e, t) {
3143
3189
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
3144
3190
  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
3191
  if (Array.from(t.attributes).forEach((s) => {
3146
- var u = Qb(s.nodeName);
3192
+ var u = f1(s.nodeName);
3147
3193
  this.attributes[u] = new S(e, u, s.value);
3148
3194
  }), this.addStylesFromStyleDefinition(), this.getAttribute("style").hasValue()) {
3149
3195
  var i = this.getAttribute("style").getString().split(";").map((s) => s.trim());
@@ -3220,7 +3266,7 @@ class N {
3220
3266
  setContext(e) {
3221
3267
  }
3222
3268
  applyEffects(e) {
3223
- var t = Le.fromElement(this.document, this);
3269
+ var t = Be.fromElement(this.document, this);
3224
3270
  t && t.apply(e);
3225
3271
  var r = this.getStyle("clip-path", !1, !0);
3226
3272
  if (r.hasValue()) {
@@ -3236,8 +3282,8 @@ class N {
3236
3282
  });
3237
3283
  }
3238
3284
  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);
3285
+ var t = e instanceof I ? e : this.document.createElement(e);
3286
+ t.parent = this, I.ignoreChildTypes.includes(t.type) || this.children.push(t);
3241
3287
  }
3242
3288
  matchesSelector(e) {
3243
3289
  var t, {
@@ -3284,20 +3330,20 @@ class N {
3284
3330
  return ((e = this.parent) === null || e === void 0 ? void 0 : e.children.indexOf(this)) === 0;
3285
3331
  }
3286
3332
  }
3287
- N.ignoreChildTypes = ["title"];
3288
- class y1 extends N {
3333
+ I.ignoreChildTypes = ["title"];
3334
+ class M1 extends I {
3289
3335
  constructor(e, t, r) {
3290
3336
  super(e, t, r);
3291
3337
  }
3292
3338
  }
3293
- function m1(a) {
3339
+ function _1(a) {
3294
3340
  var e = a.trim();
3295
3341
  return /^('|")/.test(e) ? e : '"'.concat(e, '"');
3296
3342
  }
3297
- function b1(a) {
3298
- return typeof process == "undefined" ? a : a.trim().split(",").map(m1).join(",");
3343
+ function V1(a) {
3344
+ return typeof process == "undefined" ? a : a.trim().split(",").map(_1).join(",");
3299
3345
  }
3300
- function x1(a) {
3346
+ function D1(a) {
3301
3347
  if (!a)
3302
3348
  return "";
3303
3349
  var e = a.trim().toLowerCase();
@@ -3313,7 +3359,7 @@ function x1(a) {
3313
3359
  return /^oblique\s+(-|)\d+deg$/.test(e) ? e : "";
3314
3360
  }
3315
3361
  }
3316
- function T1(a) {
3362
+ function L1(a) {
3317
3363
  if (!a)
3318
3364
  return "";
3319
3365
  var e = a.trim().toLowerCase();
@@ -3363,12 +3409,12 @@ class Z {
3363
3409
  }
3364
3410
  toString() {
3365
3411
  return [
3366
- x1(this.fontStyle),
3412
+ D1(this.fontStyle),
3367
3413
  this.fontVariant,
3368
- T1(this.fontWeight),
3414
+ L1(this.fontWeight),
3369
3415
  this.fontSize,
3370
3416
  // Wrap fontFamily only on nodejs and only for canvas.ctx
3371
- b1(this.fontFamily)
3417
+ V1(this.fontFamily)
3372
3418
  ].join(" ").trim();
3373
3419
  }
3374
3420
  }
@@ -3455,7 +3501,7 @@ class w extends m {
3455
3501
  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
3502
  }
3457
3503
  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 = [];
3504
+ 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
3505
  }
3460
3506
  isEnd() {
3461
3507
  var {
@@ -3469,7 +3515,7 @@ class w extends m {
3469
3515
  return this.previousCommand = this.command, this.command = e, e;
3470
3516
  }
3471
3517
  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]);
3518
+ 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
3519
  return this.makeAbsolute(r);
3474
3520
  }
3475
3521
  getAsControlPoint(e, t) {
@@ -3493,7 +3539,7 @@ class w extends m {
3493
3539
  x: i,
3494
3540
  y: n
3495
3541
  }
3496
- } = this, o = new D(2 * t - i, 2 * r - n);
3542
+ } = this, o = new k(2 * t - i, 2 * r - n);
3497
3543
  return o;
3498
3544
  }
3499
3545
  makeAbsolute(e) {
@@ -3533,7 +3579,7 @@ class w extends m {
3533
3579
  return e;
3534
3580
  }
3535
3581
  }
3536
- class Ge extends N {
3582
+ class Ge extends I {
3537
3583
  constructor() {
3538
3584
  super(...arguments), this.modifiedEmSizeStack = !1;
3539
3585
  }
@@ -3574,20 +3620,20 @@ class Ge extends N {
3574
3620
  }
3575
3621
  var v = this.getStyle("stroke-width");
3576
3622
  if (v.hasValue()) {
3577
- var d = v.getPixels();
3578
- e.lineWidth = d || at;
3623
+ var g = v.getPixels();
3624
+ e.lineWidth = g || at;
3579
3625
  }
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());
3583
- 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);
3626
+ var d = this.getStyle("stroke-linecap"), p = this.getStyle("stroke-linejoin"), y = this.getStyle("stroke-miterlimit"), T = this.getStyle("stroke-dasharray"), b = this.getStyle("stroke-dashoffset");
3627
+ if (d.hasValue() && (e.lineCap = d.getString()), p.hasValue() && (e.lineJoin = p.getString()), y.hasValue() && (e.miterLimit = y.getNumber()), T.hasValue() && T.getString() !== "none") {
3628
+ var x = ne(T.getString());
3629
+ typeof e.setLineDash != "undefined" ? e.setLineDash(x) : typeof e.webkitLineDash != "undefined" ? e.webkitLineDash = x : typeof e.mozDash != "undefined" && !(x.length === 1 && x[0] === 0) && (e.mozDash = x);
3584
3630
  var $ = b.getPixels();
3585
3631
  typeof e.lineDashOffset != "undefined" ? e.lineDashOffset = $ : typeof e.webkitLineDashOffset != "undefined" ? e.webkitLineDashOffset = $ : typeof e.mozDashOffset != "undefined" && (e.mozDashOffset = $);
3586
3632
  }
3587
3633
  }
3588
3634
  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);
3635
+ 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));
3636
+ 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
3637
  }
3592
3638
  t || (this.applyEffects(e), e.globalAlpha = this.calculateOpacity());
3593
3639
  }
@@ -3660,12 +3706,12 @@ class A extends Ge {
3660
3706
  }
3661
3707
  if (o.isUrlDefinition())
3662
3708
  for (var f = o.getDefinition(), c = 1; c < i; c++) {
3663
- var [v, d] = r[c];
3664
- f.render(e, v, d);
3709
+ var [v, g] = r[c];
3710
+ f.render(e, v, g);
3665
3711
  }
3666
3712
  if (s.isUrlDefinition()) {
3667
- var g = s.getDefinition(), [p, y] = r[i];
3668
- g.render(e, p, y);
3713
+ var d = s.getDefinition(), [p, y] = r[i];
3714
+ d.render(e, p, y);
3669
3715
  }
3670
3716
  }
3671
3717
  }
@@ -3711,7 +3757,7 @@ class A extends Ge {
3711
3757
  var {
3712
3758
  current: t,
3713
3759
  command: r
3714
- } = e, i = new D((r.relative ? t.x : 0) + r.x, t.y);
3760
+ } = e, i = new k((r.relative ? t.x : 0) + r.x, t.y);
3715
3761
  return e.current = i, {
3716
3762
  current: t,
3717
3763
  point: i
@@ -3733,7 +3779,7 @@ class A extends Ge {
3733
3779
  var {
3734
3780
  current: t,
3735
3781
  command: r
3736
- } = e, i = new D(t.x, (r.relative ? t.y : 0) + r.y);
3782
+ } = e, i = new k(t.x, (r.relative ? t.y : 0) + r.y);
3737
3783
  return e.current = i, {
3738
3784
  current: t,
3739
3785
  point: i
@@ -3847,18 +3893,18 @@ class A extends Ge {
3847
3893
  xRot: o,
3848
3894
  lArcFlag: s,
3849
3895
  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);
3896
+ } = 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
3897
  c > 1 && (i *= Math.sqrt(c), n *= Math.sqrt(c));
3852
3898
  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
3899
  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), {
3900
+ 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 = Po([1, 0], [(f.x - g.x) / i, (f.y - g.y) / n]), y = [(f.x - g.x) / i, (f.y - g.y) / n], T = [(-f.x - g.x) / i, (-f.y - g.y) / n], b = Po(y, T);
3901
+ return Si(y, T) <= -1 && (b = Math.PI), Si(y, T) >= 1 && (b = 0), {
3856
3902
  currentPoint: h,
3857
3903
  rX: i,
3858
3904
  rY: n,
3859
3905
  sweepFlag: u,
3860
3906
  xAxisRotation: l,
3861
- centp: g,
3907
+ centp: d,
3862
3908
  a1: p,
3863
3909
  ad: b
3864
3910
  };
@@ -3875,10 +3921,10 @@ class A extends Ge {
3875
3921
  centp: l,
3876
3922
  a1: h,
3877
3923
  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);
3924
+ } = 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));
3925
+ 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)) {
3926
+ var d = n > o ? n : o, p = n > o ? 1 : n / o, y = n > o ? o / n : 1;
3927
+ 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
3928
  }
3883
3929
  }
3884
3930
  static pathZ(e) {
@@ -3888,7 +3934,7 @@ class A extends Ge {
3888
3934
  A.pathZ(this.pathParser), e && t.x1 !== t.x2 && t.y1 !== t.y2 && e.closePath();
3889
3935
  }
3890
3936
  }
3891
- class bl extends A {
3937
+ class wl extends A {
3892
3938
  constructor(e, t, r) {
3893
3939
  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
3940
  }
@@ -3933,7 +3979,7 @@ class Ce extends Ge {
3933
3979
  var o = t.length, s = t[r - 1], u = t[r + 1], l = "isolated";
3934
3980
  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
3981
  var h = e.glyphs[i];
3936
- n = h instanceof bl ? h : h[l];
3982
+ n = h instanceof wl ? h : h[l];
3937
3983
  }
3938
3984
  } else
3939
3985
  n = e.glyphs[i];
@@ -3948,7 +3994,7 @@ class Ce extends Ge {
3948
3994
  // || textNode.text
3949
3995
  t.textContent || ""
3950
3996
  );
3951
- return i === 0 && (o = Xb(o)), i === n && (o = Wb(o)), o;
3997
+ return i === 0 && (o = l1(o)), i === n && (o = h1(o)), o;
3952
3998
  }
3953
3999
  renderChildren(e) {
3954
4000
  if (this.type !== "text") {
@@ -3971,19 +4017,19 @@ class Ce extends Ge {
3971
4017
  if (n) {
3972
4018
  for (var {
3973
4019
  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);
4020
+ } = 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++) {
4021
+ var d = this.getGlyph(n, f, g);
3976
4022
  e.translate(this.x, this.y), e.scale(h, -h);
3977
4023
  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]);
4024
+ 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
4025
  }
3980
4026
  return;
3981
4027
  }
3982
4028
  var {
3983
4029
  x: y,
3984
- y: x
4030
+ y: T
3985
4031
  } = this;
3986
- e.fillStyle && e.fillText(i, y, x), e.strokeStyle && e.strokeText(i, y, x);
4032
+ e.fillStyle && e.fillText(i, y, T), e.strokeStyle && e.strokeText(i, y, T);
3987
4033
  }
3988
4034
  applyAnchoring() {
3989
4035
  if (!(this.textChunkStart >= this.leafTexts.length)) {
@@ -4047,7 +4093,7 @@ class Ce extends Ge {
4047
4093
  parent: r
4048
4094
  } = this, i = r.getStyle("font-family").getDefinition();
4049
4095
  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++) {
4096
+ 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
4097
  var f = this.getGlyph(i, o, h);
4052
4098
  l += (f.horizAdvX || i.horizAdvX) * n / i.fontFace.unitsPerEm, typeof s[h] != "undefined" && !isNaN(s[h]) && (l += s[h]);
4053
4099
  }
@@ -4077,15 +4123,15 @@ class Ce extends Ge {
4077
4123
  return null;
4078
4124
  }
4079
4125
  }
4080
- class Vr extends Ce {
4126
+ class Br extends Ce {
4081
4127
  constructor(e, t, r) {
4082
- super(e, t, new.target === Vr ? !0 : r), this.type = "tspan", this.text = this.children.length > 0 ? "" : this.getTextFromNode();
4128
+ super(e, t, new.target === Br ? !0 : r), this.type = "tspan", this.text = this.children.length > 0 ? "" : this.getTextFromNode();
4083
4129
  }
4084
4130
  getText() {
4085
4131
  return this.text;
4086
4132
  }
4087
4133
  }
4088
- class O1 extends Vr {
4134
+ class k1 extends Br {
4089
4135
  constructor() {
4090
4136
  super(...arguments), this.type = "textNode";
4091
4137
  }
@@ -4112,21 +4158,21 @@ class It extends Ge {
4112
4158
  height: l
4113
4159
  } = i.viewPort;
4114
4160
  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({
4161
+ 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, T = 0;
4162
+ 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, T = 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
4163
  ctx: e,
4118
4164
  aspectRatio: this.getAttribute("preserveAspectRatio").getString(),
4119
4165
  width: i.viewPort.width,
4120
4166
  desiredWidth: u,
4121
4167
  height: i.viewPort.height,
4122
4168
  desiredHeight: l,
4123
- minX: g,
4169
+ minX: d,
4124
4170
  minY: p,
4125
4171
  refX: h.getValue(),
4126
4172
  refY: f.getValue(),
4127
- clip: d,
4173
+ clip: g,
4128
4174
  clipX: y,
4129
- clipY: x
4175
+ clipY: T
4130
4176
  }), v && (i.viewPort.removeCurrent(), i.viewPort.setCurrent(u, l));
4131
4177
  }
4132
4178
  clearContext(e) {
@@ -4153,7 +4199,7 @@ class It extends Ge {
4153
4199
  }
4154
4200
  }
4155
4201
  }
4156
- class xl extends A {
4202
+ class Cl extends A {
4157
4203
  constructor() {
4158
4204
  super(...arguments), this.type = "rect";
4159
4205
  }
@@ -4169,7 +4215,7 @@ class xl extends A {
4169
4215
  return null;
4170
4216
  }
4171
4217
  }
4172
- class S1 extends A {
4218
+ class B1 extends A {
4173
4219
  constructor() {
4174
4220
  super(...arguments), this.type = "circle";
4175
4221
  }
@@ -4181,7 +4227,7 @@ class S1 extends A {
4181
4227
  return null;
4182
4228
  }
4183
4229
  }
4184
- class E1 extends A {
4230
+ class j1 extends A {
4185
4231
  constructor() {
4186
4232
  super(...arguments), this.type = "ellipse";
4187
4233
  }
@@ -4193,12 +4239,12 @@ class E1 extends A {
4193
4239
  return null;
4194
4240
  }
4195
4241
  }
4196
- class $1 extends A {
4242
+ class F1 extends A {
4197
4243
  constructor() {
4198
4244
  super(...arguments), this.type = "line";
4199
4245
  }
4200
4246
  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"))];
4247
+ 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
4248
  }
4203
4249
  path(e) {
4204
4250
  var [{
@@ -4215,9 +4261,9 @@ class $1 extends A {
4215
4261
  return [[e, r], [t, r]];
4216
4262
  }
4217
4263
  }
4218
- class Tl extends A {
4264
+ class Al extends A {
4219
4265
  constructor(e, t, r) {
4220
- super(e, t, r), this.type = "polyline", this.points = [], this.points = D.parsePath(this.getAttribute("points").getString());
4266
+ super(e, t, r), this.type = "polyline", this.points = [], this.points = k.parsePath(this.getAttribute("points").getString());
4221
4267
  }
4222
4268
  path(e) {
4223
4269
  var {
@@ -4243,7 +4289,7 @@ class Tl extends A {
4243
4289
  }), r.length > 0 && r.push([e[e.length - 1], r[r.length - 1][1]]), r;
4244
4290
  }
4245
4291
  }
4246
- class w1 extends Tl {
4292
+ class U1 extends Al {
4247
4293
  constructor() {
4248
4294
  super(...arguments), this.type = "polygon";
4249
4295
  }
@@ -4255,7 +4301,7 @@ class w1 extends Tl {
4255
4301
  return e && (e.lineTo(r, i), e.closePath()), t;
4256
4302
  }
4257
4303
  }
4258
- class C1 extends N {
4304
+ class G1 extends I {
4259
4305
  constructor() {
4260
4306
  super(...arguments), this.type = "pattern";
4261
4307
  }
@@ -4271,7 +4317,7 @@ class C1 extends N {
4271
4317
  return v;
4272
4318
  }
4273
4319
  }
4274
- class A1 extends N {
4320
+ class z1 extends I {
4275
4321
  constructor() {
4276
4322
  super(...arguments), this.type = "marker";
4277
4323
  }
@@ -4287,14 +4333,14 @@ class A1 extends N {
4287
4333
  }
4288
4334
  }
4289
4335
  }
4290
- class P1 extends N {
4336
+ class H1 extends I {
4291
4337
  constructor() {
4292
4338
  super(...arguments), this.type = "defs";
4293
4339
  }
4294
4340
  render() {
4295
4341
  }
4296
4342
  }
4297
- class an extends Ge {
4343
+ class ln extends Ge {
4298
4344
  constructor() {
4299
4345
  super(...arguments), this.type = "g";
4300
4346
  }
@@ -4305,7 +4351,7 @@ class an extends Ge {
4305
4351
  }), t;
4306
4352
  }
4307
4353
  }
4308
- class Ol extends N {
4354
+ class Pl extends I {
4309
4355
  constructor(e, t, r) {
4310
4356
  super(e, t, r), this.attributesToInherit = ["gradientUnits"], this.stops = [];
4311
4357
  var {
@@ -4335,14 +4381,14 @@ class Ol extends N {
4335
4381
  } = this, {
4336
4382
  MAX_VIRTUAL_PIXELS: u,
4337
4383
  viewPort: l
4338
- } = s.screen, [h] = l.viewPorts, f = new xl(s, null);
4384
+ } = s.screen, [h] = l.viewPorts, f = new Cl(s, null);
4339
4385
  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);
4386
+ var c = new ln(s, null);
4341
4387
  c.attributes.transform = new S(s, "transform", this.getAttribute("gradientTransform").getValue()), c.children = [f];
4342
4388
  var v = new It(s, null);
4343
4389
  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");
4390
+ var g = s.createCanvas(h.width, h.height), d = g.getContext("2d");
4391
+ return d.fillStyle = o, v.render(d), d.createPattern(g, "no-repeat");
4346
4392
  }
4347
4393
  return o;
4348
4394
  }
@@ -4359,7 +4405,7 @@ class Ol extends N {
4359
4405
  return t;
4360
4406
  }
4361
4407
  }
4362
- class R1 extends Ol {
4408
+ class Y1 extends Pl {
4363
4409
  constructor(e, t, r) {
4364
4410
  super(e, t, r), this.type = "linearGradient", this.attributesToInherit.push("x1", "y1", "x2", "y2");
4365
4411
  }
@@ -4372,7 +4418,7 @@ class R1 extends Ol {
4372
4418
  return n === s && o === u ? null : e.createLinearGradient(n, o, s, u);
4373
4419
  }
4374
4420
  }
4375
- class N1 extends Ol {
4421
+ class X1 extends Pl {
4376
4422
  constructor(e, t, r) {
4377
4423
  super(e, t, r), this.type = "radialGradient", this.attributesToInherit.push("cx", "cy", "r", "fx", "fy", "fr");
4378
4424
  }
@@ -4387,14 +4433,14 @@ class N1 extends Ol {
4387
4433
  return e.createRadialGradient(s, u, h, n, o, l);
4388
4434
  }
4389
4435
  }
4390
- class I1 extends N {
4436
+ class W1 extends I {
4391
4437
  constructor(e, t, r) {
4392
4438
  super(e, t, r), this.type = "stop";
4393
4439
  var i = Math.max(0, Math.min(1, this.getAttribute("offset").getNumber())), n = this.getStyle("stop-opacity"), o = this.getStyle("stop-color", !0);
4394
4440
  o.getString() === "" && o.setValue("#000"), n.hasValue() && (o = o.addOpacity(n)), this.offset = i, this.color = o.getColor();
4395
4441
  }
4396
4442
  }
4397
- class nn extends N {
4443
+ class hn extends I {
4398
4444
  constructor(e, t, r) {
4399
4445
  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
4446
  var i = this.getAttribute("values");
@@ -4455,7 +4501,7 @@ class nn extends N {
4455
4501
  return r;
4456
4502
  }
4457
4503
  }
4458
- class M1 extends nn {
4504
+ class q1 extends hn {
4459
4505
  constructor() {
4460
4506
  super(...arguments), this.type = "animateColor";
4461
4507
  }
@@ -4464,7 +4510,7 @@ class M1 extends nn {
4464
4510
  progress: e,
4465
4511
  from: t,
4466
4512
  to: r
4467
- } = this.getProgress(), i = new pi(t.getColor()), n = new pi(r.getColor());
4513
+ } = this.getProgress(), i = new xi(t.getColor()), n = new xi(r.getColor());
4468
4514
  if (i.ok && n.ok) {
4469
4515
  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
4516
  return "rgb(".concat(Math.floor(o), ", ").concat(Math.floor(s), ", ").concat(Math.floor(u), ")");
@@ -4472,7 +4518,7 @@ class M1 extends nn {
4472
4518
  return this.getAttribute("from").getColor();
4473
4519
  }
4474
4520
  }
4475
- class _1 extends nn {
4521
+ class Q1 extends hn {
4476
4522
  constructor() {
4477
4523
  super(...arguments), this.type = "animateTransform";
4478
4524
  }
@@ -4481,14 +4527,14 @@ class _1 extends nn {
4481
4527
  progress: e,
4482
4528
  from: t,
4483
4529
  to: r
4484
- } = this.getProgress(), i = ie(t.getString()), n = ie(r.getString()), o = i.map((s, u) => {
4530
+ } = this.getProgress(), i = ne(t.getString()), n = ne(r.getString()), o = i.map((s, u) => {
4485
4531
  var l = n[u];
4486
4532
  return s + (l - s) * e;
4487
4533
  }).join(" ");
4488
4534
  return o;
4489
4535
  }
4490
4536
  }
4491
- class V1 extends N {
4537
+ class K1 extends I {
4492
4538
  constructor(e, t, r) {
4493
4539
  super(e, t, r), this.type = "font", this.glyphs = /* @__PURE__ */ Object.create(null), this.horizAdvX = this.getAttribute("horiz-adv-x").getNumber();
4494
4540
  var {
@@ -4517,17 +4563,17 @@ class V1 extends N {
4517
4563
  render() {
4518
4564
  }
4519
4565
  }
4520
- class D1 extends N {
4566
+ class Z1 extends I {
4521
4567
  constructor(e, t, r) {
4522
4568
  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
4569
  }
4524
4570
  }
4525
- class k1 extends A {
4571
+ class J1 extends A {
4526
4572
  constructor() {
4527
4573
  super(...arguments), this.type = "missing-glyph", this.horizAdvX = 0;
4528
4574
  }
4529
4575
  }
4530
- class L1 extends Ce {
4576
+ class e2 extends Ce {
4531
4577
  constructor() {
4532
4578
  super(...arguments), this.type = "tref";
4533
4579
  }
@@ -4541,7 +4587,7 @@ class L1 extends Ce {
4541
4587
  return "";
4542
4588
  }
4543
4589
  }
4544
- class B1 extends Ce {
4590
+ class t2 extends Ce {
4545
4591
  constructor(e, t, r) {
4546
4592
  super(e, t, r), this.type = "a";
4547
4593
  var {
@@ -4564,7 +4610,7 @@ class B1 extends Ce {
4564
4610
  } = t.screen, o = new S(t, "fontSize", Z.parse(t.ctx.font).fontSize);
4565
4611
  n.isWorking() && n.checkBoundingBox(this, new ce(r, i - o.getPixels("y"), r + this.measureText(e), i));
4566
4612
  } else if (this.children.length > 0) {
4567
- var s = new an(this.document, null);
4613
+ var s = new ln(this.document, null);
4568
4614
  s.children = this.children, s.parent = this, s.render(e);
4569
4615
  }
4570
4616
  }
@@ -4579,7 +4625,7 @@ class B1 extends Ce {
4579
4625
  e.canvas.style.cursor = "pointer";
4580
4626
  }
4581
4627
  }
4582
- function Ro(a, e) {
4628
+ function Lo(a, e) {
4583
4629
  var t = Object.keys(a);
4584
4630
  if (Object.getOwnPropertySymbols) {
4585
4631
  var r = Object.getOwnPropertySymbols(a);
@@ -4589,18 +4635,18 @@ function Ro(a, e) {
4589
4635
  }
4590
4636
  return t;
4591
4637
  }
4592
- function ar(a) {
4638
+ function nr(a) {
4593
4639
  for (var e = 1; e < arguments.length; e++) {
4594
4640
  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) {
4641
+ e % 2 ? Lo(Object(t), !0).forEach(function(r) {
4642
+ sn(a, r, t[r]);
4643
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Lo(Object(t)).forEach(function(r) {
4598
4644
  Object.defineProperty(a, r, Object.getOwnPropertyDescriptor(t, r));
4599
4645
  });
4600
4646
  }
4601
4647
  return a;
4602
4648
  }
4603
- class j1 extends Ce {
4649
+ class r2 extends Ce {
4604
4650
  constructor(e, t, r) {
4605
4651
  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
4652
  var i = this.getHrefAttribute().getDefinition();
@@ -4632,8 +4678,8 @@ class j1 extends Ce {
4632
4678
  e && e.quadraticCurveTo(n[0], n[1], n[2], n[3]);
4633
4679
  break;
4634
4680
  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));
4681
+ 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;
4682
+ 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
4683
  break;
4638
4684
  }
4639
4685
  case w.CLOSE_PATH:
@@ -4664,23 +4710,23 @@ class j1 extends Ce {
4664
4710
  findSegmentToFitChar(e, t, r, i, n, o, s, u, l) {
4665
4711
  var h = o, f = this.measureText(e, u);
4666
4712
  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 = {
4713
+ var c = this.textHeight / 20, v = this.getEquidistantPointOnPath(h, c, 0), g = this.getEquidistantPointOnPath(h + f, c, 0), d = {
4668
4714
  p0: v,
4669
- p1: d
4670
- }, p = v && d ? Math.atan2(d.y - v.y, d.x - v.x) : 0;
4715
+ p1: g
4716
+ }, p = v && g ? Math.atan2(g.y - v.y, g.x - v.x) : 0;
4671
4717
  if (s) {
4672
- var y = Math.cos(Math.PI / 2 + p) * s, x = Math.cos(-p) * s;
4673
- g.p0 = ar(ar({}, v), {}, {
4718
+ var y = Math.cos(Math.PI / 2 + p) * s, T = Math.cos(-p) * s;
4719
+ d.p0 = nr(nr({}, v), {}, {
4674
4720
  x: v.x + y,
4675
- y: v.y + x
4676
- }), g.p1 = ar(ar({}, d), {}, {
4677
- x: d.x + y,
4678
- y: d.y + x
4721
+ y: v.y + T
4722
+ }), d.p1 = nr(nr({}, g), {}, {
4723
+ x: g.x + y,
4724
+ y: g.y + T
4679
4725
  });
4680
4726
  }
4681
4727
  return h += f, {
4682
4728
  offset: h,
4683
- segment: g,
4729
+ segment: d,
4684
4730
  rotation: p
4685
4731
  };
4686
4732
  }
@@ -4698,21 +4744,21 @@ class j1 extends Ce {
4698
4744
  // You need to call this method manually to update glyphs cache.
4699
4745
  setTextData(e) {
4700
4746
  if (!this.glyphInfo) {
4701
- var t = this.getText(), r = t.split(""), i = t.split(" ").length - 1, n = this.parent.getAttribute("dx").split().map((T) => T.getPixels("x")), o = this.parent.getAttribute("dy").getPixels("y"), s = this.parent.getStyle("text-anchor").getString("start"), u = this.getStyle("letter-spacing"), l = this.parent.getStyle("letter-spacing"), h = 0;
4747
+ var t = this.getText(), r = t.split(""), i = t.split(" ").length - 1, n = this.parent.getAttribute("dx").split().map((x) => x.getPixels("x")), o = this.parent.getAttribute("dy").getPixels("y"), s = this.parent.getStyle("text-anchor").getString("start"), u = this.getStyle("letter-spacing"), l = this.parent.getStyle("letter-spacing"), h = 0;
4702
4748
  !u.hasValue() || u.getValue() === "inherit" ? h = l.getPixels() : u.hasValue() && u.getValue() !== "initial" && u.getValue() !== "unset" && (h = u.getPixels());
4703
4749
  var f = [], c = t.length;
4704
4750
  this.letterSpacingCache = f;
4705
4751
  for (var v = 0; v < c; v++)
4706
4752
  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 = [];
4709
- var y = this.getPathLength(), x = this.getStyle("startOffset").getNumber(0) * y, b = 0;
4710
- (s === "middle" || s === "center") && (b = -p / 2), (s === "end" || s === "right") && (b = -p), b += x, r.forEach((T, $) => {
4753
+ var g = f.reduce((x, $, E) => E === 0 ? 0 : x + $ || 0, 0), d = this.measureText(e), p = Math.max(d + g, 0);
4754
+ this.textWidth = d, this.textHeight = this.getFontSize(), this.glyphInfo = [];
4755
+ var y = this.getPathLength(), T = this.getStyle("startOffset").getNumber(0) * y, b = 0;
4756
+ (s === "middle" || s === "center") && (b = -p / 2), (s === "end" || s === "right") && (b = -p), b += T, r.forEach((x, $) => {
4711
4757
  var {
4712
4758
  offset: E,
4713
4759
  segment: O,
4714
4760
  rotation: C
4715
- } = this.findSegmentToFitChar(e, s, p, y, i, b, o, T, $);
4761
+ } = this.findSegmentToFitChar(e, s, p, y, i, b, o, x, $);
4716
4762
  b = E, !(!O.p0 || !O.p1) && this.glyphInfo.push({
4717
4763
  // transposeX: midpoint.x,
4718
4764
  // transposeY: midpoint.y,
@@ -4894,11 +4940,11 @@ class j1 extends Ce {
4894
4940
  y: s + h
4895
4941
  };
4896
4942
  else {
4897
- var c = 0, v = 0, d = this.getLineLength(t, r, i, n);
4898
- if (d < at)
4943
+ var c = 0, v = 0, g = this.getLineLength(t, r, i, n);
4944
+ if (g < at)
4899
4945
  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);
4946
+ var d = (o - t) * (i - t) + (s - r) * (n - r);
4947
+ d /= g * g, c = t + d * (i - t), v = r + d * (n - r);
4902
4948
  var p = this.getLineLength(o, s, c, v), y = Math.sqrt(e * e - p * p);
4903
4949
  l = Math.sqrt(y * y / (1 + u * u)), i < t && (l *= -1), h = u * l, f = {
4904
4950
  x: c + l,
@@ -4951,14 +4997,14 @@ class j1 extends Ce {
4951
4997
  return this.pathLength === -1 && (this.pathLength = this.dataArray.reduce((e, t) => t.pathLength > 0 ? e + t.pathLength : e, 0)), this.pathLength;
4952
4998
  }
4953
4999
  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);
5000
+ var h = u * Ro(e) + o * No(e) + i * Io(e) + t * Mo(e), f = l * Ro(e) + s * No(e) + n * Io(e) + r * Mo(e);
4955
5001
  return {
4956
5002
  x: h,
4957
5003
  y: f
4958
5004
  };
4959
5005
  }
4960
5006
  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);
5007
+ var u = o * _o(e) + i * Vo(e) + t * Do(e), l = s * _o(e) + n * Vo(e) + r * Do(e);
4962
5008
  return {
4963
5009
  x: u,
4964
5010
  y: l
@@ -5000,8 +5046,8 @@ class j1 extends Ce {
5000
5046
  return this.equidistantCache.points[i] || null;
5001
5047
  }
5002
5048
  }
5003
- var F1 = /^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;
5004
- class U1 extends Ge {
5049
+ var a2 = /^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;
5050
+ class i2 extends Ge {
5005
5051
  constructor(e, t, r) {
5006
5052
  super(e, t, r), this.type = "image", this.loaded = !1;
5007
5053
  var i = this.getHrefAttribute().getString();
@@ -5025,7 +5071,7 @@ class U1 extends Ge {
5025
5071
  loadSvg(e) {
5026
5072
  var t = this;
5027
5073
  return xe(function* () {
5028
- var r = F1.exec(e);
5074
+ var r = a2.exec(e);
5029
5075
  if (r) {
5030
5076
  var i = r[5];
5031
5077
  r[4] === "base64" ? t.image = atob(i) : t.image = decodeURIComponent(i);
@@ -5077,14 +5123,14 @@ class U1 extends Ge {
5077
5123
  return new ce(e, t, e + r, t + i);
5078
5124
  }
5079
5125
  }
5080
- class G1 extends Ge {
5126
+ class n2 extends Ge {
5081
5127
  constructor() {
5082
5128
  super(...arguments), this.type = "symbol";
5083
5129
  }
5084
5130
  render(e) {
5085
5131
  }
5086
5132
  }
5087
- class z1 {
5133
+ class s2 {
5088
5134
  constructor(e) {
5089
5135
  this.document = e, this.loaded = !1, e.fonts.push(this);
5090
5136
  }
@@ -5106,7 +5152,7 @@ class z1 {
5106
5152
  })();
5107
5153
  }
5108
5154
  }
5109
- class Sl extends N {
5155
+ class Rl extends I {
5110
5156
  constructor(e, t, r) {
5111
5157
  super(e, t, r), this.type = "style";
5112
5158
  var i = ht(
@@ -5122,14 +5168,14 @@ class Sl extends N {
5122
5168
  if (c) {
5123
5169
  var v = e.styles[c] || {};
5124
5170
  if (h.forEach((p) => {
5125
- var y = p.indexOf(":"), x = p.substr(0, y).trim(), b = p.substr(y + 1, p.length - y).trim();
5126
- 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) => {
5171
+ var y = p.indexOf(":"), T = p.substr(0, y).trim(), b = p.substr(y + 1, p.length - y).trim();
5172
+ T && b && (v[T] = new S(e, T, b));
5173
+ }), e.styles[c] = v, e.stylesSpecificity[c] = T1(c), c === "@font-face") {
5174
+ var g = v["font-family"].getString().replace(/"|'/g, ""), d = v.src.getString().split(",");
5175
+ d.forEach((p) => {
5130
5176
  if (p.indexOf('format("svg")') > 0) {
5131
- var y = gl(p);
5132
- y && new z1(e).load(d, y);
5177
+ var y = Tl(p);
5178
+ y && new s2(e).load(g, y);
5133
5179
  }
5134
5180
  });
5135
5181
  }
@@ -5139,8 +5185,8 @@ class Sl extends N {
5139
5185
  });
5140
5186
  }
5141
5187
  }
5142
- Sl.parseExternalUrl = gl;
5143
- class H1 extends Ge {
5188
+ Rl.parseExternalUrl = Tl;
5189
+ class o2 extends Ge {
5144
5190
  constructor() {
5145
5191
  super(...arguments), this.type = "use";
5146
5192
  }
@@ -5181,16 +5227,16 @@ class H1 extends Ge {
5181
5227
  document: e,
5182
5228
  element: t
5183
5229
  } = this;
5184
- return Le.fromElement(e, t);
5230
+ return Be.fromElement(e, t);
5185
5231
  }
5186
5232
  get element() {
5187
5233
  return this.cachedElement || (this.cachedElement = this.getHrefAttribute().getDefinition()), this.cachedElement;
5188
5234
  }
5189
5235
  }
5190
- function ir(a, e, t, r, i, n) {
5236
+ function sr(a, e, t, r, i, n) {
5191
5237
  return a[t * r * 4 + e * 4 + n];
5192
5238
  }
5193
- function nr(a, e, t, r, i, n, o) {
5239
+ function or(a, e, t, r, i, n, o) {
5194
5240
  a[t * r * 4 + e * 4 + n] = o;
5195
5241
  }
5196
5242
  function F(a, e, t) {
@@ -5200,10 +5246,10 @@ function F(a, e, t) {
5200
5246
  function me(a, e, t, r) {
5201
5247
  return e + Math.cos(a) * t + Math.sin(a) * r;
5202
5248
  }
5203
- class El extends N {
5249
+ class Nl extends I {
5204
5250
  constructor(e, t, r) {
5205
5251
  super(e, t, r), this.type = "feColorMatrix";
5206
- var i = ie(this.getAttribute("values").getString());
5252
+ var i = ne(this.getAttribute("values").getString());
5207
5253
  switch (this.getAttribute("type").getString("matrix")) {
5208
5254
  case "saturate": {
5209
5255
  var n = i[0];
@@ -5227,13 +5273,13 @@ class El extends N {
5227
5273
  matrix: s
5228
5274
  } = this, u = e.getImageData(0, 0, i, n), l = 0; l < n; l++)
5229
5275
  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);
5276
+ var f = sr(u.data, h, l, i, n, 0), c = sr(u.data, h, l, i, n, 1), v = sr(u.data, h, l, i, n, 2), g = sr(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), T = F(s, 15, f) + F(s, 16, c) + F(s, 17, v) + F(s, 18, g) + F(s, 19, 1);
5277
+ o && (d = 0, p = 0, y = 0, T *= g / 255), or(u.data, h, l, i, n, 0, d), or(u.data, h, l, i, n, 1, p), or(u.data, h, l, i, n, 2, y), or(u.data, h, l, i, n, 3, T);
5232
5278
  }
5233
5279
  e.clearRect(0, 0, i, n), e.putImageData(u, 0, 0);
5234
5280
  }
5235
5281
  }
5236
- class Dr extends N {
5282
+ class jr extends I {
5237
5283
  constructor() {
5238
5284
  super(...arguments), this.type = "mask";
5239
5285
  }
@@ -5243,12 +5289,12 @@ class Dr extends N {
5243
5289
  } = 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
5290
  if (!o && !s) {
5245
5291
  var u = new ce();
5246
- this.children.forEach((d) => {
5247
- u.addBoundingBox(d.getBoundingBox(e));
5292
+ this.children.forEach((g) => {
5293
+ u.addBoundingBox(g.getBoundingBox(e));
5248
5294
  }), i = Math.floor(u.x1), n = Math.floor(u.y1), o = Math.floor(u.width), s = Math.floor(u.height);
5249
5295
  }
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, {
5296
+ var l = this.removeStyles(t, jr.ignoreStyles), h = r.createCanvas(i + o, n + s), f = h.getContext("2d");
5297
+ r.screen.setDefaults(f), this.renderChildren(f), new Nl(r, {
5252
5298
  nodeType: 1,
5253
5299
  childNodes: [],
5254
5300
  attributes: [{
@@ -5265,10 +5311,10 @@ class Dr extends N {
5265
5311
  render(e) {
5266
5312
  }
5267
5313
  }
5268
- Dr.ignoreStyles = ["mask", "transform", "clip-path"];
5269
- var No = () => {
5314
+ jr.ignoreStyles = ["mask", "transform", "clip-path"];
5315
+ var ko = () => {
5270
5316
  };
5271
- class Y1 extends N {
5317
+ class u2 extends I {
5272
5318
  constructor() {
5273
5319
  super(...arguments), this.type = "clipPath";
5274
5320
  }
@@ -5279,17 +5325,17 @@ class Y1 extends N {
5279
5325
  beginPath: i,
5280
5326
  closePath: n
5281
5327
  } = e;
5282
- r && (r.beginPath = No, r.closePath = No), Reflect.apply(i, e, []), this.children.forEach((o) => {
5328
+ r && (r.beginPath = ko, r.closePath = ko), Reflect.apply(i, e, []), this.children.forEach((o) => {
5283
5329
  if (typeof o.path != "undefined") {
5284
5330
  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);
5331
+ s || (s = Be.fromElement(t, o)), s && s.apply(e), o.path(e), r && (r.closePath = n), s && s.unapply(e);
5286
5332
  }
5287
5333
  }), Reflect.apply(n, e, []), e.clip(), r && (r.beginPath = i, r.closePath = n);
5288
5334
  }
5289
5335
  render(e) {
5290
5336
  }
5291
5337
  }
5292
- class kr extends N {
5338
+ class Fr extends I {
5293
5339
  constructor() {
5294
5340
  super(...arguments), this.type = "filter";
5295
5341
  }
@@ -5301,44 +5347,44 @@ class kr extends N {
5301
5347
  if (n) {
5302
5348
  var o = 0, s = 0;
5303
5349
  i.forEach((y) => {
5304
- var x = y.extraFilterDistance || 0;
5305
- o = Math.max(o, x), s = Math.max(s, x);
5350
+ var T = y.extraFilterDistance || 0;
5351
+ o = Math.max(o, T), s = Math.max(s, T);
5306
5352
  });
5307
5353
  var u = Math.floor(n.width), l = Math.floor(n.height), h = u + 2 * o, f = l + 2 * s;
5308
5354
  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");
5355
+ var c = Math.floor(n.x), v = Math.floor(n.y), g = this.removeStyles(t, Fr.ignoreStyles), d = r.createCanvas(h, f), p = d.getContext("2d");
5310
5356
  r.screen.setDefaults(p), p.translate(-c + o, -v + s), t.render(p), i.forEach((y) => {
5311
5357
  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);
5358
+ }), e.drawImage(d, 0, 0, h, f, c - o, v - s, h, f), this.restoreStyles(t, g);
5313
5359
  }
5314
5360
  }
5315
5361
  }
5316
5362
  render(e) {
5317
5363
  }
5318
5364
  }
5319
- kr.ignoreStyles = ["filter", "transform", "clip-path"];
5320
- class X1 extends N {
5365
+ Fr.ignoreStyles = ["filter", "transform", "clip-path"];
5366
+ class l2 extends I {
5321
5367
  constructor(e, t, r) {
5322
5368
  super(e, t, r), this.type = "feDropShadow", this.addStylesFromStyleDefinition();
5323
5369
  }
5324
5370
  apply(e, t, r, i, n) {
5325
5371
  }
5326
5372
  }
5327
- class W1 extends N {
5373
+ class h2 extends I {
5328
5374
  constructor() {
5329
5375
  super(...arguments), this.type = "feMorphology";
5330
5376
  }
5331
5377
  apply(e, t, r, i, n) {
5332
5378
  }
5333
5379
  }
5334
- class q1 extends N {
5380
+ class v2 extends I {
5335
5381
  constructor() {
5336
5382
  super(...arguments), this.type = "feComposite";
5337
5383
  }
5338
5384
  apply(e, t, r, i, n) {
5339
5385
  }
5340
5386
  }
5341
- class Q1 extends N {
5387
+ class f2 extends I {
5342
5388
  constructor(e, t, r) {
5343
5389
  super(e, t, r), this.type = "feGaussianBlur", this.blurRadius = Math.floor(this.getAttribute("stdDeviation").getNumber()), this.extraFilterDistance = this.blurRadius;
5344
5390
  }
@@ -5347,63 +5393,63 @@ class Q1 extends N {
5347
5393
  document: o,
5348
5394
  blurRadius: s
5349
5395
  } = 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);
5396
+ l.id = o.getUniqueId(), u && (l.style.display = "none", u.appendChild(l)), n1(l, t, r, i, n, s), u && u.removeChild(l);
5351
5397
  }
5352
5398
  }
5353
- class K1 extends N {
5399
+ class c2 extends I {
5354
5400
  constructor() {
5355
5401
  super(...arguments), this.type = "title";
5356
5402
  }
5357
5403
  }
5358
- class Z1 extends N {
5404
+ class g2 extends I {
5359
5405
  constructor() {
5360
5406
  super(...arguments), this.type = "desc";
5361
5407
  }
5362
5408
  }
5363
- var J1 = {
5409
+ var d2 = {
5364
5410
  svg: It,
5365
- rect: xl,
5366
- circle: S1,
5367
- ellipse: E1,
5368
- line: $1,
5369
- polyline: Tl,
5370
- polygon: w1,
5411
+ rect: Cl,
5412
+ circle: B1,
5413
+ ellipse: j1,
5414
+ line: F1,
5415
+ polyline: Al,
5416
+ polygon: U1,
5371
5417
  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,
5418
+ pattern: G1,
5419
+ marker: z1,
5420
+ defs: H1,
5421
+ linearGradient: Y1,
5422
+ radialGradient: X1,
5423
+ stop: W1,
5424
+ animate: hn,
5425
+ animateColor: q1,
5426
+ animateTransform: Q1,
5427
+ font: K1,
5428
+ "font-face": Z1,
5429
+ "missing-glyph": J1,
5430
+ glyph: wl,
5385
5431
  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
5432
+ tspan: Br,
5433
+ tref: e2,
5434
+ a: t2,
5435
+ textPath: r2,
5436
+ image: i2,
5437
+ g: ln,
5438
+ symbol: n2,
5439
+ style: Rl,
5440
+ use: o2,
5441
+ mask: jr,
5442
+ clipPath: u2,
5443
+ filter: Fr,
5444
+ feDropShadow: l2,
5445
+ feMorphology: h2,
5446
+ feComposite: v2,
5447
+ feColorMatrix: Nl,
5448
+ feGaussianBlur: f2,
5449
+ title: c2,
5450
+ desc: g2
5405
5451
  };
5406
- function Io(a, e) {
5452
+ function Bo(a, e) {
5407
5453
  var t = Object.keys(a);
5408
5454
  if (Object.getOwnPropertySymbols) {
5409
5455
  var r = Object.getOwnPropertySymbols(a);
@@ -5413,26 +5459,26 @@ function Io(a, e) {
5413
5459
  }
5414
5460
  return t;
5415
5461
  }
5416
- function e2(a) {
5462
+ function p2(a) {
5417
5463
  for (var e = 1; e < arguments.length; e++) {
5418
5464
  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) {
5465
+ e % 2 ? Bo(Object(t), !0).forEach(function(r) {
5466
+ sn(a, r, t[r]);
5467
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : Bo(Object(t)).forEach(function(r) {
5422
5468
  Object.defineProperty(a, r, Object.getOwnPropertyDescriptor(t, r));
5423
5469
  });
5424
5470
  }
5425
5471
  return a;
5426
5472
  }
5427
- function t2(a, e) {
5473
+ function y2(a, e) {
5428
5474
  var t = document.createElement("canvas");
5429
5475
  return t.width = a, t.height = e, t;
5430
5476
  }
5431
- function r2(a) {
5432
- return xi.apply(this, arguments);
5477
+ function m2(a) {
5478
+ return Ei.apply(this, arguments);
5433
5479
  }
5434
- function xi() {
5435
- return xi = xe(function* (a) {
5480
+ function Ei() {
5481
+ return Ei = xe(function* (a) {
5436
5482
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, t = document.createElement("img");
5437
5483
  return e && (t.crossOrigin = "Anonymous"), new Promise((r, i) => {
5438
5484
  t.onload = () => {
@@ -5441,7 +5487,7 @@ function xi() {
5441
5487
  i(l);
5442
5488
  }, t.src = a;
5443
5489
  });
5444
- }), xi.apply(this, arguments);
5490
+ }), Ei.apply(this, arguments);
5445
5491
  }
5446
5492
  class $e {
5447
5493
  constructor(e) {
@@ -5499,21 +5545,21 @@ class $e {
5499
5545
  }
5500
5546
  createElement(e) {
5501
5547
  var t = e.nodeName.replace(/^[^:]+:/, ""), r = $e.elementTypes[t];
5502
- return typeof r != "undefined" ? new r(this, e) : new y1(this, e);
5548
+ return typeof r != "undefined" ? new r(this, e) : new M1(this, e);
5503
5549
  }
5504
5550
  createTextNode(e) {
5505
- return new O1(this, e);
5551
+ return new k1(this, e);
5506
5552
  }
5507
5553
  setViewBox(e) {
5508
- this.screen.setViewBox(e2({
5554
+ this.screen.setViewBox(p2({
5509
5555
  document: this
5510
5556
  }, e));
5511
5557
  }
5512
5558
  }
5513
- $e.createCanvas = t2;
5514
- $e.createImage = r2;
5515
- $e.elementTypes = J1;
5516
- function Mo(a, e) {
5559
+ $e.createCanvas = y2;
5560
+ $e.createImage = m2;
5561
+ $e.elementTypes = d2;
5562
+ function jo(a, e) {
5517
5563
  var t = Object.keys(a);
5518
5564
  if (Object.getOwnPropertySymbols) {
5519
5565
  var r = Object.getOwnPropertySymbols(a);
@@ -5523,12 +5569,12 @@ function Mo(a, e) {
5523
5569
  }
5524
5570
  return t;
5525
5571
  }
5526
- function Ve(a) {
5572
+ function De(a) {
5527
5573
  for (var e = 1; e < arguments.length; e++) {
5528
5574
  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) {
5575
+ e % 2 ? jo(Object(t), !0).forEach(function(r) {
5576
+ sn(a, r, t[r]);
5577
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(t)) : jo(Object(t)).forEach(function(r) {
5532
5578
  Object.defineProperty(a, r, Object.getOwnPropertyDescriptor(t, r));
5533
5579
  });
5534
5580
  }
@@ -5543,7 +5589,7 @@ class bt {
5543
5589
  */
5544
5590
  constructor(e, t) {
5545
5591
  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;
5592
+ this.parser = new Xa(r), this.screen = new kr(e, r), this.options = r;
5547
5593
  var i = new $e(this, r), n = i.createDocumentElement(t);
5548
5594
  this.document = i, this.documentElement = n;
5549
5595
  }
@@ -5557,7 +5603,7 @@ class bt {
5557
5603
  static from(e, t) {
5558
5604
  var r = arguments;
5559
5605
  return xe(function* () {
5560
- var i = r.length > 2 && r[2] !== void 0 ? r[2] : {}, n = new Ga(i), o = yield n.parse(t);
5606
+ var i = r.length > 2 && r[2] !== void 0 ? r[2] : {}, n = new Xa(i), o = yield n.parse(t);
5561
5607
  return new bt(e, o, i);
5562
5608
  })();
5563
5609
  }
@@ -5569,7 +5615,7 @@ class bt {
5569
5615
  * @returns Canvg instance.
5570
5616
  */
5571
5617
  static fromString(e, t) {
5572
- var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = new Ga(r), n = i.parseFromString(t);
5618
+ var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = new Xa(r), n = i.parseFromString(t);
5573
5619
  return new bt(e, n, r);
5574
5620
  }
5575
5621
  /**
@@ -5581,7 +5627,7 @@ class bt {
5581
5627
  */
5582
5628
  fork(e, t) {
5583
5629
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5584
- return bt.from(e, t, Ve(Ve({}, this.options), r));
5630
+ return bt.from(e, t, De(De({}, this.options), r));
5585
5631
  }
5586
5632
  /**
5587
5633
  * Create new Canvg instance with inherited options.
@@ -5592,7 +5638,7 @@ class bt {
5592
5638
  */
5593
5639
  forkString(e, t) {
5594
5640
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5595
- return bt.fromString(e, t, Ve(Ve({}, this.options), r));
5641
+ return bt.fromString(e, t, De(De({}, this.options), r));
5596
5642
  }
5597
5643
  /**
5598
5644
  * Document is ready promise.
@@ -5616,7 +5662,7 @@ class bt {
5616
5662
  var e = arguments, t = this;
5617
5663
  return xe(function* () {
5618
5664
  var r = e.length > 0 && e[0] !== void 0 ? e[0] : {};
5619
- t.start(Ve({
5665
+ t.start(De({
5620
5666
  enableRedraw: !0,
5621
5667
  ignoreAnimation: !0,
5622
5668
  ignoreMouse: !0
@@ -5633,7 +5679,7 @@ class bt {
5633
5679
  screen: r,
5634
5680
  options: i
5635
5681
  } = this;
5636
- r.start(t, Ve(Ve({
5682
+ r.start(t, De(De({
5637
5683
  enableRedraw: !0
5638
5684
  }, i), e));
5639
5685
  }
@@ -5655,90 +5701,90 @@ class bt {
5655
5701
  }
5656
5702
  }
5657
5703
  export {
5658
- B1 as AElement,
5659
- M1 as AnimateColorElement,
5660
- nn as AnimateElement,
5661
- _1 as AnimateTransformElement,
5704
+ t2 as AElement,
5705
+ q1 as AnimateColorElement,
5706
+ hn as AnimateElement,
5707
+ Q1 as AnimateTransformElement,
5662
5708
  ce as BoundingBox,
5663
- So as CB1,
5664
- Eo as CB2,
5665
- $o as CB3,
5666
- wo as CB4,
5709
+ Ro as CB1,
5710
+ No as CB2,
5711
+ Io as CB3,
5712
+ Mo as CB4,
5667
5713
  bt as Canvg,
5668
- S1 as CircleElement,
5669
- Y1 as ClipPathElement,
5670
- P1 as DefsElement,
5671
- Z1 as DescElement,
5714
+ B1 as CircleElement,
5715
+ u2 as ClipPathElement,
5716
+ H1 as DefsElement,
5717
+ g2 as DescElement,
5672
5718
  $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,
5719
+ I as Element,
5720
+ j1 as EllipseElement,
5721
+ Nl as FeColorMatrixElement,
5722
+ v2 as FeCompositeElement,
5723
+ l2 as FeDropShadowElement,
5724
+ f2 as FeGaussianBlurElement,
5725
+ h2 as FeMorphologyElement,
5726
+ Fr as FilterElement,
5681
5727
  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,
5728
+ K1 as FontElement,
5729
+ Z1 as FontFaceElement,
5730
+ ln as GElement,
5731
+ wl as GlyphElement,
5732
+ Pl as GradientElement,
5733
+ i2 as ImageElement,
5734
+ F1 as LineElement,
5735
+ Y1 as LinearGradientElement,
5736
+ z1 as MarkerElement,
5737
+ jr as MaskElement,
5738
+ El as Matrix,
5739
+ J1 as MissingGlyphElement,
5740
+ S1 as Mouse,
5695
5741
  at as PSEUDO_ZERO,
5696
- Ga as Parser,
5742
+ Xa as Parser,
5697
5743
  A as PathElement,
5698
5744
  w as PathParser,
5699
- C1 as PatternElement,
5700
- D as Point,
5701
- w1 as PolygonElement,
5702
- Tl as PolylineElement,
5745
+ G1 as PatternElement,
5746
+ k as Point,
5747
+ U1 as PolygonElement,
5748
+ Al as PolylineElement,
5703
5749
  S as Property,
5704
- Co as QB1,
5705
- Ao as QB2,
5706
- Po as QB3,
5707
- N1 as RadialGradientElement,
5708
- xl as RectElement,
5750
+ _o as QB1,
5751
+ Vo as QB2,
5752
+ Do as QB3,
5753
+ X1 as RadialGradientElement,
5754
+ Cl as RectElement,
5709
5755
  Ge as RenderedElement,
5710
- v1 as Rotate,
5756
+ C1 as Rotate,
5711
5757
  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,
5758
+ s2 as SVGFontLoader,
5759
+ A1 as Scale,
5760
+ kr as Screen,
5761
+ $l as Skew,
5762
+ P1 as SkewX,
5763
+ R1 as SkewY,
5764
+ W1 as StopElement,
5765
+ Rl as StyleElement,
5766
+ n2 as SymbolElement,
5767
+ e2 as TRefElement,
5768
+ Br as TSpanElement,
5723
5769
  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,
5770
+ r2 as TextPathElement,
5771
+ c2 as TitleElement,
5772
+ Be as Transform,
5773
+ w1 as Translate,
5774
+ M1 as UnknownElement,
5775
+ o2 as UseElement,
5776
+ O1 as ViewPort,
5731
5777
  ht as compressSpaces,
5732
5778
  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
5779
+ T1 as getSelectorSpecificity,
5780
+ f1 as normalizeAttributeName,
5781
+ c1 as normalizeColor,
5782
+ Tl as parseExternalUrl,
5783
+ x2 as presets,
5784
+ ne as toNumbers,
5785
+ l1 as trimLeft,
5786
+ h1 as trimRight,
5787
+ Ao as vectorMagnitude,
5788
+ Po as vectorsAngle,
5789
+ Si as vectorsRatio
5744
5790
  };