nectiasw 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.d.ts +2 -0
- package/dist/index.es.js +119 -119
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +8 -8
- package/dist/index.umd.js.map +1 -1
- package/dist/{src/index.d.ts → main.d.ts} +1 -0
- package/package.json +1 -1
- package/dist/src/main.d.ts +0 -1
- /package/dist/{src/App.d.ts → App.d.ts} +0 -0
- /package/dist/{src/components → components}/Button/index.d.ts +0 -0
package/dist/index.d.ts
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import we from "react";
|
|
2
2
|
var Z = { exports: {} }, F = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
@@ -9,11 +9,11 @@ var Z = { exports: {} }, F = {};
|
|
|
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
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
var C =
|
|
12
|
+
var Oe;
|
|
13
|
+
function fr() {
|
|
14
|
+
if (Oe) return F;
|
|
15
|
+
Oe = 1;
|
|
16
|
+
var C = we, P = Symbol.for("react.element"), U = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, I = C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, W = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
17
|
function j(h, c, T) {
|
|
18
18
|
var p, b = {}, E = null, $ = null;
|
|
19
19
|
T !== void 0 && (E = "" + T), c.key !== void 0 && (E = "" + c.key), c.ref !== void 0 && ($ = c.ref);
|
|
@@ -33,14 +33,14 @@ var A = {};
|
|
|
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
|
|
37
|
-
function
|
|
38
|
-
return
|
|
39
|
-
var C =
|
|
40
|
-
function
|
|
36
|
+
var Se;
|
|
37
|
+
function cr() {
|
|
38
|
+
return Se || (Se = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
+
var C = we, P = Symbol.for("react.element"), U = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), W = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), h = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), Q = Symbol.iterator, Ce = "@@iterator";
|
|
40
|
+
function Pe(e) {
|
|
41
41
|
if (e === null || typeof e != "object")
|
|
42
42
|
return null;
|
|
43
|
-
var r =
|
|
43
|
+
var r = Q && e[Q] || e[Ce];
|
|
44
44
|
return typeof r == "function" ? r : null;
|
|
45
45
|
}
|
|
46
46
|
var O = C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -48,10 +48,10 @@ function vr() {
|
|
|
48
48
|
{
|
|
49
49
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
50
50
|
t[n - 1] = arguments[n];
|
|
51
|
-
|
|
51
|
+
je("error", e, t);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function je(e, r, t) {
|
|
55
55
|
{
|
|
56
56
|
var n = O.ReactDebugCurrentFrame, i = n.getStackAddendum();
|
|
57
57
|
i !== "" && (r += "%s", t = t.concat([i]));
|
|
@@ -61,23 +61,23 @@ function vr() {
|
|
|
61
61
|
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
var
|
|
65
|
-
|
|
66
|
-
function
|
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e === m || e === W ||
|
|
64
|
+
var xe = !1, ke = !1, De = !1, Fe = !1, Ae = !1, ee;
|
|
65
|
+
ee = Symbol.for("react.module.reference");
|
|
66
|
+
function Ie(e) {
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === m || e === W || Ae || e === I || e === T || e === p || Fe || e === $ || xe || ke || De || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === b || e.$$typeof === j || e.$$typeof === h || e.$$typeof === c || // 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
|
-
e.$$typeof ===
|
|
71
|
+
e.$$typeof === ee || e.getModuleId !== void 0));
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function We(e, r, t) {
|
|
74
74
|
var n = e.displayName;
|
|
75
75
|
if (n)
|
|
76
76
|
return n;
|
|
77
77
|
var i = r.displayName || r.name || "";
|
|
78
78
|
return i !== "" ? t + "(" + i + ")" : t;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function re(e) {
|
|
81
81
|
return e.displayName || "Context";
|
|
82
82
|
}
|
|
83
83
|
function y(e) {
|
|
@@ -105,12 +105,12 @@ function vr() {
|
|
|
105
105
|
switch (e.$$typeof) {
|
|
106
106
|
case h:
|
|
107
107
|
var r = e;
|
|
108
|
-
return
|
|
108
|
+
return re(r) + ".Consumer";
|
|
109
109
|
case j:
|
|
110
110
|
var t = e;
|
|
111
|
-
return
|
|
111
|
+
return re(t._context) + ".Provider";
|
|
112
112
|
case c:
|
|
113
|
-
return
|
|
113
|
+
return We(e, e.render, "ForwardRef");
|
|
114
114
|
case b:
|
|
115
115
|
var n = e.displayName || null;
|
|
116
116
|
return n !== null ? n : y(e.type) || "Memo";
|
|
@@ -125,18 +125,18 @@ function vr() {
|
|
|
125
125
|
}
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
|
-
var R = Object.assign, x = 0, ne, ae, oe, ie, ue, se
|
|
129
|
-
function
|
|
128
|
+
var R = Object.assign, x = 0, te, ne, ae, oe, ie, ue, se;
|
|
129
|
+
function le() {
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
function
|
|
131
|
+
le.__reactDisabledLog = !0;
|
|
132
|
+
function $e() {
|
|
133
133
|
{
|
|
134
134
|
if (x === 0) {
|
|
135
|
-
|
|
135
|
+
te = console.log, ne = console.info, ae = console.warn, oe = console.error, ie = console.group, ue = console.groupCollapsed, se = console.groupEnd;
|
|
136
136
|
var e = {
|
|
137
137
|
configurable: !0,
|
|
138
138
|
enumerable: !0,
|
|
139
|
-
value:
|
|
139
|
+
value: le,
|
|
140
140
|
writable: !0
|
|
141
141
|
};
|
|
142
142
|
Object.defineProperties(console, {
|
|
@@ -152,7 +152,7 @@ function vr() {
|
|
|
152
152
|
x++;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Ye() {
|
|
156
156
|
{
|
|
157
157
|
if (x--, x === 0) {
|
|
158
158
|
var e = {
|
|
@@ -162,25 +162,25 @@ function vr() {
|
|
|
162
162
|
};
|
|
163
163
|
Object.defineProperties(console, {
|
|
164
164
|
log: R({}, e, {
|
|
165
|
-
value:
|
|
165
|
+
value: te
|
|
166
166
|
}),
|
|
167
167
|
info: R({}, e, {
|
|
168
|
-
value:
|
|
168
|
+
value: ne
|
|
169
169
|
}),
|
|
170
170
|
warn: R({}, e, {
|
|
171
|
-
value:
|
|
171
|
+
value: ae
|
|
172
172
|
}),
|
|
173
173
|
error: R({}, e, {
|
|
174
|
-
value:
|
|
174
|
+
value: oe
|
|
175
175
|
}),
|
|
176
176
|
group: R({}, e, {
|
|
177
|
-
value:
|
|
177
|
+
value: ie
|
|
178
178
|
}),
|
|
179
179
|
groupCollapsed: R({}, e, {
|
|
180
|
-
value:
|
|
180
|
+
value: ue
|
|
181
181
|
}),
|
|
182
182
|
groupEnd: R({}, e, {
|
|
183
|
-
value:
|
|
183
|
+
value: se
|
|
184
184
|
})
|
|
185
185
|
});
|
|
186
186
|
}
|
|
@@ -203,10 +203,10 @@ function vr() {
|
|
|
203
203
|
}
|
|
204
204
|
var J = !1, L;
|
|
205
205
|
{
|
|
206
|
-
var
|
|
207
|
-
L = new
|
|
206
|
+
var Le = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
L = new Le();
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function fe(e, r) {
|
|
210
210
|
if (!e || J)
|
|
211
211
|
return "";
|
|
212
212
|
{
|
|
@@ -219,7 +219,7 @@ function vr() {
|
|
|
219
219
|
var i = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
221
|
var u;
|
|
222
|
-
u = N.current, N.current = null,
|
|
222
|
+
u = N.current, N.current = null, $e();
|
|
223
223
|
try {
|
|
224
224
|
if (r) {
|
|
225
225
|
var o = function() {
|
|
@@ -272,15 +272,15 @@ function vr() {
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
J = !1, N.current = u,
|
|
275
|
+
J = !1, N.current = u, Ye(), Error.prepareStackTrace = i;
|
|
276
276
|
}
|
|
277
277
|
var w = e ? e.displayName || e.name : "", _ = w ? Y(w) : "";
|
|
278
278
|
return typeof e == "function" && L.set(e, _), _;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
return
|
|
280
|
+
function Ve(e, r, t) {
|
|
281
|
+
return fe(e, !1);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function Me(e) {
|
|
284
284
|
var r = e.prototype;
|
|
285
285
|
return !!(r && r.isReactComponent);
|
|
286
286
|
}
|
|
@@ -288,7 +288,7 @@ function vr() {
|
|
|
288
288
|
if (e == null)
|
|
289
289
|
return "";
|
|
290
290
|
if (typeof e == "function")
|
|
291
|
-
return
|
|
291
|
+
return fe(e, Me(e));
|
|
292
292
|
if (typeof e == "string")
|
|
293
293
|
return Y(e);
|
|
294
294
|
switch (e) {
|
|
@@ -300,7 +300,7 @@ function vr() {
|
|
|
300
300
|
if (typeof e == "object")
|
|
301
301
|
switch (e.$$typeof) {
|
|
302
302
|
case c:
|
|
303
|
-
return
|
|
303
|
+
return Ve(e.render);
|
|
304
304
|
case b:
|
|
305
305
|
return V(e.type, r, t);
|
|
306
306
|
case E: {
|
|
@@ -313,15 +313,15 @@ function vr() {
|
|
|
313
313
|
}
|
|
314
314
|
return "";
|
|
315
315
|
}
|
|
316
|
-
var k = Object.prototype.hasOwnProperty,
|
|
316
|
+
var k = Object.prototype.hasOwnProperty, ce = {}, ve = O.ReactDebugCurrentFrame;
|
|
317
317
|
function M(e) {
|
|
318
318
|
if (e) {
|
|
319
319
|
var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
|
|
320
|
-
|
|
320
|
+
ve.setExtraStackFrame(t);
|
|
321
321
|
} else
|
|
322
|
-
|
|
322
|
+
ve.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function Ue(e, r, t, n, i) {
|
|
325
325
|
{
|
|
326
326
|
var u = Function.call.bind(k);
|
|
327
327
|
for (var o in e)
|
|
@@ -336,42 +336,42 @@ function vr() {
|
|
|
336
336
|
} catch (s) {
|
|
337
337
|
a = s;
|
|
338
338
|
}
|
|
339
|
-
a && !(a instanceof Error) && (M(i), f("%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), M(null)), a instanceof Error && !(a.message in
|
|
339
|
+
a && !(a instanceof Error) && (M(i), f("%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), M(null)), a instanceof Error && !(a.message in ce) && (ce[a.message] = !0, M(i), f("Failed %s type: %s", t, a.message), M(null));
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
var
|
|
343
|
+
var Ne = Array.isArray;
|
|
344
344
|
function q(e) {
|
|
345
|
-
return
|
|
345
|
+
return Ne(e);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function Be(e) {
|
|
348
348
|
{
|
|
349
349
|
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
350
350
|
return t;
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function Je(e) {
|
|
354
354
|
try {
|
|
355
|
-
return
|
|
355
|
+
return de(e), !1;
|
|
356
356
|
} catch {
|
|
357
357
|
return !0;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function de(e) {
|
|
361
361
|
return "" + e;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
if (
|
|
365
|
-
return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
363
|
+
function pe(e) {
|
|
364
|
+
if (Je(e))
|
|
365
|
+
return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Be(e)), de(e);
|
|
366
366
|
}
|
|
367
|
-
var D = O.ReactCurrentOwner,
|
|
367
|
+
var D = O.ReactCurrentOwner, qe = {
|
|
368
368
|
key: !0,
|
|
369
369
|
ref: !0,
|
|
370
370
|
__self: !0,
|
|
371
371
|
__source: !0
|
|
372
|
-
},
|
|
372
|
+
}, ge, ye, K;
|
|
373
373
|
K = {};
|
|
374
|
-
function
|
|
374
|
+
function Ke(e) {
|
|
375
375
|
if (k.call(e, "ref")) {
|
|
376
376
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
377
|
if (r && r.isReactWarning)
|
|
@@ -379,7 +379,7 @@ function vr() {
|
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function Ge(e) {
|
|
383
383
|
if (k.call(e, "key")) {
|
|
384
384
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
385
|
if (r && r.isReactWarning)
|
|
@@ -387,16 +387,16 @@ function vr() {
|
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function ze(e, r) {
|
|
391
391
|
if (typeof e.ref == "string" && D.current && r && D.current.stateNode !== r) {
|
|
392
392
|
var t = y(D.current.type);
|
|
393
393
|
K[t] || (f('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(D.current.type), e.ref), K[t] = !0);
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function Xe(e, r) {
|
|
397
397
|
{
|
|
398
398
|
var t = function() {
|
|
399
|
-
|
|
399
|
+
ge || (ge = !0, f("%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));
|
|
400
400
|
};
|
|
401
401
|
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
402
402
|
get: t,
|
|
@@ -404,10 +404,10 @@ function vr() {
|
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function He(e, r) {
|
|
408
408
|
{
|
|
409
409
|
var t = function() {
|
|
410
|
-
|
|
410
|
+
ye || (ye = !0, f("%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));
|
|
411
411
|
};
|
|
412
412
|
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
413
413
|
get: t,
|
|
@@ -415,7 +415,7 @@ function vr() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
var
|
|
418
|
+
var Ze = function(e, r, t, n, i, u, o) {
|
|
419
419
|
var a = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
421
|
$$typeof: P,
|
|
@@ -444,12 +444,12 @@ function vr() {
|
|
|
444
444
|
value: i
|
|
445
445
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
446
446
|
};
|
|
447
|
-
function
|
|
447
|
+
function Qe(e, r, t, n, i) {
|
|
448
448
|
{
|
|
449
449
|
var u, o = {}, a = null, v = null;
|
|
450
|
-
t !== void 0 && (
|
|
450
|
+
t !== void 0 && (pe(t), a = "" + t), Ge(r) && (pe(r.key), a = "" + r.key), Ke(r) && (v = r.ref, ze(r, i));
|
|
451
451
|
for (u in r)
|
|
452
|
-
k.call(r, u) && !
|
|
452
|
+
k.call(r, u) && !qe.hasOwnProperty(u) && (o[u] = r[u]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
454
454
|
var s = e.defaultProps;
|
|
455
455
|
for (u in s)
|
|
@@ -457,25 +457,25 @@ function vr() {
|
|
|
457
457
|
}
|
|
458
458
|
if (a || v) {
|
|
459
459
|
var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
a &&
|
|
460
|
+
a && Xe(o, l), v && He(o, l);
|
|
461
461
|
}
|
|
462
|
-
return
|
|
462
|
+
return Ze(e, a, v, i, n, D.current, o);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
var G = O.ReactCurrentOwner,
|
|
465
|
+
var G = O.ReactCurrentOwner, be = O.ReactDebugCurrentFrame;
|
|
466
466
|
function S(e) {
|
|
467
467
|
if (e) {
|
|
468
468
|
var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
|
|
469
|
-
|
|
469
|
+
be.setExtraStackFrame(t);
|
|
470
470
|
} else
|
|
471
|
-
|
|
471
|
+
be.setExtraStackFrame(null);
|
|
472
472
|
}
|
|
473
473
|
var z;
|
|
474
474
|
z = !1;
|
|
475
475
|
function X(e) {
|
|
476
476
|
return typeof e == "object" && e !== null && e.$$typeof === P;
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function he() {
|
|
479
479
|
{
|
|
480
480
|
if (G.current) {
|
|
481
481
|
var e = y(G.current.type);
|
|
@@ -487,13 +487,13 @@ Check the render method of \`` + e + "`.";
|
|
|
487
487
|
return "";
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function er(e) {
|
|
491
491
|
return "";
|
|
492
492
|
}
|
|
493
|
-
var
|
|
494
|
-
function
|
|
493
|
+
var Ee = {};
|
|
494
|
+
function rr(e) {
|
|
495
495
|
{
|
|
496
|
-
var r =
|
|
496
|
+
var r = he();
|
|
497
497
|
if (!r) {
|
|
498
498
|
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
499
499
|
t && (r = `
|
|
@@ -503,39 +503,39 @@ Check the top-level render call using <` + t + ">.");
|
|
|
503
503
|
return r;
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
function
|
|
506
|
+
function Re(e, r) {
|
|
507
507
|
{
|
|
508
508
|
if (!e._store || e._store.validated || e.key != null)
|
|
509
509
|
return;
|
|
510
510
|
e._store.validated = !0;
|
|
511
|
-
var t =
|
|
512
|
-
if (
|
|
511
|
+
var t = rr(r);
|
|
512
|
+
if (Ee[t])
|
|
513
513
|
return;
|
|
514
|
-
|
|
514
|
+
Ee[t] = !0;
|
|
515
515
|
var n = "";
|
|
516
516
|
e && e._owner && e._owner !== G.current && (n = " It was passed a child from " + y(e._owner.type) + "."), S(e), f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), S(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function _e(e, r) {
|
|
520
520
|
{
|
|
521
521
|
if (typeof e != "object")
|
|
522
522
|
return;
|
|
523
523
|
if (q(e))
|
|
524
524
|
for (var t = 0; t < e.length; t++) {
|
|
525
525
|
var n = e[t];
|
|
526
|
-
X(n) &&
|
|
526
|
+
X(n) && Re(n, r);
|
|
527
527
|
}
|
|
528
528
|
else if (X(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
530
530
|
else if (e) {
|
|
531
|
-
var i =
|
|
531
|
+
var i = Pe(e);
|
|
532
532
|
if (typeof i == "function" && i !== e.entries)
|
|
533
533
|
for (var u = i.call(e), o; !(o = u.next()).done; )
|
|
534
|
-
X(o.value) &&
|
|
534
|
+
X(o.value) && Re(o.value, r);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function tr(e) {
|
|
539
539
|
{
|
|
540
540
|
var r = e.type;
|
|
541
541
|
if (r == null || typeof r == "string")
|
|
@@ -551,7 +551,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
551
551
|
return;
|
|
552
552
|
if (t) {
|
|
553
553
|
var n = y(r);
|
|
554
|
-
|
|
554
|
+
Ue(t, e.props, "prop", n, e);
|
|
555
555
|
} else if (r.PropTypes !== void 0 && !z) {
|
|
556
556
|
z = !0;
|
|
557
557
|
var i = y(r);
|
|
@@ -560,7 +560,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
560
560
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function nr(e) {
|
|
564
564
|
{
|
|
565
565
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
566
566
|
var n = r[t];
|
|
@@ -572,19 +572,19 @@ Check the top-level render call using <` + t + ">.");
|
|
|
572
572
|
e.ref !== null && (S(e), f("Invalid attribute `ref` supplied to `React.Fragment`."), S(null));
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
var
|
|
576
|
-
function
|
|
575
|
+
var me = {};
|
|
576
|
+
function Te(e, r, t, n, i, u) {
|
|
577
577
|
{
|
|
578
|
-
var o =
|
|
578
|
+
var o = Ie(e);
|
|
579
579
|
if (!o) {
|
|
580
580
|
var a = "";
|
|
581
581
|
(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.");
|
|
582
|
-
var v =
|
|
583
|
-
v ? a += v : a +=
|
|
582
|
+
var v = er();
|
|
583
|
+
v ? a += v : a += he();
|
|
584
584
|
var s;
|
|
585
585
|
e === null ? s = "null" : q(e) ? s = "array" : e !== void 0 && e.$$typeof === P ? (s = "<" + (y(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
|
|
586
586
|
}
|
|
587
|
-
var l =
|
|
587
|
+
var l = Qe(e, r, t, i, u);
|
|
588
588
|
if (l == null)
|
|
589
589
|
return l;
|
|
590
590
|
if (o) {
|
|
@@ -593,43 +593,43 @@ Check the top-level render call using <` + t + ">.");
|
|
|
593
593
|
if (n)
|
|
594
594
|
if (q(g)) {
|
|
595
595
|
for (var w = 0; w < g.length; w++)
|
|
596
|
-
|
|
596
|
+
_e(g[w], e);
|
|
597
597
|
Object.freeze && Object.freeze(g);
|
|
598
598
|
} else
|
|
599
599
|
f("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
600
600
|
else
|
|
601
|
-
|
|
601
|
+
_e(g, e);
|
|
602
602
|
}
|
|
603
603
|
if (k.call(r, "key")) {
|
|
604
|
-
var _ = y(e), d = Object.keys(r).filter(function(
|
|
605
|
-
return
|
|
604
|
+
var _ = y(e), d = Object.keys(r).filter(function(lr) {
|
|
605
|
+
return lr !== "key";
|
|
606
606
|
}), H = d.length > 0 ? "{key: someKey, " + d.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
|
-
if (!
|
|
608
|
-
var
|
|
607
|
+
if (!me[_ + H]) {
|
|
608
|
+
var sr = d.length > 0 ? "{" + d.join(": ..., ") + ": ...}" : "{}";
|
|
609
609
|
f(`A props object containing a "key" prop is being spread into JSX:
|
|
610
610
|
let props = %s;
|
|
611
611
|
<%s {...props} />
|
|
612
612
|
React keys must be passed directly to JSX without using spread:
|
|
613
613
|
let props = %s;
|
|
614
|
-
<%s key={someKey} {...props} />`, H, _,
|
|
614
|
+
<%s key={someKey} {...props} />`, H, _, sr, _), me[_ + H] = !0;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
return e === m ?
|
|
617
|
+
return e === m ? nr(l) : tr(l), l;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
function
|
|
621
|
-
return
|
|
620
|
+
function ar(e, r, t) {
|
|
621
|
+
return Te(e, r, t, !0);
|
|
622
622
|
}
|
|
623
|
-
function
|
|
624
|
-
return
|
|
623
|
+
function or(e, r, t) {
|
|
624
|
+
return Te(e, r, t, !1);
|
|
625
625
|
}
|
|
626
|
-
var
|
|
627
|
-
A.Fragment = m, A.jsx =
|
|
626
|
+
var ir = or, ur = ar;
|
|
627
|
+
A.Fragment = m, A.jsx = ir, A.jsxs = ur;
|
|
628
628
|
}()), A;
|
|
629
629
|
}
|
|
630
|
-
process.env.NODE_ENV === "production" ? Z.exports =
|
|
631
|
-
var
|
|
632
|
-
const pr = ({ children: C }) => (console.log({ props: !0 }), /* @__PURE__ */
|
|
630
|
+
process.env.NODE_ENV === "production" ? Z.exports = fr() : Z.exports = cr();
|
|
631
|
+
var vr = Z.exports;
|
|
632
|
+
const pr = ({ children: C }) => (console.log({ props: !0 }), /* @__PURE__ */ vr.jsx("div", { className: "text-emerald-950", children: C }));
|
|
633
633
|
export {
|
|
634
634
|
pr as Button
|
|
635
635
|
};
|