@yungu-fed/componentlibrary 0.0.2 → 0.0.4

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 Ye, { useState as Le, useRef as We, useEffect as ce } from "react";
2
- var de = { exports: {} }, N = {};
1
+ import Be, { useState as Le, useRef as We, useEffect as ce } from "react";
2
+ var de = { exports: {} }, V = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -9,21 +9,21 @@ var de = { exports: {} }, N = {};
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 qe;
12
+ var Me;
13
13
  function hr() {
14
- if (qe) return N;
15
- qe = 1;
16
- var A = Ye, w = Symbol.for("react.element"), k = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, m = A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, x = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function j(O, v, y) {
14
+ if (Me) return V;
15
+ Me = 1;
16
+ var A = Be, w = Symbol.for("react.element"), x = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, m = A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ function j(k, v, g) {
18
18
  var h, C = {}, D = null, F = null;
19
- y !== void 0 && (D = "" + y), v.key !== void 0 && (D = "" + v.key), v.ref !== void 0 && (F = v.ref);
20
- for (h in v) d.call(v, h) && !x.hasOwnProperty(h) && (C[h] = v[h]);
21
- if (O && O.defaultProps) for (h in v = O.defaultProps, v) C[h] === void 0 && (C[h] = v[h]);
22
- return { $$typeof: w, type: O, key: D, ref: F, props: C, _owner: m.current };
19
+ g !== void 0 && (D = "" + g), v.key !== void 0 && (D = "" + v.key), v.ref !== void 0 && (F = v.ref);
20
+ for (h in v) d.call(v, h) && !S.hasOwnProperty(h) && (C[h] = v[h]);
21
+ if (k && k.defaultProps) for (h in v = k.defaultProps, v) C[h] === void 0 && (C[h] = v[h]);
22
+ return { $$typeof: w, type: k, key: D, ref: F, props: C, _owner: m.current };
23
23
  }
24
- return N.Fragment = k, N.jsx = j, N.jsxs = j, N;
24
+ return V.Fragment = x, V.jsx = j, V.jsxs = j, V;
25
25
  }
26
- var V = {};
26
+ var U = {};
27
27
  /**
28
28
  * @license React
29
29
  * react-jsx-runtime.development.js
@@ -33,14 +33,14 @@ var V = {};
33
33
  * This source code is licensed under the MIT license found in the
34
34
  * LICENSE file in the root directory of this source tree.
35
35
  */
36
- var Me;
36
+ var Ye;
37
37
  function _r() {
38
- return Me || (Me = 1, process.env.NODE_ENV !== "production" && function() {
39
- var A = Ye, w = Symbol.for("react.element"), k = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), O = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), $ = Symbol.iterator, z = "@@iterator";
40
- function P(e) {
38
+ return Ye || (Ye = 1, process.env.NODE_ENV !== "production" && function() {
39
+ var A = Be, w = Symbol.for("react.element"), x = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), k = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), $ = Symbol.iterator, J = "@@iterator";
40
+ function O(e) {
41
41
  if (e === null || typeof e != "object")
42
42
  return null;
43
- var r = $ && e[$] || e[z];
43
+ var r = $ && e[$] || e[J];
44
44
  return typeof r == "function" ? r : null;
45
45
  }
46
46
  var R = A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -64,23 +64,23 @@ function _r() {
64
64
  var Z = !1, Q = !1, ee = !1, re = !1, a = !1, l;
65
65
  l = Symbol.for("react.module.reference");
66
66
  function _(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || a || e === m || e === y || e === h || re || e === F || Z || Q || ee || typeof e == "object" && e !== null && (e.$$typeof === D || e.$$typeof === C || e.$$typeof === j || e.$$typeof === O || e.$$typeof === v || // This needs to include all possible module reference object
67
+ return !!(typeof e == "string" || typeof e == "function" || e === d || e === S || a || e === m || e === g || e === h || re || e === F || Z || Q || ee || typeof e == "object" && e !== null && (e.$$typeof === D || e.$$typeof === C || e.$$typeof === j || e.$$typeof === k || e.$$typeof === v || // This needs to include all possible module reference object
68
68
  // types supported by any Flight configuration anywhere since
69
69
  // we don't know which Flight build this will end up being used
70
70
  // with.
71
71
  e.$$typeof === l || e.getModuleId !== void 0));
72
72
  }
73
- function g(e, r, t) {
73
+ function b(e, r, t) {
74
74
  var n = e.displayName;
75
75
  if (n)
76
76
  return n;
77
77
  var s = r.displayName || r.name || "";
78
78
  return s !== "" ? t + "(" + s + ")" : t;
79
79
  }
80
- function M(e) {
80
+ function Y(e) {
81
81
  return e.displayName || "Context";
82
82
  }
83
- function S(e) {
83
+ function P(e) {
84
84
  if (e == null)
85
85
  return null;
86
86
  if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -90,34 +90,34 @@ function _r() {
90
90
  switch (e) {
91
91
  case d:
92
92
  return "Fragment";
93
- case k:
94
- return "Portal";
95
93
  case x:
94
+ return "Portal";
95
+ case S:
96
96
  return "Profiler";
97
97
  case m:
98
98
  return "StrictMode";
99
- case y:
99
+ case g:
100
100
  return "Suspense";
101
101
  case h:
102
102
  return "SuspenseList";
103
103
  }
104
104
  if (typeof e == "object")
105
105
  switch (e.$$typeof) {
106
- case O:
106
+ case k:
107
107
  var r = e;
108
- return M(r) + ".Consumer";
108
+ return Y(r) + ".Consumer";
109
109
  case j:
110
110
  var t = e;
111
- return M(t._context) + ".Provider";
111
+ return Y(t._context) + ".Provider";
112
112
  case v:
113
- return g(e, e.render, "ForwardRef");
113
+ return b(e, e.render, "ForwardRef");
114
114
  case C:
115
115
  var n = e.displayName || null;
116
- return n !== null ? n : S(e.type) || "Memo";
116
+ return n !== null ? n : P(e.type) || "Memo";
117
117
  case D: {
118
118
  var s = e, u = s._payload, i = s._init;
119
119
  try {
120
- return S(i(u));
120
+ return P(i(u));
121
121
  } catch {
122
122
  return null;
123
123
  }
@@ -125,14 +125,14 @@ function _r() {
125
125
  }
126
126
  return null;
127
127
  }
128
- var I = Object.assign, Y = 0, pe, he, _e, ge, ye, be, me;
128
+ var I = Object.assign, B = 0, pe, he, _e, be, ge, ye, me;
129
129
  function Ee() {
130
130
  }
131
131
  Ee.__reactDisabledLog = !0;
132
- function Be() {
132
+ function Ne() {
133
133
  {
134
- if (Y === 0) {
135
- pe = console.log, he = console.info, _e = console.warn, ge = console.error, ye = console.group, be = console.groupCollapsed, me = console.groupEnd;
134
+ if (B === 0) {
135
+ pe = console.log, he = console.info, _e = console.warn, be = console.error, ge = console.group, ye = console.groupCollapsed, me = console.groupEnd;
136
136
  var e = {
137
137
  configurable: !0,
138
138
  enumerable: !0,
@@ -149,12 +149,12 @@ function _r() {
149
149
  groupEnd: e
150
150
  });
151
151
  }
152
- Y++;
152
+ B++;
153
153
  }
154
154
  }
155
- function Ne() {
155
+ function Ve() {
156
156
  {
157
- if (Y--, Y === 0) {
157
+ if (B--, B === 0) {
158
158
  var e = {
159
159
  configurable: !0,
160
160
  enumerable: !0,
@@ -171,24 +171,24 @@ function _r() {
171
171
  value: _e
172
172
  }),
173
173
  error: I({}, e, {
174
- value: ge
174
+ value: be
175
175
  }),
176
176
  group: I({}, e, {
177
- value: ye
177
+ value: ge
178
178
  }),
179
179
  groupCollapsed: I({}, e, {
180
- value: be
180
+ value: ye
181
181
  }),
182
182
  groupEnd: I({}, e, {
183
183
  value: me
184
184
  })
185
185
  });
186
186
  }
187
- Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
187
+ B < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
188
  }
189
189
  }
190
190
  var te = R.ReactCurrentDispatcher, ne;
191
- function J(e, r, t) {
191
+ function K(e, r, t) {
192
192
  {
193
193
  if (ne === void 0)
194
194
  try {
@@ -201,16 +201,16 @@ function _r() {
201
201
  ` + ne + e;
202
202
  }
203
203
  }
204
- var ae = !1, K;
204
+ var ae = !1, z;
205
205
  {
206
- var Ve = typeof WeakMap == "function" ? WeakMap : Map;
207
- K = new Ve();
206
+ var Ue = typeof WeakMap == "function" ? WeakMap : Map;
207
+ z = new Ue();
208
208
  }
209
209
  function Re(e, r) {
210
210
  if (!e || ae)
211
211
  return "";
212
212
  {
213
- var t = K.get(e);
213
+ var t = z.get(e);
214
214
  if (t !== void 0)
215
215
  return t;
216
216
  }
@@ -219,7 +219,7 @@ function _r() {
219
219
  var s = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
221
  var u;
222
- u = te.current, te.current = null, Be();
222
+ u = te.current, te.current = null, Ne();
223
223
  try {
224
224
  if (r) {
225
225
  var i = function() {
@@ -255,32 +255,32 @@ function _r() {
255
255
  } catch (E) {
256
256
  if (E && n && typeof E.stack == "string") {
257
257
  for (var o = E.stack.split(`
258
- `), b = n.stack.split(`
259
- `), c = o.length - 1, f = b.length - 1; c >= 1 && f >= 0 && o[c] !== b[f]; )
258
+ `), y = n.stack.split(`
259
+ `), c = o.length - 1, f = y.length - 1; c >= 1 && f >= 0 && o[c] !== y[f]; )
260
260
  f--;
261
261
  for (; c >= 1 && f >= 0; c--, f--)
262
- if (o[c] !== b[f]) {
262
+ if (o[c] !== y[f]) {
263
263
  if (c !== 1 || f !== 1)
264
264
  do
265
- if (c--, f--, f < 0 || o[c] !== b[f]) {
265
+ if (c--, f--, f < 0 || o[c] !== y[f]) {
266
266
  var T = `
267
267
  ` + o[c].replace(" at new ", " at ");
268
- return e.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", e.displayName)), typeof e == "function" && K.set(e, T), T;
268
+ return e.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", e.displayName)), typeof e == "function" && z.set(e, T), T;
269
269
  }
270
270
  while (c >= 1 && f >= 0);
271
271
  break;
272
272
  }
273
273
  }
274
274
  } finally {
275
- ae = !1, te.current = u, Ne(), Error.prepareStackTrace = s;
275
+ ae = !1, te.current = u, Ve(), Error.prepareStackTrace = s;
276
276
  }
277
- var q = e ? e.displayName || e.name : "", L = q ? J(q) : "";
278
- return typeof e == "function" && K.set(e, L), L;
277
+ var M = e ? e.displayName || e.name : "", L = M ? K(M) : "";
278
+ return typeof e == "function" && z.set(e, L), L;
279
279
  }
280
- function Ue(e, r, t) {
280
+ function qe(e, r, t) {
281
281
  return Re(e, !1);
282
282
  }
283
- function ze(e) {
283
+ function Je(e) {
284
284
  var r = e.prototype;
285
285
  return !!(r && r.isReactComponent);
286
286
  }
@@ -288,19 +288,19 @@ function _r() {
288
288
  if (e == null)
289
289
  return "";
290
290
  if (typeof e == "function")
291
- return Re(e, ze(e));
291
+ return Re(e, Je(e));
292
292
  if (typeof e == "string")
293
- return J(e);
293
+ return K(e);
294
294
  switch (e) {
295
- case y:
296
- return J("Suspense");
295
+ case g:
296
+ return K("Suspense");
297
297
  case h:
298
- return J("SuspenseList");
298
+ return K("SuspenseList");
299
299
  }
300
300
  if (typeof e == "object")
301
301
  switch (e.$$typeof) {
302
302
  case v:
303
- return Ue(e.render);
303
+ return qe(e.render);
304
304
  case C:
305
305
  return G(e.type, r, t);
306
306
  case D: {
@@ -313,7 +313,7 @@ function _r() {
313
313
  }
314
314
  return "";
315
315
  }
316
- var B = Object.prototype.hasOwnProperty, we = {}, Ce = R.ReactDebugCurrentFrame;
316
+ var N = Object.prototype.hasOwnProperty, we = {}, Ce = R.ReactDebugCurrentFrame;
317
317
  function H(e) {
318
318
  if (e) {
319
319
  var r = e._owner, t = G(e.type, e._source, r ? r.type : null);
@@ -321,16 +321,16 @@ function _r() {
321
321
  } else
322
322
  Ce.setExtraStackFrame(null);
323
323
  }
324
- function Je(e, r, t, n, s) {
324
+ function Ke(e, r, t, n, s) {
325
325
  {
326
- var u = Function.call.bind(B);
326
+ var u = Function.call.bind(N);
327
327
  for (var i in e)
328
328
  if (u(e, i)) {
329
329
  var o = void 0;
330
330
  try {
331
331
  if (typeof e[i] != "function") {
332
- var b = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
- throw b.name = "Invariant Violation", b;
332
+ var y = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
+ throw y.name = "Invariant Violation", y;
334
334
  }
335
335
  o = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
336
  } catch (c) {
@@ -340,9 +340,9 @@ function _r() {
340
340
  }
341
341
  }
342
342
  }
343
- var Ke = Array.isArray;
343
+ var ze = Array.isArray;
344
344
  function oe(e) {
345
- return Ke(e);
345
+ return ze(e);
346
346
  }
347
347
  function Ge(e) {
348
348
  {
@@ -360,18 +360,18 @@ function _r() {
360
360
  function Te(e) {
361
361
  return "" + e;
362
362
  }
363
- function ke(e) {
363
+ function xe(e) {
364
364
  if (He(e))
365
365
  return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ge(e)), Te(e);
366
366
  }
367
- var Oe = R.ReactCurrentOwner, Xe = {
367
+ var ke = R.ReactCurrentOwner, Xe = {
368
368
  key: !0,
369
369
  ref: !0,
370
370
  __self: !0,
371
371
  __source: !0
372
- }, Pe, Se;
372
+ }, Oe, Pe;
373
373
  function Ze(e) {
374
- if (B.call(e, "ref")) {
374
+ if (N.call(e, "ref")) {
375
375
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
376
376
  if (r && r.isReactWarning)
377
377
  return !1;
@@ -379,7 +379,7 @@ function _r() {
379
379
  return e.ref !== void 0;
380
380
  }
381
381
  function Qe(e) {
382
- if (B.call(e, "key")) {
382
+ if (N.call(e, "key")) {
383
383
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
384
384
  if (r && r.isReactWarning)
385
385
  return !1;
@@ -387,12 +387,12 @@ function _r() {
387
387
  return e.key !== void 0;
388
388
  }
389
389
  function er(e, r) {
390
- typeof e.ref == "string" && Oe.current;
390
+ typeof e.ref == "string" && ke.current;
391
391
  }
392
392
  function rr(e, r) {
393
393
  {
394
394
  var t = function() {
395
- Pe || (Pe = !0, p("%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));
395
+ Oe || (Oe = !0, p("%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));
396
396
  };
397
397
  t.isReactWarning = !0, Object.defineProperty(e, "key", {
398
398
  get: t,
@@ -403,7 +403,7 @@ function _r() {
403
403
  function tr(e, r) {
404
404
  {
405
405
  var t = function() {
406
- Se || (Se = !0, p("%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));
406
+ Pe || (Pe = !0, p("%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));
407
407
  };
408
408
  t.isReactWarning = !0, Object.defineProperty(e, "ref", {
409
409
  get: t,
@@ -442,29 +442,29 @@ function _r() {
442
442
  };
443
443
  function ar(e, r, t, n, s) {
444
444
  {
445
- var u, i = {}, o = null, b = null;
446
- t !== void 0 && (ke(t), o = "" + t), Qe(r) && (ke(r.key), o = "" + r.key), Ze(r) && (b = r.ref, er(r, s));
445
+ var u, i = {}, o = null, y = null;
446
+ t !== void 0 && (xe(t), o = "" + t), Qe(r) && (xe(r.key), o = "" + r.key), Ze(r) && (y = r.ref, er(r, s));
447
447
  for (u in r)
448
- B.call(r, u) && !Xe.hasOwnProperty(u) && (i[u] = r[u]);
448
+ N.call(r, u) && !Xe.hasOwnProperty(u) && (i[u] = r[u]);
449
449
  if (e && e.defaultProps) {
450
450
  var c = e.defaultProps;
451
451
  for (u in c)
452
452
  i[u] === void 0 && (i[u] = c[u]);
453
453
  }
454
- if (o || b) {
454
+ if (o || y) {
455
455
  var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
456
- o && rr(i, f), b && tr(i, f);
456
+ o && rr(i, f), y && tr(i, f);
457
457
  }
458
- return nr(e, o, b, s, n, Oe.current, i);
458
+ return nr(e, o, y, s, n, ke.current, i);
459
459
  }
460
460
  }
461
- var ie = R.ReactCurrentOwner, xe = R.ReactDebugCurrentFrame;
461
+ var ie = R.ReactCurrentOwner, Se = R.ReactDebugCurrentFrame;
462
462
  function W(e) {
463
463
  if (e) {
464
464
  var r = e._owner, t = G(e.type, e._source, r ? r.type : null);
465
- xe.setExtraStackFrame(t);
465
+ Se.setExtraStackFrame(t);
466
466
  } else
467
- xe.setExtraStackFrame(null);
467
+ Se.setExtraStackFrame(null);
468
468
  }
469
469
  var se;
470
470
  se = !1;
@@ -474,7 +474,7 @@ function _r() {
474
474
  function je() {
475
475
  {
476
476
  if (ie.current) {
477
- var e = S(ie.current.type);
477
+ var e = P(ie.current.type);
478
478
  if (e)
479
479
  return `
480
480
 
@@ -509,7 +509,7 @@ Check the top-level render call using <` + t + ">.");
509
509
  return;
510
510
  Fe[t] = !0;
511
511
  var n = "";
512
- e && e._owner && e._owner !== ie.current && (n = " It was passed a child from " + S(e._owner.type) + "."), W(e), p('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), W(null);
512
+ e && e._owner && e._owner !== ie.current && (n = " It was passed a child from " + P(e._owner.type) + "."), W(e), p('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), W(null);
513
513
  }
514
514
  }
515
515
  function Ae(e, r) {
@@ -524,7 +524,7 @@ Check the top-level render call using <` + t + ">.");
524
524
  else if (ue(e))
525
525
  e._store && (e._store.validated = !0);
526
526
  else if (e) {
527
- var s = P(e);
527
+ var s = O(e);
528
528
  if (typeof s == "function" && s !== e.entries)
529
529
  for (var u = s.call(e), i; !(i = u.next()).done; )
530
530
  ue(i.value) && De(i.value, r);
@@ -546,11 +546,11 @@ Check the top-level render call using <` + t + ">.");
546
546
  else
547
547
  return;
548
548
  if (t) {
549
- var n = S(r);
550
- Je(t, e.props, "prop", n, e);
549
+ var n = P(r);
550
+ Ke(t, e.props, "prop", n, e);
551
551
  } else if (r.PropTypes !== void 0 && !se) {
552
552
  se = !0;
553
- var s = S(r);
553
+ var s = P(r);
554
554
  p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", s || "Unknown");
555
555
  }
556
556
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -575,10 +575,10 @@ Check the top-level render call using <` + t + ">.");
575
575
  if (!i) {
576
576
  var o = "";
577
577
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
578
- var b = or();
579
- b ? o += b : o += je();
578
+ var y = or();
579
+ y ? o += y : o += je();
580
580
  var c;
581
- e === null ? c = "null" : oe(e) ? c = "array" : e !== void 0 && e.$$typeof === w ? (c = "<" + (S(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : c = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", c, o);
581
+ e === null ? c = "null" : oe(e) ? c = "array" : e !== void 0 && e.$$typeof === w ? (c = "<" + (P(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : c = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", c, o);
582
582
  }
583
583
  var f = ar(e, r, t, s, u);
584
584
  if (f == null)
@@ -588,16 +588,16 @@ Check the top-level render call using <` + t + ">.");
588
588
  if (T !== void 0)
589
589
  if (n)
590
590
  if (oe(T)) {
591
- for (var q = 0; q < T.length; q++)
592
- Ae(T[q], e);
591
+ for (var M = 0; M < T.length; M++)
592
+ Ae(T[M], e);
593
593
  Object.freeze && Object.freeze(T);
594
594
  } else
595
595
  p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
596
596
  else
597
597
  Ae(T, e);
598
598
  }
599
- if (B.call(r, "key")) {
600
- var L = S(e), E = Object.keys(r).filter(function(pr) {
599
+ if (N.call(r, "key")) {
600
+ var L = P(e), E = Object.keys(r).filter(function(pr) {
601
601
  return pr !== "key";
602
602
  }), le = E.length > 0 ? "{key: someKey, " + E.join(": ..., ") + ": ...}" : "{key: someKey}";
603
603
  if (!$e[L + le]) {
@@ -620,41 +620,41 @@ React keys must be passed directly to JSX without using spread:
620
620
  return Ie(e, r, t, !1);
621
621
  }
622
622
  var fr = cr, dr = lr;
623
- V.Fragment = d, V.jsx = fr, V.jsxs = dr;
624
- }()), V;
623
+ U.Fragment = d, U.jsx = fr, U.jsxs = dr;
624
+ }()), U;
625
625
  }
626
626
  process.env.NODE_ENV === "production" ? de.exports = hr() : de.exports = _r();
627
627
  var ve = de.exports;
628
- const gr = "_btn_y7ghq_41", yr = "_small_y7ghq_65", br = "_middle_y7ghq_72", mr = "_large_y7ghq_79", Er = "_danger_y7ghq_86", Rr = "_primary_y7ghq_90", wr = "_link_y7ghq_90", Cr = "_text_y7ghq_90", Tr = "_dashed_y7ghq_90", kr = "_ghost_y7ghq_90", Or = "_warning_y7ghq_100", Pr = "_info_y7ghq_114", Sr = "_success_y7ghq_128", xr = "_disabled_y7ghq_197", U = {
629
- btn: gr,
630
- small: yr,
631
- middle: br,
628
+ const br = "_btn_9ybrx_1", gr = "_small_9ybrx_25", yr = "_middle_9ybrx_32", mr = "_large_9ybrx_39", Er = "_danger_9ybrx_46", Rr = "_primary_9ybrx_50", wr = "_link_9ybrx_50", Cr = "_text_9ybrx_50", Tr = "_dashed_9ybrx_50", xr = "_ghost_9ybrx_50", kr = "_warning_9ybrx_60", Or = "_info_9ybrx_74", Pr = "_success_9ybrx_88", Sr = "_disabled_9ybrx_157", q = {
629
+ btn: br,
630
+ small: gr,
631
+ middle: yr,
632
632
  large: mr,
633
633
  danger: Er,
634
634
  primary: Rr,
635
635
  link: wr,
636
636
  text: Cr,
637
637
  dashed: Tr,
638
- ghost: kr,
639
- default: "_default_y7ghq_90",
640
- warning: Or,
641
- info: Pr,
642
- success: Sr,
643
- disabled: xr
638
+ ghost: xr,
639
+ default: "_default_9ybrx_50",
640
+ warning: kr,
641
+ info: Or,
642
+ success: Pr,
643
+ disabled: Sr
644
644
  }, $r = ({
645
645
  type: A,
646
646
  size: w = "middle",
647
- color: k = "primary",
647
+ color: x = "primary",
648
648
  disabled: d = !1,
649
649
  onClick: m,
650
- className: x = "",
650
+ className: S = "",
651
651
  style: j,
652
- children: O,
652
+ children: k,
653
653
  ...v
654
654
  }) => {
655
- const y = [U.btn];
656
- w && w !== "middle" && y.push(U[w]), A && y.push(U[A]), k && k !== "primary" && y.push(U[k]), x && y.push(x), d && y.push(U.disabled);
657
- const h = y.filter(Boolean).join(" ");
655
+ const g = [q.btn];
656
+ w && w !== "middle" && g.push(q[w]), A && g.push(q[A]), x && x !== "primary" && g.push(q[x]), S && g.push(S), d && g.push(q.disabled);
657
+ const h = g.filter(Boolean).join(" ");
658
658
  return /* @__PURE__ */ ve.jsx(
659
659
  "span",
660
660
  {
@@ -662,70 +662,70 @@ const gr = "_btn_y7ghq_41", yr = "_small_y7ghq_65", br = "_middle_y7ghq_72", mr
662
662
  onClick: d ? void 0 : m,
663
663
  style: j,
664
664
  ...v,
665
- children: O
665
+ children: k
666
666
  }
667
667
  );
668
- }, jr = "_popoverWrapper_1qoz9_41", Fr = "_popoverContent_1qoz9_48", Dr = "_popoverFadeIn_1qoz9_1", fe = {
668
+ }, jr = "_popoverWrapper_yvnlm_1", Fr = "_popoverContent_yvnlm_8", Dr = "_popoverFadeIn_yvnlm_1", fe = {
669
669
  popoverWrapper: jr,
670
670
  popoverContent: Fr,
671
671
  popoverFadeIn: Dr
672
672
  }, Ir = ({
673
673
  children: A,
674
674
  content: w,
675
- placement: k = "BL",
675
+ placement: x = "BL",
676
676
  offset: d = 8,
677
677
  trigger: m = "click",
678
- visible: x,
678
+ visible: S,
679
679
  onVisibleChange: j,
680
- className: O = "",
680
+ className: k = "",
681
681
  style: v
682
682
  }) => {
683
- const [y, h] = Le(!1), [C, D] = Le({ top: 0, left: 0 }), F = We(null), $ = We(null), z = x !== void 0, P = z ? x : y, R = (a) => {
684
- z || h(a), j && j(a);
683
+ const [g, h] = Le(!1), [C, D] = Le({ top: 0, left: 0 }), F = We(null), $ = We(null), J = S !== void 0, O = J ? S : g, R = (a) => {
684
+ J || h(a), j && j(a);
685
685
  }, p = () => {
686
- if (!F.current || !$.current || !P)
686
+ if (!F.current || !$.current || !O)
687
687
  return;
688
688
  const a = F.current.getBoundingClientRect(), l = $.current.getBoundingClientRect();
689
- let _ = 0, g = 0;
690
- switch (k) {
689
+ let _ = 0, b = 0;
690
+ switch (x) {
691
691
  case "TL":
692
- _ = a.top - l.height - d, g = a.left;
692
+ _ = a.top - l.height - d, b = a.left;
693
693
  break;
694
694
  case "TC":
695
- _ = a.top - l.height - d, g = a.left + (a.width - l.width) / 2;
695
+ _ = a.top - l.height - d, b = a.left + (a.width - l.width) / 2;
696
696
  break;
697
697
  case "TR":
698
- _ = a.top - l.height - d, g = a.left + a.width - l.width;
698
+ _ = a.top - l.height - d, b = a.left + a.width - l.width;
699
699
  break;
700
700
  case "CL":
701
- _ = a.top + (a.height - l.height) / 2, g = a.left - l.width - d;
701
+ _ = a.top + (a.height - l.height) / 2, b = a.left - l.width - d;
702
702
  break;
703
703
  case "CC":
704
- _ = a.top + (a.height - l.height) / 2, g = a.left + (a.width - l.width) / 2;
704
+ _ = a.top + (a.height - l.height) / 2, b = a.left + (a.width - l.width) / 2;
705
705
  break;
706
706
  case "CR":
707
- _ = a.top + (a.height - l.height) / 2, g = a.left + a.width + d;
707
+ _ = a.top + (a.height - l.height) / 2, b = a.left + a.width + d;
708
708
  break;
709
709
  case "BL":
710
710
  default:
711
- _ = a.bottom + d, g = a.left;
711
+ _ = a.bottom + d, b = a.left;
712
712
  break;
713
713
  case "BC":
714
- _ = a.bottom + d, g = a.left + (a.width - l.width) / 2;
714
+ _ = a.bottom + d, b = a.left + (a.width - l.width) / 2;
715
715
  break;
716
716
  case "BR":
717
- _ = a.bottom + d, g = a.left + a.width - l.width;
717
+ _ = a.bottom + d, b = a.left + a.width - l.width;
718
718
  break;
719
719
  }
720
- const M = window.innerWidth, S = window.innerHeight;
721
- g < 8 && (g = 8), g + l.width > M - 8 && (g = M - l.width - 8), _ < 8 && (_ = 8), _ + l.height > S - 8 && (_ = S - l.height - 8), D({ top: _, left: g });
720
+ const Y = window.innerWidth, P = window.innerHeight;
721
+ b < 8 && (b = 8), b + l.width > Y - 8 && (b = Y - l.width - 8), _ < 8 && (_ = 8), _ + l.height > P - 8 && (_ = P - l.height - 8), D({ top: _, left: b });
722
722
  };
723
723
  ce(() => {
724
- P && requestAnimationFrame(() => {
724
+ O && requestAnimationFrame(() => {
725
725
  p();
726
726
  });
727
- }, [P, k, d]), ce(() => {
728
- if (!P) return;
727
+ }, [O, x, d]), ce(() => {
728
+ if (!O) return;
729
729
  const a = () => {
730
730
  p();
731
731
  }, l = () => {
@@ -734,8 +734,8 @@ const gr = "_btn_y7ghq_41", yr = "_small_y7ghq_65", br = "_middle_y7ghq_72", mr
734
734
  return window.addEventListener("resize", a), window.addEventListener("scroll", l, !0), () => {
735
735
  window.removeEventListener("resize", a), window.removeEventListener("scroll", l, !0);
736
736
  };
737
- }, [P]), ce(() => {
738
- if (m !== "click" || !P) return;
737
+ }, [O]), ce(() => {
738
+ if (m !== "click" || !O) return;
739
739
  const a = (l) => {
740
740
  F.current && $.current && !F.current.contains(l.target) && !$.current.contains(l.target) && R(!1);
741
741
  };
@@ -744,9 +744,9 @@ const gr = "_btn_y7ghq_41", yr = "_small_y7ghq_65", br = "_middle_y7ghq_72", mr
744
744
  }, 0), () => {
745
745
  document.removeEventListener("click", a);
746
746
  };
747
- }, [m, P]);
747
+ }, [m, O]);
748
748
  const X = (a) => {
749
- m === "click" && (a.stopPropagation(), R(!P));
749
+ m === "click" && (a.stopPropagation(), R(!O));
750
750
  }, Z = () => {
751
751
  m === "hover" && R(!0);
752
752
  }, Q = () => {
@@ -760,18 +760,18 @@ const gr = "_btn_y7ghq_41", yr = "_small_y7ghq_65", br = "_middle_y7ghq_72", mr
760
760
  "div",
761
761
  {
762
762
  ref: F,
763
- className: `${fe.popoverWrapper} ${O}`,
763
+ className: `${fe.popoverWrapper} ${k}`,
764
764
  style: v,
765
765
  onClick: X,
766
766
  onMouseEnter: Z,
767
767
  onMouseLeave: Q,
768
768
  children: [
769
769
  A,
770
- P && w && /* @__PURE__ */ ve.jsx(
770
+ O && w && /* @__PURE__ */ ve.jsx(
771
771
  "div",
772
772
  {
773
773
  ref: $,
774
- className: `${fe.popoverContent} ${fe[`placement-${k}`]}`,
774
+ className: `${fe.popoverContent} ${fe[`placement-${x}`]}`,
775
775
  style: {
776
776
  top: `${C.top}px`,
777
777
  left: `${C.left}px`