@akinon/ui-theme 0.0.1 → 0.0.2

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.js CHANGED
@@ -1,7 +1,7 @@
1
- import * as C from "react";
2
- import De, { useContext as ot } from "react";
1
+ import * as w from "react";
2
+ import _e, { useContext as ot } from "react";
3
3
  var nt = [];
4
- function _e(e, t) {
4
+ function We(e, t) {
5
5
  if (process.env.NODE_ENV !== "production" && !e && console !== void 0) {
6
6
  var r = nt.reduce(function(o, n) {
7
7
  return n(o ?? "", "warning");
@@ -9,32 +9,32 @@ function _e(e, t) {
9
9
  r && console.error("Warning: ".concat(r));
10
10
  }
11
11
  }
12
- function j(e) {
12
+ function P(e) {
13
13
  "@babel/helpers - typeof";
14
- return j = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
14
+ return P = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
15
15
  return typeof t;
16
16
  } : function(t) {
17
17
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
18
- }, j(e);
18
+ }, P(e);
19
19
  }
20
20
  function it(e, t) {
21
- if (j(e) !== "object" || e === null)
21
+ if (P(e) !== "object" || e === null)
22
22
  return e;
23
23
  var r = e[Symbol.toPrimitive];
24
24
  if (r !== void 0) {
25
25
  var o = r.call(e, t || "default");
26
- if (j(o) !== "object")
26
+ if (P(o) !== "object")
27
27
  return o;
28
28
  throw new TypeError("@@toPrimitive must return a primitive value.");
29
29
  }
30
30
  return (t === "string" ? String : Number)(e);
31
31
  }
32
- function We(e) {
32
+ function Xe(e) {
33
33
  var t = it(e, "string");
34
- return j(t) === "symbol" ? t : String(t);
34
+ return P(t) === "symbol" ? t : String(t);
35
35
  }
36
36
  function M(e, t, r) {
37
- return t = We(t), t in e ? Object.defineProperty(e, t, {
37
+ return t = Xe(t), t in e ? Object.defineProperty(e, t, {
38
38
  value: r,
39
39
  enumerable: !0,
40
40
  configurable: !0,
@@ -51,7 +51,7 @@ function Me(e, t) {
51
51
  }
52
52
  return r;
53
53
  }
54
- function K(e) {
54
+ function J(e) {
55
55
  for (var t = 1; t < arguments.length; t++) {
56
56
  var r = arguments[t] != null ? arguments[t] : {};
57
57
  t % 2 ? Me(Object(r), !0).forEach(function(o) {
@@ -62,18 +62,18 @@ function K(e) {
62
62
  }
63
63
  return e;
64
64
  }
65
- function ye(e, t) {
65
+ function me(e, t) {
66
66
  if (!(e instanceof t))
67
67
  throw new TypeError("Cannot call a class as a function");
68
68
  }
69
- function Ce(e, t) {
69
+ function we(e, t) {
70
70
  for (var r = 0; r < t.length; r++) {
71
71
  var o = t[r];
72
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, We(o.key), o);
72
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, Xe(o.key), o);
73
73
  }
74
74
  }
75
- function me(e, t, r) {
76
- return t && Ce(e.prototype, t), r && Ce(e, r), Object.defineProperty(e, "prototype", {
75
+ function Se(e, t, r) {
76
+ return t && we(e.prototype, t), r && we(e, r), Object.defineProperty(e, "prototype", {
77
77
  writable: !1
78
78
  }), e;
79
79
  }
@@ -91,7 +91,7 @@ function ct(e) {
91
91
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null)
92
92
  return Array.from(e);
93
93
  }
94
- function Xe(e, t) {
94
+ function Ne(e, t) {
95
95
  if (e) {
96
96
  if (typeof e == "string")
97
97
  return ue(e, t);
@@ -102,14 +102,14 @@ function Xe(e, t) {
102
102
  return ue(e, t);
103
103
  }
104
104
  }
105
- function st() {
105
+ function lt() {
106
106
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
107
107
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
108
108
  }
109
- function Ne(e) {
110
- return at(e) || ct(e) || Xe(e) || st();
111
- }
112
109
  function $e(e) {
110
+ return at(e) || ct(e) || Ne(e) || lt();
111
+ }
112
+ function Ge(e) {
113
113
  for (var t = 0, r, o = 0, n = e.length; n >= 4; ++o, n -= 4)
114
114
  r = e.charCodeAt(o) & 255 | (e.charCodeAt(++o) & 255) << 8 | (e.charCodeAt(++o) & 255) << 16 | (e.charCodeAt(++o) & 255) << 24, r = /* Math.imul(k, m): */
115
115
  (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
@@ -128,35 +128,35 @@ function $e(e) {
128
128
  return t ^= t >>> 13, t = /* Math.imul(h, m): */
129
129
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
130
130
  }
131
- var we = "%", lt = /* @__PURE__ */ function() {
131
+ var Be = "%", st = /* @__PURE__ */ function() {
132
132
  function e(t) {
133
- ye(this, e), M(this, "instanceId", void 0), M(this, "cache", /* @__PURE__ */ new Map()), this.instanceId = t;
133
+ me(this, e), M(this, "instanceId", void 0), M(this, "cache", /* @__PURE__ */ new Map()), this.instanceId = t;
134
134
  }
135
- return me(e, [{
135
+ return Se(e, [{
136
136
  key: "get",
137
137
  value: function(r) {
138
- return this.cache.get(r.join(we)) || null;
138
+ return this.cache.get(r.join(Be)) || null;
139
139
  }
140
140
  }, {
141
141
  key: "update",
142
142
  value: function(r, o) {
143
- var n = r.join(we), i = this.cache.get(n), a = o(i);
143
+ var n = r.join(Be), i = this.cache.get(n), a = o(i);
144
144
  a === null ? this.cache.delete(n) : this.cache.set(n, a);
145
145
  }
146
146
  }]), e;
147
- }(), ft = "data-token-hash", Y = "data-css-hash", D = "__cssinjs_instance__";
147
+ }(), ft = "data-token-hash", ee = "data-css-hash", _ = "__cssinjs_instance__";
148
148
  function ut() {
149
149
  var e = Math.random().toString(12).slice(2);
150
150
  if (typeof document < "u" && document.head && document.body) {
151
- var t = document.body.querySelectorAll("style[".concat(Y, "]")) || [], r = document.head.firstChild;
151
+ var t = document.body.querySelectorAll("style[".concat(ee, "]")) || [], r = document.head.firstChild;
152
152
  Array.from(t).forEach(function(n) {
153
- n[D] = n[D] || e, n[D] === e && document.head.insertBefore(n, r);
153
+ n[_] = n[_] || e, n[_] === e && document.head.insertBefore(n, r);
154
154
  });
155
155
  var o = {};
156
- Array.from(document.querySelectorAll("style[".concat(Y, "]"))).forEach(function(n) {
157
- var i = n.getAttribute(Y);
156
+ Array.from(document.querySelectorAll("style[".concat(ee, "]"))).forEach(function(n) {
157
+ var i = n.getAttribute(ee);
158
158
  if (o[i]) {
159
- if (n[D] === e) {
159
+ if (n[_] === e) {
160
160
  var a;
161
161
  (a = n.parentNode) === null || a === void 0 || a.removeChild(n);
162
162
  }
@@ -164,9 +164,9 @@ function ut() {
164
164
  o[i] = !0;
165
165
  });
166
166
  }
167
- return new lt(e);
167
+ return new st(e);
168
168
  }
169
- var Ge = /* @__PURE__ */ C.createContext({
169
+ var Ue = /* @__PURE__ */ w.createContext({
170
170
  hashPriority: "low",
171
171
  cache: ut(),
172
172
  defaultCache: !0
@@ -181,23 +181,23 @@ function gt(e) {
181
181
  function ht(e, t) {
182
182
  var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
183
183
  if (r != null) {
184
- var o, n, i, a, c = [], s = !0, l = !1;
184
+ var o, n, i, a, c = [], l = !0, s = !1;
185
185
  try {
186
186
  if (i = (r = r.call(e)).next, t === 0) {
187
187
  if (Object(r) !== r)
188
188
  return;
189
- s = !1;
189
+ l = !1;
190
190
  } else
191
- for (; !(s = (o = i.call(r)).done) && (c.push(o.value), c.length !== t); s = !0)
191
+ for (; !(l = (o = i.call(r)).done) && (c.push(o.value), c.length !== t); l = !0)
192
192
  ;
193
- } catch (d) {
194
- l = !0, n = d;
193
+ } catch (g) {
194
+ s = !0, n = g;
195
195
  } finally {
196
196
  try {
197
- if (!s && r.return != null && (a = r.return(), Object(a) !== a))
197
+ if (!l && r.return != null && (a = r.return(), Object(a) !== a))
198
198
  return;
199
199
  } finally {
200
- if (l)
200
+ if (s)
201
201
  throw n;
202
202
  }
203
203
  }
@@ -208,8 +208,8 @@ function bt() {
208
208
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
209
209
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
210
210
  }
211
- function _(e, t) {
212
- return gt(e) || ht(e, t) || Xe(e, t) || bt();
211
+ function W(e, t) {
212
+ return gt(e) || ht(e, t) || Ne(e, t) || bt();
213
213
  }
214
214
  function pt(e, t) {
215
215
  if (e.length !== t.length)
@@ -219,11 +219,11 @@ function pt(e, t) {
219
219
  return !1;
220
220
  return !0;
221
221
  }
222
- var Se = /* @__PURE__ */ function() {
222
+ var xe = /* @__PURE__ */ function() {
223
223
  function e() {
224
- ye(this, e), M(this, "cache", void 0), M(this, "keys", void 0), M(this, "cacheCallTimes", void 0), this.cache = /* @__PURE__ */ new Map(), this.keys = [], this.cacheCallTimes = 0;
224
+ me(this, e), M(this, "cache", void 0), M(this, "keys", void 0), M(this, "cacheCallTimes", void 0), this.cache = /* @__PURE__ */ new Map(), this.keys = [], this.cacheCallTimes = 0;
225
225
  }
226
- return me(e, [{
226
+ return Se(e, [{
227
227
  key: "size",
228
228
  value: function() {
229
229
  return this.keys.length;
@@ -238,8 +238,8 @@ var Se = /* @__PURE__ */ function() {
238
238
  if (!a)
239
239
  a = void 0;
240
240
  else {
241
- var s, l;
242
- a = (s = a) === null || s === void 0 || (l = s.map) === null || l === void 0 ? void 0 : l.get(c);
241
+ var l, s;
242
+ a = (l = a) === null || l === void 0 || (s = l.map) === null || s === void 0 ? void 0 : s.get(c);
243
243
  }
244
244
  }), (o = a) !== null && o !== void 0 && o.value && i && (a.value[1] = this.cacheCallTimes++), (n = a) === null || n === void 0 ? void 0 : n.value;
245
245
  }
@@ -260,25 +260,25 @@ var Se = /* @__PURE__ */ function() {
260
260
  var n = this;
261
261
  if (!this.has(r)) {
262
262
  if (this.size() + 1 > e.MAX_CACHE_SIZE + e.MAX_CACHE_OFFSET) {
263
- var i = this.keys.reduce(function(l, d) {
264
- var f = _(l, 2), u = f[1];
265
- return n.internalGet(d)[1] < u ? [d, n.internalGet(d)[1]] : l;
266
- }, [this.keys[0], this.cacheCallTimes]), a = _(i, 1), c = a[0];
263
+ var i = this.keys.reduce(function(s, g) {
264
+ var f = W(s, 2), d = f[1];
265
+ return n.internalGet(g)[1] < d ? [g, n.internalGet(g)[1]] : s;
266
+ }, [this.keys[0], this.cacheCallTimes]), a = W(i, 1), c = a[0];
267
267
  this.delete(c);
268
268
  }
269
269
  this.keys.push(r);
270
270
  }
271
- var s = this.cache;
272
- r.forEach(function(l, d) {
273
- if (d === r.length - 1)
274
- s.set(l, {
271
+ var l = this.cache;
272
+ r.forEach(function(s, g) {
273
+ if (g === r.length - 1)
274
+ l.set(s, {
275
275
  value: [o, n.cacheCallTimes++]
276
276
  });
277
277
  else {
278
- var f = s.get(l);
279
- f ? f.map || (f.map = /* @__PURE__ */ new Map()) : s.set(l, {
278
+ var f = l.get(s);
279
+ f ? f.map || (f.map = /* @__PURE__ */ new Map()) : l.set(s, {
280
280
  map: /* @__PURE__ */ new Map()
281
- }), s = s.get(l).map;
281
+ }), l = l.get(s).map;
282
282
  }
283
283
  });
284
284
  }
@@ -305,13 +305,13 @@ var Se = /* @__PURE__ */ function() {
305
305
  }
306
306
  }]), e;
307
307
  }();
308
- M(Se, "MAX_CACHE_SIZE", 20);
309
- M(Se, "MAX_CACHE_OFFSET", 5);
310
- var Ae = 0, Ue = /* @__PURE__ */ function() {
308
+ M(xe, "MAX_CACHE_SIZE", 20);
309
+ M(xe, "MAX_CACHE_OFFSET", 5);
310
+ var Ae = 0, Ve = /* @__PURE__ */ function() {
311
311
  function e(t) {
312
- ye(this, e), M(this, "derivatives", void 0), M(this, "id", void 0), this.derivatives = Array.isArray(t) ? t : [t], this.id = Ae, t.length === 0 && _e(t.length > 0, "[Ant Design CSS-in-JS] Theme should have at least one derivative function."), Ae += 1;
312
+ me(this, e), M(this, "derivatives", void 0), M(this, "id", void 0), this.derivatives = Array.isArray(t) ? t : [t], this.id = Ae, t.length === 0 && We(t.length > 0, "[Ant Design CSS-in-JS] Theme should have at least one derivative function."), Ae += 1;
313
313
  }
314
- return me(e, [{
314
+ return Se(e, [{
315
315
  key: "getDerivativeToken",
316
316
  value: function(r) {
317
317
  return this.derivatives.reduce(function(o, n) {
@@ -319,68 +319,68 @@ var Ae = 0, Ue = /* @__PURE__ */ function() {
319
319
  }, void 0);
320
320
  }
321
321
  }]), e;
322
- }(), ee = new Se();
322
+ }(), te = new xe();
323
323
  function de(e) {
324
324
  var t = Array.isArray(e) ? e : [e];
325
- return ee.has(t) || ee.set(t, new Ue(t)), ee.get(t);
325
+ return te.has(t) || te.set(t, new Ve(t)), te.get(t);
326
326
  }
327
- var vt = /* @__PURE__ */ new WeakMap(), te = {};
327
+ var vt = /* @__PURE__ */ new WeakMap(), re = {};
328
328
  function yt(e, t) {
329
329
  for (var r = vt, o = 0; o < t.length; o += 1) {
330
330
  var n = t[o];
331
331
  r.has(n) || r.set(n, /* @__PURE__ */ new WeakMap()), r = r.get(n);
332
332
  }
333
- return r.has(te) || r.set(te, e()), r.get(te);
333
+ return r.has(re) || r.set(re, e()), r.get(re);
334
334
  }
335
- var Be = /* @__PURE__ */ new WeakMap();
336
- function J(e) {
337
- var t = Be.get(e) || "";
335
+ var Ee = /* @__PURE__ */ new WeakMap();
336
+ function Z(e) {
337
+ var t = Ee.get(e) || "";
338
338
  return t || (Object.keys(e).forEach(function(r) {
339
339
  var o = e[r];
340
- t += r, o instanceof Ue ? t += o.id : o && j(o) === "object" ? t += J(o) : t += o;
341
- }), Be.set(e, t)), t;
340
+ t += r, o instanceof Ve ? t += o.id : o && P(o) === "object" ? t += Z(o) : t += o;
341
+ }), Ee.set(e, t)), t;
342
342
  }
343
343
  function mt(e, t) {
344
- return $e("".concat(t, "_").concat(J(e)));
344
+ return Ge("".concat(t, "_").concat(Z(e)));
345
345
  }
346
- var Ee = process.env.NODE_ENV !== "test" && dt() ? C.useLayoutEffect : C.useEffect, St = function(t, r) {
347
- var o = C.useRef(!0);
348
- Ee(function() {
346
+ var He = process.env.NODE_ENV !== "test" && dt() ? w.useLayoutEffect : w.useEffect, St = function(t, r) {
347
+ var o = w.useRef(!0);
348
+ He(function() {
349
349
  return t(o.current);
350
- }, r), Ee(function() {
350
+ }, r), He(function() {
351
351
  return o.current = !1, function() {
352
352
  o.current = !0;
353
353
  };
354
354
  }, []);
355
- }, xt = K({}, C), He = xt.useInsertionEffect, Tt = function(t, r, o) {
356
- C.useMemo(t, o), St(function() {
355
+ }, xt = J({}, w), Oe = xt.useInsertionEffect, Tt = function(t, r, o) {
356
+ w.useMemo(t, o), St(function() {
357
357
  return r(!0);
358
358
  }, o);
359
- }, kt = He ? function(e, t, r) {
360
- return He(function() {
359
+ }, kt = Oe ? function(e, t, r) {
360
+ return Oe(function() {
361
361
  return e(), t();
362
362
  }, r);
363
- } : Tt, Mt = K({}, C), Ct = Mt.useInsertionEffect, wt = function(t) {
363
+ } : Tt, Ct = J({}, w), Mt = Ct.useInsertionEffect, wt = function(t) {
364
364
  var r = [], o = !1;
365
365
  function n(i) {
366
366
  if (o) {
367
- process.env.NODE_ENV !== "production" && _e(!1, "[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");
367
+ process.env.NODE_ENV !== "production" && We(!1, "[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");
368
368
  return;
369
369
  }
370
370
  r.push(i);
371
371
  }
372
- return C.useEffect(function() {
372
+ return w.useEffect(function() {
373
373
  return o = !1, function() {
374
374
  o = !0, r.length && r.forEach(function(i) {
375
375
  return i();
376
376
  });
377
377
  };
378
378
  }, t), n;
379
- }, At = function() {
379
+ }, Bt = function() {
380
380
  return function(t) {
381
381
  t();
382
382
  };
383
- }, Bt = typeof Ct < "u" ? wt : At;
383
+ }, At = typeof Mt < "u" ? wt : Bt;
384
384
  function Et() {
385
385
  return !1;
386
386
  }
@@ -390,10 +390,10 @@ function Ht() {
390
390
  }
391
391
  const Ot = process.env.NODE_ENV === "production" ? Et : Ht;
392
392
  if (process.env.NODE_ENV !== "production" && typeof module < "u" && module && module.hot && typeof window < "u") {
393
- var re = window;
394
- if (typeof re.webpackHotUpdate == "function") {
395
- var It = re.webpackHotUpdate;
396
- re.webpackHotUpdate = function() {
393
+ var oe = window;
394
+ if (typeof oe.webpackHotUpdate == "function") {
395
+ var It = oe.webpackHotUpdate;
396
+ oe.webpackHotUpdate = function() {
397
397
  return ge = !0, setTimeout(function() {
398
398
  ge = !1;
399
399
  }, 0), It.apply(void 0, arguments);
@@ -401,50 +401,50 @@ if (process.env.NODE_ENV !== "production" && typeof module < "u" && module && mo
401
401
  }
402
402
  }
403
403
  function Rt(e, t, r, o, n) {
404
- var i = C.useContext(Ge), a = i.cache, c = [e].concat(Ne(t)), s = c.join("_"), l = Bt([s]), d = Ot(), f = function(g) {
404
+ var i = w.useContext(Ue), a = i.cache, c = [e].concat($e(t)), l = c.join("_"), s = At([l]), g = Ot(), f = function(h) {
405
405
  a.update(c, function(m) {
406
- var S = m || [], T = _(S, 2), F = T[0], N = F === void 0 ? 0 : F, $ = T[1], Z = $;
407
- process.env.NODE_ENV !== "production" && $ && d && (o == null || o(Z, d), Z = null);
408
- var rt = Z || r(), ke = [N, rt];
409
- return g ? g(ke) : ke;
406
+ var S = m || [], T = W(S, 2), L = T[0], $ = L === void 0 ? 0 : L, G = T[1], Y = G;
407
+ process.env.NODE_ENV !== "production" && G && g && (o == null || o(Y, g), Y = null);
408
+ var rt = Y || r(), Ce = [$, rt];
409
+ return h ? h(Ce) : Ce;
410
410
  });
411
411
  };
412
- C.useMemo(
412
+ w.useMemo(
413
413
  function() {
414
414
  f();
415
415
  },
416
416
  /* eslint-disable react-hooks/exhaustive-deps */
417
- [s]
417
+ [l]
418
418
  /* eslint-enable */
419
419
  );
420
- var u = a.get(c);
421
- process.env.NODE_ENV !== "production" && !u && (f(), u = a.get(c));
422
- var b = u[1];
420
+ var d = a.get(c);
421
+ process.env.NODE_ENV !== "production" && !d && (f(), d = a.get(c));
422
+ var b = d[1];
423
423
  return kt(function() {
424
424
  n == null || n(b);
425
425
  }, function(v) {
426
- return f(function(g) {
427
- var m = _(g, 2), S = m[0], T = m[1];
426
+ return f(function(h) {
427
+ var m = W(h, 2), S = m[0], T = m[1];
428
428
  return v && S === 0 && (n == null || n(b)), [S + 1, T];
429
429
  }), function() {
430
- a.update(c, function(g) {
431
- var m = g || [], S = _(m, 2), T = S[0], F = T === void 0 ? 0 : T, N = S[1], $ = F - 1;
432
- return $ === 0 ? (l(function() {
433
- return o == null ? void 0 : o(N, !1);
434
- }), null) : [F - 1, N];
430
+ a.update(c, function(h) {
431
+ var m = h || [], S = W(m, 2), T = S[0], L = T === void 0 ? 0 : T, $ = S[1], G = L - 1;
432
+ return G === 0 ? (s(function() {
433
+ return o == null ? void 0 : o($, !1);
434
+ }), null) : [L - 1, $];
435
435
  });
436
436
  };
437
- }, [s]), b;
437
+ }, [l]), b;
438
438
  }
439
- var zt = {}, jt = process.env.NODE_ENV !== "production" ? "css-dev-only-do-not-override" : "css", H = /* @__PURE__ */ new Map();
439
+ var zt = {}, jt = process.env.NODE_ENV !== "production" ? "css-dev-only-do-not-override" : "css", O = /* @__PURE__ */ new Map();
440
440
  function Pt(e) {
441
- H.set(e, (H.get(e) || 0) + 1);
441
+ O.set(e, (O.get(e) || 0) + 1);
442
442
  }
443
443
  function Ft(e, t) {
444
444
  if (typeof document < "u") {
445
445
  var r = document.querySelectorAll("style[".concat(ft, '="').concat(e, '"]'));
446
446
  r.forEach(function(o) {
447
- if (o[D] === t) {
447
+ if (o[_] === t) {
448
448
  var n;
449
449
  (n = o.parentNode) === null || n === void 0 || n.removeChild(o);
450
450
  }
@@ -453,42 +453,42 @@ function Ft(e, t) {
453
453
  }
454
454
  var Lt = 0;
455
455
  function Dt(e, t) {
456
- H.set(e, (H.get(e) || 0) - 1);
457
- var r = Array.from(H.keys()), o = r.filter(function(n) {
458
- var i = H.get(n) || 0;
456
+ O.set(e, (O.get(e) || 0) - 1);
457
+ var r = Array.from(O.keys()), o = r.filter(function(n) {
458
+ var i = O.get(n) || 0;
459
459
  return i <= 0;
460
460
  });
461
461
  r.length - o.length > Lt && o.forEach(function(n) {
462
- Ft(n, t), H.delete(n);
462
+ Ft(n, t), O.delete(n);
463
463
  });
464
464
  }
465
- var Ve = function(t, r, o, n) {
466
- var i = o.getDerivativeToken(t), a = K(K({}, i), r);
465
+ var Qe = function(t, r, o, n) {
466
+ var i = o.getDerivativeToken(t), a = J(J({}, i), r);
467
467
  return n && (a = n(a)), a;
468
468
  };
469
469
  function _t(e, t) {
470
- var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = ot(Ge), n = o.cache.instanceId, i = r.salt, a = i === void 0 ? "" : i, c = r.override, s = c === void 0 ? zt : c, l = r.formatToken, d = r.getComputedToken, f = yt(function() {
471
- return Object.assign.apply(Object, [{}].concat(Ne(t)));
472
- }, t), u = J(f), b = J(s), v = Rt("token", [a, e.id, u, b], function() {
473
- var g = d ? d(f, s, e) : Ve(f, s, e, l), m = mt(g, a);
474
- g._tokenKey = m, Pt(m);
475
- var S = "".concat(jt, "-").concat($e(m));
476
- return g._hashId = S, [g, S];
477
- }, function(g) {
478
- Dt(g[0]._tokenKey, n);
470
+ var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = ot(Ue), n = o.cache.instanceId, i = r.salt, a = i === void 0 ? "" : i, c = r.override, l = c === void 0 ? zt : c, s = r.formatToken, g = r.getComputedToken, f = yt(function() {
471
+ return Object.assign.apply(Object, [{}].concat($e(t)));
472
+ }, t), d = Z(f), b = Z(l), v = Rt("token", [a, e.id, d, b], function() {
473
+ var h = g ? g(f, l, e) : Qe(f, l, e, s), m = mt(h, a);
474
+ h._tokenKey = m, Pt(m);
475
+ var S = "".concat(jt, "-").concat(Ge(m));
476
+ return h._hashId = S, [h, S];
477
+ }, function(h) {
478
+ Dt(h[0]._tokenKey, n);
479
479
  });
480
480
  return v;
481
481
  }
482
- function I(e) {
482
+ function R(e) {
483
483
  return e.notSplit = !0, e;
484
484
  }
485
- I(["borderTop", "borderBottom"]), I(["borderTop"]), I(["borderBottom"]), I(["borderLeft", "borderRight"]), I(["borderLeft"]), I(["borderRight"]);
485
+ R(["borderTop", "borderBottom"]), R(["borderTop"]), R(["borderBottom"]), R(["borderLeft", "borderRight"]), R(["borderLeft"]), R(["borderRight"]);
486
486
  function p(e, t) {
487
487
  Wt(e) && (e = "100%");
488
488
  var r = Xt(e);
489
489
  return e = t === 360 ? e : Math.min(t, Math.max(0, parseFloat(e))), r && (e = parseInt(String(e * t), 10) / 100), Math.abs(e - t) < 1e-6 ? 1 : (t === 360 ? e = (e < 0 ? e % t + t : e % t) / parseFloat(String(t)) : e = e % t / parseFloat(String(t)), e);
490
490
  }
491
- function G(e) {
491
+ function U(e) {
492
492
  return Math.min(1, Math.max(0, e));
493
493
  }
494
494
  function Wt(e) {
@@ -497,13 +497,13 @@ function Wt(e) {
497
497
  function Xt(e) {
498
498
  return typeof e == "string" && e.indexOf("%") !== -1;
499
499
  }
500
- function Qe(e) {
500
+ function qe(e) {
501
501
  return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
502
502
  }
503
- function U(e) {
503
+ function V(e) {
504
504
  return e <= 1 ? "".concat(Number(e) * 100, "%") : e;
505
505
  }
506
- function O(e) {
506
+ function I(e) {
507
507
  return e.length === 1 ? "0" + e : String(e);
508
508
  }
509
509
  function Nt(e, t, r) {
@@ -513,29 +513,29 @@ function Nt(e, t, r) {
513
513
  b: p(r, 255) * 255
514
514
  };
515
515
  }
516
- function Oe(e, t, r) {
516
+ function Ie(e, t, r) {
517
517
  e = p(e, 255), t = p(t, 255), r = p(r, 255);
518
518
  var o = Math.max(e, t, r), n = Math.min(e, t, r), i = 0, a = 0, c = (o + n) / 2;
519
519
  if (o === n)
520
520
  a = 0, i = 0;
521
521
  else {
522
- var s = o - n;
523
- switch (a = c > 0.5 ? s / (2 - o - n) : s / (o + n), o) {
522
+ var l = o - n;
523
+ switch (a = c > 0.5 ? l / (2 - o - n) : l / (o + n), o) {
524
524
  case e:
525
- i = (t - r) / s + (t < r ? 6 : 0);
525
+ i = (t - r) / l + (t < r ? 6 : 0);
526
526
  break;
527
527
  case t:
528
- i = (r - e) / s + 2;
528
+ i = (r - e) / l + 2;
529
529
  break;
530
530
  case r:
531
- i = (e - t) / s + 4;
531
+ i = (e - t) / l + 4;
532
532
  break;
533
533
  }
534
534
  i /= 6;
535
535
  }
536
536
  return { h: i, s: a, l: c };
537
537
  }
538
- function oe(e, t, r) {
538
+ function ne(e, t, r) {
539
539
  return r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + (t - e) * (6 * r) : r < 1 / 2 ? t : r < 2 / 3 ? e + (t - e) * (2 / 3 - r) * 6 : e;
540
540
  }
541
541
  function $t(e, t, r) {
@@ -544,13 +544,13 @@ function $t(e, t, r) {
544
544
  n = r, i = r, o = r;
545
545
  else {
546
546
  var a = r < 0.5 ? r * (1 + t) : r + t - r * t, c = 2 * r - a;
547
- o = oe(c, a, e + 1 / 3), n = oe(c, a, e), i = oe(c, a, e - 1 / 3);
547
+ o = ne(c, a, e + 1 / 3), n = ne(c, a, e), i = ne(c, a, e - 1 / 3);
548
548
  }
549
549
  return { r: o * 255, g: n * 255, b: i * 255 };
550
550
  }
551
551
  function he(e, t, r) {
552
552
  e = p(e, 255), t = p(t, 255), r = p(r, 255);
553
- var o = Math.max(e, t, r), n = Math.min(e, t, r), i = 0, a = o, c = o - n, s = o === 0 ? 0 : c / o;
553
+ var o = Math.max(e, t, r), n = Math.min(e, t, r), i = 0, a = o, c = o - n, l = o === 0 ? 0 : c / o;
554
554
  if (o === n)
555
555
  i = 0;
556
556
  else {
@@ -567,34 +567,34 @@ function he(e, t, r) {
567
567
  }
568
568
  i /= 6;
569
569
  }
570
- return { h: i, s, v: a };
570
+ return { h: i, s: l, v: a };
571
571
  }
572
572
  function Gt(e, t, r) {
573
573
  e = p(e, 360) * 6, t = p(t, 100), r = p(r, 100);
574
- var o = Math.floor(e), n = e - o, i = r * (1 - t), a = r * (1 - n * t), c = r * (1 - (1 - n) * t), s = o % 6, l = [r, a, i, i, c, r][s], d = [c, r, r, a, i, i][s], f = [i, i, c, r, r, a][s];
575
- return { r: l * 255, g: d * 255, b: f * 255 };
574
+ var o = Math.floor(e), n = e - o, i = r * (1 - t), a = r * (1 - n * t), c = r * (1 - (1 - n) * t), l = o % 6, s = [r, a, i, i, c, r][l], g = [c, r, r, a, i, i][l], f = [i, i, c, r, r, a][l];
575
+ return { r: s * 255, g: g * 255, b: f * 255 };
576
576
  }
577
577
  function be(e, t, r, o) {
578
578
  var n = [
579
- O(Math.round(e).toString(16)),
580
- O(Math.round(t).toString(16)),
581
- O(Math.round(r).toString(16))
579
+ I(Math.round(e).toString(16)),
580
+ I(Math.round(t).toString(16)),
581
+ I(Math.round(r).toString(16))
582
582
  ];
583
583
  return o && n[0].startsWith(n[0].charAt(1)) && n[1].startsWith(n[1].charAt(1)) && n[2].startsWith(n[2].charAt(1)) ? n[0].charAt(0) + n[1].charAt(0) + n[2].charAt(0) : n.join("");
584
584
  }
585
585
  function Ut(e, t, r, o, n) {
586
586
  var i = [
587
- O(Math.round(e).toString(16)),
588
- O(Math.round(t).toString(16)),
589
- O(Math.round(r).toString(16)),
590
- O(Vt(o))
587
+ I(Math.round(e).toString(16)),
588
+ I(Math.round(t).toString(16)),
589
+ I(Math.round(r).toString(16)),
590
+ I(Vt(o))
591
591
  ];
592
592
  return n && i[0].startsWith(i[0].charAt(1)) && i[1].startsWith(i[1].charAt(1)) && i[2].startsWith(i[2].charAt(1)) && i[3].startsWith(i[3].charAt(1)) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) + i[3].charAt(0) : i.join("");
593
593
  }
594
594
  function Vt(e) {
595
595
  return Math.round(parseFloat(e) * 255).toString(16);
596
596
  }
597
- function Ie(e) {
597
+ function Re(e) {
598
598
  return y(e) / 255;
599
599
  }
600
600
  function y(e) {
@@ -757,9 +757,9 @@ var pe = {
757
757
  yellow: "#ffff00",
758
758
  yellowgreen: "#9acd32"
759
759
  };
760
- function z(e) {
760
+ function j(e) {
761
761
  var t = { r: 0, g: 0, b: 0 }, r = 1, o = null, n = null, i = null, a = !1, c = !1;
762
- return typeof e == "string" && (e = Jt(e)), typeof e == "object" && (w(e.r) && w(e.g) && w(e.b) ? (t = Nt(e.r, e.g, e.b), a = !0, c = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : w(e.h) && w(e.s) && w(e.v) ? (o = U(e.s), n = U(e.v), t = Gt(e.h, o, n), a = !0, c = "hsv") : w(e.h) && w(e.s) && w(e.l) && (o = U(e.s), i = U(e.l), t = $t(e.h, o, i), a = !0, c = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (r = e.a)), r = Qe(r), {
762
+ return typeof e == "string" && (e = Jt(e)), typeof e == "object" && (B(e.r) && B(e.g) && B(e.b) ? (t = Nt(e.r, e.g, e.b), a = !0, c = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : B(e.h) && B(e.s) && B(e.v) ? (o = V(e.s), n = V(e.v), t = Gt(e.h, o, n), a = !0, c = "hsv") : B(e.h) && B(e.s) && B(e.l) && (o = V(e.s), i = V(e.l), t = $t(e.h, o, i), a = !0, c = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (r = e.a)), r = qe(r), {
763
763
  ok: a,
764
764
  format: e.format || c,
765
765
  r: Math.min(255, Math.max(t.r, 0)),
@@ -768,14 +768,14 @@ function z(e) {
768
768
  a: r
769
769
  };
770
770
  }
771
- var qt = "[-\\+]?\\d+%?", Kt = "[-\\+]?\\d*\\.\\d+%?", E = "(?:".concat(Kt, ")|(?:").concat(qt, ")"), ne = "[\\s|\\(]+(".concat(E, ")[,|\\s]+(").concat(E, ")[,|\\s]+(").concat(E, ")\\s*\\)?"), ie = "[\\s|\\(]+(".concat(E, ")[,|\\s]+(").concat(E, ")[,|\\s]+(").concat(E, ")[,|\\s]+(").concat(E, ")\\s*\\)?"), k = {
772
- CSS_UNIT: new RegExp(E),
773
- rgb: new RegExp("rgb" + ne),
774
- rgba: new RegExp("rgba" + ie),
775
- hsl: new RegExp("hsl" + ne),
776
- hsla: new RegExp("hsla" + ie),
777
- hsv: new RegExp("hsv" + ne),
778
- hsva: new RegExp("hsva" + ie),
771
+ var qt = "[-\\+]?\\d+%?", Kt = "[-\\+]?\\d*\\.\\d+%?", H = "(?:".concat(Kt, ")|(?:").concat(qt, ")"), ie = "[\\s|\\(]+(".concat(H, ")[,|\\s]+(").concat(H, ")[,|\\s]+(").concat(H, ")\\s*\\)?"), ae = "[\\s|\\(]+(".concat(H, ")[,|\\s]+(").concat(H, ")[,|\\s]+(").concat(H, ")[,|\\s]+(").concat(H, ")\\s*\\)?"), C = {
772
+ CSS_UNIT: new RegExp(H),
773
+ rgb: new RegExp("rgb" + ie),
774
+ rgba: new RegExp("rgba" + ae),
775
+ hsl: new RegExp("hsl" + ie),
776
+ hsla: new RegExp("hsla" + ae),
777
+ hsv: new RegExp("hsv" + ie),
778
+ hsva: new RegExp("hsva" + ae),
779
779
  hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
780
780
  hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
781
781
  hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
@@ -789,33 +789,33 @@ function Jt(e) {
789
789
  e = pe[e], t = !0;
790
790
  else if (e === "transparent")
791
791
  return { r: 0, g: 0, b: 0, a: 0, format: "name" };
792
- var r = k.rgb.exec(e);
793
- return r ? { r: r[1], g: r[2], b: r[3] } : (r = k.rgba.exec(e), r ? { r: r[1], g: r[2], b: r[3], a: r[4] } : (r = k.hsl.exec(e), r ? { h: r[1], s: r[2], l: r[3] } : (r = k.hsla.exec(e), r ? { h: r[1], s: r[2], l: r[3], a: r[4] } : (r = k.hsv.exec(e), r ? { h: r[1], s: r[2], v: r[3] } : (r = k.hsva.exec(e), r ? { h: r[1], s: r[2], v: r[3], a: r[4] } : (r = k.hex8.exec(e), r ? {
792
+ var r = C.rgb.exec(e);
793
+ return r ? { r: r[1], g: r[2], b: r[3] } : (r = C.rgba.exec(e), r ? { r: r[1], g: r[2], b: r[3], a: r[4] } : (r = C.hsl.exec(e), r ? { h: r[1], s: r[2], l: r[3] } : (r = C.hsla.exec(e), r ? { h: r[1], s: r[2], l: r[3], a: r[4] } : (r = C.hsv.exec(e), r ? { h: r[1], s: r[2], v: r[3] } : (r = C.hsva.exec(e), r ? { h: r[1], s: r[2], v: r[3], a: r[4] } : (r = C.hex8.exec(e), r ? {
794
794
  r: y(r[1]),
795
795
  g: y(r[2]),
796
796
  b: y(r[3]),
797
- a: Ie(r[4]),
797
+ a: Re(r[4]),
798
798
  format: t ? "name" : "hex8"
799
- } : (r = k.hex6.exec(e), r ? {
799
+ } : (r = C.hex6.exec(e), r ? {
800
800
  r: y(r[1]),
801
801
  g: y(r[2]),
802
802
  b: y(r[3]),
803
803
  format: t ? "name" : "hex"
804
- } : (r = k.hex4.exec(e), r ? {
804
+ } : (r = C.hex4.exec(e), r ? {
805
805
  r: y(r[1] + r[1]),
806
806
  g: y(r[2] + r[2]),
807
807
  b: y(r[3] + r[3]),
808
- a: Ie(r[4] + r[4]),
808
+ a: Re(r[4] + r[4]),
809
809
  format: t ? "name" : "hex8"
810
- } : (r = k.hex3.exec(e), r ? {
810
+ } : (r = C.hex3.exec(e), r ? {
811
811
  r: y(r[1] + r[1]),
812
812
  g: y(r[2] + r[2]),
813
813
  b: y(r[3] + r[3]),
814
814
  format: t ? "name" : "hex"
815
815
  } : !1)))))))));
816
816
  }
817
- function w(e) {
818
- return !!k.CSS_UNIT.exec(String(e));
817
+ function B(e) {
818
+ return !!C.CSS_UNIT.exec(String(e));
819
819
  }
820
820
  var x = (
821
821
  /** @class */
@@ -826,7 +826,7 @@ var x = (
826
826
  if (t instanceof e)
827
827
  return t;
828
828
  typeof t == "number" && (t = Qt(t)), this.originalInput = t;
829
- var n = z(t);
829
+ var n = j(t);
830
830
  this.originalInput = t, this.r = n.r, this.g = n.g, this.b = n.b, this.a = n.a, this.roundA = Math.round(100 * this.a) / 100, this.format = (o = r.format) !== null && o !== void 0 ? o : n.format, this.gradientType = r.gradientType, this.r < 1 && (this.r = Math.round(this.r)), this.g < 1 && (this.g = Math.round(this.g)), this.b < 1 && (this.b = Math.round(this.b)), this.isValid = n.ok;
831
831
  }
832
832
  return e.prototype.isDark = function() {
@@ -842,7 +842,7 @@ var x = (
842
842
  }, e.prototype.getAlpha = function() {
843
843
  return this.a;
844
844
  }, e.prototype.setAlpha = function(t) {
845
- return this.a = Qe(t), this.roundA = Math.round(100 * this.a) / 100, this;
845
+ return this.a = qe(t), this.roundA = Math.round(100 * this.a) / 100, this;
846
846
  }, e.prototype.isMonochrome = function() {
847
847
  var t = this.toHsl().s;
848
848
  return t === 0;
@@ -853,10 +853,10 @@ var x = (
853
853
  var t = he(this.r, this.g, this.b), r = Math.round(t.h * 360), o = Math.round(t.s * 100), n = Math.round(t.v * 100);
854
854
  return this.a === 1 ? "hsv(".concat(r, ", ").concat(o, "%, ").concat(n, "%)") : "hsva(".concat(r, ", ").concat(o, "%, ").concat(n, "%, ").concat(this.roundA, ")");
855
855
  }, e.prototype.toHsl = function() {
856
- var t = Oe(this.r, this.g, this.b);
856
+ var t = Ie(this.r, this.g, this.b);
857
857
  return { h: t.h * 360, s: t.s, l: t.l, a: this.a };
858
858
  }, e.prototype.toHslString = function() {
859
- var t = Oe(this.r, this.g, this.b), r = Math.round(t.h * 360), o = Math.round(t.s * 100), n = Math.round(t.l * 100);
859
+ var t = Ie(this.r, this.g, this.b), r = Math.round(t.h * 360), o = Math.round(t.s * 100), n = Math.round(t.l * 100);
860
860
  return this.a === 1 ? "hsl(".concat(r, ", ").concat(o, "%, ").concat(n, "%)") : "hsla(".concat(r, ", ").concat(o, "%, ").concat(n, "%, ").concat(this.roundA, ")");
861
861
  }, e.prototype.toHex = function(t) {
862
862
  return t === void 0 && (t = !1), be(this.r, this.g, this.b, t);
@@ -916,7 +916,7 @@ var x = (
916
916
  }, e.prototype.lighten = function(t) {
917
917
  t === void 0 && (t = 10);
918
918
  var r = this.toHsl();
919
- return r.l += t / 100, r.l = G(r.l), new e(r);
919
+ return r.l += t / 100, r.l = U(r.l), new e(r);
920
920
  }, e.prototype.brighten = function(t) {
921
921
  t === void 0 && (t = 10);
922
922
  var r = this.toRgb();
@@ -924,7 +924,7 @@ var x = (
924
924
  }, e.prototype.darken = function(t) {
925
925
  t === void 0 && (t = 10);
926
926
  var r = this.toHsl();
927
- return r.l -= t / 100, r.l = G(r.l), new e(r);
927
+ return r.l -= t / 100, r.l = U(r.l), new e(r);
928
928
  }, e.prototype.tint = function(t) {
929
929
  return t === void 0 && (t = 10), this.mix("white", t);
930
930
  }, e.prototype.shade = function(t) {
@@ -932,11 +932,11 @@ var x = (
932
932
  }, e.prototype.desaturate = function(t) {
933
933
  t === void 0 && (t = 10);
934
934
  var r = this.toHsl();
935
- return r.s -= t / 100, r.s = G(r.s), new e(r);
935
+ return r.s -= t / 100, r.s = U(r.s), new e(r);
936
936
  }, e.prototype.saturate = function(t) {
937
937
  t === void 0 && (t = 10);
938
938
  var r = this.toHsl();
939
- return r.s += t / 100, r.s = G(r.s), new e(r);
939
+ return r.s += t / 100, r.s = U(r.s), new e(r);
940
940
  }, e.prototype.greyscale = function() {
941
941
  return this.desaturate(100);
942
942
  }, e.prototype.spin = function(t) {
@@ -992,7 +992,7 @@ var x = (
992
992
  return this.toRgbString() === new e(t).toRgbString();
993
993
  }, e;
994
994
  }()
995
- ), V = 2, Re = 0.16, Zt = 0.05, Yt = 0.05, er = 0.15, qe = 5, Ke = 4, tr = [{
995
+ ), Q = 2, ze = 0.16, Zt = 0.05, Yt = 0.05, er = 0.15, Ke = 5, Je = 4, tr = [{
996
996
  index: 7,
997
997
  opacity: 0.15
998
998
  }, {
@@ -1023,7 +1023,7 @@ var x = (
1023
1023
  index: 1,
1024
1024
  opacity: 0.98
1025
1025
  }];
1026
- function ze(e) {
1026
+ function je(e) {
1027
1027
  var t = e.r, r = e.g, o = e.b, n = he(t, r, o);
1028
1028
  return {
1029
1029
  h: n.h * 360,
@@ -1031,7 +1031,7 @@ function ze(e) {
1031
1031
  v: n.v
1032
1032
  };
1033
1033
  }
1034
- function Q(e) {
1034
+ function q(e) {
1035
1035
  var t = e.r, r = e.g, o = e.b;
1036
1036
  return "#".concat(be(t, r, o, !1));
1037
1037
  }
@@ -1043,44 +1043,44 @@ function rr(e, t, r) {
1043
1043
  };
1044
1044
  return n;
1045
1045
  }
1046
- function je(e, t, r) {
1046
+ function Pe(e, t, r) {
1047
1047
  var o;
1048
- return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? o = r ? Math.round(e.h) - V * t : Math.round(e.h) + V * t : o = r ? Math.round(e.h) + V * t : Math.round(e.h) - V * t, o < 0 ? o += 360 : o >= 360 && (o -= 360), o;
1048
+ return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? o = r ? Math.round(e.h) - Q * t : Math.round(e.h) + Q * t : o = r ? Math.round(e.h) + Q * t : Math.round(e.h) - Q * t, o < 0 ? o += 360 : o >= 360 && (o -= 360), o;
1049
1049
  }
1050
- function Pe(e, t, r) {
1050
+ function Fe(e, t, r) {
1051
1051
  if (e.h === 0 && e.s === 0)
1052
1052
  return e.s;
1053
1053
  var o;
1054
- return r ? o = e.s - Re * t : t === Ke ? o = e.s + Re : o = e.s + Zt * t, o > 1 && (o = 1), r && t === qe && o > 0.1 && (o = 0.1), o < 0.06 && (o = 0.06), Number(o.toFixed(2));
1054
+ return r ? o = e.s - ze * t : t === Je ? o = e.s + ze : o = e.s + Zt * t, o > 1 && (o = 1), r && t === Ke && o > 0.1 && (o = 0.1), o < 0.06 && (o = 0.06), Number(o.toFixed(2));
1055
1055
  }
1056
- function Fe(e, t, r) {
1056
+ function Le(e, t, r) {
1057
1057
  var o;
1058
1058
  return r ? o = e.v + Yt * t : o = e.v - er * t, o > 1 && (o = 1), Number(o.toFixed(2));
1059
1059
  }
1060
- function P(e) {
1061
- for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [], o = z(e), n = qe; n > 0; n -= 1) {
1062
- var i = ze(o), a = Q(z({
1063
- h: je(i, n, !0),
1064
- s: Pe(i, n, !0),
1065
- v: Fe(i, n, !0)
1060
+ function F(e) {
1061
+ for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [], o = j(e), n = Ke; n > 0; n -= 1) {
1062
+ var i = je(o), a = q(j({
1063
+ h: Pe(i, n, !0),
1064
+ s: Fe(i, n, !0),
1065
+ v: Le(i, n, !0)
1066
1066
  }));
1067
1067
  r.push(a);
1068
1068
  }
1069
- r.push(Q(o));
1070
- for (var c = 1; c <= Ke; c += 1) {
1071
- var s = ze(o), l = Q(z({
1072
- h: je(s, c),
1073
- s: Pe(s, c),
1074
- v: Fe(s, c)
1069
+ r.push(q(o));
1070
+ for (var c = 1; c <= Je; c += 1) {
1071
+ var l = je(o), s = q(j({
1072
+ h: Pe(l, c),
1073
+ s: Fe(l, c),
1074
+ v: Le(l, c)
1075
1075
  }));
1076
- r.push(l);
1076
+ r.push(s);
1077
1077
  }
1078
- return t.theme === "dark" ? tr.map(function(d) {
1079
- var f = d.index, u = d.opacity, b = Q(rr(z(t.backgroundColor || "#141414"), z(r[f]), u * 100));
1078
+ return t.theme === "dark" ? tr.map(function(g) {
1079
+ var f = g.index, d = g.opacity, b = q(rr(j(t.backgroundColor || "#141414"), j(r[f]), d * 100));
1080
1080
  return b;
1081
1081
  }) : r;
1082
1082
  }
1083
- var ae = {
1083
+ var ce = {
1084
1084
  red: "#F5222D",
1085
1085
  volcano: "#FA541C",
1086
1086
  orange: "#FA8C16",
@@ -1094,9 +1094,9 @@ var ae = {
1094
1094
  purple: "#722ED1",
1095
1095
  magenta: "#EB2F96",
1096
1096
  grey: "#666666"
1097
- }, ce = {}, se = {};
1098
- Object.keys(ae).forEach(function(e) {
1099
- ce[e] = P(ae[e]), ce[e].primary = ce[e][5], se[e] = P(ae[e], {
1097
+ }, le = {}, se = {};
1098
+ Object.keys(ce).forEach(function(e) {
1099
+ le[e] = F(ce[e]), le[e].primary = le[e][5], se[e] = F(ce[e], {
1100
1100
  theme: "dark",
1101
1101
  backgroundColor: "#141414"
1102
1102
  }), se[e].primary = se[e][5];
@@ -1110,7 +1110,7 @@ const or = (e) => {
1110
1110
  controlHeightXS: t * 0.5,
1111
1111
  controlHeightLG: t * 1.25
1112
1112
  };
1113
- }, Je = or;
1113
+ }, Ze = or;
1114
1114
  function nr(e) {
1115
1115
  const {
1116
1116
  sizeUnit: t,
@@ -1129,7 +1129,7 @@ function nr(e) {
1129
1129
  // 4
1130
1130
  };
1131
1131
  }
1132
- const xe = {
1132
+ const Te = {
1133
1133
  blue: "#1677ff",
1134
1134
  purple: "#722ED1",
1135
1135
  cyan: "#13C2C2",
@@ -1143,7 +1143,7 @@ const xe = {
1143
1143
  geekblue: "#2F54EB",
1144
1144
  gold: "#FAAD14",
1145
1145
  lime: "#A0D911"
1146
- }, W = Object.assign(Object.assign({}, xe), {
1146
+ }, X = Object.assign(Object.assign({}, Te), {
1147
1147
  // Color
1148
1148
  colorPrimary: "#1677ff",
1149
1149
  colorSuccess: "#52c41a",
@@ -1191,7 +1191,7 @@ const xe = {
1191
1191
  // Motion
1192
1192
  motion: !0
1193
1193
  });
1194
- function Ze(e, t) {
1194
+ function Ye(e, t) {
1195
1195
  let {
1196
1196
  generateColorPalettes: r,
1197
1197
  generateNeutralColorPalettes: o
@@ -1201,10 +1201,10 @@ function Ze(e, t) {
1201
1201
  colorWarning: i,
1202
1202
  colorError: a,
1203
1203
  colorInfo: c,
1204
- colorPrimary: s,
1205
- colorBgBase: l,
1206
- colorTextBase: d
1207
- } = e, f = r(s), u = r(n), b = r(i), v = r(a), g = r(c), m = o(l, d), S = e.colorLink || e.colorInfo, T = r(S);
1204
+ colorPrimary: l,
1205
+ colorBgBase: s,
1206
+ colorTextBase: g
1207
+ } = e, f = r(l), d = r(n), b = r(i), v = r(a), h = r(c), m = o(s, g), S = e.colorLink || e.colorInfo, T = r(S);
1208
1208
  return Object.assign(Object.assign({}, m), {
1209
1209
  colorPrimaryBg: f[1],
1210
1210
  colorPrimaryBgHover: f[2],
@@ -1216,16 +1216,16 @@ function Ze(e, t) {
1216
1216
  colorPrimaryTextHover: f[8],
1217
1217
  colorPrimaryText: f[9],
1218
1218
  colorPrimaryTextActive: f[10],
1219
- colorSuccessBg: u[1],
1220
- colorSuccessBgHover: u[2],
1221
- colorSuccessBorder: u[3],
1222
- colorSuccessBorderHover: u[4],
1223
- colorSuccessHover: u[4],
1224
- colorSuccess: u[6],
1225
- colorSuccessActive: u[7],
1226
- colorSuccessTextHover: u[8],
1227
- colorSuccessText: u[9],
1228
- colorSuccessTextActive: u[10],
1219
+ colorSuccessBg: d[1],
1220
+ colorSuccessBgHover: d[2],
1221
+ colorSuccessBorder: d[3],
1222
+ colorSuccessBorderHover: d[4],
1223
+ colorSuccessHover: d[4],
1224
+ colorSuccess: d[6],
1225
+ colorSuccessActive: d[7],
1226
+ colorSuccessTextHover: d[8],
1227
+ colorSuccessText: d[9],
1228
+ colorSuccessTextActive: d[10],
1229
1229
  colorErrorBg: v[1],
1230
1230
  colorErrorBgHover: v[2],
1231
1231
  colorErrorBorder: v[3],
@@ -1246,16 +1246,16 @@ function Ze(e, t) {
1246
1246
  colorWarningTextHover: b[8],
1247
1247
  colorWarningText: b[9],
1248
1248
  colorWarningTextActive: b[10],
1249
- colorInfoBg: g[1],
1250
- colorInfoBgHover: g[2],
1251
- colorInfoBorder: g[3],
1252
- colorInfoBorderHover: g[4],
1253
- colorInfoHover: g[4],
1254
- colorInfo: g[6],
1255
- colorInfoActive: g[7],
1256
- colorInfoTextHover: g[8],
1257
- colorInfoText: g[9],
1258
- colorInfoTextActive: g[10],
1249
+ colorInfoBg: h[1],
1250
+ colorInfoBgHover: h[2],
1251
+ colorInfoBorder: h[3],
1252
+ colorInfoBorderHover: h[4],
1253
+ colorInfoHover: h[4],
1254
+ colorInfo: h[6],
1255
+ colorInfoActive: h[7],
1256
+ colorInfoTextHover: h[8],
1257
+ colorInfoText: h[9],
1258
+ colorInfoTextActive: h[10],
1259
1259
  colorLinkHover: T[4],
1260
1260
  colorLink: T[6],
1261
1261
  colorLinkActive: T[7],
@@ -1289,8 +1289,8 @@ function cr(e) {
1289
1289
  lineWidthBold: n + 1
1290
1290
  }, ar(o));
1291
1291
  }
1292
- const A = (e, t) => new x(e).setAlpha(t).toRgbString(), L = (e, t) => new x(e).darken(t).toHexString(), sr = (e) => {
1293
- const t = P(e);
1292
+ const A = (e, t) => new x(e).setAlpha(t).toRgbString(), D = (e, t) => new x(e).darken(t).toHexString(), lr = (e) => {
1293
+ const t = F(e);
1294
1294
  return {
1295
1295
  1: t[0],
1296
1296
  2: t[1],
@@ -1306,7 +1306,7 @@ const A = (e, t) => new x(e).setAlpha(t).toRgbString(), L = (e, t) => new x(e).d
1306
1306
  // 9: colors[8],
1307
1307
  // 10: colors[9],
1308
1308
  };
1309
- }, lr = (e, t) => {
1309
+ }, sr = (e, t) => {
1310
1310
  const r = e || "#fff", o = t || "#000";
1311
1311
  return {
1312
1312
  colorBgBase: r,
@@ -1319,13 +1319,13 @@ const A = (e, t) => new x(e).setAlpha(t).toRgbString(), L = (e, t) => new x(e).d
1319
1319
  colorFillSecondary: A(o, 0.06),
1320
1320
  colorFillTertiary: A(o, 0.04),
1321
1321
  colorFillQuaternary: A(o, 0.02),
1322
- colorBgLayout: L(r, 4),
1323
- colorBgContainer: L(r, 0),
1324
- colorBgElevated: L(r, 0),
1322
+ colorBgLayout: D(r, 4),
1323
+ colorBgContainer: D(r, 0),
1324
+ colorBgElevated: D(r, 0),
1325
1325
  colorBgSpotlight: A(o, 0.85),
1326
1326
  colorBgBlur: "transparent",
1327
- colorBorder: L(r, 15),
1328
- colorBorderSecondary: L(r, 6)
1327
+ colorBorder: D(r, 15),
1328
+ colorBorderSecondary: D(r, 6)
1329
1329
  };
1330
1330
  };
1331
1331
  function fr(e) {
@@ -1362,28 +1362,28 @@ const ur = (e) => {
1362
1362
  lineHeightHeading4: o[3],
1363
1363
  lineHeightHeading5: o[2]
1364
1364
  };
1365
- }, Ye = ur;
1366
- function X(e) {
1367
- const t = Object.keys(xe).map((r) => {
1368
- const o = P(e[r]);
1365
+ }, et = ur;
1366
+ function N(e) {
1367
+ const t = Object.keys(Te).map((r) => {
1368
+ const o = F(e[r]);
1369
1369
  return new Array(10).fill(1).reduce((n, i, a) => (n[`${r}-${a + 1}`] = o[a], n[`${r}${a + 1}`] = o[a], n), {});
1370
1370
  }).reduce((r, o) => (r = Object.assign(Object.assign({}, r), o), r), {});
1371
- return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, e), t), Ze(e, {
1372
- generateColorPalettes: sr,
1373
- generateNeutralColorPalettes: lr
1374
- })), Ye(e.fontSize)), nr(e)), Je(e)), cr(e));
1371
+ return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, e), t), Ye(e, {
1372
+ generateColorPalettes: lr,
1373
+ generateNeutralColorPalettes: sr
1374
+ })), et(e.fontSize)), nr(e)), Ze(e)), cr(e));
1375
1375
  }
1376
- const dr = de(X), ve = {
1377
- token: W,
1376
+ const dr = de(N), ve = {
1377
+ token: X,
1378
1378
  override: {
1379
- override: W
1379
+ override: X
1380
1380
  },
1381
1381
  hashed: !0
1382
- }, gr = /* @__PURE__ */ De.createContext(ve), hr = "5.11.0";
1383
- function le(e) {
1382
+ }, gr = /* @__PURE__ */ _e.createContext(ve), hr = "5.11.0";
1383
+ function fe(e) {
1384
1384
  return e >= 0 && e <= 255;
1385
1385
  }
1386
- function q(e, t) {
1386
+ function K(e, t) {
1387
1387
  const {
1388
1388
  r,
1389
1389
  g: o,
@@ -1395,16 +1395,16 @@ function q(e, t) {
1395
1395
  const {
1396
1396
  r: a,
1397
1397
  g: c,
1398
- b: s
1398
+ b: l
1399
1399
  } = new x(t).toRgb();
1400
- for (let l = 0.01; l <= 1; l += 0.01) {
1401
- const d = Math.round((r - a * (1 - l)) / l), f = Math.round((o - c * (1 - l)) / l), u = Math.round((n - s * (1 - l)) / l);
1402
- if (le(d) && le(f) && le(u))
1400
+ for (let s = 0.01; s <= 1; s += 0.01) {
1401
+ const g = Math.round((r - a * (1 - s)) / s), f = Math.round((o - c * (1 - s)) / s), d = Math.round((n - l * (1 - s)) / s);
1402
+ if (fe(g) && fe(f) && fe(d))
1403
1403
  return new x({
1404
- r: d,
1404
+ r: g,
1405
1405
  g: f,
1406
- b: u,
1407
- a: Math.round(l * 100) / 100
1406
+ b: d,
1407
+ a: Math.round(s * 100) / 100
1408
1408
  }).toRgbString();
1409
1409
  }
1410
1410
  return new x({
@@ -1423,17 +1423,17 @@ var br = globalThis && globalThis.__rest || function(e, t) {
1423
1423
  t.indexOf(o[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[n]) && (r[o[n]] = e[o[n]]);
1424
1424
  return r;
1425
1425
  };
1426
- function Te(e) {
1426
+ function ke(e) {
1427
1427
  const {
1428
1428
  override: t
1429
1429
  } = e, r = br(e, ["override"]), o = Object.assign({}, t);
1430
- Object.keys(W).forEach((u) => {
1431
- delete o[u];
1430
+ Object.keys(X).forEach((d) => {
1431
+ delete o[d];
1432
1432
  });
1433
- const n = Object.assign(Object.assign({}, r), o), i = 480, a = 576, c = 768, s = 992, l = 1200, d = 1600;
1433
+ const n = Object.assign(Object.assign({}, r), o), i = 480, a = 576, c = 768, l = 992, s = 1200, g = 1600;
1434
1434
  if (n.motion === !1) {
1435
- const u = "0s";
1436
- n.motionDurationFast = u, n.motionDurationMid = u, n.motionDurationSlow = u;
1435
+ const d = "0s";
1436
+ n.motionDurationFast = d, n.motionDurationMid = d, n.motionDurationSlow = d;
1437
1437
  }
1438
1438
  return Object.assign(Object.assign(Object.assign({}, n), {
1439
1439
  // ============== Background ============== //
@@ -1443,7 +1443,7 @@ function Te(e) {
1443
1443
  colorBgContainerDisabled: n.colorFillTertiary,
1444
1444
  // ============== Split ============== //
1445
1445
  colorBorderBg: n.colorBgContainer,
1446
- colorSplit: q(n.colorBorderSecondary, n.colorBgContainer),
1446
+ colorSplit: K(n.colorBorderSecondary, n.colorBgContainer),
1447
1447
  // ============== Text ============== //
1448
1448
  colorTextPlaceholder: n.colorTextQuaternary,
1449
1449
  colorTextDisabled: n.colorTextQuaternary,
@@ -1456,8 +1456,8 @@ function Te(e) {
1456
1456
  colorBgTextActive: n.colorFill,
1457
1457
  colorIcon: n.colorTextTertiary,
1458
1458
  colorIconHover: n.colorText,
1459
- colorErrorOutline: q(n.colorErrorBg, n.colorBgContainer),
1460
- colorWarningOutline: q(n.colorWarningBg, n.colorBgContainer),
1459
+ colorErrorOutline: K(n.colorErrorBg, n.colorBgContainer),
1460
+ colorWarningOutline: K(n.colorWarningBg, n.colorBgContainer),
1461
1461
  // Font
1462
1462
  fontSizeIcon: n.fontSizeSM,
1463
1463
  // Line
@@ -1472,7 +1472,7 @@ function Te(e) {
1472
1472
  controlItemBgActiveHover: n.colorPrimaryBgHover,
1473
1473
  controlItemBgActiveDisabled: n.colorFill,
1474
1474
  controlTmpOutline: n.colorFillQuaternary,
1475
- controlOutline: q(n.colorPrimaryBg, n.colorBgContainer),
1475
+ controlOutline: K(n.colorPrimaryBg, n.colorBgContainer),
1476
1476
  lineType: n.lineType,
1477
1477
  borderRadius: n.borderRadius,
1478
1478
  borderRadiusXS: n.borderRadiusXS,
@@ -1529,15 +1529,15 @@ function Te(e) {
1529
1529
  screenSMMax: c - 1,
1530
1530
  screenMD: c,
1531
1531
  screenMDMin: c,
1532
- screenMDMax: s - 1,
1533
- screenLG: s,
1534
- screenLGMin: s,
1535
- screenLGMax: l - 1,
1536
- screenXL: l,
1537
- screenXLMin: l,
1538
- screenXLMax: d - 1,
1539
- screenXXL: d,
1540
- screenXXLMin: d,
1532
+ screenMDMax: l - 1,
1533
+ screenLG: l,
1534
+ screenLGMin: l,
1535
+ screenLGMax: s - 1,
1536
+ screenXL: s,
1537
+ screenXLMin: s,
1538
+ screenXLMax: g - 1,
1539
+ screenXXL: g,
1540
+ screenXXLMin: g,
1541
1541
  boxShadowPopoverArrow: "2px 2px 5px rgba(0, 0, 0, 0.05)",
1542
1542
  boxShadowCard: `
1543
1543
  0 1px 2px -2px ${new x("rgba(0, 0, 0, 0.16)").toRgbString()},
@@ -1570,7 +1570,7 @@ function Te(e) {
1570
1570
  boxShadowTabsOverflowBottom: "inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"
1571
1571
  }), o);
1572
1572
  }
1573
- var Le = globalThis && globalThis.__rest || function(e, t) {
1573
+ var De = globalThis && globalThis.__rest || function(e, t) {
1574
1574
  var r = {};
1575
1575
  for (var o in e)
1576
1576
  Object.prototype.hasOwnProperty.call(e, o) && t.indexOf(o) < 0 && (r[o] = e[o]);
@@ -1579,22 +1579,22 @@ var Le = globalThis && globalThis.__rest || function(e, t) {
1579
1579
  t.indexOf(o[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[n]) && (r[o[n]] = e[o[n]]);
1580
1580
  return r;
1581
1581
  };
1582
- const et = (e, t, r) => {
1582
+ const tt = (e, t, r) => {
1583
1583
  const o = r.getDerivativeToken(e), {
1584
1584
  override: n
1585
- } = t, i = Le(t, ["override"]);
1585
+ } = t, i = De(t, ["override"]);
1586
1586
  let a = Object.assign(Object.assign({}, o), {
1587
1587
  override: n
1588
1588
  });
1589
- return a = Te(a), i && Object.entries(i).forEach((c) => {
1590
- let [s, l] = c;
1589
+ return a = ke(a), i && Object.entries(i).forEach((c) => {
1590
+ let [l, s] = c;
1591
1591
  const {
1592
- theme: d
1593
- } = l, f = Le(l, ["theme"]);
1594
- let u = f;
1595
- d && (u = et(Object.assign(Object.assign({}, a), f), {
1592
+ theme: g
1593
+ } = s, f = De(s, ["theme"]);
1594
+ let d = f;
1595
+ g && (d = tt(Object.assign(Object.assign({}, a), f), {
1596
1596
  override: f
1597
- }, d)), a[s] = u;
1597
+ }, g)), a[l] = d;
1598
1598
  }), a;
1599
1599
  };
1600
1600
  function pr() {
@@ -1603,21 +1603,21 @@ function pr() {
1603
1603
  hashed: t,
1604
1604
  theme: r,
1605
1605
  override: o
1606
- } = De.useContext(gr), n = `${hr}-${t || ""}`, i = r || dr, [a, c] = _t(i, [W, e], {
1606
+ } = _e.useContext(gr), n = `${hr}-${t || ""}`, i = r || dr, [a, c] = _t(i, [X, e], {
1607
1607
  salt: n,
1608
1608
  override: o,
1609
- getComputedToken: et,
1609
+ getComputedToken: tt,
1610
1610
  // formatToken will not be consumed after 1.15.0 with getComputedToken.
1611
1611
  // But token will break if @ant-design/cssinjs is under 1.15.0 without it
1612
- formatToken: Te
1612
+ formatToken: ke
1613
1613
  });
1614
1614
  return [i, a, t ? c : ""];
1615
1615
  }
1616
1616
  const vr = (e) => {
1617
- const t = e != null && e.algorithm ? de(e.algorithm) : de(X), r = Object.assign(Object.assign({}, W), e == null ? void 0 : e.token);
1618
- return Ve(r, {
1617
+ const t = e != null && e.algorithm ? de(e.algorithm) : de(N), r = Object.assign(Object.assign({}, X), e == null ? void 0 : e.token);
1618
+ return Qe(r, {
1619
1619
  override: e == null ? void 0 : e.token
1620
- }, t, Te);
1620
+ }, t, ke);
1621
1621
  }, yr = vr;
1622
1622
  function mr(e) {
1623
1623
  const {
@@ -1637,15 +1637,15 @@ function mr(e) {
1637
1637
  };
1638
1638
  }
1639
1639
  const Sr = (e, t) => {
1640
- const r = t ?? X(e), o = r.fontSizeSM, n = r.controlHeight - 4;
1641
- return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, r), mr(t ?? e)), Ye(o)), {
1640
+ const r = t ?? N(e), o = r.fontSizeSM, n = r.controlHeight - 4;
1641
+ return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, r), mr(t ?? e)), et(o)), {
1642
1642
  // controlHeight
1643
1643
  controlHeight: n
1644
- }), Je(Object.assign(Object.assign({}, r), {
1644
+ }), Ze(Object.assign(Object.assign({}, r), {
1645
1645
  controlHeight: n
1646
1646
  })));
1647
- }, xr = Sr, B = (e, t) => new x(e).setAlpha(t).toRgbString(), R = (e, t) => new x(e).lighten(t).toHexString(), Tr = (e) => {
1648
- const t = P(e, {
1647
+ }, xr = Sr, E = (e, t) => new x(e).setAlpha(t).toRgbString(), z = (e, t) => new x(e).lighten(t).toHexString(), Tr = (e) => {
1648
+ const t = F(e, {
1649
1649
  theme: "dark"
1650
1650
  });
1651
1651
  return {
@@ -1668,34 +1668,34 @@ const Sr = (e, t) => {
1668
1668
  return {
1669
1669
  colorBgBase: r,
1670
1670
  colorTextBase: o,
1671
- colorText: B(o, 0.85),
1672
- colorTextSecondary: B(o, 0.65),
1673
- colorTextTertiary: B(o, 0.45),
1674
- colorTextQuaternary: B(o, 0.25),
1675
- colorFill: B(o, 0.18),
1676
- colorFillSecondary: B(o, 0.12),
1677
- colorFillTertiary: B(o, 0.08),
1678
- colorFillQuaternary: B(o, 0.04),
1679
- colorBgElevated: R(r, 12),
1680
- colorBgContainer: R(r, 8),
1681
- colorBgLayout: R(r, 0),
1682
- colorBgSpotlight: R(r, 26),
1683
- colorBgBlur: B(o, 0.04),
1684
- colorBorder: R(r, 26),
1685
- colorBorderSecondary: R(r, 19)
1671
+ colorText: E(o, 0.85),
1672
+ colorTextSecondary: E(o, 0.65),
1673
+ colorTextTertiary: E(o, 0.45),
1674
+ colorTextQuaternary: E(o, 0.25),
1675
+ colorFill: E(o, 0.18),
1676
+ colorFillSecondary: E(o, 0.12),
1677
+ colorFillTertiary: E(o, 0.08),
1678
+ colorFillQuaternary: E(o, 0.04),
1679
+ colorBgElevated: z(r, 12),
1680
+ colorBgContainer: z(r, 8),
1681
+ colorBgLayout: z(r, 0),
1682
+ colorBgSpotlight: z(r, 26),
1683
+ colorBgBlur: E(o, 0.04),
1684
+ colorBorder: z(r, 26),
1685
+ colorBorderSecondary: z(r, 19)
1686
1686
  };
1687
- }, Mr = (e, t) => {
1688
- const r = Object.keys(xe).map((n) => {
1689
- const i = P(e[n], {
1687
+ }, Cr = (e, t) => {
1688
+ const r = Object.keys(Te).map((n) => {
1689
+ const i = F(e[n], {
1690
1690
  theme: "dark"
1691
1691
  });
1692
- return new Array(10).fill(1).reduce((a, c, s) => (a[`${n}-${s + 1}`] = i[s], a[`${n}${s + 1}`] = i[s], a), {});
1693
- }).reduce((n, i) => (n = Object.assign(Object.assign({}, n), i), n), {}), o = t ?? X(e);
1694
- return Object.assign(Object.assign(Object.assign({}, o), r), Ze(e, {
1692
+ return new Array(10).fill(1).reduce((a, c, l) => (a[`${n}-${l + 1}`] = i[l], a[`${n}${l + 1}`] = i[l], a), {});
1693
+ }).reduce((n, i) => (n = Object.assign(Object.assign({}, n), i), n), {}), o = t ?? N(e);
1694
+ return Object.assign(Object.assign(Object.assign({}, o), r), Ye(e, {
1695
1695
  generateColorPalettes: Tr,
1696
1696
  generateNeutralColorPalettes: kr
1697
1697
  }));
1698
- }, Cr = Mr;
1698
+ }, Mr = Cr;
1699
1699
  function wr() {
1700
1700
  const [e, t, r] = pr();
1701
1701
  return {
@@ -1704,21 +1704,26 @@ function wr() {
1704
1704
  hashId: r
1705
1705
  };
1706
1706
  }
1707
- const tt = {
1707
+ const ye = {
1708
1708
  /** @private Test Usage. Do not use in production. */
1709
1709
  defaultConfig: ve,
1710
1710
  /** Default seedToken */
1711
1711
  defaultSeed: ve.token,
1712
1712
  useToken: wr,
1713
- defaultAlgorithm: X,
1714
- darkAlgorithm: Cr,
1713
+ defaultAlgorithm: N,
1714
+ darkAlgorithm: Mr,
1715
1715
  compactAlgorithm: xr,
1716
1716
  getDesignToken: yr
1717
- }, Ar = {
1717
+ }, Br = {
1718
1718
  50: "#ffffff",
1719
+ 75: "#fbfcfd",
1719
1720
  100: "#f5f5f5",
1721
+ 150: "#f1f3f9",
1720
1722
  200: "#e5e5e5",
1723
+ 250: "#d6e1e3",
1721
1724
  300: "#d4d4d4",
1725
+ 350: "#c8daec",
1726
+ 375: "#bfbfbf",
1722
1727
  400: "#a3a3a3",
1723
1728
  500: "#737373",
1724
1729
  600: "#525252",
@@ -1726,15 +1731,21 @@ const tt = {
1726
1731
  800: "#262626",
1727
1732
  900: "#171717",
1728
1733
  950: "#0a0a0a"
1729
- }, Br = {
1734
+ }, Ar = {
1730
1735
  50: "#677084",
1731
1736
  100: "#5c6880",
1737
+ 150: "#58669a",
1732
1738
  200: "#515c7c",
1733
1739
  300: "#465178",
1740
+ 350: "#43464f",
1741
+ 375: "#3f4b5c",
1734
1742
  400: "#3d4561",
1735
1743
  // applied from design: filters card bg
1744
+ 450: "#333b57",
1745
+ 475: "#2b344c",
1736
1746
  500: "#293245",
1737
1747
  // applied from design: layout color
1748
+ 550: "#262e47",
1738
1749
  600: "#232b3b",
1739
1750
  // applied from design: header input bg
1740
1751
  700: "#1d2331",
@@ -1753,6 +1764,7 @@ const tt = {
1753
1764
  800: "#262626",
1754
1765
  900: "#3b404c",
1755
1766
  // applied from design: layout border
1767
+ 925: "#36373b",
1756
1768
  950: "#171717"
1757
1769
  }, Hr = {
1758
1770
  50: "#fffaf5",
@@ -1799,6 +1811,7 @@ const tt = {
1799
1811
  500: "#4482ff",
1800
1812
  // applied from design: primary button color
1801
1813
  600: "#1b55f5",
1814
+ 750: "#1890ff",
1802
1815
  700: "#1440e1",
1803
1816
  800: "#1734b6",
1804
1817
  900: "#19318f",
@@ -1827,7 +1840,7 @@ const tt = {
1827
1840
  800: "#7d0e11",
1828
1841
  900: "#5e080a",
1829
1842
  950: "#3d0405"
1830
- }, fe = 16, h = {
1843
+ }, k = 16, u = {
1831
1844
  akinon: jr,
1832
1845
  azure: Rr,
1833
1846
  orange: zr,
@@ -1835,64 +1848,103 @@ const tt = {
1835
1848
  green: Or,
1836
1849
  purple: Ir,
1837
1850
  gray: Er,
1838
- ebonyClay: Br,
1839
- neutral: Ar
1851
+ ebonyClay: Ar,
1852
+ neutral: Br
1840
1853
  }, Pr = {
1841
1854
  // We use dark algorithm from antd by default,
1842
1855
  // since our applications are dark themed.
1843
- algorithm: tt.darkAlgorithm,
1844
- colors: h,
1856
+ algorithm: ye.darkAlgorithm,
1857
+ colors: u,
1845
1858
  // We also need to override antd styles with
1846
1859
  // our current color palette.
1847
1860
  token: {
1848
- colorTextBase: h.neutral[100],
1849
- colorText: h.neutral[100],
1850
- colorTextSecondary: h.gray[500],
1851
- colorTextPlaceholder: h.gray[500],
1852
- colorPrimary: h.azure[500],
1853
- colorError: h.red[500],
1854
- colorBgLayout: h.ebonyClay[500],
1861
+ colorTextBase: u.neutral[100],
1862
+ colorText: u.neutral[100],
1863
+ colorTextSecondary: u.gray[500],
1864
+ colorTextPlaceholder: u.gray[500],
1865
+ colorPrimary: u.azure[500],
1866
+ colorError: u.red[500],
1867
+ colorBgLayout: u.ebonyClay[500],
1855
1868
  // effects layout bg
1856
- colorBgContainer: h.ebonyClay[600],
1869
+ colorBgContainer: u.ebonyClay[600],
1857
1870
  // effects card bg, table bg, input bg
1858
- colorBgElevated: h.ebonyClay[400],
1871
+ colorBgElevated: u.ebonyClay[400],
1859
1872
  // effects dropdown bg, select bg, notification bg
1860
- controlItemBgHover: h.ebonyClay[200],
1873
+ controlItemBgHover: u.ebonyClay[200],
1861
1874
  // effects item bg in dropdown item when hovered
1862
- controlItemBgActive: h.ebonyClay[300],
1875
+ controlItemBgActive: u.ebonyClay[300],
1863
1876
  // effects active item bg such in dropdown item
1864
- controlItemBgActiveHover: h.ebonyClay[300],
1877
+ controlItemBgActiveHover: u.ebonyClay[300],
1865
1878
  // effects active item bg such in dropdown item when hovered
1866
- colorBgSpotlight: h.ebonyClay[600],
1879
+ colorBgSpotlight: u.ebonyClay[600],
1867
1880
  //TODO: bg color of tooltip?
1868
- colorBorder: h.ebonyClay[700]
1881
+ colorBorder: u.ebonyClay[700],
1882
+ fontFamily: "'Jost Variable'," + ye.getDesignToken().fontFamily,
1883
+ fontSize: k * 0.875
1869
1884
  },
1870
1885
  components: {
1871
1886
  Layout: {
1872
- headerBg: h.ebonyClay[500],
1873
- siderBg: h.ebonyClay[500]
1887
+ headerBg: u.ebonyClay[500],
1888
+ siderBg: u.ebonyClay[500]
1874
1889
  },
1875
1890
  Dropdown: {
1876
- colorPrimary: h.neutral[100],
1891
+ colorPrimary: u.neutral[100],
1877
1892
  // primary color (azure500) doesn't work well with dropdown bg
1878
- controlPaddingHorizontal: fe
1893
+ controlPaddingHorizontal: k
1879
1894
  },
1880
1895
  Menu: {
1881
- darkItemBg: h.ebonyClay[500],
1882
- darkSubMenuItemBg: h.ebonyClay[600],
1883
- darkItemSelectedBg: h.ebonyClay[700],
1896
+ darkItemBg: u.ebonyClay[500],
1897
+ darkSubMenuItemBg: u.ebonyClay[600],
1898
+ darkItemSelectedBg: u.ebonyClay[700],
1884
1899
  itemBorderRadius: 0,
1885
1900
  itemMarginBlock: 0,
1886
1901
  itemMarginInline: 0,
1887
- darkItemColor: h.gray[500],
1888
- itemHeight: fe * 3.25
1902
+ darkItemColor: u.gray[500],
1903
+ itemHeight: k * 3.25
1889
1904
  },
1890
1905
  Breadcrumb: {
1891
- fontSize: fe * 0.625,
1892
- lastItemColor: h.azure[500]
1906
+ fontSize: k * 0.625,
1907
+ lastItemColor: u.azure[500]
1908
+ },
1909
+ Card: {
1910
+ colorBgContainer: u.ebonyClay[450],
1911
+ colorTextDescription: u.neutral[100],
1912
+ headerFontSize: k * 1.25,
1913
+ fontSize: k * 0.875
1914
+ },
1915
+ Collapse: {
1916
+ headerPadding: "0 0 12px",
1917
+ // because of ghost prop, we need to use important
1918
+ contentPadding: "0 0 24px !important",
1919
+ fontSizeIcon: k * 1.65,
1920
+ fontSize: k
1921
+ },
1922
+ Form: {
1923
+ itemMarginBottom: 0,
1924
+ verticalLabelPadding: 0
1925
+ },
1926
+ Select: {
1927
+ colorTextDisabled: u.ebonyClay[350],
1928
+ colorBgContainerDisabled: u.gray[925],
1929
+ colorBgContainer: u.ebonyClay[475],
1930
+ fontSizeLG: k * 0.875,
1931
+ colorBorder: u.ebonyClay[550],
1932
+ lineWidth: 2
1933
+ },
1934
+ Input: {
1935
+ colorBgContainer: u.ebonyClay[475],
1936
+ fontSizeLG: k * 0.875,
1937
+ colorBorder: u.ebonyClay[550],
1938
+ lineWidth: 2
1939
+ },
1940
+ InputNumber: {
1941
+ colorBgContainer: u.ebonyClay[475],
1942
+ fontSizeLG: k * 0.875,
1943
+ colorBorder: u.ebonyClay[550],
1944
+ lineWidth: 2
1893
1945
  }
1894
1946
  }
1895
- }, Lr = tt.useToken, Dr = () => {
1947
+ }, Lr = ye.useToken, Dr = () => {
1896
1948
  const { colors: e } = Pr, t = "--color", r = {};
1897
1949
  for (const [o, n] of Object.entries(e))
1898
1950
  for (const [i, a] of Object.entries(n)) {
@@ -1902,6 +1954,7 @@ const tt = {
1902
1954
  return r;
1903
1955
  };
1904
1956
  export {
1957
+ k as fontSize,
1905
1958
  Dr as getCssVariables,
1906
1959
  Pr as theme,
1907
1960
  Lr as useToken