@servicetitan/anvil2 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/Button.cjs +1 -1
  2. package/Button.js +1 -1
  3. package/ButtonCompound.cjs +1 -1
  4. package/ButtonCompound.js +1 -1
  5. package/ButtonLink.cjs +1 -1
  6. package/ButtonLink.js +1 -1
  7. package/ButtonToggle.cjs +1 -1
  8. package/ButtonToggle.js +1 -1
  9. package/Combobox.cjs +1 -1
  10. package/Combobox.js +2 -2
  11. package/Details.cjs +1 -1
  12. package/Details.js +2 -2
  13. package/Dialog.cjs +1 -1
  14. package/Dialog.js +2 -2
  15. package/Link.cjs +1 -1
  16. package/Link.js +2 -2
  17. package/Overflow.cjs +1 -1
  18. package/Overflow.js +16 -16
  19. package/Popover.cjs +1 -1
  20. package/Popover.js +2 -2
  21. package/SideNav.cjs +5 -5
  22. package/SideNav.cjs.map +1 -1
  23. package/SideNav.d.ts +5 -35
  24. package/SideNav.js +524 -585
  25. package/SideNav.js.map +1 -1
  26. package/TextField.cjs +1 -1
  27. package/TextField.js +2 -2
  28. package/Textarea.cjs +1 -1
  29. package/Textarea.js +2 -2
  30. package/Tooltip.cjs +1 -1
  31. package/Tooltip.js +1 -1
  32. package/anvil2.cjs +1 -1
  33. package/anvil2.d.ts +6 -36
  34. package/anvil2.js +1 -1
  35. package/{index-43f4d750.cjs → index-51c8d206.cjs} +4 -4
  36. package/{index-43f4d750.cjs.map → index-51c8d206.cjs.map} +1 -1
  37. package/{index-91597e0a.js → index-a6d2f789.js} +139 -137
  38. package/{index-91597e0a.js.map → index-a6d2f789.js.map} +1 -1
  39. package/index3.css +1 -1
  40. package/package.json +12 -12
  41. package/{ui-react-c38ec008.js → ui-react-7152d718.js} +2 -2
  42. package/{ui-react-c38ec008.js.map → ui-react-7152d718.js.map} +1 -1
  43. package/{ui-react-ec7c804b.cjs → ui-react-7f005f46.cjs} +2 -2
  44. package/{ui-react-ec7c804b.cjs.map → ui-react-7f005f46.cjs.map} +1 -1
  45. package/useAccessibleColor.cjs +1 -1
  46. package/useAccessibleColor.js +1 -1
  47. package/useLinkStyles.cjs +1 -1
  48. package/useLinkStyles.js +1 -1
  49. package/useMergeRefs.cjs +1 -1
  50. package/useMergeRefs.js +1 -1
  51. package/usePrefersColorScheme.cjs +1 -1
  52. package/usePrefersColorScheme.js +1 -1
  53. package/useSwipe.cjs +1 -1
  54. package/useSwipe.js +1 -1
