@takecasper/acuity-design-system 1.0.4 → 1.0.5

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.
package/dist/index.es.js CHANGED
@@ -1,8 +1,5 @@
1
- import ir from "react";
2
- function jr(u) {
3
- return u && u.__esModule && Object.prototype.hasOwnProperty.call(u, "default") ? u.default : u;
4
- }
5
- var $e = { exports: {} }, he = {};
1
+ import Oe from "react";
2
+ var H = { exports: {} }, A = {};
6
3
  /**
7
4
  * @license React
8
5
  * react-jsx-runtime.production.min.js
@@ -12,25 +9,25 @@ var $e = { exports: {} }, he = {};
12
9
  * This source code is licensed under the MIT license found in the
13
10
  * LICENSE file in the root directory of this source tree.
14
11
  */
15
- var He;
16
- function Ar() {
17
- if (He)
18
- return he;
19
- He = 1;
20
- var u = ir, D = Symbol.for("react.element"), I = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, w = u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function S(c, b, P) {
22
- var l, E = {}, $ = null, F = null;
23
- P !== void 0 && ($ = "" + P), b.key !== void 0 && ($ = "" + b.key), b.ref !== void 0 && (F = b.ref);
24
- for (l in b)
25
- d.call(b, l) && !f.hasOwnProperty(l) && (E[l] = b[l]);
26
- if (c && c.defaultProps)
27
- for (l in b = c.defaultProps, b)
28
- E[l] === void 0 && (E[l] = b[l]);
29
- return { $$typeof: D, type: c, key: $, ref: F, props: E, _owner: w.current };
12
+ var Re;
13
+ function ir() {
14
+ if (Re)
15
+ return A;
16
+ Re = 1;
17
+ var j = Oe, E = Symbol.for("react.element"), k = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, O = j.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = { key: !0, ref: !0, __self: !0, __source: !0 };
18
+ function _(b, f, w) {
19
+ var v, g = {}, R = null, $ = null;
20
+ w !== void 0 && (R = "" + w), f.key !== void 0 && (R = "" + f.key), f.ref !== void 0 && ($ = f.ref);
21
+ for (v in f)
22
+ m.call(f, v) && !C.hasOwnProperty(v) && (g[v] = f[v]);
23
+ if (b && b.defaultProps)
24
+ for (v in f = b.defaultProps, f)
25
+ g[v] === void 0 && (g[v] = f[v]);
26
+ return { $$typeof: E, type: b, key: R, ref: $, props: g, _owner: O.current };
30
27
  }
31
- return he.Fragment = I, he.jsx = S, he.jsxs = S, he;
28
+ return A.Fragment = k, A.jsx = _, A.jsxs = _, A;
32
29
  }
33
- var me = {};
30
+ var I = {};
34
31
  /**
35
32
  * @license React
36
33
  * react-jsx-runtime.development.js
@@ -40,91 +37,91 @@ var me = {};
40
37
  * This source code is licensed under the MIT license found in the
41
38
  * LICENSE file in the root directory of this source tree.
42
39
  */
43
- var Ke;
44
- function Ir() {
45
- return Ke || (Ke = 1, process.env.NODE_ENV !== "production" && function() {
46
- var u = ir, D = Symbol.for("react.element"), I = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), c = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), $ = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), z = Symbol.iterator, M = "@@iterator";
47
- function V(e) {
40
+ var Te;
41
+ function ur() {
42
+ return Te || (Te = 1, process.env.NODE_ENV !== "production" && function() {
43
+ var j = Oe, E = Symbol.for("react.element"), k = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), O = Symbol.for("react.strict_mode"), C = Symbol.for("react.profiler"), _ = Symbol.for("react.provider"), b = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), X = Symbol.iterator, Ce = "@@iterator";
44
+ function we(e) {
48
45
  if (e === null || typeof e != "object")
49
46
  return null;
50
- var r = z && e[z] || e[M];
47
+ var r = X && e[X] || e[Ce];
51
48
  return typeof r == "function" ? r : null;
52
49
  }
53
- var U = u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
54
- function Y(e) {
50
+ var P = j.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
+ function c(e) {
55
52
  {
56
- for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
57
- n[s - 1] = arguments[s];
58
- N("error", e, n);
53
+ for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
54
+ t[n - 1] = arguments[n];
55
+ Pe("error", e, t);
59
56
  }
60
57
  }
61
- function N(e, r, n) {
58
+ function Pe(e, r, t) {
62
59
  {
63
- var s = U.ReactDebugCurrentFrame, x = s.getStackAddendum();
64
- x !== "" && (r += "%s", n = n.concat([x]));
65
- var k = n.map(function(O) {
66
- return String(O);
60
+ var n = P.ReactDebugCurrentFrame, i = n.getStackAddendum();
61
+ i !== "" && (r += "%s", t = t.concat([i]));
62
+ var u = t.map(function(o) {
63
+ return String(o);
67
64
  });
68
- k.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, k);
65
+ u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
69
66
  }
70
67
  }
71
- var q = !1, o = !1, ee = !1, ve = !1, pe = !1, ie;
72
- ie = Symbol.for("react.module.reference");
73
- function ye(e) {
74
- return !!(typeof e == "string" || typeof e == "function" || e === d || e === f || pe || e === w || e === P || e === l || ve || e === F || q || o || ee || typeof e == "object" && e !== null && (e.$$typeof === $ || e.$$typeof === E || e.$$typeof === S || e.$$typeof === c || e.$$typeof === b || // This needs to include all possible module reference object
68
+ var Se = !1, xe = !1, je = !1, ke = !1, De = !1, Z;
69
+ Z = Symbol.for("react.module.reference");
70
+ function Fe(e) {
71
+ return !!(typeof e == "string" || typeof e == "function" || e === m || e === C || De || e === O || e === w || e === v || ke || e === $ || Se || xe || je || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === g || e.$$typeof === _ || e.$$typeof === b || e.$$typeof === f || // This needs to include all possible module reference object
75
72
  // types supported by any Flight configuration anywhere since
76
73
  // we don't know which Flight build this will end up being used
77
74
  // with.
78
- e.$$typeof === ie || e.getModuleId !== void 0));
75
+ e.$$typeof === Z || e.getModuleId !== void 0));
79
76
  }
80
- function ue(e, r, n) {
81
- var s = e.displayName;
82
- if (s)
83
- return s;
84
- var x = r.displayName || r.name || "";
85
- return x !== "" ? n + "(" + x + ")" : n;
77
+ function Ae(e, r, t) {
78
+ var n = e.displayName;
79
+ if (n)
80
+ return n;
81
+ var i = r.displayName || r.name || "";
82
+ return i !== "" ? t + "(" + i + ")" : t;
86
83
  }
87
- function se(e) {
84
+ function Q(e) {
88
85
  return e.displayName || "Context";
89
86
  }
90
- function H(e) {
87
+ function y(e) {
91
88
  if (e == null)
92
89
  return null;
93
- if (typeof e.tag == "number" && Y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
90
+ if (typeof e.tag == "number" && c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
94
91
  return e.displayName || e.name || null;
95
92
  if (typeof e == "string")
96
93
  return e;
97
94
  switch (e) {
98
- case d:
95
+ case m:
99
96
  return "Fragment";
100
- case I:
97
+ case k:
101
98
  return "Portal";
102
- case f:
99
+ case C:
103
100
  return "Profiler";
104
- case w:
101
+ case O:
105
102
  return "StrictMode";
106
- case P:
103
+ case w:
107
104
  return "Suspense";
108
- case l:
105
+ case v:
109
106
  return "SuspenseList";
110
107
  }
111
108
  if (typeof e == "object")
112
109
  switch (e.$$typeof) {
113
- case c:
114
- var r = e;
115
- return se(r) + ".Consumer";
116
- case S:
117
- var n = e;
118
- return se(n._context) + ".Provider";
119
110
  case b:
120
- return ue(e, e.render, "ForwardRef");
121
- case E:
122
- var s = e.displayName || null;
123
- return s !== null ? s : H(e.type) || "Memo";
124
- case $: {
125
- var x = e, k = x._payload, O = x._init;
111
+ var r = e;
112
+ return Q(r) + ".Consumer";
113
+ case _:
114
+ var t = e;
115
+ return Q(t._context) + ".Provider";
116
+ case f:
117
+ return Ae(e, e.render, "ForwardRef");
118
+ case g:
119
+ var n = e.displayName || null;
120
+ return n !== null ? n : y(e.type) || "Memo";
121
+ case R: {
122
+ var i = e, u = i._payload, o = i._init;
126
123
  try {
127
- return H(O(k));
124
+ return y(o(u));
128
125
  } catch {
129
126
  return null;
130
127
  }
@@ -132,18 +129,18 @@ function Ir() {
132
129
  }
133
130
  return null;
134
131
  }
135
- var G = Object.assign, re = 0, K, Q, ae, fe, t, i, m;
136
- function h() {
132
+ var T = Object.assign, D = 0, ee, re, te, ne, ae, oe, ie;
133
+ function ue() {
137
134
  }
138
- h.__reactDisabledLog = !0;
139
- function v() {
135
+ ue.__reactDisabledLog = !0;
136
+ function Ie() {
140
137
  {
141
- if (re === 0) {
142
- K = console.log, Q = console.info, ae = console.warn, fe = console.error, t = console.group, i = console.groupCollapsed, m = console.groupEnd;
138
+ if (D === 0) {
139
+ ee = console.log, re = console.info, te = console.warn, ne = console.error, ae = console.group, oe = console.groupCollapsed, ie = console.groupEnd;
143
140
  var e = {
144
141
  configurable: !0,
145
142
  enumerable: !0,
146
- value: h,
143
+ value: ue,
147
144
  writable: !0
148
145
  };
149
146
  Object.defineProperties(console, {
@@ -156,336 +153,336 @@ function Ir() {
156
153
  groupEnd: e
157
154
  });
158
155
  }
159
- re++;
156
+ D++;
160
157
  }
161
158
  }
162
- function R() {
159
+ function $e() {
163
160
  {
164
- if (re--, re === 0) {
161
+ if (D--, D === 0) {
165
162
  var e = {
166
163
  configurable: !0,
167
164
  enumerable: !0,
168
165
  writable: !0
169
166
  };
170
167
  Object.defineProperties(console, {
171
- log: G({}, e, {
172
- value: K
168
+ log: T({}, e, {
169
+ value: ee
173
170
  }),
174
- info: G({}, e, {
175
- value: Q
171
+ info: T({}, e, {
172
+ value: re
176
173
  }),
177
- warn: G({}, e, {
178
- value: ae
174
+ warn: T({}, e, {
175
+ value: te
179
176
  }),
180
- error: G({}, e, {
181
- value: fe
177
+ error: T({}, e, {
178
+ value: ne
182
179
  }),
183
- group: G({}, e, {
184
- value: t
180
+ group: T({}, e, {
181
+ value: ae
185
182
  }),
186
- groupCollapsed: G({}, e, {
187
- value: i
183
+ groupCollapsed: T({}, e, {
184
+ value: oe
188
185
  }),
189
- groupEnd: G({}, e, {
190
- value: m
186
+ groupEnd: T({}, e, {
187
+ value: ie
191
188
  })
192
189
  });
193
190
  }
194
- re < 0 && Y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ D < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
195
192
  }
196
193
  }
197
- var p = U.ReactCurrentDispatcher, y;
198
- function g(e, r, n) {
194
+ var M = P.ReactCurrentDispatcher, U;
195
+ function W(e, r, t) {
199
196
  {
200
- if (y === void 0)
197
+ if (U === void 0)
201
198
  try {
202
199
  throw Error();
203
- } catch (x) {
204
- var s = x.stack.trim().match(/\n( *(at )?)/);
205
- y = s && s[1] || "";
200
+ } catch (i) {
201
+ var n = i.stack.trim().match(/\n( *(at )?)/);
202
+ U = n && n[1] || "";
206
203
  }
207
204
  return `
208
- ` + y + e;
205
+ ` + U + e;
209
206
  }
210
207
  }
211
- var C = !1, T;
208
+ var B = !1, Y;
212
209
  {
213
- var B = typeof WeakMap == "function" ? WeakMap : Map;
214
- T = new B();
210
+ var We = typeof WeakMap == "function" ? WeakMap : Map;
211
+ Y = new We();
215
212
  }
216
- function a(e, r) {
217
- if (!e || C)
213
+ function se(e, r) {
214
+ if (!e || B)
218
215
  return "";
219
216
  {
220
- var n = T.get(e);
221
- if (n !== void 0)
222
- return n;
217
+ var t = Y.get(e);
218
+ if (t !== void 0)
219
+ return t;
223
220
  }
224
- var s;
225
- C = !0;
226
- var x = Error.prepareStackTrace;
221
+ var n;
222
+ B = !0;
223
+ var i = Error.prepareStackTrace;
227
224
  Error.prepareStackTrace = void 0;
228
- var k;
229
- k = p.current, p.current = null, v();
225
+ var u;
226
+ u = M.current, M.current = null, Ie();
230
227
  try {
231
228
  if (r) {
232
- var O = function() {
229
+ var o = function() {
233
230
  throw Error();
234
231
  };
235
- if (Object.defineProperty(O.prototype, "props", {
232
+ if (Object.defineProperty(o.prototype, "props", {
236
233
  set: function() {
237
234
  throw Error();
238
235
  }
239
236
  }), typeof Reflect == "object" && Reflect.construct) {
240
237
  try {
241
- Reflect.construct(O, []);
242
- } catch (te) {
243
- s = te;
238
+ Reflect.construct(o, []);
239
+ } catch (h) {
240
+ n = h;
244
241
  }
245
- Reflect.construct(e, [], O);
242
+ Reflect.construct(e, [], o);
246
243
  } else {
247
244
  try {
248
- O.call();
249
- } catch (te) {
250
- s = te;
245
+ o.call();
246
+ } catch (h) {
247
+ n = h;
251
248
  }
252
- e.call(O.prototype);
249
+ e.call(o.prototype);
253
250
  }
254
251
  } else {
255
252
  try {
256
253
  throw Error();
257
- } catch (te) {
258
- s = te;
254
+ } catch (h) {
255
+ n = h;
259
256
  }
260
257
  e();
261
258
  }
262
- } catch (te) {
263
- if (te && s && typeof te.stack == "string") {
264
- for (var _ = te.stack.split(`
265
- `), J = s.stack.split(`
266
- `), W = _.length - 1, L = J.length - 1; W >= 1 && L >= 0 && _[W] !== J[L]; )
267
- L--;
268
- for (; W >= 1 && L >= 0; W--, L--)
269
- if (_[W] !== J[L]) {
270
- if (W !== 1 || L !== 1)
259
+ } catch (h) {
260
+ if (h && n && typeof h.stack == "string") {
261
+ for (var a = h.stack.split(`
262
+ `), d = n.stack.split(`
263
+ `), s = a.length - 1, l = d.length - 1; s >= 1 && l >= 0 && a[s] !== d[l]; )
264
+ l--;
265
+ for (; s >= 1 && l >= 0; s--, l--)
266
+ if (a[s] !== d[l]) {
267
+ if (s !== 1 || l !== 1)
271
268
  do
272
- if (W--, L--, L < 0 || _[W] !== J[L]) {
273
- var Z = `
274
- ` + _[W].replace(" at new ", " at ");
275
- return e.displayName && Z.includes("<anonymous>") && (Z = Z.replace("<anonymous>", e.displayName)), typeof e == "function" && T.set(e, Z), Z;
269
+ if (s--, l--, l < 0 || a[s] !== d[l]) {
270
+ var p = `
271
+ ` + a[s].replace(" at new ", " at ");
272
+ return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" && Y.set(e, p), p;
276
273
  }
277
- while (W >= 1 && L >= 0);
274
+ while (s >= 1 && l >= 0);
278
275
  break;
279
276
  }
280
277
  }
281
278
  } finally {
282
- C = !1, p.current = k, R(), Error.prepareStackTrace = x;
279
+ B = !1, M.current = u, $e(), Error.prepareStackTrace = i;
283
280
  }
284
- var de = e ? e.displayName || e.name : "", Ge = de ? g(de) : "";
285
- return typeof e == "function" && T.set(e, Ge), Ge;
281
+ var x = e ? e.displayName || e.name : "", _e = x ? W(x) : "";
282
+ return typeof e == "function" && Y.set(e, _e), _e;
286
283
  }
287
- function X(e, r, n) {
288
- return a(e, !1);
284
+ function Ye(e, r, t) {
285
+ return se(e, !1);
289
286
  }
290
- function ce(e) {
287
+ function Ne(e) {
291
288
  var r = e.prototype;
292
289
  return !!(r && r.isReactComponent);
293
290
  }
294
- function oe(e, r, n) {
291
+ function N(e, r, t) {
295
292
  if (e == null)
296
293
  return "";
297
294
  if (typeof e == "function")
298
- return a(e, ce(e));
295
+ return se(e, Ne(e));
299
296
  if (typeof e == "string")
300
- return g(e);
297
+ return W(e);
301
298
  switch (e) {
302
- case P:
303
- return g("Suspense");
304
- case l:
305
- return g("SuspenseList");
299
+ case w:
300
+ return W("Suspense");
301
+ case v:
302
+ return W("SuspenseList");
306
303
  }
307
304
  if (typeof e == "object")
308
305
  switch (e.$$typeof) {
309
- case b:
310
- return X(e.render);
311
- case E:
312
- return oe(e.type, r, n);
313
- case $: {
314
- var s = e, x = s._payload, k = s._init;
306
+ case f:
307
+ return Ye(e.render);
308
+ case g:
309
+ return N(e.type, r, t);
310
+ case R: {
311
+ var n = e, i = n._payload, u = n._init;
315
312
  try {
316
- return oe(k(x), r, n);
313
+ return N(u(i), r, t);
317
314
  } catch {
318
315
  }
319
316
  }
320
317
  }
321
318
  return "";
322
319
  }
323
- var Ee = Object.prototype.hasOwnProperty, Me = {}, Fe = U.ReactDebugCurrentFrame;
324
- function ge(e) {
320
+ var L = Object.prototype.hasOwnProperty, le = {}, fe = P.ReactDebugCurrentFrame;
321
+ function V(e) {
325
322
  if (e) {
326
- var r = e._owner, n = oe(e.type, e._source, r ? r.type : null);
327
- Fe.setExtraStackFrame(n);
323
+ var r = e._owner, t = N(e.type, e._source, r ? r.type : null);
324
+ fe.setExtraStackFrame(t);
328
325
  } else
329
- Fe.setExtraStackFrame(null);
326
+ fe.setExtraStackFrame(null);
330
327
  }
331
- function cr(e, r, n, s, x) {
328
+ function Le(e, r, t, n, i) {
332
329
  {
333
- var k = Function.call.bind(Ee);
334
- for (var O in e)
335
- if (k(e, O)) {
336
- var _ = void 0;
330
+ var u = Function.call.bind(L);
331
+ for (var o in e)
332
+ if (u(e, o)) {
333
+ var a = void 0;
337
334
  try {
338
- if (typeof e[O] != "function") {
339
- var J = Error((s || "React class") + ": " + n + " type `" + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[O] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
340
- throw J.name = "Invariant Violation", J;
335
+ if (typeof e[o] != "function") {
336
+ var d = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ throw d.name = "Invariant Violation", d;
341
338
  }
342
- _ = e[O](r, O, s, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
- } catch (W) {
344
- _ = W;
339
+ a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
+ } catch (s) {
341
+ a = s;
345
342
  }
346
- _ && !(_ instanceof Error) && (ge(x), Y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", s || "React class", n, O, typeof _), ge(null)), _ instanceof Error && !(_.message in Me) && (Me[_.message] = !0, ge(x), Y("Failed %s type: %s", n, _.message), ge(null));
343
+ a && !(a instanceof Error) && (V(i), c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, o, typeof a), V(null)), a instanceof Error && !(a.message in le) && (le[a.message] = !0, V(i), c("Failed %s type: %s", t, a.message), V(null));
347
344
  }
348
345
  }
349
346
  }
350
- var lr = Array.isArray;
351
- function _e(e) {
352
- return lr(e);
347
+ var Ve = Array.isArray;
348
+ function q(e) {
349
+ return Ve(e);
353
350
  }
354
- function dr(e) {
351
+ function Me(e) {
355
352
  {
356
- var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
357
- return n;
353
+ var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
354
+ return t;
358
355
  }
359
356
  }
360
- function vr(e) {
357
+ function Ue(e) {
361
358
  try {
362
- return Ye(e), !1;
359
+ return ce(e), !1;
363
360
  } catch {
364
361
  return !0;
365
362
  }
366
363
  }
367
- function Ye(e) {
364
+ function ce(e) {
368
365
  return "" + e;
369
366
  }
370
- function We(e) {
371
- if (vr(e))
372
- return Y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", dr(e)), Ye(e);
367
+ function de(e) {
368
+ if (Ue(e))
369
+ return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Me(e)), ce(e);
373
370
  }
374
- var be = U.ReactCurrentOwner, pr = {
371
+ var F = P.ReactCurrentOwner, Be = {
375
372
  key: !0,
376
373
  ref: !0,
377
374
  __self: !0,
378
375
  __source: !0
379
- }, qe, Le, Re;
380
- Re = {};
381
- function yr(e) {
382
- if (Ee.call(e, "ref")) {
376
+ }, ve, pe, J;
377
+ J = {};
378
+ function qe(e) {
379
+ if (L.call(e, "ref")) {
383
380
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
384
381
  if (r && r.isReactWarning)
385
382
  return !1;
386
383
  }
387
384
  return e.ref !== void 0;
388
385
  }
389
- function br(e) {
390
- if (Ee.call(e, "key")) {
386
+ function Je(e) {
387
+ if (L.call(e, "key")) {
391
388
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
392
389
  if (r && r.isReactWarning)
393
390
  return !1;
394
391
  }
395
392
  return e.key !== void 0;
396
393
  }
397
- function hr(e, r) {
398
- if (typeof e.ref == "string" && be.current && r && be.current.stateNode !== r) {
399
- var n = H(be.current.type);
400
- Re[n] || (Y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', H(be.current.type), e.ref), Re[n] = !0);
394
+ function Ge(e, r) {
395
+ if (typeof e.ref == "string" && F.current && r && F.current.stateNode !== r) {
396
+ var t = y(F.current.type);
397
+ J[t] || (c('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', y(F.current.type), e.ref), J[t] = !0);
401
398
  }
402
399
  }
403
- function mr(e, r) {
400
+ function ze(e, r) {
404
401
  {
405
- var n = function() {
406
- qe || (qe = !0, Y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
402
+ var t = function() {
403
+ ve || (ve = !0, c("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
407
404
  };
408
- n.isReactWarning = !0, Object.defineProperty(e, "key", {
409
- get: n,
405
+ t.isReactWarning = !0, Object.defineProperty(e, "key", {
406
+ get: t,
410
407
  configurable: !0
411
408
  });
412
409
  }
413
410
  }
414
- function Er(e, r) {
411
+ function Ke(e, r) {
415
412
  {
416
- var n = function() {
417
- Le || (Le = !0, Y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
413
+ var t = function() {
414
+ pe || (pe = !0, c("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
418
415
  };
419
- n.isReactWarning = !0, Object.defineProperty(e, "ref", {
420
- get: n,
416
+ t.isReactWarning = !0, Object.defineProperty(e, "ref", {
417
+ get: t,
421
418
  configurable: !0
422
419
  });
423
420
  }
424
421
  }
425
- var gr = function(e, r, n, s, x, k, O) {
426
- var _ = {
422
+ var He = function(e, r, t, n, i, u, o) {
423
+ var a = {
427
424
  // This tag allows us to uniquely identify this as a React Element
428
- $$typeof: D,
425
+ $$typeof: E,
429
426
  // Built-in properties that belong on the element
430
427
  type: e,
431
428
  key: r,
432
- ref: n,
433
- props: O,
429
+ ref: t,
430
+ props: o,
434
431
  // Record the component responsible for creating this element.
435
- _owner: k
432
+ _owner: u
436
433
  };
437
- return _._store = {}, Object.defineProperty(_._store, "validated", {
434
+ return a._store = {}, Object.defineProperty(a._store, "validated", {
438
435
  configurable: !1,
439
436
  enumerable: !1,
440
437
  writable: !0,
441
438
  value: !1
442
- }), Object.defineProperty(_, "_self", {
439
+ }), Object.defineProperty(a, "_self", {
443
440
  configurable: !1,
444
441
  enumerable: !1,
445
442
  writable: !1,
446
- value: s
447
- }), Object.defineProperty(_, "_source", {
443
+ value: n
444
+ }), Object.defineProperty(a, "_source", {
448
445
  configurable: !1,
449
446
  enumerable: !1,
450
447
  writable: !1,
451
- value: x
452
- }), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
448
+ value: i
449
+ }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
453
450
  };
454
- function Tr(e, r, n, s, x) {
451
+ function Xe(e, r, t, n, i) {
455
452
  {
456
- var k, O = {}, _ = null, J = null;
457
- n !== void 0 && (We(n), _ = "" + n), br(r) && (We(r.key), _ = "" + r.key), yr(r) && (J = r.ref, hr(r, x));
458
- for (k in r)
459
- Ee.call(r, k) && !pr.hasOwnProperty(k) && (O[k] = r[k]);
453
+ var u, o = {}, a = null, d = null;
454
+ t !== void 0 && (de(t), a = "" + t), Je(r) && (de(r.key), a = "" + r.key), qe(r) && (d = r.ref, Ge(r, i));
455
+ for (u in r)
456
+ L.call(r, u) && !Be.hasOwnProperty(u) && (o[u] = r[u]);
460
457
  if (e && e.defaultProps) {
461
- var W = e.defaultProps;
462
- for (k in W)
463
- O[k] === void 0 && (O[k] = W[k]);
458
+ var s = e.defaultProps;
459
+ for (u in s)
460
+ o[u] === void 0 && (o[u] = s[u]);
464
461
  }
465
- if (_ || J) {
466
- var L = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
467
- _ && mr(O, L), J && Er(O, L);
462
+ if (a || d) {
463
+ var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
+ a && ze(o, l), d && Ke(o, l);
468
465
  }
469
- return gr(e, _, J, x, s, be.current, O);
466
+ return He(e, a, d, i, n, F.current, o);
470
467
  }
471
468
  }
472
- var Oe = U.ReactCurrentOwner, Ue = U.ReactDebugCurrentFrame;
473
- function le(e) {
469
+ var G = P.ReactCurrentOwner, be = P.ReactDebugCurrentFrame;
470
+ function S(e) {
474
471
  if (e) {
475
- var r = e._owner, n = oe(e.type, e._source, r ? r.type : null);
476
- Ue.setExtraStackFrame(n);
472
+ var r = e._owner, t = N(e.type, e._source, r ? r.type : null);
473
+ be.setExtraStackFrame(t);
477
474
  } else
478
- Ue.setExtraStackFrame(null);
475
+ be.setExtraStackFrame(null);
479
476
  }
480
- var Se;
481
- Se = !1;
482
- function Pe(e) {
483
- return typeof e == "object" && e !== null && e.$$typeof === D;
477
+ var z;
478
+ z = !1;
479
+ function K(e) {
480
+ return typeof e == "object" && e !== null && e.$$typeof === E;
484
481
  }
485
- function Ne() {
482
+ function ge() {
486
483
  {
487
- if (Oe.current) {
488
- var e = H(Oe.current.type);
484
+ if (G.current) {
485
+ var e = y(G.current.type);
489
486
  if (e)
490
487
  return `
491
488
 
@@ -494,847 +491,168 @@ Check the render method of \`` + e + "`.";
494
491
  return "";
495
492
  }
496
493
  }
497
- function _r(e) {
494
+ function Ze(e) {
498
495
  {
499
496
  if (e !== void 0) {
500
- var r = e.fileName.replace(/^.*[\\\/]/, ""), n = e.lineNumber;
497
+ var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
501
498
  return `
502
499
 
503
- Check your code at ` + r + ":" + n + ".";
500
+ Check your code at ` + r + ":" + t + ".";
504
501
  }
505
502
  return "";
506
503
  }
507
504
  }
508
- var Ve = {};
509
- function Rr(e) {
505
+ var ye = {};
506
+ function Qe(e) {
510
507
  {
511
- var r = Ne();
508
+ var r = ge();
512
509
  if (!r) {
513
- var n = typeof e == "string" ? e : e.displayName || e.name;
514
- n && (r = `
510
+ var t = typeof e == "string" ? e : e.displayName || e.name;
511
+ t && (r = `
515
512
 
516
- Check the top-level render call using <` + n + ">.");
513
+ Check the top-level render call using <` + t + ">.");
517
514
  }
518
515
  return r;
519
516
  }
520
517
  }
521
- function ze(e, r) {
518
+ function he(e, r) {
522
519
  {
523
520
  if (!e._store || e._store.validated || e.key != null)
524
521
  return;
525
522
  e._store.validated = !0;
526
- var n = Rr(r);
527
- if (Ve[n])
523
+ var t = Qe(r);
524
+ if (ye[t])
528
525
  return;
529
- Ve[n] = !0;
530
- var s = "";
531
- e && e._owner && e._owner !== Oe.current && (s = " It was passed a child from " + H(e._owner.type) + "."), le(e), Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, s), le(null);
526
+ ye[t] = !0;
527
+ var n = "";
528
+ e && e._owner && e._owner !== G.current && (n = " It was passed a child from " + y(e._owner.type) + "."), S(e), c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), S(null);
532
529
  }
533
530
  }
534
- function Be(e, r) {
531
+ function me(e, r) {
535
532
  {
536
533
  if (typeof e != "object")
537
534
  return;
538
- if (_e(e))
539
- for (var n = 0; n < e.length; n++) {
540
- var s = e[n];
541
- Pe(s) && ze(s, r);
535
+ if (q(e))
536
+ for (var t = 0; t < e.length; t++) {
537
+ var n = e[t];
538
+ K(n) && he(n, r);
542
539
  }
543
- else if (Pe(e))
540
+ else if (K(e))
544
541
  e._store && (e._store.validated = !0);
545
542
  else if (e) {
546
- var x = V(e);
547
- if (typeof x == "function" && x !== e.entries)
548
- for (var k = x.call(e), O; !(O = k.next()).done; )
549
- Pe(O.value) && ze(O.value, r);
543
+ var i = we(e);
544
+ if (typeof i == "function" && i !== e.entries)
545
+ for (var u = i.call(e), o; !(o = u.next()).done; )
546
+ K(o.value) && he(o.value, r);
550
547
  }
551
548
  }
552
549
  }
553
- function Or(e) {
550
+ function er(e) {
554
551
  {
555
552
  var r = e.type;
556
553
  if (r == null || typeof r == "string")
557
554
  return;
558
- var n;
555
+ var t;
559
556
  if (typeof r == "function")
560
- n = r.propTypes;
561
- else if (typeof r == "object" && (r.$$typeof === b || // Note: Memo only checks outer props here.
557
+ t = r.propTypes;
558
+ else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
562
559
  // Inner props are checked in the reconciler.
563
- r.$$typeof === E))
564
- n = r.propTypes;
560
+ r.$$typeof === g))
561
+ t = r.propTypes;
565
562
  else
566
563
  return;
567
- if (n) {
568
- var s = H(r);
569
- cr(n, e.props, "prop", s, e);
570
- } else if (r.PropTypes !== void 0 && !Se) {
571
- Se = !0;
572
- var x = H(r);
573
- Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
564
+ if (t) {
565
+ var n = y(r);
566
+ Le(t, e.props, "prop", n, e);
567
+ } else if (r.PropTypes !== void 0 && !z) {
568
+ z = !0;
569
+ var i = y(r);
570
+ c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
574
571
  }
575
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && Y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
572
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
576
573
  }
577
574
  }
578
- function Sr(e) {
575
+ function rr(e) {
579
576
  {
580
- for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
581
- var s = r[n];
582
- if (s !== "children" && s !== "key") {
583
- le(e), Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", s), le(null);
577
+ for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
578
+ var n = r[t];
579
+ if (n !== "children" && n !== "key") {
580
+ S(e), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), S(null);
584
581
  break;
585
582
  }
586
583
  }
587
- e.ref !== null && (le(e), Y("Invalid attribute `ref` supplied to `React.Fragment`."), le(null));
584
+ e.ref !== null && (S(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), S(null));
588
585
  }
589
586
  }
590
- function Je(e, r, n, s, x, k) {
587
+ function Ee(e, r, t, n, i, u) {
591
588
  {
592
- var O = ye(e);
593
- if (!O) {
594
- var _ = "";
595
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
596
- var J = _r(x);
597
- J ? _ += J : _ += Ne();
598
- var W;
599
- e === null ? W = "null" : _e(e) ? W = "array" : e !== void 0 && e.$$typeof === D ? (W = "<" + (H(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : W = typeof e, Y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", W, _);
589
+ var o = Fe(e);
590
+ if (!o) {
591
+ var a = "";
592
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
593
+ var d = Ze(i);
594
+ d ? a += d : a += ge();
595
+ var s;
596
+ e === null ? s = "null" : q(e) ? s = "array" : e !== void 0 && e.$$typeof === E ? (s = "<" + (y(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
600
597
  }
601
- var L = Tr(e, r, n, x, k);
602
- if (L == null)
603
- return L;
604
- if (O) {
605
- var Z = r.children;
606
- if (Z !== void 0)
607
- if (s)
608
- if (_e(Z)) {
609
- for (var de = 0; de < Z.length; de++)
610
- Be(Z[de], e);
611
- Object.freeze && Object.freeze(Z);
598
+ var l = Xe(e, r, t, i, u);
599
+ if (l == null)
600
+ return l;
601
+ if (o) {
602
+ var p = r.children;
603
+ if (p !== void 0)
604
+ if (n)
605
+ if (q(p)) {
606
+ for (var x = 0; x < p.length; x++)
607
+ me(p[x], e);
608
+ Object.freeze && Object.freeze(p);
612
609
  } else
613
- Y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
610
+ c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
614
611
  else
615
- Be(Z, e);
616
- }
617
- return e === d ? Sr(L) : Or(L), L;
618
- }
619
- }
620
- function Pr(e, r, n) {
621
- return Je(e, r, n, !0);
622
- }
623
- function Cr(e, r, n) {
624
- return Je(e, r, n, !1);
625
- }
626
- var wr = Cr, xr = Pr;
627
- me.Fragment = d, me.jsx = wr, me.jsxs = xr;
628
- }()), me;
629
- }
630
- process.env.NODE_ENV === "production" ? $e.exports = Ar() : $e.exports = Ir();
631
- var $r = $e.exports, ke = { exports: {} }, Te = { exports: {} }, j = {};
632
- /** @license React v16.13.1
633
- * react-is.production.min.js
634
- *
635
- * Copyright (c) Facebook, Inc. and its affiliates.
636
- *
637
- * This source code is licensed under the MIT license found in the
638
- * LICENSE file in the root directory of this source tree.
639
- */
640
- var Xe;
641
- function kr() {
642
- if (Xe)
643
- return j;
644
- Xe = 1;
645
- var u = typeof Symbol == "function" && Symbol.for, D = u ? Symbol.for("react.element") : 60103, I = u ? Symbol.for("react.portal") : 60106, d = u ? Symbol.for("react.fragment") : 60107, w = u ? Symbol.for("react.strict_mode") : 60108, f = u ? Symbol.for("react.profiler") : 60114, S = u ? Symbol.for("react.provider") : 60109, c = u ? Symbol.for("react.context") : 60110, b = u ? Symbol.for("react.async_mode") : 60111, P = u ? Symbol.for("react.concurrent_mode") : 60111, l = u ? Symbol.for("react.forward_ref") : 60112, E = u ? Symbol.for("react.suspense") : 60113, $ = u ? Symbol.for("react.suspense_list") : 60120, F = u ? Symbol.for("react.memo") : 60115, z = u ? Symbol.for("react.lazy") : 60116, M = u ? Symbol.for("react.block") : 60121, V = u ? Symbol.for("react.fundamental") : 60117, U = u ? Symbol.for("react.responder") : 60118, Y = u ? Symbol.for("react.scope") : 60119;
646
- function N(o) {
647
- if (typeof o == "object" && o !== null) {
648
- var ee = o.$$typeof;
649
- switch (ee) {
650
- case D:
651
- switch (o = o.type, o) {
652
- case b:
653
- case P:
654
- case d:
655
- case f:
656
- case w:
657
- case E:
658
- return o;
659
- default:
660
- switch (o = o && o.$$typeof, o) {
661
- case c:
662
- case l:
663
- case z:
664
- case F:
665
- case S:
666
- return o;
667
- default:
668
- return ee;
669
- }
670
- }
671
- case I:
672
- return ee;
673
- }
674
- }
675
- }
676
- function q(o) {
677
- return N(o) === P;
678
- }
679
- return j.AsyncMode = b, j.ConcurrentMode = P, j.ContextConsumer = c, j.ContextProvider = S, j.Element = D, j.ForwardRef = l, j.Fragment = d, j.Lazy = z, j.Memo = F, j.Portal = I, j.Profiler = f, j.StrictMode = w, j.Suspense = E, j.isAsyncMode = function(o) {
680
- return q(o) || N(o) === b;
681
- }, j.isConcurrentMode = q, j.isContextConsumer = function(o) {
682
- return N(o) === c;
683
- }, j.isContextProvider = function(o) {
684
- return N(o) === S;
685
- }, j.isElement = function(o) {
686
- return typeof o == "object" && o !== null && o.$$typeof === D;
687
- }, j.isForwardRef = function(o) {
688
- return N(o) === l;
689
- }, j.isFragment = function(o) {
690
- return N(o) === d;
691
- }, j.isLazy = function(o) {
692
- return N(o) === z;
693
- }, j.isMemo = function(o) {
694
- return N(o) === F;
695
- }, j.isPortal = function(o) {
696
- return N(o) === I;
697
- }, j.isProfiler = function(o) {
698
- return N(o) === f;
699
- }, j.isStrictMode = function(o) {
700
- return N(o) === w;
701
- }, j.isSuspense = function(o) {
702
- return N(o) === E;
703
- }, j.isValidElementType = function(o) {
704
- return typeof o == "string" || typeof o == "function" || o === d || o === P || o === f || o === w || o === E || o === $ || typeof o == "object" && o !== null && (o.$$typeof === z || o.$$typeof === F || o.$$typeof === S || o.$$typeof === c || o.$$typeof === l || o.$$typeof === V || o.$$typeof === U || o.$$typeof === Y || o.$$typeof === M);
705
- }, j.typeOf = N, j;
706
- }
707
- var A = {};
708
- /** @license React v16.13.1
709
- * react-is.development.js
710
- *
711
- * Copyright (c) Facebook, Inc. and its affiliates.
712
- *
713
- * This source code is licensed under the MIT license found in the
714
- * LICENSE file in the root directory of this source tree.
715
- */
716
- var Ze;
717
- function Dr() {
718
- return Ze || (Ze = 1, process.env.NODE_ENV !== "production" && function() {
719
- var u = typeof Symbol == "function" && Symbol.for, D = u ? Symbol.for("react.element") : 60103, I = u ? Symbol.for("react.portal") : 60106, d = u ? Symbol.for("react.fragment") : 60107, w = u ? Symbol.for("react.strict_mode") : 60108, f = u ? Symbol.for("react.profiler") : 60114, S = u ? Symbol.for("react.provider") : 60109, c = u ? Symbol.for("react.context") : 60110, b = u ? Symbol.for("react.async_mode") : 60111, P = u ? Symbol.for("react.concurrent_mode") : 60111, l = u ? Symbol.for("react.forward_ref") : 60112, E = u ? Symbol.for("react.suspense") : 60113, $ = u ? Symbol.for("react.suspense_list") : 60120, F = u ? Symbol.for("react.memo") : 60115, z = u ? Symbol.for("react.lazy") : 60116, M = u ? Symbol.for("react.block") : 60121, V = u ? Symbol.for("react.fundamental") : 60117, U = u ? Symbol.for("react.responder") : 60118, Y = u ? Symbol.for("react.scope") : 60119;
720
- function N(a) {
721
- return typeof a == "string" || typeof a == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
722
- a === d || a === P || a === f || a === w || a === E || a === $ || typeof a == "object" && a !== null && (a.$$typeof === z || a.$$typeof === F || a.$$typeof === S || a.$$typeof === c || a.$$typeof === l || a.$$typeof === V || a.$$typeof === U || a.$$typeof === Y || a.$$typeof === M);
723
- }
724
- function q(a) {
725
- if (typeof a == "object" && a !== null) {
726
- var X = a.$$typeof;
727
- switch (X) {
728
- case D:
729
- var ce = a.type;
730
- switch (ce) {
731
- case b:
732
- case P:
733
- case d:
734
- case f:
735
- case w:
736
- case E:
737
- return ce;
738
- default:
739
- var oe = ce && ce.$$typeof;
740
- switch (oe) {
741
- case c:
742
- case l:
743
- case z:
744
- case F:
745
- case S:
746
- return oe;
747
- default:
748
- return X;
749
- }
750
- }
751
- case I:
752
- return X;
753
- }
754
- }
755
- }
756
- var o = b, ee = P, ve = c, pe = S, ie = D, ye = l, ue = d, se = z, H = F, G = I, re = f, K = w, Q = E, ae = !1;
757
- function fe(a) {
758
- return ae || (ae = !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.")), t(a) || q(a) === b;
759
- }
760
- function t(a) {
761
- return q(a) === P;
762
- }
763
- function i(a) {
764
- return q(a) === c;
765
- }
766
- function m(a) {
767
- return q(a) === S;
768
- }
769
- function h(a) {
770
- return typeof a == "object" && a !== null && a.$$typeof === D;
771
- }
772
- function v(a) {
773
- return q(a) === l;
774
- }
775
- function R(a) {
776
- return q(a) === d;
777
- }
778
- function p(a) {
779
- return q(a) === z;
780
- }
781
- function y(a) {
782
- return q(a) === F;
783
- }
784
- function g(a) {
785
- return q(a) === I;
786
- }
787
- function C(a) {
788
- return q(a) === f;
789
- }
790
- function T(a) {
791
- return q(a) === w;
792
- }
793
- function B(a) {
794
- return q(a) === E;
795
- }
796
- A.AsyncMode = o, A.ConcurrentMode = ee, A.ContextConsumer = ve, A.ContextProvider = pe, A.Element = ie, A.ForwardRef = ye, A.Fragment = ue, A.Lazy = se, A.Memo = H, A.Portal = G, A.Profiler = re, A.StrictMode = K, A.Suspense = Q, A.isAsyncMode = fe, A.isConcurrentMode = t, A.isContextConsumer = i, A.isContextProvider = m, A.isElement = h, A.isForwardRef = v, A.isFragment = R, A.isLazy = p, A.isMemo = y, A.isPortal = g, A.isProfiler = C, A.isStrictMode = T, A.isSuspense = B, A.isValidElementType = N, A.typeOf = q;
797
- }()), A;
798
- }
799
- var Qe;
800
- function ur() {
801
- return Qe || (Qe = 1, process.env.NODE_ENV === "production" ? Te.exports = kr() : Te.exports = Dr()), Te.exports;
802
- }
803
- /*
804
- object-assign
805
- (c) Sindre Sorhus
806
- @license MIT
807
- */
808
- var Ce, er;
809
- function Mr() {
810
- if (er)
811
- return Ce;
812
- er = 1;
813
- var u = Object.getOwnPropertySymbols, D = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
814
- function d(f) {
815
- if (f == null)
816
- throw new TypeError("Object.assign cannot be called with null or undefined");
817
- return Object(f);
818
- }
819
- function w() {
820
- try {
821
- if (!Object.assign)
822
- return !1;
823
- var f = new String("abc");
824
- if (f[5] = "de", Object.getOwnPropertyNames(f)[0] === "5")
825
- return !1;
826
- for (var S = {}, c = 0; c < 10; c++)
827
- S["_" + String.fromCharCode(c)] = c;
828
- var b = Object.getOwnPropertyNames(S).map(function(l) {
829
- return S[l];
830
- });
831
- if (b.join("") !== "0123456789")
832
- return !1;
833
- var P = {};
834
- return "abcdefghijklmnopqrst".split("").forEach(function(l) {
835
- P[l] = l;
836
- }), Object.keys(Object.assign({}, P)).join("") === "abcdefghijklmnopqrst";
837
- } catch {
838
- return !1;
839
- }
840
- }
841
- return Ce = w() ? Object.assign : function(f, S) {
842
- for (var c, b = d(f), P, l = 1; l < arguments.length; l++) {
843
- c = Object(arguments[l]);
844
- for (var E in c)
845
- D.call(c, E) && (b[E] = c[E]);
846
- if (u) {
847
- P = u(c);
848
- for (var $ = 0; $ < P.length; $++)
849
- I.call(c, P[$]) && (b[P[$]] = c[P[$]]);
850
- }
851
- }
852
- return b;
853
- }, Ce;
854
- }
855
- var we, rr;
856
- function De() {
857
- if (rr)
858
- return we;
859
- rr = 1;
860
- var u = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
861
- return we = u, we;
862
- }
863
- var xe, tr;
864
- function sr() {
865
- return tr || (tr = 1, xe = Function.call.bind(Object.prototype.hasOwnProperty)), xe;
866
- }
867
- var je, nr;
868
- function Fr() {
869
- if (nr)
870
- return je;
871
- nr = 1;
872
- var u = function() {
873
- };
874
- if (process.env.NODE_ENV !== "production") {
875
- var D = De(), I = {}, d = sr();
876
- u = function(f) {
877
- var S = "Warning: " + f;
878
- typeof console < "u" && console.error(S);
879
- try {
880
- throw new Error(S);
881
- } catch {
882
- }
883
- };
884
- }
885
- function w(f, S, c, b, P) {
886
- if (process.env.NODE_ENV !== "production") {
887
- for (var l in f)
888
- if (d(f, l)) {
889
- var E;
890
- try {
891
- if (typeof f[l] != "function") {
892
- var $ = Error(
893
- (b || "React class") + ": " + c + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof f[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
894
- );
895
- throw $.name = "Invariant Violation", $;
896
- }
897
- E = f[l](S, l, b, c, null, D);
898
- } catch (z) {
899
- E = z;
900
- }
901
- if (E && !(E instanceof Error) && u(
902
- (b || "React class") + ": type specification of " + c + " `" + l + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof E + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
903
- ), E instanceof Error && !(E.message in I)) {
904
- I[E.message] = !0;
905
- var F = P ? P() : "";
906
- u(
907
- "Failed " + c + " type: " + E.message + (F ?? "")
908
- );
909
- }
910
- }
911
- }
912
- }
913
- return w.resetWarningCache = function() {
914
- process.env.NODE_ENV !== "production" && (I = {});
915
- }, je = w, je;
916
- }
917
- var Ae, ar;
918
- function Yr() {
919
- if (ar)
920
- return Ae;
921
- ar = 1;
922
- var u = ur(), D = Mr(), I = De(), d = sr(), w = Fr(), f = function() {
923
- };
924
- process.env.NODE_ENV !== "production" && (f = function(c) {
925
- var b = "Warning: " + c;
926
- typeof console < "u" && console.error(b);
927
- try {
928
- throw new Error(b);
929
- } catch {
930
- }
931
- });
932
- function S() {
933
- return null;
934
- }
935
- return Ae = function(c, b) {
936
- var P = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator";
937
- function E(t) {
938
- var i = t && (P && t[P] || t[l]);
939
- if (typeof i == "function")
940
- return i;
941
- }
942
- var $ = "<<anonymous>>", F = {
943
- array: U("array"),
944
- bigint: U("bigint"),
945
- bool: U("boolean"),
946
- func: U("function"),
947
- number: U("number"),
948
- object: U("object"),
949
- string: U("string"),
950
- symbol: U("symbol"),
951
- any: Y(),
952
- arrayOf: N,
953
- element: q(),
954
- elementType: o(),
955
- instanceOf: ee,
956
- node: ye(),
957
- objectOf: pe,
958
- oneOf: ve,
959
- oneOfType: ie,
960
- shape: se,
961
- exact: H
962
- };
963
- function z(t, i) {
964
- return t === i ? t !== 0 || 1 / t === 1 / i : t !== t && i !== i;
965
- }
966
- function M(t, i) {
967
- this.message = t, this.data = i && typeof i == "object" ? i : {}, this.stack = "";
968
- }
969
- M.prototype = Error.prototype;
970
- function V(t) {
971
- if (process.env.NODE_ENV !== "production")
972
- var i = {}, m = 0;
973
- function h(R, p, y, g, C, T, B) {
974
- if (g = g || $, T = T || y, B !== I) {
975
- if (b) {
976
- var a = new Error(
977
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
978
- );
979
- throw a.name = "Invariant Violation", a;
980
- } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
981
- var X = g + ":" + y;
982
- !i[X] && // Avoid spamming the console because they are often not actionable except for lib authors
983
- m < 3 && (f(
984
- "You are manually calling a React.PropTypes validation function for the `" + T + "` prop on `" + g + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
985
- ), i[X] = !0, m++);
986
- }
987
- }
988
- return p[y] == null ? R ? p[y] === null ? new M("The " + C + " `" + T + "` is marked as required " + ("in `" + g + "`, but its value is `null`.")) : new M("The " + C + " `" + T + "` is marked as required in " + ("`" + g + "`, but its value is `undefined`.")) : null : t(p, y, g, C, T);
989
- }
990
- var v = h.bind(null, !1);
991
- return v.isRequired = h.bind(null, !0), v;
992
- }
993
- function U(t) {
994
- function i(m, h, v, R, p, y) {
995
- var g = m[h], C = K(g);
996
- if (C !== t) {
997
- var T = Q(g);
998
- return new M(
999
- "Invalid " + R + " `" + p + "` of type " + ("`" + T + "` supplied to `" + v + "`, expected ") + ("`" + t + "`."),
1000
- { expectedType: t }
1001
- );
1002
- }
1003
- return null;
1004
- }
1005
- return V(i);
1006
- }
1007
- function Y() {
1008
- return V(S);
1009
- }
1010
- function N(t) {
1011
- function i(m, h, v, R, p) {
1012
- if (typeof t != "function")
1013
- return new M("Property `" + p + "` of component `" + v + "` has invalid PropType notation inside arrayOf.");
1014
- var y = m[h];
1015
- if (!Array.isArray(y)) {
1016
- var g = K(y);
1017
- return new M("Invalid " + R + " `" + p + "` of type " + ("`" + g + "` supplied to `" + v + "`, expected an array."));
1018
- }
1019
- for (var C = 0; C < y.length; C++) {
1020
- var T = t(y, C, v, R, p + "[" + C + "]", I);
1021
- if (T instanceof Error)
1022
- return T;
1023
- }
1024
- return null;
1025
- }
1026
- return V(i);
1027
- }
1028
- function q() {
1029
- function t(i, m, h, v, R) {
1030
- var p = i[m];
1031
- if (!c(p)) {
1032
- var y = K(p);
1033
- return new M("Invalid " + v + " `" + R + "` of type " + ("`" + y + "` supplied to `" + h + "`, expected a single ReactElement."));
1034
- }
1035
- return null;
1036
- }
1037
- return V(t);
1038
- }
1039
- function o() {
1040
- function t(i, m, h, v, R) {
1041
- var p = i[m];
1042
- if (!u.isValidElementType(p)) {
1043
- var y = K(p);
1044
- return new M("Invalid " + v + " `" + R + "` of type " + ("`" + y + "` supplied to `" + h + "`, expected a single ReactElement type."));
1045
- }
1046
- return null;
1047
- }
1048
- return V(t);
1049
- }
1050
- function ee(t) {
1051
- function i(m, h, v, R, p) {
1052
- if (!(m[h] instanceof t)) {
1053
- var y = t.name || $, g = fe(m[h]);
1054
- return new M("Invalid " + R + " `" + p + "` of type " + ("`" + g + "` supplied to `" + v + "`, expected ") + ("instance of `" + y + "`."));
1055
- }
1056
- return null;
1057
- }
1058
- return V(i);
1059
- }
1060
- function ve(t) {
1061
- if (!Array.isArray(t))
1062
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? f(
1063
- "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1064
- ) : f("Invalid argument supplied to oneOf, expected an array.")), S;
1065
- function i(m, h, v, R, p) {
1066
- for (var y = m[h], g = 0; g < t.length; g++)
1067
- if (z(y, t[g]))
1068
- return null;
1069
- var C = JSON.stringify(t, function(B, a) {
1070
- var X = Q(a);
1071
- return X === "symbol" ? String(a) : a;
1072
- });
1073
- return new M("Invalid " + R + " `" + p + "` of value `" + String(y) + "` " + ("supplied to `" + v + "`, expected one of " + C + "."));
1074
- }
1075
- return V(i);
1076
- }
1077
- function pe(t) {
1078
- function i(m, h, v, R, p) {
1079
- if (typeof t != "function")
1080
- return new M("Property `" + p + "` of component `" + v + "` has invalid PropType notation inside objectOf.");
1081
- var y = m[h], g = K(y);
1082
- if (g !== "object")
1083
- return new M("Invalid " + R + " `" + p + "` of type " + ("`" + g + "` supplied to `" + v + "`, expected an object."));
1084
- for (var C in y)
1085
- if (d(y, C)) {
1086
- var T = t(y, C, v, R, p + "." + C, I);
1087
- if (T instanceof Error)
1088
- return T;
1089
- }
1090
- return null;
1091
- }
1092
- return V(i);
1093
- }
1094
- function ie(t) {
1095
- if (!Array.isArray(t))
1096
- return process.env.NODE_ENV !== "production" && f("Invalid argument supplied to oneOfType, expected an instance of array."), S;
1097
- for (var i = 0; i < t.length; i++) {
1098
- var m = t[i];
1099
- if (typeof m != "function")
1100
- return f(
1101
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ae(m) + " at index " + i + "."
1102
- ), S;
1103
- }
1104
- function h(v, R, p, y, g) {
1105
- for (var C = [], T = 0; T < t.length; T++) {
1106
- var B = t[T], a = B(v, R, p, y, g, I);
1107
- if (a == null)
1108
- return null;
1109
- a.data && d(a.data, "expectedType") && C.push(a.data.expectedType);
612
+ me(p, e);
1110
613
  }
1111
- var X = C.length > 0 ? ", expected one of type [" + C.join(", ") + "]" : "";
1112
- return new M("Invalid " + y + " `" + g + "` supplied to " + ("`" + p + "`" + X + "."));
614
+ return e === m ? rr(l) : er(l), l;
1113
615
  }
1114
- return V(h);
1115
616
  }
1116
- function ye() {
1117
- function t(i, m, h, v, R) {
1118
- return G(i[m]) ? null : new M("Invalid " + v + " `" + R + "` supplied to " + ("`" + h + "`, expected a ReactNode."));
1119
- }
1120
- return V(t);
1121
- }
1122
- function ue(t, i, m, h, v) {
1123
- return new M(
1124
- (t || "React class") + ": " + i + " type `" + m + "." + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + v + "`."
1125
- );
1126
- }
1127
- function se(t) {
1128
- function i(m, h, v, R, p) {
1129
- var y = m[h], g = K(y);
1130
- if (g !== "object")
1131
- return new M("Invalid " + R + " `" + p + "` of type `" + g + "` " + ("supplied to `" + v + "`, expected `object`."));
1132
- for (var C in t) {
1133
- var T = t[C];
1134
- if (typeof T != "function")
1135
- return ue(v, R, p, C, Q(T));
1136
- var B = T(y, C, v, R, p + "." + C, I);
1137
- if (B)
1138
- return B;
1139
- }
1140
- return null;
1141
- }
1142
- return V(i);
617
+ function tr(e, r, t) {
618
+ return Ee(e, r, t, !0);
1143
619
  }
1144
- function H(t) {
1145
- function i(m, h, v, R, p) {
1146
- var y = m[h], g = K(y);
1147
- if (g !== "object")
1148
- return new M("Invalid " + R + " `" + p + "` of type `" + g + "` " + ("supplied to `" + v + "`, expected `object`."));
1149
- var C = D({}, m[h], t);
1150
- for (var T in C) {
1151
- var B = t[T];
1152
- if (d(t, T) && typeof B != "function")
1153
- return ue(v, R, p, T, Q(B));
1154
- if (!B)
1155
- return new M(
1156
- "Invalid " + R + " `" + p + "` key `" + T + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(m[h], null, " ") + `
1157
- Valid keys: ` + JSON.stringify(Object.keys(t), null, " ")
1158
- );
1159
- var a = B(y, T, v, R, p + "." + T, I);
1160
- if (a)
1161
- return a;
1162
- }
1163
- return null;
1164
- }
1165
- return V(i);
620
+ function nr(e, r, t) {
621
+ return Ee(e, r, t, !1);
1166
622
  }
1167
- function G(t) {
1168
- switch (typeof t) {
1169
- case "number":
1170
- case "string":
1171
- case "undefined":
1172
- return !0;
1173
- case "boolean":
1174
- return !t;
1175
- case "object":
1176
- if (Array.isArray(t))
1177
- return t.every(G);
1178
- if (t === null || c(t))
1179
- return !0;
1180
- var i = E(t);
1181
- if (i) {
1182
- var m = i.call(t), h;
1183
- if (i !== t.entries) {
1184
- for (; !(h = m.next()).done; )
1185
- if (!G(h.value))
1186
- return !1;
1187
- } else
1188
- for (; !(h = m.next()).done; ) {
1189
- var v = h.value;
1190
- if (v && !G(v[1]))
1191
- return !1;
1192
- }
1193
- } else
1194
- return !1;
1195
- return !0;
1196
- default:
1197
- return !1;
1198
- }
1199
- }
1200
- function re(t, i) {
1201
- return t === "symbol" ? !0 : i ? i["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && i instanceof Symbol : !1;
1202
- }
1203
- function K(t) {
1204
- var i = typeof t;
1205
- return Array.isArray(t) ? "array" : t instanceof RegExp ? "object" : re(i, t) ? "symbol" : i;
1206
- }
1207
- function Q(t) {
1208
- if (typeof t > "u" || t === null)
1209
- return "" + t;
1210
- var i = K(t);
1211
- if (i === "object") {
1212
- if (t instanceof Date)
1213
- return "date";
1214
- if (t instanceof RegExp)
1215
- return "regexp";
1216
- }
1217
- return i;
1218
- }
1219
- function ae(t) {
1220
- var i = Q(t);
1221
- switch (i) {
1222
- case "array":
1223
- case "object":
1224
- return "an " + i;
1225
- case "boolean":
1226
- case "date":
1227
- case "regexp":
1228
- return "a " + i;
1229
- default:
1230
- return i;
1231
- }
1232
- }
1233
- function fe(t) {
1234
- return !t.constructor || !t.constructor.name ? $ : t.constructor.name;
1235
- }
1236
- return F.checkPropTypes = w, F.resetWarningCache = w.resetWarningCache, F.PropTypes = F, F;
1237
- }, Ae;
623
+ var ar = nr, or = tr;
624
+ I.Fragment = m, I.jsx = ar, I.jsxs = or;
625
+ }()), I;
1238
626
  }
1239
- var Ie, or;
1240
- function Wr() {
1241
- if (or)
1242
- return Ie;
1243
- or = 1;
1244
- var u = De();
1245
- function D() {
1246
- }
1247
- function I() {
1248
- }
1249
- return I.resetWarningCache = D, Ie = function() {
1250
- function d(S, c, b, P, l, E) {
1251
- if (E !== u) {
1252
- var $ = new Error(
1253
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
1254
- );
1255
- throw $.name = "Invariant Violation", $;
1256
- }
1257
- }
1258
- d.isRequired = d;
1259
- function w() {
1260
- return d;
1261
- }
1262
- var f = {
1263
- array: d,
1264
- bigint: d,
1265
- bool: d,
1266
- func: d,
1267
- number: d,
1268
- object: d,
1269
- string: d,
1270
- symbol: d,
1271
- any: d,
1272
- arrayOf: w,
1273
- element: d,
1274
- elementType: d,
1275
- instanceOf: w,
1276
- node: d,
1277
- objectOf: w,
1278
- oneOf: w,
1279
- oneOfType: w,
1280
- shape: w,
1281
- exact: w,
1282
- checkPropTypes: I,
1283
- resetWarningCache: D
1284
- };
1285
- return f.PropTypes = f, f;
1286
- }, Ie;
1287
- }
1288
- if (process.env.NODE_ENV !== "production") {
1289
- var qr = ur(), Lr = !0;
1290
- ke.exports = Yr()(qr.isElement, Lr);
1291
- } else
1292
- ke.exports = Wr()();
1293
- var Ur = ke.exports;
1294
- const ne = /* @__PURE__ */ jr(Ur), fr = ({
1295
- type: u,
1296
- variant: D,
1297
- disabled: I,
1298
- className: d,
1299
- handleClick: w,
1300
- label: f,
1301
- children: S
627
+ process.env.NODE_ENV === "production" ? H.exports = ir() : H.exports = ur();
628
+ var sr = H.exports;
629
+ const fr = ({
630
+ type: j = "button",
631
+ variant: E = "primary",
632
+ disabled: k = !1,
633
+ className: m = "",
634
+ handleClick: O,
635
+ label: C = "",
636
+ children: _
1302
637
  }) => {
1303
- const c = {
1304
- primary: "bg-blue-500 text-white",
1305
- secondary: "bg-gray-500 text-white",
1306
- danger: "bg-red-500 text-white",
638
+ const b = {
639
+ primary: "bg-acuity-blue text-neutrals-white",
640
+ secondary: "bg-neutrals text-neutrals-white",
641
+ danger: "bg-acuity-red text-neutrals-white",
1307
642
  outline: ""
1308
643
  };
1309
- return /* @__PURE__ */ $r.jsx(
644
+ return /* @__PURE__ */ sr.jsx(
1310
645
  "button",
1311
646
  {
1312
- disabled: I,
1313
- type: u,
1314
- onClick: w,
1315
- className: `rounded px-6 py-2 text-base font-normal ${c[D]} ${d}`,
1316
- "aria-label": f,
1317
- children: S
647
+ disabled: k,
648
+ type: j,
649
+ onClick: O,
650
+ className: `rounded px-6 py-2 text-base font-normal ${b[E]} ${m}`,
651
+ "aria-label": C,
652
+ children: _
1318
653
  }
1319
654
  );
1320
655
  };
1321
- fr.propTypes = {
1322
- type: ne.oneOf(["button", "submit"]).isRequired,
1323
- variant: ne.oneOf(["primary", "secondary", "danger"]).isRequired,
1324
- disabled: ne.bool,
1325
- className: ne.string,
1326
- handleClick: ne.func,
1327
- autoFocus: ne.bool,
1328
- loading: ne.bool,
1329
- label: ne.string.isRequired,
1330
- children: ne.node.isRequired
1331
- };
1332
- fr.defaultProps = {
1333
- type: "button",
1334
- variant: "primary",
1335
- disabled: !1,
1336
- className: ""
1337
- };
1338
656
  export {
1339
657
  fr as Button
1340
658
  };