@oneclick.dev/cms-core-modules 0.0.110 → 0.0.111

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.
Files changed (62) hide show
  1. package/dist/{Acquisition-Dt2rREU8.js → Acquisition-DgzDQH51.js} +1 -1
  2. package/dist/{Acquisition-DNCy8nQz.mjs → Acquisition-FV3QpaUX.mjs} +2 -2
  3. package/dist/{Audience-Bs7b0TNm.js → Audience-BSgNvcVb.js} +1 -1
  4. package/dist/{Audience-CUeMVYRy.mjs → Audience-ka0b7YPE.mjs} +2 -2
  5. package/dist/{ContentEditor-D9-1SJ5F.mjs → ContentEditor-pZPfo0qN.mjs} +4384 -4282
  6. package/dist/{ContentEditor-BprPiHMJ.js → ContentEditor-tYkh4vRV.js} +42 -42
  7. package/dist/{Create-89z41K73.js → Create--MOBOTA-.js} +1 -1
  8. package/dist/{Create-BCklc_T1.mjs → Create-BXNLRQag.mjs} +1 -1
  9. package/dist/DateFormatter-CSAbE3BC.js +1 -0
  10. package/dist/{DateFormatter-DUxlo8X8.mjs → DateFormatter-qbhRYxI_.mjs} +226 -222
  11. package/dist/{Detail-CNlljBfH.mjs → Detail-ChD5XurA.mjs} +1 -1
  12. package/dist/{Detail-C857g62L.js → Detail-RISEJJab.js} +1 -1
  13. package/dist/{Find-DIISO5GO.mjs → Find-zN_dKz4p.mjs} +1 -1
  14. package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Baqy-rTT.js +1 -0
  15. package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Dx4Bpa2m.mjs +1263 -0
  16. package/dist/{Overview-Di84CsR5.mjs → Overview-98nkJUWN.mjs} +162 -157
  17. package/dist/{Overview-C-Jb_BxY.mjs → Overview-BR_y8x3W.mjs} +1 -1
  18. package/dist/{Overview-DC9io1bk.js → Overview-CX-n6W7d.js} +1 -1
  19. package/dist/Overview-Dl8cMlsr.js +1 -0
  20. package/dist/{Overview-BKAti8nc.mjs → Overview-MpgkLB6m.mjs} +36 -36
  21. package/dist/{SeoHealth-az1YuNF2.js → SeoHealth-C5npw7mE.js} +1 -1
  22. package/dist/{SeoHealth-MC3lSCOY.mjs → SeoHealth-bVQj_Xgm.mjs} +29 -29
  23. package/dist/{TableView-DXHhJ-jm.mjs → TableView-Bf1fdJrD.mjs} +1838 -1822
  24. package/dist/TableView-DNcXyIMu.js +4 -0
  25. package/dist/{agenda-IOqtALWf.js → agenda-BaJu3-1c.js} +1 -1
  26. package/dist/{agenda-DcatSSYQ.mjs → agenda-BwVY_8oM.mjs} +3 -3
  27. package/dist/cms-core-modules.css +1 -1
  28. package/dist/{exceptions-CI0B4xVj.js → exceptions-B6P9UiCj.js} +1 -1
  29. package/dist/{exceptions-YCQkHa6a.mjs → exceptions-De9-FvdP.mjs} +67 -67
  30. package/dist/{index-CpzDEMeC.mjs → index-B8GvmAwh.mjs} +438 -478
  31. package/dist/{index-wjkEPsNx.mjs → index-BIF2RB7k.mjs} +1212 -1316
  32. package/dist/index-ByRsp77L.js +70 -0
  33. package/dist/{index-BhWvXMOp.mjs → index-CFzn2Lus.mjs} +5 -9
  34. package/dist/{index-BFLV54kw.mjs → index-CkVwMqpn.mjs} +1114 -1100
  35. package/dist/index-DL6orwdK.js +35 -0
  36. package/dist/index-DUlYrnXH.js +58 -0
  37. package/dist/index-DZV720u-.mjs +439 -0
  38. package/dist/index-D_nfGegA.js +184 -0
  39. package/dist/index-DtSvAFLL.js +54 -0
  40. package/dist/{index-D30apIn-.mjs → index-L54VBzwJ.mjs} +2 -3
  41. package/dist/{index-BzWmWCo5.mjs → index-hH3e-IYz.mjs} +267 -267
  42. package/dist/index.cjs.js +1 -1
  43. package/dist/index.mjs +15 -15
  44. package/dist/math-BJ-oX_IM.mjs +80 -0
  45. package/dist/math-emotyaF6.js +1 -0
  46. package/dist/{resources-CYOb5Bl6.mjs → resources-DwYxn2Vi.mjs} +1 -1
  47. package/dist/src/contentManager/components/content-editor/tiptap-extensions/ScopedSelectAll.d.ts +1 -2
  48. package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/useFocus.d.ts +1 -0
  49. package/package.json +2 -2
  50. package/dist/DateFormatter-CYAD4GBN.js +0 -1
  51. package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Ceoje52V.js +0 -1
  52. package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Dh9jzvE0.mjs +0 -1255
  53. package/dist/Overview-UoZHUMUz.js +0 -1
  54. package/dist/TableView-DQW0A1oG.js +0 -4
  55. package/dist/array-CbATeQbk.js +0 -1
  56. package/dist/array-DT5pE8Gm.mjs +0 -108
  57. package/dist/index-A2kp8Isi.js +0 -75
  58. package/dist/index-B5aBwdxY.js +0 -54
  59. package/dist/index-BiT55eU0.js +0 -58
  60. package/dist/index-G7cIlnGN.js +0 -158
  61. package/dist/index-V78huaSJ.mjs +0 -442
  62. package/dist/index-vHmvbEwa.js +0 -35
@@ -1,4 +1,4 @@
1
- import { getCurrentInstance as Hr, computed as Pr, camelize as Ze } from "vue";
1
+ import { getCurrentInstance as Lr, computed as Hr, camelize as Ze } from "vue";
2
2
  var xe = "http://www.w3.org/1999/xhtml";
