@everlywell/ui-kit 1.28.1 → 1.29.1
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/index.js +7 -7
- package/index.mjs +310 -309
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -165,7 +165,7 @@ const Ct = ["redCS", "greenCS"], Yo = te({
|
|
|
165
165
|
colorScheme: "greenCS"
|
|
166
166
|
}
|
|
167
167
|
});
|
|
168
|
-
function
|
|
168
|
+
function F(e, a = {}) {
|
|
169
169
|
let l = !1;
|
|
170
170
|
function u() {
|
|
171
171
|
if (!l) {
|
|
@@ -176,113 +176,113 @@ function E(e, a = {}) {
|
|
|
176
176
|
"[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?"
|
|
177
177
|
);
|
|
178
178
|
}
|
|
179
|
-
function f(...
|
|
179
|
+
function f(...k) {
|
|
180
180
|
u();
|
|
181
|
-
for (const
|
|
182
|
-
a[
|
|
183
|
-
return
|
|
181
|
+
for (const T of k)
|
|
182
|
+
a[T] = g(T);
|
|
183
|
+
return F(e, a);
|
|
184
184
|
}
|
|
185
|
-
function y(...
|
|
186
|
-
for (const
|
|
187
|
-
|
|
188
|
-
return
|
|
185
|
+
function y(...k) {
|
|
186
|
+
for (const T of k)
|
|
187
|
+
T in a || (a[T] = g(T));
|
|
188
|
+
return F(e, a);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function _() {
|
|
191
191
|
return Object.fromEntries(
|
|
192
|
-
Object.entries(a).map(([
|
|
192
|
+
Object.entries(a).map(([T, R]) => [T, R.selector])
|
|
193
193
|
);
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function S() {
|
|
196
196
|
return Object.fromEntries(
|
|
197
|
-
Object.entries(a).map(([
|
|
197
|
+
Object.entries(a).map(([T, R]) => [T, R.className])
|
|
198
198
|
);
|
|
199
199
|
}
|
|
200
|
-
function g(
|
|
201
|
-
const Y = `chakra-${(["container", "root"].includes(
|
|
200
|
+
function g(k) {
|
|
201
|
+
const Y = `chakra-${(["container", "root"].includes(k ?? "") ? [e] : [e, k]).filter(Boolean).join("__")}`;
|
|
202
202
|
return {
|
|
203
203
|
className: Y,
|
|
204
204
|
selector: `.${Y}`,
|
|
205
|
-
toString: () =>
|
|
205
|
+
toString: () => k
|
|
206
206
|
};
|
|
207
207
|
}
|
|
208
208
|
return {
|
|
209
209
|
parts: f,
|
|
210
210
|
toPart: g,
|
|
211
211
|
extend: y,
|
|
212
|
-
selectors:
|
|
213
|
-
classnames:
|
|
212
|
+
selectors: _,
|
|
213
|
+
classnames: S,
|
|
214
214
|
get keys() {
|
|
215
215
|
return Object.keys(a);
|
|
216
216
|
},
|
|
217
217
|
__type: {}
|
|
218
218
|
};
|
|
219
219
|
}
|
|
220
|
-
var Ho =
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
var Xo =
|
|
226
|
-
|
|
227
|
-
var Vo =
|
|
228
|
-
|
|
220
|
+
var Ho = F("accordion").parts("root", "container", "button", "panel").extend("icon");
|
|
221
|
+
F("alert").parts("title", "description", "container").extend("icon", "spinner");
|
|
222
|
+
F("avatar").parts("label", "badge", "container").extend("excessLabel", "group");
|
|
223
|
+
F("breadcrumb").parts("link", "item", "container").extend("separator");
|
|
224
|
+
F("button").parts();
|
|
225
|
+
var Xo = F("checkbox").parts("control", "icon", "container").extend("label");
|
|
226
|
+
F("progress").parts("track", "filledTrack").extend("label");
|
|
227
|
+
var Vo = F("drawer").parts("overlay", "dialogContainer", "dialog").extend("header", "closeButton", "body", "footer");
|
|
228
|
+
F("editable").parts(
|
|
229
229
|
"preview",
|
|
230
230
|
"input",
|
|
231
231
|
"textarea"
|
|
232
232
|
);
|
|
233
|
-
var No =
|
|
233
|
+
var No = F("form").parts(
|
|
234
234
|
"container",
|
|
235
235
|
"requiredIndicator",
|
|
236
236
|
"helperText"
|
|
237
|
-
), Uo =
|
|
238
|
-
|
|
237
|
+
), Uo = F("formError").parts("text", "icon");
|
|
238
|
+
F("input").parts(
|
|
239
239
|
"addon",
|
|
240
240
|
"field",
|
|
241
241
|
"element",
|
|
242
242
|
"group"
|
|
243
243
|
);
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
var qo =
|
|
247
|
-
|
|
244
|
+
F("list").parts("container", "item", "icon");
|
|
245
|
+
F("menu").parts("button", "list", "item").extend("groupTitle", "icon", "command", "divider");
|
|
246
|
+
var qo = F("modal").parts("overlay", "dialogContainer", "dialog").extend("header", "closeButton", "body", "footer");
|
|
247
|
+
F("numberinput").parts(
|
|
248
248
|
"root",
|
|
249
249
|
"field",
|
|
250
250
|
"stepperGroup",
|
|
251
251
|
"stepper"
|
|
252
252
|
);
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
var Ko =
|
|
253
|
+
F("pininput").parts("field");
|
|
254
|
+
F("popover").parts("content", "header", "body", "footer").extend("popper", "arrow", "closeButton");
|
|
255
|
+
var Ko = F("progress").parts(
|
|
256
256
|
"label",
|
|
257
257
|
"filledTrack",
|
|
258
258
|
"track"
|
|
259
259
|
);
|
|
260
|
-
|
|
260
|
+
F("radio").parts(
|
|
261
261
|
"container",
|
|
262
262
|
"control",
|
|
263
263
|
"label"
|
|
264
264
|
);
|
|
265
|
-
var Jo =
|
|
266
|
-
|
|
265
|
+
var Jo = F("select").parts("field", "icon");
|
|
266
|
+
F("slider").parts(
|
|
267
267
|
"container",
|
|
268
268
|
"track",
|
|
269
269
|
"thumb",
|
|
270
270
|
"filledTrack",
|
|
271
271
|
"mark"
|
|
272
272
|
);
|
|
273
|
-
|
|
273
|
+
F("stat").parts(
|
|
274
274
|
"container",
|
|
275
275
|
"label",
|
|
276
276
|
"helpText",
|
|
277
277
|
"number",
|
|
278
278
|
"icon"
|
|
279
279
|
);
|
|
280
|
-
|
|
280
|
+
F("switch").parts(
|
|
281
281
|
"container",
|
|
282
282
|
"track",
|
|
283
283
|
"thumb"
|
|
284
284
|
);
|
|
285
|
-
var Zo =
|
|
285
|
+
var Zo = F("table").parts(
|
|
286
286
|
"table",
|
|
287
287
|
"thead",
|
|
288
288
|
"tbody",
|
|
@@ -291,19 +291,19 @@ var Zo = E("table").parts(
|
|
|
291
291
|
"td",
|
|
292
292
|
"tfoot",
|
|
293
293
|
"caption"
|
|
294
|
-
), Qo =
|
|
294
|
+
), Qo = F("tabs").parts(
|
|
295
295
|
"root",
|
|
296
296
|
"tab",
|
|
297
297
|
"tablist",
|
|
298
298
|
"tabpanel",
|
|
299
299
|
"tabpanels",
|
|
300
300
|
"indicator"
|
|
301
|
-
), en =
|
|
301
|
+
), en = F("tag").parts(
|
|
302
302
|
"container",
|
|
303
303
|
"label",
|
|
304
304
|
"closeButton"
|
|
305
305
|
);
|
|
306
|
-
|
|
306
|
+
F("card").parts(
|
|
307
307
|
"container",
|
|
308
308
|
"header",
|
|
309
309
|
"body",
|
|
@@ -394,8 +394,8 @@ function nn(e) {
|
|
|
394
394
|
var Br = { exports: {} };
|
|
395
395
|
Br.exports;
|
|
396
396
|
(function(e, a) {
|
|
397
|
-
var l = 200, u = "__lodash_hash_undefined__", f = 800, y = 16,
|
|
398
|
-
|
|
397
|
+
var l = 200, u = "__lodash_hash_undefined__", f = 800, y = 16, _ = 9007199254740991, S = "[object Arguments]", g = "[object Array]", P = "[object AsyncFunction]", k = "[object Boolean]", T = "[object Date]", R = "[object Error]", Y = "[object Function]", V = "[object GeneratorFunction]", oe = "[object Map]", ne = "[object Number]", N = "[object Null]", $ = "[object Object]", Ce = "[object Proxy]", Te = "[object RegExp]", $r = "[object Set]", Mr = "[object String]", Or = "[object Undefined]", Dr = "[object WeakMap]", er = "[object ArrayBuffer]", Wr = "[object DataView]", Ar = "[object Float32Array]", rr = "[object Float64Array]", q = "[object Int8Array]", le = "[object Int16Array]", ve = "[object Int32Array]", tr = "[object Uint8Array]", or = "[object Uint8ClampedArray]", nr = "[object Uint16Array]", ar = "[object Uint32Array]", ir = /[\\^$.*+?()[\]{}|]/g, sr = /^\[object .+?Constructor\]$/, lr = /^(?:0|[1-9]\d*)$/, I = {};
|
|
398
|
+
I[Ar] = I[rr] = I[q] = I[le] = I[ve] = I[tr] = I[or] = I[nr] = I[ar] = !0, I[S] = I[g] = I[er] = I[k] = I[Wr] = I[T] = I[R] = I[Y] = I[oe] = I[ne] = I[$] = I[Te] = I[$r] = I[Mr] = I[Dr] = !1;
|
|
399
399
|
var dr = typeof Tr == "object" && Tr && Tr.Object === Object && Tr, jr = typeof self == "object" && self && self.Object === Object && self, de = dr || jr || Function("return this")(), Re = a && !a.nodeType && a, ae = Re && !0 && e && !e.nodeType && e, Ee = ae && ae.exports === Re, ge = Ee && dr.process, cr = function() {
|
|
400
400
|
try {
|
|
401
401
|
var r = ae && ae.require && ae.require("util").types;
|
|
@@ -551,7 +551,7 @@ Br.exports;
|
|
|
551
551
|
var o = this.__data__ = new re(r);
|
|
552
552
|
this.size = o.size;
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function B() {
|
|
555
555
|
this.__data__ = new re(), this.size = 0;
|
|
556
556
|
}
|
|
557
557
|
function m(r) {
|
|
@@ -574,15 +574,15 @@ Br.exports;
|
|
|
574
574
|
}
|
|
575
575
|
return i.set(r, o), this.size = i.size, this;
|
|
576
576
|
}
|
|
577
|
-
h.prototype.clear =
|
|
577
|
+
h.prototype.clear = B, h.prototype.delete = m, h.prototype.get = b, h.prototype.has = L, h.prototype.set = W;
|
|
578
578
|
function A(r, o) {
|
|
579
|
-
var i = rt(r), c = !i && et(r), x = !i && !c && vt(r),
|
|
579
|
+
var i = rt(r), c = !i && et(r), x = !i && !c && vt(r), z = !i && !c && !x && xt(r), O = i || c || x || z, v = O ? Gr(r.length, String) : [], D = v.length;
|
|
580
580
|
for (var J in r)
|
|
581
|
-
(o || ee.call(r, J)) && !(
|
|
581
|
+
(o || ee.call(r, J)) && !(O && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
582
582
|
(J == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
583
583
|
x && (J == "offset" || J == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
584
|
-
|
|
585
|
-
mt(J,
|
|
584
|
+
z && (J == "buffer" || J == "byteLength" || J == "byteOffset") || // Skip index properties.
|
|
585
|
+
mt(J, D))) && v.push(J);
|
|
586
586
|
return v;
|
|
587
587
|
}
|
|
588
588
|
function H(r, o, i) {
|
|
@@ -611,7 +611,7 @@ Br.exports;
|
|
|
611
611
|
return r == null ? r === void 0 ? Or : N : ce && ce in Object(r) ? uo(r) : mo(r);
|
|
612
612
|
}
|
|
613
613
|
function wr(r) {
|
|
614
|
-
return Ve(r) && Oe(r) ==
|
|
614
|
+
return Ve(r) && Oe(r) == S;
|
|
615
615
|
}
|
|
616
616
|
function Jt(r) {
|
|
617
617
|
if (!ke(r) || ho(r))
|
|
@@ -620,7 +620,7 @@ Br.exports;
|
|
|
620
620
|
return o.test(xo(r));
|
|
621
621
|
}
|
|
622
622
|
function Zt(r) {
|
|
623
|
-
return Ve(r) && St(r.length) && !!
|
|
623
|
+
return Ve(r) && St(r.length) && !!I[Oe(r)];
|
|
624
624
|
}
|
|
625
625
|
function Qt(r) {
|
|
626
626
|
if (!ke(r))
|
|
@@ -631,27 +631,27 @@ Br.exports;
|
|
|
631
631
|
return i;
|
|
632
632
|
}
|
|
633
633
|
function bt(r, o, i, c, x) {
|
|
634
|
-
r !== o && Xe(o, function(
|
|
635
|
-
if (x || (x = new h()), ke(
|
|
636
|
-
eo(r, o,
|
|
634
|
+
r !== o && Xe(o, function(z, O) {
|
|
635
|
+
if (x || (x = new h()), ke(z))
|
|
636
|
+
eo(r, o, O, i, bt, c, x);
|
|
637
637
|
else {
|
|
638
|
-
var v = c ? c(Qr(r,
|
|
639
|
-
v === void 0 && (v =
|
|
638
|
+
var v = c ? c(Qr(r, O), z, O + "", r, o, x) : void 0;
|
|
639
|
+
v === void 0 && (v = z), H(r, O, v);
|
|
640
640
|
}
|
|
641
641
|
}, kt);
|
|
642
642
|
}
|
|
643
|
-
function eo(r, o, i, c, x,
|
|
644
|
-
var v = Qr(r, i),
|
|
643
|
+
function eo(r, o, i, c, x, z, O) {
|
|
644
|
+
var v = Qr(r, i), D = Qr(o, i), J = O.get(D);
|
|
645
645
|
if (J) {
|
|
646
646
|
H(r, i, J);
|
|
647
647
|
return;
|
|
648
648
|
}
|
|
649
|
-
var U =
|
|
649
|
+
var U = z ? z(v, D, i + "", r, o, O) : void 0, Ne = U === void 0;
|
|
650
650
|
if (Ne) {
|
|
651
|
-
var nt = rt(
|
|
652
|
-
U =
|
|
651
|
+
var nt = rt(D), at = !nt && vt(D), _t = !nt && !at && xt(D);
|
|
652
|
+
U = D, nt || at || _t ? rt(v) ? U = v : ko(v) ? U = io(v) : at ? (Ne = !1, U = oo(D, !0)) : _t ? (Ne = !1, U = ao(D, !0)) : U = [] : wo(D) || et(D) ? (U = v, et(v) ? U = _o(v) : (!ke(v) || ot(v)) && (U = fo(D))) : Ne = !1;
|
|
653
653
|
}
|
|
654
|
-
Ne && (
|
|
654
|
+
Ne && (O.set(D, U), x(U, D, c, z, O), O.delete(D)), H(r, i, U);
|
|
655
655
|
}
|
|
656
656
|
function ro(r, o) {
|
|
657
657
|
return vo(yo(r, o, wt), r + "");
|
|
@@ -687,27 +687,27 @@ Br.exports;
|
|
|
687
687
|
function so(r, o, i, c) {
|
|
688
688
|
var x = !i;
|
|
689
689
|
i || (i = {});
|
|
690
|
-
for (var
|
|
691
|
-
var v = o[
|
|
692
|
-
|
|
690
|
+
for (var z = -1, O = o.length; ++z < O; ) {
|
|
691
|
+
var v = o[z], D = c ? c(i[v], r[v], v, i, r) : void 0;
|
|
692
|
+
D === void 0 && (D = r[v]), x ? j(i, v, D) : me(i, v, D);
|
|
693
693
|
}
|
|
694
694
|
return i;
|
|
695
695
|
}
|
|
696
696
|
function lo(r) {
|
|
697
697
|
return ro(function(o, i) {
|
|
698
|
-
var c = -1, x = i.length,
|
|
699
|
-
for (
|
|
698
|
+
var c = -1, x = i.length, z = x > 1 ? i[x - 1] : void 0, O = x > 2 ? i[2] : void 0;
|
|
699
|
+
for (z = r.length > 3 && typeof z == "function" ? (x--, z) : void 0, O && po(i[0], i[1], O) && (z = x < 3 ? void 0 : z, x = 1), o = Object(o); ++c < x; ) {
|
|
700
700
|
var v = i[c];
|
|
701
|
-
v && r(o, v, c,
|
|
701
|
+
v && r(o, v, c, z);
|
|
702
702
|
}
|
|
703
703
|
return o;
|
|
704
704
|
});
|
|
705
705
|
}
|
|
706
706
|
function co(r) {
|
|
707
707
|
return function(o, i, c) {
|
|
708
|
-
for (var x = -1,
|
|
709
|
-
var
|
|
710
|
-
if (i(
|
|
708
|
+
for (var x = -1, z = Object(o), O = c(o), v = O.length; v--; ) {
|
|
709
|
+
var D = O[r ? v : ++x];
|
|
710
|
+
if (i(z[D], D, z) === !1)
|
|
711
711
|
break;
|
|
712
712
|
}
|
|
713
713
|
return o;
|
|
@@ -736,7 +736,7 @@ Br.exports;
|
|
|
736
736
|
}
|
|
737
737
|
function mt(r, o) {
|
|
738
738
|
var i = typeof r;
|
|
739
|
-
return o = o ??
|
|
739
|
+
return o = o ?? _, !!o && (i == "number" || i != "symbol" && lr.test(r)) && r > -1 && r % 1 == 0 && r < o;
|
|
740
740
|
}
|
|
741
741
|
function po(r, o, i) {
|
|
742
742
|
if (!ke(i))
|
|
@@ -767,12 +767,12 @@ Br.exports;
|
|
|
767
767
|
}
|
|
768
768
|
function yo(r, o, i) {
|
|
769
769
|
return o = Me(o === void 0 ? r.length - 1 : o, 0), function() {
|
|
770
|
-
for (var c = arguments, x = -1,
|
|
771
|
-
|
|
770
|
+
for (var c = arguments, x = -1, z = Me(c.length - o, 0), O = Array(z); ++x < z; )
|
|
771
|
+
O[x] = c[o + x];
|
|
772
772
|
x = -1;
|
|
773
773
|
for (var v = Array(o + 1); ++x < o; )
|
|
774
774
|
v[x] = c[x];
|
|
775
|
-
return v[o] = i(
|
|
775
|
+
return v[o] = i(O), Lr(r, this, v);
|
|
776
776
|
};
|
|
777
777
|
}
|
|
778
778
|
function Qr(r, o) {
|
|
@@ -824,10 +824,10 @@ Br.exports;
|
|
|
824
824
|
if (!ke(r))
|
|
825
825
|
return !1;
|
|
826
826
|
var o = Oe(r);
|
|
827
|
-
return o == Y || o == V || o ==
|
|
827
|
+
return o == Y || o == V || o == P || o == Ce;
|
|
828
828
|
}
|
|
829
829
|
function St(r) {
|
|
830
|
-
return typeof r == "number" && r > -1 && r % 1 == 0 && r <=
|
|
830
|
+
return typeof r == "number" && r > -1 && r % 1 == 0 && r <= _;
|
|
831
831
|
}
|
|
832
832
|
function ke(r) {
|
|
833
833
|
var o = typeof r;
|
|
@@ -837,7 +837,7 @@ Br.exports;
|
|
|
837
837
|
return r != null && typeof r == "object";
|
|
838
838
|
}
|
|
839
839
|
function wo(r) {
|
|
840
|
-
if (!Ve(r) || Oe(r) !=
|
|
840
|
+
if (!Ve(r) || Oe(r) != $)
|
|
841
841
|
return !1;
|
|
842
842
|
var o = hr(r);
|
|
843
843
|
if (o === null)
|
|
@@ -871,17 +871,17 @@ Br.exports;
|
|
|
871
871
|
var an = Br.exports;
|
|
872
872
|
const sn = /* @__PURE__ */ nn(an);
|
|
873
873
|
var ln = (e) => /!(important)?$/.test(e), Tt = (e) => typeof e == "string" ? e.replace(/!(important)?$/, "").trim() : e, dn = (e, a) => (l) => {
|
|
874
|
-
const u = String(a), f = ln(u), y = Tt(u),
|
|
875
|
-
let
|
|
876
|
-
return
|
|
874
|
+
const u = String(a), f = ln(u), y = Tt(u), _ = e ? `${e}.${y}` : y;
|
|
875
|
+
let S = Lt(l.__cssMap) && _ in l.__cssMap ? l.__cssMap[_].varRef : a;
|
|
876
|
+
return S = Tt(S), f ? `${S} !important` : S;
|
|
877
877
|
};
|
|
878
878
|
function ht(e) {
|
|
879
879
|
const { scale: a, transform: l, compose: u } = e;
|
|
880
|
-
return (y,
|
|
881
|
-
var
|
|
882
|
-
const g = dn(a, y)(
|
|
883
|
-
let
|
|
884
|
-
return u && (
|
|
880
|
+
return (y, _) => {
|
|
881
|
+
var S;
|
|
882
|
+
const g = dn(a, y)(_);
|
|
883
|
+
let P = (S = l == null ? void 0 : l(g, _)) != null ? S : g;
|
|
884
|
+
return u && (P = u(P, _)), P;
|
|
885
885
|
};
|
|
886
886
|
}
|
|
887
887
|
var Rr = (...e) => (a) => e.reduce((l, u) => u(l), a);
|
|
@@ -1012,24 +1012,24 @@ function Sn(e, a) {
|
|
|
1012
1012
|
return e;
|
|
1013
1013
|
if (!(ct(e) || dt.has(e)))
|
|
1014
1014
|
return `url('${e}')`;
|
|
1015
|
-
const f = /(^[a-z-A-Z]+)\((.*)\)/g.exec(e), y = f == null ? void 0 : f[1],
|
|
1016
|
-
if (!y || !
|
|
1015
|
+
const f = /(^[a-z-A-Z]+)\((.*)\)/g.exec(e), y = f == null ? void 0 : f[1], _ = f == null ? void 0 : f[2];
|
|
1016
|
+
if (!y || !_)
|
|
1017
1017
|
return e;
|
|
1018
|
-
const
|
|
1019
|
-
if ((
|
|
1018
|
+
const S = y.includes("-gradient") ? y : `${y}-gradient`, [g, ...P] = _.split(",").map(vn).filter(Boolean);
|
|
1019
|
+
if ((P == null ? void 0 : P.length) === 0)
|
|
1020
1020
|
return e;
|
|
1021
|
-
const
|
|
1022
|
-
|
|
1023
|
-
const
|
|
1024
|
-
if (yn.has(
|
|
1025
|
-
return
|
|
1026
|
-
const Y =
|
|
1021
|
+
const k = g in lt ? lt[g] : g;
|
|
1022
|
+
P.unshift(k);
|
|
1023
|
+
const T = P.map((R) => {
|
|
1024
|
+
if (yn.has(R))
|
|
1025
|
+
return R;
|
|
1026
|
+
const Y = R.indexOf(" "), [V, oe] = Y !== -1 ? [R.substr(0, Y), R.substr(Y + 1)] : [R], ne = ct(oe) ? oe : oe && oe.split(" "), N = `colors.${V}`, $ = N in a.__cssMap ? a.__cssMap[N].varRef : V;
|
|
1027
1027
|
return ne ? [
|
|
1028
|
-
|
|
1028
|
+
$,
|
|
1029
1029
|
...Array.isArray(ne) ? ne : [ne]
|
|
1030
|
-
].join(" ") :
|
|
1030
|
+
].join(" ") : $;
|
|
1031
1031
|
});
|
|
1032
|
-
return `${
|
|
1032
|
+
return `${S}(${T.join(", ")})`;
|
|
1033
1033
|
}
|
|
1034
1034
|
var ct = (e) => typeof e == "string" && e.includes("(") && e.includes(")"), xn = (e, a) => Sn(e, a ?? {});
|
|
1035
1035
|
function kn(e) {
|
|
@@ -1038,7 +1038,7 @@ function kn(e) {
|
|
|
1038
1038
|
var wn = (e) => {
|
|
1039
1039
|
const a = parseFloat(e.toString()), l = e.toString().replace(String(a), "");
|
|
1040
1040
|
return { unitless: !l, value: a, unit: l };
|
|
1041
|
-
}, se = (e) => (a) => `${e}(${a})`,
|
|
1041
|
+
}, se = (e) => (a) => `${e}(${a})`, w = {
|
|
1042
1042
|
filter(e) {
|
|
1043
1043
|
return e !== "auto" ? e : gn;
|
|
1044
1044
|
},
|
|
@@ -1046,7 +1046,7 @@ var wn = (e) => {
|
|
|
1046
1046
|
return e !== "auto" ? e : hn;
|
|
1047
1047
|
},
|
|
1048
1048
|
ring(e) {
|
|
1049
|
-
return bn(
|
|
1049
|
+
return bn(w.px(e));
|
|
1050
1050
|
},
|
|
1051
1051
|
bgClip(e) {
|
|
1052
1052
|
return e === "text" ? { color: "transparent", backgroundClip: "text" } : { backgroundClip: e };
|
|
@@ -1104,12 +1104,12 @@ var wn = (e) => {
|
|
|
1104
1104
|
borderStyles: Z("borderStyles"),
|
|
1105
1105
|
colors: Z("colors"),
|
|
1106
1106
|
borders: Z("borders"),
|
|
1107
|
-
gradients: Z("gradients",
|
|
1108
|
-
radii: Z("radii",
|
|
1109
|
-
space: Z("space", Rr(
|
|
1110
|
-
spaceT: Z("space", Rr(
|
|
1107
|
+
gradients: Z("gradients", w.gradient),
|
|
1108
|
+
radii: Z("radii", w.px),
|
|
1109
|
+
space: Z("space", Rr(w.vh, w.px)),
|
|
1110
|
+
spaceT: Z("space", Rr(w.vh, w.px)),
|
|
1111
1111
|
degreeT(e) {
|
|
1112
|
-
return { property: e, transform:
|
|
1112
|
+
return { property: e, transform: w.degree };
|
|
1113
1113
|
},
|
|
1114
1114
|
prop(e, a, l) {
|
|
1115
1115
|
return {
|
|
@@ -1123,11 +1123,11 @@ var wn = (e) => {
|
|
|
1123
1123
|
propT(e, a) {
|
|
1124
1124
|
return { property: e, transform: a };
|
|
1125
1125
|
},
|
|
1126
|
-
sizes: Z("sizes", Rr(
|
|
1127
|
-
sizesT: Z("sizes", Rr(
|
|
1126
|
+
sizes: Z("sizes", Rr(w.vh, w.px)),
|
|
1127
|
+
sizesT: Z("sizes", Rr(w.vh, w.fraction)),
|
|
1128
1128
|
shadows: Z("shadows"),
|
|
1129
1129
|
logical: un,
|
|
1130
|
-
blur: Z("blur",
|
|
1130
|
+
blur: Z("blur", w.blur)
|
|
1131
1131
|
}, Fr = {
|
|
1132
1132
|
background: n.colors("background"),
|
|
1133
1133
|
backgroundColor: n.colors("backgroundColor"),
|
|
@@ -1136,7 +1136,7 @@ var wn = (e) => {
|
|
|
1136
1136
|
backgroundPosition: !0,
|
|
1137
1137
|
backgroundRepeat: !0,
|
|
1138
1138
|
backgroundAttachment: !0,
|
|
1139
|
-
backgroundClip: { transform:
|
|
1139
|
+
backgroundClip: { transform: w.bgClip },
|
|
1140
1140
|
bgSize: n.prop("backgroundSize"),
|
|
1141
1141
|
bgPosition: n.prop("backgroundPosition"),
|
|
1142
1142
|
bg: n.colors("background"),
|
|
@@ -1145,13 +1145,13 @@ var wn = (e) => {
|
|
|
1145
1145
|
bgRepeat: n.prop("backgroundRepeat"),
|
|
1146
1146
|
bgAttachment: n.prop("backgroundAttachment"),
|
|
1147
1147
|
bgGradient: n.gradients("backgroundImage"),
|
|
1148
|
-
bgClip: { transform:
|
|
1148
|
+
bgClip: { transform: w.bgClip }
|
|
1149
1149
|
};
|
|
1150
1150
|
Object.assign(Fr, {
|
|
1151
1151
|
bgImage: Fr.backgroundImage,
|
|
1152
1152
|
bgImg: Fr.backgroundImage
|
|
1153
1153
|
});
|
|
1154
|
-
var
|
|
1154
|
+
var C = {
|
|
1155
1155
|
border: n.borders("border"),
|
|
1156
1156
|
borderWidth: n.borderWidths("borderWidth"),
|
|
1157
1157
|
borderStyle: n.borderStyles("borderStyle"),
|
|
@@ -1253,36 +1253,36 @@ var T = {
|
|
|
1253
1253
|
"borderBottomRightRadius"
|
|
1254
1254
|
])
|
|
1255
1255
|
};
|
|
1256
|
-
Object.assign(
|
|
1257
|
-
rounded:
|
|
1258
|
-
roundedTop:
|
|
1259
|
-
roundedTopLeft:
|
|
1260
|
-
roundedTopRight:
|
|
1261
|
-
roundedTopStart:
|
|
1262
|
-
roundedTopEnd:
|
|
1263
|
-
roundedBottom:
|
|
1264
|
-
roundedBottomLeft:
|
|
1265
|
-
roundedBottomRight:
|
|
1266
|
-
roundedBottomStart:
|
|
1267
|
-
roundedBottomEnd:
|
|
1268
|
-
roundedLeft:
|
|
1269
|
-
roundedRight:
|
|
1270
|
-
roundedStart:
|
|
1271
|
-
roundedEnd:
|
|
1272
|
-
borderStart:
|
|
1273
|
-
borderEnd:
|
|
1274
|
-
borderTopStartRadius:
|
|
1275
|
-
borderTopEndRadius:
|
|
1276
|
-
borderBottomStartRadius:
|
|
1277
|
-
borderBottomEndRadius:
|
|
1278
|
-
borderStartRadius:
|
|
1279
|
-
borderEndRadius:
|
|
1280
|
-
borderStartWidth:
|
|
1281
|
-
borderEndWidth:
|
|
1282
|
-
borderStartColor:
|
|
1283
|
-
borderEndColor:
|
|
1284
|
-
borderStartStyle:
|
|
1285
|
-
borderEndStyle:
|
|
1256
|
+
Object.assign(C, {
|
|
1257
|
+
rounded: C.borderRadius,
|
|
1258
|
+
roundedTop: C.borderTopRadius,
|
|
1259
|
+
roundedTopLeft: C.borderTopLeftRadius,
|
|
1260
|
+
roundedTopRight: C.borderTopRightRadius,
|
|
1261
|
+
roundedTopStart: C.borderStartStartRadius,
|
|
1262
|
+
roundedTopEnd: C.borderStartEndRadius,
|
|
1263
|
+
roundedBottom: C.borderBottomRadius,
|
|
1264
|
+
roundedBottomLeft: C.borderBottomLeftRadius,
|
|
1265
|
+
roundedBottomRight: C.borderBottomRightRadius,
|
|
1266
|
+
roundedBottomStart: C.borderEndStartRadius,
|
|
1267
|
+
roundedBottomEnd: C.borderEndEndRadius,
|
|
1268
|
+
roundedLeft: C.borderLeftRadius,
|
|
1269
|
+
roundedRight: C.borderRightRadius,
|
|
1270
|
+
roundedStart: C.borderInlineStartRadius,
|
|
1271
|
+
roundedEnd: C.borderInlineEndRadius,
|
|
1272
|
+
borderStart: C.borderInlineStart,
|
|
1273
|
+
borderEnd: C.borderInlineEnd,
|
|
1274
|
+
borderTopStartRadius: C.borderStartStartRadius,
|
|
1275
|
+
borderTopEndRadius: C.borderStartEndRadius,
|
|
1276
|
+
borderBottomStartRadius: C.borderEndStartRadius,
|
|
1277
|
+
borderBottomEndRadius: C.borderEndEndRadius,
|
|
1278
|
+
borderStartRadius: C.borderInlineStartRadius,
|
|
1279
|
+
borderEndRadius: C.borderInlineEndRadius,
|
|
1280
|
+
borderStartWidth: C.borderInlineStartWidth,
|
|
1281
|
+
borderEndWidth: C.borderInlineEndWidth,
|
|
1282
|
+
borderStartColor: C.borderInlineStartColor,
|
|
1283
|
+
borderEndColor: C.borderInlineEndColor,
|
|
1284
|
+
borderStartStyle: C.borderInlineStartStyle,
|
|
1285
|
+
borderEndStyle: C.borderInlineEndStyle
|
|
1286
1286
|
});
|
|
1287
1287
|
var _n = {
|
|
1288
1288
|
color: n.colors("color"),
|
|
@@ -1301,31 +1301,31 @@ Object.assign(ut, {
|
|
|
1301
1301
|
shadow: ut.boxShadow
|
|
1302
1302
|
});
|
|
1303
1303
|
var Cn = {
|
|
1304
|
-
filter: { transform:
|
|
1304
|
+
filter: { transform: w.filter },
|
|
1305
1305
|
blur: n.blur("--chakra-blur"),
|
|
1306
|
-
brightness: n.propT("--chakra-brightness",
|
|
1307
|
-
contrast: n.propT("--chakra-contrast",
|
|
1306
|
+
brightness: n.propT("--chakra-brightness", w.brightness),
|
|
1307
|
+
contrast: n.propT("--chakra-contrast", w.contrast),
|
|
1308
1308
|
hueRotate: n.degreeT("--chakra-hue-rotate"),
|
|
1309
|
-
invert: n.propT("--chakra-invert",
|
|
1310
|
-
saturate: n.propT("--chakra-saturate",
|
|
1311
|
-
dropShadow: n.propT("--chakra-drop-shadow",
|
|
1312
|
-
backdropFilter: { transform:
|
|
1309
|
+
invert: n.propT("--chakra-invert", w.invert),
|
|
1310
|
+
saturate: n.propT("--chakra-saturate", w.saturate),
|
|
1311
|
+
dropShadow: n.propT("--chakra-drop-shadow", w.dropShadow),
|
|
1312
|
+
backdropFilter: { transform: w.backdropFilter },
|
|
1313
1313
|
backdropBlur: n.blur("--chakra-backdrop-blur"),
|
|
1314
1314
|
backdropBrightness: n.propT(
|
|
1315
1315
|
"--chakra-backdrop-brightness",
|
|
1316
|
-
|
|
1316
|
+
w.brightness
|
|
1317
1317
|
),
|
|
1318
|
-
backdropContrast: n.propT("--chakra-backdrop-contrast",
|
|
1318
|
+
backdropContrast: n.propT("--chakra-backdrop-contrast", w.contrast),
|
|
1319
1319
|
backdropHueRotate: n.degreeT("--chakra-backdrop-hue-rotate"),
|
|
1320
|
-
backdropInvert: n.propT("--chakra-backdrop-invert",
|
|
1321
|
-
backdropSaturate: n.propT("--chakra-backdrop-saturate",
|
|
1320
|
+
backdropInvert: n.propT("--chakra-backdrop-invert", w.invert),
|
|
1321
|
+
backdropSaturate: n.propT("--chakra-backdrop-saturate", w.saturate)
|
|
1322
1322
|
}, Ir = {
|
|
1323
1323
|
alignItems: !0,
|
|
1324
1324
|
alignContent: !0,
|
|
1325
1325
|
justifyItems: !0,
|
|
1326
1326
|
justifyContent: !0,
|
|
1327
1327
|
flexWrap: !0,
|
|
1328
|
-
flexDirection: { transform:
|
|
1328
|
+
flexDirection: { transform: w.flexDirection },
|
|
1329
1329
|
flex: !0,
|
|
1330
1330
|
flexFlow: !0,
|
|
1331
1331
|
flexGrow: !0,
|
|
@@ -1368,7 +1368,7 @@ var Yt = {
|
|
|
1368
1368
|
resize: !0,
|
|
1369
1369
|
userSelect: !0,
|
|
1370
1370
|
pointerEvents: !0,
|
|
1371
|
-
outline: { transform:
|
|
1371
|
+
outline: { transform: w.outline },
|
|
1372
1372
|
outlineOffset: !0,
|
|
1373
1373
|
outlineColor: n.colors("outlineColor")
|
|
1374
1374
|
}, Q = {
|
|
@@ -1410,7 +1410,7 @@ var Yt = {
|
|
|
1410
1410
|
verticalAlign: !0,
|
|
1411
1411
|
boxSizing: !0,
|
|
1412
1412
|
boxDecorationBreak: !0,
|
|
1413
|
-
float: n.propT("float",
|
|
1413
|
+
float: n.propT("float", w.float),
|
|
1414
1414
|
objectFit: !0,
|
|
1415
1415
|
objectPosition: !0,
|
|
1416
1416
|
visibility: !0,
|
|
@@ -1442,15 +1442,15 @@ function En(e, a, l, u) {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
var Fn = (e) => {
|
|
1444
1444
|
const a = /* @__PURE__ */ new WeakMap();
|
|
1445
|
-
return (u, f, y,
|
|
1445
|
+
return (u, f, y, _) => {
|
|
1446
1446
|
if (typeof u > "u")
|
|
1447
1447
|
return e(u, f, y);
|
|
1448
1448
|
a.has(u) || a.set(u, /* @__PURE__ */ new Map());
|
|
1449
|
-
const
|
|
1450
|
-
if (
|
|
1451
|
-
return
|
|
1452
|
-
const g = e(u, f, y,
|
|
1453
|
-
return
|
|
1449
|
+
const S = a.get(u);
|
|
1450
|
+
if (S.has(f))
|
|
1451
|
+
return S.get(f);
|
|
1452
|
+
const g = e(u, f, y, _);
|
|
1453
|
+
return S.set(f, g), g;
|
|
1454
1454
|
};
|
|
1455
1455
|
}, Bn = Fn(En), In = {
|
|
1456
1456
|
border: "0px",
|
|
@@ -1523,12 +1523,12 @@ Object.assign(Ze, {
|
|
|
1523
1523
|
insetEnd: Ze.insetInlineEnd
|
|
1524
1524
|
});
|
|
1525
1525
|
var $n = {
|
|
1526
|
-
ring: { transform:
|
|
1526
|
+
ring: { transform: w.ring },
|
|
1527
1527
|
ringColor: n.colors("--chakra-ring-color"),
|
|
1528
1528
|
ringOffset: n.prop("--chakra-ring-offset-width"),
|
|
1529
1529
|
ringOffsetColor: n.colors("--chakra-ring-offset-color"),
|
|
1530
1530
|
ringInset: n.prop("--chakra-ring-inset")
|
|
1531
|
-
},
|
|
1531
|
+
}, M = {
|
|
1532
1532
|
margin: n.spaceT("margin"),
|
|
1533
1533
|
marginTop: n.spaceT("marginTop"),
|
|
1534
1534
|
marginBlockStart: n.spaceT("marginBlockStart"),
|
|
@@ -1556,29 +1556,29 @@ var $n = {
|
|
|
1556
1556
|
paddingY: n.space(["paddingTop", "paddingBottom"]),
|
|
1557
1557
|
paddingBlock: n.space("paddingBlock")
|
|
1558
1558
|
};
|
|
1559
|
-
Object.assign(
|
|
1560
|
-
m:
|
|
1561
|
-
mt:
|
|
1562
|
-
mr:
|
|
1563
|
-
me:
|
|
1564
|
-
marginEnd:
|
|
1565
|
-
mb:
|
|
1566
|
-
ml:
|
|
1567
|
-
ms:
|
|
1568
|
-
marginStart:
|
|
1569
|
-
mx:
|
|
1570
|
-
my:
|
|
1571
|
-
p:
|
|
1572
|
-
pt:
|
|
1573
|
-
py:
|
|
1574
|
-
px:
|
|
1575
|
-
pb:
|
|
1576
|
-
pl:
|
|
1577
|
-
ps:
|
|
1578
|
-
paddingStart:
|
|
1579
|
-
pr:
|
|
1580
|
-
pe:
|
|
1581
|
-
paddingEnd:
|
|
1559
|
+
Object.assign(M, {
|
|
1560
|
+
m: M.margin,
|
|
1561
|
+
mt: M.marginTop,
|
|
1562
|
+
mr: M.marginRight,
|
|
1563
|
+
me: M.marginInlineEnd,
|
|
1564
|
+
marginEnd: M.marginInlineEnd,
|
|
1565
|
+
mb: M.marginBottom,
|
|
1566
|
+
ml: M.marginLeft,
|
|
1567
|
+
ms: M.marginInlineStart,
|
|
1568
|
+
marginStart: M.marginInlineStart,
|
|
1569
|
+
mx: M.marginX,
|
|
1570
|
+
my: M.marginY,
|
|
1571
|
+
p: M.padding,
|
|
1572
|
+
pt: M.paddingTop,
|
|
1573
|
+
py: M.paddingY,
|
|
1574
|
+
px: M.paddingX,
|
|
1575
|
+
pb: M.paddingBottom,
|
|
1576
|
+
pl: M.paddingLeft,
|
|
1577
|
+
ps: M.paddingInlineStart,
|
|
1578
|
+
paddingStart: M.paddingInlineStart,
|
|
1579
|
+
pr: M.paddingRight,
|
|
1580
|
+
pe: M.paddingInlineEnd,
|
|
1581
|
+
paddingEnd: M.paddingInlineEnd
|
|
1582
1582
|
});
|
|
1583
1583
|
var Mn = {
|
|
1584
1584
|
textDecorationColor: n.colors("textDecorationColor"),
|
|
@@ -1591,7 +1591,7 @@ var Mn = {
|
|
|
1591
1591
|
textShadow: n.shadows("textShadow")
|
|
1592
1592
|
}, On = {
|
|
1593
1593
|
clipPath: !0,
|
|
1594
|
-
transform: n.propT("transform",
|
|
1594
|
+
transform: n.propT("transform", w.transform),
|
|
1595
1595
|
transformOrigin: !0,
|
|
1596
1596
|
translateX: n.spaceT("--chakra-translate-x"),
|
|
1597
1597
|
translateY: n.spaceT("--chakra-translate-y"),
|
|
@@ -1614,7 +1614,7 @@ var Mn = {
|
|
|
1614
1614
|
)
|
|
1615
1615
|
}, Wn = {
|
|
1616
1616
|
fontFamily: n.prop("fontFamily", "fonts"),
|
|
1617
|
-
fontSize: n.prop("fontSize", "fontSizes",
|
|
1617
|
+
fontSize: n.prop("fontSize", "fontSizes", w.px),
|
|
1618
1618
|
fontWeight: n.prop("fontWeight", "fontWeights"),
|
|
1619
1619
|
lineHeight: n.prop("lineHeight", "lineHeights"),
|
|
1620
1620
|
letterSpacing: n.prop("letterSpacing", "letterSpacings"),
|
|
@@ -1768,7 +1768,7 @@ var Pr = (e, ...a) => a.map(Ht).join(` ${e} `).replace(/calc/g, ""), Rt = (...e)
|
|
|
1768
1768
|
), Nt = sn(
|
|
1769
1769
|
{},
|
|
1770
1770
|
Fr,
|
|
1771
|
-
|
|
1771
|
+
C,
|
|
1772
1772
|
_n,
|
|
1773
1773
|
Ir,
|
|
1774
1774
|
Q,
|
|
@@ -1779,7 +1779,7 @@ var Pr = (e, ...a) => a.map(Ht).join(` ${e} `).replace(/calc/g, ""), Rt = (...e)
|
|
|
1779
1779
|
Pn,
|
|
1780
1780
|
Ze,
|
|
1781
1781
|
ut,
|
|
1782
|
-
|
|
1782
|
+
M,
|
|
1783
1783
|
An,
|
|
1784
1784
|
Wn,
|
|
1785
1785
|
Mn,
|
|
@@ -1787,7 +1787,7 @@ var Pr = (e, ...a) => a.map(Ht).join(` ${e} `).replace(/calc/g, ""), Rt = (...e)
|
|
|
1787
1787
|
Rn,
|
|
1788
1788
|
Dn
|
|
1789
1789
|
);
|
|
1790
|
-
Object.assign({},
|
|
1790
|
+
Object.assign({}, M, Q, Ir, Yt, Ze);
|
|
1791
1791
|
[...Object.keys(Nt), ...jn];
|
|
1792
1792
|
({ ...Nt, ...Vt });
|
|
1793
1793
|
function _e(e) {
|
|
@@ -2990,7 +2990,7 @@ const ea = Zn({
|
|
|
2990
2990
|
sizes: Qa,
|
|
2991
2991
|
space: ei,
|
|
2992
2992
|
...Da
|
|
2993
|
-
} = Wt,
|
|
2993
|
+
} = Wt, E = (e) => `${e / 16}rem`, Wa = (e) => e, ri = Wa({
|
|
2994
2994
|
...Da,
|
|
2995
2995
|
//To fix: https://github.com/chakra-ui/chakra-ui/issues/8671
|
|
2996
2996
|
styles: {
|
|
@@ -3030,23 +3030,23 @@ const ea = Zn({
|
|
|
3030
3030
|
black: "900"
|
|
3031
3031
|
},
|
|
3032
3032
|
fontSizes: {
|
|
3033
|
-
"3xs":
|
|
3034
|
-
"2xs":
|
|
3035
|
-
xs:
|
|
3036
|
-
sm:
|
|
3037
|
-
md:
|
|
3038
|
-
lg:
|
|
3039
|
-
xl:
|
|
3040
|
-
"2xl":
|
|
3041
|
-
"3xl":
|
|
3042
|
-
"4xl":
|
|
3043
|
-
"5xl":
|
|
3044
|
-
"6xl":
|
|
3045
|
-
"7xl":
|
|
3046
|
-
"8xl":
|
|
3047
|
-
"9xl":
|
|
3048
|
-
"10xl":
|
|
3049
|
-
"11xl":
|
|
3033
|
+
"3xs": E(6),
|
|
3034
|
+
"2xs": E(8),
|
|
3035
|
+
xs: E(10),
|
|
3036
|
+
sm: E(12),
|
|
3037
|
+
md: E(14),
|
|
3038
|
+
lg: E(16),
|
|
3039
|
+
xl: E(18),
|
|
3040
|
+
"2xl": E(20),
|
|
3041
|
+
"3xl": E(24),
|
|
3042
|
+
"4xl": E(28),
|
|
3043
|
+
"5xl": E(32),
|
|
3044
|
+
"6xl": E(36),
|
|
3045
|
+
"7xl": E(40),
|
|
3046
|
+
"8xl": E(44),
|
|
3047
|
+
"9xl": E(48),
|
|
3048
|
+
"10xl": E(56),
|
|
3049
|
+
"11xl": E(68)
|
|
3050
3050
|
},
|
|
3051
3051
|
letterSpacings: {
|
|
3052
3052
|
// TODO: redefine letter spacings with design
|
|
@@ -3083,19 +3083,19 @@ const ea = Zn({
|
|
|
3083
3083
|
* That'll give you 10. Then use it in your component.
|
|
3084
3084
|
*/
|
|
3085
3085
|
0: 0,
|
|
3086
|
-
0.5:
|
|
3087
|
-
1:
|
|
3088
|
-
1.5:
|
|
3089
|
-
2:
|
|
3090
|
-
3:
|
|
3091
|
-
4:
|
|
3092
|
-
5:
|
|
3093
|
-
6:
|
|
3094
|
-
8:
|
|
3095
|
-
10:
|
|
3096
|
-
12:
|
|
3097
|
-
16:
|
|
3098
|
-
20:
|
|
3086
|
+
0.5: E(2),
|
|
3087
|
+
1: E(4),
|
|
3088
|
+
1.5: E(6),
|
|
3089
|
+
2: E(8),
|
|
3090
|
+
3: E(12),
|
|
3091
|
+
4: E(16),
|
|
3092
|
+
5: E(20),
|
|
3093
|
+
6: E(24),
|
|
3094
|
+
8: E(32),
|
|
3095
|
+
10: E(40),
|
|
3096
|
+
12: E(48),
|
|
3097
|
+
16: E(64),
|
|
3098
|
+
20: E(80)
|
|
3099
3099
|
},
|
|
3100
3100
|
shadows: {
|
|
3101
3101
|
xs: "0 0 0 1px rgba(0, 0, 0, 0.05)",
|
|
@@ -3173,17 +3173,17 @@ function ja() {
|
|
|
3173
3173
|
return qe;
|
|
3174
3174
|
Pt = 1;
|
|
3175
3175
|
var e = zr, a = Symbol.for("react.element"), l = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, f = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
3176
|
-
function
|
|
3177
|
-
var
|
|
3178
|
-
|
|
3179
|
-
for (
|
|
3180
|
-
u.call(g,
|
|
3181
|
-
if (
|
|
3182
|
-
for (
|
|
3183
|
-
|
|
3184
|
-
return { $$typeof: a, type:
|
|
3176
|
+
function _(S, g, P) {
|
|
3177
|
+
var k, T = {}, R = null, Y = null;
|
|
3178
|
+
P !== void 0 && (R = "" + P), g.key !== void 0 && (R = "" + g.key), g.ref !== void 0 && (Y = g.ref);
|
|
3179
|
+
for (k in g)
|
|
3180
|
+
u.call(g, k) && !y.hasOwnProperty(k) && (T[k] = g[k]);
|
|
3181
|
+
if (S && S.defaultProps)
|
|
3182
|
+
for (k in g = S.defaultProps, g)
|
|
3183
|
+
T[k] === void 0 && (T[k] = g[k]);
|
|
3184
|
+
return { $$typeof: a, type: S, key: R, ref: Y, props: T, _owner: f.current };
|
|
3185
3185
|
}
|
|
3186
|
-
return qe.Fragment = l, qe.jsx =
|
|
3186
|
+
return qe.Fragment = l, qe.jsx = _, qe.jsxs = _, qe;
|
|
3187
3187
|
}
|
|
3188
3188
|
var Ke = {};
|
|
3189
3189
|
/**
|
|
@@ -3198,7 +3198,7 @@ var Ke = {};
|
|
|
3198
3198
|
var $t;
|
|
3199
3199
|
function La() {
|
|
3200
3200
|
return $t || ($t = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3201
|
-
var e = zr, a = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"),
|
|
3201
|
+
var e = zr, a = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), _ = Symbol.for("react.provider"), S = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), V = Symbol.iterator, oe = "@@iterator";
|
|
3202
3202
|
function ne(t) {
|
|
3203
3203
|
if (t === null || typeof t != "object")
|
|
3204
3204
|
return null;
|
|
@@ -3206,7 +3206,7 @@ function La() {
|
|
|
3206
3206
|
return typeof s == "function" ? s : null;
|
|
3207
3207
|
}
|
|
3208
3208
|
var N = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
3209
|
-
function
|
|
3209
|
+
function $(t) {
|
|
3210
3210
|
{
|
|
3211
3211
|
for (var s = arguments.length, d = new Array(s > 1 ? s - 1 : 0), p = 1; p < s; p++)
|
|
3212
3212
|
d[p - 1] = arguments[p];
|
|
@@ -3217,16 +3217,16 @@ function La() {
|
|
|
3217
3217
|
{
|
|
3218
3218
|
var p = N.ReactDebugCurrentFrame, h = p.getStackAddendum();
|
|
3219
3219
|
h !== "" && (s += "%s", d = d.concat([h]));
|
|
3220
|
-
var
|
|
3220
|
+
var B = d.map(function(m) {
|
|
3221
3221
|
return String(m);
|
|
3222
3222
|
});
|
|
3223
|
-
|
|
3223
|
+
B.unshift("Warning: " + s), Function.prototype.apply.call(console[t], console, B);
|
|
3224
3224
|
}
|
|
3225
3225
|
}
|
|
3226
3226
|
var Te = !1, $r = !1, Mr = !1, Or = !1, Dr = !1, er;
|
|
3227
3227
|
er = Symbol.for("react.module.reference");
|
|
3228
3228
|
function Wr(t) {
|
|
3229
|
-
return !!(typeof t == "string" || typeof t == "function" || t === u || t === y || Dr || t === f || t ===
|
|
3229
|
+
return !!(typeof t == "string" || typeof t == "function" || t === u || t === y || Dr || t === f || t === P || t === k || Or || t === Y || Te || $r || Mr || typeof t == "object" && t !== null && (t.$$typeof === R || t.$$typeof === T || t.$$typeof === _ || t.$$typeof === S || t.$$typeof === g || // This needs to include all possible module reference object
|
|
3230
3230
|
// types supported by any Flight configuration anywhere since
|
|
3231
3231
|
// we don't know which Flight build this will end up being used
|
|
3232
3232
|
// with.
|
|
@@ -3245,7 +3245,7 @@ function La() {
|
|
|
3245
3245
|
function q(t) {
|
|
3246
3246
|
if (t == null)
|
|
3247
3247
|
return null;
|
|
3248
|
-
if (typeof t.tag == "number" &&
|
|
3248
|
+
if (typeof t.tag == "number" && $("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
3249
3249
|
return t.displayName || t.name || null;
|
|
3250
3250
|
if (typeof t == "string")
|
|
3251
3251
|
return t;
|
|
@@ -3258,28 +3258,28 @@ function La() {
|
|
|
3258
3258
|
return "Profiler";
|
|
3259
3259
|
case f:
|
|
3260
3260
|
return "StrictMode";
|
|
3261
|
-
case
|
|
3261
|
+
case P:
|
|
3262
3262
|
return "Suspense";
|
|
3263
|
-
case
|
|
3263
|
+
case k:
|
|
3264
3264
|
return "SuspenseList";
|
|
3265
3265
|
}
|
|
3266
3266
|
if (typeof t == "object")
|
|
3267
3267
|
switch (t.$$typeof) {
|
|
3268
|
-
case
|
|
3268
|
+
case S:
|
|
3269
3269
|
var s = t;
|
|
3270
3270
|
return rr(s) + ".Consumer";
|
|
3271
|
-
case
|
|
3271
|
+
case _:
|
|
3272
3272
|
var d = t;
|
|
3273
3273
|
return rr(d._context) + ".Provider";
|
|
3274
3274
|
case g:
|
|
3275
3275
|
return Ar(t, t.render, "ForwardRef");
|
|
3276
|
-
case
|
|
3276
|
+
case T:
|
|
3277
3277
|
var p = t.displayName || null;
|
|
3278
3278
|
return p !== null ? p : q(t.type) || "Memo";
|
|
3279
|
-
case
|
|
3280
|
-
var h = t,
|
|
3279
|
+
case R: {
|
|
3280
|
+
var h = t, B = h._payload, m = h._init;
|
|
3281
3281
|
try {
|
|
3282
|
-
return q(m(
|
|
3282
|
+
return q(m(B));
|
|
3283
3283
|
} catch {
|
|
3284
3284
|
return null;
|
|
3285
3285
|
}
|
|
@@ -3288,9 +3288,9 @@ function La() {
|
|
|
3288
3288
|
return null;
|
|
3289
3289
|
}
|
|
3290
3290
|
var le = Object.assign, ve = 0, tr, or, nr, ar, ir, sr, lr;
|
|
3291
|
-
function
|
|
3291
|
+
function I() {
|
|
3292
3292
|
}
|
|
3293
|
-
|
|
3293
|
+
I.__reactDisabledLog = !0;
|
|
3294
3294
|
function dr() {
|
|
3295
3295
|
{
|
|
3296
3296
|
if (ve === 0) {
|
|
@@ -3298,7 +3298,7 @@ function La() {
|
|
|
3298
3298
|
var t = {
|
|
3299
3299
|
configurable: !0,
|
|
3300
3300
|
enumerable: !0,
|
|
3301
|
-
value:
|
|
3301
|
+
value: I,
|
|
3302
3302
|
writable: !0
|
|
3303
3303
|
};
|
|
3304
3304
|
Object.defineProperties(console, {
|
|
@@ -3346,7 +3346,7 @@ function La() {
|
|
|
3346
3346
|
})
|
|
3347
3347
|
});
|
|
3348
3348
|
}
|
|
3349
|
-
ve < 0 &&
|
|
3349
|
+
ve < 0 && $("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
3350
3350
|
}
|
|
3351
3351
|
}
|
|
3352
3352
|
var de = N.ReactCurrentDispatcher, Re;
|
|
@@ -3380,8 +3380,8 @@ function La() {
|
|
|
3380
3380
|
Ee = !0;
|
|
3381
3381
|
var h = Error.prepareStackTrace;
|
|
3382
3382
|
Error.prepareStackTrace = void 0;
|
|
3383
|
-
var
|
|
3384
|
-
|
|
3383
|
+
var B;
|
|
3384
|
+
B = de.current, de.current = null, dr();
|
|
3385
3385
|
try {
|
|
3386
3386
|
if (s) {
|
|
3387
3387
|
var m = function() {
|
|
@@ -3434,7 +3434,7 @@ function La() {
|
|
|
3434
3434
|
}
|
|
3435
3435
|
}
|
|
3436
3436
|
} finally {
|
|
3437
|
-
Ee = !1, de.current =
|
|
3437
|
+
Ee = !1, de.current = B, jr(), Error.prepareStackTrace = h;
|
|
3438
3438
|
}
|
|
3439
3439
|
var me = t ? t.displayName || t.name : "", K = me ? ae(me) : "";
|
|
3440
3440
|
return typeof t == "function" && ge.set(t, K), K;
|
|
@@ -3454,21 +3454,21 @@ function La() {
|
|
|
3454
3454
|
if (typeof t == "string")
|
|
3455
3455
|
return ae(t);
|
|
3456
3456
|
switch (t) {
|
|
3457
|
-
case
|
|
3457
|
+
case P:
|
|
3458
3458
|
return ae("Suspense");
|
|
3459
|
-
case
|
|
3459
|
+
case k:
|
|
3460
3460
|
return ae("SuspenseList");
|
|
3461
3461
|
}
|
|
3462
3462
|
if (typeof t == "object")
|
|
3463
3463
|
switch (t.$$typeof) {
|
|
3464
3464
|
case g:
|
|
3465
3465
|
return Lr(t.render);
|
|
3466
|
-
case
|
|
3466
|
+
case T:
|
|
3467
3467
|
return Fe(t.type, s, d);
|
|
3468
|
-
case
|
|
3469
|
-
var p = t, h = p._payload,
|
|
3468
|
+
case R: {
|
|
3469
|
+
var p = t, h = p._payload, B = p._init;
|
|
3470
3470
|
try {
|
|
3471
|
-
return Fe(
|
|
3471
|
+
return Fe(B(h), s, d);
|
|
3472
3472
|
} catch {
|
|
3473
3473
|
}
|
|
3474
3474
|
}
|
|
@@ -3485,9 +3485,9 @@ function La() {
|
|
|
3485
3485
|
}
|
|
3486
3486
|
function Ie(t, s, d, p, h) {
|
|
3487
3487
|
{
|
|
3488
|
-
var
|
|
3488
|
+
var B = Function.call.bind(Se);
|
|
3489
3489
|
for (var m in t)
|
|
3490
|
-
if (
|
|
3490
|
+
if (B(t, m)) {
|
|
3491
3491
|
var b = void 0;
|
|
3492
3492
|
try {
|
|
3493
3493
|
if (typeof t[m] != "function") {
|
|
@@ -3498,7 +3498,7 @@ function La() {
|
|
|
3498
3498
|
} catch (W) {
|
|
3499
3499
|
b = W;
|
|
3500
3500
|
}
|
|
3501
|
-
b && !(b instanceof Error) && (Be(h),
|
|
3501
|
+
b && !(b instanceof Error) && (Be(h), $("%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", d, m, typeof b), Be(null)), b instanceof Error && !(b.message in ur) && (ur[b.message] = !0, Be(h), $("Failed %s type: %s", d, b.message), Be(null));
|
|
3502
3502
|
}
|
|
3503
3503
|
}
|
|
3504
3504
|
}
|
|
@@ -3524,7 +3524,7 @@ function La() {
|
|
|
3524
3524
|
}
|
|
3525
3525
|
function gr(t) {
|
|
3526
3526
|
if (pr(t))
|
|
3527
|
-
return
|
|
3527
|
+
return $("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ee(t)), Le(t);
|
|
3528
3528
|
}
|
|
3529
3529
|
var xe = N.ReactCurrentOwner, ze = {
|
|
3530
3530
|
key: !0,
|
|
@@ -3552,13 +3552,13 @@ function La() {
|
|
|
3552
3552
|
function Yr(t, s) {
|
|
3553
3553
|
if (typeof t.ref == "string" && xe.current && s && xe.current.stateNode !== s) {
|
|
3554
3554
|
var d = q(xe.current.type);
|
|
3555
|
-
Pe[d] || (
|
|
3555
|
+
Pe[d] || ($('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', q(xe.current.type), t.ref), Pe[d] = !0);
|
|
3556
3556
|
}
|
|
3557
3557
|
}
|
|
3558
3558
|
function Hr(t, s) {
|
|
3559
3559
|
{
|
|
3560
3560
|
var d = function() {
|
|
3561
|
-
Ge || (Ge = !0,
|
|
3561
|
+
Ge || (Ge = !0, $("%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));
|
|
3562
3562
|
};
|
|
3563
3563
|
d.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
3564
3564
|
get: d,
|
|
@@ -3569,7 +3569,7 @@ function La() {
|
|
|
3569
3569
|
function ce(t, s) {
|
|
3570
3570
|
{
|
|
3571
3571
|
var d = function() {
|
|
3572
|
-
Ye || (Ye = !0,
|
|
3572
|
+
Ye || (Ye = !0, $("%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));
|
|
3573
3573
|
};
|
|
3574
3574
|
d.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
3575
3575
|
get: d,
|
|
@@ -3577,7 +3577,7 @@ function La() {
|
|
|
3577
3577
|
});
|
|
3578
3578
|
}
|
|
3579
3579
|
}
|
|
3580
|
-
var $e = function(t, s, d, p, h,
|
|
3580
|
+
var $e = function(t, s, d, p, h, B, m) {
|
|
3581
3581
|
var b = {
|
|
3582
3582
|
// This tag allows us to uniquely identify this as a React Element
|
|
3583
3583
|
$$typeof: a,
|
|
@@ -3587,7 +3587,7 @@ function La() {
|
|
|
3587
3587
|
ref: d,
|
|
3588
3588
|
props: m,
|
|
3589
3589
|
// Record the component responsible for creating this element.
|
|
3590
|
-
_owner:
|
|
3590
|
+
_owner: B
|
|
3591
3591
|
};
|
|
3592
3592
|
return b._store = {}, Object.defineProperty(b._store, "validated", {
|
|
3593
3593
|
configurable: !1,
|
|
@@ -3608,14 +3608,14 @@ function La() {
|
|
|
3608
3608
|
};
|
|
3609
3609
|
function Xr(t, s, d, p, h) {
|
|
3610
3610
|
{
|
|
3611
|
-
var
|
|
3611
|
+
var B, m = {}, b = null, L = null;
|
|
3612
3612
|
d !== void 0 && (gr(d), b = "" + d), br(s) && (gr(s.key), b = "" + s.key), hr(s) && (L = s.ref, Yr(s, h));
|
|
3613
|
-
for (
|
|
3614
|
-
Se.call(s,
|
|
3613
|
+
for (B in s)
|
|
3614
|
+
Se.call(s, B) && !ze.hasOwnProperty(B) && (m[B] = s[B]);
|
|
3615
3615
|
if (t && t.defaultProps) {
|
|
3616
3616
|
var W = t.defaultProps;
|
|
3617
|
-
for (
|
|
3618
|
-
m[
|
|
3617
|
+
for (B in W)
|
|
3618
|
+
m[B] === void 0 && (m[B] = W[B]);
|
|
3619
3619
|
}
|
|
3620
3620
|
if (b || L) {
|
|
3621
3621
|
var A = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
@@ -3683,7 +3683,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
3683
3683
|
return;
|
|
3684
3684
|
yr[d] = !0;
|
|
3685
3685
|
var p = "";
|
|
3686
|
-
t && t._owner && t._owner !== Me.current && (p = " It was passed a child from " + q(t._owner.type) + "."), ue(t),
|
|
3686
|
+
t && t._owner && t._owner !== Me.current && (p = " It was passed a child from " + q(t._owner.type) + "."), ue(t), $('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, p), ue(null);
|
|
3687
3687
|
}
|
|
3688
3688
|
}
|
|
3689
3689
|
function Sr(t, s) {
|
|
@@ -3700,7 +3700,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
3700
3700
|
else if (t) {
|
|
3701
3701
|
var h = ne(t);
|
|
3702
3702
|
if (typeof h == "function" && h !== t.entries)
|
|
3703
|
-
for (var
|
|
3703
|
+
for (var B = h.call(t), m; !(m = B.next()).done; )
|
|
3704
3704
|
He(m.value) && vr(m.value, s);
|
|
3705
3705
|
}
|
|
3706
3706
|
}
|
|
@@ -3715,7 +3715,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
3715
3715
|
d = s.propTypes;
|
|
3716
3716
|
else if (typeof s == "object" && (s.$$typeof === g || // Note: Memo only checks outer props here.
|
|
3717
3717
|
// Inner props are checked in the reconciler.
|
|
3718
|
-
s.$$typeof ===
|
|
3718
|
+
s.$$typeof === T))
|
|
3719
3719
|
d = s.propTypes;
|
|
3720
3720
|
else
|
|
3721
3721
|
return;
|
|
@@ -3725,9 +3725,9 @@ Check the top-level render call using <` + d + ">.");
|
|
|
3725
3725
|
} else if (s.PropTypes !== void 0 && !fe) {
|
|
3726
3726
|
fe = !0;
|
|
3727
3727
|
var h = q(s);
|
|
3728
|
-
|
|
3728
|
+
$("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
|
|
3729
3729
|
}
|
|
3730
|
-
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved &&
|
|
3730
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && $("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
3731
3731
|
}
|
|
3732
3732
|
}
|
|
3733
3733
|
function Ur(t) {
|
|
@@ -3735,15 +3735,15 @@ Check the top-level render call using <` + d + ">.");
|
|
|
3735
3735
|
for (var s = Object.keys(t.props), d = 0; d < s.length; d++) {
|
|
3736
3736
|
var p = s[d];
|
|
3737
3737
|
if (p !== "children" && p !== "key") {
|
|
3738
|
-
ue(t),
|
|
3738
|
+
ue(t), $("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), ue(null);
|
|
3739
3739
|
break;
|
|
3740
3740
|
}
|
|
3741
3741
|
}
|
|
3742
|
-
t.ref !== null && (ue(t),
|
|
3742
|
+
t.ref !== null && (ue(t), $("Invalid attribute `ref` supplied to `React.Fragment`."), ue(null));
|
|
3743
3743
|
}
|
|
3744
3744
|
}
|
|
3745
3745
|
var xr = {};
|
|
3746
|
-
function kr(t, s, d, p, h,
|
|
3746
|
+
function kr(t, s, d, p, h, B) {
|
|
3747
3747
|
{
|
|
3748
3748
|
var m = Wr(t);
|
|
3749
3749
|
if (!m) {
|
|
@@ -3752,9 +3752,9 @@ Check the top-level render call using <` + d + ">.");
|
|
|
3752
3752
|
var L = Vr(h);
|
|
3753
3753
|
L ? b += L : b += ie();
|
|
3754
3754
|
var W;
|
|
3755
|
-
t === null ? W = "null" : he(t) ? W = "array" : t !== void 0 && t.$$typeof === a ? (W = "<" + (q(t.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : W = typeof t,
|
|
3755
|
+
t === null ? W = "null" : he(t) ? W = "array" : t !== void 0 && t.$$typeof === a ? (W = "<" + (q(t.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : W = typeof t, $("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", W, b);
|
|
3756
3756
|
}
|
|
3757
|
-
var A = Xr(t, s, d, h,
|
|
3757
|
+
var A = Xr(t, s, d, h, B);
|
|
3758
3758
|
if (A == null)
|
|
3759
3759
|
return A;
|
|
3760
3760
|
if (m) {
|
|
@@ -3766,7 +3766,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
3766
3766
|
Sr(H[me], t);
|
|
3767
3767
|
Object.freeze && Object.freeze(H);
|
|
3768
3768
|
} else
|
|
3769
|
-
|
|
3769
|
+
$("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
3770
3770
|
else
|
|
3771
3771
|
Sr(H, t);
|
|
3772
3772
|
}
|
|
@@ -3776,7 +3776,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
3776
3776
|
}), Xe = j.length > 0 ? "{key: someKey, " + j.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3777
3777
|
if (!xr[K + Xe]) {
|
|
3778
3778
|
var Oe = j.length > 0 ? "{" + j.join(": ..., ") + ": ...}" : "{}";
|
|
3779
|
-
|
|
3779
|
+
$(`A props object containing a "key" prop is being spread into JSX:
|
|
3780
3780
|
let props = %s;
|
|
3781
3781
|
<%s {...props} />
|
|
3782
3782
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -3810,13 +3810,14 @@ const Kt = Ao({
|
|
|
3810
3810
|
columns: u = 1,
|
|
3811
3811
|
spacing: f,
|
|
3812
3812
|
...y
|
|
3813
|
-
},
|
|
3814
|
-
|
|
3813
|
+
}, _) => {
|
|
3814
|
+
var T;
|
|
3815
|
+
const S = Aa(), g = f ?? ((T = S == null ? void 0 : S.space) == null ? void 0 : T[4]), P = (R) => typeof R == "number" ? -1 * R : `-${R}`, k = Array.isArray(g) ? g.map((R) => R && P(R)) : g && P(g);
|
|
3815
3816
|
return /* @__PURE__ */ X.jsx(
|
|
3816
3817
|
Kt.Provider,
|
|
3817
3818
|
{ value: { spacing: g, columns: u }, children: /* @__PURE__ */ X.jsx(
|
|
3818
3819
|
Je,
|
|
3819
|
-
{ m: a ?
|
|
3820
|
+
{ m: a ? k : void 0, children: /* @__PURE__ */ X.jsx(
|
|
3820
3821
|
Fo,
|
|
3821
3822
|
{
|
|
3822
3823
|
flexWrap: "wrap",
|
|
@@ -3824,7 +3825,7 @@ const Kt = Ao({
|
|
|
3824
3825
|
pt: g,
|
|
3825
3826
|
width: l ?? "100%",
|
|
3826
3827
|
...y,
|
|
3827
|
-
ref:
|
|
3828
|
+
ref: _,
|
|
3828
3829
|
children: e
|
|
3829
3830
|
}
|
|
3830
3831
|
) }
|
|
@@ -3835,18 +3836,18 @@ const Kt = Ao({
|
|
|
3835
3836
|
Ga.displayName = "Grid";
|
|
3836
3837
|
const Ya = zr.forwardRef(
|
|
3837
3838
|
({ children: e, width: a, ...l }, u) => {
|
|
3838
|
-
const { columns: f, spacing: y } = jo(Kt),
|
|
3839
|
-
(
|
|
3839
|
+
const { columns: f, spacing: y } = jo(Kt), _ = Array.isArray(a) ? a.map((g) => g === "auto" ? 1 : 0) : a === "auto" ? 1 : 0, S = () => (Array.isArray(f) ? f : [f]).map(
|
|
3840
|
+
(P) => `${100 / P}%`
|
|
3840
3841
|
);
|
|
3841
3842
|
return /* @__PURE__ */ X.jsx(
|
|
3842
3843
|
Je,
|
|
3843
3844
|
{
|
|
3844
|
-
width: a ??
|
|
3845
|
+
width: a ?? S() ?? "100%",
|
|
3845
3846
|
pr: y,
|
|
3846
3847
|
pb: y,
|
|
3847
3848
|
...l,
|
|
3848
3849
|
sx: {
|
|
3849
|
-
flexGrow:
|
|
3850
|
+
flexGrow: _,
|
|
3850
3851
|
...l.sx
|
|
3851
3852
|
},
|
|
3852
3853
|
ref: u,
|
|
@@ -3877,26 +3878,26 @@ const ni = Lo(Xa), st = "32px", Er = (e) => e == null, Va = $o((e, a) => {
|
|
|
3877
3878
|
isDisabled: l == null ? void 0 : l.isDisabled,
|
|
3878
3879
|
isFocusable: l == null ? void 0 : l.isFocusable,
|
|
3879
3880
|
isChecked: !Er(l == null ? void 0 : l.value) && !Er(e.value) ? l.value === e.value : e.isChecked,
|
|
3880
|
-
onChange: !Er(l == null ? void 0 : l.value) && !Er(e.value) ? (
|
|
3881
|
+
onChange: !Er(l == null ? void 0 : l.value) && !Er(e.value) ? ($) => {
|
|
3881
3882
|
var Ce, Te;
|
|
3882
|
-
(Ce = e.onChange) == null || Ce.call(e,
|
|
3883
|
+
(Ce = e.onChange) == null || Ce.call(e, $), (Te = l == null ? void 0 : l.onChange) == null || Te.call(l, $);
|
|
3883
3884
|
} : e.onChange,
|
|
3884
3885
|
name: (e == null ? void 0 : e.name) ?? (l == null ? void 0 : l.name)
|
|
3885
3886
|
}, {
|
|
3886
3887
|
getInputProps: f,
|
|
3887
3888
|
getRadioProps: y,
|
|
3888
|
-
htmlProps:
|
|
3889
|
-
getLabelProps:
|
|
3889
|
+
htmlProps: _,
|
|
3890
|
+
getLabelProps: S,
|
|
3890
3891
|
state: g,
|
|
3891
|
-
getRootProps:
|
|
3892
|
+
getRootProps: P
|
|
3892
3893
|
} = Oo({
|
|
3893
3894
|
...e,
|
|
3894
3895
|
...u
|
|
3895
|
-
}),
|
|
3896
|
+
}), k = f({}, a), T = y(), R = S(), Y = P(), V = g.isChecked, oe = () => e.isDisabled ? "tints.lightGrey" : V ? "viridian.base" : "tints.white", ne = () => e.isDisabled ? "tints.lightGrey" : V ? "viridian.base" : "tints.uiGrey", N = () => e.isDisabled ? "not-allowed" : "pointer";
|
|
3896
3897
|
return /* @__PURE__ */ X.jsxs(
|
|
3897
3898
|
Do.label,
|
|
3898
3899
|
{
|
|
3899
|
-
...
|
|
3900
|
+
..._,
|
|
3900
3901
|
...Y,
|
|
3901
3902
|
cursor: "pointer",
|
|
3902
3903
|
display: "flex",
|
|
@@ -3905,14 +3906,14 @@ const ni = Lo(Xa), st = "32px", Er = (e) => e == null, Va = $o((e, a) => {
|
|
|
3905
3906
|
width: "100%",
|
|
3906
3907
|
gap: 3,
|
|
3907
3908
|
children: [
|
|
3908
|
-
/* @__PURE__ */ X.jsx("input", { ...
|
|
3909
|
+
/* @__PURE__ */ X.jsx("input", { ...k, ref: a }),
|
|
3909
3910
|
e.removeCircle ? (
|
|
3910
3911
|
// Icon size is 32px, so we need to add a box to keep the layout consistent
|
|
3911
3912
|
/* @__PURE__ */ X.jsx(Je, { width: "32px" })
|
|
3912
3913
|
) : /* @__PURE__ */ X.jsx(
|
|
3913
3914
|
Je,
|
|
3914
3915
|
{
|
|
3915
|
-
...
|
|
3916
|
+
...T,
|
|
3916
3917
|
display: "flex",
|
|
3917
3918
|
alignItems: "center",
|
|
3918
3919
|
justifyContent: "center",
|
|
@@ -3940,7 +3941,7 @@ const ni = Lo(Xa), st = "32px", Er = (e) => e == null, Va = $o((e, a) => {
|
|
|
3940
3941
|
/* @__PURE__ */ X.jsx(
|
|
3941
3942
|
Je,
|
|
3942
3943
|
{
|
|
3943
|
-
...
|
|
3944
|
+
...R,
|
|
3944
3945
|
flex: 1,
|
|
3945
3946
|
display: "flex",
|
|
3946
3947
|
alignItems: "center",
|