package/SideNav.js CHANGED
@@ -1,40 +1,40 @@
1
- import { j as oe } from "./jsx-runtime-82a9ddf6.js";
2
- import { _ as q, a as U, P as y, b as Qe, v as sr, O as cr, c as ur, M as fr } from "./SideNav-94ab00f0.js";
3
- import T, { forwardRef as ie, useMemo as lr, useCallback as pr } from "react";
4
- import { g as ke } from "./_commonjsHelpers-c5d32002.js";
5
- function Z(e) {
1
+ import { j as H } from "./jsx-runtime-82a9ddf6.js";
2
+ import { _ as W, a as j, P as _, b as nr, v as or, O as ir, c as ar, M as Ke } from "./SideNav-94ab00f0.js";
3
+ import T, { forwardRef as Q, useMemo as sr, useCallback as cr } from "react";
4
+ import { g as ur } from "./_commonjsHelpers-c5d32002.js";
5
+ function k(e) {
6
6
  return e.charAt(0) === "/";
7
7
  }
8
- function xe(e, r) {
8
+ function be(e, r) {
9
9
  for (var o = r, n = o + 1, t = e.length; n < t; o += 1, n += 1)
10
10
  e[o] = e[n];
11
11
  e.pop();
12
12
  }
13
- function dr(e, r) {
13
+ function fr(e, r) {
14
14
  r === void 0 && (r = "");
15
- var o = e && e.split("/") || [], n = r && r.split("/") || [], t = e && Z(e), c = r && Z(r), l = t || c;
16
- if (e && Z(e) ? n = o : o.length && (n.pop(), n = n.concat(o)), !n.length)
15
+ var o = e && e.split("/") || [], n = r && r.split("/") || [], t = e && k(e), c = r && k(r), p = t || c;
16
+ if (e && k(e) ? n = o : o.length && (n.pop(), n = n.concat(o)), !n.length)
17
17
  return "/";
18
18
  var u;
19
19
  if (n.length) {
20
- var p = n[n.length - 1];
21
- u = p === "." || p === ".." || p === "";
20
+ var d = n[n.length - 1];
21
+ u = d === "." || d === ".." || d === "";
22
22
  } else
23
23
  u = !1;
24
24
  for (var f = 0, s = n.length; s >= 0; s--) {
25
- var d = n[s];
26
- d === "." ? xe(n, s) : d === ".." ? (xe(n, s), f++) : f && (xe(n, s), f--);
25
+ var l = n[s];
26
+ l === "." ? be(n, s) : l === ".." ? (be(n, s), f++) : f && (be(n, s), f--);
27
27
  }
28
- if (!l)
28
+ if (!p)
29
29
  for (; f--; f)
30
30
  n.unshift("..");
31
- l && n[0] !== "" && (!n[0] || !Z(n[0])) && n.unshift("");
32
- var h = n.join("/");
33
- return u && h.substr(-1) !== "/" && (h += "/"), h;
31
+ p && n[0] !== "" && (!n[0] || !k(n[0])) && n.unshift("");
32
+ var v = n.join("/");
33
+ return u && v.substr(-1) !== "/" && (v += "/"), v;
34
34
  }
35
- var vr = process.env.NODE_ENV === "production";
35
+ var lr = process.env.NODE_ENV === "production";
36
36
  function A(e, r) {
37
- if (!vr) {
37
+ if (!lr) {
38
38
  if (e)
39
39
  return;
40
40
  var o = "Warning: " + r;
@@ -45,16 +45,16 @@ function A(e, r) {
45
45
  }
46
46
  }
47
47
  }
48
- var hr = process.env.NODE_ENV === "production", be = "Invariant failed";
49
- function j(e, r) {
48
+ var pr = process.env.NODE_ENV === "production", Re = "Invariant failed";
49
+ function Y(e, r) {
50
50
  if (!e) {
51
- if (hr)
52
- throw new Error(be);
53
- var o = typeof r == "function" ? r() : r, n = o ? "".concat(be, ": ").concat(o) : be;
51
+ if (pr)
52
+ throw new Error(Re);
53
+ var o = typeof r == "function" ? r() : r, n = o ? "".concat(Re, ": ").concat(o) : Re;
54
54
  throw new Error(n);
55
55
  }
56
56
  }
57
- function mr(e) {
57
+ function dr(e) {
58
58
  var r = e || "/", o = "", n = "", t = r.indexOf("#");
59
59
  t !== -1 && (n = r.substr(t), r = r.substr(0, t));
60
60
  var c = r.indexOf("?");
@@ -64,49 +64,49 @@ function mr(e) {
64
64
  hash: n === "#" ? "" : n
65
65
  };
66
66
  }
67
- function er(e) {
67
+ function Xe(e) {
68
68
  var r = e.pathname, o = e.search, n = e.hash, t = r || "/";
69
69
  return o && o !== "?" && (t += o.charAt(0) === "?" ? o : "?" + o), n && n !== "#" && (t += n.charAt(0) === "#" ? n : "#" + n), t;
70
70
  }
71
71
  function z(e, r, o, n) {
72
72
  var t;
73
- typeof e == "string" ? (t = mr(e), t.state = r) : (t = q({}, e), t.pathname === void 0 && (t.pathname = ""), t.search ? t.search.charAt(0) !== "?" && (t.search = "?" + t.search) : t.search = "", t.hash ? t.hash.charAt(0) !== "#" && (t.hash = "#" + t.hash) : t.hash = "", r !== void 0 && t.state === void 0 && (t.state = r));
73
+ typeof e == "string" ? (t = dr(e), t.state = r) : (t = W({}, e), t.pathname === void 0 && (t.pathname = ""), t.search ? t.search.charAt(0) !== "?" && (t.search = "?" + t.search) : t.search = "", t.hash ? t.hash.charAt(0) !== "#" && (t.hash = "#" + t.hash) : t.hash = "", r !== void 0 && t.state === void 0 && (t.state = r));
74
74
  try {
75
75
  t.pathname = decodeURI(t.pathname);
76
76
  } catch (c) {
77
77
  throw c instanceof URIError ? new URIError('Pathname "' + t.pathname + '" could not be decoded. This is likely caused by an invalid percent-encoding.') : c;
78
78
  }
79
- return o && (t.key = o), n ? t.pathname ? t.pathname.charAt(0) !== "/" && (t.pathname = dr(t.pathname, n.pathname)) : t.pathname = n.pathname : t.pathname || (t.pathname = "/"), t;
79
+ return o && (t.key = o), n ? t.pathname ? t.pathname.charAt(0) !== "/" && (t.pathname = fr(t.pathname, n.pathname)) : t.pathname = n.pathname : t.pathname || (t.pathname = "/"), t;
80
80
  }
81
- function yr() {
81
+ function vr() {
82
82
  var e = null;
83
- function r(l) {
84
- return process.env.NODE_ENV !== "production" && A(e == null, "A history supports only one prompt at a time"), e = l, function() {
85
- e === l && (e = null);
83
+ function r(p) {
84
+ return process.env.NODE_ENV !== "production" && A(e == null, "A history supports only one prompt at a time"), e = p, function() {
85
+ e === p && (e = null);
86
86
  };
87
87
  }
88
- function o(l, u, p, f) {
88
+ function o(p, u, d, f) {
89
89
  if (e != null) {
90
- var s = typeof e == "function" ? e(l, u) : e;
91
- typeof s == "string" ? typeof p == "function" ? p(s, f) : (process.env.NODE_ENV !== "production" && A(!1, "A history needs a getUserConfirmation function in order to use a prompt message"), f(!0)) : f(s !== !1);
90
+ var s = typeof e == "function" ? e(p, u) : e;
91
+ typeof s == "string" ? typeof d == "function" ? d(s, f) : (process.env.NODE_ENV !== "production" && A(!1, "A history needs a getUserConfirmation function in order to use a prompt message"), f(!0)) : f(s !== !1);
92
92
  } else
93
93
  f(!0);
94
94
  }
95
95
  var n = [];
96
- function t(l) {
96
+ function t(p) {
97
97
  var u = !0;
98
- function p() {
99
- u && l.apply(void 0, arguments);
98
+ function d() {
99
+ u && p.apply(void 0, arguments);
100
100
  }
101
- return n.push(p), function() {
101
+ return n.push(d), function() {
102
102
  u = !1, n = n.filter(function(f) {
103
- return f !== p;
103
+ return f !== d;
104
104
  });
105
105
  };
106
106
  }
107
107
  function c() {
108
- for (var l = arguments.length, u = new Array(l), p = 0; p < l; p++)
109
- u[p] = arguments[p];
108
+ for (var p = arguments.length, u = new Array(p), d = 0; d < p; d++)
109
+ u[d] = arguments[d];
110
110
  n.forEach(function(f) {
111
111
  return f.apply(void 0, u);
112
112
  });
@@ -118,50 +118,50 @@ function yr() {
118
118
  notifyListeners: c
119
119
  };
120
120
  }
121
- function De(e, r, o) {
121
+ function Oe(e, r, o) {
122
122
  return Math.min(Math.max(e, r), o);
123
123
  }
124
- function Er(e) {
124
+ function hr(e) {
125
125
  e === void 0 && (e = {});
126
- var r = e, o = r.getUserConfirmation, n = r.initialEntries, t = n === void 0 ? ["/"] : n, c = r.initialIndex, l = c === void 0 ? 0 : c, u = r.keyLength, p = u === void 0 ? 6 : u, f = yr();
126
+ var r = e, o = r.getUserConfirmation, n = r.initialEntries, t = n === void 0 ? ["/"] : n, c = r.initialIndex, p = c === void 0 ? 0 : c, u = r.keyLength, d = u === void 0 ? 6 : u, f = vr();
127
127
  function s(S) {
128
- q(P, S), P.length = P.entries.length, f.notifyListeners(P.location, P.action);
128
+ W(C, S), C.length = C.entries.length, f.notifyListeners(C.location, C.action);
129
129
  }
130
- function d() {
131
- return Math.random().toString(36).substr(2, p);
130
+ function l() {
131
+ return Math.random().toString(36).substr(2, d);
132
132
  }
133
- var h = De(l, 0, t.length - 1), v = t.map(function(S) {
134
- return typeof S == "string" ? z(S, void 0, d()) : z(S, void 0, S.key || d());
135
- }), m = er;
133
+ var v = Oe(p, 0, t.length - 1), h = t.map(function(S) {
134
+ return typeof S == "string" ? z(S, void 0, l()) : z(S, void 0, S.key || l());
135
+ }), m = Xe;
136
136
  function M(S, w) {
137
137
  process.env.NODE_ENV !== "production" && A(!(typeof S == "object" && S.state !== void 0 && w !== void 0), "You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");
138
- var I = "PUSH", O = z(S, w, d(), P.location);
139
- f.confirmTransitionTo(O, I, o, function(Y) {
140
- if (Y) {
141
- var H = P.index, F = H + 1, L = P.entries.slice(0);
142
- L.length > F ? L.splice(F, L.length - F, O) : L.push(O), s({
138
+ var I = "PUSH", O = z(S, w, l(), C.location);
139
+ f.confirmTransitionTo(O, I, o, function(L) {
140
+ if (L) {
141
+ var G = C.index, F = G + 1, V = C.entries.slice(0);
142
+ V.length > F ? V.splice(F, V.length - F, O) : V.push(O), s({
143
143
  action: I,
144
144
  location: O,
145
145
  index: F,
146
- entries: L
146
+ entries: V
147
147
  });
148
148
  }
149
149
  });
150
150
  }
151
- function C(S, w) {
151
+ function P(S, w) {
152
152
  process.env.NODE_ENV !== "production" && A(!(typeof S == "object" && S.state !== void 0 && w !== void 0), "You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");
153
- var I = "REPLACE", O = z(S, w, d(), P.location);
154
- f.confirmTransitionTo(O, I, o, function(Y) {
155
- Y && (P.entries[P.index] = O, s({
153
+ var I = "REPLACE", O = z(S, w, l(), C.location);
154
+ f.confirmTransitionTo(O, I, o, function(L) {
155
+ L && (C.entries[C.index] = O, s({
156
156
  action: I,
157
157
  location: O
158
158
  }));
159
159
  });
160
160
  }
161
161
  function N(S) {
162
- var w = De(P.index + S, 0, P.entries.length - 1), I = "POP", O = P.entries[w];
163
- f.confirmTransitionTo(O, I, o, function(Y) {
164
- Y ? s({
162
+ var w = Oe(C.index + S, 0, C.entries.length - 1), I = "POP", O = C.entries[w];
163
+ f.confirmTransitionTo(O, I, o, function(L) {
164
+ L ? s({
165
165
  action: I,
166
166
  location: O,
167
167
  index: w
@@ -171,12 +171,12 @@ function Er(e) {
171
171
  function D() {
172
172
  N(-1);
173
173
  }
174
- function _() {
174
+ function E() {
175
175
  N(1);
176
176
  }
177
- function E(S) {
178
- var w = P.index + S;
179
- return w >= 0 && w < P.entries.length;
177
+ function y(S) {
178
+ var w = C.index + S;
179
+ return w >= 0 && w < C.entries.length;
180
180
  }
181
181
  function i(S) {
182
182
  return S === void 0 && (S = !1), f.setPrompt(S);
@@ -184,33 +184,33 @@ function Er(e) {
184
184
  function $(S) {
185
185
  return f.appendListener(S);
186
186
  }
187
- var P = {
188
- length: v.length,
187
+ var C = {
188
+ length: h.length,
189
189
  action: "POP",
190
- location: v[h],
191
- index: h,
192
- entries: v,
190
+ location: h[v],
191
+ index: v,
192
+ entries: h,
193
193
  createHref: m,
194
194
  push: M,
195
- replace: C,
195
+ replace: P,
196
196
  go: N,
197
197
  goBack: D,
198
- goForward: _,
199
- canGo: E,
198
+ goForward: E,
199
+ canGo: y,
200
200
  block: i,
201
201
  listen: $
202
202
  };
203
- return P;
203
+ return C;
204
204
  }
205
- var B = { exports: {} }, _r = Array.isArray || function(e) {
205
+ var B = { exports: {} }, mr = Array.isArray || function(e) {
206
206
  return Object.prototype.toString.call(e) == "[object Array]";
207
- }, te = _r;
208
- B.exports = nr;
209
- B.exports.parse = Ce;
210
- B.exports.compile = br;
211
- B.exports.tokensToFunction = rr;
212
- B.exports.tokensToRegExp = tr;
213
- var xr = new RegExp([
207
+ }, oe = mr;
208
+ B.exports = Qe;
209
+ B.exports.parse = Ne;
210
+ B.exports.compile = Er;
211
+ B.exports.tokensToFunction = Je;
212
+ B.exports.tokensToRegExp = Ze;
213
+ var yr = new RegExp([
214
214
  // Match escaped characters that would otherwise appear in future matches.
215
215
  // This allows the user to escape special characters that won't transform.
216
216
  "(\\\\.)",
@@ -222,94 +222,94 @@ var xr = new RegExp([
222
222
  // "/*" => ["/", undefined, undefined, undefined, undefined, "*"]
223
223
  "([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"
224
224
  ].join("|"), "g");
225
- function Ce(e, r) {
226
- for (var o = [], n = 0, t = 0, c = "", l = r && r.delimiter || "/", u; (u = xr.exec(e)) != null; ) {
227
- var p = u[0], f = u[1], s = u.index;
228
- if (c += e.slice(t, s), t = s + p.length, f) {
225
+ function Ne(e, r) {
226
+ for (var o = [], n = 0, t = 0, c = "", p = r && r.delimiter || "/", u; (u = yr.exec(e)) != null; ) {
227
+ var d = u[0], f = u[1], s = u.index;
228
+ if (c += e.slice(t, s), t = s + d.length, f) {
229
229
  c += f[1];
230
230
  continue;
231
231
  }
232
- var d = e[t], h = u[2], v = u[3], m = u[4], M = u[5], C = u[6], N = u[7];
232
+ var l = e[t], v = u[2], h = u[3], m = u[4], M = u[5], P = u[6], N = u[7];
233
233
  c && (o.push(c), c = "");
234
- var D = h != null && d != null && d !== h, _ = C === "+" || C === "*", E = C === "?" || C === "*", i = u[2] || l, $ = m || M;
234
+ var D = v != null && l != null && l !== v, E = P === "+" || P === "*", y = P === "?" || P === "*", i = u[2] || p, $ = m || M;
235
235
  o.push({
236
- name: v || n++,
237
- prefix: h || "",
236
+ name: h || n++,
237
+ prefix: v || "",
238
238
  delimiter: i,
239
- optional: E,
240
- repeat: _,
239
+ optional: y,
240
+ repeat: E,
241
241
  partial: D,
242
242
  asterisk: !!N,
243
- pattern: $ ? Sr($) : N ? ".*" : "[^" + re(i) + "]+?"
243
+ pattern: $ ? br($) : N ? ".*" : "[^" + ne(i) + "]+?"
244
244
  });
245
245
  }
246
246
  return t < e.length && (c += e.substr(t)), c && o.push(c), o;
247
247
  }
248
- function br(e, r) {
249
- return rr(Ce(e, r), r);
248
+ function Er(e, r) {
249
+ return Je(Ne(e, r), r);
250
250
  }
251
- function gr(e) {
251
+ function _r(e) {
252
252
  return encodeURI(e).replace(/[\/?#]/g, function(r) {
253
253
  return "%" + r.charCodeAt(0).toString(16).toUpperCase();
254
254
  });
255
255
  }
256
- function Rr(e) {
256
+ function xr(e) {
257
257
  return encodeURI(e).replace(/[?#]/g, function(r) {
258
258
  return "%" + r.charCodeAt(0).toString(16).toUpperCase();
259
259
  });
260
260
  }
261
- function rr(e, r) {
261
+ function Je(e, r) {
262
262
  for (var o = new Array(e.length), n = 0; n < e.length; n++)
263
- typeof e[n] == "object" && (o[n] = new RegExp("^(?:" + e[n].pattern + ")$", $e(r)));
263
+ typeof e[n] == "object" && (o[n] = new RegExp("^(?:" + e[n].pattern + ")$", Ae(r)));
264
264
  return function(t, c) {
265
- for (var l = "", u = t || {}, p = c || {}, f = p.pretty ? gr : encodeURIComponent, s = 0; s < e.length; s++) {
266
- var d = e[s];
267
- if (typeof d == "string") {
268
- l += d;
265
+ for (var p = "", u = t || {}, d = c || {}, f = d.pretty ? _r : encodeURIComponent, s = 0; s < e.length; s++) {
266
+ var l = e[s];
267
+ if (typeof l == "string") {
268
+ p += l;
269
269
  continue;
270
270
  }
271
- var h = u[d.name], v;
272
- if (h == null)
273
- if (d.optional) {
274
- d.partial && (l += d.prefix);
271
+ var v = u[l.name], h;
272
+ if (v == null)
273
+ if (l.optional) {
274
+ l.partial && (p += l.prefix);
275
275
  continue;
276
276
  } else
277
- throw new TypeError('Expected "' + d.name + '" to be defined');
278
- if (te(h)) {
279
- if (!d.repeat)
280
- throw new TypeError('Expected "' + d.name + '" to not repeat, but received `' + JSON.stringify(h) + "`");
281
- if (h.length === 0) {
282
- if (d.optional)
277
+ throw new TypeError('Expected "' + l.name + '" to be defined');
278
+ if (oe(v)) {
279
+ if (!l.repeat)
280
+ throw new TypeError('Expected "' + l.name + '" to not repeat, but received `' + JSON.stringify(v) + "`");
281
+ if (v.length === 0) {
282
+ if (l.optional)
283
283
  continue;
284
- throw new TypeError('Expected "' + d.name + '" to not be empty');
284
+ throw new TypeError('Expected "' + l.name + '" to not be empty');
285
285
  }
286
- for (var m = 0; m < h.length; m++) {
287
- if (v = f(h[m]), !o[s].test(v))
288
- throw new TypeError('Expected all "' + d.name + '" to match "' + d.pattern + '", but received `' + JSON.stringify(v) + "`");
289
- l += (m === 0 ? d.prefix : d.delimiter) + v;
286
+ for (var m = 0; m < v.length; m++) {
287
+ if (h = f(v[m]), !o[s].test(h))
288
+ throw new TypeError('Expected all "' + l.name + '" to match "' + l.pattern + '", but received `' + JSON.stringify(h) + "`");
289
+ p += (m === 0 ? l.prefix : l.delimiter) + h;
290
290
  }
291
291
  continue;
292
292
  }
293
- if (v = d.asterisk ? Rr(h) : f(h), !o[s].test(v))
294
- throw new TypeError('Expected "' + d.name + '" to match "' + d.pattern + '", but received "' + v + '"');
295
- l += d.prefix + v;
293
+ if (h = l.asterisk ? xr(v) : f(v), !o[s].test(h))
294
+ throw new TypeError('Expected "' + l.name + '" to match "' + l.pattern + '", but received "' + h + '"');
295
+ p += l.prefix + h;
296
296
  }
297
- return l;
297
+ return p;
298
298
  };
299
299
  }
300
- function re(e) {
300
+ function ne(e) {
301
301
  return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g, "\\$1");
302
302
  }
303
- function Sr(e) {
303
+ function br(e) {
304
304
  return e.replace(/([=!:$\/()])/g, "\\$1");
305
305
  }
306
- function Ne(e, r) {
306
+ function $e(e, r) {
307
307
  return e.keys = r, e;
308
308
  }
309
- function $e(e) {
309
+ function Ae(e) {
310
310
  return e && e.sensitive ? "" : "i";
311
311
  }
312
- function Tr(e, r) {
312
+ function Rr(e, r) {
313
313
  var o = e.source.match(/\((?!\?)/g);
314
314
  if (o)
315
315
  for (var n = 0; n < o.length; n++)
@@ -323,45 +323,45 @@ function Tr(e, r) {
323
323
  asterisk: !1,
324
324
  pattern: null
325
325
  });
326
- return Ne(e, r);
326
+ return $e(e, r);
327
327
  }
328
- function Pr(e, r, o) {
328
+ function gr(e, r, o) {
329
329
  for (var n = [], t = 0; t < e.length; t++)
330
- n.push(nr(e[t], r, o).source);
331
- var c = new RegExp("(?:" + n.join("|") + ")", $e(o));
332
- return Ne(c, r);
330
+ n.push(Qe(e[t], r, o).source);
331
+ var c = new RegExp("(?:" + n.join("|") + ")", Ae(o));
332
+ return $e(c, r);
333
333
  }
334
- function Cr(e, r, o) {
335
- return tr(Ce(e, o), r, o);
334
+ function Sr(e, r, o) {
335
+ return Ze(Ne(e, o), r, o);
336
336
  }
337
- function tr(e, r, o) {
338
- te(r) || (o = /** @type {!Object} */
337
+ function Ze(e, r, o) {
338
+ oe(r) || (o = /** @type {!Object} */
339
339
  r || o, r = []), o = o || {};
340
- for (var n = o.strict, t = o.end !== !1, c = "", l = 0; l < e.length; l++) {
341
- var u = e[l];
340
+ for (var n = o.strict, t = o.end !== !1, c = "", p = 0; p < e.length; p++) {
341
+ var u = e[p];
342
342
  if (typeof u == "string")
343
- c += re(u);
343
+ c += ne(u);
344
344
  else {
345
- var p = re(u.prefix), f = "(?:" + u.pattern + ")";
346
- r.push(u), u.repeat && (f += "(?:" + p + f + ")*"), u.optional ? u.partial ? f = p + "(" + f + ")?" : f = "(?:" + p + "(" + f + "))?" : f = p + "(" + f + ")", c += f;
345
+ var d = ne(u.prefix), f = "(?:" + u.pattern + ")";
346
+ r.push(u), u.repeat && (f += "(?:" + d + f + ")*"), u.optional ? u.partial ? f = d + "(" + f + ")?" : f = "(?:" + d + "(" + f + "))?" : f = d + "(" + f + ")", c += f;
347
347
  }
348
348
  }
349
- var s = re(o.delimiter || "/"), d = c.slice(-s.length) === s;
350
- return n || (c = (d ? c.slice(0, -s.length) : c) + "(?:" + s + "(?=$))?"), t ? c += "$" : c += n && d ? "" : "(?=" + s + "|$)", Ne(new RegExp("^" + c, $e(o)), r);
349
+ var s = ne(o.delimiter || "/"), l = c.slice(-s.length) === s;
350
+ return n || (c = (l ? c.slice(0, -s.length) : c) + "(?:" + s + "(?=$))?"), t ? c += "$" : c += n && l ? "" : "(?=" + s + "|$)", $e(new RegExp("^" + c, Ae(o)), r);
351
351
  }
352
- function nr(e, r, o) {
353
- return te(r) || (o = /** @type {!Object} */
354
- r || o, r = []), o = o || {}, e instanceof RegExp ? Tr(
352
+ function Qe(e, r, o) {
353
+ return oe(r) || (o = /** @type {!Object} */
354
+ r || o, r = []), o = o || {}, e instanceof RegExp ? Rr(
355
355
  e,
356
356
  /** @type {!Array} */
357
357
  r
358
- ) : te(e) ? Pr(
358
+ ) : oe(e) ? gr(
359
359
  /** @type {!Array} */
360
360
  e,
361
361
  /** @type {!Array} */
362
362
  r,
363
363
  o
364
- ) : Cr(
364
+ ) : Sr(
365
365
  /** @type {string} */
366
366
  e,
367
367
  /** @type {!Array} */
@@ -369,9 +369,9 @@ function nr(e, r, o) {
369
369
  o
370
370
  );
371
371
  }
372
- var Nr = B.exports;
373
- const $r = /* @__PURE__ */ ke(Nr);
374
- var Se = { exports: {} }, x = {};
372
+ var Tr = B.exports;
373
+ const Cr = /* @__PURE__ */ ur(Tr);
374
+ var Te = { exports: {} }, x = {};
375
375
  /** @license React v16.13.1
376
376
  * react-is.production.min.js
377
377
  *
@@ -380,32 +380,32 @@ var Se = { exports: {} }, x = {};
380
380
  * This source code is licensed under the MIT license found in the
381
381
  * LICENSE file in the root directory of this source tree.
382
382
  */
383
- var Ie;
384
- function Ar() {
385
- if (Ie)
383
+ var De;
384
+ function Pr() {
385
+ if (De)
386
386
  return x;
387
- Ie = 1;
388
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, M = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
389
- function _(i) {
387
+ De = 1;
388
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, p = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, M = e ? Symbol.for("react.block") : 60121, P = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
389
+ function E(i) {
390
390
  if (typeof i == "object" && i !== null) {
391
391
  var $ = i.$$typeof;
392
392
  switch ($) {
393
393
  case r:
394
394
  switch (i = i.type, i) {
395
- case p:
395
+ case d:
396
396
  case f:
397
397
  case n:
398
398
  case c:
399
399
  case t:
400
- case d:
400
+ case l:
401
401
  return i;
402
402
  default:
403
403
  switch (i = i && i.$$typeof, i) {
404
404
  case u:
405
405
  case s:
406
406
  case m:
407
- case v:
408
- case l:
407
+ case h:
408
+ case p:
409
409
  return i;
410
410
  default:
411
411
  return $;
@@ -416,36 +416,36 @@ function Ar() {
416
416
  }
417
417
  }
418
418
  }
419
- function E(i) {
420
- return _(i) === f;
419
+ function y(i) {
420
+ return E(i) === f;
421
421
  }
422
- return x.AsyncMode = p, x.ConcurrentMode = f, x.ContextConsumer = u, x.ContextProvider = l, x.Element = r, x.ForwardRef = s, x.Fragment = n, x.Lazy = m, x.Memo = v, x.Portal = o, x.Profiler = c, x.StrictMode = t, x.Suspense = d, x.isAsyncMode = function(i) {
423
- return E(i) || _(i) === p;
424
- }, x.isConcurrentMode = E, x.isContextConsumer = function(i) {
425
- return _(i) === u;
422
+ return x.AsyncMode = d, x.ConcurrentMode = f, x.ContextConsumer = u, x.ContextProvider = p, x.Element = r, x.ForwardRef = s, x.Fragment = n, x.Lazy = m, x.Memo = h, x.Portal = o, x.Profiler = c, x.StrictMode = t, x.Suspense = l, x.isAsyncMode = function(i) {
423
+ return y(i) || E(i) === d;
424
+ }, x.isConcurrentMode = y, x.isContextConsumer = function(i) {
425
+ return E(i) === u;
426
426
  }, x.isContextProvider = function(i) {
427
- return _(i) === l;
427
+ return E(i) === p;
428
428
  }, x.isElement = function(i) {
429
429
  return typeof i == "object" && i !== null && i.$$typeof === r;
430
430
  }, x.isForwardRef = function(i) {
431
- return _(i) === s;
431
+ return E(i) === s;
432
432
  }, x.isFragment = function(i) {
433
- return _(i) === n;
433
+ return E(i) === n;
434
434
  }, x.isLazy = function(i) {
435
- return _(i) === m;
435
+ return E(i) === m;
436
436
  }, x.isMemo = function(i) {
437
- return _(i) === v;
437
+ return E(i) === h;
438
438
  }, x.isPortal = function(i) {
439
- return _(i) === o;
439
+ return E(i) === o;
440
440
  }, x.isProfiler = function(i) {
441
- return _(i) === c;
441
+ return E(i) === c;
442
442
  }, x.isStrictMode = function(i) {
443
- return _(i) === t;
443
+ return E(i) === t;
444
444
  }, x.isSuspense = function(i) {
445
- return _(i) === d;
445
+ return E(i) === l;
446
446
  }, x.isValidElementType = function(i) {
447
- return typeof i == "string" || typeof i == "function" || i === n || i === f || i === c || i === t || i === d || i === h || typeof i == "object" && i !== null && (i.$$typeof === m || i.$$typeof === v || i.$$typeof === l || i.$$typeof === u || i.$$typeof === s || i.$$typeof === C || i.$$typeof === N || i.$$typeof === D || i.$$typeof === M);
448
- }, x.typeOf = _, x;
447
+ return typeof i == "string" || typeof i == "function" || i === n || i === f || i === c || i === t || i === l || i === v || typeof i == "object" && i !== null && (i.$$typeof === m || i.$$typeof === h || i.$$typeof === p || i.$$typeof === u || i.$$typeof === s || i.$$typeof === P || i.$$typeof === N || i.$$typeof === D || i.$$typeof === M);
448
+ }, x.typeOf = E, x;
449
449
  }
450
450
  var b = {};
451
451
  /** @license React v16.13.1
@@ -456,91 +456,91 @@ var b = {};
456
456
  * This source code is licensed under the MIT license found in the
457
457
  * LICENSE file in the root directory of this source tree.
458
458
  */
459
- var Ye;
460
- function Mr() {
461
- return Ye || (Ye = 1, process.env.NODE_ENV !== "production" && function() {
462
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, M = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
463
- function _(a) {
459
+ var Ie;
460
+ function Nr() {
461
+ return Ie || (Ie = 1, process.env.NODE_ENV !== "production" && function() {
462
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, p = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, M = e ? Symbol.for("react.block") : 60121, P = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
463
+ function E(a) {
464
464
  return typeof a == "string" || typeof a == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
465
- a === n || a === f || a === c || a === t || a === d || a === h || typeof a == "object" && a !== null && (a.$$typeof === m || a.$$typeof === v || a.$$typeof === l || a.$$typeof === u || a.$$typeof === s || a.$$typeof === C || a.$$typeof === N || a.$$typeof === D || a.$$typeof === M);
465
+ a === n || a === f || a === c || a === t || a === l || a === v || typeof a == "object" && a !== null && (a.$$typeof === m || a.$$typeof === h || a.$$typeof === p || a.$$typeof === u || a.$$typeof === s || a.$$typeof === P || a.$$typeof === N || a.$$typeof === D || a.$$typeof === M);
466
466
  }
467
- function E(a) {
467
+ function y(a) {
468
468
  if (typeof a == "object" && a !== null) {
469
- var W = a.$$typeof;
470
- switch (W) {
469
+ var q = a.$$typeof;
470
+ switch (q) {
471
471
  case r:
472
- var V = a.type;
473
- switch (V) {
474
- case p:
472
+ var U = a.type;
473
+ switch (U) {
474
+ case d:
475
475
  case f:
476
476
  case n:
477
477
  case c:
478
478
  case t:
479
- case d:
480
- return V;
479
+ case l:
480
+ return U;
481
481
  default:
482
- var X = V && V.$$typeof;
483
- switch (X) {
482
+ var J = U && U.$$typeof;
483
+ switch (J) {
484
484
  case u:
485
485
  case s:
486
486
  case m:
487
- case v:
488
- case l:
489
- return X;
487
+ case h:
488
+ case p:
489
+ return J;
490
490
  default:
491
- return W;
491
+ return q;
492
492
  }
493
493
  }
494
494
  case o:
495
- return W;
495
+ return q;
496
496
  }
497
497
  }
498
498
  }
499
- var i = p, $ = f, P = u, S = l, w = r, I = s, O = n, Y = m, H = v, F = o, L = c, ae = t, se = d, G = !1;
500
- function ce(a) {
501
- return G || (G = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), K(a) || E(a) === p;
502
- }
503
- function K(a) {
504
- return E(a) === f;
505
- }
499
+ var i = d, $ = f, C = u, S = p, w = r, I = s, O = n, L = m, G = h, F = o, V = c, se = t, ce = l, K = !1;
506
500
  function ue(a) {
507
- return E(a) === u;
501
+ return K || (K = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), X(a) || y(a) === d;
502
+ }
503
+ function X(a) {
504
+ return y(a) === f;
508
505
  }
509
506
  function fe(a) {
510
- return E(a) === l;
507
+ return y(a) === u;
511
508
  }
512
509
  function le(a) {
513
- return typeof a == "object" && a !== null && a.$$typeof === r;
510
+ return y(a) === p;
514
511
  }
515
512
  function pe(a) {
516
- return E(a) === s;
513
+ return typeof a == "object" && a !== null && a.$$typeof === r;
517
514
  }
518
515
  function de(a) {
519
- return E(a) === n;
516
+ return y(a) === s;
520
517
  }
521
518
  function ve(a) {
522
- return E(a) === m;
519
+ return y(a) === n;
523
520
  }
524
521
  function he(a) {
525
- return E(a) === v;
522
+ return y(a) === m;
526
523
  }
527
524
  function me(a) {
528
- return E(a) === o;
525
+ return y(a) === h;
529
526
  }
530
527
  function ye(a) {
531
- return E(a) === c;
528
+ return y(a) === o;
532
529
  }
533
530
  function Ee(a) {
534
- return E(a) === t;
531
+ return y(a) === c;
535
532
  }
536
533
  function _e(a) {
537
- return E(a) === d;
534
+ return y(a) === t;
538
535
  }
539
- b.AsyncMode = i, b.ConcurrentMode = $, b.ContextConsumer = P, b.ContextProvider = S, b.Element = w, b.ForwardRef = I, b.Fragment = O, b.Lazy = Y, b.Memo = H, b.Portal = F, b.Profiler = L, b.StrictMode = ae, b.Suspense = se, b.isAsyncMode = ce, b.isConcurrentMode = K, b.isContextConsumer = ue, b.isContextProvider = fe, b.isElement = le, b.isForwardRef = pe, b.isFragment = de, b.isLazy = ve, b.isMemo = he, b.isPortal = me, b.isProfiler = ye, b.isStrictMode = Ee, b.isSuspense = _e, b.isValidElementType = _, b.typeOf = E;
536
+ function xe(a) {
537
+ return y(a) === l;
538
+ }
539
+ b.AsyncMode = i, b.ConcurrentMode = $, b.ContextConsumer = C, b.ContextProvider = S, b.Element = w, b.ForwardRef = I, b.Fragment = O, b.Lazy = L, b.Memo = G, b.Portal = F, b.Profiler = V, b.StrictMode = se, b.Suspense = ce, b.isAsyncMode = ue, b.isConcurrentMode = X, b.isContextConsumer = fe, b.isContextProvider = le, b.isElement = pe, b.isForwardRef = de, b.isFragment = ve, b.isLazy = he, b.isMemo = me, b.isPortal = ye, b.isProfiler = Ee, b.isStrictMode = _e, b.isSuspense = xe, b.isValidElementType = E, b.typeOf = y;
540
540
  }()), b;
541
541
  }
542
- process.env.NODE_ENV === "production" ? Se.exports = Ar() : Se.exports = Mr();
543
- var wr = Se.exports, Te = { exports: {} }, g = {};
542
+ process.env.NODE_ENV === "production" ? Te.exports = Pr() : Te.exports = Nr();
543
+ var $r = Te.exports, Ce = { exports: {} }, R = {};
544
544
  /** @license React v16.13.1
545
545
  * react-is.production.min.js
546
546
  *
@@ -549,32 +549,32 @@ var wr = Se.exports, Te = { exports: {} }, g = {};
549
549
  * This source code is licensed under the MIT license found in the
550
550
  * LICENSE file in the root directory of this source tree.
551
551
  */
552
- var Le;
553
- function Or() {
554
- if (Le)
555
- return g;
556
- Le = 1;
557
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, M = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
558
- function _(i) {
552
+ var Ye;
553
+ function Ar() {
554
+ if (Ye)
555
+ return R;
556
+ Ye = 1;
557
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, p = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, M = e ? Symbol.for("react.block") : 60121, P = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
558
+ function E(i) {
559
559
  if (typeof i == "object" && i !== null) {
560
560
  var $ = i.$$typeof;
561
561
  switch ($) {
562
562
  case r:
563
563
  switch (i = i.type, i) {
564
- case p:
564
+ case d:
565
565
  case f:
566
566
  case n:
567
567
  case c:
568
568
  case t:
569
- case d:
569
+ case l:
570
570
  return i;
571
571
  default:
572
572
  switch (i = i && i.$$typeof, i) {
573
573
  case u:
574
574
  case s:
575
575
  case m:
576
- case v:
577
- case l:
576
+ case h:
577
+ case p:
578
578
  return i;
579
579
  default:
580
580
  return $;
@@ -585,38 +585,38 @@ function Or() {
585
585
  }
586
586
  }
587
587
  }
588
- function E(i) {
589
- return _(i) === f;
588
+ function y(i) {
589
+ return E(i) === f;
590
590
  }
591
- return g.AsyncMode = p, g.ConcurrentMode = f, g.ContextConsumer = u, g.ContextProvider = l, g.Element = r, g.ForwardRef = s, g.Fragment = n, g.Lazy = m, g.Memo = v, g.Portal = o, g.Profiler = c, g.StrictMode = t, g.Suspense = d, g.isAsyncMode = function(i) {
592
- return E(i) || _(i) === p;
593
- }, g.isConcurrentMode = E, g.isContextConsumer = function(i) {
594
- return _(i) === u;
595
- }, g.isContextProvider = function(i) {
596
- return _(i) === l;
597
- }, g.isElement = function(i) {
591
+ return R.AsyncMode = d, R.ConcurrentMode = f, R.ContextConsumer = u, R.ContextProvider = p, R.Element = r, R.ForwardRef = s, R.Fragment = n, R.Lazy = m, R.Memo = h, R.Portal = o, R.Profiler = c, R.StrictMode = t, R.Suspense = l, R.isAsyncMode = function(i) {
592
+ return y(i) || E(i) === d;
593
+ }, R.isConcurrentMode = y, R.isContextConsumer = function(i) {
594
+ return E(i) === u;
595
+ }, R.isContextProvider = function(i) {
596
+ return E(i) === p;
597
+ }, R.isElement = function(i) {
598
598
  return typeof i == "object" && i !== null && i.$$typeof === r;
599
- }, g.isForwardRef = function(i) {
600
- return _(i) === s;
601
- }, g.isFragment = function(i) {
602
- return _(i) === n;
603
- }, g.isLazy = function(i) {
604
- return _(i) === m;
605
- }, g.isMemo = function(i) {
606
- return _(i) === v;
607
- }, g.isPortal = function(i) {
608
- return _(i) === o;
609
- }, g.isProfiler = function(i) {
610
- return _(i) === c;
611
- }, g.isStrictMode = function(i) {
612
- return _(i) === t;
613
- }, g.isSuspense = function(i) {
614
- return _(i) === d;
615
- }, g.isValidElementType = function(i) {
616
- return typeof i == "string" || typeof i == "function" || i === n || i === f || i === c || i === t || i === d || i === h || typeof i == "object" && i !== null && (i.$$typeof === m || i.$$typeof === v || i.$$typeof === l || i.$$typeof === u || i.$$typeof === s || i.$$typeof === C || i.$$typeof === N || i.$$typeof === D || i.$$typeof === M);
617
- }, g.typeOf = _, g;
599
+ }, R.isForwardRef = function(i) {
600
+ return E(i) === s;
601
+ }, R.isFragment = function(i) {
602
+ return E(i) === n;
603
+ }, R.isLazy = function(i) {
604
+ return E(i) === m;
605
+ }, R.isMemo = function(i) {
606
+ return E(i) === h;
607
+ }, R.isPortal = function(i) {
608
+ return E(i) === o;
609
+ }, R.isProfiler = function(i) {
610
+ return E(i) === c;
611
+ }, R.isStrictMode = function(i) {
612
+ return E(i) === t;
613
+ }, R.isSuspense = function(i) {
614
+ return E(i) === l;
615
+ }, R.isValidElementType = function(i) {
616
+ return typeof i == "string" || typeof i == "function" || i === n || i === f || i === c || i === t || i === l || i === v || typeof i == "object" && i !== null && (i.$$typeof === m || i.$$typeof === h || i.$$typeof === p || i.$$typeof === u || i.$$typeof === s || i.$$typeof === P || i.$$typeof === N || i.$$typeof === D || i.$$typeof === M);
617
+ }, R.typeOf = E, R;
618
618
  }
619
- var R = {};
619
+ var g = {};
620
620
  /** @license React v16.13.1
621
621
  * react-is.development.js
622
622
  *
@@ -625,165 +625,118 @@ var R = {};
625
625
  * This source code is licensed under the MIT license found in the
626
626
  * LICENSE file in the root directory of this source tree.
627
627
  */
628
- var Ve;
629
- function Dr() {
630
- return Ve || (Ve = 1, process.env.NODE_ENV !== "production" && function() {
631
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, M = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
632
- function _(a) {
628
+ var Le;
629
+ function Mr() {
630
+ return Le || (Le = 1, process.env.NODE_ENV !== "production" && function() {
631
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, p = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, M = e ? Symbol.for("react.block") : 60121, P = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
632
+ function E(a) {
633
633
  return typeof a == "string" || typeof a == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
634
- a === n || a === f || a === c || a === t || a === d || a === h || typeof a == "object" && a !== null && (a.$$typeof === m || a.$$typeof === v || a.$$typeof === l || a.$$typeof === u || a.$$typeof === s || a.$$typeof === C || a.$$typeof === N || a.$$typeof === D || a.$$typeof === M);
634
+ a === n || a === f || a === c || a === t || a === l || a === v || typeof a == "object" && a !== null && (a.$$typeof === m || a.$$typeof === h || a.$$typeof === p || a.$$typeof === u || a.$$typeof === s || a.$$typeof === P || a.$$typeof === N || a.$$typeof === D || a.$$typeof === M);
635
635
  }
636
- function E(a) {
636
+ function y(a) {
637
637
  if (typeof a == "object" && a !== null) {
638
- var W = a.$$typeof;
639
- switch (W) {
638
+ var q = a.$$typeof;
639
+ switch (q) {
640
640
  case r:
641
- var V = a.type;
642
- switch (V) {
643
- case p:
641
+ var U = a.type;
642
+ switch (U) {
643
+ case d:
644
644
  case f:
645
645
  case n:
646
646
  case c:
647
647
  case t:
648
- case d:
649
- return V;
648
+ case l:
649
+ return U;
650
650
  default:
651
- var X = V && V.$$typeof;
652
- switch (X) {
651
+ var J = U && U.$$typeof;
652
+ switch (J) {
653
653
  case u:
654
654
  case s:
655
655
  case m:
656
- case v:
657
- case l:
658
- return X;
656
+ case h:
657
+ case p:
658
+ return J;
659
659
  default:
660
- return W;
660
+ return q;
661
661
  }
662
662
  }
663
663
  case o:
664
- return W;
664
+ return q;
665
665
  }
666
666
  }
667
667
  }
668
- var i = p, $ = f, P = u, S = l, w = r, I = s, O = n, Y = m, H = v, F = o, L = c, ae = t, se = d, G = !1;
669
- function ce(a) {
670
- return G || (G = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), K(a) || E(a) === p;
671
- }
672
- function K(a) {
673
- return E(a) === f;
674
- }
668
+ var i = d, $ = f, C = u, S = p, w = r, I = s, O = n, L = m, G = h, F = o, V = c, se = t, ce = l, K = !1;
675
669
  function ue(a) {
676
- return E(a) === u;
670
+ return K || (K = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), X(a) || y(a) === d;
671
+ }
672
+ function X(a) {
673
+ return y(a) === f;
677
674
  }
678
675
  function fe(a) {
679
- return E(a) === l;
676
+ return y(a) === u;
680
677
  }
681
678
  function le(a) {
682
- return typeof a == "object" && a !== null && a.$$typeof === r;
679
+ return y(a) === p;
683
680
  }
684
681
  function pe(a) {
685
- return E(a) === s;
682
+ return typeof a == "object" && a !== null && a.$$typeof === r;
686
683
  }
687
684
  function de(a) {
688
- return E(a) === n;
685
+ return y(a) === s;
689
686
  }
690
687
  function ve(a) {
691
- return E(a) === m;
688
+ return y(a) === n;
692
689
  }
693
690
  function he(a) {
694
- return E(a) === v;
691
+ return y(a) === m;
695
692
  }
696
693
  function me(a) {
697
- return E(a) === o;
694
+ return y(a) === h;
698
695
  }
699
696
  function ye(a) {
700
- return E(a) === c;
697
+ return y(a) === o;
701
698
  }
702
699
  function Ee(a) {
703
- return E(a) === t;
700
+ return y(a) === c;
704
701
  }
705
702
  function _e(a) {
706
- return E(a) === d;
703
+ return y(a) === t;
704
+ }
705
+ function xe(a) {
706
+ return y(a) === l;
707
707
  }
708
- R.AsyncMode = i, R.ConcurrentMode = $, R.ContextConsumer = P, R.ContextProvider = S, R.Element = w, R.ForwardRef = I, R.Fragment = O, R.Lazy = Y, R.Memo = H, R.Portal = F, R.Profiler = L, R.StrictMode = ae, R.Suspense = se, R.isAsyncMode = ce, R.isConcurrentMode = K, R.isContextConsumer = ue, R.isContextProvider = fe, R.isElement = le, R.isForwardRef = pe, R.isFragment = de, R.isLazy = ve, R.isMemo = he, R.isPortal = me, R.isProfiler = ye, R.isStrictMode = Ee, R.isSuspense = _e, R.isValidElementType = _, R.typeOf = E;
709
- }()), R;
708
+ g.AsyncMode = i, g.ConcurrentMode = $, g.ContextConsumer = C, g.ContextProvider = S, g.Element = w, g.ForwardRef = I, g.Fragment = O, g.Lazy = L, g.Memo = G, g.Portal = F, g.Profiler = V, g.StrictMode = se, g.Suspense = ce, g.isAsyncMode = ue, g.isConcurrentMode = X, g.isContextConsumer = fe, g.isContextProvider = le, g.isElement = pe, g.isForwardRef = de, g.isFragment = ve, g.isLazy = he, g.isMemo = me, g.isPortal = ye, g.isProfiler = Ee, g.isStrictMode = _e, g.isSuspense = xe, g.isValidElementType = E, g.typeOf = y;
709
+ }()), g;
710
710
  }
711
- process.env.NODE_ENV === "production" ? Te.exports = Or() : Te.exports = Dr();
712
- var Ir = Te.exports, Ae = Ir, Yr = {
713
- childContextTypes: !0,
714
- contextType: !0,
715
- contextTypes: !0,
716
- defaultProps: !0,
717
- displayName: !0,
718
- getDefaultProps: !0,
719
- getDerivedStateFromError: !0,
720
- getDerivedStateFromProps: !0,
721
- mixins: !0,
722
- propTypes: !0,
723
- type: !0
724
- }, Lr = {
725
- name: !0,
726
- length: !0,
727
- prototype: !0,
728
- caller: !0,
729
- callee: !0,
730
- arguments: !0,
731
- arity: !0
732
- }, Vr = {
711
+ process.env.NODE_ENV === "production" ? Ce.exports = Ar() : Ce.exports = Mr();
712
+ var wr = Ce.exports, ke = wr, Or = {
733
713
  $$typeof: !0,
734
714
  render: !0,
735
715
  defaultProps: !0,
736
716
  displayName: !0,
737
717
  propTypes: !0
738
- }, or = {
718
+ }, Dr = {
739
719
  $$typeof: !0,
740
720
  compare: !0,
741
721
  defaultProps: !0,
742
722
  displayName: !0,
743
723
  propTypes: !0,
744
724
  type: !0
745
- }, Me = {};
746
- Me[Ae.ForwardRef] = Vr;
747
- Me[Ae.Memo] = or;
748
- function Fe(e) {
749
- return Ae.isMemo(e) ? or : Me[e.$$typeof] || Yr;
750
- }
751
- var Fr = Object.defineProperty, Ur = Object.getOwnPropertyNames, Ue = Object.getOwnPropertySymbols, jr = Object.getOwnPropertyDescriptor, qr = Object.getPrototypeOf, je = Object.prototype;
752
- function ir(e, r, o) {
753
- if (typeof r != "string") {
754
- if (je) {
755
- var n = qr(r);
756
- n && n !== je && ir(e, n, o);
757
- }
758
- var t = Ur(r);
759
- Ue && (t = t.concat(Ue(r)));
760
- for (var c = Fe(e), l = Fe(r), u = 0; u < t.length; ++u) {
761
- var p = t[u];
762
- if (!Lr[p] && !(o && o[p]) && !(l && l[p]) && !(c && c[p])) {
763
- var f = jr(r, p);
764
- try {
765
- Fr(e, p, f);
766
- } catch {
767
- }
768
- }
769
- }
770
- }
771
- return e;
772
- }
773
- var Wr = ir;
774
- const zr = /* @__PURE__ */ ke(Wr);
775
- var Q = 1073741823, qe = typeof globalThis < "u" ? (
725
+ }, er = {};
726
+ er[ke.ForwardRef] = Or;
727
+ er[ke.Memo] = Dr;
728
+ var ee = 1073741823, Ve = typeof globalThis < "u" ? (
776
729
  // eslint-disable-next-line no-undef
777
730
  globalThis
778
731
  ) : typeof window < "u" ? window : typeof global < "u" ? global : {};
779
- function Br() {
732
+ function Ir() {
780
733
  var e = "__global_unique_id__";
781
- return qe[e] = (qe[e] || 0) + 1;
734
+ return Ve[e] = (Ve[e] || 0) + 1;
782
735
  }
783
- function Hr(e, r) {
736
+ function Yr(e, r) {
784
737
  return e === r ? e !== 0 || 1 / e === 1 / r : e !== e && r !== r;
785
738
  }
786
- function Gr(e) {
739
+ function Lr(e) {
787
740
  var r = [];
788
741
  return {
789
742
  on: function(n) {
@@ -804,71 +757,71 @@ function Gr(e) {
804
757
  }
805
758
  };
806
759
  }
807
- function Kr(e) {
760
+ function Vr(e) {
808
761
  return Array.isArray(e) ? e[0] : e;
809
762
  }
810
- function Xr(e, r) {
811
- var o, n, t = "__create-react-context-" + Br() + "__", c = /* @__PURE__ */ function(u) {
812
- U(p, u);
813
- function p() {
814
- for (var s, d = arguments.length, h = new Array(d), v = 0; v < d; v++)
815
- h[v] = arguments[v];
816
- return s = u.call.apply(u, [this].concat(h)) || this, s.emitter = Gr(s.props.value), s;
763
+ function Ur(e, r) {
764
+ var o, n, t = "__create-react-context-" + Ir() + "__", c = /* @__PURE__ */ function(u) {
765
+ j(d, u);
766
+ function d() {
767
+ for (var s, l = arguments.length, v = new Array(l), h = 0; h < l; h++)
768
+ v[h] = arguments[h];
769
+ return s = u.call.apply(u, [this].concat(v)) || this, s.emitter = Lr(s.props.value), s;
817
770
  }
818
- var f = p.prototype;
771
+ var f = d.prototype;
819
772
  return f.getChildContext = function() {
820
- var d;
821
- return d = {}, d[t] = this.emitter, d;
822
- }, f.componentWillReceiveProps = function(d) {
823
- if (this.props.value !== d.value) {
824
- var h = this.props.value, v = d.value, m;
825
- Hr(h, v) ? m = 0 : (m = typeof r == "function" ? r(h, v) : Q, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && A((m & Q) === m, "calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: " + m), m |= 0, m !== 0 && this.emitter.set(d.value, m));
773
+ var l;
774
+ return l = {}, l[t] = this.emitter, l;
775
+ }, f.componentWillReceiveProps = function(l) {
776
+ if (this.props.value !== l.value) {
777
+ var v = this.props.value, h = l.value, m;
778
+ Yr(v, h) ? m = 0 : (m = typeof r == "function" ? r(v, h) : ee, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && A((m & ee) === m, "calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: " + m), m |= 0, m !== 0 && this.emitter.set(l.value, m));
826
779
  }
827
780
  }, f.render = function() {
828
781
  return this.props.children;
829
- }, p;
782
+ }, d;
830
783
  }(T.Component);
831
- c.childContextTypes = (o = {}, o[t] = y.object.isRequired, o);
832
- var l = /* @__PURE__ */ function(u) {
833
- U(p, u);
834
- function p() {
835
- for (var s, d = arguments.length, h = new Array(d), v = 0; v < d; v++)
836
- h[v] = arguments[v];
837
- return s = u.call.apply(u, [this].concat(h)) || this, s.observedBits = void 0, s.state = {
784
+ c.childContextTypes = (o = {}, o[t] = _.object.isRequired, o);
785
+ var p = /* @__PURE__ */ function(u) {
786
+ j(d, u);
787
+ function d() {
788
+ for (var s, l = arguments.length, v = new Array(l), h = 0; h < l; h++)
789
+ v[h] = arguments[h];
790
+ return s = u.call.apply(u, [this].concat(v)) || this, s.observedBits = void 0, s.state = {
838
791
  value: s.getValue()
839
792
  }, s.onUpdate = function(m, M) {
840
- var C = s.observedBits | 0;
841
- C & M && s.setState({
793
+ var P = s.observedBits | 0;
794
+ P & M && s.setState({
842
795
  value: s.getValue()
843
796
  });
844
797
  }, s;
845
798
  }
846
- var f = p.prototype;
847
- return f.componentWillReceiveProps = function(d) {
848
- var h = d.observedBits;
849
- this.observedBits = h ?? Q;
799
+ var f = d.prototype;
800
+ return f.componentWillReceiveProps = function(l) {
801
+ var v = l.observedBits;
802
+ this.observedBits = v ?? ee;
850
803
  }, f.componentDidMount = function() {
851
804
  this.context[t] && this.context[t].on(this.onUpdate);
852
- var d = this.props.observedBits;
853
- this.observedBits = d ?? Q;
805
+ var l = this.props.observedBits;
806
+ this.observedBits = l ?? ee;
854
807
  }, f.componentWillUnmount = function() {
855
808
  this.context[t] && this.context[t].off(this.onUpdate);
856
809
  }, f.getValue = function() {
857
810
  return this.context[t] ? this.context[t].get() : e;
858
811
  }, f.render = function() {
859
- return Kr(this.props.children)(this.state.value);
860
- }, p;
812
+ return Vr(this.props.children)(this.state.value);
813
+ }, d;
861
814
  }(T.Component);
862
- return l.contextTypes = (n = {}, n[t] = y.object, n), {
815
+ return p.contextTypes = (n = {}, n[t] = _.object, n), {
863
816
  Provider: c,
864
- Consumer: l
817
+ Consumer: p
865
818
  };
866
819
  }
867
- var Jr = T.createContext || Xr, ar = function(r) {
868
- var o = Jr();
820
+ var Fr = T.createContext || Ur, rr = function(r) {
821
+ var o = Fr();
869
822
  return o.displayName = r, o;
870
- }, Zr = /* @__PURE__ */ ar("Router-History"), J = /* @__PURE__ */ ar("Router"), ne = /* @__PURE__ */ function(e) {
871
- U(r, e), r.computeRootMatch = function(t) {
823
+ }, tr = /* @__PURE__ */ rr("Router-History"), Z = /* @__PURE__ */ rr("Router"), ie = /* @__PURE__ */ function(e) {
824
+ j(r, e), r.computeRootMatch = function(t) {
872
825
  return {
873
826
  path: "/",
874
827
  url: "/",
@@ -897,94 +850,94 @@ var Jr = T.createContext || Xr, ar = function(r) {
897
850
  }, o.componentWillUnmount = function() {
898
851
  this.unlisten && (this.unlisten(), this._isMounted = !1, this._pendingLocation = null);
899
852
  }, o.render = function() {
900
- return /* @__PURE__ */ T.createElement(J.Provider, {
853
+ return /* @__PURE__ */ T.createElement(Z.Provider, {
901
854
  value: {
902
855
  history: this.props.history,
903
856
  location: this.state.location,
904
857
  match: r.computeRootMatch(this.state.location.pathname),
905
858
  staticContext: this.props.staticContext
906
859
  }
907
- }, /* @__PURE__ */ T.createElement(Zr.Provider, {
860
+ }, /* @__PURE__ */ T.createElement(tr.Provider, {
908
861
  children: this.props.children || null,
909
862
  value: this.props.history
910
863
  }));
911
864
  }, r;
912
865
  }(T.Component);
913
- process.env.NODE_ENV !== "production" && (ne.propTypes = {
914
- children: y.node,
915
- history: y.object.isRequired,
916
- staticContext: y.object
917
- }, ne.prototype.componentDidUpdate = function(e) {
866
+ process.env.NODE_ENV !== "production" && (ie.propTypes = {
867
+ children: _.node,
868
+ history: _.object.isRequired,
869
+ staticContext: _.object
870
+ }, ie.prototype.componentDidUpdate = function(e) {
918
871
  process.env.NODE_ENV !== "production" && A(e.history === this.props.history, "You cannot change <Router history>");
919
872
  });
920
- var We = /* @__PURE__ */ function(e) {
921
- U(r, e);
873
+ var Ue = /* @__PURE__ */ function(e) {
874
+ j(r, e);
922
875
  function r() {
923
- for (var n, t = arguments.length, c = new Array(t), l = 0; l < t; l++)
924
- c[l] = arguments[l];
925
- return n = e.call.apply(e, [this].concat(c)) || this, n.history = Er(n.props), n;
876
+ for (var n, t = arguments.length, c = new Array(t), p = 0; p < t; p++)
877
+ c[p] = arguments[p];
878
+ return n = e.call.apply(e, [this].concat(c)) || this, n.history = hr(n.props), n;
926
879
  }
927
880
  var o = r.prototype;
928
881
  return o.render = function() {
929
- return /* @__PURE__ */ T.createElement(ne, {
882
+ return /* @__PURE__ */ T.createElement(ie, {
930
883
  history: this.history,
931
884
  children: this.props.children
932
885
  });
933
886
  }, r;
934
887
  }(T.Component);
935
- process.env.NODE_ENV !== "production" && (We.propTypes = {
936
- initialEntries: y.array,
937
- initialIndex: y.number,
938
- getUserConfirmation: y.func,
939
- keyLength: y.number,
940
- children: y.node
941
- }, We.prototype.componentDidMount = function() {
888
+ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
889
+ initialEntries: _.array,
890
+ initialIndex: _.number,
891
+ getUserConfirmation: _.func,
892
+ keyLength: _.number,
893
+ children: _.node
894
+ }, Ue.prototype.componentDidMount = function() {
942
895
  process.env.NODE_ENV !== "production" && A(!this.props.history, "<MemoryRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.");
943
896
  });
944
897
  T.Component;
945
898
  if (process.env.NODE_ENV !== "production") {
946
- var Qr = y.oneOfType([y.func, y.string]);
947
- y.bool, Qr.isRequired;
899
+ var jr = _.oneOfType([_.func, _.string]);
900
+ _.bool, jr.isRequired;
948
901
  }
949
- process.env.NODE_ENV !== "production" && (y.bool, y.string, y.oneOfType([y.string, y.object]).isRequired);
950
- var ze = {}, kr = 1e4, Be = 0;
951
- function et(e, r) {
952
- var o = "" + r.end + r.strict + r.sensitive, n = ze[o] || (ze[o] = {});
902
+ process.env.NODE_ENV !== "production" && (_.bool, _.string, _.oneOfType([_.string, _.object]).isRequired);
903
+ var Fe = {}, qr = 1e4, je = 0;
904
+ function Wr(e, r) {
905
+ var o = "" + r.end + r.strict + r.sensitive, n = Fe[o] || (Fe[o] = {});
953
906
  if (n[e])
954
907
  return n[e];
955
- var t = [], c = $r(e, t, r), l = {
908
+ var t = [], c = Cr(e, t, r), p = {
956
909
  regexp: c,
957
910
  keys: t
958
911
  };
959
- return Be < kr && (n[e] = l, Be++), l;
912
+ return je < qr && (n[e] = p, je++), p;
960
913
  }
961
- function we(e, r) {
914
+ function Me(e, r) {
962
915
  r === void 0 && (r = {}), (typeof r == "string" || Array.isArray(r)) && (r = {
963
916
  path: r
964
917
  });
965
- var o = r, n = o.path, t = o.exact, c = t === void 0 ? !1 : t, l = o.strict, u = l === void 0 ? !1 : l, p = o.sensitive, f = p === void 0 ? !1 : p, s = [].concat(n);
966
- return s.reduce(function(d, h) {
967
- if (!h && h !== "")
918
+ var o = r, n = o.path, t = o.exact, c = t === void 0 ? !1 : t, p = o.strict, u = p === void 0 ? !1 : p, d = o.sensitive, f = d === void 0 ? !1 : d, s = [].concat(n);
919
+ return s.reduce(function(l, v) {
920
+ if (!v && v !== "")
968
921
  return null;
969
- if (d)
970
- return d;
971
- var v = et(h, {
922
+ if (l)
923
+ return l;
924
+ var h = Wr(v, {
972
925
  end: c,
973
926
  strict: u,
974
927
  sensitive: f
975
- }), m = v.regexp, M = v.keys, C = m.exec(e);
976
- if (!C)
928
+ }), m = h.regexp, M = h.keys, P = m.exec(e);
929
+ if (!P)
977
930
  return null;
978
- var N = C[0], D = C.slice(1), _ = e === N;
979
- return c && !_ ? null : {
980
- path: h,
931
+ var N = P[0], D = P.slice(1), E = e === N;
932
+ return c && !E ? null : {
933
+ path: v,
981
934
  // the path used to match
982
- url: h === "/" && N === "" ? "/" : N,
935
+ url: v === "/" && N === "" ? "/" : N,
983
936
  // the matched portion of the URL
984
- isExact: _,
937
+ isExact: E,
985
938
  // whether or not we matched exactly
986
- params: M.reduce(function(E, i, $) {
987
- return E[i.name] = D[$], E;
939
+ params: M.reduce(function(y, i, $) {
940
+ return y[i.name] = D[$], y;
988
941
  }, {})
989
942
  };
990
943
  }, null);
@@ -992,236 +945,222 @@ function we(e, r) {
992
945
  function Pe(e) {
993
946
  return T.Children.count(e) === 0;
994
947
  }
995
- function He(e, r, o) {
948
+ function qe(e, r, o) {
996
949
  var n = e(r);
997
950
  return process.env.NODE_ENV !== "production" && A(n !== void 0, "You returned `undefined` from the `children` function of " + ("<Route" + (o ? ' path="' + o + '"' : "") + ">, but you ") + "should have returned a React element or `null`"), n || null;
998
951
  }
999
952
  var ge = /* @__PURE__ */ function(e) {
1000
- U(r, e);
953
+ j(r, e);
1001
954
  function r() {
1002
955
  return e.apply(this, arguments) || this;
1003
956
  }
1004
957
  var o = r.prototype;
1005
958
  return o.render = function() {
1006
959
  var t = this;
1007
- return /* @__PURE__ */ T.createElement(J.Consumer, null, function(c) {
1008
- c || (process.env.NODE_ENV !== "production" ? j(!1, "You should not use <Route> outside a <Router>") : j(!1));
1009
- var l = t.props.location || c.location, u = t.props.computedMatch ? t.props.computedMatch : t.props.path ? we(l.pathname, t.props) : c.match, p = q({}, c, {
1010
- location: l,
960
+ return /* @__PURE__ */ T.createElement(Z.Consumer, null, function(c) {
961
+ c || (process.env.NODE_ENV !== "production" ? Y(!1, "You should not use <Route> outside a <Router>") : Y(!1));
962
+ var p = t.props.location || c.location, u = t.props.computedMatch ? t.props.computedMatch : t.props.path ? Me(p.pathname, t.props) : c.match, d = W({}, c, {
963
+ location: p,
1011
964
  match: u
1012
- }), f = t.props, s = f.children, d = f.component, h = f.render;
1013
- return Array.isArray(s) && Pe(s) && (s = null), /* @__PURE__ */ T.createElement(J.Provider, {
1014
- value: p
1015
- }, p.match ? s ? typeof s == "function" ? process.env.NODE_ENV !== "production" ? He(s, p, t.props.path) : s(p) : s : d ? /* @__PURE__ */ T.createElement(d, p) : h ? h(p) : null : typeof s == "function" ? process.env.NODE_ENV !== "production" ? He(s, p, t.props.path) : s(p) : null);
965
+ }), f = t.props, s = f.children, l = f.component, v = f.render;
966
+ return Array.isArray(s) && Pe(s) && (s = null), /* @__PURE__ */ T.createElement(Z.Provider, {
967
+ value: d
968
+ }, d.match ? s ? typeof s == "function" ? process.env.NODE_ENV !== "production" ? qe(s, d, t.props.path) : s(d) : s : l ? /* @__PURE__ */ T.createElement(l, d) : v ? v(d) : null : typeof s == "function" ? process.env.NODE_ENV !== "production" ? qe(s, d, t.props.path) : s(d) : null);
1016
969
  });
1017
970
  }, r;
1018
971
  }(T.Component);
1019
972
  process.env.NODE_ENV !== "production" && (ge.propTypes = {
1020
- children: y.oneOfType([y.func, y.node]),
973
+ children: _.oneOfType([_.func, _.node]),
1021
974
  component: function(r, o) {
1022
- if (r[o] && !wr.isValidElementType(r[o]))
975
+ if (r[o] && !$r.isValidElementType(r[o]))
1023
976
  return new Error("Invalid prop 'component' supplied to 'Route': the prop is not a valid React component");
1024
977
  },
1025
- exact: y.bool,
1026
- location: y.object,
1027
- path: y.oneOfType([y.string, y.arrayOf(y.string)]),
1028
- render: y.func,
1029
- sensitive: y.bool,
1030
- strict: y.bool
978
+ exact: _.bool,
979
+ location: _.object,
980
+ path: _.oneOfType([_.string, _.arrayOf(_.string)]),
981
+ render: _.func,
982
+ sensitive: _.bool,
983
+ strict: _.bool
1031
984
  }, ge.prototype.componentDidMount = function() {
1032
985
  process.env.NODE_ENV !== "production" && A(!(this.props.children && !Pe(this.props.children) && this.props.component), "You should not use <Route component> and <Route children> in the same route; <Route component> will be ignored"), process.env.NODE_ENV !== "production" && A(!(this.props.children && !Pe(this.props.children) && this.props.render), "You should not use <Route render> and <Route children> in the same route; <Route render> will be ignored"), process.env.NODE_ENV !== "production" && A(!(this.props.component && this.props.render), "You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored");
1033
986
  }, ge.prototype.componentDidUpdate = function(e) {
1034
987
  process.env.NODE_ENV !== "production" && A(!(this.props.location && !e.location), '<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'), process.env.NODE_ENV !== "production" && A(!(!this.props.location && e.location), '<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.');
1035
988
  });
1036
- function Oe(e) {
989
+ function we(e) {
1037
990
  return e.charAt(0) === "/" ? e : "/" + e;
1038
991
  }
1039
- function rt(e, r) {
1040
- return e ? q({}, r, {
1041
- pathname: Oe(e) + r.pathname
992
+ function zr(e, r) {
993
+ return e ? W({}, r, {
994
+ pathname: we(e) + r.pathname
1042
995
  }) : r;
1043
996
  }
1044
- function tt(e, r) {
997
+ function Hr(e, r) {
1045
998
  if (!e)
1046
999
  return r;
1047
- var o = Oe(e);
1048
- return r.pathname.indexOf(o) !== 0 ? r : q({}, r, {
1000
+ var o = we(e);
1001
+ return r.pathname.indexOf(o) !== 0 ? r : W({}, r, {
1049
1002
  pathname: r.pathname.substr(o.length)
1050
1003
  });
1051
1004
  }
1052
- function Ge(e) {
1053
- return typeof e == "string" ? e : er(e);
1005
+ function We(e) {
1006
+ return typeof e == "string" ? e : Xe(e);
1054
1007
  }
1055
- function Re(e) {
1008
+ function Se(e) {
1056
1009
  return function() {
1057
- process.env.NODE_ENV !== "production" ? j(!1, "You cannot %s with <StaticRouter>") : j(!1);
1010
+ process.env.NODE_ENV !== "production" ? Y(!1, "You cannot %s with <StaticRouter>") : Y(!1);
1058
1011
  };
1059
1012
  }
1060
- function Ke() {
1013
+ function ze() {
1061
1014
  }
1062
- var Xe = /* @__PURE__ */ function(e) {
1063
- U(r, e);
1015
+ var He = /* @__PURE__ */ function(e) {
1016
+ j(r, e);
1064
1017
  function r() {
1065
- for (var n, t = arguments.length, c = new Array(t), l = 0; l < t; l++)
1066
- c[l] = arguments[l];
1018
+ for (var n, t = arguments.length, c = new Array(t), p = 0; p < t; p++)
1019
+ c[p] = arguments[p];
1067
1020
  return n = e.call.apply(e, [this].concat(c)) || this, n.handlePush = function(u) {
1068
1021
  return n.navigateTo(u, "PUSH");
1069
1022
  }, n.handleReplace = function(u) {
1070
1023
  return n.navigateTo(u, "REPLACE");
1071
1024
  }, n.handleListen = function() {
1072
- return Ke;
1025
+ return ze;
1073
1026
  }, n.handleBlock = function() {
1074
- return Ke;
1027
+ return ze;
1075
1028
  }, n;
1076
1029
  }
1077
1030
  var o = r.prototype;
1078
1031
  return o.navigateTo = function(t, c) {
1079
- var l = this.props, u = l.basename, p = u === void 0 ? "" : u, f = l.context, s = f === void 0 ? {} : f;
1080
- s.action = c, s.location = rt(p, z(t)), s.url = Ge(s.location);
1032
+ var p = this.props, u = p.basename, d = u === void 0 ? "" : u, f = p.context, s = f === void 0 ? {} : f;
1033
+ s.action = c, s.location = zr(d, z(t)), s.url = We(s.location);
1081
1034
  }, o.render = function() {
1082
- var t = this.props, c = t.basename, l = c === void 0 ? "" : c, u = t.context, p = u === void 0 ? {} : u, f = t.location, s = f === void 0 ? "/" : f, d = Qe(t, ["basename", "context", "location"]), h = {
1035
+ var t = this.props, c = t.basename, p = c === void 0 ? "" : c, u = t.context, d = u === void 0 ? {} : u, f = t.location, s = f === void 0 ? "/" : f, l = nr(t, ["basename", "context", "location"]), v = {
1083
1036
  createHref: function(m) {
1084
- return Oe(l + Ge(m));
1037
+ return we(p + We(m));
1085
1038
  },
1086
1039
  action: "POP",
1087
- location: tt(l, z(s)),
1040
+ location: Hr(p, z(s)),
1088
1041
  push: this.handlePush,
1089
1042
  replace: this.handleReplace,
1090
- go: Re(),
1091
- goBack: Re(),
1092
- goForward: Re(),
1043
+ go: Se(),
1044
+ goBack: Se(),
1045
+ goForward: Se(),
1093
1046
  listen: this.handleListen,
1094
1047
  block: this.handleBlock
1095
1048
  };
1096
- return /* @__PURE__ */ T.createElement(ne, q({}, d, {
1097
- history: h,
1098
- staticContext: p
1049
+ return /* @__PURE__ */ T.createElement(ie, W({}, l, {
1050
+ history: v,
1051
+ staticContext: d
1099
1052
  }));
1100
1053
  }, r;
1101
1054
  }(T.Component);
1102
- process.env.NODE_ENV !== "production" && (Xe.propTypes = {
1103
- basename: y.string,
1104
- context: y.object,
1105
- location: y.oneOfType([y.string, y.object])
1106
- }, Xe.prototype.componentDidMount = function() {
1055
+ process.env.NODE_ENV !== "production" && (He.propTypes = {
1056
+ basename: _.string,
1057
+ context: _.object,
1058
+ location: _.oneOfType([_.string, _.object])
1059
+ }, He.prototype.componentDidMount = function() {
1107
1060
  process.env.NODE_ENV !== "production" && A(!this.props.history, "<StaticRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.");
1108
1061
  });
1109
- var Je = /* @__PURE__ */ function(e) {
1110
- U(r, e);
1062
+ var Be = /* @__PURE__ */ function(e) {
1063
+ j(r, e);
1111
1064
  function r() {
1112
1065
  return e.apply(this, arguments) || this;
1113
1066
  }
1114
1067
  var o = r.prototype;
1115
1068
  return o.render = function() {
1116
1069
  var t = this;
1117
- return /* @__PURE__ */ T.createElement(J.Consumer, null, function(c) {
1118
- c || (process.env.NODE_ENV !== "production" ? j(!1, "You should not use <Switch> outside a <Router>") : j(!1));
1119
- var l = t.props.location || c.location, u, p;
1070
+ return /* @__PURE__ */ T.createElement(Z.Consumer, null, function(c) {
1071
+ c || (process.env.NODE_ENV !== "production" ? Y(!1, "You should not use <Switch> outside a <Router>") : Y(!1));
1072
+ var p = t.props.location || c.location, u, d;
1120
1073
  return T.Children.forEach(t.props.children, function(f) {
1121
- if (p == null && /* @__PURE__ */ T.isValidElement(f)) {
1074
+ if (d == null && /* @__PURE__ */ T.isValidElement(f)) {
1122
1075
  u = f;
1123
1076
  var s = f.props.path || f.props.from;
1124
- p = s ? we(l.pathname, q({}, f.props, {
1077
+ d = s ? Me(p.pathname, W({}, f.props, {
1125
1078
  path: s
1126
1079
  })) : c.match;
1127
1080
  }
1128
- }), p ? /* @__PURE__ */ T.cloneElement(u, {
1129
- location: l,
1130
- computedMatch: p
1081
+ }), d ? /* @__PURE__ */ T.cloneElement(u, {
1082
+ location: p,
1083
+ computedMatch: d
1131
1084
  }) : null;
1132
1085
  });
1133
1086
  }, r;
1134
1087
  }(T.Component);
1135
- process.env.NODE_ENV !== "production" && (Je.propTypes = {
1136
- children: y.node,
1137
- location: y.object
1138
- }, Je.prototype.componentDidUpdate = function(e) {
1088
+ process.env.NODE_ENV !== "production" && (Be.propTypes = {
1089
+ children: _.node,
1090
+ location: _.object
1091
+ }, Be.prototype.componentDidUpdate = function(e) {
1139
1092
  process.env.NODE_ENV !== "production" && A(!(this.props.location && !e.location), '<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'), process.env.NODE_ENV !== "production" && A(!(!this.props.location && e.location), '<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.');
1140
1093
  });
1141
- function nt(e) {
1142
- var r = "withRouter(" + (e.displayName || e.name) + ")", o = function(t) {
1143
- var c = t.wrappedComponentRef, l = Qe(t, ["wrappedComponentRef"]);
1144
- return /* @__PURE__ */ T.createElement(J.Consumer, null, function(u) {
1145
- return u || (process.env.NODE_ENV !== "production" ? j(!1, "You should not use <" + r + " /> outside a <Router>") : j(!1)), /* @__PURE__ */ T.createElement(e, q({}, l, u, {
1146
- ref: c
1147
- }));
1148
- });
1149
- };
1150
- return o.displayName = r, o.WrappedComponent = e, process.env.NODE_ENV !== "production" && (o.propTypes = {
1151
- wrappedComponentRef: y.oneOfType([y.string, y.func, y.object])
1152
- }), zr(o, e);
1094
+ var ae = T.useContext;
1095
+ function Br() {
1096
+ return process.env.NODE_ENV !== "production" && typeof ae != "function" && (process.env.NODE_ENV !== "production" ? Y(!1, "You must use React >= 16.8 in order to use useHistory()") : Y(!1)), ae(tr);
1097
+ }
1098
+ function Gr() {
1099
+ return process.env.NODE_ENV !== "production" && typeof ae != "function" && (process.env.NODE_ENV !== "production" ? Y(!1, "You must use React >= 16.8 in order to use useLocation()") : Y(!1)), ae(Z).location;
1153
1100
  }
1154
- T.useContext;
1155
1101
  if (process.env.NODE_ENV !== "production" && typeof window < "u") {
1156
- var k = window, ee = "__react_router_build__", Ze = {
1102
+ var re = window, te = "__react_router_build__", Ge = {
1157
1103
  cjs: "CommonJS",
1158
1104
  esm: "ES modules",
1159
1105
  umd: "UMD"
1160
1106
  };
1161
- if (k[ee] && k[ee] !== "esm") {
1162
- var ot = Ze[k[ee]], it = Ze.esm;
1163
- throw new Error("You are loading the " + it + " build of React Router " + ("on a page that is already running the " + ot + " ") + "build, so things won't work right.");
1107
+ if (re[te] && re[te] !== "esm") {
1108
+ var Kr = Ge[re[te]], Xr = Ge.esm;
1109
+ throw new Error("You are loading the " + Xr + " build of React Router " + ("on a page that is already running the " + Kr + " ") + "build, so things won't work right.");
1164
1110
  }
1165
- k[ee] = "esm";
1111
+ re[te] = "esm";
1166
1112
  }
1167
- const at = ie(
1168
- (e, r) => /* @__PURE__ */ oe.jsx(sr, { ref: r, ...e })
1169
- ), st = ie(
1170
- (e, r) => /* @__PURE__ */ oe.jsx(cr, { ref: r, ...e })
1171
- ), ct = ie(
1172
- (e, r) => /* @__PURE__ */ oe.jsx(ur, { ref: r, ...e })
1173
- ), ut = nt(
1174
- ie(
1175
- ({
1176
- href: e,
1177
- history: r,
1178
- exact: o,
1179
- pathname: n,
1180
- search: t,
1181
- location: c,
1182
- // eslint-disable-line @typescript-eslint/no-unused-vars
1183
- match: l,
1184
- // eslint-disable-line @typescript-eslint/no-unused-vars
1185
- staticContext: u,
1186
- // eslint-disable-line @typescript-eslint/no-unused-vars
1187
- onClick: p,
1188
- ...f
1189
- }, s) => {
1190
- const d = lr(
1191
- () => r.createHref({
1192
- pathname: n,
1193
- search: t
1113
+ const Jr = Q(
1114
+ (e, r) => /* @__PURE__ */ H.jsx(or, { ref: r, ...e })
1115
+ ), Zr = Q(
1116
+ (e, r) => /* @__PURE__ */ H.jsx(ir, { ref: r, ...e })
1117
+ ), Qr = Q(
1118
+ (e, r) => /* @__PURE__ */ H.jsx(ar, { ref: r, ...e })
1119
+ ), kr = Q(
1120
+ ({
1121
+ href: e,
1122
+ exact: r,
1123
+ pathname: o,
1124
+ search: n,
1125
+ onClick: t,
1126
+ ...c
1127
+ }, p) => {
1128
+ const u = Br(), d = Gr(), f = sr(
1129
+ () => u.createHref({
1130
+ pathname: o,
1131
+ search: n
1132
+ }),
1133
+ [u, o, n]
1134
+ ), s = cr(
1135
+ (...l) => (l[0].preventDefault(), u.push(o + (n ?? "")), t == null ? void 0 : t(...l)),
1136
+ [u, o, n, t]
1137
+ );
1138
+ return /* @__PURE__ */ H.jsx(
1139
+ Ke,
1140
+ {
1141
+ href: o != null ? f : e,
1142
+ active: !!Me(d.pathname, {
1143
+ exact: r,
1144
+ path: o
1194
1145
  }),
1195
- [r, n, t]
1196
- ), h = pr(
1197
- (...v) => (v[0].preventDefault(), r.push(n + (t ?? "")), p == null ? void 0 : p(...v)),
1198
- [r, n, t, p]
1199
- );
1200
- return /* @__PURE__ */ oe.jsx(
1201
- fr,
1202
- {
1203
- href: n != null ? d : e,
1204
- active: !!we(r.location.pathname, {
1205
- exact: o,
1206
- path: n
1207
- }),
1208
- onClick: n != null ? h : p,
1209
- ref: s,
1210
- ...f
1211
- }
1212
- );
1213
- }
1214
- )
1215
- ), vt = Object.assign(at, {
1216
- Link: ut,
1217
- Collapsible: st,
1218
- Group: ct
1146
+ onClick: o != null ? s : t,
1147
+ ref: p,
1148
+ ...c
1149
+ }
1150
+ );
1151
+ }
1152
+ ), et = Q(
1153
+ (e, r) => "pathname" in e ? /* @__PURE__ */ H.jsx(kr, { ref: r, ...e }) : /* @__PURE__ */ H.jsx(Ke, { ref: r, ...e })
1154
+ ), it = Object.assign(Jr, {
1155
+ Link: et,
1156
+ Collapsible: Zr,
1157
+ Group: Qr
1219
1158
  });
1220
1159
  export {
1221
- vt as SideNav,
1222
- st as SideNavCollapsible,
1223
- ct as SideNavGroup,
1224
- ut as SideNavLink,
1225
- vt as default
1160
+ it as SideNav,
1161
+ Zr as SideNavCollapsible,
1162
+ Qr as SideNavGroup,
1163
+ et as SideNavLink,
1164
+ it as default
1226
1165
  };
1227
1166
  //# sourceMappingURL=SideNav.js.map