3
3
  const Ke = {
4
4
  svg: "http://www.w3.org/2000/svg",
@@ -7,114 +7,114 @@ const Ke = {
7
7
  xml: "http://www.w3.org/XML/1998/namespace",
8
8
  xmlns: "http://www.w3.org/2000/xmlns/"
9
9
  };
10
- function ue(t) {
10
+ function ae(t) {
11
11
  var e = t += "", n = e.indexOf(":");
12
12
  return n >= 0 && (e = t.slice(0, n)) !== "xmlns" && (t = t.slice(n + 1)), Ke.hasOwnProperty(e) ? { space: Ke[e], local: t } : t;
13
13
  }
14
- function Vr(t) {
14
+ function Pr(t) {
15
15
  return function() {
16
16
  var e = this.ownerDocument, n = this.namespaceURI;
17
17
  return n === xe && e.documentElement.namespaceURI === xe ? e.createElement(t) : e.createElementNS(n, t);
18
18
  };
19
19
  }
20
- function Wr(t) {
20
+ function Br(t) {
21
21
  return function() {
22
22
  return this.ownerDocument.createElementNS(t.space, t.local);
23
23
  };
24
24
  }
25
- function Ln(t) {
26
- var e = ue(t);
27
- return (e.local ? Wr : Vr)(e);
25
+ function Hn(t) {
26
+ var e = ae(t);
27
+ return (e.local ? Br : Pr)(e);
28
28
  }
29
- function Ur() {
29
+ function Vr() {
30
30
  }
31
- function ze(t) {
32
- return t == null ? Ur : function() {
31
+ function Me(t) {
32
+ return t == null ? Vr : function() {
33
33
  return this.querySelector(t);
34
34
  };
35
35
  }
36
- function qr(t) {
37
- typeof t != "function" && (t = ze(t));
36
+ function Wr(t) {
37
+ typeof t != "function" && (t = Me(t));
38
38
  for (var e = this._groups, n = e.length, r = new Array(n), i = 0; i < n; ++i)
39
39
  for (var s = e[i], a = s.length, o = r[i] = new Array(a), c, u, f = 0; f < a; ++f)
40
40
  (c = s[f]) && (u = t.call(c, c.__data__, f, s)) && ("__data__" in c && (u.__data__ = c.__data__), o[f] = u);
41
- return new M(r, this._parents);
41
+ return new z(r, this._parents);
42
42
  }
43
- function Xr(t) {
43
+ function Ur(t) {
44
44
  return t == null ? [] : Array.isArray(t) ? t : Array.from(t);
45
45
  }
46
- function Gr() {
46
+ function qr() {
47
47
  return [];
48
48
  }
49
- function Bn(t) {
50
- return t == null ? Gr : function() {
49
+ function Pn(t) {
50
+ return t == null ? qr : function() {
51
51
  return this.querySelectorAll(t);
52
52
  };
53
53
  }
54
- function Yr(t) {
54
+ function Xr(t) {
55
55
  return function() {
56
- return Xr(t.apply(this, arguments));
56
+ return Ur(t.apply(this, arguments));
57
57
  };
58
58
  }
59
- function Zr(t) {
60
- typeof t == "function" ? t = Yr(t) : t = Bn(t);
59
+ function Gr(t) {
60
+ typeof t == "function" ? t = Xr(t) : t = Pn(t);
61
61
  for (var e = this._groups, n = e.length, r = [], i = [], s = 0; s < n; ++s)
62
62
  for (var a = e[s], o = a.length, c, u = 0; u < o; ++u)
63
63
  (c = a[u]) && (r.push(t.call(c, c.__data__, u, a)), i.push(c));
64
- return new M(r, i);
64
+ return new z(r, i);
65
65
  }
66
- function Hn(t) {
66
+ function Bn(t) {
67
67
  return function() {
68
68
  return this.matches(t);
69
69
  };
70
70
  }
71
- function Pn(t) {
71
+ function Vn(t) {
72
72
  return function(e) {
73
73
  return e.matches(t);
74
74
  };
75
75
  }
76
- var Kr = Array.prototype.find;
77
- function Jr(t) {
76
+ var Yr = Array.prototype.find;
77
+ function Zr(t) {
78
78
  return function() {
79
- return Kr.call(this.children, t);
79
+ return Yr.call(this.children, t);
80
80
  };
81
81
  }
82
- function Qr() {
82
+ function Kr() {
83
83
  return this.firstElementChild;
84
84
  }
85
- function jr(t) {
86
- return this.select(t == null ? Qr : Jr(typeof t == "function" ? t : Pn(t)));
85
+ function Jr(t) {
86
+ return this.select(t == null ? Kr : Zr(typeof t == "function" ? t : Vn(t)));
87
87
  }
88
- var ti = Array.prototype.filter;
89
- function ei() {
88
+ var Qr = Array.prototype.filter;
89
+ function jr() {
90
90
  return Array.from(this.children);
91
91
  }
92
- function ni(t) {
92
+ function ti(t) {
93
93
  return function() {
94
- return ti.call(this.children, t);
94
+ return Qr.call(this.children, t);
95
95
  };
96
96
  }
97
- function ri(t) {
98
- return this.selectAll(t == null ? ei : ni(typeof t == "function" ? t : Pn(t)));
97
+ function ei(t) {
98
+ return this.selectAll(t == null ? jr : ti(typeof t == "function" ? t : Vn(t)));
99
99
  }
100
- function ii(t) {
101
- typeof t != "function" && (t = Hn(t));
100
+ function ni(t) {
101
+ typeof t != "function" && (t = Bn(t));
102
102
  for (var e = this._groups, n = e.length, r = new Array(n), i = 0; i < n; ++i)
103
103
  for (var s = e[i], a = s.length, o = r[i] = [], c, u = 0; u < a; ++u)
104
104
  (c = s[u]) && t.call(c, c.__data__, u, s) && o.push(c);
105
- return new M(r, this._parents);
105
+ return new z(r, this._parents);
106
106
  }
107
- function Vn(t) {
107
+ function Wn(t) {
108
108
  return new Array(t.length);
109
109
  }
110
- function si() {
111
- return new M(this._enter || this._groups.map(Vn), this._parents);
110
+ function ri() {
111
+ return new z(this._enter || this._groups.map(Wn), this._parents);
112
112
  }
113
- function Zt(t, e) {
113
+ function Xt(t, e) {
114
114
  this.ownerDocument = t.ownerDocument, this.namespaceURI = t.namespaceURI, this._next = null, this._parent = t, this.__data__ = e;
115
115
  }
116
- Zt.prototype = {
117
- constructor: Zt,
116
+ Xt.prototype = {
117
+ constructor: Xt,
118
118
  appendChild: function(t) {
119
119
  return this._parent.insertBefore(t, this._next);
120
120
  },
@@ -128,70 +128,70 @@ Zt.prototype = {
128
128
  return this._parent.querySelectorAll(t);
129
129
  }
130
130
  };
131
- function ai(t) {
131
+ function ii(t) {
132
132
  return function() {
133
133
  return t;
134
134
  };
135
135
  }
136
- function oi(t, e, n, r, i, s) {
136
+ function si(t, e, n, r, i, s) {
137
137
  for (var a = 0, o, c = e.length, u = s.length; a < u; ++a)
138
- (o = e[a]) ? (o.__data__ = s[a], r[a] = o) : n[a] = new Zt(t, s[a]);
138
+ (o = e[a]) ? (o.__data__ = s[a], r[a] = o) : n[a] = new Xt(t, s[a]);
139
139
  for (; a < c; ++a)
140
140
  (o = e[a]) && (i[a] = o);
141
141
  }
142
- function ci(t, e, n, r, i, s, a) {
142
+ function ai(t, e, n, r, i, s, a) {
143
143
  var o, c, u = /* @__PURE__ */ new Map(), f = e.length, l = s.length, h = new Array(f), p;
144
144
  for (o = 0; o < f; ++o)
145
145
  (c = e[o]) && (h[o] = p = a.call(c, c.__data__, o, e) + "", u.has(p) ? i[o] = c : u.set(p, c));
146
146
  for (o = 0; o < l; ++o)
147
- p = a.call(t, s[o], o, s) + "", (c = u.get(p)) ? (r[o] = c, c.__data__ = s[o], u.delete(p)) : n[o] = new Zt(t, s[o]);
147
+ p = a.call(t, s[o], o, s) + "", (c = u.get(p)) ? (r[o] = c, c.__data__ = s[o], u.delete(p)) : n[o] = new Xt(t, s[o]);
148
148
  for (o = 0; o < f; ++o)
149
149
  (c = e[o]) && u.get(h[o]) === c && (i[o] = c);
150
150
  }
151
- function ui(t) {
151
+ function oi(t) {
152
152
  return t.__data__;
153
153
  }
154
- function fi(t, e) {
155
- if (!arguments.length) return Array.from(this, ui);
156
- var n = e ? ci : oi, r = this._parents, i = this._groups;
157
- typeof t != "function" && (t = ai(t));
154
+ function ci(t, e) {
155
+ if (!arguments.length) return Array.from(this, oi);
156
+ var n = e ? ai : si, r = this._parents, i = this._groups;
157
+ typeof t != "function" && (t = ii(t));
158
158
  for (var s = i.length, a = new Array(s), o = new Array(s), c = new Array(s), u = 0; u < s; ++u) {
159
- var f = r[u], l = i[u], h = l.length, p = li(t.call(f, f && f.__data__, u, r)), g = p.length, d = o[u] = new Array(g), y = a[u] = new Array(g), m = c[u] = new Array(h);
160
- n(f, l, d, y, m, p, e);
161
- for (var v = 0, _ = 0, E, w; v < g; ++v)
162
- if (E = d[v]) {
163
- for (v >= _ && (_ = v + 1); !(w = y[_]) && ++_ < g; ) ;
164
- E._next = w || null;
159
+ var f = r[u], l = i[u], h = l.length, p = ui(t.call(f, f && f.__data__, u, r)), g = p.length, d = o[u] = new Array(g), v = a[u] = new Array(g), w = c[u] = new Array(h);
160
+ n(f, l, d, v, w, p, e);
161
+ for (var m = 0, y = 0, E, _; m < g; ++m)
162
+ if (E = d[m]) {
163
+ for (m >= y && (y = m + 1); !(_ = v[y]) && ++y < g; ) ;
164
+ E._next = _ || null;
165
165
  }
166
166
  }
167
- return a = new M(a, r), a._enter = o, a._exit = c, a;
167
+ return a = new z(a, r), a._enter = o, a._exit = c, a;
168
168
  }
169
- function li(t) {
169
+ function ui(t) {
170
170
  return typeof t == "object" && "length" in t ? t : Array.from(t);
171
171
  }
172
- function hi() {
173
- return new M(this._exit || this._groups.map(Vn), this._parents);
172
+ function fi() {
173
+ return new z(this._exit || this._groups.map(Wn), this._parents);
174
174
  }
175
- function di(t, e, n) {
175
+ function li(t, e, n) {
176
176
  var r = this.enter(), i = this, s = this.exit();
177
177
  return typeof t == "function" ? (r = t(r), r && (r = r.selection())) : r = r.append(t + ""), e != null && (i = e(i), i && (i = i.selection())), n == null ? s.remove() : n(s), r && i ? r.merge(i).order() : i;
178
178
  }
179
- function gi(t) {
179
+ function hi(t) {
180
180
  for (var e = t.selection ? t.selection() : t, n = this._groups, r = e._groups, i = n.length, s = r.length, a = Math.min(i, s), o = new Array(i), c = 0; c < a; ++c)
181
181
  for (var u = n[c], f = r[c], l = u.length, h = o[c] = new Array(l), p, g = 0; g < l; ++g)
182
182
  (p = u[g] || f[g]) && (h[g] = p);
183
183
  for (; c < i; ++c)
184
184
  o[c] = n[c];
185
- return new M(o, this._parents);
185
+ return new z(o, this._parents);
186
186
  }
187
- function pi() {
187
+ function di() {
188
188
  for (var t = this._groups, e = -1, n = t.length; ++e < n; )
189
189
  for (var r = t[e], i = r.length - 1, s = r[i], a; --i >= 0; )
190
190
  (a = r[i]) && (s && a.compareDocumentPosition(s) ^ 4 && s.parentNode.insertBefore(a, s), s = a);
191
191
  return this;
192
192
  }
193
- function vi(t) {
194
- t || (t = mi);
193
+ function gi(t) {
194
+ t || (t = pi);
195
195
  function e(l, h) {
196
196
  return l && h ? t(l.__data__, h.__data__) : !l - !h;
197
197
  }
@@ -200,19 +200,19 @@ function vi(t) {
200
200
  (u = a[f]) && (c[f] = u);
201
201
  c.sort(e);
202
202
  }
203
- return new M(i, this._parents).order();
203
+ return new z(i, this._parents).order();
204
204
  }
205
- function mi(t, e) {
205
+ function pi(t, e) {
206
206
  return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
207
207
  }
208
- function yi() {
208
+ function vi() {
209
209
  var t = arguments[0];
210
210
  return arguments[0] = this, t.apply(null, arguments), this;
211
211
  }
212
- function _i() {
212
+ function mi() {
213
213
  return Array.from(this);
214
214
  }
215
- function wi() {
215
+ function yi() {
216
216
  for (var t = this._groups, e = 0, n = t.length; e < n; ++e)
217
217
  for (var r = t[e], i = 0, s = r.length; i < s; ++i) {
218
218
  var a = r[i];
@@ -220,64 +220,64 @@ function wi() {
220
220
  }
221
221
  return null;
222
222
  }
223
- function xi() {
223
+ function wi() {
224
224
  let t = 0;
225
225
  for (const e of this) ++t;
226
226
  return t;
227
227
  }
228
- function bi() {
228
+ function _i() {
229
229
  return !this.node();
230
230
  }
231
- function Ai(t) {
231
+ function xi(t) {
232
232
  for (var e = this._groups, n = 0, r = e.length; n < r; ++n)
233
233
  for (var i = e[n], s = 0, a = i.length, o; s < a; ++s)
234
234
  (o = i[s]) && t.call(o, o.__data__, s, i);
235
235
  return this;
236
236
  }
237
- function Si(t) {
237
+ function bi(t) {
238
238
  return function() {
239
239
  this.removeAttribute(t);
240
240
  };
241
241
  }
242
- function Ei(t) {
242
+ function Ai(t) {
243
243
  return function() {
244
244
  this.removeAttributeNS(t.space, t.local);
245
245
  };
246
246
  }
247
- function Ti(t, e) {
247
+ function Si(t, e) {
248
248
  return function() {
249
249
  this.setAttribute(t, e);
250
250
  };
251
251
  }
252
- function Ci(t, e) {
252
+ function Ei(t, e) {
253
253
  return function() {
254
254
  this.setAttributeNS(t.space, t.local, e);
255
255
  };
256
256
  }
257
- function $i(t, e) {
257
+ function Ti(t, e) {
258
258
  return function() {
259
259
  var n = e.apply(this, arguments);
260
260
  n == null ? this.removeAttribute(t) : this.setAttribute(t, n);
261
261
  };
262
262
  }
263
- function Ri(t, e) {
263
+ function Ci(t, e) {
264
264
  return function() {
265
265
  var n = e.apply(this, arguments);
266
266
  n == null ? this.removeAttributeNS(t.space, t.local) : this.setAttributeNS(t.space, t.local, n);
267
267
  };
268
268
  }
269
- function Oi(t, e) {
270
- var n = ue(t);
269
+ function $i(t, e) {
270
+ var n = ae(t);
271
271
  if (arguments.length < 2) {
272
272
  var r = this.node();
273
273
  return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
274
274
  }
275
- return this.each((e == null ? n.local ? Ei : Si : typeof e == "function" ? n.local ? Ri : $i : n.local ? Ci : Ti)(n, e));
275
+ return this.each((e == null ? n.local ? Ai : bi : typeof e == "function" ? n.local ? Ci : Ti : n.local ? Ei : Si)(n, e));
276
276
  }
277
- function Wn(t) {
277
+ function Un(t) {
278
278
  return t.ownerDocument && t.ownerDocument.defaultView || t.document && t || t.defaultView;
279
279
  }
280
- function ki(t) {
280
+ function Ri(t) {
281
281
  return function() {
282
282
  this.style.removeProperty(t);
283
283
  };
@@ -287,47 +287,47 @@ function Ni(t, e, n) {
287
287
  this.style.setProperty(t, e, n);
288
288
  };
289
289
  }
290
- function Mi(t, e, n) {
290
+ function Oi(t, e, n) {
291
291
  return function() {
292
292
  var r = e.apply(this, arguments);
293
293
  r == null ? this.style.removeProperty(t) : this.style.setProperty(t, r, n);
294
294
  };
295
295
  }
296
- function zi(t, e, n) {
297
- return arguments.length > 1 ? this.each((e == null ? ki : typeof e == "function" ? Mi : Ni)(t, e, n ?? "")) : ot(this.node(), t);
296
+ function ki(t, e, n) {
297
+ return arguments.length > 1 ? this.each((e == null ? Ri : typeof e == "function" ? Oi : Ni)(t, e, n ?? "")) : st(this.node(), t);
298
298
  }
299
- function ot(t, e) {
300
- return t.style.getPropertyValue(e) || Wn(t).getComputedStyle(t, null).getPropertyValue(e);
299
+ function st(t, e) {
300
+ return t.style.getPropertyValue(e) || Un(t).getComputedStyle(t, null).getPropertyValue(e);
301
301
  }
302
- function Ii(t) {
302
+ function zi(t) {
303
303
  return function() {
304
304
  delete this[t];
305
305
  };
306
306
  }
307
- function Fi(t, e) {
307
+ function Mi(t, e) {
308
308
  return function() {
309
309
  this[t] = e;
310
310
  };
311
311
  }
312
- function Di(t, e) {
312
+ function Fi(t, e) {
313
313
  return function() {
314
314
  var n = e.apply(this, arguments);
315
315
  n == null ? delete this[t] : this[t] = n;
316
316
  };
317
317
  }
318
- function Li(t, e) {
319
- return arguments.length > 1 ? this.each((e == null ? Ii : typeof e == "function" ? Di : Fi)(t, e)) : this.node()[t];
318
+ function Ii(t, e) {
319
+ return arguments.length > 1 ? this.each((e == null ? zi : typeof e == "function" ? Fi : Mi)(t, e)) : this.node()[t];
320
320
  }
321
- function Un(t) {
321
+ function qn(t) {
322
322
  return t.trim().split(/^|\s+/);
323
323
  }
324
- function Ie(t) {
325
- return t.classList || new qn(t);
324
+ function Fe(t) {
325
+ return t.classList || new Xn(t);
326
326
  }
327
- function qn(t) {
328
- this._node = t, this._names = Un(t.getAttribute("class") || "");
327
+ function Xn(t) {
328
+ this._node = t, this._names = qn(t.getAttribute("class") || "");
329
329
  }
330
- qn.prototype = {
330
+ Xn.prototype = {
331
331
  add: function(t) {
332
332
  var e = this._names.indexOf(t);
333
333
  e < 0 && (this._names.push(t), this._node.setAttribute("class", this._names.join(" ")));
@@ -340,129 +340,129 @@ qn.prototype = {
340
340
  return this._names.indexOf(t) >= 0;
341
341
  }
342
342
  };
343
- function Xn(t, e) {
344
- for (var n = Ie(t), r = -1, i = e.length; ++r < i; ) n.add(e[r]);
345
- }
346
343
  function Gn(t, e) {
347
- for (var n = Ie(t), r = -1, i = e.length; ++r < i; ) n.remove(e[r]);
344
+ for (var n = Fe(t), r = -1, i = e.length; ++r < i; ) n.add(e[r]);
345
+ }
346
+ function Yn(t, e) {
347
+ for (var n = Fe(t), r = -1, i = e.length; ++r < i; ) n.remove(e[r]);
348
348
  }
349
- function Bi(t) {
349
+ function Di(t) {
350
350
  return function() {
351
- Xn(this, t);
351
+ Gn(this, t);
352
352
  };
353
353
  }
354
- function Hi(t) {
354
+ function Li(t) {
355
355
  return function() {
356
- Gn(this, t);
356
+ Yn(this, t);
357
357
  };
358
358
  }
359
- function Pi(t, e) {
359
+ function Hi(t, e) {
360
360
  return function() {
361
- (e.apply(this, arguments) ? Xn : Gn)(this, t);
361
+ (e.apply(this, arguments) ? Gn : Yn)(this, t);
362
362
  };
363
363
  }
364
- function Vi(t, e) {
365
- var n = Un(t + "");
364
+ function Pi(t, e) {
365
+ var n = qn(t + "");
366
366
  if (arguments.length < 2) {
367
- for (var r = Ie(this.node()), i = -1, s = n.length; ++i < s; ) if (!r.contains(n[i])) return !1;
367
+ for (var r = Fe(this.node()), i = -1, s = n.length; ++i < s; ) if (!r.contains(n[i])) return !1;
368
368
  return !0;
369
369
  }
370
- return this.each((typeof e == "function" ? Pi : e ? Bi : Hi)(n, e));
370
+ return this.each((typeof e == "function" ? Hi : e ? Di : Li)(n, e));
371
371
  }
372
- function Wi() {
372
+ function Bi() {
373
373
  this.textContent = "";
374
374
  }
375
- function Ui(t) {
375
+ function Vi(t) {
376
376
  return function() {
377
377
  this.textContent = t;
378
378
  };
379
379
  }
380
- function qi(t) {
380
+ function Wi(t) {
381
381
  return function() {
382
382
  var e = t.apply(this, arguments);
383
383
  this.textContent = e ?? "";
384
384
  };
385
385
  }
386
- function Xi(t) {
387
- return arguments.length ? this.each(t == null ? Wi : (typeof t == "function" ? qi : Ui)(t)) : this.node().textContent;
386
+ function Ui(t) {
387
+ return arguments.length ? this.each(t == null ? Bi : (typeof t == "function" ? Wi : Vi)(t)) : this.node().textContent;
388
388
  }
389
- function Gi() {
389
+ function qi() {
390
390
  this.innerHTML = "";
391
391
  }
392
- function Yi(t) {
392
+ function Xi(t) {
393
393
  return function() {
394
394
  this.innerHTML = t;
395
395
  };
396
396
  }
397
- function Zi(t) {
397
+ function Gi(t) {
398
398
  return function() {
399
399
  var e = t.apply(this, arguments);
400
400
  this.innerHTML = e ?? "";
401
401
  };
402
402
  }
403
- function Ki(t) {
404
- return arguments.length ? this.each(t == null ? Gi : (typeof t == "function" ? Zi : Yi)(t)) : this.node().innerHTML;
403
+ function Yi(t) {
404
+ return arguments.length ? this.each(t == null ? qi : (typeof t == "function" ? Gi : Xi)(t)) : this.node().innerHTML;
405
405
  }
406
- function Ji() {
406
+ function Zi() {
407
407
  this.nextSibling && this.parentNode.appendChild(this);
408
408
  }
409
- function Qi() {
410
- return this.each(Ji);
409
+ function Ki() {
410
+ return this.each(Zi);
411
411
  }
412
- function ji() {
412
+ function Ji() {
413
413
  this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
414
414
  }
415
- function ts() {
416
- return this.each(ji);
415
+ function Qi() {
416
+ return this.each(Ji);
417
417
  }
418
- function es(t) {
419
- var e = typeof t == "function" ? t : Ln(t);
418
+ function ji(t) {
419
+ var e = typeof t == "function" ? t : Hn(t);
420
420
  return this.select(function() {
421
421
  return this.appendChild(e.apply(this, arguments));
422
422
  });
423
423
  }
424
- function ns() {
424
+ function ts() {
425
425
  return null;
426
426
  }
427
- function rs(t, e) {
428
- var n = typeof t == "function" ? t : Ln(t), r = e == null ? ns : typeof e == "function" ? e : ze(e);
427
+ function es(t, e) {
428
+ var n = typeof t == "function" ? t : Hn(t), r = e == null ? ts : typeof e == "function" ? e : Me(e);
429
429
  return this.select(function() {
430
430
  return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
431
431
  });
432
432
  }
433
- function is() {
433
+ function ns() {
434
434
  var t = this.parentNode;
435
435
  t && t.removeChild(this);
436
436
  }
437
- function ss() {
438
- return this.each(is);
437
+ function rs() {
438
+ return this.each(ns);
439
439
  }
440
- function as() {
440
+ function is() {
441
441
  var t = this.cloneNode(!1), e = this.parentNode;
442
442
  return e ? e.insertBefore(t, this.nextSibling) : t;
443
443
  }
444
- function os() {
444
+ function ss() {
445
445
  var t = this.cloneNode(!0), e = this.parentNode;
446
446
  return e ? e.insertBefore(t, this.nextSibling) : t;
447
447
  }
448
- function cs(t) {
449
- return this.select(t ? os : as);
448
+ function as(t) {
449
+ return this.select(t ? ss : is);
450
450
  }
451
- function us(t) {
451
+ function os(t) {
452
452
  return arguments.length ? this.property("__data__", t) : this.node().__data__;
453
453
  }
454
- function fs(t) {
454
+ function cs(t) {
455
455
  return function(e) {
456
456
  t.call(this, e, this.__data__);
457
457
  };
458
458
  }
459
- function ls(t) {
459
+ function us(t) {
460
460
  return t.trim().split(/^|\s+/).map(function(e) {
461
461
  var n = "", r = e.indexOf(".");
462
462
  return r >= 0 && (n = e.slice(r + 1), e = e.slice(0, r)), { type: e, name: n };
463
463
  });
464
464
  }
465
- function hs(t) {
465
+ function fs(t) {
466
466
  return function() {
467
467
  var e = this.__on;
468
468
  if (e) {
@@ -472,9 +472,9 @@ function hs(t) {
472
472
  }
473
473
  };
474
474
  }
475
- function ds(t, e, n) {
475
+ function ls(t, e, n) {
476
476
  return function() {
477
- var r = this.__on, i, s = fs(e);
477
+ var r = this.__on, i, s = cs(e);
478
478
  if (r) {
479
479
  for (var a = 0, o = r.length; a < o; ++a)
480
480
  if ((i = r[a]).type === t.type && i.name === t.name) {
@@ -485,8 +485,8 @@ function ds(t, e, n) {
485
485
  this.addEventListener(t.type, s, n), i = { type: t.type, name: t.name, value: e, listener: s, options: n }, r ? r.push(i) : this.__on = [i];
486
486
  };
487
487
  }
488
- function gs(t, e, n) {
489
- var r = ls(t + ""), i, s = r.length, a;
488
+ function hs(t, e, n) {
489
+ var r = us(t + ""), i, s = r.length, a;
490
490
  if (arguments.length < 2) {
491
491
  var o = this.node().__on;
492
492
  if (o) {
@@ -497,99 +497,99 @@ function gs(t, e, n) {
497
497
  }
498
498
  return;
499
499
  }
500
- for (o = e ? ds : hs, i = 0; i < s; ++i) this.each(o(r[i], e, n));
500
+ for (o = e ? ls : fs, i = 0; i < s; ++i) this.each(o(r[i], e, n));
501
501
  return this;
502
502
  }
503
- function Yn(t, e, n) {
504
- var r = Wn(t), i = r.CustomEvent;
503
+ function Zn(t, e, n) {
504
+ var r = Un(t), i = r.CustomEvent;
505
505
  typeof i == "function" ? i = new i(e, n) : (i = r.document.createEvent("Event"), n ? (i.initEvent(e, n.bubbles, n.cancelable), i.detail = n.detail) : i.initEvent(e, !1, !1)), t.dispatchEvent(i);
506
506
  }
507
- function ps(t, e) {
507
+ function ds(t, e) {
508
508
  return function() {
509
- return Yn(this, t, e);
509
+ return Zn(this, t, e);
510
510
  };
511
511
  }
512
- function vs(t, e) {
512
+ function gs(t, e) {
513
513
  return function() {
514
- return Yn(this, t, e.apply(this, arguments));
514
+ return Zn(this, t, e.apply(this, arguments));
515
515
  };
516
516
  }
517
- function ms(t, e) {
518
- return this.each((typeof e == "function" ? vs : ps)(t, e));
517
+ function ps(t, e) {
518
+ return this.each((typeof e == "function" ? gs : ds)(t, e));
519
519
  }
520
- function* ys() {
520
+ function* vs() {
521
521
  for (var t = this._groups, e = 0, n = t.length; e < n; ++e)
522
522
  for (var r = t[e], i = 0, s = r.length, a; i < s; ++i)
523
523
  (a = r[i]) && (yield a);
524
524
  }
525
- var Zn = [null];
526
- function M(t, e) {
525
+ var Kn = [null];
526
+ function z(t, e) {
527
527
  this._groups = t, this._parents = e;
528
528
  }
529
- function $t() {
530
- return new M([[document.documentElement]], Zn);
529
+ function Tt() {
530
+ return new z([[document.documentElement]], Kn);
531
531
  }
532
- function _s() {
532
+ function ms() {
533
533
  return this;
534
534
  }
535
- M.prototype = $t.prototype = {
536
- constructor: M,
537
- select: qr,
538
- selectAll: Zr,
539
- selectChild: jr,
540
- selectChildren: ri,
541
- filter: ii,
542
- data: fi,
543
- enter: si,
544
- exit: hi,
545
- join: di,
546
- merge: gi,
547
- selection: _s,
548
- order: pi,
549
- sort: vi,
550
- call: yi,
551
- nodes: _i,
552
- node: wi,
553
- size: xi,
554
- empty: bi,
555
- each: Ai,
556
- attr: Oi,
557
- style: zi,
558
- property: Li,
559
- classed: Vi,
560
- text: Xi,
561
- html: Ki,
562
- raise: Qi,
563
- lower: ts,
564
- append: es,
565
- insert: rs,
566
- remove: ss,
567
- clone: cs,
568
- datum: us,
569
- on: gs,
570
- dispatch: ms,
571
- [Symbol.iterator]: ys
535
+ z.prototype = Tt.prototype = {
536
+ constructor: z,
537
+ select: Wr,
538
+ selectAll: Gr,
539
+ selectChild: Jr,
540
+ selectChildren: ei,
541
+ filter: ni,
542
+ data: ci,
543
+ enter: ri,
544
+ exit: fi,
545
+ join: li,
546
+ merge: hi,
547
+ selection: ms,
548
+ order: di,
549
+ sort: gi,
550
+ call: vi,
551
+ nodes: mi,
552
+ node: yi,
553
+ size: wi,
554
+ empty: _i,
555
+ each: xi,
556
+ attr: $i,
557
+ style: ki,
558
+ property: Ii,
559
+ classed: Pi,
560
+ text: Ui,
561
+ html: Yi,
562
+ raise: Ki,
563
+ lower: Qi,
564
+ append: ji,
565
+ insert: es,
566
+ remove: rs,
567
+ clone: as,
568
+ datum: os,
569
+ on: hs,
570
+ dispatch: ps,
571
+ [Symbol.iterator]: vs
572
572
  };
573
573
  function be(t) {
574
- return typeof t == "string" ? new M([[document.querySelector(t)]], [document.documentElement]) : new M([[t]], Zn);
574
+ return typeof t == "string" ? new z([[document.querySelector(t)]], [document.documentElement]) : new z([[t]], Kn);
575
575
  }
576
- var mt;
576
+ var pt;
577
577
  (function(t) {
578
578
  t[t.SVG = 0] = "SVG", t[t.HTML = 1] = "HTML";
579
- })(mt || (mt = {}));
580
- var ct;
579
+ })(pt || (pt = {}));
580
+ var at;
581
581
  (function(t) {
582
582
  t.Fit = "fit", t.Extend = "extend", t.FitWidth = "fit_width";
583
- })(ct || (ct = {}));
584
- function Lt(t, e) {
583
+ })(at || (at = {}));
584
+ function he(t, e) {
585
585
  return t == null || e == null ? NaN : t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
586
586
  }
587
- function ws(t, e) {
587
+ function ys(t, e) {
588
588
  return t == null || e == null ? NaN : e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
589
589
  }
590
- function Kn(t) {
590
+ function ws(t) {
591
591
  let e, n, r;
592
- t.length !== 2 ? (e = Lt, n = (o, c) => Lt(t(o), c), r = (o, c) => t(o) - c) : (e = t === Lt || t === ws ? t : xs, n = t, r = t);
592
+ t.length !== 2 ? (e = he, n = (o, c) => he(t(o), c), r = (o, c) => t(o) - c) : (e = t === he || t === ys ? t : _s, n = t, r = t);
593
593
  function i(o, c, u = 0, f = o.length) {
594
594
  if (u < f) {
595
595
  if (e(c, c) !== 0) return f;
@@ -616,14 +616,9 @@ function Kn(t) {
616
616
  }
617
617
  return { left: i, center: a, right: s };
618
618
  }
619
- function xs() {
619
+ function _s() {
620
620
  return 0;
621
621
  }
622
- function bs(t) {
623
- return t === null ? NaN : +t;
624
- }
625
- const Jn = Kn(Lt), As = Jn.right, Ss = Jn.left;
626
- Kn(bs).center;
627
622
  function Je(t, e) {
628
623
  let n;
629
624
  if (e === void 0)
@@ -648,7 +643,7 @@ function Qe(t, e) {
648
643
  }
649
644
  return n;
650
645
  }
651
- function Es(t, e) {
646
+ function xs(t, e) {
652
647
  let n = 0, r = 0;
653
648
  if (e === void 0)
654
649
  for (let i of t)
@@ -660,7 +655,7 @@ function Es(t, e) {
660
655
  }
661
656
  if (n) return r / n;
662
657
  }
663
- function Ts(t, e) {
658
+ function bs(t, e) {
664
659
  let n = 0;
665
660
  if (e === void 0)
666
661
  for (let r of t)
@@ -672,36 +667,32 @@ function Ts(t, e) {
672
667
  }
673
668
  return n;
674
669
  }
675
- function Cs(t, e, n) {
670
+ function As(t, e, n) {
676
671
  var r = {}, i = r.noTrailing, s = i === void 0 ? !1 : i, a = r.noLeading, o = a === void 0 ? !1 : a, c = r.debounceMode, u = c === void 0 ? void 0 : c, f, l = !1, h = 0;
677
672
  function p() {
678
673
  f && clearTimeout(f);
679
674
  }
680
- function g(y) {
681
- var m = y || {}, v = m.upcomingOnly, _ = v === void 0 ? !1 : v;
682
- p(), l = !_;
675
+ function g(v) {
676
+ var w = v || {}, m = w.upcomingOnly, y = m === void 0 ? !1 : m;
677
+ p(), l = !y;
683
678
  }
684
679
  function d() {
685
- for (var y = arguments.length, m = new Array(y), v = 0; v < y; v++)
686
- m[v] = arguments[v];
687
- var _ = this, E = Date.now() - h;
680
+ for (var v = arguments.length, w = new Array(v), m = 0; m < v; m++)
681
+ w[m] = arguments[m];
682
+ var y = this, E = Date.now() - h;
688
683
  if (l)
689
684
  return;
690
- function w() {
691
- h = Date.now(), e.apply(_, m);
685
+ function _() {
686
+ h = Date.now(), e.apply(y, w);
692
687
  }
693
- function b() {
688
+ function S() {
694
689
  f = void 0;
695
690
  }
696
- !o && u && !f && w(), p(), u === void 0 && E > t ? o ? (h = Date.now(), s || (f = setTimeout(u ? b : w, t))) : w() : s !== !0 && (f = setTimeout(u ? b : w, u === void 0 ? t - E : t));
691
+ !o && u && !f && _(), p(), u === void 0 && E > t ? o ? (h = Date.now(), s || (f = setTimeout(u ? S : _, t))) : _() : s !== !0 && (f = setTimeout(u ? S : _, u === void 0 ? t - E : t));
697
692
  }
698
693
  return d.cancel = g, d;
699
694
  }
700
- var Y;
701
- (function(t) {
702
- t.Left = "left", t.Right = "right", t.Auto = "auto";
703
- })(Y || (Y = {}));
704
- const Fe = (t) => typeof t == "number", Qn = (t) => typeof t == "function", De = (t) => Array.isArray(t), $s = (t) => t instanceof Object, Kt = (t) => t.constructor.name !== "Function" && t.constructor.name !== "Object", je = (t) => $s(t) && !De(t) && !Qn(t) && !Kt(t), eu = (t) => [Object, Array].includes((t || {}).constructor) && !Object.entries(t || {}).length, Jt = (t, e, n = [], r = /* @__PURE__ */ new Set()) => {
695
+ const Ie = (t) => typeof t == "number", Jn = (t) => typeof t == "function", De = (t) => Array.isArray(t), Ss = (t) => t instanceof Object, Gt = (t) => t.constructor.name !== "Function" && t.constructor.name !== "Object", je = (t) => Ss(t) && !De(t) && !Jn(t) && !Gt(t), tu = (t) => [Object, Array].includes((t || {}).constructor) && !Object.entries(t || {}).length, Yt = (t, e, n = [], r = /* @__PURE__ */ new Set()) => {
705
696
  if (Array.isArray(t)) {
706
697
  if (!Array.isArray(e) || t.length !== e.length)
707
698
  return !1;
@@ -709,7 +700,7 @@ const Fe = (t) => typeof t == "number", Qn = (t) => typeof t == "function", De =
709
700
  return !0;
710
701
  r.add(t);
711
702
  for (let i = 0; i < t.length; i++)
712
- if (!Jt(t[i], e[i], n, r))
703
+ if (!Yt(t[i], e[i], n, r))
713
704
  return !1;
714
705
  return !0;
715
706
  }
@@ -727,12 +718,12 @@ const Fe = (t) => typeof t == "number", Qn = (t) => typeof t == "function", De =
727
718
  return !0;
728
719
  r.add(t);
729
720
  for (const a of i)
730
- if (!Jt(t[a], e[a], n, r))
721
+ if (!Yt(t[a], e[a], n, r))
731
722
  return !1;
732
723
  return !0;
733
724
  }
734
725
  return t === e;
735
- }, Rs = (t) => t.flat(), Qt = (t, e = /* @__PURE__ */ new Map()) => {
726
+ }, Es = (t) => t.flat(), Zt = (t, e = /* @__PURE__ */ new Map()) => {
736
727
  if (typeof t != "object" || t === null)
737
728
  return t;
738
729
  if (t instanceof Date)
@@ -741,42 +732,42 @@ const Fe = (t) => typeof t == "number", Qn = (t) => typeof t == "function", De =
741
732
  const n = [];
742
733
  e.set(t, n);
743
734
  for (const r of t)
744
- n.push(e.has(r) ? e.get(r) : Qt(r, e));
735
+ n.push(e.has(r) ? e.get(r) : Zt(r, e));
745
736
  return n;
746
737
  }
747
- if (Kt(t))
738
+ if (Gt(t))
748
739
  return t;
749
740
  if (t instanceof Object) {
750
741
  const n = {};
751
742
  e.set(t, n);
752
743
  const r = t;
753
- return Object.keys(t).reduce((i, s) => (i[s] = e.has(r[s]) ? e.get(r[s]) : Qt(r[s], e), i), n), n;
744
+ return Object.keys(t).reduce((i, s) => (i[s] = e.has(r[s]) ? e.get(r[s]) : Zt(r[s], e), i), n), n;
754
745
  }
755
746
  return t;
756
- }, xt = (t, e, n = /* @__PURE__ */ new Map()) => {
747
+ }, wt = (t, e, n = /* @__PURE__ */ new Map()) => {
757
748
  if (!t || !e || t === e)
758
749
  return t;
759
- const r = Kt(t) ? t : Qt(t);
750
+ const r = Gt(t) ? t : Zt(t);
760
751
  return n.has(e) ? n.get(e) : (n.set(e, r), Object.keys(e).forEach((i) => {
761
- i === "__proto__" || i === "constructor" || (je(t[i]) && je(e[i]) ? r[i] = xt(t[i], e[i], n) : Kt(e) ? r[i] = e : r[i] = Qt(e[i]));
752
+ i === "__proto__" || i === "constructor" || (je(t[i]) && je(e[i]) ? r[i] = wt(t[i], e[i], n) : Gt(e) ? r[i] = e : r[i] = Zt(e[i]));
762
753
  }), r);
763
- }, tn = (t, e, n) => Cs(e, t);
764
- function jn(t, e, n) {
765
- return Qn(e) ? e(t, n) : e;
754
+ }, tn = (t, e, n) => As(e, t);
755
+ function Qn(t, e, n) {
756
+ return Jn(e) ? e(t, n) : e;
766
757
  }
767
- function Os(t, e, n) {
768
- return jn(t, e, n);
758
+ function Ts(t, e, n) {
759
+ return Qn(t, e, n);
769
760
  }
770
- function I(t, e, n) {
771
- return jn(t, e, n);
761
+ function U(t, e, n) {
762
+ return Qn(t, e, n);
772
763
  }
773
- function nu(t) {
774
- return t.filter((e) => e && !Fe(e));
764
+ function eu(t) {
765
+ return t.filter((e) => e && !Ie(e));
775
766
  }
776
767
  function en(t, e, n) {
777
768
  return Math.min(Math.max(t, e), n);
778
769
  }
779
- function ru(t, ...e) {
770
+ function nu(t, ...e) {
780
771
  if (!t)
781
772
  return [void 0, void 0];
782
773
  if (De(e)) {
@@ -784,96 +775,87 @@ function ru(t, ...e) {
784
775
  return t.forEach((i, s) => {
785
776
  let a = 0, o = 0;
786
777
  for (const c of e) {
787
- const u = I(i, c, s) || 0;
778
+ const u = U(i, c, s) || 0;
788
779
  u >= 0 ? a += u : o += u;
789
780
  }
790
781
  a > r && (r = a), o < n && (n = o);
791
782
  }), [n, r];
792
783
  }
793
784
  }
794
- function iu(t, e, ...n) {
785
+ function ru(t, e, ...n) {
795
786
  const r = [];
796
787
  let i = 0, s = 0;
797
788
  for (const a of n) {
798
- const o = I(t, a, e) || 0;
789
+ const o = U(t, a, e) || 0;
799
790
  o >= 0 ? r.push(i += o) : r.push(s += o);
800
791
  }
801
792
  return r;
802
793
  }
803
- function su(t, e, n, r) {
804
- const i = t.map((o, c) => I(o, e, c) || 0), s = n.map((o, c) => {
805
- const u = Es(t, (f, l) => I(f, o, l) || 0);
794
+ function iu(t, e, n, r) {
795
+ const i = t.map((o, c) => U(o, e, c) || 0), s = n.map((o, c) => {
796
+ const u = xs(t, (f, l) => U(f, o, l) || 0);
806
797
  return u === 0 && Array.isArray(r) ? r[c] : u < 0;
807
798
  }), a = n.map(() => []);
808
799
  return t.forEach((o, c) => {
809
800
  let u = i[c], f = i[c];
810
801
  n.forEach((l, h) => {
811
- const p = I(o, l, c) || 0;
802
+ const p = U(o, l, c) || 0;
812
803
  p >= 0 ? a[h].push([u, u += p]) : a[h].push([f, f += p]);
813
804
  });
814
805
  }), a.forEach((o, c) => {
815
806
  o.isMostlyNegative = s[c];
816
807
  }), a;
817
808
  }
818
- function ks(t, ...e) {
819
- return t ? Qe(t, (r, i) => Qe(e, (s) => I(r, s, i))) : void 0;
809
+ function Cs(t, ...e) {
810
+ return t ? Qe(t, (r, i) => Qe(e, (s) => U(r, s, i))) : void 0;
820
811
  }
821
- function Ns(t, ...e) {
822
- return t ? Je(t, (r, i) => Je(e, (s) => I(r, s, i))) : void 0;
812
+ function $s(t, ...e) {
813
+ return t ? Je(t, (r, i) => Je(e, (s) => U(r, s, i))) : void 0;
823
814
  }
824
- function au(t, ...e) {
825
- return [ks(t, ...e), Ns(t, ...e)];
815
+ function su(t, ...e) {
816
+ return [Cs(t, ...e), $s(t, ...e)];
826
817
  }
827
- function nn(t, e, n, r = Y.Auto) {
818
+ function au(t, e, n) {
828
819
  if (t.length <= 1)
829
820
  return t[0];
830
- const s = t.map((c, u) => [c, u]).sort(([c, u], [f, l]) => I(c, n, u) - I(f, n, l)), a = s.map(([c, u]) => I(c, n, u)), o = r === Y.Right ? Ss(a, e, 0, t.length - 1) : As(a, e, 1, t.length);
831
- return r === Y.Right ? s[o][0] : r === Y.Left ? s[o - 1][0] : e - a[o - 1] > a[o] - e ? s[o][0] : s[o - 1][0];
832
- }
833
- function ou(t, e, n, r = !1) {
834
- if (!n)
835
- return [];
836
- const i = t.filter((s, a) => {
837
- const o = I(s, n, a);
838
- return o >= e[0] && o <= e[1];
821
+ const r = t.map((a, o) => U(a, n, o));
822
+ r.sort((a, o) => a - o);
823
+ const i = ws((a) => a).left, s = i(r, e, 1, t.length - 1);
824
+ return e - r[s - 1] > r[s] - e ? t[s] : t[s - 1];
825
+ }
826
+ function ou(t, e, n) {
827
+ return t.filter((i, s) => {
828
+ const a = U(i, n, s);
829
+ return a >= e[0] && a <= e[1];
839
830
  });
840
- if (r) {
841
- if (i.length === 0) {
842
- const l = nn(t, e[0], n, Y.Left), h = nn(t, e[1], n, Y.Right);
843
- return [l, h].filter(Boolean);
844
- }
845
- const s = i[0], a = i[i.length - 1], o = t.findIndex((l) => l === s), c = t.findIndex((l) => l === a), u = Math.max(0, o - 1), f = Math.min(t.length - 1, c + 1);
846
- return t.slice(u, f + 1);
847
- }
848
- return i;
849
831
  }
850
- var Q = [], Ms = function() {
851
- return Q.some(function(t) {
832
+ var K = [], Rs = function() {
833
+ return K.some(function(t) {
852
834
  return t.activeTargets.length > 0;
853
835
  });
854
- }, zs = function() {
855
- return Q.some(function(t) {
836
+ }, Ns = function() {
837
+ return K.some(function(t) {
856
838
  return t.skippedTargets.length > 0;
857
839
  });
858
- }, rn = "ResizeObserver loop completed with undelivered notifications.", Is = function() {
840
+ }, nn = "ResizeObserver loop completed with undelivered notifications.", Os = function() {
859
841
  var t;
860
842
  typeof ErrorEvent == "function" ? t = new ErrorEvent("error", {
861
- message: rn
862
- }) : (t = document.createEvent("Event"), t.initEvent("error", !1, !1), t.message = rn), window.dispatchEvent(t);
863
- }, bt;
843
+ message: nn
844
+ }) : (t = document.createEvent("Event"), t.initEvent("error", !1, !1), t.message = nn), window.dispatchEvent(t);
845
+ }, _t;
864
846
  (function(t) {
865
847
  t.BORDER_BOX = "border-box", t.CONTENT_BOX = "content-box", t.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
866
- })(bt || (bt = {}));
867
- var j = function(t) {
848
+ })(_t || (_t = {}));
849
+ var J = function(t) {
868
850
  return Object.freeze(t);
869
- }, Fs = /* @__PURE__ */ (function() {
851
+ }, ks = /* @__PURE__ */ (function() {
870
852
  function t(e, n) {
871
- this.inlineSize = e, this.blockSize = n, j(this);
853
+ this.inlineSize = e, this.blockSize = n, J(this);
872
854
  }
873
855
  return t;
874
- })(), tr = (function() {
856
+ })(), jn = (function() {
875
857
  function t(e, n, r, i) {
876
- return this.x = e, this.y = n, this.width = r, this.height = i, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, j(this);
858
+ return this.x = e, this.y = n, this.width = r, this.height = i, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, J(this);
877
859
  }
878
860
  return t.prototype.toJSON = function() {
879
861
  var e = this, n = e.x, r = e.y, i = e.top, s = e.right, a = e.bottom, o = e.left, c = e.width, u = e.height;
@@ -883,20 +865,20 @@ var j = function(t) {
883
865
  }, t;
884
866
  })(), Le = function(t) {
885
867
  return t instanceof SVGElement && "getBBox" in t;
886
- }, er = function(t) {
868
+ }, tr = function(t) {
887
869
  if (Le(t)) {
888
870
  var e = t.getBBox(), n = e.width, r = e.height;
889
871
  return !n && !r;
890
872
  }
891
873
  var i = t, s = i.offsetWidth, a = i.offsetHeight;
892
874
  return !(s || a || t.getClientRects().length);
893
- }, sn = function(t) {
875
+ }, rn = function(t) {
894
876
  var e;
895
877
  if (t instanceof Element)
896
878
  return !0;
897
879
  var n = (e = t?.ownerDocument) === null || e === void 0 ? void 0 : e.defaultView;
898
880
  return !!(n && t instanceof n.Element);
899
- }, Ds = function(t) {
881
+ }, zs = function(t) {
900
882
  switch (t.tagName) {
901
883
  case "INPUT":
902
884
  if (t.type !== "image")
@@ -911,57 +893,57 @@ var j = function(t) {
911
893
  return !0;
912
894
  }
913
895
  return !1;
914
- }, yt = typeof window < "u" ? window : {}, kt = /* @__PURE__ */ new WeakMap(), an = /auto|scroll/, Ls = /^tb|vertical/, Bs = /msie|trident/i.test(yt.navigator && yt.navigator.userAgent), L = function(t) {
896
+ }, vt = typeof window < "u" ? window : {}, Rt = /* @__PURE__ */ new WeakMap(), sn = /auto|scroll/, Ms = /^tb|vertical/, Fs = /msie|trident/i.test(vt.navigator && vt.navigator.userAgent), I = function(t) {
915
897
  return parseFloat(t || "0");
916
- }, rt = function(t, e, n) {
917
- return t === void 0 && (t = 0), e === void 0 && (e = 0), n === void 0 && (n = !1), new Fs((n ? e : t) || 0, (n ? t : e) || 0);
918
- }, on = j({
919
- devicePixelContentBoxSize: rt(),
920
- borderBoxSize: rt(),
921
- contentBoxSize: rt(),
922
- contentRect: new tr(0, 0, 0, 0)
923
- }), nr = function(t, e) {
924
- if (e === void 0 && (e = !1), kt.has(t) && !e)
925
- return kt.get(t);
926
- if (er(t))
927
- return kt.set(t, on), on;
928
- var n = getComputedStyle(t), r = Le(t) && t.ownerSVGElement && t.getBBox(), i = !Bs && n.boxSizing === "border-box", s = Ls.test(n.writingMode || ""), a = !r && an.test(n.overflowY || ""), o = !r && an.test(n.overflowX || ""), c = r ? 0 : L(n.paddingTop), u = r ? 0 : L(n.paddingRight), f = r ? 0 : L(n.paddingBottom), l = r ? 0 : L(n.paddingLeft), h = r ? 0 : L(n.borderTopWidth), p = r ? 0 : L(n.borderRightWidth), g = r ? 0 : L(n.borderBottomWidth), d = r ? 0 : L(n.borderLeftWidth), y = l + u, m = c + f, v = d + p, _ = h + g, E = o ? t.offsetHeight - _ - t.clientHeight : 0, w = a ? t.offsetWidth - v - t.clientWidth : 0, b = i ? y + v : 0, x = i ? m + _ : 0, D = r ? r.width : L(n.width) - b - w, C = r ? r.height : L(n.height) - x - E, Lr = D + y + w + v, Br = C + m + E + _, Ye = j({
929
- devicePixelContentBoxSize: rt(Math.round(D * devicePixelRatio), Math.round(C * devicePixelRatio), s),
930
- borderBoxSize: rt(Lr, Br, s),
931
- contentBoxSize: rt(D, C, s),
932
- contentRect: new tr(l, c, D, C)
898
+ }, et = function(t, e, n) {
899
+ return t === void 0 && (t = 0), e === void 0 && (e = 0), n === void 0 && (n = !1), new ks((n ? e : t) || 0, (n ? t : e) || 0);
900
+ }, an = J({
901
+ devicePixelContentBoxSize: et(),
902
+ borderBoxSize: et(),
903
+ contentBoxSize: et(),
904
+ contentRect: new jn(0, 0, 0, 0)
905
+ }), er = function(t, e) {
906
+ if (e === void 0 && (e = !1), Rt.has(t) && !e)
907
+ return Rt.get(t);
908
+ if (tr(t))
909
+ return Rt.set(t, an), an;
910
+ var n = getComputedStyle(t), r = Le(t) && t.ownerSVGElement && t.getBBox(), i = !Fs && n.boxSizing === "border-box", s = Ms.test(n.writingMode || ""), a = !r && sn.test(n.overflowY || ""), o = !r && sn.test(n.overflowX || ""), c = r ? 0 : I(n.paddingTop), u = r ? 0 : I(n.paddingRight), f = r ? 0 : I(n.paddingBottom), l = r ? 0 : I(n.paddingLeft), h = r ? 0 : I(n.borderTopWidth), p = r ? 0 : I(n.borderRightWidth), g = r ? 0 : I(n.borderBottomWidth), d = r ? 0 : I(n.borderLeftWidth), v = l + u, w = c + f, m = d + p, y = h + g, E = o ? t.offsetHeight - y - t.clientHeight : 0, _ = a ? t.offsetWidth - m - t.clientWidth : 0, S = i ? v + m : 0, x = i ? w + y : 0, V = r ? r.width : I(n.width) - S - _, C = r ? r.height : I(n.height) - x - E, Ir = V + v + _ + m, Dr = C + w + E + y, Ye = J({
911
+ devicePixelContentBoxSize: et(Math.round(V * devicePixelRatio), Math.round(C * devicePixelRatio), s),
912
+ borderBoxSize: et(Ir, Dr, s),
913
+ contentBoxSize: et(V, C, s),
914
+ contentRect: new jn(l, c, V, C)
933
915
  });
934
- return kt.set(t, Ye), Ye;
935
- }, rr = function(t, e, n) {
936
- var r = nr(t, n), i = r.borderBoxSize, s = r.contentBoxSize, a = r.devicePixelContentBoxSize;
916
+ return Rt.set(t, Ye), Ye;
917
+ }, nr = function(t, e, n) {
918
+ var r = er(t, n), i = r.borderBoxSize, s = r.contentBoxSize, a = r.devicePixelContentBoxSize;
937
919
  switch (e) {
938
- case bt.DEVICE_PIXEL_CONTENT_BOX:
920
+ case _t.DEVICE_PIXEL_CONTENT_BOX:
939
921
  return a;
940
- case bt.BORDER_BOX:
922
+ case _t.BORDER_BOX:
941
923
  return i;
942
924
  default:
943
925
  return s;
944
926
  }
945
- }, Hs = /* @__PURE__ */ (function() {
927
+ }, Is = /* @__PURE__ */ (function() {
946
928
  function t(e) {
947
- var n = nr(e);
948
- this.target = e, this.contentRect = n.contentRect, this.borderBoxSize = j([n.borderBoxSize]), this.contentBoxSize = j([n.contentBoxSize]), this.devicePixelContentBoxSize = j([n.devicePixelContentBoxSize]);
929
+ var n = er(e);
930
+ this.target = e, this.contentRect = n.contentRect, this.borderBoxSize = J([n.borderBoxSize]), this.contentBoxSize = J([n.contentBoxSize]), this.devicePixelContentBoxSize = J([n.devicePixelContentBoxSize]);
949
931
  }
950
932
  return t;
951
- })(), ir = function(t) {
952
- if (er(t))
933
+ })(), rr = function(t) {
934
+ if (tr(t))
953
935
  return 1 / 0;
954
936
  for (var e = 0, n = t.parentNode; n; )
955
937
  e += 1, n = n.parentNode;
956
938
  return e;
957
- }, Ps = function() {
939
+ }, Ds = function() {
958
940
  var t = 1 / 0, e = [];
959
- Q.forEach(function(a) {
941
+ K.forEach(function(a) {
960
942
  if (a.activeTargets.length !== 0) {
961
943
  var o = [];
962
944
  a.activeTargets.forEach(function(u) {
963
- var f = new Hs(u.target), l = ir(u.target);
964
- o.push(f), u.lastReportedSize = rr(u.target, u.observedBox), l < t && (t = l);
945
+ var f = new Is(u.target), l = rr(u.target);
946
+ o.push(f), u.lastReportedSize = nr(u.target, u.observedBox), l < t && (t = l);
965
947
  }), e.push(function() {
966
948
  a.callback.call(a.observer, o, a.observer);
967
949
  }), a.activeTargets.splice(0, a.activeTargets.length);
@@ -972,38 +954,38 @@ var j = function(t) {
972
954
  i();
973
955
  }
974
956
  return t;
975
- }, cn = function(t) {
976
- Q.forEach(function(n) {
957
+ }, on = function(t) {
958
+ K.forEach(function(n) {
977
959
  n.activeTargets.splice(0, n.activeTargets.length), n.skippedTargets.splice(0, n.skippedTargets.length), n.observationTargets.forEach(function(i) {
978
- i.isActive() && (ir(i.target) > t ? n.activeTargets.push(i) : n.skippedTargets.push(i));
960
+ i.isActive() && (rr(i.target) > t ? n.activeTargets.push(i) : n.skippedTargets.push(i));
979
961
  });
980
962
  });
981
- }, Vs = function() {
963
+ }, Ls = function() {
982
964
  var t = 0;
983
- for (cn(t); Ms(); )
984
- t = Ps(), cn(t);
985
- return zs() && Is(), t > 0;
986
- }, pe, sr = [], Ws = function() {
987
- return sr.splice(0).forEach(function(t) {
965
+ for (on(t); Rs(); )
966
+ t = Ds(), on(t);
967
+ return Ns() && Os(), t > 0;
968
+ }, de, ir = [], Hs = function() {
969
+ return ir.splice(0).forEach(function(t) {
988
970
  return t();
989
971
  });
990
- }, Us = function(t) {
991
- if (!pe) {
972
+ }, Ps = function(t) {
973
+ if (!de) {
992
974
  var e = 0, n = document.createTextNode(""), r = { characterData: !0 };
993
975
  new MutationObserver(function() {
994
- return Ws();
995
- }).observe(n, r), pe = function() {
976
+ return Hs();
977
+ }).observe(n, r), de = function() {
996
978
  n.textContent = "".concat(e ? e-- : e++);
997
979
  };
998
980
  }
999
- sr.push(t), pe();
1000
- }, qs = function(t) {
1001
- Us(function() {
981
+ ir.push(t), de();
982
+ }, Bs = function(t) {
983
+ Ps(function() {
1002
984
  requestAnimationFrame(t);
1003
985
  });
1004
- }, Bt = 0, Xs = function() {
1005
- return !!Bt;
1006
- }, Gs = 250, Ys = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, un = [
986
+ }, It = 0, Vs = function() {
987
+ return !!It;
988
+ }, Ws = 250, Us = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, cn = [
1007
989
  "resize",
1008
990
  "load",
1009
991
  "transitionend",
@@ -1018,9 +1000,9 @@ var j = function(t) {
1018
1000
  "mouseout",
1019
1001
  "blur",
1020
1002
  "focus"
1021
- ], fn = function(t) {
1003
+ ], un = function(t) {
1022
1004
  return t === void 0 && (t = 0), Date.now() + t;
1023
- }, ve = !1, Zs = (function() {
1005
+ }, ge = !1, qs = (function() {
1024
1006
  function t() {
1025
1007
  var e = this;
1026
1008
  this.stopped = !0, this.listener = function() {
@@ -1029,15 +1011,15 @@ var j = function(t) {
1029
1011
  }
1030
1012
  return t.prototype.run = function(e) {
1031
1013
  var n = this;
1032
- if (e === void 0 && (e = Gs), !ve) {
1033
- ve = !0;
1034
- var r = fn(e);
1035
- qs(function() {
1014
+ if (e === void 0 && (e = Ws), !ge) {
1015
+ ge = !0;
1016
+ var r = un(e);
1017
+ Bs(function() {
1036
1018
  var i = !1;
1037
1019
  try {
1038
- i = Vs();
1020
+ i = Ls();
1039
1021
  } finally {
1040
- if (ve = !1, e = r - fn(), !Xs())
1022
+ if (ge = !1, e = r - un(), !Vs())
1041
1023
  return;
1042
1024
  i ? n.run(1e3) : e > 0 ? n.run(e) : n.start();
1043
1025
  }
@@ -1047,90 +1029,90 @@ var j = function(t) {
1047
1029
  this.stop(), this.run();
1048
1030
  }, t.prototype.observe = function() {
1049
1031
  var e = this, n = function() {
1050
- return e.observer && e.observer.observe(document.body, Ys);
1032
+ return e.observer && e.observer.observe(document.body, Us);
1051
1033
  };
1052
- document.body ? n() : yt.addEventListener("DOMContentLoaded", n);
1034
+ document.body ? n() : vt.addEventListener("DOMContentLoaded", n);
1053
1035
  }, t.prototype.start = function() {
1054
1036
  var e = this;
1055
- this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), un.forEach(function(n) {
1056
- return yt.addEventListener(n, e.listener, !0);
1037
+ this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), cn.forEach(function(n) {
1038
+ return vt.addEventListener(n, e.listener, !0);
1057
1039
  }));
1058
1040
  }, t.prototype.stop = function() {
1059
1041
  var e = this;
1060
- this.stopped || (this.observer && this.observer.disconnect(), un.forEach(function(n) {
1061
- return yt.removeEventListener(n, e.listener, !0);
1042
+ this.stopped || (this.observer && this.observer.disconnect(), cn.forEach(function(n) {
1043
+ return vt.removeEventListener(n, e.listener, !0);
1062
1044
  }), this.stopped = !0);
1063
1045
  }, t;
1064
- })(), Ae = new Zs(), ln = function(t) {
1065
- !Bt && t > 0 && Ae.start(), Bt += t, !Bt && Ae.stop();
1066
- }, Ks = function(t) {
1067
- return !Le(t) && !Ds(t) && getComputedStyle(t).display === "inline";
1068
- }, Js = (function() {
1046
+ })(), Ae = new qs(), fn = function(t) {
1047
+ !It && t > 0 && Ae.start(), It += t, !It && Ae.stop();
1048
+ }, Xs = function(t) {
1049
+ return !Le(t) && !zs(t) && getComputedStyle(t).display === "inline";
1050
+ }, Gs = (function() {
1069
1051
  function t(e, n) {
1070
- this.target = e, this.observedBox = n || bt.CONTENT_BOX, this.lastReportedSize = {
1052
+ this.target = e, this.observedBox = n || _t.CONTENT_BOX, this.lastReportedSize = {
1071
1053
  inlineSize: 0,
1072
1054
  blockSize: 0
1073
1055
  };
1074
1056
  }
1075
1057
  return t.prototype.isActive = function() {
1076
- var e = rr(this.target, this.observedBox, !0);
1077
- return Ks(this.target) && (this.lastReportedSize = e), this.lastReportedSize.inlineSize !== e.inlineSize || this.lastReportedSize.blockSize !== e.blockSize;
1058
+ var e = nr(this.target, this.observedBox, !0);
1059
+ return Xs(this.target) && (this.lastReportedSize = e), this.lastReportedSize.inlineSize !== e.inlineSize || this.lastReportedSize.blockSize !== e.blockSize;
1078
1060
  }, t;
1079
- })(), Qs = /* @__PURE__ */ (function() {
1061
+ })(), Ys = /* @__PURE__ */ (function() {
1080
1062
  function t(e, n) {
1081
1063
  this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = e, this.callback = n;
1082
1064
  }
1083
1065
  return t;
1084
- })(), Nt = /* @__PURE__ */ new WeakMap(), hn = function(t, e) {
1066
+ })(), Nt = /* @__PURE__ */ new WeakMap(), ln = function(t, e) {
1085
1067
  for (var n = 0; n < t.length; n += 1)
1086
1068
  if (t[n].target === e)
1087
1069
  return n;
1088
1070
  return -1;
1089
- }, Mt = (function() {
1071
+ }, Ot = (function() {
1090
1072
  function t() {
1091
1073
  }
1092
1074
  return t.connect = function(e, n) {
1093
- var r = new Qs(e, n);
1075
+ var r = new Ys(e, n);
1094
1076
  Nt.set(e, r);
1095
1077
  }, t.observe = function(e, n, r) {
1096
1078
  var i = Nt.get(e), s = i.observationTargets.length === 0;
1097
- hn(i.observationTargets, n) < 0 && (s && Q.push(i), i.observationTargets.push(new Js(n, r && r.box)), ln(1), Ae.schedule());
1079
+ ln(i.observationTargets, n) < 0 && (s && K.push(i), i.observationTargets.push(new Gs(n, r && r.box)), fn(1), Ae.schedule());
1098
1080
  }, t.unobserve = function(e, n) {
1099
- var r = Nt.get(e), i = hn(r.observationTargets, n), s = r.observationTargets.length === 1;
1100
- i >= 0 && (s && Q.splice(Q.indexOf(r), 1), r.observationTargets.splice(i, 1), ln(-1));
1081
+ var r = Nt.get(e), i = ln(r.observationTargets, n), s = r.observationTargets.length === 1;
1082
+ i >= 0 && (s && K.splice(K.indexOf(r), 1), r.observationTargets.splice(i, 1), fn(-1));
1101
1083
  }, t.disconnect = function(e) {
1102
1084
  var n = this, r = Nt.get(e);
1103
1085
  r.observationTargets.slice().forEach(function(i) {
1104
1086
  return n.unobserve(e, i.target);
1105
1087
  }), r.activeTargets.splice(0, r.activeTargets.length);
1106
1088
  }, t;
1107
- })(), js = (function() {
1089
+ })(), Zs = (function() {
1108
1090
  function t(e) {
1109
1091
  if (arguments.length === 0)
1110
1092
  throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
1111
1093
  if (typeof e != "function")
1112
1094
  throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
1113
- Mt.connect(this, e);
1095
+ Ot.connect(this, e);
1114
1096
  }
1115
1097
  return t.prototype.observe = function(e, n) {
1116
1098
  if (arguments.length === 0)
1117
1099
  throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
1118
- if (!sn(e))
1100
+ if (!rn(e))
1119
1101
  throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
1120
- Mt.observe(this, e, n);
1102
+ Ot.observe(this, e, n);
1121
1103
  }, t.prototype.unobserve = function(e) {
1122
1104
  if (arguments.length === 0)
1123
1105
  throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
1124
- if (!sn(e))
1106
+ if (!rn(e))
1125
1107
  throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
1126
- Mt.unobserve(this, e);
1108
+ Ot.unobserve(this, e);
1127
1109
  }, t.prototype.disconnect = function() {
1128
- Mt.disconnect(this);
1110
+ Ot.disconnect(this);
1129
1111
  }, t.toString = function() {
1130
1112
  return "function ResizeObserver () { [polyfill code] }";
1131
1113
  }, t;
1132
1114
  })();
1133
- const ta = globalThis.ResizeObserver || js, ea = {
1115
+ const Ks = globalThis.ResizeObserver || Zs, Js = {
1134
1116
  duration: void 0,
1135
1117
  margin: {
1136
1118
  top: 0,
@@ -1144,21 +1126,21 @@ const ta = globalThis.ResizeObserver || js, ea = {
1144
1126
  left: 0,
1145
1127
  right: 0
1146
1128
  },
1147
- sizing: ct.Fit,
1129
+ sizing: at.Fit,
1148
1130
  width: void 0,
1149
1131
  height: void 0,
1150
1132
  svgDefs: void 0,
1151
1133
  ariaLabel: void 0
1152
1134
  };
1153
- class jt {
1135
+ class Kt {
1154
1136
  constructor(e) {
1155
- this._defaultConfig = ea, this._isFirstRender = !0, this._renderAnimationFrameId = null, this._container = e;
1137
+ this._defaultConfig = Js, this._isFirstRender = !0, this._renderAnimationFrameId = null, this._container = e;
1156
1138
  const n = be(this._container);
1157
- n.attr("role", "figure"), this.svg = n.append("svg").style("display", "block").attr("xmlns", "http://www.w3.org/2000/svg").attr("height", jt.DEFAULT_CONTAINER_HEIGHT).attr("aria-hidden", !0), this._svgDefs = this.svg.append("defs"), this._svgDefsExternal = this.svg.append("defs"), this.element = this.svg.node();
1139
+ n.attr("role", "figure"), this.svg = n.append("svg").style("display", "block").attr("xmlns", "http://www.w3.org/2000/svg").attr("height", Kt.DEFAULT_CONTAINER_HEIGHT).attr("aria-hidden", !0), this._svgDefs = this.svg.append("defs"), this._svgDefsExternal = this.svg.append("defs"), this.element = this.svg.node();
1158
1140
  }
1159
1141
  updateContainer(e) {
1160
1142
  var n;
1161
- this.prevConfig = this.config, this.config = xt(this._defaultConfig, e), e?.svgDefs !== ((n = this.prevConfig) === null || n === void 0 ? void 0 : n.svgDefs) && (this._svgDefsExternal.selectAll("*").remove(), this._svgDefsExternal.html(e.svgDefs));
1143
+ this.prevConfig = this.config, this.config = wt(this._defaultConfig, e), e?.svgDefs !== ((n = this.prevConfig) === null || n === void 0 ? void 0 : n.svgDefs) && (this._svgDefsExternal.selectAll("*").remove(), this._svgDefsExternal.html(e.svgDefs));
1162
1144
  }
1163
1145
  // The `_preRender` step should be used to perform some actions before rendering.
1164
1146
  // For example, calculating scales, setting component sizes, etc ...
@@ -1182,7 +1164,7 @@ class jt {
1182
1164
  return this.config.width ? this.element.clientWidth : this._container.clientWidth || this._container.getBoundingClientRect().width;
1183
1165
  }
1184
1166
  get containerHeight() {
1185
- return this.config.height ? this.element.clientHeight : this._container.clientHeight || this._container.getBoundingClientRect().height || jt.DEFAULT_CONTAINER_HEIGHT;
1167
+ return this.config.height ? this.element.clientHeight : this._container.clientHeight || this._container.getBoundingClientRect().height || Kt.DEFAULT_CONTAINER_HEIGHT;
1186
1168
  }
1187
1169
  get width() {
1188
1170
  return en(this.containerWidth - this.config.margin.left - this.config.margin.right, 0, Number.POSITIVE_INFINITY);
@@ -1196,16 +1178,16 @@ class jt {
1196
1178
  }
1197
1179
  _onResize() {
1198
1180
  const { config: e } = this;
1199
- (e.sizing === ct.Fit || e.sizing === ct.FitWidth) && this.render(0);
1181
+ (e.sizing === at.Fit || e.sizing === at.FitWidth) && this.render(0);
1200
1182
  }
1201
1183
  _setUpResizeObserver() {
1202
1184
  if (this._resizeObserver)
1203
1185
  return;
1204
1186
  const e = this._container.getBoundingClientRect();
1205
- this._containerSize = { width: e.width, height: e.height }, this._resizeObserver = new ta((n, r) => {
1187
+ this._containerSize = { width: e.width, height: e.height }, this._resizeObserver = new Ks((n, r) => {
1206
1188
  cancelAnimationFrame(this._resizeObserverAnimationFrameId), this._resizeObserverAnimationFrameId = requestAnimationFrame(() => {
1207
1189
  const i = this._container.getBoundingClientRect(), s = { width: i.width, height: i.height };
1208
- !Jt(this._containerSize, s) && s.width && s.height && (this._containerSize = s, this._onResize());
1190
+ !Yt(this._containerSize, s) && s.width && s.height && (this._containerSize = s, this._onResize());
1209
1191
  });
1210
1192
  }), this._resizeObserver.observe(this._container);
1211
1193
  }
@@ -1214,19 +1196,19 @@ class jt {
1214
1196
  cancelAnimationFrame(this._renderAnimationFrameId), cancelAnimationFrame(this._resizeObserverAnimationFrameId), (e = this._resizeObserver) === null || e === void 0 || e.disconnect(), this.svg.remove();
1215
1197
  }
1216
1198
  }
1217
- jt.DEFAULT_CONTAINER_HEIGHT = 300;
1218
- function na(t) {
1199
+ Kt.DEFAULT_CONTAINER_HEIGHT = 300;
1200
+ function Qs(t) {
1219
1201
  if (t.sheet)
1220
1202
  return t.sheet;
1221
1203
  for (var e = 0; e < document.styleSheets.length; e++)
1222
1204
  if (document.styleSheets[e].ownerNode === t)
1223
1205
  return document.styleSheets[e];
1224
1206
  }
1225
- function ra(t) {
1207
+ function js(t) {
1226
1208
  var e = document.createElement("style");
1227
1209
  return e.setAttribute("data-emotion", t.key), t.nonce !== void 0 && e.setAttribute("nonce", t.nonce), e.appendChild(document.createTextNode("")), e.setAttribute("data-s", ""), e;
1228
1210
  }
1229
- var ia = /* @__PURE__ */ (function() {
1211
+ var ta = /* @__PURE__ */ (function() {
1230
1212
  function t(n) {
1231
1213
  var r = this;
1232
1214
  this._insertTag = function(i) {
@@ -1238,10 +1220,10 @@ var ia = /* @__PURE__ */ (function() {
1238
1220
  return e.hydrate = function(r) {
1239
1221
  r.forEach(this._insertTag);
1240
1222
  }, e.insert = function(r) {
1241
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(ra(this));
1223
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(js(this));
1242
1224
  var i = this.tags[this.tags.length - 1];
1243
1225
  if (this.isSpeedy) {
1244
- var s = na(i);
1226
+ var s = Qs(i);
1245
1227
  try {
1246
1228
  s.insertRule(r, s.cssRules.length);
1247
1229
  } catch {
@@ -1255,17 +1237,17 @@ var ia = /* @__PURE__ */ (function() {
1255
1237
  return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
1256
1238
  }), this.tags = [], this.ctr = 0;
1257
1239
  }, t;
1258
- })(), R = "-ms-", te = "-moz-", A = "-webkit-", ar = "comm", Be = "rule", He = "decl", sa = "@import", or = "@keyframes", aa = "@layer", oa = Math.abs, fe = String.fromCharCode, ca = Object.assign;
1259
- function ua(t, e) {
1240
+ })(), R = "-ms-", Jt = "-moz-", b = "-webkit-", sr = "comm", He = "rule", Pe = "decl", ea = "@import", ar = "@keyframes", na = "@layer", ra = Math.abs, oe = String.fromCharCode, ia = Object.assign;
1241
+ function sa(t, e) {
1260
1242
  return $(t, 0) ^ 45 ? (((e << 2 ^ $(t, 0)) << 2 ^ $(t, 1)) << 2 ^ $(t, 2)) << 2 ^ $(t, 3) : 0;
1261
1243
  }
1262
- function cr(t) {
1244
+ function or(t) {
1263
1245
  return t.trim();
1264
1246
  }
1265
- function fa(t, e) {
1247
+ function aa(t, e) {
1266
1248
  return (t = e.exec(t)) ? t[0] : t;
1267
1249
  }
1268
- function S(t, e, n) {
1250
+ function A(t, e, n) {
1269
1251
  return t.replace(e, n);
1270
1252
  }
1271
1253
  function Se(t, e) {
@@ -1274,47 +1256,47 @@ function Se(t, e) {
1274
1256
  function $(t, e) {
1275
1257
  return t.charCodeAt(e) | 0;
1276
1258
  }
1277
- function At(t, e, n) {
1259
+ function xt(t, e, n) {
1278
1260
  return t.slice(e, n);
1279
1261
  }
1280
- function B(t) {
1262
+ function D(t) {
1281
1263
  return t.length;
1282
1264
  }
1283
- function Pe(t) {
1265
+ function Be(t) {
1284
1266
  return t.length;
1285
1267
  }
1286
- function zt(t, e) {
1268
+ function kt(t, e) {
1287
1269
  return e.push(t), t;
1288
1270
  }
1289
- function la(t, e) {
1271
+ function oa(t, e) {
1290
1272
  return t.map(e).join("");
1291
1273
  }
1292
- var le = 1, ut = 1, ur = 0, k = 0, T = 0, lt = "";
1293
- function he(t, e, n, r, i, s, a) {
1294
- return { value: t, root: e, parent: n, type: r, props: i, children: s, line: le, column: ut, length: a, return: "" };
1274
+ var ce = 1, ot = 1, cr = 0, O = 0, T = 0, ut = "";
1275
+ function ue(t, e, n, r, i, s, a) {
1276
+ return { value: t, root: e, parent: n, type: r, props: i, children: s, line: ce, column: ot, length: a, return: "" };
1295
1277
  }
1296
- function ht(t, e) {
1297
- return ca(he("", null, null, "", null, null, 0), t, { length: -t.length }, e);
1278
+ function ft(t, e) {
1279
+ return ia(ue("", null, null, "", null, null, 0), t, { length: -t.length }, e);
1298
1280
  }
1299
- function ha() {
1281
+ function ca() {
1300
1282
  return T;
1301
1283
  }
1302
- function da() {
1303
- return T = k > 0 ? $(lt, --k) : 0, ut--, T === 10 && (ut = 1, le--), T;
1284
+ function ua() {
1285
+ return T = O > 0 ? $(ut, --O) : 0, ot--, T === 10 && (ot = 1, ce--), T;
1304
1286
  }
1305
- function N() {
1306
- return T = k < ur ? $(lt, k++) : 0, ut++, T === 10 && (ut = 1, le++), T;
1287
+ function k() {
1288
+ return T = O < cr ? $(ut, O++) : 0, ot++, T === 10 && (ot = 1, ce++), T;
1307
1289
  }
1308
- function P() {
1309
- return $(lt, k);
1290
+ function H() {
1291
+ return $(ut, O);
1310
1292
  }
1311
- function Ht() {
1312
- return k;
1293
+ function Dt() {
1294
+ return O;
1313
1295
  }
1314
- function Rt(t, e) {
1315
- return At(lt, t, e);
1296
+ function Ct(t, e) {
1297
+ return xt(ut, t, e);
1316
1298
  }
1317
- function St(t) {
1299
+ function bt(t) {
1318
1300
  switch (t) {
1319
1301
  // \0 \t \n \r \s whitespace token
1320
1302
  case 0:
@@ -1352,31 +1334,31 @@ function St(t) {
1352
1334
  }
1353
1335
  return 0;
1354
1336
  }
1355
- function fr(t) {
1356
- return le = ut = 1, ur = B(lt = t), k = 0, [];
1337
+ function ur(t) {
1338
+ return ce = ot = 1, cr = D(ut = t), O = 0, [];
1357
1339
  }
1358
- function lr(t) {
1359
- return lt = "", t;
1340
+ function fr(t) {
1341
+ return ut = "", t;
1360
1342
  }
1361
- function Pt(t) {
1362
- return cr(Rt(k - 1, Ee(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
1343
+ function Lt(t) {
1344
+ return or(Ct(O - 1, Ee(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
1363
1345
  }
1364
- function ga(t) {
1365
- for (; (T = P()) && T < 33; )
1366
- N();
1367
- return St(t) > 2 || St(T) > 3 ? "" : " ";
1346
+ function fa(t) {
1347
+ for (; (T = H()) && T < 33; )
1348
+ k();
1349
+ return bt(t) > 2 || bt(T) > 3 ? "" : " ";
1368
1350
  }
1369
- function pa(t, e) {
1370
- for (; --e && N() && !(T < 48 || T > 102 || T > 57 && T < 65 || T > 70 && T < 97); )
1351
+ function la(t, e) {
1352
+ for (; --e && k() && !(T < 48 || T > 102 || T > 57 && T < 65 || T > 70 && T < 97); )
1371
1353
  ;
1372
- return Rt(t, Ht() + (e < 6 && P() == 32 && N() == 32));
1354
+ return Ct(t, Dt() + (e < 6 && H() == 32 && k() == 32));
1373
1355
  }
1374
1356
  function Ee(t) {
1375
- for (; N(); )
1357
+ for (; k(); )
1376
1358
  switch (T) {
1377
1359
  // ] ) " '
1378
1360
  case t:
1379
- return k;
1361
+ return O;
1380
1362
  // " '
1381
1363
  case 34:
1382
1364
  case 39:
@@ -1388,57 +1370,57 @@ function Ee(t) {
1388
1370
  break;
1389
1371
  // \
1390
1372
  case 92:
1391
- N();
1373
+ k();
1392
1374
  break;
1393
1375
  }
1394
- return k;
1376
+ return O;
1395
1377
  }
1396
- function va(t, e) {
1397
- for (; N() && t + T !== 57; )
1398
- if (t + T === 84 && P() === 47)
1378
+ function ha(t, e) {
1379
+ for (; k() && t + T !== 57; )
1380
+ if (t + T === 84 && H() === 47)
1399
1381
  break;
1400
- return "/*" + Rt(e, k - 1) + "*" + fe(t === 47 ? t : N());
1382
+ return "/*" + Ct(e, O - 1) + "*" + oe(t === 47 ? t : k());
1401
1383
  }
1402
- function ma(t) {
1403
- for (; !St(P()); )
1404
- N();
1405
- return Rt(t, k);
1384
+ function da(t) {
1385
+ for (; !bt(H()); )
1386
+ k();
1387
+ return Ct(t, O);
1406
1388
  }
1407
- function ya(t) {
1408
- return lr(Vt("", null, null, null, [""], t = fr(t), 0, [0], t));
1389
+ function ga(t) {
1390
+ return fr(Ht("", null, null, null, [""], t = ur(t), 0, [0], t));
1409
1391
  }
1410
- function Vt(t, e, n, r, i, s, a, o, c) {
1411
- for (var u = 0, f = 0, l = a, h = 0, p = 0, g = 0, d = 1, y = 1, m = 1, v = 0, _ = "", E = i, w = s, b = r, x = _; y; )
1412
- switch (g = v, v = N()) {
1392
+ function Ht(t, e, n, r, i, s, a, o, c) {
1393
+ for (var u = 0, f = 0, l = a, h = 0, p = 0, g = 0, d = 1, v = 1, w = 1, m = 0, y = "", E = i, _ = s, S = r, x = y; v; )
1394
+ switch (g = m, m = k()) {
1413
1395
  // (
1414
1396
  case 40:
1415
1397
  if (g != 108 && $(x, l - 1) == 58) {
1416
- Se(x += S(Pt(v), "&", "&\f"), "&\f") != -1 && (m = -1);
1398
+ Se(x += A(Lt(m), "&", "&\f"), "&\f") != -1 && (w = -1);
1417
1399
  break;
1418
1400
  }
1419
1401
  // " ' [
1420
1402
  case 34:
1421
1403
  case 39:
1422
1404
  case 91:
1423
- x += Pt(v);
1405
+ x += Lt(m);
1424
1406
  break;
1425
1407
  // \t \n \r \s
1426
1408
  case 9:
1427
1409
  case 10:
1428
1410
  case 13:
1429
1411
  case 32:
1430
- x += ga(g);
1412
+ x += fa(g);
1431
1413
  break;
1432
1414
  // \
1433
1415
  case 92:
1434
- x += pa(Ht() - 1, 7);
1416
+ x += la(Dt() - 1, 7);
1435
1417
  continue;
1436
1418
  // /
1437
1419
  case 47:
1438
- switch (P()) {
1420
+ switch (H()) {
1439
1421
  case 42:
1440
1422
  case 47:
1441
- zt(_a(va(N(), Ht()), e, n), c);
1423
+ kt(pa(ha(k(), Dt()), e, n), c);
1442
1424
  break;
1443
1425
  default:
1444
1426
  x += "/";
@@ -1446,28 +1428,28 @@ function Vt(t, e, n, r, i, s, a, o, c) {
1446
1428
  break;
1447
1429
  // {
1448
1430
  case 123 * d:
1449
- o[u++] = B(x) * m;
1431
+ o[u++] = D(x) * w;
1450
1432
  // } ; \0
1451
1433
  case 125 * d:
1452
1434
  case 59:
1453
1435
  case 0:
1454
- switch (v) {
1436
+ switch (m) {
1455
1437
  // \0 }
1456
1438
  case 0:
1457
1439
  case 125:
1458
- y = 0;
1440
+ v = 0;
1459
1441
  // ;
1460
1442
  case 59 + f:
1461
- m == -1 && (x = S(x, /\f/g, "")), p > 0 && B(x) - l && zt(p > 32 ? gn(x + ";", r, n, l - 1) : gn(S(x, " ", "") + ";", r, n, l - 2), c);
1443
+ w == -1 && (x = A(x, /\f/g, "")), p > 0 && D(x) - l && kt(p > 32 ? dn(x + ";", r, n, l - 1) : dn(A(x, " ", "") + ";", r, n, l - 2), c);
1462
1444
  break;
1463
1445
  // @ ;
1464
1446
  case 59:
1465
1447
  x += ";";
1466
1448
  // { rule/at-rule
1467
1449
  default:
1468
- if (zt(b = dn(x, e, n, u, f, i, o, _, E = [], w = [], l), s), v === 123)
1450
+ if (kt(S = hn(x, e, n, u, f, i, o, y, E = [], _ = [], l), s), m === 123)
1469
1451
  if (f === 0)
1470
- Vt(x, e, b, b, E, s, l, o, w);
1452
+ Ht(x, e, S, S, E, s, l, o, _);
1471
1453
  else
1472
1454
  switch (h === 99 && $(x, 3) === 110 ? 100 : h) {
1473
1455
  // d l m s
@@ -1475,137 +1457,137 @@ function Vt(t, e, n, r, i, s, a, o, c) {
1475
1457
  case 108:
1476
1458
  case 109:
1477
1459
  case 115:
1478
- Vt(t, b, b, r && zt(dn(t, b, b, 0, 0, i, o, _, i, E = [], l), w), i, w, l, o, r ? E : w);
1460
+ Ht(t, S, S, r && kt(hn(t, S, S, 0, 0, i, o, y, i, E = [], l), _), i, _, l, o, r ? E : _);
1479
1461
  break;
1480
1462
  default:
1481
- Vt(x, b, b, b, [""], w, 0, o, w);
1463
+ Ht(x, S, S, S, [""], _, 0, o, _);
1482
1464
  }
1483
1465
  }
1484
- u = f = p = 0, d = m = 1, _ = x = "", l = a;
1466
+ u = f = p = 0, d = w = 1, y = x = "", l = a;
1485
1467
  break;
1486
1468
  // :
1487
1469
  case 58:
1488
- l = 1 + B(x), p = g;
1470
+ l = 1 + D(x), p = g;
1489
1471
  default:
1490
1472
  if (d < 1) {
1491
- if (v == 123)
1473
+ if (m == 123)
1492
1474
  --d;
1493
- else if (v == 125 && d++ == 0 && da() == 125)
1475
+ else if (m == 125 && d++ == 0 && ua() == 125)
1494
1476
  continue;
1495
1477
  }
1496
- switch (x += fe(v), v * d) {
1478
+ switch (x += oe(m), m * d) {
1497
1479
  // &
1498
1480
  case 38:
1499
- m = f > 0 ? 1 : (x += "\f", -1);
1481
+ w = f > 0 ? 1 : (x += "\f", -1);
1500
1482
  break;
1501
1483
  // ,
1502
1484
  case 44:
1503
- o[u++] = (B(x) - 1) * m, m = 1;
1485
+ o[u++] = (D(x) - 1) * w, w = 1;
1504
1486
  break;
1505
1487
  // @
1506
1488
  case 64:
1507
- P() === 45 && (x += Pt(N())), h = P(), f = l = B(_ = x += ma(Ht())), v++;
1489
+ H() === 45 && (x += Lt(k())), h = H(), f = l = D(y = x += da(Dt())), m++;
1508
1490
  break;
1509
1491
  // -
1510
1492
  case 45:
1511
- g === 45 && B(x) == 2 && (d = 0);
1493
+ g === 45 && D(x) == 2 && (d = 0);
1512
1494
  }
1513
1495
  }
1514
1496
  return s;
1515
1497
  }
1516
- function dn(t, e, n, r, i, s, a, o, c, u, f) {
1517
- for (var l = i - 1, h = i === 0 ? s : [""], p = Pe(h), g = 0, d = 0, y = 0; g < r; ++g)
1518
- for (var m = 0, v = At(t, l + 1, l = oa(d = a[g])), _ = t; m < p; ++m)
1519
- (_ = cr(d > 0 ? h[m] + " " + v : S(v, /&\f/g, h[m]))) && (c[y++] = _);
1520
- return he(t, e, n, i === 0 ? Be : o, c, u, f);
1498
+ function hn(t, e, n, r, i, s, a, o, c, u, f) {
1499
+ for (var l = i - 1, h = i === 0 ? s : [""], p = Be(h), g = 0, d = 0, v = 0; g < r; ++g)
1500
+ for (var w = 0, m = xt(t, l + 1, l = ra(d = a[g])), y = t; w < p; ++w)
1501
+ (y = or(d > 0 ? h[w] + " " + m : A(m, /&\f/g, h[w]))) && (c[v++] = y);
1502
+ return ue(t, e, n, i === 0 ? He : o, c, u, f);
1521
1503
  }
1522
- function _a(t, e, n) {
1523
- return he(t, e, n, ar, fe(ha()), At(t, 2, -2), 0);
1504
+ function pa(t, e, n) {
1505
+ return ue(t, e, n, sr, oe(ca()), xt(t, 2, -2), 0);
1524
1506
  }
1525
- function gn(t, e, n, r) {
1526
- return he(t, e, n, He, At(t, 0, r), At(t, r + 1, -1), r);
1507
+ function dn(t, e, n, r) {
1508
+ return ue(t, e, n, Pe, xt(t, 0, r), xt(t, r + 1, -1), r);
1527
1509
  }
1528
- function it(t, e) {
1529
- for (var n = "", r = Pe(t), i = 0; i < r; i++)
1510
+ function nt(t, e) {
1511
+ for (var n = "", r = Be(t), i = 0; i < r; i++)
1530
1512
  n += e(t[i], i, t, e) || "";
1531
1513
  return n;
1532
1514
  }
1533
- function wa(t, e, n, r) {
1515
+ function va(t, e, n, r) {
1534
1516
  switch (t.type) {
1535
- case aa:
1517
+ case na:
1536
1518
  if (t.children.length) break;
1537
- case sa:
1538
- case He:
1519
+ case ea:
1520
+ case Pe:
1539
1521
  return t.return = t.return || t.value;
1540
- case ar:
1522
+ case sr:
1541
1523
  return "";
1542
- case or:
1543
- return t.return = t.value + "{" + it(t.children, r) + "}";
1544
- case Be:
1524
+ case ar:
1525
+ return t.return = t.value + "{" + nt(t.children, r) + "}";
1526
+ case He:
1545
1527
  t.value = t.props.join(",");
1546
1528
  }
1547
- return B(n = it(t.children, r)) ? t.return = t.value + "{" + n + "}" : "";
1529
+ return D(n = nt(t.children, r)) ? t.return = t.value + "{" + n + "}" : "";
1548
1530
  }
1549
- function xa(t) {
1550
- var e = Pe(t);
1531
+ function ma(t) {
1532
+ var e = Be(t);
1551
1533
  return function(n, r, i, s) {
1552
1534
  for (var a = "", o = 0; o < e; o++)
1553
1535
  a += t[o](n, r, i, s) || "";
1554
1536
  return a;
1555
1537
  };
1556
1538
  }
1557
- function ba(t) {
1539
+ function ya(t) {
1558
1540
  return function(e) {
1559
1541
  e.root || (e = e.return) && t(e);
1560
1542
  };
1561
1543
  }
1562
- function Aa(t) {
1544
+ function wa(t) {
1563
1545
  var e = /* @__PURE__ */ Object.create(null);
1564
1546
  return function(n) {
1565
1547
  return e[n] === void 0 && (e[n] = t(n)), e[n];
1566
1548
  };
1567
1549
  }
1568
- var Sa = function(e, n, r) {
1569
- for (var i = 0, s = 0; i = s, s = P(), i === 38 && s === 12 && (n[r] = 1), !St(s); )
1570
- N();
1571
- return Rt(e, k);
1572
- }, Ea = function(e, n) {
1550
+ var _a = function(e, n, r) {
1551
+ for (var i = 0, s = 0; i = s, s = H(), i === 38 && s === 12 && (n[r] = 1), !bt(s); )
1552
+ k();
1553
+ return Ct(e, O);
1554
+ }, xa = function(e, n) {
1573
1555
  var r = -1, i = 44;
1574
1556
  do
1575
- switch (St(i)) {
1557
+ switch (bt(i)) {
1576
1558
  case 0:
1577
- i === 38 && P() === 12 && (n[r] = 1), e[r] += Sa(k - 1, n, r);
1559
+ i === 38 && H() === 12 && (n[r] = 1), e[r] += _a(O - 1, n, r);
1578
1560
  break;
1579
1561
  case 2:
1580
- e[r] += Pt(i);
1562
+ e[r] += Lt(i);
1581
1563
  break;
1582
1564
  case 4:
1583
1565
  if (i === 44) {
1584
- e[++r] = P() === 58 ? "&\f" : "", n[r] = e[r].length;
1566
+ e[++r] = H() === 58 ? "&\f" : "", n[r] = e[r].length;
1585
1567
  break;
1586
1568
  }
1587
1569
  // fallthrough
1588
1570
  default:
1589
- e[r] += fe(i);
1571
+ e[r] += oe(i);
1590
1572
  }
1591
- while (i = N());
1573
+ while (i = k());
1592
1574
  return e;
1593
- }, Ta = function(e, n) {
1594
- return lr(Ea(fr(e), n));
1595
- }, pn = /* @__PURE__ */ new WeakMap(), Ca = function(e) {
1575
+ }, ba = function(e, n) {
1576
+ return fr(xa(ur(e), n));
1577
+ }, gn = /* @__PURE__ */ new WeakMap(), Aa = function(e) {
1596
1578
  if (!(e.type !== "rule" || !e.parent || // positive .length indicates that this rule contains pseudo
1597
1579
  // negative .length indicates that this rule has been already prefixed
1598
1580
  e.length < 1)) {
1599
1581
  for (var n = e.value, r = e.parent, i = e.column === r.column && e.line === r.line; r.type !== "rule"; )
1600
1582
  if (r = r.parent, !r) return;
1601
- if (!(e.props.length === 1 && n.charCodeAt(0) !== 58 && !pn.get(r)) && !i) {
1602
- pn.set(e, !0);
1603
- for (var s = [], a = Ta(n, s), o = r.props, c = 0, u = 0; c < a.length; c++)
1583
+ if (!(e.props.length === 1 && n.charCodeAt(0) !== 58 && !gn.get(r)) && !i) {
1584
+ gn.set(e, !0);
1585
+ for (var s = [], a = ba(n, s), o = r.props, c = 0, u = 0; c < a.length; c++)
1604
1586
  for (var f = 0; f < o.length; f++, u++)
1605
1587
  e.props[u] = s[c] ? a[c].replace(/&\f/g, o[f]) : o[f] + " " + a[c];
1606
1588
  }
1607
1589
  }
1608
- }, $a = function(e) {
1590
+ }, Sa = function(e) {
1609
1591
  if (e.type === "decl") {
1610
1592
  var n = e.value;
1611
1593
  // charcode for l
@@ -1613,11 +1595,11 @@ var Sa = function(e, n, r) {
1613
1595
  n.charCodeAt(2) === 98 && (e.return = "", e.value = "");
1614
1596
  }
1615
1597
  };
1616
- function hr(t, e) {
1617
- switch (ua(t, e)) {
1598
+ function lr(t, e) {
1599
+ switch (sa(t, e)) {
1618
1600
  // color-adjust
1619
1601
  case 5103:
1620
- return A + "print-" + t + t;
1602
+ return b + "print-" + t + t;
1621
1603
  // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
1622
1604
  case 5737:
1623
1605
  case 4201:
@@ -1647,58 +1629,58 @@ function hr(t, e) {
1647
1629
  case 5365:
1648
1630
  case 5621:
1649
1631
  case 3829:
1650
- return A + t + t;
1632
+ return b + t + t;
1651
1633
  // appearance, user-select, transform, hyphens, text-size-adjust
1652
1634
  case 5349:
1653
1635
  case 4246:
1654
1636
  case 4810:
1655
1637
  case 6968:
1656
1638
  case 2756:
1657
- return A + t + te + t + R + t + t;
1639
+ return b + t + Jt + t + R + t + t;
1658
1640
  // flex, flex-direction
1659
1641
  case 6828:
1660
1642
  case 4268:
1661
- return A + t + R + t + t;
1643
+ return b + t + R + t + t;
1662
1644
  // order
1663
1645
  case 6165:
1664
- return A + t + R + "flex-" + t + t;
1646
+ return b + t + R + "flex-" + t + t;
1665
1647
  // align-items
1666
1648
  case 5187:
1667
- return A + t + S(t, /(\w+).+(:[^]+)/, A + "box-$1$2" + R + "flex-$1$2") + t;
1649
+ return b + t + A(t, /(\w+).+(:[^]+)/, b + "box-$1$2" + R + "flex-$1$2") + t;
1668
1650
  // align-self
1669
1651
  case 5443:
1670
- return A + t + R + "flex-item-" + S(t, /flex-|-self/, "") + t;
1652
+ return b + t + R + "flex-item-" + A(t, /flex-|-self/, "") + t;
1671
1653
  // align-content
1672
1654
  case 4675:
1673
- return A + t + R + "flex-line-pack" + S(t, /align-content|flex-|-self/, "") + t;
1655
+ return b + t + R + "flex-line-pack" + A(t, /align-content|flex-|-self/, "") + t;
1674
1656
  // flex-shrink
1675
1657
  case 5548:
1676
- return A + t + R + S(t, "shrink", "negative") + t;
1658
+ return b + t + R + A(t, "shrink", "negative") + t;
1677
1659
  // flex-basis
1678
1660
  case 5292:
1679
- return A + t + R + S(t, "basis", "preferred-size") + t;
1661
+ return b + t + R + A(t, "basis", "preferred-size") + t;
1680
1662
  // flex-grow
1681
1663
  case 6060:
1682
- return A + "box-" + S(t, "-grow", "") + A + t + R + S(t, "grow", "positive") + t;
1664
+ return b + "box-" + A(t, "-grow", "") + b + t + R + A(t, "grow", "positive") + t;
1683
1665
  // transition
1684
1666
  case 4554:
1685
- return A + S(t, /([^-])(transform)/g, "$1" + A + "$2") + t;
1667
+ return b + A(t, /([^-])(transform)/g, "$1" + b + "$2") + t;
1686
1668
  // cursor
1687
1669
  case 6187:
1688
- return S(S(S(t, /(zoom-|grab)/, A + "$1"), /(image-set)/, A + "$1"), t, "") + t;
1670
+ return A(A(A(t, /(zoom-|grab)/, b + "$1"), /(image-set)/, b + "$1"), t, "") + t;
1689
1671
  // background, background-image
1690
1672
  case 5495:
1691
1673
  case 3959:
1692
- return S(t, /(image-set\([^]*)/, A + "$1$`$1");
1674
+ return A(t, /(image-set\([^]*)/, b + "$1$`$1");
1693
1675
  // justify-content
1694
1676
  case 4968:
1695
- return S(S(t, /(.+:)(flex-)?(.*)/, A + "box-pack:$3" + R + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + A + t + t;
1677
+ return A(A(t, /(.+:)(flex-)?(.*)/, b + "box-pack:$3" + R + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + b + t + t;
1696
1678
  // (margin|padding)-inline-(start|end)
1697
1679
  case 4095:
1698
1680
  case 3583:
1699
1681
  case 4068:
1700
1682
  case 2532:
1701
- return S(t, /(.+)-inline(.+)/, A + "$1$2") + t;
1683
+ return A(t, /(.+)-inline(.+)/, b + "$1$2") + t;
1702
1684
  // (min|max)?(width|height|inline-size|block-size)
1703
1685
  case 8116:
1704
1686
  case 7059:
@@ -1712,16 +1694,16 @@ function hr(t, e) {
1712
1694
  case 5789:
1713
1695
  case 5021:
1714
1696
  case 4765:
1715
- if (B(t) - 1 - e > 6) switch ($(t, e + 1)) {
1697
+ if (D(t) - 1 - e > 6) switch ($(t, e + 1)) {
1716
1698
  // (m)ax-content, (m)in-content
1717
1699
  case 109:
1718
1700
  if ($(t, e + 4) !== 45) break;
1719
1701
  // (f)ill-available, (f)it-content
1720
1702
  case 102:
1721
- return S(t, /(.+:)(.+)-([^]+)/, "$1" + A + "$2-$3$1" + te + ($(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
1703
+ return A(t, /(.+:)(.+)-([^]+)/, "$1" + b + "$2-$3$1" + Jt + ($(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
1722
1704
  // (s)tretch
1723
1705
  case 115:
1724
- return ~Se(t, "stretch") ? hr(S(t, "stretch", "fill-available"), e) + t : t;
1706
+ return ~Se(t, "stretch") ? lr(A(t, "stretch", "fill-available"), e) + t : t;
1725
1707
  }
1726
1708
  break;
1727
1709
  // position: sticky
@@ -1729,13 +1711,13 @@ function hr(t, e) {
1729
1711
  if ($(t, e + 1) !== 115) break;
1730
1712
  // display: (flex|inline-flex)
1731
1713
  case 6444:
1732
- switch ($(t, B(t) - 3 - (~Se(t, "!important") && 10))) {
1714
+ switch ($(t, D(t) - 3 - (~Se(t, "!important") && 10))) {
1733
1715
  // stic(k)y
1734
1716
  case 107:
1735
- return S(t, ":", ":" + A) + t;
1717
+ return A(t, ":", ":" + b) + t;
1736
1718
  // (inline-)?fl(e)x
1737
1719
  case 101:
1738
- return S(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + A + ($(t, 14) === 45 ? "inline-" : "") + "box$3$1" + A + "$2$3$1" + R + "$2box$3") + t;
1720
+ return A(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + b + ($(t, 14) === 45 ? "inline-" : "") + "box$3$1" + b + "$2$3$1" + R + "$2box$3") + t;
1739
1721
  }
1740
1722
  break;
1741
1723
  // writing-mode
@@ -1743,83 +1725,83 @@ function hr(t, e) {
1743
1725
  switch ($(t, e + 11)) {
1744
1726
  // vertical-l(r)
1745
1727
  case 114:
1746
- return A + t + R + S(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
1728
+ return b + t + R + A(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
1747
1729
  // vertical-r(l)
1748
1730
  case 108:
1749
- return A + t + R + S(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
1731
+ return b + t + R + A(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
1750
1732
  // horizontal(-)tb
1751
1733
  case 45:
1752
- return A + t + R + S(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
1734
+ return b + t + R + A(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
1753
1735
  }
1754
- return A + t + R + t + t;
1736
+ return b + t + R + t + t;
1755
1737
  }
1756
1738
  return t;
1757
1739
  }
1758
- var Ra = function(e, n, r, i) {
1740
+ var Ea = function(e, n, r, i) {
1759
1741
  if (e.length > -1 && !e.return) switch (e.type) {
1760
- case He:
1761
- e.return = hr(e.value, e.length);
1742
+ case Pe:
1743
+ e.return = lr(e.value, e.length);
1762
1744
  break;
1763
- case or:
1764
- return it([ht(e, {
1765
- value: S(e.value, "@", "@" + A)
1745
+ case ar:
1746
+ return nt([ft(e, {
1747
+ value: A(e.value, "@", "@" + b)
1766
1748
  })], i);
1767
- case Be:
1768
- if (e.length) return la(e.props, function(s) {
1769
- switch (fa(s, /(::plac\w+|:read-\w+)/)) {
1749
+ case He:
1750
+ if (e.length) return oa(e.props, function(s) {
1751
+ switch (aa(s, /(::plac\w+|:read-\w+)/)) {
1770
1752
  // :read-(only|write)
1771
1753
  case ":read-only":
1772
1754
  case ":read-write":
1773
- return it([ht(e, {
1774
- props: [S(s, /:(read-\w+)/, ":" + te + "$1")]
1755
+ return nt([ft(e, {
1756
+ props: [A(s, /:(read-\w+)/, ":" + Jt + "$1")]
1775
1757
  })], i);
1776
1758
  // :placeholder
1777
1759
  case "::placeholder":
1778
- return it([ht(e, {
1779
- props: [S(s, /:(plac\w+)/, ":" + A + "input-$1")]
1780
- }), ht(e, {
1781
- props: [S(s, /:(plac\w+)/, ":" + te + "$1")]
1782
- }), ht(e, {
1783
- props: [S(s, /:(plac\w+)/, R + "input-$1")]
1760
+ return nt([ft(e, {
1761
+ props: [A(s, /:(plac\w+)/, ":" + b + "input-$1")]
1762
+ }), ft(e, {
1763
+ props: [A(s, /:(plac\w+)/, ":" + Jt + "$1")]
1764
+ }), ft(e, {
1765
+ props: [A(s, /:(plac\w+)/, R + "input-$1")]
1784
1766
  })], i);
1785
1767
  }
1786
1768
  return "";
1787
1769
  });
1788
1770
  }
1789
- }, Oa = [Ra], ka = function(e) {
1771
+ }, Ta = [Ea], Ca = function(e) {
1790
1772
  var n = e.key;
1791
1773
  if (n === "css") {
1792
1774
  var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
1793
1775
  Array.prototype.forEach.call(r, function(d) {
1794
- var y = d.getAttribute("data-emotion");
1795
- y.indexOf(" ") !== -1 && (document.head.appendChild(d), d.setAttribute("data-s", ""));
1776
+ var v = d.getAttribute("data-emotion");
1777
+ v.indexOf(" ") !== -1 && (document.head.appendChild(d), d.setAttribute("data-s", ""));
1796
1778
  });
1797
1779
  }
1798
- var i = e.stylisPlugins || Oa, s = {}, a, o = [];
1780
+ var i = e.stylisPlugins || Ta, s = {}, a, o = [];
1799
1781
  a = e.container || document.head, Array.prototype.forEach.call(
1800
1782
  // this means we will ignore elements which don't have a space in them which
1801
1783
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
1802
1784
  document.querySelectorAll('style[data-emotion^="' + n + ' "]'),
1803
1785
  function(d) {
1804
- for (var y = d.getAttribute("data-emotion").split(" "), m = 1; m < y.length; m++)
1805
- s[y[m]] = !0;
1786
+ for (var v = d.getAttribute("data-emotion").split(" "), w = 1; w < v.length; w++)
1787
+ s[v[w]] = !0;
1806
1788
  o.push(d);
1807
1789
  }
1808
1790
  );
1809
- var c, u = [Ca, $a];
1791
+ var c, u = [Aa, Sa];
1810
1792
  {
1811
- var f, l = [wa, ba(function(d) {
1793
+ var f, l = [va, ya(function(d) {
1812
1794
  f.insert(d);
1813
- })], h = xa(u.concat(i, l)), p = function(y) {
1814
- return it(ya(y), h);
1795
+ })], h = ma(u.concat(i, l)), p = function(v) {
1796
+ return nt(ga(v), h);
1815
1797
  };
1816
- c = function(y, m, v, _) {
1817
- f = v, p(y ? y + "{" + m.styles + "}" : m.styles), _ && (g.inserted[m.name] = !0);
1798
+ c = function(v, w, m, y) {
1799
+ f = m, p(v ? v + "{" + w.styles + "}" : w.styles), y && (g.inserted[w.name] = !0);
1818
1800
  };
1819
1801
  }
1820
1802
  var g = {
1821
1803
  key: n,
1822
- sheet: new ia({
1804
+ sheet: new ta({
1823
1805
  key: n,
1824
1806
  container: a,
1825
1807
  nonce: e.nonce,
@@ -1834,7 +1816,7 @@ var Ra = function(e, n, r, i) {
1834
1816
  };
1835
1817
  return g.sheet.hydrate(o), g;
1836
1818
  };
1837
- function Na(t) {
1819
+ function $a(t) {
1838
1820
  for (var e = 0, n, r = 0, i = t.length; i >= 4; ++r, i -= 4)
1839
1821
  n = t.charCodeAt(r) & 255 | (t.charCodeAt(++r) & 255) << 8 | (t.charCodeAt(++r) & 255) << 16 | (t.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
1840
1822
  (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
@@ -1853,7 +1835,7 @@ function Na(t) {
1853
1835
  return e ^= e >>> 13, e = /* Math.imul(h, m): */
1854
1836
  (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
1855
1837
  }
1856
- var Ma = {
1838
+ var Ra = {
1857
1839
  animationIterationCount: 1,
1858
1840
  aspectRatio: 1,
1859
1841
  borderImageOutset: 1,
@@ -1902,28 +1884,28 @@ var Ma = {
1902
1884
  strokeMiterlimit: 1,
1903
1885
  strokeOpacity: 1,
1904
1886
  strokeWidth: 1
1905
- }, za = /[A-Z]|^ms/g, Ia = /_EMO_([^_]+?)_([^]*?)_EMO_/g, dr = function(e) {
1887
+ }, Na = /[A-Z]|^ms/g, Oa = /_EMO_([^_]+?)_([^]*?)_EMO_/g, hr = function(e) {
1906
1888
  return e.charCodeAt(1) === 45;
1907
- }, vn = function(e) {
1889
+ }, pn = function(e) {
1908
1890
  return e != null && typeof e != "boolean";
1909
- }, me = /* @__PURE__ */ Aa(function(t) {
1910
- return dr(t) ? t : t.replace(za, "-$&").toLowerCase();
1911
- }), mn = function(e, n) {
1891
+ }, pe = /* @__PURE__ */ wa(function(t) {
1892
+ return hr(t) ? t : t.replace(Na, "-$&").toLowerCase();
1893
+ }), vn = function(e, n) {
1912
1894
  switch (e) {
1913
1895
  case "animation":
1914
1896
  case "animationName":
1915
1897
  if (typeof n == "string")
1916
- return n.replace(Ia, function(r, i, s) {
1917
- return Z = {
1898
+ return n.replace(Oa, function(r, i, s) {
1899
+ return Y = {
1918
1900
  name: i,
1919
1901
  styles: s,
1920
- next: Z
1902
+ next: Y
1921
1903
  }, i;
1922
1904
  });
1923
1905
  }
1924
- return Ma[e] !== 1 && !dr(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
1906
+ return Ra[e] !== 1 && !hr(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
1925
1907
  };
1926
- function ee(t, e, n) {
1908
+ function Qt(t, e, n) {
1927
1909
  if (n == null)
1928
1910
  return "";
1929
1911
  var r = n;
@@ -1935,25 +1917,25 @@ function ee(t, e, n) {
1935
1917
  case "object": {
1936
1918
  var i = n;
1937
1919
  if (i.anim === 1)
1938
- return Z = {
1920
+ return Y = {
1939
1921
  name: i.name,
1940
1922
  styles: i.styles,
1941
- next: Z
1923
+ next: Y
1942
1924
  }, i.name;
1943
1925
  var s = n;
1944
1926
  if (s.styles !== void 0) {
1945
1927
  var a = s.next;
1946
1928
  if (a !== void 0)
1947
1929
  for (; a !== void 0; )
1948
- Z = {
1930
+ Y = {
1949
1931
  name: a.name,
1950
1932
  styles: a.styles,
1951
- next: Z
1933
+ next: Y
1952
1934
  }, a = a.next;
1953
1935
  var o = s.styles + ";";
1954
1936
  return o;
1955
1937
  }
1956
- return Fa(t, e, n);
1938
+ return ka(t, e, n);
1957
1939
  }
1958
1940
  }
1959
1941
  var c = n;
@@ -1962,26 +1944,26 @@ function ee(t, e, n) {
1962
1944
  var u = e[c];
1963
1945
  return u !== void 0 ? u : c;
1964
1946
  }
1965
- function Fa(t, e, n) {
1947
+ function ka(t, e, n) {
1966
1948
  var r = "";
1967
1949
  if (Array.isArray(n))
1968
1950
  for (var i = 0; i < n.length; i++)
1969
- r += ee(t, e, n[i]) + ";";
1951
+ r += Qt(t, e, n[i]) + ";";
1970
1952
  else
1971
1953
  for (var s in n) {
1972
1954
  var a = n[s];
1973
1955
  if (typeof a != "object") {
1974
1956
  var o = a;
1975
- e != null && e[o] !== void 0 ? r += s + "{" + e[o] + "}" : vn(o) && (r += me(s) + ":" + mn(s, o) + ";");
1957
+ e != null && e[o] !== void 0 ? r += s + "{" + e[o] + "}" : pn(o) && (r += pe(s) + ":" + vn(s, o) + ";");
1976
1958
  } else if (Array.isArray(a) && typeof a[0] == "string" && (e == null || e[a[0]] === void 0))
1977
1959
  for (var c = 0; c < a.length; c++)
1978
- vn(a[c]) && (r += me(s) + ":" + mn(s, a[c]) + ";");
1960
+ pn(a[c]) && (r += pe(s) + ":" + vn(s, a[c]) + ";");
1979
1961
  else {
1980
- var u = ee(t, e, a);
1962
+ var u = Qt(t, e, a);
1981
1963
  switch (s) {
1982
1964
  case "animation":
1983
1965
  case "animationName": {
1984
- r += me(s) + ":" + u + ";";
1966
+ r += pe(s) + ":" + u + ";";
1985
1967
  break;
1986
1968
  }
1987
1969
  default:
@@ -1991,41 +1973,41 @@ function Fa(t, e, n) {
1991
1973
  }
1992
1974
  return r;
1993
1975
  }
1994
- var yn = /label:\s*([^\s;{]+)\s*(;|$)/g, Z;
1995
- function ye(t, e, n) {
1976
+ var mn = /label:\s*([^\s;{]+)\s*(;|$)/g, Y;
1977
+ function ve(t, e, n) {
1996
1978
  if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
1997
1979
  return t[0];
1998
1980
  var r = !0, i = "";
1999
- Z = void 0;
1981
+ Y = void 0;
2000
1982
  var s = t[0];
2001
1983
  if (s == null || s.raw === void 0)
2002
- r = !1, i += ee(n, e, s);
1984
+ r = !1, i += Qt(n, e, s);
2003
1985
  else {
2004
1986
  var a = s;
2005
1987
  i += a[0];
2006
1988
  }
2007
1989
  for (var o = 1; o < t.length; o++)
2008
- if (i += ee(n, e, t[o]), r) {
1990
+ if (i += Qt(n, e, t[o]), r) {
2009
1991
  var c = s;
2010
1992
  i += c[o];
2011
1993
  }
2012
- yn.lastIndex = 0;
2013
- for (var u = "", f; (f = yn.exec(i)) !== null; )
1994
+ mn.lastIndex = 0;
1995
+ for (var u = "", f; (f = mn.exec(i)) !== null; )
2014
1996
  u += "-" + f[1];
2015
- var l = Na(i) + u;
1997
+ var l = $a(i) + u;
2016
1998
  return {
2017
1999
  name: l,
2018
2000
  styles: i,
2019
- next: Z
2001
+ next: Y
2020
2002
  };
2021
2003
  }
2022
- function gr(t, e, n) {
2004
+ function dr(t, e, n) {
2023
2005
  var r = "";
2024
2006
  return n.split(" ").forEach(function(i) {
2025
2007
  t[i] !== void 0 ? e.push(t[i] + ";") : i && (r += i + " ");
2026
2008
  }), r;
2027
2009
  }
2028
- var Da = function(e, n, r) {
2010
+ var za = function(e, n, r) {
2029
2011
  var i = e.key + "-" + n.name;
2030
2012
  // we only need to add the styles to the registered cache if the
2031
2013
  // class name could be used further down
@@ -2033,8 +2015,8 @@ var Da = function(e, n, r) {
2033
2015
  // so we don't have to add it to registered cache.
2034
2016
  // this improves memory usage since we can avoid storing the whole style string
2035
2017
  e.registered[i] === void 0 && (e.registered[i] = n.styles);
2036
- }, La = function(e, n, r) {
2037
- Da(e, n);
2018
+ }, Ma = function(e, n, r) {
2019
+ za(e, n);
2038
2020
  var i = e.key + "-" + n.name;
2039
2021
  if (e.inserted[n.name] === void 0) {
2040
2022
  var s = n;
@@ -2043,41 +2025,41 @@ var Da = function(e, n, r) {
2043
2025
  while (s !== void 0);
2044
2026
  }
2045
2027
  };
2046
- function _n(t, e) {
2028
+ function yn(t, e) {
2047
2029
  if (t.inserted[e.name] === void 0)
2048
2030
  return t.insert("", e, t.sheet, !0);
2049
2031
  }
2050
2032
  function wn(t, e, n) {
2051
- var r = [], i = gr(t, r, n);
2033
+ var r = [], i = dr(t, r, n);
2052
2034
  return r.length < 2 ? n : i + e(r);
2053
2035
  }
2054
- var Ba = function(e) {
2055
- var n = ka(e);
2036
+ var Fa = function(e) {
2037
+ var n = Ca(e);
2056
2038
  n.sheet.speedy = function(o) {
2057
2039
  this.isSpeedy = o;
2058
2040
  }, n.compat = !0;
2059
2041
  var r = function() {
2060
2042
  for (var c = arguments.length, u = new Array(c), f = 0; f < c; f++)
2061
2043
  u[f] = arguments[f];
2062
- var l = ye(u, n.registered, void 0);
2063
- return La(n, l), n.key + "-" + l.name;
2044
+ var l = ve(u, n.registered, void 0);
2045
+ return Ma(n, l), n.key + "-" + l.name;
2064
2046
  }, i = function() {
2065
2047
  for (var c = arguments.length, u = new Array(c), f = 0; f < c; f++)
2066
2048
  u[f] = arguments[f];
2067
- var l = ye(u, n.registered), h = "animation-" + l.name;
2068
- return _n(n, {
2049
+ var l = ve(u, n.registered), h = "animation-" + l.name;
2050
+ return yn(n, {
2069
2051
  name: l.name,
2070
2052
  styles: "@keyframes " + h + "{" + l.styles + "}"
2071
2053
  }), h;
2072
2054
  }, s = function() {
2073
2055
  for (var c = arguments.length, u = new Array(c), f = 0; f < c; f++)
2074
2056
  u[f] = arguments[f];
2075
- var l = ye(u, n.registered);
2076
- _n(n, l);
2057
+ var l = ve(u, n.registered);
2058
+ yn(n, l);
2077
2059
  }, a = function() {
2078
2060
  for (var c = arguments.length, u = new Array(c), f = 0; f < c; f++)
2079
2061
  u[f] = arguments[f];
2080
- return wn(n.registered, r, Ha(u));
2062
+ return wn(n.registered, r, Ia(u));
2081
2063
  };
2082
2064
  return {
2083
2065
  css: r,
@@ -2094,10 +2076,10 @@ var Ba = function(e) {
2094
2076
  },
2095
2077
  sheet: n.sheet,
2096
2078
  cache: n,
2097
- getRegisteredStyles: gr.bind(null, n.registered),
2079
+ getRegisteredStyles: dr.bind(null, n.registered),
2098
2080
  merge: wn.bind(null, n.registered, r)
2099
2081
  };
2100
- }, Ha = function t(e) {
2082
+ }, Ia = function t(e) {
2101
2083
  for (var n = "", r = 0; r < e.length; r++) {
2102
2084
  var i = e[r];
2103
2085
  if (i != null) {
@@ -2122,21 +2104,87 @@ var Ba = function(e) {
2122
2104
  }
2123
2105
  }
2124
2106
  return n;
2125
- }, pr = Ba({
2107
+ }, gr = Fa({
2126
2108
  key: "css"
2127
- }), Pa = pr.injectGlobal, cu = pr.css;
2128
- function Va() {
2109
+ }), Da = gr.injectGlobal, cu = gr.css;
2110
+ function La(t) {
2111
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
2112
+ }
2113
+ var me, _n;
2114
+ function Ha() {
2115
+ return _n || (_n = 1, me = function(e, n) {
2116
+ n || (n = [0, ""]), e = String(e);
2117
+ var r = parseFloat(e, 10);
2118
+ return n[0] = r, n[1] = e.match(/[\d.\-\+]*\s*(.*)/)[1] || "", n;
2119
+ }), me;
2120
+ }
2121
+ var ye, xn;
2122
+ function Pa() {
2123
+ if (xn) return ye;
2124
+ xn = 1;
2125
+ var t = Ha();
2126
+ ye = i;
2127
+ var e = r("in", document.body);
2128
+ function n(s, a) {
2129
+ var o = t(getComputedStyle(s).getPropertyValue(a));
2130
+ return o[0] * i(o[1], s);
2131
+ }
2132
+ function r(s, a) {
2133
+ var o = document.createElement("div");
2134
+ o.style.height = "128" + s, a.appendChild(o);
2135
+ var c = n(o, "height") / 128;
2136
+ return a.removeChild(o), c;
2137
+ }
2138
+ function i(s, a) {
2139
+ if (!s) return null;
2140
+ switch (a = a || document.body, s = (s + "" || "px").trim().toLowerCase(), (a === window || a === document) && (a = document.body), s) {
2141
+ case "%":
2142
+ return a.clientHeight / 100;
2143
+ case "ch":
2144
+ case "ex":
2145
+ return r(s, a);
2146
+ case "em":
2147
+ return n(a, "font-size");
2148
+ case "rem":
2149
+ return n(document.body, "font-size");
2150
+ case "vw":
2151
+ return window.innerWidth / 100;
2152
+ case "vh":
2153
+ return window.innerHeight / 100;
2154
+ case "vmin":
2155
+ return Math.min(window.innerWidth, window.innerHeight) / 100;
2156
+ case "vmax":
2157
+ return Math.max(window.innerWidth, window.innerHeight) / 100;
2158
+ case "in":
2159
+ return e;
2160
+ case "cm":
2161
+ return e / 2.54;
2162
+ case "mm":
2163
+ return e / 25.4;
2164
+ case "pt":
2165
+ return e / 72;
2166
+ case "pc":
2167
+ return e / 6;
2168
+ case "px":
2169
+ return 1;
2170
+ }
2171
+ var o = t(s);
2172
+ if (!isNaN(o[0]) && o[1]) {
2173
+ var c = i(o[1], a);
2174
+ return typeof c == "number" ? o[0] * c : null;
2175
+ }
2176
+ return null;
2177
+ }
2178
+ return ye;
2179
+ }
2180
+ Pa();
2181
+ function Ba() {
2129
2182
  const t = () => Math.floor((1 + crypto.getRandomValues(new Uint32Array(1))[0]) * 65536).toString(16).substring(1);
2130
2183
  return `${t() + t()}-${t()}-${t()}-${t()}-${t()}${t()}${t()}`;
2131
2184
  }
2132
- const xn = /* @__PURE__ */ new WeakMap();
2133
- function Wa(t, e) {
2185
+ function Va(t, e) {
2134
2186
  const n = t.substr(4, t.length - 5);
2135
- let r = xn.get(e);
2136
- if (r || (r = /* @__PURE__ */ new Map(), xn.set(e, r)), r.has(n))
2137
- return r.get(n);
2138
- const i = getComputedStyle(e).getPropertyValue(n);
2139
- return r.set(n, i), i;
2187
+ return getComputedStyle(e).getPropertyValue(n);
2140
2188
  }
2141
2189
  function uu(t, e, n = 0) {
2142
2190
  const [r, i, s, a] = [
@@ -2155,14 +2203,14 @@ function uu(t, e, n = 0) {
2155
2203
  function Ve(t, e, n) {
2156
2204
  t.prototype = e.prototype = n, n.constructor = t;
2157
2205
  }
2158
- function vr(t, e) {
2206
+ function pr(t, e) {
2159
2207
  var n = Object.create(t.prototype);
2160
2208
  for (var r in e) n[r] = e[r];
2161
2209
  return n;
2162
2210
  }
2163
- function Ot() {
2211
+ function $t() {
2164
2212
  }
2165
- var Et = 0.7, ne = 1 / Et, st = "\\s*([+-]?\\d+)\\s*", Tt = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", V = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Ua = /^#([0-9a-f]{3,8})$/, qa = new RegExp(`^rgb\\(${st},${st},${st}\\)$`), Xa = new RegExp(`^rgb\\(${V},${V},${V}\\)$`), Ga = new RegExp(`^rgba\\(${st},${st},${st},${Tt}\\)$`), Ya = new RegExp(`^rgba\\(${V},${V},${V},${Tt}\\)$`), Za = new RegExp(`^hsl\\(${Tt},${V},${V}\\)$`), Ka = new RegExp(`^hsla\\(${Tt},${V},${V},${Tt}\\)$`), bn = {
2213
+ var At = 0.7, jt = 1 / At, rt = "\\s*([+-]?\\d+)\\s*", St = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", P = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Wa = /^#([0-9a-f]{3,8})$/, Ua = new RegExp(`^rgb\\(${rt},${rt},${rt}\\)$`), qa = new RegExp(`^rgb\\(${P},${P},${P}\\)$`), Xa = new RegExp(`^rgba\\(${rt},${rt},${rt},${St}\\)$`), Ga = new RegExp(`^rgba\\(${P},${P},${P},${St}\\)$`), Ya = new RegExp(`^hsl\\(${St},${P},${P}\\)$`), Za = new RegExp(`^hsla\\(${St},${P},${P},${St}\\)$`), bn = {
2166
2214
  aliceblue: 15792383,
2167
2215
  antiquewhite: 16444375,
2168
2216
  aqua: 65535,
@@ -2312,7 +2360,7 @@ var Et = 0.7, ne = 1 / Et, st = "\\s*([+-]?\\d+)\\s*", Tt = "\\s*([+-]?(?:\\d*\\
2312
2360
  yellow: 16776960,
2313
2361
  yellowgreen: 10145074
2314
2362
  };
2315
- Ve(Ot, et, {
2363
+ Ve($t, j, {
2316
2364
  copy(t) {
2317
2365
  return Object.assign(new this.constructor(), this, t);
2318
2366
  },
@@ -2322,54 +2370,54 @@ Ve(Ot, et, {
2322
2370
  hex: An,
2323
2371
  // Deprecated! Use color.formatHex.
2324
2372
  formatHex: An,
2325
- formatHex8: Ja,
2326
- formatHsl: Qa,
2373
+ formatHex8: Ka,
2374
+ formatHsl: Ja,
2327
2375
  formatRgb: Sn,
2328
2376
  toString: Sn
2329
2377
  });
2330
2378
  function An() {
2331
2379
  return this.rgb().formatHex();
2332
2380
  }
2333
- function Ja() {
2381
+ function Ka() {
2334
2382
  return this.rgb().formatHex8();
2335
2383
  }
2336
- function Qa() {
2337
- return mr(this).formatHsl();
2384
+ function Ja() {
2385
+ return vr(this).formatHsl();
2338
2386
  }
2339
2387
  function Sn() {
2340
2388
  return this.rgb().formatRgb();
2341
2389
  }
2342
- function et(t) {
2390
+ function j(t) {
2343
2391
  var e, n;
2344
- return t = (t + "").trim().toLowerCase(), (e = Ua.exec(t)) ? (n = e[1].length, e = parseInt(e[1], 16), n === 6 ? En(e) : n === 3 ? new O(e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, (e & 15) << 4 | e & 15, 1) : n === 8 ? It(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, (e & 255) / 255) : n === 4 ? It(e >> 12 & 15 | e >> 8 & 240, e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, ((e & 15) << 4 | e & 15) / 255) : null) : (e = qa.exec(t)) ? new O(e[1], e[2], e[3], 1) : (e = Xa.exec(t)) ? new O(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, 1) : (e = Ga.exec(t)) ? It(e[1], e[2], e[3], e[4]) : (e = Ya.exec(t)) ? It(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, e[4]) : (e = Za.exec(t)) ? $n(e[1], e[2] / 100, e[3] / 100, 1) : (e = Ka.exec(t)) ? $n(e[1], e[2] / 100, e[3] / 100, e[4]) : bn.hasOwnProperty(t) ? En(bn[t]) : t === "transparent" ? new O(NaN, NaN, NaN, 0) : null;
2392
+ return t = (t + "").trim().toLowerCase(), (e = Wa.exec(t)) ? (n = e[1].length, e = parseInt(e[1], 16), n === 6 ? En(e) : n === 3 ? new N(e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, (e & 15) << 4 | e & 15, 1) : n === 8 ? zt(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, (e & 255) / 255) : n === 4 ? zt(e >> 12 & 15 | e >> 8 & 240, e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, ((e & 15) << 4 | e & 15) / 255) : null) : (e = Ua.exec(t)) ? new N(e[1], e[2], e[3], 1) : (e = qa.exec(t)) ? new N(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, 1) : (e = Xa.exec(t)) ? zt(e[1], e[2], e[3], e[4]) : (e = Ga.exec(t)) ? zt(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, e[4]) : (e = Ya.exec(t)) ? $n(e[1], e[2] / 100, e[3] / 100, 1) : (e = Za.exec(t)) ? $n(e[1], e[2] / 100, e[3] / 100, e[4]) : bn.hasOwnProperty(t) ? En(bn[t]) : t === "transparent" ? new N(NaN, NaN, NaN, 0) : null;
2345
2393
  }
2346
2394
  function En(t) {
2347
- return new O(t >> 16 & 255, t >> 8 & 255, t & 255, 1);
2395
+ return new N(t >> 16 & 255, t >> 8 & 255, t & 255, 1);
2348
2396
  }
2349
- function It(t, e, n, r) {
2350
- return r <= 0 && (t = e = n = NaN), new O(t, e, n, r);
2397
+ function zt(t, e, n, r) {
2398
+ return r <= 0 && (t = e = n = NaN), new N(t, e, n, r);
2351
2399
  }
2352
- function ja(t) {
2353
- return t instanceof Ot || (t = et(t)), t ? (t = t.rgb(), new O(t.r, t.g, t.b, t.opacity)) : new O();
2400
+ function Qa(t) {
2401
+ return t instanceof $t || (t = j(t)), t ? (t = t.rgb(), new N(t.r, t.g, t.b, t.opacity)) : new N();
2354
2402
  }
2355
2403
  function Te(t, e, n, r) {
2356
- return arguments.length === 1 ? ja(t) : new O(t, e, n, r ?? 1);
2404
+ return arguments.length === 1 ? Qa(t) : new N(t, e, n, r ?? 1);
2357
2405
  }
2358
- function O(t, e, n, r) {
2406
+ function N(t, e, n, r) {
2359
2407
  this.r = +t, this.g = +e, this.b = +n, this.opacity = +r;
2360
2408
  }
2361
- Ve(O, Te, vr(Ot, {
2409
+ Ve(N, Te, pr($t, {
2362
2410
  brighter(t) {
2363
- return t = t == null ? ne : Math.pow(ne, t), new O(this.r * t, this.g * t, this.b * t, this.opacity);
2411
+ return t = t == null ? jt : Math.pow(jt, t), new N(this.r * t, this.g * t, this.b * t, this.opacity);
2364
2412
  },
2365
2413
  darker(t) {
2366
- return t = t == null ? Et : Math.pow(Et, t), new O(this.r * t, this.g * t, this.b * t, this.opacity);
2414
+ return t = t == null ? At : Math.pow(At, t), new N(this.r * t, this.g * t, this.b * t, this.opacity);
2367
2415
  },
2368
2416
  rgb() {
2369
2417
  return this;
2370
2418
  },
2371
2419
  clamp() {
2372
- return new O(tt(this.r), tt(this.g), tt(this.b), re(this.opacity));
2420
+ return new N(Q(this.r), Q(this.g), Q(this.b), te(this.opacity));
2373
2421
  },
2374
2422
  displayable() {
2375
2423
  return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
@@ -2377,92 +2425,92 @@ Ve(O, Te, vr(Ot, {
2377
2425
  hex: Tn,
2378
2426
  // Deprecated! Use color.formatHex.
2379
2427
  formatHex: Tn,
2380
- formatHex8: to,
2428
+ formatHex8: ja,
2381
2429
  formatRgb: Cn,
2382
2430
  toString: Cn
2383
2431
  }));
2384
2432
  function Tn() {
2385
- return `#${J(this.r)}${J(this.g)}${J(this.b)}`;
2433
+ return `#${Z(this.r)}${Z(this.g)}${Z(this.b)}`;
2386
2434
  }
2387
- function to() {
2388
- return `#${J(this.r)}${J(this.g)}${J(this.b)}${J((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
2435
+ function ja() {
2436
+ return `#${Z(this.r)}${Z(this.g)}${Z(this.b)}${Z((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
2389
2437
  }
2390
2438
  function Cn() {
2391
- const t = re(this.opacity);
2392
- return `${t === 1 ? "rgb(" : "rgba("}${tt(this.r)}, ${tt(this.g)}, ${tt(this.b)}${t === 1 ? ")" : `, ${t})`}`;
2439
+ const t = te(this.opacity);
2440
+ return `${t === 1 ? "rgb(" : "rgba("}${Q(this.r)}, ${Q(this.g)}, ${Q(this.b)}${t === 1 ? ")" : `, ${t})`}`;
2393
2441
  }
2394
- function re(t) {
2442
+ function te(t) {
2395
2443
  return isNaN(t) ? 1 : Math.max(0, Math.min(1, t));
2396
2444
  }
2397
- function tt(t) {
2445
+ function Q(t) {
2398
2446
  return Math.max(0, Math.min(255, Math.round(t) || 0));
2399
2447
  }
2400
- function J(t) {
2401
- return t = tt(t), (t < 16 ? "0" : "") + t.toString(16);
2448
+ function Z(t) {
2449
+ return t = Q(t), (t < 16 ? "0" : "") + t.toString(16);
2402
2450
  }
2403
2451
  function $n(t, e, n, r) {
2404
- return r <= 0 ? t = e = n = NaN : n <= 0 || n >= 1 ? t = e = NaN : e <= 0 && (t = NaN), new z(t, e, n, r);
2452
+ return r <= 0 ? t = e = n = NaN : n <= 0 || n >= 1 ? t = e = NaN : e <= 0 && (t = NaN), new M(t, e, n, r);
2405
2453
  }
2406
- function mr(t) {
2407
- if (t instanceof z) return new z(t.h, t.s, t.l, t.opacity);
2408
- if (t instanceof Ot || (t = et(t)), !t) return new z();
2409
- if (t instanceof z) return t;
2454
+ function vr(t) {
2455
+ if (t instanceof M) return new M(t.h, t.s, t.l, t.opacity);
2456
+ if (t instanceof $t || (t = j(t)), !t) return new M();
2457
+ if (t instanceof M) return t;
2410
2458
  t = t.rgb();
2411
2459
  var e = t.r / 255, n = t.g / 255, r = t.b / 255, i = Math.min(e, n, r), s = Math.max(e, n, r), a = NaN, o = s - i, c = (s + i) / 2;
2412
- return o ? (e === s ? a = (n - r) / o + (n < r) * 6 : n === s ? a = (r - e) / o + 2 : a = (e - n) / o + 4, o /= c < 0.5 ? s + i : 2 - s - i, a *= 60) : o = c > 0 && c < 1 ? 0 : a, new z(a, o, c, t.opacity);
2460
+ return o ? (e === s ? a = (n - r) / o + (n < r) * 6 : n === s ? a = (r - e) / o + 2 : a = (e - n) / o + 4, o /= c < 0.5 ? s + i : 2 - s - i, a *= 60) : o = c > 0 && c < 1 ? 0 : a, new M(a, o, c, t.opacity);
2413
2461
  }
2414
2462
  function We(t, e, n, r) {
2415
- return arguments.length === 1 ? mr(t) : new z(t, e, n, r ?? 1);
2463
+ return arguments.length === 1 ? vr(t) : new M(t, e, n, r ?? 1);
2416
2464
  }
2417
- function z(t, e, n, r) {
2465
+ function M(t, e, n, r) {
2418
2466
  this.h = +t, this.s = +e, this.l = +n, this.opacity = +r;
2419
2467
  }
2420
- Ve(z, We, vr(Ot, {
2468
+ Ve(M, We, pr($t, {
2421
2469
  brighter(t) {
2422
- return t = t == null ? ne : Math.pow(ne, t), new z(this.h, this.s, this.l * t, this.opacity);
2470
+ return t = t == null ? jt : Math.pow(jt, t), new M(this.h, this.s, this.l * t, this.opacity);
2423
2471
  },
2424
2472
  darker(t) {
2425
- return t = t == null ? Et : Math.pow(Et, t), new z(this.h, this.s, this.l * t, this.opacity);
2473
+ return t = t == null ? At : Math.pow(At, t), new M(this.h, this.s, this.l * t, this.opacity);
2426
2474
  },
2427
2475
  rgb() {
2428
2476
  var t = this.h % 360 + (this.h < 0) * 360, e = isNaN(t) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < 0.5 ? n : 1 - n) * e, i = 2 * n - r;
2429
- return new O(
2430
- _e(t >= 240 ? t - 240 : t + 120, i, r),
2431
- _e(t, i, r),
2432
- _e(t < 120 ? t + 240 : t - 120, i, r),
2477
+ return new N(
2478
+ we(t >= 240 ? t - 240 : t + 120, i, r),
2479
+ we(t, i, r),
2480
+ we(t < 120 ? t + 240 : t - 120, i, r),
2433
2481
  this.opacity
2434
2482
  );
2435
2483
  },
2436
2484
  clamp() {
2437
- return new z(Rn(this.h), Ft(this.s), Ft(this.l), re(this.opacity));
2485
+ return new M(Rn(this.h), Mt(this.s), Mt(this.l), te(this.opacity));
2438
2486
  },
2439
2487
  displayable() {
2440
2488
  return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
2441
2489
  },
2442
2490
  formatHsl() {
2443
- const t = re(this.opacity);
2444
- return `${t === 1 ? "hsl(" : "hsla("}${Rn(this.h)}, ${Ft(this.s) * 100}%, ${Ft(this.l) * 100}%${t === 1 ? ")" : `, ${t})`}`;
2491
+ const t = te(this.opacity);
2492
+ return `${t === 1 ? "hsl(" : "hsla("}${Rn(this.h)}, ${Mt(this.s) * 100}%, ${Mt(this.l) * 100}%${t === 1 ? ")" : `, ${t})`}`;
2445
2493
  }
2446
2494
  }));
2447
2495
  function Rn(t) {
2448
2496
  return t = (t || 0) % 360, t < 0 ? t + 360 : t;
2449
2497
  }
2450
- function Ft(t) {
2498
+ function Mt(t) {
2451
2499
  return Math.max(0, Math.min(1, t || 0));
2452
2500
  }
2453
- function _e(t, e, n) {
2501
+ function we(t, e, n) {
2454
2502
  return (t < 60 ? e + (n - e) * t / 60 : t < 180 ? n : t < 240 ? e + (n - e) * (240 - t) / 60 : e) * 255;
2455
2503
  }
2456
- const gt = globalThis?.UNOVIS_COLORS || ["#4D8CFD", "#FF6B7E", "#F4B83E", "#A6CC74", "#00C19A", "#6859BE"], eo = globalThis?.UNOVIS_COLORS_DARK || ["#4D8CFD", "#FF6B7E", "#FFC16D", "#A6CC74", "#00C19A", "#7887E0"], X = (t) => `--vis-${Fe(t) ? `color${t % gt.length}` : t}`;
2457
- function no(t, e = 0.4) {
2504
+ const ht = globalThis?.UNOVIS_COLORS || ["#4D8CFD", "#FF6B7E", "#F4B83E", "#A6CC74", "#00C19A", "#6859BE"], to = globalThis?.UNOVIS_COLORS_DARK || ["#4D8CFD", "#FF6B7E", "#FFC16D", "#A6CC74", "#00C19A", "#7887E0"], X = (t) => `--vis-${Ie(t) ? `color${t % ht.length}` : t}`;
2505
+ function eo(t, e = 0.4) {
2458
2506
  const n = We(t);
2459
2507
  return n.l = n.l * (1 + e), n.formatHex();
2460
2508
  }
2461
- function ro(t, e = 0.4, n = 0.6) {
2509
+ function no(t, e = 0.4, n = 0.6) {
2462
2510
  const r = We(t);
2463
2511
  return r.s = r.s * (1 - n), r.l = r.l * (1 - e), r.formatHex();
2464
2512
  }
2465
- const ie = 10, Ce = [
2513
+ const ee = 10, Ce = [
2466
2514
  { id: "stripes-diagonal", svg: '<path d="M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2" stroke="#000"/>' },
2467
2515
  { id: "dots", svg: '<path d="m0-1.5a1 1 0 010 3m10-3a1 1 0 000 3M5 3.5a1 1 0 010 3 1 1 0 010-3M0 8.5 a1 1 0 010 3m10-3a1 1 0 000 3" fill"#000"/>' },
2468
2516
  { id: "stripes-vertical", svg: '<path d="M 5,-1 L5,11" stroke="#000"/>' },
@@ -2480,28 +2528,27 @@ const ie = 10, Ce = [
2480
2528
  function G(t) {
2481
2529
  return `vis-${`pattern-${t.svg ? "fill" : "marker"}`}-${t.id}`;
2482
2530
  }
2483
- const io = (t) => `<mask id="${G(t)}">
2484
- <pattern id="${t.id}" viewBox="0 0 10 10" width="${ie}" height="${ie}" patternUnits="userSpaceOnUse">
2531
+ const ro = (t) => `<mask id="${G(t)}">
2532
+ <pattern id="${t.id}" viewBox="0 0 10 10" width="${ee}" height="${ee}" patternUnits="userSpaceOnUse">
2485
2533
  <rect width="100%" height="100%" fill="#fff"/>
2486
2534
  ${t.svg}
2487
2535
  </pattern>
2488
2536
  <rect x="-50%" y="-50%" width="200%" height="200%" fill="url(#${t.id})"/>
2489
- </mask>`, so = (t, e) => `<marker id="${G(t)}"
2537
+ </mask>`, io = (t, e) => `<marker id="${G(t)}"
2490
2538
  fill="var(${X(e)})"
2491
2539
  markerUnits="userSpaceOnUse"
2492
2540
  refX="5"
2493
2541
  refY="5"
2494
- markerWidth="${ie}"
2495
- markerHeight="${ie}">
2542
+ markerWidth="${ee}"
2543
+ markerHeight="${ee}">
2496
2544
  ${t.marker}
2497
2545
  </marker>`;
2498
- function ao() {
2499
- const t = Ce.map(io).concat($e.map(so)).join(""), e = document.createElementNS("http://www.w3.org/2000/svg", "svg");
2546
+ function so() {
2547
+ const t = Ce.map(ro).concat($e.map(io)).join(""), e = document.createElementNS("http://www.w3.org/2000/svg", "svg");
2500
2548
  e.setAttribute("height", "100%"), e.setAttribute("width", "100%"), e.style.position = "fixed", e.style.zIndex = "-99999999", e.innerHTML = `<defs>${t}</defs>`, document.body.appendChild(e);
2501
2549
  }
2502
- typeof window < "u" && ao();
2503
- const yr = globalThis?.UNOVIS_FONT_W2H_RATIO_DEFAULT || 0.5, _r = globalThis?.UNOVIS_TEXT_SEPARATOR_DEFAULT || [" ", "-", ".", ","], wr = globalThis?.UNOVIS_TEXT_HYPHEN_CHARACTER_DEFAULT || "-", _t = globalThis?.UNOVIS_TEXT_DEFAULT || {
2504
- // If you change these defaults, don't forget to update the values in the `UnovisText` type in `types/text.ts`
2550
+ typeof window < "u" && so();
2551
+ const mr = globalThis?.UNOVIS_FONT_W2H_RATIO_DEFAULT || 0.5, yr = globalThis?.UNOVIS_TEXT_SEPARATOR_DEFAULT || [" ", "-", ".", ","], wr = globalThis?.UNOVIS_TEXT_HYPHEN_CHARACTER_DEFAULT || "-", Nn = globalThis?.UNOVIS_TEXT_DEFAULT || {
2505
2552
  text: "",
2506
2553
  fontSize: 12,
2507
2554
  fontFamily: "var(--vis-font-family)",
@@ -2509,17 +2556,17 @@ const yr = globalThis?.UNOVIS_FONT_W2H_RATIO_DEFAULT || 0.5, _r = globalThis?.UN
2509
2556
  marginTop: 0,
2510
2557
  marginBottom: 0
2511
2558
  };
2512
- Pa`
2559
+ Da`
2513
2560
  :root {
2514
2561
  label: vis-root-styles;
2515
2562
  --vis-font-family: Inter, Arial, "Helvetica Neue", Helvetica, sans-serif;
2516
- --vis-font-wh-ratio: ${yr};
2563
+ --vis-font-wh-ratio: ${mr};
2517
2564
  --vis-color-main: var(${X(0)});
2518
- --vis-color-main-light: ${no(gt[0])};
2519
- --vis-color-main-dark: ${ro(gt[0])};
2565
+ --vis-color-main-light: ${eo(ht[0])};
2566
+ --vis-color-main-dark: ${no(ht[0])};
2520
2567
  --vis-color-grey: #2a2a2a;
2521
- ${gt.map((t, e) => `${X(e)}: ${t};`)}
2522
- ${eo.map((t, e) => `--vis-dark-color${e}: ${t};`)}
2568
+ ${ht.map((t, e) => `${X(e)}: ${t};`)}
2569
+ ${to.map((t, e) => `--vis-dark-color${e}: ${t};`)}
2523
2570
  ${Ce.map((t, e) => `
2524
2571
  --${G(t)}: url(#${G(t)});
2525
2572
  --vis-pattern-fill${e}: var(--${G(t)});
@@ -2534,7 +2581,7 @@ Pa`
2534
2581
  })}
2535
2582
 
2536
2583
  body.theme-dark {
2537
- ${gt.map((t, e) => `${X(e)}: var(--vis-dark-color${e});`)}
2584
+ ${ht.map((t, e) => `${X(e)}: var(--vis-dark-color${e});`)}
2538
2585
  }
2539
2586
 
2540
2587
  body.theme-patterns {
@@ -2550,19 +2597,19 @@ Pa`
2550
2597
  `)}
2551
2598
  }
2552
2599
  `;
2553
- function xr(t = window?.document.body) {
2554
- return t ? +Wa("var(--vis-font-wh-ratio)", t) : yr;
2600
+ function ao(t = window?.document.body) {
2601
+ return t ? +Va("var(--vis-font-wh-ratio)", t) : mr;
2555
2602
  }
2556
2603
  var oo = { value: () => {
2557
2604
  } };
2558
- function br() {
2605
+ function _r() {
2559
2606
  for (var t = 0, e = arguments.length, n = {}, r; t < e; ++t) {
2560
2607
  if (!(r = arguments[t] + "") || r in n || /[\s.]/.test(r)) throw new Error("illegal type: " + r);
2561
2608
  n[r] = [];
2562
2609
  }
2563
- return new Wt(n);
2610
+ return new Pt(n);
2564
2611
  }
2565
- function Wt(t) {
2612
+ function Pt(t) {
2566
2613
  this._ = t;
2567
2614
  }
2568
2615
  function co(t, e) {
@@ -2572,8 +2619,8 @@ function co(t, e) {
2572
2619
  return { type: n, name: r };
2573
2620
  });
2574
2621
  }
2575
- Wt.prototype = br.prototype = {
2576
- constructor: Wt,
2622
+ Pt.prototype = _r.prototype = {
2623
+ constructor: Pt,
2577
2624
  on: function(t, e) {
2578
2625
  var n = this._, r = co(t + "", n), i, s = -1, a = r.length;
2579
2626
  if (arguments.length < 2) {
@@ -2589,7 +2636,7 @@ Wt.prototype = br.prototype = {
2589
2636
  copy: function() {
2590
2637
  var t = {}, e = this._;
2591
2638
  for (var n in e) t[n] = e[n].slice();
2592
- return new Wt(t);
2639
+ return new Pt(t);
2593
2640
  },
2594
2641
  call: function(t, e) {
2595
2642
  if ((i = arguments.length - 2) > 0) for (var n = new Array(i), r = 0, i, s; r < i; ++r) n[r] = arguments[r + 2];
@@ -2614,70 +2661,70 @@ function On(t, e, n) {
2614
2661
  }
2615
2662
  return n != null && t.push({ name: e, value: n }), t;
2616
2663
  }
2617
- var ft = 0, pt = 0, dt = 0, Ar = 1e3, se, vt, ae = 0, nt = 0, de = 0, Ct = typeof performance == "object" && performance.now ? performance : Date, Sr = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
2664
+ var ct = 0, dt = 0, lt = 0, xr = 1e3, ne, gt, re = 0, tt = 0, fe = 0, Et = typeof performance == "object" && performance.now ? performance : Date, br = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
2618
2665
  setTimeout(t, 17);
2619
2666
  };
2620
2667
  function Ue() {
2621
- return nt || (Sr(fo), nt = Ct.now() + de);
2668
+ return tt || (br(fo), tt = Et.now() + fe);
2622
2669
  }
2623
2670
  function fo() {
2624
- nt = 0;
2671
+ tt = 0;
2625
2672
  }
2626
- function oe() {
2673
+ function ie() {
2627
2674
  this._call = this._time = this._next = null;
2628
2675
  }
2629
- oe.prototype = Er.prototype = {
2630
- constructor: oe,
2676
+ ie.prototype = Ar.prototype = {
2677
+ constructor: ie,
2631
2678
  restart: function(t, e, n) {
2632
2679
  if (typeof t != "function") throw new TypeError("callback is not a function");
2633
- n = (n == null ? Ue() : +n) + (e == null ? 0 : +e), !this._next && vt !== this && (vt ? vt._next = this : se = this, vt = this), this._call = t, this._time = n, Re();
2680
+ n = (n == null ? Ue() : +n) + (e == null ? 0 : +e), !this._next && gt !== this && (gt ? gt._next = this : ne = this, gt = this), this._call = t, this._time = n, Re();
2634
2681
  },
2635
2682
  stop: function() {
2636
2683
  this._call && (this._call = null, this._time = 1 / 0, Re());
2637
2684
  }
2638
2685
  };
2639
- function Er(t, e, n) {
2640
- var r = new oe();
2686
+ function Ar(t, e, n) {
2687
+ var r = new ie();
2641
2688
  return r.restart(t, e, n), r;
2642
2689
  }
2643
2690
  function lo() {
2644
- Ue(), ++ft;
2645
- for (var t = se, e; t; )
2646
- (e = nt - t._time) >= 0 && t._call.call(void 0, e), t = t._next;
2647
- --ft;
2691
+ Ue(), ++ct;
2692
+ for (var t = ne, e; t; )
2693
+ (e = tt - t._time) >= 0 && t._call.call(void 0, e), t = t._next;
2694
+ --ct;
2648
2695
  }
2649
2696
  function kn() {
2650
- nt = (ae = Ct.now()) + de, ft = pt = 0;
2697
+ tt = (re = Et.now()) + fe, ct = dt = 0;
2651
2698
  try {
2652
2699
  lo();
2653
2700
  } finally {
2654
- ft = 0, go(), nt = 0;
2701
+ ct = 0, go(), tt = 0;
2655
2702
  }
2656
2703
  }
2657
2704
  function ho() {
2658
- var t = Ct.now(), e = t - ae;
2659
- e > Ar && (de -= e, ae = t);
2705
+ var t = Et.now(), e = t - re;
2706
+ e > xr && (fe -= e, re = t);
2660
2707
  }
2661
2708
  function go() {
2662
- for (var t, e = se, n, r = 1 / 0; e; )
2663
- e._call ? (r > e._time && (r = e._time), t = e, e = e._next) : (n = e._next, e._next = null, e = t ? t._next = n : se = n);
2664
- vt = t, Re(r);
2709
+ for (var t, e = ne, n, r = 1 / 0; e; )
2710
+ e._call ? (r > e._time && (r = e._time), t = e, e = e._next) : (n = e._next, e._next = null, e = t ? t._next = n : ne = n);
2711
+ gt = t, Re(r);
2665
2712
  }
2666
2713
  function Re(t) {
2667
- if (!ft) {
2668
- pt && (pt = clearTimeout(pt));
2669
- var e = t - nt;
2670
- e > 24 ? (t < 1 / 0 && (pt = setTimeout(kn, t - Ct.now() - de)), dt && (dt = clearInterval(dt))) : (dt || (ae = Ct.now(), dt = setInterval(ho, Ar)), ft = 1, Sr(kn));
2714
+ if (!ct) {
2715
+ dt && (dt = clearTimeout(dt));
2716
+ var e = t - tt;
2717
+ e > 24 ? (t < 1 / 0 && (dt = setTimeout(kn, t - Et.now() - fe)), lt && (lt = clearInterval(lt))) : (lt || (re = Et.now(), lt = setInterval(ho, xr)), ct = 1, br(kn));
2671
2718
  }
2672
2719
  }
2673
- function Nn(t, e, n) {
2674
- var r = new oe();
2720
+ function zn(t, e, n) {
2721
+ var r = new ie();
2675
2722
  return e = e == null ? 0 : +e, r.restart((i) => {
2676
2723
  r.stop(), t(i + e);
2677
2724
  }, e, n), r;
2678
2725
  }
2679
- var po = br("start", "end", "cancel", "interrupt"), vo = [], Tr = 0, Mn = 1, Oe = 2, Ut = 3, zn = 4, ke = 5, qt = 6;
2680
- function ge(t, e, n, r, i, s) {
2726
+ var po = _r("start", "end", "cancel", "interrupt"), vo = [], Sr = 0, Mn = 1, Ne = 2, Bt = 3, Fn = 4, Oe = 5, Vt = 6;
2727
+ function le(t, e, n, r, i, s) {
2681
2728
  var a = t.__transition;
2682
2729
  if (!a) t.__transition = {};
2683
2730
  else if (n in a) return;
@@ -2694,17 +2741,17 @@ function ge(t, e, n, r, i, s) {
2694
2741
  duration: s.duration,
2695
2742
  ease: s.ease,
2696
2743
  timer: null,
2697
- state: Tr
2744
+ state: Sr
2698
2745
  });
2699
2746
  }
2700
2747
  function qe(t, e) {
2701
2748
  var n = F(t, e);
2702
- if (n.state > Tr) throw new Error("too late; already scheduled");
2749
+ if (n.state > Sr) throw new Error("too late; already scheduled");
2703
2750
  return n;
2704
2751
  }
2705
- function W(t, e) {
2752
+ function B(t, e) {
2706
2753
  var n = F(t, e);
2707
- if (n.state > Ut) throw new Error("too late; already running");
2754
+ if (n.state > Bt) throw new Error("too late; already running");
2708
2755
  return n;
2709
2756
  }
2710
2757
  function F(t, e) {
@@ -2714,7 +2761,7 @@ function F(t, e) {
2714
2761
  }
2715
2762
  function mo(t, e, n) {
2716
2763
  var r = t.__transition, i;
2717
- r[e] = n, n.timer = Er(s, 0, n.time);
2764
+ r[e] = n, n.timer = Ar(s, 0, n.time);
2718
2765
  function s(u) {
2719
2766
  n.state = Mn, n.timer.restart(a, n.delay, n.time), n.delay <= u && a(u - n.delay);
2720
2767
  }
@@ -2723,29 +2770,29 @@ function mo(t, e, n) {
2723
2770
  if (n.state !== Mn) return c();
2724
2771
  for (f in r)
2725
2772
  if (p = r[f], p.name === n.name) {
2726
- if (p.state === Ut) return Nn(a);
2727
- p.state === zn ? (p.state = qt, p.timer.stop(), p.on.call("interrupt", t, t.__data__, p.index, p.group), delete r[f]) : +f < e && (p.state = qt, p.timer.stop(), p.on.call("cancel", t, t.__data__, p.index, p.group), delete r[f]);
2773
+ if (p.state === Bt) return zn(a);
2774
+ p.state === Fn ? (p.state = Vt, p.timer.stop(), p.on.call("interrupt", t, t.__data__, p.index, p.group), delete r[f]) : +f < e && (p.state = Vt, p.timer.stop(), p.on.call("cancel", t, t.__data__, p.index, p.group), delete r[f]);
2728
2775
  }
2729
- if (Nn(function() {
2730
- n.state === Ut && (n.state = zn, n.timer.restart(o, n.delay, n.time), o(u));
2731
- }), n.state = Oe, n.on.call("start", t, t.__data__, n.index, n.group), n.state === Oe) {
2732
- for (n.state = Ut, i = new Array(h = n.tween.length), f = 0, l = -1; f < h; ++f)
2776
+ if (zn(function() {
2777
+ n.state === Bt && (n.state = Fn, n.timer.restart(o, n.delay, n.time), o(u));
2778
+ }), n.state = Ne, n.on.call("start", t, t.__data__, n.index, n.group), n.state === Ne) {
2779
+ for (n.state = Bt, i = new Array(h = n.tween.length), f = 0, l = -1; f < h; ++f)
2733
2780
  (p = n.tween[f].value.call(t, t.__data__, n.index, n.group)) && (i[++l] = p);
2734
2781
  i.length = l + 1;
2735
2782
  }
2736
2783
  }
2737
2784
  function o(u) {
2738
- for (var f = u < n.duration ? n.ease.call(null, u / n.duration) : (n.timer.restart(c), n.state = ke, 1), l = -1, h = i.length; ++l < h; )
2785
+ for (var f = u < n.duration ? n.ease.call(null, u / n.duration) : (n.timer.restart(c), n.state = Oe, 1), l = -1, h = i.length; ++l < h; )
2739
2786
  i[l].call(t, f);
2740
- n.state === ke && (n.on.call("end", t, t.__data__, n.index, n.group), c());
2787
+ n.state === Oe && (n.on.call("end", t, t.__data__, n.index, n.group), c());
2741
2788
  }
2742
2789
  function c() {
2743
- n.state = qt, n.timer.stop(), delete r[e];
2790
+ n.state = Vt, n.timer.stop(), delete r[e];
2744
2791
  for (var u in r) return;
2745
2792
  delete t.__transition;
2746
2793
  }
2747
2794
  }
2748
- function Cr(t, e) {
2795
+ function Er(t, e) {
2749
2796
  var n = t.__transition, r, i, s = !0, a;
2750
2797
  if (n) {
2751
2798
  e = e == null ? null : e + "";
@@ -2754,40 +2801,40 @@ function Cr(t, e) {
2754
2801
  s = !1;
2755
2802
  continue;
2756
2803
  }
2757
- i = r.state > Oe && r.state < ke, r.state = qt, r.timer.stop(), r.on.call(i ? "interrupt" : "cancel", t, t.__data__, r.index, r.group), delete n[a];
2804
+ i = r.state > Ne && r.state < Oe, r.state = Vt, r.timer.stop(), r.on.call(i ? "interrupt" : "cancel", t, t.__data__, r.index, r.group), delete n[a];
2758
2805
  }
2759
2806
  s && delete t.__transition;
2760
2807
  }
2761
2808
  }
2762
2809
  function yo(t) {
2763
2810
  return this.each(function() {
2764
- Cr(this, t);
2811
+ Er(this, t);
2765
2812
  });
2766
2813
  }
2767
2814
  const Xe = (t) => () => t;
2768
- function _o(t, e) {
2815
+ function wo(t, e) {
2769
2816
  return function(n) {
2770
2817
  return t + n * e;
2771
2818
  };
2772
2819
  }
2773
- function wo(t, e, n) {
2820
+ function _o(t, e, n) {
2774
2821
  return t = Math.pow(t, n), e = Math.pow(e, n) - t, n = 1 / n, function(r) {
2775
2822
  return Math.pow(t + r * e, n);
2776
2823
  };
2777
2824
  }
2778
2825
  function xo(t) {
2779
- return (t = +t) == 1 ? $r : function(e, n) {
2780
- return n - e ? wo(e, n, t) : Xe(isNaN(e) ? n : e);
2826
+ return (t = +t) == 1 ? Tr : function(e, n) {
2827
+ return n - e ? _o(e, n, t) : Xe(isNaN(e) ? n : e);
2781
2828
  };
2782
2829
  }
2783
- function $r(t, e) {
2830
+ function Tr(t, e) {
2784
2831
  var n = e - t;
2785
- return n ? _o(t, n) : Xe(isNaN(t) ? e : t);
2832
+ return n ? wo(t, n) : Xe(isNaN(t) ? e : t);
2786
2833
  }
2787
- const ce = (function t(e) {
2834
+ const se = (function t(e) {
2788
2835
  var n = xo(e);
2789
2836
  function r(i, s) {
2790
- var a = n((i = Te(i)).r, (s = Te(s)).r), o = n(i.g, s.g), c = n(i.b, s.b), u = $r(i.opacity, s.opacity);
2837
+ var a = n((i = Te(i)).r, (s = Te(s)).r), o = n(i.g, s.g), c = n(i.b, s.b), u = Tr(i.opacity, s.opacity);
2791
2838
  return function(f) {
2792
2839
  return i.r = a(f), i.g = o(f), i.b = c(f), i.opacity = u(f), i + "";
2793
2840
  };
@@ -2807,7 +2854,7 @@ function Ao(t) {
2807
2854
  }
2808
2855
  function So(t, e) {
2809
2856
  var n = e ? e.length : 0, r = t ? Math.min(n, t.length) : 0, i = new Array(r), s = new Array(n), a;
2810
- for (a = 0; a < r; ++a) i[a] = Or(t[a], e[a]);
2857
+ for (a = 0; a < r; ++a) i[a] = $r(t[a], e[a]);
2811
2858
  for (; a < n; ++a) s[a] = e[a];
2812
2859
  return function(o) {
2813
2860
  for (a = 0; a < r; ++a) s[a] = i[a](o);
@@ -2820,7 +2867,7 @@ function Eo(t, e) {
2820
2867
  return n.setTime(t * (1 - r) + e * r), n;
2821
2868
  };
2822
2869
  }
2823
- function H(t, e) {
2870
+ function L(t, e) {
2824
2871
  return t = +t, e = +e, function(n) {
2825
2872
  return t * (1 - n) + e * n;
2826
2873
  };
@@ -2829,13 +2876,13 @@ function To(t, e) {
2829
2876
  var n = {}, r = {}, i;
2830
2877
  (t === null || typeof t != "object") && (t = {}), (e === null || typeof e != "object") && (e = {});
2831
2878
  for (i in e)
2832
- i in t ? n[i] = Or(t[i], e[i]) : r[i] = e[i];
2879
+ i in t ? n[i] = $r(t[i], e[i]) : r[i] = e[i];
2833
2880
  return function(s) {
2834
2881
  for (i in n) r[i] = n[i](s);
2835
2882
  return r;
2836
2883
  };
2837
2884
  }
2838
- var Ne = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, we = new RegExp(Ne.source, "g");
2885
+ var ke = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, _e = new RegExp(ke.source, "g");
2839
2886
  function Co(t) {
2840
2887
  return function() {
2841
2888
  return t;
@@ -2846,20 +2893,20 @@ function $o(t) {
2846
2893
  return t(e) + "";
2847
2894
  };
2848
2895
  }
2849
- function Rr(t, e) {
2850
- var n = Ne.lastIndex = we.lastIndex = 0, r, i, s, a = -1, o = [], c = [];
2851
- for (t = t + "", e = e + ""; (r = Ne.exec(t)) && (i = we.exec(e)); )
2852
- (s = i.index) > n && (s = e.slice(n, s), o[a] ? o[a] += s : o[++a] = s), (r = r[0]) === (i = i[0]) ? o[a] ? o[a] += i : o[++a] = i : (o[++a] = null, c.push({ i: a, x: H(r, i) })), n = we.lastIndex;
2896
+ function Cr(t, e) {
2897
+ var n = ke.lastIndex = _e.lastIndex = 0, r, i, s, a = -1, o = [], c = [];
2898
+ for (t = t + "", e = e + ""; (r = ke.exec(t)) && (i = _e.exec(e)); )
2899
+ (s = i.index) > n && (s = e.slice(n, s), o[a] ? o[a] += s : o[++a] = s), (r = r[0]) === (i = i[0]) ? o[a] ? o[a] += i : o[++a] = i : (o[++a] = null, c.push({ i: a, x: L(r, i) })), n = _e.lastIndex;
2853
2900
  return n < e.length && (s = e.slice(n), o[a] ? o[a] += s : o[++a] = s), o.length < 2 ? c[0] ? $o(c[0].x) : Co(e) : (e = c.length, function(u) {
2854
2901
  for (var f = 0, l; f < e; ++f) o[(l = c[f]).i] = l.x(u);
2855
2902
  return o.join("");
2856
2903
  });
2857
2904
  }
2858
- function Or(t, e) {
2905
+ function $r(t, e) {
2859
2906
  var n = typeof e, r;
2860
- return e == null || n === "boolean" ? Xe(e) : (n === "number" ? H : n === "string" ? (r = et(e)) ? (e = r, ce) : Rr : e instanceof et ? ce : e instanceof Date ? Eo : Ao(e) ? bo : Array.isArray(e) ? So : typeof e.valueOf != "function" && typeof e.toString != "function" || isNaN(e) ? To : H)(t, e);
2907
+ return e == null || n === "boolean" ? Xe(e) : (n === "number" ? L : n === "string" ? (r = j(e)) ? (e = r, se) : Cr : e instanceof j ? se : e instanceof Date ? Eo : Ao(e) ? bo : Array.isArray(e) ? So : typeof e.valueOf != "function" && typeof e.toString != "function" || isNaN(e) ? To : L)(t, e);
2861
2908
  }
2862
- var In = 180 / Math.PI, Me = {
2909
+ var In = 180 / Math.PI, ze = {
2863
2910
  translateX: 0,
2864
2911
  translateY: 0,
2865
2912
  rotate: 0,
@@ -2867,7 +2914,7 @@ var In = 180 / Math.PI, Me = {
2867
2914
  scaleX: 1,
2868
2915
  scaleY: 1
2869
2916
  };
2870
- function kr(t, e, n, r, i, s) {
2917
+ function Rr(t, e, n, r, i, s) {
2871
2918
  var a, o, c;
2872
2919
  return (a = Math.sqrt(t * t + e * e)) && (t /= a, e /= a), (c = t * n + e * r) && (n -= t * c, r -= e * c), (o = Math.sqrt(n * n + r * r)) && (n /= o, r /= o, c /= o), t * r < e * n && (t = -t, e = -e, c = -c, a = -a), {
2873
2920
  translateX: i,
@@ -2878,13 +2925,13 @@ function kr(t, e, n, r, i, s) {
2878
2925
  scaleY: o
2879
2926
  };
2880
2927
  }
2881
- var Dt;
2928
+ var Ft;
2882
2929
  function Ro(t) {
2883
2930
  const e = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(t + "");
2884
- return e.isIdentity ? Me : kr(e.a, e.b, e.c, e.d, e.e, e.f);
2931
+ return e.isIdentity ? ze : Rr(e.a, e.b, e.c, e.d, e.e, e.f);
2885
2932
  }
2886
- function Oo(t) {
2887
- return t == null || (Dt || (Dt = document.createElementNS("http://www.w3.org/2000/svg", "g")), Dt.setAttribute("transform", t), !(t = Dt.transform.baseVal.consolidate())) ? Me : (t = t.matrix, kr(t.a, t.b, t.c, t.d, t.e, t.f));
2933
+ function No(t) {
2934
+ return t == null || (Ft || (Ft = document.createElementNS("http://www.w3.org/2000/svg", "g")), Ft.setAttribute("transform", t), !(t = Ft.transform.baseVal.consolidate())) ? ze : (t = t.matrix, Rr(t.a, t.b, t.c, t.d, t.e, t.f));
2888
2935
  }
2889
2936
  function Nr(t, e, n, r) {
2890
2937
  function i(u) {
@@ -2893,34 +2940,34 @@ function Nr(t, e, n, r) {
2893
2940
  function s(u, f, l, h, p, g) {
2894
2941
  if (u !== l || f !== h) {
2895
2942
  var d = p.push("translate(", null, e, null, n);
2896
- g.push({ i: d - 4, x: H(u, l) }, { i: d - 2, x: H(f, h) });
2943
+ g.push({ i: d - 4, x: L(u, l) }, { i: d - 2, x: L(f, h) });
2897
2944
  } else (l || h) && p.push("translate(" + l + e + h + n);
2898
2945
  }
2899
2946
  function a(u, f, l, h) {
2900
- u !== f ? (u - f > 180 ? f += 360 : f - u > 180 && (u += 360), h.push({ i: l.push(i(l) + "rotate(", null, r) - 2, x: H(u, f) })) : f && l.push(i(l) + "rotate(" + f + r);
2947
+ u !== f ? (u - f > 180 ? f += 360 : f - u > 180 && (u += 360), h.push({ i: l.push(i(l) + "rotate(", null, r) - 2, x: L(u, f) })) : f && l.push(i(l) + "rotate(" + f + r);
2901
2948
  }
2902
2949
  function o(u, f, l, h) {
2903
- u !== f ? h.push({ i: l.push(i(l) + "skewX(", null, r) - 2, x: H(u, f) }) : f && l.push(i(l) + "skewX(" + f + r);
2950
+ u !== f ? h.push({ i: l.push(i(l) + "skewX(", null, r) - 2, x: L(u, f) }) : f && l.push(i(l) + "skewX(" + f + r);
2904
2951
  }
2905
2952
  function c(u, f, l, h, p, g) {
2906
2953
  if (u !== l || f !== h) {
2907
2954
  var d = p.push(i(p) + "scale(", null, ",", null, ")");
2908
- g.push({ i: d - 4, x: H(u, l) }, { i: d - 2, x: H(f, h) });
2955
+ g.push({ i: d - 4, x: L(u, l) }, { i: d - 2, x: L(f, h) });
2909
2956
  } else (l !== 1 || h !== 1) && p.push(i(p) + "scale(" + l + "," + h + ")");
2910
2957
  }
2911
2958
  return function(u, f) {
2912
2959
  var l = [], h = [];
2913
2960
  return u = t(u), f = t(f), s(u.translateX, u.translateY, f.translateX, f.translateY, l, h), a(u.rotate, f.rotate, l, h), o(u.skewX, f.skewX, l, h), c(u.scaleX, u.scaleY, f.scaleX, f.scaleY, l, h), u = f = null, function(p) {
2914
- for (var g = -1, d = h.length, y; ++g < d; ) l[(y = h[g]).i] = y.x(p);
2961
+ for (var g = -1, d = h.length, v; ++g < d; ) l[(v = h[g]).i] = v.x(p);
2915
2962
  return l.join("");
2916
2963
  };
2917
2964
  };
2918
2965
  }
2919
- var ko = Nr(Ro, "px, ", "px)", "deg)"), No = Nr(Oo, ", ", ")", ")");
2920
- function Mo(t, e) {
2966
+ var Oo = Nr(Ro, "px, ", "px)", "deg)"), ko = Nr(No, ", ", ")", ")");
2967
+ function zo(t, e) {
2921
2968
  var n, r;
2922
2969
  return function() {
2923
- var i = W(this, t), s = i.tween;
2970
+ var i = B(this, t), s = i.tween;
2924
2971
  if (s !== n) {
2925
2972
  r = n = s;
2926
2973
  for (var a = 0, o = r.length; a < o; ++a)
@@ -2932,11 +2979,11 @@ function Mo(t, e) {
2932
2979
  i.tween = r;
2933
2980
  };
2934
2981
  }
2935
- function zo(t, e, n) {
2982
+ function Mo(t, e, n) {
2936
2983
  var r, i;
2937
2984
  if (typeof n != "function") throw new Error();
2938
2985
  return function() {
2939
- var s = W(this, t), a = s.tween;
2986
+ var s = B(this, t), a = s.tween;
2940
2987
  if (a !== r) {
2941
2988
  i = (r = a).slice();
2942
2989
  for (var o = { name: e, value: n }, c = 0, u = i.length; c < u; ++c)
@@ -2949,7 +2996,7 @@ function zo(t, e, n) {
2949
2996
  s.tween = i;
2950
2997
  };
2951
2998
  }
2952
- function Io(t, e) {
2999
+ function Fo(t, e) {
2953
3000
  var n = this._id;
2954
3001
  if (t += "", arguments.length < 2) {
2955
3002
  for (var r = F(this.node(), n).tween, i = 0, s = r.length, a; i < s; ++i)
@@ -2957,22 +3004,22 @@ function Io(t, e) {
2957
3004
  return a.value;
2958
3005
  return null;
2959
3006
  }
2960
- return this.each((e == null ? Mo : zo)(n, t, e));
3007
+ return this.each((e == null ? zo : Mo)(n, t, e));
2961
3008
  }
2962
3009
  function Ge(t, e, n) {
2963
3010
  var r = t._id;
2964
3011
  return t.each(function() {
2965
- var i = W(this, r);
3012
+ var i = B(this, r);
2966
3013
  (i.value || (i.value = {}))[e] = n.apply(this, arguments);
2967
3014
  }), function(i) {
2968
3015
  return F(i, r).value[e];
2969
3016
  };
2970
3017
  }
2971
- function Mr(t, e) {
3018
+ function Or(t, e) {
2972
3019
  var n;
2973
- return (typeof e == "number" ? H : e instanceof et ? ce : (n = et(e)) ? (e = n, ce) : Rr)(t, e);
3020
+ return (typeof e == "number" ? L : e instanceof j ? se : (n = j(e)) ? (e = n, se) : Cr)(t, e);
2974
3021
  }
2975
- function Fo(t) {
3022
+ function Io(t) {
2976
3023
  return function() {
2977
3024
  this.removeAttribute(t);
2978
3025
  };
@@ -2989,21 +3036,21 @@ function Lo(t, e, n) {
2989
3036
  return a === i ? null : a === r ? s : s = e(r = a, n);
2990
3037
  };
2991
3038
  }
2992
- function Bo(t, e, n) {
3039
+ function Ho(t, e, n) {
2993
3040
  var r, i = n + "", s;
2994
3041
  return function() {
2995
3042
  var a = this.getAttributeNS(t.space, t.local);
2996
3043
  return a === i ? null : a === r ? s : s = e(r = a, n);
2997
3044
  };
2998
3045
  }
2999
- function Ho(t, e, n) {
3046
+ function Po(t, e, n) {
3000
3047
  var r, i, s;
3001
3048
  return function() {
3002
3049
  var a, o = n(this), c;
3003
3050
  return o == null ? void this.removeAttribute(t) : (a = this.getAttribute(t), c = o + "", a === c ? null : a === r && c === i ? s : (i = c, s = e(r = a, o)));
3004
3051
  };
3005
3052
  }
3006
- function Po(t, e, n) {
3053
+ function Bo(t, e, n) {
3007
3054
  var r, i, s;
3008
3055
  return function() {
3009
3056
  var a, o = n(this), c;
@@ -3011,8 +3058,8 @@ function Po(t, e, n) {
3011
3058
  };
3012
3059
  }
3013
3060
  function Vo(t, e) {
3014
- var n = ue(t), r = n === "transform" ? No : Mr;
3015
- return this.attrTween(t, typeof e == "function" ? (n.local ? Po : Ho)(n, r, Ge(this, "attr." + t, e)) : e == null ? (n.local ? Do : Fo)(n) : (n.local ? Bo : Lo)(n, r, e));
3061
+ var n = ae(t), r = n === "transform" ? ko : Or;
3062
+ return this.attrTween(t, typeof e == "function" ? (n.local ? Bo : Po)(n, r, Ge(this, "attr." + t, e)) : e == null ? (n.local ? Do : Io)(n) : (n.local ? Ho : Lo)(n, r, e));
3016
3063
  }
3017
3064
  function Wo(t, e) {
3018
3065
  return function(n) {
@@ -3045,7 +3092,7 @@ function Go(t, e) {
3045
3092
  if (arguments.length < 2) return (n = this.tween(n)) && n._value;
3046
3093
  if (e == null) return this.tween(n, null);
3047
3094
  if (typeof e != "function") throw new Error();
3048
- var r = ue(t);
3095
+ var r = ae(t);
3049
3096
  return this.tween(n, (r.local ? qo : Xo)(r, e));
3050
3097
  }
3051
3098
  function Yo(t, e) {
@@ -3064,12 +3111,12 @@ function Ko(t) {
3064
3111
  }
3065
3112
  function Jo(t, e) {
3066
3113
  return function() {
3067
- W(this, t).duration = +e.apply(this, arguments);
3114
+ B(this, t).duration = +e.apply(this, arguments);
3068
3115
  };
3069
3116
  }
3070
3117
  function Qo(t, e) {
3071
3118
  return e = +e, function() {
3072
- W(this, t).duration = e;
3119
+ B(this, t).duration = e;
3073
3120
  };
3074
3121
  }
3075
3122
  function jo(t) {
@@ -3079,7 +3126,7 @@ function jo(t) {
3079
3126
  function tc(t, e) {
3080
3127
  if (typeof e != "function") throw new Error();
3081
3128
  return function() {
3082
- W(this, t).ease = e;
3129
+ B(this, t).ease = e;
3083
3130
  };
3084
3131
  }
3085
3132
  function ec(t) {
@@ -3090,7 +3137,7 @@ function nc(t, e) {
3090
3137
  return function() {
3091
3138
  var n = e.apply(this, arguments);
3092
3139
  if (typeof n != "function") throw new Error();
3093
- W(this, t).ease = n;
3140
+ B(this, t).ease = n;
3094
3141
  };
3095
3142
  }
3096
3143
  function rc(t) {
@@ -3098,7 +3145,7 @@ function rc(t) {
3098
3145
  return this.each(nc(this._id, t));
3099
3146
  }
3100
3147
  function ic(t) {
3101
- typeof t != "function" && (t = Hn(t));
3148
+ typeof t != "function" && (t = Bn(t));
3102
3149
  for (var e = this._groups, n = e.length, r = new Array(n), i = 0; i < n; ++i)
3103
3150
  for (var s = e[i], a = s.length, o = r[i] = [], c, u = 0; u < a; ++u)
3104
3151
  (c = s[u]) && t.call(c, c.__data__, u, s) && o.push(c);
@@ -3120,7 +3167,7 @@ function ac(t) {
3120
3167
  });
3121
3168
  }
3122
3169
  function oc(t, e, n) {
3123
- var r, i, s = ac(e) ? qe : W;
3170
+ var r, i, s = ac(e) ? qe : B;
3124
3171
  return function() {
3125
3172
  var a = s(this, t), o = a.on;
3126
3173
  o !== r && (i = (r = o).copy()).on(e, n), a.on = i;
@@ -3142,36 +3189,36 @@ function fc() {
3142
3189
  }
3143
3190
  function lc(t) {
3144
3191
  var e = this._name, n = this._id;
3145
- typeof t != "function" && (t = ze(t));
3192
+ typeof t != "function" && (t = Me(t));
3146
3193
  for (var r = this._groups, i = r.length, s = new Array(i), a = 0; a < i; ++a)
3147
3194
  for (var o = r[a], c = o.length, u = s[a] = new Array(c), f, l, h = 0; h < c; ++h)
3148
- (f = o[h]) && (l = t.call(f, f.__data__, h, o)) && ("__data__" in f && (l.__data__ = f.__data__), u[h] = l, ge(u[h], e, n, h, u, F(f, n)));
3195
+ (f = o[h]) && (l = t.call(f, f.__data__, h, o)) && ("__data__" in f && (l.__data__ = f.__data__), u[h] = l, le(u[h], e, n, h, u, F(f, n)));
3149
3196
  return new q(s, this._parents, e, n);
3150
3197
  }
3151
3198
  function hc(t) {
3152
3199
  var e = this._name, n = this._id;
3153
- typeof t != "function" && (t = Bn(t));
3200
+ typeof t != "function" && (t = Pn(t));
3154
3201
  for (var r = this._groups, i = r.length, s = [], a = [], o = 0; o < i; ++o)
3155
3202
  for (var c = r[o], u = c.length, f, l = 0; l < u; ++l)
3156
3203
  if (f = c[l]) {
3157
- for (var h = t.call(f, f.__data__, l, c), p, g = F(f, n), d = 0, y = h.length; d < y; ++d)
3158
- (p = h[d]) && ge(p, e, n, d, h, g);
3204
+ for (var h = t.call(f, f.__data__, l, c), p, g = F(f, n), d = 0, v = h.length; d < v; ++d)
3205
+ (p = h[d]) && le(p, e, n, d, h, g);
3159
3206
  s.push(h), a.push(f);
3160
3207
  }
3161
3208
  return new q(s, a, e, n);
3162
3209
  }
3163
- var dc = $t.prototype.constructor;
3210
+ var dc = Tt.prototype.constructor;
3164
3211
  function gc() {
3165
3212
  return new dc(this._groups, this._parents);
3166
3213
  }
3167
3214
  function pc(t, e) {
3168
3215
  var n, r, i;
3169
3216
  return function() {
3170
- var s = ot(this, t), a = (this.style.removeProperty(t), ot(this, t));
3217
+ var s = st(this, t), a = (this.style.removeProperty(t), st(this, t));
3171
3218
  return s === a ? null : s === n && a === r ? i : i = e(n = s, r = a);
3172
3219
  };
3173
3220
  }
3174
- function zr(t) {
3221
+ function kr(t) {
3175
3222
  return function() {
3176
3223
  this.style.removeProperty(t);
3177
3224
  };
@@ -3179,29 +3226,29 @@ function zr(t) {
3179
3226
  function vc(t, e, n) {
3180
3227
  var r, i = n + "", s;
3181
3228
  return function() {
3182
- var a = ot(this, t);
3229
+ var a = st(this, t);
3183
3230
  return a === i ? null : a === r ? s : s = e(r = a, n);
3184
3231
  };
3185
3232
  }
3186
3233
  function mc(t, e, n) {
3187
3234
  var r, i, s;
3188
3235
  return function() {
3189
- var a = ot(this, t), o = n(this), c = o + "";
3190
- return o == null && (c = o = (this.style.removeProperty(t), ot(this, t))), a === c ? null : a === r && c === i ? s : (i = c, s = e(r = a, o));
3236
+ var a = st(this, t), o = n(this), c = o + "";
3237
+ return o == null && (c = o = (this.style.removeProperty(t), st(this, t))), a === c ? null : a === r && c === i ? s : (i = c, s = e(r = a, o));
3191
3238
  };
3192
3239
  }
3193
3240
  function yc(t, e) {
3194
3241
  var n, r, i, s = "style." + e, a = "end." + s, o;
3195
3242
  return function() {
3196
- var c = W(this, t), u = c.on, f = c.value[s] == null ? o || (o = zr(e)) : void 0;
3243
+ var c = B(this, t), u = c.on, f = c.value[s] == null ? o || (o = kr(e)) : void 0;
3197
3244
  (u !== n || i !== f) && (r = (n = u).copy()).on(a, i = f), c.on = r;
3198
3245
  };
3199
3246
  }
3200
- function _c(t, e, n) {
3201
- var r = (t += "") == "transform" ? ko : Mr;
3202
- return e == null ? this.styleTween(t, pc(t, r)).on("end.style." + t, zr(t)) : typeof e == "function" ? this.styleTween(t, mc(t, r, Ge(this, "style." + t, e))).each(yc(this._id, t)) : this.styleTween(t, vc(t, r, e), n).on("end.style." + t, null);
3203
- }
3204
3247
  function wc(t, e, n) {
3248
+ var r = (t += "") == "transform" ? Oo : Or;
3249
+ return e == null ? this.styleTween(t, pc(t, r)).on("end.style." + t, kr(t)) : typeof e == "function" ? this.styleTween(t, mc(t, r, Ge(this, "style." + t, e))).each(yc(this._id, t)) : this.styleTween(t, vc(t, r, e), n).on("end.style." + t, null);
3250
+ }
3251
+ function _c(t, e, n) {
3205
3252
  return function(r) {
3206
3253
  this.style.setProperty(t, e.call(this, r), n);
3207
3254
  };
@@ -3210,7 +3257,7 @@ function xc(t, e, n) {
3210
3257
  var r, i;
3211
3258
  function s() {
3212
3259
  var a = e.apply(this, arguments);
3213
- return a !== i && (r = (i = a) && wc(t, a, n)), r;
3260
+ return a !== i && (r = (i = a) && _c(t, a, n)), r;
3214
3261
  }
3215
3262
  return s._value = e, s;
3216
3263
  }
@@ -3256,11 +3303,11 @@ function $c(t) {
3256
3303
  return this.tween(e, Cc(t));
3257
3304
  }
3258
3305
  function Rc() {
3259
- for (var t = this._name, e = this._id, n = Ir(), r = this._groups, i = r.length, s = 0; s < i; ++s)
3306
+ for (var t = this._name, e = this._id, n = zr(), r = this._groups, i = r.length, s = 0; s < i; ++s)
3260
3307
  for (var a = r[s], o = a.length, c, u = 0; u < o; ++u)
3261
3308
  if (c = a[u]) {
3262
3309
  var f = F(c, e);
3263
- ge(c, t, n, u, a, {
3310
+ le(c, t, n, u, a, {
3264
3311
  time: f.time + f.delay + f.duration,
3265
3312
  delay: 0,
3266
3313
  duration: f.duration,
@@ -3269,92 +3316,92 @@ function Rc() {
3269
3316
  }
3270
3317
  return new q(r, this._parents, t, n);
3271
3318
  }
3272
- function Oc() {
3319
+ function Nc() {
3273
3320
  var t, e, n = this, r = n._id, i = n.size();
3274
3321
  return new Promise(function(s, a) {
3275
3322
  var o = { value: a }, c = { value: function() {
3276
3323
  --i === 0 && s();
3277
3324
  } };
3278
3325
  n.each(function() {
3279
- var u = W(this, r), f = u.on;
3326
+ var u = B(this, r), f = u.on;
3280
3327
  f !== t && (e = (t = f).copy(), e._.cancel.push(o), e._.interrupt.push(o), e._.end.push(c)), u.on = e;
3281
3328
  }), i === 0 && s();
3282
3329
  });
3283
3330
  }
3284
- var kc = 0;
3331
+ var Oc = 0;
3285
3332
  function q(t, e, n, r) {
3286
3333
  this._groups = t, this._parents = e, this._name = n, this._id = r;
3287
3334
  }
3288
- function Ir() {
3289
- return ++kc;
3335
+ function zr() {
3336
+ return ++Oc;
3290
3337
  }
3291
- var U = $t.prototype;
3338
+ var W = Tt.prototype;
3292
3339
  q.prototype = {
3293
3340
  constructor: q,
3294
3341
  select: lc,
3295
3342
  selectAll: hc,
3296
- selectChild: U.selectChild,
3297
- selectChildren: U.selectChildren,
3343
+ selectChild: W.selectChild,
3344
+ selectChildren: W.selectChildren,
3298
3345
  filter: ic,
3299
3346
  merge: sc,
3300
3347
  selection: gc,
3301
3348
  transition: Rc,
3302
- call: U.call,
3303
- nodes: U.nodes,
3304
- node: U.node,
3305
- size: U.size,
3306
- empty: U.empty,
3307
- each: U.each,
3349
+ call: W.call,
3350
+ nodes: W.nodes,
3351
+ node: W.node,
3352
+ size: W.size,
3353
+ empty: W.empty,
3354
+ each: W.each,
3308
3355
  on: cc,
3309
3356
  attr: Vo,
3310
3357
  attrTween: Go,
3311
- style: _c,
3358
+ style: wc,
3312
3359
  styleTween: bc,
3313
3360
  text: Ec,
3314
3361
  textTween: $c,
3315
3362
  remove: fc,
3316
- tween: Io,
3363
+ tween: Fo,
3317
3364
  delay: Ko,
3318
3365
  duration: jo,
3319
3366
  ease: ec,
3320
3367
  easeVarying: rc,
3321
- end: Oc,
3322
- [Symbol.iterator]: U[Symbol.iterator]
3368
+ end: Nc,
3369
+ [Symbol.iterator]: W[Symbol.iterator]
3323
3370
  };
3324
- function Nc(t) {
3371
+ function kc(t) {
3325
3372
  return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;
3326
3373
  }
3327
- var Mc = {
3374
+ var zc = {
3328
3375
  time: null,
3329
3376
  // Set on use.
3330
3377
  delay: 0,
3331
3378
  duration: 250,
3332
- ease: Nc
3379
+ ease: kc
3333
3380
  };
3334
- function zc(t, e) {
3381
+ function Mc(t, e) {
3335
3382
  for (var n; !(n = t.__transition) || !(n = n[e]); )
3336
3383
  if (!(t = t.parentNode))
3337
3384
  throw new Error(`transition ${e} not found`);
3338
3385
  return n;
3339
3386
  }
3340
- function Ic(t) {
3387
+ function Fc(t) {
3341
3388
  var e, n;
3342
- t instanceof q ? (e = t._id, t = t._name) : (e = Ir(), (n = Mc).time = Ue(), t = t == null ? null : t + "");
3389
+ t instanceof q ? (e = t._id, t = t._name) : (e = zr(), (n = zc).time = Ue(), t = t == null ? null : t + "");
3343
3390
  for (var r = this._groups, i = r.length, s = 0; s < i; ++s)
3344
3391
  for (var a = r[s], o = a.length, c, u = 0; u < o; ++u)
3345
- (c = a[u]) && ge(c, t, e, u, a, n || zc(c, e));
3392
+ (c = a[u]) && le(c, t, e, u, a, n || Mc(c, e));
3346
3393
  return new q(r, this._parents, t, e);
3347
3394
  }
3348
- $t.prototype.interrupt = yo;
3349
- $t.prototype.transition = Ic;
3395
+ Tt.prototype.interrupt = yo;
3396
+ Tt.prototype.transition = Fc;
3350
3397
  function fu(t, e, n) {
3351
- if (t.nodes().forEach((r) => Cr(r)), e) {
3398
+ if (t.nodes().forEach((r) => Er(r)), e) {
3352
3399
  const r = t.transition().duration(e);
3353
3400
  return n && r.ease(n), r;
3354
3401
  } else
3355
3402
  return t;
3356
3403
  }
3357
- class Fr {
3404
+ class Mr {
3358
3405
  constructor(e) {
3359
3406
  this.data = e;
3360
3407
  }
@@ -3365,24 +3412,20 @@ class Fr {
3365
3412
  this._data = e;
3366
3413
  }
3367
3414
  }
3368
- const Fc = {
3415
+ const Ic = {
3369
3416
  duration: 600,
3370
3417
  events: {},
3371
3418
  attributes: {}
3372
3419
  };
3373
3420
  class lu {
3374
- constructor(e = mt.SVG) {
3421
+ constructor(e = pt.SVG) {
3375
3422
  var n, r;
3376
- this.type = mt.SVG, this.datamodel = new Fr(), this.sizing = ct.Fit, this.events = {}, this._defaultConfig = Fc, this._width = 400, this._height = 200, this._containerWidth = void 0, this._containerHeight = void 0, this._containerMargin = { top: 0, bottom: 0, left: 0, right: 0 }, this._setUpComponentEventsThrottled = tn(this._setUpComponentEvents, 500), this._setCustomAttributesThrottled = tn(this._setCustomAttributes, 500), e === mt.SVG ? this.element = document.createElementNS("http://www.w3.org/2000/svg", "g") : this.element = document.createElement("div"), this.uid = Va(), this.g = be(this.element);
3423
+ this.type = pt.SVG, this.datamodel = new Mr(), this.sizing = at.Fit, this.events = {}, this._defaultConfig = Ic, this._width = 400, this._height = 200, this._containerWidth = void 0, this._containerHeight = void 0, this._setUpComponentEventsThrottled = tn(this._setUpComponentEvents, 500), this._setCustomAttributesThrottled = tn(this._setCustomAttributes, 500), e === pt.SVG ? this.element = document.createElementNS("http://www.w3.org/2000/svg", "g") : this.element = document.createElement("div"), this.uid = Ba(), this.g = be(this.element);
3377
3424
  const i = (r = (n = this.constructor) === null || n === void 0 ? void 0 : n.selectors) === null || r === void 0 ? void 0 : r.root;
3378
3425
  i && this.g.attr("class", i);
3379
3426
  }
3380
- /** Set the container margin. Called automatically by containers. */
3381
- setContainerMargin(e) {
3382
- this._containerMargin = e;
3383
- }
3384
3427
  setConfig(e) {
3385
- this.prevConfig = this.config, this.config = xt(this._defaultConfig, e);
3428
+ this.prevConfig = this.config, this.config = wt(this._defaultConfig, e);
3386
3429
  }
3387
3430
  setData(e) {
3388
3431
  this.datamodel.data = e;
@@ -3414,19 +3457,13 @@ class lu {
3414
3457
  _setUpComponentEvents() {
3415
3458
  this._bindEvents(this.events), this._bindEvents(this.config.events, ".user");
3416
3459
  }
3417
- // Sometimes we don't want to pass the original data to the event handler.
3418
- // This method can be overridden by components to implement a custom mapping.
3419
- // See Stacked Bar for an example.
3420
- _mapEventDatum(e) {
3421
- return e;
3422
- }
3423
3460
  _bindEvents(e = this.events, n = "") {
3424
3461
  Object.keys(e).forEach((r) => {
3425
3462
  Object.keys(e[r]).forEach((i) => {
3426
3463
  const s = this.g.selectAll(`.${r}`);
3427
3464
  s.on(i + n, (a, o) => {
3428
- const c = s.nodes(), u = c.indexOf(a.currentTarget), f = e[r][i], l = this._mapEventDatum(o);
3429
- return f?.(l, a, u, c);
3465
+ const c = s.nodes(), u = c.indexOf(a.currentTarget), f = e[r][i];
3466
+ return f?.(o, a, u, c);
3430
3467
  });
3431
3468
  });
3432
3469
  });
@@ -3439,7 +3476,7 @@ class lu {
3439
3476
  return !this.element;
3440
3477
  }
3441
3478
  }
3442
- class hu extends Fr {
3479
+ class hu extends Mr {
3443
3480
  constructor(e) {
3444
3481
  super(e);
3445
3482
  }
@@ -3452,30 +3489,27 @@ class hu extends Fr {
3452
3489
  }
3453
3490
  }
3454
3491
  function du(t, e, n, r) {
3455
- return Array.isArray(e) && isFinite(n) ? e[n % e.length] : Os(t, e, n) || (Fe(n) ? `var(${X(n)})` : null);
3492
+ return Array.isArray(e) && isFinite(n) ? e[n % e.length] : Ts(t, e, n) || (Ie(n) ? `var(${X(n)})` : null);
3456
3493
  }
3457
- var at;
3494
+ var it;
3458
3495
  (function(t) {
3459
3496
  t.Start = "start", t.Middle = "middle", t.End = "end";
3460
- })(at || (at = {}));
3461
- var wt;
3497
+ })(it || (it = {}));
3498
+ var mt;
3462
3499
  (function(t) {
3463
3500
  t.Top = "top", t.Middle = "middle", t.Bottom = "bottom";
3464
- })(wt || (wt = {}));
3465
- var Fn;
3501
+ })(mt || (mt = {}));
3502
+ var Dn;
3466
3503
  (function(t) {
3467
3504
  t.Wrap = "wrap", t.Trim = "trim";
3468
- })(Fn || (Fn = {}));
3469
- var K;
3505
+ })(Dn || (Dn = {}));
3506
+ var yt;
3470
3507
  (function(t) {
3471
3508
  t.Left = "left", t.Center = "center", t.Right = "right";
3472
- })(K || (K = {}));
3473
- function Dc(t) {
3474
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3475
- }
3476
- var Xt = { exports: {} }, Lc = Xt.exports, Dn;
3477
- function Bc() {
3478
- return Dn || (Dn = 1, (function(t) {
3509
+ })(yt || (yt = {}));
3510
+ var Wt = { exports: {} }, Dc = Wt.exports, Ln;
3511
+ function Lc() {
3512
+ return Ln || (Ln = 1, (function(t) {
3479
3513
  (function(e) {
3480
3514
  if (typeof n != "function") {
3481
3515
  var n = function(g) {
@@ -3484,16 +3518,16 @@ function Bc() {
3484
3518
  n.nonNative = !0;
3485
3519
  }
3486
3520
  const r = n("plaintext"), i = n("html"), s = n("comment"), a = /<(\w*)>/g, o = /<\/?([^\s\/>]+)/;
3487
- function c(g, d, y) {
3488
- g = g || "", d = d || [], y = y || "";
3489
- let m = f(d, y);
3490
- return l(g, m);
3521
+ function c(g, d, v) {
3522
+ g = g || "", d = d || [], v = v || "";
3523
+ let w = f(d, v);
3524
+ return l(g, w);
3491
3525
  }
3492
3526
  function u(g, d) {
3493
3527
  g = g || [], d = d || "";
3494
- let y = f(g, d);
3495
- return function(v) {
3496
- return l(v || "", y);
3528
+ let v = f(g, d);
3529
+ return function(m) {
3530
+ return l(m || "", v);
3497
3531
  };
3498
3532
  }
3499
3533
  c.init_streaming_mode = u;
@@ -3510,57 +3544,57 @@ function Bc() {
3510
3544
  function l(g, d) {
3511
3545
  if (typeof g != "string")
3512
3546
  throw new TypeError("'html' parameter must be a string");
3513
- let y = d.allowable_tags, m = d.tag_replacement, v = d.state, _ = d.tag_buffer, E = d.depth, w = d.in_quote_char, b = "";
3514
- for (let x = 0, D = g.length; x < D; x++) {
3547
+ let v = d.allowable_tags, w = d.tag_replacement, m = d.state, y = d.tag_buffer, E = d.depth, _ = d.in_quote_char, S = "";
3548
+ for (let x = 0, V = g.length; x < V; x++) {
3515
3549
  let C = g[x];
3516
- if (v === r)
3517
- C === "<" ? (v = i, _ += C) : b += C;
3518
- else if (v === i)
3550
+ if (m === r)
3551
+ C === "<" ? (m = i, y += C) : S += C;
3552
+ else if (m === i)
3519
3553
  switch (C) {
3520
3554
  case "<":
3521
- if (w)
3555
+ if (_)
3522
3556
  break;
3523
3557
  E++;
3524
3558
  break;
3525
3559
  case ">":
3526
- if (w)
3560
+ if (_)
3527
3561
  break;
3528
3562
  if (E) {
3529
3563
  E--;
3530
3564
  break;
3531
3565
  }
3532
- w = "", v = r, _ += ">", y.has(p(_)) ? b += _ : b += m, _ = "";
3566
+ _ = "", m = r, y += ">", v.has(p(y)) ? S += y : S += w, y = "";
3533
3567
  break;
3534
3568
  case '"':
3535
3569
  case "'":
3536
- C === w ? w = "" : w = w || C, _ += C;
3570
+ C === _ ? _ = "" : _ = _ || C, y += C;
3537
3571
  break;
3538
3572
  case "-":
3539
- _ === "<!-" && (v = s), _ += C;
3573
+ y === "<!-" && (m = s), y += C;
3540
3574
  break;
3541
3575
  case " ":
3542
3576
  case `
3543
3577
  `:
3544
- if (_ === "<") {
3545
- v = r, b += "< ", _ = "";
3578
+ if (y === "<") {
3579
+ m = r, S += "< ", y = "";
3546
3580
  break;
3547
3581
  }
3548
- _ += C;
3582
+ y += C;
3549
3583
  break;
3550
3584
  default:
3551
- _ += C;
3585
+ y += C;
3552
3586
  break;
3553
3587
  }
3554
- else v === s && (C === ">" ? (_.slice(-2) == "--" && (v = r), _ = "") : _ += C);
3588
+ else m === s && (C === ">" ? (y.slice(-2) == "--" && (m = r), y = "") : y += C);
3555
3589
  }
3556
- return d.state = v, d.tag_buffer = _, d.depth = E, d.in_quote_char = w, b;
3590
+ return d.state = m, d.tag_buffer = y, d.depth = E, d.in_quote_char = _, S;
3557
3591
  }
3558
3592
  function h(g) {
3559
3593
  let d = /* @__PURE__ */ new Set();
3560
3594
  if (typeof g == "string") {
3561
- let y;
3562
- for (; y = a.exec(g); )
3563
- d.add(y[1]);
3595
+ let v;
3596
+ for (; v = a.exec(g); )
3597
+ d.add(v[1]);
3564
3598
  } else !n.nonNative && typeof g[n.iterator] == "function" ? d = new Set(g) : typeof g.forEach == "function" && g.forEach(d.add, d);
3565
3599
  return d;
3566
3600
  }
@@ -3569,78 +3603,63 @@ function Bc() {
3569
3603
  return d ? d[1].toLowerCase() : null;
3570
3604
  }
3571
3605
  t.exports ? t.exports = c : e.striptags = c;
3572
- })(Lc);
3573
- })(Xt)), Xt.exports;
3606
+ })(Dc);
3607
+ })(Wt)), Wt.exports;
3574
3608
  }
3575
- var Hc = Bc();
3576
- const Pc = /* @__PURE__ */ Dc(Hc);
3577
- function Vc(t) {
3609
+ var Hc = Lc();
3610
+ const Pc = /* @__PURE__ */ La(Hc);
3611
+ function Bc(t) {
3578
3612
  switch (t) {
3579
- case K.Center:
3613
+ case yt.Center:
3580
3614
  return "middle";
3581
- case K.Right:
3615
+ case yt.Right:
3582
3616
  return "end";
3583
- case K.Left:
3617
+ case yt.Left:
3584
3618
  default:
3585
3619
  return "start";
3586
3620
  }
3587
3621
  }
3588
- const gu = (t) => {
3589
- switch (t) {
3590
- case K.Left:
3591
- return "start";
3592
- case K.Right:
3593
- return "end";
3594
- case K.Center:
3595
- return "middle";
3596
- default:
3597
- return null;
3598
- }
3599
- };
3600
- function pu(t) {
3601
- return t.replace(/-([a-z])/g, (e, n) => n.toUpperCase());
3602
- }
3603
- function Wc(t) {
3622
+ function Vc(t) {
3604
3623
  var e;
3605
3624
  return (e = t.match(/[A-Z]{2,}(?=[A-Z][a-z0-9]*|\b)|[A-Z]?[a-z0-9]*|[A-Z]|[0-9]+/g)) === null || e === void 0 ? void 0 : e.filter(Boolean).map((n) => n.toLowerCase()).join("-");
3606
3625
  }
3607
- function Uc(t) {
3626
+ function Wc(t) {
3608
3627
  return t.replace(/['"]/g, "&#39;").replace(/\u0000/g, "\\0").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\v/g, "\\v").replace(/\t/g, "\\t").replace(/\f/g, "\\f");
3609
3628
  }
3610
- function qc(t, e = 15) {
3629
+ function Uc(t, e = 15) {
3611
3630
  return t ? t.length > e ? `…${t.substr(t.length - e, e)}` : t : "";
3612
3631
  }
3613
- function Xc(t, e = 15) {
3632
+ function qc(t, e = 15) {
3614
3633
  if (!t)
3615
3634
  return "";
3616
3635
  const n = Math.floor((e - 3) / 2);
3617
3636
  return t.length > e ? `${t.substr(0, n)}…${t.substr(-n, n)}` : t;
3618
3637
  }
3619
- function Gc(t, e = 15) {
3638
+ function Xc(t, e = 15) {
3620
3639
  return t ? t.length > e ? `${t.substr(0, e)}…` : t : "";
3621
3640
  }
3622
- function Yc(t, e = 15, n = at.Middle) {
3641
+ function Gc(t, e = 15, n = it.Middle) {
3623
3642
  if (!t)
3624
3643
  return "";
3625
- let r = Gc(t, e);
3626
- return n === at.Start ? r = qc(t, e) : n === at.Middle && (r = Xc(t, e)), r;
3644
+ let r = Xc(t, e);
3645
+ return n === it.Start ? r = Uc(t, e) : n === it.Middle && (r = qc(t, e)), r;
3627
3646
  }
3628
- function Dr(t, e = [" "]) {
3647
+ function Fr(t, e = [" "]) {
3629
3648
  let n = [t];
3630
3649
  for (let r = 0; r < e.length; r++) {
3631
3650
  const i = e[r];
3632
3651
  n.forEach((s, a) => {
3633
3652
  const o = s.split(i), c = o.map((u, f) => `${u}${f === o.length - 1 ? "" : i}`);
3634
3653
  n[a] = c;
3635
- }), n = Rs(n);
3654
+ }), n = Es(n);
3636
3655
  }
3637
3656
  return n;
3638
3657
  }
3639
- function vu(t, e, n = [" ", "-", ".", ","]) {
3658
+ function gu(t, e, n = [" ", "-", ".", ","]) {
3640
3659
  const r = t.text();
3641
3660
  if (!r)
3642
3661
  return;
3643
- const i = De(n) ? n : [n], s = Dr(r, i), a = parseFloat(t.attr("x")) || 0;
3662
+ const i = De(n) ? n : [n], s = Fr(r, i), a = parseFloat(t.attr("x")) || 0;
3644
3663
  t.text("");
3645
3664
  let o = t.append("tspan").attr("x", a), c = `${s[0]}`;
3646
3665
  o.text(c), s.forEach((u, f) => {
@@ -3650,194 +3669,189 @@ function vu(t, e, n = [" ", "-", ".", ","]) {
3650
3669
  o.text(l), o.node().getComputedTextLength() > e ? (o.text(c.trim()), o = t.append("tspan").attr("x", a).attr("dy", "1.2em").text(u), c = u) : c += u;
3651
3670
  });
3652
3671
  }
3653
- function mu(t, e, n, r, i, s) {
3672
+ function pu(t, e, n, r, i, s) {
3654
3673
  var a;
3655
- e === void 0 && (e = 50), n === void 0 && (n = at.Middle), i === void 0 && (i = +((a = window.getComputedStyle(t.node())) === null || a === void 0 ? void 0 : a.fontSize) || 0), s === void 0 && (s = xr());
3656
- const o = t.text() || "", c = o.length, u = i * c * s, l = Math.ceil(c * e / (1.1 * u));
3657
- return l < c ? (t.text(Yc(o, l, n)), !0) : !1;
3674
+ e === void 0 && (e = 50), n === void 0 && (n = it.Middle), i === void 0 && (i = +((a = window.getComputedStyle(t.node())) === null || a === void 0 ? void 0 : a.fontSize) || 0);
3675
+ const o = t.text(), c = o.length, u = i * c * s, l = Math.ceil(c * e / (1.1 * u));
3676
+ return l < c ? (t.text(Gc(o, l, n)), !0) : !1;
3658
3677
  }
3659
- function Gt(t, e, n = xr()) {
3678
+ function Ut(t, e, n = ao()) {
3660
3679
  return t.length * e * n || 0;
3661
3680
  }
3662
- function Yt(t, e, n) {
3681
+ function qt(t, e, n) {
3663
3682
  const r = "http://www.w3.org/2000/svg", i = document.createElementNS(r, "svg"), s = document.createElementNS(r, "text");
3664
3683
  s.textContent = t, s.setAttribute("font-size", `${n}`), s.setAttribute("font-family", e), i.appendChild(s), document.body.appendChild(i);
3665
3684
  const a = s.getComputedTextLength();
3666
3685
  return document.body.removeChild(i), a;
3667
3686
  }
3668
- function Zc(t, e = void 0, n = !0, r = _r, i = !1) {
3669
- var s, a, o;
3670
- const c = `${t.text}`;
3671
- if (!c)
3687
+ function Yc(t, e = void 0, n = !0, r = yr, i = !1) {
3688
+ const s = `${t.text}`;
3689
+ if (!s)
3672
3690
  return [];
3673
- const u = (s = t.fontSize) !== null && s !== void 0 ? s : _t.fontSize, f = (a = t.fontFamily) !== null && a !== void 0 ? a : _t.fontFamily, l = (o = t.fontWidthToHeightRatio) !== null && o !== void 0 ? o : _t.fontWidthToHeightRatio, h = Array.isArray(r) ? r : [r];
3674
- return c.split(`
3675
- `).map((g) => {
3676
- const d = [];
3691
+ const a = Array.isArray(r) ? r : [r];
3692
+ return s.split(`
3693
+ `).map((c) => {
3694
+ const u = [];
3677
3695
  if (!e)
3678
- return [g];
3679
- const y = Dr(g, h);
3680
- let m = "";
3681
- for (let v = 0; v < y.length; v += 1) {
3682
- (n ? Gt(m + y[v], u, l) : Yt(m + y[v], f, u)) < e || v === 0 ? m += y[v] : (d.push(m.trim()), m = y[v]);
3683
- const E = 2;
3696
+ return [c];
3697
+ const f = Fr(c, a);
3698
+ let l = "";
3699
+ for (let h = 0; h < f.length; h += 1) {
3700
+ (n ? Ut(l + f[h], t.fontSize, t.fontWidthToHeightRatio) : qt(l + f[h], t.fontFamily, t.fontSize)) < e || h === 0 ? l += f[h] : (u.push(l.trim()), l = f[h]);
3701
+ const g = 2;
3684
3702
  if (i)
3685
- for (; m.trim().length > E && (n ? Gt(m, u, l) : Yt(m, f, u)) > e; ) {
3686
- let b = m.trim().length - E;
3687
- for (; b > 0; ) {
3688
- const x = `${m.substring(0, b)}${wr}`;
3689
- if ((n ? Gt(x, u, l) : Yt(x, f, u)) <= e || b === 1) {
3690
- d.push(x.trim()), m = m.substring(b);
3703
+ for (; l.trim().length > g && (n ? Ut(l, t.fontSize, t.fontWidthToHeightRatio) : qt(l, t.fontFamily, t.fontSize)) > e; ) {
3704
+ let v = l.trim().length - g;
3705
+ for (; v > 0; ) {
3706
+ const w = `${l.substring(0, v)}${wr}`;
3707
+ if ((n ? Ut(w, t.fontSize, t.fontWidthToHeightRatio) : qt(w, t.fontFamily, t.fontSize)) <= e || v === 1) {
3708
+ u.push(w.trim()), l = l.substring(v);
3691
3709
  break;
3692
3710
  }
3693
- b--;
3711
+ v--;
3694
3712
  }
3695
3713
  }
3696
3714
  }
3697
- return m && d.push(m.trim()), d;
3715
+ return l && u.push(l.trim()), u;
3698
3716
  }).flat();
3699
3717
  }
3700
- function Kc(t, e = void 0, n = void 0, r = !0, i = _r, s = !1) {
3701
- const a = Array.isArray(t) ? t.map((l) => xt(_t, l)) : [xt(_t, t)], o = a.map((l) => Zc(l, e, r, i, s)), c = a[0];
3718
+ function Zc(t, e = void 0, n = void 0, r = !0, i = yr, s = !1) {
3719
+ const a = Array.isArray(t) ? t.map((l) => wt(Nn, l)) : [wt(Nn, t)], o = a.map((l) => Yc(l, e, r, i, s)), c = a[0];
3702
3720
  let u = -c.fontSize * (c.lineHeight - 1);
3703
3721
  const f = [];
3704
3722
  return a.forEach((l, h) => {
3705
3723
  var p;
3706
3724
  let g = o[h];
3707
- const d = h > 0 ? f[h - 1] : void 0, y = d ? d.marginBottom : 0, m = l.marginTop, v = Math.max(y, m);
3708
- u += v;
3709
- const _ = l.fontSize * l.lineHeight;
3725
+ const d = h > 0 ? f[h - 1] : void 0, v = d ? d.marginBottom : 0, w = l.marginTop, m = Math.max(v, w);
3726
+ u += m;
3727
+ const y = l.fontSize * l.lineHeight;
3710
3728
  let E = 0;
3711
- for (let w = 0; w < g.length; w += 1) {
3712
- let b = g[w];
3713
- u += _;
3714
- const x = `${b} …`, D = r ? Gt(x, l.fontSize, l.fontWidthToHeightRatio) : Yt(x, l.fontFamily, l.fontSize);
3715
- if (E = Math.max(D, E), n && u + _ > n && w !== g.length - 1) {
3716
- b.charAt(b.length - 1) === wr && (b = b.substr(0, g[w].length - 1)), D < e ? g[w] = x : g[w] = `${g[w].substr(0, g[w].length - 2)}…`, g = g.slice(0, w + 1);
3729
+ for (let _ = 0; _ < g.length; _ += 1) {
3730
+ let S = g[_];
3731
+ u += y;
3732
+ const x = `${S} …`, V = r ? Ut(x, l.fontSize, l.fontWidthToHeightRatio) : qt(x, l.fontFamily, l.fontSize);
3733
+ if (E = Math.max(V, E), n && u + y > n && _ !== g.length - 1) {
3734
+ S.charAt(S.length - 1) === wr && (S = S.substr(0, g[_].length - 1)), V < e ? g[_] = x : g[_] = `${g[_].substr(0, g[_].length - 2)}…`, g = g.slice(0, _ + 1);
3717
3735
  break;
3718
3736
  }
3719
3737
  }
3720
3738
  f.push(Object.assign(Object.assign({}, l), { _lines: g, _estimatedHeight: u - (d?._estimatedHeight || 0), _maxWidth: Math.max(E, (p = d?._maxWidth) !== null && p !== void 0 ? p : 0) }));
3721
3739
  }), f;
3722
3740
  }
3723
- function Jc(t, e = 0, n, r) {
3724
- return t.map((i, s) => {
3725
- const a = s > 0 ? t[s - 1] : void 0, o = a ? a.marginBottom / a.fontSize : 0, c = i.marginTop / i.fontSize, u = Math.max(o, c), f = {
3726
- fontSize: i.fontSize,
3727
- fontFamily: i.fontFamily,
3728
- fontWeight: i.fontWeight,
3729
- fill: i.color,
3730
- y: s === 0 && n
3741
+ function Kc(t, e = 0, n) {
3742
+ return t.map((r, i) => {
3743
+ const s = i > 0 ? t[i - 1] : void 0, a = s ? s.marginBottom / s.fontSize : 0, o = r.marginTop / r.fontSize, c = Math.max(a, o), u = {
3744
+ fontSize: r.fontSize,
3745
+ fontFamily: r.fontFamily,
3746
+ fontWeight: r.fontWeight,
3747
+ fill: r.color,
3748
+ y: i === 0 && n
3731
3749
  };
3732
- return `<tspan xmlns="http://www.w3.org/2000/svg" ${Object.entries(f).filter(([h, p]) => p).map(([h, p]) => `${Wc(h)}="${Uc(p.toString())}"`).join(" ")}>${i._lines.map((h, p) => {
3733
- let g;
3734
- return s === 0 && p === 0 ? g = u : p === 0 ? g = u + i.lineHeight : g = i.lineHeight, `<tspan x="${e}" dy="${g}em" dominant-baseline="${r ?? "auto"}">${h.length ? h : " "}</tspan>`;
3750
+ return `<tspan xmlns="http://www.w3.org/2000/svg" ${Object.entries(u).filter(([l, h]) => h).map(([l, h]) => `${Vc(l)}="${Wc(h.toString())}"`).join(" ")}>${r._lines.map((l, h) => {
3751
+ let p;
3752
+ return i === 0 && h === 0 ? p = 0.8 + c : h === 0 ? p = c + r.lineHeight : p = r.lineHeight, `<tspan x="${e}" dy="${p}em">${l.length ? l : " "}</tspan>`;
3735
3753
  }).join("")}</tspan>`;
3736
3754
  });
3737
3755
  }
3738
- function Qc(t) {
3739
- return Ts(t, (e) => e._estimatedHeight);
3756
+ function Jc(t) {
3757
+ return bs(t, (e) => e._estimatedHeight);
3740
3758
  }
3741
- const jc = ["text", "tspan", "textPath", "altGlyph", "altGlyphDef", "altGlyphItem", "glyphRef", "textRef", "textArea"];
3742
- function yu(t, e, n, r) {
3759
+ const Qc = ["text", "tspan", "textPath", "altGlyph", "altGlyphDef", "altGlyphItem", "glyphRef", "textRef", "textArea"];
3760
+ function vu(t, e, n, r) {
3743
3761
  var i, s;
3744
- const a = Kc(e, n.width, void 0, n.fastMode, n.separator, n.wordBreak), o = (i = n.x) !== null && i !== void 0 ? i : +t.getAttribute("x"), c = (s = n.y) !== null && s !== void 0 ? s : +t.getAttribute("y"), u = o ?? 0;
3762
+ const a = Zc(e, n.width, void 0, n.fastMode, n.separator, n.wordBreak), o = (i = n.x) !== null && i !== void 0 ? i : +t.getAttribute("x"), c = (s = n.y) !== null && s !== void 0 ? s : +t.getAttribute("y"), u = o ?? 0;
3745
3763
  let f = c ?? 0;
3746
- if (n.textAlign && t.setAttribute("text-anchor", Vc(n.textAlign)), n.verticalAlign && n.verticalAlign !== wt.Top) {
3747
- const h = Qc(a), p = n.verticalAlign === wt.Middle ? -h / 2 : n.verticalAlign === wt.Bottom ? -h : 0;
3748
- f += p;
3764
+ if (n.textAlign && t.setAttribute("text-anchor", Bc(n.textAlign)), n.verticalAlign && n.verticalAlign !== mt.Top) {
3765
+ const l = Jc(a), h = n.verticalAlign === mt.Middle ? -l / 2 : n.verticalAlign === mt.Bottom ? -l : 0;
3766
+ f += h;
3749
3767
  }
3750
3768
  n.textRotationAngle ? t.setAttribute("transform", `rotate(${n.textRotationAngle === 0 || n.textRotationAngle ? n.textRotationAngle : 0} ${u} ${f})`) : t.removeAttribute("transform");
3751
- const l = new DOMParser();
3752
- t.textContent = "", a.forEach((h) => {
3753
- const p = Jc([h], u, f, r).join(""), g = Pc(p, jc), d = l.parseFromString(g, "image/svg+xml").firstChild;
3754
- t.appendChild(d);
3755
- });
3769
+ {
3770
+ const l = new DOMParser();
3771
+ t.textContent = "", a.forEach((h) => {
3772
+ const p = Kc([h], u, f).join(""), g = Pc(p, Qc), d = l.parseFromString(g, "image/svg+xml").firstChild;
3773
+ t.appendChild(d);
3774
+ });
3775
+ }
3756
3776
  }
3757
- function _u(t, e) {
3758
- return Jt(t, e);
3777
+ const mu = /* @__PURE__ */ Symbol("componentAccessorKey"), yu = /* @__PURE__ */ Symbol("tooltipAccessorKey"), wu = /* @__PURE__ */ Symbol("crosshairAccessorKey"), _u = /* @__PURE__ */ Symbol("axisAccessorKey"), xu = /* @__PURE__ */ Symbol("annotationsAccessorKey");
3778
+ function bu(t, e) {
3779
+ return Yt(t, e);
3759
3780
  }
3760
- function wu(t) {
3761
- const e = Hr(), n = e.attrs;
3762
- return Pr(() => {
3781
+ function Au(t) {
3782
+ const e = Lr(), n = e.attrs;
3783
+ return Hr(() => {
3763
3784
  const r = {}, i = e?.vnode.props ?? {};
3764
3785
  return Object.keys(i).forEach((s) => {
3765
3786
  r[Ze(s)] = t[Ze(s)];
3766
3787
  }), { ...r, ...n };
3767
3788
  });
3768
3789
  }
3769
- const xu = /* @__PURE__ */ Symbol("componentAccessorKey"), bu = /* @__PURE__ */ Symbol("tooltipAccessorKey"), Au = /* @__PURE__ */ Symbol("crosshairAccessorKey"), Su = /* @__PURE__ */ Symbol("axisAccessorKey"), Eu = /* @__PURE__ */ Symbol("annotationsAccessorKey");
3770
3790
  (function() {
3771
3791
  try {
3772
3792
  if (typeof document < "u") {
3773
3793
  var t = document.createElement("style");
3774
- t.appendChild(document.createTextNode("[data-vis-bullet-legend],[data-vis-flow-legend]{display:block}[data-vis-leaflet-flow-map],[data-vis-leaflet-map]{display:block;position:relative}[data-vis-rolling-pin-legend]{display:block}.unovis-single-container,.unovis-xy-container{display:block;position:relative;width:100%}")), document.head.appendChild(t);
3794
+ t.appendChild(document.createTextNode(".unovis-xy-container,.unovis-single-container{display:block;position:relative;width:100%}[data-vis-leaflet-map],[data-vis-leaflet-flow-map]{display:block;position:relative}[data-vis-bullet-legend]{display:block}")), document.head.appendChild(t);
3775
3795
  }
3776
3796
  } catch (e) {
3777
3797
  console.error("vite-plugin-css-injected-by-js", e);
3778
3798
  }
3779
3799
  })();
3780
3800
  export {
3781
- yu as $,
3782
- ru as A,
3783
- iu as B,
3801
+ tn as $,
3802
+ Qn as A,
3803
+ Ba as B,
3784
3804
  lu as C,
3785
- Os as D,
3786
- jn as E,
3787
- Y as F,
3788
- Va as G,
3789
- Pa as H,
3790
- Or as I,
3791
- H as J,
3792
- Cr as K,
3793
- De as L,
3794
- eu as M,
3795
- Jt as N,
3796
- Qn as O,
3797
- Fe as P,
3798
- pu as Q,
3799
- wu as R,
3805
+ Da as D,
3806
+ $r as E,
3807
+ Dn as F,
3808
+ L as G,
3809
+ Er as H,
3810
+ De as I,
3811
+ tu as J,
3812
+ Yt as K,
3813
+ Jn as L,
3814
+ Ie as M,
3815
+ Au as N,
3816
+ Je as O,
3817
+ wt as P,
3818
+ Qe as Q,
3819
+ mu as R,
3800
3820
  hu as S,
3801
- K as T,
3802
- Je as U,
3803
- wt as V,
3804
- xt as W,
3805
- Qe as X,
3806
- bs as Y,
3807
- xu as Z,
3808
- uu as _,
3809
- Fc as a,
3810
- bu as a0,
3811
- be as a1,
3812
- fu as a2,
3813
- Eu as a3,
3814
- gu as a4,
3815
- tn as a5,
3816
- mu as a6,
3817
- vu as a7,
3818
- jt as b,
3819
- ea as c,
3820
- Fr as d,
3821
- Fn as e,
3822
- ct as f,
3823
- at as g,
3824
- Lt as h,
3825
- As as i,
3826
- Kn as j,
3827
- Au as k,
3828
- en as l,
3829
- nu as m,
3830
- cu as n,
3831
- Su as o,
3832
- _u as p,
3833
- ou as q,
3834
- Rs as r,
3835
- du as s,
3836
- au as t,
3837
- xr as u,
3838
- Ns as v,
3839
- ks as w,
3840
- nn as x,
3841
- I as y,
3842
- su as z
3821
+ yt as T,
3822
+ uu as U,
3823
+ mt as V,
3824
+ vu as W,
3825
+ yu as X,
3826
+ be as Y,
3827
+ fu as Z,
3828
+ xu as _,
3829
+ Ic as a,
3830
+ pu as a0,
3831
+ gu as a1,
3832
+ Kt as b,
3833
+ Js as c,
3834
+ Mr as d,
3835
+ at as e,
3836
+ it as f,
3837
+ he as g,
3838
+ ws as h,
3839
+ wu as i,
3840
+ en as j,
3841
+ eu as k,
3842
+ cu as l,
3843
+ _u as m,
3844
+ bu as n,
3845
+ ou as o,
3846
+ Es as p,
3847
+ du as q,
3848
+ su as r,
3849
+ $s as s,
3850
+ Cs as t,
3851
+ au as u,
3852
+ U as v,
3853
+ iu as w,
3854
+ nu as x,
3855
+ ru as y,
3856
+ Ts as z
3843
3857
  };