chop-logic-components 0.0.1 → 0.0.3

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,5 +1,5 @@
1
- import he, { useRef as cn, useDebugValue as Gt, createElement as un, useContext as ln } from "react";
2
- var vt = { exports: {} }, De = {};
1
+ import Pe from "react";
2
+ var ee = { exports: {} }, $ = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -9,25 +9,25 @@ var vt = { exports: {} }, De = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var Ht;
13
- function fn() {
14
- if (Ht)
15
- return De;
16
- Ht = 1;
17
- var e = he, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
18
- function c(f, l, h) {
19
- var d, m = {}, b = null, E = null;
20
- h !== void 0 && (b = "" + h), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (E = l.ref);
21
- for (d in l)
22
- o.call(l, d) && !i.hasOwnProperty(d) && (m[d] = l[d]);
23
- if (f && f.defaultProps)
24
- for (d in l = f.defaultProps, l)
25
- m[d] === void 0 && (m[d] = l[d]);
26
- return { $$typeof: t, type: f, key: b, ref: E, props: m, _owner: a.current };
12
+ var Se;
13
+ function dr() {
14
+ if (Se)
15
+ return $;
16
+ Se = 1;
17
+ var E = Pe, C = Symbol.for("react.element"), p = Symbol.for("react.fragment"), _ = Object.prototype.hasOwnProperty, b = E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, O = { key: !0, ref: !0, __self: !0, __source: !0 };
18
+ function h(R, f, j) {
19
+ var g, T = {}, S = null, L = null;
20
+ j !== void 0 && (S = "" + j), f.key !== void 0 && (S = "" + f.key), f.ref !== void 0 && (L = f.ref);
21
+ for (g in f)
22
+ _.call(f, g) && !O.hasOwnProperty(g) && (T[g] = f[g]);
23
+ if (R && R.defaultProps)
24
+ for (g in f = R.defaultProps, f)
25
+ T[g] === void 0 && (T[g] = f[g]);
26
+ return { $$typeof: C, type: R, key: S, ref: L, props: T, _owner: b.current };
27
27
  }
28
- return De.Fragment = r, De.jsx = c, De.jsxs = c, De;
28
+ return $.Fragment = p, $.jsx = h, $.jsxs = h, $;
29
29
  }
30
- var $e = {};
30
+ var Y = {};
31
31
  /**
32
32
  * @license React
33
33
  * react-jsx-runtime.development.js
@@ -37,91 +37,91 @@ var $e = {};
37
37
  * This source code is licensed under the MIT license found in the
38
38
  * LICENSE file in the root directory of this source tree.
39
39
  */
40
- var qt;
41
- function pn() {
42
- return qt || (qt = 1, process.env.NODE_ENV !== "production" && function() {
43
- var e = he, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), f = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), O = Symbol.iterator, N = "@@iterator";
44
- function M(n) {
45
- if (n === null || typeof n != "object")
40
+ var we;
41
+ function vr() {
42
+ return we || (we = 1, process.env.NODE_ENV !== "production" && function() {
43
+ var E = Pe, C = Symbol.for("react.element"), p = Symbol.for("react.portal"), _ = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), R = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), L = Symbol.for("react.offscreen"), re = Symbol.iterator, je = "@@iterator";
44
+ function xe(e) {
45
+ if (e === null || typeof e != "object")
46
46
  return null;
47
- var s = O && n[O] || n[N];
48
- return typeof s == "function" ? s : null;
47
+ var r = re && e[re] || e[je];
48
+ return typeof r == "function" ? r : null;
49
49
  }
50
- var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function v(n) {
50
+ var x = E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
+ function c(e) {
52
52
  {
53
- for (var s = arguments.length, u = new Array(s > 1 ? s - 1 : 0), p = 1; p < s; p++)
54
- u[p - 1] = arguments[p];
55
- C("error", n, u);
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
+ ke("error", e, t);
56
56
  }
57
57
  }
58
- function C(n, s, u) {
58
+ function ke(e, r, t) {
59
59
  {
60
- var p = x.ReactDebugCurrentFrame, _ = p.getStackAddendum();
61
- _ !== "" && (s += "%s", u = u.concat([_]));
62
- var P = u.map(function(R) {
63
- return String(R);
60
+ var n = x.ReactDebugCurrentFrame, i = n.getStackAddendum();
61
+ i !== "" && (r += "%s", t = t.concat([i]));
62
+ var s = t.map(function(o) {
63
+ return String(o);
64
64
  });
65
- P.unshift("Warning: " + s), Function.prototype.apply.call(console[n], console, P);
65
+ s.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, s);
66
66
  }
67
67
  }
68
- var T = !1, I = !1, S = !1, g = !1, Z = !1, Q;
69
- Q = Symbol.for("react.module.reference");
70
- function it(n) {
71
- return !!(typeof n == "string" || typeof n == "function" || n === o || n === i || Z || n === a || n === h || n === d || g || n === E || T || I || S || typeof n == "object" && n !== null && (n.$$typeof === b || n.$$typeof === m || n.$$typeof === c || n.$$typeof === f || n.$$typeof === l || // This needs to include all possible module reference object
68
+ var De = !1, Fe = !1, Ae = !1, Ie = !1, We = !1, te;
69
+ te = Symbol.for("react.module.reference");
70
+ function $e(e) {
71
+ return !!(typeof e == "string" || typeof e == "function" || e === _ || e === O || We || e === b || e === j || e === g || Ie || e === L || De || Fe || Ae || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === T || e.$$typeof === h || e.$$typeof === R || e.$$typeof === f || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
75
- n.$$typeof === Q || n.getModuleId !== void 0));
75
+ e.$$typeof === te || e.getModuleId !== void 0));
76
76
  }
77
- function st(n, s, u) {
78
- var p = n.displayName;
79
- if (p)
80
- return p;
81
- var _ = s.displayName || s.name || "";
82
- return _ !== "" ? u + "(" + _ + ")" : u;
77
+ function Ye(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;
83
83
  }
84
- function Le(n) {
85
- return n.displayName || "Context";
84
+ function ne(e) {
85
+ return e.displayName || "Context";
86
86
  }
87
- function Y(n) {
88
- if (n == null)
87
+ function m(e) {
88
+ if (e == null)
89
89
  return null;
90
- if (typeof n.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
91
- return n.displayName || n.name || null;
92
- if (typeof n == "string")
93
- return n;
94
- switch (n) {
95
- case o:
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")
91
+ return e.displayName || e.name || null;
92
+ if (typeof e == "string")
93
+ return e;
94
+ switch (e) {
95
+ case _:
96
96
  return "Fragment";
97
- case r:
97
+ case p:
98
98
  return "Portal";
99
- case i:
99
+ case O:
100
100
  return "Profiler";
101
- case a:
101
+ case b:
102
102
  return "StrictMode";
103
- case h:
103
+ case j:
104
104
  return "Suspense";
105
- case d:
105
+ case g:
106
106
  return "SuspenseList";
107
107
  }
108
- if (typeof n == "object")
109
- switch (n.$$typeof) {
108
+ if (typeof e == "object")
109
+ switch (e.$$typeof) {
110
+ case R:
111
+ var r = e;
112
+ return ne(r) + ".Consumer";
113
+ case h:
114
+ var t = e;
115
+ return ne(t._context) + ".Provider";
110
116
  case f:
111
- var s = n;
112
- return Le(s) + ".Consumer";
113
- case c:
114
- var u = n;
115
- return Le(u._context) + ".Provider";
116
- case l:
117
- return st(n, n.render, "ForwardRef");
118
- case m:
119
- var p = n.displayName || null;
120
- return p !== null ? p : Y(n.type) || "Memo";
121
- case b: {
122
- var _ = n, P = _._payload, R = _._init;
117
+ return Ye(e, e.render, "ForwardRef");
118
+ case T:
119
+ var n = e.displayName || null;
120
+ return n !== null ? n : m(e.type) || "Memo";
121
+ case S: {
122
+ var i = e, s = i._payload, o = i._init;
123
123
  try {
124
- return Y(R(P));
124
+ return m(o(s));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,1657 +129,564 @@ function pn() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var ee = Object.assign, ce = 0, ze, ge, Ae, B, ne, oe, L;
133
- function ye() {
132
+ var w = Object.assign, A = 0, ae, oe, ie, se, ue, le, ce;
133
+ function fe() {
134
134
  }
135
- ye.__reactDisabledLog = !0;
136
- function Ie() {
135
+ fe.__reactDisabledLog = !0;
136
+ function Le() {
137
137
  {
138
- if (ce === 0) {
139
- ze = console.log, ge = console.info, Ae = console.warn, B = console.error, ne = console.group, oe = console.groupCollapsed, L = console.groupEnd;
140
- var n = {
138
+ if (A === 0) {
139
+ ae = console.log, oe = console.info, ie = console.warn, se = console.error, ue = console.group, le = console.groupCollapsed, ce = console.groupEnd;
140
+ var e = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
143
- value: ye,
143
+ value: fe,
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
147
- info: n,
148
- log: n,
149
- warn: n,
150
- error: n,
151
- group: n,
152
- groupCollapsed: n,
153
- groupEnd: n
147
+ info: e,
148
+ log: e,
149
+ warn: e,
150
+ error: e,
151
+ group: e,
152
+ groupCollapsed: e,
153
+ groupEnd: e
154
154
  });
155
155
  }
156
- ce++;
156
+ A++;
157
157
  }
158
158
  }
159
- function ve() {
159
+ function Ne() {
160
160
  {
161
- if (ce--, ce === 0) {
162
- var n = {
161
+ if (A--, A === 0) {
162
+ var e = {
163
163
  configurable: !0,
164
164
  enumerable: !0,
165
165
  writable: !0
166
166
  };
167
167
  Object.defineProperties(console, {
168
- log: ee({}, n, {
169
- value: ze
168
+ log: w({}, e, {
169
+ value: ae
170
170
  }),
171
- info: ee({}, n, {
172
- value: ge
171
+ info: w({}, e, {
172
+ value: oe
173
173
  }),
174
- warn: ee({}, n, {
175
- value: Ae
174
+ warn: w({}, e, {
175
+ value: ie
176
176
  }),
177
- error: ee({}, n, {
178
- value: B
177
+ error: w({}, e, {
178
+ value: se
179
179
  }),
180
- group: ee({}, n, {
181
- value: ne
180
+ group: w({}, e, {
181
+ value: ue
182
182
  }),
183
- groupCollapsed: ee({}, n, {
184
- value: oe
183
+ groupCollapsed: w({}, e, {
184
+ value: le
185
185
  }),
186
- groupEnd: ee({}, n, {
187
- value: L
186
+ groupEnd: w({}, e, {
187
+ value: ce
188
188
  })
189
189
  });
190
190
  }
191
- ce < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ A < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
- var te = x.ReactCurrentDispatcher, ae;
195
- function H(n, s, u) {
194
+ var B = x.ReactCurrentDispatcher, J;
195
+ function N(e, r, t) {
196
196
  {
197
- if (ae === void 0)
197
+ if (J === void 0)
198
198
  try {
199
199
  throw Error();
200
- } catch (_) {
201
- var p = _.stack.trim().match(/\n( *(at )?)/);
202
- ae = p && p[1] || "";
200
+ } catch (i) {
201
+ var n = i.stack.trim().match(/\n( *(at )?)/);
202
+ J = n && n[1] || "";
203
203
  }
204
204
  return `
205
- ` + ae + n;
205
+ ` + J + e;
206
206
  }
207
207
  }
208
- var q = !1, ie;
208
+ var q = !1, U;
209
209
  {
210
- var be = typeof WeakMap == "function" ? WeakMap : Map;
211
- ie = new be();
210
+ var Ue = typeof WeakMap == "function" ? WeakMap : Map;
211
+ U = new Ue();
212
212
  }
213
- function K(n, s) {
214
- if (!n || q)
213
+ function de(e, r) {
214
+ if (!e || q)
215
215
  return "";
216
216
  {
217
- var u = ie.get(n);
218
- if (u !== void 0)
219
- return u;
217
+ var t = U.get(e);
218
+ if (t !== void 0)
219
+ return t;
220
220
  }
221
- var p;
221
+ var n;
222
222
  q = !0;
223
- var _ = Error.prepareStackTrace;
223
+ var i = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
- var P;
226
- P = te.current, te.current = null, Ie();
225
+ var s;
226
+ s = B.current, B.current = null, Le();
227
227
  try {
228
- if (s) {
229
- var R = function() {
228
+ if (r) {
229
+ var o = function() {
230
230
  throw Error();
231
231
  };
232
- if (Object.defineProperty(R.prototype, "props", {
232
+ if (Object.defineProperty(o.prototype, "props", {
233
233
  set: function() {
234
234
  throw Error();
235
235
  }
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
- Reflect.construct(R, []);
239
- } catch (V) {
240
- p = V;
238
+ Reflect.construct(o, []);
239
+ } catch (v) {
240
+ n = v;
241
241
  }
242
- Reflect.construct(n, [], R);
242
+ Reflect.construct(e, [], o);
243
243
  } else {
244
244
  try {
245
- R.call();
246
- } catch (V) {
247
- p = V;
245
+ o.call();
246
+ } catch (v) {
247
+ n = v;
248
248
  }
249
- n.call(R.prototype);
249
+ e.call(o.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
253
253
  throw Error();
254
- } catch (V) {
255
- p = V;
254
+ } catch (v) {
255
+ n = v;
256
256
  }
257
- n();
257
+ e();
258
258
  }
259
- } catch (V) {
260
- if (V && p && typeof V.stack == "string") {
261
- for (var w = V.stack.split(`
262
- `), z = p.stack.split(`
263
- `), j = w.length - 1, D = z.length - 1; j >= 1 && D >= 0 && w[j] !== z[D]; )
264
- D--;
265
- for (; j >= 1 && D >= 0; j--, D--)
266
- if (w[j] !== z[D]) {
267
- if (j !== 1 || D !== 1)
259
+ } catch (v) {
260
+ if (v && n && typeof v.stack == "string") {
261
+ for (var a = v.stack.split(`
262
+ `), d = n.stack.split(`
263
+ `), u = a.length - 1, l = d.length - 1; u >= 1 && l >= 0 && a[u] !== d[l]; )
264
+ l--;
265
+ for (; u >= 1 && l >= 0; u--, l--)
266
+ if (a[u] !== d[l]) {
267
+ if (u !== 1 || l !== 1)
268
268
  do
269
- if (j--, D--, D < 0 || w[j] !== z[D]) {
270
- var U = `
271
- ` + w[j].replace(" at new ", " at ");
272
- return n.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", n.displayName)), typeof n == "function" && ie.set(n, U), U;
269
+ if (u--, l--, l < 0 || a[u] !== d[l]) {
270
+ var y = `
271
+ ` + a[u].replace(" at new ", " at ");
272
+ return e.displayName && y.includes("<anonymous>") && (y = y.replace("<anonymous>", e.displayName)), typeof e == "function" && U.set(e, y), y;
273
273
  }
274
- while (j >= 1 && D >= 0);
274
+ while (u >= 1 && l >= 0);
275
275
  break;
276
276
  }
277
277
  }
278
278
  } finally {
279
- q = !1, te.current = P, ve(), Error.prepareStackTrace = _;
279
+ q = !1, B.current = s, Ne(), Error.prepareStackTrace = i;
280
280
  }
281
- var Se = n ? n.displayName || n.name : "", ue = Se ? H(Se) : "";
282
- return typeof n == "function" && ie.set(n, ue), ue;
281
+ var D = e ? e.displayName || e.name : "", P = D ? N(D) : "";
282
+ return typeof e == "function" && U.set(e, P), P;
283
283
  }
284
- function Fr(n, s, u) {
285
- return K(n, !1);
284
+ function Me(e, r, t) {
285
+ return de(e, !1);
286
286
  }
287
- function Mr(n) {
288
- var s = n.prototype;
289
- return !!(s && s.isReactComponent);
287
+ function Ve(e) {
288
+ var r = e.prototype;
289
+ return !!(r && r.isReactComponent);
290
290
  }
291
- function Ve(n, s, u) {
292
- if (n == null)
291
+ function M(e, r, t) {
292
+ if (e == null)
293
293
  return "";
294
- if (typeof n == "function")
295
- return K(n, Mr(n));
296
- if (typeof n == "string")
297
- return H(n);
298
- switch (n) {
299
- case h:
300
- return H("Suspense");
301
- case d:
302
- return H("SuspenseList");
303
- }
304
- if (typeof n == "object")
305
- switch (n.$$typeof) {
306
- case l:
307
- return Fr(n.render);
308
- case m:
309
- return Ve(n.type, s, u);
310
- case b: {
311
- var p = n, _ = p._payload, P = p._init;
294
+ if (typeof e == "function")
295
+ return de(e, Ve(e));
296
+ if (typeof e == "string")
297
+ return N(e);
298
+ switch (e) {
299
+ case j:
300
+ return N("Suspense");
301
+ case g:
302
+ return N("SuspenseList");
303
+ }
304
+ if (typeof e == "object")
305
+ switch (e.$$typeof) {
306
+ case f:
307
+ return Me(e.render);
308
+ case T:
309
+ return M(e.type, r, t);
310
+ case S: {
311
+ var n = e, i = n._payload, s = n._init;
312
312
  try {
313
- return Ve(P(_), s, u);
313
+ return M(s(i), r, t);
314
314
  } catch {
315
315
  }
316
316
  }
317
317
  }
318
318
  return "";
319
319
  }
320
- var Ne = Object.prototype.hasOwnProperty, Nt = {}, jt = x.ReactDebugCurrentFrame;
321
- function We(n) {
322
- if (n) {
323
- var s = n._owner, u = Ve(n.type, n._source, s ? s.type : null);
324
- jt.setExtraStackFrame(u);
320
+ var I = Object.prototype.hasOwnProperty, ve = {}, pe = x.ReactDebugCurrentFrame;
321
+ function V(e) {
322
+ if (e) {
323
+ var r = e._owner, t = M(e.type, e._source, r ? r.type : null);
324
+ pe.setExtraStackFrame(t);
325
325
  } else
326
- jt.setExtraStackFrame(null);
326
+ pe.setExtraStackFrame(null);
327
327
  }
328
- function Lr(n, s, u, p, _) {
328
+ function Be(e, r, t, n, i) {
329
329
  {
330
- var P = Function.call.bind(Ne);
331
- for (var R in n)
332
- if (P(n, R)) {
333
- var w = void 0;
330
+ var s = Function.call.bind(I);
331
+ for (var o in e)
332
+ if (s(e, o)) {
333
+ var a = void 0;
334
334
  try {
335
- if (typeof n[R] != "function") {
336
- var z = Error((p || "React class") + ": " + u + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
- throw z.name = "Invariant Violation", z;
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;
338
338
  }
339
- w = n[R](s, R, p, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
- } catch (j) {
341
- w = j;
339
+ a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
+ } catch (u) {
341
+ a = u;
342
342
  }
343
- w && !(w instanceof Error) && (We(_), v("%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).", p || "React class", u, R, typeof w), We(null)), w instanceof Error && !(w.message in Nt) && (Nt[w.message] = !0, We(_), v("Failed %s type: %s", u, w.message), We(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 ve) && (ve[a.message] = !0, V(i), c("Failed %s type: %s", t, a.message), V(null));
344
344
  }
345
345
  }
346
346
  }
347
- var zr = Array.isArray;
348
- function ct(n) {
349
- return zr(n);
347
+ var Je = Array.isArray;
348
+ function K(e) {
349
+ return Je(e);
350
350
  }
351
- function Vr(n) {
351
+ function qe(e) {
352
352
  {
353
- var s = typeof Symbol == "function" && Symbol.toStringTag, u = s && n[Symbol.toStringTag] || n.constructor.name || "Object";
354
- return u;
353
+ var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
354
+ return t;
355
355
  }
356
356
  }
357
- function Wr(n) {
357
+ function Ke(e) {
358
358
  try {
359
- return Dt(n), !1;
359
+ return ge(e), !1;
360
360
  } catch {
361
361
  return !0;
362
362
  }
363
363
  }
364
- function Dt(n) {
365
- return "" + n;
364
+ function ge(e) {
365
+ return "" + e;
366
366
  }
367
- function $t(n) {
368
- if (Wr(n))
369
- return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Vr(n)), Dt(n);
367
+ function ye(e) {
368
+ if (Ke(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.", qe(e)), ge(e);
370
370
  }
371
- var je = x.ReactCurrentOwner, Yr = {
371
+ var W = x.ReactCurrentOwner, Ge = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
375
375
  __source: !0
376
- }, Ft, Mt, ut;
377
- ut = {};
378
- function Br(n) {
379
- if (Ne.call(n, "ref")) {
380
- var s = Object.getOwnPropertyDescriptor(n, "ref").get;
381
- if (s && s.isReactWarning)
376
+ }, _e, be, G;
377
+ G = {};
378
+ function ze(e) {
379
+ if (I.call(e, "ref")) {
380
+ var r = Object.getOwnPropertyDescriptor(e, "ref").get;
381
+ if (r && r.isReactWarning)
382
382
  return !1;
383
383
  }
384
- return n.ref !== void 0;
384
+ return e.ref !== void 0;
385
385
  }
386
- function Ur(n) {
387
- if (Ne.call(n, "key")) {
388
- var s = Object.getOwnPropertyDescriptor(n, "key").get;
389
- if (s && s.isReactWarning)
386
+ function Xe(e) {
387
+ if (I.call(e, "key")) {
388
+ var r = Object.getOwnPropertyDescriptor(e, "key").get;
389
+ if (r && r.isReactWarning)
390
390
  return !1;
391
391
  }
392
- return n.key !== void 0;
392
+ return e.key !== void 0;
393
393
  }
394
- function Gr(n, s) {
395
- if (typeof n.ref == "string" && je.current && s && je.current.stateNode !== s) {
396
- var u = Y(je.current.type);
397
- ut[u] || (v('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(je.current.type), n.ref), ut[u] = !0);
394
+ function He(e, r) {
395
+ if (typeof e.ref == "string" && W.current && r && W.current.stateNode !== r) {
396
+ var t = m(W.current.type);
397
+ G[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', m(W.current.type), e.ref), G[t] = !0);
398
398
  }
399
399
  }
400
- function Hr(n, s) {
400
+ function Qe(e, r) {
401
401
  {
402
- var u = function() {
403
- Ft || (Ft = !0, v("%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)", s));
402
+ var t = function() {
403
+ _e || (_e = !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));
404
404
  };
405
- u.isReactWarning = !0, Object.defineProperty(n, "key", {
406
- get: u,
405
+ t.isReactWarning = !0, Object.defineProperty(e, "key", {
406
+ get: t,
407
407
  configurable: !0
408
408
  });
409
409
  }
410
410
  }
411
- function qr(n, s) {
411
+ function Ze(e, r) {
412
412
  {
413
- var u = function() {
414
- Mt || (Mt = !0, v("%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)", s));
413
+ var t = function() {
414
+ be || (be = !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));
415
415
  };
416
- u.isReactWarning = !0, Object.defineProperty(n, "ref", {
417
- get: u,
416
+ t.isReactWarning = !0, Object.defineProperty(e, "ref", {
417
+ get: t,
418
418
  configurable: !0
419
419
  });
420
420
  }
421
421
  }
422
- var Kr = function(n, s, u, p, _, P, R) {
423
- var w = {
422
+ var er = function(e, r, t, n, i, s, o) {
423
+ var a = {
424
424
  // This tag allows us to uniquely identify this as a React Element
425
- $$typeof: t,
425
+ $$typeof: C,
426
426
  // Built-in properties that belong on the element
427
- type: n,
428
- key: s,
429
- ref: u,
430
- props: R,
427
+ type: e,
428
+ key: r,
429
+ ref: t,
430
+ props: o,
431
431
  // Record the component responsible for creating this element.
432
- _owner: P
432
+ _owner: s
433
433
  };
434
- return w._store = {}, Object.defineProperty(w._store, "validated", {
434
+ return a._store = {}, Object.defineProperty(a._store, "validated", {
435
435
  configurable: !1,
436
436
  enumerable: !1,
437
437
  writable: !0,
438
438
  value: !1
439
- }), Object.defineProperty(w, "_self", {
439
+ }), Object.defineProperty(a, "_self", {
440
440
  configurable: !1,
441
441
  enumerable: !1,
442
442
  writable: !1,
443
- value: p
444
- }), Object.defineProperty(w, "_source", {
443
+ value: n
444
+ }), Object.defineProperty(a, "_source", {
445
445
  configurable: !1,
446
446
  enumerable: !1,
447
447
  writable: !1,
448
- value: _
449
- }), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
448
+ value: i
449
+ }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
450
450
  };
451
- function Xr(n, s, u, p, _) {
451
+ function rr(e, r, t, n, i) {
452
452
  {
453
- var P, R = {}, w = null, z = null;
454
- u !== void 0 && ($t(u), w = "" + u), Ur(s) && ($t(s.key), w = "" + s.key), Br(s) && (z = s.ref, Gr(s, _));
455
- for (P in s)
456
- Ne.call(s, P) && !Yr.hasOwnProperty(P) && (R[P] = s[P]);
457
- if (n && n.defaultProps) {
458
- var j = n.defaultProps;
459
- for (P in j)
460
- R[P] === void 0 && (R[P] = j[P]);
453
+ var s, o = {}, a = null, d = null;
454
+ t !== void 0 && (ye(t), a = "" + t), Xe(r) && (ye(r.key), a = "" + r.key), ze(r) && (d = r.ref, He(r, i));
455
+ for (s in r)
456
+ I.call(r, s) && !Ge.hasOwnProperty(s) && (o[s] = r[s]);
457
+ if (e && e.defaultProps) {
458
+ var u = e.defaultProps;
459
+ for (s in u)
460
+ o[s] === void 0 && (o[s] = u[s]);
461
461
  }
462
- if (w || z) {
463
- var D = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
464
- w && Hr(R, D), z && qr(R, D);
462
+ if (a || d) {
463
+ var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
+ a && Qe(o, l), d && Ze(o, l);
465
465
  }
466
- return Kr(n, w, z, _, p, je.current, R);
466
+ return er(e, a, d, i, n, W.current, o);
467
467
  }
468
468
  }
469
- var lt = x.ReactCurrentOwner, Lt = x.ReactDebugCurrentFrame;
470
- function we(n) {
471
- if (n) {
472
- var s = n._owner, u = Ve(n.type, n._source, s ? s.type : null);
473
- Lt.setExtraStackFrame(u);
469
+ var z = x.ReactCurrentOwner, he = x.ReactDebugCurrentFrame;
470
+ function k(e) {
471
+ if (e) {
472
+ var r = e._owner, t = M(e.type, e._source, r ? r.type : null);
473
+ he.setExtraStackFrame(t);
474
474
  } else
475
- Lt.setExtraStackFrame(null);
475
+ he.setExtraStackFrame(null);
476
476
  }
477
- var ft;
478
- ft = !1;
479
- function pt(n) {
480
- return typeof n == "object" && n !== null && n.$$typeof === t;
477
+ var X;
478
+ X = !1;
479
+ function H(e) {
480
+ return typeof e == "object" && e !== null && e.$$typeof === C;
481
481
  }
482
- function zt() {
482
+ function me() {
483
483
  {
484
- if (lt.current) {
485
- var n = Y(lt.current.type);
486
- if (n)
484
+ if (z.current) {
485
+ var e = m(z.current.type);
486
+ if (e)
487
487
  return `
488
488
 
489
- Check the render method of \`` + n + "`.";
489
+ Check the render method of \`` + e + "`.";
490
490
  }
491
491
  return "";
492
492
  }
493
493
  }
494
- function Jr(n) {
494
+ function tr(e) {
495
495
  return "";
496
496
  }
497
- var Vt = {};
498
- function Zr(n) {
497
+ var Ee = {};
498
+ function nr(e) {
499
499
  {
500
- var s = zt();
501
- if (!s) {
502
- var u = typeof n == "string" ? n : n.displayName || n.name;
503
- u && (s = `
500
+ var r = me();
501
+ if (!r) {
502
+ var t = typeof e == "string" ? e : e.displayName || e.name;
503
+ t && (r = `
504
504
 
505
- Check the top-level render call using <` + u + ">.");
505
+ Check the top-level render call using <` + t + ">.");
506
506
  }
507
- return s;
507
+ return r;
508
508
  }
509
509
  }
510
- function Wt(n, s) {
510
+ function Re(e, r) {
511
511
  {
512
- if (!n._store || n._store.validated || n.key != null)
512
+ if (!e._store || e._store.validated || e.key != null)
513
513
  return;
514
- n._store.validated = !0;
515
- var u = Zr(s);
516
- if (Vt[u])
514
+ e._store.validated = !0;
515
+ var t = nr(r);
516
+ if (Ee[t])
517
517
  return;
518
- Vt[u] = !0;
519
- var p = "";
520
- n && n._owner && n._owner !== lt.current && (p = " It was passed a child from " + Y(n._owner.type) + "."), we(n), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, p), we(null);
518
+ Ee[t] = !0;
519
+ var n = "";
520
+ e && e._owner && e._owner !== z.current && (n = " It was passed a child from " + m(e._owner.type) + "."), k(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), k(null);
521
521
  }
522
522
  }
523
- function Yt(n, s) {
523
+ function Te(e, r) {
524
524
  {
525
- if (typeof n != "object")
525
+ if (typeof e != "object")
526
526
  return;
527
- if (ct(n))
528
- for (var u = 0; u < n.length; u++) {
529
- var p = n[u];
530
- pt(p) && Wt(p, s);
527
+ if (K(e))
528
+ for (var t = 0; t < e.length; t++) {
529
+ var n = e[t];
530
+ H(n) && Re(n, r);
531
531
  }
532
- else if (pt(n))
533
- n._store && (n._store.validated = !0);
534
- else if (n) {
535
- var _ = M(n);
536
- if (typeof _ == "function" && _ !== n.entries)
537
- for (var P = _.call(n), R; !(R = P.next()).done; )
538
- pt(R.value) && Wt(R.value, s);
532
+ else if (H(e))
533
+ e._store && (e._store.validated = !0);
534
+ else if (e) {
535
+ var i = xe(e);
536
+ if (typeof i == "function" && i !== e.entries)
537
+ for (var s = i.call(e), o; !(o = s.next()).done; )
538
+ H(o.value) && Re(o.value, r);
539
539
  }
540
540
  }
541
541
  }
542
- function Qr(n) {
542
+ function ar(e) {
543
543
  {
544
- var s = n.type;
545
- if (s == null || typeof s == "string")
544
+ var r = e.type;
545
+ if (r == null || typeof r == "string")
546
546
  return;
547
- var u;
548
- if (typeof s == "function")
549
- u = s.propTypes;
550
- else if (typeof s == "object" && (s.$$typeof === l || // Note: Memo only checks outer props here.
547
+ var t;
548
+ if (typeof r == "function")
549
+ t = r.propTypes;
550
+ else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
551
551
  // Inner props are checked in the reconciler.
552
- s.$$typeof === m))
553
- u = s.propTypes;
552
+ r.$$typeof === T))
553
+ t = r.propTypes;
554
554
  else
555
555
  return;
556
- if (u) {
557
- var p = Y(s);
558
- Lr(u, n.props, "prop", p, n);
559
- } else if (s.PropTypes !== void 0 && !ft) {
560
- ft = !0;
561
- var _ = Y(s);
562
- v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _ || "Unknown");
556
+ if (t) {
557
+ var n = m(r);
558
+ Be(t, e.props, "prop", n, e);
559
+ } else if (r.PropTypes !== void 0 && !X) {
560
+ X = !0;
561
+ var i = m(r);
562
+ c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
563
563
  }
564
- typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
564
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
565
565
  }
566
566
  }
567
- function en(n) {
567
+ function or(e) {
568
568
  {
569
- for (var s = Object.keys(n.props), u = 0; u < s.length; u++) {
570
- var p = s[u];
571
- if (p !== "children" && p !== "key") {
572
- we(n), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), we(null);
569
+ for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
570
+ var n = r[t];
571
+ if (n !== "children" && n !== "key") {
572
+ k(e), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), k(null);
573
573
  break;
574
574
  }
575
575
  }
576
- n.ref !== null && (we(n), v("Invalid attribute `ref` supplied to `React.Fragment`."), we(null));
576
+ e.ref !== null && (k(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), k(null));
577
577
  }
578
578
  }
579
- var Bt = {};
580
- function Ut(n, s, u, p, _, P) {
579
+ var Ce = {};
580
+ function Oe(e, r, t, n, i, s) {
581
581
  {
582
- var R = it(n);
583
- if (!R) {
584
- var w = "";
585
- (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
586
- var z = Jr();
587
- z ? w += z : w += zt();
588
- var j;
589
- n === null ? j = "null" : ct(n) ? j = "array" : n !== void 0 && n.$$typeof === t ? (j = "<" + (Y(n.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : j = typeof n, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, w);
582
+ var o = $e(e);
583
+ if (!o) {
584
+ var a = "";
585
+ (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.");
586
+ var d = tr();
587
+ d ? a += d : a += me();
588
+ var u;
589
+ e === null ? u = "null" : K(e) ? u = "array" : e !== void 0 && e.$$typeof === C ? (u = "<" + (m(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : u = 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", u, a);
590
590
  }
591
- var D = Xr(n, s, u, _, P);
592
- if (D == null)
593
- return D;
594
- if (R) {
595
- var U = s.children;
596
- if (U !== void 0)
597
- if (p)
598
- if (ct(U)) {
599
- for (var Se = 0; Se < U.length; Se++)
600
- Yt(U[Se], n);
601
- Object.freeze && Object.freeze(U);
591
+ var l = rr(e, r, t, i, s);
592
+ if (l == null)
593
+ return l;
594
+ if (o) {
595
+ var y = r.children;
596
+ if (y !== void 0)
597
+ if (n)
598
+ if (K(y)) {
599
+ for (var D = 0; D < y.length; D++)
600
+ Te(y[D], e);
601
+ Object.freeze && Object.freeze(y);
602
602
  } else
603
- v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
603
+ 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.");
604
604
  else
605
- Yt(U, n);
605
+ Te(y, e);
606
606
  }
607
- if (Ne.call(s, "key")) {
608
- var ue = Y(n), V = Object.keys(s).filter(function(sn) {
609
- return sn !== "key";
610
- }), dt = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
611
- if (!Bt[ue + dt]) {
612
- var an = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
613
- v(`A props object containing a "key" prop is being spread into JSX:
607
+ if (I.call(r, "key")) {
608
+ var P = m(e), v = Object.keys(r).filter(function(fr) {
609
+ return fr !== "key";
610
+ }), Q = v.length > 0 ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}";
611
+ if (!Ce[P + Q]) {
612
+ var cr = v.length > 0 ? "{" + v.join(": ..., ") + ": ...}" : "{}";
613
+ c(`A props object containing a "key" prop is being spread into JSX:
614
614
  let props = %s;
615
615
  <%s {...props} />
616
616
  React keys must be passed directly to JSX without using spread:
617
617
  let props = %s;
618
- <%s key={someKey} {...props} />`, dt, ue, an, ue), Bt[ue + dt] = !0;
618
+ <%s key={someKey} {...props} />`, Q, P, cr, P), Ce[P + Q] = !0;
619
619
  }
620
620
  }
621
- return n === o ? en(D) : Qr(D), D;
621
+ return e === _ ? or(l) : ar(l), l;
622
622
  }
623
623
  }
624
- function tn(n, s, u) {
625
- return Ut(n, s, u, !0);
626
- }
627
- function rn(n, s, u) {
628
- return Ut(n, s, u, !1);
629
- }
630
- var nn = rn, on = tn;
631
- $e.Fragment = o, $e.jsx = nn, $e.jsxs = on;
632
- }()), $e;
633
- }
634
- process.env.NODE_ENV === "production" ? vt.exports = fn() : vt.exports = pn();
635
- var dn = vt.exports, W = function() {
636
- return W = Object.assign || function(t) {
637
- for (var r, o = 1, a = arguments.length; o < a; o++) {
638
- r = arguments[o];
639
- for (var i in r)
640
- Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
641
- }
642
- return t;
643
- }, W.apply(this, arguments);
644
- };
645
- function Re(e, t, r) {
646
- if (r || arguments.length === 2)
647
- for (var o = 0, a = t.length, i; o < a; o++)
648
- (i || !(o in t)) && (i || (i = Array.prototype.slice.call(t, 0, o)), i[o] = t[o]);
649
- return e.concat(i || Array.prototype.slice.call(t));
650
- }
651
- function hn(e) {
652
- var t = /* @__PURE__ */ Object.create(null);
653
- return function(r) {
654
- return t[r] === void 0 && (t[r] = e(r)), t[r];
655
- };
656
- }
657
- var mn = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, gn = /* @__PURE__ */ hn(
658
- function(e) {
659
- return mn.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
660
- }
661
- /* Z+1 */
662
- ), A = "-ms-", Me = "-moz-", k = "-webkit-", pr = "comm", et = "rule", Ct = "decl", yn = "@import", dr = "@keyframes", vn = "@layer", hr = Math.abs, Pt = String.fromCharCode, bt = Object.assign;
663
- function bn(e, t) {
664
- return F(e, 0) ^ 45 ? (((t << 2 ^ F(e, 0)) << 2 ^ F(e, 1)) << 2 ^ F(e, 2)) << 2 ^ F(e, 3) : 0;
665
- }
666
- function mr(e) {
667
- return e.trim();
668
- }
669
- function re(e, t) {
670
- return (e = t.exec(e)) ? e[0] : e;
671
- }
672
- function y(e, t, r) {
673
- return e.replace(t, r);
674
- }
675
- function He(e, t, r) {
676
- return e.indexOf(t, r);
677
- }
678
- function F(e, t) {
679
- return e.charCodeAt(t) | 0;
680
- }
681
- function _e(e, t, r) {
682
- return e.slice(t, r);
683
- }
684
- function J(e) {
685
- return e.length;
686
- }
687
- function gr(e) {
688
- return e.length;
689
- }
690
- function Fe(e, t) {
691
- return t.push(e), e;
692
- }
693
- function wn(e, t) {
694
- return e.map(t).join("");
695
- }
696
- function Kt(e, t) {
697
- return e.filter(function(r) {
698
- return !re(r, t);
699
- });
700
- }
701
- var tt = 1, ke = 1, yr = 0, G = 0, $ = 0, Oe = "";
702
- function rt(e, t, r, o, a, i, c, f) {
703
- return { value: e, root: t, parent: r, type: o, props: a, children: i, line: tt, column: ke, length: c, return: "", siblings: f };
704
- }
705
- function se(e, t) {
706
- return bt(rt("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
707
- }
708
- function Ee(e) {
709
- for (; e.root; )
710
- e = se(e.root, { children: [e] });
711
- Fe(e, e.siblings);
712
- }
713
- function Sn() {
714
- return $;
715
- }
716
- function En() {
717
- return $ = G > 0 ? F(Oe, --G) : 0, ke--, $ === 10 && (ke = 1, tt--), $;
718
- }
719
- function X() {
720
- return $ = G < yr ? F(Oe, G++) : 0, ke++, $ === 10 && (ke = 1, tt++), $;
721
- }
722
- function pe() {
723
- return F(Oe, G);
724
- }
725
- function qe() {
726
- return G;
727
- }
728
- function nt(e, t) {
729
- return _e(Oe, e, t);
730
- }
731
- function wt(e) {
732
- switch (e) {
733
- case 0:
734
- case 9:
735
- case 10:
736
- case 13:
737
- case 32:
738
- return 5;
739
- case 33:
740
- case 43:
741
- case 44:
742
- case 47:
743
- case 62:
744
- case 64:
745
- case 126:
746
- case 59:
747
- case 123:
748
- case 125:
749
- return 4;
750
- case 58:
751
- return 3;
752
- case 34:
753
- case 39:
754
- case 40:
755
- case 91:
756
- return 2;
757
- case 41:
758
- case 93:
759
- return 1;
760
- }
761
- return 0;
762
- }
763
- function Rn(e) {
764
- return tt = ke = 1, yr = J(Oe = e), G = 0, [];
765
- }
766
- function _n(e) {
767
- return Oe = "", e;
768
- }
769
- function ht(e) {
770
- return mr(nt(G - 1, St(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
771
- }
772
- function kn(e) {
773
- for (; ($ = pe()) && $ < 33; )
774
- X();
775
- return wt(e) > 2 || wt($) > 3 ? "" : " ";
776
- }
777
- function xn(e, t) {
778
- for (; --t && X() && !($ < 48 || $ > 102 || $ > 57 && $ < 65 || $ > 70 && $ < 97); )
779
- ;
780
- return nt(e, qe() + (t < 6 && pe() == 32 && X() == 32));
781
- }
782
- function St(e) {
783
- for (; X(); )
784
- switch ($) {
785
- case e:
786
- return G;
787
- case 34:
788
- case 39:
789
- e !== 34 && e !== 39 && St($);
790
- break;
791
- case 40:
792
- e === 41 && St(e);
793
- break;
794
- case 92:
795
- X();
796
- break;
797
- }
798
- return G;
799
- }
800
- function Cn(e, t) {
801
- for (; X() && e + $ !== 57; )
802
- if (e + $ === 84 && pe() === 47)
803
- break;
804
- return "/*" + nt(t, G - 1) + "*" + Pt(e === 47 ? e : X());
805
- }
806
- function Pn(e) {
807
- for (; !wt(pe()); )
808
- X();
809
- return nt(e, G);
810
- }
811
- function On(e) {
812
- return _n(Ke("", null, null, null, [""], e = Rn(e), 0, [0], e));
813
- }
814
- function Ke(e, t, r, o, a, i, c, f, l) {
815
- for (var h = 0, d = 0, m = c, b = 0, E = 0, O = 0, N = 1, M = 1, x = 1, v = 0, C = "", T = a, I = i, S = o, g = C; M; )
816
- switch (O = v, v = X()) {
817
- case 40:
818
- if (O != 108 && F(g, m - 1) == 58) {
819
- He(g += y(ht(v), "&", "&\f"), "&\f", hr(h ? f[h - 1] : 0)) != -1 && (x = -1);
820
- break;
821
- }
822
- case 34:
823
- case 39:
824
- case 91:
825
- g += ht(v);
826
- break;
827
- case 9:
828
- case 10:
829
- case 13:
830
- case 32:
831
- g += kn(O);
832
- break;
833
- case 92:
834
- g += xn(qe() - 1, 7);
835
- continue;
836
- case 47:
837
- switch (pe()) {
838
- case 42:
839
- case 47:
840
- Fe(Tn(Cn(X(), qe()), t, r, l), l);
841
- break;
842
- default:
843
- g += "/";
844
- }
845
- break;
846
- case 123 * N:
847
- f[h++] = J(g) * x;
848
- case 125 * N:
849
- case 59:
850
- case 0:
851
- switch (v) {
852
- case 0:
853
- case 125:
854
- M = 0;
855
- case 59 + d:
856
- x == -1 && (g = y(g, /\f/g, "")), E > 0 && J(g) - m && Fe(E > 32 ? Jt(g + ";", o, r, m - 1, l) : Jt(y(g, " ", "") + ";", o, r, m - 2, l), l);
857
- break;
858
- case 59:
859
- g += ";";
860
- default:
861
- if (Fe(S = Xt(g, t, r, h, d, a, f, C, T = [], I = [], m, i), i), v === 123)
862
- if (d === 0)
863
- Ke(g, t, S, S, T, i, m, f, I);
864
- else
865
- switch (b === 99 && F(g, 3) === 110 ? 100 : b) {
866
- case 100:
867
- case 108:
868
- case 109:
869
- case 115:
870
- Ke(e, S, S, o && Fe(Xt(e, S, S, 0, 0, a, f, C, a, T = [], m, I), I), a, I, m, f, o ? T : I);
871
- break;
872
- default:
873
- Ke(g, S, S, S, [""], I, 0, f, I);
874
- }
875
- }
876
- h = d = E = 0, N = x = 1, C = g = "", m = c;
877
- break;
878
- case 58:
879
- m = 1 + J(g), E = O;
880
- default:
881
- if (N < 1) {
882
- if (v == 123)
883
- --N;
884
- else if (v == 125 && N++ == 0 && En() == 125)
885
- continue;
886
- }
887
- switch (g += Pt(v), v * N) {
888
- case 38:
889
- x = d > 0 ? 1 : (g += "\f", -1);
890
- break;
891
- case 44:
892
- f[h++] = (J(g) - 1) * x, x = 1;
893
- break;
894
- case 64:
895
- pe() === 45 && (g += ht(X())), b = pe(), d = m = J(C = g += Pn(qe())), v++;
896
- break;
897
- case 45:
898
- O === 45 && J(g) == 2 && (N = 0);
899
- }
900
- }
901
- return i;
902
- }
903
- function Xt(e, t, r, o, a, i, c, f, l, h, d, m) {
904
- for (var b = a - 1, E = a === 0 ? i : [""], O = gr(E), N = 0, M = 0, x = 0; N < o; ++N)
905
- for (var v = 0, C = _e(e, b + 1, b = hr(M = c[N])), T = e; v < O; ++v)
906
- (T = mr(M > 0 ? E[v] + " " + C : y(C, /&\f/g, E[v]))) && (l[x++] = T);
907
- return rt(e, t, r, a === 0 ? et : f, l, h, d, m);
908
- }
909
- function Tn(e, t, r, o) {
910
- return rt(e, t, r, pr, Pt(Sn()), _e(e, 2, -2), 0, o);
911
- }
912
- function Jt(e, t, r, o, a) {
913
- return rt(e, t, r, Ct, _e(e, 0, o), _e(e, o + 1, -1), o, a);
914
- }
915
- function vr(e, t, r) {
916
- switch (bn(e, t)) {
917
- case 5103:
918
- return k + "print-" + e + e;
919
- case 5737:
920
- case 4201:
921
- case 3177:
922
- case 3433:
923
- case 1641:
924
- case 4457:
925
- case 2921:
926
- case 5572:
927
- case 6356:
928
- case 5844:
929
- case 3191:
930
- case 6645:
931
- case 3005:
932
- case 6391:
933
- case 5879:
934
- case 5623:
935
- case 6135:
936
- case 4599:
937
- case 4855:
938
- case 4215:
939
- case 6389:
940
- case 5109:
941
- case 5365:
942
- case 5621:
943
- case 3829:
944
- return k + e + e;
945
- case 4789:
946
- return Me + e + e;
947
- case 5349:
948
- case 4246:
949
- case 4810:
950
- case 6968:
951
- case 2756:
952
- return k + e + Me + e + A + e + e;
953
- case 5936:
954
- switch (F(e, t + 11)) {
955
- case 114:
956
- return k + e + A + y(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
957
- case 108:
958
- return k + e + A + y(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
959
- case 45:
960
- return k + e + A + y(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
961
- }
962
- case 6828:
963
- case 4268:
964
- case 2903:
965
- return k + e + A + e + e;
966
- case 6165:
967
- return k + e + A + "flex-" + e + e;
968
- case 5187:
969
- return k + e + y(e, /(\w+).+(:[^]+)/, k + "box-$1$2" + A + "flex-$1$2") + e;
970
- case 5443:
971
- return k + e + A + "flex-item-" + y(e, /flex-|-self/g, "") + (re(e, /flex-|baseline/) ? "" : A + "grid-row-" + y(e, /flex-|-self/g, "")) + e;
972
- case 4675:
973
- return k + e + A + "flex-line-pack" + y(e, /align-content|flex-|-self/g, "") + e;
974
- case 5548:
975
- return k + e + A + y(e, "shrink", "negative") + e;
976
- case 5292:
977
- return k + e + A + y(e, "basis", "preferred-size") + e;
978
- case 6060:
979
- return k + "box-" + y(e, "-grow", "") + k + e + A + y(e, "grow", "positive") + e;
980
- case 4554:
981
- return k + y(e, /([^-])(transform)/g, "$1" + k + "$2") + e;
982
- case 6187:
983
- return y(y(y(e, /(zoom-|grab)/, k + "$1"), /(image-set)/, k + "$1"), e, "") + e;
984
- case 5495:
985
- case 3959:
986
- return y(e, /(image-set\([^]*)/, k + "$1$`$1");
987
- case 4968:
988
- return y(y(e, /(.+:)(flex-)?(.*)/, k + "box-pack:$3" + A + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + k + e + e;
989
- case 4200:
990
- if (!re(e, /flex-|baseline/))
991
- return A + "grid-column-align" + _e(e, t) + e;
992
- break;
993
- case 2592:
994
- case 3360:
995
- return A + y(e, "template-", "") + e;
996
- case 4384:
997
- case 3616:
998
- return r && r.some(function(o, a) {
999
- return t = a, re(o.props, /grid-\w+-end/);
1000
- }) ? ~He(e + (r = r[t].value), "span", 0) ? e : A + y(e, "-start", "") + e + A + "grid-row-span:" + (~He(r, "span", 0) ? re(r, /\d+/) : +re(r, /\d+/) - +re(e, /\d+/)) + ";" : A + y(e, "-start", "") + e;
1001
- case 4896:
1002
- case 4128:
1003
- return r && r.some(function(o) {
1004
- return re(o.props, /grid-\w+-start/);
1005
- }) ? e : A + y(y(e, "-end", "-span"), "span ", "") + e;
1006
- case 4095:
1007
- case 3583:
1008
- case 4068:
1009
- case 2532:
1010
- return y(e, /(.+)-inline(.+)/, k + "$1$2") + e;
1011
- case 8116:
1012
- case 7059:
1013
- case 5753:
1014
- case 5535:
1015
- case 5445:
1016
- case 5701:
1017
- case 4933:
1018
- case 4677:
1019
- case 5533:
1020
- case 5789:
1021
- case 5021:
1022
- case 4765:
1023
- if (J(e) - 1 - t > 6)
1024
- switch (F(e, t + 1)) {
1025
- case 109:
1026
- if (F(e, t + 4) !== 45)
1027
- break;
1028
- case 102:
1029
- return y(e, /(.+:)(.+)-([^]+)/, "$1" + k + "$2-$3$1" + Me + (F(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1030
- case 115:
1031
- return ~He(e, "stretch", 0) ? vr(y(e, "stretch", "fill-available"), t, r) + e : e;
1032
- }
1033
- break;
1034
- case 5152:
1035
- case 5920:
1036
- return y(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(o, a, i, c, f, l, h) {
1037
- return A + a + ":" + i + h + (c ? A + a + "-span:" + (f ? l : +l - +i) + h : "") + e;
1038
- });
1039
- case 4949:
1040
- if (F(e, t + 6) === 121)
1041
- return y(e, ":", ":" + k) + e;
1042
- break;
1043
- case 6444:
1044
- switch (F(e, F(e, 14) === 45 ? 18 : 11)) {
1045
- case 120:
1046
- return y(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + k + (F(e, 14) === 45 ? "inline-" : "") + "box$3$1" + k + "$2$3$1" + A + "$2box$3") + e;
1047
- case 100:
1048
- return y(e, ":", ":" + A) + e;
1049
- }
1050
- break;
1051
- case 5719:
1052
- case 2647:
1053
- case 2135:
1054
- case 3927:
1055
- case 2391:
1056
- return y(e, "scroll-", "scroll-snap-") + e;
1057
- }
1058
- return e;
1059
- }
1060
- function Ze(e, t) {
1061
- for (var r = "", o = 0; o < e.length; o++)
1062
- r += t(e[o], o, e, t) || "";
1063
- return r;
1064
- }
1065
- function An(e, t, r, o) {
1066
- switch (e.type) {
1067
- case vn:
1068
- if (e.children.length)
1069
- break;
1070
- case yn:
1071
- case Ct:
1072
- return e.return = e.return || e.value;
1073
- case pr:
1074
- return "";
1075
- case dr:
1076
- return e.return = e.value + "{" + Ze(e.children, o) + "}";
1077
- case et:
1078
- if (!J(e.value = e.props.join(",")))
1079
- return "";
1080
- }
1081
- return J(r = Ze(e.children, o)) ? e.return = e.value + "{" + r + "}" : "";
1082
- }
1083
- function In(e) {
1084
- var t = gr(e);
1085
- return function(r, o, a, i) {
1086
- for (var c = "", f = 0; f < t; f++)
1087
- c += e[f](r, o, a, i) || "";
1088
- return c;
1089
- };
1090
- }
1091
- function Nn(e) {
1092
- return function(t) {
1093
- t.root || (t = t.return) && e(t);
1094
- };
1095
- }
1096
- function jn(e, t, r, o) {
1097
- if (e.length > -1 && !e.return)
1098
- switch (e.type) {
1099
- case Ct:
1100
- e.return = vr(e.value, e.length, r);
1101
- return;
1102
- case dr:
1103
- return Ze([se(e, { value: y(e.value, "@", "@" + k) })], o);
1104
- case et:
1105
- if (e.length)
1106
- return wn(r = e.props, function(a) {
1107
- switch (re(a, o = /(::plac\w+|:read-\w+)/)) {
1108
- case ":read-only":
1109
- case ":read-write":
1110
- Ee(se(e, { props: [y(a, /:(read-\w+)/, ":" + Me + "$1")] })), Ee(se(e, { props: [a] })), bt(e, { props: Kt(r, o) });
1111
- break;
1112
- case "::placeholder":
1113
- Ee(se(e, { props: [y(a, /:(plac\w+)/, ":" + k + "input-$1")] })), Ee(se(e, { props: [y(a, /:(plac\w+)/, ":" + Me + "$1")] })), Ee(se(e, { props: [y(a, /:(plac\w+)/, A + "input-$1")] })), Ee(se(e, { props: [a] })), bt(e, { props: Kt(r, o) });
1114
- break;
1115
- }
1116
- return "";
1117
- });
624
+ function ir(e, r, t) {
625
+ return Oe(e, r, t, !0);
1118
626
  }
1119
- }
1120
- var Dn = {
1121
- animationIterationCount: 1,
1122
- aspectRatio: 1,
1123
- borderImageOutset: 1,
1124
- borderImageSlice: 1,
1125
- borderImageWidth: 1,
1126
- boxFlex: 1,
1127
- boxFlexGroup: 1,
1128
- boxOrdinalGroup: 1,
1129
- columnCount: 1,
1130
- columns: 1,
1131
- flex: 1,
1132
- flexGrow: 1,
1133
- flexPositive: 1,
1134
- flexShrink: 1,
1135
- flexNegative: 1,
1136
- flexOrder: 1,
1137
- gridRow: 1,
1138
- gridRowEnd: 1,
1139
- gridRowSpan: 1,
1140
- gridRowStart: 1,
1141
- gridColumn: 1,
1142
- gridColumnEnd: 1,
1143
- gridColumnSpan: 1,
1144
- gridColumnStart: 1,
1145
- msGridRow: 1,
1146
- msGridRowSpan: 1,
1147
- msGridColumn: 1,
1148
- msGridColumnSpan: 1,
1149
- fontWeight: 1,
1150
- lineHeight: 1,
1151
- opacity: 1,
1152
- order: 1,
1153
- orphans: 1,
1154
- tabSize: 1,
1155
- widows: 1,
1156
- zIndex: 1,
1157
- zoom: 1,
1158
- WebkitLineClamp: 1,
1159
- // SVG-related properties
1160
- fillOpacity: 1,
1161
- floodOpacity: 1,
1162
- stopOpacity: 1,
1163
- strokeDasharray: 1,
1164
- strokeDashoffset: 1,
1165
- strokeMiterlimit: 1,
1166
- strokeOpacity: 1,
1167
- strokeWidth: 1
1168
- }, me = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", br = "active", wr = "data-styled-version", ot = "6.1.9", Ot = `/*!sc*/
1169
- `, Tt = typeof window < "u" && "HTMLElement" in window, $n = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), Zt = /invalid hook call/i, Ye = /* @__PURE__ */ new Set(), Fn = function(e, t) {
1170
- if (process.env.NODE_ENV !== "production") {
1171
- var r = t ? ' with the id of "'.concat(t, '"') : "", o = "The component ".concat(e).concat(r, ` has been created dynamically.
1172
- `) + `You may see this warning because you've called styled inside another component.
1173
- To resolve this only create new StyledComponents outside of any render method and function component.`, a = console.error;
1174
- try {
1175
- var i = !0;
1176
- console.error = function(c) {
1177
- for (var f = [], l = 1; l < arguments.length; l++)
1178
- f[l - 1] = arguments[l];
1179
- Zt.test(c) ? (i = !1, Ye.delete(o)) : a.apply(void 0, Re([c], f, !1));
1180
- }, cn(), i && !Ye.has(o) && (console.warn(o), Ye.add(o));
1181
- } catch (c) {
1182
- Zt.test(c.message) && Ye.delete(o);
1183
- } finally {
1184
- console.error = a;
627
+ function sr(e, r, t) {
628
+ return Oe(e, r, t, !1);
1185
629
  }
1186
- }
1187
- }, at = Object.freeze([]), xe = Object.freeze({});
1188
- function Mn(e, t, r) {
1189
- return r === void 0 && (r = xe), e.theme !== r.theme && e.theme || t || r.theme;
630
+ var ur = sr, lr = ir;
631
+ Y.Fragment = _, Y.jsx = ur, Y.jsxs = lr;
632
+ }()), Y;
1190
633
  }
1191
- var Et = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), Ln = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, zn = /(^-|-$)/g;
1192
- function Qt(e) {
1193
- return e.replace(Ln, "-").replace(zn, "");
1194
- }
1195
- var Vn = /(a)(d)/gi, Be = 52, er = function(e) {
1196
- return String.fromCharCode(e + (e > 25 ? 39 : 97));
1197
- };
1198
- function Rt(e) {
1199
- var t, r = "";
1200
- for (t = Math.abs(e); t > Be; t = t / Be | 0)
1201
- r = er(t % Be) + r;
1202
- return (er(t % Be) + r).replace(Vn, "$1-$2");
1203
- }
1204
- var mt, Sr = 5381, le = function(e, t) {
1205
- for (var r = t.length; r; )
1206
- e = 33 * e ^ t.charCodeAt(--r);
1207
- return e;
1208
- }, Er = function(e) {
1209
- return le(Sr, e);
634
+ process.env.NODE_ENV === "production" ? ee.exports = dr() : ee.exports = vr();
635
+ var Z = ee.exports;
636
+ const pr = "_button_gs6r8_1", gr = "_primary_gs6r8_15", yr = "_danger_gs6r8_16", _r = "_secondary_gs6r8_39", br = "_text_gs6r8_46", hr = "_disabled_gs6r8_55", F = {
637
+ button: pr,
638
+ primary: gr,
639
+ danger: yr,
640
+ secondary: _r,
641
+ text: br,
642
+ disabled: hr
1210
643
  };
1211
- function Wn(e) {
1212
- return Rt(Er(e) >>> 0);
1213
- }
1214
- function Rr(e) {
1215
- return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
1216
- }
1217
- function gt(e) {
1218
- return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
1219
- }
1220
- var _r = typeof Symbol == "function" && Symbol.for, kr = _r ? Symbol.for("react.memo") : 60115, Yn = _r ? Symbol.for("react.forward_ref") : 60112, Bn = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Un = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, xr = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, Gn = ((mt = {})[Yn] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, mt[kr] = xr, mt);
1221
- function tr(e) {
1222
- return ("type" in (t = e) && t.type.$$typeof) === kr ? xr : "$$typeof" in e ? Gn[e.$$typeof] : Bn;
1223
- var t;
1224
- }
1225
- var Hn = Object.defineProperty, qn = Object.getOwnPropertyNames, rr = Object.getOwnPropertySymbols, Kn = Object.getOwnPropertyDescriptor, Xn = Object.getPrototypeOf, nr = Object.prototype;
1226
- function Cr(e, t, r) {
1227
- if (typeof t != "string") {
1228
- if (nr) {
1229
- var o = Xn(t);
1230
- o && o !== nr && Cr(e, o, r);
1231
- }
1232
- var a = qn(t);
1233
- rr && (a = a.concat(rr(t)));
1234
- for (var i = tr(e), c = tr(t), f = 0; f < a.length; ++f) {
1235
- var l = a[f];
1236
- if (!(l in Un || r && r[l] || c && l in c || i && l in i)) {
1237
- var h = Kn(t, l);
1238
- try {
1239
- Hn(e, l, h);
1240
- } catch {
1241
- }
1242
- }
1243
- }
1244
- }
1245
- return e;
1246
- }
1247
- function Ce(e) {
1248
- return typeof e == "function";
1249
- }
1250
- function At(e) {
1251
- return typeof e == "object" && "styledComponentId" in e;
1252
- }
1253
- function fe(e, t) {
1254
- return e && t ? "".concat(e, " ").concat(t) : e || t || "";
1255
- }
1256
- function or(e, t) {
1257
- if (e.length === 0)
1258
- return "";
1259
- for (var r = e[0], o = 1; o < e.length; o++)
1260
- r += e[o];
1261
- return r;
1262
- }
1263
- function Pe(e) {
1264
- return e !== null && typeof e == "object" && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
1265
- }
1266
- function _t(e, t, r) {
1267
- if (r === void 0 && (r = !1), !r && !Pe(e) && !Array.isArray(e))
1268
- return t;
1269
- if (Array.isArray(t))
1270
- for (var o = 0; o < t.length; o++)
1271
- e[o] = _t(e[o], t[o]);
1272
- else if (Pe(t))
1273
- for (var o in t)
1274
- e[o] = _t(e[o], t[o]);
1275
- return e;
1276
- }
1277
- function It(e, t) {
1278
- Object.defineProperty(e, "toString", { value: t });
1279
- }
1280
- var Jn = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
1281
-
1282
- `, 2: `Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
1283
-
1284
- - Are you trying to reuse it across renders?
1285
- - Are you accidentally calling collectStyles twice?
1286
-
1287
- `, 3: `Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
1288
-
1289
- `, 4: `The \`StyleSheetManager\` expects a valid target or sheet prop!
1290
-
1291
- - Does this error occur on the client and is your target falsy?
1292
- - Does this error occur on the server and is the sheet falsy?
1293
-
1294
- `, 5: `The clone method cannot be used on the client!
1295
-
1296
- - Are you running in a client-like environment on the server?
1297
- - Are you trying to run SSR on the client?
1298
-
1299
- `, 6: `Trying to insert a new style tag, but the given Node is unmounted!
1300
-
1301
- - Are you using a custom target that isn't mounted?
1302
- - Does your document not have a valid head element?
1303
- - Have you accidentally removed a style tag manually?
1304
-
1305
- `, 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n', 8: `ThemeProvider: Please make your "theme" prop an object.
1306
-
1307
- `, 9: "Missing document `<head>`\n\n", 10: `Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
1308
-
1309
- `, 11: `_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
1310
-
1311
- `, 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n", 13: `%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
1312
-
1313
- `, 14: `ThemeProvider: "theme" prop is required.
1314
-
1315
- `, 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n", 16: `Reached the limit of how many styled components may be created at group %s.
1316
- You may only create up to 1,073,741,824 components. If you're creating components dynamically,
1317
- as for instance in your render method then you may be running into this limitation.
1318
-
1319
- `, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
1320
- Has styled-components' style tag been unmounted or altered by another script?
1321
- `, 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
1322
- function Zn() {
1323
- for (var e = [], t = 0; t < arguments.length; t++)
1324
- e[t] = arguments[t];
1325
- for (var r = e[0], o = [], a = 1, i = e.length; a < i; a += 1)
1326
- o.push(e[a]);
1327
- return o.forEach(function(c) {
1328
- r = r.replace(/%[a-z]/, c);
1329
- }), r;
1330
- }
1331
- function Te(e) {
1332
- for (var t = [], r = 1; r < arguments.length; r++)
1333
- t[r - 1] = arguments[r];
1334
- return process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e, " for more information.").concat(t.length > 0 ? " Args: ".concat(t.join(", ")) : "")) : new Error(Zn.apply(void 0, Re([Jn[e]], t, !1)).trim());
1335
- }
1336
- var Qn = function() {
1337
- function e(t) {
1338
- this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = t;
1339
- }
1340
- return e.prototype.indexOfGroup = function(t) {
1341
- for (var r = 0, o = 0; o < t; o++)
1342
- r += this.groupSizes[o];
1343
- return r;
1344
- }, e.prototype.insertRules = function(t, r) {
1345
- if (t >= this.groupSizes.length) {
1346
- for (var o = this.groupSizes, a = o.length, i = a; t >= i; )
1347
- if ((i <<= 1) < 0)
1348
- throw Te(16, "".concat(t));
1349
- this.groupSizes = new Uint32Array(i), this.groupSizes.set(o), this.length = i;
1350
- for (var c = a; c < i; c++)
1351
- this.groupSizes[c] = 0;
1352
- }
1353
- for (var f = this.indexOfGroup(t + 1), l = (c = 0, r.length); c < l; c++)
1354
- this.tag.insertRule(f, r[c]) && (this.groupSizes[t]++, f++);
1355
- }, e.prototype.clearGroup = function(t) {
1356
- if (t < this.length) {
1357
- var r = this.groupSizes[t], o = this.indexOfGroup(t), a = o + r;
1358
- this.groupSizes[t] = 0;
1359
- for (var i = o; i < a; i++)
1360
- this.tag.deleteRule(o);
1361
- }
1362
- }, e.prototype.getGroup = function(t) {
1363
- var r = "";
1364
- if (t >= this.length || this.groupSizes[t] === 0)
1365
- return r;
1366
- for (var o = this.groupSizes[t], a = this.indexOfGroup(t), i = a + o, c = a; c < i; c++)
1367
- r += "".concat(this.tag.getRule(c)).concat(Ot);
1368
- return r;
1369
- }, e;
1370
- }(), Xe = /* @__PURE__ */ new Map(), Qe = /* @__PURE__ */ new Map(), Je = 1, Ue = function(e) {
1371
- if (Xe.has(e))
1372
- return Xe.get(e);
1373
- for (; Qe.has(Je); )
1374
- Je++;
1375
- var t = Je++;
1376
- if (process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t > 1073741824))
1377
- throw Te(16, "".concat(t));
1378
- return Xe.set(e, t), Qe.set(t, e), t;
1379
- }, eo = function(e, t) {
1380
- Je = t + 1, Xe.set(e, t), Qe.set(t, e);
1381
- }, to = "style[".concat(me, "][").concat(wr, '="').concat(ot, '"]'), ro = new RegExp("^".concat(me, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), no = function(e, t, r) {
1382
- for (var o, a = r.split(","), i = 0, c = a.length; i < c; i++)
1383
- (o = a[i]) && e.registerName(t, o);
1384
- }, oo = function(e, t) {
1385
- for (var r, o = ((r = t.textContent) !== null && r !== void 0 ? r : "").split(Ot), a = [], i = 0, c = o.length; i < c; i++) {
1386
- var f = o[i].trim();
1387
- if (f) {
1388
- var l = f.match(ro);
1389
- if (l) {
1390
- var h = 0 | parseInt(l[1], 10), d = l[2];
1391
- h !== 0 && (eo(d, h), no(e, d, l[3]), e.getTag().insertRules(h, a)), a.length = 0;
1392
- } else
1393
- a.push(f);
1394
- }
1395
- }
1396
- };
1397
- function ao() {
1398
- return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
1399
- }
1400
- var Pr = function(e) {
1401
- var t = document.head, r = e || t, o = document.createElement("style"), a = function(f) {
1402
- var l = Array.from(f.querySelectorAll("style[".concat(me, "]")));
1403
- return l[l.length - 1];
1404
- }(r), i = a !== void 0 ? a.nextSibling : null;
1405
- o.setAttribute(me, br), o.setAttribute(wr, ot);
1406
- var c = ao();
1407
- return c && o.setAttribute("nonce", c), r.insertBefore(o, i), o;
1408
- }, io = function() {
1409
- function e(t) {
1410
- this.element = Pr(t), this.element.appendChild(document.createTextNode("")), this.sheet = function(r) {
1411
- if (r.sheet)
1412
- return r.sheet;
1413
- for (var o = document.styleSheets, a = 0, i = o.length; a < i; a++) {
1414
- var c = o[a];
1415
- if (c.ownerNode === r)
1416
- return c;
1417
- }
1418
- throw Te(17);
1419
- }(this.element), this.length = 0;
1420
- }
1421
- return e.prototype.insertRule = function(t, r) {
1422
- try {
1423
- return this.sheet.insertRule(r, t), this.length++, !0;
1424
- } catch {
1425
- return !1;
1426
- }
1427
- }, e.prototype.deleteRule = function(t) {
1428
- this.sheet.deleteRule(t), this.length--;
1429
- }, e.prototype.getRule = function(t) {
1430
- var r = this.sheet.cssRules[t];
1431
- return r && r.cssText ? r.cssText : "";
1432
- }, e;
1433
- }(), so = function() {
1434
- function e(t) {
1435
- this.element = Pr(t), this.nodes = this.element.childNodes, this.length = 0;
1436
- }
1437
- return e.prototype.insertRule = function(t, r) {
1438
- if (t <= this.length && t >= 0) {
1439
- var o = document.createTextNode(r);
1440
- return this.element.insertBefore(o, this.nodes[t] || null), this.length++, !0;
1441
- }
1442
- return !1;
1443
- }, e.prototype.deleteRule = function(t) {
1444
- this.element.removeChild(this.nodes[t]), this.length--;
1445
- }, e.prototype.getRule = function(t) {
1446
- return t < this.length ? this.nodes[t].textContent : "";
1447
- }, e;
1448
- }(), co = function() {
1449
- function e(t) {
1450
- this.rules = [], this.length = 0;
1451
- }
1452
- return e.prototype.insertRule = function(t, r) {
1453
- return t <= this.length && (this.rules.splice(t, 0, r), this.length++, !0);
1454
- }, e.prototype.deleteRule = function(t) {
1455
- this.rules.splice(t, 1), this.length--;
1456
- }, e.prototype.getRule = function(t) {
1457
- return t < this.length ? this.rules[t] : "";
1458
- }, e;
1459
- }(), ar = Tt, uo = { isServer: !Tt, useCSSOMInjection: !$n }, Or = function() {
1460
- function e(t, r, o) {
1461
- t === void 0 && (t = xe), r === void 0 && (r = {});
1462
- var a = this;
1463
- this.options = W(W({}, uo), t), this.gs = r, this.names = new Map(o), this.server = !!t.isServer, !this.server && Tt && ar && (ar = !1, function(i) {
1464
- for (var c = document.querySelectorAll(to), f = 0, l = c.length; f < l; f++) {
1465
- var h = c[f];
1466
- h && h.getAttribute(me) !== br && (oo(i, h), h.parentNode && h.parentNode.removeChild(h));
1467
- }
1468
- }(this)), It(this, function() {
1469
- return function(i) {
1470
- for (var c = i.getTag(), f = c.length, l = "", h = function(m) {
1471
- var b = function(x) {
1472
- return Qe.get(x);
1473
- }(m);
1474
- if (b === void 0)
1475
- return "continue";
1476
- var E = i.names.get(b), O = c.getGroup(m);
1477
- if (E === void 0 || O.length === 0)
1478
- return "continue";
1479
- var N = "".concat(me, ".g").concat(m, '[id="').concat(b, '"]'), M = "";
1480
- E !== void 0 && E.forEach(function(x) {
1481
- x.length > 0 && (M += "".concat(x, ","));
1482
- }), l += "".concat(O).concat(N, '{content:"').concat(M, '"}').concat(Ot);
1483
- }, d = 0; d < f; d++)
1484
- h(d);
1485
- return l;
1486
- }(a);
1487
- });
1488
- }
1489
- return e.registerId = function(t) {
1490
- return Ue(t);
1491
- }, e.prototype.reconstructWithOptions = function(t, r) {
1492
- return r === void 0 && (r = !0), new e(W(W({}, this.options), t), this.gs, r && this.names || void 0);
1493
- }, e.prototype.allocateGSInstance = function(t) {
1494
- return this.gs[t] = (this.gs[t] || 0) + 1;
1495
- }, e.prototype.getTag = function() {
1496
- return this.tag || (this.tag = (t = function(r) {
1497
- var o = r.useCSSOMInjection, a = r.target;
1498
- return r.isServer ? new co(a) : o ? new io(a) : new so(a);
1499
- }(this.options), new Qn(t)));
1500
- var t;
1501
- }, e.prototype.hasNameForId = function(t, r) {
1502
- return this.names.has(t) && this.names.get(t).has(r);
1503
- }, e.prototype.registerName = function(t, r) {
1504
- if (Ue(t), this.names.has(t))
1505
- this.names.get(t).add(r);
1506
- else {
1507
- var o = /* @__PURE__ */ new Set();
1508
- o.add(r), this.names.set(t, o);
1509
- }
1510
- }, e.prototype.insertRules = function(t, r, o) {
1511
- this.registerName(t, r), this.getTag().insertRules(Ue(t), o);
1512
- }, e.prototype.clearNames = function(t) {
1513
- this.names.has(t) && this.names.get(t).clear();
1514
- }, e.prototype.clearRules = function(t) {
1515
- this.getTag().clearGroup(Ue(t)), this.clearNames(t);
1516
- }, e.prototype.clearTag = function() {
1517
- this.tag = void 0;
1518
- }, e;
1519
- }(), lo = /&/g, fo = /^\s*\/\/.*$/gm;
1520
- function Tr(e, t) {
1521
- return e.map(function(r) {
1522
- return r.type === "rule" && (r.value = "".concat(t, " ").concat(r.value), r.value = r.value.replaceAll(",", ",".concat(t, " ")), r.props = r.props.map(function(o) {
1523
- return "".concat(t, " ").concat(o);
1524
- })), Array.isArray(r.children) && r.type !== "@keyframes" && (r.children = Tr(r.children, t)), r;
1525
- });
1526
- }
1527
- function po(e) {
1528
- var t, r, o, a = xe, i = a.options, c = i === void 0 ? xe : i, f = a.plugins, l = f === void 0 ? at : f, h = function(b, E, O) {
1529
- return O.startsWith(r) && O.endsWith(r) && O.replaceAll(r, "").length > 0 ? ".".concat(t) : b;
1530
- }, d = l.slice();
1531
- d.push(function(b) {
1532
- b.type === et && b.value.includes("&") && (b.props[0] = b.props[0].replace(lo, r).replace(o, h));
1533
- }), c.prefix && d.push(jn), d.push(An);
1534
- var m = function(b, E, O, N) {
1535
- E === void 0 && (E = ""), O === void 0 && (O = ""), N === void 0 && (N = "&"), t = N, r = E, o = new RegExp("\\".concat(r, "\\b"), "g");
1536
- var M = b.replace(fo, ""), x = On(O || E ? "".concat(O, " ").concat(E, " { ").concat(M, " }") : M);
1537
- c.namespace && (x = Tr(x, c.namespace));
1538
- var v = [];
1539
- return Ze(x, In(d.concat(Nn(function(C) {
1540
- return v.push(C);
1541
- })))), v;
1542
- };
1543
- return m.hash = l.length ? l.reduce(function(b, E) {
1544
- return E.name || Te(15), le(b, E.name);
1545
- }, Sr).toString() : "", m;
1546
- }
1547
- var ho = new Or(), kt = po(), Ar = he.createContext({ shouldForwardProp: void 0, styleSheet: ho, stylis: kt });
1548
- Ar.Consumer;
1549
- he.createContext(void 0);
1550
- function ir() {
1551
- return ln(Ar);
1552
- }
1553
- var sr = function() {
1554
- function e(t, r) {
1555
- var o = this;
1556
- this.inject = function(a, i) {
1557
- i === void 0 && (i = kt);
1558
- var c = o.name + i.hash;
1559
- a.hasNameForId(o.id, c) || a.insertRules(o.id, c, i(o.rules, c, "@keyframes"));
1560
- }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = r, It(this, function() {
1561
- throw Te(12, String(o.name));
1562
- });
1563
- }
1564
- return e.prototype.getName = function(t) {
1565
- return t === void 0 && (t = kt), this.name + t.hash;
1566
- }, e;
1567
- }(), mo = function(e) {
1568
- return e >= "A" && e <= "Z";
1569
- };
1570
- function cr(e) {
1571
- for (var t = "", r = 0; r < e.length; r++) {
1572
- var o = e[r];
1573
- if (r === 1 && o === "-" && e[0] === "-")
1574
- return e;
1575
- mo(o) ? t += "-" + o.toLowerCase() : t += o;
1576
- }
1577
- return t.startsWith("ms-") ? "-" + t : t;
1578
- }
1579
- var Ir = function(e) {
1580
- return e == null || e === !1 || e === "";
1581
- }, Nr = function(e) {
1582
- var t, r, o = [];
1583
- for (var a in e) {
1584
- var i = e[a];
1585
- e.hasOwnProperty(a) && !Ir(i) && (Array.isArray(i) && i.isCss || Ce(i) ? o.push("".concat(cr(a), ":"), i, ";") : Pe(i) ? o.push.apply(o, Re(Re(["".concat(a, " {")], Nr(i), !1), ["}"], !1)) : o.push("".concat(cr(a), ": ").concat((t = a, (r = i) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in Dn || t.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";")));
1586
- }
1587
- return o;
1588
- };
1589
- function de(e, t, r, o) {
1590
- if (Ir(e))
1591
- return [];
1592
- if (At(e))
1593
- return [".".concat(e.styledComponentId)];
1594
- if (Ce(e)) {
1595
- if (!Ce(i = e) || i.prototype && i.prototype.isReactComponent || !t)
1596
- return [e];
1597
- var a = e(t);
1598
- return process.env.NODE_ENV === "production" || typeof a != "object" || Array.isArray(a) || a instanceof sr || Pe(a) || a === null || console.error("".concat(Rr(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), de(a, t, r, o);
1599
- }
1600
- var i;
1601
- return e instanceof sr ? r ? (e.inject(r, o), [e.getName(o)]) : [e] : Pe(e) ? Nr(e) : Array.isArray(e) ? Array.prototype.concat.apply(at, e.map(function(c) {
1602
- return de(c, t, r, o);
1603
- })) : [e.toString()];
1604
- }
1605
- function go(e) {
1606
- for (var t = 0; t < e.length; t += 1) {
1607
- var r = e[t];
1608
- if (Ce(r) && !At(r))
1609
- return !1;
1610
- }
1611
- return !0;
1612
- }
1613
- var yo = Er(ot), vo = function() {
1614
- function e(t, r, o) {
1615
- this.rules = t, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (o === void 0 || o.isStatic) && go(t), this.componentId = r, this.baseHash = le(yo, r), this.baseStyle = o, Or.registerId(r);
1616
- }
1617
- return e.prototype.generateAndInjectStyles = function(t, r, o) {
1618
- var a = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, r, o) : "";
1619
- if (this.isStatic && !o.hash)
1620
- if (this.staticRulesId && r.hasNameForId(this.componentId, this.staticRulesId))
1621
- a = fe(a, this.staticRulesId);
1622
- else {
1623
- var i = or(de(this.rules, t, r, o)), c = Rt(le(this.baseHash, i) >>> 0);
1624
- if (!r.hasNameForId(this.componentId, c)) {
1625
- var f = o(i, ".".concat(c), void 0, this.componentId);
1626
- r.insertRules(this.componentId, c, f);
1627
- }
1628
- a = fe(a, c), this.staticRulesId = c;
1629
- }
1630
- else {
1631
- for (var l = le(this.baseHash, o.hash), h = "", d = 0; d < this.rules.length; d++) {
1632
- var m = this.rules[d];
1633
- if (typeof m == "string")
1634
- h += m, process.env.NODE_ENV !== "production" && (l = le(l, m));
1635
- else if (m) {
1636
- var b = or(de(m, t, r, o));
1637
- l = le(l, b + d), h += b;
1638
- }
1639
- }
1640
- if (h) {
1641
- var E = Rt(l >>> 0);
1642
- r.hasNameForId(this.componentId, E) || r.insertRules(this.componentId, E, o(h, ".".concat(E), void 0, this.componentId)), a = fe(a, E);
1643
- }
1644
- }
1645
- return a;
1646
- }, e;
1647
- }(), jr = he.createContext(void 0);
1648
- jr.Consumer;
1649
- var yt = {}, ur = /* @__PURE__ */ new Set();
1650
- function bo(e, t, r) {
1651
- var o = At(e), a = e, i = !gt(e), c = t.attrs, f = c === void 0 ? at : c, l = t.componentId, h = l === void 0 ? function(T, I) {
1652
- var S = typeof T != "string" ? "sc" : Qt(T);
1653
- yt[S] = (yt[S] || 0) + 1;
1654
- var g = "".concat(S, "-").concat(Wn(ot + S + yt[S]));
1655
- return I ? "".concat(I, "-").concat(g) : g;
1656
- }(t.displayName, t.parentComponentId) : l, d = t.displayName, m = d === void 0 ? function(T) {
1657
- return gt(T) ? "styled.".concat(T) : "Styled(".concat(Rr(T), ")");
1658
- }(e) : d, b = t.displayName && t.componentId ? "".concat(Qt(t.displayName), "-").concat(t.componentId) : t.componentId || h, E = o && a.attrs ? a.attrs.concat(f).filter(Boolean) : f, O = t.shouldForwardProp;
1659
- if (o && a.shouldForwardProp) {
1660
- var N = a.shouldForwardProp;
1661
- if (t.shouldForwardProp) {
1662
- var M = t.shouldForwardProp;
1663
- O = function(T, I) {
1664
- return N(T, I) && M(T, I);
1665
- };
1666
- } else
1667
- O = N;
1668
- }
1669
- var x = new vo(r, b, o ? a.componentStyle : void 0);
1670
- function v(T, I) {
1671
- return function(S, g, Z) {
1672
- var Q = S.attrs, it = S.componentStyle, st = S.defaultProps, Le = S.foldedComponentIds, Y = S.styledComponentId, ee = S.target, ce = he.useContext(jr), ze = ir(), ge = S.shouldForwardProp || ze.shouldForwardProp;
1673
- process.env.NODE_ENV !== "production" && Gt(Y);
1674
- var Ae = Mn(g, ce, st) || xe, B = function(ve, te, ae) {
1675
- for (var H, q = W(W({}, te), { className: void 0, theme: ae }), ie = 0; ie < ve.length; ie += 1) {
1676
- var be = Ce(H = ve[ie]) ? H(q) : H;
1677
- for (var K in be)
1678
- q[K] = K === "className" ? fe(q[K], be[K]) : K === "style" ? W(W({}, q[K]), be[K]) : be[K];
1679
- }
1680
- return te.className && (q.className = fe(q.className, te.className)), q;
1681
- }(Q, g, Ae), ne = B.as || ee, oe = {};
1682
- for (var L in B)
1683
- B[L] === void 0 || L[0] === "$" || L === "as" || L === "theme" && B.theme === Ae || (L === "forwardedAs" ? oe.as = B.forwardedAs : ge && !ge(L, ne) || (oe[L] = B[L], ge || process.env.NODE_ENV !== "development" || gn(L) || ur.has(L) || !Et.has(ne) || (ur.add(L), console.warn('styled-components: it looks like an unknown prop "'.concat(L, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
1684
- var ye = function(ve, te) {
1685
- var ae = ir(), H = ve.generateAndInjectStyles(te, ae.styleSheet, ae.stylis);
1686
- return process.env.NODE_ENV !== "production" && Gt(H), H;
1687
- }(it, B);
1688
- process.env.NODE_ENV !== "production" && S.warnTooManyClasses && S.warnTooManyClasses(ye);
1689
- var Ie = fe(Le, Y);
1690
- return ye && (Ie += " " + ye), B.className && (Ie += " " + B.className), oe[gt(ne) && !Et.has(ne) ? "class" : "className"] = Ie, oe.ref = Z, un(ne, oe);
1691
- }(C, T, I);
1692
- }
1693
- v.displayName = m;
1694
- var C = he.forwardRef(v);
1695
- return C.attrs = E, C.componentStyle = x, C.displayName = m, C.shouldForwardProp = O, C.foldedComponentIds = o ? fe(a.foldedComponentIds, a.styledComponentId) : "", C.styledComponentId = b, C.target = o ? a.target : e, Object.defineProperty(C, "defaultProps", { get: function() {
1696
- return this._foldedDefaultProps;
1697
- }, set: function(T) {
1698
- this._foldedDefaultProps = o ? function(I) {
1699
- for (var S = [], g = 1; g < arguments.length; g++)
1700
- S[g - 1] = arguments[g];
1701
- for (var Z = 0, Q = S; Z < Q.length; Z++)
1702
- _t(I, Q[Z], !0);
1703
- return I;
1704
- }({}, a.defaultProps, T) : T;
1705
- } }), process.env.NODE_ENV !== "production" && (Fn(m, b), C.warnTooManyClasses = /* @__PURE__ */ function(T, I) {
1706
- var S = {}, g = !1;
1707
- return function(Z) {
1708
- if (!g && (S[Z] = !0, Object.keys(S).length >= 200)) {
1709
- var Q = I ? ' with the id of "'.concat(I, '"') : "";
1710
- console.warn("Over ".concat(200, " classes were generated for component ").concat(T).concat(Q, `.
1711
- `) + `Consider using the attrs method, together with a style object for frequently changed styles.
1712
- Example:
1713
- const Component = styled.div.attrs(props => ({
1714
- style: {
1715
- background: props.background,
1716
- },
1717
- }))\`width: 100%;\`
1718
-
1719
- <Component />`), g = !0, S = {};
1720
- }
1721
- };
1722
- }(m, b)), It(C, function() {
1723
- return ".".concat(C.styledComponentId);
1724
- }), i && Cr(C, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), C;
1725
- }
1726
- function lr(e, t) {
1727
- for (var r = [e[0]], o = 0, a = t.length; o < a; o += 1)
1728
- r.push(t[o], e[o + 1]);
1729
- return r;
1730
- }
1731
- var fr = function(e) {
1732
- return Object.assign(e, { isCss: !0 });
644
+ function mr(E) {
645
+ return E.map((p) => {
646
+ if (typeof p == "string")
647
+ return p.trim();
648
+ if (typeof p == "object") {
649
+ const _ = [];
650
+ for (const b in p)
651
+ p[b] && _.push(b.trim());
652
+ return _.join(" ");
653
+ }
654
+ }).filter((p) => !!p).join(" ");
655
+ }
656
+ const Er = {
657
+ CheckMark: "✓",
658
+ Ballot: "✗",
659
+ ClockwiseTop: "↷",
660
+ ClockwiseOpen: "",
661
+ Pencil: "✎",
662
+ Rightwards: "⇨",
663
+ Leftwards: "⇦",
664
+ Upwards: "⇧",
665
+ Downwards: "⇩",
666
+ Copyright: "©",
667
+ Warning: "⚠",
668
+ Question: "�",
669
+ Envelope: "✉",
670
+ Hart: "♥",
671
+ Scissors: "✂",
672
+ Star: "★"
673
+ }, Tr = ({ disabled: E, onClick: C, text: p = "Ok", type: _ = "button", view: b = "primary", icon: O, ...h }) => {
674
+ const R = mr([
675
+ F.button,
676
+ h == null ? void 0 : h.className,
677
+ {
678
+ [F.primary]: b === "primary",
679
+ [F.secondary]: b === "secondary",
680
+ [F.danger]: b === "danger",
681
+ [F.disabled]: !!E
682
+ }
683
+ ]);
684
+ return /* @__PURE__ */ Z.jsxs("button", { type: _, className: R, onClick: E ? void 0 : C, disabled: E, ...h, children: [
685
+ O && /* @__PURE__ */ Z.jsx("span", { children: `${Er[O]}` }),
686
+ /* @__PURE__ */ Z.jsx("span", { className: F.text, children: p })
687
+ ] });
1733
688
  };
1734
- function wo(e) {
1735
- for (var t = [], r = 1; r < arguments.length; r++)
1736
- t[r - 1] = arguments[r];
1737
- if (Ce(e) || Pe(e))
1738
- return fr(de(lr(at, Re([e], t, !0))));
1739
- var o = e;
1740
- return t.length === 0 && o.length === 1 && typeof o[0] == "string" ? de(o) : fr(de(lr(o, t)));
1741
- }
1742
- function xt(e, t, r) {
1743
- if (r === void 0 && (r = xe), !t)
1744
- throw Te(1, t);
1745
- var o = function(a) {
1746
- for (var i = [], c = 1; c < arguments.length; c++)
1747
- i[c - 1] = arguments[c];
1748
- return e(t, r, wo.apply(void 0, Re([a], i, !1)));
1749
- };
1750
- return o.attrs = function(a) {
1751
- return xt(e, t, W(W({}, r), { attrs: Array.prototype.concat(r.attrs, a).filter(Boolean) }));
1752
- }, o.withConfig = function(a) {
1753
- return xt(e, t, W(W({}, r), a));
1754
- }, o;
1755
- }
1756
- var Dr = function(e) {
1757
- return xt(bo, e);
1758
- }, $r = Dr;
1759
- Et.forEach(function(e) {
1760
- $r[e] = Dr(e);
1761
- });
1762
- process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
1763
- Perhaps you're looking to import 'styled-components/native'?
1764
- Read more about this at https://www.styled-components.com/docs/basics#react-native`);
1765
- var Ge = "__sc-".concat(me, "__");
1766
- process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[Ge] || (window[Ge] = 0), window[Ge] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
1767
-
1768
- See https://s-c.sh/2BAXzed for more info.`), window[Ge] += 1);
1769
- const So = $r.button`
1770
- border: 0;
1771
- line-height: 1;
1772
- font-size: 15px;
1773
- cursor: pointer;
1774
- font-weight: 700;
1775
- font-weight: bold;
1776
- border-radius: 10px;
1777
- display: inline-block;
1778
- color: ${(e) => e.primary ? "#fff" : "#000"};
1779
- background-color: ${(e) => e.primary ? "#FF5655" : "#f4c4c4"};
1780
- padding: ${(e) => e.size === "small" ? "7px 25px 8px" : e.size === "medium" ? "9px 30px 11px" : "14px 30px 16px"};
1781
- `, Ro = ({ size: e, primary: t, disabled: r, text: o, onClick: a, ...i }) => /* @__PURE__ */ dn.jsx(So, { type: "button", onClick: a, primary: t, disabled: r, size: e, ...i, children: o });
1782
689
  export {
1783
- Ro as ChopLogicButton
690
+ Tr as ChopLogicButton
1784
691
  };
1785
692
  //# sourceMappingURL=index.es.js.map