@altimateai/ui-components 0.0.23-beta.6 → 0.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,14 @@
1
- import { j as P } from "./index2.js";
2
- import { a0 as pt, Q as en, U as mt, _ as kt, Z as yt, X as wt } from "./Stack.js";
3
- import { Prism as vt } from "react-syntax-highlighter";
4
- import { useState as Q, useCallback as St, useEffect as xt } from "react";
5
- import './redux-toolkit.css';var ls = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
- function cs(e) {
1
+ import { j as O } from "./index2.js";
2
+ import { I as kt, B as on } from "./Stack.js";
3
+ import { createContext as yt, Component as wt, createElement as nn, isValidElement as vt, useState as q, useRef as St, useCallback as xt, useEffect as zt } from "react";
4
+ import { Tooltip as At, Card as _t, CardTitle as Mt, CardBody as Ct } from "reactstrap";
5
+ import { Prism as Ht } from "react-syntax-highlighter";
6
+ import './redux-toolkit.css';var ps = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
+ function ms(e) {
7
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
8
9
  }
9
- const is = (e) => e.title ? /* @__PURE__ */ P.jsx(pt, { title: e.title, children: /* @__PURE__ */ P.jsx(
10
- en,
10
+ const ks = (e) => e.title ? /* @__PURE__ */ O.jsx(kt, { title: e.title, children: /* @__PURE__ */ O.jsx(
11
+ on,
11
12
  {
12
13
  ...e,
13
14
  title: void 0,
@@ -16,8 +17,110 @@ const is = (e) => e.title ? /* @__PURE__ */ P.jsx(pt, { title: e.title, children
16
17
  variant: e.variant ?? "ghost",
17
18
  children: e.children
18
19
  }
19
- ) }) : /* @__PURE__ */ P.jsx(en, { ...e, type: e.type ?? "button", size: "icon", variant: e.variant ?? "ghost", children: e.children });
20
- var ee = {}, mr = { exports: {} };
20
+ ) }) : /* @__PURE__ */ O.jsx(on, { ...e, type: e.type ?? "button", size: "icon", variant: e.variant ?? "ghost", children: e.children }), Ot = yt(null), Be = {
21
+ didCatch: !1,
22
+ error: null
23
+ };
24
+ class Tt extends wt {
25
+ constructor(o) {
26
+ super(o), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Be;
27
+ }
28
+ static getDerivedStateFromError(o) {
29
+ return {
30
+ didCatch: !0,
31
+ error: o
32
+ };
33
+ }
34
+ resetErrorBoundary() {
35
+ const {
36
+ error: o
37
+ } = this.state;
38
+ if (o !== null) {
39
+ for (var n, r, t = arguments.length, a = new Array(t), l = 0; l < t; l++)
40
+ a[l] = arguments[l];
41
+ (n = (r = this.props).onReset) === null || n === void 0 || n.call(r, {
42
+ args: a,
43
+ reason: "imperative-api"
44
+ }), this.setState(Be);
45
+ }
46
+ }
47
+ componentDidCatch(o, n) {
48
+ var r, t;
49
+ (r = (t = this.props).onError) === null || r === void 0 || r.call(t, o, n);
50
+ }
51
+ componentDidUpdate(o, n) {
52
+ const {
53
+ didCatch: r
54
+ } = this.state, {
55
+ resetKeys: t
56
+ } = this.props;
57
+ if (r && n.error !== null && Dt(o.resetKeys, t)) {
58
+ var a, l;
59
+ (a = (l = this.props).onReset) === null || a === void 0 || a.call(l, {
60
+ next: t,
61
+ prev: o.resetKeys,
62
+ reason: "keys"
63
+ }), this.setState(Be);
64
+ }
65
+ }
66
+ render() {
67
+ const {
68
+ children: o,
69
+ fallbackRender: n,
70
+ FallbackComponent: r,
71
+ fallback: t
72
+ } = this.props, {
73
+ didCatch: a,
74
+ error: l
75
+ } = this.state;
76
+ let c = o;
77
+ if (a) {
78
+ const i = {
79
+ error: l,
80
+ resetErrorBoundary: this.resetErrorBoundary
81
+ };
82
+ if (typeof n == "function")
83
+ c = n(i);
84
+ else if (r)
85
+ c = nn(r, i);
86
+ else if (t === null || vt(t))
87
+ c = t;
88
+ else
89
+ throw l;
90
+ }
91
+ return nn(Ot.Provider, {
92
+ value: {
93
+ didCatch: a,
94
+ error: l,
95
+ resetErrorBoundary: this.resetErrorBoundary
96
+ }
97
+ }, c);
98
+ }
99
+ }
100
+ function Dt() {
101
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
102
+ return e.length !== o.length || e.some((n, r) => !Object.is(n, o[r]));
103
+ }
104
+ const ys = (e) => {
105
+ const [o, n] = q(!1), r = () => n(!o), t = St(
106
+ (e.id ?? `tooltip-${Math.random().toString(36).substring(3, 9)}`).replace(/\s/g, "-")
107
+ );
108
+ return /* @__PURE__ */ O.jsxs(Tt, { fallback: /* @__PURE__ */ O.jsx("span", { id: t.current, children: e.children }), children: [
109
+ /* @__PURE__ */ O.jsx("span", { id: t.current, children: e.children }),
110
+ e.title ? /* @__PURE__ */ O.jsx(
111
+ At,
112
+ {
113
+ isOpen: o,
114
+ target: t.current,
115
+ toggle: r,
116
+ className: e.className,
117
+ placement: "top",
118
+ children: e.title
119
+ }
120
+ ) : null
121
+ ] });
122
+ };
123
+ var ee = {}, yr = { exports: {} };
21
124
  (function(e) {
22
125
  function o(n) {
23
126
  return n && n.__esModule ? n : {
@@ -25,10 +128,10 @@ var ee = {}, mr = { exports: {} };
25
128
  };
26
129
  }
27
130
  e.exports = o, e.exports.__esModule = !0, e.exports.default = e.exports;
28
- })(mr);
29
- var zt = mr.exports, Be = {}, on;
30
- function At() {
31
- return on || (on = 1, function(e) {
131
+ })(yr);
132
+ var Ft = yr.exports, Ne = {}, rn;
133
+ function Rt() {
134
+ return rn || (rn = 1, function(e) {
32
135
  Object.defineProperty(e, "__esModule", {
33
136
  value: !0
34
137
  }), e.default = void 0;
@@ -282,11 +385,11 @@ function At() {
282
385
  }
283
386
  };
284
387
  e.default = o;
285
- }(Be)), Be;
388
+ }(Ne)), Ne;
286
389
  }
287
- var Ne = {}, nn;
288
- function _t() {
289
- return nn || (nn = 1, function(e) {
390
+ var Pe = {}, tn;
391
+ function Wt() {
392
+ return tn || (tn = 1, function(e) {
290
393
  Object.defineProperty(e, "__esModule", {
291
394
  value: !0
292
395
  }), e.default = void 0;
@@ -445,11 +548,11 @@ function _t() {
445
548
  }
446
549
  };
447
550
  e.default = o;
448
- }(Ne)), Ne;
551
+ }(Pe)), Pe;
449
552
  }
450
- var Pe = {}, rn;
451
- function Mt() {
452
- return rn || (rn = 1, function(e) {
553
+ var je = {}, an;
554
+ function Et() {
555
+ return an || (an = 1, function(e) {
453
556
  Object.defineProperty(e, "__esModule", {
454
557
  value: !0
455
558
  }), e.default = void 0;
@@ -615,11 +718,11 @@ function Mt() {
615
718
  }
616
719
  };
617
720
  e.default = o;
618
- }(Pe)), Pe;
721
+ }(je)), je;
619
722
  }
620
- var je = {}, tn;
621
- function Ct() {
622
- return tn || (tn = 1, function(e) {
723
+ var Le = {}, ln;
724
+ function Bt() {
725
+ return ln || (ln = 1, function(e) {
623
726
  Object.defineProperty(e, "__esModule", {
624
727
  value: !0
625
728
  }), e.default = void 0;
@@ -780,11 +883,11 @@ function Ct() {
780
883
  }
781
884
  };
782
885
  e.default = o;
783
- }(je)), je;
886
+ }(Le)), Le;
784
887
  }
785
- var Le = {}, an;
786
- function Ht() {
787
- return an || (an = 1, function(e) {
888
+ var qe = {}, cn;
889
+ function Nt() {
890
+ return cn || (cn = 1, function(e) {
788
891
  Object.defineProperty(e, "__esModule", {
789
892
  value: !0
790
893
  }), e.default = void 0;
@@ -957,11 +1060,11 @@ function Ht() {
957
1060
  }
958
1061
  };
959
1062
  e.default = o;
960
- }(Le)), Le;
1063
+ }(qe)), qe;
961
1064
  }
962
- var qe = {}, ln;
963
- function Ot() {
964
- return ln || (ln = 1, function(e) {
1065
+ var Ve = {}, sn;
1066
+ function Pt() {
1067
+ return sn || (sn = 1, function(e) {
965
1068
  Object.defineProperty(e, "__esModule", {
966
1069
  value: !0
967
1070
  }), e.default = void 0;
@@ -1119,11 +1222,11 @@ function Ot() {
1119
1222
  }
1120
1223
  };
1121
1224
  e.default = o;
1122
- }(qe)), qe;
1225
+ }(Ve)), Ve;
1123
1226
  }
1124
- var Ve = {}, cn;
1125
- function Tt() {
1126
- return cn || (cn = 1, function(e) {
1227
+ var Ie = {}, un;
1228
+ function jt() {
1229
+ return un || (un = 1, function(e) {
1127
1230
  Object.defineProperty(e, "__esModule", {
1128
1231
  value: !0
1129
1232
  }), e.default = void 0;
@@ -1342,11 +1445,11 @@ function Tt() {
1342
1445
  }
1343
1446
  };
1344
1447
  e.default = o;
1345
- }(Ve)), Ve;
1448
+ }(Ie)), Ie;
1346
1449
  }
1347
- var Ie = {}, sn;
1348
- function Dt() {
1349
- return sn || (sn = 1, function(e) {
1450
+ var Ue = {}, dn;
1451
+ function Lt() {
1452
+ return dn || (dn = 1, function(e) {
1350
1453
  Object.defineProperty(e, "__esModule", {
1351
1454
  value: !0
1352
1455
  }), e.default = void 0;
@@ -1543,11 +1646,11 @@ function Dt() {
1543
1646
  }
1544
1647
  };
1545
1648
  e.default = o;
1546
- }(Ie)), Ie;
1649
+ }(Ue)), Ue;
1547
1650
  }
1548
- var Ue = {}, un;
1549
- function Ft() {
1550
- return un || (un = 1, function(e) {
1651
+ var $e = {}, fn;
1652
+ function qt() {
1653
+ return fn || (fn = 1, function(e) {
1551
1654
  Object.defineProperty(e, "__esModule", {
1552
1655
  value: !0
1553
1656
  }), e.default = void 0;
@@ -1698,11 +1801,11 @@ function Ft() {
1698
1801
  }
1699
1802
  };
1700
1803
  e.default = o;
1701
- }(Ue)), Ue;
1804
+ }($e)), $e;
1702
1805
  }
1703
- var $e = {}, dn;
1704
- function Rt() {
1705
- return dn || (dn = 1, function(e) {
1806
+ var Ke = {}, gn;
1807
+ function Vt() {
1808
+ return gn || (gn = 1, function(e) {
1706
1809
  Object.defineProperty(e, "__esModule", {
1707
1810
  value: !0
1708
1811
  }), e.default = void 0;
@@ -1860,11 +1963,11 @@ function Rt() {
1860
1963
  }
1861
1964
  };
1862
1965
  e.default = o;
1863
- }($e)), $e;
1966
+ }(Ke)), Ke;
1864
1967
  }
1865
- var Ke = {}, fn;
1866
- function Wt() {
1867
- return fn || (fn = 1, function(e) {
1968
+ var Qe = {}, hn;
1969
+ function It() {
1970
+ return hn || (hn = 1, function(e) {
1868
1971
  Object.defineProperty(e, "__esModule", {
1869
1972
  value: !0
1870
1973
  }), e.default = void 0;
@@ -2066,11 +2169,11 @@ function Wt() {
2066
2169
  }
2067
2170
  };
2068
2171
  e.default = o;
2069
- }(Ke)), Ke;
2172
+ }(Qe)), Qe;
2070
2173
  }
2071
- var Qe = {}, gn;
2072
- function Et() {
2073
- return gn || (gn = 1, function(e) {
2174
+ var Ye = {}, bn;
2175
+ function Ut() {
2176
+ return bn || (bn = 1, function(e) {
2074
2177
  Object.defineProperty(e, "__esModule", {
2075
2178
  value: !0
2076
2179
  }), e.default = void 0;
@@ -2236,11 +2339,11 @@ function Et() {
2236
2339
  }
2237
2340
  };
2238
2341
  e.default = o;
2239
- }(Qe)), Qe;
2342
+ }(Ye)), Ye;
2240
2343
  }
2241
- var Ye = {}, bn;
2242
- function Bt() {
2243
- return bn || (bn = 1, function(e) {
2344
+ var Ge = {}, pn;
2345
+ function $t() {
2346
+ return pn || (pn = 1, function(e) {
2244
2347
  Object.defineProperty(e, "__esModule", {
2245
2348
  value: !0
2246
2349
  }), e.default = void 0;
@@ -2631,11 +2734,11 @@ function Bt() {
2631
2734
  }
2632
2735
  };
2633
2736
  e.default = o;
2634
- }(Ye)), Ye;
2737
+ }(Ge)), Ge;
2635
2738
  }
2636
- var Ge = {}, hn;
2637
- function Nt() {
2638
- return hn || (hn = 1, function(e) {
2739
+ var Xe = {}, mn;
2740
+ function Kt() {
2741
+ return mn || (mn = 1, function(e) {
2639
2742
  Object.defineProperty(e, "__esModule", {
2640
2743
  value: !0
2641
2744
  }), e.default = void 0;
@@ -3026,11 +3129,11 @@ function Nt() {
3026
3129
  }
3027
3130
  };
3028
3131
  e.default = o;
3029
- }(Ge)), Ge;
3132
+ }(Xe)), Xe;
3030
3133
  }
3031
- var Xe = {}, pn;
3032
- function Pt() {
3033
- return pn || (pn = 1, function(e) {
3134
+ var Je = {}, kn;
3135
+ function Qt() {
3136
+ return kn || (kn = 1, function(e) {
3034
3137
  Object.defineProperty(e, "__esModule", {
3035
3138
  value: !0
3036
3139
  }), e.default = void 0;
@@ -3217,11 +3320,11 @@ function Pt() {
3217
3320
  }
3218
3321
  };
3219
3322
  e.default = o;
3220
- }(Xe)), Xe;
3323
+ }(Je)), Je;
3221
3324
  }
3222
- var Je = {}, mn;
3223
- function jt() {
3224
- return mn || (mn = 1, function(e) {
3325
+ var Ze = {}, yn;
3326
+ function Yt() {
3327
+ return yn || (yn = 1, function(e) {
3225
3328
  Object.defineProperty(e, "__esModule", {
3226
3329
  value: !0
3227
3330
  }), e.default = void 0;
@@ -3427,11 +3530,11 @@ function jt() {
3427
3530
  }
3428
3531
  };
3429
3532
  e.default = o;
3430
- }(Je)), Je;
3533
+ }(Ze)), Ze;
3431
3534
  }
3432
- var Ze = {}, kn;
3433
- function Lt() {
3434
- return kn || (kn = 1, function(e) {
3535
+ var eo = {}, wn;
3536
+ function Gt() {
3537
+ return wn || (wn = 1, function(e) {
3435
3538
  Object.defineProperty(e, "__esModule", {
3436
3539
  value: !0
3437
3540
  }), e.default = void 0;
@@ -3590,11 +3693,11 @@ function Lt() {
3590
3693
  }
3591
3694
  };
3592
3695
  e.default = o;
3593
- }(Ze)), Ze;
3696
+ }(eo)), eo;
3594
3697
  }
3595
- var eo = {}, yn;
3596
- function qt() {
3597
- return yn || (yn = 1, function(e) {
3698
+ var oo = {}, vn;
3699
+ function Xt() {
3700
+ return vn || (vn = 1, function(e) {
3598
3701
  Object.defineProperty(e, "__esModule", {
3599
3702
  value: !0
3600
3703
  }), e.default = void 0;
@@ -3817,11 +3920,11 @@ function qt() {
3817
3920
  }
3818
3921
  };
3819
3922
  e.default = o;
3820
- }(eo)), eo;
3923
+ }(oo)), oo;
3821
3924
  }
3822
- var oo = {}, wn;
3823
- function Vt() {
3824
- return wn || (wn = 1, function(e) {
3925
+ var no = {}, Sn;
3926
+ function Jt() {
3927
+ return Sn || (Sn = 1, function(e) {
3825
3928
  Object.defineProperty(e, "__esModule", {
3826
3929
  value: !0
3827
3930
  }), e.default = void 0;
@@ -4044,11 +4147,11 @@ function Vt() {
4044
4147
  }
4045
4148
  };
4046
4149
  e.default = o;
4047
- }(oo)), oo;
4150
+ }(no)), no;
4048
4151
  }
4049
- var no = {}, vn;
4050
- function It() {
4051
- return vn || (vn = 1, function(e) {
4152
+ var ro = {}, xn;
4153
+ function Zt() {
4154
+ return xn || (xn = 1, function(e) {
4052
4155
  Object.defineProperty(e, "__esModule", {
4053
4156
  value: !0
4054
4157
  }), e.default = void 0;
@@ -4271,11 +4374,11 @@ function It() {
4271
4374
  }
4272
4375
  };
4273
4376
  e.default = o;
4274
- }(no)), no;
4377
+ }(ro)), ro;
4275
4378
  }
4276
- var ro = {}, Sn;
4277
- function Ut() {
4278
- return Sn || (Sn = 1, function(e) {
4379
+ var to = {}, zn;
4380
+ function ea() {
4381
+ return zn || (zn = 1, function(e) {
4279
4382
  Object.defineProperty(e, "__esModule", {
4280
4383
  value: !0
4281
4384
  }), e.default = void 0;
@@ -4498,11 +4601,11 @@ function Ut() {
4498
4601
  }
4499
4602
  };
4500
4603
  e.default = o;
4501
- }(ro)), ro;
4604
+ }(to)), to;
4502
4605
  }
4503
- var to = {}, xn;
4504
- function $t() {
4505
- return xn || (xn = 1, function(e) {
4606
+ var ao = {}, An;
4607
+ function oa() {
4608
+ return An || (An = 1, function(e) {
4506
4609
  Object.defineProperty(e, "__esModule", {
4507
4610
  value: !0
4508
4611
  }), e.default = void 0;
@@ -4725,11 +4828,11 @@ function $t() {
4725
4828
  }
4726
4829
  };
4727
4830
  e.default = o;
4728
- }(to)), to;
4831
+ }(ao)), ao;
4729
4832
  }
4730
- var ao = {}, zn;
4731
- function Kt() {
4732
- return zn || (zn = 1, function(e) {
4833
+ var lo = {}, _n;
4834
+ function na() {
4835
+ return _n || (_n = 1, function(e) {
4733
4836
  Object.defineProperty(e, "__esModule", {
4734
4837
  value: !0
4735
4838
  }), e.default = void 0;
@@ -4952,11 +5055,11 @@ function Kt() {
4952
5055
  }
4953
5056
  };
4954
5057
  e.default = o;
4955
- }(ao)), ao;
5058
+ }(lo)), lo;
4956
5059
  }
4957
- var lo = {}, An;
4958
- function Qt() {
4959
- return An || (An = 1, function(e) {
5060
+ var co = {}, Mn;
5061
+ function ra() {
5062
+ return Mn || (Mn = 1, function(e) {
4960
5063
  Object.defineProperty(e, "__esModule", {
4961
5064
  value: !0
4962
5065
  }), e.default = void 0;
@@ -5139,11 +5242,11 @@ function Qt() {
5139
5242
  }
5140
5243
  };
5141
5244
  e.default = o;
5142
- }(lo)), lo;
5245
+ }(co)), co;
5143
5246
  }
5144
- var co = {}, _n;
5145
- function Yt() {
5146
- return _n || (_n = 1, function(e) {
5247
+ var io = {}, Cn;
5248
+ function ta() {
5249
+ return Cn || (Cn = 1, function(e) {
5147
5250
  Object.defineProperty(e, "__esModule", {
5148
5251
  value: !0
5149
5252
  }), e.default = void 0;
@@ -5325,11 +5428,11 @@ function Yt() {
5325
5428
  }
5326
5429
  };
5327
5430
  e.default = o;
5328
- }(co)), co;
5431
+ }(io)), io;
5329
5432
  }
5330
- var io = {}, Mn;
5331
- function Gt() {
5332
- return Mn || (Mn = 1, function(e) {
5433
+ var so = {}, Hn;
5434
+ function aa() {
5435
+ return Hn || (Hn = 1, function(e) {
5333
5436
  Object.defineProperty(e, "__esModule", {
5334
5437
  value: !0
5335
5438
  }), e.default = void 0;
@@ -5511,11 +5614,11 @@ function Gt() {
5511
5614
  }
5512
5615
  };
5513
5616
  e.default = o;
5514
- }(io)), io;
5617
+ }(so)), so;
5515
5618
  }
5516
- var so = {}, Cn;
5517
- function Xt() {
5518
- return Cn || (Cn = 1, function(e) {
5619
+ var uo = {}, On;
5620
+ function la() {
5621
+ return On || (On = 1, function(e) {
5519
5622
  Object.defineProperty(e, "__esModule", {
5520
5623
  value: !0
5521
5624
  }), e.default = void 0;
@@ -5714,11 +5817,11 @@ function Xt() {
5714
5817
  }
5715
5818
  };
5716
5819
  e.default = o;
5717
- }(so)), so;
5820
+ }(uo)), uo;
5718
5821
  }
5719
- var uo = {}, Hn;
5720
- function Jt() {
5721
- return Hn || (Hn = 1, function(e) {
5822
+ var fo = {}, Tn;
5823
+ function ca() {
5824
+ return Tn || (Tn = 1, function(e) {
5722
5825
  Object.defineProperty(e, "__esModule", {
5723
5826
  value: !0
5724
5827
  }), e.default = void 0;
@@ -5871,11 +5974,11 @@ function Jt() {
5871
5974
  }
5872
5975
  };
5873
5976
  e.default = o;
5874
- }(uo)), uo;
5977
+ }(fo)), fo;
5875
5978
  }
5876
- var fo = {}, On;
5877
- function Zt() {
5878
- return On || (On = 1, function(e) {
5979
+ var go = {}, Dn;
5980
+ function ia() {
5981
+ return Dn || (Dn = 1, function(e) {
5879
5982
  Object.defineProperty(e, "__esModule", {
5880
5983
  value: !0
5881
5984
  }), e.default = void 0;
@@ -6034,11 +6137,11 @@ function Zt() {
6034
6137
  }
6035
6138
  };
6036
6139
  e.default = o;
6037
- }(fo)), fo;
6140
+ }(go)), go;
6038
6141
  }
6039
- var go = {}, Tn;
6040
- function ea() {
6041
- return Tn || (Tn = 1, function(e) {
6142
+ var ho = {}, Fn;
6143
+ function sa() {
6144
+ return Fn || (Fn = 1, function(e) {
6042
6145
  Object.defineProperty(e, "__esModule", {
6043
6146
  value: !0
6044
6147
  }), e.default = void 0;
@@ -6238,11 +6341,11 @@ function ea() {
6238
6341
  }
6239
6342
  };
6240
6343
  e.default = o;
6241
- }(go)), go;
6344
+ }(ho)), ho;
6242
6345
  }
6243
- var bo = {}, Dn;
6244
- function oa() {
6245
- return Dn || (Dn = 1, function(e) {
6346
+ var bo = {}, Rn;
6347
+ function ua() {
6348
+ return Rn || (Rn = 1, function(e) {
6246
6349
  Object.defineProperty(e, "__esModule", {
6247
6350
  value: !0
6248
6351
  }), e.default = void 0;
@@ -6452,9 +6555,9 @@ function oa() {
6452
6555
  e.default = o;
6453
6556
  }(bo)), bo;
6454
6557
  }
6455
- var ho = {}, Fn;
6456
- function na() {
6457
- return Fn || (Fn = 1, function(e) {
6558
+ var po = {}, Wn;
6559
+ function da() {
6560
+ return Wn || (Wn = 1, function(e) {
6458
6561
  Object.defineProperty(e, "__esModule", {
6459
6562
  value: !0
6460
6563
  }), e.default = void 0;
@@ -6658,11 +6761,11 @@ function na() {
6658
6761
  }
6659
6762
  };
6660
6763
  e.default = o;
6661
- }(ho)), ho;
6764
+ }(po)), po;
6662
6765
  }
6663
- var po = {}, Rn;
6664
- function ra() {
6665
- return Rn || (Rn = 1, function(e) {
6766
+ var mo = {}, En;
6767
+ function fa() {
6768
+ return En || (En = 1, function(e) {
6666
6769
  Object.defineProperty(e, "__esModule", {
6667
6770
  value: !0
6668
6771
  }), e.default = void 0;
@@ -6859,11 +6962,11 @@ function ra() {
6859
6962
  }
6860
6963
  };
6861
6964
  e.default = o;
6862
- }(po)), po;
6965
+ }(mo)), mo;
6863
6966
  }
6864
- var mo = {}, Wn;
6865
- function ta() {
6866
- return Wn || (Wn = 1, function(e) {
6967
+ var ko = {}, Bn;
6968
+ function ga() {
6969
+ return Bn || (Bn = 1, function(e) {
6867
6970
  Object.defineProperty(e, "__esModule", {
6868
6971
  value: !0
6869
6972
  }), e.default = void 0;
@@ -7020,11 +7123,11 @@ function ta() {
7020
7123
  }
7021
7124
  };
7022
7125
  e.default = o;
7023
- }(mo)), mo;
7126
+ }(ko)), ko;
7024
7127
  }
7025
- var ko = {}, En;
7026
- function aa() {
7027
- return En || (En = 1, function(e) {
7128
+ var yo = {}, Nn;
7129
+ function ha() {
7130
+ return Nn || (Nn = 1, function(e) {
7028
7131
  Object.defineProperty(e, "__esModule", {
7029
7132
  value: !0
7030
7133
  }), e.default = void 0;
@@ -7530,11 +7633,11 @@ function aa() {
7530
7633
  }
7531
7634
  };
7532
7635
  e.default = o;
7533
- }(ko)), ko;
7636
+ }(yo)), yo;
7534
7637
  }
7535
- var yo = {}, Bn;
7536
- function la() {
7537
- return Bn || (Bn = 1, function(e) {
7638
+ var wo = {}, Pn;
7639
+ function ba() {
7640
+ return Pn || (Pn = 1, function(e) {
7538
7641
  Object.defineProperty(e, "__esModule", {
7539
7642
  value: !0
7540
7643
  }), e.default = void 0;
@@ -8028,11 +8131,11 @@ function la() {
8028
8131
  }
8029
8132
  };
8030
8133
  e.default = o;
8031
- }(yo)), yo;
8134
+ }(wo)), wo;
8032
8135
  }
8033
- var wo = {}, Nn;
8034
- function ca() {
8035
- return Nn || (Nn = 1, function(e) {
8136
+ var vo = {}, jn;
8137
+ function pa() {
8138
+ return jn || (jn = 1, function(e) {
8036
8139
  Object.defineProperty(e, "__esModule", {
8037
8140
  value: !0
8038
8141
  }), e.default = void 0;
@@ -8198,11 +8301,11 @@ function ca() {
8198
8301
  }
8199
8302
  };
8200
8303
  e.default = o;
8201
- }(wo)), wo;
8304
+ }(vo)), vo;
8202
8305
  }
8203
- var vo = {}, Pn;
8204
- function ia() {
8205
- return Pn || (Pn = 1, function(e) {
8306
+ var So = {}, Ln;
8307
+ function ma() {
8308
+ return Ln || (Ln = 1, function(e) {
8206
8309
  Object.defineProperty(e, "__esModule", {
8207
8310
  value: !0
8208
8311
  }), e.default = void 0;
@@ -8441,11 +8544,11 @@ function ia() {
8441
8544
  }
8442
8545
  };
8443
8546
  e.default = o;
8444
- }(vo)), vo;
8547
+ }(So)), So;
8445
8548
  }
8446
- var So = {}, jn;
8447
- function sa() {
8448
- return jn || (jn = 1, function(e) {
8549
+ var xo = {}, qn;
8550
+ function ka() {
8551
+ return qn || (qn = 1, function(e) {
8449
8552
  Object.defineProperty(e, "__esModule", {
8450
8553
  value: !0
8451
8554
  }), e.default = void 0;
@@ -8603,11 +8706,11 @@ function sa() {
8603
8706
  }
8604
8707
  };
8605
8708
  e.default = o;
8606
- }(So)), So;
8709
+ }(xo)), xo;
8607
8710
  }
8608
- var xo = {}, Ln;
8609
- function ua() {
8610
- return Ln || (Ln = 1, function(e) {
8711
+ var zo = {}, Vn;
8712
+ function ya() {
8713
+ return Vn || (Vn = 1, function(e) {
8611
8714
  Object.defineProperty(e, "__esModule", {
8612
8715
  value: !0
8613
8716
  }), e.default = void 0;
@@ -8795,11 +8898,11 @@ function ua() {
8795
8898
  }
8796
8899
  };
8797
8900
  e.default = o;
8798
- }(xo)), xo;
8901
+ }(zo)), zo;
8799
8902
  }
8800
- var zo = {}, qn;
8801
- function da() {
8802
- return qn || (qn = 1, function(e) {
8903
+ var Ao = {}, In;
8904
+ function wa() {
8905
+ return In || (In = 1, function(e) {
8803
8906
  Object.defineProperty(e, "__esModule", {
8804
8907
  value: !0
8805
8908
  }), e.default = void 0;
@@ -9010,11 +9113,11 @@ function da() {
9010
9113
  }
9011
9114
  };
9012
9115
  e.default = o;
9013
- }(zo)), zo;
9116
+ }(Ao)), Ao;
9014
9117
  }
9015
- var Ao = {}, Vn;
9016
- function fa() {
9017
- return Vn || (Vn = 1, function(e) {
9118
+ var _o = {}, Un;
9119
+ function va() {
9120
+ return Un || (Un = 1, function(e) {
9018
9121
  Object.defineProperty(e, "__esModule", {
9019
9122
  value: !0
9020
9123
  }), e.default = void 0;
@@ -9301,11 +9404,11 @@ function fa() {
9301
9404
  }
9302
9405
  };
9303
9406
  e.default = o;
9304
- }(Ao)), Ao;
9407
+ }(_o)), _o;
9305
9408
  }
9306
- var _o = {}, In;
9307
- function ga() {
9308
- return In || (In = 1, function(e) {
9409
+ var Mo = {}, $n;
9410
+ function Sa() {
9411
+ return $n || ($n = 1, function(e) {
9309
9412
  Object.defineProperty(e, "__esModule", {
9310
9413
  value: !0
9311
9414
  }), e.default = void 0;
@@ -9490,11 +9593,11 @@ function ga() {
9490
9593
  }
9491
9594
  };
9492
9595
  e.default = o;
9493
- }(_o)), _o;
9596
+ }(Mo)), Mo;
9494
9597
  }
9495
- var Mo = {}, Un;
9496
- function ba() {
9497
- return Un || (Un = 1, function(e) {
9598
+ var Co = {}, Kn;
9599
+ function xa() {
9600
+ return Kn || (Kn = 1, function(e) {
9498
9601
  Object.defineProperty(e, "__esModule", {
9499
9602
  value: !0
9500
9603
  }), e.default = void 0;
@@ -9695,10 +9798,10 @@ function ba() {
9695
9798
  }
9696
9799
  };
9697
9800
  e.default = o;
9698
- }(Mo)), Mo;
9801
+ }(Co)), Co;
9699
9802
  }
9700
9803
  (function(e) {
9701
- var o = zt;
9804
+ var o = Ft;
9702
9805
  Object.defineProperty(e, "__esModule", {
9703
9806
  value: !0
9704
9807
  }), Object.defineProperty(e, "a11yDark", {
@@ -9744,7 +9847,7 @@ function ba() {
9744
9847
  }), Object.defineProperty(e, "darcula", {
9745
9848
  enumerable: !0,
9746
9849
  get: function() {
9747
- return $.default;
9850
+ return K.default;
9748
9851
  }
9749
9852
  }), Object.defineProperty(e, "dark", {
9750
9853
  enumerable: !0,
@@ -9754,12 +9857,12 @@ function ba() {
9754
9857
  }), Object.defineProperty(e, "dracula", {
9755
9858
  enumerable: !0,
9756
9859
  get: function() {
9757
- return T.default;
9860
+ return D.default;
9758
9861
  }
9759
9862
  }), Object.defineProperty(e, "duotoneDark", {
9760
9863
  enumerable: !0,
9761
9864
  get: function() {
9762
- return h.default;
9865
+ return b.default;
9763
9866
  }
9764
9867
  }), Object.defineProperty(e, "duotoneEarth", {
9765
9868
  enumerable: !0,
@@ -9774,7 +9877,7 @@ function ba() {
9774
9877
  }), Object.defineProperty(e, "duotoneLight", {
9775
9878
  enumerable: !0,
9776
9879
  get: function() {
9777
- return D.default;
9880
+ return F.default;
9778
9881
  }
9779
9882
  }), Object.defineProperty(e, "duotoneSea", {
9780
9883
  enumerable: !0,
@@ -9809,42 +9912,42 @@ function ba() {
9809
9912
  }), Object.defineProperty(e, "holiTheme", {
9810
9913
  enumerable: !0,
9811
9914
  get: function() {
9812
- return Jr.default;
9915
+ return et.default;
9813
9916
  }
9814
9917
  }), Object.defineProperty(e, "hopscotch", {
9815
9918
  enumerable: !0,
9816
9919
  get: function() {
9817
- return Zr.default;
9920
+ return ot.default;
9818
9921
  }
9819
9922
  }), Object.defineProperty(e, "lucario", {
9820
9923
  enumerable: !0,
9821
9924
  get: function() {
9822
- return et.default;
9925
+ return nt.default;
9823
9926
  }
9824
9927
  }), Object.defineProperty(e, "materialDark", {
9825
9928
  enumerable: !0,
9826
9929
  get: function() {
9827
- return ot.default;
9930
+ return rt.default;
9828
9931
  }
9829
9932
  }), Object.defineProperty(e, "materialLight", {
9830
9933
  enumerable: !0,
9831
9934
  get: function() {
9832
- return nt.default;
9935
+ return tt.default;
9833
9936
  }
9834
9937
  }), Object.defineProperty(e, "materialOceanic", {
9835
9938
  enumerable: !0,
9836
9939
  get: function() {
9837
- return rt.default;
9940
+ return at.default;
9838
9941
  }
9839
9942
  }), Object.defineProperty(e, "nightOwl", {
9840
9943
  enumerable: !0,
9841
9944
  get: function() {
9842
- return tt.default;
9945
+ return lt.default;
9843
9946
  }
9844
9947
  }), Object.defineProperty(e, "nord", {
9845
9948
  enumerable: !0,
9846
9949
  get: function() {
9847
- return at.default;
9950
+ return ct.default;
9848
9951
  }
9849
9952
  }), Object.defineProperty(e, "okaidia", {
9850
9953
  enumerable: !0,
@@ -9854,17 +9957,17 @@ function ba() {
9854
9957
  }), Object.defineProperty(e, "oneDark", {
9855
9958
  enumerable: !0,
9856
9959
  get: function() {
9857
- return lt.default;
9960
+ return it.default;
9858
9961
  }
9859
9962
  }), Object.defineProperty(e, "oneLight", {
9860
9963
  enumerable: !0,
9861
9964
  get: function() {
9862
- return ct.default;
9965
+ return st.default;
9863
9966
  }
9864
9967
  }), Object.defineProperty(e, "pojoaque", {
9865
9968
  enumerable: !0,
9866
9969
  get: function() {
9867
- return it.default;
9970
+ return ut.default;
9868
9971
  }
9869
9972
  }), Object.defineProperty(e, "prism", {
9870
9973
  enumerable: !0,
@@ -9874,12 +9977,12 @@ function ba() {
9874
9977
  }), Object.defineProperty(e, "shadesOfPurple", {
9875
9978
  enumerable: !0,
9876
9979
  get: function() {
9877
- return st.default;
9980
+ return dt.default;
9878
9981
  }
9879
9982
  }), Object.defineProperty(e, "solarizedDarkAtom", {
9880
9983
  enumerable: !0,
9881
9984
  get: function() {
9882
- return ut.default;
9985
+ return ft.default;
9883
9986
  }
9884
9987
  }), Object.defineProperty(e, "solarizedlight", {
9885
9988
  enumerable: !0,
@@ -9889,7 +9992,7 @@ function ba() {
9889
9992
  }), Object.defineProperty(e, "synthwave84", {
9890
9993
  enumerable: !0,
9891
9994
  get: function() {
9892
- return dt.default;
9995
+ return gt.default;
9893
9996
  }
9894
9997
  }), Object.defineProperty(e, "tomorrow", {
9895
9998
  enumerable: !0,
@@ -9904,30 +10007,30 @@ function ba() {
9904
10007
  }), Object.defineProperty(e, "vs", {
9905
10008
  enumerable: !0,
9906
10009
  get: function() {
9907
- return ft.default;
10010
+ return ht.default;
9908
10011
  }
9909
10012
  }), Object.defineProperty(e, "vscDarkPlus", {
9910
10013
  enumerable: !0,
9911
10014
  get: function() {
9912
- return gt.default;
10015
+ return bt.default;
9913
10016
  }
9914
10017
  }), Object.defineProperty(e, "xonokai", {
9915
10018
  enumerable: !0,
9916
10019
  get: function() {
9917
- return bt.default;
10020
+ return pt.default;
9918
10021
  }
9919
10022
  }), Object.defineProperty(e, "zTouch", {
9920
10023
  enumerable: !0,
9921
10024
  get: function() {
9922
- return ht.default;
10025
+ return mt.default;
9923
10026
  }
9924
10027
  });
9925
- var n = o(At()), r = o(_t()), t = o(Mt()), a = o(Ct()), l = o(Ht()), c = o(Ot()), i = o(Tt()), u = o(Dt()), s = o(Ft()), d = o(Rt()), f = o(Wt()), g = o(Et()), p = o(Bt()), k = o(Nt()), z = o(Pt()), $ = o(jt()), T = o(Lt()), h = o(qt()), m = o(Vt()), y = o(It()), D = o(Ut()), C = o($t()), v = o(Kt()), de = o(Qt()), We = o(Yt()), Ee = o(Gt()), Jr = o(Xt()), Zr = o(Jt()), et = o(Zt()), ot = o(ea()), nt = o(oa()), rt = o(na()), tt = o(ra()), at = o(ta()), lt = o(aa()), ct = o(la()), it = o(ca()), st = o(ia()), ut = o(sa()), dt = o(ua()), ft = o(da()), gt = o(fa()), bt = o(ga()), ht = o(ba());
10028
+ var n = o(Rt()), r = o(Wt()), t = o(Et()), a = o(Bt()), l = o(Nt()), c = o(Pt()), i = o(jt()), u = o(Lt()), s = o(qt()), d = o(Vt()), f = o(It()), g = o(Ut()), p = o($t()), k = o(Kt()), z = o(Qt()), K = o(Yt()), D = o(Gt()), b = o(Xt()), m = o(Jt()), y = o(Zt()), F = o(ea()), C = o(oa()), v = o(na()), de = o(ra()), We = o(ta()), Ee = o(aa()), et = o(la()), ot = o(ca()), nt = o(ia()), rt = o(sa()), tt = o(ua()), at = o(da()), lt = o(fa()), ct = o(ga()), it = o(ha()), st = o(ba()), ut = o(pa()), dt = o(ma()), ft = o(ka()), gt = o(ya()), ht = o(wa()), bt = o(va()), pt = o(Sa()), mt = o(xa());
9926
10029
  })(ee);
9927
- const ha = "_codeblock_19tsp_1", pa = "_dark_19tsp_1", $n = {
9928
- codeblock: ha,
9929
- dark: pa
9930
- }, ma = { vs: ee.vs, "vsc-dark-plus": ee.vscDarkPlus, solarizedLight: ee.solarizedlight, tomorrow: ee.tomorrow }, ss = ({
10030
+ const za = "_codeblock_19tsp_1", Aa = "_dark_19tsp_1", Qn = {
10031
+ codeblock: za,
10032
+ dark: Aa
10033
+ }, _a = { vs: ee.vs, "vsc-dark-plus": ee.vscDarkPlus, solarizedLight: ee.solarizedlight, tomorrow: ee.tomorrow }, ws = ({
9931
10034
  code: e,
9932
10035
  language: o,
9933
10036
  fileName: n,
@@ -9936,31 +10039,31 @@ const ha = "_codeblock_19tsp_1", pa = "_dark_19tsp_1", $n = {
9936
10039
  showLineNumbers: a,
9937
10040
  className: l,
9938
10041
  titleActions: c
9939
- }) => /* @__PURE__ */ P.jsxs(
9940
- mt,
10042
+ }) => /* @__PURE__ */ O.jsxs(
10043
+ _t,
9941
10044
  {
9942
- className: `${$n.codeblock} ${l || ""} ${t === "dark" ? $n.dark : ""}`,
10045
+ className: `${Qn.codeblock} ${l || ""} ${t === "dark" ? Qn.dark : ""}`,
9943
10046
  children: [
9944
- n ? /* @__PURE__ */ P.jsx(kt, { children: /* @__PURE__ */ P.jsxs(yt, { justify: "between", children: [
10047
+ n ? /* @__PURE__ */ O.jsxs(Mt, { className: "d-flex justify-content-between", children: [
9945
10048
  n,
9946
10049
  " ",
9947
10050
  c
9948
- ] }) }) : null,
9949
- /* @__PURE__ */ P.jsx(wt, { className: n ? "" : "al-pt-4", children: /* @__PURE__ */ P.jsx(
9950
- vt,
10051
+ ] }) : null,
10052
+ /* @__PURE__ */ O.jsx(Ct, { children: /* @__PURE__ */ O.jsx(
10053
+ Ht,
9951
10054
  {
9952
10055
  showLineNumbers: a,
9953
10056
  language: o,
9954
- style: ma[r],
10057
+ style: _a[r],
9955
10058
  children: e
9956
10059
  }
9957
10060
  ) })
9958
10061
  ]
9959
10062
  }
9960
10063
  );
9961
- var ka = { value: () => {
10064
+ var Ma = { value: () => {
9962
10065
  } };
9963
- function kr() {
10066
+ function wr() {
9964
10067
  for (var e = 0, o = arguments.length, n = {}, r; e < o; ++e) {
9965
10068
  if (!(r = arguments[e] + "") || r in n || /[\s.]/.test(r)) throw new Error("illegal type: " + r);
9966
10069
  n[r] = [];
@@ -9970,25 +10073,25 @@ function kr() {
9970
10073
  function pe(e) {
9971
10074
  this._ = e;
9972
10075
  }
9973
- function ya(e, o) {
10076
+ function Ca(e, o) {
9974
10077
  return e.trim().split(/^|\s+/).map(function(n) {
9975
10078
  var r = "", t = n.indexOf(".");
9976
10079
  if (t >= 0 && (r = n.slice(t + 1), n = n.slice(0, t)), n && !o.hasOwnProperty(n)) throw new Error("unknown type: " + n);
9977
10080
  return { type: n, name: r };
9978
10081
  });
9979
10082
  }
9980
- pe.prototype = kr.prototype = {
10083
+ pe.prototype = wr.prototype = {
9981
10084
  constructor: pe,
9982
10085
  on: function(e, o) {
9983
- var n = this._, r = ya(e + "", n), t, a = -1, l = r.length;
10086
+ var n = this._, r = Ca(e + "", n), t, a = -1, l = r.length;
9984
10087
  if (arguments.length < 2) {
9985
- for (; ++a < l; ) if ((t = (e = r[a]).type) && (t = wa(n[t], e.name))) return t;
10088
+ for (; ++a < l; ) if ((t = (e = r[a]).type) && (t = Ha(n[t], e.name))) return t;
9986
10089
  return;
9987
10090
  }
9988
10091
  if (o != null && typeof o != "function") throw new Error("invalid callback: " + o);
9989
10092
  for (; ++a < l; )
9990
- if (t = (e = r[a]).type) n[t] = Kn(n[t], e.name, o);
9991
- else if (o == null) for (t in n) n[t] = Kn(n[t], e.name, null);
10093
+ if (t = (e = r[a]).type) n[t] = Yn(n[t], e.name, o);
10094
+ else if (o == null) for (t in n) n[t] = Yn(n[t], e.name, null);
9992
10095
  return this;
9993
10096
  },
9994
10097
  copy: function() {
@@ -10006,129 +10109,129 @@ pe.prototype = kr.prototype = {
10006
10109
  for (var r = this._[e], t = 0, a = r.length; t < a; ++t) r[t].value.apply(o, n);
10007
10110
  }
10008
10111
  };
10009
- function wa(e, o) {
10112
+ function Ha(e, o) {
10010
10113
  for (var n = 0, r = e.length, t; n < r; ++n)
10011
10114
  if ((t = e[n]).name === o)
10012
10115
  return t.value;
10013
10116
  }
10014
- function Kn(e, o, n) {
10117
+ function Yn(e, o, n) {
10015
10118
  for (var r = 0, t = e.length; r < t; ++r)
10016
10119
  if (e[r].name === o) {
10017
- e[r] = ka, e = e.slice(0, r).concat(e.slice(r + 1));
10120
+ e[r] = Ma, e = e.slice(0, r).concat(e.slice(r + 1));
10018
10121
  break;
10019
10122
  }
10020
10123
  return n != null && e.push({ name: o, value: n }), e;
10021
10124
  }
10022
- var Do = "http://www.w3.org/1999/xhtml";
10023
- const Qn = {
10125
+ var Fo = "http://www.w3.org/1999/xhtml";
10126
+ const Gn = {
10024
10127
  svg: "http://www.w3.org/2000/svg",
10025
- xhtml: Do,
10128
+ xhtml: Fo,
10026
10129
  xlink: "http://www.w3.org/1999/xlink",
10027
10130
  xml: "http://www.w3.org/XML/1998/namespace",
10028
10131
  xmlns: "http://www.w3.org/2000/xmlns/"
10029
10132
  };
10030
10133
  function Ce(e) {
10031
10134
  var o = e += "", n = o.indexOf(":");
10032
- return n >= 0 && (o = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), Qn.hasOwnProperty(o) ? { space: Qn[o], local: e } : e;
10135
+ return n >= 0 && (o = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), Gn.hasOwnProperty(o) ? { space: Gn[o], local: e } : e;
10033
10136
  }
10034
- function va(e) {
10137
+ function Oa(e) {
10035
10138
  return function() {
10036
10139
  var o = this.ownerDocument, n = this.namespaceURI;
10037
- return n === Do && o.documentElement.namespaceURI === Do ? o.createElement(e) : o.createElementNS(n, e);
10140
+ return n === Fo && o.documentElement.namespaceURI === Fo ? o.createElement(e) : o.createElementNS(n, e);
10038
10141
  };
10039
10142
  }
10040
- function Sa(e) {
10143
+ function Ta(e) {
10041
10144
  return function() {
10042
10145
  return this.ownerDocument.createElementNS(e.space, e.local);
10043
10146
  };
10044
10147
  }
10045
- function yr(e) {
10148
+ function vr(e) {
10046
10149
  var o = Ce(e);
10047
- return (o.local ? Sa : va)(o);
10150
+ return (o.local ? Ta : Oa)(o);
10048
10151
  }
10049
- function xa() {
10152
+ function Da() {
10050
10153
  }
10051
- function Uo(e) {
10052
- return e == null ? xa : function() {
10154
+ function $o(e) {
10155
+ return e == null ? Da : function() {
10053
10156
  return this.querySelector(e);
10054
10157
  };
10055
10158
  }
10056
- function za(e) {
10057
- typeof e != "function" && (e = Uo(e));
10159
+ function Fa(e) {
10160
+ typeof e != "function" && (e = $o(e));
10058
10161
  for (var o = this._groups, n = o.length, r = new Array(n), t = 0; t < n; ++t)
10059
10162
  for (var a = o[t], l = a.length, c = r[t] = new Array(l), i, u, s = 0; s < l; ++s)
10060
10163
  (i = a[s]) && (u = e.call(i, i.__data__, s, a)) && ("__data__" in i && (u.__data__ = i.__data__), c[s] = u);
10061
10164
  return new A(r, this._parents);
10062
10165
  }
10063
- function Aa(e) {
10166
+ function Ra(e) {
10064
10167
  return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
10065
10168
  }
10066
- function _a() {
10169
+ function Wa() {
10067
10170
  return [];
10068
10171
  }
10069
- function wr(e) {
10070
- return e == null ? _a : function() {
10172
+ function Sr(e) {
10173
+ return e == null ? Wa : function() {
10071
10174
  return this.querySelectorAll(e);
10072
10175
  };
10073
10176
  }
10074
- function Ma(e) {
10177
+ function Ea(e) {
10075
10178
  return function() {
10076
- return Aa(e.apply(this, arguments));
10179
+ return Ra(e.apply(this, arguments));
10077
10180
  };
10078
10181
  }
10079
- function Ca(e) {
10080
- typeof e == "function" ? e = Ma(e) : e = wr(e);
10182
+ function Ba(e) {
10183
+ typeof e == "function" ? e = Ea(e) : e = Sr(e);
10081
10184
  for (var o = this._groups, n = o.length, r = [], t = [], a = 0; a < n; ++a)
10082
10185
  for (var l = o[a], c = l.length, i, u = 0; u < c; ++u)
10083
10186
  (i = l[u]) && (r.push(e.call(i, i.__data__, u, l)), t.push(i));
10084
10187
  return new A(r, t);
10085
10188
  }
10086
- function vr(e) {
10189
+ function xr(e) {
10087
10190
  return function() {
10088
10191
  return this.matches(e);
10089
10192
  };
10090
10193
  }
10091
- function Sr(e) {
10194
+ function zr(e) {
10092
10195
  return function(o) {
10093
10196
  return o.matches(e);
10094
10197
  };
10095
10198
  }
10096
- var Ha = Array.prototype.find;
10097
- function Oa(e) {
10199
+ var Na = Array.prototype.find;
10200
+ function Pa(e) {
10098
10201
  return function() {
10099
- return Ha.call(this.children, e);
10202
+ return Na.call(this.children, e);
10100
10203
  };
10101
10204
  }
10102
- function Ta() {
10205
+ function ja() {
10103
10206
  return this.firstElementChild;
10104
10207
  }
10105
- function Da(e) {
10106
- return this.select(e == null ? Ta : Oa(typeof e == "function" ? e : Sr(e)));
10208
+ function La(e) {
10209
+ return this.select(e == null ? ja : Pa(typeof e == "function" ? e : zr(e)));
10107
10210
  }
10108
- var Fa = Array.prototype.filter;
10109
- function Ra() {
10211
+ var qa = Array.prototype.filter;
10212
+ function Va() {
10110
10213
  return Array.from(this.children);
10111
10214
  }
10112
- function Wa(e) {
10215
+ function Ia(e) {
10113
10216
  return function() {
10114
- return Fa.call(this.children, e);
10217
+ return qa.call(this.children, e);
10115
10218
  };
10116
10219
  }
10117
- function Ea(e) {
10118
- return this.selectAll(e == null ? Ra : Wa(typeof e == "function" ? e : Sr(e)));
10220
+ function Ua(e) {
10221
+ return this.selectAll(e == null ? Va : Ia(typeof e == "function" ? e : zr(e)));
10119
10222
  }
10120
- function Ba(e) {
10121
- typeof e != "function" && (e = vr(e));
10223
+ function $a(e) {
10224
+ typeof e != "function" && (e = xr(e));
10122
10225
  for (var o = this._groups, n = o.length, r = new Array(n), t = 0; t < n; ++t)
10123
10226
  for (var a = o[t], l = a.length, c = r[t] = [], i, u = 0; u < l; ++u)
10124
10227
  (i = a[u]) && e.call(i, i.__data__, u, a) && c.push(i);
10125
10228
  return new A(r, this._parents);
10126
10229
  }
10127
- function xr(e) {
10230
+ function Ar(e) {
10128
10231
  return new Array(e.length);
10129
10232
  }
10130
- function Na() {
10131
- return new A(this._enter || this._groups.map(xr), this._parents);
10233
+ function Ka() {
10234
+ return new A(this._enter || this._groups.map(Ar), this._parents);
10132
10235
  }
10133
10236
  function ye(e, o) {
10134
10237
  this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = o;
@@ -10148,18 +10251,18 @@ ye.prototype = {
10148
10251
  return this._parent.querySelectorAll(e);
10149
10252
  }
10150
10253
  };
10151
- function Pa(e) {
10254
+ function Qa(e) {
10152
10255
  return function() {
10153
10256
  return e;
10154
10257
  };
10155
10258
  }
10156
- function ja(e, o, n, r, t, a) {
10259
+ function Ya(e, o, n, r, t, a) {
10157
10260
  for (var l = 0, c, i = o.length, u = a.length; l < u; ++l)
10158
10261
  (c = o[l]) ? (c.__data__ = a[l], r[l] = c) : n[l] = new ye(e, a[l]);
10159
10262
  for (; l < i; ++l)
10160
10263
  (c = o[l]) && (t[l] = c);
10161
10264
  }
10162
- function La(e, o, n, r, t, a, l) {
10265
+ function Ga(e, o, n, r, t, a, l) {
10163
10266
  var c, i, u = /* @__PURE__ */ new Map(), s = o.length, d = a.length, f = new Array(s), g;
10164
10267
  for (c = 0; c < s; ++c)
10165
10268
  (i = o[c]) && (f[c] = g = l.call(i, i.__data__, c, o) + "", u.has(g) ? t[c] = i : u.set(g, i));
@@ -10168,35 +10271,35 @@ function La(e, o, n, r, t, a, l) {
10168
10271
  for (c = 0; c < s; ++c)
10169
10272
  (i = o[c]) && u.get(f[c]) === i && (t[c] = i);
10170
10273
  }
10171
- function qa(e) {
10274
+ function Xa(e) {
10172
10275
  return e.__data__;
10173
10276
  }
10174
- function Va(e, o) {
10175
- if (!arguments.length) return Array.from(this, qa);
10176
- var n = o ? La : ja, r = this._parents, t = this._groups;
10177
- typeof e != "function" && (e = Pa(e));
10277
+ function Ja(e, o) {
10278
+ if (!arguments.length) return Array.from(this, Xa);
10279
+ var n = o ? Ga : Ya, r = this._parents, t = this._groups;
10280
+ typeof e != "function" && (e = Qa(e));
10178
10281
  for (var a = t.length, l = new Array(a), c = new Array(a), i = new Array(a), u = 0; u < a; ++u) {
10179
- var s = r[u], d = t[u], f = d.length, g = Ia(e.call(s, s && s.__data__, u, r)), p = g.length, k = c[u] = new Array(p), z = l[u] = new Array(p), $ = i[u] = new Array(f);
10180
- n(s, d, k, z, $, g, o);
10181
- for (var T = 0, h = 0, m, y; T < p; ++T)
10182
- if (m = k[T]) {
10183
- for (T >= h && (h = T + 1); !(y = z[h]) && ++h < p; ) ;
10282
+ var s = r[u], d = t[u], f = d.length, g = Za(e.call(s, s && s.__data__, u, r)), p = g.length, k = c[u] = new Array(p), z = l[u] = new Array(p), K = i[u] = new Array(f);
10283
+ n(s, d, k, z, K, g, o);
10284
+ for (var D = 0, b = 0, m, y; D < p; ++D)
10285
+ if (m = k[D]) {
10286
+ for (D >= b && (b = D + 1); !(y = z[b]) && ++b < p; ) ;
10184
10287
  m._next = y || null;
10185
10288
  }
10186
10289
  }
10187
10290
  return l = new A(l, r), l._enter = c, l._exit = i, l;
10188
10291
  }
10189
- function Ia(e) {
10292
+ function Za(e) {
10190
10293
  return typeof e == "object" && "length" in e ? e : Array.from(e);
10191
10294
  }
10192
- function Ua() {
10193
- return new A(this._exit || this._groups.map(xr), this._parents);
10295
+ function el() {
10296
+ return new A(this._exit || this._groups.map(Ar), this._parents);
10194
10297
  }
10195
- function $a(e, o, n) {
10298
+ function ol(e, o, n) {
10196
10299
  var r = this.enter(), t = this, a = this.exit();
10197
10300
  return typeof e == "function" ? (r = e(r), r && (r = r.selection())) : r = r.append(e + ""), o != null && (t = o(t), t && (t = t.selection())), n == null ? a.remove() : n(a), r && t ? r.merge(t).order() : t;
10198
10301
  }
10199
- function Ka(e) {
10302
+ function nl(e) {
10200
10303
  for (var o = e.selection ? e.selection() : e, n = this._groups, r = o._groups, t = n.length, a = r.length, l = Math.min(t, a), c = new Array(t), i = 0; i < l; ++i)
10201
10304
  for (var u = n[i], s = r[i], d = u.length, f = c[i] = new Array(d), g, p = 0; p < d; ++p)
10202
10305
  (g = u[p] || s[p]) && (f[p] = g);
@@ -10204,14 +10307,14 @@ function Ka(e) {
10204
10307
  c[i] = n[i];
10205
10308
  return new A(c, this._parents);
10206
10309
  }
10207
- function Qa() {
10310
+ function rl() {
10208
10311
  for (var e = this._groups, o = -1, n = e.length; ++o < n; )
10209
10312
  for (var r = e[o], t = r.length - 1, a = r[t], l; --t >= 0; )
10210
10313
  (l = r[t]) && (a && l.compareDocumentPosition(a) ^ 4 && a.parentNode.insertBefore(l, a), a = l);
10211
10314
  return this;
10212
10315
  }
10213
- function Ya(e) {
10214
- e || (e = Ga);
10316
+ function tl(e) {
10317
+ e || (e = al);
10215
10318
  function o(d, f) {
10216
10319
  return d && f ? e(d.__data__, f.__data__) : !d - !f;
10217
10320
  }
@@ -10222,17 +10325,17 @@ function Ya(e) {
10222
10325
  }
10223
10326
  return new A(t, this._parents).order();
10224
10327
  }
10225
- function Ga(e, o) {
10328
+ function al(e, o) {
10226
10329
  return e < o ? -1 : e > o ? 1 : e >= o ? 0 : NaN;
10227
10330
  }
10228
- function Xa() {
10331
+ function ll() {
10229
10332
  var e = arguments[0];
10230
10333
  return arguments[0] = this, e.apply(null, arguments), this;
10231
10334
  }
10232
- function Ja() {
10335
+ function cl() {
10233
10336
  return Array.from(this);
10234
10337
  }
10235
- function Za() {
10338
+ function il() {
10236
10339
  for (var e = this._groups, o = 0, n = e.length; o < n; ++o)
10237
10340
  for (var r = e[o], t = 0, a = r.length; t < a; ++t) {
10238
10341
  var l = r[t];
@@ -10240,114 +10343,114 @@ function Za() {
10240
10343
  }
10241
10344
  return null;
10242
10345
  }
10243
- function el() {
10346
+ function sl() {
10244
10347
  let e = 0;
10245
10348
  for (const o of this) ++e;
10246
10349
  return e;
10247
10350
  }
10248
- function ol() {
10351
+ function ul() {
10249
10352
  return !this.node();
10250
10353
  }
10251
- function nl(e) {
10354
+ function dl(e) {
10252
10355
  for (var o = this._groups, n = 0, r = o.length; n < r; ++n)
10253
10356
  for (var t = o[n], a = 0, l = t.length, c; a < l; ++a)
10254
10357
  (c = t[a]) && e.call(c, c.__data__, a, t);
10255
10358
  return this;
10256
10359
  }
10257
- function rl(e) {
10360
+ function fl(e) {
10258
10361
  return function() {
10259
10362
  this.removeAttribute(e);
10260
10363
  };
10261
10364
  }
10262
- function tl(e) {
10365
+ function gl(e) {
10263
10366
  return function() {
10264
10367
  this.removeAttributeNS(e.space, e.local);
10265
10368
  };
10266
10369
  }
10267
- function al(e, o) {
10370
+ function hl(e, o) {
10268
10371
  return function() {
10269
10372
  this.setAttribute(e, o);
10270
10373
  };
10271
10374
  }
10272
- function ll(e, o) {
10375
+ function bl(e, o) {
10273
10376
  return function() {
10274
10377
  this.setAttributeNS(e.space, e.local, o);
10275
10378
  };
10276
10379
  }
10277
- function cl(e, o) {
10380
+ function pl(e, o) {
10278
10381
  return function() {
10279
10382
  var n = o.apply(this, arguments);
10280
10383
  n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
10281
10384
  };
10282
10385
  }
10283
- function il(e, o) {
10386
+ function ml(e, o) {
10284
10387
  return function() {
10285
10388
  var n = o.apply(this, arguments);
10286
10389
  n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
10287
10390
  };
10288
10391
  }
10289
- function sl(e, o) {
10392
+ function kl(e, o) {
10290
10393
  var n = Ce(e);
10291
10394
  if (arguments.length < 2) {
10292
10395
  var r = this.node();
10293
10396
  return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
10294
10397
  }
10295
- return this.each((o == null ? n.local ? tl : rl : typeof o == "function" ? n.local ? il : cl : n.local ? ll : al)(n, o));
10398
+ return this.each((o == null ? n.local ? gl : fl : typeof o == "function" ? n.local ? ml : pl : n.local ? bl : hl)(n, o));
10296
10399
  }
10297
- function zr(e) {
10400
+ function _r(e) {
10298
10401
  return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
10299
10402
  }
10300
- function ul(e) {
10403
+ function yl(e) {
10301
10404
  return function() {
10302
10405
  this.style.removeProperty(e);
10303
10406
  };
10304
10407
  }
10305
- function dl(e, o, n) {
10408
+ function wl(e, o, n) {
10306
10409
  return function() {
10307
10410
  this.style.setProperty(e, o, n);
10308
10411
  };
10309
10412
  }
10310
- function fl(e, o, n) {
10413
+ function vl(e, o, n) {
10311
10414
  return function() {
10312
10415
  var r = o.apply(this, arguments);
10313
10416
  r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
10314
10417
  };
10315
10418
  }
10316
- function gl(e, o, n) {
10317
- return arguments.length > 1 ? this.each((o == null ? ul : typeof o == "function" ? fl : dl)(e, o, n ?? "")) : G(this.node(), e);
10419
+ function Sl(e, o, n) {
10420
+ return arguments.length > 1 ? this.each((o == null ? yl : typeof o == "function" ? vl : wl)(e, o, n ?? "")) : G(this.node(), e);
10318
10421
  }
10319
10422
  function G(e, o) {
10320
- return e.style.getPropertyValue(o) || zr(e).getComputedStyle(e, null).getPropertyValue(o);
10423
+ return e.style.getPropertyValue(o) || _r(e).getComputedStyle(e, null).getPropertyValue(o);
10321
10424
  }
10322
- function bl(e) {
10425
+ function xl(e) {
10323
10426
  return function() {
10324
10427
  delete this[e];
10325
10428
  };
10326
10429
  }
10327
- function hl(e, o) {
10430
+ function zl(e, o) {
10328
10431
  return function() {
10329
10432
  this[e] = o;
10330
10433
  };
10331
10434
  }
10332
- function pl(e, o) {
10435
+ function Al(e, o) {
10333
10436
  return function() {
10334
10437
  var n = o.apply(this, arguments);
10335
10438
  n == null ? delete this[e] : this[e] = n;
10336
10439
  };
10337
10440
  }
10338
- function ml(e, o) {
10339
- return arguments.length > 1 ? this.each((o == null ? bl : typeof o == "function" ? pl : hl)(e, o)) : this.node()[e];
10441
+ function _l(e, o) {
10442
+ return arguments.length > 1 ? this.each((o == null ? xl : typeof o == "function" ? Al : zl)(e, o)) : this.node()[e];
10340
10443
  }
10341
- function Ar(e) {
10444
+ function Mr(e) {
10342
10445
  return e.trim().split(/^|\s+/);
10343
10446
  }
10344
- function $o(e) {
10345
- return e.classList || new _r(e);
10447
+ function Ko(e) {
10448
+ return e.classList || new Cr(e);
10346
10449
  }
10347
- function _r(e) {
10348
- this._node = e, this._names = Ar(e.getAttribute("class") || "");
10450
+ function Cr(e) {
10451
+ this._node = e, this._names = Mr(e.getAttribute("class") || "");
10349
10452
  }
10350
- _r.prototype = {
10453
+ Cr.prototype = {
10351
10454
  add: function(e) {
10352
10455
  var o = this._names.indexOf(e);
10353
10456
  o < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
@@ -10360,129 +10463,129 @@ _r.prototype = {
10360
10463
  return this._names.indexOf(e) >= 0;
10361
10464
  }
10362
10465
  };
10363
- function Mr(e, o) {
10364
- for (var n = $o(e), r = -1, t = o.length; ++r < t; ) n.add(o[r]);
10466
+ function Hr(e, o) {
10467
+ for (var n = Ko(e), r = -1, t = o.length; ++r < t; ) n.add(o[r]);
10365
10468
  }
10366
- function Cr(e, o) {
10367
- for (var n = $o(e), r = -1, t = o.length; ++r < t; ) n.remove(o[r]);
10469
+ function Or(e, o) {
10470
+ for (var n = Ko(e), r = -1, t = o.length; ++r < t; ) n.remove(o[r]);
10368
10471
  }
10369
- function kl(e) {
10472
+ function Ml(e) {
10370
10473
  return function() {
10371
- Mr(this, e);
10474
+ Hr(this, e);
10372
10475
  };
10373
10476
  }
10374
- function yl(e) {
10477
+ function Cl(e) {
10375
10478
  return function() {
10376
- Cr(this, e);
10479
+ Or(this, e);
10377
10480
  };
10378
10481
  }
10379
- function wl(e, o) {
10482
+ function Hl(e, o) {
10380
10483
  return function() {
10381
- (o.apply(this, arguments) ? Mr : Cr)(this, e);
10484
+ (o.apply(this, arguments) ? Hr : Or)(this, e);
10382
10485
  };
10383
10486
  }
10384
- function vl(e, o) {
10385
- var n = Ar(e + "");
10487
+ function Ol(e, o) {
10488
+ var n = Mr(e + "");
10386
10489
  if (arguments.length < 2) {
10387
- for (var r = $o(this.node()), t = -1, a = n.length; ++t < a; ) if (!r.contains(n[t])) return !1;
10490
+ for (var r = Ko(this.node()), t = -1, a = n.length; ++t < a; ) if (!r.contains(n[t])) return !1;
10388
10491
  return !0;
10389
10492
  }
10390
- return this.each((typeof o == "function" ? wl : o ? kl : yl)(n, o));
10493
+ return this.each((typeof o == "function" ? Hl : o ? Ml : Cl)(n, o));
10391
10494
  }
10392
- function Sl() {
10495
+ function Tl() {
10393
10496
  this.textContent = "";
10394
10497
  }
10395
- function xl(e) {
10498
+ function Dl(e) {
10396
10499
  return function() {
10397
10500
  this.textContent = e;
10398
10501
  };
10399
10502
  }
10400
- function zl(e) {
10503
+ function Fl(e) {
10401
10504
  return function() {
10402
10505
  var o = e.apply(this, arguments);
10403
10506
  this.textContent = o ?? "";
10404
10507
  };
10405
10508
  }
10406
- function Al(e) {
10407
- return arguments.length ? this.each(e == null ? Sl : (typeof e == "function" ? zl : xl)(e)) : this.node().textContent;
10509
+ function Rl(e) {
10510
+ return arguments.length ? this.each(e == null ? Tl : (typeof e == "function" ? Fl : Dl)(e)) : this.node().textContent;
10408
10511
  }
10409
- function _l() {
10512
+ function Wl() {
10410
10513
  this.innerHTML = "";
10411
10514
  }
10412
- function Ml(e) {
10515
+ function El(e) {
10413
10516
  return function() {
10414
10517
  this.innerHTML = e;
10415
10518
  };
10416
10519
  }
10417
- function Cl(e) {
10520
+ function Bl(e) {
10418
10521
  return function() {
10419
10522
  var o = e.apply(this, arguments);
10420
10523
  this.innerHTML = o ?? "";
10421
10524
  };
10422
10525
  }
10423
- function Hl(e) {
10424
- return arguments.length ? this.each(e == null ? _l : (typeof e == "function" ? Cl : Ml)(e)) : this.node().innerHTML;
10526
+ function Nl(e) {
10527
+ return arguments.length ? this.each(e == null ? Wl : (typeof e == "function" ? Bl : El)(e)) : this.node().innerHTML;
10425
10528
  }
10426
- function Ol() {
10529
+ function Pl() {
10427
10530
  this.nextSibling && this.parentNode.appendChild(this);
10428
10531
  }
10429
- function Tl() {
10430
- return this.each(Ol);
10532
+ function jl() {
10533
+ return this.each(Pl);
10431
10534
  }
10432
- function Dl() {
10535
+ function Ll() {
10433
10536
  this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
10434
10537
  }
10435
- function Fl() {
10436
- return this.each(Dl);
10538
+ function ql() {
10539
+ return this.each(Ll);
10437
10540
  }
10438
- function Rl(e) {
10439
- var o = typeof e == "function" ? e : yr(e);
10541
+ function Vl(e) {
10542
+ var o = typeof e == "function" ? e : vr(e);
10440
10543
  return this.select(function() {
10441
10544
  return this.appendChild(o.apply(this, arguments));
10442
10545
  });
10443
10546
  }
10444
- function Wl() {
10547
+ function Il() {
10445
10548
  return null;
10446
10549
  }
10447
- function El(e, o) {
10448
- var n = typeof e == "function" ? e : yr(e), r = o == null ? Wl : typeof o == "function" ? o : Uo(o);
10550
+ function Ul(e, o) {
10551
+ var n = typeof e == "function" ? e : vr(e), r = o == null ? Il : typeof o == "function" ? o : $o(o);
10449
10552
  return this.select(function() {
10450
10553
  return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
10451
10554
  });
10452
10555
  }
10453
- function Bl() {
10556
+ function $l() {
10454
10557
  var e = this.parentNode;
10455
10558
  e && e.removeChild(this);
10456
10559
  }
10457
- function Nl() {
10458
- return this.each(Bl);
10560
+ function Kl() {
10561
+ return this.each($l);
10459
10562
  }
10460
- function Pl() {
10563
+ function Ql() {
10461
10564
  var e = this.cloneNode(!1), o = this.parentNode;
10462
10565
  return o ? o.insertBefore(e, this.nextSibling) : e;
10463
10566
  }
10464
- function jl() {
10567
+ function Yl() {
10465
10568
  var e = this.cloneNode(!0), o = this.parentNode;
10466
10569
  return o ? o.insertBefore(e, this.nextSibling) : e;
10467
10570
  }
10468
- function Ll(e) {
10469
- return this.select(e ? jl : Pl);
10571
+ function Gl(e) {
10572
+ return this.select(e ? Yl : Ql);
10470
10573
  }
10471
- function ql(e) {
10574
+ function Xl(e) {
10472
10575
  return arguments.length ? this.property("__data__", e) : this.node().__data__;
10473
10576
  }
10474
- function Vl(e) {
10577
+ function Jl(e) {
10475
10578
  return function(o) {
10476
10579
  e.call(this, o, this.__data__);
10477
10580
  };
10478
10581
  }
10479
- function Il(e) {
10582
+ function Zl(e) {
10480
10583
  return e.trim().split(/^|\s+/).map(function(o) {
10481
10584
  var n = "", r = o.indexOf(".");
10482
10585
  return r >= 0 && (n = o.slice(r + 1), o = o.slice(0, r)), { type: o, name: n };
10483
10586
  });
10484
10587
  }
10485
- function Ul(e) {
10588
+ function ec(e) {
10486
10589
  return function() {
10487
10590
  var o = this.__on;
10488
10591
  if (o) {
@@ -10492,9 +10595,9 @@ function Ul(e) {
10492
10595
  }
10493
10596
  };
10494
10597
  }
10495
- function $l(e, o, n) {
10598
+ function oc(e, o, n) {
10496
10599
  return function() {
10497
- var r = this.__on, t, a = Vl(o);
10600
+ var r = this.__on, t, a = Jl(o);
10498
10601
  if (r) {
10499
10602
  for (var l = 0, c = r.length; l < c; ++l)
10500
10603
  if ((t = r[l]).type === e.type && t.name === e.name) {
@@ -10505,8 +10608,8 @@ function $l(e, o, n) {
10505
10608
  this.addEventListener(e.type, a, n), t = { type: e.type, name: e.name, value: o, listener: a, options: n }, r ? r.push(t) : this.__on = [t];
10506
10609
  };
10507
10610
  }
10508
- function Kl(e, o, n) {
10509
- var r = Il(e + ""), t, a = r.length, l;
10611
+ function nc(e, o, n) {
10612
+ var r = Zl(e + ""), t, a = r.length, l;
10510
10613
  if (arguments.length < 2) {
10511
10614
  var c = this.node().__on;
10512
10615
  if (c) {
@@ -10517,93 +10620,93 @@ function Kl(e, o, n) {
10517
10620
  }
10518
10621
  return;
10519
10622
  }
10520
- for (c = o ? $l : Ul, t = 0; t < a; ++t) this.each(c(r[t], o, n));
10623
+ for (c = o ? oc : ec, t = 0; t < a; ++t) this.each(c(r[t], o, n));
10521
10624
  return this;
10522
10625
  }
10523
- function Hr(e, o, n) {
10524
- var r = zr(e), t = r.CustomEvent;
10626
+ function Tr(e, o, n) {
10627
+ var r = _r(e), t = r.CustomEvent;
10525
10628
  typeof t == "function" ? t = new t(o, n) : (t = r.document.createEvent("Event"), n ? (t.initEvent(o, n.bubbles, n.cancelable), t.detail = n.detail) : t.initEvent(o, !1, !1)), e.dispatchEvent(t);
10526
10629
  }
10527
- function Ql(e, o) {
10630
+ function rc(e, o) {
10528
10631
  return function() {
10529
- return Hr(this, e, o);
10632
+ return Tr(this, e, o);
10530
10633
  };
10531
10634
  }
10532
- function Yl(e, o) {
10635
+ function tc(e, o) {
10533
10636
  return function() {
10534
- return Hr(this, e, o.apply(this, arguments));
10637
+ return Tr(this, e, o.apply(this, arguments));
10535
10638
  };
10536
10639
  }
10537
- function Gl(e, o) {
10538
- return this.each((typeof o == "function" ? Yl : Ql)(e, o));
10640
+ function ac(e, o) {
10641
+ return this.each((typeof o == "function" ? tc : rc)(e, o));
10539
10642
  }
10540
- function* Xl() {
10643
+ function* lc() {
10541
10644
  for (var e = this._groups, o = 0, n = e.length; o < n; ++o)
10542
10645
  for (var r = e[o], t = 0, a = r.length, l; t < a; ++t)
10543
10646
  (l = r[t]) && (yield l);
10544
10647
  }
10545
- var Or = [null];
10648
+ var Dr = [null];
10546
10649
  function A(e, o) {
10547
10650
  this._groups = e, this._parents = o;
10548
10651
  }
10549
10652
  function se() {
10550
- return new A([[document.documentElement]], Or);
10653
+ return new A([[document.documentElement]], Dr);
10551
10654
  }
10552
- function Jl() {
10655
+ function cc() {
10553
10656
  return this;
10554
10657
  }
10555
10658
  A.prototype = se.prototype = {
10556
10659
  constructor: A,
10557
- select: za,
10558
- selectAll: Ca,
10559
- selectChild: Da,
10560
- selectChildren: Ea,
10561
- filter: Ba,
10562
- data: Va,
10563
- enter: Na,
10564
- exit: Ua,
10565
- join: $a,
10566
- merge: Ka,
10567
- selection: Jl,
10568
- order: Qa,
10569
- sort: Ya,
10570
- call: Xa,
10571
- nodes: Ja,
10572
- node: Za,
10573
- size: el,
10574
- empty: ol,
10575
- each: nl,
10576
- attr: sl,
10577
- style: gl,
10578
- property: ml,
10579
- classed: vl,
10580
- text: Al,
10581
- html: Hl,
10582
- raise: Tl,
10583
- lower: Fl,
10584
- append: Rl,
10585
- insert: El,
10586
- remove: Nl,
10587
- clone: Ll,
10588
- datum: ql,
10589
- on: Kl,
10590
- dispatch: Gl,
10591
- [Symbol.iterator]: Xl
10660
+ select: Fa,
10661
+ selectAll: Ba,
10662
+ selectChild: La,
10663
+ selectChildren: Ua,
10664
+ filter: $a,
10665
+ data: Ja,
10666
+ enter: Ka,
10667
+ exit: el,
10668
+ join: ol,
10669
+ merge: nl,
10670
+ selection: cc,
10671
+ order: rl,
10672
+ sort: tl,
10673
+ call: ll,
10674
+ nodes: cl,
10675
+ node: il,
10676
+ size: sl,
10677
+ empty: ul,
10678
+ each: dl,
10679
+ attr: kl,
10680
+ style: Sl,
10681
+ property: _l,
10682
+ classed: Ol,
10683
+ text: Rl,
10684
+ html: Nl,
10685
+ raise: jl,
10686
+ lower: ql,
10687
+ append: Vl,
10688
+ insert: Ul,
10689
+ remove: Kl,
10690
+ clone: Gl,
10691
+ datum: Xl,
10692
+ on: nc,
10693
+ dispatch: ac,
10694
+ [Symbol.iterator]: lc
10592
10695
  };
10593
- function us(e) {
10594
- return typeof e == "string" ? new A([[document.querySelector(e)]], [document.documentElement]) : new A([[e]], Or);
10696
+ function vs(e) {
10697
+ return typeof e == "string" ? new A([[document.querySelector(e)]], [document.documentElement]) : new A([[e]], Dr);
10595
10698
  }
10596
- function Ko(e, o, n) {
10699
+ function Qo(e, o, n) {
10597
10700
  e.prototype = o.prototype = n, n.constructor = e;
10598
10701
  }
10599
- function Tr(e, o) {
10702
+ function Fr(e, o) {
10600
10703
  var n = Object.create(e.prototype);
10601
10704
  for (var r in o) n[r] = o[r];
10602
10705
  return n;
10603
10706
  }
10604
10707
  function ue() {
10605
10708
  }
10606
- var re = 0.7, we = 1 / re, Y = "\\s*([+-]?\\d+)\\s*", te = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", F = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Zl = /^#([0-9a-f]{3,8})$/, ec = new RegExp(`^rgb\\(${Y},${Y},${Y}\\)$`), oc = new RegExp(`^rgb\\(${F},${F},${F}\\)$`), nc = new RegExp(`^rgba\\(${Y},${Y},${Y},${te}\\)$`), rc = new RegExp(`^rgba\\(${F},${F},${F},${te}\\)$`), tc = new RegExp(`^hsl\\(${te},${F},${F}\\)$`), ac = new RegExp(`^hsla\\(${te},${F},${F},${te}\\)$`), Yn = {
10709
+ var re = 0.7, we = 1 / re, Y = "\\s*([+-]?\\d+)\\s*", te = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", R = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", ic = /^#([0-9a-f]{3,8})$/, sc = new RegExp(`^rgb\\(${Y},${Y},${Y}\\)$`), uc = new RegExp(`^rgb\\(${R},${R},${R}\\)$`), dc = new RegExp(`^rgba\\(${Y},${Y},${Y},${te}\\)$`), fc = new RegExp(`^rgba\\(${R},${R},${R},${te}\\)$`), gc = new RegExp(`^hsl\\(${te},${R},${R}\\)$`), hc = new RegExp(`^hsla\\(${te},${R},${R},${te}\\)$`), Xn = {
10607
10710
  aliceblue: 15792383,
10608
10711
  antiquewhite: 16444375,
10609
10712
  aqua: 65535,
@@ -10753,53 +10856,53 @@ var re = 0.7, we = 1 / re, Y = "\\s*([+-]?\\d+)\\s*", te = "\\s*([+-]?(?:\\d*\\.
10753
10856
  yellow: 16776960,
10754
10857
  yellowgreen: 10145074
10755
10858
  };
10756
- Ko(ue, ae, {
10859
+ Qo(ue, ae, {
10757
10860
  copy(e) {
10758
10861
  return Object.assign(new this.constructor(), this, e);
10759
10862
  },
10760
10863
  displayable() {
10761
10864
  return this.rgb().displayable();
10762
10865
  },
10763
- hex: Gn,
10866
+ hex: Jn,
10764
10867
  // Deprecated! Use color.formatHex.
10765
- formatHex: Gn,
10766
- formatHex8: lc,
10767
- formatHsl: cc,
10768
- formatRgb: Xn,
10769
- toString: Xn
10868
+ formatHex: Jn,
10869
+ formatHex8: bc,
10870
+ formatHsl: pc,
10871
+ formatRgb: Zn,
10872
+ toString: Zn
10770
10873
  });
10771
- function Gn() {
10874
+ function Jn() {
10772
10875
  return this.rgb().formatHex();
10773
10876
  }
10774
- function lc() {
10877
+ function bc() {
10775
10878
  return this.rgb().formatHex8();
10776
10879
  }
10777
- function cc() {
10778
- return Dr(this).formatHsl();
10880
+ function pc() {
10881
+ return Rr(this).formatHsl();
10779
10882
  }
10780
- function Xn() {
10883
+ function Zn() {
10781
10884
  return this.rgb().formatRgb();
10782
10885
  }
10783
10886
  function ae(e) {
10784
10887
  var o, n;
10785
- return e = (e + "").trim().toLowerCase(), (o = Zl.exec(e)) ? (n = o[1].length, o = parseInt(o[1], 16), n === 6 ? Jn(o) : n === 3 ? new x(o >> 8 & 15 | o >> 4 & 240, o >> 4 & 15 | o & 240, (o & 15) << 4 | o & 15, 1) : n === 8 ? fe(o >> 24 & 255, o >> 16 & 255, o >> 8 & 255, (o & 255) / 255) : n === 4 ? fe(o >> 12 & 15 | o >> 8 & 240, o >> 8 & 15 | o >> 4 & 240, o >> 4 & 15 | o & 240, ((o & 15) << 4 | o & 15) / 255) : null) : (o = ec.exec(e)) ? new x(o[1], o[2], o[3], 1) : (o = oc.exec(e)) ? new x(o[1] * 255 / 100, o[2] * 255 / 100, o[3] * 255 / 100, 1) : (o = nc.exec(e)) ? fe(o[1], o[2], o[3], o[4]) : (o = rc.exec(e)) ? fe(o[1] * 255 / 100, o[2] * 255 / 100, o[3] * 255 / 100, o[4]) : (o = tc.exec(e)) ? or(o[1], o[2] / 100, o[3] / 100, 1) : (o = ac.exec(e)) ? or(o[1], o[2] / 100, o[3] / 100, o[4]) : Yn.hasOwnProperty(e) ? Jn(Yn[e]) : e === "transparent" ? new x(NaN, NaN, NaN, 0) : null;
10888
+ return e = (e + "").trim().toLowerCase(), (o = ic.exec(e)) ? (n = o[1].length, o = parseInt(o[1], 16), n === 6 ? er(o) : n === 3 ? new x(o >> 8 & 15 | o >> 4 & 240, o >> 4 & 15 | o & 240, (o & 15) << 4 | o & 15, 1) : n === 8 ? fe(o >> 24 & 255, o >> 16 & 255, o >> 8 & 255, (o & 255) / 255) : n === 4 ? fe(o >> 12 & 15 | o >> 8 & 240, o >> 8 & 15 | o >> 4 & 240, o >> 4 & 15 | o & 240, ((o & 15) << 4 | o & 15) / 255) : null) : (o = sc.exec(e)) ? new x(o[1], o[2], o[3], 1) : (o = uc.exec(e)) ? new x(o[1] * 255 / 100, o[2] * 255 / 100, o[3] * 255 / 100, 1) : (o = dc.exec(e)) ? fe(o[1], o[2], o[3], o[4]) : (o = fc.exec(e)) ? fe(o[1] * 255 / 100, o[2] * 255 / 100, o[3] * 255 / 100, o[4]) : (o = gc.exec(e)) ? rr(o[1], o[2] / 100, o[3] / 100, 1) : (o = hc.exec(e)) ? rr(o[1], o[2] / 100, o[3] / 100, o[4]) : Xn.hasOwnProperty(e) ? er(Xn[e]) : e === "transparent" ? new x(NaN, NaN, NaN, 0) : null;
10786
10889
  }
10787
- function Jn(e) {
10890
+ function er(e) {
10788
10891
  return new x(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
10789
10892
  }
10790
10893
  function fe(e, o, n, r) {
10791
10894
  return r <= 0 && (e = o = n = NaN), new x(e, o, n, r);
10792
10895
  }
10793
- function ic(e) {
10896
+ function mc(e) {
10794
10897
  return e instanceof ue || (e = ae(e)), e ? (e = e.rgb(), new x(e.r, e.g, e.b, e.opacity)) : new x();
10795
10898
  }
10796
- function Fo(e, o, n, r) {
10797
- return arguments.length === 1 ? ic(e) : new x(e, o, n, r ?? 1);
10899
+ function Ro(e, o, n, r) {
10900
+ return arguments.length === 1 ? mc(e) : new x(e, o, n, r ?? 1);
10798
10901
  }
10799
10902
  function x(e, o, n, r) {
10800
10903
  this.r = +e, this.g = +o, this.b = +n, this.opacity = +r;
10801
10904
  }
10802
- Ko(x, Fo, Tr(ue, {
10905
+ Qo(x, Ro, Fr(ue, {
10803
10906
  brighter(e) {
10804
10907
  return e = e == null ? we : Math.pow(we, e), new x(this.r * e, this.g * e, this.b * e, this.opacity);
10805
10908
  },
@@ -10810,41 +10913,41 @@ Ko(x, Fo, Tr(ue, {
10810
10913
  return this;
10811
10914
  },
10812
10915
  clamp() {
10813
- return new x(q(this.r), q(this.g), q(this.b), ve(this.opacity));
10916
+ return new x(V(this.r), V(this.g), V(this.b), ve(this.opacity));
10814
10917
  },
10815
10918
  displayable() {
10816
10919
  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;
10817
10920
  },
10818
- hex: Zn,
10921
+ hex: or,
10819
10922
  // Deprecated! Use color.formatHex.
10820
- formatHex: Zn,
10821
- formatHex8: sc,
10822
- formatRgb: er,
10823
- toString: er
10923
+ formatHex: or,
10924
+ formatHex8: kc,
10925
+ formatRgb: nr,
10926
+ toString: nr
10824
10927
  }));
10825
- function Zn() {
10928
+ function or() {
10826
10929
  return `#${L(this.r)}${L(this.g)}${L(this.b)}`;
10827
10930
  }
10828
- function sc() {
10931
+ function kc() {
10829
10932
  return `#${L(this.r)}${L(this.g)}${L(this.b)}${L((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
10830
10933
  }
10831
- function er() {
10934
+ function nr() {
10832
10935
  const e = ve(this.opacity);
10833
- return `${e === 1 ? "rgb(" : "rgba("}${q(this.r)}, ${q(this.g)}, ${q(this.b)}${e === 1 ? ")" : `, ${e})`}`;
10936
+ return `${e === 1 ? "rgb(" : "rgba("}${V(this.r)}, ${V(this.g)}, ${V(this.b)}${e === 1 ? ")" : `, ${e})`}`;
10834
10937
  }
10835
10938
  function ve(e) {
10836
10939
  return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
10837
10940
  }
10838
- function q(e) {
10941
+ function V(e) {
10839
10942
  return Math.max(0, Math.min(255, Math.round(e) || 0));
10840
10943
  }
10841
10944
  function L(e) {
10842
- return e = q(e), (e < 16 ? "0" : "") + e.toString(16);
10945
+ return e = V(e), (e < 16 ? "0" : "") + e.toString(16);
10843
10946
  }
10844
- function or(e, o, n, r) {
10947
+ function rr(e, o, n, r) {
10845
10948
  return r <= 0 ? e = o = n = NaN : n <= 0 || n >= 1 ? e = o = NaN : o <= 0 && (e = NaN), new H(e, o, n, r);
10846
10949
  }
10847
- function Dr(e) {
10950
+ function Rr(e) {
10848
10951
  if (e instanceof H) return new H(e.h, e.s, e.l, e.opacity);
10849
10952
  if (e instanceof ue || (e = ae(e)), !e) return new H();
10850
10953
  if (e instanceof H) return e;
@@ -10852,13 +10955,13 @@ function Dr(e) {
10852
10955
  var o = e.r / 255, n = e.g / 255, r = e.b / 255, t = Math.min(o, n, r), a = Math.max(o, n, r), l = NaN, c = a - t, i = (a + t) / 2;
10853
10956
  return c ? (o === a ? l = (n - r) / c + (n < r) * 6 : n === a ? l = (r - o) / c + 2 : l = (o - n) / c + 4, c /= i < 0.5 ? a + t : 2 - a - t, l *= 60) : c = i > 0 && i < 1 ? 0 : l, new H(l, c, i, e.opacity);
10854
10957
  }
10855
- function uc(e, o, n, r) {
10856
- return arguments.length === 1 ? Dr(e) : new H(e, o, n, r ?? 1);
10958
+ function yc(e, o, n, r) {
10959
+ return arguments.length === 1 ? Rr(e) : new H(e, o, n, r ?? 1);
10857
10960
  }
10858
10961
  function H(e, o, n, r) {
10859
10962
  this.h = +e, this.s = +o, this.l = +n, this.opacity = +r;
10860
10963
  }
10861
- Ko(H, uc, Tr(ue, {
10964
+ Qo(H, yc, Fr(ue, {
10862
10965
  brighter(e) {
10863
10966
  return e = e == null ? we : Math.pow(we, e), new H(this.h, this.s, this.l * e, this.opacity);
10864
10967
  },
@@ -10868,92 +10971,92 @@ Ko(H, uc, Tr(ue, {
10868
10971
  rgb() {
10869
10972
  var e = this.h % 360 + (this.h < 0) * 360, o = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < 0.5 ? n : 1 - n) * o, t = 2 * n - r;
10870
10973
  return new x(
10871
- Co(e >= 240 ? e - 240 : e + 120, t, r),
10872
- Co(e, t, r),
10873
- Co(e < 120 ? e + 240 : e - 120, t, r),
10974
+ Ho(e >= 240 ? e - 240 : e + 120, t, r),
10975
+ Ho(e, t, r),
10976
+ Ho(e < 120 ? e + 240 : e - 120, t, r),
10874
10977
  this.opacity
10875
10978
  );
10876
10979
  },
10877
10980
  clamp() {
10878
- return new H(nr(this.h), ge(this.s), ge(this.l), ve(this.opacity));
10981
+ return new H(tr(this.h), ge(this.s), ge(this.l), ve(this.opacity));
10879
10982
  },
10880
10983
  displayable() {
10881
10984
  return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
10882
10985
  },
10883
10986
  formatHsl() {
10884
10987
  const e = ve(this.opacity);
10885
- return `${e === 1 ? "hsl(" : "hsla("}${nr(this.h)}, ${ge(this.s) * 100}%, ${ge(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
10988
+ return `${e === 1 ? "hsl(" : "hsla("}${tr(this.h)}, ${ge(this.s) * 100}%, ${ge(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
10886
10989
  }
10887
10990
  }));
10888
- function nr(e) {
10991
+ function tr(e) {
10889
10992
  return e = (e || 0) % 360, e < 0 ? e + 360 : e;
10890
10993
  }
10891
10994
  function ge(e) {
10892
10995
  return Math.max(0, Math.min(1, e || 0));
10893
10996
  }
10894
- function Co(e, o, n) {
10997
+ function Ho(e, o, n) {
10895
10998
  return (e < 60 ? o + (n - o) * e / 60 : e < 180 ? n : e < 240 ? o + (n - o) * (240 - e) / 60 : o) * 255;
10896
10999
  }
10897
- const Qo = (e) => () => e;
10898
- function Fr(e, o) {
11000
+ const Yo = (e) => () => e;
11001
+ function Wr(e, o) {
10899
11002
  return function(n) {
10900
11003
  return e + n * o;
10901
11004
  };
10902
11005
  }
10903
- function dc(e, o, n) {
11006
+ function wc(e, o, n) {
10904
11007
  return e = Math.pow(e, n), o = Math.pow(o, n) - e, n = 1 / n, function(r) {
10905
11008
  return Math.pow(e + r * o, n);
10906
11009
  };
10907
11010
  }
10908
- function ds(e, o) {
11011
+ function Ss(e, o) {
10909
11012
  var n = o - e;
10910
- return n ? Fr(e, n > 180 || n < -180 ? n - 360 * Math.round(n / 360) : n) : Qo(isNaN(e) ? o : e);
11013
+ return n ? Wr(e, n > 180 || n < -180 ? n - 360 * Math.round(n / 360) : n) : Yo(isNaN(e) ? o : e);
10911
11014
  }
10912
- function fc(e) {
10913
- return (e = +e) == 1 ? Rr : function(o, n) {
10914
- return n - o ? dc(o, n, e) : Qo(isNaN(o) ? n : o);
11015
+ function vc(e) {
11016
+ return (e = +e) == 1 ? Er : function(o, n) {
11017
+ return n - o ? wc(o, n, e) : Yo(isNaN(o) ? n : o);
10915
11018
  };
10916
11019
  }
10917
- function Rr(e, o) {
11020
+ function Er(e, o) {
10918
11021
  var n = o - e;
10919
- return n ? Fr(e, n) : Qo(isNaN(e) ? o : e);
11022
+ return n ? Wr(e, n) : Yo(isNaN(e) ? o : e);
10920
11023
  }
10921
- const rr = function e(o) {
10922
- var n = fc(o);
11024
+ const ar = function e(o) {
11025
+ var n = vc(o);
10923
11026
  function r(t, a) {
10924
- var l = n((t = Fo(t)).r, (a = Fo(a)).r), c = n(t.g, a.g), i = n(t.b, a.b), u = Rr(t.opacity, a.opacity);
11027
+ var l = n((t = Ro(t)).r, (a = Ro(a)).r), c = n(t.g, a.g), i = n(t.b, a.b), u = Er(t.opacity, a.opacity);
10925
11028
  return function(s) {
10926
11029
  return t.r = l(s), t.g = c(s), t.b = i(s), t.opacity = u(s), t + "";
10927
11030
  };
10928
11031
  }
10929
11032
  return r.gamma = e, r;
10930
11033
  }(1);
10931
- function N(e, o) {
11034
+ function P(e, o) {
10932
11035
  return e = +e, o = +o, function(n) {
10933
11036
  return e * (1 - n) + o * n;
10934
11037
  };
10935
11038
  }
10936
- var Ro = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Ho = new RegExp(Ro.source, "g");
10937
- function gc(e) {
11039
+ var Wo = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Oo = new RegExp(Wo.source, "g");
11040
+ function Sc(e) {
10938
11041
  return function() {
10939
11042
  return e;
10940
11043
  };
10941
11044
  }
10942
- function bc(e) {
11045
+ function xc(e) {
10943
11046
  return function(o) {
10944
11047
  return e(o) + "";
10945
11048
  };
10946
11049
  }
10947
- function hc(e, o) {
10948
- var n = Ro.lastIndex = Ho.lastIndex = 0, r, t, a, l = -1, c = [], i = [];
10949
- for (e = e + "", o = o + ""; (r = Ro.exec(e)) && (t = Ho.exec(o)); )
10950
- (a = t.index) > n && (a = o.slice(n, a), c[l] ? c[l] += a : c[++l] = a), (r = r[0]) === (t = t[0]) ? c[l] ? c[l] += t : c[++l] = t : (c[++l] = null, i.push({ i: l, x: N(r, t) })), n = Ho.lastIndex;
10951
- return n < o.length && (a = o.slice(n), c[l] ? c[l] += a : c[++l] = a), c.length < 2 ? i[0] ? bc(i[0].x) : gc(o) : (o = i.length, function(u) {
11050
+ function zc(e, o) {
11051
+ var n = Wo.lastIndex = Oo.lastIndex = 0, r, t, a, l = -1, c = [], i = [];
11052
+ for (e = e + "", o = o + ""; (r = Wo.exec(e)) && (t = Oo.exec(o)); )
11053
+ (a = t.index) > n && (a = o.slice(n, a), c[l] ? c[l] += a : c[++l] = a), (r = r[0]) === (t = t[0]) ? c[l] ? c[l] += t : c[++l] = t : (c[++l] = null, i.push({ i: l, x: P(r, t) })), n = Oo.lastIndex;
11054
+ return n < o.length && (a = o.slice(n), c[l] ? c[l] += a : c[++l] = a), c.length < 2 ? i[0] ? xc(i[0].x) : Sc(o) : (o = i.length, function(u) {
10952
11055
  for (var s = 0, d; s < o; ++s) c[(d = i[s]).i] = d.x(u);
10953
11056
  return c.join("");
10954
11057
  });
10955
11058
  }
10956
- var tr = 180 / Math.PI, Wo = {
11059
+ var lr = 180 / Math.PI, Eo = {
10957
11060
  translateX: 0,
10958
11061
  translateY: 0,
10959
11062
  rotate: 0,
@@ -10961,45 +11064,45 @@ var tr = 180 / Math.PI, Wo = {
10961
11064
  scaleX: 1,
10962
11065
  scaleY: 1
10963
11066
  };
10964
- function Wr(e, o, n, r, t, a) {
11067
+ function Br(e, o, n, r, t, a) {
10965
11068
  var l, c, i;
10966
11069
  return (l = Math.sqrt(e * e + o * o)) && (e /= l, o /= l), (i = e * n + o * r) && (n -= e * i, r -= o * i), (c = Math.sqrt(n * n + r * r)) && (n /= c, r /= c, i /= c), e * r < o * n && (e = -e, o = -o, i = -i, l = -l), {
10967
11070
  translateX: t,
10968
11071
  translateY: a,
10969
- rotate: Math.atan2(o, e) * tr,
10970
- skewX: Math.atan(i) * tr,
11072
+ rotate: Math.atan2(o, e) * lr,
11073
+ skewX: Math.atan(i) * lr,
10971
11074
  scaleX: l,
10972
11075
  scaleY: c
10973
11076
  };
10974
11077
  }
10975
- var be;
10976
- function pc(e) {
11078
+ var he;
11079
+ function Ac(e) {
10977
11080
  const o = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
10978
- return o.isIdentity ? Wo : Wr(o.a, o.b, o.c, o.d, o.e, o.f);
11081
+ return o.isIdentity ? Eo : Br(o.a, o.b, o.c, o.d, o.e, o.f);
10979
11082
  }
10980
- function mc(e) {
10981
- return e == null || (be || (be = document.createElementNS("http://www.w3.org/2000/svg", "g")), be.setAttribute("transform", e), !(e = be.transform.baseVal.consolidate())) ? Wo : (e = e.matrix, Wr(e.a, e.b, e.c, e.d, e.e, e.f));
11083
+ function _c(e) {
11084
+ return e == null || (he || (he = document.createElementNS("http://www.w3.org/2000/svg", "g")), he.setAttribute("transform", e), !(e = he.transform.baseVal.consolidate())) ? Eo : (e = e.matrix, Br(e.a, e.b, e.c, e.d, e.e, e.f));
10982
11085
  }
10983
- function Er(e, o, n, r) {
11086
+ function Nr(e, o, n, r) {
10984
11087
  function t(u) {
10985
11088
  return u.length ? u.pop() + " " : "";
10986
11089
  }
10987
11090
  function a(u, s, d, f, g, p) {
10988
11091
  if (u !== d || s !== f) {
10989
11092
  var k = g.push("translate(", null, o, null, n);
10990
- p.push({ i: k - 4, x: N(u, d) }, { i: k - 2, x: N(s, f) });
11093
+ p.push({ i: k - 4, x: P(u, d) }, { i: k - 2, x: P(s, f) });
10991
11094
  } else (d || f) && g.push("translate(" + d + o + f + n);
10992
11095
  }
10993
11096
  function l(u, s, d, f) {
10994
- u !== s ? (u - s > 180 ? s += 360 : s - u > 180 && (u += 360), f.push({ i: d.push(t(d) + "rotate(", null, r) - 2, x: N(u, s) })) : s && d.push(t(d) + "rotate(" + s + r);
11097
+ u !== s ? (u - s > 180 ? s += 360 : s - u > 180 && (u += 360), f.push({ i: d.push(t(d) + "rotate(", null, r) - 2, x: P(u, s) })) : s && d.push(t(d) + "rotate(" + s + r);
10995
11098
  }
10996
11099
  function c(u, s, d, f) {
10997
- u !== s ? f.push({ i: d.push(t(d) + "skewX(", null, r) - 2, x: N(u, s) }) : s && d.push(t(d) + "skewX(" + s + r);
11100
+ u !== s ? f.push({ i: d.push(t(d) + "skewX(", null, r) - 2, x: P(u, s) }) : s && d.push(t(d) + "skewX(" + s + r);
10998
11101
  }
10999
11102
  function i(u, s, d, f, g, p) {
11000
11103
  if (u !== d || s !== f) {
11001
11104
  var k = g.push(t(g) + "scale(", null, ",", null, ")");
11002
- p.push({ i: k - 4, x: N(u, d) }, { i: k - 2, x: N(s, f) });
11105
+ p.push({ i: k - 4, x: P(u, d) }, { i: k - 2, x: P(s, f) });
11003
11106
  } else (d !== 1 || f !== 1) && g.push(t(g) + "scale(" + d + "," + f + ")");
11004
11107
  }
11005
11108
  return function(u, s) {
@@ -11010,130 +11113,130 @@ function Er(e, o, n, r) {
11010
11113
  };
11011
11114
  };
11012
11115
  }
11013
- var kc = Er(pc, "px, ", "px)", "deg)"), yc = Er(mc, ", ", ")", ")"), X = 0, oe = 0, Z = 0, Br = 1e3, Se, ne, xe = 0, V = 0, He = 0, le = typeof performance == "object" && performance.now ? performance : Date, Nr = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
11116
+ var Mc = Nr(Ac, "px, ", "px)", "deg)"), Cc = Nr(_c, ", ", ")", ")"), X = 0, oe = 0, Z = 0, Pr = 1e3, Se, ne, xe = 0, I = 0, He = 0, le = typeof performance == "object" && performance.now ? performance : Date, jr = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
11014
11117
  setTimeout(e, 17);
11015
11118
  };
11016
- function Yo() {
11017
- return V || (Nr(wc), V = le.now() + He);
11119
+ function Go() {
11120
+ return I || (jr(Hc), I = le.now() + He);
11018
11121
  }
11019
- function wc() {
11020
- V = 0;
11122
+ function Hc() {
11123
+ I = 0;
11021
11124
  }
11022
11125
  function ze() {
11023
11126
  this._call = this._time = this._next = null;
11024
11127
  }
11025
- ze.prototype = Pr.prototype = {
11128
+ ze.prototype = Lr.prototype = {
11026
11129
  constructor: ze,
11027
11130
  restart: function(e, o, n) {
11028
11131
  if (typeof e != "function") throw new TypeError("callback is not a function");
11029
- n = (n == null ? Yo() : +n) + (o == null ? 0 : +o), !this._next && ne !== this && (ne ? ne._next = this : Se = this, ne = this), this._call = e, this._time = n, Eo();
11132
+ n = (n == null ? Go() : +n) + (o == null ? 0 : +o), !this._next && ne !== this && (ne ? ne._next = this : Se = this, ne = this), this._call = e, this._time = n, Bo();
11030
11133
  },
11031
11134
  stop: function() {
11032
- this._call && (this._call = null, this._time = 1 / 0, Eo());
11135
+ this._call && (this._call = null, this._time = 1 / 0, Bo());
11033
11136
  }
11034
11137
  };
11035
- function Pr(e, o, n) {
11138
+ function Lr(e, o, n) {
11036
11139
  var r = new ze();
11037
11140
  return r.restart(e, o, n), r;
11038
11141
  }
11039
- function vc() {
11040
- Yo(), ++X;
11142
+ function Oc() {
11143
+ Go(), ++X;
11041
11144
  for (var e = Se, o; e; )
11042
- (o = V - e._time) >= 0 && e._call.call(void 0, o), e = e._next;
11145
+ (o = I - e._time) >= 0 && e._call.call(void 0, o), e = e._next;
11043
11146
  --X;
11044
11147
  }
11045
- function ar() {
11046
- V = (xe = le.now()) + He, X = oe = 0;
11148
+ function cr() {
11149
+ I = (xe = le.now()) + He, X = oe = 0;
11047
11150
  try {
11048
- vc();
11151
+ Oc();
11049
11152
  } finally {
11050
- X = 0, xc(), V = 0;
11153
+ X = 0, Dc(), I = 0;
11051
11154
  }
11052
11155
  }
11053
- function Sc() {
11156
+ function Tc() {
11054
11157
  var e = le.now(), o = e - xe;
11055
- o > Br && (He -= o, xe = e);
11158
+ o > Pr && (He -= o, xe = e);
11056
11159
  }
11057
- function xc() {
11160
+ function Dc() {
11058
11161
  for (var e, o = Se, n, r = 1 / 0; o; )
11059
11162
  o._call ? (r > o._time && (r = o._time), e = o, o = o._next) : (n = o._next, o._next = null, o = e ? e._next = n : Se = n);
11060
- ne = e, Eo(r);
11163
+ ne = e, Bo(r);
11061
11164
  }
11062
- function Eo(e) {
11165
+ function Bo(e) {
11063
11166
  if (!X) {
11064
11167
  oe && (oe = clearTimeout(oe));
11065
- var o = e - V;
11066
- o > 24 ? (e < 1 / 0 && (oe = setTimeout(ar, e - le.now() - He)), Z && (Z = clearInterval(Z))) : (Z || (xe = le.now(), Z = setInterval(Sc, Br)), X = 1, Nr(ar));
11168
+ var o = e - I;
11169
+ o > 24 ? (e < 1 / 0 && (oe = setTimeout(cr, e - le.now() - He)), Z && (Z = clearInterval(Z))) : (Z || (xe = le.now(), Z = setInterval(Tc, Pr)), X = 1, jr(cr));
11067
11170
  }
11068
11171
  }
11069
- function lr(e, o, n) {
11172
+ function ir(e, o, n) {
11070
11173
  var r = new ze();
11071
11174
  return o = o == null ? 0 : +o, r.restart((t) => {
11072
11175
  r.stop(), e(t + o);
11073
11176
  }, o, n), r;
11074
11177
  }
11075
- var zc = kr("start", "end", "cancel", "interrupt"), Ac = [], jr = 0, cr = 1, Bo = 2, me = 3, ir = 4, No = 5, ke = 6;
11178
+ var Fc = wr("start", "end", "cancel", "interrupt"), Rc = [], qr = 0, sr = 1, No = 2, me = 3, ur = 4, Po = 5, ke = 6;
11076
11179
  function Oe(e, o, n, r, t, a) {
11077
11180
  var l = e.__transition;
11078
11181
  if (!l) e.__transition = {};
11079
11182
  else if (n in l) return;
11080
- _c(e, n, {
11183
+ Wc(e, n, {
11081
11184
  name: o,
11082
11185
  index: r,
11083
11186
  // For context during callback.
11084
11187
  group: t,
11085
11188
  // For context during callback.
11086
- on: zc,
11087
- tween: Ac,
11189
+ on: Fc,
11190
+ tween: Rc,
11088
11191
  time: a.time,
11089
11192
  delay: a.delay,
11090
11193
  duration: a.duration,
11091
11194
  ease: a.ease,
11092
11195
  timer: null,
11093
- state: jr
11196
+ state: qr
11094
11197
  });
11095
11198
  }
11096
- function Go(e, o) {
11097
- var n = O(e, o);
11098
- if (n.state > jr) throw new Error("too late; already scheduled");
11199
+ function Xo(e, o) {
11200
+ var n = T(e, o);
11201
+ if (n.state > qr) throw new Error("too late; already scheduled");
11099
11202
  return n;
11100
11203
  }
11101
- function R(e, o) {
11102
- var n = O(e, o);
11204
+ function W(e, o) {
11205
+ var n = T(e, o);
11103
11206
  if (n.state > me) throw new Error("too late; already running");
11104
11207
  return n;
11105
11208
  }
11106
- function O(e, o) {
11209
+ function T(e, o) {
11107
11210
  var n = e.__transition;
11108
11211
  if (!n || !(n = n[o])) throw new Error("transition not found");
11109
11212
  return n;
11110
11213
  }
11111
- function _c(e, o, n) {
11214
+ function Wc(e, o, n) {
11112
11215
  var r = e.__transition, t;
11113
- r[o] = n, n.timer = Pr(a, 0, n.time);
11216
+ r[o] = n, n.timer = Lr(a, 0, n.time);
11114
11217
  function a(u) {
11115
- n.state = cr, n.timer.restart(l, n.delay, n.time), n.delay <= u && l(u - n.delay);
11218
+ n.state = sr, n.timer.restart(l, n.delay, n.time), n.delay <= u && l(u - n.delay);
11116
11219
  }
11117
11220
  function l(u) {
11118
11221
  var s, d, f, g;
11119
- if (n.state !== cr) return i();
11222
+ if (n.state !== sr) return i();
11120
11223
  for (s in r)
11121
11224
  if (g = r[s], g.name === n.name) {
11122
- if (g.state === me) return lr(l);
11123
- g.state === ir ? (g.state = ke, g.timer.stop(), g.on.call("interrupt", e, e.__data__, g.index, g.group), delete r[s]) : +s < o && (g.state = ke, g.timer.stop(), g.on.call("cancel", e, e.__data__, g.index, g.group), delete r[s]);
11225
+ if (g.state === me) return ir(l);
11226
+ g.state === ur ? (g.state = ke, g.timer.stop(), g.on.call("interrupt", e, e.__data__, g.index, g.group), delete r[s]) : +s < o && (g.state = ke, g.timer.stop(), g.on.call("cancel", e, e.__data__, g.index, g.group), delete r[s]);
11124
11227
  }
11125
- if (lr(function() {
11126
- n.state === me && (n.state = ir, n.timer.restart(c, n.delay, n.time), c(u));
11127
- }), n.state = Bo, n.on.call("start", e, e.__data__, n.index, n.group), n.state === Bo) {
11228
+ if (ir(function() {
11229
+ n.state === me && (n.state = ur, n.timer.restart(c, n.delay, n.time), c(u));
11230
+ }), n.state = No, n.on.call("start", e, e.__data__, n.index, n.group), n.state === No) {
11128
11231
  for (n.state = me, t = new Array(f = n.tween.length), s = 0, d = -1; s < f; ++s)
11129
11232
  (g = n.tween[s].value.call(e, e.__data__, n.index, n.group)) && (t[++d] = g);
11130
11233
  t.length = d + 1;
11131
11234
  }
11132
11235
  }
11133
11236
  function c(u) {
11134
- for (var s = u < n.duration ? n.ease.call(null, u / n.duration) : (n.timer.restart(i), n.state = No, 1), d = -1, f = t.length; ++d < f; )
11237
+ for (var s = u < n.duration ? n.ease.call(null, u / n.duration) : (n.timer.restart(i), n.state = Po, 1), d = -1, f = t.length; ++d < f; )
11135
11238
  t[d].call(e, s);
11136
- n.state === No && (n.on.call("end", e, e.__data__, n.index, n.group), i());
11239
+ n.state === Po && (n.on.call("end", e, e.__data__, n.index, n.group), i());
11137
11240
  }
11138
11241
  function i() {
11139
11242
  n.state = ke, n.timer.stop(), delete r[o];
@@ -11141,7 +11244,7 @@ function _c(e, o, n) {
11141
11244
  delete e.__transition;
11142
11245
  }
11143
11246
  }
11144
- function Mc(e, o) {
11247
+ function Ec(e, o) {
11145
11248
  var n = e.__transition, r, t, a = !0, l;
11146
11249
  if (n) {
11147
11250
  o = o == null ? null : o + "";
@@ -11150,20 +11253,20 @@ function Mc(e, o) {
11150
11253
  a = !1;
11151
11254
  continue;
11152
11255
  }
11153
- t = r.state > Bo && r.state < No, r.state = ke, r.timer.stop(), r.on.call(t ? "interrupt" : "cancel", e, e.__data__, r.index, r.group), delete n[l];
11256
+ t = r.state > No && r.state < Po, r.state = ke, r.timer.stop(), r.on.call(t ? "interrupt" : "cancel", e, e.__data__, r.index, r.group), delete n[l];
11154
11257
  }
11155
11258
  a && delete e.__transition;
11156
11259
  }
11157
11260
  }
11158
- function Cc(e) {
11261
+ function Bc(e) {
11159
11262
  return this.each(function() {
11160
- Mc(this, e);
11263
+ Ec(this, e);
11161
11264
  });
11162
11265
  }
11163
- function Hc(e, o) {
11266
+ function Nc(e, o) {
11164
11267
  var n, r;
11165
11268
  return function() {
11166
- var t = R(this, e), a = t.tween;
11269
+ var t = W(this, e), a = t.tween;
11167
11270
  if (a !== n) {
11168
11271
  r = n = a;
11169
11272
  for (var l = 0, c = r.length; l < c; ++l)
@@ -11175,11 +11278,11 @@ function Hc(e, o) {
11175
11278
  t.tween = r;
11176
11279
  };
11177
11280
  }
11178
- function Oc(e, o, n) {
11281
+ function Pc(e, o, n) {
11179
11282
  var r, t;
11180
11283
  if (typeof n != "function") throw new Error();
11181
11284
  return function() {
11182
- var a = R(this, e), l = a.tween;
11285
+ var a = W(this, e), l = a.tween;
11183
11286
  if (l !== r) {
11184
11287
  t = (r = l).slice();
11185
11288
  for (var c = { name: o, value: n }, i = 0, u = t.length; i < u; ++i)
@@ -11192,317 +11295,317 @@ function Oc(e, o, n) {
11192
11295
  a.tween = t;
11193
11296
  };
11194
11297
  }
11195
- function Tc(e, o) {
11298
+ function jc(e, o) {
11196
11299
  var n = this._id;
11197
11300
  if (e += "", arguments.length < 2) {
11198
- for (var r = O(this.node(), n).tween, t = 0, a = r.length, l; t < a; ++t)
11301
+ for (var r = T(this.node(), n).tween, t = 0, a = r.length, l; t < a; ++t)
11199
11302
  if ((l = r[t]).name === e)
11200
11303
  return l.value;
11201
11304
  return null;
11202
11305
  }
11203
- return this.each((o == null ? Hc : Oc)(n, e, o));
11306
+ return this.each((o == null ? Nc : Pc)(n, e, o));
11204
11307
  }
11205
- function Xo(e, o, n) {
11308
+ function Jo(e, o, n) {
11206
11309
  var r = e._id;
11207
11310
  return e.each(function() {
11208
- var t = R(this, r);
11311
+ var t = W(this, r);
11209
11312
  (t.value || (t.value = {}))[o] = n.apply(this, arguments);
11210
11313
  }), function(t) {
11211
- return O(t, r).value[o];
11314
+ return T(t, r).value[o];
11212
11315
  };
11213
11316
  }
11214
- function Lr(e, o) {
11317
+ function Vr(e, o) {
11215
11318
  var n;
11216
- return (typeof o == "number" ? N : o instanceof ae ? rr : (n = ae(o)) ? (o = n, rr) : hc)(e, o);
11319
+ return (typeof o == "number" ? P : o instanceof ae ? ar : (n = ae(o)) ? (o = n, ar) : zc)(e, o);
11217
11320
  }
11218
- function Dc(e) {
11321
+ function Lc(e) {
11219
11322
  return function() {
11220
11323
  this.removeAttribute(e);
11221
11324
  };
11222
11325
  }
11223
- function Fc(e) {
11326
+ function qc(e) {
11224
11327
  return function() {
11225
11328
  this.removeAttributeNS(e.space, e.local);
11226
11329
  };
11227
11330
  }
11228
- function Rc(e, o, n) {
11331
+ function Vc(e, o, n) {
11229
11332
  var r, t = n + "", a;
11230
11333
  return function() {
11231
11334
  var l = this.getAttribute(e);
11232
11335
  return l === t ? null : l === r ? a : a = o(r = l, n);
11233
11336
  };
11234
11337
  }
11235
- function Wc(e, o, n) {
11338
+ function Ic(e, o, n) {
11236
11339
  var r, t = n + "", a;
11237
11340
  return function() {
11238
11341
  var l = this.getAttributeNS(e.space, e.local);
11239
11342
  return l === t ? null : l === r ? a : a = o(r = l, n);
11240
11343
  };
11241
11344
  }
11242
- function Ec(e, o, n) {
11345
+ function Uc(e, o, n) {
11243
11346
  var r, t, a;
11244
11347
  return function() {
11245
11348
  var l, c = n(this), i;
11246
11349
  return c == null ? void this.removeAttribute(e) : (l = this.getAttribute(e), i = c + "", l === i ? null : l === r && i === t ? a : (t = i, a = o(r = l, c)));
11247
11350
  };
11248
11351
  }
11249
- function Bc(e, o, n) {
11352
+ function $c(e, o, n) {
11250
11353
  var r, t, a;
11251
11354
  return function() {
11252
11355
  var l, c = n(this), i;
11253
11356
  return c == null ? void this.removeAttributeNS(e.space, e.local) : (l = this.getAttributeNS(e.space, e.local), i = c + "", l === i ? null : l === r && i === t ? a : (t = i, a = o(r = l, c)));
11254
11357
  };
11255
11358
  }
11256
- function Nc(e, o) {
11257
- var n = Ce(e), r = n === "transform" ? yc : Lr;
11258
- return this.attrTween(e, typeof o == "function" ? (n.local ? Bc : Ec)(n, r, Xo(this, "attr." + e, o)) : o == null ? (n.local ? Fc : Dc)(n) : (n.local ? Wc : Rc)(n, r, o));
11359
+ function Kc(e, o) {
11360
+ var n = Ce(e), r = n === "transform" ? Cc : Vr;
11361
+ return this.attrTween(e, typeof o == "function" ? (n.local ? $c : Uc)(n, r, Jo(this, "attr." + e, o)) : o == null ? (n.local ? qc : Lc)(n) : (n.local ? Ic : Vc)(n, r, o));
11259
11362
  }
11260
- function Pc(e, o) {
11363
+ function Qc(e, o) {
11261
11364
  return function(n) {
11262
11365
  this.setAttribute(e, o.call(this, n));
11263
11366
  };
11264
11367
  }
11265
- function jc(e, o) {
11368
+ function Yc(e, o) {
11266
11369
  return function(n) {
11267
11370
  this.setAttributeNS(e.space, e.local, o.call(this, n));
11268
11371
  };
11269
11372
  }
11270
- function Lc(e, o) {
11373
+ function Gc(e, o) {
11271
11374
  var n, r;
11272
11375
  function t() {
11273
11376
  var a = o.apply(this, arguments);
11274
- return a !== r && (n = (r = a) && jc(e, a)), n;
11377
+ return a !== r && (n = (r = a) && Yc(e, a)), n;
11275
11378
  }
11276
11379
  return t._value = o, t;
11277
11380
  }
11278
- function qc(e, o) {
11381
+ function Xc(e, o) {
11279
11382
  var n, r;
11280
11383
  function t() {
11281
11384
  var a = o.apply(this, arguments);
11282
- return a !== r && (n = (r = a) && Pc(e, a)), n;
11385
+ return a !== r && (n = (r = a) && Qc(e, a)), n;
11283
11386
  }
11284
11387
  return t._value = o, t;
11285
11388
  }
11286
- function Vc(e, o) {
11389
+ function Jc(e, o) {
11287
11390
  var n = "attr." + e;
11288
11391
  if (arguments.length < 2) return (n = this.tween(n)) && n._value;
11289
11392
  if (o == null) return this.tween(n, null);
11290
11393
  if (typeof o != "function") throw new Error();
11291
11394
  var r = Ce(e);
11292
- return this.tween(n, (r.local ? Lc : qc)(r, o));
11395
+ return this.tween(n, (r.local ? Gc : Xc)(r, o));
11293
11396
  }
11294
- function Ic(e, o) {
11397
+ function Zc(e, o) {
11295
11398
  return function() {
11296
- Go(this, e).delay = +o.apply(this, arguments);
11399
+ Xo(this, e).delay = +o.apply(this, arguments);
11297
11400
  };
11298
11401
  }
11299
- function Uc(e, o) {
11402
+ function ei(e, o) {
11300
11403
  return o = +o, function() {
11301
- Go(this, e).delay = o;
11404
+ Xo(this, e).delay = o;
11302
11405
  };
11303
11406
  }
11304
- function $c(e) {
11407
+ function oi(e) {
11305
11408
  var o = this._id;
11306
- return arguments.length ? this.each((typeof e == "function" ? Ic : Uc)(o, e)) : O(this.node(), o).delay;
11409
+ return arguments.length ? this.each((typeof e == "function" ? Zc : ei)(o, e)) : T(this.node(), o).delay;
11307
11410
  }
11308
- function Kc(e, o) {
11411
+ function ni(e, o) {
11309
11412
  return function() {
11310
- R(this, e).duration = +o.apply(this, arguments);
11413
+ W(this, e).duration = +o.apply(this, arguments);
11311
11414
  };
11312
11415
  }
11313
- function Qc(e, o) {
11416
+ function ri(e, o) {
11314
11417
  return o = +o, function() {
11315
- R(this, e).duration = o;
11418
+ W(this, e).duration = o;
11316
11419
  };
11317
11420
  }
11318
- function Yc(e) {
11421
+ function ti(e) {
11319
11422
  var o = this._id;
11320
- return arguments.length ? this.each((typeof e == "function" ? Kc : Qc)(o, e)) : O(this.node(), o).duration;
11423
+ return arguments.length ? this.each((typeof e == "function" ? ni : ri)(o, e)) : T(this.node(), o).duration;
11321
11424
  }
11322
- function Gc(e, o) {
11425
+ function ai(e, o) {
11323
11426
  if (typeof o != "function") throw new Error();
11324
11427
  return function() {
11325
- R(this, e).ease = o;
11428
+ W(this, e).ease = o;
11326
11429
  };
11327
11430
  }
11328
- function Xc(e) {
11431
+ function li(e) {
11329
11432
  var o = this._id;
11330
- return arguments.length ? this.each(Gc(o, e)) : O(this.node(), o).ease;
11433
+ return arguments.length ? this.each(ai(o, e)) : T(this.node(), o).ease;
11331
11434
  }
11332
- function Jc(e, o) {
11435
+ function ci(e, o) {
11333
11436
  return function() {
11334
11437
  var n = o.apply(this, arguments);
11335
11438
  if (typeof n != "function") throw new Error();
11336
- R(this, e).ease = n;
11439
+ W(this, e).ease = n;
11337
11440
  };
11338
11441
  }
11339
- function Zc(e) {
11442
+ function ii(e) {
11340
11443
  if (typeof e != "function") throw new Error();
11341
- return this.each(Jc(this._id, e));
11444
+ return this.each(ci(this._id, e));
11342
11445
  }
11343
- function ei(e) {
11344
- typeof e != "function" && (e = vr(e));
11446
+ function si(e) {
11447
+ typeof e != "function" && (e = xr(e));
11345
11448
  for (var o = this._groups, n = o.length, r = new Array(n), t = 0; t < n; ++t)
11346
11449
  for (var a = o[t], l = a.length, c = r[t] = [], i, u = 0; u < l; ++u)
11347
11450
  (i = a[u]) && e.call(i, i.__data__, u, a) && c.push(i);
11348
- return new E(r, this._parents, this._name, this._id);
11451
+ return new B(r, this._parents, this._name, this._id);
11349
11452
  }
11350
- function oi(e) {
11453
+ function ui(e) {
11351
11454
  if (e._id !== this._id) throw new Error();
11352
11455
  for (var o = this._groups, n = e._groups, r = o.length, t = n.length, a = Math.min(r, t), l = new Array(r), c = 0; c < a; ++c)
11353
11456
  for (var i = o[c], u = n[c], s = i.length, d = l[c] = new Array(s), f, g = 0; g < s; ++g)
11354
11457
  (f = i[g] || u[g]) && (d[g] = f);
11355
11458
  for (; c < r; ++c)
11356
11459
  l[c] = o[c];
11357
- return new E(l, this._parents, this._name, this._id);
11460
+ return new B(l, this._parents, this._name, this._id);
11358
11461
  }
11359
- function ni(e) {
11462
+ function di(e) {
11360
11463
  return (e + "").trim().split(/^|\s+/).every(function(o) {
11361
11464
  var n = o.indexOf(".");
11362
11465
  return n >= 0 && (o = o.slice(0, n)), !o || o === "start";
11363
11466
  });
11364
11467
  }
11365
- function ri(e, o, n) {
11366
- var r, t, a = ni(o) ? Go : R;
11468
+ function fi(e, o, n) {
11469
+ var r, t, a = di(o) ? Xo : W;
11367
11470
  return function() {
11368
11471
  var l = a(this, e), c = l.on;
11369
11472
  c !== r && (t = (r = c).copy()).on(o, n), l.on = t;
11370
11473
  };
11371
11474
  }
11372
- function ti(e, o) {
11475
+ function gi(e, o) {
11373
11476
  var n = this._id;
11374
- return arguments.length < 2 ? O(this.node(), n).on.on(e) : this.each(ri(n, e, o));
11477
+ return arguments.length < 2 ? T(this.node(), n).on.on(e) : this.each(fi(n, e, o));
11375
11478
  }
11376
- function ai(e) {
11479
+ function hi(e) {
11377
11480
  return function() {
11378
11481
  var o = this.parentNode;
11379
11482
  for (var n in this.__transition) if (+n !== e) return;
11380
11483
  o && o.removeChild(this);
11381
11484
  };
11382
11485
  }
11383
- function li() {
11384
- return this.on("end.remove", ai(this._id));
11486
+ function bi() {
11487
+ return this.on("end.remove", hi(this._id));
11385
11488
  }
11386
- function ci(e) {
11489
+ function pi(e) {
11387
11490
  var o = this._name, n = this._id;
11388
- typeof e != "function" && (e = Uo(e));
11491
+ typeof e != "function" && (e = $o(e));
11389
11492
  for (var r = this._groups, t = r.length, a = new Array(t), l = 0; l < t; ++l)
11390
11493
  for (var c = r[l], i = c.length, u = a[l] = new Array(i), s, d, f = 0; f < i; ++f)
11391
- (s = c[f]) && (d = e.call(s, s.__data__, f, c)) && ("__data__" in s && (d.__data__ = s.__data__), u[f] = d, Oe(u[f], o, n, f, u, O(s, n)));
11392
- return new E(a, this._parents, o, n);
11494
+ (s = c[f]) && (d = e.call(s, s.__data__, f, c)) && ("__data__" in s && (d.__data__ = s.__data__), u[f] = d, Oe(u[f], o, n, f, u, T(s, n)));
11495
+ return new B(a, this._parents, o, n);
11393
11496
  }
11394
- function ii(e) {
11497
+ function mi(e) {
11395
11498
  var o = this._name, n = this._id;
11396
- typeof e != "function" && (e = wr(e));
11499
+ typeof e != "function" && (e = Sr(e));
11397
11500
  for (var r = this._groups, t = r.length, a = [], l = [], c = 0; c < t; ++c)
11398
11501
  for (var i = r[c], u = i.length, s, d = 0; d < u; ++d)
11399
11502
  if (s = i[d]) {
11400
- for (var f = e.call(s, s.__data__, d, i), g, p = O(s, n), k = 0, z = f.length; k < z; ++k)
11503
+ for (var f = e.call(s, s.__data__, d, i), g, p = T(s, n), k = 0, z = f.length; k < z; ++k)
11401
11504
  (g = f[k]) && Oe(g, o, n, k, f, p);
11402
11505
  a.push(f), l.push(s);
11403
11506
  }
11404
- return new E(a, l, o, n);
11507
+ return new B(a, l, o, n);
11405
11508
  }
11406
- var si = se.prototype.constructor;
11407
- function ui() {
11408
- return new si(this._groups, this._parents);
11509
+ var ki = se.prototype.constructor;
11510
+ function yi() {
11511
+ return new ki(this._groups, this._parents);
11409
11512
  }
11410
- function di(e, o) {
11513
+ function wi(e, o) {
11411
11514
  var n, r, t;
11412
11515
  return function() {
11413
11516
  var a = G(this, e), l = (this.style.removeProperty(e), G(this, e));
11414
11517
  return a === l ? null : a === n && l === r ? t : t = o(n = a, r = l);
11415
11518
  };
11416
11519
  }
11417
- function qr(e) {
11520
+ function Ir(e) {
11418
11521
  return function() {
11419
11522
  this.style.removeProperty(e);
11420
11523
  };
11421
11524
  }
11422
- function fi(e, o, n) {
11525
+ function vi(e, o, n) {
11423
11526
  var r, t = n + "", a;
11424
11527
  return function() {
11425
11528
  var l = G(this, e);
11426
11529
  return l === t ? null : l === r ? a : a = o(r = l, n);
11427
11530
  };
11428
11531
  }
11429
- function gi(e, o, n) {
11532
+ function Si(e, o, n) {
11430
11533
  var r, t, a;
11431
11534
  return function() {
11432
11535
  var l = G(this, e), c = n(this), i = c + "";
11433
11536
  return c == null && (i = c = (this.style.removeProperty(e), G(this, e))), l === i ? null : l === r && i === t ? a : (t = i, a = o(r = l, c));
11434
11537
  };
11435
11538
  }
11436
- function bi(e, o) {
11539
+ function xi(e, o) {
11437
11540
  var n, r, t, a = "style." + o, l = "end." + a, c;
11438
11541
  return function() {
11439
- var i = R(this, e), u = i.on, s = i.value[a] == null ? c || (c = qr(o)) : void 0;
11542
+ var i = W(this, e), u = i.on, s = i.value[a] == null ? c || (c = Ir(o)) : void 0;
11440
11543
  (u !== n || t !== s) && (r = (n = u).copy()).on(l, t = s), i.on = r;
11441
11544
  };
11442
11545
  }
11443
- function hi(e, o, n) {
11444
- var r = (e += "") == "transform" ? kc : Lr;
11445
- return o == null ? this.styleTween(e, di(e, r)).on("end.style." + e, qr(e)) : typeof o == "function" ? this.styleTween(e, gi(e, r, Xo(this, "style." + e, o))).each(bi(this._id, e)) : this.styleTween(e, fi(e, r, o), n).on("end.style." + e, null);
11546
+ function zi(e, o, n) {
11547
+ var r = (e += "") == "transform" ? Mc : Vr;
11548
+ return o == null ? this.styleTween(e, wi(e, r)).on("end.style." + e, Ir(e)) : typeof o == "function" ? this.styleTween(e, Si(e, r, Jo(this, "style." + e, o))).each(xi(this._id, e)) : this.styleTween(e, vi(e, r, o), n).on("end.style." + e, null);
11446
11549
  }
11447
- function pi(e, o, n) {
11550
+ function Ai(e, o, n) {
11448
11551
  return function(r) {
11449
11552
  this.style.setProperty(e, o.call(this, r), n);
11450
11553
  };
11451
11554
  }
11452
- function mi(e, o, n) {
11555
+ function _i(e, o, n) {
11453
11556
  var r, t;
11454
11557
  function a() {
11455
11558
  var l = o.apply(this, arguments);
11456
- return l !== t && (r = (t = l) && pi(e, l, n)), r;
11559
+ return l !== t && (r = (t = l) && Ai(e, l, n)), r;
11457
11560
  }
11458
11561
  return a._value = o, a;
11459
11562
  }
11460
- function ki(e, o, n) {
11563
+ function Mi(e, o, n) {
11461
11564
  var r = "style." + (e += "");
11462
11565
  if (arguments.length < 2) return (r = this.tween(r)) && r._value;
11463
11566
  if (o == null) return this.tween(r, null);
11464
11567
  if (typeof o != "function") throw new Error();
11465
- return this.tween(r, mi(e, o, n ?? ""));
11568
+ return this.tween(r, _i(e, o, n ?? ""));
11466
11569
  }
11467
- function yi(e) {
11570
+ function Ci(e) {
11468
11571
  return function() {
11469
11572
  this.textContent = e;
11470
11573
  };
11471
11574
  }
11472
- function wi(e) {
11575
+ function Hi(e) {
11473
11576
  return function() {
11474
11577
  var o = e(this);
11475
11578
  this.textContent = o ?? "";
11476
11579
  };
11477
11580
  }
11478
- function vi(e) {
11479
- return this.tween("text", typeof e == "function" ? wi(Xo(this, "text", e)) : yi(e == null ? "" : e + ""));
11581
+ function Oi(e) {
11582
+ return this.tween("text", typeof e == "function" ? Hi(Jo(this, "text", e)) : Ci(e == null ? "" : e + ""));
11480
11583
  }
11481
- function Si(e) {
11584
+ function Ti(e) {
11482
11585
  return function(o) {
11483
11586
  this.textContent = e.call(this, o);
11484
11587
  };
11485
11588
  }
11486
- function xi(e) {
11589
+ function Di(e) {
11487
11590
  var o, n;
11488
11591
  function r() {
11489
11592
  var t = e.apply(this, arguments);
11490
- return t !== n && (o = (n = t) && Si(t)), o;
11593
+ return t !== n && (o = (n = t) && Ti(t)), o;
11491
11594
  }
11492
11595
  return r._value = e, r;
11493
11596
  }
11494
- function zi(e) {
11597
+ function Fi(e) {
11495
11598
  var o = "text";
11496
11599
  if (arguments.length < 1) return (o = this.tween(o)) && o._value;
11497
11600
  if (e == null) return this.tween(o, null);
11498
11601
  if (typeof e != "function") throw new Error();
11499
- return this.tween(o, xi(e));
11602
+ return this.tween(o, Di(e));
11500
11603
  }
11501
- function Ai() {
11502
- for (var e = this._name, o = this._id, n = Vr(), r = this._groups, t = r.length, a = 0; a < t; ++a)
11604
+ function Ri() {
11605
+ for (var e = this._name, o = this._id, n = Ur(), r = this._groups, t = r.length, a = 0; a < t; ++a)
11503
11606
  for (var l = r[a], c = l.length, i, u = 0; u < c; ++u)
11504
11607
  if (i = l[u]) {
11505
- var s = O(i, o);
11608
+ var s = T(i, o);
11506
11609
  Oe(i, e, n, u, l, {
11507
11610
  time: s.time + s.delay + s.duration,
11508
11611
  delay: 0,
@@ -11510,96 +11613,96 @@ function Ai() {
11510
11613
  ease: s.ease
11511
11614
  });
11512
11615
  }
11513
- return new E(r, this._parents, e, n);
11616
+ return new B(r, this._parents, e, n);
11514
11617
  }
11515
- function _i() {
11618
+ function Wi() {
11516
11619
  var e, o, n = this, r = n._id, t = n.size();
11517
11620
  return new Promise(function(a, l) {
11518
11621
  var c = { value: l }, i = { value: function() {
11519
11622
  --t === 0 && a();
11520
11623
  } };
11521
11624
  n.each(function() {
11522
- var u = R(this, r), s = u.on;
11625
+ var u = W(this, r), s = u.on;
11523
11626
  s !== e && (o = (e = s).copy(), o._.cancel.push(c), o._.interrupt.push(c), o._.end.push(i)), u.on = o;
11524
11627
  }), t === 0 && a();
11525
11628
  });
11526
11629
  }
11527
- var Mi = 0;
11528
- function E(e, o, n, r) {
11630
+ var Ei = 0;
11631
+ function B(e, o, n, r) {
11529
11632
  this._groups = e, this._parents = o, this._name = n, this._id = r;
11530
11633
  }
11531
- function Vr() {
11532
- return ++Mi;
11533
- }
11534
- var W = se.prototype;
11535
- E.prototype = {
11536
- constructor: E,
11537
- select: ci,
11538
- selectAll: ii,
11539
- selectChild: W.selectChild,
11540
- selectChildren: W.selectChildren,
11541
- filter: ei,
11542
- merge: oi,
11543
- selection: ui,
11544
- transition: Ai,
11545
- call: W.call,
11546
- nodes: W.nodes,
11547
- node: W.node,
11548
- size: W.size,
11549
- empty: W.empty,
11550
- each: W.each,
11551
- on: ti,
11552
- attr: Nc,
11553
- attrTween: Vc,
11554
- style: hi,
11555
- styleTween: ki,
11556
- text: vi,
11557
- textTween: zi,
11558
- remove: li,
11559
- tween: Tc,
11560
- delay: $c,
11561
- duration: Yc,
11562
- ease: Xc,
11563
- easeVarying: Zc,
11564
- end: _i,
11565
- [Symbol.iterator]: W[Symbol.iterator]
11634
+ function Ur() {
11635
+ return ++Ei;
11636
+ }
11637
+ var E = se.prototype;
11638
+ B.prototype = {
11639
+ constructor: B,
11640
+ select: pi,
11641
+ selectAll: mi,
11642
+ selectChild: E.selectChild,
11643
+ selectChildren: E.selectChildren,
11644
+ filter: si,
11645
+ merge: ui,
11646
+ selection: yi,
11647
+ transition: Ri,
11648
+ call: E.call,
11649
+ nodes: E.nodes,
11650
+ node: E.node,
11651
+ size: E.size,
11652
+ empty: E.empty,
11653
+ each: E.each,
11654
+ on: gi,
11655
+ attr: Kc,
11656
+ attrTween: Jc,
11657
+ style: zi,
11658
+ styleTween: Mi,
11659
+ text: Oi,
11660
+ textTween: Fi,
11661
+ remove: bi,
11662
+ tween: jc,
11663
+ delay: oi,
11664
+ duration: ti,
11665
+ ease: li,
11666
+ easeVarying: ii,
11667
+ end: Wi,
11668
+ [Symbol.iterator]: E[Symbol.iterator]
11566
11669
  };
11567
- function Ci(e) {
11670
+ function Bi(e) {
11568
11671
  return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
11569
11672
  }
11570
- var Hi = {
11673
+ var Ni = {
11571
11674
  time: null,
11572
11675
  // Set on use.
11573
11676
  delay: 0,
11574
11677
  duration: 250,
11575
- ease: Ci
11678
+ ease: Bi
11576
11679
  };
11577
- function Oi(e, o) {
11680
+ function Pi(e, o) {
11578
11681
  for (var n; !(n = e.__transition) || !(n = n[o]); )
11579
11682
  if (!(e = e.parentNode))
11580
11683
  throw new Error(`transition ${o} not found`);
11581
11684
  return n;
11582
11685
  }
11583
- function Ti(e) {
11686
+ function ji(e) {
11584
11687
  var o, n;
11585
- e instanceof E ? (o = e._id, e = e._name) : (o = Vr(), (n = Hi).time = Yo(), e = e == null ? null : e + "");
11688
+ e instanceof B ? (o = e._id, e = e._name) : (o = Ur(), (n = Ni).time = Go(), e = e == null ? null : e + "");
11586
11689
  for (var r = this._groups, t = r.length, a = 0; a < t; ++a)
11587
11690
  for (var l = r[a], c = l.length, i, u = 0; u < c; ++u)
11588
- (i = l[u]) && Oe(i, e, o, u, l, n || Oi(i, o));
11589
- return new E(r, this._parents, e, o);
11691
+ (i = l[u]) && Oe(i, e, o, u, l, n || Pi(i, o));
11692
+ return new B(r, this._parents, e, o);
11590
11693
  }
11591
- se.prototype.interrupt = Cc;
11592
- se.prototype.transition = Ti;
11593
- function K(e, o, n) {
11694
+ se.prototype.interrupt = Bc;
11695
+ se.prototype.transition = ji;
11696
+ function Q(e, o, n) {
11594
11697
  this.k = e, this.x = o, this.y = n;
11595
11698
  }
11596
- K.prototype = {
11597
- constructor: K,
11699
+ Q.prototype = {
11700
+ constructor: Q,
11598
11701
  scale: function(e) {
11599
- return e === 1 ? this : new K(this.k * e, this.x, this.y);
11702
+ return e === 1 ? this : new Q(this.k * e, this.x, this.y);
11600
11703
  },
11601
11704
  translate: function(e, o) {
11602
- return e === 0 & o === 0 ? this : new K(this.k, this.x + this.k * e, this.y + this.k * o);
11705
+ return e === 0 & o === 0 ? this : new Q(this.k, this.x + this.k * e, this.y + this.k * o);
11603
11706
  },
11604
11707
  apply: function(e) {
11605
11708
  return [e[0] * this.k + this.x, e[1] * this.k + this.y];
@@ -11629,10 +11732,10 @@ K.prototype = {
11629
11732
  return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
11630
11733
  }
11631
11734
  };
11632
- var fs = new K(1, 0, 0);
11633
- K.prototype;
11634
- const gs = ({ queryFn: e, enabled: o = !0 }) => {
11635
- const [n, r] = Q(), [t, a] = Q(!1), [l, c] = Q(), i = St(async () => {
11735
+ var xs = new Q(1, 0, 0);
11736
+ Q.prototype;
11737
+ const zs = ({ queryFn: e, enabled: o = !0 }) => {
11738
+ const [n, r] = q(), [t, a] = q(!1), [l, c] = q(), i = xt(async () => {
11636
11739
  a(!0);
11637
11740
  try {
11638
11741
  const s = await e();
@@ -11643,7 +11746,7 @@ const gs = ({ queryFn: e, enabled: o = !0 }) => {
11643
11746
  a(!1);
11644
11747
  }
11645
11748
  }, [e]);
11646
- return xt(() => {
11749
+ return zt(() => {
11647
11750
  o && i();
11648
11751
  }, [i, o]), {
11649
11752
  error: n,
@@ -11653,11 +11756,11 @@ const gs = ({ queryFn: e, enabled: o = !0 }) => {
11653
11756
  i();
11654
11757
  }
11655
11758
  };
11656
- }, bs = ({
11759
+ }, As = ({
11657
11760
  queryFn: e,
11658
11761
  onSuccess: o
11659
11762
  }) => {
11660
- const [n, r] = Q(), [t, a] = Q(!1), [l, c] = Q();
11763
+ const [n, r] = q(), [t, a] = q(!1), [l, c] = q();
11661
11764
  return {
11662
11765
  error: n,
11663
11766
  data: l,
@@ -11674,11 +11777,11 @@ const gs = ({ queryFn: e, enabled: o = !0 }) => {
11674
11777
  }
11675
11778
  }
11676
11779
  };
11677
- }, hs = {
11780
+ }, _s = {
11678
11781
  get: async (e, o, n) => ({}),
11679
11782
  post: async (e, o, n) => ({})
11680
11783
  };
11681
- function Di(e) {
11784
+ function Li(e) {
11682
11785
  if (typeof e != "object" || e === null)
11683
11786
  return !1;
11684
11787
  let o = e;
@@ -11686,10 +11789,10 @@ function Di(e) {
11686
11789
  o = Object.getPrototypeOf(o);
11687
11790
  return Object.getPrototypeOf(e) === o || Object.getPrototypeOf(e) === null;
11688
11791
  }
11689
- function Fi(e) {
11690
- return Di(e) && "type" in e && typeof e.type == "string";
11792
+ function qi(e) {
11793
+ return Li(e) && "type" in e && typeof e.type == "string";
11691
11794
  }
11692
- var Ir = Symbol.for("immer-nothing"), sr = Symbol.for("immer-draftable"), _ = Symbol.for("immer-state"), Ri = process.env.NODE_ENV !== "production" ? [
11795
+ var $r = Symbol.for("immer-nothing"), dr = Symbol.for("immer-draftable"), _ = Symbol.for("immer-state"), Vi = process.env.NODE_ENV !== "production" ? [
11693
11796
  // All error codes, starting by 0:
11694
11797
  function(e) {
11695
11798
  return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
@@ -11722,7 +11825,7 @@ var Ir = Symbol.for("immer-nothing"), sr = Symbol.for("immer-draftable"), _ = Sy
11722
11825
  ] : [];
11723
11826
  function S(e, ...o) {
11724
11827
  if (process.env.NODE_ENV !== "production") {
11725
- const n = Ri[e], r = typeof n == "function" ? n.apply(null, o) : n;
11828
+ const n = Vi[e], r = typeof n == "function" ? n.apply(null, o) : n;
11726
11829
  throw new Error(`[Immer] ${r}`);
11727
11830
  }
11728
11831
  throw new Error(
@@ -11730,22 +11833,22 @@ function S(e, ...o) {
11730
11833
  );
11731
11834
  }
11732
11835
  var J = Object.getPrototypeOf;
11733
- function I(e) {
11836
+ function U(e) {
11734
11837
  return !!e && !!e[_];
11735
11838
  }
11736
- function B(e) {
11839
+ function N(e) {
11737
11840
  var o;
11738
- return e ? Ur(e) || Array.isArray(e) || !!e[sr] || !!((o = e.constructor) != null && o[sr]) || De(e) || Fe(e) : !1;
11841
+ return e ? Kr(e) || Array.isArray(e) || !!e[dr] || !!((o = e.constructor) != null && o[dr]) || De(e) || Fe(e) : !1;
11739
11842
  }
11740
- var Wi = Object.prototype.constructor.toString();
11741
- function Ur(e) {
11843
+ var Ii = Object.prototype.constructor.toString();
11844
+ function Kr(e) {
11742
11845
  if (!e || typeof e != "object")
11743
11846
  return !1;
11744
11847
  const o = J(e);
11745
11848
  if (o === null)
11746
11849
  return !0;
11747
11850
  const n = Object.hasOwnProperty.call(o, "constructor") && o.constructor;
11748
- return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === Wi;
11851
+ return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === Ii;
11749
11852
  }
11750
11853
  function Ae(e, o) {
11751
11854
  Te(e) === 0 ? Reflect.ownKeys(e).forEach((n) => {
@@ -11756,14 +11859,14 @@ function Te(e) {
11756
11859
  const o = e[_];
11757
11860
  return o ? o.type_ : Array.isArray(e) ? 1 : De(e) ? 2 : Fe(e) ? 3 : 0;
11758
11861
  }
11759
- function Po(e, o) {
11862
+ function jo(e, o) {
11760
11863
  return Te(e) === 2 ? e.has(o) : Object.prototype.hasOwnProperty.call(e, o);
11761
11864
  }
11762
- function $r(e, o, n) {
11865
+ function Qr(e, o, n) {
11763
11866
  const r = Te(e);
11764
11867
  r === 2 ? e.set(o, n) : r === 3 ? e.add(n) : e[o] = n;
11765
11868
  }
11766
- function Ei(e, o) {
11869
+ function Ui(e, o) {
11767
11870
  return e === o ? e !== 0 || 1 / e === 1 / o : e !== e && o !== o;
11768
11871
  }
11769
11872
  function De(e) {
@@ -11775,14 +11878,14 @@ function Fe(e) {
11775
11878
  function j(e) {
11776
11879
  return e.copy_ || e.base_;
11777
11880
  }
11778
- function jo(e, o) {
11881
+ function Lo(e, o) {
11779
11882
  if (De(e))
11780
11883
  return new Map(e);
11781
11884
  if (Fe(e))
11782
11885
  return new Set(e);
11783
11886
  if (Array.isArray(e))
11784
11887
  return Array.prototype.slice.call(e);
11785
- const n = Ur(e);
11888
+ const n = Kr(e);
11786
11889
  if (o === !0 || o === "class_only" && !n) {
11787
11890
  const r = Object.getOwnPropertyDescriptors(e);
11788
11891
  delete r[_];
@@ -11806,25 +11909,25 @@ function jo(e, o) {
11806
11909
  return Object.assign(t, e);
11807
11910
  }
11808
11911
  }
11809
- function Jo(e, o = !1) {
11810
- return Re(e) || I(e) || !B(e) || (Te(e) > 1 && (e.set = e.add = e.clear = e.delete = Bi), Object.freeze(e), o && Object.entries(e).forEach(([n, r]) => Jo(r, !0))), e;
11912
+ function Zo(e, o = !1) {
11913
+ return Re(e) || U(e) || !N(e) || (Te(e) > 1 && (e.set = e.add = e.clear = e.delete = $i), Object.freeze(e), o && Object.entries(e).forEach(([n, r]) => Zo(r, !0))), e;
11811
11914
  }
11812
- function Bi() {
11915
+ function $i() {
11813
11916
  S(2);
11814
11917
  }
11815
11918
  function Re(e) {
11816
11919
  return Object.isFrozen(e);
11817
11920
  }
11818
- var Ni = {};
11819
- function U(e) {
11820
- const o = Ni[e];
11921
+ var Ki = {};
11922
+ function $(e) {
11923
+ const o = Ki[e];
11821
11924
  return o || S(0, e), o;
11822
11925
  }
11823
11926
  var ce;
11824
- function Kr() {
11927
+ function Yr() {
11825
11928
  return ce;
11826
11929
  }
11827
- function Pi(e, o) {
11930
+ function Qi(e, o) {
11828
11931
  return {
11829
11932
  drafts_: [],
11830
11933
  parent_: e,
@@ -11835,31 +11938,31 @@ function Pi(e, o) {
11835
11938
  unfinalizedDrafts_: 0
11836
11939
  };
11837
11940
  }
11838
- function ur(e, o) {
11839
- o && (U("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = o);
11840
- }
11841
- function Lo(e) {
11842
- qo(e), e.drafts_.forEach(ji), e.drafts_ = null;
11941
+ function fr(e, o) {
11942
+ o && ($("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = o);
11843
11943
  }
11844
11944
  function qo(e) {
11945
+ Vo(e), e.drafts_.forEach(Yi), e.drafts_ = null;
11946
+ }
11947
+ function Vo(e) {
11845
11948
  e === ce && (ce = e.parent_);
11846
11949
  }
11847
- function dr(e) {
11848
- return ce = Pi(ce, e);
11950
+ function gr(e) {
11951
+ return ce = Qi(ce, e);
11849
11952
  }
11850
- function ji(e) {
11953
+ function Yi(e) {
11851
11954
  const o = e[_];
11852
11955
  o.type_ === 0 || o.type_ === 1 ? o.revoke_() : o.revoked_ = !0;
11853
11956
  }
11854
- function fr(e, o) {
11957
+ function hr(e, o) {
11855
11958
  o.unfinalizedDrafts_ = o.drafts_.length;
11856
11959
  const n = o.drafts_[0];
11857
- return e !== void 0 && e !== n ? (n[_].modified_ && (Lo(o), S(4)), B(e) && (e = _e(o, e), o.parent_ || Me(o, e)), o.patches_ && U("Patches").generateReplacementPatches_(
11960
+ return e !== void 0 && e !== n ? (n[_].modified_ && (qo(o), S(4)), N(e) && (e = _e(o, e), o.parent_ || Me(o, e)), o.patches_ && $("Patches").generateReplacementPatches_(
11858
11961
  n[_].base_,
11859
11962
  e,
11860
11963
  o.patches_,
11861
11964
  o.inversePatches_
11862
- )) : e = _e(o, n, []), Lo(o), o.patches_ && o.patchListener_(o.patches_, o.inversePatches_), e !== Ir ? e : void 0;
11965
+ )) : e = _e(o, n, []), qo(o), o.patches_ && o.patchListener_(o.patches_, o.inversePatches_), e !== $r ? e : void 0;
11863
11966
  }
11864
11967
  function _e(e, o, n) {
11865
11968
  if (Re(o))
@@ -11868,7 +11971,7 @@ function _e(e, o, n) {
11868
11971
  if (!r)
11869
11972
  return Ae(
11870
11973
  o,
11871
- (t, a) => gr(e, r, o, t, a, n)
11974
+ (t, a) => br(e, r, o, t, a, n)
11872
11975
  ), o;
11873
11976
  if (r.scope_ !== e)
11874
11977
  return o;
@@ -11880,8 +11983,8 @@ function _e(e, o, n) {
11880
11983
  let a = t, l = !1;
11881
11984
  r.type_ === 3 && (a = new Set(t), t.clear(), l = !0), Ae(
11882
11985
  a,
11883
- (c, i) => gr(e, r, t, c, i, n, l)
11884
- ), Me(e, t, !1), n && e.patches_ && U("Patches").generatePatches_(
11986
+ (c, i) => br(e, r, t, c, i, n, l)
11987
+ ), Me(e, t, !1), n && e.patches_ && $("Patches").generatePatches_(
11885
11988
  r,
11886
11989
  n,
11887
11990
  e.patches_,
@@ -11890,29 +11993,29 @@ function _e(e, o, n) {
11890
11993
  }
11891
11994
  return r.copy_;
11892
11995
  }
11893
- function gr(e, o, n, r, t, a, l) {
11894
- if (process.env.NODE_ENV !== "production" && t === n && S(5), I(t)) {
11996
+ function br(e, o, n, r, t, a, l) {
11997
+ if (process.env.NODE_ENV !== "production" && t === n && S(5), U(t)) {
11895
11998
  const c = a && o && o.type_ !== 3 && // Set objects are atomic since they have no keys.
11896
- !Po(o.assigned_, r) ? a.concat(r) : void 0, i = _e(e, t, c);
11897
- if ($r(n, r, i), I(i))
11999
+ !jo(o.assigned_, r) ? a.concat(r) : void 0, i = _e(e, t, c);
12000
+ if (Qr(n, r, i), U(i))
11898
12001
  e.canAutoFreeze_ = !1;
11899
12002
  else
11900
12003
  return;
11901
12004
  } else l && n.add(t);
11902
- if (B(t) && !Re(t)) {
12005
+ if (N(t) && !Re(t)) {
11903
12006
  if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1)
11904
12007
  return;
11905
12008
  _e(e, t), (!o || !o.scope_.parent_) && typeof r != "symbol" && Object.prototype.propertyIsEnumerable.call(n, r) && Me(e, t);
11906
12009
  }
11907
12010
  }
11908
12011
  function Me(e, o, n = !1) {
11909
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Jo(o, n);
12012
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Zo(o, n);
11910
12013
  }
11911
- function Li(e, o) {
12014
+ function Gi(e, o) {
11912
12015
  const n = Array.isArray(e), r = {
11913
12016
  type_: n ? 1 : 0,
11914
12017
  // Track which produce call this is associated with.
11915
- scope_: o ? o.scope_ : Kr(),
12018
+ scope_: o ? o.scope_ : Yr(),
11916
12019
  // True for both shallow and deep changes.
11917
12020
  modified_: !1,
11918
12021
  // Used during finalization.
@@ -11932,20 +12035,20 @@ function Li(e, o) {
11932
12035
  revoke_: null,
11933
12036
  isManual_: !1
11934
12037
  };
11935
- let t = r, a = Zo;
12038
+ let t = r, a = en;
11936
12039
  n && (t = [r], a = ie);
11937
12040
  const { revoke: l, proxy: c } = Proxy.revocable(t, a);
11938
12041
  return r.draft_ = c, r.revoke_ = l, c;
11939
12042
  }
11940
- var Zo = {
12043
+ var en = {
11941
12044
  get(e, o) {
11942
12045
  if (o === _)
11943
12046
  return e;
11944
12047
  const n = j(e);
11945
- if (!Po(n, o))
11946
- return qi(e, n, o);
12048
+ if (!jo(n, o))
12049
+ return Xi(e, n, o);
11947
12050
  const r = n[o];
11948
- return e.finalized_ || !B(r) ? r : r === Oo(e.base_, o) ? (To(e), e.copy_[o] = Io(r, e)) : r;
12051
+ return e.finalized_ || !N(r) ? r : r === To(e.base_, o) ? (Do(e), e.copy_[o] = Uo(r, e)) : r;
11949
12052
  },
11950
12053
  has(e, o) {
11951
12054
  return o in j(e);
@@ -11954,23 +12057,23 @@ var Zo = {
11954
12057
  return Reflect.ownKeys(j(e));
11955
12058
  },
11956
12059
  set(e, o, n) {
11957
- const r = Qr(j(e), o);
12060
+ const r = Gr(j(e), o);
11958
12061
  if (r != null && r.set)
11959
12062
  return r.set.call(e.draft_, n), !0;
11960
12063
  if (!e.modified_) {
11961
- const t = Oo(j(e), o), a = t == null ? void 0 : t[_];
12064
+ const t = To(j(e), o), a = t == null ? void 0 : t[_];
11962
12065
  if (a && a.base_ === n)
11963
12066
  return e.copy_[o] = n, e.assigned_[o] = !1, !0;
11964
- if (Ei(n, t) && (n !== void 0 || Po(e.base_, o)))
12067
+ if (Ui(n, t) && (n !== void 0 || jo(e.base_, o)))
11965
12068
  return !0;
11966
- To(e), Vo(e);
12069
+ Do(e), Io(e);
11967
12070
  }
11968
12071
  return e.copy_[o] === n && // special case: handle new props with value 'undefined'
11969
12072
  (n !== void 0 || o in e.copy_) || // special case: NaN
11970
12073
  Number.isNaN(n) && Number.isNaN(e.copy_[o]) || (e.copy_[o] = n, e.assigned_[o] = !0), !0;
11971
12074
  },
11972
12075
  deleteProperty(e, o) {
11973
- return Oo(e.base_, o) !== void 0 || o in e.base_ ? (e.assigned_[o] = !1, To(e), Vo(e)) : delete e.assigned_[o], e.copy_ && delete e.copy_[o], !0;
12076
+ return To(e.base_, o) !== void 0 || o in e.base_ ? (e.assigned_[o] = !1, Do(e), Io(e)) : delete e.assigned_[o], e.copy_ && delete e.copy_[o], !0;
11974
12077
  },
11975
12078
  // Note: We never coerce `desc.value` into an Immer draft, because we can't make
11976
12079
  // the same guarantee in ES5 mode.
@@ -11993,7 +12096,7 @@ var Zo = {
11993
12096
  S(12);
11994
12097
  }
11995
12098
  }, ie = {};
11996
- Ae(Zo, (e, o) => {
12099
+ Ae(en, (e, o) => {
11997
12100
  ie[e] = function() {
11998
12101
  return arguments[0] = arguments[0][0], o.apply(this, arguments);
11999
12102
  };
@@ -12002,22 +12105,22 @@ ie.deleteProperty = function(e, o) {
12002
12105
  return process.env.NODE_ENV !== "production" && isNaN(parseInt(o)) && S(13), ie.set.call(this, e, o, void 0);
12003
12106
  };
12004
12107
  ie.set = function(e, o, n) {
12005
- return process.env.NODE_ENV !== "production" && o !== "length" && isNaN(parseInt(o)) && S(14), Zo.set.call(this, e[0], o, n, e[0]);
12108
+ return process.env.NODE_ENV !== "production" && o !== "length" && isNaN(parseInt(o)) && S(14), en.set.call(this, e[0], o, n, e[0]);
12006
12109
  };
12007
- function Oo(e, o) {
12110
+ function To(e, o) {
12008
12111
  const n = e[_];
12009
12112
  return (n ? j(n) : e)[o];
12010
12113
  }
12011
- function qi(e, o, n) {
12114
+ function Xi(e, o, n) {
12012
12115
  var t;
12013
- const r = Qr(o, n);
12116
+ const r = Gr(o, n);
12014
12117
  return r ? "value" in r ? r.value : (
12015
12118
  // This is a very special case, if the prop is a getter defined by the
12016
12119
  // prototype, we should invoke it with the draft as context!
12017
12120
  (t = r.get) == null ? void 0 : t.call(e.draft_)
12018
12121
  ) : void 0;
12019
12122
  }
12020
- function Qr(e, o) {
12123
+ function Gr(e, o) {
12021
12124
  if (!(o in e))
12022
12125
  return;
12023
12126
  let n = J(e);
@@ -12028,16 +12131,16 @@ function Qr(e, o) {
12028
12131
  n = J(n);
12029
12132
  }
12030
12133
  }
12031
- function Vo(e) {
12032
- e.modified_ || (e.modified_ = !0, e.parent_ && Vo(e.parent_));
12134
+ function Io(e) {
12135
+ e.modified_ || (e.modified_ = !0, e.parent_ && Io(e.parent_));
12033
12136
  }
12034
- function To(e) {
12035
- e.copy_ || (e.copy_ = jo(
12137
+ function Do(e) {
12138
+ e.copy_ || (e.copy_ = Lo(
12036
12139
  e.base_,
12037
12140
  e.scope_.immer_.useStrictShallowCopy_
12038
12141
  ));
12039
12142
  }
12040
- var Vi = class {
12143
+ var Ji = class {
12041
12144
  constructor(e) {
12042
12145
  this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.produce = (o, n, r) => {
12043
12146
  if (typeof o == "function" && typeof n != "function") {
@@ -12050,19 +12153,19 @@ var Vi = class {
12050
12153
  }
12051
12154
  typeof n != "function" && S(6), r !== void 0 && typeof r != "function" && S(7);
12052
12155
  let t;
12053
- if (B(o)) {
12054
- const a = dr(this), l = Io(o, void 0);
12156
+ if (N(o)) {
12157
+ const a = gr(this), l = Uo(o, void 0);
12055
12158
  let c = !0;
12056
12159
  try {
12057
12160
  t = n(l), c = !1;
12058
12161
  } finally {
12059
- c ? Lo(a) : qo(a);
12162
+ c ? qo(a) : Vo(a);
12060
12163
  }
12061
- return ur(a, r), fr(t, a);
12164
+ return fr(a, r), hr(t, a);
12062
12165
  } else if (!o || typeof o != "object") {
12063
- if (t = n(o), t === void 0 && (t = o), t === Ir && (t = void 0), this.autoFreeze_ && Jo(t, !0), r) {
12166
+ if (t = n(o), t === void 0 && (t = o), t === $r && (t = void 0), this.autoFreeze_ && Zo(t, !0), r) {
12064
12167
  const a = [], l = [];
12065
- U("Patches").generateReplacementPatches_(o, t, a, l), r(a, l);
12168
+ $("Patches").generateReplacementPatches_(o, t, a, l), r(a, l);
12066
12169
  }
12067
12170
  return t;
12068
12171
  } else
@@ -12077,15 +12180,15 @@ var Vi = class {
12077
12180
  }, typeof (e == null ? void 0 : e.autoFreeze) == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof (e == null ? void 0 : e.useStrictShallowCopy) == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy);
12078
12181
  }
12079
12182
  createDraft(e) {
12080
- B(e) || S(8), I(e) && (e = Ii(e));
12081
- const o = dr(this), n = Io(e, void 0);
12082
- return n[_].isManual_ = !0, qo(o), n;
12183
+ N(e) || S(8), U(e) && (e = Zi(e));
12184
+ const o = gr(this), n = Uo(e, void 0);
12185
+ return n[_].isManual_ = !0, Vo(o), n;
12083
12186
  }
12084
12187
  finishDraft(e, o) {
12085
12188
  const n = e && e[_];
12086
12189
  (!n || !n.isManual_) && S(9);
12087
12190
  const { scope_: r } = n;
12088
- return ur(r, o), fr(void 0, r);
12191
+ return fr(r, o), hr(void 0, r);
12089
12192
  }
12090
12193
  /**
12091
12194
  * Pass true to automatically freeze all copies created by Immer.
@@ -12113,36 +12216,36 @@ var Vi = class {
12113
12216
  }
12114
12217
  }
12115
12218
  n > -1 && (o = o.slice(n + 1));
12116
- const r = U("Patches").applyPatches_;
12117
- return I(e) ? r(e, o) : this.produce(
12219
+ const r = $("Patches").applyPatches_;
12220
+ return U(e) ? r(e, o) : this.produce(
12118
12221
  e,
12119
12222
  (t) => r(t, o)
12120
12223
  );
12121
12224
  }
12122
12225
  };
12123
- function Io(e, o) {
12124
- const n = De(e) ? U("MapSet").proxyMap_(e, o) : Fe(e) ? U("MapSet").proxySet_(e, o) : Li(e, o);
12125
- return (o ? o.scope_ : Kr()).drafts_.push(n), n;
12226
+ function Uo(e, o) {
12227
+ const n = De(e) ? $("MapSet").proxyMap_(e, o) : Fe(e) ? $("MapSet").proxySet_(e, o) : Gi(e, o);
12228
+ return (o ? o.scope_ : Yr()).drafts_.push(n), n;
12126
12229
  }
12127
- function Ii(e) {
12128
- return I(e) || S(10, e), Yr(e);
12230
+ function Zi(e) {
12231
+ return U(e) || S(10, e), Xr(e);
12129
12232
  }
12130
- function Yr(e) {
12131
- if (!B(e) || Re(e))
12233
+ function Xr(e) {
12234
+ if (!N(e) || Re(e))
12132
12235
  return e;
12133
12236
  const o = e[_];
12134
12237
  let n;
12135
12238
  if (o) {
12136
12239
  if (!o.modified_)
12137
12240
  return o.base_;
12138
- o.finalized_ = !0, n = jo(e, o.scope_.immer_.useStrictShallowCopy_);
12241
+ o.finalized_ = !0, n = Lo(e, o.scope_.immer_.useStrictShallowCopy_);
12139
12242
  } else
12140
- n = jo(e, !0);
12243
+ n = Lo(e, !0);
12141
12244
  return Ae(n, (r, t) => {
12142
- $r(n, r, Yr(t));
12245
+ Qr(n, r, Xr(t));
12143
12246
  }), o && (o.finalized_ = !1), n;
12144
12247
  }
12145
- var M = new Vi(), Gr = M.produce;
12248
+ var M = new Ji(), Jr = M.produce;
12146
12249
  M.produceWithPatches.bind(
12147
12250
  M
12148
12251
  );
@@ -12151,7 +12254,7 @@ M.setUseStrictShallowCopy.bind(M);
12151
12254
  M.applyPatches.bind(M);
12152
12255
  M.createDraft.bind(M);
12153
12256
  M.finishDraft.bind(M);
12154
- function br(e, o) {
12257
+ function pr(e, o) {
12155
12258
  function n(...r) {
12156
12259
  if (o) {
12157
12260
  let t = o(...r);
@@ -12173,13 +12276,13 @@ function br(e, o) {
12173
12276
  payload: r[0]
12174
12277
  };
12175
12278
  }
12176
- return n.toString = () => `${e}`, n.type = e, n.match = (r) => Fi(r) && r.type === e, n;
12279
+ return n.toString = () => `${e}`, n.type = e, n.match = (r) => qi(r) && r.type === e, n;
12177
12280
  }
12178
- function hr(e) {
12179
- return B(e) ? Gr(e, () => {
12281
+ function mr(e) {
12282
+ return N(e) ? Jr(e, () => {
12180
12283
  }) : e;
12181
12284
  }
12182
- function pr(e, o, n) {
12285
+ function kr(e, o, n) {
12183
12286
  if (e.has(o)) {
12184
12287
  let t = e.get(o);
12185
12288
  return n.update && (t = n.update(t, o, e), e.set(o, t)), t;
@@ -12188,7 +12291,7 @@ function pr(e, o, n) {
12188
12291
  const r = n.insert(o, e);
12189
12292
  return e.set(o, r), r;
12190
12293
  }
12191
- function Xr(e) {
12294
+ function Zr(e) {
12192
12295
  const o = {}, n = [];
12193
12296
  let r;
12194
12297
  const t = {
@@ -12222,17 +12325,17 @@ function Xr(e) {
12222
12325
  };
12223
12326
  return e(t), [o, n, r];
12224
12327
  }
12225
- function Ui(e) {
12328
+ function es(e) {
12226
12329
  return typeof e == "function";
12227
12330
  }
12228
- function $i(e, o) {
12331
+ function os(e, o) {
12229
12332
  if (process.env.NODE_ENV !== "production" && typeof o == "object")
12230
12333
  throw new Error(process.env.NODE_ENV === "production" ? w(8) : "The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");
12231
- let [n, r, t] = Xr(o), a;
12232
- if (Ui(e))
12233
- a = () => hr(e());
12334
+ let [n, r, t] = Zr(o), a;
12335
+ if (es(e))
12336
+ a = () => mr(e());
12234
12337
  else {
12235
- const c = hr(e);
12338
+ const c = mr(e);
12236
12339
  a = () => c;
12237
12340
  }
12238
12341
  function l(c = a(), i) {
@@ -12243,12 +12346,12 @@ function $i(e, o) {
12243
12346
  }) => s)];
12244
12347
  return u.filter((s) => !!s).length === 0 && (u = [t]), u.reduce((s, d) => {
12245
12348
  if (d)
12246
- if (I(s)) {
12349
+ if (U(s)) {
12247
12350
  const g = d(s, i);
12248
12351
  return g === void 0 ? s : g;
12249
12352
  } else {
12250
- if (B(s))
12251
- return Gr(s, (f) => d(f, i));
12353
+ if (N(s))
12354
+ return Jr(s, (f) => d(f, i));
12252
12355
  {
12253
12356
  const f = d(s, i);
12254
12357
  if (f === void 0) {
@@ -12264,15 +12367,15 @@ function $i(e, o) {
12264
12367
  }
12265
12368
  return l.getInitialState = a, l;
12266
12369
  }
12267
- var Ki = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
12268
- function Qi(e, o) {
12370
+ var ns = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
12371
+ function rs(e, o) {
12269
12372
  return `${e}/${o}`;
12270
12373
  }
12271
- function Yi({
12374
+ function ts({
12272
12375
  creators: e
12273
12376
  } = {}) {
12274
12377
  var n;
12275
- const o = (n = e == null ? void 0 : e.asyncThunk) == null ? void 0 : n[Ki];
12378
+ const o = (n = e == null ? void 0 : e.asyncThunk) == null ? void 0 : n[ns];
12276
12379
  return function(t) {
12277
12380
  const {
12278
12381
  name: a,
@@ -12281,51 +12384,51 @@ function Yi({
12281
12384
  if (!a)
12282
12385
  throw new Error(process.env.NODE_ENV === "production" ? w(11) : "`name` is a required option for createSlice");
12283
12386
  typeof process < "u" && process.env.NODE_ENV === "development" && t.initialState === void 0 && console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");
12284
- const c = (typeof t.reducers == "function" ? t.reducers(Xi()) : t.reducers) || {}, i = Object.keys(c), u = {
12387
+ const c = (typeof t.reducers == "function" ? t.reducers(ls()) : t.reducers) || {}, i = Object.keys(c), u = {
12285
12388
  sliceCaseReducersByName: {},
12286
12389
  sliceCaseReducersByType: {},
12287
12390
  actionCreators: {},
12288
12391
  sliceMatchers: []
12289
12392
  }, s = {
12290
- addCase(h, m) {
12291
- const y = typeof h == "string" ? h : h.type;
12393
+ addCase(b, m) {
12394
+ const y = typeof b == "string" ? b : b.type;
12292
12395
  if (!y)
12293
12396
  throw new Error(process.env.NODE_ENV === "production" ? w(12) : "`context.addCase` cannot be called with an empty action type");
12294
12397
  if (y in u.sliceCaseReducersByType)
12295
12398
  throw new Error(process.env.NODE_ENV === "production" ? w(13) : "`context.addCase` cannot be called with two reducers for the same action type: " + y);
12296
12399
  return u.sliceCaseReducersByType[y] = m, s;
12297
12400
  },
12298
- addMatcher(h, m) {
12401
+ addMatcher(b, m) {
12299
12402
  return u.sliceMatchers.push({
12300
- matcher: h,
12403
+ matcher: b,
12301
12404
  reducer: m
12302
12405
  }), s;
12303
12406
  },
12304
- exposeAction(h, m) {
12305
- return u.actionCreators[h] = m, s;
12407
+ exposeAction(b, m) {
12408
+ return u.actionCreators[b] = m, s;
12306
12409
  },
12307
- exposeCaseReducer(h, m) {
12308
- return u.sliceCaseReducersByName[h] = m, s;
12410
+ exposeCaseReducer(b, m) {
12411
+ return u.sliceCaseReducersByName[b] = m, s;
12309
12412
  }
12310
12413
  };
12311
- i.forEach((h) => {
12312
- const m = c[h], y = {
12313
- reducerName: h,
12314
- type: Qi(a, h),
12414
+ i.forEach((b) => {
12415
+ const m = c[b], y = {
12416
+ reducerName: b,
12417
+ type: rs(a, b),
12315
12418
  createNotation: typeof t.reducers == "function"
12316
12419
  };
12317
- Zi(m) ? os(y, m, s, o) : Ji(y, m, s);
12420
+ is(m) ? us(y, m, s, o) : cs(y, m, s);
12318
12421
  });
12319
12422
  function d() {
12320
12423
  if (process.env.NODE_ENV !== "production" && typeof t.extraReducers == "object")
12321
12424
  throw new Error(process.env.NODE_ENV === "production" ? w(14) : "The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");
12322
- const [h = {}, m = [], y = void 0] = typeof t.extraReducers == "function" ? Xr(t.extraReducers) : [t.extraReducers], D = {
12323
- ...h,
12425
+ const [b = {}, m = [], y = void 0] = typeof t.extraReducers == "function" ? Zr(t.extraReducers) : [t.extraReducers], F = {
12426
+ ...b,
12324
12427
  ...u.sliceCaseReducersByType
12325
12428
  };
12326
- return $i(t.initialState, (C) => {
12327
- for (let v in D)
12328
- C.addCase(v, D[v]);
12429
+ return os(t.initialState, (C) => {
12430
+ for (let v in F)
12431
+ C.addCase(v, F[v]);
12329
12432
  for (let v of u.sliceMatchers)
12330
12433
  C.addMatcher(v.matcher, v.reducer);
12331
12434
  for (let v of m)
@@ -12333,17 +12436,17 @@ function Yi({
12333
12436
  y && C.addDefaultCase(y);
12334
12437
  });
12335
12438
  }
12336
- const f = (h) => h, g = /* @__PURE__ */ new Map();
12439
+ const f = (b) => b, g = /* @__PURE__ */ new Map();
12337
12440
  let p;
12338
- function k(h, m) {
12339
- return p || (p = d()), p(h, m);
12441
+ function k(b, m) {
12442
+ return p || (p = d()), p(b, m);
12340
12443
  }
12341
12444
  function z() {
12342
12445
  return p || (p = d()), p.getInitialState();
12343
12446
  }
12344
- function $(h, m = !1) {
12447
+ function K(b, m = !1) {
12345
12448
  function y(C) {
12346
- let v = C[h];
12449
+ let v = C[b];
12347
12450
  if (typeof v > "u") {
12348
12451
  if (m)
12349
12452
  v = z();
@@ -12352,53 +12455,53 @@ function Yi({
12352
12455
  }
12353
12456
  return v;
12354
12457
  }
12355
- function D(C = f) {
12356
- const v = pr(g, m, {
12458
+ function F(C = f) {
12459
+ const v = kr(g, m, {
12357
12460
  insert: () => /* @__PURE__ */ new WeakMap()
12358
12461
  });
12359
- return pr(v, C, {
12462
+ return kr(v, C, {
12360
12463
  insert: () => {
12361
12464
  const de = {};
12362
12465
  for (const [We, Ee] of Object.entries(t.selectors ?? {}))
12363
- de[We] = Gi(Ee, C, z, m);
12466
+ de[We] = as(Ee, C, z, m);
12364
12467
  return de;
12365
12468
  }
12366
12469
  });
12367
12470
  }
12368
12471
  return {
12369
- reducerPath: h,
12370
- getSelectors: D,
12472
+ reducerPath: b,
12473
+ getSelectors: F,
12371
12474
  get selectors() {
12372
- return D(y);
12475
+ return F(y);
12373
12476
  },
12374
12477
  selectSlice: y
12375
12478
  };
12376
12479
  }
12377
- const T = {
12480
+ const D = {
12378
12481
  name: a,
12379
12482
  reducer: k,
12380
12483
  actions: u.actionCreators,
12381
12484
  caseReducers: u.sliceCaseReducersByName,
12382
12485
  getInitialState: z,
12383
- ...$(l),
12384
- injectInto(h, {
12486
+ ...K(l),
12487
+ injectInto(b, {
12385
12488
  reducerPath: m,
12386
12489
  ...y
12387
12490
  } = {}) {
12388
- const D = m ?? l;
12389
- return h.inject({
12390
- reducerPath: D,
12491
+ const F = m ?? l;
12492
+ return b.inject({
12493
+ reducerPath: F,
12391
12494
  reducer: k
12392
12495
  }, y), {
12393
- ...T,
12394
- ...$(D, !0)
12496
+ ...D,
12497
+ ...K(F, !0)
12395
12498
  };
12396
12499
  }
12397
12500
  };
12398
- return T;
12501
+ return D;
12399
12502
  };
12400
12503
  }
12401
- function Gi(e, o, n, r) {
12504
+ function as(e, o, n, r) {
12402
12505
  function t(a, ...l) {
12403
12506
  let c = o(a);
12404
12507
  if (typeof c > "u") {
@@ -12411,8 +12514,8 @@ function Gi(e, o, n, r) {
12411
12514
  }
12412
12515
  return t.unwrapped = e, t;
12413
12516
  }
12414
- var ps = /* @__PURE__ */ Yi();
12415
- function Xi() {
12517
+ var Ms = /* @__PURE__ */ ts();
12518
+ function ls() {
12416
12519
  function e(o, n) {
12417
12520
  return {
12418
12521
  _reducerDefinitionType: "asyncThunk",
@@ -12443,27 +12546,27 @@ function Xi() {
12443
12546
  asyncThunk: e
12444
12547
  };
12445
12548
  }
12446
- function Ji({
12549
+ function cs({
12447
12550
  type: e,
12448
12551
  reducerName: o,
12449
12552
  createNotation: n
12450
12553
  }, r, t) {
12451
12554
  let a, l;
12452
12555
  if ("reducer" in r) {
12453
- if (n && !es(r))
12556
+ if (n && !ss(r))
12454
12557
  throw new Error(process.env.NODE_ENV === "production" ? w(17) : "Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");
12455
12558
  a = r.reducer, l = r.prepare;
12456
12559
  } else
12457
12560
  a = r;
12458
- t.addCase(e, a).exposeCaseReducer(o, a).exposeAction(o, l ? br(e, l) : br(e));
12561
+ t.addCase(e, a).exposeCaseReducer(o, a).exposeAction(o, l ? pr(e, l) : pr(e));
12459
12562
  }
12460
- function Zi(e) {
12563
+ function is(e) {
12461
12564
  return e._reducerDefinitionType === "asyncThunk";
12462
12565
  }
12463
- function es(e) {
12566
+ function ss(e) {
12464
12567
  return e._reducerDefinitionType === "reducerWithPrepare";
12465
12568
  }
12466
- function os({
12569
+ function us({
12467
12570
  type: e,
12468
12571
  reducerName: o
12469
12572
  }, n, r, t) {
@@ -12478,44 +12581,45 @@ function os({
12478
12581
  options: s
12479
12582
  } = n, d = t(e, a, s);
12480
12583
  r.exposeAction(o, d), l && r.addCase(d.fulfilled, l), c && r.addCase(d.pending, c), i && r.addCase(d.rejected, i), u && r.addMatcher(d.settled, u), r.exposeCaseReducer(o, {
12481
- fulfilled: l || he,
12482
- pending: c || he,
12483
- rejected: i || he,
12484
- settled: u || he
12584
+ fulfilled: l || be,
12585
+ pending: c || be,
12586
+ rejected: i || be,
12587
+ settled: u || be
12485
12588
  });
12486
12589
  }
12487
- function he() {
12590
+ function be() {
12488
12591
  }
12489
12592
  function w(e) {
12490
12593
  return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
12491
12594
  }
12492
12595
  export {
12493
- hs as A,
12494
- ss as C,
12495
- is as I,
12596
+ _s as A,
12597
+ ws as C,
12598
+ ks as I,
12496
12599
  x as R,
12497
12600
  A as S,
12498
- K as T,
12499
- ps as a,
12500
- gs as b,
12501
- ls as c,
12502
- kr as d,
12503
- Mc as e,
12504
- Aa as f,
12505
- cs as g,
12506
- Ko as h,
12507
- fs as i,
12508
- Tr as j,
12509
- ue as k,
12510
- ic as l,
12511
- Qo as m,
12512
- N as n,
12513
- ae as o,
12514
- rr as p,
12515
- hc as q,
12516
- Or as r,
12517
- us as s,
12518
- Rr as t,
12519
- bs as u,
12520
- ds as v
12601
+ ys as T,
12602
+ Ms as a,
12603
+ zs as b,
12604
+ ps as c,
12605
+ wr as d,
12606
+ Q as e,
12607
+ Ec as f,
12608
+ ms as g,
12609
+ Ra as h,
12610
+ xs as i,
12611
+ Qo as j,
12612
+ Fr as k,
12613
+ ue as l,
12614
+ mc as m,
12615
+ Yo as n,
12616
+ P as o,
12617
+ ae as p,
12618
+ ar as q,
12619
+ Dr as r,
12620
+ vs as s,
12621
+ zc as t,
12622
+ As as u,
12623
+ Er as v,
12624
+ Ss as w
12521
12625
  };